Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 2, the method for sending data according to the embodiment of the present invention includes:
step 200, the sending equipment distributes SN (Sequence Number) to each layer of two data packets;
step 201, the sending device sends the layer two Data packet according to the distributed SN to obtain a Data block, and generates a PDU Protocol Data Unit, a Protocol Data Unit, according to the SN and the Data block;
step 202, the sending device sends the PDU to a receiving device through a physical layer.
According to the embodiment of the invention, SN is distributed to each layer two data packet, the layer two data packet is sent and processed according to the distributed SN to obtain a data block, and PDU is generated according to the SN and the data block. As only one SN needs to be distributed to each layer two data packet, the packet packing complexity and the head overhead of data are effectively reduced, the influence on the real-time performance and the transmission efficiency of operation is reduced, the overall efficiency of the network is improved, and the method can be better applied to high-rate scenes.
The layer two packet according to the embodiment of the present invention is a packet transmitted from a higher layer of the layer two or more to the layer two.
The process of sending and processing the layer two data packets by the sending device to obtain the data block in the embodiment of the present invention may include processes of header compression, security operation (such as encryption and integrity protection), segmentation, concatenation, and the like, and the specific processes of header compression, security operation, segmentation, concatenation, and the like are similar to those of the prior art, and the difference is that each data packet only corresponds to one SN, and each layer does not need to allocate SNs to the same data packet as in the prior art.
In practice, the above specific processing procedure may be selected to be only on part, and the rest is off, as required.
In the embodiments of the present invention, there are many ways to generate PDUs according to the SNs and the data blocks, which are listed below.
In the first mode, the sending device places data blocks of different logical channels for the same receiving device and indication information corresponding to the data blocks in a PDU, and places SNs corresponding to layer two data packets in the PDU.
Optionally, the PDU includes a subheader region and a data region;
the sending device generates the PDU according to the SN and the data block, and the method comprises the following steps:
the sending equipment places data blocks of different logical channels aiming at the same receiving equipment into corresponding data blocks in the data area;
for any one of the data blocks, the sending device places the indication information corresponding to the data block in the subheader area, and places the SN corresponding to the data block in the data area where the data block is located or the subheader corresponding to the data block.
For example, the structure shown in fig. 3, the sub-header corresponding to the data block is sub-header 2. The sending equipment places the indication information corresponding to the data block in a subheader 2 corresponding to the data block in the subheader area; and placing the SN corresponding to the data block in the data area where the data block is located (namely, the SN of the data block in the number block 1 is placed in the data block 1, and the SN of the data block in the number block 2 is placed in the data block 2) or the subheader 2 corresponding to the data block.
If there is layer two control information based on the terminal, the sending device further needs to put the layer two control information and the indication information corresponding to the layer two control information in the PDU.
Optionally, the generating, by the sending device, a PDU according to the SN and the data block further includes:
and the sending equipment places layer two control information based on a terminal and indication information corresponding to the layer two control information into the PDU.
Optionally, the sending device places layer two control information based on a terminal and indication information corresponding to the layer two control information in the PDU, and further includes:
and the sending equipment places the layer two control information in a control area of the data area, and places indication information corresponding to the layer two control information in a subheader corresponding to the layer two control information in the subheader area.
In an implementation, a subheader corresponding to the layer two control information in the subheader region may be located before the subheader corresponding to the data block.
For example, in the structure shown in fig. 3, the subheader corresponding to the layer two control information is subheader 1. The sending equipment places the layer two control information in a control area, namely in front of a data block 1 in the figure; and placing the indication information corresponding to the layer two control information in the subheader 1.
Optionally, the indication information corresponding to the data block includes part or all of the following information:
information indicating the length of the corresponding data block, i.e., LI;
a Logical Channel identifier (LCID, Logical Channel ID) of a Logical Channel corresponding to the data block;
information indicating whether a position after the corresponding subheader is a data area, i.e., E;
information indicating whether the corresponding subheader has a subheader length indication, i.e., E1;
optionally, the indication information corresponding to the layer two control information includes part or all of the following information:
information indicating the length of the corresponding data block, i.e., LI;
a Logical Channel Identifier (LCID) corresponding to the layer two control information and used for identifying the type of the control information;
e1, the sub header is used to indicate whether there is a length indication corresponding to the layer indication information.
And secondly, the sending equipment places the data block aiming at the same logical channel and the indication information corresponding to the data block into the PDU, places the indication information of the logical channel into the PDU, and places the SN corresponding to the second-layer data packet into the PDU.
Optionally, the PDU includes a subheader region and a data region;
the sending device generates the PDU according to the SN and the data block, and the method comprises the following steps:
the sending equipment places the data block, the indication information corresponding to the data block and the SN corresponding to the second-layer data packet in the corresponding data block in the data area;
and the sending equipment places the indication information of the logical channel in the subheader area.
Such as the structure shown in fig. 4, the data block corresponding to the data block is data block 2. And the sending equipment places the data block, the indication information corresponding to the data block and the SN corresponding to the second-layer data packet in the data block 2. The transmitting apparatus places the indication information of the logical channel in a subheader area, i.e., in front of data block 1 in fig. 4.
If there is layer two control information for the logical channel, the sending device further needs to put the layer two control information for the logical channel and indication information corresponding to the layer two control information for the logical channel in the PDU.
Optionally, the generating, by the sending device, a PDU according to the SN and the data block further includes:
and the sending equipment places the layer two control information aiming at the logical channel and the indication information corresponding to the layer two control information into the PDU.
Optionally, the sending device places layer two control information for a logical channel and indication information corresponding to the layer two control information in the PDU, where the sending device includes:
and the sending equipment places the layer two control information aiming at the logical channel and the indication information corresponding to the layer two control information into the corresponding data block in the data area.
In an implementation, a data block corresponding to control information for a logical channel in the data area may be located in front of a data block corresponding to the data block; and/or
The data block corresponding to the retransmitted data block in the data region may be located before the data block corresponding to the initially transmitted data block.
For example, in the configuration shown in fig. 4, the data block corresponding to the layer two control information for the logical channel is data block 1. The transmitting device places layer two control information for the logical channel and indication information corresponding to the layer two control information in data block 1.
Optionally, the indication information of the logical channel includes part or all of the following information:
a Logical Channel Identifier (LCID) of a logical channel corresponding to the data block;
information indicating whether a position following the sub-header area is a data area, i.e., E;
information indicating whether the subheader has a subheader length indication, i.e., E1;
information indicating the length of the corresponding data block, i.e., LI;
the indication information corresponding to the data block comprises part or all of the following information:
information indicating a type of data in a corresponding data block, i.e., D/C;
information indicating whether a corresponding data block is a segmented data block, i.e., SI;
information indicating whether reception state feedback is performed for a corresponding data block, i.e., P;
information for indicating that the corresponding data block is the last segmented data block, i.e., LS;
information indicating the start position of a data block in the segmented data block in the original data block, i.e. PO.
Optionally, the indication information corresponding to the layer two control information for the logical channel includes part or all of the following information:
information indicating a type of data in a corresponding data block, i.e., D/C;
information indicating the Type of layer two control information, i.e., Type.
And thirdly, the sending equipment places the data block aiming at the same logical channel and the indication information corresponding to the data block into the PDU, places the indication information of the logical channel into the PDU, and places the SN corresponding to the second-layer data packet into the PDU.
Optionally, the PDU includes a subheader region and a data region;
the sending device generates the PDU according to the SN and the data block, and the method comprises the following steps:
the sending equipment places the data blocks in the corresponding data blocks in the data area;
the sending equipment places the indication information corresponding to the data block in the subheader area;
the sending equipment places the SN in a subheader corresponding to the data block in the subheader area;
and the sending equipment places the indication information of the logical channel in a subheader corresponding to the subheader area.
For example, in the structure shown in fig. 5, the sub-header corresponding to the data block is sub-header 3, and the sub-header corresponding to the indication information of the logical channel is sub-header 1. The sending device places the data block in the data block, namely the position of the data packet in the figure; the sending equipment places the indication information corresponding to the data block in a subheader 3; the sending device places the SN in the subheader 3; the transmitting device places the indication information of the logical channel in subheader 1.
If there is layer two control information for the logical channel, the sending device further needs to put the layer two control information for the logical channel and indication information corresponding to the layer two control information for the logical channel in the PDU.
Optionally, the generating, by the sending device, a PDU according to the SN and the data block further includes:
and the sending equipment places the layer two control information aiming at the logical channel and the indication information corresponding to the layer two control information into the PDU.
Optionally, the sending device places layer two control information for a logical channel and indication information corresponding to the layer two control information in the PDU, where the sending device includes:
the sending equipment places layer two control information aiming at the logical channel into a corresponding data block in the data area;
and the sending equipment places the indication information corresponding to the layer two control information of the logic channel in the subheader corresponding to the layer two control information in the subheader area.
Optionally, a data block corresponding to the control information for the logical channel in the data region may be located before a data block corresponding to the data block; and/or
The data block corresponding to the retransmitted data block in the data region may be located before the data block corresponding to the initially transmitted data block.
For example, in the structure shown in fig. 5, the subheader corresponding to the layer two control information is subheader 2. The sending device places the layer two control information for the logical channel in the corresponding data block in the data area, i.e. the position of the control information in fig. 5;
the transmitting device places indication information corresponding to layer two control information for the logical channel in the subheader 2.
Optionally, the indication information of the logical channel includes part or all of the following information:
information indicating whether a position after the corresponding subheader is a data area, i.e., E;
information indicating whether there is a length indication in the corresponding subheader, i.e., E1;
a Logical Channel Identifier (LCID) of a logical channel corresponding to the data block;
information for indicating whether to perform reception state feedback, i.e., P;
the indication information corresponding to the data block comprises part or all of the following information:
information indicating whether there is a sub-header length indication in the corresponding sub-header, i.e., E1;
information indicating the length of the corresponding data block, i.e., LI;
information indicating a type of data in a corresponding data block, i.e., D/C;
information indicating whether a corresponding data block is a segmented data block, i.e., SI;
information for indicating that the corresponding data block is the last segmented data block, i.e., LS;
information indicating the start position of a data block in the segmented data block in the original data block, i.e. PO.
Optionally, the indication information corresponding to the layer two control information for the logical channel includes part or all of the following information:
information indicating whether there is a sub-header length indication in the corresponding sub-header, i.e., E1;
information indicating the length of the corresponding data block, i.e., LI;
information indicating a type of data in a corresponding data block, i.e., D/C;
information indicating the Type of layer two control information, i.e., Type.
And fourthly, the sending equipment places the data block aiming at the same logical channel into the PDU, places the indication information corresponding to the data block into the PDU, places the indication information of the logical channel into the PDU, and places part of SNs in SNs corresponding to a plurality of continuous second-layer data packets into the PDU.
Optionally, the PDU includes a subheader region and a data region;
the sending device generates the PDU according to the SN and the data block, and the method comprises the following steps:
the sending equipment places the data blocks in the corresponding data blocks in the data area;
the sending equipment places the indication information corresponding to the data block in the subheader area;
the sending equipment places the indication information of the logical channel in a subheader corresponding to the indication information in the subheader area;
and the sending equipment places part of SN corresponding to a plurality of continuous second-layer data packets in subheaders corresponding to the data blocks in the subheader area.
In an implementation, the data block corresponding to the retransmitted data block in the data region may be located before the data block corresponding to the initially transmitted data block.
For example, in the structure shown in fig. 6A, the subheader corresponding to the data block is subheader 2. The sending device places the data blocks in the corresponding data blocks in the data area, that is, the corresponding data blocks in data blocks 1-3 in fig. 6A. The sending equipment places the indication information corresponding to the data block in a subheader 2; the sending equipment places the indication information of the logical channel in a subheader 2; the sending device places part of SNs in sub-headers 2 corresponding to the SNs of a plurality of consecutive layer-two packets.
Optionally, the indication information of the logical channel includes part or all of the following information:
information indicating whether a position after the corresponding subheader is a data area, i.e., E;
information for indicating whether there is a length indication in the corresponding subheader, i.e., LI;
a Logical Channel Identifier (LCID) of a logical channel corresponding to the data block;
the indication information corresponding to the data block comprises part or all of the following information:
information indicating whether there is a length indication in the corresponding subheader, i.e., E1;
information indicating the length of the corresponding data block, i.e., LI;
information indicating a type of data in a corresponding data block, i.e., D/C;
for indicating whether the corresponding data block is followed by a consecutive plurality of data blocks, i.e. CN;
for indicating whether a first data block and a last data block of a consecutive plurality of data blocks are segmented data blocks, i.e. FI;
information indicating the start position of a data block in the segmented data block in the original data block, i.e. PO.
The embodiments of the present invention will be described in detail below with reference to several examples.
And the fourth embodiment is a scheme for optimizing SN of continuous data packets.
Data for one logical channel is generally classified into three types: control information, retransmission data and initial transmission data. For the initial data, there is a large optimizable space. Because the SN of the initial data is continuous. That is, the initial data is transmitted with SN designations 0, 1, 2, 3, 4, 5. Therefore, each initially transmitted data packet does not need to carry SN, only the SN of the first data packet needs to be carried, and the SN of the other data packets only needs to execute +1 operation in sequence.
Certainly, not all the initially transmitted data are continuous, and the condition that the data are transmitted by two links under the centralized node is possibly partially continuous, for example, SN numbers 0 to 4 and 10 to 15 are transmitted by a first path, and SN numbers 5 to 9 are transmitted by a second path. In this case, it is necessary to distinguish between nos. 0 to 4 and 10 to 15, which are continuously processed in two stages, and even there may be some single discontinuous SNs in the middle. Similarly, in the retransmission data packet, there is a similar situation, and it is possible that the retransmission packet has a continuous SN, but the case of a single SN is not excluded. Therefore, both for retransmission data and initial transmission data, the optimized processing for continuous data packets and the processing for individual SNs need to be supported simultaneously.
One possible PDU structure is listed below, as shown in fig. 6A. It should be noted that the structure shown in fig. 6A is only one possible implementation manner, and the embodiment of the present invention is applicable to any PDU structure that can be multiplexed.
As shown in fig. 6A, a plurality of data packets with consecutive SNs are assembled into a PDU by a sending device in a logical channel, at this time, the SNs can be omitted, that is, a subsequent data block 1 is considered to be a data packet with a sequence number equal to the value of the SN, the sequence number of the data block 2 is the value of the SN plus 1, the sequence number of the data block 3 is the value of the SN plus 2, and so on, a plurality of data can be concatenated until the size of a transmission block is satisfied.
In the above packet format, the data information corresponds to the sub-header portion, and E1 is associated with LI for indicating whether there is any LI after the LI, and in the data information corresponds to the header portion, there are three LI, which may correspond to the sizes of three data blocks, respectively; it is also possible that the first LI indicates the total size of consecutive SN partial data blocks, the second LI corresponds to the first data block, the third LI corresponds to the second data block, and the sum minus the size of the first two is the third data block size.
The D/C field is indicative of control or data, taking the value of a data type for a contiguous block of data.
The C/N field is used to indicate whether a subsequent data block is an individual SN data block or a consecutive SN data block, if the subsequent data block is an individual SN, the header indication is performed in the manner of the above embodiment 3, and if the subsequent data block is a consecutive SN, the header indication carries an SN identifier and carries an FI indication.
FI indicates whether the first and last blocks of a consecutive SN data block portion are segments or complete data, and if one or two blocks are segments, subsequent SO1 and SO2 are indicative of the segments, respectively.
For consecutive data packets, the principle of continuity is satisfied only if there is a possibility that the first and last data segments, in between, are necessarily complete data packets, and further, the first data block segment must be the last segment of the data packet, and the last data block must be the first segment of the corresponding data packet, which is the principle of continuity.
An example of a continuous SN is shown in FIG. 6B. In practice, there may be more than one SN in the middle, and only the case where the first is a segment and the last is a segment is illustrated here.
C/N: whether a continuous SN data packet exists or not is indicated, 1 bit is generally used for indicating two modes, one mode is an independent SN, and the other mode is a continuous SN;
FI: the segmentation condition of a first data block and a last data block in continuous SN data is shown, the size of the first data block and the size of the last data block are 2 bits generally, the first bit indicates whether a first packet is segmented or not, and the second bit indicates whether the last packet is segmented or not;
SO 1: if the first data is a fragment, an SO is present to indicate the starting position of the fragment in the data packet with the original SN value, and if the last data is also a fragment, since the last fragment must be the first fragment, the starting position is set to 0, which means that the starting position of the fragment of the last fragment here can be omitted and is zero by default. Display indications are of course not excluded.
In the example of fig. 6B, the first data block is a segmented data block with a length of 450 bytes, and the start position in the original data packet with SN equal to 4 is 200 bytes; the second data packet is 400 bytes long, and SN is 5; the third data block is a segment data block with a length of 300 bytes, and the initial position of the original data block with SN equal to 6 is 0 byte. The continuous SN can be indicated by the packet format of the continuous SN, and the receiving end can analyze the continuous SN without errors.
In the above packet format, the name and location of each field are an example, which is used to illustrate that the header format needs to have these information to ensure that the receiving end can correctly distinguish the packet and the format, and the change of the name and location of the field does not affect the function in the implementation, and can be properly adjusted, and all of them are within the protection scope of the present invention.
It should be noted that, the above embodiments of the present invention all use AM mode as an example, when data is in UM mode, except that there is no control information of retransmission data and status feedback type, other operation manners are similar to the above embodiments, and the present invention is also applicable to various group packaging methods listed in the embodiments and is not described herein again.
As shown in fig. 7, the method for receiving data according to the embodiment of the present invention includes:
step 700, the receiving device receives the PDU sent by the sending device through the physical layer;
step 701, the receiving device receives the PDU;
and the PDU is generated by the sending equipment according to the SN distributed to each data block and the data block obtained by sending the data block.
Optionally, the receiving device performs receiving processing on the PDU, including:
and the receiving equipment extracts data blocks of different logical channels, indication information corresponding to the data blocks and SN corresponding to layer two data packets in the data blocks from the PDU.
Optionally, the PDU includes a subheader region and a data region;
the receiving device performs receiving processing on the PDU, including:
the receiving device extracts data blocks of different logical channels from corresponding data blocks in the data area;
for any one of the data blocks, the receiving device extracts the indication information corresponding to the data block from the subheader corresponding to the data block, and extracts the SN corresponding to the second-layer data packet in the data block from the data region or the subheader corresponding to the data block.
Optionally, the receiving device performs receiving processing on the PDU, and further includes:
and the receiving equipment extracts layer two control information based on the terminal and the indication information corresponding to the layer two control information from the PDU.
Optionally, the extracting, by the receiving device, layer two control information based on a terminal and indication information corresponding to the layer two control information from the PDU includes:
and the receiving equipment extracts the layer two control information from the control area of the data area, and extracts the indication information corresponding to the layer two control information from the subheader corresponding to the layer two control information in the subheader area.
Optionally, the indication information corresponding to the data block includes part or all of the following information:
information indicating a length of a corresponding data block;
a logical channel identifier of a logical channel corresponding to the data block;
information indicating whether a position after the corresponding subheader is a data area;
information for indicating whether the corresponding subheader has a subheader length indication;
optionally, the indication information corresponding to the layer two control information includes part or all of the following information:
information indicating a length of a corresponding data block;
the logical channel identifier corresponding to the layer two control information and used for identifying the type of the control information;
and the information is used for indicating whether the subheader corresponding to the layer indication information has length indication.
Optionally, the receiving device performs receiving processing on the PDU, including:
the receiving device extracts a data block aiming at the same logical channel from the PDU, indication information corresponding to the data block is placed in the PDU, the indication information of the logical channel and SN corresponding to a layer two data packet in the data block.
Optionally, the PDU includes a subheader region and a data region;
the receiving device performs receiving processing on the PDU, including:
the receiving device extracts a data block, indication information corresponding to the data block and an SN corresponding to a second-layer data packet from the corresponding data block in the data area;
and the receiving equipment extracts the indication information of the logical channel from the subheader area.
Optionally, the receiving device performs receiving processing on the PDU, and further includes:
and the receiving equipment extracts layer two control information aiming at the logical channel and indication information corresponding to the layer two control information from the PDU.
Optionally, the extracting, by the receiving device, indication information corresponding to layer two control information and layer two control information for a logical channel from the PDU includes:
and the receiving equipment extracts layer two control information aiming at the logical channel and indication information corresponding to the layer two control information from the corresponding data block in the data area.
Optionally, the indication information of the logical channel includes part or all of the following information:
a logical channel identifier of a logical channel corresponding to the data block;
information indicating whether a position following the sub-header area is a data area;
information for indicating whether the subheader has a subheader length indication;
information indicating a length of a corresponding data block;
the indication information corresponding to the data block comprises part or all of the following information:
information indicating a type of data in a corresponding data block;
information indicating whether a corresponding data block is a segmented data block;
information for indicating whether to perform reception state feedback for a corresponding data block;
information indicating that the corresponding data block is a last segmented data block;
information indicating a start position of a data block in the segmented data block in the original data block;
optionally, the indication information corresponding to the layer two control information for the logical channel includes part or all of the following information:
information indicating a type of data in a corresponding data block;
information indicating a type of layer two control information.
Optionally, the PDU includes a subheader region and a data region;
the receiving device performs receiving processing on the PDU, including:
the receiving equipment extracts a data block from a corresponding data block in the data area;
the receiving device extracts the indication information corresponding to the data block from the subheader corresponding to the data block in the subheader area;
the receiving device extracts SN corresponding to the two-layer data packet from the subheader corresponding to the data block in the subheader area;
and the receiving equipment extracts the indication information of the logical channel from the subhead corresponding to the subhead area.
Optionally, the receiving device performs receiving processing on the PDU, and further includes:
and the receiving equipment extracts layer two control information aiming at the logical channel and indication information corresponding to the layer two control information from the PDU.
Optionally, the extracting, by the receiving device, indication information corresponding to layer two control information and layer two control information for a logical channel from the PDU includes:
the receiving equipment extracts layer two control information aiming at the logical channel from the corresponding data block in the data area;
and the receiving equipment extracts the indication information corresponding to the layer two control information of the logic channel from the subheader corresponding to the layer two control information in the subheader area.
Optionally, the indication information of the logical channel includes part or all of the following information:
information indicating whether a position after the corresponding subheader is a data area;
information for indicating whether there is a length indication in the corresponding subheader;
a logical channel identifier of a logical channel corresponding to the data block;
information for indicating whether to perform reception state feedback;
the indication information corresponding to the data block comprises part or all of the following information:
information for indicating whether there is a sub-header length indication in the corresponding sub-header;
information indicating a length of a corresponding data block;
information indicating a type of data in a corresponding data block;
information indicating whether a corresponding data block is a segmented data block;
information indicating that the corresponding data block is a last segmented data block;
information indicating a start position of a data block in the segmented data block in the original data block;
optionally, the indication information corresponding to the layer two control information for the logical channel includes part or all of the following information:
information for indicating whether there is a sub-header length indication in the corresponding sub-header;
information indicating a length of a corresponding data block;
information indicating a type of data in a corresponding data block;
information indicating a type of layer two control information.
Optionally, the receiving device performs receiving processing on the PDU, including:
and the receiving equipment extracts a data block aiming at the same logical channel, indication information corresponding to the data block, indication information of the logical channel and partial SN in SN corresponding to a plurality of continuous second-layer data packets from the PDU.
Optionally, the PDU includes a subheader region and a data region;
the receiving device performs receiving processing on the PDU, including:
the receiving equipment extracts a data block from a corresponding data block in the data area;
the receiving device extracts the indication information corresponding to the data block from the subheader corresponding to the data block in the subheader area;
the receiving device extracts the indication information of the logical channel from the subheader corresponding to the indication information in the subheader area;
and the receiving equipment extracts partial SN in SN corresponding to a plurality of continuous second-layer data packets from the subheader corresponding to the data block in the subheader area.
Optionally, the indication information of the logical channel includes part or all of the following information:
information indicating whether a position after the corresponding subheader is a data area;
information for indicating whether there is a length indication in the corresponding subheader;
a logical channel identifier of a logical channel corresponding to the data block;
the indication information corresponding to the data block comprises part or all of the following information:
information for indicating whether there is a length indication in the corresponding subheader;
information indicating a length of a corresponding data block;
information indicating a type of data in a corresponding data block;
for indicating whether a corresponding data block is followed by a consecutive plurality of data blocks;
for indicating whether a first data block and a last data block of a consecutive plurality of data blocks are segmented data blocks;
information indicating a start position of a data block in the segmented data block in the original data block.
Based on the same inventive concept, the embodiment of the present invention further provides a sending device, and as the principle of the device for solving the problem is similar to the method for sending data in the embodiment of the present invention, the implementation of the device may refer to the implementation of the method, and repeated details are not repeated.
As shown in fig. 8, a first transmission apparatus according to an embodiment of the present invention includes:
an allocating module 800, configured to allocate SNs to each layer two packet;
a first processing module 801, configured to send and process the layer two data packet according to the allocated SN to obtain a data block, and generate a PDU according to the SN and the data block;
and the sending module is used for sending the PDU to the receiving equipment through a physical layer.
Optionally, the first processing module 801 is specifically configured to:
and data blocks of different logical channels aiming at the same receiving equipment and indication information corresponding to the data blocks are placed in the PDU, and SN corresponding to the two-layer data packet is placed in the PDU.
Optionally, the PDU includes a subheader region and a data region;
the first processing module 801 is specifically configured to:
placing data blocks of different logical channels aiming at the same receiving device into corresponding data blocks in the data area;
and aiming at any one data block, arranging the indication information corresponding to the data block in a subheader corresponding to the data block in the subheader area, and arranging the SN corresponding to the data block in the data area where the data block is located or the subheader corresponding to the data block.
Optionally, the first processing module 801 is further configured to:
and placing layer two control information based on a terminal and indication information corresponding to the layer two control information into the PDU.
Optionally, the first processing module 801 is further configured to:
and placing the layer two control information in a control area of the data area, and placing the indication information corresponding to the layer two control information in a subheader corresponding to the layer two control information in the subheader area.
Optionally, the indication information corresponding to the data block includes part or all of the following information:
information indicating a length of a corresponding data block;
a logical channel identifier of a logical channel corresponding to the data block;
information indicating whether a position after the corresponding subheader is a data area;
information for indicating whether the corresponding subheader has a subheader length indication;
optionally, the indication information corresponding to the layer two control information includes part or all of the following information:
information indicating a length of a corresponding data block;
the logical channel identifier corresponding to the layer two control information and used for identifying the type of the control information;
and the information is used for indicating whether the subheader corresponding to the layer indication information has length indication.
Optionally, the first processing module 801 is specifically configured to:
and the data block aiming at the same logical channel and the indication information corresponding to the data block are placed in PDU, the indication information of the logical channel is placed in the PDU, and the SN corresponding to the second-layer data packet is placed in the PDU.
Optionally, the PDU includes a subheader region and a data region;
the first processing module 801 is specifically configured to:
placing the data block, the indication information corresponding to the data block and the SN corresponding to the second-layer data packet in the corresponding data block in the data area;
and placing the indication information of the logical channel in the subheader area.
Optionally, the first processing module 801 is further configured to:
and placing the layer two control information aiming at the logical channel and the indication information corresponding to the layer two control information into the PDU.
Optionally, the first processing module 801 is specifically configured to:
and placing the layer two control information aiming at the logical channel and the indication information corresponding to the layer two control information into the corresponding data block in the data area.
Optionally, the indication information of the logical channel includes part or all of the following information:
a logical channel identifier of a logical channel corresponding to the data block;
information indicating whether a position following the sub-header area is a data area;
information for indicating whether the subheader has a subheader length indication;
information indicating a length of a corresponding data block;
the indication information corresponding to the data block comprises part or all of the following information:
information indicating a type of data in a corresponding data block;
information indicating whether a corresponding data block is a segmented data block;
information for indicating whether to perform reception state feedback for a corresponding data block;
information indicating that the corresponding data block is a last segmented data block;
information indicating a start position of a data block in the segmented data block in the original data block.
Optionally, the indication information corresponding to the layer two control information for the logical channel includes part or all of the following information:
information indicating a type of data in a corresponding data block;
information indicating a type of layer two control information.
Optionally, the PDU includes a subheader region and a data region;
the first processing module 801 is specifically configured to:
placing the data blocks in corresponding data blocks in the data area;
the indication information corresponding to the data block is placed in a subheader corresponding to the data block in the subheader area;
placing SN in a subheader corresponding to the data block in the subheader area;
and placing the indication information of the logical channel in a subheader corresponding to the subheader area.
Optionally, the first processing module 801 is further configured to:
and placing the layer two control information aiming at the logical channel and the indication information corresponding to the layer two control information into the PDU.
Optionally, the first processing module 801 is specifically configured to:
placing layer two control information for a logical channel in a corresponding data block in the data region;
and placing the indication information corresponding to the layer two control information of the logic channel in the subheader corresponding to the layer two control information in the subheader area.
Optionally, the indication information of the logical channel includes part or all of the following information:
information indicating whether a position after the corresponding subheader is a data area;
information for indicating whether there is a length indication in the corresponding subheader;
a logical channel identifier of a logical channel corresponding to the data block;
information for indicating whether to perform reception state feedback;
the indication information corresponding to the data block comprises part or all of the following information:
information for indicating whether there is a sub-header length indication in the corresponding sub-header;
information indicating a length of a corresponding data block;
information indicating a type of data in a corresponding data block;
information indicating whether a corresponding data block is a segmented data block;
information indicating that the corresponding data block is a last segmented data block;
information indicating a start position of a data block in the segmented data block in the original data block.
Optionally, the indication information corresponding to the layer two control information for the logical channel includes part or all of the following information:
information for indicating whether there is a sub-header length indication in the corresponding sub-header;
information indicating a length of a corresponding data block;
information indicating a type of data in a corresponding data block;
information indicating a type of layer two control information.
Optionally, the first processing module 801 is specifically configured to:
the method comprises the steps of placing a data block aiming at the same logical channel into a PDU, placing indication information corresponding to the data block into the PDU, placing the indication information of the logical channel into the PDU, and placing part of SNs corresponding to a plurality of continuous second-layer data packets into the PDU.
Optionally, the PDU includes a subheader region and a data region;
the first processing module 801 is specifically configured to:
placing the data blocks in corresponding data blocks in the data area;
the indication information corresponding to the data block is placed in a subheader corresponding to the data block in the subheader area;
the indication information of the logical channel is placed in a subheader corresponding to the indication information in the subheader area;
and placing part of SN corresponding to a plurality of continuous two-layer data packets in subheaders corresponding to the data blocks in the subheader area.
Optionally, the indication information of the logical channel includes part or all of the following information:
information indicating whether a position after the corresponding subheader is a data area;
information for indicating whether there is a length indication in the corresponding subheader;
a logical channel identifier of a logical channel corresponding to the data block;
the indication information corresponding to the data block comprises part or all of the following information:
information for indicating whether there is a length indication in the corresponding subheader;
information indicating a length of a corresponding data block;
information indicating a type of data in a corresponding data block;
for indicating whether a corresponding data block is followed by a consecutive plurality of data blocks;
for indicating whether a first data block and a last data block of a consecutive plurality of data blocks are segmented data blocks;
information indicating a start position of a data block in the segmented data block in the original data block.
Based on the same inventive concept, the embodiment of the present invention further provides a receiving device, and as the principle of the device for solving the problem is similar to the method for receiving data in the embodiment of the present invention, the implementation of the device may refer to the implementation of the method, and repeated details are not repeated.
As shown in fig. 9, a first receiving apparatus according to an embodiment of the present invention includes:
a receiving module 900, configured to receive, through a physical layer, a PDU sent from a sending device;
a second processing module 901, configured to perform receiving processing on the PDU;
and the PDU is generated by the sending equipment according to the SN distributed to each data block and the data block obtained by sending the data block.
Optionally, the second processing module 901 is specifically configured to:
and extracting data blocks of different logic channels, indication information corresponding to the data blocks and SN corresponding to a layer two data packet in the data blocks from the PDU.
Optionally, the PDU includes a subheader region and a data region;
the second processing module 901 is specifically configured to:
extracting data blocks of different logical channels from corresponding data blocks in the data area;
and aiming at any one data block, extracting the indication information corresponding to the data block from the subheader corresponding to the data block, and extracting the SN corresponding to the second-layer data packet in the data block from the data area or the subheader corresponding to the data block.
Optionally, the second processing module 901 is further configured to:
and extracting layer two control information based on the terminal and indication information corresponding to the layer two control information from the PDU.
Optionally, the second processing module 901 is specifically configured to:
and extracting the layer two control information from the control area of the data area, and extracting the indication information corresponding to the layer two control information from the subheader corresponding to the layer two control information in the subheader area.
Optionally, the indication information corresponding to the data block includes part or all of the following information:
information indicating a length of a corresponding data block;
a logical channel identifier of a logical channel corresponding to the data block;
information indicating whether a position after the corresponding subheader is a data area;
information for indicating whether the corresponding subheader has a subheader length indication;
optionally, the indication information corresponding to the layer two control information includes part or all of the following information:
information indicating a length of a corresponding data block;
the logical channel identifier corresponding to the layer two control information and used for identifying the type of the control information;
and the information is used for indicating whether the subheader corresponding to the layer indication information has length indication.
Optionally, the second processing module 901 is specifically configured to:
extracting a data block aiming at the same logical channel from the PDU, placing indication information corresponding to the data block in the PDU, the indication information of the logical channel and SN corresponding to a layer two data packet in the data block.
Optionally, the PDU includes a subheader region and a data region;
the second processing module 901 is specifically configured to:
extracting a data block, indication information corresponding to the data block and SN corresponding to a second-layer data packet from the corresponding data block in the data area;
and extracting the indication information of the logical channel from the subheader area.
Optionally, the second processing module 901 is further configured to:
and extracting layer two control information aiming at the logical channel and indication information corresponding to the layer two control information from the PDU.
Optionally, the second processing module 901 is specifically configured to:
and extracting layer two control information aiming at the logical channel and indication information corresponding to the layer two control information from the corresponding data block in the data area.
Optionally, the indication information of the logical channel includes part or all of the following information:
a logical channel identifier of a logical channel corresponding to the data block;
information indicating whether a position following the sub-header area is a data area;
information for indicating whether the subheader has a subheader length indication;
information indicating a length of a corresponding data block;
the indication information corresponding to the data block comprises part or all of the following information:
information indicating a type of data in a corresponding data block;
information indicating whether a corresponding data block is a segmented data block;
information for indicating whether to perform reception state feedback for a corresponding data block;
information indicating that the corresponding data block is a last segmented data block;
information indicating a start position of a data block in the segmented data block in the original data block;
optionally, the indication information corresponding to the layer two control information for the logical channel includes part or all of the following information:
information indicating a type of data in a corresponding data block;
information indicating a type of layer two control information.
Optionally, the PDU includes a subheader region and a data region;
the second processing module 901 is specifically configured to:
extracting data blocks from corresponding data blocks in the data area;
extracting indication information corresponding to the data block from a subheader corresponding to the data block in the subheader area;
extracting SN corresponding to the two-layer data packet from the subheader corresponding to the data block in the subheader area;
and extracting the indication information of the logical channel from the subheader corresponding to the subheader area.
Optionally, the second processing module 901 is further configured to:
and extracting layer two control information aiming at the logical channel and indication information corresponding to the layer two control information from the PDU.
Optionally, the second processing module 901 is specifically configured to:
extracting layer two control information aiming at a logical channel from a corresponding data block in the data area;
and extracting indication information corresponding to the layer two control information of the logic channel from the subheader corresponding to the layer two control information in the subheader area.
Optionally, the indication information of the logical channel includes part or all of the following information:
information indicating whether a position after the corresponding subheader is a data area;
information for indicating whether there is a length indication in the corresponding subheader;
a logical channel identifier of a logical channel corresponding to the data block;
information for indicating whether to perform reception state feedback;
the indication information corresponding to the data block comprises part or all of the following information:
information for indicating whether there is a sub-header length indication in the corresponding sub-header;
information indicating a length of a corresponding data block;
information indicating a type of data in a corresponding data block;
information indicating whether a corresponding data block is a segmented data block;
information indicating that the corresponding data block is a last segmented data block;
information indicating a start position of a data block in the segmented data block in the original data block;
optionally, the indication information corresponding to the layer two control information for the logical channel includes part or all of the following information:
information for indicating whether there is a sub-header length indication in the corresponding sub-header;
information indicating a length of a corresponding data block;
information indicating a type of data in a corresponding data block;
information indicating a type of layer two control information.
Optionally, the second processing module 901 is specifically configured to:
and extracting a data block aiming at the same logical channel, indication information corresponding to the data block, indication information of the logical channel and partial SN in SN corresponding to a plurality of continuous second-layer data packets from the PDU.
Optionally, the PDU includes a subheader region and a data region;
the second processing module 901 is specifically configured to:
extracting data blocks from corresponding data blocks in the data area;
extracting indication information corresponding to the data block from a subheader corresponding to the data block in the subheader area;
extracting the indication information of the logic channel from the subheader corresponding to the indication information in the subheader area;
and extracting partial SN from SN corresponding to a plurality of continuous second-layer data packets from subheaders corresponding to the data blocks in the subheader area.
Optionally, the indication information of the logical channel includes part or all of the following information:
information indicating whether a position after the corresponding subheader is a data area;
information for indicating whether there is a length indication in the corresponding subheader;
a logical channel identifier of a logical channel corresponding to the data block;
the indication information corresponding to the data block comprises part or all of the following information:
information for indicating whether there is a length indication in the corresponding subheader;
information indicating a length of a corresponding data block;
information indicating a type of data in a corresponding data block;
for indicating whether a corresponding data block is followed by a consecutive plurality of data blocks;
for indicating whether a first data block and a last data block of a consecutive plurality of data blocks are segmented data blocks;
information indicating a start position of a data block in the segmented data block in the original data block.
Based on the same inventive concept, the embodiment of the present invention further provides a sending device, and as the principle of the device for solving the problem is similar to the method for sending data in the embodiment of the present invention, the implementation of the device may refer to the implementation of the method, and repeated details are not repeated.
As shown in fig. 10, a second transmission apparatus according to an embodiment of the present invention includes:
the processor 1001 is configured to read the program in the memory 1004 and execute the following processes:
distributing SN for each two-layer data packet; according to the distributed SN, sending the layer two data packet to obtain a data block, and generating a PDU according to the SN and the data block; the PDUs are transmitted to the receiving device over the physical layer using transceiver 1002.
A transceiver 1002 for receiving and transmitting data under the control of the processor 1001.
Optionally, the processor 1001 is specifically configured to:
and data blocks of different logical channels aiming at the same receiving equipment and indication information corresponding to the data blocks are placed in the PDU, and SN corresponding to the two-layer data packet is placed in the PDU.
Optionally, the PDU includes a subheader region and a data region;
the processor 1001 is specifically configured to:
placing data blocks of different logical channels aiming at the same receiving device into corresponding data blocks in the data area;
and aiming at any one data block, arranging the indication information corresponding to the data block in a subheader corresponding to the data block in the subheader area, and arranging the SN corresponding to the data block in the data area where the data block is located or the subheader corresponding to the data block.
Optionally, the processor 1001 is further configured to:
and placing layer two control information based on a terminal and indication information corresponding to the layer two control information into the PDU.
Optionally, the processor 1001 is further configured to:
and placing the layer two control information in a control area of the data area, and placing the indication information corresponding to the layer two control information in a subheader corresponding to the layer two control information in the subheader area.
Optionally, the indication information corresponding to the data block includes part or all of the following information:
information indicating a length of a corresponding data block;
a logical channel identifier of a logical channel corresponding to the data block;
information indicating whether a position after the corresponding subheader is a data area;
information for indicating whether the corresponding subheader has a subheader length indication;
optionally, the indication information corresponding to the layer two control information includes part or all of the following information:
information indicating a length of a corresponding data block;
the logical channel identifier corresponding to the layer two control information and used for identifying the type of the control information;
and the information is used for indicating whether the subheader corresponding to the layer indication information has length indication.
Optionally, the processor 1001 is specifically configured to:
and the data block aiming at the same logical channel and the indication information corresponding to the data block are placed in PDU, the indication information of the logical channel is placed in the PDU, and the SN corresponding to the second-layer data packet is placed in the PDU.
Optionally, the PDU includes a subheader region and a data region;
the processor 1001 is specifically configured to:
placing the data block, the indication information corresponding to the data block and the SN corresponding to the second-layer data packet in the corresponding data block in the data area;
and placing the indication information of the logical channel in the subheader area.
Optionally, the processor 1001 is further configured to:
and placing the layer two control information aiming at the logical channel and the indication information corresponding to the layer two control information into the PDU.
Optionally, the processor 1001 is specifically configured to:
and placing the layer two control information aiming at the logical channel and the indication information corresponding to the layer two control information into the corresponding data block in the data area.
Optionally, the indication information of the logical channel includes part or all of the following information:
a logical channel identifier of a logical channel corresponding to the data block;
information indicating whether a position following the sub-header area is a data area;
information for indicating whether the subheader has a subheader length indication;
information indicating a length of a corresponding data block;
the indication information corresponding to the data block comprises part or all of the following information:
information indicating a type of data in a corresponding data block;
information indicating whether a corresponding data block is a segmented data block;
information for indicating whether to perform reception state feedback for a corresponding data block;
information indicating that the corresponding data block is a last segmented data block;
information indicating a start position of a data block in the segmented data block in the original data block.
Optionally, the indication information corresponding to the layer two control information for the logical channel includes part or all of the following information:
information indicating a type of data in a corresponding data block;
information indicating a type of layer two control information.
Optionally, the PDU includes a subheader region and a data region;
the processor 1001 is specifically configured to:
placing the data blocks in corresponding data blocks in the data area;
the indication information corresponding to the data block is placed in a subheader corresponding to the data block in the subheader area;
placing SN in a subheader corresponding to the data block in the subheader area;
and placing the indication information of the logical channel in a subheader corresponding to the subheader area.
Optionally, the processor 1001 is further configured to:
and placing the layer two control information aiming at the logical channel and the indication information corresponding to the layer two control information into the PDU.
Optionally, the processor 1001 is specifically configured to:
placing layer two control information for a logical channel in a corresponding data block in the data region;
and placing the indication information corresponding to the layer two control information of the logic channel in the subheader corresponding to the layer two control information in the subheader area.
Optionally, the indication information of the logical channel includes part or all of the following information:
information indicating whether a position after the corresponding subheader is a data area;
information for indicating whether there is a length indication in the corresponding subheader;
a logical channel identifier of a logical channel corresponding to the data block;
information for indicating whether to perform reception state feedback;
the indication information corresponding to the data block comprises part or all of the following information:
information for indicating whether there is a sub-header length indication in the corresponding sub-header;
information indicating a length of a corresponding data block;
information indicating a type of data in a corresponding data block;
information indicating whether a corresponding data block is a segmented data block;
information indicating that the corresponding data block is a last segmented data block;
information indicating a start position of a data block in the segmented data block in the original data block.
Optionally, the indication information corresponding to the layer two control information for the logical channel includes part or all of the following information:
information for indicating whether there is a sub-header length indication in the corresponding sub-header;
information indicating a length of a corresponding data block;
information indicating a type of data in a corresponding data block;
information indicating a type of layer two control information.
Optionally, the processor 1001 is specifically configured to:
the method comprises the steps of placing a data block aiming at the same logical channel into a PDU, placing indication information corresponding to the data block into the PDU, placing the indication information of the logical channel into the PDU, and placing part of SNs corresponding to a plurality of continuous second-layer data packets into the PDU.
Optionally, the PDU includes a subheader region and a data region;
the processor 1001 is specifically configured to:
placing the data blocks in corresponding data blocks in the data area;
the indication information corresponding to the data block is placed in a subheader corresponding to the data block in the subheader area;
the indication information of the logical channel is placed in a subheader corresponding to the indication information in the subheader area;
and placing part of SN corresponding to a plurality of continuous two-layer data packets in subheaders corresponding to the data blocks in the subheader area.
Optionally, the indication information of the logical channel includes part or all of the following information:
information indicating whether a position after the corresponding subheader is a data area;
information for indicating whether there is a length indication in the corresponding subheader;
a logical channel identifier of a logical channel corresponding to the data block;
the indication information corresponding to the data block comprises part or all of the following information:
information for indicating whether there is a length indication in the corresponding subheader;
information indicating a length of a corresponding data block;
information indicating a type of data in a corresponding data block;
for indicating whether a corresponding data block is followed by a consecutive plurality of data blocks;
for indicating whether a first data block and a last data block of a consecutive plurality of data blocks are segmented data blocks;
information indicating a start position of a data block in the segmented data block in the original data block.
In fig. 10, a bus architecture (represented by bus 1000), bus 1000 may include any number of interconnected buses and bridges, and bus 1000 links together various circuits including one or more processors, represented by processor 1001, and memory, represented by memory 1004. The bus 1000 may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface 1003 provides an interface between the bus 1000 and the transceiver 1002. The transceiver 1002 may be one element or may be multiple elements, such as multiple receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. Data processed by processor 1001 is transmitted over a wireless medium via antenna 1005, and further, antenna 1005 receives and transmits data to processor 1001.
The processor 1001 is responsible for managing the bus 1000 and general processing, and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And the memory 1004 may be used to store data used by the processor 1001 in performing operations.
Alternatively, the processor 1001 may be a CPU (Central processing Unit), an ASIC (Application specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or a CPLD (Complex Programmable Logic Device)
Based on the same inventive concept, the embodiment of the present invention further provides a receiving device, and as the principle of the device for solving the problem is similar to the method for receiving data in the embodiment of the present invention, the implementation of the device may refer to the implementation of the method, and repeated details are not repeated.
As shown in fig. 11, a second receiving apparatus according to an embodiment of the present invention includes:
a processor 1101 for reading the program in the memory 1104 and executing the following processes:
receiving, with transceiver 1102, the PDUs transmitted from the transmitting device over the physical layer; receiving and processing the PDU;
and the PDU is generated by the sending equipment according to the SN distributed to each data block and the data block obtained by sending the data block.
A transceiver 1102 for receiving and transmitting data under the control of the processor 1101.
Optionally, the processor 1101 is specifically configured to:
and extracting data blocks of different logic channels, indication information corresponding to the data blocks and SN corresponding to a layer two data packet in the data blocks from the PDU.
Optionally, the PDU includes a subheader region and a data region;
the processor 1101 is specifically configured to:
extracting data blocks of different logical channels from corresponding data blocks in the data area;
and aiming at any one data block, extracting the indication information corresponding to the data block from the subheader corresponding to the data block, and extracting the SN corresponding to the second-layer data packet in the data block from the data area or the subheader corresponding to the data block.
Optionally, the processor 1101 is further configured to:
and extracting layer two control information based on the terminal and indication information corresponding to the layer two control information from the PDU.
Optionally, the processor 1101 is specifically configured to:
and extracting the layer two control information from the control area of the data area, and extracting the indication information corresponding to the layer two control information from the subheader corresponding to the layer two control information in the subheader area.
Optionally, the indication information corresponding to the data block includes part or all of the following information:
information indicating a length of a corresponding data block;
a logical channel identifier of a logical channel corresponding to the data block;
information indicating whether a position after the corresponding subheader is a data area;
information for indicating whether the corresponding subheader has a subheader length indication;
optionally, the indication information corresponding to the layer two control information includes part or all of the following information:
information indicating a length of a corresponding data block;
the logical channel identifier corresponding to the layer two control information and used for identifying the type of the control information;
and the information is used for indicating whether the subheader corresponding to the layer indication information has length indication.
Optionally, the processor 1101 is specifically configured to:
extracting a data block aiming at the same logical channel from the PDU, placing indication information corresponding to the data block in the PDU, the indication information of the logical channel and SN corresponding to a layer two data packet in the data block.
Optionally, the PDU includes a subheader region and a data region;
the processor 1101 is specifically configured to:
extracting a data block, indication information corresponding to the data block and SN corresponding to a second-layer data packet from the corresponding data block in the data area;
and extracting the indication information of the logical channel from the subheader area.
Optionally, the processor 1101 is further configured to:
and extracting layer two control information aiming at the logical channel and indication information corresponding to the layer two control information from the PDU.
Optionally, the processor 1101 is specifically configured to:
and extracting layer two control information aiming at the logical channel and indication information corresponding to the layer two control information from the corresponding data block in the data area.
Optionally, the indication information of the logical channel includes part or all of the following information:
a logical channel identifier of a logical channel corresponding to the data block;
information indicating whether a position following the sub-header area is a data area;
information for indicating whether the subheader has a subheader length indication;
information indicating a length of a corresponding data block;
the indication information corresponding to the data block comprises part or all of the following information:
information indicating a type of data in a corresponding data block;
information indicating whether a corresponding data block is a segmented data block;
information for indicating whether to perform reception state feedback for a corresponding data block;
information indicating that the corresponding data block is a last segmented data block;
information indicating a start position of a data block in the segmented data block in the original data block;
optionally, the indication information corresponding to the layer two control information for the logical channel includes part or all of the following information:
information indicating a type of data in a corresponding data block;
information indicating a type of layer two control information.
Optionally, the PDU includes a subheader region and a data region;
the processor 1101 is specifically configured to:
extracting data blocks from corresponding data blocks in the data area;
extracting indication information corresponding to the data block from a subheader corresponding to the data block in the subheader area;
extracting SN corresponding to the two-layer data packet from the subheader corresponding to the data block in the subheader area;
and extracting the indication information of the logical channel from the subheader corresponding to the subheader area.
Optionally, the processor 1101 is further configured to:
and extracting layer two control information aiming at the logical channel and indication information corresponding to the layer two control information from the PDU.
Optionally, the processor 1101 is specifically configured to:
extracting layer two control information aiming at a logical channel from a corresponding data block in the data area;
and extracting indication information corresponding to the layer two control information of the logic channel from the subheader corresponding to the layer two control information in the subheader area.
Optionally, the indication information of the logical channel includes part or all of the following information:
information indicating whether a position after the corresponding subheader is a data area;
information for indicating whether there is a length indication in the corresponding subheader;
a logical channel identifier of a logical channel corresponding to the data block;
information for indicating whether to perform reception state feedback;
the indication information corresponding to the data block comprises part or all of the following information:
information for indicating whether there is a sub-header length indication in the corresponding sub-header;
information indicating a length of a corresponding data block;
information indicating a type of data in a corresponding data block;
information indicating whether a corresponding data block is a segmented data block;
information indicating that the corresponding data block is a last segmented data block;
information indicating a start position of a data block in the segmented data block in the original data block;
optionally, the indication information corresponding to the layer two control information for the logical channel includes part or all of the following information:
information for indicating whether there is a sub-header length indication in the corresponding sub-header;
information indicating a length of a corresponding data block;
information indicating a type of data in a corresponding data block;
information indicating a type of layer two control information.
Optionally, the processor 1101 is specifically configured to:
and extracting a data block aiming at the same logical channel, indication information corresponding to the data block, indication information of the logical channel and partial SN in SN corresponding to a plurality of continuous second-layer data packets from the PDU.
Optionally, the PDU includes a subheader region and a data region;
the processor 1101 is specifically configured to:
extracting data blocks from corresponding data blocks in the data area;
extracting indication information corresponding to the data block from a subheader corresponding to the data block in the subheader area;
extracting the indication information of the logic channel from the subheader corresponding to the indication information in the subheader area;
and extracting partial SN from SN corresponding to a plurality of continuous second-layer data packets from subheaders corresponding to the data blocks in the subheader area.
Optionally, the indication information of the logical channel includes part or all of the following information:
information indicating whether a position after the corresponding subheader is a data area;
information for indicating whether there is a length indication in the corresponding subheader;
a logical channel identifier of a logical channel corresponding to the data block;
the indication information corresponding to the data block comprises part or all of the following information:
information for indicating whether there is a length indication in the corresponding subheader;
information indicating a length of a corresponding data block;
information indicating a type of data in a corresponding data block;
for indicating whether a corresponding data block is followed by a consecutive plurality of data blocks;
for indicating whether a first data block and a last data block of a consecutive plurality of data blocks are segmented data blocks;
information indicating a start position of a data block in the segmented data block in the original data block.
In fig. 11, a bus architecture (represented by bus 1100), bus 1100 may include any number of interconnected buses and bridges, bus 1100 linking together various circuits including one or more processors, represented by processor 1101, and memory, represented by memory 1104. The bus 1100 may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface 1103 provides an interface between the bus 1100 and the transceiver 1102. The transceiver 1102 may be one element or multiple elements, such as multiple receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. Data processed by the processor 1101 is transmitted over a wireless medium via the antenna 1105, and further, the antenna 1105 receives and transmits data to the processor 1101.
The processor 1101 is responsible for managing the bus 1100 and general processing, and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And memory 1104 may be used to store data used by processor 1101 in performing operations.
Alternatively, the processor 1101 may be a CPU, ASIC, FPGA or CPLD.
The present application is described above with reference to block diagrams and/or flowchart illustrations of methods, apparatus (systems) and/or computer program products according to embodiments of the application. It will be understood that one block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, and/or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer and/or other programmable data processing apparatus, create means for implementing the functions/acts specified in the block diagrams and/or flowchart block or blocks.
Accordingly, the subject application may also be embodied in hardware and/or in software (including firmware, resident software, micro-code, etc.). Furthermore, the present application may take the form of a computer program product on a computer-usable or computer-readable storage medium having computer-usable or computer-readable program code embodied in the medium for use by or in connection with an instruction execution system. In the context of this application, a computer-usable or computer-readable medium may be any medium that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.