CN108632302B - Information transmission method and device - Google Patents

Information transmission method and device Download PDF

Info

Publication number
CN108632302B
CN108632302B CN201710155209.9A CN201710155209A CN108632302B CN 108632302 B CN108632302 B CN 108632302B CN 201710155209 A CN201710155209 A CN 201710155209A CN 108632302 B CN108632302 B CN 108632302B
Authority
CN
China
Prior art keywords
sequence
rlc
rlc pdus
pdu
arrangement
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
CN201710155209.9A
Other languages
Chinese (zh)
Other versions
CN108632302A (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.)
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
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 China Mobile Communications Group Co Ltd, China Mobile Communications Ltd Research Institute filed Critical China Mobile Communications Group Co Ltd
Priority to CN201710155209.9A priority Critical patent/CN108632302B/en
Publication of CN108632302A publication Critical patent/CN108632302A/en
Application granted granted Critical
Publication of CN108632302B publication Critical patent/CN108632302B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/30Definitions, standards or architectural aspects of layered protocol stacks
    • H04L69/32Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
    • H04L69/322Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/90Buffering arrangements
    • H04L49/9057Arrangements for supporting packet reassembly or resequencing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/30Definitions, standards or architectural aspects of layered protocol stacks
    • H04L69/32Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
    • H04L69/322Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions
    • H04L69/324Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions in the data link layer [OSI layer 2], e.g. HDLC

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses an information transmission method and an information transmission device, wherein the method comprises the following steps: receiving a Media Access Control (MAC) layer Protocol Data Unit (PDU) sent by a MAC layer, and extracting a radio link control protocol (RLC) PDU contained in the PDU from the MAC layer PDU; when the number of the RLC PDUs is larger than 1, acquiring a sequence number of each RLC PDU, and determining the arrangement sequence of each RLC PDU based on the sequence number; and transmitting the data packets contained in the RLC PDUs to a PDCP layer based on the arrangement sequence.

Description

Information transmission method and device
Technical Field
The present invention relates to information transmission technologies in the field of communications, and in particular, to an information transmission method and apparatus.
Background
The Radio Link Control (RLC) layer specified in the 5G Radio network RLC protocol has two packet delivery methods: submitting the Data packets to a Packet Data Convergence Protocol (PDCP) layer according to the sequence received from a bottom layer (a Media Access Control (MAC) layer); the complete packet PDCP Protocol Data Unit (PDU) may be delivered out of order to the PDCP. However, this processing method may cause a large processing load on the PDCP layer and reduce the processing efficiency of the PDCP layer.
Disclosure of Invention
The present invention is directed to an information transmission method and apparatus, which are used to solve the above-mentioned problems in the prior art.
In order to achieve the above object, the present invention provides an information transmission method, including:
receiving a Media Access Control (MAC) layer protocol PDU sent by a MAC layer, and extracting an RLC PDU contained in the MAC layer PDU from the MAC layer PDU;
when the number of the RLC PDUs is larger than 1, acquiring a sequence number of each RLC PDU, and determining the arrangement sequence of each RLC PDU based on the sequence number;
and transmitting the data packets contained in the RLC PDUs to a PDCP layer based on the arrangement sequence.
The present invention provides an information transmission apparatus, the apparatus including:
a receiving unit, configured to receive a MAC layer protocol data unit PDU sent by a media access control MAC layer, and extract an RLC PDU included in the MAC layer PDU from the MAC layer PDU;
the sequencing unit is used for acquiring the sequence number of each RLC PDU when the number of the RLC PDUs is larger than 1, and determining the sequence of each RLC PDU based on the sequence number;
and a transmission unit, configured to transmit the data packets included in each RLC PDU to a PDCP layer based on the ordering order.
The information transmission method and the device can sequence a plurality of RLC PDUs before the PDUs transmitted by the MAC layer are sent to the PDCP layer, and transmit data packets contained in the RLC PDUs to the PDCP layer based on the sequencing. Therefore, the data packets to be transmitted to the PDCP layer can be sequenced in advance, so that the processing load of the PDCP layer is reduced, and the processing efficiency of the PDCP layer is ensured.
Drawings
FIG. 1 is a schematic flow chart diagram 1 illustrating a configuration method according to an embodiment of the present invention;
FIG. 2 is a schematic view of a processing scenario of an embodiment of the present invention 1;
FIG. 3 is a schematic view of a processing scenario of an embodiment of the present invention 2;
FIG. 4 is a schematic diagram of a sorting process according to an embodiment of the present invention 1;
FIG. 5 is a schematic diagram of a sorting process according to an embodiment of the present invention, shown in FIG. 2;
FIG. 6 is a schematic diagram of a sorting process according to an embodiment of the present invention 3;
FIG. 7 is a schematic diagram of an apparatus according to an embodiment of the present invention;
fig. 8 is a schematic diagram of a hardware component structure of an apparatus according to an embodiment of the present invention.
Detailed Description
The invention is described in further detail below with reference to the figures and specific examples.
The first embodiment,
An embodiment of the present invention provides an information transmission method, as shown in fig. 1, including:
step 101: receiving a Media Access Control (MAC) layer Protocol Data Unit (PDU) sent by an MAC layer, and extracting the RLC PDU contained in the PDU from the MAC layer PDU;
step 102: when the number of all the RLC PDUs is larger than 1, acquiring the sequence number of each RLC PDU, and determining the arrangement sequence of each RLC PDU based on the sequence number;
step 103: and transmitting the data packets contained in the RLC PDUs to a PDCP layer based on the arrangement sequence.
Here, it should be noted that the application provided in relation to the present embodiment is applied to an apparatus capable of executing the following functions, for example, may be executed: connection control; segmentation/reassembly (i.e., segmenting higher layer PDU packets with different lengths (transmitting end) reassembly (receiving end) into smaller RLC load units (SDUs, i.e., service data units)); cascading; filling; error correction, correcting errors by retransmission in acknowledged mode; transmitting a high-layer PDU; flow control, and the like. For example, the RLC layer may be specifically an entity capable of performing all functions of the RLC layer, and it is understood that the apparatus for performing the functions of the present embodiment may have other functions, which are not exhaustive herein.
The following description is made for the case where the number of RLC PDUs included in one MAC layer PDU is different:
scenario one, a processing method when only one RLC PDU is included in one MAC layer PDU:
in step 101, after the RLC PDU included in the MAC layer PDU is extracted from the MAC layer PDU, the method may further include: and when the extracted number of the RLC PDUs is 1, directly sending the RLC PDUs to a PDCP layer.
For example, when one MAC PDU only includes one RLC PDU, as shown in fig. 2, one MAC PDU only includes one RLC PDU.
The MAC parses the MAC PDU shown in fig. 2, and directly delivers the MAC SDU, i.e., the RLC PDU, to the RLC. After receiving the RLC PDU, the RLC takes out the corresponding RLC SN number, records the Sequence Number (SN), and delivers the RLC SDU, i.e., the PDCP PDU, to the PDCP.
In a second scenario, when only more than 1 rlc PDU is included in one MAC layer PDU, there may be the following two processing manners:
in the first processing mode, when the function of the RLC layer is executed, the RLC PDUs are sequenced based on the sequencing order, and a data packet included in each sequenced RLC PDU is transmitted to the PDCP layer.
Specifically, when more than one RLC PDU is contained in one MAC PDU, as shown in fig. 3, more than one RLC PDU is contained in one MAC PDU, for example, 4 RLC PDUs are contained in the figure.
The MAC parses the MAC PDU shown in fig. 3, and directly delivers the MAC SDU, i.e., the RLC PDU, to the RLC. After receiving a plurality of RLC PDUs, the RLC takes out the corresponding RLC SN number, records the SN, and delivers the data packets contained in the RLC PDUs to the PDCP according to the sequence of the SN numbers, specifically, the data packets contained in the RLC PDUs are RLC SDUs, namely the PDCP PDUs.
And the second processing mode is that only the pointers aiming at the buffer addresses are sent to the PDCP layer according to the arrangement sequence, and then the RLC PDUs are passively sent according to the acquisition request of the PDCP. Specifically, the method comprises the following steps:
after the RLC PDU contained in the MAC layer PDU is extracted from the MAC layer PDU, the method further includes: caching the RLC PDUs, and acquiring a cache address corresponding to each RLC PDU;
correspondingly, the transmitting the data packets contained in the RLC PDUs to the PDCP layer based on the ordering includes:
sending pointer information pointing to the buffer addresses of the RLC PDUs to the PDCP layer according to the arrangement sequence; and transmitting the data packet contained in each RLC PDU to the PDCP layer according to the acquisition request sent by the PDCP layer.
The buffer memory position may be that a plurality of RLC PDUs included in one MAC PDU are buffered in a buffer memory corresponding to the RLC; alternatively, a plurality of RLC PDUs included in one MAC PDU may be buffered in a buffer commonly used by the RLC and PDCP layers.
By adopting the processing mode, when the RLC sequencing sequence is processed, the PDCP PDU is not required to be copied according to the sequence, and only the corresponding pointer is required to be moved. If the PDCP/RLC is the shared buffer, as shown in FIG. 4, it is only necessary to send the buffered pointers of the PDCP PDUs to the PDCP in the above-mentioned order.
If data transfer is required between the PDCP and RLC, as shown in fig. 5, the RLC only needs to fill the message header with the static load offset of the message body according to the above sequence when grouping the PDCP data transfer message. In a word, by adopting the processing mode, the PDCP PDU data packets do not need to be sequenced, and only the address pointers for storing the data packets need to be handed to the PDCP according to the sequence of SN numbers.
Further, it is noted that the manner of how to order the RLC PDUs may include:
the determining the arrangement order of the RLC PDUs based on the sequence numbers comprises:
determining the arrangement sequence of each RLC PDU in all the RLC PDUs based on a first preset threshold value;
or the like, or, alternatively,
and determining the arrangement sequence of each RLC PDU in all the RLC PDUs based on the difference value of the sequence numbers corresponding to the two adjacent RLC PDUs and a second preset threshold value.
The maximum sequence number and the minimum sequence number of the sequence numbers may be related to the length of the sequence numbers, and in a communication system, 0 and 1 are generally used to form some information or identification number, for example, when the length of a Sequence Number (SN) is 8, the maximum sequence number may be 8 powers of 2, that is, the maximum sequence number may be 255, and the minimum sequence number is 0.
Specifically, the specific processing mode for determining the arrangement order of each RLC PDU in all RLC PDUs based on a first preset threshold includes:
selecting N RLC PDUs of which the sequence numbers are larger than a first preset threshold value from all the RLC PDUs, and arranging the N RLC PDUs according to the sequence of the sequence numbers to obtain a first arrangement sequence corresponding to the N RLC PDUs; the first preset threshold value is related to the minimum sequence number and the maximum sequence number which can be contained in the sequence numbers;
selecting M RLC PDUs of which the sequence numbers are smaller than a first preset threshold value from all the RLC PDUs, and arranging the M RLC PDUs according to the sequence of the sequence numbers to obtain a second arrangement sequence corresponding to the M RLC PDUs; wherein M and N are integers, and M + N is equal to the number of all RLC PDUs;
and combining the first arrangement sequence and the second arrangement sequence to obtain the arrangement sequence.
It should be noted that the first preset threshold may be set according to actual situations, for example, a value close to the maximum sequence number may be set to be smaller than the maximum sequence number by a certain value (for example, may be set to be smaller than the maximum sequence number by 10); when the maximum sequence number is 255, the first preset threshold value may be set to 245.
In addition, the manner of combining the first arrangement order and the second arrangement order to obtain the arrangement order may be: and arranging the first arrangement sequence before the second arrangement sequence, and combining to obtain the arrangement sequence.
For example, it may be: when the sequence number in the plurality of RLC PDUs has N RLC PDUs close to the maximum sequence number, the N RLC PDUs can be firstly sequenced, and the specific sequencing mode can be that the N RLC PDUs are sequenced to obtain a first sequencing sequence; then sequencing the rest of the sequences of the plurality of RLC PDUs, and sequencing the rest of the RLC PDUs in a sequence from small to large to obtain a second sequencing sequence; and finally, arranging the N RLC PDUs in the first arrangement order before the plurality of RLC PDUs in the second arrangement order to obtain a final arrangement order.
In this embodiment, the following rules may be referred to in the process of sequentially processing the out-of-order packets:
the sequencing is only carried out according to the sequence of the RLC SN numbers, and the sequencing cannot be carried out according to the SN sizes because the SN is a cycle number;
after the sequencing is finished according to the sequence, the SN can be discontinuous, and the sequencing can be finished as long as the SN is sequenced according to the sequence;
in the sequencing process, the RLC does not need to buffer the RLC SDU and wait for the missing RLC SN, and can be handed to the PDCP only after the precedence order is met, so that extra processing delay and extra load except for the normal analysis data packet are not added to the RLC.
As shown in fig. 6, assuming that the length of the RLC SN number is 8 bits, the SN cycles in 0 to 255, and assuming that the RLC SN in the MAC SDU is 255, 3, 7, 4. The MAC delivers RLC PDUs to the RLC in the above order, because the RLC PDU with SN of 255 can be considered to contain data content of the previous part according to the RLC SN number cycle principle, and is earlier than 3 in the sequence, the RLC arranges the obtained 4 RLC PDUs in the sequence of 255, 3, 4, and 7, and then delivers the sequenced RLC PDUs to the PDCP.
Further, based on the scenario shown in fig. 6, assuming that the first preset threshold is set to 200, it is obvious that the RLC PDUs with SN of 255 need to be extracted first, and placed in the first arrangement order; then, arranging 3 RLCPDUs with SN less than 200 according to the size sequence of SN to obtain a second arrangement sequence; finally, the first sort order is placed before the second sort order, resulting in the final sort order, i.e., 255-3-4-7.
Or, the specific processing mode for performing the sorting of the data packets may also adopt another sorting mode, and the determining the arrangement order of each RLC PDU in all the RLC PDUs based on a preset rule includes:
acquiring a difference value between the serial numbers of two adjacent RLC PDUs, and judging whether the difference value is larger than a second preset threshold value or not;
if the difference value between the sequence numbers of two adjacent RLC PDUs is larger than a second preset threshold value, determining a sequencing boundary position based on the two adjacent RLC PDUs;
sequencing at least one RLC PDU positioned in front of the sequencing boundary position based on the sequence of the corresponding sequence number to obtain a third sequencing sequence; sequencing at least one RLC PDU positioned behind the sequencing positions on the basis of the sequence of the corresponding sequence numbers to obtain a fourth sequencing sequence;
and combining the third arrangement sequence and the fourth arrangement sequence to obtain the arrangement sequence.
The second preset threshold may also be set according to an actual situation, for example, generally, the number of RLC PDUs that can be included in one MAC packet is also limited, and the disorder situation is not very serious, so that it may be determined, based on a sequence number difference between two adjacent RLC PDUs, which are sequence numbers set in a previous sequence number cycle and which are sequence numbers set when the current sequence number is used in the cycle; in addition, the second preset threshold may also be related to a maximum sequence number that the sequence number can include, for example, may be 50 less than the maximum sequence number, for example, when the maximum sequence number is 255, then the second preset threshold may be 205, that is, when it is detected that a difference value existing in the sequence numbers of two adjacent data packets is greater than 205, then the two data packets may be used as a boundary position, and data packets (RLC PDUs) before the boundary position are sorted to obtain a third arrangement order; sorting the data packets behind the boundary position to obtain a fourth arrangement sequence; and combining the two arrangement sequences to obtain a total arrangement sequence.
Also, by taking fig. 4 as an example, in the figure, the sequence number of the previous RLC PDU in the data packet obtained by the RLC layer is 255, and the sequence number of the next RLC PDU adjacent to the previous RLC PDU is 3; when the difference is larger than the second preset threshold value (e.g., the second preset threshold value is 245), 252 is determined as 255-3; determining that a boundary position is set between a first data packet with the SN of 255 and a second data packet with the SN of 3; the RLC PDUs with SN of 255 before the demarcation location are arranged in a third arrangement order (since there is only one data packet before the demarcation location, it is sufficient to directly correspond the third arrangement order to one data packet); arranging the data packets with the sequence number of 3 and the sequence numbers of the two data packets after the sequence number of 3 in sequence to obtain a fourth arrangement sequence of 3 → 4 → 7; the third arrangement is placed before the fourth arrangement, resulting in a final arrangement of 255 → 3 → 4 → 7.
It can be seen that, by adopting the above scheme, before sending the PDU delivered by the MAC layer to the PDCP layer, a plurality of RLC PDUs can be sequenced, and the PDCP PDUs included in the RLC PDUs are transmitted to the PDCP layer based on the sequencing. Therefore, the PDCP PDUs can be sequenced in advance, so that the processing load of the PDCP layer is reduced, and the processing efficiency of the PDCP layer is ensured.
Example II,
An embodiment of the present invention provides an information transmission apparatus, as shown in fig. 7, including:
a receiving unit 71, configured to receive a MAC layer protocol data unit PDU sent by a medium access control MAC layer, and extract a radio link control protocol RLC PDU included in the MAC layer PDU from the MAC layer PDU;
a sorting unit 72, configured to, when the number of RLC PDUs is greater than 1, obtain a sequence number of each RLC PDU, and determine an arrangement order of each RLC PDU based on the sequence number;
a transmitting unit 73, configured to transmit the data packets included in each RLC PDU to the PDCP layer based on the arranging order.
Here, it should be noted that the application provided in relation to the present embodiment is applied to an apparatus capable of executing the following functions, for example, may be executed: connection control; segmentation/reassembly (i.e., segmenting higher layer PDU packets of different lengths (transmitting end) reassembly (receiving end) into smaller RLC load units (SDUs)); cascading; filling; error correction, correcting errors by retransmission in acknowledged mode; transmitting a high-layer PDU; flow control, and the like. For example, the RLC layer may be specifically an entity capable of performing all functions of the RLC layer, and it is understood that the apparatus for performing the functions of the present embodiment may have other functions, which are not exhaustive herein.
The following description is made for the case where the number of RLC PDUs included in one MAC layer PDU is different:
scene one, a processing mode when only one rlc PDU is included in one MAC layer PDU:
and the transmission unit is used for directly sending the RLC PDUs to a PDCP layer when the extracted number of the RLC PDUs is 1.
For example, when one MAC PDU only includes one RLC PDU, as shown in fig. 2, one MAC PDU only includes one RLC PDU.
The MAC parses the MAC PDU shown in fig. 2, and directly delivers the MAC SDU, i.e., the RLC PDU, to the RLC. After receiving the RLC PDU, the RLC takes out the corresponding RLC SN number, records the SN, and delivers the RLC SDU, i.e. the PDCP PDU, to the PDCP.
In a second scenario, when only more than 1 rlc PDU is included in one MAC layer PDU, there may be the following two processing manners:
the first processing mode is that the sorting unit is configured to, when executing a function of the RLC layer, sort each RLC PDU based on the sorting order, and transmit a data packet included in each sorted RLC PDU to the PDCP layer.
Specifically, when more than one RLC PDU is contained in one MAC PDU, as shown in fig. 3, more than one RLC PDU is contained in one MAC PDU, for example, 4 RLC PDUs are contained in the figure.
The MAC parses the MAC PDU shown in fig. 3, and directly delivers the MAC SDU, i.e., the RLC PDU, to the RLC. After receiving multiple RLC PDUs, RLC takes out the corresponding RLC SN number, records the SN, and delivers the RLC SDU, i.e. PDCP PDU, to PDCP according to the sequence of the SN numbers.
And the second processing mode is that only the pointers aiming at the buffer addresses are sent to the PDCP layer according to the arrangement sequence, and then the RLC PDUs are passively sent according to the acquisition request of the PDCP. Specifically, the method comprises the following steps:
the device further comprises:
the buffer unit 74 is configured to buffer the RLC PDUs and obtain a buffer address corresponding to each RLC PDU;
correspondingly, the sorting unit 73 is configured to send pointer information pointing to the buffer address of each RLC PDU to the PDCP layer according to the sorting order; and transmitting the data packet contained in each RLC PDU to the PDCP layer according to the acquisition request sent by the PDCP layer.
The buffer memory position may be that a plurality of RLC PDUs included in one MAC PDU are buffered in a buffer memory corresponding to the RLC; alternatively, a plurality of RLC PDUs included in one MAC PDU may be buffered in a buffer commonly used by the RLC and PDCP layers.
By adopting the processing mode, when the RLC sequencing sequence is processed, the PDCP PDUs do not need to be copied according to the sequence. Only the corresponding pointer is needed to be moved. If the PDCP/RLC is the shared buffer, as shown in FIG. 4, it is only necessary to send the buffered pointers of the PDCP PDUs to the PDCP in the above-mentioned order.
If data transfer is required between the PDCP and RLC, as shown in fig. 5, the RLC only needs to fill the message header with the static load offset of the message body according to the above sequence when grouping the PDCP data transfer message. In a word, by adopting the processing mode, the PDCP PDU data packets do not need to be sequenced, and only the address pointers for storing the data packets need to be handed to the PDCP according to the sequence of SN numbers.
Further, it is noted that the manner of how to order the RLC PDUs may include:
the sorting unit is used for determining the arrangement sequence of each RLC PDU in all the RLC PDUs based on a first preset threshold value;
or the like, or, alternatively,
and determining the arrangement sequence of each RLC PDU in all the RLC PDUs based on the difference value of the sequence numbers corresponding to the two adjacent RLC PDUs and a second preset threshold value.
The maximum sequence number and the minimum sequence number of the sequence numbers may be related to the length of the sequence numbers, and in a communication system, 0 and 1 are generally adopted to form some information or identification number, for example, when the length of a Sequence Number (SN) is 8, the maximum sequence number represented by the sequence number may be 8 powers of 2, that is, the maximum sequence number may be 255, and the minimum sequence number is 0;
correspondingly, the sorting unit is configured to select N RLC PDUs with sequence numbers larger than a first preset threshold value from all the RLC PDUs, and sort the N RLC PDUs according to the sequence of the sequence numbers to obtain a first sorting sequence corresponding to the N RLC PDUs; the first preset threshold value is related to the minimum sequence number and the maximum sequence number which can be contained in the sequence numbers;
selecting M RLC PDUs of which the sequence numbers are smaller than a first preset threshold value from all the RLC PDUs, and arranging the M RLC PDUs according to the sequence of the sequence numbers to obtain a second arrangement sequence corresponding to the M RLC PDUs; wherein M and N are integers, and M + N is equal to the number of all RLC PDUs;
and combining the first arrangement sequence and the second arrangement sequence to obtain the arrangement sequence.
It should be noted that the first preset threshold may be set according to an actual situation, for example, the preset threshold may be set to be close to the maximum sequence number and set to be L smaller than the maximum sequence number; when the maximum sequence number is 255, a first preset threshold value may be set to 100.
In addition, the manner of combining the first arrangement order and the second arrangement order to obtain the arrangement order may be: and arranging the first arrangement sequence before the second arrangement sequence, and combining to obtain the arrangement sequence.
For example, it may be: when the sequence number in the plurality of RLC PDUs has N RLC PDUs close to the maximum sequence number, the N RLC PDUs can be firstly sequenced, and the specific sequencing mode can be that the N RLC PDUs are sequenced to obtain a first sequencing sequence; then sequencing the rest of the sequences of the plurality of RLC PDUs, and sequencing the rest of the RLC PDUs in a sequence from small to large to obtain a second sequencing sequence; and finally, arranging the N RLC PDUs in the first arrangement order before the plurality of RLC PDUs in the second arrangement order to obtain a final arrangement order.
In this embodiment, the following rules may be referred to in the process of sequentially processing the out-of-order packets:
the sequencing is only carried out according to the sequence of the RLC SN numbers, and the sequencing cannot be carried out according to the SN sizes because the SN is a cycle number;
after the sequencing is finished according to the sequence, the SN can be discontinuous, and the sequencing can be finished as long as the SN is sequenced according to the sequence;
in the sequencing process, the RLC does not need to buffer the RLC SDU and wait for the missing RLC SN, and can be handed to the PDCP only after the precedence order is met, so that extra processing delay and extra load except for the normal analysis data packet are not added to the RLC.
As shown in fig. 6, assuming that the length of the RLC SN number is 8 bits, the SN cycles in 0 to 255, and assuming that the RLC SN in the MAC SDU is 255, 3, 7, 4. The MAC delivers RLC PDUs to the RLC in the above order, because the RLC PDU with SN of 255 can be considered to contain data content of the previous part according to the RLC SN number cycle principle, and is earlier than 3 in the sequence, the RLC arranges the obtained 4 RLC PDUs in the sequence of 255, 3, 4, and 7, and then delivers the sequenced RLC PDUs to the PDCP.
Further, based on the scenario shown in fig. 6, assuming that the first preset threshold is set to 200, it is obvious that the RLC PDUs with SN of 255 need to be extracted first, and placed in the first arrangement order; then, arranging 3 RLCPDUs with SN less than 200 according to the size sequence of SN to obtain a second arrangement sequence; finally, the first sort order is placed before the second sort order, resulting in the final sort order, i.e., 255-3-4-7.
The sorting unit is used for acquiring a difference value between the serial numbers of two adjacent RLC PDUs, and judging whether the difference value is larger than a second preset threshold value;
if the difference value between the sequence numbers of two adjacent RLC PDUs is larger than a second preset threshold value, determining a sequencing boundary position based on the two adjacent RLC PDUs;
sequencing at least one RLC PDU positioned in front of the sequencing boundary position based on the sequence of the corresponding sequence number to obtain a third sequencing sequence; sequencing at least one RLC PDU positioned behind the sequencing positions on the basis of the sequence of the corresponding sequence numbers to obtain a fourth sequencing sequence;
and combining the third arrangement sequence and the fourth arrangement sequence to obtain the arrangement sequence.
The second preset threshold may also be set according to an actual situation, for example, generally, the number of RLC PDUs that can be included in one MAC packet is also limited, and the disorder situation is not very serious, so that it may be determined, based on a sequence number difference between two adjacent RLC PDUs, which are sequence numbers set in a previous sequence number cycle and which are sequence numbers set when the current sequence number is used in the cycle; in addition, the second preset threshold may also be set to be related to a maximum sequence number that the sequence number can include, for example, may be 50 less than the maximum sequence number, for example, when the maximum sequence number is 255, then the second preset threshold may be 205, that is, when it is detected that a difference value existing in the sequence numbers of two adjacent data packets is greater than 205, then the two data packets may be used as a boundary position, and the data packets before the boundary position are sorted to obtain a third arrangement order; sorting the data packets behind the boundary position to obtain a fourth arrangement sequence; and combining the two arrangement sequences to obtain a total arrangement sequence.
Also, by taking fig. 4 as an example, in the figure, the sequence number of the previous RLC PDU in the data packet obtained by the RLC layer is 255, and the sequence number of the next RLC PDU adjacent to the previous RLC PDU is 3; when the difference is greater than a second predetermined threshold value (e.g., 245), 252, 255-3; determining that a boundary position is set between a first data packet with the SN of 255 and a second data packet with the SN of 3; the RLC PDUs with SN of 255 before the demarcation location are arranged in a third arrangement order (since there is only one data packet before the demarcation location, it is sufficient to directly correspond the third arrangement order to one data packet); arranging the data packets with the sequence number of 3 and the sequence numbers of the two data packets after the sequence number of 3 in sequence to obtain a fourth arrangement sequence of 3 → 4 → 7; the third arrangement is placed before the fourth arrangement, resulting in a final arrangement of 255 → 3 → 4 → 7.
It can be seen that, by adopting the above scheme, before sending the PDU delivered by the MAC layer to the PDCP layer, a plurality of RLC PDUs can be sequenced, and the PDCP PDUs included in the RLC PDUs are transmitted to the PDCP layer based on the sequencing. Therefore, the PDCP PDUs can be sequenced in advance, so that the processing load of the PDCP layer is reduced, and the processing efficiency of the PDCP layer is ensured.
Further, on the basis of the foregoing embodiments, an embodiment of the present invention may further provide a computer storage medium, in which computer-executable instructions are stored, where the computer-executable instructions include:
receiving a Media Access Control (MAC) layer Protocol Data Unit (PDU) sent by a MAC layer, and extracting a radio link control protocol (RLC) PDU contained in the PDU from the MAC layer PDU;
when the number of all the RLC PDUs is larger than 1, acquiring the sequence number of each RLC PDU, and determining the arrangement sequence of each RLC PDU based on the sequence number;
and transmitting the data packets contained in the RLC PDUs to a PDCP layer based on the arrangement sequence.
Here, the computer storage medium may be used in a device on a network side, for example, may be directly provided in the device on the network side, or may be connected to the device on the network side by a wireless or wired manner.
The computer-executable instructions further comprise:
sending pointer information pointing to the buffer addresses of the RLC PDUs to the PDCP layer according to the arrangement sequence; and transmitting the data packet contained in each RLC PDU to the PDCP layer according to the acquisition request sent by the PDCP layer.
The computer-executable instructions further comprise: and sequencing each RLC PDU based on the sequencing sequence, and transmitting data packets contained in each sequenced RLC PDU to the PDCP layer.
The computer-executable instructions further comprise: and determining the arrangement sequence of each RLC PDU in all the RLC PDUs at least based on the minimum sequence number and the maximum sequence number which can be contained in the sequence numbers.
The computer-executable instructions further comprise: selecting N RLC PDUs of which the sequence numbers are larger than a first preset threshold value from all the RLC PDUs, and arranging the N RLC PDUs according to the sequence of the sequence numbers to obtain a first arrangement sequence corresponding to the N RLC PDUs; the first preset threshold value is related to the minimum sequence number and the maximum sequence number which can be contained in the sequence numbers; selecting M RLC PDUs of which the sequence numbers are not larger than a first preset threshold value from all the RLC PDUs, and arranging the M RLC PDUs according to the sequence of the sequence numbers to obtain a second arrangement sequence corresponding to the M RLC PDUs; wherein M and N are integers, and M + N is equal to the number of all RLC PDUs; and combining the first arrangement sequence and the second arrangement sequence to obtain the arrangement sequence.
In addition, the embodiment may also provide an information transmission apparatus, whose hardware composition entities can be shown in fig. 8, including a processor, a storage medium, and an external communication interface; wherein the content of the first and second substances,
a storage medium configured to store computer-executable instructions;
a processor configured to execute computer-executable instructions stored on the storage medium, the computer-executable instructions comprising: receiving a Media Access Control (MAC) layer Protocol Data Unit (PDU) sent by a MAC layer, and extracting a radio link control protocol (RLC) PDU contained in the PDU from the MAC layer PDU;
when the number of all the RLC PDUs is larger than 1, acquiring the sequence number of each RLC PDU, and determining the arrangement sequence of each RLC PDU based on the sequence number;
and transmitting the data packets contained in the RLC PDUs to a PDCP layer based on the arrangement sequence.
The computer-executable instructions configured by the processor to be executed and stored on the storage medium may further include other instructions contained in the computer storage medium, and are not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a device, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (8)

