CN102984741B - Data processing method of testing and device - Google Patents

Data processing method of testing and device Download PDF

Info

Publication number
CN102984741B
CN102984741B CN201210439398.XA CN201210439398A CN102984741B CN 102984741 B CN102984741 B CN 102984741B CN 201210439398 A CN201210439398 A CN 201210439398A CN 102984741 B CN102984741 B CN 102984741B
Authority
CN
China
Prior art keywords
layer
mac layer
represent
package size
data package
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.)
Active
Application number
CN201210439398.XA
Other languages
Chinese (zh)
Other versions
CN102984741A (en
Inventor
杜红飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN201210439398.XA priority Critical patent/CN102984741B/en
Publication of CN102984741A publication Critical patent/CN102984741A/en
Application granted granted Critical
Publication of CN102984741B publication Critical patent/CN102984741B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a kind of data processing method of testing and device, wherein, data processing method of testing comprises: PDCP layer sends downlink data packet according to Packet Generation parameter to rlc layer, wherein, Packet Generation parameter comprises data package size and data package size change frequency, the time that data package size indicates at interval of data package size change frequency, according to once, wherein, P represents data package size, P in change maxrepresent the upper limit of data package size, P minrepresent the lower limit of data package size, r 1for be greater than 0 and be less than or equal to 1 random number, represent and round downwards; Rlc layer downlink data receiving bag, according to the transmission block size of MAC layer, after splitting or organizing bag, sends to MAC layer to downlink data packet.By the present invention, reach the effect of tearing group bag performance open of fully test rlc layer.

Description

Data processing method of testing and device
Technical field
The present invention relates to communication technical field, particularly relate to a kind of RLC(Radio Link Control, wireless spread-spectrum technology) method of testing of layer data process and device.
Background technology
LTE(Long Term Evolution, Long Term Evolution) be the Technology of New Generation Mobile Communications standard of international mainstream after 3G (Third Generation) Moblie, with OFDM(Orthogonal Frequency DivisionMultiplexing, orthogonal frequency division multiplexi) multiple access accesses and multiple antennas is major technique basis, more low transmission time delay can be met, more high transfer rate is provided, increase capacity and covering, reduce running cost, optimized network framework, adopt larger carrier bandwidths, and, be transmitted as target to optimize packet data domain business.
LTE protocol is divided into user plane protocol and chain of command agreement, user plane protocol is for realizing the Resourse Distribute function relevant with transfer of data, chain of command agreement is for realizing communicating to UE relevant controlling functions, and the various control commands produced by chain of command agreement finally also will be transmitted by user plane protocol.User plane protocol part defines structure as shown in Figure 1, as can be seen from Fig. 1, user plane protocol includes PDCP(Packet Data Convergence Protocol, PDCP) layer protocol, rlc layer agreement, MAC(Media Access Controller, medium education) layer protocol and PHY(Physical, physics) layer protocol.Wherein, PDCP layer, rlc layer and MAC layer belong to L2(Layer 2, layer 2).Rlc layer, between MAC layer and PDCP layer, is MAC layer and the bridge more communicated between upper-layer protocol.Rlc layer achieves the relevant various functions of data processing, comprises the segmentation (packet fractionation) of packet and cascade (data packet group bag), ARQ(AutomaticRepeat-reQuest, HARQ) process, to reorder and duplicate detection etc.
Wherein, an important function of rlc layer carries out segmentation and cascade to the top layer SDU (ServiceData Unit, Service Data Unit) from RLC, PDCP, forms the PDU(PacketData Unit being applicable to bottom transmission, Packet Data Unit).The downlink data packet that base station sends, after PDCP layer, is added PDCP head through PDCP layer, is delivered to rlc layer, unpacks or organize bag through rlc layer, issues MAC layer and participates in scheduling.Rlc layer can pass through interlayer message informing MAC layer, current data flow cache size to be sent, and MAC layer can according to current channel quality and user scheduling restriction, the size of the RCL PDU that notice rlc layer is suitable.
But in actual data flow, what PDCP received is IP packet substantially, and due to the restriction of ethernet frame structure, each IP data packet length is no more than 1500 bytes.Suppose that the data package size that PDCP layer issues rlc layer is P, if the transmission block size of MAC layer scheduling is M.Wherein, the transmission block size M of MAC layer is subject to MCS(Modulation and Coding Scheme, modulation coding mode), represent MAC layer scheduling grade, and PRB(Physical Resource Block, Physical Resource Block) number determines jointly.Under normal circumstances, when P is greater than M, rlc layer is unpacked to operate to the packet that PDCP layer sends and is sent to MAC layer again; When M is greater than P, rlc layer to the packet that PDCP layer sends package operation after send to MAC layer again.But, when testing in laboratory, because channel condition limit, IP data package size and the transmission block size of energy simulation are limited, that fully can not test rlc layer tears group packet function and performance open, cause rlc layer to tear the performance test of group bag open to omit, and this omission likely cannot detect mistake or the performance deficiency of rlc layer, thus cause adverse consequences.
Summary of the invention
The invention provides a kind of method of testing and device of rlc layer data processing, tear open in the performance test of group bag to solve existing rlc layer, that fully can not test rlc layer tears group packet function and performance open, cause rlc layer to tear the performance test of group bag open to omit, cause detecting the mistake of rlc layer or the problem of performance deficiency.
In order to solve the problem, the invention discloses a kind of data processing method of testing, comprise: PDCP layer sends downlink data packet according to Packet Generation parameter to rlc layer, wherein, described Packet Generation parameter comprises data package size and data package size change frequency, the time that described data package size indicates at interval of described data package size change frequency, according to once, wherein, P represents described data package size, P in change maxrepresent the upper limit of described data package size, P minrepresent the lower limit of described data package size, r 1for be greater than 0 and be less than or equal to 1 random number, represent and round downwards; Described rlc layer receives described downlink data packet, according to the transmission block size of MAC layer, after splitting or organizing bag, sends to described MAC layer to described downlink data packet.
Preferably, described rlc layer is according to the transmission block size of MAC layer, the step described downlink data packet being split or organizes to bag comprises: described rlc layer receives the transmission block size that described MAC layer reports, described transmission block size is determined according to MCS and PRB number, wherein, the time that described MCS indicates at interval of scheduling change of rank frequency, according to once, wherein, M represents MCS, M in change maxrepresent that MCS dispatches the upper limit of grade, M minrepresent that MCS dispatches the lower limit of grade, r 2for be greater than 0 and be less than or equal to 1 random number, represent and round downwards; The time that described PRB number indicates at interval of scheduling number change frequency, according to once, wherein, N represents described PRB number, N in change maxrepresent the upper limit of PRB number scheduling, N minrepresent the lower limit of PRB number scheduling, r 3for be greater than 0 and be less than or equal to 1 random number, represent and round downwards; Described rlc layer, according to the transmission block size of described MAC layer, splits described downlink data packet or organizes bag.
Preferably, described P maxbe less than 1400 bytes, and/or, described M maxbe less than the MCS value that actual air interface allows, and/or, described N maxbe less than actual PRB and dispatch number.
Preferably, described PDCP layer according to Packet Generation parameter to rlc layer send downlink data packet step before, also comprise: PDCP layer Test Switchboard parameter and/or MAC layer Test Switchboard parameter are set, when described PDCP layer Test Switchboard parameter is for opening, described PDCP layer sends described downlink data packet according to described Packet Generation parameter to described rlc layer; When described MAC layer Test Switchboard parameter is for opening, described MAC layer determines described transmission block size according to described MCS and described PRB number.
Preferably, described Packet Generation parameter also comprises each Packet Generation quantity and Packet Generation frequency.
In order to solve the problem, the invention also discloses a kind of data processing testing apparatus, comprise: PDCP layer test module, downlink data packet is sent according to Packet Generation parameter to rlc layer for PDCP layer, wherein, described Packet Generation parameter comprises data package size and data package size change frequency, the time that described data package size indicates at interval of described data package size change frequency, according to once, wherein, P represents described data package size, P in change maxrepresent the upper limit of described data package size, P minrepresent the lower limit of described data package size, r 1for be greater than 0 and be less than or equal to 1 random number, represent and round downwards; Rlc layer processing module, receives described downlink data packet for described rlc layer, according to the transmission block size of MAC layer, after splitting or organizing bag, sends to described MAC layer to described downlink data packet.
Preferably, described data processing testing apparatus also comprises: MAC layer test module, determines described transmission block size for MAC layer according to MCS and PRB number, wherein, and the time that described MCS indicates at interval of scheduling change of rank frequency, according to once, wherein, M represents MCS, M in change maxrepresent that MCS dispatches the upper limit of grade, M minrepresent that MCS dispatches the lower limit of grade, r 2for be greater than 0 and be less than or equal to 1 random number, represent and round downwards; The time that described PRB number indicates at interval of scheduling number change frequency, according to once, wherein, N represents described PRB number, N in change maxrepresent the upper limit of PRB number scheduling, N minrepresent the lower limit of PRB number scheduling, r 3for be greater than 0 and be less than or equal to 1 random number, represent and round downwards; Described rlc layer processing module, receives described downlink data packet for described rlc layer, according to the described transmission block size that the described MAC layer test module of described MAC layer is determined, after splitting or organizing bag, sends to described MAC layer to described downlink data packet.
Preferably, described P maxbe less than 1400 bytes, and/or, described M maxbe less than the MCS value that actual air interface allows, and/or, described N maxbe less than actual PRB and dispatch number.
Preferably, described data processing testing apparatus also comprises: arrange module, for arranging PDCP layer Test Switchboard parameter and/or MAC layer Test Switchboard parameter, when described PDCP layer Test Switchboard parameter is for opening, described PDCP layer test module sends downlink data packet according to Packet Generation parameter to rlc layer; When described MAC layer Test Switchboard parameter is for opening, described MAC layer test module determines described transmission block size according to described MCS and described PRB number.
Preferably, described Packet Generation parameter also comprises each Packet Generation quantity and Packet Generation frequency.
Compared with prior art, the present invention has the following advantages:
The present invention, when carrying out rlc layer and tearing group bag performance test open, makes PDCP layer change data package size to be sent according to data package size change frequency, and then sends to rlc layer.Adopt this data package size by the mode of frequency change, can the scope of abundant cover data bag size, improve testing efficiency, solving existing rlc layer tears open in the performance test of group bag, that fully can not test rlc layer tears group packet function and performance open, cause rlc layer to tear the performance test of group bag open to omit, cause detecting the mistake of rlc layer or the problem of performance deficiency, reach fully tearing open of test rlc layer and organize bag performance, improve product test efficiency and coverage, reduce the issue risk of product, strengthen the effect of product stability.
Accompanying drawing explanation
Fig. 1 is a kind of LTE user plane protocol structural representation of prior art;
Fig. 2 is the flow chart of steps of a kind of data processing method of testing according to the embodiment of the present invention one;
Fig. 3 is the flow chart of steps of a kind of data processing method of testing according to the embodiment of the present invention two;
Fig. 4 is the flow chart of steps of a kind of data processing method of testing according to the embodiment of the present invention three;
Fig. 5 is the structured flowchart of a kind of data processing testing apparatus according to the embodiment of the present invention four.
Embodiment
For enabling above-mentioned purpose of the present invention, feature and advantage become apparent more, and below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
Embodiment one
With reference to Fig. 2, show the flow chart of steps of a kind of data processing method of testing according to the embodiment of the present invention one.
The data processing method of testing of the present embodiment comprises the following steps:
Step S102:PDCP layer sends downlink data packet according to Packet Generation parameter to rlc layer.
Wherein, Packet Generation parameter comprises data package size and data package size change frequency, the time that data package size indicates at interval of data package size change frequency, according to once, wherein, P represents data package size, P in change maxrepresent the upper limit of data package size, P minrepresenting the lower limit of data package size, can be the possible minimum value of packet actual transmissions, r 1for be greater than 0 and be less than or equal to 1 random number, represent and round downwards.P maxsuitably can be arranged according to actual conditions by those skilled in the art.
Step S104:RLC layer downlink data receiving bag, according to the transmission block size of MAC layer, after splitting or organizing bag, sends to MAC layer to downlink data packet.
After downlink data packet to PDCP layer, add PDCP head through PDCP layer, be sent to rlc layer according to Packet Generation parameter, unpack through rlc layer or organize bag, issue MAC layer and participate in scheduling.RLC can pass through the current data flow cache size to be sent of interlayer message informing MAC layer, and MAC layer can according to current channel quality and user scheduling restriction, the size of the RLC PDU that notice rlc layer is suitable.After rlc layer to split downlink data packet according to this size or organizes bag, send to MAC layer.
By the present embodiment, when carrying out rlc layer and tearing group bag performance test open, make PDCP layer change data package size to be sent according to data package size change frequency, and then send to rlc layer.Adopt this data package size by the mode of frequency change, can the scope of abundant cover data bag size, improve testing efficiency, solving existing rlc layer tears open in the performance test of group bag, that fully can not test rlc layer tears group packet function and performance open, cause rlc layer to tear the performance test of group bag open to omit, cause detecting the mistake of rlc layer or the problem of performance deficiency, reach fully tearing open of test rlc layer and organize bag performance, improve product test efficiency and coverage, reduce the issue risk of product, strengthen the effect of product stability.
Embodiment two
With reference to Fig. 3, show the flow chart of steps of a kind of data processing method of testing according to the embodiment of the present invention two.
The present embodiment is the prioritization scheme of the data processing method of testing of embodiment one, and from the determination of MAC layer transmission block size, and further optimization has been carried out in the aspect such as the control of data processing testing scheme of the present invention.
The data processing method of testing of the present embodiment comprises the following steps:
Step S202: PDCP layer Test Switchboard parameter and MAC layer Test Switchboard parameter are set.
PDCP layer Test Switchboard parameter is used to indicate the downlink data packet delivery plan whether using PDCP layer in the present invention; MAC layer Test Switchboard parameter is used to indicate the MAC layer transmission block size determination scheme whether used in the present invention.When PDCP layer Test Switchboard parameter is for opening, PDCP layer sends downlink data packet according to Packet Generation parameter to rlc layer; When MAC layer Test Switchboard parameter is for opening, MAC layer is according to MCS and the PRB number determination transmission block size determined in hereafter the present embodiment scheme.By arranging PDCP layer Test Switchboard parameter and MAC layer Test Switchboard parameter, making data processing testing scheme of the present invention accept switch control rule, when switch is for closing, base station can not be affected and normally work.
It should be noted that, in the present embodiment, be provided with PDCP layer Test Switchboard parameter and MAC layer Test Switchboard parameter simultaneously, but it should be understood by those skilled in the art that and can only select a setting in actual applications.
Step S204: base station judges that whether PDCP layer Test Switchboard parameter is for opening, if so, then performs step S206; If not, then base station is conveniently tested or handling process carries out processing data packets.
Step S206: base station PDCP layer sends downlink data packet according to Packet Generation parameter to rlc layer.
In the present embodiment, Packet Generation parameter comprises data package size and data package size change frequency, the time that data package size indicates at interval of data package size change frequency, according to once, wherein, P represents data package size, P in change maxrepresent the upper limit of data package size, P minrepresent the lower limit of data package size, r 1for be greater than 0 and be less than or equal to 1 random number, represent and round downwards.Preferably, the Packet Generation parameter of the present embodiment also comprises each Packet Generation quantity and Packet Generation frequency.More preferably, P maxbe less than 1400 bytes.
Step S208: base station rlc layer is by the current downlink data packet size to be sent of interlayer message informing MAC layer.
Step S210: base station judges that whether MAC layer Test Switchboard parameter is for opening, if so, then performs step S212; If not, then base station conveniently flow process determination MAC layer transmission block size.
Old process can be realized with reference to existing MAC layer transmission block size flow process by those skilled in the art.
Step S212: base station MAC layer is according to the transmission block size of MCS and PRB number determination MAC layer.
Wherein, the time that MCS indicates at interval of scheduling change of rank frequency, according to once, wherein, M represents MCS, M in change maxrepresent that MCS dispatches the upper limit of grade, as the upper limit according to channel condition schedulable grade, M minrepresent that MCS dispatches the lower limit of grade, r 2for be greater than 0 and be less than or equal to 1 random number, represent and round downwards; The time that PRB number indicates at interval of scheduling number change frequency, according to once, wherein, N represents PRB number, N in change maxrepresent the upper limit of PRB number scheduling, N minrepresent the lower limit of PRB number scheduling, r 3for be greater than 0 and be less than or equal to 1 random number, represent and round downwards.
Preferably, M maxbe less than the MCS value that actual air interface allows, and/or, N maxbe less than actual PRB and dispatch number.
Step S214: base station MAC layer is to the transmission block size of rlc layer reporting MAC layer.
Step S216: the transmission block size that base station rlc layer receiving mac layer reports, to split downlink data packet according to the transmission block size of MAC layer or organizes bag.
Step S218: base station rlc layer will split or organize the PDU Packet Generation after wrapping to MAC layer.
By the present embodiment, can realize not affecting on the basis normally run base station, by revising the realization of L2, increase rlc layer of the present invention and tearing open, organize bag test function, fully can test the tearing open of rlc layer, organize bag ability, improve product test efficiency and coverage; Further, the test function of the present embodiment, by switch control rule, does not affect base station and normally works.
Embodiment three
With reference to Fig. 4, show the flow chart of steps of a kind of data processing method of testing according to the embodiment of the present invention three.
The data processing method of testing of the present embodiment comprises the following steps:
Step S302: PDCP layer Test Switchboard parameter, MAC layer Test Switchboard parameter, Packet Generation parameter are set, and the mode of MAC layer determination transmission block size.
A test module is respectively increased, to realize data processing testing scheme of the present invention at PDCP layer and MAC layer.In the present embodiment, PDCP layer Test Switchboard parameter and the MAC layer Test Switchboard parameter of control PDCP layer and MAC layer test module are all set to out.
Packet Generation parameter comprises: data package size, data package size change frequency, each Packet Generation quantity and Packet Generation frequency.
Wherein, the size of packet is the codomain scope of P, P is [P min, P max], that is, P is more than or equal to P minand be less than or equal to P max, the unit of P is byte; The large I of actual P is by following formulae discovery: for (0,1] random number of (be namely greater than 0 and be less than or equal to 1) scope, wherein, P maxdetermined by IP packet frame structure, be maximumly no more than 1400 bytes, P minfor the possible minimum value of actual transmissions, be minimumly not less than 80, in actual test, P min, P maxsetting, as long as meet P minbe greater than 80 bytes, P maxbe less than 1400 bytes, and P minbe less than P max.
Data package size change frequency is V p, unit is ms, and span is [1,1000] (is more than or equal to 1 and is less than or equal to 1000), namely often through V ptime, the size variation of P once, calculates new P value; Give out a contract for a project quantity Num at every turn, and namely the amount of giving out a contract for a project is P × Num, Num span is at every turn [1,100] (be more than or equal to 1 and be less than or equal to 100); Give out a contract for a project frequency f, namely every the f time, give out a contract for a project once, f unit is ms, and span is [1,1000] (is more than or equal to 1 and is less than or equal to 1000).
Also namely, increasing a test module at PDCP layer, when PDCP layer Test Switchboard parameter is for opening, making the per interval f of PDCP layer, send random data bag P × Num to rlc layer, the every V of P value ptime is according to formula change once.
MAC layer determines MCS grade (often kind of corresponding a kind of spectrum efficiency of MCS grade) according to air interface situation, and the size of data to be sent sent according to rlc layer and MCS grade, determine PRB number.That is, MCS is determined by air interface quality completely, which represent air interface quality, by the data volume that will transmit, how many and MCS determines PRB number jointly, and, MCS and PRB determines MAC layer transmission block size jointly, such as: present air interface quality is good, MCS is 28, then spectrum efficiency per second is about 5bit/hz, the current data volume needing transmission is the cache size that the every ms of 10000bit(and RLC offers MAC), every PRB is 180khz, the PRB needed is 10000/(5/1000)/(180*1000)=11PRB, wherein, the scheduling of PRB is the behavior of every ms.In the present embodiment, too increasing a test module in MAC layer, when MAC layer Test Switchboard parameter is for opening, determining transmission block size by following parameter:
MCS value is represented by parameter M, and the codomain scope of M is [M min, M max] (be more than or equal to M minand be less than or equal to M max), wherein M minbe more than or equal to 0, M maxbe not more than the MCS value that actual air interface allows. wherein, r 2for be greater than 0 and be less than or equal to 1 random number.The change frequency (namely dispatching change of rank frequency) of M is V m, V mspan is [1,1000] (is more than or equal to 1 and is less than or equal to 1000), and unit is ms.Also namely, every V mtime, MCS value is according to formula change once.
PRB number is represented by Parameter N, and the codomain scope of N is [N min, N max] (be more than or equal to N minand be less than or equal to N max), wherein, N minbe greater than 0, N maxbe no more than the scheduling PRB upper limit to this user in MAC dispatching algorithm. r 3for be greater than 0 and be less than or equal to 1 random number.The change frequency of N is V n, V nspan is [1,1000] (is more than or equal to 1 and is less than or equal to 1000), and unit is ms.Also namely, every V ntime, PRB number is according to formula change once.
Now, the transmission block size that MAC layer can be dispatched is determined by M and N.
Step S304: when PDCP layer Test Switchboard parameter is for opening, the per interval f of PDCP layer, send random data bag P × Num to rlc layer, the every V of P value ptime is according to formula change once.
The per interval f of step S306:RLC layer, receives P × Num the random data bag that PDCP layer sends, by the size of interlayer message informing MAC layer P × Num random data bag.
Step S308:MAC layer is at interval of V mtime, according to formula change a MCS value, at interval of V ntime, according to formula change a PRB number, MAC layer, according to the size of this P × Num random data bag, MCS value and PRB number, determines that this reports the transmission block size of rlc layer.
The transmission block size that step S310:RLC layer receiving mac layer reports, splits according to this transmission block size P × Num packet or organizes bag.
Step S312:RLC layer splits or organizes the Packet Generation after wrapping to MAC layer by having carried out.
Pass through the present embodiment, when test function of the present invention is opened, PDCP layer sends to rlc layer the Simulation with I P packet that size is random, codomain range-controllable, change frequency are controlled, data overall budget number is controlled, MAC layer can according to the configuration of series of parameters, calculate the size of transmission block, what indicate bottom to RLC transmits to obtain total size of RLC PDU, because P, M, N are that random number calculates and gets, and meet normal transfer of data rule, that therefore fully can test rlc layer tears group bag performance open.
Embodiment four
With reference to Fig. 5, show the structured flowchart of a kind of data processing testing apparatus according to the embodiment of the present invention four.
The data processing testing apparatus of the present embodiment comprises: PDCP layer test module 402, downlink data packet is sent according to Packet Generation parameter to rlc layer for PDCP layer, wherein, Packet Generation parameter comprises data package size and data package size change frequency, the time that data package size indicates at interval of data package size change frequency, according to once, wherein, P represents data package size, P in change maxrepresent the upper limit of data package size, P minrepresent the lower limit of data package size, r 1for be greater than 0 and be less than or equal to 1 random number, represent and round downwards; Rlc layer processing module 404, for rlc layer downlink data receiving bag, according to the transmission block size of MAC layer, after splitting or organizing bag, sends to MAC layer to downlink data packet.
Preferably, the data processing testing apparatus of the present embodiment also comprises: MAC layer test module 406, determines described transmission block size for MAC layer according to MCS and PRB number, wherein, and the time that MCS indicates at interval of scheduling change of rank frequency, according to once, wherein, M represents MCS, M in change maxrepresent that MCS dispatches the upper limit of grade, M minrepresent that MCS dispatches the lower limit of grade, r 2for be greater than 0 and be less than or equal to 1 random number, represent and round downwards; The time that PRB number indicates at interval of scheduling number change frequency, according to once, wherein, N represents PRB number, N in change maxrepresent the upper limit of PRB number scheduling, N minrepresent the lower limit of PRB number scheduling, r 3for be greater than 0 and be less than or equal to 1 random number, represent and round downwards; Rlc layer processing module 404, for rlc layer downlink data receiving bag, according to the transmission block size that the MAC layer test module 406 of MAC layer is determined, after splitting or organizing bag, sends to MAC layer to downlink data packet.
Preferably, P maxbe less than 1400 bytes, and/or, M maxbe less than the MCS value that actual air interface allows, and/or, N maxbe less than actual PRB and dispatch number.
Preferably, the data processing testing apparatus of the present embodiment also comprises: arrange module 408, for arranging PDCP layer Test Switchboard parameter and/or MAC layer Test Switchboard parameter, when PDCP layer Test Switchboard parameter is for opening, PDCP layer test module 402 sends downlink data packet according to Packet Generation parameter to rlc layer; When MAC layer Test Switchboard parameter is for opening, MAC layer test module 406 is according to MCS and PRB number determination transmission block size.
Preferably, Packet Generation parameter also comprises each Packet Generation quantity and Packet Generation frequency.
The data processing testing apparatus of the present embodiment is used for realizing multiple corresponding data processing method of testing in preceding method embodiment, and has the beneficial effect of corresponding embodiment of the method, does not repeat them here.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually see.For device embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
Above a kind of data processing method of testing provided by the present invention and device are described in detail, apply specific case herein to set forth principle of the present invention and execution mode, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. a data processing method of testing, is characterized in that, comprising:
PDCP layer sends downlink data packet according to Packet Generation parameter to rlc layer, wherein, described Packet Generation parameter comprises data package size and data package size change frequency, the time that described data package size indicates at interval of described data package size change frequency, according to once, wherein, P represents described data package size, P in change maxrepresent the upper limit of described data package size, P minrepresent the lower limit of described data package size, r 1for be greater than 0 and be less than or equal to 1 random number, represent and round downwards;
Described rlc layer receives described downlink data packet, according to the transmission block size of MAC layer, after splitting or organizing bag, sends to described MAC layer to described downlink data packet.
2. method according to claim 1, is characterized in that, described rlc layer is according to the transmission block size of MAC layer, and the step described downlink data packet being split or organizes to bag comprises:
Described rlc layer receives the transmission block size that described MAC layer reports, and described transmission block size is determined according to modulation coding mode MCS and PRB number, wherein, and the time that described MCS indicates at interval of scheduling change of rank frequency, according to once, wherein, M represents that MCS dispatches grade, M in change maxrepresent that MCS dispatches the upper limit of grade, M minrepresent that MCS dispatches the lower limit of grade, r 2for be greater than 0 and be less than or equal to 1 random number, represent and round downwards; The time that described PRB number indicates at interval of scheduling number change frequency, according to once, wherein, N represents described PRB number, N in change maxrepresent the upper limit of PRB number scheduling, N minrepresent the lower limit of PRB number scheduling, r 3for be greater than 0 and be less than or equal to 1 random number, represent and round downwards;
Described rlc layer, according to the transmission block size of described MAC layer, splits described downlink data packet or organizes bag.
3. method according to claim 2, is characterized in that, described P maxbe less than 1400 bytes, and/or, described M maxbe less than the MCS value that actual air interface allows, and/or, described N maxbe less than actual PRB and dispatch number.
4. method according to claim 2, is characterized in that, described PDCP layer according to Packet Generation parameter to rlc layer send downlink data packet step before, also comprise:
Arrange PDCP layer Test Switchboard parameter and/or MAC layer Test Switchboard parameter, when described PDCP layer Test Switchboard parameter is for opening, described PDCP layer sends described downlink data packet according to described Packet Generation parameter to described rlc layer; When described MAC layer Test Switchboard parameter is for opening, described MAC layer determines described transmission block size according to described MCS and described PRB number.
5. method according to claim 1, is characterized in that, described Packet Generation parameter also comprises each Packet Generation quantity and Packet Generation frequency.
6. a data processing testing apparatus, is characterized in that, comprising:
PDCP layer test module, downlink data packet is sent according to Packet Generation parameter to rlc layer for PDCP layer, wherein, described Packet Generation parameter comprises data package size and data package size change frequency, the time that described data package size indicates at interval of described data package size change frequency, according to once, wherein, P represents described data package size, P in change maxrepresent the upper limit of described data package size, P minrepresent the lower limit of described data package size, r 1for be greater than 0 and be less than or equal to 1 random number, represent and round downwards;
Rlc layer processing module, receives described downlink data packet for described rlc layer, according to the transmission block size of MAC layer, after splitting or organizing bag, sends to described MAC layer to described downlink data packet.
7. device according to claim 6, is characterized in that, also comprises: MAC layer test module, described transmission block size is determined according to MCS and PRB number for MAC layer, wherein, the time that described modulation coding mode MCS indicates at interval of scheduling change of rank frequency, according to once, wherein, M represents that MCS dispatches grade, M in change maxrepresent that MCS dispatches the upper limit of grade, M minrepresent that MCS dispatches the lower limit of grade, r 2for be greater than 0 and be less than or equal to 1 random number, represent and round downwards; The time that described PRB number indicates at interval of scheduling number change frequency, according to once, wherein, N represents described PRB number, N in change maxrepresent the upper limit of PRB number scheduling, N minrepresent the lower limit of PRB number scheduling, r 3for be greater than 0 and be less than or equal to 1 random number, represent and round downwards;
Described rlc layer processing module, receives described downlink data packet for described rlc layer, according to the described transmission block size that the described MAC layer test module of described MAC layer is determined, after splitting or organizing bag, sends to described MAC layer to described downlink data packet.
8. device according to claim 7, is characterized in that, described P maxbe less than 1400 bytes, and/or, described M maxbe less than the MCS value that actual air interface allows, and/or, described N maxbe less than actual PRB and dispatch number.
9. device according to claim 7, it is characterized in that, also comprise: module is set, for arranging PDCP layer Test Switchboard parameter and/or MAC layer Test Switchboard parameter, when described PDCP layer Test Switchboard parameter is for opening, described PDCP layer test module sends downlink data packet according to Packet Generation parameter to rlc layer; When described MAC layer Test Switchboard parameter is for opening, described MAC layer test module determines described transmission block size according to described MCS and described PRB number.
10. device according to claim 6, is characterized in that, described Packet Generation parameter also comprises each Packet Generation quantity and Packet Generation frequency.
CN201210439398.XA 2012-11-06 2012-11-06 Data processing method of testing and device Active CN102984741B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210439398.XA CN102984741B (en) 2012-11-06 2012-11-06 Data processing method of testing and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210439398.XA CN102984741B (en) 2012-11-06 2012-11-06 Data processing method of testing and device

Publications (2)

Publication Number Publication Date
CN102984741A CN102984741A (en) 2013-03-20
CN102984741B true CN102984741B (en) 2015-08-19

Family

ID=47858378

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210439398.XA Active CN102984741B (en) 2012-11-06 2012-11-06 Data processing method of testing and device

Country Status (1)

Country Link
CN (1) CN102984741B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104219689B (en) * 2014-09-16 2017-11-14 京信通信系统(中国)有限公司 LTE radio communications air protocol software self-measuring device and method
CN112118192B (en) * 2019-06-20 2022-11-18 华为技术有限公司 Data volume shaping method, network equipment and computer program product
US11108672B2 (en) * 2019-07-15 2021-08-31 Qualcomm Incorporated Measuring and verifying layer 2 sustained downlink maximum data rate decoding performance
CN112672377B (en) * 2020-12-28 2022-08-09 华力智芯(成都)集成电路有限公司 Method and device for constructing and testing downlink segmentation scene of RLC layer of gateway station

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009076348A1 (en) * 2007-12-10 2009-06-18 Interdigital Patent Holdings, Inc. Method and apparatus for triggering radio link control packet discard and radio link control re-establishment
CN101729525A (en) * 2008-10-31 2010-06-09 华为技术有限公司 Data packet sending and receiving method and device as well as processing method and system
CN101873198A (en) * 2010-06-12 2010-10-27 中兴通讯股份有限公司 Method and device for constructing network data packet

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009076348A1 (en) * 2007-12-10 2009-06-18 Interdigital Patent Holdings, Inc. Method and apparatus for triggering radio link control packet discard and radio link control re-establishment
CN101729525A (en) * 2008-10-31 2010-06-09 华为技术有限公司 Data packet sending and receiving method and device as well as processing method and system
CN101873198A (en) * 2010-06-12 2010-10-27 中兴通讯股份有限公司 Method and device for constructing network data packet

Also Published As

Publication number Publication date
CN102984741A (en) 2013-03-20

Similar Documents

Publication Publication Date Title
Nguyen et al. Towards understanding TCP performance on LTE/EPC mobile networks
CN105592504B (en) Transmission method, transmitting device and the terminal of more wifi modules
CN102804872B (en) The method and apparatus of the uplink transmission power in control wireless communication system
CN102300259B (en) Data block concatenation and splitting processing method, device and system
CN104105088B (en) A kind of method, apparatus and system of interactive link information
CN102984741B (en) Data processing method of testing and device
CN102932920B (en) Radio resource scheduling request (SR) configuration method and device
CN102137439B (en) Compression control method, device and system
CN106465178A (en) In-band control signaling for integrated WLAN/3GPP RAT architectures
CN101668005A (en) Data transmission accelerating engine method based on multiple access passages of transmitting end
CN105474590A (en) Infrastructure equipment, wireless communications network and method
CN101795494A (en) Method, device and system for data distribution in LET-A system
CN103974238B (en) A kind of methods, devices and systems for realizing safety detection in heterogeneous network
CN102256314A (en) Method for adjusting service coding rate and communication node
US20100278074A1 (en) Method of configuring the absolute grant mapping table for base station
CN103202060A (en) Data transmission method, user equipment and network side device
CN106330262A (en) Carrier aggregation-based power wireless communication system
CN107889147A (en) A kind of reporting cached state and uplink scheduling method and terminal, network side equipment
CN102740476B (en) A kind of method for resource allocation and system
CN107659558A (en) A kind of data transmission method and base station
CN202218410U (en) Multi-channel load balancing equipment
Wirth et al. 5G new radio and ultra low latency applications: A PHY implementation perspective
CN104301929A (en) Measurement report reporting method and equipment
Papa et al. Effects of SD-RAN control plane design on user Quality of Service
CN103338484B (en) A kind of conversion method of Carrier State and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant