WO2018006674A1 - 一种数据处理方法及装置 - Google Patents

一种数据处理方法及装置 Download PDF

Info

Publication number
WO2018006674A1
WO2018006674A1 PCT/CN2017/087039 CN2017087039W WO2018006674A1 WO 2018006674 A1 WO2018006674 A1 WO 2018006674A1 CN 2017087039 W CN2017087039 W CN 2017087039W WO 2018006674 A1 WO2018006674 A1 WO 2018006674A1
Authority
WO
WIPO (PCT)
Prior art keywords
layer
data packet
transport layer
processing
receiving
Prior art date
Application number
PCT/CN2017/087039
Other languages
English (en)
French (fr)
Inventor
刘佳敏
赵亚利
许芳丽
Original Assignee
电信科学技术研究院
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 电信科学技术研究院 filed Critical 电信科学技术研究院
Priority to EP17823486.0A priority Critical patent/EP3484124B1/en
Priority to US16/316,299 priority patent/US11122152B2/en
Publication of WO2018006674A1 publication Critical patent/WO2018006674A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/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/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/321Interlayer communication protocols or service data unit [SDU] definitions; Interfaces between layers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/08Arrangements for detecting or preventing errors in the information received by repeating transmission, e.g. Verdan system
    • 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/28Timers or timing mechanisms used in protocols
    • 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
    • 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/326Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions in the transport layer [OSI layer 4]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/12Wireless traffic scheduling