1. An information transmission method, characterized in that the method comprises:
receiving a Media Access Control (MAC) layer Protocol Data Unit (PDU) sent by a MAC layer, and extracting a Radio Link Control Protocol (RLCPDU) contained in the PDU from the MAC layer PDU; caching the RLC PDUs, and acquiring a cache address corresponding to each RLC PDU;
when the number of the RLC PDUs is 1, directly sending data packets contained in the RLC PDUs to a packet data convergence protocol PDCP layer;
when the number of the RLC PDUs is larger than 1, acquiring a sequence number of each RLC PDU, and determining the arrangement sequence of each RLC PDU based on the sequence number; wherein determining an order of the RLC PDUs based on the sequence numbers comprises: finishing sequencing according to the RLC PDU sequence numbers, wherein the sequence numbers of the RLC PDUs sequenced according to the sequence comprise discontinuous conditions, and the RLC does not need to buffer RLC SDUs and wait for missing RLC PDU sequence numbers;
sending pointer information pointing to the buffer addresses of the RLC PDUs to the PDCP layer according to the arrangement sequence;
and transmitting the data packet contained in each RLC PDU to the PDCP layer according to the acquisition request sent by the PDCP layer.
2. The method of claim 1, wherein the determining the order of the RLC PDUs based on the sequence numbers comprises:
determining the arrangement sequence of each RLC PDU in all the RLC PDUs based on a first preset threshold value;
or the like, or, alternatively,
and determining the arrangement sequence of each RLC PDU in all the RLC PDUs based on the difference value of the sequence numbers corresponding to the two adjacent RLC PDUs and a second preset threshold value.
3. The method of claim 2, wherein the determining the sequence of the RLC PDUs in all RLC PDUs based on the first preset threshold comprises:
selecting N RLC PDUs with sequence numbers larger than a first preset threshold value from all the RLC PDUs, and arranging the N RLC PDUs according to the sequence of the sequence numbers to obtain a first arrangement sequence corresponding to the N RLC PDUs; the first preset threshold value is related to the minimum sequence number and the maximum sequence number which can be contained in the sequence numbers;
selecting M RLC PDUs of which the sequence numbers are not larger than a first preset threshold value from all the RLC PDUs, and arranging the M RLC PDUs according to the sequence of the sequence numbers to obtain a second arrangement sequence corresponding to the M RLC PDUs; wherein M and N are integers, and M + N is equal to the number of all RLC PDUs;
and combining the first arrangement sequence and the second arrangement sequence to obtain the arrangement sequence.
4. The method of claim 2, wherein the determining the sequence order of each RLC PDU in all RLC PDUs based on the difference between the sequence numbers corresponding to two adjacent RLC PDUs and a second preset threshold comprises:
acquiring a difference value between the serial numbers of two adjacent RLC PDUs, and judging whether the difference value is larger than a second preset threshold value or not;
if the difference value between the sequence numbers of two adjacent RLC PDUs is larger than a second preset threshold value, determining a sequencing boundary position based on the two adjacent RLC PDUs;
sequencing at least one RLC PDU positioned in front of the sequencing boundary position based on the sequence of the corresponding sequence number to obtain a third sequencing sequence; sequencing at least one RLC PDU positioned behind the sequencing positions on the basis of the sequence of the corresponding sequence numbers to obtain a fourth sequencing sequence;
and combining the third arrangement sequence and the fourth arrangement sequence to obtain the arrangement sequence.
5. An information transmission apparatus, characterized in that the apparatus comprises:
a receiving unit, configured to receive a MAC layer protocol data unit PDU sent by a medium access control MAC layer, and extract a radio link control protocol RLC PDU included in the MAC layer PDU from the MAC layer PDU;
the buffer unit is used for buffering the RLC PDUs and obtaining buffer addresses corresponding to the RLC PDUs;
a sequencing unit, configured to directly send a data packet included in the RLC PDU to a PDCP layer when the number of the RLC PDUs is 1; when the number of the RLC PDUs is larger than 1, acquiring a sequence number of each RLC PDU, and determining the arrangement sequence of each RLC PDU based on the sequence number; wherein determining an order of the RLC PDUs based on the sequence numbers comprises: finishing sequencing according to the RLC PDU serial number, wherein the RLC PDU serial number after sequencing comprises a discontinuous condition, and the RLC does not need to buffer RLC SDUs and wait for a missing RLC PDU serial number;
sending pointer information pointing to the buffer addresses of the RLC PDUs to the PDCP layer according to the arrangement sequence; and transmitting the data packet contained in each RLC PDU to the PDCP layer according to the acquisition request sent by the PDCP layer.
6. The apparatus of claim 5, wherein the sorting unit is configured to determine an arrangement order of each RLC PDU in all RLC PDUs based on a first preset threshold;
or the like, or, alternatively,
and determining the arrangement sequence of each RLC PDU in all the RLC PDUs based on the difference value of the sequence numbers corresponding to the two adjacent RLC PDUs and a second preset threshold value.
7. The apparatus according to claim 6, wherein the sorting unit is configured to select N RLC PDUs having sequence numbers greater than a first preset threshold from all the RLC PDUs, and arrange the N RLC PDUs according to a sequence of the sequence numbers to obtain a first arrangement sequence corresponding to the N RLC PDUs; the first preset threshold value is related to the minimum sequence number and the maximum sequence number which can be contained in the sequence numbers; selecting M RLC PDUs of which the sequence numbers are smaller than a first preset threshold value from all the RLC PDUs, and arranging the M RLC PDUs according to the sequence of the sequence numbers to obtain a first arrangement sequence corresponding to the M RLC PDUs; wherein M and N are integers, and M + N is equal to the number of all RLCPDUs; and combining the first arrangement sequence and the second arrangement sequence to obtain the arrangement sequence.
8. The apparatus according to claim 6, wherein the sorting unit is configured to obtain a difference between sequence numbers of two adjacent RLC PDUs, and determine whether the difference is greater than a second preset threshold; if the difference value between the sequence numbers of two adjacent RLC PDUs is larger than a second preset threshold value, determining a sequencing boundary position based on the two adjacent RLC PDUs; sequencing at least one RLC PDU positioned in front of the sequencing boundary position based on the sequence of the corresponding sequence number to obtain a third sequencing sequence; sequencing at least one RLC PDU positioned behind the sequencing positions on the basis of the sequence of the corresponding sequence numbers to obtain a fourth sequencing sequence; and combining the third arrangement sequence and the fourth arrangement sequence to obtain the arrangement sequence.
CN201710155209.9A 2017-03-15 2017-03-15 Information transmission method and device Active CN108632302B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710155209.9A CN108632302B (en) 2017-03-15 2017-03-15 Information transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710155209.9A CN108632302B (en) 2017-03-15 2017-03-15 Information transmission method and device

