CN1852290A - Method for generating transmission data block - Google Patents

Method for generating transmission data block Download PDF

Info

Publication number
CN1852290A
CN1852290A CN 200510090324 CN200510090324A CN1852290A CN 1852290 A CN1852290 A CN 1852290A CN 200510090324 CN200510090324 CN 200510090324 CN 200510090324 A CN200510090324 A CN 200510090324A CN 1852290 A CN1852290 A CN 1852290A
Authority
CN
China
Prior art keywords
data
mac
current
pdu
portable terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN 200510090324
Other languages
Chinese (zh)
Other versions
CN100512290C (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.)
Shanghai Huawei Technologies Co Ltd
Original Assignee
Shanghai Huawei Technologies 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 Shanghai Huawei Technologies Co Ltd filed Critical Shanghai Huawei Technologies Co Ltd
Priority to CNB200510090324XA priority Critical patent/CN100512290C/en
Publication of CN1852290A publication Critical patent/CN1852290A/en
Application granted granted Critical
Publication of CN100512290C publication Critical patent/CN100512290C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The method includes steps: mobile terminal determines data stream needed for generating transmission data block; using identical sized data unit in wireless link control protocol in logic channel corresponding to the determined each data stream, mobile terminal generates a transmission data packet respectively; based on generated each transmission data packet, mobile terminal generates transmission data block. The invention guarantees that MAC-es PDU data packet corresponding to RLC PDU in identical size in same logic channel is only one in generated MAC-e PDU data block so as to prevent data header part in MAC-e PDU data block from occurring repeated identical DDI, N and TSN information. The invention reduces transmission resource used by not data part in generated MAC-e PDU data block so as to raise data transmission efficiency of MAC-e PDU data block greatly, and utilization ratio of bandwidth. Thus, up going capability of system is increased.

Description

