CN108366039A - A kind of sending method, method of reseptance, device and the equipment of MAC layer data - Google Patents

A kind of sending method, method of reseptance, device and the equipment of MAC layer data Download PDF

Info

Publication number
CN108366039A
CN108366039A CN201710057425.XA CN201710057425A CN108366039A CN 108366039 A CN108366039 A CN 108366039A CN 201710057425 A CN201710057425 A CN 201710057425A CN 108366039 A CN108366039 A CN 108366039A
Authority
CN
China
Prior art keywords
pdu
mac
rlc
data
specified
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.)
Granted
Application number
CN201710057425.XA
Other languages
Chinese (zh)
Other versions
CN108366039B (en
Inventor
刘亮
马慧
陈卓
杨光
刘洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Communications Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Communications Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201710057425.XA priority Critical patent/CN108366039B/en
Publication of CN108366039A publication Critical patent/CN108366039A/en
Application granted granted Critical
Publication of CN108366039B publication Critical patent/CN108366039B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/06Notations for structuring of protocol data, e.g. abstract syntax notation one [ASN.1]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/30Definitions, standards or architectural aspects of layered protocol stacks
    • H04L69/32Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
    • H04L69/322Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions
    • H04L69/324Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions in the data link layer [OSI layer 2], e.g. HDLC

Landscapes

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

Abstract

The present invention provides a kind of sending method, method of reseptance, device and the equipment of MAC layer data, for the multiple RLC PDU packets of the same logic channel, it only needs to transmit the RLC sequence numbers that one of RLC PDU include, No. SN of other RLC PDU can pass through implicit instruction, so as to reduce the expense that each PDCP PDU add the MAC PDU transmission that No. SN is brought, transmission efficiency of air interface is improved.

Description

A kind of sending method, method of reseptance, device and the equipment of MAC layer data
Technical field
The present invention relates to the media access control of mobile communication system (MAC) layers, and in particular to a kind of hair of MAC layer data Delivery method, method of reseptance, device and equipment.
Background technology
The three categories application scenarios for the 5G that International Telecommunications Union (ITU) defines simultaneously propose and have more challenge compared to 4G Key index ability, it is desirable that support 10G bps+ peak rate and and more low latitude mouthful time delay, for example, enhanced mobile broadband (eMBB) 4ms of business, the 0.5ms etc. of high reliable communication (URLLC) business, these key technical index require not only to physics The designs such as layer frame structure propose requirement, are also proposed to higher-layer protocols (PDCP/RLC/MAC) processing capability in real time and speed How requirements at the higher level are optimized and be improved to meet the need of 5G key indexes to long term evolution (LTE) high system level protocol stack The current 5G 3GPP of Seeking Truth standardize a key task.
In LTE user plane higher-layer protocols, Packet Data Convergence Protocol (PDCP) layer mainly completes head compression, integrality The functions such as protection and enciphering/deciphering, radio link layer control protocol (RLC) layer function include point of RLC service data units (SDU) Section and cascade, automatic repeat request (ARQ) functions, the MAC layer such as are segmented and reorder again and mainly complete priority of logical channels pipe Reason, hybrid automatic repeat-request (HARQ), the functions such as multiplexing and demultiplexing.Wherein rlc layer cascade function is considered as existing to dive Function in optimization space.There are many advantages for cascade function design in LTE protocol at present, but the scene towards 5G and demand Some problems are faced again, and advantage is that the packet of multiple RLC SDU forms a rlc protocol data cell (PDU) and only needs to add One RLC sequence number (Sequence Number, SN), expense is smaller, in addition, the Length Indication carried in RLC PDU (Length Indication, LI) field each of denotes other than the last one PDCP PDU independent PDCP PDU Length, the independent PDCP PDU to restore to be cascaded rapidly in receiving terminal provide enough facilities, as shown in Figure 1.But Be, in current LTE the generation of RLC PDU can not anticipate, need to provide logic channel RLC PDU to RLC in MAC layer Length Indication after can start group packet, and the size of RLC PDU and cascade data packet odevity have relationship, and cannot be simultaneously Row processing, therefore for the radio interface rate of 5G 10Gbps+, the transmission resource block that MAC layer is indicated to rlc layer will be bigger, needs Cascade data packet can increase significantly, and transmitting terminal needs the long period that could complete cascade operation, bring compared with long time delay, will be unable to Meet the requirement of the more low latitude mouthful time delay proposed in 5G visions.
To solve the above-mentioned problems, 3GPP RAN2 group meetings propose two kinds and possible solution.One is will cascade Function is retained in rlc layer, but is optimized to existing LTE protocol stack to support to carry out anticipating work(to PDCP PDU Energy.Another kind is to transfer the cascade function of script rlc layer to MAC layer, as shown in Fig. 2, RLC is received after PDCP PDU to every A data packet only adds No. SN, does not execute cascade operation, MAC layer the RLC PDU of some logic channel cascade and and its Its logical channel data and MAC CE carry out multiplexing and form MAC PDU, and the data processing time delay of such RLC PDU transmission end can Effectively to be reduced.
In RAN2#96 times nearest meeting, it is determined that cascade function is transferred the agreement newly eated dishes without rice or wine as 5G to MAC layer The working hypothesis of stack.It is transferred to MAC layer by the cascade function of script rlc layer, although RLC PDU can be handled in real time, hair The data processing time delay of sending end has obtained effective reduction, but figure it is seen that compared to traditional LTE concatenated schemes, schemes In scheme shown in 2, rlc layer will add a RLC sequence number (Sequence Number, SN) for each PDCP PDU, I.e. each RLC PDU include PDCP PDU and RLC sequence numbers.The raising of the following 5G radio interface rates can bring cascade data packet Increase, each PDCP PDU add No. SN can bring additional expense, and the certain fields of increased expense compared to existing LTE protocol stack Scape is up to 10% or more.
Invention content
Technical problems to be solved of the embodiment of the present invention are to provide a kind of sending method of MAC layer data, method of reseptance, dress It sets and equipment is reduced when transferring the cascade function of rlc layer to MAC layer because PDCP PDU add No. SN expense brought.
In order to solve the above technical problems, the sending method of MAC layer data provided in an embodiment of the present invention, including:
Receive rlc layer send at least one logic channel RLC PDU, the RLC PDU include PDCP PDU and Its RLC sequence number;
According to predetermined concatenation rules, the RLC PDU of same logic channel are cascaded, the grade of each logic channel is obtained Join data, and the cascade data of each logic channel and MAC CE are multiplexed, and only retains in same logic channel The RLC sequence numbers of one specified PDCP PDU, obtain MAC PDU;
The MAC PDU are sent to physical layer.
Preferably, the specified PDCP PDU are first in the cascade data or the last one PDCP PDU.
Preferably, described according to predetermined concatenation rules, the step of the RLC PDU of same logic channel are cascaded, packet It includes:According to the sequence that RLC sequence numbers are incremented by successively or successively decrease successively, the RLC PDU of same logic channel are cascaded, are obtained The cascade data of each logic channel, wherein in the cascade data of each logic channel, the RLC sequence numbers of adjacent R LC PDU Difference is 1.
Preferably, described to be multiplexed the cascade data of each logic channel and MAC CE, and only retain same patrol The RLC sequence numbers of a specified PDCP PDU in volume channel, the step of obtaining MAC PDU, including:
The cascade data of each logic channel is cascaded, and only retains a specified PDCP in same logic channel The RLC sequence numbers of PDU, and before the RLC sequence numbers of the specified PDCP PDU are set to the specified PDCP PDU, and with The specified PDCP PDU are adjacent, obtain PDCP PDU queues;And it by MAC CE and the PDCP PDU queue concatenations, obtains To MAC data queue;
The corresponding MAC subheaders of MAC data are generated, the MAC data includes MAC CE and RLC PDU, the MAC subheaders packet The data length of Logic Channel Identifier and MAC data containing MAC data, it is described specified to specify the data length of RLC PDU The data length of the length of PDCP PDU and its RLC sequence numbers, other RLC PDU except the specified RLC PDU only includes The length of PDCP PDU;And the order according to MAC data in the MAC data queue, each MAC subheaders are cascaded, are obtained To MAC header;The specified RLC PDU are the corresponding RLC PDU of the specified PDCP PDU;
By MAC header and MAC data queue concatenation, the MAC PDU are obtained.
Preferably, described to be multiplexed the cascade data of each logic channel and MAC CE, and only retain same patrol The RLC sequence numbers of a specified PDCP PDU in volume channel, the step of obtaining MAC PDU, including:
The cascade data of each logic channel is cascaded, and only retains a specified PDCP in same logic channel The RLC sequence numbers of PDU, and before the RLC sequence numbers of the specified PDCP PDU are set to the specified PDCP PDU, and with The specified PDCP PDU are adjacent, obtain PDCP PDU queues;And it by MAC CE and the PDCP PDU queue concatenations, obtains To MAC data queue;
The corresponding MAC subheaders of MAC data are generated, the MAC data includes MAC CE and RLC PDU, the MAC subheaders packet The data length of Logic Channel Identifier and MAC data containing MAC data, wherein the data length of specified RLC PDU is the finger Determine the length of RLC PDU and its RLC sequence numbers, the data length of other RLC PDU except the specified RLC PDU only includes The length of PDCP PDU;The specified RLC PDU are the corresponding RLC PDU of the specified PDCP PDU;
Each MAC subheaders are inserted into before the corresponding MAC data in the MAC data queue respectively, obtained described MAC PDU。
Preferably, described to be multiplexed the cascade data of each logic channel and MAC CE, and only retain same patrol The RLC sequence numbers of a specified PDCP PDU in volume channel, the step of obtaining MAC PDU, including:
The cascade data of each logic channel is cascaded, and only retains a specified PDCP in same logic channel The RLC sequence numbers of PDU, and before the RLC sequence numbers of the specified PDCP PDU are set to the specified PDCP PDU, and with The specified PDCP PDU are adjacent, obtain PDCP PDU queues;And it by MAC CE and the PDCP PDU queue concatenations, obtains To MAC data queue;
The corresponding data length field of MAC data is generated, each logic channel and the corresponding logic letters of MAC CE are generated Road identification field, and, generate the amount field of the RLC PDU of each logic channel, wherein the MAC data includes MAC CE and RLC PDU, it is the length of the specified PDCP PDU and its RLC sequence numbers, the finger to specify the data length of RLC PDU The data length for determining other PDCP PDU except PDCP PDU only includes the length of PDCP PDU;The specified RLC PDU are The corresponding RLC PDU of the specified PDCP PDU;
By the logical channel identity field and amount field, it is inserted into corresponding logic letter in the MAC data queue Before the cascade data or MAC CE in road, and the data length field is inserted into corresponding MAC in the MAC data queue Before data, the MAC PDU are obtained.
Preferably, described according to predetermined concatenation rules, the step of the RLC PDU of same logic channel are cascaded, packet It includes:According to the sequence that RLC sequence numbers are incremented by successively or successively decrease successively, the RLC PDU of same logic channel are cascaded, and makes RLC PDU after cascade include cascade first group of RLC PDU and second group of RLC PDU, obtain the grade of each logic channel Join data, and the instruction information of the RLC sequence number increments of each PDCP PDU in determining second group of RLC PDU;
Wherein, in first group of RLC PDU, the difference of the RLC sequence numbers of adjacent PDCP PDU is 1;Second group of RLC PDU PDCP PDU including predetermined quantity, and the RLC sequence numbers that the RLC sequence number increments of the PDCP PDU are the PDCP PDU With the difference of the RLC sequence numbers with reference to PDCP PDU, described with reference to PDCP PDU is adjacent with the PDCP PDU previous PDCP PDU。
Preferably, described to be multiplexed the cascade data of each logic channel and MAC CE, and only retain same patrol The RLC sequence numbers of a specified PDCP PDU in volume channel, the step of obtaining MAC PDU, including:
The cascade data of each logic channel is cascaded, and the RLC sequence numbers of the specified PDCP PDU are arranged Before the specified PDCP PDU, and it is adjacent with the specified PDCP PDU, and, the RLC sequence numbers increment is arranged Before corresponding PDCP PDU, and PDCP PDU corresponding with this is adjacent, obtains PDCP PDU queues;And by MAC CE With the PDCP PDU queue concatenations, MAC data queue is obtained;
The corresponding MAC subheaders of MAC data are generated, the MAC data includes MAC CE and RLC PDU, the MAC subheaders packet The data length of Logic Channel Identifier and MAC data containing MAC data, wherein the data length of the specified RLC PDU is institute State the length of specified PDCP PDU and its RLC sequence numbers, the data length of each RLC PDU in second group of RLC PDU For the length of RLC PDU and its RLC the sequence number increments, the data length of other RLC PDU except RLC PDU is specified only to wrap The length of the PDU containing PDCP;And the order according to MAC data in the MAC data queue, each MAC subheaders are cascaded, Obtain MAC header;The specified RLC PDU are the corresponding RLC PDU of the specified PDCP PDU;
By MAC header and MAC data queue concatenation, the MAC PDU are obtained.
The embodiment of the present invention additionally provides a kind of method of reseptance of MAC layer data, including:
It includes the Logic Channel Identifier of logic channel and each to receive the MAC PDU, the MAC PDU that physical layer is sent The cascade data of logic channel, and only retain the RLC sequence numbers of one in same logic channel specified PDCP PDU, wherein The cascade data of the logic channel is according to predetermined concatenation rules, by what is obtained after the RLC PDU cascades of same logic channel;
According to the RLC sequence numbers of the predetermined concatenation rules and the specified PDCP PDU, each logic channel is recovered All PDCP PDU and its RLC sequence numbers, obtain the RLC PDU of each logic channel;
The RLC PDU of each logic channel are sent to rlc layer.
Preferably, it is preferred that preferred, the specified PDCP PDU are first in the cascade data of the logic channel A or the last one PDCP PDU.
Preferably, in the cascade data of the logic channel, the difference of the RLC sequence numbers of adjacent R LC PDU is 1.
Preferably, the MAC PDU include:MAC header and MAC data queue;Wherein, the MAC data queue includes Cascade MAC CE and PDCP PDU queues, the PDCP PDU queues include the cascade number of each logic channel after cascade According to, and in the cascade data of each logic channel, the RLC sequence numbers of the specified PDCP PDU are set to the specified PDCP Before PDU, and it is adjacent with the specified PDCP PDU;The MAC header include according to MAC data in the MAC data queue Order carry out the MAC subheaders of cascade each MAC data, the MAC data includes MAC CE and RLC PDU, MAC The data length of Logic Channel Identifier and MAC data of the head comprising MAC data, it is the finger to specify the data length of RLC PDU Determine the length of PDCP PDU and its RLC sequence numbers, the data length of other RLC PDU except the specified RLC PDU only wraps The length of the PDU containing PDCP;The specified RLC PDU are the corresponding RLC PDU of the specified PDCP PDU;
The RLC sequence numbers according to the predetermined concatenation rules and the specified PDCP PDU recover each logic The step of all PDCP PDU and its RLC sequence numbers of channel, including:
Each MAC subheaders are parsed from the MAC header, according to the Logic Channel Identifier and MAC data in MAC subheaders Data length recovers MAC CE, the PDCP PDU of each logic channel and the specified PDCP from MAC data queue The RLC sequence numbers of PDU, and according to the RLC sequence numbers of the RLC sequence numbers and adjacent R LC PDU of the specified PDCP PDU Difference recovers the RLC sequence numbers of other PDCP PDU in addition to specified PDCP PDU.
Preferably, the MAC PDU include:It MAC data queue and is inserted into corresponding in the MAC data queue MAC subheaders before MAC data;Wherein, the MAC data queue includes cascade MAC CE and PDCP PDU queues, described PDCP PDU queues include the cascade data of each logic channel after cascade, and in the cascade data of each logic channel, The RLC sequence numbers of the specified PDCP PDU are set to before the specified PDCP PDU, and with the specified PDCP PDU phases It is adjacent;The MAC data includes MAC CE and RLC PDU, and the MAC subheaders include the Logic Channel Identifier and MAC number of MAC data According to data length, it is the length of the specified PDCP PDU and its RLC sequence numbers to specify the data length of RLC PDU, described The data length of other RLC PDU except specified RLC PDU only includes the length of PDCP PDU;The specified RLC PDU are The corresponding RLC PDU of the specified PDCP PDU;
The RLC sequence numbers according to the predetermined concatenation rules and the specified PDCP PDU recover each logic The step of all PDCP PDU and its RLC sequence numbers of channel, including:
Each MAC subheaders are parsed, and long according to the data of Logic Channel Identifier and MAC data in each MAC subheaders It spends, the RLC sequence numbers of MAC data and the specified PDCP PDU after extraction MAC subheaders, and determines that MAC data corresponds to Logic channel;And the difference of the RLC sequence numbers according to the RLC sequence numbers and adjacent R LC PDU of the specified PDCP PDU Value, recovers the RLC sequence numbers of other PDCP PDU in addition to specified PDCP PDU.
Preferably, the MAC PDU include:MAC data queue, the MAC data queue include cascade MAC CE With PDCP PDU queues, the PDCP PDU queues include the cascade data of each logic channel after cascade, and are patrolled each In the cascade data for collecting channel, the RLC sequence numbers of the specified PDCP PDU are set to before the specified PDCP PDU, and with The specified PDCP PDU are adjacent;And it is inserted into before the cascade data or MAC CE of the logic channel in the MAC data queue There is the amount field of the RLC PDU of corresponding logical channel identity field and each logic channel, and in the MAC data queue Inserted with the corresponding data length field of MAC data before corresponding MAC data, the MAC data includes MAC CE and RLC PDU, it is the length of the specified PDCP PDU and its RLC sequence numbers, the specified RLC to specify the data length of RLC PDU The data length of other RLC PDU except PDU only includes the length of PDCP PDU;The specified RLC PDU are described specified The corresponding RLC PDU of PDCP PDU;
The RLC sequence numbers according to the predetermined concatenation rules and the specified PDCP PDU recover each logic The step of all PDCP PDU and its RLC sequence numbers of channel, including:
Parse each logical channel identity field, the amount field of the RLC PDU of each logic channel, MAC data pair The RLC sequence numbers of the data length field and the specified PDCP PDU answered, and then MAC data is recovered, and according to described The difference of the RLC sequence numbers of specified PDCP PDU and the RLC sequence numbers of adjacent R LC PDU is recovered except specified PDCP PDU The RLC sequence numbers of other outer PDCP PDU.
Preferably, the cascade data of the logic channel includes cascade first group of RLC PDU and second group of RLCPDU, In, in first group of RLC PDU, the difference of the RLC sequence numbers of adjacent R LC PDU is 1;Second group of RLC PDU includes predetermined number The PDCP PDU of amount;
The MAC PDU include:MAC header and MAC data queue;Wherein, the MAC data queue includes cascade MAC CE and PDCP PDU queues, the PDCP PDU queues include the cascade data of each logic channel after cascade, and In the cascade data of each logic channel:The RLC sequence numbers of the specified PDCP PDU be set to the specified PDCP PDU it Before, and it is adjacent with the specified PDCP PDU;RLC sequence number increments are set to before corresponding PDCP PDU, and corresponding with this PDCP PDU it is adjacent, RLC sequence numbers and the reference that the RLC sequence numbers increment is the PDCP PDU in second group of RLC PDU The difference of the RLC sequence numbers of PDCP PDU, it is described with reference to PDCP PDU be the previous PDCP adjacent with the PDCP PDU PDU;The MAC header includes carrying out cascade each MAC data according to order of the MAC data in the MAC data queue MAC subheaders, the MAC data include MAC CE and RLC PDU, the MAC subheaders include MAC data Logic Channel Identifier and The data length of MAC data, it is the length of the specified PDCP PDU and its RLC sequence numbers to specify the data length of RLC PDU, The data length of other RLC PDU except the specified RLC PDU only includes the length of PDCP PDU;Second group of RLC The data length of each RLC PDU in PDU is the length of PDCP PDU and its RLC the sequence number increments;The specified RLC PDU is the corresponding RLC PDU of the specified PDCP PDU;
The RLC sequence numbers according to the predetermined concatenation rules and the specified PDCP PDU recover each logic The step of all PDCP PDU and its RLC sequence numbers of channel, including:
Each MAC subheaders are parsed from the MAC header, according to the Logic Channel Identifier and MAC data in MAC subheaders Data length parses MAC CE, RLC PDU of each logic channel, the specified PDCP PDU from MAC data queue RLC sequence numbers and the RLC sequence numbers increment, and according to the RLC sequence numbers and adjacent R LC of the specified PDCP PDU The difference of the RLC sequence numbers of PDU recovers the RLC sequence numbers of each PDCP PDU in first group of RLC PDU, and, according to institute RLC sequence number increments are stated, the RLC sequence numbers of each PDCP PDU of second group of RLC PDU are recovered.
The embodiment of the present invention additionally provides a kind of sending device of MAC layer data, including:
Receiving unit, the RLC PDU, the RLC PDU of at least one logic channel for receiving rlc layer transmission include There are PDCP PDU and its RLC sequence numbers;
Concatenation unit obtains every for according to predetermined concatenation rules, the RLC PDU of same logic channel to be cascaded The cascade data of a logic channel;
Multiplexing Unit for the cascade data of each logic channel and MAC CE to be multiplexed, and only retains same The RLC sequence numbers of a specified PDCP PDU in logic channel, obtain MAC PDU;
Transmission unit, for sending the MAC PDU to physical layer.
Preferably, the specified PDCP PDU are first in the cascade data or the last one PDCP PDU.
Preferably, the concatenation unit, specifically for according to the sequence that RLC sequence numbers are incremented by successively or successively decrease successively, inciting somebody to action The RLC PDU of same logic channel are cascaded, and the cascade data of each logic channel is obtained, wherein each logic channel In cascade data, the difference of the RLC sequence numbers of adjacent R LC PDU is 1.
Preferably, the Multiplexing Unit specifically for cascading the cascade data of each logic channel, and only retains The RLC sequence numbers of a specified PDCP PDU in same logic channel, and the RLC sequence numbers of the specified PDCP PDU are set It is placed in before the specified PDCP PDU, and adjacent with the specified PDCP PDU, obtains PDCP PDU queues;And by MAC CE and the PDCP PDU queue concatenations, obtain MAC data queue;Generate the corresponding MAC subheaders of MAC data, the MAC data Including MAC CE and RLC PDU, the MAC subheaders include the data length of the Logic Channel Identifier and MAC data of MAC data, The data length of specified RLC PDU is the length of the specified PDCP PDU and its RLC sequence numbers, the specified RLC PDU it The data length of other outer RLC PDU only includes the length of PDCP PDU;And according to MAC data in the MAC data team Each MAC subheaders are cascaded, obtain MAC header by the order in row;The specified RLC PDU are that the specified PDCP PDU are corresponded to RLC PDU;By MAC header and MAC data queue concatenation, the MAC PDU are obtained.
Preferably, specifically for cascading the cascade data of each logic channel, and only retain same logic channel In a specified PDCP PDU RLC sequence numbers, and the RLC sequence numbers of the specified PDCP PDU are set to described specified Before PDCP PDU, and it is adjacent with the specified PDCP PDU, obtain PDCP PDU queues;And by MAC CE with it is described PDCP PDU queue concatenations, obtain MAC data queue;The corresponding MAC subheaders of MAC data are generated, the MAC data includes MAC CE and RLC PDU, the MAC subheaders include the data length of the Logic Channel Identifier and MAC data of MAC data, wherein specified The data length of RLC PDU is the length of the specified RLC PDU and its RLC sequence numbers, its except the specified RLC PDU The data length of his RLC PDU only includes the length of PDCP PDU;The specified RLC PDU are that the specified PDCP PDU are corresponded to RLC PDU;By each MAC subheaders, it is inserted into respectively before the corresponding MAC data in the MAC data queue, obtains institute State MAC PDU.
Preferably, specifically for cascading the cascade data of each logic channel, and only retain same logic channel In a specified PDCP PDU RLC sequence numbers, and the RLC sequence numbers of the specified PDCP PDU are set to described specified Before PDCP PDU, and it is adjacent with the specified PDCP PDU, obtain PDCP PDU queues;And by MAC CE with it is described PDCP PDU queue concatenations, obtain MAC data queue;The corresponding data length field of MAC data is generated, each logic letter is generated Road and the corresponding logical channel identity fields of MAC CE, and, the amount field of the RLC PDU of each logic channel is generated, Wherein, the MAC data includes MAC CE and RLC PDU, specify the data length of RLC PDU be the specified PDCP PDU and The data length of the length of its RLC sequence number, other PDCP PDU except the specified PDCP PDU only includes PDCP PDU Length;The specified RLC PDU are the corresponding RLC PDU of the specified PDCP PDU;By the logical channel identity field And amount field, it is inserted into the MAC data queue before the cascade data of corresponding logic channel or MAC CE, and by institute It states data length field to be inserted into the MAC data queue before corresponding MAC data, obtains the MAC PDU.
Preferably, specifically for according to the sequence that RLC sequence numbers are incremented by successively or successively decrease successively, by same logic channel RLC PDU are cascaded, and the RLC PDU after cascade is made to include cascade first group of RLC PDU and second group of RLC PDU, The cascade data of each logic channel is obtained, and determines the RLC sequence number increments of each PDCP PDU in second group of RLC PDU Instruction information;
Wherein, in first group of RLC PDU, the difference of the RLC sequence numbers of adjacent PDCP PDU is 1;Second group of RLC PDU PDCP PDU including predetermined quantity, and the RLC sequence numbers that the RLC sequence number increments of the PDCP PDU are the PDCP PDU With the difference of the RLC sequence numbers with reference to PDCP PDU, described with reference to PDCP PDU is adjacent with the PDCP PDU previous PDCP PDU。
Preferably, specifically for cascading the cascade data of each logic channel, and by the specified PDCP PDU RLC sequence numbers be set to before the specified PDCP PDU, and it is adjacent with the specified PDCP PDU, and, by the RLC Sequence number increment is set to before corresponding PDCP PDU, and PDCP PDU corresponding with this is adjacent, obtains PDCP PDU queues; And by MAC CE and the PDCP PDU queue concatenations, obtain MAC data queue;The corresponding MAC subheaders of MAC data are generated, The MAC data includes MAC CE and RLC PDU, and the MAC subheaders include the Logic Channel Identifier and MAC data of MAC data Data length, wherein the data length of the specified RLC PDU is the length of the specified PDCP PDU and its RLC sequence numbers It spends, the data length of each RLC PDU in second group of RLC PDU is the length of RLC PDU and its RLC the sequence number increments Degree specifies the data length of other RLC PDU except RLC PDU only to include the length of PDCP PDU;And according to MAC number According to the order in the MAC data queue, each MAC subheaders are cascaded, MAC header is obtained;The specified RLC PDU are described Specify the corresponding RLC PDU of PDCP PDU;By MAC header and MAC data queue concatenation, the MAC PDU are obtained.
The embodiment of the present invention additionally provides a kind of reception device of MAC layer data, including:
Receiving unit, MAC PDU, the MAC PDU for receiving physical layer transmission include the logic letter of logic channel Road identifies and the cascade data of each logic channel, and only retains one in same logic channel specified PDCP PDU's RLC sequence numbers, wherein the cascade data of the logic channel is according to predetermined concatenation rules, by the RLC of same logic channel It is obtained after PDU cascades;
Recovery unit is recovered for the RLC sequence numbers according to the predetermined concatenation rules and the specified PDCP PDU All PDCP PDU and its RLC sequence numbers of each logic channel, obtain the RLC PDU of each logic channel;
Transmission unit, for the RLC PDU of each logic channel to be sent to rlc layer.
Preferably, the specified PDCP PDU are first in the cascade data or the last one PDCP PDU.
Preferably, in the cascade data of the logic channel, the difference of the RLC sequence numbers of adjacent R LC PDU is 1.
Preferably, the MAC PDU include:MAC header and MAC data queue;Wherein, the MAC data queue includes Cascade MAC CE and PDCP PDU queues, the PDCP PDU queues include the cascade number of each logic channel after cascade According to, and in the cascade data of each logic channel, the RLC sequence numbers of the specified PDCP PDU are set to the specified PDCP Before PDU, and it is adjacent with the specified PDCP PDU;The MAC header include according to MAC data in the MAC data queue Order carry out the MAC subheaders of cascade each MAC data, the MAC data includes MAC CE and RLC PDU, MAC The data length of Logic Channel Identifier and MAC data of the head comprising MAC data, it is the finger to specify the data length of RLC PDU Determine the length of PDCP PDU and its RLC sequence numbers, the data length of other RLC PDU except the specified RLC PDU only wraps The length of the PDU containing PDCP;The specified RLC PDU are the corresponding RLC PDU of the specified PDCP PDU;
The recovery unit, is specifically used for:Each MAC subheaders are parsed from the MAC header, according in MAC subheaders The data length of Logic Channel Identifier and MAC data recovers MAC CE, each logic channel from MAC data queue The RLC sequence numbers of PDCP PDU and the specified PDCP PDU, and according to the RLC sequence numbers of the specified PDCP PDU and The difference of the RLC sequence numbers of adjacent R LC PDU recovers the RLC sequence numbers of other PDCP PDU in addition to specified PDCP PDU.
Preferably, the MAC PDU include:It MAC data queue and is inserted into corresponding in the MAC data queue MAC subheaders before MAC data;Wherein, the MAC data queue includes cascade MAC CE and PDCP PDU queues, described PDCP PDU queues include the cascade data of each logic channel after cascade, and in the cascade data of each logic channel, The RLC sequence numbers of the specified PDCP PDU are set to before the specified PDCP PDU, and with the specified PDCP PDU phases It is adjacent;The MAC data includes MAC CE and RLC PDU, and the MAC subheaders include the Logic Channel Identifier and MAC number of MAC data According to data length, it is the length of the specified PDCP PDU and its RLC sequence numbers to specify the data length of RLC PDU, described The data length of other RLC PDU except specified RLC PDU only includes the length of PDCP PDU;The specified RLC PDU are The corresponding RLC PDU of the specified PDCP PDU;
The recovery unit, is specifically used for:Each MAC subheaders are parsed, and according to the logic channel in each MAC subheaders The data length with MAC data is identified, the RLC sequences of MAC data and the specified PDCP PDU after extraction MAC subheaders Number, and determine the corresponding logic channel of MAC data;And according to the RLC sequence numbers of the specified PDCP PDU and adjacent The difference of the RLC sequence numbers of RLC PDU recovers the RLC sequence numbers of other PDCP PDU in addition to specified PDCP PDU.
Preferably, the MAC PDU include:MAC data queue, the MAC data queue include cascade MAC CE With PDCP PDU queues, the PDCP PDU queues include the cascade data of each logic channel after cascade, and are patrolled each In the cascade data for collecting channel, the RLC sequence numbers of the specified PDCP PDU are set to before the specified PDCP PDU, and with The specified PDCP PDU are adjacent;And it is inserted into before the cascade data or MAC CE of the logic channel in the MAC data queue There is the amount field of the RLC PDU of corresponding logical channel identity field and each logic channel, and in the MAC data queue Inserted with the corresponding data length field of MAC data before corresponding MAC data, the MAC data includes MAC CE and RLC PDU, it is the length of the specified PDCP PDU and its RLC sequence numbers, the specified RLC to specify the data length of RLC PDU The data length of other RLC PDU except PDU only includes the length of PDCP PDU;The specified RLC PDU are described specified The corresponding RLC PDU of PDCP PDU;
The recovery unit, is specifically used for:Parse each logical channel identity field, the RLC of each logic channel The RLC sequence numbers of the amount field of PDU, the corresponding data length field of MAC data and the specified PDCP PDU, so it is extensive It appears again MAC data, and the difference of the RLC sequence numbers according to the RLC sequence numbers and adjacent R LC PDU of the specified PDCP PDU Value, recovers the RLC sequence numbers of other PDCP PDU in addition to specified PDCP PDU.
Preferably, the cascade data of the logic channel includes cascade first group of RLC PDU and second group of RLCPDU, In, in first group of RLC PDU, the difference of the RLC sequence numbers of adjacent R LC PDU is 1;Second group of RLC PDU includes predetermined number The PDCP PDU of amount;
The MAC PDU include:MAC header and MAC data queue;Wherein, the MAC data queue includes cascade MAC CE and PDCP PDU queues, the PDCP PDU queues include the cascade data of each logic channel after cascade, and In the cascade data of each logic channel:The RLC sequence numbers of the specified PDCP PDU be set to the specified PDCP PDU it Before, and it is adjacent with the specified PDCP PDU;RLC sequence number increments are set to before corresponding PDCP PDU, and corresponding with this PDCP PDU it is adjacent, RLC sequence numbers and the reference that the RLC sequence numbers increment is the PDCP PDU in second group of RLC PDU The difference of the RLC sequence numbers of PDCP PDU, it is described with reference to PDCP PDU be the previous PDCP adjacent with the PDCP PDU PDU;The MAC header includes carrying out cascade each MAC data according to order of the MAC data in the MAC data queue MAC subheaders, the MAC data include MAC CE and RLC PDU, the MAC subheaders include MAC data Logic Channel Identifier and The data length of MAC data, it is the length of the specified PDCP PDU and its RLC sequence numbers to specify the data length of RLC PDU, The data length of other RLC PDU except the specified RLC PDU only includes the length of PDCP PDU;Second group of RLC The data length of each RLC PDU in PDU is the length of PDCP PDU and its RLC the sequence number increments;The specified RLC PDU is the corresponding RLC PDU of the specified PDCP PDU;
The recovery unit, is specifically used for:Each MAC subheaders are parsed from the MAC header, according in MAC subheaders The data length of Logic Channel Identifier and MAC data parses the RLC of MAC CE, each logic channel from MAC data queue PDU, the RLC sequence numbers of the specified PDCP PDU and the RLC sequence numbers increment, and according to the specified PDCP PDU's The difference of the RLC sequence numbers of RLC sequence numbers and adjacent R LC PDU recovers each PDCP PDU in first group of RLC PDU RLC sequence numbers, and, according to the RLC sequence numbers increment, recover the RLC sequences of each PDCP PDU of second group of RLC PDU Row number.
The embodiment of the present invention additionally provides a kind of sending device of MAC layer data, including:
Processor;
And memory, computer program instructions are stored in the memory,
Wherein, when the computer program instructions are run by the processor so that the processor executes following step Suddenly:
Receive rlc layer send at least one logic channel RLC PDU, the RLC PDU include PDCP PDU and Its RLC sequence number;
According to predetermined concatenation rules, the RLC PDU of same logic channel are cascaded, the grade of each logic channel is obtained Join data, and the cascade data of each logic channel and MAC CE are multiplexed, and only retains in same logic channel The RLC sequence numbers of one specified PDCP PDU, obtain MAC PDU;
The MAC PDU are sent to physical layer.
The embodiment of the present invention additionally provides a kind of receiving device of MAC layer data, including:
Processor;
And memory, computer program instructions are stored in the memory,
Wherein, when the computer program instructions are run by the processor so that the processor executes following step Suddenly:
It includes the Logic Channel Identifier of logic channel and each to receive the MAC PDU, the MAC PDU that physical layer is sent The cascade data of logic channel, and only retain the RLC sequence numbers of one in same logic channel specified PDCP PDU, wherein The cascade data of the logic channel is according to predetermined concatenation rules, by what is obtained after the RLC PDU cascades of same logic channel;
According to the RLC sequence numbers of the predetermined concatenation rules and the specified PDCP PDU, each logic channel is recovered All PDCP PDU and its RLC sequence numbers, obtain the RLC PDU of each logic channel;
The RLC PDU of each logic channel are sent to rlc layer.
Compared with prior art, the sending method of MAC layer data provided in an embodiment of the present invention, method of reseptance, device and Equipment, for the multiple PDCP PDU packets of the same logic channel, it is only necessary to the RLC sequence numbers of one of PDCP PDU are transmitted, No. SN of other PDCP PDU can be added No. SN so as to reducing each PDCP PDU and brought by implicit instruction The expense of MAC PDU transmission, improves transmission efficiency of air interface.
Description of the drawings
Fig. 1 cascades schematic diagram for rlc layer data in the LTE of the prior art;
Fig. 2 is that the RLC cascade functions of the prior art are transferred to MAC layer schematic diagram;
Fig. 3 is the flow diagram of the sending method of MAC layer data provided in an embodiment of the present invention;
Fig. 4 is the exemplary plot according to cascade and the multiplexing of realization method in the embodiment of the present invention 1;
Fig. 5 is the exemplary plot according to cascade and the multiplexing of realization method in the embodiment of the present invention 2;
Fig. 6 is the exemplary plot according to cascade and the multiplexing of realization method in the embodiment of the present invention 3;
Fig. 7 is the exemplary plot according to cascade and the multiplexing of realization method in the embodiment of the present invention 4;
Fig. 8 is the flow diagram of the sending method of MAC layer data provided in an embodiment of the present invention;
Fig. 9 is the structural schematic diagram of the sending device of MAC layer data provided in an embodiment of the present invention;
Figure 10 is the structural schematic diagram of the reception device of MAC layer data provided in an embodiment of the present invention;
Figure 11 is the structural schematic diagram of the sending device of MAC layer data provided in an embodiment of the present invention;
Figure 12 is the structural schematic diagram of the receiving device of MAC layer data provided in an embodiment of the present invention.
Specific implementation mode
To keep the technical problem to be solved in the present invention, technical solution and advantage clearer, below in conjunction with attached drawing and tool Body embodiment is described in detail.In the following description, such as specific configuration is provided and the specific detail of component is only In order to help comprehensive understanding the embodiment of the present invention.It therefore, it will be apparent to those skilled in the art that can be to reality described herein Example is applied to make various changes and modifications without departing from scope and spirit of the present invention.In addition, for clarity and brevity, it is omitted pair The description of known function and construction.
It should be understood that " one embodiment " or " embodiment " that specification is mentioned in the whole text mean it is related with embodiment A particular feature, structure, or characteristic includes at least one embodiment of the present invention.Therefore, occur everywhere in the whole instruction " in one embodiment " or " in one embodiment " not necessarily refer to identical embodiment.In addition, these specific feature, knots Structure or characteristic can in any suitable manner combine in one or more embodiments.
In various embodiments of the present invention, it should be appreciated that the size of the serial number of following each processes is not meant to execute suitable The execution sequence of the priority of sequence, each process should be determined by its function and internal logic, the implementation without coping with the embodiment of the present invention Process constitutes any restriction.In addition, the terms " system " and " network " are often used interchangeably herein;Term " PDCP The RLC sequence numbers of PDU " and " the RLC sequence numbers of RLC PDU " are often used interchangeably herein.
The embodiment of the present invention is avoided by way of being indicated using No. SN in MAC layer and adds SN for each RLC PDU The expense brought can be reduced when transferring RLC cascade functions to MAC layer because of expense caused by RLC SDU additions SN.
Fig. 1 is please referred to, the sending method of MAC layer data provided in an embodiment of the present invention can be applied to the MAC of transmitting terminal Layer.Here, transmitting terminal can be the equipment in NR systems, such as base station, terminal, as shown in figure 3, above-mentioned sending method can wrap Include following steps:
Step 31, the RLC PDU at least one logic channel that rlc layer is sent are received, the RLC PDU include PDCP PDU and its with RLC sequence numbers.
Here, RLC PDU are the MAC SDU of MAC layer, and rlc layer is to each PDCP PDU addition RLC sequence numbers SN.
Step 32, according to predetermined concatenation rules, the RLC PDU of same logic channel is cascaded, each logic is obtained The cascade data of channel, and the cascade data of each logic channel and MAC CE are multiplexed, and only retain same logic The RLC sequence numbers of a specified PDCP PDU in channel, obtain MAC PDU.
Here, the specified PDCP PDU are first in the cascade data or the last one PDCP PDU.It is specified RLC PDU are the corresponding RLC PDU of the specified PDCP PDU.The RLC of each PDCP PDU is recovered for the ease of receiving terminal Sequence number, the predetermined concatenation rules may include:The RLC sequence numbers of PDCP PDU are incremented by successively or the sequence successively decreased successively.
Step 33, the MAC PDU are sent to physical layer.
From above step as can be seen that in the embodiment of the present invention, the rlc layer of transmitting terminal adds SN to each PDCP PDU, But only retain specified (the 1 of such as same logic channel PDCP PDU of same logic channel when MAC layer multiplexing and cascade A PDCP PDU) No. SN, remaining PDCP PDU executes multiplexing operation again after then removing No. SN.In this way, the MAC layer of receiving terminal Entity can recover each logic channel according to the RLC sequence numbers of the predetermined concatenation rules and the specified PDCP PDU All PDCP PDU and its RLC sequence numbers, so as to reduce the interface-free resources needed for the RLC sequence numbers of transmission PDCP PDU Expense improves data transmission efficiency.
Due to same logic channel multiple PDCP PDU RLC sequence numbers may continuously may also be discontinuous, it is every The difference of the RLC sequence numbers of the adjacent R LC PDU of the cascade data of a logic channel may be that 1 may also be not all 1.For Case above, the embodiment of the present invention can be handled according to different multiplex modes.
The embodiment of the present invention is in above-mentioned steps 32, can be by when the RLC PDU to same logic channel are cascaded According to the sequence that the RLC sequence numbers of PDCP PDU are incremented by successively or successively decrease successively, the RLC PDU of same logic channel are subjected to grade Connection, obtains the cascade data of each logic channel, wherein in the cascade data of each logic channel, the RLC of adjacent R LC PDU The difference of sequence number is 1.In this way, above-mentioned cascade data includes the PDCP PDU that RLC sequence numbers are incremented by successively or successively decrease, and The difference of the RLC sequence numbers of adjacent R LC PDU is 1.
As realization method 1, in the difference of the RLC sequence numbers of the adjacent R LC PDU of the cascade data of each logic channel When being 1, in above-mentioned steps 32, cascade data to each logic channel and MAC CE carry out multiplexing process, specifically can be with Including:The cascade data of each logic channel is cascaded, and only retains a specified PDCP in same logic channel The RLC sequence numbers of PDU, and before the RLC sequence numbers of the specified PDCP PDU are set to the specified PDCP PDU, and with The specified PDCP PDU are adjacent, obtain PDCP PDU queues;And it by MAC CE and the PDCP PDU queue concatenations, obtains To MAC data queue;The corresponding MAC subheaders of MAC data are generated, the MAC data includes MAC CE and RLC PDU, the MAC Subheader includes the data length of the Logic Channel Identifier and MAC data of MAC data, and the data length of the specified RLC PDU is The data of the length of the specified PDCP PDU and its RLC sequence numbers, other RLC PDU except the specified RLC PDU are long Degree only includes the length of PDCP PDU;The specified RLC PDU are the corresponding RLC PDU of the specified PDCP PDU;And it presses According to order of the MAC data in the MAC data queue, each MAC subheaders are cascaded, MAC header is obtained;By MAC header and MAC number According to queue concatenation, the MAC PDU are obtained.
Fig. 4 gives the example that cascade and multiplexing process are carried out according to above-mentioned realization method 1, it can be seen that Fig. 4's MAC header is placed on the foremost of MAC PDU, and each logic channel only carries the 1st No. SN, and MAC header includes each logic The MAC subheaders of channel and MAC CE include Logic Channel Identifier (such as LCID0, LCID1, LCID2, LCID P) in MAC subheaders With the data length (such as L0~L6) of corresponding MAC data.
As realization method 2, in the difference of the RLC sequence numbers of the adjacent R LC PDU of the cascade data of each logic channel When being 1, in above-mentioned steps 32, cascade data and MAC CE to each logic channel carry out multiplexing process, can specifically wrap It includes:The cascade data of each logic channel is cascaded, and only retains one in same logic channel specified PDCP PDU RLC sequence numbers, and before the RLC sequence numbers of the specified PDCP PDU are set to the specified PDCP PDU, and with institute It is adjacent to state specified PDCP PDU, obtains PDCP PDU queues;And it by MAC CE and the PDCP PDU queue concatenations, obtains MAC data queue;The corresponding MAC subheaders of MAC data are generated, the MAC data includes MAC CE and RLC PDU, MAC The data length of Logic Channel Identifier and MAC data of the head comprising MAC data, wherein the data length of the specified RLC PDU For the length of the specified PDCP PDU and its RLC sequence numbers, the data of other RLC PDU except the specified RLC PDU Length only includes the length of PDCP PDU;The specified RLC PDU are the corresponding RLC PDU of the specified PDCP PDU;It will be each A MAC subheaders are inserted into respectively before the corresponding MAC data in the MAC data queue, obtain the MAC PDU.
Fig. 5 gives the example that cascade and multiplexing process are carried out according to above-mentioned realization method 2, it can be seen that Fig. 5's MAC subheaders are placed on before corresponding MAC CE or PDCP PDU, and each logic channel only carries the 1st No. SN, in MAC subheaders Include data length (such as L0 of Logic Channel Identifier (such as LCID0, LCID1, LCID2, LCID P) and corresponding MAC data ~L6).
As realization method 3, in the difference of the RLC sequence numbers of the adjacent R LC PDU of the cascade data of each logic channel When being 1, in above-mentioned steps 32, cascade data and MAC CE to each logic channel carry out multiplexing process, can specifically wrap It includes:The cascade data of each logic channel is cascaded, and only retains one in same logic channel specified PDCP PDU RLC sequence numbers, and before the RLC sequence numbers of the specified PDCP PDU are set to the specified PDCP PDU, and with institute It is adjacent to state specified PDCP PDU, obtains PDCP PDU queues;And it by MAC CE and the PDCP PDU queue concatenations, obtains MAC data queue;The corresponding data length field of MAC data is generated, each logic channel is generated and MAC CE is corresponding patrols Volume channel identifier field, and, generate the amount field of the RLC PDU of each logic channel, wherein the MAC data includes The data length of MAC CE and RLC PDU, the specified RLC PDU are the length of the specified PDCP PDU and its RLC sequence numbers It spends, the data length of other RLC PDU except the specified RLC PDU only includes the length of PDCP PDU;By the logic Channel identifier field and amount field are inserted into the cascade data or MAC of corresponding logic channel in the MAC data queue Before CE, and the data length field is inserted into the MAC data queue before corresponding MAC data, is obtained described MAC PDU。
Fig. 6 gives the example that cascade and multiplexing process are carried out according to above-mentioned realization method 3, in Fig. 6, same logic The amount field of the logical channel identity field of channel and the RLC PDU of the logic channel are placed on all PDCP of the logic channel Before PDU.As can be seen that each logic channel only the 1st PDCP PDU carries No. SN, and only before the 1st PDCP PDU No. LCID of counterlogic channel is added in face, and is added amount field #LI and indicated the PDCP for subsequently having several same LCID PDU.In addition, the parts MAC CE are omitted for the sake of simplicity, in Fig. 6.
As realization method 4, in the embodiment of the present invention, do not connect in multiple RLC PDURLC sequence numbers of some logic channel It,, can be according to RLC sequence numbers successively when the RLC PDU to same logic channel are cascaded in above-mentioned steps 32 when continuous The sequence for being incremented by or successively decreasing successively, the RLC PDU of same logic channel is cascaded, and make to wrap in the RLC PDU after cascade Cascade first group of RLC PDU and second group of RLC PDU is included, obtains the cascade data of each logic channel, and determine second group The instruction information of the RLC sequence number increments of each PDCP PDU in RLC PDU.Wherein, adjacent in first group of RLC PDU The difference of the RLC sequence numbers of PDCP PDU is 1;Second group of RLC PDU includes the PDCP PDU of predetermined quantity, and the PDCP The difference of the RLC sequence numbers that the RLC sequence number increments of PDU are the PDCP PDU and the RLC sequence numbers with reference to PDCP PDU, institute It is the previous PDCP PDU adjacent with the PDCP PDU to state with reference to PDCP PDU.
In this way, in above-mentioned steps 32, cascade data and MAC CE to each logic channel carry out multiplexing process, tool Body may include:The cascade data of each logic channel is cascaded, and the RLC sequence numbers of the specified PDCP PDU are set It is placed in before the specified PDCP PDU, and adjacent with the specified PDCP PDU, and, the RLC sequence numbers increment is set It is placed in before corresponding PDCP PDU, and PDCP PDU corresponding with this is adjacent, obtains PDCP PDU queues;And by MAC CE and the PDCP PDU queue concatenations, obtain MAC data queue;Generate the corresponding MAC subheaders of MAC data, the MAC data Including MAC CE and RLC PDU, the MAC subheaders include the data length of the Logic Channel Identifier and MAC data of MAC data, Wherein, the data length of the specified RLC PDU is the length of the specified PDCP PDU and its RLC sequence numbers, described second The data length of each RLC PDU in group RLC PDU is the length of RLC PDU and its RLC the sequence number increments, described specified The data length of other RLC PDU except RLC PDU only includes the length of PDCP PDU;The specified RLC PDU are described Specify the corresponding RLC PDU of PDCP PDU;And the order according to MAC data in the MAC data queue, by each MAC Subheader cascades, and obtains MAC header;By MAC header and MAC data queue concatenation, the MAC PDU are obtained.
Fig. 7 gives the example that cascade and multiplexing process are carried out according to above-mentioned realization method 4, in Fig. 7, each logic The RLC sequence numbers of last 1 PDCP PDU of channel are discontinuous, and therefore, each logic channel only the 1st PDCP PDU carries SN Number, the RLC sequence number increment SN Δs of the PDCP PDU are also added with before last 1 PDCP PDU.
The sending method of MAC layer data based on the above transmitting terminal, the embodiment of the present invention additionally provide the MAC layer of receiving terminal The method of reseptance of data, as shown in figure 8, the method for reseptance includes:
Step 81, it includes the Logic Channel Identifier of logic channel to receive MAC PDU, the MAC PDU that physical layer is sent And the cascade data of each logic channel, and only retain the RLC sequences of one in same logic channel specified PDCP PDU Number, wherein the cascade data of the logic channel is according to predetermined concatenation rules, by the RLC PDU cascades of same logic channel It obtains afterwards.
Here, the specified PDCP PDU are first in the cascade data or the last one PDCP PDU.
Step 82, according to the RLC sequence numbers of the predetermined concatenation rules and the specified PDCP PDU, each patrol is recovered All PDCP PDU and its RLC sequence numbers for collecting channel, obtain the RLC PDU of each logic channel.
Step 83, the RLC PDU of each logic channel are sent to rlc layer.
It is corresponding with the realization method 1 of transmitting terminal, in the cascade data of the logic channel, adjacent R LC PDU's The difference of RLC sequence numbers is 1, and the MAC PDU include:MAC header and MAC data queue;Wherein, the MAC data team Row include cascade MAC CE and PDCP PDU queues, and the PDCP PDU queues include the grade of each logic channel after cascade Join data, and in the cascade data of each logic channel, the RLC sequence numbers of the specified PDCP PDU are set to described specify Before PDCP PDU, and it is adjacent with the specified PDCP PDU;The MAC header includes according to MAC data in the MAC data team Order in row carries out the MAC subheaders of cascade each MAC data, and the MAC data includes MAC CE and RLC PDU, described MAC subheaders include the data length of the Logic Channel Identifier and MAC data of MAC data, and it is institute to specify the data length of RLC PDU State the length of specified PDCP PDU and its RLC sequence numbers, the data length of other RLC PDU except the specified RLC PDU Only include the length of PDCP PDU;The specified RLC PDU are the corresponding RLC PDU of the specified PDCP PDU.
At this point, above-mentioned steps 82 specifically include:Each MAC subheaders are parsed from the MAC header, according in MAC subheaders Logic Channel Identifier and MAC data data length, MAC CE, each logic channel are recovered from MAC data queue The RLC sequence numbers of PDCP PDU and the specified PDCP PDU, and according to the RLC sequence numbers of the specified PDCP PDU and The difference of the RLC sequence numbers of adjacent PDCP PDU recovers the RLC sequences of other PDCP PDU in addition to specified PDCP PDU Number.
It is corresponding with the realization method 2 of transmitting terminal, in the cascade data of the logic channel, adjacent R LC PDU's The difference of RLC sequence numbers is 1, and the MAC PDU include:It MAC data queue and is inserted into the MAC data queue MAC subheaders before corresponding MAC data;Wherein, the MAC data queue includes cascade MAC CE and PDCP PDU teams Row, the PDCP PDU queues include the cascade data of each logic channel after cascade, and in the cascade of each logic channel In data, the RLC sequence numbers of the specified PDCP PDU are set to before the specified PDCP PDU, and with the specified PDCP PDU is adjacent;The MAC data includes MAC CE and PDCP PDU, and the MAC subheaders include the Logic Channel Identifier of MAC data With the data length of MAC data, it is the length of the specified PDCP PDU and its RLC sequence numbers to specify the data length of RLC PDU It spends, the data length of other RLC PDU except the specified RLC PDU only includes the length of PDCP PDU;The specified RLC PDU is the corresponding RLC PDU of the specified PDCP PDU.
At this point, above-mentioned steps 82 specifically include:Each MAC subheaders are parsed, and are believed according to the logic in each MAC subheaders Road identifies and the data length of MAC data, the RLC sequences of MAC data and the specified PDCP PDU after extraction MAC subheaders Row number, and determine the corresponding logic channel of MAC data;And according to the RLC sequence numbers of the specified PDCP PDU and adjacent The difference of the RLC sequence numbers of PDCP PDU recovers the RLC sequence numbers of other PDCP PDU in addition to specified PDCP PDU.
It is corresponding with the realization method 3 of transmitting terminal, in the cascade data of the logic channel, adjacent R LC PDU's The difference of RLC sequence numbers is 1, and the MAC PDU include:MAC data queue, the MAC data queue includes cascade MAC CE and PDCP PDU queues, the PDCP PDU queues include the cascade data of each logic channel after cascade, and In the cascade data of each logic channel, the RLC sequence numbers of the specified PDCP PDU be set to the specified PDCP PDU it Before, and it is adjacent with the specified PDCP PDU;And the cascade data or MAC CE of the logic channel in the MAC data queue The amount field of PDCP PDU before inserted with corresponding logical channel identity field and each logic channel, and the MAC Inserted with the corresponding data length field of MAC data before corresponding MAC data in data queue, the MAC data includes MAC CE and RLC PDU, it is the length of the specified PDCP PDU and its RLC sequence numbers, the finger to specify the data length of RLC PDU The data length for determining other RLC PDU except RLC PDU only includes the length of PDCP PDU;The specified RLC PDU are institutes State the corresponding RLC PDU of specified PDCP PDU.
At this point, above-mentioned steps 82 specifically include:Parse each logical channel identity field, the PDCP of each logic channel The RLC sequence numbers of the amount field of PDU, the corresponding data length field of MAC data and the specified PDCP PDU, so it is extensive It appears again MAC data, and the difference of the RLC sequence numbers according to the RLC sequence numbers and adjacent PDCP PDU of the specified PDCP PDU Value, recovers the RLC sequence numbers of other PDCP PDU in addition to specified PDCP PDU.
Corresponding with the realization method 4 of transmitting terminal, the cascade data of the logic channel includes cascade first group of RLC PDU and second group of RLCPDU, wherein in first group of RLC PDU, the difference of the RLC sequence numbers of adjacent PDCP PDU is 1;The Two groups of RLC PDU include the PDCP PDU of predetermined quantity;
The MAC PDU include:MAC header and MAC data queue;Wherein, the MAC data queue includes cascade MAC CE and PDCP PDU queues, the PDCP PDU queues include the cascade data of each logic channel after cascade, and In the cascade data of each logic channel:The RLC sequence numbers of the specified PDCP PDU be set to the specified PDCP PDU it Before, and it is adjacent with the specified PDCP PDU;RLC sequence number increments are set to before corresponding PDCP PDU, and corresponding with this PDCP PDU it is adjacent, RLC sequence numbers and the reference that the RLC sequence numbers increment is the PDCP PDU in second group of PDCP PDU The difference of the RLC sequence numbers of PDCP PDU, it is described with reference to PDCP PDU be the previous PDCP adjacent with the PDCP PDU PDU;The MAC header includes carrying out cascade each MAC data according to order of the MAC data in the MAC data queue MAC subheaders, the MAC data include MAC CE and RLC PDU, the MAC subheaders include MAC data Logic Channel Identifier and The data length of MAC data, it is the length of the specified PDCP PDU and its RLC sequence numbers to specify the data length of RLC PDU, The data length of other RLC PDU except the specified RLC PDU only includes the length of PDCP PDU;Second group of RLC The data length of each RLC PDU in PDU is the length of PDCP PDU and its RLC the sequence number increments;The specified RLC PDU is the corresponding RLC PDU of the specified PDCP PDU.
At this point, above-mentioned steps 82 specifically include:Each MAC subheaders are parsed from the MAC header, according in MAC subheaders Logic Channel Identifier and MAC data data length, MAC CE, each logic channel are parsed from MAC data queue RLC PDU, the RLC sequence numbers of the specified PDCP PDU and the RLC sequence numbers increment, and according to the specified PDCP The difference of the RLC sequence numbers of the RLC sequence numbers of PDU and adjacent PDCP PDU recovers each in first group of PDCP PDU The RLC sequence numbers of PDCP PDU, and, according to the RLC sequence numbers increment, recover each PDCP of second group of PDCP PDU The RLC sequence numbers of PDU.
The sending method and method of reseptance provided based on above example, the embodiment of the present invention, which additionally provides, realizes above-mentioned side The device of method.
Fig. 9 is please referred to, the embodiment of the present invention provides the sending device of MAC layer data, including:
Receiving unit 91, the RLC PDU of at least one logic channel for receiving rlc layer transmission, the RLC PDU packets PDCP PDU and RLC sequence numbers are included.
Concatenation unit 92, for according to predetermined concatenation rules, the RLC PDU of same logic channel being cascaded, are obtained The cascade data of each logic channel.
Multiplexing Unit 93, for being used for and being multiplexed the cascade data of each logic channel and MAC CE, and only The RLC sequence numbers for retaining a specified PDCP PDU in same logic channel, obtain MAC PDU.
Transmission unit 94, for sending the MAC PDU to physical layer.
Here, the specified PDCP PDU are first in the cascade data or the last one PDCP PDU.
Preferably, the concatenation unit, specifically for according to the sequence that RLC sequence numbers are incremented by successively or successively decrease successively, inciting somebody to action The RLC PDU of same logic channel are cascaded, and the cascade data of each logic channel is obtained, wherein each logic channel In cascade data, the difference of the RLC sequence numbers of adjacent R LC PDU is 1.
Preferably, the Multiplexing Unit specifically for cascading the cascade data of each logic channel, and only retains The RLC sequence numbers of a specified PDCP PDU in same logic channel, and the RLC sequence numbers of the specified PDCP PDU are set It is placed in before the specified PDCP PDU, and adjacent with the specified PDCP PDU, obtains PDCP PDU queues;And by MAC CE and the PDCP PDU queue concatenations, obtain MAC data queue;Generate the corresponding MAC subheaders of MAC data, the MAC data Including MAC CE and RLC PDU, the MAC subheaders include the data length of the Logic Channel Identifier and MAC data of MAC data, The data length of specified RLC PDU is the length of the specified PDCP PDU and its RLC sequence numbers, the specified RLC PDU it The data length of other outer RLC PDU only includes the length of PDCP PDU;And according to MAC data in the MAC data team Each MAC subheaders are cascaded, obtain MAC header by the order in row;The specified RLC PDU are that the specified PDCP PDU are corresponded to RLC PDU;By MAC header and MAC data queue concatenation, the MAC PDU are obtained.
Preferably, the Multiplexing Unit specifically for cascading the cascade data of each logic channel, and only retains The RLC sequence numbers of a specified PDCP PDU in same logic channel, and the RLC sequence numbers of the specified PDCP PDU are set It is placed in before the specified PDCP PDU, and adjacent with the specified PDCP PDU, obtains PDCP PDU queues;And by MAC CE and the PDCP PDU queue concatenations, obtain MAC data queue;Generate the corresponding MAC subheaders of MAC data, the MAC data Including MAC CE and RLC PDU, the MAC subheaders include the data length of the Logic Channel Identifier and MAC data of MAC data, Wherein, it is the length of the specified RLC PDU and its RLC sequence numbers, the specified RLC to specify the data length of RLC PDU The data length of other RLC PDU except PDU only includes the length of PDCP PDU;The specified RLC PDU are described specified The corresponding RLC PDU of PDCP PDU;By each MAC subheaders, the corresponding MAC number being inserted into respectively in the MAC data queue According to before, obtaining the MAC PDU.
Preferably, the Multiplexing Unit specifically for cascading the cascade data of each logic channel, and only retains The RLC sequence numbers of a specified PDCP PDU in same logic channel, and the RLC sequence numbers of the specified PDCP PDU are set It is placed in before the specified PDCP PDU, and adjacent with the specified PDCP PDU, obtains PDCP PDU queues;And by MAC CE and the PDCP PDU queue concatenations, obtain MAC data queue;The corresponding data length field of MAC data is generated, is generated each A logic channel and the corresponding logical channel identity fields of MAC CE, and, generate the number of the RLC PDU of each logic channel Measure field, wherein the MAC data includes MAC CE and RLC PDU, and it is described specified to specify the data length of RLC PDU The data length of the length of PDCP PDU and its RLC sequence numbers, other PDCP PDU except the specified PDCP PDU only wraps The length of the PDU containing PDCP;The specified RLC PDU are the corresponding RLC PDU of the specified PDCP PDU;The logic is believed Road identification field and amount field are inserted into the cascade data or MAC CE of corresponding logic channel in the MAC data queue Before, and by the data length field it is inserted into the MAC data queue before corresponding MAC data, obtains the MAC PDU。
Preferably, the concatenation unit, specifically for according to the sequence that RLC sequence numbers are incremented by successively or successively decrease successively, inciting somebody to action The RLC PDU of same logic channel are cascaded, and make the RLC PDU after cascade include cascade first group of RLC PDU and Second group of RLC PDU obtains the cascade data of each logic channel, and determines each PDCP PDU in second group of RLC PDU RLC sequence number increments instruction information;
Wherein, in first group of RLC PDU, the difference of the RLC sequence numbers of adjacent PDCP PDU is 1;Second group of RLC PDU PDCP PDU including predetermined quantity, and the RLC sequence numbers that the RLC sequence number increments of the PDCP PDU are the PDCP PDU With the difference of the RLC sequence numbers with reference to PDCP PDU, described with reference to PDCP PDU is adjacent with the PDCP PDU previous PDCP PDU。
Preferably, the Multiplexing Unit, specifically for the cascade data of each logic channel is cascaded, and will be described The RLC sequence numbers of specified PDCP PDU are set to before the specified PDCP PDU, and adjacent with the specified PDCP PDU, with And before the RLC sequence numbers increment is set to corresponding PDCP PDU, and PDCP PDU corresponding with this is adjacent, obtains PDCP PDU queues;And by MAC CE and the PDCP PDU queue concatenations, obtain MAC data queue;Generate MAC data Corresponding MAC subheaders, the MAC data include MAC CE and RLC PDU, and the MAC subheaders include the logic channel of MAC data Mark and MAC data data length, wherein the data length of the specified RLC PDU be the specified PDCP PDU and its The data length of the length of RLC sequence numbers, each RLC PDU in second group of RLC PDU is the RLC PDU and its RLC The length of sequence number increment specifies the data length of other RLC PDU except RLC PDU only to include the length of PDCP PDU; And the order according to MAC data in the MAC data queue, each MAC subheaders are cascaded, MAC header is obtained;The finger It is the corresponding RLC PDU of the specified PDCP PDU to determine RLC PDU;By MAC header and MAC data queue concatenation, the MAC is obtained PDU。
Please refer to Figure 10, the reception device of MAC layer data provided in an embodiment of the present invention, including:
Receiving unit 101, MAC PDU, the MAC PDU for receiving physical layer transmission include the logic of logic channel The cascade data of channel logo and each logic channel, and only retain one in same logic channel specified PDCP PDU's RLC sequence numbers, wherein the cascade data of the logic channel is according to predetermined concatenation rules, by the RLC of same logic channel It is obtained after PDU cascades.
Recovery unit 102, it is extensive for the RLC sequence numbers according to the predetermined concatenation rules and the specified PDCP PDU Appear again all PDCP PDU and its RLC sequence numbers of each logic channel, obtains the RLC PDU of each logic channel.
Transmission unit 103, for the RLC PDU of each logic channel to be sent to rlc layer.
Preferably, the specified PDCP PDU are first in the cascade data or the last one PDCP PDU.
Preferably, in the cascade data of the logic channel, the difference of the RLC sequence numbers of adjacent R LC PDU is 1.
Preferably, the MAC PDU include:MAC header and MAC data queue;Wherein, the MAC data queue includes Cascade MAC CE and PDCP PDU queues, the PDCP PDU queues include the cascade number of each logic channel after cascade According to, and in the cascade data of each logic channel, the RLC sequence numbers of the specified PDCP PDU are set to the specified PDCP Before PDU, and it is adjacent with the specified PDCP PDU;The MAC header include according to MAC data in the MAC data queue Order carry out the MAC subheaders of cascade each MAC data, the MAC data includes MAC CE and RLC PDU, MAC The data length of Logic Channel Identifier and MAC data of the head comprising MAC data, it is the finger to specify the data length of RLC PDU Determine the length of PDCP PDU and its RLC sequence numbers, the data length of other RLC PDU except the specified RLC PDU only wraps The length of the PDU containing PDCP;The specified RLC PDU are the corresponding RLC PDU of the specified PDCP PDU;
The recovery unit, is specifically used for:Each MAC subheaders are parsed from the MAC header, according in MAC subheaders The data length of Logic Channel Identifier and MAC data recovers MAC CE, each logic channel from MAC data queue The RLC sequence numbers of PDCP PDU and the specified PDCP PDU, and according to the RLC sequence numbers of the specified PDCP PDU and The difference of the RLC sequence numbers of adjacent R LC PDU recovers the RLC sequence numbers of other PDCP PDU in addition to specified PDCP PDU.
Preferably, the MAC PDU include:It MAC data queue and is inserted into corresponding in the MAC data queue MAC subheaders before MAC data;Wherein, the MAC data queue includes cascade MAC CE and PDCP PDU queues, described PDCP PDU queues include the cascade data of each logic channel after cascade, and in the cascade data of each logic channel, The RLC sequence numbers of the specified PDCP PDU are set to before the specified PDCP PDU, and with the specified PDCP PDU phases It is adjacent;The MAC data includes MAC CE and RLC PDU, and the MAC subheaders include the Logic Channel Identifier and MAC number of MAC data According to data length, it is the length of the specified PDCP PDU and its RLC sequence numbers to specify the data length of RLC PDU, described The data length of other RLC PDU except specified RLC PDU only includes the length of PDCP PDU;The specified RLC PDU are The corresponding RLC PDU of the specified PDCP PDU;
The recovery unit, is specifically used for:Each MAC subheaders are parsed, and according to the logic channel in each MAC subheaders The data length with MAC data is identified, the RLC sequences of MAC data and the specified PDCP PDU after extraction MAC subheaders Number, and determine the corresponding logic channel of MAC data;And according to the RLC sequence numbers of the specified PDCP PDU and adjacent The difference of the RLC sequence numbers of RLC PDU recovers the RLC sequence numbers of other PDCP PDU in addition to specified PDCP PDU.
Preferably, the MAC PDU include:MAC data queue, the MAC data queue include cascade MAC CE With PDCP PDU queues, the PDCP PDU queues include the cascade data of each logic channel after cascade, and are patrolled each In the cascade data for collecting channel, the RLC sequence numbers of the specified PDCP PDU are set to before the specified PDCP PDU, and with The specified PDCP PDU are adjacent;And it is inserted into before the cascade data or MAC CE of the logic channel in the MAC data queue There is the amount field of the RLC PDU of corresponding logical channel identity field and each logic channel, and in the MAC data queue Inserted with the corresponding data length field of MAC data before corresponding MAC data, the MAC data includes MAC CE and RLC PDU, it is the length of the specified PDCP PDU and its RLC sequence numbers, the specified RLC to specify the data length of RLC PDU The data length of other RLC PDU except PDU only includes the length of PDCP PDU;The specified RLC PDU are described specified The corresponding RLC PDU of PDCP PDU;
The recovery unit, is specifically used for:Parse each logical channel identity field, the RLC of each logic channel The RLC sequence numbers of the amount field of PDU, the corresponding data length field of MAC data and the specified PDCP PDU, so it is extensive It appears again MAC data, and the difference of the RLC sequence numbers according to the RLC sequence numbers and adjacent R LC PDU of the specified PDCP PDU Value, recovers the RLC sequence numbers of other PDCP PDU in addition to specified PDCP PDU.
Preferably, the cascade data of the logic channel includes cascade first group of RLC PDU and second group of RLCPDU, In, in first group of RLC PDU, the difference of the RLC sequence numbers of adjacent R LC PDU is 1;Second group of RLC PDU includes predetermined number The PDCP PDU of amount;
The MAC PDU include:MAC header and MAC data queue;Wherein, the MAC data queue includes cascade MAC CE and PDCP PDU queues, the PDCP PDU queues include the cascade data of each logic channel after cascade, and In the cascade data of each logic channel:The RLC sequence numbers of the specified PDCP PDU be set to the specified PDCP PDU it Before, and it is adjacent with the specified PDCP PDU;RLC sequence number increments are set to before corresponding PDCP PDU, and corresponding with this PDCP PDU it is adjacent, RLC sequence numbers and the reference that the RLC sequence numbers increment is the PDCP PDU in second group of RLC PDU The difference of the RLC sequence numbers of PDCP PDU, it is described with reference to PDCP PDU be the previous PDCP adjacent with the PDCP PDU PDU;The MAC header includes carrying out cascade each MAC data according to order of the MAC data in the MAC data queue MAC subheaders, the MAC data include MAC CE and RLC PDU, the MAC subheaders include MAC data Logic Channel Identifier and The data length of MAC data, it is the length of the specified PDCP PDU and its RLC sequence numbers to specify the data length of RLC PDU, The data length of other RLC PDU except the specified RLC PDU only includes the length of PDCP PDU;Second group of RLC The data length of each RLC PDU in PDU is the length of PDCP PDU and its RLC the sequence number increments;The specified RLC PDU is the corresponding RLC PDU of the specified PDCP PDU;
The recovery unit, is specifically used for:Each MAC subheaders are parsed from the MAC header, according in MAC subheaders The data length of Logic Channel Identifier and MAC data parses the RLC of MAC CE, each logic channel from MAC data queue PDU, the RLC sequence numbers of the specified PDCP PDU and the RLC sequence numbers increment, and according to the specified PDCP PDU's The difference of the RLC sequence numbers of RLC sequence numbers and adjacent R LC PDU recovers each PDCP PDU in first group of RLC PDU RLC sequence numbers, and, according to the RLC sequence numbers increment, recover the RLC sequences of each PDCP PDU of second group of RLC PDU Row number.
Finally, Figure 11 is please referred to, the embodiment of the present invention additionally provides a kind of structure of the sending device of MAC layer data, can To realize the flow of above example of the present invention.As shown in figure 11, above-mentioned sending device may include:Receiver 111, processor 112, transmitter 113 and memory 114.
Wherein, processor 112 and memory 114 are connect by bus interface with receiver 111 and transmitter 113 respectively. Bus architecture can be the bus and bridge that may include any number of interconnection;Specifically represented by processor 112 one or Multiple processors, and the various of one or more memory represented by memory 114 are electrically connected to together.Total coil holder The various other of such as peripheral equipment, voltage-stablizer and management circuit or the like can also be electrically connected to together by structure, this A little is all known in the field.Therefore, it is no longer described in greater detail herein.
Bus architecture can provide various bus interface.111/ transmitter 113 of receiver can be multiple element, provide use In the unit communicated over a transmission medium with various other devices.Processor 112 is responsible for bus architecture and common processing, Memory 114 can store processor and execute the data used when operation.
It is stored with computer program instructions in the memory.The memory can specifically include RAM, and (arbitrary access is deposited Reservoir), ROM (read-only memory).Wherein, when the computer program instructions are run by the processor so that the place It manages device and executes following steps:
Receive rlc layer send at least one logic channel RLC PDU, the RLC PDU include PDCP PDU and Its RLC sequence number;
According to predetermined concatenation rules, the RLC PDU of same logic channel are cascaded, the grade of each logic channel is obtained Join data, and the cascade data of each logic channel and MAC CE are multiplexed, and only retains in same logic channel The RLC sequence numbers of one specified PDCP PDU, obtain MAC PDU;
The MAC PDU are sent to physical layer.
Finally, Figure 12 is please referred to, the embodiment of the present invention additionally provides a kind of structure of the receiving device of MAC layer data, can To realize the flow of above example of the present invention.As shown in figure 12, above-mentioned receiving device may include:Receiver 121, processor 122, transmitter 123 and memory 124.
Wherein, processor 122 and memory 124 are connect by bus interface with receiver 121 and transmitter 123 respectively. Bus architecture can be the bus and bridge that may include any number of interconnection;Specifically represented by processor 122 one or Multiple processors, and the various of one or more memory represented by memory 124 are electrically connected to together.Total coil holder The various other of such as peripheral equipment, voltage-stablizer and management circuit or the like can also be electrically connected to together by structure, this A little is all known in the field.Therefore, it is no longer described in greater detail herein.
Bus architecture can provide various bus interface.121/ transmitter 123 of receiver can be multiple element, provide use In the unit communicated over a transmission medium with various other devices.Processor 122 is responsible for bus architecture and common processing, Memory 124 can store processor and execute the data used when operation.
It is stored with computer program instructions in the memory.The memory can specifically include RAM, and (arbitrary access is deposited Reservoir), ROM (read-only memory).Wherein, when the computer program instructions are run by the processor so that the place It manages device and executes following steps:
It includes the Logic Channel Identifier of logic channel and each to receive the MAC PDU, the MAC PDU that physical layer is sent The cascade data of logic channel, and only retain the RLC sequence numbers of one in same logic channel specified PDCP PDU, wherein The cascade data of the logic channel is according to predetermined concatenation rules, by what is obtained after the RLC PDU cascades of same logic channel;
According to the RLC sequence numbers of the predetermined concatenation rules and the specified PDCP PDU, each logic channel is recovered All PDCP PDU and its RLC sequence numbers, obtain the RLC PDU of each logic channel;
The RLC PDU of each logic channel are sent to rlc layer.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also It is that the independent physics of each unit includes, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list The form that hardware had both may be used in member is realized, can also be realized in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can be stored in one and computer-readable deposit In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that an equipment (can Equipment to be terminal or network side, such as base station, MME etc.) execute the part step of receiving/transmission method described in each embodiment of the present invention Suddenly.And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (Read-Only Memory, abbreviation ROM), with Machine access memory (Random Access Memory, abbreviation RAM), magnetic disc or CD etc. are various can to store program code Medium.
To sum up, sending method, method of reseptance and the device of MAC layer data provided in an embodiment of the present invention, for same The multiple RLC PDU packets of logic channel, it is only necessary to transmit the RLC sequence numbers of first RLC PDU, No. SN of other RLC PDU can To be improved by implicit instruction so as to reduce the expense that each RLC PDU add the MAC PDU transmission that No. SN is brought Transmission efficiency of air interface.
The above is the preferred embodiment of the present invention, it is noted that for those skilled in the art For, without departing from the principles of the present invention, several improvements and modifications can also be made, these improvements and modifications It should be regarded as protection scope of the present invention.

Claims (32)

1. a kind of sending method of MAC layer data, which is characterized in that including:
The RLC PDU, the RLC PDU for receiving at least one logic channel that rlc layer is sent include PDCP PDU and its RLC Sequence number;
According to predetermined concatenation rules, the RLC PDU of same logic channel are cascaded, obtain the cascade number of each logic channel According to, and the cascade data of each logic channel and MAC CE are multiplexed, and only retain one in same logic channel The RLC sequence numbers of specified PDCP PDU, obtain MAC PDU;
The MAC PDU are sent to physical layer.
2. the method as described in claim 1, which is characterized in that the specified PDCP PDU are first in the cascade data A or the last one PDCP PDU.
3. the method as described in claim 1, which is characterized in that it is described according to predetermined concatenation rules, by same logic channel The step of RLC PDU are cascaded, including:According to the sequence that RLC sequence numbers are incremented by successively or successively decrease successively, same logic is believed The RLC PDU in road are cascaded, and the cascade data of each logic channel is obtained, wherein in the cascade data of each logic channel, The difference of the RLC sequence numbers of adjacent R LC PDU is 1.
4. method as claimed in claim 3, which is characterized in that described by the cascade data of each logic channel and MAC CE It is multiplexed, and only retains the RLC sequence numbers of one in same logic channel specified PDCP PDU, obtain the step of MAC PDU Suddenly, including:
The cascade data of each logic channel is cascaded, and only retains one in same logic channel specified PDCP PDU RLC sequence numbers, and before the RLC sequence numbers of the specified PDCP PDU are set to the specified PDCP PDU, and with institute It is adjacent to state specified PDCP PDU, obtains PDCP PDU queues;And it by MAC CE and the PDCP PDU queue concatenations, obtains MAC data queue;
The corresponding MAC subheaders of MAC data are generated, the MAC data includes MAC CE and RLC PDU, and the MAC subheaders include The Logic Channel Identifier of MAC data and the data length of MAC data, it is the specified PDCP to specify the data length of RLC PDU The data length of the length of PDU and its RLC sequence numbers, other RLC PDU except the specified RLC PDU only includes PDCP The length of PDU;And the order according to MAC data in the MAC data queue, each MAC subheaders are cascaded, MAC is obtained Head;The specified RLC PDU are the corresponding RLC PDU of the specified PDCP PDU;
By MAC header and MAC data queue concatenation, the MAC PDU are obtained.
5. method as claimed in claim 3, which is characterized in that described by the cascade data of each logic channel and MAC CE It is multiplexed, and only retains the RLC sequence numbers of one in same logic channel specified PDCP PDU, obtain the step of MAC PDU Suddenly, including:
The cascade data of each logic channel is cascaded, and only retains one in same logic channel specified PDCP PDU RLC sequence numbers, and before the RLC sequence numbers of the specified PDCP PDU are set to the specified PDCP PDU, and with institute It is adjacent to state specified PDCP PDU, obtains PDCP PDU queues;And it by MAC CE and the PDCP PDU queue concatenations, obtains MAC data queue;
The corresponding MAC subheaders of MAC data are generated, the MAC data includes MAC CE and RLC PDU, and the MAC subheaders include The Logic Channel Identifier of MAC data and the data length of MAC data, wherein the data length of specified RLC PDU is described specified The data length of the length of RLC PDU and its RLC sequence numbers, other RLC PDU except the specified RLC PDU only includes The length of PDCP PDU;The specified RLC PDU are the corresponding RLC PDU of the specified PDCP PDU;
By each MAC subheaders, it is inserted into respectively before the corresponding MAC data in the MAC data queue, obtains the MAC PDU。
6. method as claimed in claim 3, which is characterized in that described by the cascade data of each logic channel and MAC CE It is multiplexed, and only retains the RLC sequence numbers of one in same logic channel specified PDCP PDU, obtain the step of MAC PDU Suddenly, including:
The cascade data of each logic channel is cascaded, and only retains one in same logic channel specified PDCP PDU RLC sequence numbers, and before the RLC sequence numbers of the specified PDCP PDU are set to the specified PDCP PDU, and with institute It is adjacent to state specified PDCP PDU, obtains PDCP PDU queues;And it by MAC CE and the PDCP PDU queue concatenations, obtains MAC data queue;
The corresponding data length field of MAC data is generated, each logic channel and the corresponding logic channel marks of MAC CE are generated Become literate section, and, generate the amount field of the RLC PDU of each logic channel, wherein the MAC data include MAC CE and RLC PDU, it is the length of the specified PDCP PDU and its RLC sequence numbers to specify the data length of RLC PDU, described specified The data length of other PDCP PDU except PDCP PDU only includes the length of PDCP PDU;The specified RLC PDU are institutes State the corresponding RLC PDU of specified PDCP PDU;
By the logical channel identity field and amount field, it is inserted into corresponding logic channel in the MAC data queue Before cascade data or MAC CE, and the data length field is inserted into corresponding MAC data in the MAC data queue Before, the MAC PDU are obtained.
7. the method as described in claim 1, which is characterized in that it is described according to predetermined concatenation rules, by same logic channel The step of RLC PDU are cascaded, including:According to the sequence that RLC sequence numbers are incremented by successively or successively decrease successively, same logic is believed The RLC PDU in road are cascaded, and the RLC PDU after cascade is made to include cascade first group of RLC PDU and second group of RLC PDU obtains the cascade data of each logic channel, and determines the RLC sequence numbers of each PDCP PDU in second group of RLC PDU The instruction information of increment;
Wherein, in first group of RLC PDU, the difference of the RLC sequence numbers of adjacent PDCP PDU is 1;Second group of RLC PDU include The PDCP PDU of predetermined quantity, and the RLC sequence numbers and ginseng that the RLC sequence number increments of the PDCP PDU are the PDCP PDU Examine the difference of the RLC sequence numbers of PDCP PDU, described with reference to PDCP PDU is the previous PDCP adjacent with the PDCP PDU PDU。
8. the method for claim 7, which is characterized in that described by the cascade data of each logic channel and MAC CE It is multiplexed, and only retains the RLC sequence numbers of one in same logic channel specified PDCP PDU, obtain the step of MAC PDU Suddenly, including:
The cascade data of each logic channel is cascaded, and the RLC sequence numbers of the specified PDCP PDU are set to institute Before stating specified PDCP PDU, and adjacent with the specified PDCP PDU, and, the RLC sequence numbers increment is set to pair Before the PDCP PDU answered, and PDCP PDU corresponding with this is adjacent, obtains PDCP PDU queues;And by MAC CE and institute PDCP PDU queue concatenations are stated, MAC data queue is obtained;
The corresponding MAC subheaders of MAC data are generated, the MAC data includes MAC CE and RLC PDU, and the MAC subheaders include The Logic Channel Identifier of MAC data and the data length of MAC data, wherein the data length of the specified RLC PDU is described The data length of the length of specified PDCP PDU and its RLC sequence numbers, each RLC PDU in second group of RLC PDU is The data length of the length of RLC PDU and its RLC the sequence number increments, other RLC PDU except specified RLC PDU only includes The length of PDCP PDU;And the order according to MAC data in the MAC data queue, each MAC subheaders are cascaded, are obtained To MAC header;The specified RLC PDU are the corresponding RLC PDU of the specified PDCP PDU;
By MAC header and MAC data queue concatenation, the MAC PDU are obtained.
9. a kind of method of reseptance of MAC layer data, which is characterized in that including:
It includes the Logic Channel Identifier of logic channel and each logic to receive MAC PDU, the MAC PDU that physical layer is sent The cascade data of channel, and only retain the RLC sequence numbers of one in same logic channel specified PDCP PDU, wherein it is described The cascade data of logic channel is according to predetermined concatenation rules, by what is obtained after the RLC PDU cascades of same logic channel;
According to the RLC sequence numbers of the predetermined concatenation rules and the specified PDCP PDU, the institute of each logic channel is recovered There are PDCP PDU and its RLC sequence numbers, obtains the RLC PDU of each logic channel;
The RLC PDU of each logic channel are sent to rlc layer.
10. method as claimed in claim 9, which is characterized in that the specified PDCP PDU are the cascades of the logic channel First in data or the last one PDCP PDU.
11. method as claimed in claim 9, which is characterized in that in the cascade data of the logic channel, adjacent R LC PDU The differences of RLC sequence numbers be 1.
12. method as claimed in claim 11, which is characterized in that the MAC PDU include:MAC header and MAC data team Row;Wherein, the MAC data queue includes cascade MAC CE and PDCP PDU queues, and the PDCP PDU queues include grade The cascade data of each logic channel after connection, and in the cascade data of each logic channel, the specified PDCP PDU's RLC sequence numbers are set to before the specified PDCP PDU, and adjacent with the specified PDCP PDU;The MAC header includes pressing The MAC subheaders of cascade each MAC data, the MAC data are carried out according to order of the MAC data in the MAC data queue Including MAC CE and RLC PDU, the MAC subheaders include the data length of the Logic Channel Identifier and MAC data of MAC data, The data length of specified RLC PDU is the length of the specified PDCP PDU and its RLC sequence numbers, the specified RLC PDU it The data length of other outer RLC PDU only includes the length of PDCP PDU;The specified RLC PDU are the specified PDCP The corresponding RLC PDU of PDU;
The RLC sequence numbers according to the predetermined concatenation rules and the specified PDCP PDU recover each logic channel All PDCP PDU and its step of RLC sequence numbers, including:
Each MAC subheaders are parsed from the MAC header, according to the data of Logic Channel Identifier and MAC data in MAC subheaders Length recovers MAC CE, the PDCP PDU of each logic channel and the specified PDCP PDU from MAC data queue RLC sequence numbers, and the difference of the RLC sequence numbers according to the RLC sequence numbers and adjacent R LC PDU of the specified PDCP PDU, Recover the RLC sequence numbers of other PDCP PDU in addition to specified PDCP PDU.
13. method as claimed in claim 11, which is characterized in that the MAC PDU include:MAC data queue and insert Enter into the MAC data queue MAC subheaders before corresponding MAC data;Wherein, the MAC data queue includes cascade MAC CE and PDCP PDU queues, the PDCP PDU queues include the cascade data of each logic channel after cascade, and In the cascade data of each logic channel, the RLC sequence numbers of the specified PDCP PDU are set to the specified PDCP PDU Before, and it is adjacent with the specified PDCP PDU;The MAC data includes MAC CE and RLC PDU, and the MAC subheaders include The Logic Channel Identifier of MAC data and the data length of MAC data, it is the specified PDCP to specify the data length of RLC PDU The data length of the length of PDU and its RLC sequence numbers, other RLC PDU except the specified RLC PDU only includes PDCP The length of PDU;The specified RLC PDU are the corresponding RLC PDU of the specified PDCP PDU;
The RLC sequence numbers according to the predetermined concatenation rules and the specified PDCP PDU recover each logic channel All PDCP PDU and its step of RLC sequence numbers, including:
Each MAC subheaders are parsed, and according to the data length of Logic Channel Identifier and MAC data in each MAC subheaders, are carried The RLC sequence numbers of the MAC data and the specified PDCP PDU after MAC subheaders are taken, and determine the corresponding logic of MAC data Channel;And the difference of the RLC sequence numbers according to the RLC sequence numbers and adjacent R LC PDU of the specified PDCP PDU, it is extensive The RLC sequence numbers of other PDCP PDU to appear again in addition to specified PDCP PDU.
14. method as claimed in claim 11, which is characterized in that the MAC PDU include:MAC data queue, it is described MAC data queue includes cascade MAC CE and PDCP PDU queues, and the PDCP PDU queues include that each after cascade patrols The cascade data of channel is collected, and in the cascade data of each logic channel, the RLC sequence numbers of the specified PDCP PDU are arranged Before the specified PDCP PDU, and it is adjacent with the specified PDCP PDU;And the logic letter in the MAC data queue RLC PDU inserted with corresponding logical channel identity field and each logic channel before the cascade data or MAC CE in road Amount field, and in the MAC data queue before corresponding MAC data inserted with the corresponding data length field of MAC data, The MAC data includes MAC CE and RLC PDU, and it is the specified PDCP PDU and its RLC to specify the data length of RLC PDU The data length of the length of sequence number, other RLC PDU except the specified RLC PDU only includes the length of PDCP PDU; The specified RLC PDU are the corresponding RLC PDU of the specified PDCP PDU;
The RLC sequence numbers according to the predetermined concatenation rules and the specified PDCP PDU recover each logic channel All PDCP PDU and its step of RLC sequence numbers, including:
Parse each logical channel identity field, the amount field of the RLC PDU of each logic channel, MAC data is corresponding The RLC sequence numbers of data length field and the specified PDCP PDU, and then MAC data is recovered, and according to described specified The difference of the RLC sequence numbers of PDCP PDU and the RLC sequence numbers of adjacent R LC PDU, recovers in addition to specified PDCP PDU The RLC sequence numbers of other PDCP PDU.
15. method as claimed in claim 9, which is characterized in that
The cascade data of the logic channel includes cascade first group of RLC PDU and second group of RLCPDU, wherein first group In RLC PDU, the difference of the RLC sequence numbers of adjacent R LC PDU is 1;Second group of RLC PDU includes the PDCP of predetermined quantity PDU;
The MAC PDU include:MAC header and MAC data queue;Wherein, the MAC data queue includes cascade MAC CE With PDCP PDU queues, the PDCP PDU queues include the cascade data of each logic channel after cascade, and are patrolled each In the cascade data for collecting channel:The RLC sequence numbers of the specified PDCP PDU are set to before the specified PDCP PDU, and with The specified PDCP PDU are adjacent;RLC sequence number increments are set to before corresponding PDCP PDU, and PDCP corresponding with this PDU is adjacent, the RLC sequence numbers and reference PDCP PDU that the RLC sequence numbers increment is the PDCP PDU in second group of RLC PDU RLC sequence numbers difference, it is described with reference to PDCP PDU be the previous PDCP PDU adjacent with the PDCP PDU;It is described MAC header includes the MAC subheaders that cascade each MAC data is carried out according to order of the MAC data in the MAC data queue, The MAC data includes MAC CE and RLC PDU, and the MAC subheaders include the Logic Channel Identifier and MAC data of MAC data Data length, it is the length of the specified PDCP PDU and its RLC sequence numbers, the finger to specify the data length of RLC PDU The data length for determining other RLC PDU except RLC PDU only includes the length of PDCP PDU;In second group of RLC PDU Each RLC PDU data length be PDCP PDU and its RLC the sequence number increments length;The specified RLC PDU are The corresponding RLC PDU of the specified PDCP PDU;
The RLC sequence numbers according to the predetermined concatenation rules and the specified PDCP PDU recover each logic channel All PDCP PDU and its step of RLC sequence numbers, including:
Each MAC subheaders are parsed from the MAC header, according to the data of Logic Channel Identifier and MAC data in MAC subheaders Length parses the RLC of MAC CE, RLC PDU of each logic channel, the specified PDCP PDU from MAC data queue Sequence number and the RLC sequence numbers increment, and according to the RLC sequence numbers and adjacent R LC PDU of the specified PDCP PDU RLC sequence numbers difference, recover the RLC sequence numbers of each PDCP PDU in first group of RLC PDU, and, according to described RLC sequence number increments recover the RLC sequence numbers of each PDCP PDU of second group of RLC PDU.
16. a kind of sending device of MAC layer data, which is characterized in that including:
Receiving unit, the RLC PDU, the RLC PDU of at least one logic channel for receiving rlc layer transmission include PDCP PDU and its RLC sequence numbers;
Concatenation unit, for according to predetermined concatenation rules, the RLC PDU of same logic channel being cascaded, each patrol is obtained Collect the cascade data of channel;
Multiplexing Unit for the cascade data of each logic channel and MAC CE to be multiplexed, and only retains same logic The RLC sequence numbers of a specified PDCP PDU in channel, obtain MAC PDU;
Transmission unit, for sending the MAC PDU to physical layer.
17. device as claimed in claim 16, which is characterized in that the specified PDCP PDU are in the cascade data One or the last one PDCP PDU.
18. device as claimed in claim 16, which is characterized in that the concatenation unit, be specifically used for according to RLC sequence numbers according to The secondary sequence for being incremented by or successively decreasing successively, the RLC PDU of same logic channel are cascaded, the cascade of each logic channel is obtained Data, wherein in the cascade data of each logic channel, the difference of the RLC sequence numbers of adjacent R LC PDU is 1.
19. device as claimed in claim 18, which is characterized in that the Multiplexing Unit is specifically used for each logic channel Cascade data cascaded, and only retain the RLC sequence numbers of one in same logic channel specified PDCP PDU, and by institute The RLC sequence numbers for stating specified PDCP PDU are set to before the specified PDCP PDU, and adjacent with the specified PDCP PDU, Obtain PDCP PDU queues;And by MAC CE and the PDCP PDU queue concatenations, obtain MAC data queue;Generate MAC The corresponding MAC subheaders of data, the MAC data include MAC CE and RLC PDU, and the MAC subheaders include the logic of MAC data The data length of channel logo and MAC data, it is the specified PDCP PDU and its RLC sequences to specify the data length of RLC PDU The data length of the length of row number, other RLC PDU except the specified RLC PDU only includes the length of PDCP PDU;With And the order according to MAC data in the MAC data queue, each MAC subheaders are cascaded, MAC header is obtained;It is described specified RLC PDU are the corresponding RLC PDU of the specified PDCP PDU;By MAC header and MAC data queue concatenation, the MAC is obtained PDU。
20. device as claimed in claim 18, which is characterized in that the Multiplexing Unit is specifically used for each logic channel Cascade data cascaded, and only retain the RLC sequence numbers of one in same logic channel specified PDCP PDU, and by institute The RLC sequence numbers for stating specified PDCP PDU are set to before the specified PDCP PDU, and adjacent with the specified PDCP PDU, Obtain PDCP PDU queues;And by MAC CE and the PDCP PDU queue concatenations, obtain MAC data queue;Generate MAC The corresponding MAC subheaders of data, the MAC data include MAC CE and RLC PDU, and the MAC subheaders include the logic of MAC data The data length of channel logo and MAC data, wherein the data length of specified RLC PDU be the specified RLC PDU and its The data length of the length of RLC sequence numbers, other RLC PDU except the specified RLC PDU only includes the length of PDCP PDU Degree;The specified RLC PDU are the corresponding RLC PDU of the specified PDCP PDU;By each MAC subheaders, it is inserted into institute respectively Before stating the corresponding MAC data in MAC data queue, the MAC PDU are obtained.
21. device as claimed in claim 18, which is characterized in that the Multiplexing Unit is specifically used for each logic channel Cascade data cascaded, and only retain the RLC sequence numbers of one in same logic channel specified PDCP PDU, and by institute The RLC sequence numbers for stating specified PDCP PDU are set to before the specified PDCP PDU, and adjacent with the specified PDCP PDU, Obtain PDCP PDU queues;And by MAC CE and the PDCP PDU queue concatenations, obtain MAC data queue;Generate MAC The corresponding data length field of data generates each logic channel and the corresponding logical channel identity fields of MAC CE, and, Generate the amount field of the RLC PDU of each logic channel, wherein the MAC data includes MAC CE and RLC PDU, is specified The data length of RLC PDU is the length of the specified PDCP PDU and its RLC sequence numbers, except the specified PDCP PDU The data length of other PDCP PDU only includes the length of PDCP PDU;The specified RLC PDU are the specified PDCP PDU Corresponding RLC PDU;By the logical channel identity field and amount field, it is inserted into corresponding in the MAC data queue Before the cascade data or MAC CE of logic channel, and the data length field is inserted into it is right in the MAC data queue Before the MAC data answered, the MAC PDU are obtained.
22. device as claimed in claim 16, which is characterized in that the concatenation unit, be specifically used for according to RLC sequence numbers according to The secondary sequence for being incremented by or successively decreasing successively, the RLC PDU of same logic channel are cascaded, and makes in the RLC PDU after cascade Including cascade first group of RLC PDU and second group of RLC PDU, the cascade data of each logic channel is obtained, and determine second The instruction information of the RLC sequence number increments of each PDCP PDU in group RLC PDU;
Wherein, in first group of RLC PDU, the difference of the RLC sequence numbers of adjacent PDCP PDU is 1;Second group of RLC PDU include The PDCP PDU of predetermined quantity, and the RLC sequence numbers and ginseng that the RLC sequence number increments of the PDCP PDU are the PDCP PDU Examine the difference of the RLC sequence numbers of PDCP PDU, described with reference to PDCP PDU is the previous PDCP adjacent with the PDCP PDU PDU。
23. device as claimed in claim 22, which is characterized in that the Multiplexing Unit is specifically used for each logic channel Cascade data cascaded, and before the RLC sequence numbers of the specified PDCP PDU are set to the specified PDCP PDU, And it is adjacent with the specified PDCP PDU, and, before the RLC sequence numbers increment is set to corresponding PDCP PDU, and PDCP PDU corresponding with this is adjacent, obtains PDCP PDU queues;And by MAC CE and the PDCP PDU queue concatenations, Obtain MAC data queue;Generate the corresponding MAC subheaders of MAC data, the MAC data includes MAC CE and RLC PDU, described MAC subheaders include the data length of the Logic Channel Identifier and MAC data of MAC data, wherein the number of the specified RLC PDU It is the length of the specified PDCP PDU and its RLC sequence numbers according to length, each RLCPDU's in second group of RLC PDU Data length is the length of RLC PDU and its RLC the sequence number increments, specifies the data of other RLC PDU except RLC PDU Length only includes the length of PDCP PDU;And the order according to MAC data in the MAC data queue, by each MAC Subheader cascades, and obtains MAC header;The specified RLC PDU are the corresponding RLC PDU of the specified PDCP PDU;By MAC header with MAC data queue concatenation obtains the MAC PDU.
24. a kind of reception device of MAC layer data, which is characterized in that including:
Receiving unit, MAC PDU, the MAC PDU for receiving physical layer transmission include the logic channel mark of logic channel The cascade data of knowledge and each logic channel, and only retain the RLC sequences of one in same logic channel specified PDCP PDU Row number, wherein the cascade data of the logic channel is according to predetermined concatenation rules, by PDU grades of the RLC of same logic channel It is obtained after connection;
Recovery unit recovers each for the RLC sequence numbers according to the predetermined concatenation rules and the specified PDCP PDU All PDCP PDU and its RLC sequence numbers of logic channel, obtain the RLC PDU of each logic channel;
Transmission unit, for the RLC PDU of each logic channel to be sent to rlc layer.
25. device as claimed in claim 24, which is characterized in that the specified PDCP PDU are in the cascade data One or the last one PDCP PDU.
26. device as claimed in claim 24, which is characterized in that in the cascade data of the logic channel, adjacent R LC PDU The differences of RLC sequence numbers be 1.
27. device as claimed in claim 26, which is characterized in that the MAC PDU include:MAC header and MAC data team Row;Wherein, the MAC data queue includes cascade MAC CE and PDCP PDU queues, and the PDCP PDU queues include grade The cascade data of each logic channel after connection, and in the cascade data of each logic channel, the specified PDCP PDU's RLC sequence numbers are set to before the specified PDCP PDU, and adjacent with the specified PDCP PDU;The MAC header includes pressing The MAC subheaders of cascade each MAC data, the MAC data are carried out according to order of the MAC data in the MAC data queue Including MAC CE and RLC PDU, the MAC subheaders include the data length of the Logic Channel Identifier and MAC data of MAC data, The data length of specified RLC PDU is the length of the specified PDCP PDU and its RLC sequence numbers, the specified RLC PDU it The data length of other outer RLC PDU only includes the length of PDCP PDU;The specified RLC PDU are the specified PDCP The corresponding RLC PDU of PDU;
The recovery unit, is specifically used for:Each MAC subheaders are parsed from the MAC header, according to the logic in MAC subheaders The data length of channel logo and MAC data recovers the PDCP of MAC CE, each logic channel from MAC data queue The RLC sequence numbers of PDU and the specified PDCP PDU, and according to the RLC sequence numbers of the specified PDCP PDU and adjacent The difference of the RLC sequence numbers of RLC PDU recovers the RLC sequence numbers of other PDCP PDU in addition to specified PDCP PDU.
28. device as claimed in claim 26, which is characterized in that the MAC PDU include:MAC data queue and insert Enter into the MAC data queue MAC subheaders before corresponding MAC data;Wherein, the MAC data queue includes cascade MAC CE and PDCP PDU queues, the PDCP PDU queues include the cascade data of each logic channel after cascade, and In the cascade data of each logic channel, the RLC sequence numbers of the specified PDCP PDU are set to the specified PDCP PDU Before, and it is adjacent with the specified PDCP PDU;The MAC data includes MAC CE and RLC PDU, and the MAC subheaders include The Logic Channel Identifier of MAC data and the data length of MAC data, it is the specified PDCP to specify the data length of RLC PDU The data length of the length of PDU and its RLC sequence numbers, other RLC PDU except the specified RLC PDU only includes PDCP The length of PDU;The specified RLC PDU are the corresponding RLC PDU of the specified PDCP PDU;
The recovery unit, is specifically used for:Each MAC subheaders are parsed, and according to the Logic Channel Identifier in each MAC subheaders With the data length of MAC data, extract MAC subheaders after MAC data and the specified PDCP PDU RLC sequence numbers, And determine the corresponding logic channel of MAC data;And RLC sequence numbers and adjacent R LC according to the specified PDCP PDU The difference of the RLC sequence numbers of PDU recovers the RLC sequence numbers of other PDCP PDU in addition to specified PDCP PDU.
29. device as claimed in claim 26, which is characterized in that the MAC PDU include:MAC data queue, it is described MAC data queue includes cascade MAC CE and PDCP PDU queues, and the PDCP PDU queues include that each after cascade patrols The cascade data of channel is collected, and in the cascade data of each logic channel, the RLC sequence numbers of the specified PDCP PDU are arranged Before the specified PDCP PDU, and it is adjacent with the specified PDCP PDU;And the logic letter in the MAC data queue RLC PDU inserted with corresponding logical channel identity field and each logic channel before the cascade data or MAC CE in road Amount field, and in the MAC data queue before corresponding MAC data inserted with the corresponding data length field of MAC data, The MAC data includes MAC CE and RLC PDU, and it is the specified PDCP PDU and its RLC to specify the data length of RLC PDU The data length of the length of sequence number, other RLC PDU except the specified RLC PDU only includes the length of PDCP PDU; The specified RLC PDU are the corresponding RLC PDU of the specified PDCP PDU;
The recovery unit, is specifically used for:Each logical channel identity field is parsed, the RLC PDU's of each logic channel The RLC sequence numbers of amount field, the corresponding data length field of MAC data and the specified PDCP PDU, and then recover MAC data, and the difference of the RLC sequence numbers according to the RLC sequence numbers and adjacent R LC PDU of the specified PDCP PDU, it is extensive The RLC sequence numbers of other PDCP PDU to appear again in addition to specified PDCP PDU.
30. device as claimed in claim 24, which is characterized in that
The cascade data of the logic channel includes cascade first group of RLC PDU and second group of RLCPDU, wherein first group In RLC PDU, the difference of the RLC sequence numbers of adjacent R LC PDU is 1;Second group of RLC PDU includes the PDCP of predetermined quantity PDU;
The MAC PDU include:MAC header and MAC data queue;Wherein, the MAC data queue includes cascade MAC CE With PDCP PDU queues, the PDCP PDU queues include the cascade data of each logic channel after cascade, and are patrolled each In the cascade data for collecting channel:The RLC sequence numbers of the specified PDCP PDU are set to before the specified PDCP PDU, and with The specified PDCP PDU are adjacent;RLC sequence number increments are set to before corresponding PDCP PDU, and PDCP corresponding with this PDU is adjacent, the RLC sequence numbers and reference PDCP PDU that the RLC sequence numbers increment is the PDCP PDU in second group of RLC PDU RLC sequence numbers difference, it is described with reference to PDCP PDU be the previous PDCP PDU adjacent with the PDCP PDU;It is described MAC header includes the MAC subheaders that cascade each MAC data is carried out according to order of the MAC data in the MAC data queue, The MAC data includes MAC CE and RLC PDU, and the MAC subheaders include the Logic Channel Identifier and MAC data of MAC data Data length, it is the length of the specified PDCP PDU and its RLC sequence numbers, the finger to specify the data length of RLC PDU The data length for determining other RLC PDU except RLC PDU only includes the length of PDCP PDU;In second group of RLC PDU Each RLC PDU data length be PDCP PDU and its RLC the sequence number increments length;The specified RLC PDU are The corresponding RLC PDU of the specified PDCP PDU;
The recovery unit, is specifically used for:Each MAC subheaders are parsed from the MAC header, according to the logic in MAC subheaders The data length of channel logo and MAC data parses the RLC of MAC CE, each logic channel from MAC data queue PDU, the RLC sequence numbers of the specified PDCP PDU and the RLC sequence numbers increment, and according to the specified PDCP PDU's The difference of the RLC sequence numbers of RLC sequence numbers and adjacent R LC PDU recovers each PDCP PDU in first group of RLC PDU RLC sequence numbers, and, according to the RLC sequence numbers increment, recover the RLC sequences of each PDCP PDU of second group of RLC PDU Row number.
31. a kind of sending device of MAC layer data, which is characterized in that including:
Processor;
And memory, computer program instructions are stored in the memory,
Wherein, when the computer program instructions are run by the processor so that the processor executes following steps:
The RLC PDU, the RLC PDU for receiving at least one logic channel that rlc layer is sent include PDCP PDU and its RLC Sequence number;
According to predetermined concatenation rules, the RLC PDU of same logic channel are cascaded, obtain the cascade number of each logic channel According to, and the cascade data of each logic channel and MAC CE are multiplexed, and only retain one in same logic channel The RLC sequence numbers of specified PDCP PDU, obtain MAC PDU;
The MAC PDU are sent to physical layer.
32. a kind of receiving device of MAC layer data, which is characterized in that including:
Processor;
And memory, computer program instructions are stored in the memory,
Wherein, when the computer program instructions are run by the processor so that the processor executes following steps:
It includes the Logic Channel Identifier of logic channel and each logic to receive MAC PDU, the MAC PDU that physical layer is sent The cascade data of channel, and only retain the RLC sequence numbers of one in same logic channel specified PDCP PDU, wherein it is described The cascade data of logic channel is according to predetermined concatenation rules, by what is obtained after the RLC PDU cascades of same logic channel;
According to the RLC sequence numbers of the predetermined concatenation rules and the specified PDCP PDU, the institute of each logic channel is recovered There are PDCP PDU and its RLC sequence numbers, obtains the RLC PDU of each logic channel;
The RLC PDU of each logic channel are sent to rlc layer.
CN201710057425.XA 2017-01-26 2017-01-26 Sending method, receiving method, device and equipment of MAC layer data Active CN108366039B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710057425.XA CN108366039B (en) 2017-01-26 2017-01-26 Sending method, receiving method, device and equipment of MAC layer data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710057425.XA CN108366039B (en) 2017-01-26 2017-01-26 Sending method, receiving method, device and equipment of MAC layer data

Publications (2)

Publication Number Publication Date
CN108366039A true CN108366039A (en) 2018-08-03
CN108366039B CN108366039B (en) 2021-01-15

Family

ID=63011422

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710057425.XA Active CN108366039B (en) 2017-01-26 2017-01-26 Sending method, receiving method, device and equipment of MAC layer data

Country Status (1)

Country Link
CN (1) CN108366039B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109450875A (en) * 2018-10-23 2019-03-08 清华大学 MAC layer packaging method and device
WO2020087477A1 (en) * 2018-11-01 2020-05-07 上海诺基亚贝尔股份有限公司 Device used for transmitting data packet, method, apparatus and computer readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101222416A (en) * 2007-01-09 2008-07-16 中兴通讯股份有限公司 Method for implementing descending protocol data unit of media access control layer
CN101242397A (en) * 2007-02-05 2008-08-13 中兴通讯股份有限公司 A realization method for downlink protocol data unit of media access control layer

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101222416A (en) * 2007-01-09 2008-07-16 中兴通讯股份有限公司 Method for implementing descending protocol data unit of media access control layer
CN101242397A (en) * 2007-02-05 2008-08-13 中兴通讯股份有限公司 A realization method for downlink protocol data unit of media access control layer

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
ERICSSON: "Report from [95#26] Concatenation (Ericsson)", 《R2-166904,3GPP TSG-RAN WG2 #95BIS》 *
INTEL CORPORATION: "Concatenation in NR", 《R2-168527,3GPP TSG-RAN WG2 MEETING #96》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109450875A (en) * 2018-10-23 2019-03-08 清华大学 MAC layer packaging method and device
WO2020087477A1 (en) * 2018-11-01 2020-05-07 上海诺基亚贝尔股份有限公司 Device used for transmitting data packet, method, apparatus and computer readable storage medium
CN113316922A (en) * 2018-11-01 2021-08-27 上海诺基亚贝尔股份有限公司 Apparatus, method, device and computer-readable storage medium for transmitting data packets
CN113316922B (en) * 2018-11-01 2023-08-11 上海诺基亚贝尔股份有限公司 Apparatus, method, device and computer readable storage medium for transmitting data packets

Also Published As

Publication number Publication date
CN108366039B (en) 2021-01-15

Similar Documents

Publication Publication Date Title
US7583735B2 (en) Methods and systems for handling underflow and overflow in a software defined radio
CN107005560B (en) Data sending method, data receiving method and related equipment
EP2145436B1 (en) Methods of generating a data block in a mobile communication system
CN101848489B (en) Sending/receiving method and device of PDU (Protocol Data Unit)
KR20090053791A (en) A method for transmitting and analyzing data in the wireless communication network and the apparatus thereof
CN102257757A (en) A method and apparatus for processing control message which requests retransmitting data
CN1839591B (en) Method for discarding all segments corresponding to same packet in buffer
CN102638328B (en) A kind of method of transfer of data and device
CN102017547A (en) System and method for data size adaptation in a user equipment
CN108366039A (en) A kind of sending method, method of reseptance, device and the equipment of MAC layer data
CN114339841B (en) Private network 5G base station, 5G network, 5G communication method and storage medium
CN101854735A (en) Method for processing data of RLC layer and PDCP layer when RRC connection is released under LTE system
CN101945440B (en) Data transmission processing method and system
CN107645747B (en) Method and equipment for sending and receiving data
CN112311448A (en) Satellite network acceleration system based on virtual machine
KR20080018055A (en) Method and apparatus for transmitting and receiving packet data
CN113273149B (en) Data sending method and device and FlexE exchange system
CN113543311A (en) Method and related device for controlling radio resource control state of user equipment
WO2016061987A1 (en) Packet processing method and device
CN107360594B (en) Information processing method and device
CN102171962B (en) Data stream transmission method and terminal device for high speed uplink packet access
CN109274467A (en) A kind of data retransmission processing method, RLC entity and MAC entity
US8036251B2 (en) Packet transmission device and control method thereof
CN100359841C (en) A method for transmitting status report
KR100896507B1 (en) Hierachical Header Format and Method of data transmission for Communication System

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