TWI692225B - Method and device for transmitting data by agreement data unit - Google Patents
Method and device for transmitting data by agreement data unit Download PDFInfo
- Publication number
- TWI692225B TWI692225B TW107108390A TW107108390A TWI692225B TW I692225 B TWI692225 B TW I692225B TW 107108390 A TW107108390 A TW 107108390A TW 107108390 A TW107108390 A TW 107108390A TW I692225 B TWI692225 B TW I692225B
- Authority
- TW
- Taiwan
- Prior art keywords
- rlc pdu
- packet
- segment
- data
- data packet
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/06—Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
- H04W28/065—Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information using assembly or disassembly of packets
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/30—Definitions, standards or architectural aspects of layered protocol stacks
- H04L69/32—Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
- H04L69/322—Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions
- H04L69/324—Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions in the data link layer [OSI layer 2], e.g. HDLC
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W80/00—Wireless network protocols or protocol adaptations to wireless operation
- H04W80/02—Data link layer protocols
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本發明提供了一種協定資料單元傳輸資料的方法及裝置,該方法包括:接收PDCP實體發送的初始資料包;將該初始資料包封裝成完整RLC PDU資料包,或者至少兩個分段RLC PDU資料包;其中,該完整RLC PDU資料包和每一該分段RLC PDU資料包中均攜帶有分段情況指示,若將該初始資料包封裝成完整RLC PDU資料包,則不對該RLC PDU資料包分配序號SN。 The present invention provides a method and device for transmitting data by a protocol data unit. The method includes: receiving an initial data packet sent by a PDCP entity; encapsulating the initial data packet into a complete RLC PDU data packet, or at least two segmented RLC PDU data Packet; where the complete RLC PDU packet and each segmented RLC PDU packet carry a segmentation indication, if the initial packet is encapsulated into a complete RLC PDU packet, then the RLC PDU packet is not Assign the serial number SN.
Description
本發明屬於通信技術領域,尤其是關於一種協定資料單元傳輸資料的方法及裝置。 The invention belongs to the field of communication technology, in particular to a method and device for transmitting data by an agreement 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 throughput, 5G will introduce new air interface transmission methods, more network nodes, and complex network topologies. In the 5G network, there are two-layer access network architectures of centralized nodes and distributed nodes. Of course, it is not excluded that a single node completes all data processing functions. There are various scenarios of coexistence and switching. In such a scenario, how to maximize the efficiency of Layer 2 data processing, can quickly respond and feedback on the link status, perform efficient retransmission, and ensure the QoS (Quality of Service) requirements of data transmission, It will be the main goal of 5G layer two design.
相關技術中,層二協議由PDCP(Packet Data Convergence Protocol,分組資料彙聚層協定),RLC(Radio Link Control,無線鏈路控制層)和MAC(Medium Access Control,介質存取控制)組成,由於各層之間相互獨立,各層功能存在一定的重複性,因此使得層二資料處理流程複雜,效率較低。 In the related art, the Layer 2 protocol is composed of PDCP (Packet Data Convergence Protocol), RLC (Radio Link Control), and MAC (Medium Access Control), because each layer They are independent of each other, and the functions of each layer have certain repetitiveness, which makes the layer 2 data processing process complicated and low in efficiency.
本發明實施例提供一種協定資料單元傳輸資料的方法及裝置,以解決層二資料處理流程複雜,效率較低的問題。 Embodiments of the present invention provide a method and a device for transmitting data by a protocol data unit, to solve the problem of complex layer 2 data processing flow and low efficiency.
第一方面,本發明實施例提供了一種協定資料單元傳輸資料的方法,包括:接收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; encapsulating the initial data packet into complete RLC PDU (Protocol Data Unit, protocol data unit) data Packet, or at least two segmented RLC PDU data packets; where the complete RLC PDU data packet and each segmented RLC PDU data packet carry a segmentation indication, if the initial data packet is encapsulated into a complete RLC For PDU data packets, SN (Sequence Number, sequence number) is not assigned to the RLC PDU data packets.
可選地,若將該初始資料包封裝成至少兩個分段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, if the SN is not 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 the segment data of the initial data packet in the segment RLC PDU data packet. position.
可選地,該SN包括為該分段RLC PDU資料包分配的SN,或者該初始資料包中攜帶的SN。 Optionally, the SN includes the SN allocated for the segmented RLC PDU data packet, or the 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 packets, the SNs of different segmented RLC PDU packets corresponding to an initial packet are the same; or, the SNs of different segmented RLC PDU packets Increment.
可選地,該位置資訊包括該分段資料在該初始資料包中的偏 移量和該分段資料的長度;或者該位置資訊包括該分段資料中首個位元組的偏移量和末個位元組的偏移量。 Optionally, the location information includes the offset of the segment data in the initial data packet and the length of the segment data; or the location information includes the offset and the first byte of the segment data The offset of the last byte.
可選地,該分段情況指示包括位於RLC PDU資料包頭部的2比特,用於指示該RLC PDU資料包的分段情況,該分段情況包括:完整資料包、第一個分段、中間分段和最後一個分段;或者 該分段情況指示包括位於RLC PDU資料包頭部的2比特,其中1比特用於指示RLC PDU資料包是否為分段RLC PDU資料包,1比特用於指示RLC PDU資料包是否為最後一個分段或者第一個分段。 Optionally, the segmentation indication includes 2 bits at the head of the RLC PDU packet, which is used to indicate the segmentation of the RLC PDU packet. The segmentation includes the complete packet, the first segment, The middle segment and the last segment; or the segmentation indication includes 2 bits at the head of the RLC PDU packet, where 1 bit is used to indicate whether the RLC PDU packet is a segmented RLC PDU packet, and 1 bit is used 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實體發送重組後的資料包。 In a second aspect, an embodiment of the present invention provides a method for transmitting data by a protocol data unit, including: receiving an RLC PDU data packet, the RLC PDU data packet carrying a segmentation indication; determining according to the segmentation 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 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, if the SN does not have a location identification information Function, the segmented RLC PDU packet also carries location information, the location information is used to identify the segmented data of the initial packet in the segmented RLC PDU packet is located at the location of the initial packet; the pair of segmented RLC PDU The reassembly of the data packet includes: reassembly of the segmented RLC PDU data packet according to the SN and the segmentation indication, or reassembly of the segmented RLC PDU data packet according to the SN, the segmentation indication and location information.
可選地,若不同的分段RLC PDU資料包的SN遞增,則該SN具有標識位置資訊的功能,根據該SN和該分段情況指示對分段RLC PDU資料包進行重組;若一個初始資料包對應的不同分段RLC PDU資料包的SN均相同,則該SN不具有標識位置資訊的功能,根據該SN、分段情況指示和位置資訊對分段RLC PDU資料包進行重組。 Optionally, if the SN of different segmented RLC PDU data packets is incremented, the SN has the function of identifying location information, and the segmented RLC PDU data packet is reorganized according to the SN and the segmentation condition instructions; if an initial data The SNs of different segmented RLC PDU data packets corresponding to the packet are the same, then the SN does not have the function of identifying location information, and the segmented RLC PDU data packet is reassembled according to the SN, segmentation indication and 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 indication includes: arranging the segmented RLC PDU data packet according to the SN order of the segmented RLC PDU data packet; According to the first segment and/or the last segment indicated in the segmentation indication, the arranged segment RLC PDU data packets are reassembled.
可選地,前述根據該SN和該分段情況指示對分段RLC PDU資料包進行重組的步驟,還包括:在分段RLC PDU資料包重組的過程中,判斷是否存在序列缺口;若存在序列缺口,則啟動第一計時器計時,並將當前接收到的最大SN記錄為觸發該第一計時器啟動的目標SN;判斷該第一計時器超過第一預設計時時間前,該目標SN之前的序列缺 口是否被填滿;若該目標SN之前的序列缺口未被填滿,則刪除該目標SN之前未重組的分段RLC PDU資料包。 Optionally, the foregoing step of reorganizing the segmented RLC PDU data packet according to the SN and the segmentation instruction further includes: during the reassembly of the segmented RLC PDU data packet, determining whether there is a sequence gap; if there is a sequence If there is a gap, the first timer is started, and the currently received maximum SN is recorded as the target SN that triggers the start of the first timer; before the first timer is judged to exceed the first preset timing time, before the target SN Whether the sequence gap of is filled; if the sequence gap before the target SN is not filled, delete the segmented RLC PDU data packet that has not been reassembled before the target SN.
可選地,前述根據該SN、分段情況指示和位置資訊對分段RLC PDU資料包進行重組的步驟,包括:將相同的SN對應的RLC PDU資料包作為一組待重組資料包,根據位置資訊對分段RLC PDU資料包進行重組。 Optionally, the foregoing step of reassembling the segmented RLC PDU data packets according to the SN, segmentation indication and location information includes: taking the RLC PDU data packets corresponding to the same SN as a group of data packets to be reassembled, according to the location 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 reassembling the segmented RLC PDU data packet according to the SN, the segmentation indication and the location information further includes: during the reassembly of the segmented RLC PDU data packet, judging the current reception according to the location information Whether there is an unreceived target segment RLC PDU packet before the segment RLC PDU packet; if there is an unreceived target segment RLC PDU packet before the currently received segment RLC PDU packet, the second timing is started If the second timer exceeds the second preset time, and the target segment RLC PDU packet has not been received, delete the set of packets to be reassembled corresponding to the target segment RLC PDU packet; or The step of reorganizing the segmented RLC PDU packet according to the SN, segmentation indication and location information, also includes: during the reassembly of the segmented RLC PDU packet, when any one corresponding to the target initial packet is received for the first time When segmenting RLC PDU packets, a third timer is started; if the third timer exceeds the third preset time, and all segmented RLC PDU packets corresponding to the target initial packet have not been received, then the The received segment RLC PDU data packet corresponding to the target initial data packet is deleted.
可選地,該SN包括為該RLC PDU資料包分配的SN,或者該初始資料包中攜帶的SN。 Optionally, the SN includes the SN allocated for the RLC PDU data packet, or the SN carried in the initial data packet.
可選地,該位置資訊包括該分段資料在該初始資料包中的偏移量和該分段資料的長度;或者該位置資訊包括該分段資料中首個位元組的偏移量和末個位元組的偏移量。 Optionally, the location information includes the offset of the segment data in the initial data packet and the length of the segment data; or the location information includes the offset and the first byte of the segment data The offset of the last byte.
可選地,該分段情況指示包括位於RLC PDU資料包頭部的2比特,用於指示該RLC PDU資料包的分段情況,該分段情況包括:完整資料包、第一個分段、中間分段和最後一個分段;或者該分段情況指示包括位於RLC PDU資料包頭部的2比特,其中1比特用於指示RLC PDU資料包是否為分段RLC PDU資料包,1比特用於指示RLC PDU資料包是否為最後一個分段或者第一個分段。 Optionally, the segmentation indication includes 2 bits at the head of the RLC PDU packet, which is used to indicate the segmentation of the RLC PDU packet. The segmentation includes the complete packet, the first segment, The middle segment and the last segment; or the segmentation indication includes 2 bits at the head of the RLC PDU packet, where 1 bit is used to indicate whether the RLC PDU packet is a segmented RLC PDU packet, and 1 bit is used 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。 In a third aspect, an embodiment of the present invention provides an apparatus 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, wherein, 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 The segment RLC PDU data packets all carry the segmentation indication. If the initial data packet is encapsulated into a complete RLC PDU data packet, the sequence 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, if the SN is not 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 the segment data of the initial data packet in the segment RLC PDU data packet. position.
可選地,該SN包括為該分段RLC PDU資料包分配的SN,或者該初始資料包中攜帶的SN。 Optionally, the SN includes the SN allocated for the segmented RLC PDU data packet, or the 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 packets, the SNs of different segmented RLC PDU packets corresponding to an initial packet are the same; or, the SNs of different segmented RLC PDU packets Increment.
可選地,該位置資訊包括該分段資料在該初始資料包中的偏移量和該分段資料的長度;或者該位置資訊包括該分段資料中首個位元組的偏移量和末個位元組的偏移量。 Optionally, the location information includes the offset of the segment data in the initial data packet and the length of the segment data; or the location information includes the offset and the first byte of the segment data The offset of the last byte.
可選地,該分段情況指示包括位於RLC PDU資料包頭部的2比特,用於指示該RLC PDU資料包的分段情況,該分段情況包括:完整資料包、第一個分段、中間分段和最後一個分段;或者該分段情況指示包括位於RLC PDU資料包頭部的2比特,其中1比特用於指示RLC PDU資料包是否為分段RLC PDU資料包,1比特用於指示RLC PDU資料包是否為最後一個分段或者第一個分段。 Optionally, the segmentation indication includes 2 bits at the head of the RLC PDU packet, which is used to indicate the segmentation of the RLC PDU packet. The segmentation includes the complete packet, the first segment, The middle segment and the last segment; or the segmentation indication includes 2 bits at the head of the RLC PDU packet, where 1 bit is used to indicate whether the RLC PDU packet is a segmented RLC PDU packet, and 1 bit is used 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, including a memory, a processor, and a program stored on the memory and executable on the processor, wherein when the processor executes the program Perform the following process: Receive an RLC PDU data packet that carries a segmentation indication; determine whether the RLC PDU packet is a segmented RLC PDU packet or a complete RLC PDU packet based on the segmentation indication; if For 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 the reassembled data packet 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, if the SN does not have a location identification information Function, the segmented RLC PDU packet also carries location information, which is used to identify the segmented data of the initial packet in the segmented RLC PDU packet at the location of the initial packet; the processor executes the program It also performs the following processes: reassembly of segmented RLC PDU packets according to the SN and the segmentation indication, or reassembly of segmented RLC PDU packets according to the SN, segmentation indication and location information.
可選地,若不同的分段RLC PDU資料包的SN遞增,則該SN具有標識位置資訊的功能,根據該SN和該分段情況指示對分段RLC PDU資料包進行重組;若一個初始資料包對應的不同分段RLC PDU資料包的SN均相同,則該SN不具有標識位置資訊的功能,根據該SN、分段情況指示和位置資訊對分段RLC PDU資料包進行重組。 Optionally, if the SN of different segmented RLC PDU data packets is incremented, the SN has the function of identifying location information, and the segmented RLC PDU data packet is reorganized according to the SN and the segmentation condition instructions; if an initial data The SNs of different segmented RLC PDU data packets corresponding to the packet are the same, then the SN does not have the function of identifying location information, and the segmented RLC PDU data packet is reassembled according to the SN, segmentation indication and 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 packet is arranged according to the SN order of the segmented RLC PDU packet; according to the first indicated in the segmentation indication Segment and/or the last segment, reorganize the arranged segment RLC PDU packets.
可選地,該處理器執行該程式時還執行下列過程:在分段RLC PDU資料包重組的過程中,判斷是否存在序列缺口;若存在序列缺口,則啟動第一計時器計時,並將當前接收到的最大SN記錄為觸發該第一計時器啟動的目標SN;判斷該第一計時器超過第一預設計時時間前,該目標SN之前的序列缺口是否被填滿;若該目標SN之前的序列缺口未被填滿,則刪除該目標SN之前未重組的分段RLC PDU資料包。 Optionally, when the processor executes the program, the following process is also performed: during the reassembly of segmented RLC PDU packets, it is determined whether there is a sequence gap; if there is a sequence gap, the first timer is started to count and the current The maximum SN record received is the target SN that triggered the first timer; determine whether the sequence gap before the target SN is filled before the first timer exceeds the first preset timing time; if the target SN is before The sequence gap of is not filled, delete the segmented RLC PDU packet that has not been reassembled before the target SN.
可選地,該處理器執行該程式時還執行下列過程:將相同的SN對應的RLC PDU資料包作為一組待重組資料包,根據位置資訊對分段RLC PDU資料包進行重組。 Optionally, when the processor executes the program, the following process is also performed: the RLC PDU data packets corresponding to the same SN are used as a group of data packets to be reassembled, and the segmented RLC PDU data packets are reassembled 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: During the reassembly of the segmented RLC PDU packet, whether the currently received segmented RLC PDU packet is not received before the target segment is determined according to the location information Segment RLC PDU packet; if there is a target segment RLC PDU packet that has not been received before the currently received segment RLC PDU packet, a second timer is started; if the second timer exceeds the second preset timing time , But the target segment RLC PDU packet has not been received, delete the set of packets to be reassembled corresponding to the target segment RLC PDU packet; or the processor also performs the following process when executing the program: During segment RLC In the process of PDU packet reassembly, when any segmented RLC PDU packet corresponding to the target initial packet is received for the first time, a third timer is started; if the third timer exceeds the third preset time, it has not yet After receiving all the segmented RLC PDU data packets corresponding to the target initial 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 the SN allocated for the RLC PDU data packet, or the SN carried in the initial data packet.
可選地,該位置資訊包括該分段資料在該初始資料包中的偏移量和該分段資料的長度;或者該位置資訊包括該分段資料中首個位元組的偏移量和末個位元組的偏移量。 Optionally, the location information includes the offset of the segment data in the initial data packet and the length of the segment data; or the location information includes the offset and the first byte of the segment data The offset of the last byte.
可選地,該分段情況指示包括位於RLC PDU資料包頭部的2比特,用於指示該RLC PDU資料包的分段情況,該分段情況包括:完整資料包、第一個分段、中間分段和最後一個分段;或者該分段情況指示包括位於RLC PDU資料包頭部的2比特,其中1比特用於指示RLC PDU資料包是否為分段RLC PDU資料包,1比特用於指示RLC PDU資料包是否為最後一個分段或者第一個分段。 Optionally, the segmentation indication includes 2 bits at the head of the RLC PDU packet, which is used to indicate the segmentation of the RLC PDU packet. The segmentation includes the complete packet, the first segment, The middle segment and the last segment; or the segmentation indication includes 2 bits at the head of the RLC PDU packet, where 1 bit is used to indicate whether the RLC PDU packet is a segmented RLC PDU packet, and 1 bit is used 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 on which a program is stored. When the program is executed by a processor, the steps in the foregoing 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 on which a program is stored. When the program is executed by a processor, the steps in the foregoing method for transmitting data by a 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 above initial data packets is not further limited here, and it can be determined whether to encapsulate a complete RLC PDU data packet or at least two segmented RLCs according to the size of each initial data packet and the size of the underlying transmission resource PDU 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, and the SN is the RLC UM (Unacknowledged Mode) when the sender encapsulates the initial data packet The data loaded in the header is used for sorting at the receiving end. Since the SN is not allocated in the complete RLC PDU data packet, there is no need for sorting 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‧‧‧The first processing module
501‧‧‧第二接收模組 501‧‧‧ Second receiving module
502‧‧‧確定模組 502‧‧‧ Confirm module
503‧‧‧第二處理模組 503‧‧‧second processing module
50301‧‧‧排列子模組 50301‧‧‧Arrange submodules
50302‧‧‧第一重組子模組 50302‧‧‧The first reorganization submodule
50303‧‧‧第一判斷子模組 50303‧‧‧ First judgment submodule
50304‧‧‧第一啟動子模組 50304‧‧‧First promoter module
50305‧‧‧第二判斷子模組 50305‧‧‧Second judgment submodule
50306‧‧‧第一處理子模組 50306‧‧‧ First processing submodule
50310‧‧‧第二重組子模組 50310‧‧‧Second reorganization submodule
50311‧‧‧第三判斷子模組 50311‧‧‧The third judgment submodule
50312‧‧‧第二啟動子模組 50312‧‧‧Second promoter module
50313‧‧‧第二處理子模組 50313‧‧‧second processing submodule
50314‧‧‧第三啟動子模組 50314‧‧‧The third promoter module
50315‧‧‧第三處理子模組 50315‧‧‧The third processing submodule
1100、1200‧‧‧處理器 1100, 1200‧‧‧ processor
1110、1210‧‧‧收發機 1110, 1210‧‧‧ transceiver
1120、1220‧‧‧記憶體 1120, 1220‧‧‧ memory
1130、1230‧‧‧使用者介面 1130、1230‧‧‧User interface
為了更清楚地說明本發明實施例的技術方案,下面將對本發明實施例描述中所需要使用的附圖作簡單地介紹,顯而易見地,下面描述中的附圖僅僅是本發明的一些實施例,對於本領域普通技術人員來講,在不付出進步性勞動性的前提下,還可以根據這些附圖獲得其他的附圖。 In order to more clearly explain the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention, For a person of ordinary skill in the art, without paying progressive labor, other drawings can be obtained based on these drawings.
圖1是本發明實施例應用的網路結構示意圖;圖2是本發明實施例提供的一種協定資料單元傳輸資料的方法的流程圖; 圖3是本發明實施例提供的另一種協定資料單元傳輸資料的方法的流程圖;圖4是本發明實施例提供的一種協定資料單元傳輸資料的裝置的結構圖;圖5是本發明實施例提供的另一種協定資料單元傳輸資料的裝置的結構圖;圖6是本發明實施例提供的又一種協定資料單元傳輸資料的裝置的結構圖;圖7是本發明實施例提供的又一種協定資料單元傳輸資料的裝置的結構圖;圖8是本發明實施例提供的又一種協定資料單元傳輸資料的裝置的結構圖;圖9是本發明實施例提供的又一種協定資料單元傳輸資料的裝置的結構圖;圖10是本發明實施例提供的又一種協定資料單元傳輸資料的裝置的結構圖;圖11是本發明實施例提供的又一種協定資料單元傳輸資料的裝置的結構圖;圖12是本發明實施例提供的又一種協定資料單元傳輸資料的裝置的結構圖。 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 provided by an embodiment of the present invention; FIG. 3 is a method for transmitting data by another protocol data unit 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 an agreement data unit provided by an embodiment of the present invention; FIG. 5 is a structural diagram of another apparatus for transmitting data by an agreement data unit provided by an embodiment of the present invention; 6 is a structural diagram of yet another protocol data unit transmitting data device provided by an embodiment of the present invention; FIG. 7 is a structural diagram of yet another protocol data unit transmitting data device provided by an embodiment of the present invention; FIG. 8 is an implementation of the present invention Example provides a structure diagram of another device for transmitting data by a protocol data unit; FIG. 9 is a structure diagram of another device for transmitting data by 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. Structure diagram of the data transmission device of the data unit; FIG. 11 is a structure diagram of another data transmission device of the agreement data unit provided by the embodiment of the present invention; FIG. 12 is another data transmission device of the agreement data unit provided by the embodiment of the invention Structure diagram.
下面將結合本發明實施例中的附圖,對本發明實施例中的技術方案進行清楚、完整地描述,顯然,所描述的實施例是本發明一部分實施例,而不是全部的實施例。基於本發明中的實施例,本領域普通技術人員在沒有作出進步性勞動前提下所獲得的所有其他實施例,都屬於本發明保護的範圍。 The technical solutions in the embodiments of the present invention will be described clearly and completely in the following with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without making progressive labor are within 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 applied in an embodiment of the present invention; as shown in FIG. 1, it includes a network-
參見圖2,圖2是本發明實施例提供的一種協定資料單元傳輸資料的方法的流程圖,如圖2所示,包括以下步驟:步驟201,接收PDCP實體發送的初始資料包。 Referring to FIG. 2, FIG. 2 is a flowchart of a method for transmitting data by an agreement 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 by the embodiment of the present invention can be applied to any architecture with two-layer transmission processing. In the following embodiments, the RLC UM is used for detailed description. Specifically, the method for transmitting data by the protocol data unit provided in this embodiment is mainly applied to the sending end of the data transmission, that is, the RLC UM sending end, and is used to organize and manage the sent data packets.
其中,上述PDCP實體為RLC UM發送端的高層,RLC UM發送端可以接收PDCP實體發送的初始資料包。 Wherein, the above-mentioned PDCP entity is a high layer of the RLC UM sending end, and the RLC UM sending end can receive the 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; wherein, the complete RLC PDU data packet and each of the segmented RLC PDU data packets carry Segment indicator SI (Segment Indicator), if the initial data packet is encapsulated into a complete RLC PDU data packet, the RLC PDU data packet is not assigned a sequence number SN.
該步驟中,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 forms a RLC UM PDU by adding a header. 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 PDUs need to be divided according to the size of the remaining resources Segment processing. Therefore, when encapsulating an initial data packet, 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 above initial data packets is not further limited here, and it can be determined whether to encapsulate a complete RLC PDU data packet or at least two segmented RLCs according to the size of each initial data packet and the size of the underlying transmission resource PDU packet. Among them, if the initial data packet is encapsulated into a complete RLC PDU data packet, the complete RLC PDU data packet will not be assigned an SN, which is the data loaded in the header when the RLC UM sender encapsulates the initial data packet, It is used for sorting at the receiving end. Since the SN is not allocated in the complete RLC PDU packet, there is no need for sorting 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, by receiving the 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 RLC PDU data packets; wherein, the complete RLC PDU data packet and each A fragmented RLC PDU data packet carries a fragmentation indication. If the initial data packet is encapsulated into a complete RLC PDU data packet, the RLC PDU data packet is not assigned a sequence number SN. Since the SN is not allocated in the complete RLC PDU data packet, there is no need to sort at the receiving end. After receiving the complete RLC PDU data packet, it can be directly forwarded to the higher layer, thus reducing the complexity of the layer 2 data processing process and improving For 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, if the SN is not 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 the segment data of the initial data packet in the segment RLC PDU 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 to the segmented RLC PDU data packet, or the SN carried in the initial data packet. That is to say, the SN used to identify the segmented RLC PDU data packet may be the SN allocated by the RLC UM sender for each segmented RLC PDU data packet, or it may 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 packets, the SNs of different segmented RLC PDU packets corresponding to an initial packet are the same; or, the SNs of different segmented RLC PDU packets Increment. It should be noted that, if the SN in the initial data packet is reused, the SN in the different segment RLC PDU data packets corresponding to an 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 an 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 location information only when the SN is configured in increments of the SN of different segmented RLC PDU data packets. The SN increment can also be set according to actual needs, for example, it can be incremented by 1 each time. Since the SN of different segmented RLC PDU data packets is incremented, the SN in different segmented RLC PDU data packets has continuity, and the reorganization of segmented RLC PDU data packets can be performed according to the continuity and the segment indication identifier. In another embodiment, when the SN carried in the segmented RLC PDU packet is an SN that does not have the function of identifying location information, it is necessary to reorganize the segmented RLC PDU packet based on the location information, SN, and segmentation indicator .
可選地,上述位置資訊的內容可以根據實際需要進行設置,只要能夠標識出每一分段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 the location of the segment data in each segment RLC PDU data packet is located in the initial data packet. For example, the location information may include the offset SO (Segment offset) of the segment data in the initial data packet and the length LI (Length Indicator) of the segment data; or, the location information may include the segment data The offset of the first byte and the offset of the last byte.
進一步地,上述分段情況指示的指示方式可以根據實際需要 進行設置,例如,在一實施例中,上述分段情況指示可以包括位於RLC PDU資料包頭部的2比特(bit),用於指示該RLC PDU資料包的分段情況,該分段情況包括:完整資料包、第一個分段、中間分段和最後一個分段。 Further, the indication manner of the above segmentation indication may be set according to actual needs. For example, in one embodiment, the above segmentation indication may include 2 bits at the head of the RLC PDU data packet to indicate The segmentation situation of the RLC PDU data packet, which includes: complete data packet, first segment, middle segment and last segment.
在本實施例中,2比特標識的具體含義可以根據實際需要進行,例如,在可以採用00表示一個完整資料包、採用01表示第一個分段、採用10表示中間分段以及採用11表示最後一個分段。此外還可以採用其他的表示方式,例如,採用10表示最後一個分段,採用11標識中間分段等等,在此不再一一列舉。 In this embodiment, the specific meaning of the 2-bit identifier can be determined according to actual needs. For example, 00 can be used for a complete data packet, 01 for the first segment, 10 for the middle segment, and 11 for the last A segment. In addition, other representations may also be used, for example, 10 is used for the last segment, 11 is used for the intermediate segment, and so on, which will not be listed here one by one.
在另一實施方式中,分段情況指示可以包括位於RLC PDU資料包頭部的2比特,其中1比特用於指示RLC PDU資料包是否為分段RLC PDU資料包,1比特用於指示RLC PDU資料包是否為最後一個分段或者第一個分段。 In another embodiment, the segmentation indication may include 2 bits at the head of the RLC PDU packet, where 1 bit is used to indicate whether the RLC PDU packet is a segmented RLC PDU 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, 1 in 1 bit can be used to indicate a segmented RLC PDU data packet, and 0 can be used to indicate a complete RLC PDU data packet. Then in the other 1 bit, 0 can be used to indicate the last segment, 1 to indicate that it is not the last segment, or 0 to indicate the first segment, and 1 to indicate that it is not the first segment. In addition, other expressions can also be used, which will not be listed here.
以下將以一個具體實例初始資料包、完整RLC PDU資料包和分段RLC PDU資料包之間的關係進行詳細說明。 The following will explain in detail the relationship between the initial data packet, the complete RLC PDU data packet and the segmented RLC PDU data packet.
例如,初始資料包的大小為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 data part of the RLC PDU is also 500 bytes. When the data of 500 bytes and the header can be sent at once, it can be indicated by 00 in the header. This is a complete RLC PDU packet. When only 200 bytes can be accommodated, the initial data packet needs to be segmented. Use the data of [0,200] bytes in the initial packet as the segment data in the segment RLC PDU packet of the first segment, and indicate at the head of the segment RLC PDU packet of the first segment SI is 01, and the SO field is not required (because the first preset start byte is 0), the LI field is 200; the data of the [200,400] byte is used as the intermediate segment in the segmented RLC PDU packet. Segmented data, and the header of the segmented RLC PDU packet in the middle segment indicates that the SI is 10, the SO field is 200, and the LI field is 200; use the data of [400,500] bytes as the last segment The segmented data in the segmented RLC PDU packet, and the header of the segmented RLC PDU packet in 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 used to receive the RLC PDU data packet sent in the above embodiment. Specifically, as shown in FIG. 3, the method for transmitting data by a protocol data unit provided in this embodiment includes:
本實施例中,對於接收端而言,每接收到一個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, each 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 a data packet based on the SI field in the RLC PDU data packet header. Fragmented RLC PDU packet. If it is a complete RLC PDU packet, it will be directly delivered to the higher layer (PDCP entity); if it is a segmented RLC PDU packet, the segmented RLC PDU packet will be reassembled.
本發明實施例中,由於在完整RLC PDU資料包中未分配SN,從而在接收端無需進行排序,在接收端接收到完整RLC PDU資料包後,可以直接轉發至高層,因此降低了層二資料處理流程複雜度,提高了效率。 In the embodiment of the present invention, since the SN is not allocated in the complete RLC PDU data packet, there is no need to sort at the receiving end, and after receiving the complete RLC PDU data packet at the receiving end, it can be directly forwarded to the higher layer, thus reducing the layer 2 data The complexity of the processing flow 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, if the SN does not have a location identification information Function, the segmented RLC PDU packet also carries location information, the location information is used to identify the segmented data of the initial packet in the segmented RLC PDU packet is located at the location of the initial packet; the pair of segmented RLC PDU The reassembly of the data packet includes: reassembly of the segmented RLC PDU data packet according to the SN and the segmentation indication, or reassembly of the segmented RLC PDU data packet according to the SN, the segmentation indication and location information.
應理解,針對不同的SN配置方式,進行重組的方式也不同,以下對此進行詳細說明。 It should be understood that, for different SN configuration methods, the manner of reorganization is also different, which will be described in detail below.
可選地,在第一種方式中:若不同的分段RLC PDU資料包的SN遞增,則該SN具有標識位置資訊的功能,根據該SN和該分段情況指示對分段RLC PDU資料包進行重組。 Optionally, in the first way: if the SN of different segmented RLC PDU data packets is incremented, the SN has the function of identifying location information, and indicates the segmented RLC PDU data packet according to the SN and the segmentation situation. Reorganize.
在第二種方式中:若一個初始資料包對應的不同分段RLC PDU資料包的SN均相同,則該SN不具有標識位置資訊的功能,根據該SN、分段情況指示和位置資訊對分段RLC PDU資料包進行重組。 In the second way: if the SNs of different segment RLC PDU packets corresponding to an initial data packet are the same, the SN does not have the function of identifying location information, and is split according to the SN, segmentation indication and 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 indication includes: the segmented RLC PDU according to the SN order of the segmented RLC PDU data packet Arrange the data packets; reorganize the arranged RLC PDU data packets according to the first segment and/or the last segment indicated in the segment condition indication.
可選地,在分段RLC PDU資料包重組的過程中,判斷是否存在序列缺口(gap);若存在序列缺口,則啟動第一計時器計時,並將當前接收到的最大SN記錄為觸發該第一計時器啟動的目標SN;判斷該第一計時器超過第一預設計時時間前,該目標SN之前的序列缺口是否被填滿;若該目標SN之前的序列缺口未被填滿,則刪除該目標SN之前未重組的分段RLC PDU資料包。 Optionally, during the reassembly of segmented RLC PDU packets, it is determined whether there is a sequence gap (gap); if there is a sequence gap, the 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; judging whether the sequence gap before the target SN is filled before the first timer exceeds the first preset timing time; if the sequence gap before the target SN is not filled, then Delete the segmented RLC PDU packet that has not been reassembled before the target SN.
也就是說,在第一種方式中,進行重組時,當遇到第一個分段的指示,則開始一個新的分段RLC PDU資料包重組,當遇到最後一個分段的指示,則結束該分段RLC PDU資料包的重組。如果中間出現亂序接收(即存在缺口),則啟動計時器等待,並記錄觸發計時器的SN,計時器超時之前,記錄觸發計時器的SN之前的接收缺口被填滿,則正常組包,後續無缺口則停止計時器,如有缺口繼續啟動,並記錄當前接收最高的SN為觸 發計時器的SN。計時器超時之後,如果仍舊有接收缺口,則記錄的觸發計時器SN之前的缺口均不等待,刪除觸發計時器SN之前的所有未重組成功的分段RLC PDU資料包,以清除緩存。 That is to say, in the first way, when reorganization is performed, when the first segment indication is encountered, a new segment RLC PDU packet reassembly is started, and when the last segment indication is encountered, then End the reassembly of the segmented RLC PDU packet. If there is out-of-order reception in the middle (that is, there is a gap), the timer is started to wait, and the SN that triggers the timer is recorded. Before the timer expires, the reception gap before the SN that triggers the timer is filled is filled, the normal packet Then, if there is no gap, the timer will be stopped. If there is a gap, the timer will continue to start, and the highest received SN is recorded as the SN that triggered the timer. After the timer expires, if there is still a receiving gap, the recorded gap before the trigger timer SN does not wait, delete all the segmented RLC PDU packets before the trigger timer SN that have not been successfully reorganized, 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 consecutive SN segments, only the first segment marker and the last segment marker can be reorganized. 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 9, 9 three consecutive segments, with a clear head and tail, you can reorganize successfully, after the reorganization is successful, send the reorganized data to the upper layer. Subsequently, if the last segment with SN=4 is received again, 3 and 4 can be reassembled and submitted as RLC PDU packets. The data submitted to the upper layer need not be in order. For example, it is not necessary to force the RLC PDU packets composed of 7, 8, and 9 to be submitted to the upper layer after the RLC PDU packets composed of 3, 4, which 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 also the first segment, or SN=10 is the last segment, SN=11 is also the last segment, you can Accumulate the number of errors, and 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 reorganizing the segmented RLC PDU packets according to the SN, segmentation indication and location information includes: RLC PDU packets corresponding to the same SN as a group of packets to be reassembled, Regroup the 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 (first segment), and has a length of 200 bytes, that is, [0,200] bytes of the initial data packet, and then receives the SN =0 another segment, SI=10 (intermediate segment), SO=200, LI=300, that is, [200,500] bytes of the initial packet, and finally received another segment with SN=0, SI =11 (the last segment), SO=500, LI=300, that is, [500,800] bytes of the initial data packet, and the SI type indicates that this is the last segment, so the receiving end can divide the above three segments Connected in sequence to form a complete 800-byte RLC PDU packet.
可以理解的是,在分段RLC PDU資料包重組的過程中,確定是否重組失敗的方式可以根據實際需要進行設置。 It can be understood that, in the process of reassembly of segmented RLC PDU data packets, the method for determining whether the reassembly 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 indication and the location information further includes: during the reassembly of the segmented RLC PDU data packet, according to the location The information determines whether the currently received segment RLC PDU packet has an unreceived target segment RLC PDU packet; if there is an unreceived target segment RLC PDU packet before the currently received segment RLC PDU packet, then Start a second timer; if the second timer exceeds the second preset time, and the target segment RLC PDU packet has not been received, delete the set of data to be reorganized corresponding to the target segment RLC PDU packet package.
在另一實施方式中,上述根據該SN、分段情況指示和位置資訊對分段RLC PDU資料包進行重組的步驟,還包括:在分段RLC PDU資料包重組的過程中,當首次接收到目標初始資料包對應的任意一個分段RLC PDU資料包時,啟動第三計時器;若該第三計時器超過第三預設計時時間,仍未接收到該目標初始資料包對應的所有分段RLC PDU資料包,則將該目標初始資料包對應的已接收 分段RLC PDU資料包刪除。 In another embodiment, the step of reorganizing the segmented RLC PDU data packet according to the SN, the segmentation indication and the location information further includes: during the process of reorganizing the segmented RLC PDU data packet, when the first received When any segment RLC PDU packet corresponding to the target initial packet starts a third timer; if the third timer exceeds the third preset time, all segments corresponding to the target initial packet have not been received RLC PDU data packet, then delete the received segment RLC PDU data packet corresponding to the target initial data packet.
可選地,上述用於標識分段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 to the segmented RLC PDU data packet, or the SN carried in the initial data packet. In other words, the SN used to identify the segmented RLC PDU data packet may be the SN allocated by the sender for each segmented 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 the location of the segment data in each segment RLC PDU data packet is located in the initial data packet. For example, the location information may include the offset SO (Segment offset) of the segment data in the initial data packet and the length LI (Length Indicator) of the segment data; or, the location information may include the segment data The offset of the first byte and the offset of the last byte.
進一步地,上述分段情況指示的指示方式可以根據實際需要進行設置,例如,在一實施例中,上述分段情況指示可以包括位於RLC PDU資料包頭部的2比特,用於指示該RLC PDU資料包的分段情況,該分段情況包括:完整資料包、第一個分段、中間分段和最後一個分段。 Further, the indication manner of the above-mentioned segmentation indication may be set according to actual needs. For example, in an embodiment, the above-mentioned segmentation indication may include 2 bits at the head of the RLC PDU data packet to indicate the RLC PDU The segmentation situation of the data packet, which includes: complete data packet, first segment, middle segment and last segment.
在本實施例中,2比特標識的具體含義可以根據實際需要進行,例如,在可以採用00表示一個完整資料包、採用01表示第一個分段、採用10表示中間分段以及採用11表示最後一個分段。此外還可以採用其他的表示方式,例如,採用10表示最後一個分段,採用11標識中間分段等等,在此不再一一列舉。 In this embodiment, the specific meaning of the 2-bit identifier can be carried out according to actual needs. For example, 00 can be used for a complete data packet, 01 for the first segment, 10 for the middle segment, and 11 for the last A segment. In addition, other representations may also be used, for example, 10 is used for the last segment, 11 is used for the intermediate segment, and so on, which will not be listed here one by one.
在另一實施方式中,分段情況指示可以包括位於RLC PDU資料包頭部的2比特,其中1比特用於指示RLC PDU資料包是否為分段RLC PDU資料包,1比特用於指示RLC PDU資料包是否為最後一個分段或者第一個分段。 In another embodiment, the segmentation indication may include 2 bits at the head of the RLC PDU packet, where 1 bit is used to indicate whether the RLC PDU packet is a segmented RLC PDU 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, 1 in 1 bit can be used to indicate a segmented RLC PDU data packet, and 0 can be used to indicate a complete RLC PDU data packet. Then in the other 1 bit, 0 can be used to indicate the last segment, 1 to indicate that it is not the last segment, or 0 to indicate the first segment, and 1 to indicate that it is not the first segment. In addition, other expressions can also be used, which will not be listed here.
進一步地,需要說明的是,由於接收端不使用SN的資料包無法知道順序,從而使得遞交到PDCP實體中的RLC PDU資料包為亂序的。對於當前的設計,PDCP需要有SN用於安全等操作,因此PDCP SN(初始資料包中的SN)一般總是存在,也就是說PDCP SN是具備基於SN進行重排序的可能的。 Further, it should be noted that the data packets that do not use the SN at the receiving end cannot know the order, so that the RLC PDU data packets delivered to the PDCP entity are out of order. For the current design, PDCP needs SN for security and other operations, so PDCP SN (SN in the initial data packet) always exists, which means that PDCP SN has the possibility of reordering based on SN.
對於PDCP重排序,其主要是在檢測到亂序接收時,啟動重排序計時器,並記錄此時的最高接收SN為重排序SN,在計時器超時之前,如果該重排序SN之前的接收缺口均已填滿,則可以停止計時器,並探查後續是否還有接收缺口,如果有缺口,則繼續啟動重排序計時器,記錄最高接收SN為重排序SN。如果重排序計時器超時,重排序SN之前仍有缺口,則放棄缺口的等待。 For PDCP reordering, it mainly starts the reordering timer when it detects out-of-order reception, and records the highest receiving SN at this time as the reordering SN. Before the timer expires, if the receiving gap before the reordering SN is If they are all filled, you can stop the timer and check 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 the reordering 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 an agreement data unit is shown in the figure, including: a
可選地,若將該初始資料包封裝成至少兩個分段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, if the SN is not 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 the segment data of the initial data packet in the segment RLC PDU data packet. position.
可選地,該SN包括為該分段RLC PDU資料包分配的SN,或者該初始資料包中攜帶的SN。 Optionally, the SN includes the SN allocated for the segmented RLC PDU data packet, or the 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 packets, the SNs of different segmented RLC PDU packets corresponding to an initial packet are the same; or, the SNs of different segmented RLC PDU packets Increment.
可選地,該位置資訊包括該分段資料在該初始資料包中的偏移量和該分段資料的長度;或者,該位置資訊包括該分段資料中首個位元組的偏移量和末個位元組的偏移量。 Optionally, the location information includes the offset of the segment data in the initial data packet and the length of the segment data; or, the location information includes the offset of the first byte in the segment data The offset from the last byte.
可選地,該分段情況指示包括位於RLC PDU資料包頭部的2比特,用於指示該RLC PDU資料包的分段情況,該分段情況包括:完整資料包、第一個分段、中間分段和最後一個分段。 Optionally, the segmentation indication includes 2 bits at the head of the RLC PDU packet, which is used to indicate the segmentation of the RLC PDU packet. The segmentation includes the complete packet, the first segment, Middle section and last section.
可選地,該分段情況指示包括位於RLC PDU資料包頭部的 2比特,其中1比特用於指示RLC PDU資料包是否為分段RLC PDU資料包,1比特用於指示RLC PDU資料包是否為最後一個分段或者第一個分段。 Optionally, the segmentation indication includes 2 bits at the head of the RLC PDU packet, where 1 bit is used to indicate whether the RLC PDU packet is a segmented RLC PDU packet, and 1 bit is used to indicate whether the RLC PDU packet is It is 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, another device for transmitting data by a protocol data unit is shown in the figure, which includes: a
可選地,若該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, if the SN does not have a location identification information 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
可選地,若不同的分段RLC PDU資料包的SN遞增,則該SN具有標識位置資訊的功能,根據該SN和該分段情況指示對分段RLC PDU資料包進行重組; 若一個初始資料包對應的不同分段RLC PDU資料包的SN均相同,則該SN不具有標識位置資訊的功能,根據該SN、分段情況指示和位置資訊對分段RLC PDU資料包進行重組。 Optionally, if the SN of different segmented RLC PDU data packets is incremented, the SN has the function of identifying location information, and the segmented RLC PDU data packets are reorganized according to the SN and the segmentation condition instructions; if an initial data The SNs of different segmented RLC PDU data packets corresponding to the packet are the same, then the SN does not have the function of identifying location information, and the segmented RLC PDU data packet is reassembled according to the SN, segmentation indication and location information.
可選地,參照圖6,該第二處理模組503包括:排列子模組50301,用於按照該分段RLC PDU資料包的SN順序對該分段RLC PDU資料包進行排列;第一重組子模組50302,用於根據該分段情況指示中所指示的第一個分段和/或最後一個分段,對排列的分段RLC PDU資料包進行重組。 Optionally, referring to FIG. 6, the
可選地,參照圖7,該第二處理模組503還包括:第一判斷子模組50303,用於在分段RLC PDU資料包重組的過程中,判斷是否存在序列缺口;第一啟動子模組50304,用於若存在序列缺口,則啟動第一計時器計時,並將當前接收到的最大SN記錄為觸發該第一計時器啟動的目標SN;第二判斷子模組50305,用於判斷該第一計時器超過第一預設計時時間前,該目標SN之前的序列缺口是否被填滿;第一處理子模組50306,用於若該目標SN之前的序列缺口未被填滿,則刪除該目標SN之前未重組的分段RLC PDU資料包。 Optionally, referring to FIG. 7, the
可選地,參照圖8,該第二處理模組503包括:第二重組子模組50310,用於將相同的SN對應的RLC PDU資料包作為一組待重組資料包,根據位置資訊對分段RLC PDU資料包進行重組。 Optionally, referring to FIG. 8, the
可選地,參照圖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
或者,參照圖10,該第二處理模組503還包括:第三啟動子模組50314,用於在分段RLC PDU資料包重組的過程中,當首次接收到目標初始資料包對應的任意一個分段RLC PDU資料包時,啟動第三計時器;第三處理子模組50315,用於若該第三計時器超過第三預設計時時間,仍未接收到該目標初始資料包對應的所有分段RLC PDU資料包,則將該目標初始資料包對應的已接收分段RLC PDU資料包刪除。 Alternatively, referring to FIG. 10, the
可選地,該SN包括為該RLC PDU資料包分配的SN,或者該初始資料包中攜帶的SN。 Optionally, the SN includes the SN allocated for the RLC PDU data packet, or the SN carried in the initial data packet.
可選地,該位置資訊包括該分段資料在該初始資料包中的偏移量和該分段資料的長度;或者,該位置資訊包括該分段資料中首個位元組的偏移量和末個位元組的偏移量。 Optionally, the location information includes the offset of the segment data in the initial data packet and the length of the segment data; or, the location information includes the offset of the first byte in the segment data The offset from the last byte.
可選地,該分段情況指示包括位於RLC PDU資料包頭部的2比特,用於指示該RLC PDU資料包的分段情況,該分段情況包括:完整 資料包、第一個分段、中間分段和最後一個分段。 Optionally, the segmentation indication includes 2 bits at the head of the RLC PDU packet, which is used to indicate the segmentation of the RLC PDU packet. The segmentation includes the complete packet, the first segment, Middle section and last section.
可選地,該分段情況指示包括位於RLC PDU資料包頭部的2比特,其中1比特用於指示RLC PDU資料包是否為分段RLC PDU資料包,1比特用於指示RLC PDU資料包是否為最後一個分段或者第一個分段。 Optionally, the segmentation indication includes 2 bits at the head of the RLC PDU packet, where 1 bit is used to indicate whether the RLC PDU packet is a segmented RLC PDU packet, and 1 bit is used to indicate whether the RLC PDU packet is It is 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, by receiving the 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 RLC PDU data packets; wherein, the complete RLC PDU data packet and each A fragmented RLC PDU data packet carries a fragmentation indication. If the initial data packet is encapsulated into a complete RLC PDU data packet, the RLC PDU data packet is not assigned a sequence number SN. Since the SN is not allocated in the complete RLC PDU data packet, there is no need to sort at the receiving end. After receiving the complete RLC PDU data packet, it can be directly forwarded to the higher layer, thus reducing the complexity of the layer 2 data processing process and improving For 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, the figure shows a structure of a device for transmitting data by a protocol data unit. The device for transmitting data by a protocol data unit includes: a
其中,在圖11中,匯流排架構可以包括任意數量的互聯的匯流排和橋,具體由處理器1100代表的一個或多個處理器和記憶體1120代表的記憶體的各種電路連結在一起。匯流排架構還可以將諸如週邊設備、穩壓器和功率管理電路等之類的各種其他電路連結在一起。匯流排介面提供介面。收發機1110可以是多個元件,即包括發送機和收發機,提供用於在傳輸介質上與各種其他裝置通信的單元。處理器1100負責管理匯流排架構和通常的處理,記憶體1120可以存儲處理器1100在執行操作時所使用的資料。 In FIG. 11, the bus architecture may include any number of interconnected buses and bridges. Specifically, one or more processors represented by the
處理器1100負責管理匯流排架構和通常的處理,記憶體1120可以存儲處理器1100在執行操作時所使用的資料。 The
可選地,若將該初始資料包封裝成至少兩個分段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, if the SN is not 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 the segment data of the initial data packet in the segment RLC PDU data packet. position.
可選地,該SN包括為該分段RLC PDU資料包分配的SN,或者該初始資料包中攜帶的SN。 Optionally, the SN includes the SN allocated for the segmented RLC PDU data packet, or the 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 packets, the SNs of different segmented RLC PDU packets corresponding to an initial packet are the same; or, the SNs of different segmented RLC PDU packets Increment.
可選地,該位置資訊包括該分段資料在該初始資料包中的偏移量和該分段資料的長度; 或者,該位置資訊包括該分段資料中首個位元組的偏移量和末個位元組的偏移量。 Optionally, the location information includes the offset of the segment data in the initial data packet and the length of the segment data; or, the location information includes the offset of the first byte in the segment data The offset from the last byte.
可選地,該分段情況指示包括位於RLC PDU資料包頭部的2比特,用於指示該RLC PDU資料包的分段情況,該分段情況包括:完整資料包、第一個分段、中間分段和最後一個分段;或者,該分段情況指示包括位於RLC PDU資料包頭部的2比特,其中1比特用於指示RLC PDU資料包是否為分段RLC PDU資料包,1比特用於指示RLC PDU資料包是否為最後一個分段或者第一個分段。 Optionally, the segmentation indication includes 2 bits at the head of the RLC PDU packet, which is used to indicate the segmentation of the RLC PDU packet. The segmentation includes the complete packet, the first segment, The middle segment and the last segment; or, the segment status indication includes 2 bits at the head of the RLC PDU packet, where 1 bit is used to indicate whether the RLC PDU packet is a segmented RLC PDU packet, 1 bit 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, since the SN is not allocated in the complete RLC PDU data packet, there is no need to sort at the receiving end, and after receiving the complete RLC PDU data packet at the receiving end, it can be directly forwarded to the higher layer, thus reducing the layer 2 data The complexity of the processing flow 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 by a protocol data unit is shown. The device for transmitting data by a protocol data unit includes: a
其中,在圖12中,匯流排架構可以包括任意數量的互聯的匯流排和橋,具體由處理器1200代表的一個或多個處理器和記憶體1220代表的記憶體的各種電路連結在一起。匯流排架構還可以將諸如週邊設備、穩壓器和功率管理電路等之類的各種其他電路連結在一起。匯流排介面提供介面。收發機1210可以是多個元件,即包括發送機和收發機,提供用於在傳輸介質上與各種其他裝置通信的單元。處理器1200負責管理匯流排架構和通常的處理,記憶體1220可以存儲處理器1200在執行操作時所使用的資料。 In FIG. 12, the bus architecture may include any number of interconnected buses and bridges. Specifically, one or more processors represented by the
處理器1200負責管理匯流排架構和通常的處理,記憶體1220可以存儲處理器1200在執行操作時所使用的資料。 The
可選地,若該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, if the SN does not have a location identification information Function, the segmented RLC PDU data packet also carries location information, which is used to identify the segment data of the initial data packet in the segmented RLC PDU data packet at the location of the initial data packet; the
可選地,若不同的分段RLC PDU資料包的SN遞增,則該SN具有標識位置資訊的功能,根據該SN和該分段情況指示對分段RLC PDU資料包進行重組;若一個初始資料包對應的不同分段RLC PDU資料包的SN均相同,則 該SN不具有標識位置資訊的功能,根據該SN、分段情況指示和位置資訊對分段RLC PDU資料包進行重組。 Optionally, if the SN of different segmented RLC PDU data packets is incremented, the SN has the function of identifying location information, and the segmented RLC PDU data packet is reorganized according to the SN and the segmentation condition instructions; if an initial data The SNs of different segmented RLC PDU data packets corresponding to the packet are the same, then the SN does not have the function of identifying location information, and the segmented RLC PDU data packet is reassembled according to the SN, segmentation indication and location information.
可選地,處理器1200還用於執行以下操作:按照該分段RLC PDU資料包的SN順序對該分段RLC PDU資料包進行排列;根據該分段情況指示中所指示的第一個分段和/或最後一個分段,對排列的分段RLC PDU資料包進行重組。 Optionally, the
可選地,處理器1200還用於執行以下操作:在分段RLC PDU資料包重組的過程中,判斷是否存在序列缺口;若存在序列缺口,則啟動第一計時器計時,並將當前接收到的最大SN記錄為觸發該第一計時器啟動的目標SN;判斷該第一計時器超過第一預設計時時間前,該目標SN之前的序列缺口是否被填滿;若該目標SN之前的序列缺口未被填滿,則刪除該目標SN之前未重組的分段RLC PDU資料包。 Optionally, the
可選地,處理器1200還用於執行以下操作:將相同的SN對應的RLC PDU資料包作為一組待重組資料包,根據位置資訊對分段RLC PDU資料包進行重組。 Optionally, the
可選地,處理器1200還用於執行以下操作:在分段RLC PDU資料包重組的過程中,根據該位置資訊判斷當前接收的分段RLC PDU資料包之前是否存在未接收的目標分段RLC PDU資料包; 若該當前接收的分段RLC PDU資料包之前存在未接收的目標分段RLC PDU資料包,則啟動第二計時器;若該第二計時器超過第二預設計時時間,仍未接收到該目標分段RLC PDU資料包,則刪除該目標分段RLC PDU資料包對應的一組待重組資料包。 Optionally, the
或者,處理器1200還用於執行以下操作:在分段RLC PDU資料包重組的過程中,當首次接收到目標初始資料包對應的任意一個分段RLC PDU資料包時,啟動第三計時器;若該第三計時器超過第三預設計時時間,仍未接收到該目標初始資料包對應的所有分段RLC PDU資料包,則將該目標初始資料包對應的已接收分段RLC PDU資料包刪除。 Alternatively, the
可選地,該SN包括為該RLC PDU資料包分配的SN,或者該初始資料包中攜帶的SN。 Optionally, the SN includes the SN allocated for the RLC PDU data packet, or the SN carried in the initial data packet.
可選地,該位置資訊包括該分段資料在該初始資料包中的偏移量和該分段資料的長度;或者,該位置資訊包括該分段資料中首個位元組的偏移量和末個位元組的偏移量。 Optionally, the location information includes the offset of the segment data in the initial data packet and the length of the segment data; or, the location information includes the offset of the first byte in the segment data The offset from the last byte.
可選地,該分段情況指示包括位於RLC PDU資料包頭部的2比特,用於指示該RLC PDU資料包的分段情況,該分段情況包括:完整資料包、第一個分段、中間分段和最後一個分段;或者,該分段情況指示包括位於RLC PDU資料包頭部的2比特,其中1比特用於指示RLC PDU資料包是否為分段RLC PDU資料包,1比特用於 指示RLC PDU資料包是否為最後一個分段或者第一個分段。 Optionally, the segmentation indication includes 2 bits at the head of the RLC PDU packet, which is used to indicate the segmentation of the RLC PDU packet. The segmentation includes the complete packet, the first segment, The middle segment and the last segment; or, the segment status indication includes 2 bits at the head of the RLC PDU packet, where 1 bit is used to indicate whether the RLC PDU packet is a segmented RLC PDU packet, 1 bit is used To indicate whether the RLC PDU packet is the last segment or the first segment.
本領域普通技術人員可以意識到,結合本文中所公開的實施例描述的各示例的單元及演算法步驟,能夠以電子硬體、或者電腦軟體和電子硬體的結合來實現。這些功能究竟以硬體還是軟體方式來執行,取決於技術方案的特定應用和設計約束條件。專業技術人員可以對每個特定的應用來使用不同方法來實現所描述的功能,但是這種實現不應認為超出本發明的範圍。 Persons of ordinary skill in the art may realize that the units and algorithm steps of the examples described in conjunction 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 of the technical solution and design constraints. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present invention.
所屬領域的技術人員可以清楚地瞭解到,為描述的方便和簡潔,上述描述的系統、裝置和單元的具體工作過程,可以參考前述方法實施例中的對應過程,在此不再贅述。 Those skilled in the art can clearly understand that for the convenience and conciseness of the description, the specific working process of the system, device and unit described above can refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.
在本申請所提供的實施例中,應該理解到,所揭露的裝置和方法,可以通過其它的方式實現。例如,以上所描述的裝置實施例僅僅是示意性的,例如,該單元的劃分,僅僅為一種邏輯功能劃分,實際實現時可以有另外的劃分方式,例如多個單元或元件可以結合或者可以集成到另一個系統,或一些特徵可以忽略,或不執行。另一點,所顯示或討論的相互之間的耦合或直接耦合或通信連接可以是通過一些介面,裝置或單元的間接耦合或通信連接,可以是電性,機械或其它的形式。 In the embodiments provided in this application, it should be understood that the disclosed device 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 division of logical functions. In actual implementation, there may be other divisions, 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 an indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
該作為分離部件說明的單元可以是或者也可以不是物理上分開的,作為單元顯示的部件可以是或者也可以不是物理單元,即可以位於一個地方,或者也可以分佈到多個網路單元上。可以根據實際的需要選擇其中的部分或者全部單元來實現本發明實施例方案的目的。 The unit described as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit, that is, it 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 alone 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 of the contribution 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 various embodiments of the present invention. The aforementioned storage media include: flash drives, removable hard drives, read only memory (Read Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disks or optical discs, etc. that can store program codes 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.
201~202‧‧‧步驟 201~202‧‧‧Step
Claims (16)
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710184578.0A CN108632326B (en) | 2017-03-24 | 2017-03-24 | Method and device for transmitting data by protocol data unit |
| ??201710184578.0 | 2017-03-24 | ||
| CN201710184578.0 | 2017-03-24 |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TW201836328A TW201836328A (en) | 2018-10-01 |
| TWI692225B true 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 (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2020132873A1 (en) * | 2018-12-25 | 2020-07-02 | 北京小米移动软件有限公司 | Data transmission method and device |
| WO2020132874A1 (en) * | 2018-12-25 | 2020-07-02 | 北京小米移动软件有限公司 | Data transmission method and device |
| CN113038531B (en) * | 2021-03-12 | 2024-06-18 | 中科南京信息高铁研究院 | Fault tolerance method and system based on enhanced RLC data PDU |
| CN113594077B (en) * | 2021-07-22 | 2024-03-08 | 重庆双芯科技有限公司 | A multi-level chip series system chip positioning method and multi-level chip series system |
| CN118985112A (en) * | 2022-04-15 | 2024-11-19 | Oppo广东移动通信有限公司 | Wireless communication method and device |
| CN118843142A (en) * | 2023-04-24 | 2024-10-25 | 华为技术有限公司 | Communication method and device |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101364990A (en) * | 2007-08-08 | 2009-02-11 | 华为技术有限公司 | A way to reduce data header overhead |
| US20120140704A1 (en) * | 2009-08-17 | 2012-06-07 | Qun Zhao | Method and apparatus for controlling downlink data transmission in a multi-hop relay communication system |
| US8614948B2 (en) * | 2007-06-19 | 2013-12-24 | Alcatel Lucent | Data transmission method, data reception method and apparatuses thereof |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP1850522A3 (en) * | 2006-04-27 | 2007-12-05 | Innovative Sonic Limited | Method and apparatus for handling segmentation and numbering of SDUS in wireless communications systems |
| CN101170390A (en) * | 2006-10-27 | 2008-04-30 | 中兴通讯股份有限公司 | Segmentation means for radio link control layer service data units |
| 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 | 京信通信系统(中国)有限公司 | Method and system for receiving PDCP data packets |
-
2017
- 2017-03-24 CN CN201710184578.0A patent/CN108632326B/en active Active
-
2018
- 2018-02-14 WO PCT/CN2018/076822 patent/WO2018171369A1/en not_active Ceased
- 2018-03-13 TW TW107108390A patent/TWI692225B/en active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8614948B2 (en) * | 2007-06-19 | 2013-12-24 | Alcatel Lucent | Data transmission method, data reception method and apparatuses thereof |
| CN101364990A (en) * | 2007-08-08 | 2009-02-11 | 华为技术有限公司 | A way to reduce data header overhead |
| CN101364990B (en) | 2007-08-08 | 2012-06-27 | 华为技术有限公司 | Method for reducing data header expense |
| US20120140704A1 (en) * | 2009-08-17 | 2012-06-07 | Qun Zhao | Method and apparatus for controlling downlink data transmission in a multi-hop relay communication system |
Also Published As
| Publication number | Publication date |
|---|---|
| CN108632326B (en) | 2020-10-30 |
| TW201836328A (en) | 2018-10-01 |
| CN108632326A (en) | 2018-10-09 |
| WO2018171369A1 (en) | 2018-09-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| TWI692225B (en) | Method and device for transmitting data by agreement data unit | |
| US10602400B2 (en) | Enhancement of PDCP status report | |
| JP4906844B2 (en) | Method for generating lower layer data block in wireless mobile communication system | |
| CN110622538B (en) | Repetition and RLC operation in new radio access technology | |
| EP3484124B1 (en) | Data processing method and apparatus | |
| CN107360591B (en) | Method and equipment for reporting buffer status report | |
| KR101396062B1 (en) | Effective data block transmission method using a header indicator | |
| TWI646814B (en) | Data transmission method and related equipment | |
| JP2007523520A (en) | Apparatus and method for transmitting control information in mobile communication system | |
| CN110099448A (en) | The method and apparatus of communication | |
| JP7502691B2 (en) | Wireless communication device, wireless communication method, and wireless communication system | |
| WO2018201960A1 (en) | Method and device for performing feedback | |
| CN107347199B (en) | It is a kind of switching and its control method, device | |
| CN107734547A (en) | State report generates and system, and status report reception method | |
| CN119012269A (en) | Congestion control method, congestion control device and computer readable storage medium | |
| CN114339895A (en) | Data transmission method, device and storage medium | |
| CN109547167B (en) | Counting method and communication device | |
| WO2025241761A1 (en) | Data packet processing method and apparatus | |
| JP4955734B2 (en) | Method of transmitting PDCP data unit to upper level | |
| WO2024022198A1 (en) | Data delivery method and communication device | |
| CN121418047A (en) | A communication method and apparatus | |
| CN114339882A (en) | Data transmission method, device and equipment |