CN103747465B - Data sending method of radio link control (RLC) layer - Google Patents
Data sending method of radio link control (RLC) layer Download PDFInfo
- Publication number
- CN103747465B CN103747465B CN201310726286.7A CN201310726286A CN103747465B CN 103747465 B CN103747465 B CN 103747465B CN 201310726286 A CN201310726286 A CN 201310726286A CN 103747465 B CN103747465 B CN 103747465B
- Authority
- CN
- China
- Prior art keywords
- packet
- wait
- caching
- data
- send
- 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
Links
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides a data sending method of a radio link control (RLC) layer. The method comprises the following steps: S1, the RLC layer obtaining a data packet from a higher level; S2, according to the packet header information of the data packet, determining whether the data packet needs to be sent regularly, if the data packet needs to be sent regularly, executing step S3; S3, calculating the activation time of the data packet, determining whether a current time reaches the activation time, and if the current time does not reach the activation time, executing step S4; and S4, determining whether the wait activation time of the data packet needs to be calculated, if so, calculating the wait activation time of the data packet, starting a timer, storing the data packet into a wait buffer memory, and when the timer reaches the wait activation time, sending the data packet to a sending buffer memory. The method provided by the invention can enable the RLC layer to accurately control the sending time of the data packet.
Description
Technical field
The present invention relates to the communications field, more particularly, to a kind of data transmission method for uplink of wireless chain control layer.
Background technology
In order to improve the speed of mobile data services further, adapt to the requirement of Future Multimedia application, 3gpp tissue opens
Move the research Ji Yu Long Term Evolution (LTE) project.
LTE radio protocol layer defines between the ue and utran in pairs, for Wireless Data Transmission.Its middle level 2 (or L2)
Define packet data convergence protocol (PDCP), radio link control layer (RLC), media intervention control protocol layer (MAC).
RLC, between MAC and PDCP layer, is bridge that MAC layer is communicated with higher agreement it is ensured that radio bearer (RB)
Service quality (QoS) and be responsible for data transfer.RLC achieves the related various functions of data processing, including the envelope of packet
Dress and decapsulation, ARQ process, reorder and duplicate detection etc..In general, respectively there is a RLC equity eNodeB side and UE side
End entity.RLC entity receives RLC Service Data Unit (SDU, Service Data Unit) from high-rise, and SDU is formed agreement
Data cell (PDU, Protocol Data Unit) is sent RLC PDU to its reciprocity end RLC entity by low layer afterwards.Equity
End RLC entity sends to high level from low layer reception RLC PDU and by RLC SDU.
For supporting various QoS level, rlc layer provides three kinds of RLC patterns, i.e. and TM (Transparent Mode, transparent
Pattern), UM (Unacknowledge Mode, Unacknowledged Mode), AM (Acknowledge Mode, affirmation mode).Additionally,
Rlc layer is controlled to data size, is suitable for being wirelessly transferred in lower floor.For control data size, rlc layer connects to upper strata
The data receiving carries out segmentation or series connection, so that low layer can send data by wave point.
Developing rapidly with communication network technology, procotol is increasingly complicated, and uniformity test is to ensure that protocol realization
Important means.Uniformity test is the uniformity in order to verify equipment realization and respective protocol standard, thus outside identical
Carry out identical action, output identical result under the conditions of portion.Uniformity test is the support hand in product development development process
Section, and develop into the important branch of communication network technology.
In testing protocol consistency field, (Testing and TestControl is represented using test and testing and control
Notation, referred to as:TTCN) during the protocol conformance of each sublayer of method test terminal, construction is had to specify data to verify terminal
The demand of protocol conformance.For the construction test environment specified of TTCN and cycle tests, how to transmission time of packet
Carrying out precise control is current urgent problem.
Content of the invention
(1) technical problem to be solved
The technical problem to be solved in the present invention is:A kind of data transmission method for uplink of wireless chain control layer is provided, makes wireless
Link control layers can be accurately controlled the transmission time of packet.
(2) technical scheme
For solving above-mentioned technical problem, the invention provides a kind of data transmission method for uplink of wireless chain control layer, including:
S1:Wireless spread-spectrum technology rlc layer obtains from high-rise packet;
S2:Determine that described packet sends the need of timing according to the header packet information of described packet;If described data
Bag needs timing to send, then execution step S3;
S3:Calculate the activationary time of described packet, judge whether current time reaches described activationary time, if described work as
Before have not timed out and reach described activationary time, then execution step S4;
S4:Judge whether to need to calculate the wait activationary time of described packet, if so, then calculate described packet etc.
Time to be activated, start timer, described packet is stored in wait caching, when described timer reaches described etc. to be activated
Between when, by described packet send to send caching.
Further, in step s 2, if described packet does not need timing to send, described packet is sent to institute
State transmission caching.
Further, in step s3, if described current time reach described activationary time, by described packet send to
Described transmission caches.
Further, judge whether in step S4 to need the wait activationary time calculating described packet to include:
Judge whether described wait in caching has and do not send data, if so, then do not need to calculate described packet etc.
Time to be activated, if it is not, then calculate the wait activationary time of described packet.
Further, described wait buffer setting has the flag bit being used to indicate whether there is data, according to described mark
Position judges whether described wait has in caching and does not send data.
Further, also include after step s4:
Judge whether described wait in caching also has and do not send data, if existing, calculating and described waiting in caching the
One wait activationary time not sending packet, and start the timer of corresponding duration, described first does not send packet
Do not send the earliest packet of activationary time in data for described.
(3) beneficial effect
By the header packet information of packet, the present invention determines that packet sends the need of timing;If packets need timing
Send, then calculate the activationary time of packet, and judge whether current time reaches described activationary time, if current time does not arrive
Reach described activationary time, then judge whether the wait activationary time needing to calculate packet, if so, then calculate the wait of packet
Activationary time, starts timer, and packet is stored in wait caching, when timer reaches and waits activationary time, by packet
Send to sending caching, so that wireless chain control layer can be accurately controlled the transmission time of packet.
Brief description
Fig. 1 is a kind of flow chart of the data transmission method for uplink of wireless chain control layer that embodiment of the present invention provides;
Fig. 2 is a kind of structural representation of packet that embodiment of the present invention provides;
The flow chart of the data transmission method for uplink of another kind of wireless chain control layer that Fig. 3 provides for embodiment of the present invention;
A kind of schematic diagram of storage organization that Fig. 4 provides for embodiment of the present invention.
Specific embodiment
With reference to the accompanying drawings and examples, the specific embodiment of the present invention is described in further detail.Hereinafter implement
Example is used for the present invention is described, but is not limited to the scope of the present invention.
Fig. 1 is a kind of flow chart of the data transmission method for uplink of wireless chain control layer that embodiment of the present invention provides, bag
Include:
S1:Wireless spread-spectrum technology rlc layer obtains from high-rise packet;
S2:Determine that described packet sends the need of timing according to the header packet information of described packet;If described data
Bag needs timing to send, then execution step S3;
S3:Calculate the activationary time of described packet, judge whether current time reaches described activationary time, if described work as
Before have not timed out and reach described activationary time, then execution step S4;
S4:Judge whether to need to calculate the wait activationary time of described packet, if so, then calculate described packet etc.
Time to be activated, start timer, described packet is stored in wait caching, when described timer reaches described etc. to be activated
Between when, by described packet send to send caching.
If additionally, also having other in this wait caching not send packet, this wherein activationary time can be reached
The described packet waiting activationary time is also sent to send caching.Specifically, when timer then after, RLC waits to current
In caching, data carries out judging whether to reach activationary time successively, and the packet reaching activationary time is sequentially stored into transmission caching
Wherein, in step s 2, if described packet does not need timing to send, described packet is sent to described
Send caching.
Wherein, in step s3, if described current time reaches described activationary time, described packet is sent to described
Send caching.
Wherein, judge whether in step S4 to need the wait activationary time calculating described packet to include:
Judge whether described wait in caching has and do not send data, if so, then do not need to calculate described packet etc.
Time to be activated, if it is not, then calculate the wait activationary time of described packet.
Specifically, described wait buffer setting has the flag bit being used to indicate whether there is data, according to described flag bit
Judge whether to have in described wait caching and do not send data.
Preferably, said method also includes after step s4:
Judge whether described wait in caching also has and do not send data, if existing, calculating and described waiting in caching the
One wait activationary time not sending packet, and start the timer of corresponding duration, described first does not send packet
Do not send the earliest packet of activationary time in data for described.
With reference to Fig. 2, Fig. 2 is the structural representation from high-rise packet that RLC obtains, wherein:
CellId (cell id):32bit, indicates the cell that current data packet is located.
RBId (radio bearer number):8bit, indicates the concrete Radio Bear of current data packet.RLC is according to RBId come area
Divide different logic channels.
PDU (protocol Data Unit):32bit, pointer, points to the first address of the data of UE to be sent to.
TimingInfo (timing information):48bit, provides timing to send the information required for packet, specifically includes:
Index:32bit flag bit, is used to refer to current data packet and sends the need of timing.
SFN (System Frame Number):8bit, indicates the System Frame Number of delivery time required by timing transmission.
SubFrame (subframe numbers):8bit, indicates the subframe numbers of delivery time required by timing transmission.
The flow chart of the data transmission method for uplink of another kind of wireless chain control layer that Fig. 3 provides for embodiment of the present invention,
Obtain high level data bag and the step when starting timer including RLC, specifically:Obtain high-rise transmission in step 201
Packet TimingInfo in Index, carry out in step 202. it is judged, if need timing send, wherein
If judging in step 202. not needing timing to send, the method enters step 203, and in step 203, data is stored into
Send caching;If judging in step 202. to need timing to send, entering step 204, in step 204, calculating packet
Activationary time, and in step 205 judge current time whether reach activationary time, if in step 205 judge work as
The front moment has reached activationary time, then enter step 203 and data is stored in transmission caching if it is decided that current time not up to swashs
Whether live time, then enter step 206, have data to determine whether current wait in caching in step 206, specifically
Ground, if judging that current wait in caching has data in step 206, enters step 207, in step 207 by packet
Then the method proceeds to step 8 if it is decided that not having data in current wait caching to be stored in wait caching, in step 8, calculates
The wait activationary time of current data packet, and start timer in step 9.
In step 210 acquisition timer message, judge further to correspond to whether to have in waiting timer in 211 then to count
According to if judging not then data in step 211, the method terminates, if be determined with step 211 then counted
According to, then proceed to step 212, in the step 212, by all then data be sequentially stored in transmission caching, the method advances to step
Rapid 213, judge do not have if it is decided that waiting in caching in step 213 to whether also not sending data in wait caching
Do not send data, then the method terminates still not sending data if it is decided that waiting in caching, then the method proceeds to step
214, in step 214, calculate and wait in caching the wait activationary time of first packet and enter into step 215, in step
Start timer in rapid 215.
Specifically, in step 205, calculate System Frame Number and the subframe numbers of three subframes of current time time delay, judge number
Send specified System Frame Number according to bag timing and whether subframe numbers be equal with the above-mentioned System Frame Number calculating and subframe numbers,
If equal, reach activationary time, unequal, do not reach activationary time.
Specifically, here for the side in above-mentioned steps 208 and step 214, calculating packet being waited to activationary time
Method is further described, and in step 208 and 214, calculates System Frame Number and the son of three subframes of current time time delay first
Frame number, judges according to data packet head flag bit, only System Frame Number or only subframe that timing data packet delivery time is specified
Number or existing System Frame Number has subframe numbers again.
If it is decided that only System Frame Number, then timing sends System Frame Number and above-mentioned calculating in step 208 and 214
The difference of System Frame Number be multiplied by the number of sub frames of each frame again, as wait activationary time;If it is determined that only subframe numbers, then fixed
When the subframe numbers that send be to wait activationary time with the difference of the subframe numbers of above-mentioned calculating;If it is determined that existing System Frame Number has again
Subframe numbers, then press above-mentioned two situations respectively and calculate and be added the gained stand-by period, and be wait activationary time.Specifically
Ground, RLC obtains System Frame Number and the subframe numbers receiving packet joined activationary time on the middle and senior level;According to current System Frame Number
Judge whether to reach activationary time with subframe numbers:If it is, packet is stored in transmission caching, if it is not, then to current etc.
Packet whether is had to be judged in waiting to cache:If it is, packet is stored in wait caching, if it is not, then calculating
Time to be activated, and start the timer of corresponding time span, packet is stored in wait caching;Timer then, according to caching
Order finds the packet that last reaches activationary time, all bag taking-ups before is stored in transmission caching, and starts first
The timer of the individual corresponding time span of packet not reaching activationary time.
Additionally, a kind of schematic diagram of the storage organization providing for embodiment of the present invention referring to Fig. 4, Fig. 4, this storage organization
Can apply and above-mentioned wait caching and transmission caching, wherein, 16 is the single linked list of storage organization, and wherein 17 is PDU, that is, pending
Send data division;Wherein 18 be TimingInfo, for provide timing send packet required for information, including index,
SFN, SubFrame tri- part;Wherein 19 is NextPointer, is a pointer, points to the next node of chained list.
The data transmission method for uplink of the wireless chain control layer that embodiment of the present invention provides, by the header packet information of packet
Determine that packet sends the need of timing;If packets need timing sends, calculate the activationary time of packet, and judge
Whether current time reaches described activationary time, if current time does not reach described activationary time, judges whether to need to calculate
The wait activationary time of packet, if so, then calculates the wait activationary time of packet, starts timer, packet is stored in
Wait caching, when timer reaches and waits activationary time, send data packets to send caching such that it is able to be accurately controlled
The transmission time of packet.
Embodiment of above is merely to illustrate the present invention, and not limitation of the present invention, common about technical field
Technical staff, without departing from the spirit and scope of the present invention, can also make a variety of changes and modification, therefore all
Equivalent technical scheme falls within scope of the invention, and the scope of patent protection of the present invention should be defined by the claims.
Claims (5)
1. a kind of data transmission method for uplink of wireless chain control layer is it is characterised in that include:
S1:Wireless spread-spectrum technology rlc layer obtains from high-rise packet;
S2:Determine that described packet sends the need of timing according to the header packet information of described packet;If described packet needs
Regularly to send, then execution step S3;
S3:Calculate the activationary time of described packet, judge whether current time reaches described activationary time, if when described current
Between do not reach described activationary time, then execution step S4;
S4:Judge whether to need to calculate the wait activationary time of described packet, the wait if so, then calculating described packet swashs
Live time, starts timer, and described packet is stored in wait caching, when described timer reaches described wait activationary time
When, described packet is sent to transmission caching;
Judge whether in step S4 to need the wait activationary time calculating described packet to include:
Judge whether to have in described wait caching and do not send data, if so, then do not need the wait calculating described packet to swash
Live time, if it is not, then calculate the wait activationary time of described packet.
2. the data transmission method for uplink of wireless chain control layer according to claim 1 is it is characterised in that in step s 2,
If described packet does not need timing to send, described packet is sent and sends caching to described.
3. the data transmission method for uplink of wireless chain control layer according to claim 1 is it is characterised in that in step s3,
If described current time reaches described activationary time, described packet is sent and sends caching to described.
4. the data transmission method for uplink of wireless chain control layer according to claim 1 is it is characterised in that described wait caches
It is provided with the flag bit being used to indicate whether there is data, judge whether described wait in caching has not according to described flag bit
Send data.
5. the data transmission method for uplink of wireless chain control layer according to claim 1 is it is characterised in that after step s4
Also include:
Judging whether also to have in described wait caching and do not send data, if existing, calculating described wait first in caching
Do not send the wait activationary time of packet, and start the timer of corresponding duration, described first does not send packet for institute
State and do not send the earliest packet of activationary time in data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310726286.7A CN103747465B (en) | 2013-12-25 | 2013-12-25 | Data sending method of radio link control (RLC) layer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310726286.7A CN103747465B (en) | 2013-12-25 | 2013-12-25 | Data sending method of radio link control (RLC) layer |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103747465A CN103747465A (en) | 2014-04-23 |
CN103747465B true CN103747465B (en) | 2017-02-15 |
Family
ID=50504444
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310726286.7A Active CN103747465B (en) | 2013-12-25 | 2013-12-25 | Data sending method of radio link control (RLC) layer |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103747465B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109246749B (en) * | 2017-05-05 | 2020-12-04 | 大唐移动通信设备有限公司 | Data sending method, device and system based on base station |
CN108337171B (en) * | 2017-11-30 | 2022-06-28 | 中国电子科技集团公司电子科学研究院 | IP packet forwarding method compatible with DTN, network node and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1918825A (en) * | 2004-06-14 | 2007-02-21 | Lg电子株式会社 | Transmitting and receiving control protocol data unit having processing time information |
CN101552948A (en) * | 2008-03-31 | 2009-10-07 | 中兴通讯股份有限公司 | Method for synchronously sending same MBMS service data by wireless network controller |
CN101828344A (en) * | 2007-10-17 | 2010-09-08 | Lg电子株式会社 | Method of providing circuit switched (CS) service using high-speed downlink packet access (HSDPA) or high-speed uplink packet access (HSDPA) |
-
2013
- 2013-12-25 CN CN201310726286.7A patent/CN103747465B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1918825A (en) * | 2004-06-14 | 2007-02-21 | Lg电子株式会社 | Transmitting and receiving control protocol data unit having processing time information |
CN101828344A (en) * | 2007-10-17 | 2010-09-08 | Lg电子株式会社 | Method of providing circuit switched (CS) service using high-speed downlink packet access (HSDPA) or high-speed uplink packet access (HSDPA) |
CN101552948A (en) * | 2008-03-31 | 2009-10-07 | 中兴通讯股份有限公司 | Method for synchronously sending same MBMS service data by wireless network controller |
Also Published As
Publication number | Publication date |
---|---|
CN103747465A (en) | 2014-04-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103947249B (en) | The method that internet service is simultaneously transmitted by multiple wireless networks | |
US8787290B2 (en) | Method for wireless resource scheduling, network element of access network and terminal thereof | |
CN104837127B (en) | Communication method performed by secondary base station and primary base station and corresponding base station | |
TWI404434B (en) | Method of supporting handover in a mobile communication system | |
CN107241764A (en) | A kind of up, descending small data transmission method and device | |
CN105027511B (en) | It is used for the method and system of parallelization packet transaction in wireless communications | |
CN107645779A (en) | A kind of data transmission, transmission method and device | |
CN104782203B (en) | Method, base station and radio network controller for discharging E-DCH resource | |
CN107925592A (en) | The method and its equipment of uplink packet delay measurements are performed in a wireless communication system | |
US10111210B2 (en) | Method for implementing radio resource control protocol function, macro base station, and micro cell node | |
CN108809742B (en) | Method and device for determining radio bearer repeatability | |
CN107635258A (en) | A kind of transmission of data or signaling, transmission method and device | |
US8401037B2 (en) | Method of handling an error on CS voice over HSPA | |
CN109560899A (en) | A kind of method and apparatus for carrying out repeating transmission | |
JP2008259078A (en) | Retransmission request transmitting method, transmission-side device, and reception-side device | |
WO2020233190A1 (en) | Mpdu transmitting and receiving methods and apparatuses for multi-link system, storage medium, transmitter and receiver | |
CN103763314A (en) | Method and device for processing user layer data in practically deployed tumble detecting system | |
CN109673021A (en) | Service delay determines method | |
CN104641719A (en) | Acknowledgement packet transmission method and device thereof | |
CN107251605A (en) | The method of effective transmitting | |
WO2022084483A1 (en) | Technique for handling a survival time in a time-sensitive communication | |
CN103747465B (en) | Data sending method of radio link control (RLC) layer | |
CN115804201A (en) | Data forwarding in a centralized unit and distributed unit separation architecture | |
CN104320812A (en) | Joint transmission method, device and system | |
JP2021520725A (en) | Transmission delay measurement |
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 |