Definitions

  • the present application relates to the field of wireless communication technologies, and in particular, to a data processing method and apparatus.
  • FIG. 1 is a schematic diagram of a user-plane protocol stack.
  • a user equipment User Equipment, UE
  • eNB evolved base station
  • Data transmission usually through Packet Data Convergence Protocol (PDCP), Radio Link Control (RLC), Media Access Control (MAC), and Physical Layer (PHY)
  • PDCP Packet Data Convergence Protocol
  • RLC Radio Link Control
  • MAC Media Access Control
  • PHY Physical Layer
  • PDCP Packet Data Convergence Protocol
  • RLC Radio Link Control
  • MAC Media Access Control
  • PHY Physical Layer
  • RLC mainly performs segmentation cascading of data.
  • ARQ Automatic Repeat ReQuest
  • MAC mainly completes scheduling and cascading processing of different logical channels and Hybrid Automatic Repeat Request (HARQ) operations
  • physical layer completes transport blocks Send in packets and air.
  • ARQ Automatic Repeat ReQuest
  • FIG. 2 is a schematic diagram of a Radio Protocol Architecture for Dual Connectivity, in which a Master Cell Group (MCG) is controlled by a MeNB (Master Base Station) under a dual connectivity architecture.
  • MCG Master Cell Group
  • SCG secondary cell group
  • SeNB secondary base station
  • MCG Bearer and SCG Bearer The bearer user data can be offloaded between different eNBs, and the two eNBs are separately processed from the RLC and the following protocol layers.
  • FIG. 3 is a schematic diagram of the PDCP layer data processing flow PDCP. As shown in the figure, the main functions of the PDCP layer are security related operations (addition/decryption, integrity protection/authentication) and header compression/decompression processing.
  • FIG. 4 is a schematic diagram of a PDCP PDU structure.
  • a PDCP entity generates a PDCP Protocol Data Unit (PDU) after processing the received IP data packet.
  • the structure of the PDCP PDU is shown in FIG. 4 .
  • the PCPC layer Sequence Number (SN) is included in the PDCP header.
  • FIG. 5 is a schematic diagram of data processing in the RLC TM mode
  • FIG. 6 is a schematic diagram of data processing in the RLC UM mode
  • FIG. 7 is a schematic diagram of data processing in the RLC AM mode.
  • the main function of the RLC layer is to complete segmentation, cascading, and pressing of data.
  • the RLC layer supports three modes: Transparent Mode (TM), Unacknowledged Mode (UM), and Acknowledged Mode (AM).
  • TM Transparent Mode
  • UM Unacknowledged Mode
  • AM Acknowledged Mode
  • FIG. 8 is a schematic diagram of RLC PDU generation.
  • the RLCTM mode it is transparently transmitted at the RLC layer, and there is no need to increase the RLC header (no need to increase the RLC SN).
  • the processing of the RLC layer is based on the scheduling information indicated by the MAC layer, and the RLC service data unit (SDU) (ie, the PDCP PDU) is segmented and concatenated to generate an RLC PDU.
  • SDU RLC service data unit
  • the process of generating an RLC PDU by the segmentation/cascading mode for the RLC SDU is as shown in FIG. 8.
  • Each RLC PDU needs to be assigned to the SN and carried in the RLC PDU header.
  • the main function of the MAC is to perform uplink/downlink scheduling based on PHY resources.
  • the MAC of the base station needs to notify the RLC to organize the RLC PDU after determining the scheduling information, and then the MAC layer multiplexes the RLC PDUs from different logical channels of one terminal into one downlink MAC PDU.
  • the MAC address of the base station is determined by the physical downlink control channel (PDCCH) to the terminal, and the terminal organizes the uplink MAC PDU through the uplink logical channel priority process.
  • PDCCH physical downlink control channel
  • the present application provides a data processing method and apparatus for reducing overhead in a layer two protocol.
  • a data processing method is provided in the embodiment of the present application, including:
  • the transport layer 1 layer processing includes: assigning an SN when transmitting;
  • the transport layer layer 1 processing further includes performing header compression and security processing after allocating the SN.
  • the transport layer layer 1 processing further includes:
  • the layer is processed after the intra-layer segmentation
  • the transmitting data packet, wherein the configuration when the data packet is first transmitted is the same as or different from the configuration when the data packet is retransmitted.
  • the transport layer 1 layer processing further includes one or a combination of the following processes when transmitting:
  • Setting P bits in the data packet or the data packet segment is used to trigger the receiving end to perform status report feedback
  • the retransmission is performed based on the receiving state feedback of the peer or the feedback information of the layer 2 processing of the transport layer.
  • the transport layer 1 layer processing is processed on a logical entity
  • the transport layer 2 layer processing is processed on one or at least two logical entities.
  • the logical entity performing the transport layer 1 layer processing distributes the processed data packet to at least one of the transport layer 2 layers.
  • the logical entity being processed
  • the logical entity performing the transport layer 1 layer processing copies the processed data packet and then sends the processed data packet to at least two logical entities that perform the transport layer layer 2 processing.
  • the method further includes:
  • the data packet When the data packet is retransmitted, it is retransmitted to the logical entity that originally performed the transport layer layer 2 processing or other logical entity that performs the transport layer layer 2 processing.
  • a data processing method is provided in the embodiment of the present application, including:
  • Performing transport layer 2 layer processing on the received data packet where the transport layer 2 layer processing includes: transmitting the data packet to which the physical layer is transmitted to the transport layer 2 layer for processing;
  • the transport layer 1 layer processing includes: reordering operation according to the SN, and recovering into a transmit data packet, the transmit data A packet is a packet that the sender wants to send.
  • the transport layer 2 layer processing further includes: reassembling the data packet before transmitting to the transport layer 1 layer.
  • the transport layer layer 2 processing is processed by the first sublayer protocol entity and the second sublayer protocol entity, where the first sublayer protocol entity receives the data packet processed by the second sublayer protocol entity, where
  • the second sub-layer protocol entity receives the data packet sent by the physical layer, when the data packet is reorganized, the method includes:
  • the second sublayer protocol entity processes the data packets of different logical channels separately from the data packets sent by the physical layer. And then sending the data packet of each logical channel to the corresponding first sub-layer protocol entity for processing;
  • Each first sub-layer protocol entity reassembles the received data packet.
  • the data packet is reorganized, including:
  • the PDU is handed over to the transport layer 1 layer for processing;
  • the transport layer 1 layer processes the function of configuring the PDU segment
  • the PDU segment is handed over to the transport layer 1 layer, and when the transport layer 1 layer processes the unconfigured PDU segment
  • the function of the PDU is organized into PDUs and then processed by the transport layer 1 layer.
  • the transport layer layer 1 processing further includes:
  • the incorrectly received data packet is fed back, and the correctly received data packet is desecured and decompressed, and restored to the transmitted data packet.
  • the transport layer layer 1 processing further includes:
  • the reordering timer is started, and the highest SN sequence number in the receiving queue at this time is recorded;
  • the reordering timer Before the reordering timer expires, if no receiving out of order occurs, the reordering timer is stopped, and if the receiving out of order occurs, the reordering timer is restarted, and the highest SN sequence number in the current receiving queue is recorded;
  • the reordering timer expires, if the PDU corresponding to the SN is not received before the recorded SN sequence number corresponding to the reordering timer, it is confirmed that the packet transmission fails.
  • the transport layer 1 layer processing further includes one or a combination of the following processes when transmitting:
  • the reordering timer When receiving the data located in the receiving window, if the receiving sequence gap occurs, the reordering timer is started. When the reordering timer expires and the data packet is still not received, the transmission failure is determined, and the status report is fed back to the receiving end. .
  • a data processing apparatus is provided in the embodiment of the present application, including:
  • a sending data packet receiving module configured to receive a sending data packet transmitted from a higher layer, where the sending data packet is a data packet to be sent by the transmitting end;
  • a transport layer 1 layer processing module configured to perform transport layer 1 layer processing for the received transmit data packet, the transport layer 1 layer processing includes: assigning an SN when transmitting;
  • a transport layer layer 2 processing module configured to perform transport layer 2 on the transport packet processed by the transport layer 1 layer
  • the layer processing, the transmitting layer 2 layer processing includes: transmitting, according to the size of the transmission resource obtained by the scheduling, the sending data packet to the physical layer, and then transmitting by using an air interface.
  • the transport layer layer 1 processing module is further configured to perform header compression and security processing after the SN is allocated at the time of sending.
  • the transport layer layer 1 processing module is further configured to: when transmitting, determine whether to perform intra-layer segmentation when initially transmitting the data packet according to the configuration, and/or, according to the configuration, determine whether to perform intra-layer retransmission when the data packet is retransmitted.
  • Segmentation which is processed by the transport layer 2 layer when performing intra-layer segmentation, is the intra-layer segmentation of the transmit data packet, wherein the configuration when the data packet is first transmitted and the configuration when the data packet is retransmitted Is the same or different.
  • the transport layer layer 1 processing module is further configured to determine whether to segment according to the static configuration of the RRC signaling when transmitting.
  • the transport layer layer 1 processing module is further configured to, in the AM mode, include one or a combination of the following processes when transmitting:
  • Setting P bits in the data packet or the data packet segment is used to trigger the receiving end to perform status report feedback
  • the retransmission is performed based on the receiving state feedback of the peer or the feedback information of the layer 2 processing of the transport layer.
  • the transport layer layer 1 processing module is further configured to perform the transport layer layer 1 processing on a logical entity
  • the transport layer layer 2 processing module is further configured to perform the transport layer layer 2 processing on one or at least two logical entities.
  • the logical entity performing the transport layer 1 layer processing distributes the processed data packet to at least one of the transport layer 2 layers.
  • the logical entity being processed
  • the logical entity performing the transport layer 1 layer processing copies the processed data packet and then sends the processed data packet to at least two logical entities that perform the transport layer layer 2 processing.
  • the transport layer layer 1 processing module is further configured to: when the transport layer 2 layer processing is processed on the at least two logical entities, retransmit the data packet to the original transport layer 2 layer processing when retransmitting the data packet Logical entity or other logical entity that performs the transport layer 2 layer processing.
  • the transport layer layer 2 processing module is further configured to segment and concatenate the sent data packet before being delivered to the physical layer.
  • the transport layer layer 1 processing module and/or the transport layer layer 2 processing module are further configured to identify the sent data packet to identify a logical channel from which the data packet is sent when performing segmentation and concatenation.
  • the transport layer layer 2 processing module is further configured to use the SN to perform identification when performing segmentation.
  • the segment is segmented according to the load portion of the data packet processed by the transport layer 1 layer.
  • the transport layer layer 2 processing module is further configured to perform the transport layer layer 2 processing in the first sublayer protocol entity and the second sublayer protocol entity, where the first sublayer protocol entity receives the transport layer layer 1 processing The data packet, the second sub-layer protocol entity receives the data packet processed by the first sub-layer protocol entity, and then performs segmentation and concatenation according to the size of the transmission resource obtained by the scheduling, including:
  • the size of the first sub-layer protocol entity group packet is notified;
  • the first sub-layer protocol entity segments and concatenates the data packets processed by the transport layer layer 1;
  • the second sub-layer protocol entity After receiving the data packet of the first sub-layer protocol entity segment and the concatenation, the second sub-layer protocol entity adds identification information to the data packets from different logical channels, and multiplexes the data packets of different logical channels to form a data packet.
  • the transport channel data packet is sent to the physical layer.
  • a data processing apparatus is provided in the embodiment of the present application, including:
  • a data packet receiving module configured to receive a data packet that is received by the physical layer after being received from the air interface
  • a transport layer layer 2 processing module configured to perform a transport layer 2 layer processing on the received data packet, where the transport layer layer 2 processing comprises: transmitting, to the transport layer 2 layer, the data packet transmitted by the physical layer Process
  • a transport layer 1 layer processing module configured to perform transport layer 1 layer processing on the data packet processed by the transport layer 2 layer, where the transport layer 1 layer processing includes: reordering operation according to SN, and recovering The data packet is sent, and the data packet is a data packet to be sent by the transmitting end.
  • the transport layer layer 2 processing module is further configured to reassemble the data packet before being transmitted to the transport layer 1 layer upon receiving.
  • the transport layer layer 2 processing module is further configured to: when receiving, perform the transport layer layer 2 processing on the first sublayer protocol entity and the second sublayer protocol entity, where the first sublayer protocol entity receives the second The data packet processed by the sub-layer protocol entity, and the second sub-layer protocol entity receiving the data packet sent by the physical layer, when reassembling the data packet, includes:
  • the second sub-layer protocol entity processes the data packets of different logical channels separately from the data packets sent by the physical layer, and then sends the data packets of each logical channel to the corresponding first sub-layer protocol entity for processing;
  • Each first sub-layer protocol entity reassembles the received data packet.
  • the transport layer layer 2 processing module is further configured to reassemble the data packet, including:
  • the PDU is handed over to the transport layer 1 layer for processing;
  • the PDU is segmented. Handed over by the transport layer 1 layer, when the transport layer 1 layer processes the function of not configuring the PDU segment, the PDU segment is organized into PDUs and then processed by the transport layer 1 layer.
  • the transport layer layer 1 processing module is further configured to: when receiving the reordering operation according to the SN, feed back the incorrectly received data packet, perform de-secure processing and de-head compression on the correctly received data packet, and restore the Send a packet.
  • the transport layer layer 1 processing module is further configured to: when receiving, define a receiving window, maintain a receiving window, and receive a data packet according to the receiving window, and/or a reordering process, where the reordering comprises:
  • the reordering timer is started, and the highest SN sequence number in the receiving queue at this time is recorded;
  • the reordering timer Before the reordering timer expires, if no receiving out of order occurs, the reordering timer is stopped, and if the receiving out of order occurs, the reordering timer is restarted, and the highest SN sequence number in the current receiving queue is recorded;
  • the reordering timer expires, if the PDU corresponding to the SN is not received before the recorded SN sequence number corresponding to the reordering timer, it is confirmed that the packet transmission fails.
  • the transport layer layer 1 processing module is further configured to, when receiving, in the AM mode, including one or a combination of the following:
  • the reordering timer When receiving the data located in the receiving window, if the receiving sequence gap occurs, the reordering timer is started. When the reordering timer expires and the data packet is still not received, the transmission failure is determined, and the status report is fed back to the receiving end. .
  • a data processing apparatus is provided in the embodiment of the present application, including:
  • a processor for reading a program in the memory performing the following process:
  • the transport layer 1 layer processing includes: assigning an SN when transmitting;
  • a transceiver for receiving and transmitting data under the control of a processor, performing the following processes:
  • the transport layer layer 1 processing further includes performing header compression and security processing after allocating the SN.
  • the transport layer layer 1 processing further includes:
  • the layer processes the transmitted data packet after the intra-layer segmentation, wherein the configuration when the data packet is first transmitted is the same as the configuration when the data packet is retransmitted or different.
  • the transport layer 1 layer processing further includes one or a combination of the following processes when transmitting:
  • Setting P bits in the data packet or the data packet segment is used to trigger the receiving end to perform status report feedback
  • the retransmission is performed based on the receiving state feedback of the peer or the feedback information of the layer 2 processing of the transport layer.
  • the transport layer 1 layer processing is processed on a logical entity
  • the transport layer 2 layer processing is processed on one or at least two logical entities.
  • the logical entity performing the transport layer 1 layer processing distributes the processed data packet to at least one of the transport layer 2 layers.
  • the logical entity being processed
  • the logical entity performing the transport layer 1 layer processing copies the processed data packet and then sends the processed data packet to at least two logical entities that perform the transport layer layer 2 processing.
  • the method further includes:
  • the data packet When the data packet is retransmitted, it is retransmitted to the logical entity that originally performed the transport layer layer 2 processing or other logical entity that performs the transport layer layer 2 processing.
  • a data processing apparatus is provided in the embodiment of the present application, including:
  • a processor for reading a program in the memory performing the following process:
  • Performing transport layer 2 layer processing on the received data packet where the transport layer 2 layer processing includes: transmitting the data packet to which the physical layer is transmitted to the transport layer 2 layer for processing;
  • transport layer 1 layer processing on the data packet processed by the transport layer 2 layer, where the transport layer 1 layer processing includes: reordering operation according to the SN, and recovering into a transmit data packet, the transmit data
  • the packet is a data packet to be sent by the sender;
  • a transceiver for receiving and transmitting data under the control of a processor, performing the following processes:
  • the transport layer 2 layer processing further includes: reassembling the data packet before transmitting to the transport layer 1 layer.
  • the transport layer layer 2 processing is processed by the first sublayer protocol entity and the second sublayer protocol entity, where the first sublayer protocol entity receives the data packet processed by the second sublayer protocol entity, where
  • the second sub-layer protocol entity receives the data packet sent by the physical layer, when the data packet is reorganized, the method includes:
  • the second sub-layer protocol entity processes the data packets of different logical channels separately from the data packets sent by the physical layer, and then sends the data packets of each logical channel to the corresponding first sub-layer protocol entity for processing;
  • Each first sub-layer protocol entity reassembles the received data packet.
  • the data packet is reorganized, including:
  • the PDU is handed over to the transport layer 1 layer for processing;
  • the transport layer 1 layer processes the function of configuring the PDU segment
  • the PDU segment is handed over to the transport layer 1 layer, and when the transport layer 1 layer processes the unconfigured PDU segment
  • the function of the PDU is organized into PDUs and then processed by the transport layer 1 layer.
  • the transport layer layer 1 processing further includes:
  • the incorrectly received data packet is fed back, and the correctly received data packet is desecured and decompressed, and restored to the transmitted data packet.
  • the transport layer layer 1 processing further includes:
  • the reordering timer is started, and the highest SN sequence number in the receiving queue at this time is recorded;
  • the reordering timer Before the reordering timer expires, if no receiving out of order occurs, the reordering timer is stopped, and if the receiving out of order occurs, the reordering timer is restarted, and the highest SN sequence number in the current receiving queue is recorded;
  • the reordering timer expires, if the PDU corresponding to the SN is not received before the recorded SN sequence number corresponding to the reordering timer, it is confirmed that the packet transmission fails.
  • the transport layer 1 layer processing further includes one or a combination of the following processes when transmitting:
  • the reordering timer When receiving the data located in the receiving window, if the receiving sequence gap occurs, the reordering timer is started. When the reordering timer expires and the data packet is still not received, the transmission failure is determined, and the status report is fed back to the receiving end. .
  • FIG. 1 is a schematic diagram of a user plane protocol stack in the background art
  • FIG. 2 is a schematic diagram of a wireless protocol architecture for dual connectivity in the background art
  • FIG. 3 is a schematic diagram of a PDCP layer data processing flow PDCP in the background art
  • FIG. 4 is a schematic structural diagram of a PDCP PDU in the background art
  • FIG. 5 is a schematic diagram of data processing of RLC TM mode in the background art
  • FIG. 6 is a schematic diagram of data processing of the RLC UM mode in the background art
  • FIG. 7 is a schematic diagram of data processing of RLC AM mode in the background art
  • FIG. 9 is a schematic flowchart of an implementation process of a data processing method on a data sending end side according to an embodiment of the present application.
  • FIG. 10 is a schematic flowchart of an implementation process of a data processing method on a data receiving end side according to an embodiment of the present application
  • FIG. 11 is a schematic diagram of a protocol stack in an embodiment of the present application.
  • FIG. 12 is a schematic diagram of data packet transmission between a layer of a transport layer 1 and a layer of a transport layer 2 in an embodiment of the present application;
  • FIG. 13 is a schematic structural diagram of a data processing apparatus of a transmitting end according to an embodiment of the present application.
  • FIG. 14 is a schematic structural diagram of a data processing apparatus at a receiving end according to an embodiment of the present application.
  • FIG. 15 is a schematic structural diagram of a device at a transmitting end according to an embodiment of the present application.
  • FIG. 16 is a schematic structural diagram of a receiving end device according to an embodiment of the present application.
  • the Layer 2 protocol is composed of PDCP, RLC, and MAC, and the functions of each layer are repetitive.
  • PDCP and RLC allocate SNs, and each reorders data, and both the MAC layer and the RLC layer. It has the function of serially connecting data, and each of the three layers has a head structure, functional redundancy, large overhead, complicated processing and low efficiency.
  • the future 5G data rate is higher. If the existing layer 2 design is adopted, it will bring great challenges to the real-time operation and transmission efficiency, which is not conducive to the overall efficiency of the network and the improvement of the user experience.
  • a new data processing function is proposed in the embodiment of the present application, which involves processing the layer 2 data and coping with various scenarios, which not only ensures the transmission efficiency, but also enhances the user experience, and is beneficial to the future network. Increased network efficiency.
  • a high-level data packet for example, a radio resource control (RRC) signaling or a user data packet of a UE
  • RRC radio resource control
  • a user data packet of a UE when a high-level data packet (for example, a radio resource control (RRC) signaling or a user data packet of a UE) arrives, it is stored in a transmission buffer, and then in an L2 high layer.
  • the SN is allocated to the data packet, and then the data in the transmission window is subjected to header compression and security processing (integrity protection and encryption, etc.) according to the window requirement corresponding to the transmission mode, and is determined according to the configuration, and is sent to
  • the next layer is the L2 Low layer.
  • An L2 high layer can correspond to one L2 low layer or multiple L2 low layers.
  • each L2 low layer may be located at a different Transmission and Reception Point (TRP).
  • TRP Transmission and Reception Point
  • the packets sent by the L2 high layer to each L2 low layer may be different or the same.
  • Different situations mean that multiple TRPs transmit different data of the same bearer and the traffic is superimposed.
  • the case of the same data means that multiple TRPs transmit the same data, increasing the correct probability, guaranteeing lower transmission delay and higher reliability.
  • the L2 low layer After receiving the high-level data packet, the L2 low layer stores the data in the transmission buffer, and segments and concatenates the data packet according to the size of the transmission resource obtained by the scheduling, and transmits the data packet to the physical layer for transmission on the air interface, and then sends the packet to the air interface. Peer.
  • the gap of the received sequence confirmed after the reordering is determined as a packet loss, the packet loss and the correct reception status report are sent to the peer, and the peer is expected to retransmit.
  • the security operations are performed, the headers are compressed, and the like, and the high-level data packets are restored and submitted to the upper layer.
  • FIG. 9 is a schematic flowchart of an implementation process of a data processing method on a data sending end side, as shown in the figure, which may include:
  • Step 901 Receive a transmission data packet transmitted from a higher layer, where the transmission data packet is a data packet to be sent by the sending end.
  • Step 902 Performing transport layer 1 layer processing for the received transmit data packet, where the transport layer layer 1 processing includes: assigning an SN;
  • Step 903 Perform a transport layer 2 layer processing on the transport data packet processed by the transport layer 1 layer, where the transport layer 2 layer processing includes: sending, according to the size of the transmission resource obtained by scheduling, the sending The data packet is delivered to the physical layer and then sent over the air interface.
  • FIG. 10 is a schematic flowchart of an implementation process of a data processing method on a data receiving end side, as shown in the figure, which may include:
  • Step 1001 Receive a data packet that is received by the physical layer after being received from the air interface.
  • Step 1002 Perform a transport layer 2 layer processing on the received data packet, where the transport layer 2 layer processing includes: transmitting, to the transport layer 2 layer, a data packet transmitted by the physical layer to perform processing;
  • Step 1003 Perform a transport layer 1 layer processing on the data packet processed by the transport layer 2 layer, where the transport layer 1 layer processing includes: resequencing according to the SN, and reverting to sending a data packet.
  • the sending data packet is a data packet to be sent by the transmitting end.
  • FIG. 11 is a schematic diagram of a protocol stack.
  • the data packet is transmitted to a higher layer, and then processed at the transport layer 1 layer, and then processed by the transport layer 2 layer, and processed and then transmitted to
  • the physical layer transmits through the air interface; correspondingly, on the receiving end, the data packet transmitted from the air interface to the physical layer is received, and then the received data packet is subjected to the transport layer layer 2 processing, and is transmitted by the transmission layer.
  • Layer 1 processing after processing, is restored to send a data packet, that is, a data packet to be sent by the transmitting end.
  • the transport layer 1 layer is also referred to as an L2 high layer
  • the transport layer 2 layer is also referred to as an L2 low layer, with different expressions in order to better express the technical meaning of the protocol stack.
  • FIG. 12 is a schematic diagram of data packet transmission between the transport layer 1 layer and the transport layer 2 layer.
  • the transport layer 1 layer and the transport layer 2 layer may have a one-to-many relationship or a one-to-one relationship. Specific implementation instructions will also be given below in the examples.
  • the transport layer 1 layer processing can be processed on one logical entity
  • the transport layer 2 layer processing can be processed on one or at least two logical entities.
  • the logical entity performing the transport layer 1 layer processing distributes the processed data packet to at least one of the transport layer 2 layers.
  • the logical entity being processed;
  • the logical entity performing the transport layer 1 layer processing copies the processed data packet and sends the processed data packet to at least two A logical entity that performs the transport layer 2 layer processing.
  • the data of the same logical channel may be separated into different transport layer 2 layers for processing, or may be copied and processed.
  • transport layer 2 layers For example, if a logical channel has data packets 1-6 to be transmitted, and there are two layers below, then two layer 2 data can be allocated as follows:
  • the method further includes:
  • the data packet When the data packet is retransmitted, it is retransmitted to the logical entity that originally performed the transport layer layer 2 processing or other logical entity that performs the transport layer layer 2 processing.
  • the logical channel is unchanged, the logical channel uniquely corresponds to one transport layer layer 1 entity, and the change is the transport layer layer 2 entity, which can select different transport layer layer 2 entity transmissions, when selecting the layer 2 entity retransmission, It can also be like this:
  • Segment 1 is transmitted on the first layer 2 entity
  • Segment 2 is transmitted on the second layer 2 entity.
  • the processing at the transport layer 1 layer may further include:
  • the layer processes the transmitted data packet after the intra-layer segmentation, wherein the configuration when the data packet is initially transmitted is the same as or different from the configuration when the data packet is retransmitted.
  • the transport layer 2 layer processing may further include: reassembling the data packet before being transmitted to the transport layer 1 layer.
  • the transport layer layer 1 processing may further include:
  • the incorrectly received data packet is fed back, and the correctly received data packet is performed.
  • the UM mode is a non-acknowledgement mode, which means that the receiving end of the L2 high layer does not send a status report to the case of receiving data, and thus there is no case where the transmitting end retransmits.
  • the data transmission process of the sender L2 high layer can be roughly as follows:
  • the L2 high layer sender receives the data from its upper layer, and the SDU as the L2 high layer is stored in the transmission buffer. Whether it is stored in the transmission buffer is optional, and the SDU can be directly processed or cached for later processing.
  • the L2 high layer allocates the SN to the upper SDU first.
  • a specific implementation manner may be: the initial value of the SN is 0, and each SDU is allocated one by one. Each time the operation is added, the length of the SN is available, for example, configuration. 10bit, 15bit, 18bit, etc., respectively representing the SN range [0, 1023], [0, 32767], [0, 262143];
  • the method further includes:
  • a Discard timer can be started on the upper-layer SDU.
  • the timer is configured according to service requirements, and is generally equal to the maximum transmission delay that the service can tolerate, and the QCI (QoS Class Indicator).
  • QCI QoS Class Indicator
  • the SN After the SN is allocated, it can be sent according to the configured transmission mode. If it is UM, it can be sent directly.
  • Transport layer 1 layer processing may further include: performing header compression after allocating the SN.
  • the SDU performs necessary header compression processing according to the configuration, and whether header compression is enabled is configurable. Generally, header compression is not required for RRC signaling and non-IP data packets, and the header compression processing range is met.
  • the data packet can be configured with header compression and configured with header compression algorithms and parameters.
  • the configuration process can be performed through RRC signaling. The configuration is completed before the data transmission. Here, only the configuration needs to be processed according to the configuration, and then the next step is entered. One step; that is, in the implementation, in the UM mode, header compression can also be performed through RRC signaling.
  • Transport layer 1 layer processing may further include: performing security processing.
  • the necessary security processing may be performed on the data in the previous step according to the configuration.
  • the security processing generally includes integrity protection and encryption, and for high layer signaling, such as RRC signaling and Non Access Stratum (NAS) signaling. Therefore, it is generally necessary to perform integrity protection and encryption operations at the same time. For user data, only encryption operations are generally performed.
  • the transport layer layer 1 processing may further include: after performing header compression and security processing, according to The configuration determines whether intra-layer segmentation is performed, and when the intra-layer segmentation is performed, the transport layer 2 is processed by the transport layer 2 layer.
  • header compression and security processing the configuration determines whether intra-layer segmentation is performed, and when the intra-layer segmentation is performed, the transport layer 2 is processed by the transport layer 2 layer.
  • the data is directly segmented intra-layer.
  • the PDU is organized, the header SN and other domains are added, and according to the configuration, it is necessary to perform the segmentation operation on the data; the segmentation here is optional, and the function may be completely disabled. If the UM mode is configured, the segmentation function of the L2 high layer can be configured.
  • segmentation may depend on the static configuration of the RRC signaling, or may be dynamically determined according to the specific transmission situation. It can be divided into three segments based on the number of segmented bytes, for example, 500 bytes, or based on the number of segments, for example, an 1500-byte IP packet.
  • the L2 high layer and the L2 low layer are in a one-to-one relationship, they are directly sent. If an L2 high layer corresponds to multiple L2 low layers, the corresponding L2 low layer can be selected according to the configuration and the transmission condition of each link.
  • RRC signaling is configured with two or more L2 low layers for repeated data transmission, the L2 high layer needs to send the same data, and simultaneously send the L2 low layers of the several configurations;
  • L2 low layers are in the data split mode, for the L2 high layer, a corresponding L2 low layer needs to be selected for each data PDU for transmission. Generally, the selection load is lighter and the link quality is better. The L2 low layer is more conducive to the data transfer as soon as possible.
  • the data transmission process of the transmitting end L2 low layer can be roughly as follows:
  • the transport layer layer 2 processing may further include: segmenting and concatenating the transmit data packet before transmitting to the physical layer.
  • the grouping may be performed according to the scheduled transmission resource size, including segmentation and concatenation of the same L2 high layer data, and may also include concatenation of different L2 high layer data.
  • each L2 low layer can be at least in the following two ways:
  • the first type when performing segmentation and concatenation, the sending data packet is identified to identify the logical channel from which it is derived.
  • the SN may be used for identification when performing segmentation, and segmentation according to a load portion of the data packet processed by the transport layer 1 layer during segmentation.
  • the L2 low layer is implemented by the same layer protocol entity, and completes the entire scheduling mapping and grouping process of the logical channel to the transport channel. That is to say, in the L2 high layer to L2 low layer mapping, there may be a many-to-many manner, one L2 high layer to multiple L2 low layer mappings, because these L2 low layers may be located in different TRP nodes, The UE services, and the mapping of multiple L2 high layers to one L2 low layer, is because the data of different logical channels will be mapped to one transport channel.
  • the logical channel information can be carried in the header to distinguish the data blocks from different logical channels;
  • the data can also be appropriately segmented and concatenated to adapt to the size of the transmission resource.
  • the original data of the packet is a PDU or PDU segment of the L2 high layer, and the SN carrying the PDU Information, when the L2 low layer is grouped, the SN information can also be used to identify each data block.
  • the segment For each data block that is concatenated, it needs to indicate its length so that the receiving end can be correctly assembled, and for each sub-division.
  • the segment also needs to indicate that this is a segment, and the segmentation indication can be at least in two ways:
  • the sub-segment number carrying the segment for example, the sub-segment number is displayed by four bit bits (0-15), 0 represents the first segment, 1 represents the second segment, and 14 represents the tenth segment. Five segments, the special number 15 represents the last segment;
  • the second type the transport layer layer 2 processing is processed by the first sublayer protocol entity and the second sublayer protocol entity, wherein the first sublayer protocol entity receives the transport layer 1 layer processed data packet, and the second sublayer protocol After receiving the data packet processed by the first sub-layer protocol entity, the entity performs segmentation and concatenation according to the size of the transmission resource obtained by the scheduling, including:
  • the size of the first sub-layer protocol entity group packet is notified;
  • the first sub-layer protocol entity segments and concatenates the data packets processed by the transport layer layer 1;
  • the second sub-layer protocol entity After receiving the data packet of the first sub-layer protocol entity segment and the concatenation, the second sub-layer protocol entity adds identification information to the data packets from different logical channels, and multiplexes the data packets of different logical channels to form a data packet.
  • the transport channel data packet is sent to the physical layer.
  • the L2 low layer can be implemented by dividing into two sub-layers, wherein one sub-layer 1 directly connected to the L2 high layer completes the grouping of the logical channel, and the other sub-layer 2 is connected to the physical layer to complete the logical channel to the transmission. Channel multiplexing, and possible operations such as HARQ, scheduling, and so on.
  • the Layer 2 protocol is from top to bottom: L2 high layer, L2 low layer1, L2 low layer2, physical layer.
  • L2 low layer2 After L2 low layer2 completes scheduling, it needs to inform the size of the L2 low layer1 packet, and then L2 low layer1 performs appropriate segmentation and concatenation of the high layer PDU according to the size to meet the size requirement.
  • L2 low layer2 After receiving the data packet of L2 low layer1, L2 low layer2 adds logical channel information, length indication information, etc. to data packets from different logical channels, and multiplexes data of different logical channels, and then forms a transport channel PDU. Sent to the physical layer.
  • the process of receiving the L2 low layer can be roughly as follows:
  • the L2 low layer receives the data packet from the physical layer and unpacks the data packet:
  • L2 low layer is implemented by two sub-layers
  • the operation of disassembling the logical channel packet is performed by L2 low layer 2, and then Sending data packets of each logical channel to the corresponding L2 low layer1 sublayer for processing;
  • the transport layer 2 layer processing may be processed in the first sublayer protocol entity and the second sublayer protocol entity, where the first sublayer protocol entity receives the second sublayer protocol entity after processing
  • the data packet, the second sub-layer protocol entity receives the data packet sent by the physical layer, and when reassembling the data packet, includes:
  • the second sub-layer protocol entity processes the data packets of different logical channels separately from the data packets sent by the physical layer, and then sends the data packets of each logical channel to the corresponding first sub-layer protocol entity for processing;
  • Each first sub-layer protocol entity reassembles the received data packet.
  • L2 high layer PDUs or PDU segments are disassembled according to the rules of the group packet, and if it is a PDU, the PDU is directly sent to the L2 high layer; if it is L2 high
  • the PDU segment of the layer needs to be differentiated.
  • the L2 high layer is configured with the PDU segmentation function
  • the L2 low layer can directly send the PDU segment. Otherwise, if the PDU segmentation function is not configured, the PDU is proved.
  • the segmentation operation is performed on the L2 low layer transmitting end, and the L2 low layer receiving end needs to organize the PDU segment into PDUs and then send them up.
  • At least one feasible implementation is as follows:
  • the L2 low layer stores the segment of the PDU in a certain manner, and performs segmentation on the subsequently received PDU segment and the PDU segment in the buffer, and if it can be organized into a complete PDU, it is sent to the L2 high layer;
  • a certain timer is set for the cached segment.
  • the timer can be configured by the RRC.
  • the length is generally determined by multiplying the number of HARQ retransmission times by the Round Trip Time (RTT) of the HARQ.
  • RTT Round Trip Time
  • reassembling the data packet may include:
  • PDU segmentation For each logical channel data packet, according to the rules of the group packet, different PDUs for the transport layer 1 layer processing are disassembled. Or PDU segmentation;
  • the PDU is handed over to the transport layer 1 layer for processing;
  • the transport layer 1 layer processes the function of configuring the PDU segment
  • the PDU segment is handed over to the transport layer 1 layer, and when the transport layer 1 layer processes the unconfigured PDU segment
  • the function of the PDU is organized into PDUs and then processed by the transport layer 1 layer.
  • the process of receiving the L2 high layer can be roughly as follows:
  • the transport layer 1 layer processing may further include, when receiving, defining a receiving window, maintaining a receiving window, and receiving a data packet according to the receiving window, and/or reordering processing.
  • the definition of the receiving window can be at least as follows:
  • Receiving a PDU sent from the L2 low layer determining whether the PDU is data within a receiving window, wherein the receiving window is defined as [lower boundary, upper boundary], including a lower boundary, and does not include an upper boundary, wherein the upper boundary is received
  • the highest SN is incremented by 1, and the lower boundary is the upper boundary minus the receiving window size.
  • the upper boundary is updated to SN plus 1.
  • the received SN is located within the receiving window, it is considered to be a duplicate packet or a packet that fills the received Gap (gap), and the duplicate packet is If you need to delete and fill the packet that receives the Gap, refer to the reordering receiving operation.
  • the high-level SDUs are delivered to the higher layers in order.
  • reordering can include:
  • the reordering timer is started, and the highest SN sequence number in the receiving queue at this time is recorded;
  • the reordering timer Before the reordering timer expires, if no receiving out of order occurs, the reordering timer is stopped, and if the receiving out of order occurs, the reordering timer is restarted, and the highest SN sequence number in the current receiving queue is recorded;
  • the reordering timer expires, if the PDU corresponding to the SN is not received before the recorded SN sequence number corresponding to the reordering timer, it is confirmed that the packet transmission fails.
  • the SN of the PDU has received the Gap, it indicates that there is data missing or out of order in the middle.
  • This deletion or disorder may be caused by different retransmission times of the HARQ, or may be the scheduling and transmission path of different TRPs. The path is different.
  • the receiving end needs to perform reordering processing.
  • the reordering operation is as follows:
  • the reordering timer is started, and the receiving queue is recorded at this time.
  • the reordering timer Before the reordering timer expires, all the Gaps before the SN sequence number corresponding to the reordering timer are filled, and the reordering is successful. If there is no other Gap, the reordering timer is stopped. If there is still a new Gap, the reordering timer is restarted, and the highest SN sequence number in the current receiving queue is recorded;
  • the reordering timer expires, if the SN corresponding to the SN is not received before the SN sequence number corresponding to the reordering timer is recorded, it is determined that the packet completely fails to be transmitted, and the waiting is stopped. All PDUs are followed in the SN order and submitted to the upper layer. If there is still a new Gap, restart the reordering timer and record the highest SN sequence number in the current receiving queue;
  • the PDU segment may be received from the lower layer, and the PDU segmentation is also processed according to the above reordering, and the missing PDU segment also needs to wait, when a certain SN corresponds to All the segments are received and organized into a complete PDU, and the SN is considered to be received by the PDU, where Gap disappears. That is, in the UM mode, the transport layer 1 layer processing may further include: when the transport layer 1 layer processing turns on the intra-layer segmentation function, the reordering process is performed according to the PDU segment.
  • the reassembled entity may also complete the PDU.
  • the valid parts of each segment can be combined to form the data of the [0-end] of consecutive PDUs, for example, [0-300] bytes are taken from the first segment, and the second segment is taken [300] -800] bytes, the third segment takes [800-end] bytes, spliced into complete PDUs, and of course there are other ways.
  • AM Mode Processing During the processing of the above UM mode, the functions of the transmission window, Poll search, status report reception, and retransmission are changed or added. The process similar to the UM mode is not described here. For details, refer to Embodiment 1. This embodiment focuses on the processing different from the UM mode. That is:
  • the transport layer 1 layer processing may further include one or a combination of the following processes when transmitting:
  • Setting P bits in the data packet or the data packet segment is used to trigger the receiving end to perform status report feedback
  • the retransmission is performed based on the receiving state feedback of the peer or the feedback information of the layer 2 processing of the transport layer.
  • the transmission window of the AM performs a strict window update mechanism driven by the lower boundary, that is, the transmission window is defined as [lower boundary, upper boundary], wherein the lower boundary is defined as the maximum of consecutive SNs that are positively acknowledged by the peer ACK status report. The value is incremented by 1, and the upper boundary is defined as the lower boundary plus the window size.
  • the update of the transmission window can only rely on the status of the peer (L2 high layer peer receiving end) to report ACK feedback, that is, after receiving the ACK status report, the highest value of the continuously correctly received SN is added to 1 for update transmission.
  • the lower boundary of the window, along with the upper boundary, is also updated to ensure that the send window size is always equal to half of the SN space.
  • the sender entity has a way to trigger the receiver to perform status report feedback.
  • the Poll mechanism refers to the manner in which the specific bit position of the header in the data PDU is taken at the transmitting end. For example, there is a P bit in the high layer PDU. When the P bit is 0, it represents a normal data packet, and no additional processing is required. When the P bit is set to 1, it means that the transmitting end needs the receiving state feedback of the receiving end.
  • the sender can set the P bit when the window reaches a certain level, for example, 50% or 75%; or every other PDU/SDU, the specific parameters can be configured to trigger the Poll process.
  • the sender entity also has the function of segmenting the data packet.
  • the function is configurable on the network side. When the function is enabled, the sender can appropriately segment the data SDU of the upper layer and can be different.
  • the segmentation is allocated to different link Low layer entities for transmission, which reduces the delay of data transmission on the one hand, and reduces the granularity of data on the other hand, and also increases flexibility for subsequent retransmissions.
  • the principle of segmentation can be statically configured on the network side, such as configuring the maximum size of each segment; or configuring the number of segments; there can also be some configurations that adapt to the packet size, such as configuring a 1500-byte IP.
  • the packet is divided into N segments, and IP packets higher than 1500 bytes are divided into M segments, and less than 1500 bytes are not segmented.
  • the principle of segmentation can also be dynamic.
  • the current real-time transmission situation determines the manner of segmentation. For example, when the link condition is good, the segmentation can be reduced or the size of each segment can be increased. Poor, can increase the segmentation or reduce the size of each segment, or even based on each link situation, when the link 1 quality is poor or the load is high, the link 1 can be sent to a smaller segment. Transmission, when the quality of link 2 is good or the load is low, it can be sent to link 2 transmission in a larger segment.
  • the sender entity can also retransmit the data packet.
  • the principle of retransmission is mainly based on the receiving state feedback of the peer or the information of the lower layer L2 low layer.
  • the receiving end triggers the status report feedback process because it receives the data packet carrying the P bit or detects the receiving sequence gap.
  • the status report carries a NACK indicating which data packets or data segments are lost, requesting retransmission. For the sender, receiving such a NACK status report requires the display of these lost data PDUs or PDUs. Segmentation for retransmission. During retransmission, if it is displayed that a certain segment is lost and other parts of the entire PDU are correctly received, only the lost part of the content may be retransmitted, for example, if the display packet is lost 200-500 bytes, the part of the content is retransmitted.
  • the reason why partial segmentation is lost and other segments are correctly received may be that the high layer of the transmitting end performs segmentation of the data PDU, and the segments allocated to different paths are successfully transmitted, and some transmissions fail. It may be that the high layer sends the entire PDU to a link low layer, and the Low layer segments the PDU according to the transmission resource size. Some PDUs are successfully transmitted, and some PDUs fail to be transmitted. If it is displayed that the entire PDU is lost, the entire PDU is retransmitted. In the case that the entire PDU needs to be retransmitted, the data can also be segmented in the high layer to be distributed to different paths for transmission, which improves flexibility and reduces delay.
  • the low layer when the data PDU or segment of the high layer is sent to the low layer transmission, if the low layer can determine that the data transmission fails according to its own transmission condition, the low layer It can report to the high layer that the PDU or segment transmission fails, and the high layer performs immediate retransmission without waiting for the high layer peer to trigger a retransmission for the NACK status report of the data.
  • the Low layer can transmit NACK feedback in a packet after several times, such as HARQ transmission, and receives NACK feedback every time, and reaches the maximum number of retransmissions. When the transmission is abandoned, the high layer indicates that the data transmission failed. Or the low layer itself has some link deterioration, and the data packet cannot be transmitted in time.
  • the packet can be reported to the high layer for a data packet or other unsent data packets in the cache.
  • the high layer can be used according to the situation.
  • the data is scheduled to be retransmitted on other links to ensure the continuity of the data, and the user experience is not degraded due to the deterioration of one link.
  • the transport layer 1 layer processing may further include one or a combination of the following processes when transmitting:
  • the receiving window mechanism, the L2 high layer in the AM mode will perform a strict receiving window mechanism, and the data packets outside the receiving window are considered to be repeatedly received or uselessly received, and if necessary, the header compression state can be updated, and the data portion is updated. been deleted. Only packets within the receive window are processed normally.
  • the receive window is determined by the lower boundary, which is the maximum SN plus 1 for consecutively receiving data packets, and the upper boundary is half of the lower boundary plus SN space.
  • the reordering timer When receiving data located within the receiving window, if a receiving sequence gap occurs, the reordering timer is started. When the reordering timer expires and the data packet is still not received, it is determined that the transmission fails, and the status report is fed back to the receiving end.
  • the AM mode receiver also has a reordering function.
  • a receiving sequence gap occurs, for example, a packet with SN of 3 has been received, and now a packet with SN of 5 is received, then the packet is received. 4 may determine that the sequence gap is received, and the reordering timer may be started for the receiving sequence gap.
  • the reordering timer expires and the data packet is still not received, the transmission is determined to be failed, and the status report is fed back to the receiving end to indicate the Packet NACK is lost.
  • the PDU segment is received, the PDU segment is also reordered. If the reordering timer expires and the segment is not received, the segment is considered to be lost, and the packet segmentation NACK is indicated in the status report. Lost.
  • a data processing device is also provided in the embodiment of the present application. Since the principle of solving the problem of these devices is similar to a data processing method, the implementation of these devices can refer to the implementation of the method, and the repetition is no longer Narration.
  • FIG. 13 is a schematic structural diagram of a data processing apparatus at a transmitting end, as shown in the figure, including:
  • a sending data packet receiving module 1301, configured to receive a sending data packet transmitted from a higher layer, where the sending data packet is a data packet to be sent by the transmitting end;
  • the transport layer 1 layer processing module 1302 is configured to perform transport layer 1 layer processing on the received transmit data packet, where the transport layer 1 layer processing includes: assigning an SN when transmitting;
  • the transport layer 2 layer processing module 1303 is configured to perform transport layer 2 layer processing on the transport data packet processed by the transport layer 1 layer, where the transport layer 2 layer processing includes: transmission resources obtained according to scheduling The size of the transmitted data packet is transmitted to the physical layer and then transmitted through the air interface.
  • the transport layer layer 1 processing module is further configured to perform header compression and security processing after the SN is allocated at the time of transmission.
  • the transport layer layer 1 processing module is further configured to: when transmitting, determine whether to perform intra-layer segmentation when initially transmitting the data packet according to the configuration, and/or, according to the configuration, determine whether to perform intra-layer segmentation when retransmitting the data packet.
  • the segment is processed by the transport layer 2 layer when performing the intra-layer segmentation, and is the intra-layer segmentation of the transmit data packet, wherein the configuration when the data packet is first transmitted and the configuration when retransmitting the data packet are The same or different.
  • the transport layer layer 1 processing module is further configured to determine whether to segment according to the static configuration of the RRC signaling when transmitting.
  • the transport layer layer 1 processing module is further configured to include, in the AM mode, one of the following processes or a combination thereof when transmitting:
  • Setting P bits in the data packet or the data packet segment is used to trigger the receiving end to perform status report feedback
  • the retransmission is performed based on the receiving state feedback of the peer or the feedback information of the layer 2 processing of the transport layer.
  • the transport layer layer 1 processing module is further configured to perform the transport layer layer 1 processing on a logical entity
  • the transport layer layer 2 processing module is further configured to perform the transport layer layer 2 processing on one or at least two logical entities.
  • the logical entity performing the transport layer 1 layer processing distributes the processed data packet to at least one of the transport layer 2 layer processing Logical entity
  • the logical entity performing the transport layer 1 layer processing copies the processed data packet and then sends the processed data packet to at least two logical entities that perform the transport layer layer 2 processing.
  • the transport layer 1 layer processing module is further configured to: when the transport layer 2 layer processing is processed on the at least two logical entities, retransmit the data packet to the original transport layer 2 layer processing when retransmitting the data packet A logical entity or other logical entity that performs the transport layer 2 layer processing.
  • the transport layer layer 2 processing module is further configured to segment and concatenate the transmit data packet before being delivered to the physical layer.
  • the transport layer 1 layer processing module and/or the transport layer 2 layer processing module are further configured to identify the transmit data packet to identify a logical channel from which it is when performing segmentation and concatenation.
  • the transport layer layer 2 processing module is further configured to use the SN for identifying when performing segmentation, and segmenting according to a load portion of the data packet processed by the transport layer layer 1 during segmentation.
  • the transport layer layer 2 processing module is further configured to perform the transport layer layer 2 processing in the first sublayer protocol entity and the second sublayer protocol entity, where the first sublayer protocol entity receives the transport layer layer 1 processing The data packet, the second sub-layer protocol entity receives the data packet processed by the first sub-layer protocol entity, and then performs segmentation and concatenation according to the size of the transmission resource obtained by the scheduling, including:
  • the size of the first sub-layer protocol entity group packet is notified;
  • the first sub-layer protocol entity segments and concatenates the data packets processed by the transport layer layer 1;
  • the second sub-layer protocol entity After receiving the data packet of the first sub-layer protocol entity segment and the concatenation, the second sub-layer protocol entity adds identification information to the data packets from different logical channels, and multiplexes the data packets of different logical channels to form a data packet.
  • the transport channel data packet is sent to the physical layer.
  • FIG. 14 is a schematic structural diagram of a data processing apparatus at a receiving end, as shown in the figure, including:
  • a data packet receiving module 1401, configured to receive a data packet that is received by the physical layer after being received from the air interface
  • the transport layer layer 2 processing module 1402 is configured to perform transport layer 2 layer processing on the received data packet, where the transport layer layer 2 processing includes: transmitting, to the transport layer 2, the data packet transmitted by the physical layer Layer processing;
  • the transport layer 1 layer processing module 1403 is configured to perform transport layer 1 layer processing on the data packet processed by the transport layer 2 layer, where the transport layer 1 layer processing includes: performing a reordering operation according to the SN, Reverting to sending a data packet, the sending data packet is a data packet to be sent by the transmitting end.
  • the transport layer layer 2 processing module is further configured to reassemble the data packet before being transmitted to the transport layer 1 layer upon reception.
  • the transport layer layer 2 processing module is further configured to: when receiving, perform the transport layer layer 2 processing on the first sublayer protocol entity and the second sublayer protocol entity, where the first sublayer protocol entity receives the second sub The data packet processed by the layer protocol entity, and the second sub-layer protocol entity receiving the data packet sent by the physical layer, when reassembling the data packet, includes:
  • the second sub-layer protocol entity processes the data packets of different logical channels separately from the data packets sent by the physical layer, and then sends the data packets of each logical channel to the corresponding first sub-layer protocol entity for processing;
  • Each first sub-layer protocol entity reassembles the received data packet.
  • the transport layer layer 2 processing module is further configured to reassemble the data packet, including:
  • the PDU is handed over to the transport layer 1 layer for processing;
  • the transport layer 1 layer processes the function of configuring the PDU segment
  • the PDU segment is handed over to the transport layer 1 layer, and when the transport layer 1 layer processes the unconfigured PDU segment
  • the function of the PDU is organized into PDUs and then processed by the transport layer 1 layer.
  • the transport layer 1 layer processing module is further configured to: when receiving the reordering operation according to the SN, feed back the incorrectly received data packet, perform de-secure processing and de-head compression on the correctly received data packet, and restore to send data pack.
  • the transport layer layer 1 processing module is further configured to: when receiving, define a receiving window, maintain a receiving window, and receive a data packet according to the receiving window, and/or a reordering process, where the reordering comprises:
  • the reordering timer is started, and the highest SN sequence number in the receiving queue at this time is recorded;
  • the reordering timer Before the reordering timer expires, if no receiving out of order occurs, the reordering timer is stopped, and if the receiving out of order occurs, the reordering timer is restarted, and the highest SN sequence number in the current receiving queue is recorded;
  • the reordering timer expires, if the PDU corresponding to the SN is not received before the recorded SN sequence number corresponding to the reordering timer, it is confirmed that the packet transmission fails.
  • the transport layer layer 1 processing module is further configured to, when receiving, in the AM mode, including one or a combination of the following:
  • the reordering timer When receiving the data located in the receiving window, if the receiving sequence gap occurs, the reordering timer is started. When the reordering timer expires and the data packet is still not received, the transmission failure is determined, and the status report is fed back to the receiving end. .
  • Figure 15 is a schematic structural diagram of a device at the transmitting end. As shown in the figure, the device includes:
  • the processor 1500 is configured to read a program in the memory 1520 and perform the following process:
  • the transport layer 1 layer processing includes: assigning an SN when transmitting;
  • the transceiver 1510 is configured to receive and transmit data under the control of the processor 1500, and performs the following processes:
  • the transport layer 1 layer processing further includes performing header compression and security processing after allocating the SN.
  • the transport layer layer 1 processing further includes:
  • the layer processes the transmitted data packet after the intra-layer segmentation, wherein the configuration when the data packet is initially transmitted is the same as or different from the configuration when the data packet is retransmitted.
  • whether to segment is determined according to the static configuration of the RRC signaling.
  • the transport layer 1 layer processing further includes one or a combination of the following processes when transmitting:
  • Setting P bits in the data packet or the data packet segment is used to trigger the receiving end to perform status report feedback
  • the retransmission is performed based on the receiving state feedback of the peer or the feedback information of the layer 2 processing of the transport layer.
  • the transport layer 1 layer processing is processed on one logical entity
  • the transport layer 2 layer processing is processed on one or at least two logical entities.
  • the transport layer 1 layer is performed. Processing the logical entity to distribute the processed data packet to at least one logical entity performing the transport layer 2 layer processing;
  • the logical entity performing the transport layer 1 layer processing copies the processed data packet and then sends the processed data packet to at least two logical entities that perform the transport layer layer 2 processing.
  • the method when the transport layer 2 layer processing is processed on at least two logical entities, the method further includes:
  • the data packet When the data packet is retransmitted, it is retransmitted to the logical entity that originally performed the transport layer layer 2 processing or other logical entity that performs the transport layer layer 2 processing.
  • the bus architecture may include any number of interconnected buses and bridges, specifically linked by one or more processors represented by processor 1500 and various circuits of memory represented by memory 1520.
  • the bus architecture can also link various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and, therefore, will not be further described herein.
  • the bus interface provides an interface.
  • the transceiver 1510 can be a plurality of components, including a transmitter and a transceiver, providing means for communicating with various other devices on a transmission medium.
  • the processor 1500 is responsible for managing the bus architecture and general processing, and the memory 1520 can store data used by the processor 1500 in performing operations.
  • FIG. 16 is a schematic structural diagram of a receiving end device. As shown in the figure, the device includes:
  • the processor 1600 is configured to read a program in the memory 1620 and perform the following process:
  • Performing transport layer 2 layer processing on the received data packet where the transport layer 2 layer processing includes: transmitting the data packet to which the physical layer is transmitted to the transport layer 2 layer for processing;
  • transport layer 1 layer processing on the data packet processed by the transport layer 2 layer, where the transport layer 1 layer processing includes: reordering operation according to the SN, and recovering into a transmit data packet, the transmit data
  • the packet is a data packet to be sent by the sender;
  • the transceiver 1610 is configured to receive and transmit data under the control of the processor 1600, and performs the following processes:
  • the transport layer 2 layer processing further includes: reassembling the data packet before transmitting to the transport layer 1 layer.
  • the transport layer 2 layer processing is processed by the first sublayer protocol entity and the second sublayer protocol entity, where the first sublayer protocol entity receives the data packet processed by the second sublayer protocol entity, and the second When the sub-layer protocol entity receives the data packet sent by the physical layer, when the data packet is reorganized, it includes:
  • the second sub-layer protocol entity processes the data packets of different logical channels separately from the data packets sent by the physical layer, and then sends the data packets of each logical channel to the corresponding first sub-layer protocol entity for processing;
  • Each first sub-layer protocol entity reassembles the received data packet.
  • the data package is reorganized, including:
  • the PDU is handed over to the transport layer 1 layer for processing;
  • the transport layer 1 layer processes the function of configuring the PDU segment
  • the PDU segment is handed over to the transport layer 1 layer, and when the transport layer 1 layer processes the unconfigured PDU segment
  • the function of the PDU is organized into PDUs and then processed by the transport layer 1 layer.
  • the transport layer layer 1 processing further includes:
  • the incorrectly received data packet is fed back, and the correctly received data packet is desecured and decompressed, and restored to the transmitted data packet.
  • the transport layer layer 1 processing further includes:
  • the reordering timer is started, and the highest SN sequence number in the receiving queue at this time is recorded;
  • the reordering timer Before the reordering timer expires, if no receiving out of order occurs, the reordering timer is stopped, and if the receiving out of order occurs, the reordering timer is restarted, and the highest SN sequence number in the current receiving queue is recorded;
  • the reordering timer expires, if the PDU corresponding to the SN is not received before the recorded SN sequence number corresponding to the reordering timer, it is confirmed that the packet transmission fails.
  • the transport layer 1 layer processing further includes one or a combination of the following processes when transmitting:
  • the reordering timer When receiving the data located in the receiving window, if the receiving sequence gap occurs, the reordering timer is started. When the reordering timer expires and the data packet is still not received, the transmission failure is determined, and the status report is fed back to the receiving end. .
  • the bus architecture may include any number of interconnected buses and bridges, specifically linked by one or more processors represented by processor 1600 and various circuits of memory represented by memory 1620.
  • the bus architecture can also link various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and, therefore, will not be further described herein.
  • the bus interface provides an interface.
  • the transceiver 1610 can be a plurality of components, including a transmitter and a transceiver, providing means for communicating with various other devices on a transmission medium.
  • the processor 1600 is responsible for managing the bus architecture and general processing, and the memory 1620 can store data used by the processor 1600 in performing operations.
  • the layer is divided into two layers, and the upper layer is responsible for SN maintenance, window processing, security, encryption, reordering, and ARQ functions; the lower layer is responsible for grouping based on the upper layer SN, and the logical channel. To the transmission channel Mapping and other functions.
  • the data transmission scheme provided in the embodiment of the present application can enable the UE data to be efficiently transmitted in different paths, and the centralized protocol layer performs receiving state feedback and retransmission and appropriate segmentation operations to cope with different links.
  • the situation facilitates the efficiency and delay of UE data transmission, improving system efficiency and user experience.
  • embodiments of the present application can be provided as a method, system, or computer program product.
  • the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware.
  • the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

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

