CN105337892B - A kind of data processing method and device - Google Patents
A kind of data processing method and device Download PDFInfo
- Publication number
- CN105337892B CN105337892B CN201410401650.7A CN201410401650A CN105337892B CN 105337892 B CN105337892 B CN 105337892B CN 201410401650 A CN201410401650 A CN 201410401650A CN 105337892 B CN105337892 B CN 105337892B
- Authority
- CN
- China
- Prior art keywords
- current
- data cell
- data
- testing result
- subframe numbers
- 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)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of data processing method and devices, which comprises when subframe interrupts generation, whether detection rlc layer cache logic channel has been traversed, and obtains the first testing result;When first testing result shows that rlc layer cache logic channel has not traversed, a logical channel data buffer queue is obtained as current logical channel data buffer queue;It detects whether current logical channel buffer queue is empty or whether traverses completion, obtains the second testing result;When second testing result shows that current logical channel buffer queue is not empty, or does not traverse completion, the data cell of a caching is obtained as current data cell, and obtain current system subframe numbers;According to the current associated time tag of data cell and the current system subframe numbers, judges whether current data cell is overtime, obtain the first judging result;When first judging result shows the data cell time-out of caching, current data cell is abandoned.
Description
Technical field
The present invention relates to data processing technique more particularly to a kind of Packet Data Convergence Protocol (PDCP, Packet Data
Convergence Protocol) layer data processing method and device.
Background technique
Illustrate in 36.323 agreement of long term evolution (LTE, Long Term Evolution) version (R9, Release 9)
PDCP layers need to realize " discard (timer based discard) based on timer ".When PDCP receives one from upper layer
PDCP service data unit (SDU, Service Data Unit) is wrapped it is necessary to start a discarding timer
(discardtimer) it is associated on this PDCP SDU.And it is necessary to abandoning the PDCP SDU after discardtimer time-out
And with associated PDCP protocol Data Unit (PDU, Protocol Data Unit), if PDCP PDU has been delivered to
Bottom such as wireless spread-spectrum technology (RLC, Radio Link Control) layer, media access control (MAC, Medium Access
Control) layer, physical layer (PHY, Physical Layer) layer then need instruction bottom to be abandoned.
PDCP layers of maximum serial number space is [0-4095], so so multiple data cells can be theoretically cached, but
It is up to a hundred that the frequent user equipment of actual conditions (UE, the User Experiment) second layer (L2, Layer 2) can at least cache tens
Data cell, and each data cell start a discardtimer;One is started to each data cell
Discardtimer, this is very big load for operating system;In addition, batch of data unit mistake is often delivered on upper layer
Come, this also means that the discardtimer of this batch of data unit almost starts together, is also overtime together when overtime;
At this moment, it will ceaselessly receive this batch of time exceeded message of processing for PDCP layers, therefore cause PDCP layers to be also considerably inefficient.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of data processing method to solve problems of the prior art
And device, it can reduce the load of operating system, and have the characteristics that be concisely and efficiently.
The technical solution of the embodiment of the present invention is achieved in that
In a first aspect, the embodiment of the present invention provides a kind of data processing method, which comprises
When subframe interrupts generation, whether detection wireless spread-spectrum technology rlc layer cache logic channel has been traversed, and obtains first
Testing result;
When first testing result shows that rlc layer cache logic channel has not traversed, a logic channel number is obtained
According to buffer queue as current logical channel data buffer queue;
It detects whether current logical channel buffer queue is empty or whether traverses completion, obtains the second testing result;
When second testing result shows that current logical channel buffer queue is not empty, or does not traverse completion,
The data cell of a caching is obtained as current data cell, and obtains current system subframe numbers;
According to time tag associated by current data cell and current system subframe numbers, the current number of caching is judged
It is whether overtime according to unit, obtain the first judging result;
When first judging result shows the data cell time-out of caching, current data cell is abandoned.
Preferably, the method also includes:
The Packet Data Convergence Protocol service data unit PDCP SDU delivered on upper layer is received, according to formula: super
When time tag=(current subframe number+timing numerical value) %10240, determine the time tag of the time-out;Wherein, % is to take
The symbol of remainder operation, the timing numerical value are numerical value corresponding to timer timing value;
The time tag for the time-out determined is associated with the PDCP SDU.
Preferably, according to the associated time tag of the data cell and the current system subframe numbers, judge caching
Whether current data cell is overtime, comprising:
When judging that the associated time tag of the data cell and the current system subframe numbers are unsatisfactory for following formula, really
Surely the data cell time-out cached;
When judging that the associated time tag of the data cell and the current system subframe numbers meet following formula, determine
The data cell of caching has not timed out;
The wherein formula are as follows: ((time tag<current subframe number) and is ((current by (time tag>current subframe number) or
Subframe numbers-time tag) > Φ)), wherein the Φ is the maximum timing value that timer is abandoned as defined in agreement.
Preferably, the method also includes: when first judging result show caching the data cell have not timed out
When, whether detection rlc layer cache logic channel has traversed, and obtains the first testing result;
When first testing result shows that rlc layer cache logic channel has not traversed, next logic channel is obtained
Data buffer storage queue is as current logical channel data buffer queue;
It detects whether current logical channel buffer queue is empty or whether traverses completion, obtains the second testing result;
When second testing result shows that current logical channel buffer queue is not empty, or does not traverse completion,
The data cell of a caching is obtained as current data cell, and obtains current system subframe numbers;
According to time tag associated by current data cell and current system subframe numbers, current data cell is judged
It is whether overtime, obtain the first judging result;
When first judging result shows the data cell time-out of caching, current data cell is abandoned.
Preferably, the method also includes:
When first testing result shows that rlc layer cache logic channel has traversed, terminate process.
Preferably, the method also includes:
When second testing result shows to detect the logical channel buffer queue as sky, or traversal is completed, detection
Whether wireless spread-spectrum technology rlc layer cache logic channel has traversed, and obtains the first testing result;
When first testing result shows that rlc layer cache logic channel has not traversed, next logic channel is obtained
Data buffer storage queue is as current logical channel data buffer queue;
Whether the current logical channel buffer queue of detection trigger is follow-up process that is empty or whether traversing completion.
Preferably, the method also includes:
When second testing result shows that it is empty for detecting the logical channel buffer queue, wireless spread-spectrum technology is detected
Whether rlc layer cache logic channel has traversed, and obtains the first testing result;
When first testing result shows that rlc layer cache logic channel has traversed, terminate process.
Second aspect, the embodiment of the present invention provide a kind of data processing equipment, and described device includes first detection unit,
One acquiring unit, second detection unit, second acquisition unit, judging unit and discarding unit, in which:
The first detection unit, for when subframe interrupts generation, detection wireless spread-spectrum technology rlc layer cache logic to be believed
Whether road has traversed, and obtains the first testing result;
The first acquisition unit, for showing that rlc layer cache logic channel does not traverse when first testing result
When complete, a logical channel data buffer queue is obtained as current logical channel data buffer queue;
The second detection unit, for detecting whether current logical channel buffer queue is empty or whether traverses
It completes, obtains the second testing result;
The second acquisition unit, for showing current logical channel buffer queue not when second testing result
For sky, or when not traversing completion, the data cell of a caching is obtained as current data cell, and obtain current system
System subframe numbers;
The judging unit, in the time tag according to associated by current data cell and current system subframe
Number, judge whether current data cell is overtime, obtains the first judging result;
The discarding unit, for losing when showing the data cell time-out of caching when first judging result
Abandon current data cell.
Preferably, described device further includes receiving unit and associative cell, in which:
The receiving unit, for receiving the Packet Data Convergence Protocol service data unit PDCP delivered on upper layer
SDU, according to formula: overtime time tag=(current subframe number+timing numerical value) %10240 determines the time of the time-out
Label;Wherein, % is the symbol for taking the remainder operation;The timing numerical value is numerical value corresponding to timer timing value;
The associative cell, for the time tag for the time-out determined to be associated with the PDCP SDU.
Preferably, the judging unit, for judging the associated time tag of the data cell and the current system
When subframe numbers are unsatisfactory for following formula, the data cell time-out of caching is determined;
When judging that the associated time tag of the data cell and the current system subframe numbers meet following formula, determine
The data cell of caching has not timed out;
The wherein formula are as follows: ((time tag<current subframe number) and is ((current by (time tag>current subframe number) or
Subframe numbers-time tag) > Φ));Wherein, the Φ is the maximum timing value that timer is abandoned as defined in agreement.
Data processing method provided in an embodiment of the present invention and device, when subframe interrupts generation, detection rlc layer caching is patrolled
It collects whether channel has traversed, obtains the first testing result;When first testing result does not show rlc layer cache logic channel not time
When having gone through, a logical channel data buffer queue is obtained as current logical channel data buffer queue;It detects currently
Whether logical channel buffer queue is empty or whether traverses completion, obtains the second testing result;When second testing result
When showing that current logical channel buffer queue is not empty, or not traversing completion, the data cell conduct of a caching is obtained
Current data cell, and obtain current system subframe numbers;According to time tag associated by current data cell and institute
Current system subframe numbers are stated, judges whether current data cell is overtime, obtains the first judging result;When the first judgement knot
When fruit shows the data cell time-out of caching, current data cell is abandoned;It so, it is possible to mitigate the negative of operating system
Lotus, and have the characteristics that be concisely and efficiently.
Detailed description of the invention
Fig. 1 is the implementation process schematic diagram of data processing method of the embodiment of the present invention;
Fig. 2 is the flow chart that PDCP of the embodiment of the present invention receives setting time-out time label after SDU;
Fig. 3 be the embodiment of the present invention detected in subframe interrupt processing it is data cached whether Chao Shi flow diagram;
Fig. 4 is the implementation process schematic diagram of data processing equipment of the embodiment of the present invention.
Specific embodiment
For in the prior art, judging operating system brought by each data cell time-out using timer is abandoned
Load is big and inefficient problem, present inventor have discovered that illustrating that the next superframe of LTE standard includes 1024 in LTE protocol
Frame, a frame includes 10 subframes, and therefore, the range of sub-frame number (hereinafter referred to as subframe numbers) is [0-10239], a superframe
In altogether include 10240 subframes.And the interval time in a superframe between two neighboring subframe is fixed 1 millisecond
(ms), it is therefore possible to use subframe numbers realize the function of abandoning timer, the present inventor will be based on son in embodiment below
Frame number abandons the function of timer to realize in the prior art, to complete data processing method provided by the present invention embodiment
And device.
The embodiment of the present invention realized based on LTE standard subframe interrupt function as abandon timer discardtimer,
As described above, between two adjacent sub-frames interval time be fixed 1ms, then the present inventor using such 1ms time between
Every progress " interruption ", by using the subframe numbers of LTE as time value come whether overtime to detect current data cell.Work as PDCP
Layer receives PDCP SDU from upper layer, and subframe numbers and PDCP SDU phase are shut away, this subframe numbers is exactly to be associated with to PDCP SDU
One for detecting whether time-out time tag;This time tag is exactly the time of discardtimer time-out, below
Illustrate the calculation of this time tag, introduces the time of discardtimer time-out, discardtimer first
The time of time-out can be determined using formula (1):
Time=current time+timer timing value (1) of time-out;
Now by the time conversion in formula (1) at subframe numbers, wherein the unit of timer timing value is generally ms, then public
Formula (1) can be transformed into formula (2):
Time (ms)=(current subframe %10240 × 1 (the ms)+timer timing value (ms)) of time-out
(2);
Since subframe numbers to 10240 can be reversed to 0, so needing to rem (%) operation to 10240 in formula (2);
The time of time-out and timer timing value can be indicated that is, formula (2) can be transformed into public affairs using sub-frame number below
Formula (3):
Time tag=(current subframe number+timing numerical value) %10240 (3) of time-out;
Wherein the timing numerical value is numerical value corresponding to timer timing value, i.e. timing numerical value is equal to timer timing value
Divided by 1 millisecond, and the time tag of time-out is equal to the time of time-out divided by 1 millisecond;.
SDU has been handled generation PDU by PDCP, is delivered to rlc layer, and logically channel is stored in oneself queue to rlc layer
In.When each subframe, which is interrupted, to be occurred, checked in each logical channel buffer queue of RLC in the processing routine that subframe is interrupted
Data cell (PDCP PDU) associated time tag;If current subframe numbers do not reach or are not above time mark
Label, then it is assumed that the PDCP PDU is not timed-out, and does not need to abandon;Due to the succession of queue, the data after the data just do not have
Necessity detects whether time-out again.If current subframe numbers meet or exceed the time tag, then it is assumed that time-out simultaneously needs to lose
The data are abandoned, then detect next data again.
Time-out is also required to the case where considering subframe numbers reversion, since the maximum timing value of agreement regulation discardtimer is
1500ms, thus in case of time tag reversion and current subframe number not yet invert the case where, when current subframe number can compare
Between label it is much larger, be far longer than 1500.So the formula (4) that judgement is not timed-out is as follows:
(time tag>current subframe number) or ((time tag<current subframe number) and ((current subframe number-time mark
Label) > 1500)) (4);Time tag in formula (4) is the time tag of the time-out in formula (3),;The present invention is implemented
Example is only interrupted using subframe and is used as timing mechanism, the function that a large amount of timers can be replaced to complete along with associated overtime label
Can, therefore, technical solution provided in an embodiment of the present invention can reduce the load of operating system, and have and be concisely and efficiently
Feature.
The technical solution of the present invention is further elaborated in the following with reference to the drawings and specific embodiments.
The embodiment of the present invention provides a kind of data processing method, and Fig. 1 is the realization of data processing method of the embodiment of the present invention
Flow diagram, as shown in Figure 1, this method comprises:
Step 101, when subframe interrupts generation, whether detection rlc layer cache logic channel has been traversed, and obtains the first detection
As a result;
Step 102, it when first testing result shows that rlc layer cache logic channel has not traversed, obtains one and patrols
Channel data buffer queue is collected as current logical channel data buffer queue;
Step 103, it detects whether current logical channel buffer queue is empty or whether traverses completion, obtains the second inspection
Survey result;
Step 104, when second testing result shows that detecting current logical channel buffer queue is not empty, Huo Zhewei
When traversal is completed, the data cell of a caching is obtained as current data cell, and obtain current system subframe numbers;
Step 105, the time tag according to associated by current data cell and current system subframe numbers, judge current
Whether data cell is overtime, obtains the first judging result;
Step 106, when first judging result shows the data cell time-out of caching, current data are abandoned
Unit.
In the embodiment of the present invention, the method also includes:
Step A1 receives the Packet Data Convergence Protocol service data unit PDCP SDU delivered on upper layer, according to
(current subframe number+timing numerical value) %10240 determines the time tag of time-out, wherein % is the symbol for taking the remainder operation, described
Timing numerical value is numerical value corresponding to timer timing value, wherein timing numerical value=timer timing value ÷ 1ms, due to fixing time
Every generally 1ms, therefore, timing numerical value is obtained and then by timer timing value divided by 1ms, is risen so as to corresponding with subframe numbers
Come;
The time tag for the time-out determined is associated with the PDCP SDU by step A2.
In the embodiment of the present invention, according to the associated time tag of the data cell and the current system subframe numbers, sentence
Whether current data cell of breaking is overtime, comprising:
When judging that the associated time tag of the data cell and the current system subframe numbers are unsatisfactory for following formula, really
Surely the data cell time-out cached;
When judging that the associated time tag of the data cell and the current system subframe numbers meet following formula, determine
The data cell of caching has not timed out;
The wherein formula are as follows:
(time tag>current subframe number) or ((time tag<current subframe number) and ((current subframe number-time mark
Label) > Φ)),
Wherein, the Φ is the maximum timing value that timer is abandoned as defined in agreement;Preferably, the Φ is 1500 millis
Second.
In the embodiment of the present invention, the method also includes: when first judging result shows the data sheet of caching
When member has not timed out, whether detection rlc layer cache logic channel has been traversed, and obtains the first testing result;
When first testing result shows that rlc layer cache logic channel has not traversed, next logic channel is obtained
Data buffer storage queue is as current logical channel data buffer queue;
It detects whether current logical channel buffer queue is empty or whether traverses completion, obtains the second testing result;
When second testing result shows that current logical channel buffer queue is not empty, or does not traverse completion,
The data cell of a caching is obtained as current data cell, and obtains current system subframe numbers;
According to time tag associated by current data cell and current system subframe numbers, current data cell is judged
It is whether overtime, obtain the first judging result;
When first judging result shows the data cell time-out of caching, current data cell is abandoned.
In the embodiment of the present invention, the method also includes:
When first testing result shows that rlc layer cache logic channel has traversed, terminate process.
In the embodiment of the present invention, the method also includes:
When second testing result shows to detect the logical channel buffer queue as sky, or does not traverse completion, inspection
It surveys whether wireless spread-spectrum technology rlc layer cache logic channel has traversed, obtains the first testing result;
When first testing result shows that rlc layer cache logic channel has not traversed, next logic channel is obtained
Data buffer storage queue is as current logical channel data buffer queue;
It detects whether current logical channel buffer queue is empty or whether traverses completion, obtains the second testing result;
It is not empty when second testing result shows to detect current logical channel buffer queue, or does not traverse completion
When, the data cell of a caching is obtained as current data cell, and obtains current system subframe numbers;
According to the current associated time tag of data cell and the current system subframe numbers, current data sheet is judged
Whether member is overtime, obtains the first judging result;
When first judging result shows the data cell time-out of caching, current data cell is abandoned.
In the embodiment of the present invention, the method also includes:
When second testing result shows that it is empty for detecting the logical channel buffer queue, wireless spread-spectrum technology is detected
Whether rlc layer cache logic channel has traversed, and obtains the first testing result;
When first testing result shows that rlc layer cache logic channel has traversed, terminate process.
Fig. 2 is the flow chart that PDCP of the embodiment of the present invention receives setting time-out time label after SDU, as shown in Fig. 2, the stream
Journey includes:
Step 201, the PDCP SDU delivered on upper layer is received, and determines time tag for PDCP SDU;
Here, step 201 refers to that PDCP layers receive the PDCP SDU that upper layer is delivered;According to formula (3):
Time tag=(current subframe number+timing numerical value) %10240 (3) of time-out,
Determine the time tag of the time-out;Wherein, % is the symbol for taking the remainder operation, and the timing numerical value is timer
Numerical value corresponding to timing value;
Step 202, the time tag for the time-out determined is associated with received PDCP SDU;
Step 203, PDU is generated after PDCP layers of processing SDU, and is delivered to rlc layer;
Step 204, rlc layer is stored RLC SDU or PDCP PDU in the queue by logic channel.
Fig. 3 be the embodiment of the present invention detected in subframe interrupt processing it is data cached whether Chao Shi flow diagram, such as
Shown in Fig. 3, which includes:
Step 301, process starts;
It should be noted that technical solution provided in an embodiment of the present invention can be realized by computer program, it is used for
Realize that the computer program of technical solution of the embodiment of the present invention is properly termed as subframe interrupt handling routine;In the process of specific implementation
In, processor calls the time-out traversal of processing function such as RLC function progress data cell by starting subframe interrupt function
Detection;
Step 302, whether detection logic channel traverses completion, and when being, end enters step 303, conversely, entering step
304;
Here, logic channel can be realized when using software realization by array, chained list, and be realized by hardware
When, it can be realized by buffer.
Here, detection RLC caches whether all logic channels have traversed, and ends processing, enters step if having traversed
303;Otherwise, 304 are entered step.
Step 304, a logical channel buffer queue is obtained;
Here, the logical channel buffer queue refers to the data cell queue of caching.
Step 305, detect whether the logical channel buffer queue is empty, or whether traverse completion, if it is return to step
Rapid 302, otherwise enter step 306.
Step 306, the data cell of a caching is obtained;
Here, the data cell is PDCP SDU;
Step 307, judge whether data cell is overtime, when being, enter step 308, conversely, entering step 302;
Here, judge whether data cell is overtime, comprising:
When judging that the associated time tag of the data cell and the current system subframe numbers are unsatisfactory for formula (4), really
Surely the data cell time-out cached;
When judging that the associated time tag of the data cell and the current system subframe numbers meet formula (4), determine
The data cell of caching has not timed out;
The wherein formula (4) are as follows:
(time tag>current subframe number) or ((time tag<current subframe number) and ((current subframe number-time mark
Label) > Φ)),
Wherein, the Φ is the maximum timing value that timer is abandoned as defined in agreement.
Step 308, data cell is abandoned;
Here, it abandons data cell processing to abandon outside PDCP SDU, it is also necessary to abandon RLC SDU (i.e. PDCP PDU).
Step 305, judge the data cell got whether be the logic channel the last one data cell (such as PDCP
SDU), when being, 304 are entered step, conversely, entering step 306.
The embodiment of the present invention provides a kind of data processing equipment again, and Fig. 4 is the group of data processing equipment of the embodiment of the present invention
At structural schematic diagram, as shown in figure 4, the device includes first detection unit 401, first acquisition unit 402, second detection unit
403, second acquisition unit 404, judging unit 405 and discarding unit 406, in which:
The first detection unit 401, for subframe interrupt occur when, detection rlc layer cache logic channel whether time
It has been gone through that, obtain the first testing result;
The first acquisition unit 402, for not showing rlc layer cache logic channel not time when first testing result
When having gone through, a logical channel data buffer queue is obtained as current logical channel data buffer queue;
The second detection unit 403, for detect current logical channel buffer queue whether be it is empty or whether
Traversal is completed, and the second testing result is obtained;
The second acquisition unit 404, for showing current logical channel buffer team when second testing result
Column are not sky, or when not traversing completion, obtain the data cell of a caching as current data cell, and obtain and work as
Preceding system subframe number;
The judging unit 405, in the time tag according to associated by current data cell and the current system
System subframe numbers, judge whether current data cell is overtime, obtain the first judging result;
The discarding unit 406, for when first judging result show caching the data cell time-out when,
Abandon current data cell.
In the embodiment of the present invention, described device further includes receiving unit and associative cell, in which:
The receiving unit, for receiving the PDCP SDU delivered on upper layer, according to formula (3):
Time tag=(current subframe number+timing numerical value) %10240 of time-out, (3);
Determine the time tag of the time-out, wherein % is the symbol for taking the remainder operation, and the timing numerical value is timer
Numerical value corresponding to timing value;
The associative cell, for the time tag determined to be associated with the PDCP SDU.
In the embodiment of the present invention, the judging unit, for judging the associated time tag of the data cell and described
When current system subframe numbers are unsatisfactory for formula (3), the data cell time-out of caching is determined;
When judging that the associated time tag of the data cell and the current system subframe numbers meet formula (3), determine
The data cell of caching has not timed out;
The wherein formula (4) are as follows:
(time tag>current subframe number) or ((time tag<current subframe number) and ((current subframe number-time mark
Label) > Φ));
Wherein, the Φ is the maximum timing value that timer is abandoned as defined in agreement;Preferably, the Φ is 1500 millis
Second.
In the embodiment of the present invention, the first detection unit is also used to show the institute of caching when first judging result
When stating data cell and having not timed out, whether detection rlc layer cache logic channel has been traversed, and obtains the first testing result;And trigger institute
State first acquisition unit.
In the embodiment of the present invention, the first detection unit is also used to show that detecting this patrols when second testing result
Collecting channel buffer queue is sky, or when traversal completion, detects whether wireless spread-spectrum technology rlc layer cache logic channel traverses
It is complete, the first testing result is obtained, and trigger the first acquisition unit.
In the embodiment of the present invention, described device further includes end unit, for showing rlc layer when first testing result
When cache logic channel has traversed, terminate process.
In the embodiment of the present invention, the first detection unit, for showing to detect currently when second testing result
When logical channel buffer queue is that empty or current logical channel buffer queue traverses completion, detection rlc layer cache logic letter
Whether road has traversed, and obtains the first testing result, and trigger end unit;
The end unit, for terminating when first testing result shows that rlc layer cache logic channel has traversed
Process.
It need to be noted that: the description of above-mentioned data processing equipment embodiment is described with above-mentioned data processing method
Be it is similar, with method beneficial effect describe, do not repeat them here.For undisclosed in data processing system embodiment of the present invention
Technical detail please refers to the description of embodiment of the present invention method.
First detection unit, first acquisition unit, the second detection in data processing equipment provided in an embodiment of the present invention
The units such as unit, second acquisition unit, judging unit and discarding unit can be realized by the processor in UE;Certainly
It can also be realized by specific logic circuit;During specific embodiment, processor can for central processing unit (CPU),
Microprocessor (MPU), digital signal processor (DSP) or field programmable gate array (FPGA) etc..
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it
Its mode is realized.Apparatus embodiments described above are merely indicative, for example, the division of the unit, only
A kind of logical function partition, there may be another division manner in actual implementation, such as: multiple units or components can combine, or
It is desirably integrated into another system, or some features can be ignored or not executed.In addition, shown or discussed each composition portion
Mutual coupling or direct-coupling or communication connection is divided to can be through some interfaces, the INDIRECT COUPLING of equipment or unit
Or communication connection, it can be electrical, mechanical or other forms.
Above-mentioned unit as illustrated by the separation member, which can be or may not be, to be physically separated, aobvious as unit
The component shown can be or may not be physical unit;Both it can be located in one place, and may be distributed over multiple network lists
In member;Some or all of units can be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
In addition, each functional unit in various embodiments of the present invention can be fully integrated in one processing unit, it can also
To be each unit individually as a unit, can also be integrated in one unit with two or more units;It is above-mentioned
Integrated unit both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through
The relevant hardware of program instruction is completed, and program above-mentioned can store in computer-readable storage medium, which exists
When execution, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes: movable storage device, read-only deposits
Reservoir (Read Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or
The various media that can store program code such as CD.
If alternatively, the above-mentioned integrated unit of the present invention is realized in the form of software function module and as independent product
When selling or using, it also can store in a computer readable storage medium.Based on this understanding, the present invention is implemented
Substantially the part that contributes to existing technology can be embodied in the form of software products the technical solution of example in other words,
The computer software product is stored in a storage medium, including some instructions are used so that computer equipment (can be with
It is personal computer, server or network equipment etc.) execute all or part of each embodiment the method for the present invention.
And storage medium above-mentioned includes: that movable storage device, ROM, RAM, magnetic or disk etc. are various can store program code
Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.
Claims (10)
1. a kind of data processing method, which is characterized in that the described method includes:
When subframe interrupts generation, whether detection wireless spread-spectrum technology rlc layer cache logic channel has been traversed, and obtains the first detection
As a result;
When first testing result shows that rlc layer cache logic channel has not traversed, it is slow to obtain a logical channel data
Queue is deposited as current logical channel data buffer queue;
It detects whether current logical channel buffer queue is empty or whether traverses completion, obtains the second testing result;
When second testing result shows that current logical channel buffer queue is not empty, or does not traverse completion, obtain
The data cell of one caching is as current data cell, and obtains current system subframe numbers;
According to time tag associated by current data cell and current system subframe numbers, according to formula, " the associated time is marked
The number of sub-frames that label=(current system subframe numbers+timing numerical value) % transmission data include;Wherein, % is the symbol for taking the remainder operation
Number, the timing numerical value is numerical value corresponding to timer timing value ", judge whether the current data cell of caching is overtime,
Obtain the first judging result;
When first judging result shows the data cell time-out of caching, current data cell is abandoned.
2. the method according to claim 1, wherein the method also includes:
The Packet Data Convergence Protocol service data unit PDCP SDU delivered on upper layer is received, according to formula: overtime
Time tag=(current system subframe numbers+timing numerical value) %10240, determines the time tag of the time-out;
The time tag for the time-out determined is associated with the PDCP SDU.
3. the method according to claim 1, wherein according to the associated time tag of the data cell and described
Current system subframe numbers judge whether the current data cell of caching is overtime, comprising:
When judging that the associated time tag of the data cell and the current system subframe numbers are unsatisfactory for following formula, determine slow
The data cell time-out deposited;
When judging that the associated time tag of the data cell and the current system subframe numbers meet following formula, caching is determined
The data cell have not timed out;
The wherein formula are as follows: (time tag>current system subframe numbers) or ((time tag<current system subframe numbers) and
((current system subframe numbers-time tag) > Φ)), wherein the Φ is the maximum timing that timer is abandoned as defined in agreement
Value.
4. the method according to claim 1, wherein the method also includes: when the first judging result table
When the data cell of bright caching has not timed out, whether detection rlc layer cache logic channel has been traversed, and obtains the first detection knot
Fruit;
When first testing result shows that rlc layer cache logic channel has not traversed, next logical channel data is obtained
Buffer queue is as current logical channel data buffer queue;
It detects whether current logical channel buffer queue is empty or whether traverses completion, obtains the second testing result;
When second testing result shows that current logical channel buffer queue is not empty, or does not traverse completion, obtain
The data cell of one caching is as current data cell, and obtains current system subframe numbers;
According to time tag associated by current data cell and current system subframe numbers, whether current data cell is judged
Time-out obtains the first judging result;
When first judging result shows the data cell time-out of caching, current data cell is abandoned.
5. the method according to claim 1, wherein the method also includes:
When first testing result shows that rlc layer cache logic channel has traversed, terminate process.
6. the method according to claim 1, wherein the method also includes:
When second testing result shows to detect the logical channel buffer queue as sky, or traversal is completed, detection is wireless
Whether link control rlc layer cache logic channel has traversed, and obtains the first testing result;
When first testing result shows that rlc layer cache logic channel has not traversed, next logical channel data is obtained
Buffer queue is as current logical channel data buffer queue;
Whether the current logical channel buffer queue of detection trigger is follow-up process that is empty or whether traversing completion.
7. method according to any one of claims 1 to 6, which is characterized in that the method also includes:
When second testing result shows that it is empty for detecting the logical channel buffer queue, wireless spread-spectrum technology rlc layer is detected
Whether cache logic channel has traversed, and obtains the first testing result;
When first testing result shows that rlc layer cache logic channel has traversed, terminate process.
8. a kind of data processing equipment, which is characterized in that described device includes first detection unit, first acquisition unit, second
Detection unit, second acquisition unit, judging unit and discarding unit, in which:
The first detection unit, for when subframe interrupts generation, detecting wireless spread-spectrum technology rlc layer cache logic channel to be
It is no to have traversed, obtain the first testing result;
The first acquisition unit, for when first testing result shows that rlc layer cache logic channel has not traversed,
A logical channel data buffer queue is obtained as current logical channel data buffer queue;
The second detection unit, for detecting whether current logical channel buffer queue is empty or whether has traversed
At obtaining the second testing result;
The second acquisition unit, for showing that current logical channel buffer queue is not when second testing result
Sky, or when not traversing completion, the data cell of a caching is obtained as current data cell, and obtain current system
Subframe numbers;
The judging unit, for pressing in the time tag according to associated by current data cell and current system subframe numbers
According to the formula " number of sub-frames that associated time tag=(current system subframe numbers+timing numerical value) % transmission data include;Its
In, % is the symbol for taking the remainder operation, and the timing numerical value is numerical value corresponding to timer timing value ", judge current number
It is whether overtime according to unit, obtain the first judging result;
The discarding unit, for when showing the data cell time-out of caching when first judging result, discarding to be worked as
Preceding data cell.
9. device according to claim 8, which is characterized in that described device further includes receiving unit and associative cell,
In:
The receiving unit, for receiving the Packet Data Convergence Protocol service data unit PDCP delivered on upper layer
SDU, according to formula: overtime time tag=(current system subframe numbers+timing numerical value) %10240 determines the time-out
Time tag;
The associative cell, for the time tag for the time-out determined to be associated with the PDCP SDU.
10. device according to claim 8 or claim 9, which is characterized in that the judging unit, for judging the data sheet
When first associated time tag and the current system subframe numbers are unsatisfactory for following formula, determine that the data cell of caching is super
When;
When judging that the associated time tag of the data cell and the current system subframe numbers meet following formula, caching is determined
The data cell have not timed out;
The wherein formula are as follows: (time tag>current system subframe numbers) or ((time tag<current system subframe numbers) and
((current system subframe numbers-time tag) > Φ));Wherein, the Φ is the maximum timing that timer is abandoned as defined in agreement
Value.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410401650.7A CN105337892B (en) | 2014-08-15 | 2014-08-15 | A kind of data processing method and device |
PCT/CN2014/091017 WO2016023285A1 (en) | 2014-08-15 | 2014-11-13 | Data processing method and device, storage medium and user equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410401650.7A CN105337892B (en) | 2014-08-15 | 2014-08-15 | A kind of data processing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105337892A CN105337892A (en) | 2016-02-17 |
CN105337892B true CN105337892B (en) | 2019-05-31 |
Family
ID=55288192
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410401650.7A Active CN105337892B (en) | 2014-08-15 | 2014-08-15 | A kind of data processing method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105337892B (en) |
WO (1) | WO2016023285A1 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109583688A (en) * | 2018-10-16 | 2019-04-05 | 深圳壹账通智能科技有限公司 | Performance test methods, device, computer equipment and storage medium |
CN111090513B (en) * | 2018-10-23 | 2023-05-30 | 厦门雅迅网络股份有限公司 | Method for detecting link health state of Internet of vehicles platform terminal and storage medium |
CN112491871B (en) * | 2020-11-25 | 2023-07-28 | 北京宝兰德软件股份有限公司 | TCP reorganization method, TCP reorganization device, electronic equipment and storage medium |
CN115996420A (en) * | 2021-10-19 | 2023-04-21 | 维沃移动通信有限公司 | Data processing method, device and terminal |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102090087A (en) * | 2009-04-27 | 2011-06-08 | 华为技术有限公司 | Method,system and equipment for processing information |
CN102223658A (en) * | 2010-04-19 | 2011-10-19 | 中兴通讯股份有限公司 | Method and relay node for handling radio link failure |
CN102624494A (en) * | 2011-01-27 | 2012-08-01 | 中兴通讯股份有限公司 | Channel status indicator measuring method and system |
CN102769574A (en) * | 2012-08-06 | 2012-11-07 | 华为技术有限公司 | Device capable of conducting business hardware acceleration and method thereof |
EP2765804A1 (en) * | 2008-01-25 | 2014-08-13 | LG Electronics, Inc. | Method for performing handover procedure and creating data |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2004068807A1 (en) * | 2002-10-25 | 2004-08-12 | Asustek Computer Inc. | Determination of acceptable sequence number ranges in a communications protocol |
CN101883390A (en) * | 2010-06-25 | 2010-11-10 | 京信通信***(中国)有限公司 | Method for managing service data unit (SDU) for radio link control (RLC) layer and system thereof |
KR20130093774A (en) * | 2011-12-29 | 2013-08-23 | 엘지전자 주식회사 | Method for transmitting pdcp packet |
-
2014
- 2014-08-15 CN CN201410401650.7A patent/CN105337892B/en active Active
- 2014-11-13 WO PCT/CN2014/091017 patent/WO2016023285A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2765804A1 (en) * | 2008-01-25 | 2014-08-13 | LG Electronics, Inc. | Method for performing handover procedure and creating data |
CN102090087A (en) * | 2009-04-27 | 2011-06-08 | 华为技术有限公司 | Method,system and equipment for processing information |
CN102223658A (en) * | 2010-04-19 | 2011-10-19 | 中兴通讯股份有限公司 | Method and relay node for handling radio link failure |
CN102624494A (en) * | 2011-01-27 | 2012-08-01 | 中兴通讯股份有限公司 | Channel status indicator measuring method and system |
CN102769574A (en) * | 2012-08-06 | 2012-11-07 | 华为技术有限公司 | Device capable of conducting business hardware acceleration and method thereof |
Also Published As
Publication number | Publication date |
---|---|
WO2016023285A1 (en) | 2016-02-18 |
CN105337892A (en) | 2016-02-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105337892B (en) | A kind of data processing method and device | |
CN106063324B (en) | Reorder the method and user equipment of PDCP package | |
US20170085492A1 (en) | Packet data convergence protocol (pdcp) entity and method performed by the same | |
CN107113907A (en) | The method and apparatus managed for dual link | |
CN106068018A (en) | From interrupting the method and apparatus that scene restarts period and carries out handling capacity recovery | |
CN101378338B (en) | Method and apparatus for implementing bidirectional transmit-receive detection | |
US11159981B2 (en) | Congestion processing method and apparatus | |
US11876719B2 (en) | Systems and methods for managing transmission control protocol (TCP) acknowledgements | |
US11882051B2 (en) | Systems and methods for managing transmission control protocol (TCP) acknowledgements | |
EP2901644A1 (en) | Method and apparatus for scheduling control | |
CN106130827B (en) | The detection method and device of network equipment accessibility | |
US9660925B2 (en) | Method and apparatus for implementing scheduling in Ping process | |
WO2022005819A1 (en) | Layered missing packet detection | |
CN103338158B (en) | A kind of GOOSE message transmission delay jitter suppression method | |
Lesi et al. | Reliable industrial IoT-based distributed automation | |
CN105722122A (en) | Method and device for optimizing user plane time delay | |
CN104837162B (en) | A kind of processing data switch the method and device of time-out | |
CN102347909B (en) | Method and device for sending massive protocol messages | |
EP2679047A1 (en) | Method and device for congestion situations | |
CN102546399B (en) | Intelligent transformer substation process level message linear processing framework and intelligent transformer substation process level message linear processing method | |
CN107359972A (en) | A kind of data receiver method and device | |
CN102790663A (en) | Full-hardware network interface applied to very long baseline interferometry (VLBI) hardware related processor | |
CN106559811A (en) | Bluetooth data reception control method and device | |
US7113517B2 (en) | Configurable hardware scheduler calendar search algorithm | |
EP3613238A1 (en) | Methods and service nodes for transferring a service session for a wireless 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |