TW201836328A - Method and device for transmitting data using protocol data unit - Google Patents

Method and device for transmitting data using protocol data unit Download PDF

Info

Publication number
TW201836328A
TW201836328A TW107108390A TW107108390A TW201836328A TW 201836328 A TW201836328 A TW 201836328A TW 107108390 A TW107108390 A TW 107108390A TW 107108390 A TW107108390 A TW 107108390A TW 201836328 A TW201836328 A TW 201836328A
Authority
TW
Taiwan
Prior art keywords
rlc pdu
data packet
segment
pdu data
packet
Prior art date
Application number
TW107108390A
Other languages
Chinese (zh)
Other versions
TWI692225B (en
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 大陸商電信科學技術研究院有限公司
Publication of TW201836328A publication Critical patent/TW201836328A/en
Application granted granted Critical
Publication of TWI692225B publication Critical patent/TWI692225B/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • H04W28/065Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information using assembly or disassembly of packets
    • 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
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation
    • H04W80/02Data link layer protocols

Abstract

Provided are a method and device for transmitting data using a protocol data unit. The method comprises: receiving an original packet transmitted by a PDCP entity; and encapsulating the original packet into a complete RLC PDU packet or at least two segmented RLC PDU packets, wherein both the complete RLC PDU packet and each segmented RLC PDU packet carry segmentation state indication, and if the original packet is encapsulated into a complete RLC PDU packet, no sequence number (SN) is assigned to the RLC PDU packet.

Description

一種協定資料單元傳輸資料的方法及裝置    Method and device for transmitting data by protocol data unit   

本發明屬於通信技術領域,尤其是關於一種協定資料單元傳輸資料的方法及裝置。 The invention belongs to the field of communication technology, and in particular, to a method and a device for transmitting data by a protocol data unit.

移動通信系統未來發展中,為了更好的滿足使用者需求,極大提升網路容量和輸送量,在5G將引入新的空口傳輸方式,更多的網路節點,複雜的網路拓撲。在5G網路中,既存在集中節點和分佈節點的兩層接入網架構,當然也不排除單節點完成全部的資料處理功能的架構,存在各種共存和切換的場景。在這樣的場景中,如何使得層二資料處理的效率達到最高,能夠對鏈路情況進行很快的回應和回饋,進行高效重傳,保證資料傳輸的QoS(Quality of Service,服務品質)要求,將是5G層二設計的主要目標。 In the future development of mobile communication systems, in order to better meet user needs and greatly increase network capacity and transmission capacity, 5G will introduce new air interface transmission methods, more network nodes, and complex network topologies. In a 5G network, there are two-layer access network architectures with centralized and distributed nodes, and of course, it does not exclude the architecture where a single node completes all data processing functions. Various coexistence and switching scenarios exist. In such a scenario, how to maximize the efficiency of layer 2 data processing, quickly respond to and respond to link conditions, perform efficient retransmissions, and ensure the quality of service (QoS) requirements for data transmission. Will be the main goal of 5G layer two design.

相關技術中,層二協議由PDCP(Packet Data Convergence Protocol,分組資料彙聚層協定),RLC(Radio Link Control,無線鏈路控制層)和MAC(Medium Access Control,介質存取控制)組成,由於各層之間相互獨立,各層功能存在一定的重複性,因此使得層二資料處理流程複雜,效率較低。 In related technologies, the layer 2 protocol is composed of PDCP (Packet Data Convergence Protocol), RLC (Radio Link Control), and MAC (Medium Access Control). They are independent of each other, and there is a certain degree of repetitiveness in the functions of each layer. Therefore, the data processing process of layer two is complicated and the efficiency is low.

本發明實施例提供一種協定資料單元傳輸資料的方法及裝置,以解決層二資料處理流程複雜,效率較低的問題。 The embodiments of the present invention provide a method and a device for transmitting data by a protocol data unit, so as to solve the problem that the data processing flow of the second layer is complicated and the efficiency is low.

第一方面,本發明實施例提供了一種協定資料單元傳輸資料的方法,包括:接收PDCP實體發送的初始資料包;將該初始資料包封裝成完整RLC PDU(Protocol Data Unit,協定資料單元)資料包,或者至少兩個分段RLC PDU資料包;其中,該完整RLC PDU資料包和每一該分段RLC PDU資料包中均攜帶有分段情況指示,若將該初始資料包封裝成完整RLC PDU資料包,則不對該RLC PDU資料包分配SN(Sequence Number,序號)。 In a first aspect, an embodiment of the present invention provides a method for transmitting data by a protocol data unit, including: receiving an initial data packet sent by a PDCP entity; and packaging the initial data packet into complete RLC PDU (Protocol Data Unit) data Packet, or at least two segmented RLC PDU data packets; wherein the complete RLC PDU data packet and each of the segmented RLC PDU data packets carry segmentation indications, if the initial data packet is encapsulated into a complete RLC For a PDU data packet, no SN (Sequence Number, sequence number) is assigned to the RLC PDU data packet.

可選地,若將該初始資料包封裝成至少兩個分段RLC PDU資料包,每一該分段RLC PDU資料包中還攜帶有用於標識分段RLC PDU資料包的SN,若該SN不具有標識位置資訊的功能,則每一該分段RLC PDU資料包還攜帶有位置資訊,該位置資訊用於標識該分段RLC PDU資料包中初始資料包的分段資料位於該初始資料包的位置。 Optionally, if the initial data packet is encapsulated into at least two segmented RLC PDU data packets, each segmented RLC PDU data packet also carries an SN for identifying the segmented RLC PDU data packet. With the function of identifying location information, each segment RLC PDU data packet also carries location information, and the location information is used to identify that the segment data of the initial data packet in the segment RLC PDU data packet is located in the initial data packet. position.

可選地,該SN包括為該分段RLC PDU資料包分配的SN,或者該初始資料包中攜帶的SN。 Optionally, the SN includes an SN allocated for the segmented RLC PDU data packet, or an SN carried in the initial data packet.

可選地,若該SN是為分段RLC PDU資料包配置的SN時,一個初始資料包對應的不同分段RLC PDU資料包的SN均相同;或者,不同的分段RLC PDU資料包的SN遞增。 Optionally, if the SN is an SN configured for segmented RLC PDU data packets, the SNs of different segmented RLC PDU data packets corresponding to an initial data packet are the same; or, the SNs of different segmented RLC PDU data packets are the same Incrementally.

可選地,該位置資訊包括該分段資料在該初始資料包中的偏 移量和該分段資料的長度;或者該位置資訊包括該分段資料中首個位元組的偏移量和末個位元組的偏移量。 Optionally, the position information includes an offset of the segment data in the initial data packet and a length of the segment data; or the position information includes an offset of the first byte in the segment data and Offset of the last byte.

可選地,該分段情況指示包括位於RLC PDU資料包頭部的2比特,用於指示該RLC PDU資料包的分段情況,該分段情況包括:完整資料包、第一個分段、中間分段和最後一個分段;或者 該分段情況指示包括位於RLC PDU資料包頭部的2比特,其中1比特用於指示RLC PDU資料包是否為分段RLC PDU資料包,1比特用於指示RLC PDU資料包是否為最後一個分段或者第一個分段。 Optionally, the segmentation condition indication includes 2 bits located in the header of the RLC PDU data packet, and is used to indicate the segmentation condition of the RLC PDU data packet. The segmentation condition includes: a complete data packet, a first segment, The middle segment and the last segment; or the segment condition indication includes 2 bits located in the header of the RLC PDU data packet, of which 1 bit is used to indicate whether the RLC PDU data packet is a segmented RLC PDU data packet, and 1 bit is used to Indicates whether the RLC PDU packet is the last segment or the first segment.

第二方面,本發明實施例提供了一種協定資料單元傳輸資料的方法,包括:接收RLC PDU資料包,該RLC PDU資料包攜帶有分段情況指示;根據該分段情況指示確定,該RLC PDU資料包為分段RLC PDU資料包還是完整RLC PDU資料包;若為完整RLC PDU資料包,向PDCP實體發送該完整RLC PDU資料包;若為分段RLC PDU資料包,對分段RLC PDU資料包進行重組,並向該PDCP實體發送重組後的資料包。 According to a second aspect, an embodiment of the present invention provides a method for transmitting data in a protocol data unit, including: receiving an RLC PDU data packet, where the RLC PDU data packet carries a segmentation condition indication; and determining according to the segmentation condition indication, the RLC PDU Whether the data packet is a segmented RLC PDU data packet or a complete RLC PDU data packet; if it is a complete RLC PDU data packet, the complete RLC PDU data packet is sent to the PDCP entity; if it is a segmented RLC PDU data packet, the segmented RLC PDU data is The packet is reorganized, and the reorganized data packet is sent to the PDCP entity.

可選地,若該RLC PDU資料包為分段RLC PDU資料包時,該分段RLC PDU資料包中還攜帶有用於標識分段RLC PDU資料包的SN,若該SN不具有標識位置資訊的功能,該分段RLC PDU資料包還攜帶有位置資訊,該位置資訊用於標識該分段RLC PDU資料包中初始資料包的分段 資料位於該初始資料包的位置;該對分段RLC PDU資料包進行重組包括:根據該SN和該分段情況指示對分段RLC PDU資料包進行重組,或者根據該SN、分段情況指示和位置資訊對分段RLC PDU資料包進行重組。 Optionally, if the RLC PDU data packet is a segmented RLC PDU data packet, the segmented RLC PDU data packet also carries an SN used to identify the segmented RLC PDU data packet. Function, the segmented RLC PDU data packet also carries location information, which is used to identify the segmented data of the initial data packet in the segmented RLC PDU data packet at the location of the initial data packet; the pair of segmented RLC PDUs The reorganization of the data packet includes: reorganizing the segmented RLC PDU data packet according to the SN and the segmentation situation indication, or reorganizing the segmented RLC PDU data packet according to the SN, the segmentation situation indication, and location information.

可選地,若不同的分段RLC PDU資料包的SN遞增,則該SN具有標識位置資訊的功能,根據該SN和該分段情況指示對分段RLC PDU資料包進行重組;若一個初始資料包對應的不同分段RLC PDU資料包的SN均相同,則該SN不具有標識位置資訊的功能,根據該SN、分段情況指示和位置資訊對分段RLC PDU資料包進行重組。 Optionally, if the SN of a different segment RLC PDU data packet is increased, the SN has the function of identifying location information, and the segment RLC PDU data packet is reorganized according to the SN and the segment condition indication; if an initial data The SNs of the different RLC PDU data packets corresponding to the packet are all the same, so the SN does not have the function of identifying location information, and the segmented RLC PDU data packets are reorganized according to the SN, the segmentation condition indication, and the location information.

可選地,前述根據該SN和該分段情況指示對分段RLC PDU資料包進行重組的步驟,包括:按照該分段RLC PDU資料包的SN順序對該分段RLC PDU資料包進行排列;根據該分段情況指示中所指示的第一個分段和/或最後一個分段,對排列的分段RLC PDU資料包進行重組。 Optionally, the foregoing step of reorganizing the segmented RLC PDU data packet according to the SN and the segmentation condition includes: arranging the segmented RLC PDU data packet according to the SN order of the segmented RLC PDU data packet; Reorganize the arranged segment RLC PDU data packets according to the first segment and / or the last segment indicated in the segment condition indication.

可選地,前述根據該SN和該分段情況指示對分段RLC PDU資料包進行重組的步驟,還包括:在分段RLC PDU資料包重組的過程中,判斷是否存在序列缺口;若存在序列缺口,則啟動第一計時器計時,並將當前接收到的最大SN記錄為觸發該第一計時器啟動的目標SN;判斷該第一計時器超過第一預設計時時間前,該目標SN之前的序列缺 口是否被填滿;若該目標SN之前的序列缺口未被填滿,則刪除該目標SN之前未重組的分段RLC PDU資料包。 Optionally, the foregoing step of restructuring the segmented RLC PDU data packet according to the SN and the segmentation condition further includes: determining whether there is a sequence gap during the reassembly of the segmented RLC PDU data packet; if there is a sequence, Gap, start the first timer to count and record the currently received maximum SN as the target SN that triggers the start of the first timer; before judging that the first timer exceeds the first preset time, before the target SN Whether the sequence gap of the target SN is filled; if the sequence gap before the target SN is not filled, the segment RLC PDU data packet that has not been reassembled before the target SN is deleted.

可選地,前述根據該SN、分段情況指示和位置資訊對分段RLC PDU資料包進行重組的步驟,包括:將相同的SN對應的RLC PDU資料包作為一組待重組資料包,根據位置資訊對分段RLC PDU資料包進行重組。 Optionally, the foregoing step of reorganizing the segmented RLC PDU data packet according to the SN, the segmentation condition indication, and the location information includes: using the RLC PDU data packet corresponding to the same SN as a group of data packets to be reorganized, and according to the position Information reassembles segmented RLC PDU packets.

可選地,前述根據該SN、分段情況指示和位置資訊對分段RLC PDU資料包進行重組的步驟,還包括:在分段RLC PDU資料包重組的過程中,根據該位置資訊判斷當前接收的分段RLC PDU資料包之前是否存在未接收的目標分段RLC PDU資料包;若該當前接收的分段RLC PDU資料包之前存在未接收的目標分段RLC PDU資料包,則啟動第二計時器;若該第二計時器超過第二預設計時時間,仍未接收到該目標分段RLC PDU資料包,則刪除該目標分段RLC PDU資料包對應的一組待重組資料包;或者前述根據該SN、分段情況指示和位置資訊對分段RLC PDU資料包進行重組的步驟,還包括:在分段RLC PDU資料包重組的過程中,當首次接收到目標初始資料包對應的任意一個分段RLC PDU資料包時,啟動第三計時器;若該第三計時器超過第三預設計時時間,仍未接收到該目標初始資料 包對應的所有分段RLC PDU資料包,則將該目標初始資料包對應的已接收分段RLC PDU資料包刪除。 Optionally, the foregoing step of reorganizing the segmented RLC PDU data packet according to the SN, the segmentation condition indication, and the location information further includes: in the process of reassembling the segmented RLC PDU data packet, judging the current reception according to the location information. Whether there is an unreceived target segment RLC PDU data packet before the segmented RLC PDU data packet of; if there is an unreceived target segment RLC PDU data packet before the currently received segmented RLC PDU data packet, start the second timing If the second timer exceeds the second preset time period and the target segment RLC PDU data packet has not been received, delete a group of data packets to be reorganized corresponding to the target segment RLC PDU data packet; or the foregoing The step of reorganizing the segmented RLC PDU data packet according to the SN, the segmentation condition indication, and the location information further includes: during the reassembly of the segmented RLC PDU data packet, when any one of the target initial data packets is received for the first time When segmenting the RLC PDU data packet, a third timer is started; if the third timer exceeds the third preset time, all segment RLC PDs corresponding to the target initial data packet have not been received U data packet, delete the received segment RLC PDU data packet corresponding to the target initial data packet.

可選地,該SN包括為該RLC PDU資料包分配的SN,或者該初始資料包中攜帶的SN。 Optionally, the SN includes an SN allocated for the RLC PDU data packet, or an SN carried in the initial data packet.

可選地,該位置資訊包括該分段資料在該初始資料包中的偏移量和該分段資料的長度;或者該位置資訊包括該分段資料中首個位元組的偏移量和末個位元組的偏移量。 Optionally, the position information includes an offset of the segment data in the initial data packet and a length of the segment data; or the position information includes an offset of the first byte in the segment data and Offset of the last byte.

可選地,該分段情況指示包括位於RLC PDU資料包頭部的2比特,用於指示該RLC PDU資料包的分段情況,該分段情況包括:完整資料包、第一個分段、中間分段和最後一個分段;或者該分段情況指示包括位於RLC PDU資料包頭部的2比特,其中1比特用於指示RLC PDU資料包是否為分段RLC PDU資料包,1比特用於指示RLC PDU資料包是否為最後一個分段或者第一個分段。 Optionally, the segmentation condition indication includes 2 bits located in the header of the RLC PDU data packet, and is used to indicate the segmentation condition of the RLC PDU data packet. The segmentation condition includes: a complete data packet, a first segment, The middle segment and the last segment; or the segment condition indication includes 2 bits located in the header of the RLC PDU data packet, of which 1 bit is used to indicate whether the RLC PDU data packet is a segmented RLC PDU data packet, and 1 bit is used to Indicates whether the RLC PDU packet is the last segment or the first segment.

第三方面,本發明實施例提供了一種協定資料單元傳輸資料的裝置,包括記憶體、處理器及存儲在記憶體上並可在處理器上運行的程式,其中,該處理器執行該程式時執行下列過程:接收PDCP實體發送的初始資料包;將該初始資料包封裝成完整RLC PDU資料包,或者至少兩個分段RLC PDU資料包;其中,該完整RLC PDU資料包和每一該分段RLC PDU資料包中均攜帶有分段情況指示,若將該初始資料包封裝成完整RLC PDU資料包,則不 對該RLC PDU資料包分配序號SN。 According to a third aspect, an embodiment of the present invention provides a device for transmitting data by a protocol data unit, including a memory, a processor, and a program stored on the memory and executable on the processor. When the processor executes the program, Perform the following process: receive the initial data packet sent by the PDCP entity; encapsulate the initial data packet into a complete RLC PDU data packet, or at least two segmented RLC PDU data packets; wherein the complete RLC PDU data packet and each of the packets Each segment RLC PDU data packet carries a segmentation status indication. If the initial data packet is encapsulated into a complete RLC PDU data packet, the serial number SN is not assigned to the RLC PDU data packet.

可選地,若將該初始資料包封裝成至少兩個分段RLC PDU資料包,每一該分段RLC PDU資料包中還攜帶有用於標識分段RLC PDU資料包的SN,若該SN不具有標識位置資訊的功能,則每一該分段RLC PDU資料包還攜帶有位置資訊,該位置資訊用於標識該分段RLC PDU資料包中初始資料包的分段資料位於該初始資料包的位置。 Optionally, if the initial data packet is encapsulated into at least two segmented RLC PDU data packets, each segmented RLC PDU data packet also carries an SN for identifying the segmented RLC PDU data packet. With the function of identifying location information, each segment RLC PDU data packet also carries location information, and the location information is used to identify that the segment data of the initial data packet in the segment RLC PDU data packet is located in the initial data packet. position.

可選地,該SN包括為該分段RLC PDU資料包分配的SN,或者該初始資料包中攜帶的SN。 Optionally, the SN includes an SN allocated for the segmented RLC PDU data packet, or an SN carried in the initial data packet.

可選地,若該SN是為分段RLC PDU資料包配置的SN時,一個初始資料包對應的不同分段RLC PDU資料包的SN均相同;或者,不同的分段RLC PDU資料包的SN遞增。 Optionally, if the SN is an SN configured for segmented RLC PDU data packets, the SNs of different segmented RLC PDU data packets corresponding to an initial data packet are the same; or, the SNs of different segmented RLC PDU data packets are the same Incrementally.

可選地,該位置資訊包括該分段資料在該初始資料包中的偏移量和該分段資料的長度;或者該位置資訊包括該分段資料中首個位元組的偏移量和末個位元組的偏移量。 Optionally, the position information includes an offset of the segment data in the initial data packet and a length of the segment data; or the position information includes an offset of the first byte in the segment data and Offset of the last byte.

可選地,該分段情況指示包括位於RLC PDU資料包頭部的2比特,用於指示該RLC PDU資料包的分段情況,該分段情況包括:完整資料包、第一個分段、中間分段和最後一個分段;或者該分段情況指示包括位於RLC PDU資料包頭部的2比特,其中1比特用於指示RLC PDU資料包是否為分段RLC PDU資料包,1比特用於指示RLC PDU資料包是否為最後一個分段或者第一個分段。 Optionally, the segmentation condition indication includes 2 bits located in the header of the RLC PDU data packet, and is used to indicate the segmentation condition of the RLC PDU data packet. The segmentation condition includes: a complete data packet, a first segment, The middle segment and the last segment; or the segment condition indication includes 2 bits located in the header of the RLC PDU data packet, of which 1 bit is used to indicate whether the RLC PDU data packet is a segmented RLC PDU data packet, and 1 bit is used to Indicates whether the RLC PDU packet is the last segment or the first segment.

第四方面,本發明實施例提供了一種協定資料單元傳輸資料 的裝置,包括記憶體、處理器及存儲在記憶體上並可在處理器上運行的程式,其中,該處理器執行該程式時執行下列過程:接收RLC PDU資料包,該RLC PDU資料包攜帶有分段情況指示;根據該分段情況指示確定,該RLC PDU資料包為分段RLC PDU資料包還是完整RLC PDU資料包;若為完整RLC PDU資料包,向PDCP實體發送該完整RLC PDU資料包;若為分段RLC PDU資料包,對分段RLC PDU資料包進行重組,並向該PDCP實體發送重組後的資料包。 According to a fourth aspect, an embodiment of the present invention provides a device for transmitting data by a protocol data unit, which includes a memory, a processor, and a program stored in the memory and executable on the processor. When the processor executes the program, Perform the following process: receive an RLC PDU data packet, the RLC PDU data packet carries an indication of the segmentation situation; determine according to the segmentation situation indication, whether the RLC PDU data packet is a segmented RLC PDU data packet or a complete RLC PDU data packet; if For a complete RLC PDU data packet, the complete RLC PDU data packet is sent to the PDCP entity; if it is a segmented RLC PDU data packet, the segmented RLC PDU data packet is reorganized, and the reorganized data packet is sent to the PDCP entity.

可選地,若該RLC PDU資料包為分段RLC PDU資料包時,該分段RLC PDU資料包中還攜帶有用於標識分段RLC PDU資料包的SN,若該SN不具有標識位置資訊的功能,該分段RLC PDU資料包還攜帶有位置資訊,該位置資訊用於標識該分段RLC PDU資料包中初始資料包的分段資料位於該初始資料包的位置;該處理器執行該程式時還執行下列過程:根據該SN和該分段情況指示對分段RLC PDU資料包進行重組,或者根據該SN、分段情況指示和位置資訊對分段RLC PDU資料包進行重組。 Optionally, if the RLC PDU data packet is a segmented RLC PDU data packet, the segmented RLC PDU data packet also carries an SN used to identify the segmented RLC PDU data packet. Function, the segmented RLC PDU data packet also carries location information, the location information is used to identify that the segmented data of the initial data packet in the segmented RLC PDU data packet is located in the initial data packet; the processor executes the program It also performs the following process: reorganizing the segmented RLC PDU data packet according to the SN and the segmentation situation indication, or reorganizing the segmented RLC PDU data packet according to the SN, the segmentation situation indication, and location information.

可選地,若不同的分段RLC PDU資料包的SN遞增,則該SN具有標識位置資訊的功能,根據該SN和該分段情況指示對分段RLC PDU資料包進行重組;若一個初始資料包對應的不同分段RLC PDU資料包的SN均相同,則該SN不具有標識位置資訊的功能,根據該SN、分段情況指示和位置資訊對分段RLC PDU資料包進行重組。 Optionally, if the SN of a different segment RLC PDU data packet is increased, the SN has the function of identifying location information, and the segment RLC PDU data packet is reorganized according to the SN and the segment condition indication; if an initial data The SNs of the different RLC PDU data packets corresponding to the packet are all the same, so the SN does not have the function of identifying location information, and the segmented RLC PDU data packets are reorganized according to the SN, the segmentation condition indication, and the location information.

可選地,該處理器執行該程式時還執行下列過程:按照該分段RLC PDU資料包的SN順序對該分段RLC PDU資料包進行排列;根據該分段情況指示中所指示的第一個分段和/或最後一個分段,對排列的分段RLC PDU資料包進行重組。 Optionally, when the processor executes the program, the following process is also performed: the segmented RLC PDU data packet is arranged according to the SN order of the segmented RLC PDU data packet; according to the first Segmentation and / or last segmentation to reassemble the segmented RLC PDU data packets.

可選地,該處理器執行該程式時還執行下列過程:在分段RLC PDU資料包重組的過程中,判斷是否存在序列缺口;若存在序列缺口,則啟動第一計時器計時,並將當前接收到的最大SN記錄為觸發該第一計時器啟動的目標SN;判斷該第一計時器超過第一預設計時時間前,該目標SN之前的序列缺口是否被填滿;若該目標SN之前的序列缺口未被填滿,則刪除該目標SN之前未重組的分段RLC PDU資料包。 Optionally, when the processor executes the program, the following process is also performed: in the process of reassembly of the segmented RLC PDU data packet, it is determined whether there is a sequence gap; if there is a sequence gap, a first timer is started to count and the current The received maximum SN record is the target SN that triggers the start of the first timer; determines whether the sequence gap before the target SN is filled before the first timer exceeds the first preset time; if the target SN is If the sequence gap is not filled, the segment RLC PDU data packet that was not reassembled before the target SN is deleted.

可選地,該處理器執行該程式時還執行下列過程:將相同的SN對應的RLC PDU資料包作為一組待重組資料包,根據位置資訊對分段RLC PDU資料包進行重組。 Optionally, when the processor executes the program, the following process is performed: the RLC PDU data packets corresponding to the same SN are used as a group of data packets to be reorganized, and the segmented RLC PDU data packets are reorganized according to the location information.

可選地,該處理器執行該程式時還執行下列過程:在分段RLC PDU資料包重組的過程中,根據該位置資訊判斷當前接收的分段RLC PDU資料包之前是否存在未接收的目標分段RLC PDU資料包;若該當前接收的分段RLC PDU資料包之前存在未接收的目標分段RLC PDU資料包,則啟動第二計時器; 若該第二計時器超過第二預設計時時間,仍未接收到該目標分段RLC PDU資料包,則刪除該目標分段RLC PDU資料包對應的一組待重組資料包;或者該處理器執行該程式時還執行下列過程:在分段RLC PDU資料包重組的過程中,當首次接收到目標初始資料包對應的任意一個分段RLC PDU資料包時,啟動第三計時器;若該第三計時器超過第三預設計時時間,仍未接收到該目標初始資料包對應的所有分段RLC PDU資料包,則將該目標初始資料包對應的已接收分段RLC PDU資料包刪除。 Optionally, when the processor executes the program, the following process is also performed: in the process of reassembling the segmented RLC PDU data packet, it is determined whether there is an unreceived target packet before the currently received segmented RLC PDU data packet according to the location information. Segment RLC PDU data packet; if there is an unreceived target segment RLC PDU data packet before the currently received segment RLC PDU data packet, start a second timer; if the second timer exceeds a second preset timing time , If the target segment RLC PDU data packet has not been received, then delete a group of data packets to be reorganized corresponding to the target segment RLC PDU data packet; or when the processor executes the program, the following process is also performed: in segment RLC In the process of PDU data packet reorganization, when a segment RLC PDU data packet corresponding to the target initial data packet is received for the first time, a third timer is started; if the third timer exceeds the third preset timing time, After receiving all the segment RLC PDU data packets corresponding to the target initial data packet, delete the received segment RLC PDU data packets corresponding to the target initial data packet.

可選地,該SN包括為該RLC PDU資料包分配的SN,或者該初始資料包中攜帶的SN。 Optionally, the SN includes an SN allocated for the RLC PDU data packet, or an SN carried in the initial data packet.

可選地,該位置資訊包括該分段資料在該初始資料包中的偏移量和該分段資料的長度;或者該位置資訊包括該分段資料中首個位元組的偏移量和末個位元組的偏移量。 Optionally, the position information includes an offset of the segment data in the initial data packet and a length of the segment data; or the position information includes an offset of the first byte in the segment data and Offset of the last byte.

可選地,該分段情況指示包括位於RLC PDU資料包頭部的2比特,用於指示該RLC PDU資料包的分段情況,該分段情況包括:完整資料包、第一個分段、中間分段和最後一個分段;或者該分段情況指示包括位於RLC PDU資料包頭部的2比特,其中1比特用於指示RLC PDU資料包是否為分段RLC PDU資料包,1比特用於指示RLC PDU資料包是否為最後一個分段或者第一個分段。 Optionally, the segmentation condition indication includes 2 bits located in the header of the RLC PDU data packet, and is used to indicate the segmentation condition of the RLC PDU data packet. The segmentation condition includes: a complete data packet, a first segment, The middle segment and the last segment; or the segment condition indication includes 2 bits located in the header of the RLC PDU data packet, of which 1 bit is used to indicate whether the RLC PDU data packet is a segmented RLC PDU data packet, and 1 bit is used to Indicates whether the RLC PDU packet is the last segment or the first segment.

第五方面,本發明實施例還提供了一種電腦可讀存儲介質, 其上存儲有程式,該程式被處理器執行時,實現上述的協定資料單元傳輸資料的方法中的步驟。 According to a fifth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a program stored thereon. When the program is executed by a processor, the steps in the method for transmitting data by a protocol data unit are implemented.

第六方面,本發明實施例還提供了一種電腦可讀存儲介質,其上存儲有程式,該程式被處理器執行時,實現上述的協定資料單元傳輸資料的方法中的步驟。 According to a sixth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a program stored thereon. When the program is executed by a processor, the steps in the method for transmitting data by the protocol data unit are implemented.

本實施例中,上述初始資料包的數量在此不做進一步的限定,可以根據每一初始資料包的大小與底層傳輸資源的大小確定封裝成一個完整RLC PDU資料包還是至少兩個分段RLC PDU資料包。其中,若將初始資料包封裝成一個完整RLC PDU資料包時,將不會對完整RLC PDU資料包分配SN,該SN為RLC UM(Unacknowledged Mode,非確認模式)發送端對初始資料包封裝時載入在頭部的資料,用於在接收端進行排序使用,由於在完整RLC PDU資料包中未分配SN,從而在接收端無需進行排序。 In this embodiment, the number of the aforementioned initial data packets is not further limited here, and it can be determined according to the size of each initial data packet and the size of the underlying transmission resource that it is encapsulated into a complete RLC PDU data packet or at least two segmented RLCs. PDU data packet. Among them, if the initial data packet is encapsulated into a complete RLC PDU data packet, the SN will not be assigned to the complete RLC PDU data packet. The SN is the RLC UM (Unacknowledged Mode) sender when the initial data packet is encapsulated. The data loaded in the header is used for sequencing at the receiving end. Since no SN is allocated in the complete RLC PDU data packet, there is no need to perform sequencing at the receiving end.

201~202、301~304‧‧‧步驟 201 ~ 202, 301 ~ 304‧‧‧ steps

11‧‧‧網路側設備 11‧‧‧Network side equipment

12‧‧‧終端 12‧‧‧Terminal

401‧‧‧第一接收模組 401‧‧‧First receiving module

402‧‧‧第一處理模組 402‧‧‧First Processing Module

501‧‧‧第二接收模組 501‧‧‧Second receiving module

502‧‧‧確定模組 502‧‧‧ Determine the module

503‧‧‧第二處理模組 503‧‧‧Second Processing Module

50301‧‧‧排列子模組 50301‧‧‧Arrange sub-modules

50302‧‧‧第一重組子模組 50302‧‧‧The first reorganized submodule

50303‧‧‧第一判斷子模組 50303‧‧‧First Judgment Submodule

50304‧‧‧第一啟動子模組 50304‧‧‧First promoter module

50305‧‧‧第二判斷子模組 50305‧‧‧Second Judgment Submodule

50306‧‧‧第一處理子模組 50306‧‧‧First processing submodule

50310‧‧‧第二重組子模組 50310‧‧‧Second Recombination Submodule

50311‧‧‧第三判斷子模組 50311‧‧‧The third judgment submodule

50312‧‧‧第二啟動子模組 50312‧‧‧Second promoter module

50313‧‧‧第二處理子模組 50313‧‧‧Second processing submodule

50314‧‧‧第三啟動子模組 50314‧‧‧Third promoter module

50315‧‧‧第三處理子模組 50315‧‧‧Third processing submodule

1100、1200‧‧‧處理器 1100, 1200‧‧‧ processors

1110、1210‧‧‧收發機 1110, 1210‧‧‧ Transceiver

1120、1220‧‧‧記憶體 1120, 1220‧‧‧Memory

1130、1230‧‧‧使用者介面 1130, 1230‧‧‧ user interface

為了更清楚地說明本發明實施例的技術方案,下面將對本發明實施例描述中所需要使用的附圖作簡單地介紹,顯而易見地,下面描述中的附圖僅僅是本發明的一些實施例,對於本領域普通技術人員來講,在不付出進步性勞動性的前提下,還可以根據這些附圖獲得其他的附圖。 In order to explain the technical solution of the embodiments of the present invention more clearly, the drawings used in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the drawings in the following description are just some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without paying progressive labor.

圖1是本發明實施例應用的網路結構示意圖;圖2是本發明實施例提供的一種協定資料單元傳輸資料的方法的流程圖; 圖3是本發明實施例提供的另一種協定資料單元傳輸資料的方法的流程圖;圖4是本發明實施例提供的一種協定資料單元傳輸資料的裝置的結構圖;圖5是本發明實施例提供的另一種協定資料單元傳輸資料的裝置的結構圖;圖6是本發明實施例提供的又一種協定資料單元傳輸資料的裝置的結構圖;圖7是本發明實施例提供的又一種協定資料單元傳輸資料的裝置的結構圖;圖8是本發明實施例提供的又一種協定資料單元傳輸資料的裝置的結構圖;圖9是本發明實施例提供的又一種協定資料單元傳輸資料的裝置的結構圖;圖10是本發明實施例提供的又一種協定資料單元傳輸資料的裝置的結構圖;圖11是本發明實施例提供的又一種協定資料單元傳輸資料的裝置的結構圖;圖12是本發明實施例提供的又一種協定資料單元傳輸資料的裝置的結構圖。 FIG. 1 is a schematic diagram of a network structure applied in an embodiment of the present invention; FIG. 2 is a flowchart of a method for transmitting data by a protocol data unit according to an embodiment of the present invention; FIG. 3 is another protocol data unit transmission provided by an embodiment of the present invention A flowchart of a data method; FIG. 4 is a structural diagram of an apparatus for transmitting data by a protocol data unit according to an embodiment of the present invention; FIG. 5 is a structural diagram of another apparatus for transmitting data by a protocol data unit according to an embodiment of the present invention; FIG. 6 is a structural diagram of another apparatus for transmitting data by a protocol data unit according to an embodiment of the present invention; FIG. 7 is a structural diagram of another apparatus for transmitting data by a protocol data unit according to an embodiment of the present invention; FIG. 9 is a structural diagram of a device for transmitting data in a protocol data unit according to an embodiment of the present invention; FIG. 9 is a structural diagram of another device for transmitting data in a protocol data unit according to an embodiment of the present invention; FIG. 10 is another protocol provided by an embodiment of the present invention A structural diagram of a device for transmitting data by a data unit; FIG. 11 is another protocol data unit transmission data provided by an embodiment of the present invention A configuration diagram of a device; FIG. 12 is a data configuration diagram of a further data unit transmission protocol according to an embodiment of the apparatus of the present invention.

下面將結合本發明實施例中的附圖,對本發明實施例中的技術方案進行清楚、完整地描述,顯然,所描述的實施例是本發明一部分實施例,而不是全部的實施例。基於本發明中的實施例,本領域普通技術人員在沒有作出進步性勞動前提下所獲得的所有其他實施例,都屬於本發明保護的範圍。 In the following, the technical solutions in the embodiments of the present invention will be clearly and completely described with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without making progressive labor belong to the protection scope of the present invention.

參見圖1,圖1是本發明實施例應用的網路結構示意圖;如圖1所示,包括網路側設備11和終端12。其中,網路側設備11可以是演進型基地台(eNB,evolved Node B)或者其他基地台,需要說明的是,在本發明實施例中並不限定網路側設備11的具體類型。網路側設備11可以與終端12建立通信,其中,附圖中的網路可以表示網路側設備11可以與終端12無線建立通信,終端12可以是手機、平板電腦(Tablet Personal Computer)、膝上型電腦(Laptop Computer)、個人數位助理(personal digital assistant,PDA)、移動上網裝置(Mobile Internet Device,MID)或可穿戴式設備(Wearable Device)等終端設備,需要說明的是,在本發明實施例中並不限定終端12的具體類型。其中,本發明提供的協定資料單元傳輸資料的方法可以應用在網路側設備11和終端12中,進行資料傳輸,在資料傳輸的過程中,網路側設備11可以作為發送端或者接收端使用,終端12對應的也可以作為接收端和發送端使用。 Referring to FIG. 1, FIG. 1 is a schematic diagram of a network structure to which an embodiment of the present invention is applied. As shown in FIG. 1, it includes a network-side device 11 and a terminal 12. The network-side device 11 may be an evolved base station (eNB) or another base station. It should be noted that the specific type of the network-side device 11 is not limited in the embodiment of the present invention. The network-side device 11 may establish communication with the terminal 12. The network in the figure may indicate that the network-side device 11 may establish wireless communication with the terminal 12. The terminal 12 may be a mobile phone, a tablet personal computer, or a laptop. Terminal devices such as computers, personal digital assistants (PDAs), mobile Internet devices (MIDs), and wearable devices (Wearable Devices) need to be explained that in the embodiments of the present invention The specific type of the terminal 12 is not limited in this. The method for transmitting data by the protocol data unit provided in the present invention can be applied to the network-side device 11 and the terminal 12 to transmit data. In the process of data transmission, the network-side device 11 can be used as a sending end or a receiving end. The corresponding 12 can also be used as a receiving end and a transmitting end.

參見圖2,圖2是本發明實施例提供的一種協定資料單元傳輸資料的方法的流程圖,如圖2所示,包括以下步驟:步驟201,接收PDCP實體發送的初始資料包。 Referring to FIG. 2, FIG. 2 is a flowchart of a method for transmitting data by a contract data unit according to an embodiment of the present invention. As shown in FIG. 2, the method includes the following steps: Step 201: Receive an initial data packet sent by a PDCP entity.

本發明實施例提供的協定資料單元傳輸資料的方法可以應 用於任何具有兩層傳輸處理的架構中,以下各實施例中,以RLC的UM進行詳細說明。具體地,本實施例提供的協定資料單元傳輸資料的方法主要應用在資料傳輸的發送端,即RLC UM發送端,用於對發送的資料包進行組織管理。 The method for transmitting data by the protocol data unit provided in the embodiment of the present invention can be applied to any architecture having two-layer transmission processing. In the following embodiments, the UM of the RLC is used for detailed description. Specifically, the method for transmitting data by the contract data unit provided in this embodiment is mainly applied to the sender of the data transmission, that is, the RLC UM sender, and is used to organize and manage the sent data packets.

其中,上述PDCP實體為RLC UM發送端的高層,RLC UM發送端可以接收PDCP實體發送的初始資料包。 The PDCP entity is a high layer of the RLC UM sending end, and the RLC UM sending end can receive an initial data packet sent by the PDCP entity.

步驟202,將該初始資料包封裝成完整RLC PDU資料包,或者至少兩個分段RLC PDU資料包;其中,該完整RLC PDU資料包和每一該分段RLC PDU資料包中均攜帶有分段情況指示SI(Segment Indicator),若將該初始資料包封裝成完整RLC PDU資料包,則不對該RLC PDU資料包分配序號SN。 Step 202: Encapsulate the initial data packet into a complete RLC PDU data packet, or at least two segmented RLC PDU data packets. The complete RLC PDU data packet and each of the segmented RLC PDU data packets carry a packet. The segment indicator SI (Segment Indicator), if the initial data packet is encapsulated into a complete RLC PDU data packet, the serial number SN is not assigned to the RLC PDU data packet.

該步驟中,RLC UM發送端在接收到PDCP實體發送的初始資料包PDCP PDU後,將會進行RLC UM PDU的組織,即將PDCP PDU封裝成RLC UM PDU。本實施例中,PDCP PDU和RLC UM PDU之間是一對一映射關係,即一個PDCP PDU經過增加頭部的處理形成一個RLC UM PDU。當底層傳輸資源足夠的情況下,一個或者若干個完整RLC UM PDU可以直接發送出去,但當底層傳輸資源不足以容納完整的RLC UM PDU時,需要根據剩餘資源的大小,對RLC UM PDU進行分段處理。從而在對一個初始資料包封裝時,將會生成完整RLC PDU資料包或者至少兩個分段RLC PDU資料包。 In this step, after receiving the initial data packet PDCP PDU sent by the PDCP entity, the RLC UM sender will organize the RLC UM PDU, that is, encapsulate the PDCP PDU into an RLC UM PDU. In this embodiment, there is a one-to-one mapping relationship between the PDCP PDU and the RLC UM PDU, that is, a PDCP PDU is processed by adding a header to form an RLC UM PDU. When the underlying transmission resources are sufficient, one or several complete RLC UM PDUs can be sent directly, but when the underlying transmission resources are insufficient to accommodate the complete RLC UM PDU, the RLC UM PDU needs to be divided according to the size of the remaining resources. Segment processing. Therefore, when an initial data packet is encapsulated, a complete RLC PDU data packet or at least two segmented RLC PDU data packets will be generated.

本實施例中,上述初始資料包的數量在此不做進一步的限定,可以根據每一初始資料包的大小與底層傳輸資源的大小確定封裝成一個完 整RLC PDU資料包還是至少兩個分段RLC PDU資料包。其中,若將初始資料包封裝成一個完整RLC PDU資料包時,將不會對完整RLC PDU資料包分配SN,該SN為RLC UM發送端對初始資料包封裝時載入在頭部的資料,用於在接收端進行排序使用,由於在完整RLC PDU資料包中未分配SN,從而在接收端無需進行排序。 In this embodiment, the number of the aforementioned initial data packets is not further limited here, and it can be determined according to the size of each initial data packet and the size of the underlying transmission resource that it is encapsulated into a complete RLC PDU data packet or at least two segmented RLCs. PDU data packet. Among them, if the initial data packet is encapsulated into a complete RLC PDU data packet, the SN will not be assigned to the complete RLC PDU data packet. The SN is the data loaded in the header when the RLC UM sender encapsulates the initial data packet. It is used for sequencing at the receiving end. Since no SN is allocated in the complete RLC PDU packet, no sequencing is required at the receiving end.

本發明實施例中,通過接收PDCP實體發送的初始資料包;將該初始資料包封裝成完整RLC PDU資料包,或者至少兩個分段RLC PDU資料包;其中,該完整RLC PDU資料包和每一該分段RLC PDU資料包中均攜帶有分段情況指示,若將該初始資料包封裝成完整RLC PDU資料包,則不對該RLC PDU資料包分配序號SN。由於在完整RLC PDU資料包中未分配SN,從而在接收端無需進行排序,在接收端接收到完整RLC PDU資料包後,可以直接轉發至高層,因此降低了層二資料處理流程複雜度,提高了效率。 In the embodiment of the present invention, the initial data packet sent by the PDCP entity is received; the initial data packet is encapsulated into a complete RLC PDU data packet, or at least two segmented RLC PDU data packets; wherein the complete RLC PDU data packet and each A segmentation condition indication is carried in the segmented RLC PDU data packet. If the initial data packet is encapsulated into a complete RLC PDU data packet, the serial number SN is not assigned to the RLC PDU data packet. Because no SN is allocated in the complete RLC PDU data packet, no sequencing is required at the receiving end. After receiving the complete RLC PDU data packet at the receiving end, it can be directly forwarded to the upper layer, thereby reducing the complexity of the layer 2 data processing flow and improving Out of efficiency.

可選地,若將該初始資料包封裝成至少兩個分段RLC PDU資料包,每一該分段RLC PDU資料包中還攜帶有用於標識分段RLC PDU資料包的SN,若該SN不具有標識位置資訊的功能,則每一該分段RLC PDU資料包還攜帶有位置資訊,該位置資訊用於標識該分段RLC PDU資料包中初始資料包的分段資料位於該初始資料包的位置。 Optionally, if the initial data packet is encapsulated into at least two segmented RLC PDU data packets, each segmented RLC PDU data packet also carries an SN for identifying the segmented RLC PDU data packet. With the function of identifying location information, each segment RLC PDU data packet also carries location information, and the location information is used to identify that the segment data of the initial data packet in the segment RLC PDU data packet is located in the initial data packet. position.

其中,上述用於標識分段RLC PDU資料包的SN包括為該分段RLC PDU資料包分配的SN,或者該初始資料包中攜帶的SN。也就是說,用於標識分段RLC PDU資料包的SN可以為RLC UM發送端為每一分段RLC PDU資料包分配的SN,也可以是複用初始資料包中的SN。 The SN used to identify the segmented RLC PDU data packet includes the SN allocated for the segmented RLC PDU data packet, or the SN carried in the initial data packet. That is, the SN used to identify the segmented RLC PDU data packet can be the SN allocated by the RLC UM sender for each segmented RLC PDU data packet, or it can be the SN in the multiplexed initial data packet.

可選地,若該SN是為分段RLC PDU資料包配置的SN時,一個初始資料包對應的不同分段RLC PDU資料包的SN均相同;或者,不同的分段RLC PDU資料包的SN遞增。應當說明的是,若複用初始資料包中的SN,則一個初始資料包對應的不同分段RLC PDU資料包中的SN均相同。 Optionally, if the SN is an SN configured for segmented RLC PDU data packets, the SNs of different segmented RLC PDU data packets corresponding to an initial data packet are the same; or, the SNs of different segmented RLC PDU data packets are the same Incrementally. It should be noted that if the SN in the initial data packet is reused, the SNs in the different RLC PDU data packets corresponding to one initial data packet are the same.

應理解,對於不同的SN設置方式,可以選擇攜帶位置資訊,例如,在一實施方式中,當分段RLC PDU資料包中攜帶的SN為具有標識位置資訊功能的SN時,可以省略位置資訊的配置。具體地,只有當SN配置的方式為不同的分段RLC PDU資料包的SN遞增時,SN才具有標識位置資訊的功能。其中,SN的遞增量也可以根據實際需要進行設置,例如可以每次遞增1。由於採用不同的分段RLC PDU資料包的SN遞增,因此不同的分段RLC PDU資料包中的SN具有連續性,根據連續性和分段指示標識即可進行分段RLC PDU資料包的重組。在另一實施例方式中,當分段RLC PDU資料包中攜帶的SN為不具有標識位置資訊功能的SN時,需要根據位置資訊、SN和分段指示標識進行分段RLC PDU資料包的重組。 It should be understood that for different SN setting methods, location information may be selected to be carried. For example, in one embodiment, when the SN carried in the segmented RLC PDU data packet is an SN with a function of identifying location information, the location information may be omitted. Configuration. Specifically, the SN has the function of identifying the location information only when the SN is configured in such a manner that the SN of different segmented RLC PDU data packets is incremented. The increment of the SN can also be set according to actual needs, for example, it can be incremented by one each time. Since the SN of different segmented RLC PDU data packets is increased, the SNs in different segmented RLC PDU data packets are continuous, and the segmented RLC PDU data packet can be reorganized according to the continuity and the segmentation indication identifier. In another embodiment, when the SN carried in the segmented RLC PDU data packet is an SN that does not have the function of identifying location information, the segmented RLC PDU data packet needs to be reorganized according to the location information, the SN, and the segmentation indication identifier. .

可選地,上述位置資訊的內容可以根據實際需要進行設置,只要能夠標識出每一分段RLC PDU資料包中的分段資料位於初始資料包中的位置即可。例如,該位置資訊可以包括該分段資料在該初始資料包中的偏移量SO(Segment offset)和該分段資料的長度LI(Length Indicator);或者,該位置資訊包括該分段資料中首個位元組的偏移量和末個位元組的偏移量。 Optionally, the content of the above location information can be set according to actual needs, as long as it can identify the location of the segment data in each segment RLC PDU data packet in the initial data packet. For example, the position information may include an offset SO (Segment offset) of the segment data in the initial data packet and a length indicator LI (Length Indicator) of the segment data; or, the position information includes the segment data Offset of the first byte and offset of the last byte.

進一步地,上述分段情況指示的指示方式可以根據實際需要 進行設置,例如,在一實施例中,上述分段情況指示可以包括位於RLC PDU資料包頭部的2比特(bit),用於指示該RLC PDU資料包的分段情況,該分段情況包括:完整資料包、第一個分段、中間分段和最後一個分段。 Further, the indication manner of the segmentation condition indication may be set according to actual needs. For example, in one embodiment, the segmentation condition indication may include 2 bits located at the head of the RLC PDU data packet, which is used to indicate The segmentation status of the RLC PDU data packet. The segmentation status includes: the complete data packet, the first segment, the middle segment, and the last segment.

在本實施例中,2比特標識的具體含義可以根據實際需要進行,例如,在可以採用00表示一個完整資料包、採用01表示第一個分段、採用10表示中間分段以及採用11表示最後一個分段。此外還可以採用其他的表示方式,例如,採用10表示最後一個分段,採用11標識中間分段等等,在此不再一一列舉。 In this embodiment, the specific meaning of the 2-bit identification can be performed according to actual needs. For example, 00 can be used to indicate a complete data packet, 01 to be the first segment, 10 to be the middle segment, and 11 to be the last. A segment. In addition, other representation methods can also be used, for example, 10 is used to indicate the last segment, 11 is used to identify the middle segment, and so on, which are not listed here one by one.

在另一實施方式中,分段情況指示可以包括位於RLC PDU資料包頭部的2比特,其中1比特用於指示RLC PDU資料包是否為分段RLC PDU資料包,1比特用於指示RLC PDU資料包是否為最後一個分段或者第一個分段。 In another embodiment, the segmentation condition indication may include 2 bits located in the header of the RLC PDU data packet, where 1 bit is used to indicate whether the RLC PDU data packet is a segmented RLC PDU data packet, and 1 bit is used to indicate the RLC PDU. Whether the packet is the last segment or the first segment.

本實施例中,可以在1比特中用1表示分段RLC PDU資料包,用0表示完整RLC PDU資料包。然後在另1比特中可以用0表示最後一個分段,用1表示並非最後一個分段,也可以用0表示第一個分段,用1表示並非第一個分段。此外還可以採用其他的表示方式,在此不再一一列舉。 In this embodiment, a segmented RLC PDU data packet may be represented by 1 in 1 bit, and a complete RLC PDU data packet may be represented by 0. Then in the other 1 bit, 0 can be used to indicate the last segment, 1 can be used to indicate that it is not the last segment, 0 can be used to indicate the first segment, and 1 can be used to indicate that it is not the first segment. In addition, other representations can also be used, which will not be listed here one by one.

以下將以一個具體實例初始資料包、完整RLC PDU資料包和分段RLC PDU資料包之間的關係進行詳細說明。 The relationship between the initial data packet, the complete RLC PDU data packet, and the segmented RLC PDU data packet will be described in detail below with a specific example.

例如,初始資料包的大小為500位元組,則組成RLC PDU資料部分也為500位元組,當可以把500位元組大小資料和頭部一次性發送時,可以在頭部以00指示這是一個完整RLC PDU資料包。當只能容納200 位元組時,需要對初始資料包進行分段處理。將初始資料包中的[0,200]位元組的資料作為第一分段的分段RLC PDU資料包中的分段資料,並在該第一分段的分段RLC PDU資料包的頭部指示SI為01,且不需要SO域(由於首個預設開始位元組為0),LI域為200;將[200,400]位元組的資料作為中間分段的分段RLC PDU資料包中的分段資料,並在該中間分段的分段RLC PDU資料包的頭部指示SI為10,SO域為200,LI域為200;將[400,500]位元組的資料作為最後一個分段的分段RLC PDU資料包中的分段資料,並在該最後一個分段的分段RLC PDU資料包的頭部指示SI為11,SO域為400,LI域為100。 For example, if the size of the initial data packet is 500 bytes, the RLC PDU data part is also 500 bytes. When the 500 byte size data and the header can be sent at one time, it can be indicated with 00 in the header. This is a complete RLC PDU packet. When only 200 bytes can be accommodated, the initial packet needs to be segmented. [0,200] byte data in the initial data packet is used as the segment data in the first segment segment RLC PDU packet, and the header of the first segment segment RLC PDU packet is indicated SI is 01, and the SO field is not required (because the first preset start byte is 0), and the LI field is 200; the data of the [200,400] byte is used as the intermediate RLC PDU packet in the segment. Segmented data, and the header of the segmented RLC PDU data packet in the middle segment indicates that the SI is 10, the SO field is 200, and the LI field is 200; the data of the [400,500] byte is used as the last segmented The segment information in the segment RLC PDU data packet, and the header of the segment RLC PDU data packet of the last segment indicates that the SI is 11, the SO field is 400, and the LI field is 100.

基於圖1所示的網路結構,本發明實施例提供了另一種協定資料單元傳輸資料的方法,參照圖3,基於上述實施例,本實施例提供的協定資料單元傳輸資料的方法應用於資料傳輸的接收端,用於對上述實施例中發送的RLC PDU資料包進行接收。具體地,如圖3所示,本實施例提供的協定資料單元傳輸資料的方法,包括:步驟301,接收RLC PDU資料包,該RLC PDU資料包攜帶有分段情況指示;步驟302,根據該分段情況指示確定,該RLC PDU資料包為分段RLC PDU資料包還是完整RLC PDU資料包;步驟303,若為完整RLC PDU資料包,向PDCP實體發送該完整RLC PDU資料包;步驟304,若為分段RLC PDU資料包,對分段RLC PDU資料包進行重組,並向該PDCP實體發送重組後的資料包。 Based on the network structure shown in FIG. 1, an embodiment of the present invention provides another method for transmitting data by a protocol data unit. Referring to FIG. 3, based on the foregoing embodiment, the method for transmitting data by a protocol data unit provided in this embodiment is applied to data. The receiving end of the transmission is configured to receive the RLC PDU data packet sent in the foregoing embodiment. Specifically, as shown in FIG. 3, the method for transmitting data by the contract data unit provided in this embodiment includes: Step 301, receiving an RLC PDU data packet, where the RLC PDU data packet carries an indication of segmentation conditions; step 302, according to the The segmentation condition indicates whether the RLC PDU data packet is a segmented RLC PDU data packet or a complete RLC PDU data packet; step 303, if it is a complete RLC PDU data packet, send the complete RLC PDU data packet to the PDCP entity; step 304, If it is a segmented RLC PDU data packet, the segmented RLC PDU data packet is reorganized, and the reorganized data packet is sent to the PDCP entity.

本實施例中,對於接收端而言,每接收到一個RLC PDU資料包,將會根據RLC PDU資料包頭部的SI域先判斷當前接收到的RLC PDU資料包是分段RLC PDU資料包還是分段RLC PDU資料包。若為完整RLC PDU資料包,則直接遞交給高層(PDCP實體);若為分段RLC PDU資料包,則將會進行分段RLC PDU資料包的重組。 In this embodiment, for the receiving end, every time an RLC PDU data packet is received, it will first determine whether the currently received RLC PDU data packet is a segmented RLC PDU data packet or an SI field according to the SI field in the header of the RLC PDU data packet. Segmented RLC PDU packet. If it is a complete RLC PDU data packet, it will be directly submitted to the upper layer (PDCP entity); if it is a segmented RLC PDU data packet, the segmented RLC PDU data packet will be reorganized.

本發明實施例中,由於在完整RLC PDU資料包中未分配SN,從而在接收端無需進行排序,在接收端接收到完整RLC PDU資料包後,可以直接轉發至高層,因此降低了層二資料處理流程複雜度,提高了效率。 In the embodiment of the present invention, because no SN is allocated in the complete RLC PDU data packet, no sequencing is required at the receiving end. After receiving the complete RLC PDU data packet at the receiving end, it can be directly forwarded to the upper layer, thereby reducing layer 2 data. The complexity of the processing process improves efficiency.

可選地,若該RLC PDU資料包為分段RLC PDU資料包時,該分段RLC PDU資料包中還攜帶有用於標識分段RLC PDU資料包的SN,若該SN不具有標識位置資訊的功能,該分段RLC PDU資料包還攜帶有位置資訊,該位置資訊用於標識該分段RLC PDU資料包中初始資料包的分段資料位於該初始資料包的位置;該對分段RLC PDU資料包進行重組包括:根據該SN和該分段情況指示對分段RLC PDU資料包進行重組,或者根據該SN、分段情況指示和位置資訊對分段RLC PDU資料包進行重組。 Optionally, if the RLC PDU data packet is a segmented RLC PDU data packet, the segmented RLC PDU data packet also carries an SN used to identify the segmented RLC PDU data packet. Function, the segmented RLC PDU data packet also carries location information, which is used to identify the segmented data of the initial data packet in the segmented RLC PDU data packet at the location of the initial data packet; the pair of segmented RLC PDUs The reorganization of the data packet includes: reorganizing the segmented RLC PDU data packet according to the SN and the segmentation situation indication, or reorganizing the segmented RLC PDU data packet according to the SN, the segmentation situation indication, and location information.

應理解,針對不同的SN配置方式,進行重組的方式也不同,以下對此進行詳細說明。 It should be understood that, for different SN configuration methods, the reorganization method is different, which will be described in detail below.

可選地,在第一種方式中:若不同的分段RLC PDU資料包的SN遞增,則該SN具有標識位置資訊的功能,根據該SN和該分段情況指示對分段RLC PDU資料包進行重組。 Optionally, in the first method: if the SN of a different segment RLC PDU data packet increases, the SN has a function of identifying location information, and indicates to the segment RLC PDU data packet according to the SN and the segment condition. Reorganize.

在第二種方式中:若一個初始資料包對應的不同分段RLC PDU資料包的SN均相同,則該SN不具有標識位置資訊的功能,根據該SN、分段情況指示和位置資訊對分段RLC PDU資料包進行重組。 In the second method: if the SNs of different RLC PDU data packets corresponding to an initial data packet are the same, the SN does not have the function of identifying location information. Segment RLC PDU packets are reassembled.

具體地,在第一種方式中,根據該SN和該分段情況指示對分段RLC PDU資料包進行重組的步驟,包括:按照該分段RLC PDU資料包的SN順序對該分段RLC PDU資料包進行排列;根據該分段情況指示中所指示的第一個分段和/或最後一個分段,對排列的分段RLC PDU資料包進行重組。 Specifically, in the first manner, the step of reorganizing the segmented RLC PDU data packet according to the SN and the segmentation condition includes: according to the SN order of the segmented RLC PDU data packet, the segmented RLC PDU. The data packets are arranged; according to the first segment and / or the last segment indicated in the segment condition indication, the arranged segment RLC PDU data packets are reorganized.

可選地,在分段RLC PDU資料包重組的過程中,判斷是否存在序列缺口(gap);若存在序列缺口,則啟動第一計時器計時,並將當前接收到的最大SN記錄為觸發該第一計時器啟動的目標SN;判斷該第一計時器超過第一預設計時時間前,該目標SN之前的序列缺口是否被填滿;若該目標SN之前的序列缺口未被填滿,則刪除該目標SN之前未重組的分段RLC PDU資料包。 Optionally, in the process of reassembling the segmented RLC PDU data packet, it is determined whether there is a sequence gap; if there is a sequence gap, a first timer is started to count, and the currently received maximum SN is recorded as the trigger. The target SN started by the first timer; determining whether the sequence gap before the target SN is filled before the first timer exceeds the first preset time; if the sequence gap before the target SN is not filled, then Delete the segmented RLC PDU data packet that has not been reassembled before the target SN.

也就是說,在第一種方式中,進行重組時,當遇到第一個分段的指示,則開始一個新的分段RLC PDU資料包重組,當遇到最後一個分段的指示,則結束該分段RLC PDU資料包的重組。如果中間出現亂序接收(即存在缺口),則啟動計時器等待,並記錄觸發計時器的SN,計時器超時之前,記錄觸發計時器的SN之前的接收缺口被填滿,則正常組包,後續無缺口則停止計時器,如有缺口繼續啟動,並記錄當前接收最高的SN為觸 發計時器的SN。計時器超時之後,如果仍舊有接收缺口,則記錄的觸發計時器SN之前的缺口均不等待,刪除觸發計時器SN之前的所有未重組成功的分段RLC PDU資料包,以清除緩存。 That is, in the first method, when reorganization is performed, when an indication of the first segment is encountered, a new segment RLC PDU data packet reassembly is started. When an instruction of the last segment is encountered, then End the reassembly of the segmented RLC PDU data packet. If out-of-order reception occurs (that is, there is a gap), the timer is started to wait and record the SN that triggered the timer. Before the timer expires, the reception gap before the record that triggered the SN of the timer is filled, and the packet is normal. If there is no gap, the timer will be stopped. If there is a gap, the timer will be started, and the highest SN currently received is the SN that triggered the timer. After the timer expires, if there is still a receiving gap, the gaps before the triggered timer SN are not waited, and all unsuccessful segment RLC PDU data packets before the triggered timer SN are deleted to clear the cache.

需要注意的是,對於連續SN的分段,具有明確的第一個分段標記和最後一個分段標記,才可以進行重組。例如接收佇列中,SN=3第一分段,SN=7第一分段,SN=8中間分段,SN=9最後一個分段,SN=13最後一個分段,則對於7、8、9三個連續分段,有明確的頭尾,則可以重組成功,重組成功後將重組的資料發送給高層。後續如果又接收到SN=4最後一個分段,則3、4可以重組成RLC PDU資料包遞交。遞交高層的資料不需要按順序,例如不需要強制7、8、9組成的RLC PDU資料包一定在3、4組成的RLC PDU資料包後面遞交高層,可以重組成功即遞交。 It should be noted that, for the segmentation of consecutive SNs, only the first segmentation flag and the last segmentation flag are clear before reorganization can be performed. For example, in the receiving queue, SN = 3 first segment, SN = 7 first segment, SN = 8 middle segment, SN = 9 last segment, SN = 13 last segment, then for 7, 8 Three consecutive segments, 9 and 9 with clear heads and tails, can be successfully reorganized. After the reorganization is successful, the reorganized data will be sent to the senior management. If the SN = 4 last segment is received subsequently, 3 and 4 can be reassembled and submitted as RLC PDU data packets. The submission of high-level data does not need to be in order. For example, it is not necessary to force the RLC PDU data packets composed of 7, 8, and 9 to be submitted to the high-level behind the RLC PDU data packets composed of 3, 4. It can be submitted after successful reorganization.

當發生明顯錯誤時,可以進行記錄,例如SN=3為第一分段,SN=4也為第一分段,或者SN=10為最後一個分段,SN=11也是最後一個分段,可以將錯誤次數進行累加,如果錯誤次數超過一定門限,向高層或者對端上報。 When an obvious error occurs, you can record. For example, SN = 3 is the first segment, SN = 4 is the first segment, or SN = 10 is the last segment, and SN = 11 is the last segment. Accumulate the number of errors. If the number of errors exceeds a certain threshold, report it to the upper layer or the peer.

在第二種方式中:根據該SN、分段情況指示和位置資訊對分段RLC PDU資料包進行重組的步驟,包括:將相同的SN對應的RLC PDU資料包作為一組待重組資料包,根據位置資訊對分段RLC PDU資料包進行重組。 In the second method, the step of reassembling the segmented RLC PDU data packet according to the SN, the segmentation condition indication, and the location information includes: using the RLC PDU data packet corresponding to the same SN as a group of data packets to be reorganized, Reassembly of segmented RLC PDU packets based on location information.

例如,接收端先收到SN=0的第一個分段,SI=01(第一個分段),長度200位元組,即初始資料包的[0,200]位元組,接著收到SN=0的另一個分段,SI=10(中間分段),SO=200,LI=300,即初始資料包的[200,500] 位元組,最後接收到SN=0的另一個分段,SI=11(最後一個分段),SO=500,LI=300,即初始資料包的[500,800]位元組,並且SI類型指示這是最後一個分段,於是接收端可以將上述三個分段按序串接起來形成原始800位元組的完整RLC PDU資料包。 For example, the receiving end first receives the first segment with SN = 0, SI = 01 (the first segment), and a length of 200 bytes, that is, the [0,200] bytes of the initial data packet, and then receives the SN = 0 another segment, SI = 10 (intermediate segment), SO = 200, LI = 300, which is the [200,500] bytes of the initial packet, and finally received another segment with SN = 0, SI = 11 (last segment), SO = 500, LI = 300, that is, the [500,800] bytes of the initial packet, and the SI type indicates that this is the last segment, so the receiving end can divide the above three segments Sequentially concatenated to form the original 800-byte complete RLC PDU data packet.

可以理解的是,在分段RLC PDU資料包重組的過程中,確定是否重組失敗的方式可以根據實際需要進行設置。 It can be understood that, in the process of reassembling the segmented RLC PDU data packet, a manner for determining whether the reorganization fails can be set according to actual needs.

例如,在一實施方式中,上述根據該SN、分段情況指示和位置資訊對分段RLC PDU資料包進行重組的步驟,還包括:在分段RLC PDU資料包重組的過程中,根據該位置資訊判斷當前接收的分段RLC PDU資料包之前是否存在未接收的目標分段RLC PDU資料包;若該當前接收的分段RLC PDU資料包之前存在未接收的目標分段RLC PDU資料包,則啟動第二計時器;若該第二計時器超過第二預設計時時間,仍未接收到該目標分段RLC PDU資料包,則刪除該目標分段RLC PDU資料包對應的一組待重組資料包。 For example, in one embodiment, the step of reorganizing the segmented RLC PDU data packet according to the SN, the segmentation condition indication, and the location information further includes: during the reassembly of the segmented RLC PDU data packet, according to the position The information determines whether there is an unreceived target segment RLC PDU data packet before the currently received segment RLC PDU data packet; if there is an unreceived target segment RLC PDU data packet before the currently received segment RLC PDU data packet, then Start the second timer; if the second timer exceeds the second preset time and has not received the target segment RLC PDU data packet, delete a set of data to be reorganized corresponding to the target segment RLC PDU data packet package.

在另一實施方式中,上述根據該SN、分段情況指示和位置資訊對分段RLC PDU資料包進行重組的步驟,還包括:在分段RLC PDU資料包重組的過程中,當首次接收到目標初始資料包對應的任意一個分段RLC PDU資料包時,啟動第三計時器;若該第三計時器超過第三預設計時時間,仍未接收到該目標初始資料包對應的所有分段RLC PDU資料包,則將該目標初始資料包對應的已接收 分段RLC PDU資料包刪除。 In another embodiment, the step of reassembling the segmented RLC PDU data packet according to the SN, the segmentation status indication, and the location information further includes: in the process of reassembling the segmented RLC PDU data packet, when it is first received When any RLC PDU data packet corresponding to the target initial data packet starts a third timer; if the third timer exceeds the third preset time, all segments corresponding to the target initial data packet have not been received For the RLC PDU data packet, the received segment RLC PDU data packet corresponding to the target initial data packet is deleted.

可選地,上述用於標識分段RLC PDU資料包的SN包括為該分段RLC PDU資料包分配的SN,或者該初始資料包中攜帶的SN。也就是說,用於標識分段RLC PDU資料包的SN可以為發送端為每一分段RLC PDU資料包分配的SN,也可以是複用初始資料包中的SN。 Optionally, the SN used to identify the segmented RLC PDU data packet includes the SN allocated for the segmented RLC PDU data packet, or the SN carried in the initial data packet. That is, the SN used to identify the segment RLC PDU data packet may be the SN allocated by the sender for each segment RLC PDU data packet, or it may be the SN in the multiplexed initial data packet.

可選地,上述位置資訊的內容可以根據實際需要進行設置,只要能夠標識出每一分段RLC PDU資料包中的分段資料位於初始資料包中的位置即可。例如,該位置資訊可以包括該分段資料在該初始資料包中的偏移量SO(Segment offset)和該分段資料的長度LI(Length Indicator);或者,該位置資訊包括該分段資料中首個位元組的偏移量和末個位元組的偏移量。 Optionally, the content of the above location information can be set according to actual needs, as long as it can identify the location of the segment data in each segment RLC PDU data packet in the initial data packet. For example, the position information may include an offset SO (Segment offset) of the segment data in the initial data packet and a length indicator LI (Length Indicator) of the segment data; or, the position information includes the segment data Offset of the first byte and offset of the last byte.

進一步地,上述分段情況指示的指示方式可以根據實際需要進行設置,例如,在一實施例中,上述分段情況指示可以包括位於RLC PDU資料包頭部的2比特,用於指示該RLC PDU資料包的分段情況,該分段情況包括:完整資料包、第一個分段、中間分段和最後一個分段。 Further, the indication manner of the segmentation condition indication may be set according to actual needs. For example, in an embodiment, the segmentation condition indication may include 2 bits located at the head of the RLC PDU data packet, which is used to indicate the RLC PDU. The segmentation of the data package, which includes: the complete data package, the first segment, the middle segment, and the last segment.

在本實施例中,2比特標識的具體含義可以根據實際需要進行,例如,在可以採用00表示一個完整資料包、採用01表示第一個分段、採用10表示中間分段以及採用11表示最後一個分段。此外還可以採用其他的表示方式,例如,採用10表示最後一個分段,採用11標識中間分段等等,在此不再一一列舉。 In this embodiment, the specific meaning of the 2-bit identification can be performed according to actual needs. For example, 00 can be used to indicate a complete data packet, 01 to be the first segment, 10 to be the middle segment, and 11 to be the last. A segment. In addition, other representation methods can also be used, for example, 10 is used to indicate the last segment, 11 is used to identify the middle segment, and so on, which are not listed here one by one.

在另一實施方式中,分段情況指示可以包括位於RLC PDU資料包頭部的2比特,其中1比特用於指示RLC PDU資料包是否為分段RLC PDU資料包,1比特用於指示RLC PDU資料包是否為最後一個分段或者第一個分段。 In another embodiment, the segmentation condition indication may include 2 bits located in the header of the RLC PDU data packet, where 1 bit is used to indicate whether the RLC PDU data packet is a segmented RLC PDU data packet, and 1 bit is used to indicate the RLC PDU. Whether the packet is the last segment or the first segment.

本實施例中,可以在1比特中用1表示分段RLC PDU資料包,用0表示完整RLC PDU資料包。然後在另1比特中可以用0表示最後一個分段,用1表示並非最後一個分段,也可以用0表示第一個分段,用1表示並非第一個分段。此外還可以採用其他的表示方式,在此不再一一列舉。 In this embodiment, a segmented RLC PDU data packet may be represented by 1 in 1 bit, and a complete RLC PDU data packet may be represented by 0. Then in the other 1 bit, 0 can be used to indicate the last segment, 1 can be used to indicate that it is not the last segment, 0 can be used to indicate the first segment, and 1 can be used to indicate that it is not the first segment. In addition, other representations can also be used, which will not be listed here one by one.

進一步地,需要說明的是,由於接收端不使用SN的資料包無法知道順序,從而使得遞交到PDCP實體中的RLC PDU資料包為亂序的。對於當前的設計,PDCP需要有SN用於安全等操作,因此PDCP SN(初始資料包中的SN)一般總是存在,也就是說PDCP SN是具備基於SN進行重排序的可能的。 Further, it should be noted that, because the receiving end cannot know the sequence without using the SN data packet, the RLC PDU data packet submitted to the PDCP entity is out of order. For the current design, the PDCP needs an SN for security and other operations. Therefore, the PDCP SN (the SN in the initial data packet) always exists, which means that the PDCP SN has the possibility of reordering based on the SN.

對於PDCP重排序,其主要是在檢測到亂序接收時,啟動重排序計時器,並記錄此時的最高接收SN為重排序SN,在計時器超時之前,如果該重排序SN之前的接收缺口均已填滿,則可以停止計時器,並探查後續是否還有接收缺口,如果有缺口,則繼續啟動重排序計時器,記錄最高接收SN為重排序SN。如果重排序計時器超時,重排序SN之前仍有缺口,則放棄缺口的等待。 For PDCP reordering, it is mainly to start the reordering timer when out-of-order reception is detected, and record the highest receiving SN at this time as the reordering SN. Before the timer expires, if the receiving gap before the reordering SN is gapped If they are all filled, you can stop the timer and investigate whether there is a receiving gap in the future. If there is a gap, continue to start the reordering timer and record the highest receiving SN as the reordering SN. If the reordering timer expires and there is still a gap before reordering the SN, the waiting for the gap is abandoned.

參照圖4,圖中示出了一種協定資料單元傳輸資料的裝置,包括:第一接收模組401,用於接收PDCP實體發送的初始資料包;第一處理模組402,用於將該初始資料包封裝成完整RLC PDU資料包, 或者至少兩個分段RLC PDU資料包;其中,該完整RLC PDU資料包和每一該分段RLC PDU資料包中均攜帶有分段情況指示,若將該初始資料包封裝成完整RLC PDU資料包,則不對該RLC PDU資料包分配序號SN。 Referring to FIG. 4, a device for transmitting data by a protocol data unit is shown, including: a first receiving module 401 for receiving an initial data packet sent by a PDCP entity; and a first processing module 402 for receiving the initial data packet. The data packet is encapsulated into a complete RLC PDU data packet, or at least two segmented RLC PDU data packets. The complete RLC PDU data packet and each of the segmented RLC PDU data packets carry a segmentation status indication. The initial data packet is encapsulated into a complete RLC PDU data packet, and no serial number SN is assigned to the RLC PDU data packet.

可選地,若將該初始資料包封裝成至少兩個分段RLC PDU資料包,每一該分段RLC PDU資料包中還攜帶有用於標識分段RLC PDU資料包的SN,若該SN不具有標識位置資訊的功能,則每一該分段RLC PDU資料包還攜帶有位置資訊,該位置資訊用於標識該分段RLC PDU資料包中初始資料包的分段資料位於該初始資料包的位置。 Optionally, if the initial data packet is encapsulated into at least two segmented RLC PDU data packets, each segmented RLC PDU data packet also carries an SN for identifying the segmented RLC PDU data packet. With the function of identifying location information, each segment RLC PDU data packet also carries location information, and the location information is used to identify that the segment data of the initial data packet in the segment RLC PDU data packet is located in the initial data packet. position.

可選地,該SN包括為該分段RLC PDU資料包分配的SN,或者該初始資料包中攜帶的SN。 Optionally, the SN includes an SN allocated for the segmented RLC PDU data packet, or an SN carried in the initial data packet.

可選地,若該SN是為分段RLC PDU資料包配置的SN時,一個初始資料包對應的不同分段RLC PDU資料包的SN均相同;或者,不同的分段RLC PDU資料包的SN遞增。 Optionally, if the SN is an SN configured for segmented RLC PDU data packets, the SNs of different segmented RLC PDU data packets corresponding to an initial data packet are the same; or, the SNs of different segmented RLC PDU data packets are the same Incrementally.

可選地,該位置資訊包括該分段資料在該初始資料包中的偏移量和該分段資料的長度;或者,該位置資訊包括該分段資料中首個位元組的偏移量和末個位元組的偏移量。 Optionally, the position information includes an offset of the segmented data in the initial data packet and a length of the segmented data; or, the position information includes an offset of a first byte in the segmented data Offset from the last byte.

可選地,該分段情況指示包括位於RLC PDU資料包頭部的2比特,用於指示該RLC PDU資料包的分段情況,該分段情況包括:完整資料包、第一個分段、中間分段和最後一個分段。 Optionally, the segmentation condition indication includes 2 bits located in the header of the RLC PDU data packet, and is used to indicate the segmentation condition of the RLC PDU data packet. The segmentation condition includes: a complete data packet, a first segment, The middle segment and the last segment.

可選地,該分段情況指示包括位於RLC PDU資料包頭部的 2比特,其中1比特用於指示RLC PDU資料包是否為分段RLC PDU資料包,1比特用於指示RLC PDU資料包是否為最後一個分段或者第一個分段。 Optionally, the segmentation indication includes 2 bits located at the head of the RLC PDU data packet, where 1 bit is used to indicate whether the RLC PDU data packet is a segmented RLC PDU data packet, and 1 bit is used to indicate whether the RLC PDU data packet is For the last segment or the first segment.

參照圖5,圖中示出了另一種協定資料單元傳輸資料的裝置,包括:第二接收模組501,用於接收RLC PDU資料包,該RLC PDU資料包攜帶有分段情況指示;確定模組502,用於根據該分段情況指示確定,該RLC PDU資料包為分段RLC PDU資料包還是完整RLC PDU資料包;第二處理模組503,用於若為完整RLC PDU資料包,向PDCP實體發送該完整RLC PDU資料包;若為分段RLC PDU資料包,對分段RLC PDU資料包進行重組,並向該PDCP實體發送重組後的資料包。 Referring to FIG. 5, there is shown another device for transmitting data in a protocol data unit, including: a second receiving module 501 for receiving an RLC PDU data packet, the RLC PDU data packet carrying a segmentation condition indication; a determining mode Group 502 is used to determine whether the RLC PDU data packet is a segmented RLC PDU data packet or a complete RLC PDU data packet according to the segmentation condition indication; a second processing module 503 is configured to send a complete RLC PDU data packet to the The PDCP entity sends the complete RLC PDU data packet; if it is a segmented RLC PDU data packet, the segmented RLC PDU data packet is reorganized, and the reorganized data packet is sent to the PDCP entity.

可選地,若該RLC PDU資料包為分段RLC PDU資料包時,該分段RLC PDU資料包中還攜帶有用於標識分段RLC PDU資料包的SN,若該SN不具有標識位置資訊的功能,該分段RLC PDU資料包還攜帶有位置資訊,該位置資訊用於標識該分段RLC PDU資料包中初始資料包的分段資料位於該初始資料包的位置;該第二處理模組503具體用於:根據該SN和該分段情況指示對分段RLC PDU資料包進行重組,或者根據該SN、分段情況指示和位置資訊對分段RLC PDU資料包進行重組。 Optionally, if the RLC PDU data packet is a segmented RLC PDU data packet, the segmented RLC PDU data packet also carries an SN used to identify the segmented RLC PDU data packet. Function, the segmented RLC PDU data packet also carries location information, and the location information is used to identify that the segmented data of the initial data packet in the segmented RLC PDU data packet is located in the initial data packet; the second processing module 503 is specifically used to: reorganize the segmented RLC PDU data packet according to the SN and the segmentation situation indication, or reorganize the segmented RLC PDU data packet according to the SN, the segmentation situation indication, and location information.

可選地,若不同的分段RLC PDU資料包的SN遞增,則該SN具有標識位置資訊的功能,根據該SN和該分段情況指示對分段RLC PDU資料包進行重組; 若一個初始資料包對應的不同分段RLC PDU資料包的SN均相同,則該SN不具有標識位置資訊的功能,根據該SN、分段情況指示和位置資訊對分段RLC PDU資料包進行重組。 Optionally, if the SN of a different segment RLC PDU data packet is increased, the SN has a function of identifying location information, and the segment RLC PDU data packet is reorganized according to the SN and the segment condition indication; if an initial data The SNs of the different RLC PDU data packets corresponding to the packet are all the same, so the SN does not have the function of identifying location information, and the segmented RLC PDU data packets are reorganized according to the SN, the segmentation condition indication, and the location information.

可選地,參照圖6,該第二處理模組503包括:排列子模組50301,用於按照該分段RLC PDU資料包的SN順序對該分段RLC PDU資料包進行排列;第一重組子模組50302,用於根據該分段情況指示中所指示的第一個分段和/或最後一個分段,對排列的分段RLC PDU資料包進行重組。 Optionally, referring to FIG. 6, the second processing module 503 includes: an arranging submodule 50301 for arranging the segmented RLC PDU data packet according to the SN order of the segmented RLC PDU data packet; a first reorganization A sub-module 50302 is configured to reorganize the arranged segment RLC PDU data packets according to the first segment and / or the last segment indicated in the segment condition indication.

可選地,參照圖7,該第二處理模組503還包括:第一判斷子模組50303,用於在分段RLC PDU資料包重組的過程中,判斷是否存在序列缺口;第一啟動子模組50304,用於若存在序列缺口,則啟動第一計時器計時,並將當前接收到的最大SN記錄為觸發該第一計時器啟動的目標SN;第二判斷子模組50305,用於判斷該第一計時器超過第一預設計時時間前,該目標SN之前的序列缺口是否被填滿;第一處理子模組50306,用於若該目標SN之前的序列缺口未被填滿,則刪除該目標SN之前未重組的分段RLC PDU資料包。 Optionally, referring to FIG. 7, the second processing module 503 further includes: a first determination submodule 50303, which is used to determine whether a sequence gap exists during the reassembly of the segmented RLC PDU data packet; the first promoter Module 50304 is used to start the first timer if there is a sequence gap, and record the currently received maximum SN as the target SN that triggers the start of the first timer; the second judgment submodule 50305 is used to: Judging whether the sequence gap before the target SN is filled before the first timer exceeds the first preset time; the first processing submodule 50306 is used if the sequence gap before the target SN is not filled, Then, the segment RLC PDU data packet that has not been reassembled before the target SN is deleted.

可選地,參照圖8,該第二處理模組503包括:第二重組子模組50310,用於將相同的SN對應的RLC PDU資料包作為一組待重組資料包,根據位置資訊對分段RLC PDU資料包進行重組。 Optionally, referring to FIG. 8, the second processing module 503 includes: a second reorganization submodule 50310, configured to use the RLC PDU data packets corresponding to the same SN as a group of data packets to be reorganized, and divide them according to the location information. Segment RLC PDU packets are reassembled.

可選地,參照圖9,該第二處理模組503還包括:第三判斷子模組50311,用於在分段RLC PDU資料包重組的過程中, 根據該位置資訊判斷當前接收的分段RLC PDU資料包之前是否存在未接收的目標分段RLC PDU資料包;第二啟動子模組50312,用於若該當前接收的分段RLC PDU資料包之前存在未接收的目標分段RLC PDU資料包,則啟動第二計時器;第二處理子模組50313,用於若該第二計時器超過第二預設計時時間,仍未接收到該目標分段RLC PDU資料包,則刪除該目標分段RLC PDU資料包對應的一組待重組資料包。 Optionally, referring to FIG. 9, the second processing module 503 further includes a third determination submodule 50311, which is used to determine the currently received segment according to the location information during the segment RLC PDU data packet reassembly process. Whether there is an unreceived target segment RLC PDU data packet before the RLC PDU data packet; the second activation submodule 50312 is used if there is an unreceived target segment RLC PDU data before the currently received segment RLC PDU data packet Packet, a second timer is started; a second processing submodule 50313 is used to delete the target if the second timer exceeds the second preset time period and the target segment RLC PDU data packet has not been received A group of to-be-reassembled data packets corresponding to the segmented RLC PDU data packets.

或者,參照圖10,該第二處理模組503還包括:第三啟動子模組50314,用於在分段RLC PDU資料包重組的過程中,當首次接收到目標初始資料包對應的任意一個分段RLC PDU資料包時,啟動第三計時器;第三處理子模組50315,用於若該第三計時器超過第三預設計時時間,仍未接收到該目標初始資料包對應的所有分段RLC PDU資料包,則將該目標初始資料包對應的已接收分段RLC PDU資料包刪除。 Alternatively, referring to FIG. 10, the second processing module 503 further includes: a third startup sub-module 50314, which is used to receive any one of the target initial data packets for the first time during the segmented RLC PDU data packet reassembly process. When segmenting the RLC PDU data packet, a third timer is started; the third processing sub-module 50315 is used for if the third timer exceeds the third preset timing time and has not received all the corresponding data of the target initial data packet For a segmented RLC PDU data packet, the received segmented RLC PDU data packet corresponding to the target initial data packet is deleted.

可選地,該SN包括為該RLC PDU資料包分配的SN,或者該初始資料包中攜帶的SN。 Optionally, the SN includes an SN allocated for the RLC PDU data packet, or an SN carried in the initial data packet.

可選地,該位置資訊包括該分段資料在該初始資料包中的偏移量和該分段資料的長度;或者,該位置資訊包括該分段資料中首個位元組的偏移量和末個位元組的偏移量。 Optionally, the position information includes an offset of the segmented data in the initial data packet and a length of the segmented data; or, the position information includes an offset of a first byte in the segmented data Offset from the last byte.

可選地,該分段情況指示包括位於RLC PDU資料包頭部的2比特,用於指示該RLC PDU資料包的分段情況,該分段情況包括:完整 資料包、第一個分段、中間分段和最後一個分段。 Optionally, the segmentation condition indication includes 2 bits located in the header of the RLC PDU data packet, and is used to indicate the segmentation condition of the RLC PDU data packet. The segmentation condition includes: a complete data packet, a first segment, The middle segment and the last segment.

可選地,該分段情況指示包括位於RLC PDU資料包頭部的2比特,其中1比特用於指示RLC PDU資料包是否為分段RLC PDU資料包,1比特用於指示RLC PDU資料包是否為最後一個分段或者第一個分段。 Optionally, the segmentation indication includes 2 bits located at the head of the RLC PDU data packet, where 1 bit is used to indicate whether the RLC PDU data packet is a segmented RLC PDU data packet, and 1 bit is used to indicate whether the RLC PDU data packet is For the last segment or the first segment.

本發明實施例中,通過接收PDCP實體發送的初始資料包;將該初始資料包封裝成完整RLC PDU資料包,或者至少兩個分段RLC PDU資料包;其中,該完整RLC PDU資料包和每一該分段RLC PDU資料包中均攜帶有分段情況指示,若將該初始資料包封裝成完整RLC PDU資料包,則不對該RLC PDU資料包分配序號SN。由於在完整RLC PDU資料包中未分配SN,從而在接收端無需進行排序,在接收端接收到完整RLC PDU資料包後,可以直接轉發至高層,因此降低了層二資料處理流程複雜度,提高了效率。 In the embodiment of the present invention, the initial data packet sent by the PDCP entity is received; the initial data packet is encapsulated into a complete RLC PDU data packet, or at least two segmented RLC PDU data packets; wherein the complete RLC PDU data packet and each A segmentation condition indication is carried in the segmented RLC PDU data packet. If the initial data packet is encapsulated into a complete RLC PDU data packet, the serial number SN is not assigned to the RLC PDU data packet. Because no SN is allocated in the complete RLC PDU data packet, no sequencing is required at the receiving end. After receiving the complete RLC PDU data packet at the receiving end, it can be directly forwarded to the upper layer, thereby reducing the complexity of the layer 2 data processing flow and improving Out of efficiency.

參見圖11,圖中示出一種協定資料單元傳輸資料的裝置的結構,該協定資料單元傳輸資料的裝置包括:處理器1100、收發機1110、記憶體1120、使用者介面1130和匯流排介面,其中:處理器1100,用於讀取記憶體1120中的程式,執行下列過程:接收PDCP實體發送的初始資料包;將該初始資料包封裝成完整RLC PDU資料包,或者至少兩個分段RLC PDU資料包;其中,該完整RLC PDU資料包和每一該分段RLC PDU資料包中均攜帶有分段情況指示,若將該初始資料包封裝成完整RLC PDU資料包,則不對該RLC PDU資料包分配序號SN。 Referring to FIG. 11, a structure of a device for transmitting data by a protocol data unit is shown. The device for transmitting data by a protocol data unit includes a processor 1100, a transceiver 1110, a memory 1120, a user interface 1130, and a bus interface. Wherein: the processor 1100 is configured to read the program in the memory 1120 and execute the following processes: receiving an initial data packet sent by the PDCP entity; encapsulating the initial data packet into a complete RLC PDU data packet, or at least two segmented RLCs PDU data packet; among them, the complete RLC PDU data packet and each of the segmented RLC PDU data packets carry segmentation indications. If the initial data packet is encapsulated into a complete RLC PDU data packet, the RLC PDU is not sent to the RLC PDU. The data packet is assigned a serial number SN.

其中,在圖11中,匯流排架構可以包括任意數量的互聯的匯流排和橋,具體由處理器1100代表的一個或多個處理器和記憶體1120代表的記憶體的各種電路連結在一起。匯流排架構還可以將諸如週邊設備、穩壓器和功率管理電路等之類的各種其他電路連結在一起。匯流排介面提供介面。收發機1110可以是多個元件,即包括發送機和收發機,提供用於在傳輸介質上與各種其他裝置通信的單元。處理器1100負責管理匯流排架構和通常的處理,記憶體1120可以存儲處理器1100在執行操作時所使用的資料。 Among them, in FIG. 11, the bus architecture may include any number of interconnected buses and bridges. Specifically, one or more processors represented by the processor 1100 and various circuits of the memory represented by the memory 1120 are connected together. The bus architecture can also link various other circuits such as peripherals, voltage regulators and power management circuits. The bus interface provides an interface. The transceiver 1110 may be a plurality of elements, including a transmitter and a transceiver, providing a unit for communicating with various other devices on a transmission medium. The processor 1100 is responsible for managing the bus architecture and general processing, and the memory 1120 can store data used by the processor 1100 when performing operations.

處理器1100負責管理匯流排架構和通常的處理,記憶體1120可以存儲處理器1100在執行操作時所使用的資料。 The processor 1100 is responsible for managing the bus architecture and general processing, and the memory 1120 can store data used by the processor 1100 when performing operations.

可選地,若將該初始資料包封裝成至少兩個分段RLC PDU資料包,每一該分段RLC PDU資料包中還攜帶有用於標識分段RLC PDU資料包的SN,若該SN不具有標識位置資訊的功能,則每一該分段RLC PDU資料包還攜帶有位置資訊,該位置資訊用於標識該分段RLC PDU資料包中初始資料包的分段資料位於該初始資料包的位置。 Optionally, if the initial data packet is encapsulated into at least two segmented RLC PDU data packets, each segmented RLC PDU data packet also carries an SN for identifying the segmented RLC PDU data packet. With the function of identifying location information, each segment RLC PDU data packet also carries location information, and the location information is used to identify that the segment data of the initial data packet in the segment RLC PDU data packet is located in the initial data packet. position.

可選地,該SN包括為該分段RLC PDU資料包分配的SN,或者該初始資料包中攜帶的SN。 Optionally, the SN includes an SN allocated for the segmented RLC PDU data packet, or an SN carried in the initial data packet.

可選地,若該SN是為分段RLC PDU資料包配置的SN時,一個初始資料包對應的不同分段RLC PDU資料包的SN均相同;或者,不同的分段RLC PDU資料包的SN遞增。 Optionally, if the SN is an SN configured for segmented RLC PDU data packets, the SNs of different segmented RLC PDU data packets corresponding to an initial data packet are the same; or, the SNs of different segmented RLC PDU data packets are the same Incrementally.

可選地,該位置資訊包括該分段資料在該初始資料包中的偏移量和該分段資料的長度; 或者,該位置資訊包括該分段資料中首個位元組的偏移量和末個位元組的偏移量。 Optionally, the position information includes an offset of the segmented data in the initial data packet and a length of the segmented data; or, the position information includes an offset of a first byte in the segmented data Offset from the last byte.

可選地,該分段情況指示包括位於RLC PDU資料包頭部的2比特,用於指示該RLC PDU資料包的分段情況,該分段情況包括:完整資料包、第一個分段、中間分段和最後一個分段;或者,該分段情況指示包括位於RLC PDU資料包頭部的2比特,其中1比特用於指示RLC PDU資料包是否為分段RLC PDU資料包,1比特用於指示RLC PDU資料包是否為最後一個分段或者第一個分段。 Optionally, the segmentation condition indication includes 2 bits located in the header of the RLC PDU data packet, and is used to indicate the segmentation condition of the RLC PDU data packet. The segmentation condition includes: a complete data packet, a first segment, The middle segment and the last segment; or, the segment indication includes 2 bits located at the head of the RLC PDU data packet, of which 1 bit is used to indicate whether the RLC PDU data packet is a segmented RLC PDU data packet, and 1 bit is used It is used to indicate whether the RLC PDU packet is the last segment or the first segment.

本發明實施例中,由於在完整RLC PDU資料包中未分配SN,從而在接收端無需進行排序,在接收端接收到完整RLC PDU資料包後,可以直接轉發至高層,因此降低了層二資料處理流程複雜度,提高了效率。 In the embodiment of the present invention, because no SN is allocated in the complete RLC PDU data packet, no sequencing is required at the receiving end. After receiving the complete RLC PDU data packet at the receiving end, it can be directly forwarded to the upper layer, thereby reducing layer 2 data. The complexity of the processing process improves efficiency.

參見圖12,圖中示出一種協定資料單元傳輸資料的裝置,該協定資料單元傳輸資料的裝置包括:處理器1200、收發機1210、記憶體1220、使用者介面1230和匯流排介面,其中:處理器1200,用於讀取記憶體1220中的程式,執行下列過程:接收RLC PDU資料包,該RLC PDU資料包攜帶有分段情況指示;根據該分段情況指示確定,該RLC PDU資料包為分段RLC PDU資料包還是完整RLC PDU資料包;若為完整RLC PDU資料包,向PDCP實體發送該完整RLC PDU資料包;若為分段RLC PDU資料包,對分段RLC PDU資料包進行重組,並向該PDCP實體發送重組後的資料包。 Referring to FIG. 12, a device for transmitting data in a protocol data unit is shown. The device for data transmission in the protocol data unit includes a processor 1200, a transceiver 1210, a memory 1220, a user interface 1230, and a bus interface, wherein: The processor 1200 is configured to read a program in the memory 1220 and execute the following processes: receiving an RLC PDU data packet, where the RLC PDU data packet carries a segmentation condition indication; and determining according to the segmentation condition indication, the RLC PDU data packet Whether it is a fragmented RLC PDU data packet or a complete RLC PDU data packet; if it is a complete RLC PDU data packet, the complete RLC PDU data packet is sent to the PDCP entity; if it is a fragmented RLC PDU data packet, the fragmented RLC PDU data packet is Reorganize and send the reorganized data packet to the PDCP entity.

其中,在圖12中,匯流排架構可以包括任意數量的互聯的匯流排和橋,具體由處理器1200代表的一個或多個處理器和記憶體1220代表的記憶體的各種電路連結在一起。匯流排架構還可以將諸如週邊設備、穩壓器和功率管理電路等之類的各種其他電路連結在一起。匯流排介面提供介面。收發機1210可以是多個元件,即包括發送機和收發機,提供用於在傳輸介質上與各種其他裝置通信的單元。處理器1200負責管理匯流排架構和通常的處理,記憶體1220可以存儲處理器1200在執行操作時所使用的資料。 Among them, in FIG. 12, the bus architecture may include any number of interconnected buses and bridges. Specifically, one or more processors represented by the processor 1200 and various circuits of the memory represented by the memory 1220 are connected together. The bus architecture can also link various other circuits such as peripherals, voltage regulators and power management circuits. The bus interface provides an interface. The transceiver 1210 may be multiple elements, including a transmitter and a transceiver, providing a unit for communicating with various other devices over a transmission medium. The processor 1200 is responsible for managing the bus architecture and general processing. The memory 1220 can store data used by the processor 1200 when performing operations.

處理器1200負責管理匯流排架構和通常的處理,記憶體1220可以存儲處理器1200在執行操作時所使用的資料。 The processor 1200 is responsible for managing the bus architecture and general processing. The memory 1220 can store data used by the processor 1200 when performing operations.

可選地,若該RLC PDU資料包為分段RLC PDU資料包時,該分段RLC PDU資料包中還攜帶有用於標識分段RLC PDU資料包的SN,若該SN不具有標識位置資訊的功能,該分段RLC PDU資料包還攜帶有位置資訊,該位置資訊用於標識該分段RLC PDU資料包中初始資料包的分段資料位於該初始資料包的位置;該處理器1200還用於執行以下操作:根據該SN和該分段情況指示對分段RLC PDU資料包進行重組,或者根據該SN、分段情況指示和位置資訊對分段RLC PDU資料包進行重組。 Optionally, if the RLC PDU data packet is a segmented RLC PDU data packet, the segmented RLC PDU data packet also carries an SN used to identify the segmented RLC PDU data packet. Function, the segmented RLC PDU data packet also carries location information, which is used to identify that the segmented data of the initial data packet in the segmented RLC PDU data packet is located in the initial data packet; the processor 1200 also uses Perform the following operations: reorganize the segmented RLC PDU data packet according to the SN and the segmentation situation indication, or reorganize the segmented RLC PDU data packet according to the SN, the segmentation situation indication, and the location information.

可選地,若不同的分段RLC PDU資料包的SN遞增,則該SN具有標識位置資訊的功能,根據該SN和該分段情況指示對分段RLC PDU資料包進行重組;若一個初始資料包對應的不同分段RLC PDU資料包的SN均相同,則 該SN不具有標識位置資訊的功能,根據該SN、分段情況指示和位置資訊對分段RLC PDU資料包進行重組。 Optionally, if the SN of a different segment RLC PDU data packet is increased, the SN has the function of identifying location information, and the segment RLC PDU data packet is reorganized according to the SN and the segment condition indication; if an initial data The SNs of the different RLC PDU data packets corresponding to the packet are all the same, so the SN does not have the function of identifying location information, and the segmented RLC PDU data packets are reorganized according to the SN, the segmentation condition indication, and the location information.

可選地,處理器1200還用於執行以下操作:按照該分段RLC PDU資料包的SN順序對該分段RLC PDU資料包進行排列;根據該分段情況指示中所指示的第一個分段和/或最後一個分段,對排列的分段RLC PDU資料包進行重組。 Optionally, the processor 1200 is further configured to perform the following operations: arrange the segmented RLC PDU data packets according to the SN order of the segmented RLC PDU data packets; and according to the first segment indicated in the segmentation condition indication Segment and / or the last segment to reassemble the segmented RLC PDU data packets.

可選地,處理器1200還用於執行以下操作:在分段RLC PDU資料包重組的過程中,判斷是否存在序列缺口;若存在序列缺口,則啟動第一計時器計時,並將當前接收到的最大SN記錄為觸發該第一計時器啟動的目標SN;判斷該第一計時器超過第一預設計時時間前,該目標SN之前的序列缺口是否被填滿;若該目標SN之前的序列缺口未被填滿,則刪除該目標SN之前未重組的分段RLC PDU資料包。 Optionally, the processor 1200 is further configured to perform the following operations: in the process of reassembling the segmented RLC PDU data packet, determine whether there is a sequence gap; if there is a sequence gap, start a first timer to count and receive the current received The maximum SN record is the target SN that triggers the start of the first timer; determine whether the sequence gap before the target SN is filled before the first timer exceeds the first preset time; if the sequence before the target SN is filled If the gap is not filled, the segment RLC PDU data packet that was not reassembled before the target SN is deleted.

可選地,處理器1200還用於執行以下操作:將相同的SN對應的RLC PDU資料包作為一組待重組資料包,根據位置資訊對分段RLC PDU資料包進行重組。 Optionally, the processor 1200 is further configured to perform the following operations: use the RLC PDU data packets corresponding to the same SN as a group of data packets to be reorganized, and reassemble the segmented RLC PDU data packets according to the location information.

可選地,處理器1200還用於執行以下操作:在分段RLC PDU資料包重組的過程中,根據該位置資訊判斷當前接收的分段RLC PDU資料包之前是否存在未接收的目標分段RLC PDU資料包; 若該當前接收的分段RLC PDU資料包之前存在未接收的目標分段RLC PDU資料包,則啟動第二計時器;若該第二計時器超過第二預設計時時間,仍未接收到該目標分段RLC PDU資料包,則刪除該目標分段RLC PDU資料包對應的一組待重組資料包。 Optionally, the processor 1200 is further configured to perform the following operation: in the process of reassembling the segmented RLC PDU data packet, determine whether there is an unreceived target segmented RLC before the currently received segmented RLC PDU data packet according to the location information. PDU data packet; if there is an unreceived target segment RLC PDU data packet before the currently received segment RLC PDU data packet, a second timer is started; if the second timer exceeds the second preset timing time, If the target segment RLC PDU data packet is not received, a group of data packets to be recombined corresponding to the target segment RLC PDU data packet is deleted.

或者,處理器1200還用於執行以下操作:在分段RLC PDU資料包重組的過程中,當首次接收到目標初始資料包對應的任意一個分段RLC PDU資料包時,啟動第三計時器;若該第三計時器超過第三預設計時時間,仍未接收到該目標初始資料包對應的所有分段RLC PDU資料包,則將該目標初始資料包對應的已接收分段RLC PDU資料包刪除。 Alternatively, the processor 1200 is further configured to perform the following operation: when a segmented RLC PDU data packet reassembly process is performed, when a segmented RLC PDU data packet corresponding to the target initial data packet is received for the first time, a third timer is started; If the third timer exceeds the third preset time and has not received all the segment RLC PDU data packets corresponding to the target initial data packet, the received segment RLC PDU data packets corresponding to the target initial data packet delete.

可選地,該SN包括為該RLC PDU資料包分配的SN,或者該初始資料包中攜帶的SN。 Optionally, the SN includes an SN allocated for the RLC PDU data packet, or an SN carried in the initial data packet.

可選地,該位置資訊包括該分段資料在該初始資料包中的偏移量和該分段資料的長度;或者,該位置資訊包括該分段資料中首個位元組的偏移量和末個位元組的偏移量。 Optionally, the position information includes an offset of the segmented data in the initial data packet and a length of the segmented data; or, the position information includes an offset of a first byte in the segmented data Offset from the last byte.

可選地,該分段情況指示包括位於RLC PDU資料包頭部的2比特,用於指示該RLC PDU資料包的分段情況,該分段情況包括:完整資料包、第一個分段、中間分段和最後一個分段;或者,該分段情況指示包括位於RLC PDU資料包頭部的2比特,其中1比特用於指示RLC PDU資料包是否為分段RLC PDU資料包,1比特用於 指示RLC PDU資料包是否為最後一個分段或者第一個分段。 Optionally, the segmentation condition indication includes 2 bits located in the header of the RLC PDU data packet, and is used to indicate the segmentation condition of the RLC PDU data packet. The segmentation condition includes: a complete data packet, a first segment, The middle segment and the last segment; or, the segment indication includes 2 bits located at the head of the RLC PDU data packet, of which 1 bit is used to indicate whether the RLC PDU data packet is a segmented RLC PDU data packet, and 1 bit is used It is used to indicate whether the RLC PDU packet is the last segment or the first segment.

本領域普通技術人員可以意識到,結合本文中所公開的實施例描述的各示例的單元及演算法步驟,能夠以電子硬體、或者電腦軟體和電子硬體的結合來實現。這些功能究竟以硬體還是軟體方式來執行,取決於技術方案的特定應用和設計約束條件。專業技術人員可以對每個特定的應用來使用不同方法來實現所描述的功能,但是這種實現不應認為超出本發明的範圍。 Those of ordinary skill in the art may realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. A person skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

所屬領域的技術人員可以清楚地瞭解到,為描述的方便和簡潔,上述描述的系統、裝置和單元的具體工作過程,可以參考前述方法實施例中的對應過程,在此不再贅述。 Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments, and are not repeated here.

在本申請所提供的實施例中,應該理解到,所揭露的裝置和方法,可以通過其它的方式實現。例如,以上所描述的裝置實施例僅僅是示意性的,例如,該單元的劃分,僅僅為一種邏輯功能劃分,實際實現時可以有另外的劃分方式,例如多個單元或元件可以結合或者可以集成到另一個系統,或一些特徵可以忽略,或不執行。另一點,所顯示或討論的相互之間的耦合或直接耦合或通信連接可以是通過一些介面,裝置或單元的間接耦合或通信連接,可以是電性,機械或其它的形式。 In the embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner. For example, multiple units or elements may be combined or integrated. To another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, which may be electrical, mechanical or other forms.

該作為分離部件說明的單元可以是或者也可以不是物理上分開的,作為單元顯示的部件可以是或者也可以不是物理單元,即可以位於一個地方,或者也可以分佈到多個網路單元上。可以根據實際的需要選擇其中的部分或者全部單元來實現本發明實施例方案的目的。 The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments of the present invention.

另外,在本發明各個實施例中的各功能單元可以集成在一個 處理單元中,也可以是各個單元單獨物理存在,也可以兩個或兩個以上單元集成在一個單元中。 In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist separately physically, or two or more units may be integrated into one unit.

該功能如果以軟體功能單元的形式實現並作為獨立的產品銷售或使用時,可以存儲在一個電腦可讀取存儲介質中。基於這樣的理解,本發明的技術方案本質上或者說對現有技術做出貢獻的部分或者該技術方案的部分可以以軟體產品的形式體現出來,該電腦軟體產品存儲在一個存儲介質中,包括若干指令用以使得一台電腦設備(可以是個人電腦,伺服器,或者網路設備等)執行本發明各個實施例該方法的全部或部分步驟。而前述的存儲介質包括:隨身碟、移動硬碟、唯讀記憶體(Read Only Memory,ROM)、隨機存取記憶體(Random Access Memory,RAM)、磁碟或者光碟等各種可以存儲程式碼的介質。 If this function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention essentially or part that contributes to the existing technology or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several The instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method in each embodiment of the present invention. The foregoing storage media include: a USB flash drive, a removable hard disk, a read only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc. medium.

以上所述,僅為本發明的具體實施方式,但本發明的保護範圍並不局限於此,任何熟悉本技術領域的技術人員在本發明揭露的技術範圍內,可輕易想到變化或替換,都應涵蓋在本發明的保護範圍之內。因此,本發明的保護範圍應以申請專利範圍的保護範圍為准。 The above are only specific embodiments of the present invention, but the scope of protection of the present invention is not limited to this. Any person skilled in the art can easily think of changes or replacements within the technical scope disclosed by the present invention. It should be covered by the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the patent application scope.

Claims (18)

一種協定資料單元傳輸資料的方法,包括:接收分組資料彙聚層協定(Packet Data Convergence Protocol,PDCP)實體發送的初始資料包;將該初始資料包封裝成完整無線鏈路控制層協定資料單元(Radio Link Control Protocol Data Unit,RLC PDU)資料包,或者至少兩個分段RLC PDU資料包;其中,該完整RLC PDU資料包和每一該分段RLC PDU資料包中均攜帶有分段情況指示,若將該初始資料包封裝成完整RLC PDU資料包,則不對該RLC PDU資料包分配序號(Sequence Number,SN)。     A method for transmitting data by a protocol data unit includes: receiving an initial data packet sent by a Packet Data Convergence Protocol (PDCP) entity; and packaging the initial data packet into a complete radio link control layer protocol data unit (Radio A Link Control Protocol Data Unit (RLC PDU) data packet, or at least two segmented RLC PDU data packets; wherein the complete RLC PDU data packet and each of the segmented RLC PDU data packets carry segmentation indications, If the initial data packet is encapsulated into a complete RLC PDU data packet, no sequence number (SN) is assigned to the RLC PDU data packet.     如請求項1所述的協定資料單元傳輸資料的方法,其中,若將該初始資料包封裝成至少兩個分段RLC PDU資料包,每一該分段RLC PDU資料包中還攜帶有用於標識分段RLC PDU資料包的SN,若該SN不具有標識位置資訊的功能,則每一該分段RLC PDU資料包還攜帶有位置資訊,該位置資訊用於標識該分段RLC PDU資料包中初始資料包的分段資料位於該初始資料包的位置。     The method for transmitting data in a contract data unit according to claim 1, wherein if the initial data packet is encapsulated into at least two segment RLC PDU data packets, each segment RLC PDU data packet also carries an identifier for identification. The SN of the segment RLC PDU data packet. If the SN does not have the function of identifying location information, each segment RLC PDU data packet also carries location information, and the location information is used to identify the segment RLC PDU data packet. The segment data of the initial packet is located in the initial packet.     如請求項2所述的協定資料單元傳輸資料的方法,其中,該SN包括為該分段RLC PDU資料包分配的SN,或者該初始資料包中攜帶的SN。     The method for transmitting data in a contract data unit according to claim 2, wherein the SN includes an SN allocated for the segment RLC PDU data packet, or an SN carried in the initial data packet.     如請求項3所述的協定資料單元傳輸資料的方法,其中,若該SN是為分段RLC PDU資料包配置的SN時,一個初始資料包對應的不同分段RLC PDU資料包的SN均相同;或者,不同的分段RLC PDU資料包的SN遞增。     The method for transmitting data in a protocol data unit according to claim 3, wherein if the SN is an SN configured for a segmented RLC PDU data packet, the SNs of different segmented RLC PDU data packets corresponding to an initial data packet are the same Or, the SN of different segmented RLC PDU data packets is incremented.     如請求項2所述的協定資料單元傳輸資料的方法,其中該位置資訊包括該分段資料在該初始資料包中的偏移量和該分段資料的長度;或者該位置資訊包括該分段資料中首個位元組的偏移量和末個位元組的偏移 量。     The method for transmitting data in a contract data unit according to claim 2, wherein the position information includes an offset of the segment data in the initial data packet and a length of the segment data; or the position information includes the segment Offset of the first byte in the data and offset of the last byte.     如請求項2所述的協定資料單元傳輸資料的方法,其中該分段情況指示包括位於RLC PDU資料包頭部的2比特,用於指示該RLC PDU資料包的分段情況,該分段情況包括:完整資料包、第一個分段、中間分段和最後一個分段;或者該分段情況指示包括位於RLC PDU資料包頭部的2比特,其中1比特用於指示RLC PDU資料包是否為分段RLC PDU資料包,1比特用於指示RLC PDU資料包是否為最後一個分段或者第一個分段。     The method for transmitting data in a contract data unit according to claim 2, wherein the segmentation condition indication includes 2 bits located at the head of the RLC PDU data packet, and is used to indicate the segmentation condition of the RLC PDU data packet, and the segmentation condition. Including: the complete data packet, the first segment, the middle segment and the last segment; or the segment condition indication includes 2 bits located in the header of the RLC PDU packet, where 1 bit is used to indicate whether the RLC PDU packet is For segmenting the RLC PDU data packet, 1 bit is used to indicate whether the RLC PDU data packet is the last segment or the first segment.     一種協定資料單元傳輸資料的方法,包括:接收RLC PDU資料包,該RLC PDU資料包攜帶有分段情況指示;根據該分段情況指示確定,該RLC PDU資料包為分段RLC PDU資料包還是完整RLC PDU資料包;若為完整RLC PDU資料包,向PDCP實體發送該完整RLC PDU資料包;若為分段RLC PDU資料包,對分段RLC PDU資料包進行重組,並向該PDCP實體發送重組後的資料包。     A method for transmitting data by an agreement data unit includes: receiving an RLC PDU data packet, the RLC PDU data packet carrying an indication of segmentation conditions; and determining according to the segmentation status indication whether the RLC PDU data packet is a segmented RLC PDU data packet or Complete RLC PDU data packet; if it is a complete RLC PDU data packet, send the complete RLC PDU data packet to the PDCP entity; if it is a segmented RLC PDU data packet, reassemble the segmented RLC PDU data packet and send it to the PDCP entity Reorganized information package.     如請求項7所述的協定資料單元傳輸資料的方法,其中,若該RLC PDU資料包為分段RLC PDU資料包時,該分段RLC PDU資料包中還攜帶有用於標識分段RLC PDU資料包的SN,若該SN不具有標識位置資訊的功能,該分段RLC PDU資料包還攜帶有位置資訊,該位置資訊用於標識該分段RLC PDU資料包中初始資料包的分段資料位於該初始資料包的位置;該對分段RLC PDU資料包進行重組包括:根據該SN和該分段情況指示對分段RLC PDU資料包進行重組,或者根據該SN、分段情況指示和位置資訊對分段RLC PDU資料包進行重組。     The method for transmitting data by the agreement data unit according to claim 7, wherein, if the RLC PDU data packet is a segmented RLC PDU data packet, the segmented RLC PDU data packet also carries information for identifying the segmented RLC PDU data. The SN of the packet. If the SN does not have the function of identifying location information, the segment RLC PDU data packet also carries location information. The location information is used to identify the segment data of the initial data packet in the segment RLC PDU data packet. The location of the initial data packet; the reorganization of the segmented RLC PDU data packet includes: reorganization of the segmented RLC PDU data packet according to the SN and the segmentation condition indication, or according to the SN, segmentation condition indication, and location information Reorganize fragmented RLC PDU data packets.     如請求項8所述的協定資料單元傳輸資料的方法,其中,若不同的分段RLC PDU資料包的SN遞增,則該SN具有標識位置資訊的功能,根據該SN和該分段情況指示對分段RLC PDU資料包進行重組; 若一個初始資料包對應的不同分段RLC PDU資料包的SN均相同,則該SN不具有標識位置資訊的功能,根據該SN、分段情況指示和位置資訊對分段RLC PDU資料包進行重組。     The method for transmitting data by the agreement data unit according to claim 8, wherein if the SN of the RLC PDU data packet of different segments is increased, the SN has the function of identifying location information, and indicates to the The segmented RLC PDU data packet is reorganized; if the SNs of different segmented RLC PDU data packets corresponding to an initial data packet are the same, the SN does not have the function of identifying location information, and according to the SN, segmentation indication and location information Reorganize fragmented RLC PDU data packets.     如請求項9所述的協定資料單元傳輸資料的方法,其中,前述根據該SN和該分段情況指示對分段RLC PDU資料包進行重組的步驟,包括:按照該分段RLC PDU資料包的SN順序對該分段RLC PDU資料包進行排列;根據該分段情況指示中所指示的第一個分段和/或最後一個分段,對排列的分段RLC PDU資料包進行重組。     The method for transmitting data in the contract data unit according to claim 9, wherein the foregoing step of reorganizing the segment RLC PDU data packet according to the SN and the segmentation situation instruction includes: according to the segment RLC PDU data packet. The SN sequentially arranges the segmented RLC PDU data packets; reorganizes the arranged segmented RLC PDU data packets according to the first segment and / or the last segment indicated in the segmentation condition indication.     如請求項10所述的協定資料單元傳輸資料的方法,其中,前述根據該SN和該分段情況指示對分段RLC PDU資料包進行重組的步驟,還包括:在分段RLC PDU資料包重組的過程中,判斷是否存在序列缺口;若存在序列缺口,則啟動第一計時器計時,並將當前接收到的最大SN記錄為觸發該第一計時器啟動的目標SN;判斷該第一計時器超過第一預設計時時間前,該目標SN之前的序列缺口是否被填滿;若該目標SN之前的序列缺口未被填滿,則刪除該目標SN之前未重組的分段RLC PDU資料包。     The method for transmitting data in a contract data unit according to claim 10, wherein the foregoing step of reorganizing the segment RLC PDU data packet according to the SN and the segment condition indication further includes: reorganizing the segment RLC PDU data packet In the process, determine whether there is a sequence gap; if there is a sequence gap, start the first timer and record the currently received maximum SN as the target SN that triggers the start of the first timer; determine the first timer Whether the sequence gap before the target SN is filled before the first preset timing time is exceeded; if the sequence gap before the target SN is not filled, the segmented RLC PDU data packet that is not reassembled before the target SN is deleted.     如請求項9所述的協定資料單元傳輸資料的方法,其中,前述根據該SN、分段情況指示和位置資訊對分段RLC PDU資料包進行重組的步驟,包括:將相同的SN對應的RLC PDU資料包作為一組待重組資料包,根據位置資訊對分段RLC PDU資料包進行重組。     The method for transmitting data by the agreement data unit according to claim 9, wherein the foregoing step of reassembling the segmented RLC PDU data packet according to the SN, the segmentation condition indication, and the location information includes: RLC corresponding to the same SN The PDU data packet is a group of data packets to be reorganized, and the segmented RLC PDU data packet is reorganized according to the location information.     如請求項12所述的協定資料單元傳輸資料的方法,其中前述根據該SN、分段情況指示和位置資訊對分段RLC PDU資料包進行重組的步驟,還包括:在分段RLC PDU資料包重組的過程中,根據該位置資訊判斷當前接收 的分段RLC PDU資料包之前是否存在未接收的目標分段RLC PDU資料包;若該當前接收的分段RLC PDU資料包之前存在未接收的目標分段RLC PDU資料包,則啟動第二計時器;若該第二計時器超過第二預設計時時間,仍未接收到該目標分段RLC PDU資料包,則刪除該目標分段RLC PDU資料包對應的一組待重組資料包;或者前述根據該SN、分段情況指示和位置資訊對分段RLC PDU資料包進行重組的步驟,還包括:在分段RLC PDU資料包重組的過程中,當首次接收到目標初始資料包對應的任意一個分段RLC PDU資料包時,啟動第三計時器;若該第三計時器超過第三預設計時時間,仍未接收到該目標初始資料包對應的所有分段RLC PDU資料包,則將該目標初始資料包對應的已接收分段RLC PDU資料包刪除。     The method for transmitting data in the agreement data unit according to claim 12, wherein the foregoing step of reorganizing the segmented RLC PDU data packet according to the SN, the segmentation condition indication, and the location information further includes: in the segmented RLC PDU data packet During the reorganization process, it is determined whether there is an unreceived target segment RLC PDU packet before the currently received segment RLC PDU packet based on the location information; if there is an unreceived target before the currently received segment RLC PDU packet If the RLC PDU data packet is segmented, a second timer is started; if the second timer exceeds the second preset time period and the target segment RLC PDU data packet has not been received, the target segment RLC PDU data is deleted A set of data packets to be reorganized corresponding to the packet; or the foregoing step of reorganizing the segmented RLC PDU data packet according to the SN, the segmentation condition indication, and the location information, further comprising: in the process of reorganizing the segmented RLC PDU data packet, When receiving any segmented RLC PDU data packet corresponding to the target initial data packet for the first time, a third timer is started; if the third timer exceeds the third preset timing time, All segments received RLC PDU data packet to the target corresponding to an initial data packet, the initial data packet of the destination corresponding to the received RLC PDU data packet segment deleted.     如請求項8所述的協定資料單元傳輸資料的方法,其中,該SN包括為該RLC PDU資料包分配的SN,或者該初始資料包中攜帶的SN。     The method for transmitting data by the contract data unit according to claim 8, wherein the SN includes an SN allocated for the RLC PDU data packet, or an SN carried in the initial data packet.     如請求項8所述的協定資料單元傳輸資料的方法,其中該位置資訊包括該分段資料在該初始資料包中的偏移量和該分段資料的長度;或者該位置資訊包括該分段資料中首個位元組的偏移量和末個位元組的偏移量。     The method for transmitting data in a contract data unit according to claim 8, wherein the position information includes an offset of the segment data in the initial data packet and a length of the segment data; or the position information includes the segment Offset of the first byte in the data and offset of the last byte.     如請求項8所述的協定資料單元傳輸資料的方法,其中該分段情況指示包括位於RLC PDU資料包頭部的2比特,用於指示該RLC PDU資料包的分段情況,該分段情況包括:完整資料包、第一個分段、中間分段和最後一個分段;或者該分段情況指示包括位於RLC PDU資料包頭部的2比特,其中1比特用於指示RLC PDU資料包是否為分段RLC PDU資料包,1比特用於指 示RLC PDU資料包是否為最後一個分段或者第一個分段。     The method for transmitting data in a contract data unit according to claim 8, wherein the segmentation condition indication includes 2 bits located at the head of the RLC PDU data packet, and is used to indicate the segmentation condition of the RLC PDU data packet, and the segmentation condition. Including: the complete data packet, the first segment, the middle segment and the last segment; or the segment condition indication includes 2 bits located in the header of the RLC PDU packet, where 1 bit is used to indicate whether the RLC PDU packet is For segmenting the RLC PDU data packet, 1 bit is used to indicate whether the RLC PDU data packet is the last segment or the first segment.     一種協定資料單元傳輸資料的裝置,包括記憶體、處理器及存儲在記憶體上並可在處理器上運行的程式,其中,該處理器執行該程式時執行下列過程:接收PDCP實體發送的初始資料包;將該初始資料包封裝成完整RLC PDU資料包,或者至少兩個分段RLC PDU資料包;其中,該完整RLC PDU資料包和每一該分段RLC PDU資料包中均攜帶有分段情況指示,若將該初始資料包封裝成完整RLC PDU資料包,則不對該RLC PDU資料包分配序號SN。     A device for transmitting data by a protocol data unit includes a memory, a processor, and a program stored on the memory and operable on the processor. The processor executes the program and executes the following process: receiving the initial data sent by the PDCP entity. Data packet; the initial data packet is encapsulated into a complete RLC PDU data packet, or at least two segmented RLC PDU data packets; wherein the complete RLC PDU data packet and each of the segmented RLC PDU data packets carry a packet The segment indicates that if the initial data packet is encapsulated into a complete RLC PDU data packet, the serial number SN is not assigned to the RLC PDU data packet.     一種協定資料單元傳輸資料的裝置,包括記憶體、處理器及存儲在記憶體上並可在處理器上運行的程式,其中,該處理器執行該程式時執行下列過程:接收RLC PDU資料包,該RLC PDU資料包攜帶有分段情況指示;根據該分段情況指示確定,該RLC PDU資料包為分段RLC PDU資料包還是完整RLC PDU資料包;若為完整RLC PDU資料包,向PDCP實體發送該完整RLC PDU資料包;若為分段RLC PDU資料包,對分段RLC PDU資料包進行重組,並向該PDCP實體發送重組後的資料包。     A device for transmitting data by a protocol data unit includes a memory, a processor, and a program stored in the memory and operable on the processor. The processor executes the program and performs the following processes: receiving an RLC PDU data packet, The RLC PDU data packet carries a segmentation status indication; according to the segmentation status indication, it is determined whether the RLC PDU data packet is a segmented RLC PDU data packet or a complete RLC PDU data packet; if it is a complete RLC PDU data packet, the PDCP entity is requested Send the complete RLC PDU data packet; if it is a segmented RLC PDU data packet, reassemble the segmented RLC PDU data packet and send the reorganized data packet to the PDCP entity.    
TW107108390A 2017-03-24 2018-03-13 Method and device for transmitting data by agreement data unit TWI692225B (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
??201710184578.0 2017-03-24
CN201710184578.0A CN108632326B (en) 2017-03-24 2017-03-24 Method and device for transmitting data by protocol data unit
CN201710184578.0 2017-03-24

Publications (2)

Publication Number Publication Date
TW201836328A true TW201836328A (en) 2018-10-01
TWI692225B TWI692225B (en) 2020-04-21

Family

ID=63584981

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107108390A TWI692225B (en) 2017-03-24 2018-03-13 Method and device for transmitting data by agreement data unit

Country Status (3)

Country Link
CN (1) CN108632326B (en)
TW (1) TWI692225B (en)
WO (1) WO2018171369A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109792320B (en) 2018-12-25 2023-12-12 北京小米移动软件有限公司 Data transmission method and device
CN109792321B (en) * 2018-12-25 2021-10-08 北京小米移动软件有限公司 Data transmission method and device
CN113594077B (en) * 2021-07-22 2024-03-08 重庆双芯科技有限公司 Multistage chip serial system chip positioning method and multistage chip serial system
WO2023197312A1 (en) * 2022-04-15 2023-10-19 Oppo广东移动通信有限公司 Wireless communication method and apparatus

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007300630A (en) * 2006-04-27 2007-11-15 Asustek Computer Inc Method device for dividing and numbering sdu in radio communication system
CN101170390A (en) * 2006-10-27 2008-04-30 中兴通讯股份有限公司 Sectioning device for service data unit at radio link control layer
CN101330492B (en) * 2007-06-19 2012-08-01 上海贝尔股份有限公司 Data transmission method, data receiving method and equipment
CN101364990B (en) * 2007-08-08 2012-06-27 华为技术有限公司 Method for reducing data header expense
WO2011020233A1 (en) * 2009-08-17 2011-02-24 上海贝尔股份有限公司 Method and apparatus for downlink data transmission control in multi-hop relay communication system
CN101895372B (en) * 2010-06-29 2013-04-03 中国科学院计算技术研究所 Data transmission method in radio link control layer acknowledged mode
US20120275399A1 (en) * 2011-04-27 2012-11-01 Qualcomm Incorporated System and method for synchronized radio link control and media access control in a wireless communication network
CN105704197B (en) * 2014-11-28 2020-04-10 电信科学技术研究院 Data transmission method and system
CN106357548B (en) * 2016-09-18 2019-06-11 京信通信系统(中国)有限公司 The method of reseptance and system of PDCP data packet

Also Published As

Publication number Publication date
CN108632326A (en) 2018-10-09
WO2018171369A1 (en) 2018-09-27
TWI692225B (en) 2020-04-21
CN108632326B (en) 2020-10-30

Similar Documents

Publication Publication Date Title
US11057797B2 (en) Method and device for processing information
US10321513B2 (en) Method for PDCP control PDU transmission by user equipment (UE)
US10602400B2 (en) Enhancement of PDCP status report
EP3484124B1 (en) Data processing method and apparatus
WO2018196491A1 (en) Method and apparatus for decompressing and compressing uplink data
JP4906844B2 (en) Method for generating lower layer data block in wireless mobile communication system
TWI692225B (en) Method and device for transmitting data by agreement data unit
JP4474422B2 (en) Apparatus and method for transmitting control information in mobile communication system
TWI646814B (en) Data transmission method and related equipment
EP2181540B1 (en) Effective data block transmission method using header indicator
WO2018201960A1 (en) Method and device for performing feedback
WO2018127220A1 (en) Data forwarding method and device
US20190174356A1 (en) Data transmission method, data receiving device, and data sending device
CN110972215B (en) Switching method and base station
CN113938431B (en) Burst data packet transmission method and device and electronic equipment
WO2020119013A1 (en) Sidelink communication method and apparatus
WO2019015487A1 (en) Data retransmission method, rlc entity and mac entity
JP2023517081A (en) Communication method and device
WO2024022198A1 (en) Data delivery method and communication device
KR100560742B1 (en) apparatus and method of processing MSDU in wireless LAN
WO2023231599A1 (en) User data processing method and device
JPWO2018189882A1 (en) Wireless communication device, wireless communication method, and wireless communication system
CN116233040A (en) Data fragment reorganization method, device, equipment and storage medium
CN114205307A (en) Data packet transmission method, RLC entity and storage medium
JP4955734B2 (en) Method of transmitting PDCP data unit to upper level