A kind of method that generates transmission data block
Technical field
The present invention relates to mobile communication technology, particularly relate to a kind of method that in portable terminal, generates the transmission data block that strengthens DPCH (E-DCH).
Background technology
It is a kind of technology of carrying out high speed data transfer in the up link of Wideband Code Division Multiple Access (WCDMA) (WCDMA) system that high speed uplink packet inserts (HSUPA) technology.The HSUPA technology adopts mixes the short frame technique of automatic retransmission technique, base station (NodeB) fast dispatch technology and up 2ms, can realize eating dishes without rice or wine peak rate up to 5.76Mbps, therefore, can greatly improve the throughput of uplink user data, improve the up-link capacity of system.
When adopting the HSUPA technology to realize transmitting uplink data, portable terminal is the transmission data block of E-DCH channel to the network side transmission, be MAC-e PDU data block, MAC-e PDU data block is that MAC-es PDU packet multiplexing generates by the transmits data packets of a plurality of E-DCH channels.Fig. 1 is the form schematic diagram of MAC-es PDU packet.Referring to Fig. 1, each MAC-es PDU packet comprises that the data head message part is parameter DDI, N and TSN, and data division RLC PDU.Wherein, parameter DDI is the data description indication of MAC-es PDU packet, takies the 6bits bit wide; The number of the RLC PDU with identical size that comprises in the parameter N indication MAC-es PDU packet takies the 6bits bit wide; The transmission sequence number of parameter TSN indication MAC-es PDU packet; RLC PDU is the data of concrete transmission.
Fig. 2 is the form schematic diagram of MAC-e PDU data block.Referring to Fig. 2, each MAC-e PDU data block is generated by a plurality of MAC-es PDU packet multiplexings, and therefore, each MAC-e PDU data block comprises that also the data head message part is parameter DDI, N and TSN, and data division MAC-esPDU packet.In addition, in the MAC-e PDU data block that generates by each MAC-es PDU packet multiplexing, also comprise a parameter DDI in the field after the data head message part finishes 0, being used to represent that each parameter of data head message part finishes, follow-up field is that data division is a MAC-es PDU packet.
But, when portable terminal adopts the HSUPA technology to realize transmitting uplink data, prior art only defined MAC-es PDU packet form, MAC-e PDU data block form and should come multiplexing generation MAC-e PDU data block by MAC-es PDU packet, and do not define the transformat of each MAC-e PDU data block, that is to say, do not define in portable terminal, how to generate each MAC-es PDU packet, and how to generate MAC-e PDU data block according to each MAC-es PDU packet multiplexing.Yet, if it is unreasonable to generate the process of MAC-e PDU data block, then can causes the transformat of the MAC-e PDU data block that generated unreasonable, thereby cause the efficiency of transmission of MAC-e PDU data block low, and the service efficiency of reduction bandwidth, the up-link capacity of minimizing system.
This shows, determine that the process that rationally generates MAC-e PDU data block has become a problem demanding prompt solution.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of method that generates transmission data block, with reasonable generation MAC-e PDU data block, improves the data transmission efficiency of MAC-e PDU data block greatly.
In order to achieve the above object, technical scheme of the present invention is achieved in that
A kind of method that generates transmission data block may further comprise the steps:
A, portable terminal determine to generate the required data flow of transmission data block;
B, portable terminal utilize that the wireless link control protocol data cell with a kind of size generates a transmits data packets respectively in the logic channel of determined each data flow correspondence;
C, portable terminal generate transmission data block according to each transmits data packets that is generated.
Described steps A may further comprise the steps:
A1, portable terminal are determined the data flow of current scheduling;
A2, portable terminal determine and can carry out multiplexing data flow with the data flow of current scheduling, and with the data flow of current scheduling and data flow that can be multiplexing with it as the required data flow of described generation transmission data block.
Described steps A 1 comprises: portable terminal is determined the data flow of current scheduling in current transmission time interval according to the principle of dispatching each logical channel data stream in each Transmission Time Interval successively.
In steps A 2, described portable terminal is determined and can be comprised with the step that the data flow of current scheduling is carried out multiplexing data flow: portable terminal is obtained from the data flow multiplexing tabulation of the current scheduling data flow of base station assigns when being connected with the base station, and data flow multiplexing that will current data dispatching stream all data flow in tabulating are defined as and can carry out multiplexing data flow with the data flow of current scheduling.
Described step B may further comprise the steps:
The number sum of the wireless link control protocol data cell of the not size of the same race that has in B1, portable terminal each logic channel with institute's specified data stream correspondence is as the current number K that should generate transmits data packets;
The message transmission rate that B2, portable terminal indicate the base station in advance is as size TB in current data available space in the current transmission data block MAC-e
B3, portable terminal flow the definite current transmits data packets that should generate of wireless link control protocol data cell of all size in the corresponding logic channel according to institute's specified data;
B4, portable terminal are according to current data available space size TB in current number K that should generate transmits data packets and the current transmission data block MAC-eDetermine the actual amount of data size TB that current transmits data packets can take MAC-es, real
B5, portable terminal are according to calculating formula Calculate the number N of the wireless link control protocol data cell that can comprise in the current transmits data packets, wherein, DataNum RLC, PDUIt is the fixed data amount size of each wireless link control protocol data cell;
B6, portable terminal read N the pairing wireless link control protocol data cell of current transmits data packets from buffer memory;
The parameter N of the wireless link control protocol data cell number that the data description indication parameter DDI of B7, N the wireless link control protocol data cell that the portable terminal utilization is read, current transmits data packets, indication comprise in the current transmits data packets and indicate the parameter TSN of the transmission sequence number of current transmits data packets to generate current transmits data packets with identical size;
B8, portable terminal obtain the current number K that should generate transmits data packets by calculating K=K-1, judge then whether the currency of gained K is 0, if, execution in step C then, otherwise, execution in step B9;
B9, portable terminal are by calculating formula TB MAC-e=TB MAC-e-TB MAC-es, realObtain size TB in current data available space in the current transmission data block MAC-e, return step B3.
Described step B3 comprises: select a kind of wireless link control protocol data cell of not selected mistake in the wireless link control protocol data cell of portable terminal all size from the corresponding logic channel of institute specified data stream arbitrarily, and the packet of selected wireless link control protocol data cell correspondence is defined as the current transmits data packets that should generate.
Described step B3 comprises:
B31, portable terminal are provided with each packet generation priority from high to low corresponding to the wireless link control protocol data cell of this all size according to the data volume of wireless link control protocol data cell in the buffer memory order from small to large of all size in the logic channel of determined each data flow correspondence;
B32, portable terminal are defined as the current the highest packet of packet medium priority that does not also generate the current transmits data packets that should generate.
Described step B4 may further comprise the steps:
B41, portable terminal are according to current available data space size TB in the number K of current desired data bag and the current transmission data block MAC-eThe estimated data who calculates each packet that comprises in the transmission data block measures big or small TB MAC-es, est, this TB MAC-es, estFor:
Figure A20051009032400081
B42, portable terminal obtain the data volume size TB of current data packet corresponding data flow in buffer memory MAC-es, buffer, then with TB MAC-es, estAnd TB MAC-es, bufferIn the smaller actual amount of data size TB that can take as current data packet MAC-es, real
Described step C may further comprise the steps:
C1, portable terminal are judged current available data space size TB in the current transmission data block MAC-eValue whether be 0, if, execution in step C2 then, otherwise, direct execution in step C3;
The parameter DDI that each transmits data packets that C2, portable terminal utilization are generated and expression data head message part finish 0Generate transmission data block, finish current flow process;
The parameter DDI that C3, portable terminal finish according to each transmits data packets that is generated and expression data head message part 0The assembling transmission data block, and in the transmission data block of assembling, increase current available data space size TB in the current transmission data block MAC-eThe padding position, generate transmission data block.
In step C3, described padding position is self-defined position.
As seen, the method for the present invention's proposition has the following advantages:
1, in the present invention, same logic channel has only one with a kind of MAC-esPDU packet of RLC PDU correspondence of size in the MAC-e PDU data block that is generated, thereby the data head of having avoided the MAC-ePDU data block partly repeats the information of identical DDI, N and TSN, reduced the transfer resource that non-data division takies in the MAC-e PDU data block that is generated, improved the data transmission efficiency of MAC-e PDU data block greatly, improve the utilization ratio of bandwidth, thereby increased the up-link capacity of system.
2, in the present invention, each MAC-dflow data flow for the MAC-e PDU data block correspondence of required generation, size according to RLC PDU data volume to be sent in buffer memory of each MAC-d flow data flow is determined the sequencing that the MAC-esPDU packet of the RLC PDU correspondence of each MAC-d flow data flow generates in MAC-e PDU data block, the MAC-es PDU packet that is the RLC PDU correspondence of the little MAC-dflow data flow of data volume preferentially generates, like this, the data space that then can make full use of the little MAC-es PDU packet of data volume does not have to use generates the big MAC-es PDU packet of data volume, thereby effectively utilize the data space of the MAC-e PDU data block that needs generation, further improved the data transmission efficiency of MAC-e PDU data block.
Description of drawings
Fig. 1 is the form schematic diagram of MAC-es PDU packet.
Fig. 2 is the form schematic diagram of MAC-e PDU data block.
Fig. 3 is the flow chart of the embodiment of the invention.
Embodiment
When portable terminal adopts the HSUPA technology to realize transmitting uplink data, because it is the form of MAC-e PDU data block that prior art has only defined transmission data block, do not consider to generate the process of MAC-e PDU data block, and the process that generates MAC-e PDU data block has determined the transformat of MAC-e PDU data block, and be directly connected to the efficiency of transmission of MAC-e PDU data block, therefore, the present invention proposes a kind of method that transmission data block promptly generates MAC-e PDU data block that generates, its core concept is: portable terminal determines that generating transmission data block is the required MAC-dflow data flow of MAC-e PDU data block; It is MAC-es PDU packet that portable terminal utilizes in the logic channel of determined each MAC-d flow data flow correspondence the RNC PDU with a kind of size to generate a transmits data packets respectively; Portable terminal generates MAC-e PDU data block according to each the MAC-es PDU packet that is generated.
Wherein, MAC-d flow data flow is to be produced by the logic channel of portable terminal, all corresponding logic channel of each MAC-d flow data flow, in addition, the RLC PDU that can have a kind of size or multiple size in logic channel.
This shows, the present invention mainly is by guaranteeing that same logic channel has only one with a kind of MAC-es PDU packet of RNCPDU correspondence of size in the MAC-e PDU data block that is generated, guarantee the transformat of rational MAC-e PDU data block, improve the efficiency of transmission of MAC-e PDU data block.
For making the purpose, technical solutions and advantages of the present invention clearer, the present invention is described in further detail below in conjunction with drawings and the specific embodiments.
Fig. 3 is the flow chart of the embodiment of the invention.Referring to Fig. 3, in order to improve the data transmission efficiency of MAC-e PDU data block, the process that the present invention generates MAC-e PDU data block specifically may further comprise the steps:
Step 301: portable terminal is determined the current MAC-d flow data flow of dispatching in the cycle at current TTI according to the principle of Transmission Time Interval (TTI) equity dispatching.
Here, each MAC-d flow data flow is corresponding to the data flow of each logic channel in the portable terminal.According to the principle of TTI equity dispatching, portable terminal takes turns to dispatch to all MAC-d flow data flow in the cycle at each TTI.Such as, first TTI cycle dispatches MAC-d flow data flow 1, MAC-d flow data flow 2 is dispatched etc. second TTI cycle.
302: all MAC-d flow data flow that portable terminal is tabulated and is identified for the current MAC-e PDU of multiplexing generation data block according to the data flow multiplexing of current MAC-d flow data flow.
Here, the data flow multiplexing tabulation of current MAC-d flow data flow is disposed to portable terminal when connecting with portable terminal by the base station, and this data flow multiplexing tabulation indicates all the MAC-d flow data flow that can carry out the current MAC-e PDU of multiplexing common generation data block with current MAC-d flow data flow.Such as, current MAC-d flow data flow is a MAC-d flow data flow 1, the multiplexing tabulation indication of MAC-d flow data flow 1 corresponding data flow MAC-d flow data flow 1 can be multiplexing with MAC-d flow data flow 2 and MAC-d flow data flow 3, therefore, MAC-d flow data flow 1, MAC-d flow data flow 2 and 3 of MAC-d flow data flow are all MAC-d flow data flow that are used for the current MAC-e PDU of multiplexing generation data block.That is to say, in the current MAC-e PDU data block that needs to generate, can comprise the MAC-esPDU packet of MAC-d flow data flow 1 correspondence, the MAC-es PDU packet of MAC-d flow data flow 2 correspondences and the MAC-es PDU packet of MAC-dflow data flow 3 correspondences.In addition, for ease of describing, all MAC-d flow data flow that below will be used for the current MAC-e PDU of multiplexing generation data block abbreviate current use MAC-d flow data flow as.
Here also it should be noted that, for the MAC-d flow data flow that priority is arranged in the portable terminal, can in the data flow multiplexing tabulation of a plurality of MAC-d flow data flow this MAC-d flow data flow that priority is arranged be set in advance by the base station can make up with a plurality of MAC-d flow data flow multiplexings, this MAC-d flow data flow that priority is arranged is re-used at the Shi Junke that is scheduled at every turn generates MAC-e PDU data block, thereby embody the priority of MAC-d flow data flow.
Step 303: the number of the RLC PDU of the not size of the same race that portable terminal has according to each logic channel of current use MAC-d flow data flow correspondence obtains the number K of MAC-es PDU packet in the current MAC-ePDU data block that needs to generate.
Here, owing to all must generate a MAC-es PDU packet at each big or small RLC PDU in the logic channel, therefore, the number K of described MAC-es PDU packet equal the not size of the same race that each logic channel of current use MAC-d flow data flow correspondence has RLCPDU number and.
Such as, the current MAC-d flow data flow of using is MAC-d flow data flow 1, MAC-dflow data flow 2 and MAC-d flow data flow 3, and MAC-d flow data flow 1, MAC-dflow data flow 2 and MAC-d flow data flow 3 be counterlogic channel 1, logic channel 2 and logic channel 3 respectively.And the RLC PDU of logic channel 1 corresponding a kind of size, the RLC PDU of logic channel 2 corresponding 2 kinds of different sizes, the RLC PDU of logic channel 3 corresponding a kind of size, so, in the current MAC-e PDU data block that need to generate the number K of MAC-es PDU packet equal the not size of the same race that each logic channel has RLC PDU number and, promptly K=1+2+1=4.
This shows, during the number K of this step MAC-esPDU packet in determining the current MAC-e PDU data block that needs to generate, be that the MAC-es PDU packet of RLC PDU correspondence that guarantees same a kind of size of same logic channel can only generate one in MAC-e PDU data block, thereby avoid in MAC-e PDU data block, repeating repeatedly identical data head message part, avoided the redundancy of information in the MAC-e PDU data block.
Step 304: portable terminal is provided with the generation priority corresponding to each MAC-es PDU packet of this each RLC PDU according to the data volume size of RLC PDU data in buffer memory of size of the same race not in each logic channel of current use MAC-d flow data flow correspondence.
Here, for the RLC PDU of size of the same race not in each logic channel of current use MAC-d flow data flow correspondence, the priority orders from high to low that its MAC-es PDU packet generates is set according to its data volume order from small to large in buffer memory.That is to say, for the very little a kind of RLC PDU of data volume in buffer memory, its corresponding MAC-es PDU packet will preferentially generate in MAC-e PDU data block, for the very big a kind of RLC PDU of data volume in buffer memory, its corresponding MAC-es PDU packet will generate in MAC-e PDU data block at last.Such as, the current logic channel of MAC-d flow data flow correspondence that uses is logic channel 1, logic channel 2 and logic channel 3, the RLC PDU that has 2 kinds of different sizes in the logic channel 1, be RLC PDU1 and RLC PDU2, the RLC PDU that all has a kind of size in logic channel 2 and the logic channel 3, be respectively RLC PDU3 and RLC PDU4, and, the data volume of RLC PDU1 to RLC PDU4 increases in buffer memory successively, then in this step, the generation priority of the MAC-es PDU packet of RLC PDU1 correspondence is the highest, and the rest may be inferred, and is minimum to the generation priority of the MAC-es PDU packet of RLC PDU4 correspondence.
In addition; this step according to the reason that the order from small to large of data volume in buffer memory is provided with the priority orders from high to low of MAC-es PDU packet generation is: in the MAC-e of required generation PDU data block; when data volume size that each MAC-es PDU packet takies being set being S (bits); if generate the MAC-esPDU packet of the RLC PDU correspondence of the big MAC-d flow data flow of buffer data size earlier; the then common big MAC-es PDU packet of this data volume also has remaining RLC PDU usually and is not utilized when using up S (bits); but when generating the MAC-es PDU of RLC PDU correspondence of the little MAC-d flow data flow of buffer data size subsequently during packet; the real data space that takies is usually less than S (bits); the redundant space that does not have to use will be filled invalid bit padding, and the valid data that cause transmitting have reduced.And if elder generation generates the MAC-es PDU packet of the RLC PDU correspondence of the little MAC-d flow data flow of buffer data size, generate the MAC-es PDU packet of the RLC PDU correspondence of the big MAC-d flow data flow of buffer data size at last, can fully use the remaining data space of MAC-e PDU data block, as long as data volume is enough in the buffer memory, even can there be the padding position.Such as, the current RLC PDU that in buffer memory, has 3 kinds of MAC-d flow data flow, data volume is respectively 30bits, 40bits and 80bits, the data space of the MAC-ePDU data block of required generation is 150bits, and be arranged on the data volume size that each MAC-es PDU packet takies in the MAC-e PDU data block of required generation and be 50bits, like this, if generate the MAC-es PDU packet of the RLC PDU correspondence of the big MAC-d flow data flow of data volume earlier, when promptly generating earlier data volume and be the MAC-es PDU packet of RLC PDU correspondence of 80bits, then since the data volume size that each MAC-es PDU packet is taken be restricted to 50bits, this kind RLC PDU will remain the data volume of 30bits and can't utilize, still be kept in the buffer memory and wait for next time and be sent out, afterwards, when generating the MAC-es PDU packet of RLC PDU correspondence of 40bits and 30bits, in the MAC-e of required generation PDU data block, can remain 10bits and 20bits respectively again, the data space of 30bits makes the data space of this 30bits must fill the padding position altogether.On the contrary, according to the described generation priority orders of this step, generate the MAC-es PDU packet of the RLC PDU correspondence of the little MAC-d flow data flow of data volume earlier, when promptly generating earlier data volume and be the MAC-es PDU packet of RLC PDU correspondence of 30bits, the 50bits that is restricted to owing to the data volume size that each MAC-es PDU packet is taken, then can discharge remaining 20bits, just make this remaining 20bits become the data space that can be used to generate follow-up MAC-es PDU packet again, promptly can be used to generate the data space of follow-up MAC-es PDU packet this moment is 120bits, afterwards, when generating the MAC-es PDU packet of RLC PDU correspondence of 40bits, then can discharge remaining 10bits, just make this remaining 10bits become the data space that can be used to generate follow-up MAC-es PDU packet again, promptly can be used to generate the data space of follow-up MAC-es PDU packet this moment is 80bits, at last, this data space 80bits that can be used to generate follow-up MAC-es PDU packet is just in time with the MAC-es PDU packet of the RLC PDU correspondence that generates 80bits in the buffer memory, thereby need not in the MAC-e PDU data block that need generate, to fill the padding position, can not cause having remaining data to stay in the buffer memory yet.Therefore, this step can avoid the residue padding position of MAC-e PDU data block too much according to the practice that the data volume size is provided with the generation priority of MAC-es PDU packet, effectively utilize the data space size of MAC-e PDU data block, thereby improve the efficiency of transmission of MAC-e PDU data block.
Step 305: portable terminal obtains size TB in current data available space in the MAC-e PDU data block that needs to generate MAC-e
Here, portable terminal message transmission rate that the base station is indicated in advance is as TB MAC-e
Step 306: portable terminal is according to the number K and the TB of the MAC-es PDU packet of current gained MAC-e, estimate the data volume size TB of each MAC-es PDU packet in the current MAC-e PDU data block that need to generate MAC-es, est
Here, pass through calculating formula
Figure A20051009032400141
Estimate the data volume size TB of each MAC-es PDU packet MAC-es, estIn this calculating formula, because TB MAC-eBe the amount of available data size of the current MAC-e PDU data block that need to generate, the K that calculates is the number of the MAC-es PDU packet that should generate in this MAC-e PDU data block, therefore, and with TB MAC-eBeing divided into K part and rounding then is the size of data of each MAC-es PDU packet.Here, described rounding is meant the integer part of getting institute's result of calculation.In addition, referring to Fig. 1 and Fig. 2, owing to when each MAC-es PDU packet multiplexing is generated MAC-e PDU data block, except that comprising each MAC-es PDU packet, also increased a parameter DDI in the MAC-e PDU data block 0, be used in reference to and be shown in the initial of data division in the MAC-e PDU data block, therefore, this step is at estimation TB MAC-es, estThe time, at first with TB MAC-eDeduct DDI 0Be divided into K part behind the shared 6bits again and round, promptly calculate Thereby the size of each MAC-es PDU packet that assurance estimates is more accurate.
Step 307: portable terminal is according to the generation priority of set MAC-es PDU packet, definite current MAC-es PDU packet that should generate is determined the actual amount of data size TB that current MAC-es PDU packet takies then in the MAC-e of required generation PDU data block MAC-es, real
Here, portable terminal is that MAC-es PDU packet with the current limit priority that does not also generate is as current MAC-es PDU packet.Such as MAC-d flow data flow 1 corresponding to current use, the generation priority of the MAC-es PDU packet of MAC-d flow data flow 2 and MAC-d flow data flow 3 is set to the highest respectively, inferior high and minimum, if the current MAC-es PDU packet that does not also generate corresponding to MAC-d flow data flow 1, then the current MAC-es PDU packet of determining according to priority is the MAC-es PDU packet of MAC-d flow data flow 1 correspondence, if the current MAC-es PDU packet that has generated MAC-d flow data flow 1 correspondence, and also do not generate MAC-es PDU packet, then the MAC-esPDU packet that is MAC-d flow data flow 2 correspondences according to the definite current MAC-es PDU packet of priority corresponding to MAC-d flow data flow 2.
In addition, in this step, portable terminal is by calculating formula TB MAC-es, real=min{TB MAC-es, buffer, TB MAC-es, estDetermine the actual amount of data size TB that current MAC-es PDU packet takies MAC-es, realWherein, TB MAC-es, bufferBe the data volume size of current MAC-es PDU packet in buffer memory, TB MAC-es, estData volume size for each MAC-es PDU packet of in step 304, being estimated.Because TB MAC-es, bufferReflected the spendable actual amount of data size of current MAC-es PDU packet, and TB MAC-es, estReflect the data volume size of the packet that is limited when generating current MAC-e PDU data block, therefore, got TB in this step MAC-es, bufferAnd TB MAC-es, estAmong the smaller then can guarantee to take into account the requirement of the actual amount of data and the current MAC-es PDU packet data amount that current MAC-e PDU data block allows of current MAC-es PDU packet.
In addition, in order further to improve the data transmission efficiency of the MAC-e PDU data block that is generated, the present invention determines that the method for current MAC-es PDU packet is: in rapid 304 according to the data volume size of RLC PDU data in buffer memory of size of the same race not in each logic channel of current use MAC-d flow data flow correspondence, set out generation priority corresponding to each MAC-esPDU packet of this each RLC PDU, and in this step 307 with the MAC-es PDU packet of the current limit priority that does not also generate as current MAC-es PDU packet.The present invention determines that the method for current MAC-es PDU packet can also be: portable terminal is selected a not RLC PDU of selected mistake arbitrarily from the RLC PDU of the not size of the same race of current use MAC-d flow data flow counterlogic channel, and the MAC-es PDU packet of selected RLC PDU correspondence is defined as current MAC-es PDU packet.
Step 308: portable terminal is according to determined TB MAC-es, realCalculate the number N of the RLC PDU that comprises in the current MAC-es PDU packet, and from buffer memory, read N RLC PDU of the MAC-d flow data flow of current MAC-es PDU packet correspondence.
Here, the formula that calculates the number N of the RLC PDU that comprises in the current MAC-es PDU packet is, In this formula, DataNum RLC, PDUBe the fixed data amount size of each RLC PDU, the actual amount of data size TB that in the MAC-e of required generation PDU data block, takies with current MAC-es PDU packet MAC-es, realDeduct parameter DDI, the N of 3 6bits and the data volume of TSN, the data volume size that all RLC PDU that obtain comprising in the current MAC-es PDU packet take altogether, and then divided by the big or small DataNum of the data volume of each RLC PDU RLC, PDU, then obtained the number N of the RLC PDU that should comprise in the current MAC-es PDU packet.
Step 309: the parameter N of the RLC PDU number that comprises in N the RLC PDU that the portable terminal utilization is read, the data description indication parameter DDI of current MAC-es PDU packet, the indication MAC-es PDU packet and indicate the parameter TSN of the transmission sequence number of current MAC-es PDU packet to generate current MAC-es PDU packet with identical size.
When carrying out this step, then generated current MAC-es PDU packet, portable terminal then adds 1 with the TSN sequence number of MAC-es PDU packet.
Step 310: size TB in current data available space in the MAC-e PDU data block that the portable terminal correction need generate MAC-e, and the number K of revising the MAC-es PDU packet that needs generation.
Carry out here, owing to generated MAC-es PDU packet, therefore, size TB in current data available space in the MAC-ePDU data block that needs to generate MAC-eAnd the number K of the MAC-es PDU packet that also need generate then can reduce accordingly, therefore, needs to revise TB MAC-eValue with K.Revise data available space size TB in the current MAC-e PDU data block that needs to generate MAC-eBe by calculating TB MAC-e=TB MAC-e-TB MAC-es, realCarry out.Because TB MAC-es, realBe the current MAC-es PDU packet that has generated actual data volume size that takies in MAC-e PDU data block, therefore, use original TB MAC-eDeduct TB MAC-es, realCurrent data available space size TB in the MAC-e PDU data block that has then obtained needing to generate MAC-eIn addition, the number of revising the MAC-es PDU packet that also need generate in the MAC-e of required generation PDU data block is undertaken by calculating K=K-1.Owing to currently generated a MAC-e PDU data block, so the number of the MAC-esPDU packet that also need generate has then been lacked one, i.e. K=K-1.
Step 311: portable terminal judges whether the currency of K is 0, if then execution in step 312, otherwise, return step 306.
Here, if the currency of K is 0, the MAC-es PDU packet that then shows required generation all generates and finishes, and can proceed the process of follow-up generation MAC-e PDU data block, and promptly execution in step 312.If the currency of K is not 0, show that then the MAC-es PDU packet of required generation has not also generated, should continue to generate follow-up MAC-es PDU packet, promptly return step 306.
Step 312: portable terminal is judged TB MAC-eCurrency whether be 0, if then execution in step 313, otherwise, execution in step 314.
Here, because TB MAC-eCurrency represented remaining data volume size in the MAC-e PDU data block of required generation, therefore, if TB MAC-eCurrency be 0, the MAC-e PDU data block that then shows required generation all generates and finishes and need not to replenish the padding position, then direct execution in step 313; If TB MAC-eCurrency be not 0, then show and currently in the MAC-e of required generation PDU data block generated each required MAC-es PDU packet, but also remain a spot of data space, tackle this remaining data space and fill the padding position, promptly execution in step 314.
Step 313: the parameter DDI that each MAC-es PDU packet that the portable terminal utilization is generated and expression data head message part finish 0Generate MAC-e PDU data block, finish current flow process.
Step 314: portable terminal is according to the parameter DDI of each MAC-es PDU packet that is generated and the end of expression data head message part 0Assemble the MAC-e PDU data block of required generation, and in the MAC-e of required generation PDU data block remaining data space TB MAC-eFill the padding position, generate MAC-e PDU data block.
Here, the padding position of being filled can be self-defined position, such as being complete 0 or complete 1 etc.
In above-mentioned flow process, the number N of the RLC PDU that should comprise in the number K of the MAC-es PDU packet that need generate and the MAC-esPDU packet is positive integer.
So far, the present invention has then finished the process that generates MAC-e PDU data block.
In a word, the above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1, a kind of method that generates transmission data block is characterized in that, this method may further comprise the steps:
A, portable terminal determine to generate the required data flow of transmission data block;
B, portable terminal utilize that the wireless link control protocol data cell with a kind of size generates a transmits data packets respectively in the logic channel of determined each data flow correspondence;
C, portable terminal generate transmission data block according to each transmits data packets that is generated.
2, method according to claim 1 is characterized in that, described steps A may further comprise the steps:
A1, portable terminal are determined the data flow of current scheduling;
A2, portable terminal determine and can carry out multiplexing data flow with the data flow of current scheduling, and with the data flow of current scheduling and data flow that can be multiplexing with it as the required data flow of described generation transmission data block.
3, method according to claim 2, it is characterized in that, described steps A 1 comprises: portable terminal is determined the data flow of current scheduling in current transmission time interval according to the principle of dispatching each logical channel data stream in each Transmission Time Interval successively.
4, method according to claim 2, it is characterized in that, in steps A 2, described portable terminal is determined and can be comprised with the step that the data flow of current scheduling is carried out multiplexing data flow: portable terminal is obtained from the data flow multiplexing tabulation of the current scheduling data flow of base station assigns when being connected with the base station, and data flow multiplexing that will current data dispatching stream all data flow in tabulating are defined as and can carry out multiplexing data flow with the data flow of current scheduling.
5, method according to claim 1 is characterized in that, described step B may further comprise the steps:
The number sum of the wireless link control protocol data cell of the not size of the same race that has in B1, portable terminal each logic channel with institute's specified data stream correspondence is as the current number K that should generate transmits data packets;
The message transmission rate that B2, portable terminal indicate the base station in advance is as size TB in current data available space in the current transmission data block MAC-e
B3, portable terminal flow the definite current transmits data packets that should generate of wireless link control protocol data cell of all size in the corresponding logic channel according to institute's specified data;
B4, portable terminal are according to current data available space size TB in current number K that should generate transmits data packets and the current transmission data block MAC-eDetermine the actual amount of data size TB that current transmits data packets can take MAC-es, real
B5, portable terminal are according to calculating formula
Figure A2005100903240003C1
Calculate the number N of the wireless link control protocol data cell that can comprise in the current transmits data packets, wherein, DataNum RLC, PDUIt is the fixed data amount size of each wireless link control protocol data cell;
B6, portable terminal read N the pairing wireless link control protocol data cell of current transmits data packets from buffer memory;
The parameter N of the wireless link control protocol data cell number that the data description indication parameter DDI of B7, N the wireless link control protocol data cell that the portable terminal utilization is read, current transmits data packets, indication comprise in the current transmits data packets and indicate the parameter TSN of the transmission sequence number of current transmits data packets to generate current transmits data packets with identical size;
B8, portable terminal obtain the current number K that should generate transmits data packets by calculating K=K-1, judge then whether the currency of gained K is 0, if, execution in step C then, otherwise, execution in step B9;
B9, portable terminal are by calculating formula TB MAC-e=TB MAC-e-TB MAC-es, realObtain size TB in current data available space in the current transmission data block MAC-e, return step B3.
6, method according to claim 5, it is characterized in that, described step B3 comprises: select a kind of wireless link control protocol data cell of not selected mistake in the wireless link control protocol data cell of portable terminal all size from the corresponding logic channel of institute specified data stream arbitrarily, and the packet of selected wireless link control protocol data cell correspondence is defined as the current transmits data packets that should generate.
7, method according to claim 5 is characterized in that, described step B3 comprises:
B31, portable terminal are provided with each packet generation priority from high to low corresponding to the wireless link control protocol data cell of this all size according to the data volume of wireless link control protocol data cell in the buffer memory order from small to large of all size in the logic channel of determined each data flow correspondence;
B32, portable terminal are defined as the current the highest packet of packet medium priority that does not also generate the current transmits data packets that should generate.
8, method according to claim 5 is characterized in that, described step B4 may further comprise the steps:
B41, portable terminal are according to current available data space size TB in the number K of current desired data bag and the current transmission data block MAC-eThe estimated data who calculates each packet that comprises in the transmission data block measures big or small TB MAC-es, est, this TB MAC-es, estFor:
Figure A2005100903240004C1
B42, portable terminal obtain the data volume size TB of current data packet corresponding data flow in buffer memory MAC-es, buffer, then with TB MAC-es, estAnd TB MAC-es, bufferIn the smaller actual amount of data size TB that can take as current data packet MAC-es, real
9, according to any described method in the claim 5 to 8, it is characterized in that described step C may further comprise the steps:
C1, portable terminal are judged current available data space size TB in the current transmission data block MAC-eValue whether be 0, if, execution in step C2 then, otherwise, direct execution in step C3;
The parameter DDI that each transmits data packets that C2, portable terminal utilization are generated and expression data head message part finish 0Generate transmission data block, finish current flow process;
The parameter DDI that C3, portable terminal finish according to each transmits data packets that is generated and expression data head message part 0The assembling transmission data block, and in the transmission data block of assembling, increase current available data space size TB in the current transmission data block MAC-eThe padding position, generate transmission data block.
10, method according to claim 9 is characterized in that, in step C3, described padding position is self-defined position.
CNB200510090324XA 2005-08-12 2005-08-12 Method for generating transmission data block Expired - Fee Related CN100512290C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB200510090324XA CN100512290C (en) 2005-08-12 2005-08-12 Method for generating transmission data block

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB200510090324XA CN100512290C (en) 2005-08-12 2005-08-12 Method for generating transmission data block

Publications (2)

Publication Number Publication Date
CN1852290A true CN1852290A (en) 2006-10-25
CN100512290C CN100512290C (en) 2009-07-08

Family

ID=37133758

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB200510090324XA Expired - Fee Related CN100512290C (en) 2005-08-12 2005-08-12 Method for generating transmission data block

Country Status (1)

Country Link
CN (1) CN100512290C (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008134926A1 (en) * 2007-04-30 2008-11-13 Alcatel Shanghai Bell Co., Ltd. Method and communication system and the sender side device for realizing the inquiry processing on data packets
WO2010105553A1 (en) * 2009-03-17 2010-09-23 大唐移动通信设备有限公司 Method and system for transmitting data by enhanced media access control
CN102142921A (en) * 2010-01-29 2011-08-03 联芯科技有限公司 Code stream structure and method for transmitting data
CN101588600B (en) * 2008-05-20 2012-01-25 宏达国际电子股份有限公司 Method and related apparatus for enhancing transmission efficiency in a wireless communication system
CN101351033B (en) * 2007-07-20 2012-05-09 中兴通讯股份有限公司 Data multiplexing method capable of enhancing up access system through multi-carrier
CN101682916B (en) * 2008-02-01 2016-09-07 Lg电子株式会社 Send RLC PDU and the RLC entity of the method for distributing radio resource and mobile communication in mobile communication system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008134926A1 (en) * 2007-04-30 2008-11-13 Alcatel Shanghai Bell Co., Ltd. Method and communication system and the sender side device for realizing the inquiry processing on data packets
CN101299706B (en) * 2007-04-30 2011-01-19 上海贝尔阿尔卡特股份有限公司 Method for implementing inquiry processing of data packet, communication system and sending terminal equipment
CN101351033B (en) * 2007-07-20 2012-05-09 中兴通讯股份有限公司 Data multiplexing method capable of enhancing up access system through multi-carrier
CN101682916B (en) * 2008-02-01 2016-09-07 Lg电子株式会社 Send RLC PDU and the RLC entity of the method for distributing radio resource and mobile communication in mobile communication system
CN101588600B (en) * 2008-05-20 2012-01-25 宏达国际电子股份有限公司 Method and related apparatus for enhancing transmission efficiency in a wireless communication system
WO2010105553A1 (en) * 2009-03-17 2010-09-23 大唐移动通信设备有限公司 Method and system for transmitting data by enhanced media access control
CN102142921A (en) * 2010-01-29 2011-08-03 联芯科技有限公司 Code stream structure and method for transmitting data
CN102142921B (en) * 2010-01-29 2015-03-25 联芯科技有限公司 Code stream structure and method for transmitting data

Also Published As

Publication number Publication date
CN100512290C (en) 2009-07-08

Similar Documents

Publication Publication Date Title
CN2896706Y (en) User equipment of media access control multitasking/de-multitasking and base station
CN1228939C (en) Signalling method for inserting media into control entity in block data communication system
CN1943157A (en) Method for acknowledging data packets in network including plurality of stations connected by common wireless channel
CN1700613A (en) Method and apparatus for setting power for transmitting signaling information on an E-DCH
CN1728838A (en) Autonomous transmission method and apparatus in the mobile communication system of support enhanced uplink
CN1568607A (en) Method and apparatus for retransmission in a wireless communication system
CN1658545A (en) Mobile communication system and method for improving data processing speed in the same
CN1914846A (en) Harq protocol with synchronous retransmissions
CN1918822A (en) Method of transmitting scheduling information on an enhanced uplink dedicated channel in a mobile communication system
CN1918825A (en) Transmitting and receiving control protocol data unit having processing time information
CN1758577A (en) Transmission is used for the apparatus and method of the control information of HRPD (high rate packet data) transmission
CN1674715A (en) Method for performing compressed mode-based HARQ in a mobile communication system
CN1599996A (en) Selecting optimal transmit formats for transmissions over allocated time durations
CN1859037A (en) Transmitting and receiving method for high speed medium cut-in control grouping data unit
CN1852290A (en) Method for generating transmission data block
CN1209886C (en) Data transmitting and receiving method in a mobile communication system
CN1917416A (en) Mixing automatic retransmission method in accessing down going packet in high speed and multiple carriers
CN101039452A (en) Method for transmitting scheduling information of enhanced dedication channel and system thereof
CN1610301A (en) A method of providing packetized data from a radio network controller to a base station
CN1815925A (en) Mobile communication system, radio base station, mobile station and mobile communication method
CN1868233A (en) Capacity scheduling method and system
JP2008099079A (en) Communication processing scheme in radio base station of mobile communication system
CN1835625A (en) Method of blind detecting transfer patterns
CN1612501A (en) Transmitting data using multi-frames
CN1777332A (en) Method and apparatus for scheduling uplink data transmission for mobile station in soft handover region

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090708