Publications (2)

Publication Number Publication Date
CN108632302A CN108632302A (en) 2018-10-09
CN108632302B true CN108632302B (en) 2020-02-11

Family

ID=63686690

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710155209.9A Active CN108632302B (en) 2017-03-15 2017-03-15 Information transmission method and device

Country Status (1)

Country Link
CN (1) CN108632302B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111835457B (en) * 2019-08-09 2022-04-26 维沃移动通信有限公司 Data transmission method, receiving equipment and sending equipment
WO2022178778A1 (en) * 2021-02-25 2022-09-01 华为技术有限公司 Data transmission method and communication apparatus

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101030842A (en) * 2006-03-03 2007-09-05 华为技术有限公司 Method and apparatus for rearranging data in mobile telecommunication system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120238208A1 (en) * 2011-03-17 2012-09-20 Maik Bienas Mobile radio communication devices and servers
US20150312697A1 (en) * 2014-04-28 2015-10-29 Intel IP Corporation Dynamic declaration of conformity and certification for radio application distribution

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101030842A (en) * 2006-03-03 2007-09-05 华为技术有限公司 Method and apparatus for rearranging data in mobile telecommunication system

Also Published As

Publication number Publication date
CN108632302A (en) 2018-10-09

Similar Documents

Publication Publication Date Title
US11395184B2 (en) Method and apparatus for receiving data packets
US8988994B2 (en) System and method for creating logical radio link control (RLC) and medium access control (MAC) protocol data units (PDUs) in mobile communication system
US9838328B2 (en) Radio communication apparatus
CN112153696B (en) RLC SDU segmentation processing method, device and terminal
CN108632302B (en) Information transmission method and device
CN104426638A (en) Data submission method and device
JP2023062123A (en) Wireless communication device, wireless communication method, and wireless communication system
JP4447028B2 (en) Communication control method, transmission apparatus, and computer program
EP2611093A1 (en) Technique for handling memory resources of a memory buffer
US9794930B1 (en) Method and apparatus for packet data unit processing for retransmission
US11917723B2 (en) System and methods for transmitting protocol data units

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant