CN103873192B - Data processing method and device - Google Patents

Data processing method and device Download PDF

Info

Publication number
CN103873192B
CN103873192B CN201210548642.6A CN201210548642A CN103873192B CN 103873192 B CN103873192 B CN 103873192B CN 201210548642 A CN201210548642 A CN 201210548642A CN 103873192 B CN103873192 B CN 103873192B
Authority
CN
China
Prior art keywords
data
length
block
data block
section
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210548642.6A
Other languages
Chinese (zh)
Other versions
CN103873192A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201210548642.6A priority Critical patent/CN103873192B/en
Publication of CN103873192A publication Critical patent/CN103873192A/en
Application granted granted Critical
Publication of CN103873192B publication Critical patent/CN103873192B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Detection And Prevention Of Errors In Transmission (AREA)
  • Communication Control (AREA)

Abstract

The invention discloses a kind of data processing method and device, belong to the communications field.Methods described includes:Pending data block and the current treated length for allowing processing data are obtained, at least one data segment is included in the pending data block, each data segment is one kind in entire data section and divided data section, and divided data section is the subdata section after entire data section is segmented;Detect the data length whether treated length is less than the pending data block;If detecting, the treated length is less than the data length of the pending data block, currently processed data block is then read out in the pending data block according to the treated length, entire data section is only included in the currently processed data block or only includes a divided data section.The present invention solves the data of reading while includes entire data section and divided data section, causes the algorithm for calculating the header of currently processed data block complicated, the problem of easily error, has reached simplified retransmission processes, improved the effect for retransmitting accuracy.

Description

