Nothing Special   »   [go: up one dir, main page]

CN107645747B - Method and equipment for sending and receiving data - Google Patents

Method and equipment for sending and receiving data Download PDF

Info

Publication number
CN107645747B
CN107645747B CN201610589323.8A CN201610589323A CN107645747B CN 107645747 B CN107645747 B CN 107645747B CN 201610589323 A CN201610589323 A CN 201610589323A CN 107645747 B CN107645747 B CN 107645747B
Authority
CN
China
Prior art keywords
data block
data
information
subheader
layer
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
CN201610589323.8A
Other languages
Chinese (zh)
Other versions
CN107645747A (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 Academy of Telecommunications Technology CATT
Datang Mobile Communications Equipment Co Ltd
Original Assignee
China Academy of Telecommunications Technology CATT
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 Academy of Telecommunications Technology CATT filed Critical China Academy of Telecommunications Technology CATT
Priority to CN201610589323.8A priority Critical patent/CN107645747B/en
Publication of CN107645747A publication Critical patent/CN107645747A/en
Application granted granted Critical
Publication of CN107645747B publication Critical patent/CN107645747B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Communication Control (AREA)

Abstract

The embodiment of the invention relates to the technical field of wireless communication, in particular to a method and equipment for sending and receiving data, which are used for solving the problems that if the current layer two design is adopted in a high-rate scene, the real-time performance and the transmission efficiency of operation are seriously influenced, and the overall efficiency of a network is not facilitated in the prior art. 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.

Description

Method and equipment for sending and receiving data
Technical Field
The present invention relates to the field of wireless communications technologies, and in particular, to a method and an apparatus for transmitting and receiving data.
Background
Data transmission between a UE (terminal) and an eNB (evolved node b) generally passes through transmission of a PDCP (Packet data convergence Protocol) layer, an RLC (Radio Link Control) layer, an MAC (Medium Access Control) layer, and a PHY (physical) layer, and each layer completes different data processing. The PDCP layer mainly performs security operations and Header Compression/decompression processes, such as ciphering and integrity protection, ROHC (Robust Header Compression; ROHC) Compression and decompression, and the like; the RLC layer mainly completes the segmented cascade and sequential submission of data and the data transmission guarantee of ARQ (Automatic Repeat reQuest); the MAC layer mainly completes scheduling, cascade processing of different logical channels, and HARQ (Hybrid Automatic repeat request) operation; the physical layer completes transmission block packetization and air interface transmission. Fig. 1 is a schematic diagram of a user plane protocol stack.
The PDCP layer mainly functions to perform security-related operations (encryption/decryption, integrity protection/verification) and header compression/decompression processing. The RLC layer has the main functions of completing segmentation, concatenation and sequential delivery of data and ARQ. The main function of the MAC layer is to perform uplink/downlink scheduling based on the resources of the PHY layer.
In the prior art, a layer two protocol consists of a PDCP layer, an RLC layer and an MAC layer, functions of each layer have certain repeatability, the three layers respectively have a head structure, the functions are redundant, the cost is high, the processing is complex, and the efficiency is not high. The future 5G data rate is higher, and if the existing layer two design is adopted, the real-time performance and the transmission efficiency of the operation are seriously influenced, and the overall efficiency of the network is not facilitated.
In summary, if the design of the current layer two is adopted in the high-rate scene, the real-time performance and the transmission efficiency of the operation are seriously affected, and the overall efficiency of the network is not facilitated.
Disclosure of Invention
The invention provides a method and equipment for transmitting and receiving data transmission, which are used for solving the problems that the real-time performance and the transmission efficiency of operation are seriously influenced and the overall efficiency of a network is not facilitated if the current layer two design is adopted in a high-rate scene in the prior art.
The embodiment of the invention provides a method for data transmission, which comprises the following steps:
the sending equipment distributes SN for each two-layer data packet;
the sending equipment sends the layer two data packets according to the distributed SN to obtain a data block, and generates a PDU according to the SN and the data block;
and the transmitting equipment transmits the PDU to the receiving equipment through a physical layer.
The embodiment of the invention provides a method for receiving data, which comprises the following steps:
the receiving equipment receives the PDU sent by the sending equipment through a physical layer;
the receiving equipment receives and processes 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.
The sending device for data transmission provided by the embodiment of the invention comprises:
the distribution module is used for distributing SN for each two-layer data packet;
the first processing module is used for sending and processing the layer two data packet according to the distributed SN to obtain a data block, and generating 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.
An embodiment of the present invention provides a receiving device for receiving data, where the receiving device includes:
a receiving module, configured to receive, through a physical layer, a PDU sent from a sending device;
the second processing module is used for 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.
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.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
FIG. 1 is a diagram of a user plane protocol stack in the background art;
FIG. 2 is a flowchart illustrating a method for transmitting data according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating a first PDU structure according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating a second PDU structure according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating a third PDU structure according to an embodiment of the present invention;
FIG. 6A is a diagram illustrating a fourth PDU structure according to an embodiment of the present invention;
FIG. 6B is a diagram illustrating exemplary consecutive SNs according to an embodiment of the present invention;
FIG. 7 is a flowchart illustrating a method for receiving data according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a first sending device according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a first receiving device according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a second transmitting device according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of a second receiving device according to an embodiment of the present invention.
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.
Embodiment 1, scheme for multiplexing data of different logical channels.
In implementation, the data block needs to be sent to the physical layer and sent out by the physical layer, and all data can be transmitted on the physical layer resource at the same time. In order to improve transmission efficiency, the embodiment of the invention multiplexes different types of data and data from different logical channels for simultaneous transmission.
In order to improve the efficiency of data multiplexing, reduce the overhead as much as possible, and maintain the flexibility, different logical channel multiplexing according to the embodiments of the present invention may adopt part or all of the following ways:
firstly, the sending equipment places data from different logical channels into PDU and distinguishes the data by logical channel identification (such as logical channel number), and after the data packet of one logical channel is placed, the data of the next logical channel is placed;
and if the layer two control information based on the terminal exists, the sending equipment can indicate the layer two control information by a special logical channel identifier.
Alternatively, the control information is generally higher in priority, so that when the control information and the data packet are multiplexed, the control information can be placed at the head of the data packet.
Wherein, the layer two control information based on the terminal includes but is not limited to part or all of the following information:
the method includes the steps of terminal side caching and power margin reporting, UE downlink activation/deactivation signaling, DRX (discontinuous reception) signaling and other signaling, and the like.
And thirdly, length indication is needed for each data block in each logical channel, so that the receiving equipment can decode the data block in the logical channel to perform the operations of packaging and submitting a high layer.
One possible PDU structure is listed below, as shown in fig. 3. It should be noted that the structure shown in fig. 3 is only one possible implementation manner, and the embodiment of the present invention is applicable to any PDU structure capable of multiplexing.
In fig. 3, subheader 1, subheader 2 and subheader 3 constitute the header of the PDU, followed by control information, data block 1, data block 2 and padding, which are the payload.
The sequence of subheaders is consistent with the sequence of data, i.e. subheader 1 is a header indication corresponding to control information, subheader 2 is a header indication corresponding to data block 1 and data block 2, and subheader 3 is a header indication corresponding to padding part.
LCID: the logical Channel numbers (i.e. logical Channel identifiers of logical channels corresponding to the data blocks) include some special logical Channel numbers for indicating some special information, such as 00000 indicating CCCH (Common Control Channel), the 10000 + 11111 region indicating special Control information, for example, buffer and power headroom report at the UE side, UE downlink activation/deactivation signaling, DRX signaling, and other signaling, and the 00001 + 01111 region indicating uplink and downlink dedicated logical channels. The sending end sets a corresponding logical channel number for each data block according to the attribute of the sent data, after receiving the PDU, the receiving end can know whether the corresponding data block is control information or data of a special logical channel from different logical channel numbers, the data of different special logical channels are sent to different logical channels for processing, and the control information is sent to corresponding modules for processing. A special LCID may also be required to indicate padding.
E: an extension field (i.e., information indicating whether a position following the corresponding subheader is a data area) for indicating whether the subheader is followed by the next subheader or a data part. Taking the above example as an example, setting the E field in subhead 1 to 1 may indicate that subhead 2 is followed by subhead 2 instead of the data portion, and similarly, setting the E field of subhead 2 to 1 also indicates that subhead 3 is followed by the word header 3, and the E field of subhead 3 needs to be set to 0, indicating that this is the last subhead, followed by the data portion. Correspondingly, the E field may take 0 to represent the following subheader, and the E field may take 1 to represent the data, and the standard may be specified or configured in advance.
E1: an extension field 1 (i.e., information for indicating whether there is a length indication in a corresponding subheader) for indicating whether there is a length indication following inside the subheader. E.g. inside subheader 1, since this is a control information whose length is fixed, e.g. in a fixed format, then no length indication is needed, and E1 field may be set to 0; for the header 2, the first E1 field is set to 1, which means that LI indication is required for the first data block, the second E1 field is set to 1, which means that LI indication is required for the second data block, and the third E1 field is set to 0, which means that LI is not required subsequently.
And LI: a length indication field (i.e., information for indicating the length of the corresponding data block) for carrying the size of each data block in bytes.
In the above example, the last subheader is the content of the corresponding padding (padding). If the scheduling can be accurately controlled according to the data to be sent, filling is not needed; if the size of the data block transmitted by the physical layer is not well matched with the data to be transmitted, padding bytes are required to meet the size of the transmission resource of the physical layer outside the data block. For the receiving device, the stuff bytes are directly discarded without processing.
If the data to be transmitted by the transmitting device is from two or more logical channels, it is equivalent to the data indication that the subheader 2 represents one logical channel, and it can be followed by a similar subheader, such as 2i, to indicate the data of another logical channel, different logical channel identifiers characterize different logical channels, the data block portion is organized according to the data to be transmitted, and multiple data blocks can have multiple length indications.
Optionally, the control information is located in the initial part of the PDU, with data of multiple logical channels in between, and finally, if there is a remaining part, padding bytes may follow.
In practice, there may be two different ways of indicating the length indication:
firstly, the sending equipment indicates the byte length corresponding to each data block by each length, the sending equipment of the last data block of the logical channel also indicates the length and marks the end position of the data of the logical channel;
and secondly, the transmitting equipment takes the length of the whole data block of the logical channel as the whole length indication, and indicates the length of each data block inside.
Since with the overall length indication and the length indication of the preceding N-1 data blocks, the remaining length is necessarily the length of the last data block, so that the last data block may not be used with the corresponding length indication, in practice, there is the following way with respect to the size of the length indication LI:
one, the size of the LI is statically configured through signaling.
For example, to 7 bits, or to 15 bits; logical channel 1 may be configured with 7 bits and logical channel 2 may be configured with 15 bits.
And secondly, dynamically indicating the size of the LI through some format indication fields in the transmitted data packet.
For example, in subheader 2 above, the F2 field is added, with different indications of the F2 field indicating different LI sizes.
For example, 0 represents 7 bits, and 1 represents 15 bits, the advantage of dynamic indication is that the length of LI can be flexibly determined according to the size of the data packet, and header overhead is saved.
Embodiment 2, first scheme for transmitting data packet in one logical channel.
Within a logical channel, there may be control information, initial transmission data and retransmission data at the logical channel level. The control information of the logical channel level here is different from the control information in the above-described embodiment 1, the control information in the embodiment 1 is control information of the UE level, and the control information referred to in the embodiment 2 is control information of the logical channel level, such as some status report feedback of the AM mode, header compression control information, and the like.
When a transmitting device organizes data blocks in a logical channel, the control information generally has the highest priority, the retransmitted data is the second time, and the initially transmitted data has the lowest priority, so that the status information is positioned at the forefront, the retransmitted data is the next time, and the initially transmitted data is the last time when the transmitting device packages the data blocks.
A packet mode is that a sending device arranges data blocks to be packed according to a priority order, carries a length indication of each data block in a head part of a PDU (protocol data Unit), distinguishes different data blocks and then carries out different processing on the data blocks. The processing may be performed at different layers, for example, the divided data blocks are processed at a higher layer of the packet layer, different control information and data information are distinguished, and the packet is parsed separately.
One possible PDU structure is listed below, as shown in fig. 4. It should be noted that the structure shown in fig. 4 is only one possible implementation manner, and the embodiment of the present invention is applicable to a PDU structure as long as the control information and the data packet can be placed in the PDU and sent to the receiving device.
The sub-header is similar to that in embodiment 1, that is, different data blocks in one logical channel are subjected to length indication and differentiation, so as to be beneficial to distinguishing different data blocks.
But inside each data block, because the type of the data block is different, the data block can be further divided into two parts of header information and payload.
Taking data block 1 as an example, this is control information at a logical channel level, so in the header information, the D/C field is used to indicate that this is control information, then the Type field is used to indicate the Type of the control information, such as status feedback, header compression feedback, etc., and then the valid information part of the control information, and according to the control information, the information format can be defined and executed accordingly.
Wherein: LCID, E1 and LI have the same meaning as example 1 and are not described herein.
D/C: control information or data indication (i.e. information indicating the type of data in the corresponding data block), for example, the field takes 0 to represent that it is control information, and 1 to represent that it is data, or vice versa, the standard may be predefined, and both the transmitter and the receiver comply with the implementation;
type: a type of the control information (i.e., information indicating the type of the control information).
Taking data block 2 as an example, this is data inside a logical channel, so in the header information, the D/C field indicates that this is data, and then the subsequent fields indicate the sequence number of this data packet, whether to fragment, whether to poll, etc., so that the receiving side can reassemble and order the data in order according to these information, and perform status feedback according to poll requirement. Wherein:
and (3) SI: a flag of whether to segment (i.e. information indicating whether a corresponding data block is a segmented data block), for example, the field is 1 to indicate that the data block is a segmented data, and 0 is taken to indicate that the data block is a complete data packet, or vice versa, the standard may stipulate in advance that both the transceiver and the receiver are executed in compliance;
p: a poll indication (information indicating whether to perform reception status feedback for a corresponding data block) representing that the sender wants the receiver to perform reception status feedback as soon as possible when the field is set;
SN: the sequence number of the data packet, which is generally assigned in the order of the sequence number received from the higher layer, so that at the receiving end it is possible to reorder, reassemble and deliver in sequence according to the sequence number;
LS: a last segment indication (i.e., information indicating that the corresponding data block is the last segmented data block), which is required only when a segmented packet is received, to indicate that the segment is the last segment of a complete data packet with sequence number SN, and after receiving the segment, the data packet with sequence number SN can be considered as received completely;
SO (i.e., information indicating the starting position of the packet in the segmented data block in the original packet): a fragment start position indication, which is required only if a fragment packet, indicates the start position of the fragment in the payload portion of a complete data packet with sequence number SN. E.g., one packet, for a total of 500 bytes, the first segment is: 0 to 199, the second segment is: 200 to 499. Then for the first segment: the value of SO is 0, and the length is indicated to be 200; for the second segment: the value of SO is 200 and the length is indicated as 300. Also for example, the payload portion of the original packet with SN 5 is 500 bytes in total, and the segment starts from the 300 th byte, SO is 300, and in combination with the LI length of the data block in the PDU subheader, if LI is exactly 200, it is proved that this is the last segment of the packet, located at 300 ~ 500 bytes of the original packet.
Embodiment 3, second scheme for transmitting data packet inside one logical channel.
Similar to embodiment 2, embodiment 3 also shows a way of organizing data packets within a logical channel. The control information, the priority of the retransmission data, the priority of the initial transmission data, and the order of placement are the same as those in embodiment 2.
In embodiment 3, the sending device concentrates the header in the subheader part, followed by the real control information and data payload parts.
One possible PDU structure is listed below, as shown in fig. 5. It should be noted that the structure shown in fig. 5 is only one possible implementation manner, and the embodiment of the present invention is applicable to any PDU structure capable of multiplexing.
In fig. 5, the meaning and the value of each domain are the same as those in example 2 and example 1. The difference lies in that the head indication information is completely concentrated in the head area at the forefront and is processed in a centralized way, and the sequence of the head area is completely consistent with the sequence of the subsequent effective information part, and the receiving end can analyze different control information and data information according to the indication of the head.
Meanwhile, because Poll is used for searching the receiving end of the same logical channel, each data packet does not need to be carried independently, and the Poll can be embodied at the head of the whole logical channel once.
In addition, it is also possible that the control information is taken as a whole, the indication contents of the control information, such as D/C and type, are also taken as a part of the control information, and are put together with the following control information, and the data information is taken in a manner that the payload and the header indication are separated, that is, the processing manner of embodiment 2 is taken for the control information to ensure the integrity of the control information, and the manner of embodiment 3 is taken for the data part.
Optionally, because the data formats in embodiments 2 and 3 support the retransmission packet and the initial transmission packet in a consistent manner, both identified by SN, and there is an additional indication for possible segments, such as a block of header information corresponding to each data or data segment, the data portion in embodiments 2 and 3 may not be distinguished as the retransmission packet or the initial transmission packet.
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.

Claims (36)

1. A method for data transmission, the method comprising:
the sending equipment distributes a corresponding serial number SN for each layer two data packet;
the sending equipment sends the layer two data packets according to the distributed SN to obtain a data block, and generates a protocol data unit PDU according to the SN and the data block;
the transmitting equipment transmits the PDU to receiving equipment through a physical layer;
wherein the generating, by the sending device, the PDU according to the SN and the data block includes:
the sending equipment places data blocks of different logical channels aiming at the same receiving equipment and indication information corresponding to the data blocks into PDU, and places SN corresponding to two-layer data packets into the PDU; or
The sending equipment places the data block aiming at the same logical channel and the indication information corresponding to the data block in a PDU (protocol data Unit), places the indication information of the logical channel in the PDU, and places the SN corresponding to a second-layer data packet in the PDU; or
The sending equipment places a data block aiming at the same logical channel into a PDU (protocol data Unit), places 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 SN (service number) in SN (service number) corresponding to a plurality of continuous second-layer data packets into the PDU.
2. The method of claim 1, wherein the PDU comprises 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.
3. The method of claim 2, wherein the sending device generates a PDU based on the SN and the data block, further comprising:
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.
4. The method of claim 3, wherein the transmitting device places terminal-based layer two control information and indication information corresponding to the layer two control information in the PDU, further comprising:
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.
5. The method of claim 1, wherein the indication information corresponding to the data block comprises 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.
6. The method according to claim 3 or 4, wherein the indication information corresponding to the layer two control information comprises 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 two control information has the length indication.
7. The method of claim 1, wherein the PDU comprises 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.
8. The method of claim 7, wherein the sending device generates a PDU based on the SN and the data block, further comprising:
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.
9. The method of claim 8, wherein the sending device placing layer two control information for a logical channel and indication information corresponding to the layer two control information in the PDU comprises:
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.
10. The method of claim 1, wherein the indication information of the logical channel comprises 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.
11. The method of claim 8, wherein the indication information corresponding to the layer two control information for the logical channel comprises 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.
12. The method of claim 1, wherein the PDU comprises 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.
13. The method of claim 12, wherein the sending device generates a PDU based on the SN and the data block, further comprising:
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.
14. The method of claim 13, wherein the transmitting device placing layer two control information for a logical channel and indication information corresponding to the layer two control information in the PDU comprises:
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.
15. The method of claim 12, wherein the indication information of the logical channel includes some 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.
16. The method according to claim 13 or 14, wherein the indication information corresponding to the layer two control information for the logical channel 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 a type of layer two control information.
17. The method of claim 16, wherein the PDU comprises 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.
18. The method of claim 17, wherein the indication information of the logical channel includes some 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.
19. A method of receiving data, the method comprising:
the receiving equipment receives the protocol data unit PDU sent by the sending equipment through a physical layer;
the receiving equipment receives and processes the PDU;
the PDU is generated by the sending equipment according to a sequence number SN distributed to each layer two data packet and a data block obtained by sending and processing the layer two data packet; the receiving device performs receiving processing on the PDU, including:
the receiving device extracts data blocks of different logic channels, indication information corresponding to the data blocks and SN corresponding to layer two data packets in the data blocks from the PDU; or
The receiving equipment extracts a data block aiming at the same logical channel, indication information corresponding to the data block, the indication information of the logical channel and SN corresponding to a layer two data packet in the data block from the PDU; or
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.
20. The method of claim 19, wherein the PDU comprises 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.
21. The method of claim 20, wherein the receiving device performs receive processing on the PDU, further comprising:
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.
22. The method of claim 21, wherein the extracting, by the receiving device, layer two control information for a logical channel and indication information corresponding to the layer two control information from the PDU comprises:
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.
23. The method of claim 20, wherein the indication information of the logical channel includes some 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.
24. The method according to claim 21 or 22, wherein the indication information corresponding to the layer two control information for the logical channel 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 a type of layer two control information.
25. The method of claim 19, wherein the PDU comprises 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.
26. The method of claim 25, wherein the indication information of the logical channel includes some 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.
27. A transmitting device that performs data transmission, the transmitting device comprising:
the distribution module is used for distributing a serial number SN for each layer two data packet;
the first processing module is used for sending and processing the layer two data packet according to the distributed SN to obtain a data block and generating a Protocol Data Unit (PDU) according to the SN and the data block;
a sending module, configured to send the PDU to a receiving device through a physical layer;
the first processing module is specifically configured to:
data blocks of different logic channels aiming at the same receiving equipment and indication information corresponding to the data blocks are placed in PDU, and SN corresponding to a layer two data packet is placed in the PDU;
the method comprises the steps that a data block aiming at the same logical channel and indication information corresponding to the data block are placed in a PDU (protocol data Unit), the indication information of the logical channel is placed in the PDU, and an SN (service number) corresponding to a layer two data packet is placed in the PDU; or
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.
28. The transmission apparatus of claim 27, wherein the PDU includes a subheader region and a data region;
the first processing module 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.
29. The transmitting device of claim 28, wherein the first processing module is further 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.
30. The sending device of claim 29, wherein the first processing module 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.
31. The transmission apparatus of claim 27, wherein the PDU includes a subheader region and a data region;
the first processing module 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.
32. A receiving apparatus that receives data, characterized by comprising:
a receiving module, configured to receive, through a physical layer, a protocol data unit PDU sent from a sending device;
the second processing module is used for receiving and processing the PDU;
the PDU is generated by the sending equipment according to a sequence number SN distributed to each data block and the data block obtained by sending the data block; the second processing module is specifically configured to:
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; or
Extracting a data block aiming at the same logical channel, indication information corresponding to the data block, the indication information of the logical channel and SN corresponding to a layer two data packet in the data block from the PDU; or
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.
33. The receiving device of claim 32, wherein the PDU comprises a subheader region and a data region;
the second processing module 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.
34. The receiving device of claim 33, wherein the second processing module is further 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.
35. The receiving device of claim 34, wherein the second processing module 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.
36. The receiving device of claim 32, wherein the PDU comprises a subheader region and a data region;
the second processing module 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.
CN201610589323.8A 2016-07-22 2016-07-22 Method and equipment for sending and receiving data Active CN107645747B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610589323.8A CN107645747B (en) 2016-07-22 2016-07-22 Method and equipment for sending and receiving data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610589323.8A CN107645747B (en) 2016-07-22 2016-07-22 Method and equipment for sending and receiving data

Publications (2)

Publication Number Publication Date
CN107645747A CN107645747A (en) 2018-01-30
CN107645747B true CN107645747B (en) 2020-02-21

Family

ID=61109817

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610589323.8A Active CN107645747B (en) 2016-07-22 2016-07-22 Method and equipment for sending and receiving data

Country Status (1)

Country Link
CN (1) CN107645747B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110636555B (en) * 2018-06-21 2022-04-12 华为技术有限公司 Data scheduling method and device
CN110691114B (en) 2018-07-06 2024-08-02 华为技术有限公司 Communication method, device and equipment
CN113498125B (en) * 2020-03-20 2024-09-17 华为技术有限公司 Communication method, access network equipment, terminal equipment and core network equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101686494A (en) * 2008-09-22 2010-03-31 大唐移动通信设备有限公司 Method and device for processing packets by packet data convergence protocol (PDCP) layer
CN104735728A (en) * 2015-04-10 2015-06-24 宇龙计算机通信科技(深圳)有限公司 Service data flow transmission method and system
CN107359968A (en) * 2016-05-10 2017-11-17 电信科学技术研究院 A kind of data transmission method and device of individual layer sequence number

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101686494A (en) * 2008-09-22 2010-03-31 大唐移动通信设备有限公司 Method and device for processing packets by packet data convergence protocol (PDCP) layer
CN104735728A (en) * 2015-04-10 2015-06-24 宇龙计算机通信科技(深圳)有限公司 Service data flow transmission method and system
CN107359968A (en) * 2016-05-10 2017-11-17 电信科学技术研究院 A kind of data transmission method and device of individual layer sequence number

Also Published As

Publication number Publication date
CN107645747A (en) 2018-01-30

Similar Documents

Publication Publication Date Title
US10986653B2 (en) Method and system for sending and receiving data
CN107360591B (en) Method and equipment for reporting buffer status report
US8175015B1 (en) WiMAX MAC
JP5261587B2 (en) Method and apparatus for signaling packet segmentation and concatenation in a communication system
CN102377803B (en) Data processing method, device and system
CN103782569B (en) Data processing equipment and method
CN110495210B (en) Packet data convergence protocol data unit preprocessing
EP3605881B1 (en) Method and device for transmitting and receiving network management information, transmitting apparatus and receiving apparatus
CN101729525A (en) Data packet sending and receiving method and device as well as processing method and system
CN107645747B (en) Method and equipment for sending and receiving data
CN103703829A (en) Method and device for data transmission
CN108521343A (en) A kind of processing method and processing device of OAM message
US20180146077A1 (en) Method and apparatus for determining processing mode for data packet
KR20090084320A (en) Apparatus and method for transmitting and receiving mac pdu in mobile communication system
KR20100107002A (en) Method of transmission, user equipment and network equipment
US20190052736A1 (en) Pdu structures
CN108366039B (en) Sending method, receiving method, device and equipment of MAC layer data
CN108012289B (en) PDU (protocol data Unit) sending method and device and PDU receiving method and device
US20120243452A1 (en) Mpdu structure and related methods for use in a wireless communications protocol
WO2018077417A1 (en) Sequence numbers in multiple protocol layered mobile communication
CN110753076B (en) Data sending and receiving method, device and storage medium
CN108632230B (en) Data processing method and network equipment
US20200045582A1 (en) Method and apparatus for transferring aggregated packets
CN108282442B (en) Data sending method and device and user plane entity
CN109362102B (en) Data processing method and device of MAC layer

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
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 100191 No. 40, Haidian District, Beijing, Xueyuan Road

Patentee after: CHINA ACADEMY OF TELECOMMUNICATIONS TECHNOLOGY

Address before: 100191 No. 40, Haidian District, Beijing, Xueyuan Road

Patentee before: CHINA ACADEMY OF TELECOMMUNICATIONS TECHNOLOGY

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210528

Address after: 100085 1st floor, building 1, yard 5, Shangdi East Road, Haidian District, Beijing

Patentee after: DATANG MOBILE COMMUNICATIONS EQUIPMENT Co.,Ltd.

Address before: 100191 No. 40, Haidian District, Beijing, Xueyuan Road

Patentee before: CHINA ACADEMY OF TELECOMMUNICATIONS TECHNOLOGY