Abstract

本申请公开了一种数据处理方法及装置,包括:在发送端,接收从高层传输的发送数据包,为接收到的所述发送数据包进行包括分配序列号的传输层1层处理;然后进行传输层2层处理,包括:根据调度得到的传输资源的大小,将所述发送数据包传递给物理层后经空中接口进行发送。在接收端,接收从空口接收到后经物理层传输至的数据包;对接收到的所述数据包进行传输层2层处理,包括:将物理层传输至的数据包传输至传输层2层进行处理;然后进行传输层1层处理,包括:根据SN进行重排序操作,恢复成发送数据包,所述发送数据包是发送端欲发送的数据包。本申请可以使数据能够进行高效传输,便于数据传输的效率和时延,提高了***效率和用户体验。

Description

一种数据处理方法及装置
本申请要求在2016年7月8日提交中国专利局、申请号为201610538821.X、申请名称为“一种数据处理方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及无线通信技术领域,特别涉及一种数据处理方法及装置。
背景技术
图1为用户面协议栈(User-plane protocol stack)示意图,如图所示,在现有移动通信***的数据传输过程中,用户设备(User Equipment,UE)和演进基站(eNB)之间的数据传输,通常经过分组数据聚合协议(Packet Data Convergence Protocol,PDCP),无线链路控制(Radio Link Control,RLC),媒体接入控制(Media Access Control,MAC)和物理层(Physical layer,PHY)的传输,每一层完成不同的数据处理。PDCP主要是进行安全操作和头压缩解压缩处理,例如加密和完整性保护,健壮头压缩/鲁棒性头压缩(Robust Header Compression,ROHC)和解压缩等;RLC主要完成数据的分段级联和按序递交及自动要求重复(Automatic Repeat reQuest,ARQ)数据传输保障;MAC主要完成调度和不同逻辑信道的级联处理及混合自动重复请求(Hybrid Automatic Repeat Request,HARQ)操作;物理层完成传输块成包和空口发送。
图2为用于双连接的无线协议架构(Radio Protocol Architecture for Dual Connectivity)示意图,图中,主小区组(Master Cell Group,MCG)在双连接架构下,是由MeNB(主基站)控制的一组服务小区,辅小区组(Secondary Cell Group,SCG)是在双连接架构下由辅基站(SeNB)控制的一组服务小区,如图所示,在双连接的架构中,MCG Bearer与SCG Bearer承载的用户数据可以在不同eNB之间进行分流处理,从RLC及以下的协议层进行两个eNB的分别处理。
下面对层二协议对数据的处理进行简要说明。
图3为PDCP层数据处理流程PDCP示意图,如图所示,PDCP层主要功能是进行安全相关操作(加/解密、完整性保护/验证)和头压缩/解压缩处理。
图4为PDCP PDU结构示意图,如图所示,发送PDCP实体对接收到的IP数据包处理之后会生成PDCP协议数据单元(Protocol Data Unit,PDU),PDCP PDU的结构如图4 所示,PCPC层序列号(Sequence Number,SN)包含在PDCP header(头部)中。
图5为RLC TM模式数据处理示意图,图6为RLC UM模式数据处理示意图,图7为RLC AM模式数据处理示意图,如图所示,RLC层主要功能是完成数据的分段、级联和按序递交及ARQ。RLC层支持三种模式:透明模式(Transparent Mode,TM)、非确认模式(Unacknowledged Mode,UM)和确认模式(Acknowledged Mode,AM)。
图8为RLC PDU生成示意图,对于RLC TM模式,在RLC层是透传的,不需要增加RLC header(不需要增加RLC SN)。但是对于RLC UM和AM模式,RLC层的处理方式是基于MAC层指示的调度信息,对RLC业务数据单元(Service Data Unit,SDU)(即PDCP PDU)进行分段、级联,生成RLC PDU。对RLC SDU通过分段/级联方式生成RLC PDU的过程如图8所示。每个RLC PDU需要分配要给SN,并将该SN携带在RLC PDU header中。
MAC主要功能是基于PHY的资源进行上/下行调度。对于下行调度,基站的MAC确定调度信息后需要通知RLC组织RLC PDU,然后MAC层将来自一个终端不同逻辑信道的RLC PDU进行复用成一个下行MAC PDU。对于上行调度,基站的MAC确定调度信息后会通过物理下行控制信道(Physical Downlink Control Channel,PDCCH)指示给终端,终端通过上行逻辑信道优先级过程,组织上行MAC PDU。
现有技术的不足在于:层二协议中各层功能存在一定的重复性,功能冗余,开销较大。
发明内容
本申请提供了一种数据处理方法及装置,用以减少层二协议中的开销。
本申请实施例中提供了一种数据处理方法,包括:
接收从高层传输的发送数据包,所述发送数据包是发送端欲发送的数据包;
为接收到的所述发送数据包进行传输层1层处理,所述传输层1层处理在发送时包括:分配SN;
对所述传输层1层处理后的所述发送数据包进行传输层2层处理,所述传输层2层处理在发送时包括:根据调度得到的传输资源的大小,将所述发送数据包传递给物理层后经空中接口进行发送。
可选的,所述传输层1层处理进一步包括:在分配SN后,进行头压缩和安全处理。
可选的,所述传输层1层处理在发送时进一步包括:
根据配置决定是否在初次传输数据包时进行层内分段,和/或,根据配置决定是否在重传数据包时进行层内分段,在进行层内分段时交由所述传输层2层处理的是层内分段后的 所述发送数据包,其中,初次传输数据包时的配置与重传数据包时的配置是相同的或者是不同的。
可选的,根据RRC信令静态配置决定是否分段。
可选的,在AM模式下,所述传输层1层处理在发送时进一步包括以下处理之一或者其组合:
定义发送窗口,维护发送窗口,以及根据发送窗口发送数据包;
在数据包或者数据包分段中设置P比特用于触发接收端进行状态报告反馈;
根据网络侧信令配置进行分段;
基于对等端的接收状态反馈,或者所述传输层2层处理的反馈信息进行重传。
可选的,所述传输层1层处理在一个逻辑实体上处理;
所述传输层2层处理在一个或至少两个逻辑实体上处理。
可选的,在所述传输层2层处理在至少两个逻辑实体上处理时,进行所述传输层1层处理的逻辑实体将处理后的数据包分发至至少一个进行所述传输层2层处理的逻辑实体;
或者,进行所述传输层1层处理的逻辑实体将处理后的数据包复制后发送至至少两个进行所述传输层2层处理的逻辑实体。
可选的,在所述传输层2层处理在至少两个逻辑实体上处理时,进一步包括:
在重传数据包时,重传至原进行所述传输层2层处理的逻辑实体或其它进行所述传输层2层处理的逻辑实体。
本申请实施例中提供了一种数据处理方法,包括:
接收从空口接收到后经物理层传输至的数据包;
对接收到的所述数据包进行传输层2层处理,所述传输层2层处理在接收时包括:将物理层传输至的数据包传输至传输层2层进行处理;
对所述传输层2层处理后的所述数据包进行传输层1层处理,所述传输层1层处理在接收时包括:根据SN进行重排序操作,恢复成发送数据包,所述发送数据包是发送端欲发送的数据包。
可选的,所述传输层2层处理在接收时进一步包括:在传输至传输层1层前,对数据包进行重组。
可选的,所述传输层2层处理是在第一子层协议实体以及第二子层协议实体处理的,其中第一子层协议实体接收第二子层协议实体处理后的数据包,第二子层协议实体接收物理层发送的数据包,则在对数据包进行重组时,包括:
第二子层协议实体从物理层发送的数据包中将不同逻辑信道的数据包进行分别处理, 之后将每个逻辑信道的数据包发送给相应的第一子层协议实体进行处理;
各第一子层协议实体对接收到的数据包重组。
可选的,对数据包进行重组,包括:
对每个逻辑信道的数据包,根据组包的规则,拆解出不同的可供传输层1层处理的PDU或者PDU分段;
如果是PDU,则将PDU交由所述传输层1层处理;
如果是PDU分段,当所述传输层1层处理配置了PDU分段的功能,则将PDU分段交由所述传输层1层处理,当所述传输层1层处理未配置PDU分段的功能,则将PDU分段组织成PDU后交由所述传输层1层处理。
可选的,所述传输层1层处理在接收时进一步包括:
在根据SN进行重排序操作后,反馈不正确接收的数据包,对正确接收的数据包进行解安全处理和解头压缩,恢复成发送数据包。
可选的,所述传输层1层处理在接收时进一步包括:
定义接收窗口、维护接收窗口以及根据接收窗口接收数据包,和/或重排序处理,其中,重排序包括:
当出现了接收乱序时,启动重排序定时器,并记录此时接收队列中最高的SN序号;
在重排序定时器超时之前,若无接收乱序出现,则停止重排序定时器,若出现接收乱序,则重新启动重排序定时器,并记录当前接收队列中最高的SN序号;
如果重排序定时器超时,在记录的与该重排序定时器对应的SN序号之前仍旧有某个SN对应的PDU没有接收到,则确认该数据包传输失败。
可选的,在AM模式下,所述传输层1层处理在发送时进一步包括以下处理之一或者其组合:
定义接收窗口,维护接收窗口,以及根据接收窗口接收数据包;
当接收到位于接收窗口之内的数据时,如果出现接收序列缺口,启动重排序定时器,当重排序定时器超时,该数据包仍旧没有收到,则判定传输失败,向接收端反馈状态报告。
本申请实施例中提供了一种数据处理装置,包括:
发送数据包接收模块,用于接收从高层传输的发送数据包,所述发送数据包是发送端欲发送的数据包;
传输层1层处理模块,用于为接收到的所述发送数据包进行传输层1层处理,所述传输层1层处理在发送时包括:分配SN;
传输层2层处理模块,用于对所述传输层1层处理后的所述发送数据包进行传输层2 层处理,所述传输层2层处理在发送时包括:根据调度得到的传输资源的大小,将所述发送数据包传递给物理层后经空中接口进行发送。
可选的,传输层1层处理模块进一步用于在发送时,在分配SN后,进行头压缩和安全处理。
可选的,传输层1层处理模块进一步用于在发送时,根据配置决定是否在初次传输数据包时进行层内分段,和/或,根据配置决定是否在重传数据包时进行层内分段,在进行层内分段时交由所述传输层2层处理的是层内分段后的所述发送数据包,其中,初次传输数据包时的配置与重传数据包时的配置是相同的或者是不同的。
可选的,传输层1层处理模块进一步用于在发送时,根据RRC信令静态配置决定是否分段。
可选的,传输层1层处理模块进一步用于在AM模式下,在发送时包括以下处理之一或者其组合:
定义发送窗口,维护发送窗口,以及根据发送窗口发送数据包;
在数据包或者数据包分段中设置P比特用于触发接收端进行状态报告反馈;
根据网络侧信令配置进行分段;
基于对等端的接收状态反馈,或者所述传输层2层处理的反馈信息进行重传。
可选的,传输层1层处理模块进一步用于在一个逻辑实体上进行所述传输层1层处理;
传输层2层处理模块进一步用于在一个或至少两个逻辑实体上进行所述传输层2层处理。
可选的,在所述传输层2层处理在至少两个逻辑实体上处理时,进行所述传输层1层处理的逻辑实体将处理后的数据包分发至至少一个进行所述传输层2层处理的逻辑实体;
或者,进行所述传输层1层处理的逻辑实体将处理后的数据包复制后发送至至少两个进行所述传输层2层处理的逻辑实体。
可选的,传输层1层处理模块进一步用于在所述传输层2层处理在至少两个逻辑实体上处理时,在重传数据包时,重传至原进行所述传输层2层处理的逻辑实体或其它进行所述传输层2层处理的逻辑实体。
可选的,传输层2层处理模块进一步用于在传递给物理层前,对所述发送数据包进行分段和串接。
可选的,传输层1层处理模块和/或传输层2层处理模块进一步用于在进行分段和串接时,对所述发送数据包进行标识用以标识其来自的逻辑信道。
可选的,传输层2层处理模块进一步用于在进行分段时采用所述SN进行标识,在分 段时根据所述传输层1层处理后的数据包的负荷部分进行分段。
可选的,传输层2层处理模块进一步用于在第一子层协议实体以及第二子层协议实体进行所述传输层2层处理,其中第一子层协议实体接收传输层1层处理后的数据包,第二子层协议实体接收第一子层协议实体处理后的数据包,则在根据调度得到的传输资源的大小进行分段和串接时,包括:
第二子层协议实体完成调度后,告知第一子层协议实体组包的大小;
第一子层协议实体对传输层1层处理后的数据包进行分段和串接;
第二子层协议实体在接收到第一子层协议实体分段和串接的数据包后,给来自于不同的逻辑信道的数据包增加标识信息,将不同逻辑信道的数据包进行复用形成传输信道数据包,发送给物理层。
本申请实施例中提供了一种数据处理装置,包括:
数据包接收模块,用于接收从空口接收到后经物理层传输至的数据包;
传输层2层处理模块,用于对接收到的所述数据包进行传输层2层处理,所述传输层2层处理在接收时包括:将物理层传输至的数据包传输至传输层2层进行处理;
传输层1层处理模块,用于对所述传输层2层处理后的所述数据包进行传输层1层处理,所述传输层1层处理在接收时包括:根据SN进行重排序操作,恢复成发送数据包,所述发送数据包是发送端欲发送的数据包。
可选的,传输层2层处理模块进一步用于在接收时,在传输至传输层1层前,对数据包进行重组。
可选的,传输层2层处理模块进一步用于在接收时,在第一子层协议实体以及第二子层协议实体进行所述传输层2层处理,其中第一子层协议实体接收第二子层协议实体处理后的数据包,第二子层协议实体接收物理层发送的数据包,则在对数据包进行重组时,包括:
第二子层协议实体从物理层发送的数据包中将不同逻辑信道的数据包进行分别处理,之后将每个逻辑信道的数据包发送给相应的第一子层协议实体进行处理;
各第一子层协议实体对接收到的数据包重组。
可选的,传输层2层处理模块进一步用于对数据包进行重组,包括:
对每个逻辑信道的数据包,根据组包的规则,拆解出不同的可供传输层1层处理的PDU或者PDU分段;
如果是PDU,则将PDU交由所述传输层1层处理;
如果是PDU分段,当所述传输层1层处理配置了PDU分段的功能,则将PDU分段 交由所述传输层1层处理,当所述传输层1层处理未配置PDU分段的功能,则将PDU分段组织成PDU后交由所述传输层1层处理。
可选的,传输层1层处理模块进一步用于在接收时,在根据SN进行重排序操作后,反馈不正确接收的数据包,对正确接收的数据包进行解安全处理和解头压缩,恢复成发送数据包。
可选的,传输层1层处理模块进一步用于在接收时,定义接收窗口、维护接收窗口以及根据接收窗口接收数据包,和/或重排序处理,其中,重排序包括:
当出现了接收乱序时,启动重排序定时器,并记录此时接收队列中最高的SN序号;
在重排序定时器超时之前,若无接收乱序出现,则停止重排序定时器,若出现接收乱序,则重新启动重排序定时器,并记录当前接收队列中最高的SN序号;
如果重排序定时器超时,在记录的与该重排序定时器对应的SN序号之前仍旧有某个SN对应的PDU没有接收到,则确认该数据包传输失败。
可选的,传输层1层处理模块进一步用于在接收时,在AM模式下,包括以下处理之一或者其组合:
定义接收窗口,维护接收窗口,以及根据接收窗口接收数据包;
当接收到位于接收窗口之内的数据时,如果出现接收序列缺口,启动重排序定时器,当重排序定时器超时,该数据包仍旧没有收到,则判定传输失败,向接收端反馈状态报告。
本申请实施例中提供了一种数据处理装置,其特征在于,包括:
处理器,用于读取存储器中的程序,执行下列过程:
为接收到的所述发送数据包进行传输层1层处理,所述传输层1层处理在发送时包括:分配SN;
对所述传输层1层处理后的所述发送数据包进行传输层2层处理,所述传输层2层处理在发送时包括:根据调度得到的传输资源的大小,将所述发送数据包传递给物理层后经空中接口进行发送;
收发机,用于在处理器的控制下接收和发送数据,执行下列过程:
接收从高层传输的发送数据包,所述发送数据包是发送端欲发送的数据包。
可选的,所述传输层1层处理进一步包括:在分配SN后,进行头压缩和安全处理。
可选的,所述传输层1层处理在发送时进一步包括:
根据配置决定是否在初次传输数据包时进行层内分段,和/或,根据配置决定是否在重传数据包时进行层内分段,在进行层内分段时交由所述传输层2层处理的是层内分段后的所述发送数据包,其中,初次传输数据包时的配置与重传数据包时的配置是相同的或者是 不同的。
可选的,根据RRC信令静态配置决定是否分段。
可选的,在AM模式下,所述传输层1层处理在发送时进一步包括以下处理之一或者其组合:
定义发送窗口,维护发送窗口,以及根据发送窗口发送数据包;
在数据包或者数据包分段中设置P比特用于触发接收端进行状态报告反馈;
根据网络侧信令配置进行分段;
基于对等端的接收状态反馈,或者所述传输层2层处理的反馈信息进行重传。
可选的,所述传输层1层处理在一个逻辑实体上处理;
所述传输层2层处理在一个或至少两个逻辑实体上处理。
可选的,在所述传输层2层处理在至少两个逻辑实体上处理时,进行所述传输层1层处理的逻辑实体将处理后的数据包分发至至少一个进行所述传输层2层处理的逻辑实体;
或者,进行所述传输层1层处理的逻辑实体将处理后的数据包复制后发送至至少两个进行所述传输层2层处理的逻辑实体。
可选的,在所述传输层2层处理在至少两个逻辑实体上处理时,进一步包括:
在重传数据包时,重传至原进行所述传输层2层处理的逻辑实体或其它进行所述传输层2层处理的逻辑实体。
本申请实施例中提供了一种数据处理装置,其特征在于,包括:
处理器,用于读取存储器中的程序,执行下列过程:
对接收到的所述数据包进行传输层2层处理,所述传输层2层处理在接收时包括:将物理层传输至的数据包传输至传输层2层进行处理;
对所述传输层2层处理后的所述数据包进行传输层1层处理,所述传输层1层处理在接收时包括:根据SN进行重排序操作,恢复成发送数据包,所述发送数据包是发送端欲发送的数据包;
收发机,用于在处理器的控制下接收和发送数据,执行下列过程:
接收从空口接收到后经物理层传输至的数据包。
可选的,所述传输层2层处理在接收时进一步包括:在传输至传输层1层前,对数据包进行重组。
可选的,所述传输层2层处理是在第一子层协议实体以及第二子层协议实体处理的,其中第一子层协议实体接收第二子层协议实体处理后的数据包,第二子层协议实体接收物理层发送的数据包,则在对数据包进行重组时,包括:
第二子层协议实体从物理层发送的数据包中将不同逻辑信道的数据包进行分别处理,之后将每个逻辑信道的数据包发送给相应的第一子层协议实体进行处理;
各第一子层协议实体对接收到的数据包重组。
可选的,对数据包进行重组,包括:
对每个逻辑信道的数据包,根据组包的规则,拆解出不同的可供传输层1层处理的PDU或者PDU分段;
如果是PDU,则将PDU交由所述传输层1层处理;
如果是PDU分段,当所述传输层1层处理配置了PDU分段的功能,则将PDU分段交由所述传输层1层处理,当所述传输层1层处理未配置PDU分段的功能,则将PDU分段组织成PDU后交由所述传输层1层处理。
可选的,所述传输层1层处理在接收时进一步包括:
在根据SN进行重排序操作后,反馈不正确接收的数据包,对正确接收的数据包进行解安全处理和解头压缩,恢复成发送数据包。
可选的,所述传输层1层处理在接收时进一步包括:
定义接收窗口、维护接收窗口以及根据接收窗口接收数据包,和/或重排序处理,其中,重排序包括:
当出现了接收乱序时,启动重排序定时器,并记录此时接收队列中最高的SN序号;
在重排序定时器超时之前,若无接收乱序出现,则停止重排序定时器,若出现接收乱序,则重新启动重排序定时器,并记录当前接收队列中最高的SN序号;
如果重排序定时器超时,在记录的与该重排序定时器对应的SN序号之前仍旧有某个SN对应的PDU没有接收到,则确认该数据包传输失败。
可选的,在AM模式下,所述传输层1层处理在发送时进一步包括以下处理之一或者其组合:
定义接收窗口,维护接收窗口,以及根据接收窗口接收数据包;
当接收到位于接收窗口之内的数据时,如果出现接收序列缺口,启动重排序定时器,当重排序定时器超时,该数据包仍旧没有收到,则判定传输失败,向接收端反馈状态报告。
本申请有益效果如下:
本申请实施例给出的数据传输方案中,由于将数据传输过程中的处理划分为2层,由集中的协议层进行各种操作,以应对不同链路的情况,因此可以使数据能够进行高效传输,便于数据传输的效率和时延,提高了***效率和用户体验。
附图说明
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:
图1为背景技术中用户面协议栈示意图;
图2为背景技术中用于双连接的无线协议架构示意图;
图3为背景技术中PDCP层数据处理流程PDCP示意图;
图4为背景技术中PDCP PDU结构示意图;
图5为背景技术中RLC TM模式数据处理示意图;
图6为背景技术中RLC UM模式数据处理示意图;
图7为背景技术中RLC AM模式数据处理示意图;
图8为背景技术中RLC PDU生成示意图;
图9为本申请实施例中数据发送端侧的数据处理方法实施流程示意图;
图10为本申请实施例中数据接收端侧的数据处理方法实施流程示意图;
图11为本申请实施例中协议栈示意图;
图12为本申请实施例中传输层1层与传输层2层间的数据包传输示意图;
图13为本申请实施例中发送端的数据处理装置结构示意图;
图14为本申请实施例中接收端的数据处理装置结构示意图;
图15为本申请实施例中发送端设备结构示意图;
图16为本申请实施例中接收端设备结构示意图。
具体实施方式
发明人在发明过程中注意到:
一方面,现有技术中,层二协议由PDCP,RLC和MAC组成,各层功能存在一定的重复性,例如PDCP和RLC都会分配SN,并且各自对数据进行重排序,MAC层和RLC层都具有对数据进行串接的功能,而且三层各自都有头部结构,功能冗余,开销较大,而且处理复杂,效率也不高。
另一方面,移动通信***未来发展中,为了更好的满足用户需求,极大提升网络容量和吞吐量,在5G将引入新的空口传输方式,更多的网络节点,复杂的网络拓扑。在5G网络中,既存在集中节点和分布节点的两层接入网架构,当然也不排除单节点完成全部的数据处理功能的架构,存在各种共存和切换的场景。在这样的场景中,如何使得层二数据处理的效率达到最高,能够对链路情况进行很快的响应和反馈,进行高效重传,保证数据传 输的服务质量(Quality of Service,QoS)要求,将是5G层二设计的主要目标。
也即,未来5G数据速率更高,如果采取现有的层二的设计,则会给操作实时性和传输效率带来很大挑战,不利于网络整体效率和用户体验提升。
基于此,本申请实施例中提出一种新的数据处理功能,涉及对层二数据的处理过程,应对各种场景,既保证了传输效率,也能够提升用户的体验,将有利于未来网络的网络效率的提升。
具体的,本申请实施例提供的技术方案中,当高层数据包(例如无线资源控制(Radio Resource Control,RRC)信令或者UE的用户数据包)到达,存入发送缓存,之后在L2 high layer先对数据包进行分配SN,之后根据传输模式所对应的窗口要求,将发送窗口之内的数据进行头压缩和安全处理(完整性保护和加密等),并根据配置决定是否分段,发送给下一层L2 Low layer。
一个L2 high layer可以对应一个L2 low layer,也可以对应多个L2 low layer。当有多个L2 low layer时,每个L2 low layer可以位于不同的发送和接收节点(Transmission and Reception Point,TRP)。L2 high layer发送给每个L2 low layer的数据包,可以是不同的,也可以是相同的。不同的情况,意味着多个TRP分别传输同一个承载的不同数据,流量叠加。相同数据的情况,意味着多个TRP传输相同数据,增加正确概率,保障较低传输时延和较高的可靠性。
L2 low layer接收到高层数据包后,存入发送缓存,根据调度得到的传输资源的大小,对数据包进行分段和串接,并传递给物理层,在空中接口上进行传输,进而发送给对等端。
对等端物理层接收之后,传递给L2 low layer,首先对数据进行重组,将重组出的L2 high layer数据PDU或者PDU分段发送给high layer层,由high layer层对数据按照SN进行重排序操作,并根据配置在AM模式时,对经过重排序之后确认的接收序列的缺口认定为丢包,将丢包和正确接收情况组织状态报告,发送给对等端,期待对等端重传。对正确顺序接收的数据包,进行解安全操作,解头压缩等,恢复成高层数据包之后向高层递交。
需要说明的是L2 high layer与L2 low layer等概念将会在下面的实施例中进行说明,其功能并不能简单的等同于现有技术中有相似表达的技术术语。
下面结合附图对本申请的具体实施方式进行说明。
在说明过程中,将分别从发送端与接收端的实施进行说明,然后还将给出实施的实例以更好地理解本申请实施例中给出的方案的实施。这样的说明方式并不意味着二者必须配合实施、或者必须单独实施,实际上,当发送端与接收端分开实施时,其也各自解决发送端与接收端的问题,而二者结合使用时,会获得更好的技术效果。
图9为数据发送端侧的数据处理方法实施流程示意图,如图所示,可以包括:
步骤901、接收从高层传输的发送数据包,所述发送数据包是发送端欲发送的数据包;
步骤902、为接收到的所述发送数据包进行传输层1层处理,所述传输层1层处理在发送时包括:分配SN;
步骤903、对所述传输层1层处理后的所述发送数据包进行传输层2层处理,所述传输层2层处理在发送时包括:根据调度得到的传输资源的大小,将所述发送数据包传递给物理层后经空中接口进行发送。
相应的,在数据接收端则有:
图10为数据接收端侧的数据处理方法实施流程示意图,如图所示,可以包括:
步骤1001、接收从空口接收到后经物理层传输至的数据包;
步骤1002、对接收到的所述数据包进行传输层2层处理,所述传输层2层处理在接收时包括:将物理层传输至的数据包传输至传输层2层进行处理;
步骤1003、对所述传输层2层处理后的所述数据包进行传输层1层处理,所述传输层1层处理在接收时包括:根据SN进行重排序操作,恢复成发送数据包,所述发送数据包是发送端欲发送的数据包。
下面先对概念进行说明。
图11为协议栈示意图,如图所示,在发送端欲发送数据包时,将数据包传输至高层,然后在传输层1层进行处理后交由传输层2层进行处理,处理后传递给物理层经空口进行发送;相应的,在接收端上,接收从空口接收到后经物理层传输至的数据包,然后对接收到的所述数据包进行传输层2层处理,在交由传输层1层处理,处理后恢复成发送数据包,也即发送端欲发送的数据包。在实施例中,传输层1层也称为L2 high layer,传输层2层也称为L2 low layer,用不同的表述以期更好的表达该协议栈的技术含义。
图12为传输层1层与传输层2层间的数据包传输示意图,如图所示,传输层1层与传输层2层之间可以是一对多,或者一对一的关系。下面也还会在实例中进行具体的实施说明。
实施中,传输层1层处理可以在一个逻辑实体上处理;
所述传输层2层处理可以在一个或至少两个逻辑实体上处理。
具体实施中,在所述传输层2层处理在至少两个逻辑实体上处理时,进行所述传输层1层处理的逻辑实体将处理后的数据包分发至至少一个进行所述传输层2层处理的逻辑实体;
或者,进行所述传输层1层处理的逻辑实体将处理后的数据包复制后发送至至少两个 进行所述传输层2层处理的逻辑实体。
具体的,同一条逻辑信道的数据,可以分开到不同的传输层2层去处理,也可以复制之后处理。例如:一条逻辑信道有数据包1-6需要传输,下面有两个2层,那么对于两个2层数据可以这样分配:
1、3、5归第一个传输;
2、4、6归第二个传输。
也可以这样分配:
1-6在第一个传输;
1-6同时在第二个传输。
具体实施中,在所述传输层2层处理在至少两个逻辑实体上处理时,进一步包括:
在重传数据包时,重传至原进行所述传输层2层处理的逻辑实体或其它进行所述传输层2层处理的逻辑实体。
具体的,逻辑信道不变,逻辑信道唯一对应于一个传输层1层实体,变化的是传输层2层实体,可以选择不同的传输层2层实体传输,在选择2层实体重传的时候,也可以这样:
重传PDU或者分段在第一个传输层2层实体传输;
重传PDU或者分段同时在第二个传输层2层实体传输;
或者对重传PDU分段:
分段1在第一个2层实体传输;
分段2在第二个2层实体传输。
实施中,考虑到分段,可以分为初始传输与重传,这两个过程中均可以采用分段,当然也可以只在其中一个流程中使用分段,两个分段并无必然关系,则在所述传输层1层处理在发送时还可以进一步包括:
根据配置决定是否在初次传输数据包时进行层内分段,和/或,根据配置决定是否在重传数据包时进行层内分段,在进行层内分段时交由所述传输层2层处理的是层内分段后的所述发送数据包,其中,初次传输数据包时的配置与重传数据包时的配置是相同的或者是不同的。
在接收端,实施中,传输层2层处理在接收时还可以进一步包括:在传输至传输层1层前,对数据包进行重组。
实施中,传输层1层处理在接收时还可以进一步包括:
在根据SN进行重排序操作后,反馈不正确接收的数据包,对正确接收的数据包进行 解安全处理和解头压缩,恢复成发送数据包。
接收端上的进一步的实施方式还会在下面的实例中进行具体的实施说明。
下面将以实例来对发送端以及接收端的实施进行说明。
实施例1:
本实施例中说明了UM模式下L2 high layer发送端的具体实施方式。
UM模式是一种非确认模式,指的是L2 high layer的接收端不对接收数据的情况发送状态报告,进而没有发送端重传的情况。
对于UM模式来说,发送端L2 high layer的数据发送过程大致可以如下:
1:L2 high layer发送端接收来自其高层的数据,作为L2 high layer的SDU存入发送缓存;是否存入发送缓存是可选的,可以直接对SDU进行处理,也可以缓存存储留待后续处理。
2:L2 high layer对高层SDU首先分配SN,例如一个具体的实施方式可以是:SN的序号初始值为0,每个SDU逐一分配,每次加1操作,SN的长度为可配,例如配置为10bit,15bit,18bit等,分别代表SN范围[0,1023],[0,32767],[0,262143];
实施中,分配SN后,还可以进一步包括:
根据QCI中的时延配置启动Discard timer。具体的,根据配置,可以对高层SDU启动Discard timer(丢弃定时器),这个定时器根据业务需要配置,一般等于该业务所能忍受的最大传输时延,跟QCI(QoS Class Indicator,QoS等级指示)中的时延配置相关,例如300ms或者1.5s等;
在SN分配之后,可以根据配置的传输模式进行发送,如果是UM,则可以直接发送。
3:传输层1层处理还可以进一步包括:在分配SN后,进行头压缩。
具体的,对SDU根据配置,进行必要的头压缩处理,头压缩是否开启是可以配置的,一般来说对于RRC信令和非IP数据包不需要进行头压缩,而对于符合头压缩处理范围的数据包,可以配置头压缩,并配置头压缩的算法和参数,配置过程可以是通过RRC信令进行的,在数据传输之前已经完成该配置,此处只需要根据配置进行相应处理,之后进入下一步;也即,实施中,在UM模式下,还可以通过RRC信令进行头压缩。
4:传输层1层处理还可以进一步包括:进行安全处理。
具体的,还可以根据配置对上一步的数据进行必要的安全处理,安全处理一般包括完整性保护和加密,对于高层信令,例如RRC信令和非接入层(Non Access Stratum,NAS)信令,一般需要同时进行完整性保护和加密操作,对于用户数据,一般只进行加密操作。
5:传输层1层处理在发送时还可以进一步包括:在进行头压缩和安全处理后,根据 配置决定是否进行层内分段,在进行层内分段时交由所述传输层2层处理的是层内分段后的所述发送数据包。当然,在没有头压缩和安全处理时,则是对数据直接进行层内分段。
具体的,组织PDU,增加头部SN等域,并根据配置,看是否需要对数据进行提前分段操作;这里的分段是可选的,有可能完全不要这个功能,该功能也可以是可配置的,可以采用RRC信令配置是否开启L2 high layer的分段功能;也即,实施中,在UM模式下,还可以根据RRC信令静态配置决定是否分段。
分段如何进行,可以取决于RRC信令静态配置,也可以根据具体的传输情况动态决定。可以基于分段字节数,例如500字节为一个分段,也可以基于分段个数,例如1500字节的IP包,划分为3个分段。
最后,将经过上述处理形成的L2 high layer的PDU传递给L2 low layer。
其中,如果L2 high layer和L2 low layer是一对一关系,则直接发送。如果一个L2 high layer对应多个L2 low layer,则可以根据配置及各个链路的传输情况,选择对应的L2 low layer。
如果RRC信令配置了两个或者两个以上L2 low layer进行重复数据的传输,则L2 high layer需要将相同的数据,同时发送这几个配置的L2 low layer;
如果多个L2 low layer以数据split的方式,则对于L2 high layer来说,需要对每个数据PDU选择对应的一个L2 low layer进行传输,一般情况下,选择负荷较轻且链路质量较好的L2 low layer,更有利于数据尽快传输。
实施例2:
本实施例中说明了UM模式L2 low layer发送端的具体实施方式。
发送端L2 low layer的数据发送过程大致可以如下:
1:接收来自于L2 high layer的数据,存入发送缓存。
2:传输层2层处理还可以进一步包括:在传递给物理层前,对所述发送数据包进行分段和串接。
具体的,可以根据调度的传输资源大小进行组包,包括对同一个L2 high layer数据的分段、串接,也可以包括对不同L2 high layer数据的串接。
在这里,每个L2 low layer的实现至少可以有如下两种方式:
第一种:在进行分段和串接时,对所述发送数据包进行标识用以标识其来自的逻辑信道。
进一步的,还可以是,在进行分段时采用所述SN进行标识,在分段时根据所述传输层1层处理后的数据包的负荷部分进行分段。
具体的,L2 low layer是由同一层协议实体实现,完成逻辑信道到传输信道的整个调度映射和组包过程。也就是说,在L2 high layer到L2 low layer映射时,可以是多对多的方式,一个L2 high layer到多个L2 low layer映射,是因为这些L2 low layer可以位于不同的TRP节点,共同为UE服务,而多个L2 high layer到一个L2 low layer的映射,是因为不同逻辑信道的数据,将被映射到一个传输信道上。
在这种方式下,L2 low layer在组织PDU时,可以在头部携带逻辑信道信息,以区分来自于不同逻辑信道的数据块;
在每个逻辑信道内部,还可以对数据进行适当的分段和串接,以适应传输资源的大小,进行组包的原始数据是L2 high layer的PDU或者PDU分段,其中携带该PDU的SN信息,在L2 low layer进行组包时,也可以使用该SN信息标识每个数据块,对于串接的每个数据块,都需要指示其长度,以便于接收端正确组装,同时对每个分段也需要指示这是一个分段,分段指示至少可以有如下两种方式:
一种是携带分段在原始PDU中的位置,例如原始PDU为1000字节,某一个分段为300到1000字节,则以300来表示该分段的起始位置,并以全1的设置来显示该分段是PDU的结尾,另外携带该分段得长度信息为700字节;
另一种是携带分段的子段号,例如以四个bit位(0-15)来显示子段号,0代表第一个分段,1代表第二个分段……14代表第十五个分段,特殊数字15代表末尾段;
第二种:传输层2层处理是在第一子层协议实体以及第二子层协议实体处理的,其中第一子层协议实体接收传输层1层处理后的数据包,第二子层协议实体接收第一子层协议实体处理后的数据包,则在根据调度得到的传输资源的大小进行分段和串接时,包括:
第二子层协议实体完成调度后,告知第一子层协议实体组包的大小;
第一子层协议实体对传输层1层处理后的数据包进行分段和串接;
第二子层协议实体在接收到第一子层协议实体分段和串接的数据包后,给来自于不同的逻辑信道的数据包增加标识信息,将不同逻辑信道的数据包进行复用形成传输信道数据包,发送给物理层。
具体的,L2 low layer可以分为两个子层进行实现,其中与L2 high layer直接相连的一个子层1完成逻辑信道的组包,而另一个子层2与物理层相连,完成逻辑信道到传输信道的复用,以及可能的HARQ、调度等操作。在这种架构中,层二协议从上至下为:L2 high layer、L2 low layer1、L2 low layer2、物理层。
在这种方式中,L2 low layer2完成调度之后,需要告知L2 low layer1组包的大小,然后L2 low layer1根据大小,对high layer的PDU进行适当的分段和串接,以适应该大小需 要;
L2 low layer2在接收到L2 low layer1的数据包后,给来自于不同的逻辑信道的数据包增加逻辑信道信息,长度指示信息等,将不同逻辑信道的数据进行复用,然后形成传输信道PDU,发送给物理层。
实施例3:
本实施例中说明了UM模式L2 low layer接收端的具体实施方式。
对于UM模式来说,接收端L2 low layer的过程大致可以如下:
L2 low layer接收来自物理层的数据包,将该数据包进行拆包:
首先,解析出不同逻辑信道数据包,将不同逻辑信道的数据包进行分别处理,如果L2 low layer是分两个子层实现的,则拆解逻辑信道包的操作是由L2 low layer2进行的,之后将每个逻辑信道的数据包发送给相应的L2 low layer1子层进行处理;
也即,在UM模式下,所述传输层2层处理可以是在第一子层协议实体以及第二子层协议实体处理的,其中第一子层协议实体接收第二子层协议实体处理后的数据包,第二子层协议实体接收物理层发送的数据包,则在对数据包进行重组时,包括:
第二子层协议实体从物理层发送的数据包中将不同逻辑信道的数据包进行分别处理,之后将每个逻辑信道的数据包发送给相应的第一子层协议实体进行处理;
各第一子层协议实体对接收到的数据包重组。
其次,对每个逻辑信道的数据包,根据组包的规则,拆解出不同的L2 high layer的PDU或者PDU分段,如果是PDU则,直接将PDU发送给L2 high layer;如果是L2 high layer的PDU分段,则需要区分处理,当L2 high layer配置了PDU分段的功能,则L2 low layer可以直接将PDU分段发送上去,反之,如果PDU分段功能没有配置,则证明该PDU的分段操作是在L2 low layer发送端进行的,则L2 low layer接收端,需要将PDU分段组织成PDU再发送上去,至少一种可行的实现如下:
L2 low layer对PDU的分段进行一定存储,对后续接收到的PDU分段,与缓存中的PDU分段进行组包,如果能组织成完整的PDU,则发送给L2 high layer;
对缓存的分段设定一定的定时器,定时器可以由RRC进行配置,长度一般为HARQ重传次数乘以HARQ往返时间(Round Trip Time,RTT)来决定,当PDU分段进入缓存时,启动该定时器,当定时器超时之后,该PDU分段还没有能够组装成完整PDU被发送给高层时,则证明该PDU的部分分段传输失败,此时删除缓存中的PDU分段,放弃等待;
也即,在UM模式下,对数据包进行重组,可以包括:
对每个逻辑信道的数据包,根据组包的规则,拆解出不同的可供传输层1层处理的PDU 或者PDU分段;
如果是PDU,则将PDU交由所述传输层1层处理;
如果是PDU分段,当所述传输层1层处理配置了PDU分段的功能,则将PDU分段交由所述传输层1层处理,当所述传输层1层处理未配置PDU分段的功能,则将PDU分段组织成PDU后交由所述传输层1层处理。
实施例4:
本实施例中说明了UM模式L2 high layer接收端的具体实施方式。
对于UM模式来说,接收端L2 high layer的过程大致可以如下:
在UM模式下,所述传输层1层处理在接收时还可以进一步包括:定义接收窗口、维护接收窗口以及根据接收窗口接收数据包,和/或重排序处理。
实施中,定义接收窗口至少可以如下:
接收来自于L2 low layer发送的PDU,判断该PDU是否为接收窗口之内的数据,其中接收窗口定义为[下边界,上边界],包含下边界,不包含上边界,其中上边界为接收到的最高SN加1,下边界为上边界减去接收窗口大小,接收窗口大小一般为SN空间的一般,例如SN为10bit,则SN空间的一半为2^10/2=512。当接收的SN位于接收窗口之外,则将上边界更新为SN加1,如果接收到的SN位于接收窗口之内,则认为是重复包或者填补接收Gap(间隙)的数据包,对重复包需要删除,填补接收Gap的包,则参照重排序接收操作。
如果PDU是顺序且连续的PDU,则对PDU进行后续操作,包括:
去除头部;
解密,解完整性保护;
解头压缩等;
恢复出高层SDU,则将高层SDU按照顺序递交给更高层。
实施中,重排序可以包括:
当出现了接收乱序时,启动重排序定时器,并记录此时接收队列中最高的SN序号;
在重排序定时器超时之前,若无接收乱序出现,则停止重排序定时器,若出现接收乱序,则重新启动重排序定时器,并记录当前接收队列中最高的SN序号;
如果重排序定时器超时,在记录的与该重排序定时器对应的SN序号之前仍旧有某个SN对应的PDU没有接收到,则确认该数据包传输失败。
具体的,如果PDU的SN出现了接收Gap,则说明中间有数据缺失或者乱序,这种缺失或乱序可能是由于HARQ的不同重传次数造成的,也可能是不同TRP的调度和传输路 径不同造成的,此时,接收端需要进行重排序处理,重排序的操作如下:
当出现了接收乱序的情况,即中间出现Gap(该Gap有可能是缺失某个SN对应的整个PDU,也有可能是PDU分段),则启动重排序定时器,并记录此时接收队列中最高的SN序号;
当重排序定时器超时之前,记录的与该重排序定时器对应的SN序号之前的所有Gap都补齐了,则证明重排序成功,此时如果没有其他Gap,则停止重排序定时器,如果仍旧有新的Gap则重新启动重排序定时器,并记录当前接收队列中最高的SN序号;
如果重排序定时器超时,在记录的与该重排序定时器对应的SN序号之前仍旧有某个SN对应的PDU没有接收到,则认定该数据包彻底传输失败,停止等待,将该SN之前的所有的PDU按照SN顺序进行后续操作,并递交高层。如果仍旧有新的Gap则重新启动重排序定时器,并记录当前接收队列中最高的SN序号;
实施中,如果L2 high layer开启了分段功能,则从下层接收的有可能是PDU分段,将PDU分段也按照上述重排序处理,缺失的PDU分段也需要等待,当某个SN对应的全部分段都收到,并组织成完整的PDU,则认为该SN对应PDU收到,此处Gap消失。也即,在UM模式下,所述传输层1层处理在接收时进一步还可以包括:在所述传输层1层处理开启了层内分段功能时,按PDU分段进行重排序处理。
针对一个PDU的分段,如果依次接收到的分段为原PDU的[0-300]字节,[200-800]字节,[500-末尾],则重组实体也可以将该PDU完整的进行重组,可以将各个分段的有效部分进行组合,形成连续PDU的[0-末尾]的数据,例如从第一个分段取出[0-300]字节,第二个分段取[300-800]字节,第三个分段取[800-末尾]字节,拼接成完整PDU,当然还有其它各种方式。
实施例5:
本实施例中说明了AM模式L2 high layer发送端的具体实施方式。
AM模式的处理过程在上述UM模式的处理过程中,发送窗口、Poll探寻、状态报告接收、重传这些功能有改变或者新增。与UM模式类似的流程,这里不再赘述,细节可以参见实施例1,本实施例重点突出描述与UM模式不一样的处理。也即:
在AM模式下,所述传输层1层处理在发送时还可以进一步包括以下处理之一或者其组合:
定义发送窗口,维护发送窗口,以及根据发送窗口发送数据包;
在数据包或者数据包分段中设置P比特用于触发接收端进行状态报告反馈;
根据网络侧信令配置进行分段;
基于对等端的接收状态反馈,或者所述传输层2层处理的反馈信息进行重传。
下面对具体实施进行说明。
发送窗口,AM的发送窗口执行严格的下边界驱动的窗口更新机制,即发送窗口定义为[下边界,上边界],其中下边界定义为收到对端ACK状态报告肯定确认的连续SN的最大值加1,上边界定义为下边界加上窗口大小,窗口大小为SN空间的一半,例如SN为10bit,窗口大小为2^10/2=512。AM在发送PDU时,只能发送位于发送窗口之内的数据,不能发送位于发送窗口之外的数据。发送窗口的更新,只能依靠对等端(L2 high layer对等接收端)的状态报告ACK反馈,即当接收到ACK状态报告之后,将连续正确接收的SN的最高值加1用于更新发送窗口的下边界,同时上边界也会随之更新,以保证发送窗口大小一直等于SN空间的一半。
发送端实体有一种方式Poll机制,用于触发接收端进行状态报告反馈。Poll机制是指在发送端采取数据PDU中头部的特定比特位置位的方式,例如在high layer PDU中有一个P比特,当P比特为0时,代表正常数据包,不需要额外处理,当P比特被置为1时,代表发送端需要接收端的接收状态反馈。发送端可以在窗口达到一定程度时,例如50%或者75%等;或者每隔多少个PDU/SDU设置P比特,具体参数可配置,来触发Poll过程。
发送端实体还具有对数据包进行分段的功能,该功能是网络侧信令可配置的,当开启了该功能,则发送端可以对高层的数据SDU进行适当的分段,并可以将不同的分段分配到不同的链路Low layer实体上去传输,一方面减少了数据传输的时延,另一方面缩小了数据的粒度,为后续重传也提高灵活性。分段的原则可以是网络侧静态配置的,例如配置每个分段的最大尺寸数;或者配置分段的个数;也可以有一些适应数据包大小的配置,例如配置将1500字节的IP包分成N段,高于1500字节的IP包分成M段,少于1500字节的不分段。分段的原则也可以是动态的,由当前的实时传输情况,来决定分段的方式,例如链路情况较好时,可以减少分段或者提升每个分段的大小,当链路情况变差,可以增加分段或者减少每个分段的大小,甚至可以是基于每个链路情况,当链路1质量较差或者负荷较高时,可以分一个较小的段送去链路1传输,当链路2质量较好或者负荷较低时,可以分一个较大的段送去链路2传输。
发送端实体还可以对数据包进行重传,重传的原则主要基于对等端的接收状态反馈,或者下层L2 low layer的信息,下面分别举例说明:
接收端会因为接收到携带P比特的数据包或者检测到接收序列缺口而触发状态报告反馈过程,在状态报告中会携带NACK指示哪些数据包或者数据分段丢失,请求重传。对于发送端来说,接收到这样的NACK状态报告,需要对显示丢失的这些数据PDU或者PDU 分段进行重传。重传时,如果显示为某个分段丢失而整个PDU其它部分正确接收,则可以仅重传显示丢失的这部分内容,例如显示数据包200-500字节丢失,则重传该部分内容。之所以会出现部分分段丢失而其它分段正确接收的情况,可能是发送端high layer进行了数据PDU的分段,分配到不同路径传输的分段有的传输成功,有的传输失败,也可能是high layer将整个PDU发送给一个链路low layer,Low layer根据传输资源大小对PDU进行了分段,有些PDU传输成功,有些PDU传输失败。如果是显示整个PDU丢失,则重传整个PDU。在需要重传整个PDU的情况下,也可以在high layer对数据进行分段,以分发到不同路径进行传输,提高灵活性和降低时延。
另一种情况,也即层内重传,当high layer的数据PDU或者分段被下发到low layer传输时,如果low layer根据自身的传输状况,能够判断出该数据传输失败,则low layer可以向high layer上报,说明该PDU或者分段传输失败,由high layer进行立即重传,而不需要等待high layer对等端对于该数据的NACK状态报告触发重传。Low layer可以在一个数据包经过了若干次底层传输,例如HARQ传输,每次都收到NACK反馈,并且到达最大重传次数,放弃该传输时,向high layer指示该数据传输失败。或者low layer自身发生了一些链路恶化的情况,导致数据包不能及时传输出去,则可以对一个数据包或者缓存里的其他未发的数据包,向high layer上报该情况,high layer可以根据情况,将这些数据安排其他链路的重传,以保证数据的连续性,不至于因为一个链路的恶化,导致用户体验下降。
实施例6:
本实施例中说明了AM模式L2 high layer接收端的具体实施方式。
AM模式的处理过程在上述UM模式的处理过程中,接收窗口、状态报告这些功能有改变或者新增。与UM模式类似的流程,本实施例不再赘述,细节可以参见实施例4,本实施例重点突出描述与UM模式不一样的处理。也即:
在AM模式下,所述传输层1层处理在发送时还可以进一步包括以下处理之一或者其组合:
定义接收窗口,维护接收窗口,以及根据接收窗口接收数据包;
具体的,接收窗口机制,AM模式下L2 high layer将执行严格的接收窗口机制,在接收窗口之外的数据包,被认为重复接收或者无用接收,如有需要,可以更新头压缩状态,数据部分被删除。只有接收窗口之内的数据包被正常处理。接收窗口由下边界决定,下边界为连续接收数据包的最大SN加1,上边界为下边界加SN空间的一半。
当接收到位于接收窗口之内的数据时,如果出现接收序列缺口,启动重排序定时器, 当重排序定时器超时,该数据包仍旧没有收到,则判定传输失败,向接收端反馈状态报告。
具体的,与UM模式类似,AM模式接收端也具有重排序功能。当接收到位于接收窗口之内的数据时,如果属于非连续接收,出现了接收序列缺口,例如已经收到了SN为3的数据包,现在收到的是SN为5的数据包,则数据包4可判定为接收序列缺口,对该接收序列缺口,可以启动重排序定时器,当重排序定时器超时,该数据包仍旧没有收到,则判定传输失败,向接收端反馈状态报告,指示该数据包NACK丢失。当接收到PDU分段时,对PDU分段也进行重排序,如果重排序定时器超时,仍旧有分段没有收到,则认为丢失该分段,在状态报告中指示该数据包分段NACK丢失。
基于同一发明构思,本申请实施例中还提供了一种数据处理装置,由于这些装置解决问题的原理与一种数据处理方法相似,因此这些装置的实施可以参见方法的实施,重复之处不再赘述。
图13为发送端的数据处理装置结构示意图,如图所示,包括:
发送数据包接收模块1301,用于接收从高层传输的发送数据包,所述发送数据包是发送端欲发送的数据包;
传输层1层处理模块1302,用于为接收到的所述发送数据包进行传输层1层处理,所述传输层1层处理在发送时包括:分配SN;
传输层2层处理模块1303,用于对所述传输层1层处理后的所述发送数据包进行传输层2层处理,所述传输层2层处理在发送时包括:根据调度得到的传输资源的大小,将所述发送数据包传递给物理层后经空中接口进行发送。
实施中,传输层1层处理模块进一步用于在发送时,在分配SN后,进行头压缩和安全处理。
实施中,传输层1层处理模块进一步用于在发送时,根据配置决定是否在初次传输数据包时进行层内分段,和/或,根据配置决定是否在重传数据包时进行层内分段,在进行层内分段时交由所述传输层2层处理的是层内分段后的所述发送数据包,其中,初次传输数据包时的配置与重传数据包时的配置是相同的或者是不同的。
实施中,传输层1层处理模块进一步用于在发送时,根据RRC信令静态配置决定是否分段。
实施中,传输层1层处理模块进一步用于在AM模式下,在发送时包括以下处理之一或者其组合:
定义发送窗口,维护发送窗口,以及根据发送窗口发送数据包;
在数据包或者数据包分段中设置P比特用于触发接收端进行状态报告反馈;
根据网络侧信令配置进行分段;
基于对等端的接收状态反馈,或者所述传输层2层处理的反馈信息进行重传。
实施中,传输层1层处理模块进一步用于在一个逻辑实体上进行所述传输层1层处理;
传输层2层处理模块进一步用于在一个或至少两个逻辑实体上进行所述传输层2层处理。
实施中,在所述传输层2层处理在至少两个逻辑实体上处理时,进行所述传输层1层处理的逻辑实体将处理后的数据包分发至至少一个进行所述传输层2层处理的逻辑实体;
或者,进行所述传输层1层处理的逻辑实体将处理后的数据包复制后发送至至少两个进行所述传输层2层处理的逻辑实体。
实施中,传输层1层处理模块进一步用于在所述传输层2层处理在至少两个逻辑实体上处理时,在重传数据包时,重传至原进行所述传输层2层处理的逻辑实体或其它进行所述传输层2层处理的逻辑实体。
实施中,传输层2层处理模块进一步用于在传递给物理层前,对所述发送数据包进行分段和串接。
实施中,传输层1层处理模块和/或传输层2层处理模块进一步用于在进行分段和串接时,对所述发送数据包进行标识用以标识其来自的逻辑信道。
实施中,传输层2层处理模块进一步用于在进行分段时采用所述SN进行标识,在分段时根据所述传输层1层处理后的数据包的负荷部分进行分段。
实施中,传输层2层处理模块进一步用于在第一子层协议实体以及第二子层协议实体进行所述传输层2层处理,其中第一子层协议实体接收传输层1层处理后的数据包,第二子层协议实体接收第一子层协议实体处理后的数据包,则在根据调度得到的传输资源的大小进行分段和串接时,包括:
第二子层协议实体完成调度后,告知第一子层协议实体组包的大小;
第一子层协议实体对传输层1层处理后的数据包进行分段和串接;
第二子层协议实体在接收到第一子层协议实体分段和串接的数据包后,给来自于不同的逻辑信道的数据包增加标识信息,将不同逻辑信道的数据包进行复用形成传输信道数据包,发送给物理层。
图14为接收端的数据处理装置结构示意图,如图所示,包括:
数据包接收模块1401,用于接收从空口接收到后经物理层传输至的数据包;
传输层2层处理模块1402,用于对接收到的所述数据包进行传输层2层处理,所述传输层2层处理在接收时包括:将物理层传输至的数据包传输至传输层2层进行处理;
传输层1层处理模块1403,用于对所述传输层2层处理后的所述数据包进行传输层1层处理,所述传输层1层处理在接收时包括:根据SN进行重排序操作,恢复成发送数据包,所述发送数据包是发送端欲发送的数据包。
实施中,传输层2层处理模块进一步用于在接收时,在传输至传输层1层前,对数据包进行重组。
实施中,传输层2层处理模块进一步用于在接收时,在第一子层协议实体以及第二子层协议实体进行所述传输层2层处理,其中第一子层协议实体接收第二子层协议实体处理后的数据包,第二子层协议实体接收物理层发送的数据包,则在对数据包进行重组时,包括:
第二子层协议实体从物理层发送的数据包中将不同逻辑信道的数据包进行分别处理,之后将每个逻辑信道的数据包发送给相应的第一子层协议实体进行处理;
各第一子层协议实体对接收到的数据包重组。
实施中,传输层2层处理模块进一步用于对数据包进行重组,包括:
对每个逻辑信道的数据包,根据组包的规则,拆解出不同的可供传输层1层处理的PDU或者PDU分段;
如果是PDU,则将PDU交由所述传输层1层处理;
如果是PDU分段,当所述传输层1层处理配置了PDU分段的功能,则将PDU分段交由所述传输层1层处理,当所述传输层1层处理未配置PDU分段的功能,则将PDU分段组织成PDU后交由所述传输层1层处理。
实施中,传输层1层处理模块进一步用于在接收时,在根据SN进行重排序操作后,反馈不正确接收的数据包,对正确接收的数据包进行解安全处理和解头压缩,恢复成发送数据包。
实施中,传输层1层处理模块进一步用于在接收时,定义接收窗口、维护接收窗口以及根据接收窗口接收数据包,和/或重排序处理,其中,重排序包括:
当出现了接收乱序时,启动重排序定时器,并记录此时接收队列中最高的SN序号;
在重排序定时器超时之前,若无接收乱序出现,则停止重排序定时器,若出现接收乱序,则重新启动重排序定时器,并记录当前接收队列中最高的SN序号;
如果重排序定时器超时,在记录的与该重排序定时器对应的SN序号之前仍旧有某个SN对应的PDU没有接收到,则确认该数据包传输失败。
实施中,传输层1层处理模块进一步用于在接收时,在AM模式下,包括以下处理之一或者其组合:
定义接收窗口,维护接收窗口,以及根据接收窗口接收数据包;
当接收到位于接收窗口之内的数据时,如果出现接收序列缺口,启动重排序定时器,当重排序定时器超时,该数据包仍旧没有收到,则判定传输失败,向接收端反馈状态报告。
为了描述的方便,以上所述装置的各部分以功能分为各种模块或单元分别描述。当然,在实施本申请时可以把各模块或单元的功能在同一个或多个软件或硬件中实现。
在实施本申请实施例提供的技术方案时,可以按如下方式实施。
图15为发送端设备结构示意图,如图所示,设备中包括:
处理器1500,用于读取存储器1520中的程序,执行下列过程:
为接收到的所述发送数据包进行传输层1层处理,所述传输层1层处理在发送时包括:分配SN;
对所述传输层1层处理后的所述发送数据包进行传输层2层处理,所述传输层2层处理在发送时包括:根据调度得到的传输资源的大小,将所述发送数据包传递给物理层后经空中接口进行发送;
收发机1510,用于在处理器1500的控制下接收和发送数据,执行下列过程:
接收从高层传输的发送数据包,所述发送数据包是发送端欲发送的数据包。
实施中,所述传输层1层处理进一步包括:在分配SN后,进行头压缩和安全处理。
实施中,所述传输层1层处理在发送时进一步包括:
根据配置决定是否在初次传输数据包时进行层内分段,和/或,根据配置决定是否在重传数据包时进行层内分段,在进行层内分段时交由所述传输层2层处理的是层内分段后的所述发送数据包,其中,初次传输数据包时的配置与重传数据包时的配置是相同的或者是不同的。
实施中,根据RRC信令静态配置决定是否分段。
实施中,在AM模式下,所述传输层1层处理在发送时进一步包括以下处理之一或者其组合:
定义发送窗口,维护发送窗口,以及根据发送窗口发送数据包;
在数据包或者数据包分段中设置P比特用于触发接收端进行状态报告反馈;
根据网络侧信令配置进行分段;
基于对等端的接收状态反馈,或者所述传输层2层处理的反馈信息进行重传。
实施中,所述传输层1层处理在一个逻辑实体上处理;
所述传输层2层处理在一个或至少两个逻辑实体上处理。
实施中,在所述传输层2层处理在至少两个逻辑实体上处理时,进行所述传输层1层 处理的逻辑实体将处理后的数据包分发至至少一个进行所述传输层2层处理的逻辑实体;
或者,进行所述传输层1层处理的逻辑实体将处理后的数据包复制后发送至至少两个进行所述传输层2层处理的逻辑实体。
实施中,在所述传输层2层处理在至少两个逻辑实体上处理时,进一步包括:
在重传数据包时,重传至原进行所述传输层2层处理的逻辑实体或其它进行所述传输层2层处理的逻辑实体。
其中,在图15中,总线架构可以包括任意数量的互联的总线和桥,具体由处理器1500代表的一个或多个处理器和存储器1520代表的存储器的各种电路链接在一起。总线架构还可以将诸如***设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口提供接口。收发机1510可以是多个元件,即包括发送机和收发机,提供用于在传输介质上与各种其他装置通信的单元。处理器1500负责管理总线架构和通常的处理,存储器1520可以存储处理器1500在执行操作时所使用的数据。
图16为接收端设备结构示意图,如图所示,设备包括:
处理器1600,用于读取存储器1620中的程序,执行下列过程:
对接收到的所述数据包进行传输层2层处理,所述传输层2层处理在接收时包括:将物理层传输至的数据包传输至传输层2层进行处理;
对所述传输层2层处理后的所述数据包进行传输层1层处理,所述传输层1层处理在接收时包括:根据SN进行重排序操作,恢复成发送数据包,所述发送数据包是发送端欲发送的数据包;
收发机1610,用于在处理器1600的控制下接收和发送数据,执行下列过程:
接收从空口接收到后经物理层传输至的数据包。
实施中,所述传输层2层处理在接收时进一步包括:在传输至传输层1层前,对数据包进行重组。
实施中,所述传输层2层处理是在第一子层协议实体以及第二子层协议实体处理的,其中第一子层协议实体接收第二子层协议实体处理后的数据包,第二子层协议实体接收物理层发送的数据包,则在对数据包进行重组时,包括:
第二子层协议实体从物理层发送的数据包中将不同逻辑信道的数据包进行分别处理,之后将每个逻辑信道的数据包发送给相应的第一子层协议实体进行处理;
各第一子层协议实体对接收到的数据包重组。
实施中,对数据包进行重组,包括:
对每个逻辑信道的数据包,根据组包的规则,拆解出不同的可供传输层1层处理的PDU或者PDU分段;
如果是PDU,则将PDU交由所述传输层1层处理;
如果是PDU分段,当所述传输层1层处理配置了PDU分段的功能,则将PDU分段交由所述传输层1层处理,当所述传输层1层处理未配置PDU分段的功能,则将PDU分段组织成PDU后交由所述传输层1层处理。
实施中,所述传输层1层处理在接收时进一步包括:
在根据SN进行重排序操作后,反馈不正确接收的数据包,对正确接收的数据包进行解安全处理和解头压缩,恢复成发送数据包。
实施中,所述传输层1层处理在接收时进一步包括:
定义接收窗口、维护接收窗口以及根据接收窗口接收数据包,和/或重排序处理,其中,重排序包括:
当出现了接收乱序时,启动重排序定时器,并记录此时接收队列中最高的SN序号;
在重排序定时器超时之前,若无接收乱序出现,则停止重排序定时器,若出现接收乱序,则重新启动重排序定时器,并记录当前接收队列中最高的SN序号;
如果重排序定时器超时,在记录的与该重排序定时器对应的SN序号之前仍旧有某个SN对应的PDU没有接收到,则确认该数据包传输失败。
实施中,在AM模式下,所述传输层1层处理在发送时进一步包括以下处理之一或者其组合:
定义接收窗口,维护接收窗口,以及根据接收窗口接收数据包;
当接收到位于接收窗口之内的数据时,如果出现接收序列缺口,启动重排序定时器,当重排序定时器超时,该数据包仍旧没有收到,则判定传输失败,向接收端反馈状态报告。
其中,在图16中,总线架构可以包括任意数量的互联的总线和桥,具体由处理器1600代表的一个或多个处理器和存储器1620代表的存储器的各种电路链接在一起。总线架构还可以将诸如***设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口提供接口。收发机1610可以是多个元件,即包括发送机和收发机,提供用于在传输介质上与各种其他装置通信的单元。处理器1600负责管理总线架构和通常的处理,存储器1620可以存储处理器1600在执行操作时所使用的数据。
综上所述,在本申请实施例中,将层二分为两层结构,高层负责SN维护,窗口处理,安全,加密,重排序,ARQ等功能;低层负责基于高层SN的组包,逻辑信道到传输信道 映射等功能。
具体提供了:
L2 high layer发送端上UM和AM一致的公共过程;L2 high layer接收端上UM和AM一致的公共过程;L2 low layer发送端上一个或者两个子层的实施过程;L2 low layer接收端上一个或者两个子层的实施过程;L2 high layer AM发送端的过程;L2 high layer AM接收端的过程;L2 high layer分段功能,包括初传分段和重传分段;L2 low layer基于高层SN进行组包;L2 low layer对分段的处理,当高层配置了分段,可以将分段发给高层,否则不行等。
本申请实施例给出的数据传输方案,可以使UE的数据能够在不同的路径进行高效传输,由集中的协议层进行接收状态反馈和重传以及适当的分段等操作,以应对不同链路的情况,便于UE数据传输的效率和时延,提高了***效率和用户体验。
本领域内的技术人员应明白,本申请的实施例可提供为方法、***、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。
本申请是参照根据本申请实施例的方法、设备(***)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。

