CN107205247A - The acquisition methods and rlc layer data analyzing device of a kind of data packet retransmission rate - Google Patents
The acquisition methods and rlc layer data analyzing device of a kind of data packet retransmission rate Download PDFInfo
- Publication number
- CN107205247A CN107205247A CN201610149639.5A CN201610149639A CN107205247A CN 107205247 A CN107205247 A CN 107205247A CN 201610149639 A CN201610149639 A CN 201610149639A CN 107205247 A CN107205247 A CN 107205247A
- Authority
- CN
- China
- Prior art keywords
- packet
- rlc layer
- rlc
- data
- layer packet
- 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
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/04—Error control
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/10—Scheduling measurement reports ; Arrangements for measurement reports
Abstract
The invention discloses a kind of acquisition methods of data packet retransmission rate and rlc layer data analyzing device, it is related to communication technical field, to support the outside statistical data packet retransmission rate in sending ending equipment and receiving device.The acquisition methods of the data packet retransmission rate of the present invention include:Rlc layer data analyzing device gathers the rlc layer packet that first base station is interacted with control network element by connected data transfer equipment, and the first base station is connected by the data transfer equipment with the control network element;The rlc layer packet collected is parsed, to obtain the field information in the rlc layer packet;According to the field information in the rlc layer packet, the data packet retransmission rate on the transmission link between the first base station and the control network element is counted.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of acquisition methods of data packet retransmission rate and
Rlc layer data analyzing device.
Background technology
In the field of communications, under AM patterns (Acknowledged Mode, affirmation mode),
RLC (Radio Link Control, wireless spread-spectrum technology) packet may occur in transmitting procedure
Retransmit, correct, the transmitting of data, therefore data packet retransmission can be realized by mechanism such as re-transmissions
Rate (alternatively referred to as RLC retransmission rates) is the important indicator of a measurement network operation state.
At present, most of equipment manufacturers are to set to count inside sending ending equipment or receiving device
Device, is monitored to uplink and downlink link respectively, by counter it is known that the number sent on link
According to bag quantity and the data packet number of re-transmission, so as to calculate the data packet retransmission rate on link.However,
Each equipment manufacturer is different on the method for counting of counter, may be led hence for same case
Cause the result of calculation of retransmission rate to have differences, namely carry out statistics without a kind of unified measuring method
Bag retransmission rate.
The content of the invention
The embodiments of the invention provide a kind of acquisition methods of data packet retransmission rate and rlc layer data solution
Desorption device, to support the outside statistical data packet retransmission rate in sending ending equipment and receiving device,
And then can be independent of sending ending equipment or receiving device Counter statistical result, and with unite
One measuring method obtains data packet retransmission rate.
In order to solve the above technical problems, embodiments of the invention are adopted the following technical scheme that:
On the one hand there is provided a kind of statistical method of retransmission rate, methods described includes:
Rlc layer data analyzing device by connected data transfer equipment gather first base station with
Control network element interaction rlc layer packet, the first base station by the data transfer equipment with
The control network element connection;
The rlc layer packet collected is parsed, to obtain the rlc layer packet
In field information;
According to the field information in the rlc layer packet, the first base station and the control are counted
Data packet retransmission rate on transmission link between network element processed.
On the other hand there is provided rlc layer data analyzing device, described device includes:
Acquisition module, passes through the data transfer equipment that is connected with rlc layer data analyzing device collection the
The rlc layer packet that one base station is interacted with control network element, the first base station is turned by the data
Hair equipment is connected with the control network element;
Parsing module, for being parsed to the rlc layer packet collected, to obtain
State the field information in rlc layer packet;
Statistical module, for the field information in the rlc layer packet, counts described the
The data packet retransmission rate on transmission link between one base station and the control network element.
The acquisition methods and rlc layer data solution of a kind of data packet retransmission rate provided in an embodiment of the present invention
Desorption device, the first base station collected by parsing rlc layer data analyzing device is handed over control network element
After mutual rlc layer packet, according to the field information in the rlc layer packet after parsing, statistics
Data packet retransmission rate on transmission link.Wherein, rlc layer data analyzing device is arranged on base station and control
The outside of network element (i.e. sending ending equipment and receiving device) processed, to realize in device external statistical number
According to bag retransmission rate.Further, since scheme provided in an embodiment of the present invention is directly entered to collecting packet
Row statistics, therefore it is not necessarily dependent on the statistical result of sending ending equipment or receiving device Counter,
Hence for for different transmission links data packet retransmission rate can be obtained using this method measurement, namely
A kind of unified measuring method can be provided.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be right
The accompanying drawing used required in embodiment or description of the prior art is briefly described, it should be apparent that,
Drawings in the following description are only some embodiments of the present invention, for those of ordinary skill in the art
For, on the premise of not paying creative work, it can also be obtained according to these accompanying drawings other attached
Figure.
Fig. 1 is a kind of data transmission system schematic diagram provided in an embodiment of the present invention;
Fig. 2 is a kind of statistical method flow chart of retransmission rate provided in an embodiment of the present invention;
Fig. 3 is the statistical method flow chart of another retransmission rate provided in an embodiment of the present invention;
Fig. 4 is the statistical method flow chart of another retransmission rate provided in an embodiment of the present invention;
Fig. 5 is a kind of rlc layer data analyzing device block diagram provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is entered
Row is clearly and completely described, it is clear that described embodiment is only a part of embodiment of the invention,
Rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not having
There is the every other embodiment made and obtained under the premise of creative work, belong to what the present invention was protected
Scope.
For the ease of clearly describing the technical scheme of the embodiment of the present invention, in an embodiment of the present invention,
The printed words such as " first ", " second " are employed to function and essentially identical identical entry or similar is acted on
Item makes a distinction, it will be appreciated by those skilled in the art that the printed words such as " first ", " second " are not right
Quantity and execution order are defined.
In the prior art, it is to set counter inside sending ending equipment or receiving device to supervise mostly
Packet transmission situation on surveyor's chain road, the method for counting that may be so set due to each manufacturer is not
With and cause to calculate obtained data packet retransmission rate for same case and have differences.It is of the invention real
Apply mainly using the rlc layer data analyzing device of device external in example, to the packet collected
Progress counts the data packet retransmission rate that obtains, so even to counting the packet weight on different transmission links
Biography rate, and the sending ending equipment and receiving device of these different transmission links are different vendor and setting
Method of counting it is different, as the scheme used in the embodiment of the present invention is unrelated with these factors,
So as to all obtain retransmission rate with unified measuring method to these different transmission links, prevent identical
In the case of count this different problem of obtained retransmission rate and produce.
Fig. 1 shows a kind of data transmission system schematic diagram provided in an embodiment of the present invention, wherein wrapping
Include:Multiple base stations 11, control network element 12, base station 11 and control network element 12 are connected
Data transfer equipment 13.
Wherein, the data transmission system can be the various technologies described in the embodiment of the present invention,
Available for various wireless communication systems, such as current 2G, 3G communication systems and next generation communication
System, such as global system for mobile communications (GSM, Global System for Mobile
Communications), CDMA (CDMA, Code Division Multiple Access) system
System, time division multiple acess (TDMA, Time Division Multiple Access) system, broadband code
Divide multiple access (WCDMA, Wideband Code Division Multiple Access Wireless),
Frequency division multiple access (FDMA, Frequency Division Multiple Addressing) system, it is orthogonal
Frequency division multiple access (OFDMA, Orthogonal Frequency-Division Multiple Access) system
System, Single Carrier Frequency Division Multiple Access (SC-FDMA) system, GPRS (GPRS, General
Packet Radio Service) system, Long Term Evolution (LTE, Long Term Evolution) system,
And other such communication systems.
Base station 11 can be in access network in the air on interface by one or more sectors and nothing
The equipment of line terminal communication.For example, in gsm system, base station can be BS (Base
Station), base transceiver station (Base Transceiver Station, referred to as BTS);
Base station can be the NodeB in LTE, or evolved base station (evolutional Node B, referred to as
For e-NodeB), the embodiment of the present invention is not limited this.
Control network element 12 can be connected with base station 11, for managing wireless network.For example,
Can be base station controller (BSC) in GSM network;Can be with the systems such as WCDMA
It is radio network controller (Radio Network Controller, referred to as RNC).
Data transfer equipment 13 is as its name suggests, the data between base station 11 and control network element 12
Bridge is transmitted, for example:Can be interchanger or router etc., with multiple Ethernet interfaces, base
Stand 11 and control network element 12 be connected by netting twine access network based on ethernet interface with data transfer equipment 13.
Illustrated in the examples below by taking WCDMA system as an example, wherein base station 11 is
NodeB, control network element 12 is RNC.Pass through between where the dotted line signifies that NodeB and RNC
Iub logic interfacings are connected.
In addition, in embodiments of the present invention, based on above-mentioned data transmission system, being additionally arranged rlc layer
Data analyzing device 14.Rlc layer data analyzing device 14 can be signaling resolution of the prior art
Instrument.Signaling resolution instrument is one of important auxiliary tool of communication network operation maintenance, main application
In the signaling protocol collection of various wireless communication systems, parsing, synthesis, analyzing and positioning network failure,
And the real-time protocol (RTP) analysis to each interface etc..It should be noted that these functions are existing signaling solutions
The function that analyzer table generally has, still, in applied to the present embodiment, it is only necessary to be able to carry out following
Step in embodiment of the method, does not limit that it is necessary to have repertoire above-mentioned.
The rlc layer data analyzing device 14 is connected with data transfer equipment 13, for turning from data
The data of interaction between NodeB and RNC are collected in hair equipment 13.Wherein, rlc layer data
Analyzing device 14 can be connected with the connected mode of data transfer equipment 13 using existing network interface, herein not
Plus limit.
Data transmission system based on foregoing description, the embodiments of the invention provide a kind of packet weight
The acquisition methods of biography rate, refer to following specific embodiment.
Embodiment one
The statistical method of retransmission rate provided in an embodiment of the present invention, the executive agent of this method is RLC
Layer data analyzing device 14.
As shown in Fig. 2 the acquisition methods of data packet retransmission rate provided in an embodiment of the present invention, including with
Lower step:
Step S101:Rlc layer data analyzing device 14 passes through connected data transfer equipment
The rlc layer packet that 13 collection first base stations are interacted with control network element 12, the first base station passes through
Data transfer equipment 13 is connected with control network element 12.
Which of base station 11 for first base station is counted by rlc layer data analyzing device 14
What the data packet retransmission rate on which bar transmission link was determined.Example, if the parsing of rlc layer data is set
Standby 14 want Statisti-cal control network element 12 to send the data packet retransmission rate on the link of data to NodeB 1,
Then the NodeB 1 is first base station here.In another example, to obtain NodeB 2 to control net
Member 12 sends the data packet retransmission rate on the link of data, then now NodeB 2 is first base station.
Example, if control network element 12 is only connected to a base station by data transfer equipment 13
11, then rlc layer data analyzing device 14 can only be obtained from the data transfer equipment 13 in this step
The rlc layer packet for taking the base station to be interacted with control network element 12.
And example, if control network element 12 is connected at least two base stations by data transfer equipment 13
11, namely at least two base stations 11 by data transfer equipment 13 with control network element 12 be connected, when
Right at least two base station 11 includes first base station, then is chosen as in the present embodiment:Rlc layer number
According to analyzing device 14 by the base stations 11 of connected data transfer equipment 13 collection at least two with
The rlc layer packet for controlling network element 12 to interact, afterwards, according in each rlc layer packet
Address information, selects the rlc layer packet for including first base station address information.I.e. when needs pair
When some in multiple base stations is monitored, it is possible to which being filtered out by the way of address filtering needs monitoring
The data of base station (first base station);Certainly, packet (collecting all packets) before filtering
Can still it be stored in rlc layer data analyzing device, so that rlc layer data analyzing device obtains it
Data packet retransmission rate on his base station transmission link.
For example, assuming that first base station is Node 1 with reference to Fig. 1, this step can be:Rlc layer number
All base stations (3 base stations) and control are collected by data transfer equipment 13 according to analyzing device 14
The rlc layer packet that network element 12 is interacted;Now, according to carrying in each rlc layer packet
Source address and destination address, it is possible to which it is the addresses of Node 1 to find out institute's source address or destination address
All rlc layer packets.
In addition, this step can utilize the collection of rlc layer data analyzing device 14 one in acquisition time
The packet of individual or multiple base stations, it is contemplated that need to gather enough packets and be analyzed, may be selected
Busy periods carry out data acquisition in whole day, and acquisition time example can be 1 to 2 hours.Also, to protect
The data of card collection have statistical significance, generally require the one or more base stations of collection in acquisition time
Whole Iu-B interface data of transmission.
It should be noted that it should be appreciated by those skilled in the art that the collection in the present embodiment can be adopted
With mirror-image fashion, equivalent to copy so that do not interfere with the transmission of the data on transmission link, certainly
Meet the collection of any mode of this condition.
Step S102:The rlc layer packet that 14 pairs of rlc layer data analyzing device is collected is carried out
Parsing, to obtain the field information in rlc layer packet.
Rlc layer data analyzing device 14 is parsed according to standard agreement to rlc layer packet, this
In be not added be described in detail.Then, it is possible to read the field information of rlc layer packet.Further,
Carry out for convenience in data analysis, the present embodiment can by the field information of rlc layer packet with
Certain form is exported, and by the file input database of this form.Form herein can be
Any one in CSV, TXT or extended formatting.The field information of rlc layer packet is as follows
Shown in table 1.
Table 1
Above-mentioned signaling is another statement of packet, can be considered identical.
It should be noted that and not all rlc layer packet all includes all fields in table 1.
Example, from first base station to the control uplink data sending bag of network element 12, by the rlc layer of parsing
Field in packet can not include Last sequence-number field information, accordingly, from control network element
12 to the descending ACK or NACK packets for sending this packet of first base station, by parsing
Field in rlc layer packet can not include AMD sequence-number field information.
Further, since during statistical data packet retransmission rate, may there is part field to take less than,
Required field information is now only needed to be entered into database.It is preferred that, in this implementation
The field needed in example includes:Dir、Address1、Address2、Line、Status、AMD
Sequence Number and Last Sequence Number fields, further, may be used also
With including id field etc..
Step S103:According to the field information in rlc layer packet, statistics first base station and control
Data packet retransmission rate on transmission link between network element 12.
The re-transmission packet and total transmission number on transmission link between first base station and control network element 12
It is data packet retransmission rate according to the ratio of bag.So be accomplished by counting respectively the quantity that retransmits packet and
The quantity of total transmission packet.Example, it is respectively to be used to count to retransmit that can set two counters
The re-transmission data packet count device (being designated as counter A) of data packet number, and for counting total transmission
At the beginning of total transmission packet counter (being designated as counter B) of data packet number, the two counters
Initial value is 0, and the embodiment of the present invention is described in detail with this.Certainly, this is intended only as example, for example
The data packet number not retransmitted can also be counted, in the hope of taking packet retransmission rate;It can also set many
Individual counter, finally sums and obtains retransmitting the data volume of packet and the quantity of total transmission packet again.
First, the field information in rlc layer packet, is determined in rlc layer packet one
In the transmission in the first rlc layer packet and rlc layer packet that are transmitted on transmission link
The the second rlc layer packet transmitted on the reverse link of link.
Can according to the source address in table 1 (Address1), destination address (Address2),
Signalling direction (Dir) and circuit (Line) this four fields determine a transmission link (referring to figure
S301 in 3).Example, by source address 10.68.132.129, destination address 10.68.132.130,
Signalling direction UP, circuit 1 determine a transmission link, then the field difference of its reverse link
For source address 10.68.132.130, destination address 10.68.132.129, signalling direction DOWN,
Circuit 1.Determine after transmission link, reverse link is can determine naturally, link is also can determine
On packet.The each RLC packets transmitted on this transmission link can be referred to as first
Rlc layer packet, each RLC packets transmitted on this reverse link can be referred to as
Two rlc layer packets.It is, moreover, an optional that can also be by the RLC numbers transmitted on this transmission link
According to conduct the first rlc layer packet that AMD sequence-number fields are included in bag, by this reverse strand
Conduct the second rlc layer data of Last sequence-number fields are included in the RLC packets transmitted on road
Bag.
Then, the field information in the first rlc layer packet, from the first rlc layer packet
In select and need to confirm packet.
Type (Status) field in the first rlc layer packet, which is selected, need to confirm packet,
It is for for each first rlc layer packet, judges type in the first rlc layer packet
(Status) field value (referring to the S302 in Fig. 3).If for example, the first rlc layer data
Type (Status) the field value of bag is 0, it is determined that the first rlc layer packet is to need to confirm
Packet, now receiving device need optionally to reply ACK message or NACK message.And example
Such as, if type (Status) the field value of the first rlc layer packet is 1, it is determined that this first
Rlc layer packet for be not required to confirm packet, now receiving device need not reply ACK message or
NACK message.
Optionally, referring to the S307 in Fig. 3, it is not required to confirm number in the first rlc layer packet of statistics
According to the quantity of bag, to calculate the retransmission rate in transmission link transmitting data bag;Now mean the number
Be unlikely to be re-transmission packet according to bag, thus can as total transmission packet a part, will
Counter B adds 1, and counter A is constant.It should be noted that those skilled in the art can also root
The need for retransmission rate is calculated, this part is not calculated within total transmission packet.In addition, being not required to
Confirming the quantity of packet also can individually count, in the quantity for being finally aggregated into total transmission packet.
Finally, for it is each need to confirm packet for, according to the field information that need to be confirmed in packet,
And the second field information in rlc layer packet, judge described to confirm whether packet attaches most importance to
Pass packet;And the quantity for retransmitting packet is counted, further also count the number of total transmission packet
Amount, to calculate the retransmission rate in the transmission link transmitting data bag.
Can be according to the AMD sequence-number fields that need to be confirmed in packet, and the second rlc layer number
Judge whether the packet attaches most importance to according to type (Status) field and Last sequence-number fields in bag
Pass packet.
Specifically, can include:Confirm packet for a need, judge whether type
(Status) field is designated as ACK (Acknowledgement confirms) message or NACK
(Negative Acknowledgement, deny) message, Last sequence-number fields are the first ginseng
Examine the 2nd RLC packets of value, and judge whether AMD sequence-number fields for the second reference value,
The first RLC packets in addition to it need to confirm packet, second reference value need to confirm number to be described
According to the numerical value of the AMD sequence-number fields of bag, first reference value is the second reference value and 1 sum.
Example, the S303-S306 in Fig. 3 is may be referred to, but order is not limited to this.For example:
Referring to S303, first judge whether include one the 2nd RLC packets, the 2nd RLC on reverse link
Type (Status) field of packet is 2, and Last sequence-number fields need to confirm data equal to this
The AMD sequence number fields of bag add 1;If carrying out S304 comprising if, S305 is carried out if not including.
Referring to S304, judge that whether there is AMD sequence-number fields and this on transmission link need to confirm number
According to other the first RLC packets of the AMD sequence-number fields identical of bag.
Referring to S305, judge whether include one the 2nd RLC packets on reverse link, this second
Type (Status) field of RLC packets is 3, and Last sequence-number fields are equal to this and need to confirm
The AMD sequence number fields of packet add 1;If comprising carrying out S306.
Referring to S306, judge that whether there is AMD sequence-number fields and this on transmission link need to confirm number
According to other the first RLC packets of the AMD sequence-number fields identical of bag.
Judgement based on the stage, can obtain four kinds of judged results.
The first, if present pattern (Status) field is designated as ACK message, Last sequence numbers
Field is the 2nd RLC packets of the first reference value, and is second in the absence of AMD sequence-number fields
Reference value, the first RLC packets in addition to this need to confirm packet, then this need to confirm packet
It is not to retransmit packet.
Example, if S304 judged result is no, then it is assumed that this need to confirm that packet is not to retransmit
Packet, represents that packet is received normally, does not retransmit.Referring now to S308, it will can count
Number device B adds 1, and counter A is constant.
Second, if present pattern (Status) field is designated as ACK message, Last sequence numbers
Field is the 2nd RLC packets of the first reference value, and there is AMD sequence-number fields is the second ginseng
Value, the first RLC packets in addition to this need to confirm packet are examined, then this need to confirm that packet is
Retransmit packet.
Example, if S304 judged result is yes, then it is assumed that this need to confirm that packet is to retransmit number
According to bag, represent that sending ending equipment is not normally received ACK message and causes data packet retransmission.Referring now to
S309, can add 1, counter A adds 1 by counter B.
The third, if present pattern (Status) field is designated as NACK message, Last sequence numbers
Field is the 2nd RLC packets of the first reference value, and there is AMD sequence-number fields is the second ginseng
Value, the first RLC packets in addition to this need to confirm packet are examined, then this need to confirm that packet is
Retransmit packet.
Example, if S306 judged result is yes, then it is assumed that this need to confirm that packet is to retransmit number
According to bag, represent that receiving device replys NACK message and causes data packet retransmission.Referring now to S310,
Counter B can be added 1, counter A adds 1.
Further, also the 4th kind judged result, if being indicated in the absence of type (Status) field
For ACK message or NACK message, the 2nd RLC that Last sequence-number fields are the first reference value
Packet, or, if present pattern (Status) field is designated as NACK message, Last sequences
Number field is the 2nd RLC packets of the first reference value and is second in the absence of AMD sequence-number fields
Reference value, the first RLC packets in addition to this need to confirm packet, then this need to confirm packet
For abnormal data bag.
Example, if S305 judged results are no, i.e., on reverse link both without one the 2nd RLC
Type (Status) field of packet is 2, and Last sequence-number fields need to confirm packet for this
AMD sequence-number fields add 1, also type (Status) field without one the 2nd RLC packets
For 3, and Last sequence-number fields need to confirm that packet AMD sequence-number fields plus 1 for this;Or,
If S306 judged results are no, then it is assumed that this need to confirm that packet is abnormal data bag, it may be possible to number
Caused by bag collection or parsing mistake.Now, preferably not to data packet count need to be confirmed, certainly
Also it will can be included in the quantity of total transmission packet.
Judging to confirm whether packet is to retransmit bag, you can statistics retransmits the quantity of packet,
Specifically, statistics belongs to above-mentioned second of situation and the need of the third situation confirm that the quantity of packet is total
With.Example, because the S309 and S310 in Fig. 3 are for that each need to confirm that packet can be regarded
Situation is adjusted to counter A, then after last need to confirm that packet judges to terminate,
Counter A numerical value is the quantity for retransmitting packet.
Further, also need to count the quantity of total transmission packet, can just calculate transmission link upload
The retransmission rate of transmission of data bag.Specifically, can count transmitted on transmission link all need to confirm data
Bao Zhong, the data packet number in addition to abnormal data bag is used as the quantity or work of total transmission packet
For one part.That is, statistics belong to the first above-mentioned situation, second situation, the third
The summation of situation, to obtain the quantity that the need in addition to abnormal data bag confirm packet.Example,
Because S308, S309 and S310 in Fig. 3 are for need to each confirm that packet can be optionally right
Counter B is adjusted, then after last need to confirm that packet judges to terminate, counter
B numerical value is the quantity of the need confirmation packet in addition to abnormal data bag.Certainly, this area skill
Need in addition to abnormal data bag can be confirmed the quantity of packet as total by art personnel as needed
The quantity of transmission packet.It is of course also possible to regard all quantity that need to confirm packet as total transmission
The quantity of packet, herein without limitation.
It should be noted that being preferably that the need in addition to abnormal data bag are confirmed into number in the present embodiment
The summation conduct of quantity according to the quantity of bag, with being not required to confirm packet in the first rlc layer packet
The quantity of total transmission packet.Example, S307, S308, S309 and S310 are for each needing
Confirm that packet optionally can be all adjusted to counter B, then when last the first RLC
Packet judges after terminating that counter B numerical value is the quantity of total transmission packet here.
Further, can be as shown in the S311 in Fig. 3, by counter A numerical value and counter B
Numerical computations transmission link transmitting data bag retransmission rate.
The acquisition methods and rlc layer data solution of a kind of data packet retransmission rate provided in an embodiment of the present invention
Desorption device, the first base station collected by parsing rlc layer data analyzing device is handed over control network element
After mutual rlc layer packet, according to the field information in the rlc layer packet after parsing, statistics
Data packet retransmission rate on transmission link.Wherein, rlc layer data analyzing device is arranged on base station and control
The outside of network element (i.e. sending ending equipment and receiving device) processed, to realize in device external statistical number
According to bag retransmission rate.Further, since scheme provided in an embodiment of the present invention is directly entered to collecting packet
Row statistics, therefore it is not necessarily dependent on the statistical result of sending ending equipment or receiving device Counter,
Hence for for different transmission links data packet retransmission rate can be obtained using this method measurement, namely
A kind of unified measuring method can be provided.
Embodiment two
In order to prevent from retransmitting packet statistics mistake, the embodiment of the present invention is deleted according to field information and repeated
The RLC packets of collection.As shown in figure 3, on the basis of embodiment one, in step S102
Afterwards, before step S103, the acquisition methods of data packet retransmission rate provided in an embodiment of the present invention,
It is further comprising the steps of:
Step S104:According to the field information in rlc layer packet, the RLC of repeated acquisition is deleted
Packet.
, can when RLC data analyzing device 14 is acquired by data transfer equipment 13 to data
With using mirror-image fashion collection, because RLC data analyzing device 14 can be to connection control network element
12 and multiple interfaces of connection base station 11 be monitored simultaneously, so, if a packet is from base
Stand and 11 be sent to control network element 12, the packet runs past base station to data transfer equipment 13
Interface and data transfer equipment 13 are to the interface for controlling network element 12, and data transfer equipment 13 can
Can be on the two interfaces twice by same packet capture, therefore will result in the data of collection
Repeat.If such packet not deleted, probably due to by this packet as re-transmission number
Calculated according to bag, cause retransmission rate to calculate mistake.
Specifically, for two RLC packets of repeated acquisition, it is however generally that the id field of the two
It is different with Time fields, other fields are typically identical, and the id field of the two is continuous
's.Therefore, from the RLC packets collected, search whether to exist id field it is continuous, except Time
Two RLC packets of other field all sames outside field, if there is qualified two
RLC packets, then only retain one.
It is further preferred that in quickly to judge which is the packet of repeated acquisition, the present embodiment
Only need to AMD sequence numbers or Last sequence numbers is identical, and continuous two RLC numbers of id field
Only retain one according to bag.
The statistical method of retransmission rate provided in an embodiment of the present invention, passes through the word in rlc layer packet
Segment information, deletes the packet of repeated acquisition in the obtained RLC packets of parsing, thus prevent by
In packet in transmitting procedure by multi collect, by mistake by the packet of this repeated acquisition as retransmitting number
Counted according to bag, and cause retransmission rate to calculate mistake.
Embodiment three
It is any of the above-described for performing the embodiments of the invention provide a kind of rlc layer data analyzing device
The acquisition methods of data packet retransmission rate shown in embodiment (embodiment one or embodiment two).
As shown in figure 5, the rlc layer data analyzing device includes:
Acquisition module 51, passes through the data transfer equipment being connected with the rlc layer data analyzing device
The rlc layer packet that collection first base station is interacted with control network element, the first base station passes through described
Data transfer equipment is connected with the control network element;
Parsing module 52, for being parsed to the rlc layer packet collected, to obtain
Field information in the rlc layer packet;
Statistical module 53, for the field information in the rlc layer packet, statistics is described
The data packet retransmission rate on transmission link between first base station and the control network element.
A kind of optional scheme is that statistical module 53 is specifically for according in the rlc layer packet
Field information, determine the first RLC transmitted in the rlc layer packet on a transmission link
Transmitted in layer data bag and the rlc layer packet on the reverse link of the transmission link
The second rlc layer packet;
According to the field information in the first rlc layer packet, from the first rlc layer data
Packet need to be confirmed by being selected in bag;
According to the field information that need to be confirmed in packet and the second rlc layer packet
In field information, judge it is described need to confirm packet whether be retransmit packet;
The statistics quantity for retransmitting packet, to calculate in the transmission link transmitting data bag
Retransmission rate.
A kind of optional scheme is, statistical module 53 is specifically additionally operable to that described number need to be confirmed for one
According to bag, judge whether that type field is designated as ACK message or NACK message, Last sequences
Number field is the 2nd RLC packets of the first reference value, and judges whether AMD sequence number words
Section for the second reference value, except it is described need to confirm packet in addition to the first RLC packets, described the
Two reference values are the numerical value of the AMD sequence-number fields that need to confirm packet, first reference
It is worth for second reference value and 1 sum;
If it is the first reference that present pattern field, which is designated as ACK confirmation messages, Last sequence-number fields,
2nd RLC packets of value, and be the second reference value, except described in the absence of AMD sequence-number fields
The first RLC packets outside packet need to be confirmed, then it is described to confirm that packet is not to retransmit number
According to bag;
If present pattern field is designated as ACK message or NACK message, Last sequence-number fields are
2nd RLC packets of the first reference value, and exist AMD sequence-number fields for the second reference value,
Except it is described need to confirm packet in addition to the first RLC packets, then it is described need to confirm packet be weight
Pass packet.
A kind of optional scheme is, if statistical module 53 is specifically additionally operable to that type field instruction is not present
For ACK message or NACK message, the 2nd RLC that Last sequence-number fields are the first reference value
Packet, or, it is if present pattern field is designated as NACK message, Last sequence-number fields
2nd RLC packets of the first reference value and in the absence of AMD sequence-number fields be the second reference value,
Except it is described need to confirm packet in addition to the first RLC packets, then it is described that packet need to be confirmed to be different
Regular data bag;
The statistical module 53, which is additionally operable to count transmitted on the transmission link all, need to confirm data
Bao Zhong, the data packet number in addition to abnormal data bag transmits number to calculate on the transmission link
According to the retransmission rate of bag.
A kind of optional scheme is that statistical module 53 is additionally operable to statistics the first rlc layer packet
In be not required to confirm packet quantity, to calculate the re-transmission in the transmission link transmitting data bag
Rate.
A kind of optional scheme is, in the parsing module 52 obtains the rlc layer packet
After field information, in field information of the statistical module 53 in the rlc layer packet,
Count data packet retransmission rate on the transmission link between the first base station and the control network element it
Before, the equipment also includes:
Removing module 54 is used for the field information in the rlc layer packet, deletes and repeats to adopt
The RLC packets of collection.
Acquisition module 51 turns specifically for the data by being connected with the rlc layer data analyzing device
Hair equipment gathers the rlc layer packet that at least two base stations are interacted with control network element, described at least two
Individual base station is connected by the data transfer equipment with the control network element, and including first base station;
According to the address information in each described rlc layer packet, select with including first base station
The rlc layer packet of location information.
It should be noted that acquisition module 51, parsing module 52, statistical module in the present embodiment
53rd, removing module 54 can be the processor individually set up, or be integrated in rlc layer data
Realized in some processor of analyzing device, in addition it is also possible to be stored in the form of program code
In the memory of rlc layer data analyzing device, by some processing of rlc layer data analyzing device
Device calls and performs above acquisition module 51, parsing module 52, statistical module 53, removing module
54 function.Processor described here can be a central processing unit (English full name:Central
Processing Unit, English abbreviation:), or specific integrated circuit (English full name CPU:
Application Specific Integrated Circuit, English abbreviation:ASIC), or by with
It is set to the one or more integrated circuits for implementing the embodiment of the present invention.
Those of ordinary skill in the art are it is to be appreciated that with reference to the embodiments described herein description
Each example unit and algorithm steps, can be with electronic hardware or computer software and electronics
The combination of hardware is realized.These functions are performed with hardware or software mode actually, are depended on
The application-specific and design constraint of technical scheme.Professional and technical personnel can be to each specific
Using realizing described function using distinct methods, but this realization is it is not considered that exceed
The scope of the present invention.
It is apparent to those skilled in the art that, for convenience and simplicity of description, on
The specific work process of system, device and the unit of description is stated, preceding method embodiment is may be referred to
In corresponding process, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed system, set
Standby and method, can be realized by another way.For example, equipment (device) described above
Embodiment is only schematical, for example, the division of the unit (module), is only one kind
Division of logic function, can there is other dividing mode when actually realizing, such as multiple unit (moulds
Block) or component can combine or be desirably integrated into another system, or some features can be ignored,
Or do not perform.Another, shown or discussed coupling or direct-coupling or communication each other
Connection can be by some interfaces, the INDIRECT COUPLING or communication connection of equipment or unit (module),
Can be electrical, machinery or other forms.
The unit as separation (module) part description can be or may not be physics
Upper separated, the part shown as unit can be or may not be physical location, you can
With positioned at a place, or it can also be distributed on multiple NEs.Can be according to reality
Selection some or all of unit therein is needed to realize the purpose of this embodiment scheme.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing list
, can also two or more unit collection in member or unit is individually physically present
Into in a unit.
If the function is realized using in the form of SFU software functional unit (module) and is used as independent production
Product are sold or in use, can be stored in a computer read/write memory medium.Based on so
Understanding, part that technical scheme substantially contributes to prior art in other words or
The part of person's technical scheme can be embodied in the form of software product, computer software production
Product are stored in a storage medium, including some instructions are make it that a computer equipment (can
To be personal computer, server, or network equipment etc.) perform each embodiment institute of the invention
State all or part of step of method.And foregoing storage medium includes:USB flash disk, mobile hard disk,
Read-only storage (English abbreviation:ROM, English full name:Read-Only Memory), it is random
Access memory (English abbreviation:RAM, English full name:Random Access Memory)、
Magnetic disc or CD etc. are various can be with the medium of store program codes.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not
Be confined to this, any one skilled in the art the invention discloses technical scope in,
Change or replacement can be readily occurred in, should be all included within the scope of the present invention.Therefore, originally
The protection domain of invention described should be defined by scope of the claims.
Claims (14)
1. a kind of acquisition methods of data packet retransmission rate, it is characterised in that including:
Rlc layer data analyzing device gathers first base station and control by connected data transfer equipment
The rlc layer packet of network element processed interaction, the first base station by the data transfer equipment with it is described
Control network element connection;
The rlc layer packet collected is parsed, to obtain in the rlc layer packet
Field information;
According to the field information in the rlc layer packet, the first base station and the control are counted
Data packet retransmission rate on transmission link between network element.
2. according to the method described in claim 1, it is characterised in that according to the rlc layer packet
In field information, count the data on the transmission link between the first base station and the control network element
Bag retransmission rate includes:
According to the field information in the rlc layer packet, determine in the rlc layer packet one
Passed in the first rlc layer packet and the rlc layer packet that are transmitted on transmission link described
The the second rlc layer packet transmitted on the reverse link of transmission link;
According to the field information in the first rlc layer packet, from the first rlc layer packet
In select and need to confirm packet;
According in the field information that need to be confirmed in packet and the second rlc layer packet
Field information, judge it is described need to confirm packet whether be retransmit packet;
The statistics quantity for retransmitting packet, to calculate the weight in the transmission link transmitting data bag
Biography rate.
3. method according to claim 2, it is characterised in that need to confirm packet according to described
In field information and the field information in the second rlc layer packet, judge it is described need to really
Whether recognize packet is to retransmit packet to include:
For one it is described need to confirm packet, judge whether that type field is designated as ACK message
Or NACK message, Last sequence-number fields are the 2nd RLC packets of the first reference value, and judge
With the presence or absence of AMD sequence-number fields be the second reference value, except it is described need to confirm packet in addition to first
RLC packets, second reference value is the number of the AMD sequence-number fields that need to confirm packet
Value, first reference value is second reference value and 1 sum;
If present pattern field is designated as ACK confirmation messages, Last sequence-number fields for the first reference value
The 2nd RLC packets, and in the absence of AMD sequence-number fields be the second reference value, except it is described need to really
The first RLC packets recognized outside packet, then it is described to confirm that packet is not to retransmit packet;
If it is that present pattern field, which is designated as ACK message or NACK message, Last sequence-number fields,
2nd RLC packets of one reference value, and there is AMD sequence-number fields for the second reference value, except institute
The first RLC packets outside packet need to be confirmed by stating, then described to confirm that packet is to retransmit data
Bag.
4. method according to claim 2, it is characterised in that if being indicated in the absence of type field
For ACK message or NACK message, the 2nd RLC numbers that Last sequence-number fields are the first reference value
According to bag, or, if it is first that present pattern field, which is designated as NACK message, Last sequence-number fields,
2nd RLC packets of reference value and in the absence of AMD sequence-number fields be the second reference value, except described
The first RLC packets outside packet need to be confirmed, then it is described to confirm that packet is abnormal data bag;
According to the field information in the rlc layer packet, the first base station and the control are counted
Data packet retransmission rate on transmission link between network element also includes:
Counting transmitted on the transmission link all need to confirm in packet, in addition to abnormal data bag
Data packet number, to calculate the retransmission rate in the transmission link transmitting data bag.
5. the method according to claim any one of 2-4, it is characterised in that according to the RLC
Field information in layer data bag, counts the transmission link between the first base station and the control network element
On data packet retransmission rate also include:
The quantity for being not required to confirm packet in the first rlc layer packet is counted, to calculate described
The retransmission rate of transmission link transmitting data bag.
6. according to the method described in claim 1, it is characterised in that obtaining the rlc layer data
After field information in bag, in the field information in the rlc layer packet, statistics is described
Before the data packet retransmission rate on transmission link between first base station and the control network element, methods described
Also include:
According to the field information in the rlc layer packet, the RLC packets of repeated acquisition are deleted.
7. according to the method described in claim 1, it is characterised in that the rlc layer data parsing is set
It is standby that the rlc layer number that first base station is interacted with control network element is gathered by connected data transfer equipment
Include according to bag:
Rlc layer data analyzing device gathers at least two base stations by connected data transfer equipment
The rlc layer packet interacted with control network element, at least two base station is set by the data forwarding
It is standby to be connected with the control network element, and including first base station;
According to the address information in each described rlc layer packet, select and include first base station address
The rlc layer packet of information.
8. a kind of rlc layer data analyzing device, it is characterised in that including:
Acquisition module, is gathered by the data transfer equipment being connected with the rlc layer data analyzing device
The rlc layer packet that first base station is interacted with control network element, the first base station is turned by the data
Hair equipment is connected with the control network element;
Parsing module, it is described to obtain for being parsed to the rlc layer packet collected
Field information in rlc layer packet;
Statistical module, for the field information in the rlc layer packet, statistics described first
The data packet retransmission rate on transmission link between base station and the control network element.
9. equipment according to claim 8, it is characterised in that statistical module is specifically for basis
Field information in the rlc layer packet, is determined in the rlc layer packet in a transmission link
In the transmission link in the first rlc layer packet and the rlc layer packet of upper transmission
The the second rlc layer packet transmitted on reverse link;
According to the field information in the first rlc layer packet, from the first rlc layer packet
In select and need to confirm packet;
According in the field information that need to be confirmed in packet and the second rlc layer packet
Field information, judge it is described need to confirm packet whether be retransmit packet;
The statistics quantity for retransmitting packet, to calculate the weight in the transmission link transmitting data bag
Biography rate.
10. equipment according to claim 9, it is characterised in that the statistical module is specifically also used
In for one it is described need to confirm packet, judge whether type field be designated as ACK message or
NACK message, Last sequence-number fields be the first reference value the 2nd RLC packets, and judge be
It is no exist AMD sequence-number fields for the second reference value, except it is described need to confirm packet in addition to first
RLC packets, second reference value is the number of the AMD sequence-number fields that need to confirm packet
Value, first reference value is second reference value and 1 sum;
If present pattern field is designated as ACK confirmation messages, Last sequence-number fields for the first reference value
The 2nd RLC packets, and in the absence of AMD sequence-number fields be the second reference value, except it is described need to really
The first RLC packets recognized outside packet, then it is described to confirm that packet is not to retransmit packet;
If it is that present pattern field, which is designated as ACK message or NACK message, Last sequence-number fields,
2nd RLC packets of one reference value, and there is AMD sequence-number fields for the second reference value, except institute
The first RLC packets outside packet need to be confirmed by stating, then described to confirm that packet is to retransmit data
Bag.
11. equipment according to claim 9, it is characterised in that the statistical module is specifically also used
If being the in being designated as ACK message or NACK message, Last sequence-number fields in the absence of type field
2nd RLC packets of one reference value, or, if present pattern field be designated as NACK message,
Last sequence-number fields are the 2nd RLC packets of the first reference value and AMD sequence number words are not present
Section for the second reference value, except it is described need to confirm packet in addition to the first RLC packets, then need
Confirmation packet is abnormal data bag;
The statistical module, which is additionally operable to count transmitted on the transmission link all, to be confirmed in packet,
Data packet number in addition to abnormal data bag, to calculate the weight in the transmission link transmitting data bag
Biography rate.
12. the equipment according to claim any one of 9-11, it is characterised in that the statistics mould
Block is additionally operable to count the quantity for being not required to confirm packet in the first rlc layer packet, to calculate
The retransmission rate of the transmission link transmitting data bag.
13. equipment according to claim 8, it is characterised in that obtain institute in the parsing module
After stating the field information in rlc layer packet, in the statistical module according to the rlc layer data
Field information in bag, counts the number on the transmission link between the first base station and the control network element
Before bag retransmission rate, the equipment also includes:
Removing module, for the field information in the rlc layer packet, deletes repeated acquisition
RLC packets.
14. equipment according to claim 8, it is characterised in that the acquisition module specifically for:
By the data transfer equipment that is connected with the rlc layer data analyzing device gather at least two base stations with
The rlc layer packet of network element interaction is controlled, at least two base station passes through the data transfer equipment
It is connected with the control network element, and including first base station;
According to the address information in each described rlc layer packet, select and include first base station address
The rlc layer packet of information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610149639.5A CN107205247A (en) | 2016-03-16 | 2016-03-16 | The acquisition methods and rlc layer data analyzing device of a kind of data packet retransmission rate |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610149639.5A CN107205247A (en) | 2016-03-16 | 2016-03-16 | The acquisition methods and rlc layer data analyzing device of a kind of data packet retransmission rate |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107205247A true CN107205247A (en) | 2017-09-26 |
Family
ID=59903748
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610149639.5A Pending CN107205247A (en) | 2016-03-16 | 2016-03-16 | The acquisition methods and rlc layer data analyzing device of a kind of data packet retransmission rate |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107205247A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110035477A (en) * | 2019-04-17 | 2019-07-19 | 彭泽春 | Intelligent management talent training method and system based on Internet of Things |
CN110401574A (en) * | 2018-04-24 | 2019-11-01 | 德科仕通信(上海)有限公司 | A kind of TCP retransmission rate calculation method, the method for improving TCP KPI accuracy in computation |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101040491A (en) * | 2004-10-08 | 2007-09-19 | 艾利森电话股份有限公司 | Congestion control within a radio access network |
CN102006619A (en) * | 2009-08-28 | 2011-04-06 | 华为技术有限公司 | High speed packet access special measurement method and base station |
CN102299779A (en) * | 2011-09-20 | 2011-12-28 | 大唐移动通信设备有限公司 | Method and system for detecting RLC (Radio Link Control) layer retransmitted data packet |
CN102333331A (en) * | 2010-07-13 | 2012-01-25 | 中兴通讯股份有限公司 | Method and apparatus for statistics of reverse retransmission rate of radio link protocol layer |
CN104144068A (en) * | 2013-05-10 | 2014-11-12 | 中国电信股份有限公司 | Service awareness evaluation method and device |
-
2016
- 2016-03-16 CN CN201610149639.5A patent/CN107205247A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101040491A (en) * | 2004-10-08 | 2007-09-19 | 艾利森电话股份有限公司 | Congestion control within a radio access network |
CN102006619A (en) * | 2009-08-28 | 2011-04-06 | 华为技术有限公司 | High speed packet access special measurement method and base station |
CN102333331A (en) * | 2010-07-13 | 2012-01-25 | 中兴通讯股份有限公司 | Method and apparatus for statistics of reverse retransmission rate of radio link protocol layer |
CN102299779A (en) * | 2011-09-20 | 2011-12-28 | 大唐移动通信设备有限公司 | Method and system for detecting RLC (Radio Link Control) layer retransmitted data packet |
CN104144068A (en) * | 2013-05-10 | 2014-11-12 | 中国电信股份有限公司 | Service awareness evaluation method and device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110401574A (en) * | 2018-04-24 | 2019-11-01 | 德科仕通信(上海)有限公司 | A kind of TCP retransmission rate calculation method, the method for improving TCP KPI accuracy in computation |
CN110035477A (en) * | 2019-04-17 | 2019-07-19 | 彭泽春 | Intelligent management talent training method and system based on Internet of Things |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7586948B2 (en) | Packet sub-frame structure for selective acknowledgment | |
US11533651B2 (en) | Transmission control method and device | |
CN101151844A (en) | Method and apparatus of controlling transmission of data block | |
JP3902465B2 (en) | Mobile communication system | |
CN107172649A (en) | A kind of data transmission method and equipment | |
CN107005367A (en) | Transmission protection | |
CN102917389A (en) | Method and device for transmission self-detection of base station in LTE (Long Term Evolution) system | |
CN112887126A (en) | Message link diagnosis method and device and computer storage medium | |
CN107205247A (en) | The acquisition methods and rlc layer data analyzing device of a kind of data packet retransmission rate | |
CN107371179A (en) | Measurement result report method, measurement result method of reseptance, relevant device and system | |
US7274663B2 (en) | System and method for testing differentiated services in a value add network service | |
CN107918375A (en) | A kind of equipment high in the clouds monitoring management system | |
CN107182105A (en) | Information processing method, access point and website | |
CN108631963B (en) | Method and network node for transmitting data | |
US20170064489A1 (en) | Network system, method for determining communication quality, and analysis apparatus | |
JP6399791B2 (en) | Measuring apparatus and measuring method | |
CN104137507A (en) | Method and device for processing packet loss feedback message | |
CN109831282A (en) | Data packet retransmission, retransmission method, system, device and readable storage medium storing program for executing | |
CN109005009A (en) | The processing method and system of data packet check errors | |
CN101207462B (en) | Method, system and apparatus for reset processing | |
JP6279100B2 (en) | Network abnormality detection processing method, network abnormality detection processing device, and computer storage medium | |
Enderle et al. | Radio link control-acknowledged mode protocol performance modeling in UMTS | |
CN106470416A (en) | A kind of report of data transmission state, determine the method and device of transmitted data amount | |
EP1774746B1 (en) | Data unit receiver and sender control method | |
KR101479948B1 (en) | Method for managing traffic between M2M platform and M2M device |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170926 |
|
RJ01 | Rejection of invention patent application after publication |