Data processing method and device
Technical field
The present invention relates to the communications field, more particularly to a kind of data processing method and device.
Background technology
RLC(Radio Link Control, wireless spread-spectrum technology)AM(Acknowledged Mode, affirmation mode) Entity receives high-rise incoming SDU(Service Data Unit, service data unit)Afterwards, sealed after adding header to SDU Dress up PDU(Pocket Data Unit, Packet Data Unit), and the PDU after encapsulation is transmitted.In order to ensure receiving terminal PDU can be properly received, AM entities use ARQ(Automatic Repeat-request, HARQ)Mechanism, i.e. AM PDU after transmission is stored in re-transmission caching by entity, is successfully referred to when receiving being received to some PDU for receiving terminal transmission When showing, the PDU is deleted in caching is retransmitted, when the retransmit to some PDU reception failure for receiving receiving terminal transmission When, retransmitted to retransmitting the PDU in caching.
The channel of resource instruction is sent due to each moment allows the data length of transmission different, if current time is sent out The treated length for sending resource to indicate is less than the data length in PDU to be retransmitted, then needs to treat re-transmission PDU and be segmented, and right Current PDU sections after segmentation are retransmitted, then it is next or under several moment remaining PDU sections are retransmitted.Further, If retransmitting failure comprising SDU sections and current PDU sections in current PDU sections, the current PDU sections can be retransmitted, now, Using current PDU sections as PDU to be retransmitted, and SDU sections are included in the PDU to be retransmitted.
Fig. 1 is refer to, the schematic diagram of the data processing method provided it illustrates prior art.In existing data processing In method, AM entities obtain PDU to be retransmitted and send the current treated length for allowing to transmit data, comprising extremely in PDU to be retransmitted A few data segment, each data segment are one kind in SDU and SDU sections, and SDU sections are the subdata sections after SDU is segmented, root The data that length is treated length are read in PDU to be retransmitted according to treated length, using the data of reading as current PDU sections, and The PDU sections are retransmitted.
During the present invention is realized, inventor has found that prior art at least has problems with:
According to treated length when the data that length is treated length are read in retransmitting PDU, the data of reading may be same When include SDU and SDU sections, cause to calculate that the algorithm of the header of current PDU sections is complicated, and easily error, have impact on the standard of re-transmission True property.
The content of the invention
In order to solve the data read while include entire data section and divided data section, cause to calculate currently processed data block The algorithm of header is complicated, and the problem of easily error, the embodiments of the invention provide a kind of data processing method and device.It is described Technical scheme is as follows:
On the one hand, there is provided a kind of data processing method, methods described include:
Pending data block and the current treated length for allowing processing data are obtained, is included extremely in the pending data block A few data segment, each data segment are one kind in entire data section and divided data section, and the divided data section is the entire data Subdata section after Duan Jinhang segmentations;
Detect the data length whether treated length is less than the pending data block;
If detecting, the treated length is less than the data length of the pending data block, according to the treated length Read out currently processed data block in the pending data block, in the currently processed data block only comprising entire data section or Person only includes a divided data section.
On the other hand, there is provided a kind of data processing equipment, described device include:
Acquisition module, it is described pending for obtaining pending data block and the current treated length for allowing processing data Include at least one data segment in data block, each data segment is one kind in entire data section and divided data section, the divided data Section is the subdata section after the entire data section is segmented;
Detection module, whether it is less than the pending data block for detecting the treated length that the acquisition module obtains Data length;
Read module, if detecting that the treated length is less than the number of the pending data block for the detection module According to length, then currently processed data block, the current place are read out in the pending data block according to the treated length Entire data section is only included in reason data block or only includes a divided data section.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought is:
It is described current by reading out currently processed data block in the pending data block according to the treated length Entire data section is only included in processing data block or only includes a divided data section, the data of reading is solved while includes integer According to section and divided data section, cause the algorithm for calculating the header of currently processed data block complicated, the problem of easily error, reach Simplify retransmission processes, improve the effect for retransmitting accuracy.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, make required in being described below to embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings Accompanying drawing.
Fig. 1 is the schematic diagram for the data processing method that prior art provides;
Fig. 2 is the method flow diagram for the data processing method that the embodiment of the present invention one provides;
Fig. 3 is the method flow diagram for the data processing method that the embodiment of the present invention two provides;
Fig. 4 is the schematic diagram for the data processing method that the embodiment of the present invention two provides;
Fig. 5 is the structural representation for the data processing equipment that the embodiment of the present invention three provides;
Fig. 6 is the structural representation for the data processing equipment that the embodiment of the present invention four provides.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention Formula is described in further detail.
Embodiment one
Fig. 2 is refer to, the method flow diagram of the data processing method provided it illustrates the embodiment of the present invention one, the data Processing method can apply in any scene being segmented to data.The method of the data processing, including:
Step 202:Obtain pending data block and currently allow the treated length of processing data, in the pending data block Comprising at least one data segment, each data segment is one kind in entire data section and divided data section, and divided data section is entire data section Subdata section after being segmented;
Wherein, the treated length of data depends on process resource, when process resource is more, to the treated lengths of data compared with It is long;It is shorter to the treated length of data when process resource is less, therefore, it is necessary to obtain when handling pending data The current treated length for allowing processing data.
Step 204:Whether detection process length is less than the data length of pending data block;
Wherein, the method for obtaining the data length of pending data block has many kinds, for example, can directly read pending The data length of data block, or, it is known that the length of header in the total length and pending data block of pending data block, will The length that total length subtracts header can obtain data length in pending data block etc., and the present embodiment is not waited to locate to obtaining The data length of reason data block is construed as limiting.
Step 206:If detecting, treated length is less than the data length of pending data block, is being treated according to treated length Currently processed data block is read out in processing data block, one is only included comprising entire data section or only in currently processed data block Divided data section.
If detecting, treated length is less than the data length of pending data block, according to treated length in pending data Currently processed data block is read out in block, deserves only to include correction data section in pre-processing data block or only includes a divided data Section.
In summary, data processing method provided in an embodiment of the present invention, by being treated according to the treated length described Currently processed data block is read out in processing data block, entire data section is only included in the currently processed data block or is only included One divided data section, solve the data of reading while include entire data section and divided data section, cause to calculate currently processed data The algorithm of the header of block is complicated, the problem of easily error, has reached simplified retransmission processes, has improved the effect for retransmitting accuracy.
Embodiment two
Fig. 3 is refer to, the method flow diagram of the data processing method provided it illustrates the embodiment of the present invention two, the data Processing method can apply in any scene being segmented to data.The embodiment of the present invention is with the data processing method application Being illustrated exemplified by the AM entities of rlc layer, then pending data block can be specially to retransmit the PDU to be retransmitted in caching, Then data segment can be specially SDU or SDU sections, and SDU sections are the subdata sections after being segmented to SDU.The data processing side Method, including:
Step 302:The retransmit corresponding to this retransmission processes and transmission resource instruction are received, is obtained according to retransmit The data to be retransmitted in re-transmission caching are taken to obtain treated length according to resource instruction is sent as pending data block;
Retransmit is that at least one pending data block of receiving terminal feedback receives the finger that wrong, needs are resend Show.Can be specially PDU state reports when the retransmit in the AM entities that retransmit is rlc layer.The PDU state reports The PDU that sequence number SN, AM entity can find SN marks according to SN in caching is retransmitted can be included in announcement, and to this PDU is retransmitted.
The instruction that resource instruction is current time processing resource allocation is sent, the data of processing are allowed corresponding to current time Length.When sending the transmission resource instruction that resource is designated as in the AM entities of rlc layer, process resource can be specially channel money Source.The present embodiment does not limit the sequencing for receiving retransmit and sending resource instruction.
Step 304:Whether detection process length is less than the data length of pending data block;
Wherein, the method for obtaining the data length of pending data block has many kinds, for example, can directly read pending The data length of data block, or, it is known that the length of header in the total length and pending data block of pending data block, will The length that total length subtracts header can obtain data length in pending data block etc., and the present embodiment is not waited to locate to obtaining The data length of reason data block is construed as limiting.
The present embodiment exemplified by calculating PDU to be retransmitted data length to illustrate, then PDU to be retransmitted known to AM entities The length of total length and header in PDU to be retransmitted, total length is subtracted to the length of header can obtain number in PDU to be retransmitted According to data length, and according to the treated length of acquisition detect the treated length whether be less than PDU to be retransmitted data length.
Step 306:If detecting, treated length is less than the data length of pending data block, continues to detect pending number Whether it is divided data section according to first data segment in block, if detecting, first data segment is divided data in pending data section Section, then perform step 308;If it is entire data section to detect first data segment, step 314 is performed;
Due to only including entire data section in currently processed data segment or only including a divided data section, wait to locate if detecting First data segment for managing data block is divided data section, then only needs that the divided data section is segmented or retransmitted.
It is possible to further set identification information in the header of pending data block, to identify first data segment Whether it is divided data section.Specifically, illustrated exemplified by identification information is set in the header in PDU to be retransmitted, then AM is real Body identifies in the PDU to be retransmitted whether include SDU sections by setting framing information FI in header.Specifically, can incite somebody to action FI is arranged to 00 and does not include SDU sections in PDU to be retransmitted to identify, and FI is arranged into 01 includes one to identify in the PDU to be retransmitted Individual SDU sections and last data segment are SDU sections, FI is arranged to 10 identifying in the PDU to be retransmitted comprising a SDU section and First data segment is SDU sections, and FI is arranged into 11 includes two SDU sections and first and last to identify the PDU to be retransmitted One data segment is SDU sections etc., and the identification means that the present embodiment does not treat SDU sections in re-transmission PDU are construed as limiting.
Based on the identification means of SDU sections in above-mentioned PDU to be retransmitted, if AM entities detect FI in header for 10 or 11, it is determined that first data segment is SDU sections, performs step 308;If AM entities detect that the FI in header is 00 or 01, Then determine that first data segment is SDU, performs step 314.
Step 308:Continue the length whether detection process length is more than first data segment, if detecting treated length not More than the length of first data segment, then step 310 is performed;If detecting, treated length is more than the length of first data segment, Then perform step 312;
Wherein, only need to be in first data segment if detecting length of the treated length no more than first data segment Data be read out;If detecting, treated length is more than the length of first data segment, need to first data segment and The data in data segment after first data segment are read out.
Further, the length of first data segment can also be calculated according to pending data block.Specifically, treated with basis Retransmit exemplified by PDU calculates first data segment and illustrate, if then only including a data segment in PDU to be retransmitted, can incite somebody to action PDU to be retransmitted total length subtracts the length of header in PDU to be retransmitted, and obtains the length of first data segment;If wait to retransmit At least two data segments are included in PDU, then can be obtained by first Length Indication LI in PDU to be retransmitted header The length of one data segment.Wherein, a LI corresponds to a data segment, and last data segment is without corresponding LI.
Step 310:The data that length is treated length are read out in first data segment, are write data into currently processed Data block, flow terminate.
Due to length of the treated length no more than first data segment, therefore, directly can be read in first data segment Take out the data that length is treated length.Specifically, illustrated by taking SDU sections as an example, if then AM entities detect treated length No more than the length of the SDU sections, then the data that length is treated length are read in the SDU sections, and the data of reading are write Current PDU sections, flow terminate.
Step 312:The data of first data segment are write into currently processed data block, and in currently processed data block Remaining data position carries out data filling, and flow terminates.
Because treated length is more than the length of first data segment, therefore, the number of first data segment can be directly read According to.Specifically, illustrated by taking SDU sections as an example, if then AM entities detect that treated length is more than the length of the SDU sections, AM Entity determines the data of this transmission SDU section, and the remaining data position in current PDU sections is filled, current to meet The form of PDU sections, flow terminate.
Step 314:The data that length is treated length are read out in pending data block, are write data into currently processed Data block;
Because first data segment is entire data section, therefore, the data that length is treated length can be directly read.Specifically Ground, illustrate by taking SDU as an example, if then AM entities detect that first data segment in PDU to be retransmitted is SDU, treated at this The data for reading that length is treated length in PDU are retransmitted, and the data of reading are write into current PDU sections.
Step 316:Detect whether last data segment in data is divided data section;If detect last in data Data segment is divided data section, then abandons last data segment, and enter line number to the remaining data position in currently processed data block According to filling.
Due to only including entire data section in currently processed data block, illustrated so that current PDU sections only include SDU as an example, Then step 314 is write data into after current PDU sections, it is also necessary to detect in the data of reading last data segment whether be SDU sections;If it is SDU sections to detect last data segment, the SDU sections are abandoned, and the remaining data position in current PDU is entered Row data are filled, and to meet the form of PDU sections, flow terminates;If it is SDU to detect last data segment, flow terminates.
It should be added that read out according to treated length in pending data block currently processed data block it Afterwards, can also include:
If only including entire data section in currently processed data block, first is set in the header of currently processed data block Mark, first identifies and only includes entire data block for identifying in currently processed data block;
If only including a divided data section in currently processed data block, set in the header of currently processed data block Second mark, second identifies and only includes a divided data section for identifying in currently processed data block.
Further, in order to simplify calculating process of the receiving terminal to the header of currently processed data block, can also work as First mark and the second mark are set in pre-processing data block, and first mark is used for identifying only including in currently processed data block Entire data section, the second mark, which is used for identifying in currently processed data block, only includes a divided data section.
Specifically, illustrated so that currently processed data block is current PDU as an example, if only including SDU in current PDU sections, Then the FI in the header of current PDU sections can be arranged to 00, so that receiving terminal is judged in current PDU sections only according to the FI Include SDU;
If only including a SDU section in current PDU sections, the FI in the header of current PDU sections can be arranged to 10 Or 11, so that receiving terminal is judged in current PDU sections according to the FI only to include a SDU section.Further, since in current PDU sections A SDU section only is included, then is not provided with LI in the header of the current PDU sections, can further simplify the calculating of header Journey.
According to the data processing method of above-mentioned offer, Fig. 4 is refer to, it illustrates the data that the embodiment of the present invention two provides The schematic diagram of processing method.SDU is only included in Fig. 4, in current PDU sections or only includes a SDU section.
In summary, data processing method provided in an embodiment of the present invention, by being treated according to the treated length described Currently processed data block is read out in processing data block, entire data section is only included in the currently processed data block or is only included One divided data section, solve the data of reading while include entire data section and divided data section, cause to calculate currently processed data The algorithm of the header of block is complicated, the problem of easily error, has reached simplified retransmission processes, has improved the effect for retransmitting accuracy. In addition, by setting the first mark, or the header in currently processed data block in the header of currently processed data block It is middle that second mark is set, solve the problems, such as receiving terminal to the calculating complexity of the header of currently processed data block received, The effect of simplified retransmission processes is reached.
Embodiment three
Fig. 5 is refer to, the structural framing figure of the data processing equipment provided it illustrates the embodiment of the present invention three, the data Processing unit can apply in any equipment being segmented to data.The data processing equipment, including:
Acquisition module 510, for obtaining pending data block and the current treated length for allowing processing data, pending number According at least one data segment is included in block, each data segment is one kind in entire data section and divided data section, and divided data section is whole Data segment be segmented after subdata section;
Whether detection module 520, the treated length for detecting the acquisition of acquisition module 510 are less than the number of pending data block According to length;
Read module 530, if detecting that treated length is less than the data length of pending data block for detection module 520 Degree, then read out currently processed data block according to treated length in pending data block, only included in currently processed data block Entire data section only includes a divided data section.
In summary, data processing equipment provided in an embodiment of the present invention, by being treated according to the treated length described Currently processed data block is read out in processing data block, entire data section is only included in the currently processed data block or is only included One divided data section, solve the data of reading while include entire data section and divided data section, cause to calculate currently processed data The algorithm of the header of block is complicated, the problem of easily error, has reached simplified retransmission processes, has improved the effect for retransmitting accuracy.
Example IV
Fig. 6 is refer to, the structural framing figure of the data processing equipment provided it illustrates the embodiment of the present invention four, the data Processing unit can apply in any equipment being segmented to data.The data processing equipment, including:Acquisition module 510, Detection module 520 and read module 530.
Acquisition module 510, for obtaining pending data block and the current treated length for allowing processing data, pending number According at least one data segment is included in block, each data segment is one kind in entire data section and divided data section, and divided data section is whole Data segment be segmented after subdata section;
Whether detection module 520, the treated length for detecting the acquisition of acquisition module 510 are less than the number of pending data block According to length;
Read module 530, if detecting that treated length is less than the data length of pending data block for detection module 520 Degree, then read out currently processed data block according to treated length in pending data block, only included in currently processed data block Entire data section only includes a divided data section.
Further, read module 530 can include:
First detection unit 610, whether it is divided data section for detecting first data segment in pending data block;
Second detection unit 620, if detecting first data segment in pending data section for the first detection unit 610 It is divided data section, then continues the length whether detection process length is more than first data segment;
First reading unit 630, if detecting that treated length is not more than first data segment for the second detection unit 620 Length, then read out in first data segment length be treated length data, write data into currently processed data block;
Second reading unit 640, if detecting that treated length is more than first data segment for the second detection unit 620 Length, then the data of first data segment are write into currently processed data block, and to the remaining data in currently processed data block Position carries out data filling.
Further, read module 530 can also include:
3rd reading unit 650, if detecting that first data segment is entire data section for the first detection unit 610, The data that length is treated length are read out in pending data block, write data into currently processed data block.
Further, read module 530 can also include:
3rd detection unit 660, length is read out in pending data block for the 3rd reading unit 650 and is grown for processing After the data of degree, detect whether last data segment in data is divided data section;
Discarding unit 670, if detecting that last data segment is divided data in data for the 3rd detection unit 660 Section, then last data segment is abandoned, and data filling is carried out to the remaining data position in currently processed data block.
Further, acquisition module 510 can include:
Receiving unit 710, for receiving retransmit and transmission resource instruction corresponding to this retransmission processes;
First acquisition unit 720, the retransmit for being received according to receiving unit 710, which obtains to retransmit in caching, treats weight Data are passed as pending data block;
Second acquisition unit 730, the transmission resource instruction for being received according to receiving unit 710 obtain treated length.
Further, the device can also include:
First setup module 540, read out for read module 530 in pending data block according to treated length current After processing data block, if only entire data section is included in currently processed data block, in the header of currently processed data block First mark is set, and first identifies and only include entire data block for identifying in currently processed data block;
Second setup module 550, read out for read module 530 in pending data block according to treated length current After processing data block, if only including a divided data section in currently processed data block, believe in the head of currently processed data block Second mark is set in breath, and second identifies and only include a divided data section for identifying in currently processed data block.
In summary, data processing equipment provided in an embodiment of the present invention, by being treated according to the treated length described Currently processed data block is read out in processing data block, entire data section is only included in the currently processed data block or is only included One divided data section, solve the data of reading while include entire data section and divided data section, cause to calculate currently processed data The algorithm of the header of block is complicated, the problem of easily error, has reached simplified retransmission processes, has improved the effect for retransmitting accuracy. In addition, by setting the first mark, or the header in currently processed data block in the header of currently processed data block It is middle that second mark is set, solve the problems, such as receiving terminal to the calculating complexity of the header of currently processed data block received, The effect of simplified retransmission processes is reached.
It should be noted that:The data processing equipment that above-described embodiment provides is when carrying out data processing, only with above-mentioned each The division progress of functional module, can be as needed and by above-mentioned function distribution by different work(for example, in practical application Energy module is completed, i.e., the internal structure of data processing equipment is divided into different functional modules, described above complete to complete Portion or partial function.In addition, the data processing equipment that above-described embodiment provides belongs to same with data processing method embodiment Design, its specific implementation process refer to embodiment of the method, repeated no more here.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that hardware can be passed through by realizing all or part of step of above-described embodiment To complete, by program the hardware of correlation can also be instructed to complete, described program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all the present invention spirit and Within principle, any modification, equivalent substitution and improvements made etc., it should be included in the scope of the protection.

Claims (10)

1. a kind of data processing method, it is characterised in that methods described includes:
The current treated length and pending data block for allowing processing data is obtained, at least one is included in the pending data block Individual data segment, each data segment are one kind in entire data section and divided data section, and the divided data section is that the entire data section is entered Subdata section after row segmentation;
Detect the data length whether treated length is less than the pending data block;
If detecting, the treated length is less than the data length of the pending data block, according to the treated length in institute State and currently processed data block is read out in pending data block, only comprising entire data section or only in the currently processed data block Include a divided data section;
It is described that currently processed data block is read out in the pending data block according to the treated length, including:
Detect whether first data segment in the pending data block is divided data section;
If detecting, first data segment is divided data section in the pending data section, continue to detect the treated length be The no length more than first data segment;
If detecting, the treated length is not more than the length of first data segment, is read in first data segment The data that length is the treated length are taken out, the data are write into the currently processed data block;
If detecting, the treated length is more than the length of first data segment, by the data of first data segment The currently processed data block is write, and data filling is carried out to the remaining data position in the currently processed data block.
2. data processing method according to claim 1, it is characterised in that the in the detection pending data block After whether one data segment is divided data section, in addition to:
If it is entire data section to detect first data segment, it is described to read out length in the pending data block The data of treated length, the data are write into the currently processed data block.
3. data processing method according to claim 2, it is characterised in that described to be read in the pending data block Go out after the data that length is the treated length, in addition to:
Detect whether last data segment in the data is divided data section;
If detecting, last data segment is divided data section in the data, abandons last described data segment, and right Remaining data position in the currently processed data block carries out data filling.
4. data processing method according to any one of claims 1 to 3, it is characterised in that the acquisition currently allows to handle The treated length and pending data block of data, including:
Receive the retransmit corresponding to this retransmission processes and transmission resource instruction;
Data to be retransmitted in retransmit acquisition re-transmission caching are as pending data block;
The treated length is obtained according to the transmission resource instruction.
5. data processing method according to any one of claims 1 to 3, it is characterised in that described according to the treated length After currently processed data block being read out in the pending data block, in addition to:
If only including entire data section in the currently processed data block, set in the header of the currently processed data block First mark, described first identifies and only includes entire data block for identifying in the currently processed data block;
If a divided data section only is included in the currently processed data block, in the header of the currently processed data block Second mark is set, and described second identifies and only include a divided data section for identifying in the currently processed data block.
6. a kind of data processing equipment, it is characterised in that described device includes:
Acquisition module, for obtaining the current treated length and pending data block for allowing processing data, the pending data At least one data segment is included in block, each data segment is one kind in entire data section and divided data section, and the divided data section is The entire data section be segmented after subdata section;
Detection module, the data of the pending data block whether are less than for detecting the treated length that the acquisition module obtains Length;
Read module, if detecting that the treated length is less than the data length of the pending data block for the detection module Degree, then read out currently processed data block, the currently processed number according to the treated length in the pending data block Entire data section is included according in block or only includes a divided data section;
The read module includes:
First detection unit, whether it is divided data section for detecting first data segment in the pending data block;
Second detection unit, if detecting that first data segment is in the pending data section for first detection unit Divided data section, then continue to detect the length whether treated length is more than first data segment;
First reading unit, if detecting that the treated length is not more than first data for second detection unit The length of section, then the data that length is the treated length are read out in first data segment, the data are write The currently processed data block;
Second reading unit, if detecting that the treated length is more than first data segment for second detection unit Length, then the data of first data segment are write into the currently processed data block, and to the currently processed data Remaining data position in block carries out data filling.
7. data processing equipment according to claim 6, it is characterised in that the read module also includes:
3rd reading unit, if detecting that first data segment is entire data section for first detection unit, The data that length is the treated length are read out in the pending data block, the data are write into the currently processed number According to block.
8. data processing equipment according to claim 7, it is characterised in that the read module also includes:
3rd detection unit, it is the processing that length is read out in the pending data block for the 3rd reading unit After the data of length, detect whether last data segment in the data is divided data section;
Discarding unit, if detecting that last data segment is divided data section in the data for the 3rd detection unit, Last described data segment is then abandoned, and data filling is carried out to the remaining data position in the currently processed data block.
9. according to any described data processing equipment of claim 6 to 8, it is characterised in that the acquisition module includes:
Receiving unit, for receiving retransmit and transmission resource instruction corresponding to this retransmission processes;
First acquisition unit, the retransmit for being received according to the receiving unit obtain the data to be retransmitted retransmitted in caching As pending data block;
Second acquisition unit, the transmission resource instruction for being received according to the receiving unit obtain the treated length.
10. according to any described data processing equipment of claim 6 to 8, it is characterised in that described device also includes:
First setup module, read out and worked as in the pending data block according to the treated length for the read module After pre-processing data block, if only entire data section is included in the currently processed data block, in the currently processed data block Header in the first mark is set, described first identifies and only includes entire data for identifying in the currently processed data block Block;
Second setup module, read out and worked as in the pending data block according to the treated length for the read module After pre-processing data block, if only a divided data section is included in the currently processed data block, in the currently processed number According to the second mark is set in the header of block, described second identifies for identifying in the currently processed data block only comprising one Divided data section.
CN201210548642.6A 2012-12-17 2012-12-17 Data processing method and device Active CN103873192B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210548642.6A CN103873192B (en) 2012-12-17 2012-12-17 Data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210548642.6A CN103873192B (en) 2012-12-17 2012-12-17 Data processing method and device

Publications (2)

Publication Number Publication Date
CN103873192A CN103873192A (en) 2014-06-18
CN103873192B true CN103873192B (en) 2017-12-26

Family

ID=50911353

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210548642.6A Active CN103873192B (en) 2012-12-17 2012-12-17 Data processing method and device

Country Status (1)

Country Link
CN (1) CN103873192B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105302853A (en) * 2015-09-17 2016-02-03 浪潮(北京)电子信息产业有限公司 Data reconstruction method and apparatus
EP3547576B1 (en) * 2016-11-23 2021-07-07 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Data processing method, and terminal device and network device
CN109165234B (en) * 2018-09-19 2021-03-09 北京云迹科技有限公司 Robot abnormity analysis method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW513642B (en) * 2001-04-03 2002-12-11 Asustek Comp Inc Length indicator for a protocol data unit in a wireless communications protocol
CN101039170A (en) * 2006-03-15 2007-09-19 华为技术有限公司 Method for supporting packet retransmission division cascade
CN101252412A (en) * 2008-03-07 2008-08-27 中兴通讯股份有限公司 Method for restoring missed package in multimedia broadcast service
CN101431515B (en) * 2008-11-07 2011-12-14 中国科学院计算技术研究所 Method and system for data transmission in non-affirmation mode
CN102790659A (en) * 2012-07-18 2012-11-21 福建先创通信有限公司 Method for transmitting data packet in mobile communication system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100516671B1 (en) * 1999-05-24 2005-09-22 삼성전자주식회사 Variable-length Data Transmitting and Receiving Apparatus and Method in accordance with Radio Link Protocol for Mobile Telecommunication System
KR100950843B1 (en) * 2005-08-23 2010-04-02 노키아 코포레이션 Radio link control unacknowledged mode header optimization
KR101326474B1 (en) * 2007-02-06 2013-11-07 엘지전자 주식회사 Method for transmitting data block in wireless communication system
US20090129315A1 (en) * 2007-11-21 2009-05-21 Qualcomm Incorporated Data discard for radio link control in wireless networks
CN102315923B (en) * 2011-09-01 2013-11-20 中国空间技术研究院 Radio link control method of 3G (The 3rd Generation) satellite communication system
CN102299777B (en) * 2011-09-06 2018-02-09 中兴通讯股份有限公司 Data repeating method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW513642B (en) * 2001-04-03 2002-12-11 Asustek Comp Inc Length indicator for a protocol data unit in a wireless communications protocol
CN101039170A (en) * 2006-03-15 2007-09-19 华为技术有限公司 Method for supporting packet retransmission division cascade
CN101252412A (en) * 2008-03-07 2008-08-27 中兴通讯股份有限公司 Method for restoring missed package in multimedia broadcast service
CN101431515B (en) * 2008-11-07 2011-12-14 中国科学院计算技术研究所 Method and system for data transmission in non-affirmation mode
CN102790659A (en) * 2012-07-18 2012-11-21 福建先创通信有限公司 Method for transmitting data packet in mobile communication system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
LTE RLC层数据传输功能的研究及实现;黄明峰;《广东通信技术》;20100815(第08期);正文第67-71页 *

Also Published As

Publication number Publication date
CN103873192A (en) 2014-06-18

Similar Documents

Publication Publication Date Title
US9049017B2 (en) Efficient TCP ACK prioritization in wireless networks
US7948893B2 (en) Mobile communication system, base station device and method of estimating number of uplink packet retransmissions thereof
CN105471549B (en) Block based on the control of A-MPDU subframe position information confirms system and method
CA2647872C (en) Data retransmission method and wireless communication apparatus
CN104836646B (en) A kind of RLC AM patterns transmission reliability Enhancement Method
CA2452268A1 (en) Apparatus and method for supporting automatic repeat request in a high-speed wireless packet data communication system
CA2466231A1 (en) Time-aware best-effort hole-filling retry method and system for network communications
CN103354482B (en) A kind of data transmission method, system and base station and user equipment
EP2136499A1 (en) Retransmission request transmitting method, transmitting side apparatus and receiving side apparatus
CN103873192B (en) Data processing method and device
TW201002015A (en) Method for dynamic packet retransmission for radio link control layer in a wireless communications system
US20100144364A1 (en) Retransmission control method and transmitting-side apparatus
BRPI0722113B1 (en) WIRELESS COMMUNICATION DEVICE, WIRELESS COMMUNICATION DEVICE, WIRELESS COMMUNICATION METHOD, STORAGE MEDIA AND WIRELESS COMMUNICATION METHOD
TW201019645A (en) System and method for data transmission
CN105264806B (en) A kind of transmission method and equipment of data message
US20150117176A1 (en) Data communications using connectionless-oriented protocol
KR101376583B1 (en) Apparatus and method for nack configuration in mobile communication system
CN102315919A (en) Method and equipment for combining hybrid automatic repeat request (HARQ) data
US20100153808A1 (en) Method of transmission of large data amounts in sensor network based on mac
CN104396172B (en) Automatic retransmission processing method, sending ending equipment and receiving device
CN103078722B (en) A kind of method and device of request data retransmission
CN107566093A (en) Across the RLC ARQ methods of base station carrier paradigmatic system and base station
KR100896507B1 (en) Hierachical Header Format and Method of data transmission for Communication System
CN103067143B (en) Radio communication device
JP2012165391A (en) Data retransmission method

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