Claims (53)

  1. 一种数据处理方法,其特征在于,包括:
    接收从高层传输的发送数据包,所述发送数据包是发送端欲发送的数据包;
    为接收到的所述发送数据包进行传输层1层处理,所述传输层1层处理在发送时包括:分配SN;
    对所述传输层1层处理后的所述发送数据包进行传输层2层处理,所述传输层2层处理在发送时包括:根据调度得到的传输资源的大小,将所述发送数据包传递给物理层后经空中接口进行发送。
  2. 如权利要求1所述的方法,其特征在于,所述传输层1层处理进一步包括:在分配SN后,进行头压缩和安全处理。
  3. 如权利要求1所述的方法,其特征在于,所述传输层1层处理在发送时进一步包括:
    根据配置决定是否在初次传输数据包时进行层内分段,和/或,根据配置决定是否在重传数据包时进行层内分段,在进行层内分段时交由所述传输层2层处理的是层内分段后的所述发送数据包,其中,初次传输数据包时的配置与重传数据包时的配置是相同的或者是不同的。
  4. 如权利要求3所述的方法,其特征在于,根据RRC信令静态配置决定是否分段。
  5. 如权利要求1所述的方法,其特征在于,在AM模式下,所述传输层1层处理在发送时进一步包括以下处理之一或者其组合:
    定义发送窗口,维护发送窗口,以及根据发送窗口发送数据包;
    在数据包或者数据包分段中设置P比特用于触发接收端进行状态报告反馈;
    根据网络侧信令配置进行分段;
    基于对等端的接收状态反馈,或者所述传输层2层处理的反馈信息进行重传。
  6. 如权利要求1所述的方法,其特征在于,所述传输层1层处理在一个逻辑实体上处理;
    所述传输层2层处理在一个或至少两个逻辑实体上处理。
  7. 如权利要求6所述的方法,其特征在于,在所述传输层2层处理在至少两个逻辑实体上处理时,进行所述传输层1层处理的逻辑实体将处理后的数据包分发至至少一个进行所述传输层2层处理的逻辑实体;
    或者,进行所述传输层1层处理的逻辑实体将处理后的数据包复制后发送至至少两个 进行所述传输层2层处理的逻辑实体。
  8. 如权利要求6所述的方法,其特征在于,在所述传输层2层处理在至少两个逻辑实体上处理时,进一步包括:
    在重传数据包时,重传至原进行所述传输层2层处理的逻辑实体或其它进行所述传输层2层处理的逻辑实体。
  9. 如权利要求1至8任一所述的方法,其特征在于,所述传输层2层处理进一步包括:在传递给物理层前,对所述发送数据包进行分段和串接。
  10. 如权利要求9所述的方法,其特征在于,在进行分段和串接时,对所述发送数据包进行标识用以标识其来自的逻辑信道。
  11. 如权利要求9所述的方法,其特征在于,在进行分段时采用所述SN进行标识,在分段时根据所述传输层1层处理后的数据包的负荷部分进行分段。
  12. 如权利要求9所述的方法,其特征在于,所述传输层2层处理是在第一子层协议实体以及第二子层协议实体处理的,其中第一子层协议实体接收传输层1层处理后的数据包,第二子层协议实体接收第一子层协议实体处理后的数据包,则在根据调度得到的传输资源的大小进行分段和串接时,包括:
    第二子层协议实体完成调度后,告知第一子层协议实体组包的大小;
    第一子层协议实体对传输层1层处理后的数据包进行分段和串接;
    第二子层协议实体在接收到第一子层协议实体分段和串接的数据包后,给来自于不同的逻辑信道的数据包增加标识信息,将不同逻辑信道的数据包进行复用形成传输信道数据包,发送给物理层。
  13. 一种数据处理方法,其特征在于,包括:
    接收从空口接收到后经物理层传输至的数据包;
    对接收到的所述数据包进行传输层2层处理,所述传输层2层处理在接收时包括:将物理层传输至的数据包传输至传输层2层进行处理;
    对所述传输层2层处理后的所述数据包进行传输层1层处理,所述传输层1层处理在接收时包括:根据SN进行重排序操作,恢复成发送数据包,所述发送数据包是发送端欲发送的数据包。
  14. 如权利要求13所述的方法,其特征在于,所述传输层2层处理在接收时进一步包括:在传输至传输层1层前,对数据包进行重组。
  15. 如权利要求14所述的方法,其特征在于,所述传输层2层处理是在第一子层协议实体以及第二子层协议实体处理的,其中第一子层协议实体接收第二子层协议实体处理 后的数据包,第二子层协议实体接收物理层发送的数据包,则在对数据包进行重组时,包括:
    第二子层协议实体从物理层发送的数据包中将不同逻辑信道的数据包进行分别处理,之后将每个逻辑信道的数据包发送给相应的第一子层协议实体进行处理;
    各第一子层协议实体对接收到的数据包重组。
  16. 如权利要求14所述的方法,其特征在于,对数据包进行重组,包括:
    对每个逻辑信道的数据包,根据组包的规则,拆解出不同的可供传输层1层处理的PDU或者PDU分段;
    如果是PDU,则将PDU交由所述传输层1层处理;
    如果是PDU分段,当所述传输层1层处理配置了PDU分段的功能,则将PDU分段交由所述传输层1层处理,当所述传输层1层处理未配置PDU分段的功能,则将PDU分段组织成PDU后交由所述传输层1层处理。
  17. 如权利要求13所述的方法,其特征在于,所述传输层1层处理在接收时进一步包括:
    在根据SN进行重排序操作后,反馈不正确接收的数据包,对正确接收的数据包进行解安全处理和解头压缩,恢复成发送数据包。
  18. 如权利要求13所述的方法,其特征在于,所述传输层1层处理在接收时进一步包括:
    定义接收窗口、维护接收窗口以及根据接收窗口接收数据包,和/或重排序处理,其中,重排序包括:
    当出现了接收乱序时,启动重排序定时器,并记录此时接收队列中最高的SN序号;
    在重排序定时器超时之前,若无接收乱序出现,则停止重排序定时器,若出现接收乱序,则重新启动重排序定时器,并记录当前接收队列中最高的SN序号;
    如果重排序定时器超时,在记录的与该重排序定时器对应的SN序号之前仍旧有某个SN对应的PDU没有接收到,则确认该数据包传输失败。
  19. 如权利要求18所述的方法,其特征在于,在AM模式下,所述传输层1层处理在发送时进一步包括以下处理之一或者其组合:
    定义接收窗口,维护接收窗口,以及根据接收窗口接收数据包;
    当接收到位于接收窗口之内的数据时,如果出现接收序列缺口,启动重排序定时器,当重排序定时器超时,该数据包仍旧没有收到,则判定传输失败,向接收端反馈状态报告。
  20. 一种数据处理装置,其特征在于,包括:
    发送数据包接收模块,用于接收从高层传输的发送数据包,所述发送数据包是发送端欲发送的数据包;
    传输层1层处理模块,用于为接收到的所述发送数据包进行传输层1层处理,所述传输层1层处理在发送时包括:分配SN;
    传输层2层处理模块,用于对所述传输层1层处理后的所述发送数据包进行传输层2层处理,所述传输层2层处理在发送时包括:根据调度得到的传输资源的大小,将所述发送数据包传递给物理层后经空中接口进行发送。
  21. 如权利要求20所述的装置,其特征在于,传输层1层处理模块进一步用于在发送时,在分配SN后,进行头压缩和安全处理。
  22. 如权利要求20所述的装置,其特征在于,传输层1层处理模块进一步用于在发送时,根据配置决定是否在初次传输数据包时进行层内分段,和/或,根据配置决定是否在重传数据包时进行层内分段,在进行层内分段时交由所述传输层2层处理的是层内分段后的所述发送数据包,其中,初次传输数据包时的配置与重传数据包时的配置是相同的或者是不同的。
  23. 如权利要求22所述的装置,其特征在于,传输层1层处理模块进一步用于在发送时,根据RRC信令静态配置决定是否分段。
  24. 如权利要求20所述的装置,其特征在于,传输层1层处理模块进一步用于在AM模式下,在发送时包括以下处理之一或者其组合:
    定义发送窗口,维护发送窗口,以及根据发送窗口发送数据包;
    在数据包或者数据包分段中设置P比特用于触发接收端进行状态报告反馈;
    根据网络侧信令配置进行分段;
    基于对等端的接收状态反馈,或者所述传输层2层处理的反馈信息进行重传。
  25. 如权利要求20所述的装置,其特征在于,传输层1层处理模块进一步用于在一个逻辑实体上进行所述传输层1层处理;
    传输层2层处理模块进一步用于在一个或至少两个逻辑实体上进行所述传输层2层处理。
  26. 如权利要求25所述的装置,其特征在于,在所述传输层2层处理在至少两个逻辑实体上处理时,进行所述传输层1层处理的逻辑实体将处理后的数据包分发至至少一个进行所述传输层2层处理的逻辑实体;
    或者,进行所述传输层1层处理的逻辑实体将处理后的数据包复制后发送至至少两个进行所述传输层2层处理的逻辑实体。
  27. 如权利要求25所述的装置,其特征在于,传输层1层处理模块进一步用于在所述传输层2层处理在至少两个逻辑实体上处理时,在重传数据包时,重传至原进行所述传输层2层处理的逻辑实体或其它进行所述传输层2层处理的逻辑实体。
  28. 如权利要求20至27任一所述的装置,其特征在于,传输层2层处理模块进一步用于在传递给物理层前,对所述发送数据包进行分段和串接。
  29. 如权利要求28所述的装置,其特征在于,传输层2层处理模块和/或传输层1层处理模块进一步用于在进行分段和串接时,对所述发送数据包进行标识用以标识其来自的逻辑信道。
  30. 如权利要求28所述的装置,其特征在于,传输层2层处理模块进一步用于在进行分段时采用所述SN进行标识,在分段时根据所述传输层1层处理后的数据包的负荷部分进行分段。
  31. 如权利要求28所述的装置,其特征在于,传输层2层处理模块进一步用于在第一子层协议实体以及第二子层协议实体进行所述传输层2层处理,其中第一子层协议实体接收传输层1层处理后的数据包,第二子层协议实体接收第一子层协议实体处理后的数据包,则在根据调度得到的传输资源的大小进行分段和串接时,包括:
    第二子层协议实体完成调度后,告知第一子层协议实体组包的大小;
    第一子层协议实体对传输层1层处理后的数据包进行分段和串接;
    第二子层协议实体在接收到第一子层协议实体分段和串接的数据包后,给来自于不同的逻辑信道的数据包增加标识信息,将不同逻辑信道的数据包进行复用形成传输信道数据包,发送给物理层。
  32. 一种数据处理装置,其特征在于,包括:
    数据包接收模块,用于接收从空口接收到后经物理层传输至的数据包;
    传输层2层处理模块,用于对接收到的所述数据包进行传输层2层处理,所述传输层2层处理在接收时包括:将物理层传输至的数据包传输至传输层2层进行处理;
    传输层1层处理模块,用于对所述传输层2层处理后的所述数据包进行传输层1层处理,所述传输层1层处理在接收时包括:根据SN进行重排序操作,恢复成发送数据包,所述发送数据包是发送端欲发送的数据包。
  33. 如权利要求32所述的装置,其特征在于,传输层2层处理模块进一步用于在接收时,在传输至传输层1层前,对数据包进行重组。
  34. 如权利要求33所述的装置,其特征在于,传输层2层处理模块进一步用于在接收时,在第一子层协议实体以及第二子层协议实体进行所述传输层2层处理,其中第一子 层协议实体接收第二子层协议实体处理后的数据包,第二子层协议实体接收物理层发送的数据包,则在对数据包进行重组时,包括:
    第二子层协议实体从物理层发送的数据包中将不同逻辑信道的数据包进行分别处理,之后将每个逻辑信道的数据包发送给相应的第一子层协议实体进行处理;
    各第一子层协议实体对接收到的数据包重组。
  35. 如权利要求33所述的装置,其特征在于,传输层2层处理模块进一步用于对数据包进行重组,包括:
    对每个逻辑信道的数据包,根据组包的规则,拆解出不同的可供传输层1层处理的PDU或者PDU分段;
    如果是PDU,则将PDU交由所述传输层1层处理;
    如果是PDU分段,当所述传输层1层处理配置了PDU分段的功能,则将PDU分段交由所述传输层1层处理,当所述传输层1层处理未配置PDU分段的功能,则将PDU分段组织成PDU后交由所述传输层1层处理。
  36. 如权利要求32所述的装置,其特征在于,传输层1层处理模块进一步用于在接收时,在根据SN进行重排序操作后,反馈不正确接收的数据包,对正确接收的数据包进行解安全处理和解头压缩,恢复成发送数据包。
  37. 如权利要求32所述的装置,其特征在于,传输层1层处理模块进一步用于在接收时,定义接收窗口、维护接收窗口以及根据接收窗口接收数据包,和/或重排序处理,其中,重排序包括:
    当出现了接收乱序时,启动重排序定时器,并记录此时接收队列中最高的SN序号;
    在重排序定时器超时之前,若无接收乱序出现,则停止重排序定时器,若出现接收乱序,则重新启动重排序定时器,并记录当前接收队列中最高的SN序号;
    如果重排序定时器超时,在记录的与该重排序定时器对应的SN序号之前仍旧有某个SN对应的PDU没有接收到,则确认该数据包传输失败。
  38. 如权利要求37所述的装置,其特征在于,传输层1层处理模块进一步用于在接收时,在AM模式下,包括以下处理之一或者其组合:
    定义接收窗口,维护接收窗口,以及根据接收窗口接收数据包;
    当接收到位于接收窗口之内的数据时,如果出现接收序列缺口,启动重排序定时器,当重排序定时器超时,该数据包仍旧没有收到,则判定传输失败,向接收端反馈状态报告。
  39. 一种数据处理装置,其特征在于,包括:
    处理器,用于读取存储器中的程序,执行下列过程:
    为接收到的所述发送数据包进行传输层1层处理,所述传输层1层处理在发送时包括:分配SN;
    对所述传输层1层处理后的所述发送数据包进行传输层2层处理,所述传输层2层处理在发送时包括:根据调度得到的传输资源的大小,将所述发送数据包传递给物理层后经空中接口进行发送;
    收发机,用于在处理器的控制下接收和发送数据,执行下列过程:
    接收从高层传输的发送数据包,所述发送数据包是发送端欲发送的数据包。
  40. 如权利要求39所述的装置,其特征在于,所述传输层1层处理进一步包括:在分配SN后,进行头压缩和安全处理。
  41. 如权利要求39所述的装置,其特征在于,所述传输层1层处理在发送时进一步包括:
    根据配置决定是否在初次传输数据包时进行层内分段,和/或,根据配置决定是否在重传数据包时进行层内分段,在进行层内分段时交由所述传输层2层处理的是层内分段后的所述发送数据包,其中,初次传输数据包时的配置与重传数据包时的配置是相同的或者是不同的。
  42. 如权利要求41所述的装置,其特征在于,根据RRC信令静态配置决定是否分段。
  43. 如权利要求39所述的装置,其特征在于,在AM模式下,所述传输层1层处理在发送时进一步包括以下处理之一或者其组合:
    定义发送窗口,维护发送窗口,以及根据发送窗口发送数据包;
    在数据包或者数据包分段中设置P比特用于触发接收端进行状态报告反馈;
    根据网络侧信令配置进行分段;
    基于对等端的接收状态反馈,或者所述传输层2层处理的反馈信息进行重传。
  44. 如权利要求39所述的装置,其特征在于,所述传输层1层处理在一个逻辑实体上处理;
    所述传输层2层处理在一个或至少两个逻辑实体上处理。
  45. 如权利要求44所述的装置,其特征在于,在所述传输层2层处理在至少两个逻辑实体上处理时,进行所述传输层1层处理的逻辑实体将处理后的数据包分发至至少一个进行所述传输层2层处理的逻辑实体;
    或者,进行所述传输层1层处理的逻辑实体将处理后的数据包复制后发送至至少两个进行所述传输层2层处理的逻辑实体。
  46. 如权利要求44所述的装置,其特征在于,在所述传输层2层处理在至少两个逻辑实体上处理时,进一步包括:
    在重传数据包时,重传至原进行所述传输层2层处理的逻辑实体或其它进行所述传输层2层处理的逻辑实体。
  47. 一种数据处理装置,其特征在于,包括:
    处理器,用于读取存储器中的程序,执行下列过程:
    对接收到的所述数据包进行传输层2层处理,所述传输层2层处理在接收时包括:将物理层传输至的数据包传输至传输层2层进行处理;
    对所述传输层2层处理后的所述数据包进行传输层1层处理,所述传输层1层处理在接收时包括:根据SN进行重排序操作,恢复成发送数据包,所述发送数据包是发送端欲发送的数据包;
    收发机,用于在处理器的控制下接收和发送数据,执行下列过程:
    接收从空口接收到后经物理层传输至的数据包。
  48. 如权利要求47所述的装置,其特征在于,所述传输层2层处理在接收时进一步包括:在传输至传输层1层前,对数据包进行重组。
  49. 如权利要求48所述的装置,其特征在于,所述传输层2层处理是在第一子层协议实体以及第二子层协议实体处理的,其中第一子层协议实体接收第二子层协议实体处理后的数据包,第二子层协议实体接收物理层发送的数据包,则在对数据包进行重组时,包括:
    第二子层协议实体从物理层发送的数据包中将不同逻辑信道的数据包进行分别处理,之后将每个逻辑信道的数据包发送给相应的第一子层协议实体进行处理;
    各第一子层协议实体对接收到的数据包重组。
  50. 如权利要求48所述的装置,其特征在于,对数据包进行重组,包括:
    对每个逻辑信道的数据包,根据组包的规则,拆解出不同的可供传输层1层处理的PDU或者PDU分段;
    如果是PDU,则将PDU交由所述传输层1层处理;
    如果是PDU分段,当所述传输层1层处理配置了PDU分段的功能,则将PDU分段交由所述传输层1层处理,当所述传输层1层处理未配置PDU分段的功能,则将PDU分段组织成PDU后交由所述传输层1层处理。
  51. 如权利要求47所述的装置,其特征在于,所述传输层1层处理在接收时进一步包括:
    在根据SN进行重排序操作后,反馈不正确接收的数据包,对正确接收的数据包进行解安全处理和解头压缩,恢复成发送数据包。
  52. 如权利要求47所述的装置,其特征在于,所述传输层1层处理在接收时进一步包括:
    定义接收窗口、维护接收窗口以及根据接收窗口接收数据包,和/或重排序处理,其中,重排序包括:
    当出现了接收乱序时,启动重排序定时器,并记录此时接收队列中最高的SN序号;
    在重排序定时器超时之前,若无接收乱序出现,则停止重排序定时器,若出现接收乱序,则重新启动重排序定时器,并记录当前接收队列中最高的SN序号;
    如果重排序定时器超时,在记录的与该重排序定时器对应的SN序号之前仍旧有某个SN对应的PDU没有接收到,则确认该数据包传输失败。
  53. 如权利要求52所述的装置,其特征在于,在AM模式下,所述传输层1层处理在发送时进一步包括以下处理之一或者其组合:
    定义接收窗口,维护接收窗口,以及根据接收窗口接收数据包;
    当接收到位于接收窗口之内的数据时,如果出现接收序列缺口,启动重排序定时器,当重排序定时器超时,该数据包仍旧没有收到,则判定传输失败,向接收端反馈状态报告。
PCT/CN2017/087039 2016-07-08 2017-06-02 一种数据处理方法及装置 WO2018006674A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP17823486.0A EP3484124B1 (en) 2016-07-08 2017-06-02 Data processing method and apparatus
US16/316,299 US11122152B2 (en) 2016-07-08 2017-06-02 Data processing method and apparatus to reduce an overhead in a layer two protocol

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610538821.X 2016-07-08
CN201610538821.XA CN107592329B (zh) 2016-07-08 2016-07-08 一种数据处理方法及装置

Publications (1)

Publication Number Publication Date
WO2018006674A1 true WO2018006674A1 (zh) 2018-01-11

Family

ID=60901710

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/087039 WO2018006674A1 (zh) 2016-07-08 2017-06-02 一种数据处理方法及装置

Country Status (4)

Country Link
US (1) US11122152B2 (zh)
EP (1) EP3484124B1 (zh)
CN (1) CN107592329B (zh)
WO (1) WO2018006674A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110099448A (zh) * 2018-01-31 2019-08-06 华为技术有限公司 通信的方法和装置
CN111800826A (zh) * 2019-08-01 2020-10-20 维沃移动通信有限公司 一种rohc反馈处理方法及用户设备

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10602563B2 (en) 2017-06-09 2020-03-24 Samsung Electronics Co., Ltd. Method and apparatus for supporting RLC UM mode operation in next generation mobile communication system
CN110519864B (zh) * 2018-05-21 2021-09-21 华为技术有限公司 报文传输方法和装置
CN110943808B (zh) * 2018-09-21 2023-02-17 北京小米松果电子有限公司 数据传输方法、装置、电子设备和存储介质
CN109802727B (zh) * 2018-12-14 2021-09-17 上海威固信息技术股份有限公司 一种用于通信设备间传输介质盲插拔的方法
CN112153691B (zh) 2019-06-27 2022-04-12 华为技术有限公司 数据包传输的方法和通信装置
CN110351028B (zh) * 2019-07-15 2020-11-20 联想(北京)有限公司 一种数据处理方法及装置、以及电子设备
CN112770416B (zh) * 2019-11-06 2022-04-01 ***通信有限公司研究院 Cawn***及其工作方法
CN113747445A (zh) * 2020-05-27 2021-12-03 中兴通讯股份有限公司 数据分流的方法、电子设备和计算机可读存储介质
CN113923729A (zh) * 2020-07-07 2022-01-11 ***通信有限公司研究院 功能实体的数据处理方法、装置及设备
CN114071380B (zh) * 2020-08-05 2023-05-26 维沃移动通信有限公司 多播业务的接收方法、配置方法、终端及网络侧设备
CN114339882B (zh) * 2020-09-30 2024-04-09 ***通信有限公司研究院 一种数据的传输方法、装置及设备
CN114500671B (zh) * 2020-10-27 2024-05-07 ***通信有限公司研究院 数据处理方法及设备
CN112738188A (zh) * 2020-12-24 2021-04-30 广东电网有限责任公司电力科学研究院 一种数据跨网传输方法及装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852075A (zh) * 2005-12-02 2006-10-25 华为技术有限公司 一种数据重传的方法及装置
CN101039228A (zh) * 2006-03-16 2007-09-19 华为技术有限公司 一种数据包头优化方法
US20080310452A1 (en) * 2007-06-14 2008-12-18 Texas Instruments Incorporated Data link layer headers
CN102638328A (zh) * 2011-02-15 2012-08-15 电信科学技术研究院 一种数据传输的方法及装置
CN102647332A (zh) * 2011-02-21 2012-08-22 电信科学技术研究院 一种传输数据的方法及装置

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1959601A1 (en) 2007-02-13 2008-08-20 Matsushita Electric Industrial Co., Ltd. Retransmission scheme to exchange control information between a gateway and a mobile node
JP2011504329A (ja) * 2007-11-08 2011-02-03 インターデイジタル テクノロジー コーポレーション 結合された媒体アクセス制御および無線リンク制御処理のための方法および装置
US20180124843A1 (en) * 2016-11-01 2018-05-03 Sharp Laboratories Of America, Inc. Configurable radio link controller frame structure
KR102298454B1 (ko) * 2017-07-18 2021-09-06 삼성전자 주식회사 차세대 이동 통신 시스템에서 효율적으로 데이터를 분할하는 방법 및 장치
US10863494B2 (en) * 2018-01-22 2020-12-08 Apple Inc. Control signaling for uplink multiple input multiple output, channel state information reference signal configuration and sounding reference signal configuration
KR102598001B1 (ko) * 2018-06-18 2023-11-06 삼성전자 주식회사 이동 통신 시스템에서 효율적인 패킷 중복 전송을 위한 방법 및 장치
US11627490B2 (en) * 2018-11-26 2023-04-11 Qualcomm Incorporated Integrity protection at packet data convergence protocol layer

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852075A (zh) * 2005-12-02 2006-10-25 华为技术有限公司 一种数据重传的方法及装置
CN101039228A (zh) * 2006-03-16 2007-09-19 华为技术有限公司 一种数据包头优化方法
US20080310452A1 (en) * 2007-06-14 2008-12-18 Texas Instruments Incorporated Data link layer headers
CN102638328A (zh) * 2011-02-15 2012-08-15 电信科学技术研究院 一种数据传输的方法及装置
CN102647332A (zh) * 2011-02-21 2012-08-22 电信科学技术研究院 一种传输数据的方法及装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3484124A4 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110099448A (zh) * 2018-01-31 2019-08-06 华为技术有限公司 通信的方法和装置
US11296841B2 (en) 2018-01-31 2022-04-05 Huawei Technologies Co., Ltd. Communications method and apparatus
CN111800826A (zh) * 2019-08-01 2020-10-20 维沃移动通信有限公司 一种rohc反馈处理方法及用户设备

Also Published As

Publication number Publication date
US20210099554A1 (en) 2021-04-01
EP3484124A1 (en) 2019-05-15
CN107592329B (zh) 2021-01-22
US11122152B2 (en) 2021-09-14
CN107592329A (zh) 2018-01-16
EP3484124A4 (en) 2019-06-19
EP3484124B1 (en) 2022-04-27

Similar Documents

Publication Publication Date Title
WO2018006674A1 (zh) 一种数据处理方法及装置
US11057797B2 (en) Method and device for processing information
US10986653B2 (en) Method and system for sending and receiving data
WO2018127225A1 (zh) 数据传输方法、网络侧设备及用户设备
WO2017185941A1 (zh) 一种数据传输方法及相关设备
KR101387537B1 (ko) 성공적으로 수신했으나 헤더 압축 복원에 실패한 패킷의 처리 방법
US8848583B2 (en) Communication method and apparatus for header compression
US20120140704A1 (en) Method and apparatus for controlling downlink data transmission in a multi-hop relay communication system
US9755726B2 (en) Method and apparatus for improved multi-carrier communication
US20190200273A1 (en) Flushing PDCP Packets To Reduce Network Load In Multi-Connectivity Scenarios
CN107005560B (zh) 一种数据发送方法、数据接收方法和相关设备
WO2011047621A1 (zh) 基于重传机制的对头压缩数据包进行传输的方法和装置
JP6133438B2 (ja) データグラムセグメントを再構成および再送信するための方法および装置
WO2018127220A1 (zh) 一种数据转发方法及装置
CN107276727A (zh) 一种进行反馈的方法和设备
WO2017133595A1 (zh) 数据处理的方法及装置
WO2022120744A1 (zh) 数据传输处理方法及相关装置
WO2012155419A1 (zh) 一种处理重传数据的方法及基站
WO2012155441A1 (zh) 一种处理重传数据的方法及基站
WO2024007572A1 (zh) 报文处理方法及其装置、存储介质、程序产品
WO2021134106A2 (en) Methods and apparatus for efficient packet transmission
CN112997577A (zh) 资源控制连接的数据包重传方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17823486

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2017823486

Country of ref document: EP

Effective date: 20190208