TW202027478A - Method for processing data packet, entity and storage medium - Google Patents

Method for processing data packet, entity and storage medium Download PDF

Info

Publication number
TW202027478A
TW202027478A TW108135343A TW108135343A TW202027478A TW 202027478 A TW202027478 A TW 202027478A TW 108135343 A TW108135343 A TW 108135343A TW 108135343 A TW108135343 A TW 108135343A TW 202027478 A TW202027478 A TW 202027478A
Authority
TW
Taiwan
Prior art keywords
sdu
layer
protocol layer
protocol
segment
Prior art date
Application number
TW108135343A
Other languages
Chinese (zh)
Inventor
石聰
楊寧
劉建華
Original Assignee
大陸商Oppo廣東移動通信有限公司
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 大陸商Oppo廣東移動通信有限公司 filed Critical 大陸商Oppo廣東移動通信有限公司
Publication of TW202027478A publication Critical patent/TW202027478A/en

Links

Images

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

Landscapes

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

Abstract

Disclosed are a method for processing a data packet. The method comprises: a first protocol layer entity dividing a first SDU into at least two SDU segments based on the size of the received first SDU; and the first protocol layer entity indicating that the SDU segment is a data segment of the first SDU. Also provided are another data packet processing method, an entity and a storage medium.

Description

一種資料包處理方法、實體及儲存媒介Data packet processing method, entity and storage medium

本發明涉及無線通訊技術領域,尤其涉及一種資料包處理方法、實體及儲存媒介。The present invention relates to the field of wireless communication technology, in particular to a data packet processing method, entity and storage medium.

在無線(New Radio,NR)Rel-15系統中,分封資料匯聚協定(Packet Data Convergence Protocol,PDCP)層能支援的最大服務資料單元(Service Data Unit,SDU)的大小為9K位元組;因此,當從無線資源控制無線資源控制(Radio Resource Control,RRC)層或應用層發送至PDCP層的資料超過PDCP層支援的最大SDU的大小時,將導致資料無法進行有效的傳輸。In the wireless (New Radio, NR) Rel-15 system, the size of the largest Service Data Unit (SDU) that the Packet Data Convergence Protocol (PDCP) layer can support is 9K bytes; therefore When the data sent from the Radio Resource Control (Radio Resource Control, RRC) layer or the application layer to the PDCP layer exceeds the size of the largest SDU supported by the PDCP layer, the data cannot be effectively transmitted.

為解決上述技術問題,本發明實施例提供一種資料包處理方法、實體及儲存媒介,實現了從無線資源控制RRC層或應用層發送至PDCP層的資料超過PDCP層支援的最大SDU的大小時,資料能夠進行有效的傳輸。In order to solve the above technical problems, the embodiments of the present invention provide a data packet processing method, entity and storage medium, so that when the data sent from the radio resource control RRC layer or the application layer to the PDCP layer exceeds the size of the largest SDU supported by the PDCP layer, Data can be effectively transmitted.

第一方面,本發明實施例提供一種資料包處理方法,包括:第一協定層實體基於接收到的第一SDU的大小,將所述第一SDU切分為至少兩個SDU片段;所述第一協定層實體指示所述SDU片段為所述第一SDU的一個資料片段。In a first aspect, an embodiment of the present invention provides a data packet processing method, including: a first protocol layer entity divides the first SDU into at least two SDU fragments based on the size of the received first SDU; A protocol layer entity indicates that the SDU segment is a data segment of the first SDU.

具體地,所述方法還包括:Specifically, the method further includes:

所述第一協定層實體將添加有第一協定層的標頭的至少兩個SDU片段遞交至第二協定層實體;The first protocol layer entity submits at least two SDU fragments added with the header of the first protocol layer to the second protocol layer entity;

所述第二協定層為所述第一協議層的下層。The second protocol layer is a lower layer of the first protocol layer.

具體地,所述第一協議層,包括:Specifically, the first protocol layer includes:

分封資料匯聚協定PDCP層;The PDCP layer of the packet data aggregation protocol;

或,服務資料適應協定SDAP層;Or, the service data adapts to the SDAP layer of the agreement;

或,位於所述PDCP層之上、所述SDAP層之下的第三協議層;Or, a third protocol layer located above the PDCP layer and below the SDAP layer;

或,位於所述SDAP層之上的第四協議層。Or, the fourth protocol layer located above the SDAP layer.

第二方面,本發明實施例提供一種資料包處理方法,包括:第一協定層實體接收至少兩個SDU片段,所述至少兩個SDU片段為基於第一SDU的大小切分得到的資料片段。In a second aspect, an embodiment of the present invention provides a data packet processing method, including: a first protocol layer entity receives at least two SDU fragments, where the at least two SDU fragments are data fragments obtained based on the size of the first SDU.

具體地,所述至少兩個SDU片段中的每個SDU片段的大小相等,且每個SDU片段的大小均小於或等於所述第一閾值;Specifically, the size of each SDU segment in the at least two SDU segments is equal, and the size of each SDU segment is less than or equal to the first threshold;

或者,所述至少兩個SDU片段中的第一SDU片段的大小小於所述第一閾值,所述至少兩個SDU片段中,除所述第一SDU片段以外的SDU片段的大小均等於所述第一閾值。Alternatively, the size of the first SDU fragment in the at least two SDU fragments is less than the first threshold, and the size of the SDU fragments other than the first SDU fragment in the at least two SDU fragments is equal to the The first threshold.

具體地,所述方法還包括:Specifically, the method further includes:

所述第一協定層實體基於所述至少兩個SDU片段中的每個SDU片段對應的第一協議層的標頭,確定所述至少兩個SDU片段中的第二SDU片段為所述第一SDU的第一個資料片段時,所述第一協定層實體對所述第二SDU片段進行標頭解壓縮處理。The first protocol layer entity determines that the second SDU segment of the at least two SDU segments is the first protocol layer header corresponding to each SDU segment of the at least two SDU segments. When the first data fragment of the SDU is used, the first protocol layer entity performs header decompression processing on the second SDU fragment.

具體地,對所述第二SDU片段進行標頭解壓縮處理之後,所述方法還包括:Specifically, after performing header decompression processing on the second SDU segment, the method further includes:

對所述至少兩個SDU片段進行合併處理,得到所述第一SDU。Merging processing is performed on the at least two SDU segments to obtain the first SDU.

具體地,所述至少兩個SDU片段中的每個SDU片段對應的第一協議層的標頭包括:第一指示資訊,所述第一指示資訊用於指示下述中的至少一種:Specifically, the header of the first protocol layer corresponding to each of the at least two SDU segments includes: first indication information, the first indication information being used to indicate at least one of the following:

SDU片段在所述第一SDU中的位置;The position of the SDU segment in the first SDU;

SDU片段的第一個位元對應所述第一SDU中的位置;The first bit of the SDU fragment corresponds to the position in the first SDU;

序列SN號。Serial SN number.

具體地,所述至少兩個SDU片段中的每個SDU片段對應的SN號相同;Specifically, the SN number corresponding to each of the at least two SDU segments is the same;

或,所述至少兩個SDU片段中的每個SDU片段對應的SN號不同。Or, the SN number corresponding to each SDU segment in the at least two SDU segments is different.

具體地,當所至少兩個SDU片段中的每個SDU片段對應的SN號不同時,Specifically, when the SN number corresponding to each of the at least two SDU segments is different,

所述至少兩個SDU片段中的每個SDU片段的標頭包括:第二指示資訊;The header of each of the at least two SDU fragments includes: second indication information;

所述第二指示資訊用於指示所述SDU片段所屬的SDU。The second indication information is used to indicate the SDU to which the SDU segment belongs.

具體地,所述第一協議層,包括:Specifically, the first protocol layer includes:

分封資料匯聚協定PDCP層;The PDCP layer of the packet data aggregation protocol;

或,服務資料適應協定SDAP層;Or, the service data adapts to the SDAP layer of the agreement;

或,位於所述PDCP層之上、所述SDAP層之下的第三協議層;Or, a third protocol layer located above the PDCP layer and below the SDAP layer;

或,位於所述SDAP層之上的第四協議層。Or, the fourth protocol layer located above the SDAP layer.

第三方面,本發明實施例提供一種第一協定層實體,包括:第一處理單元,配置為基於接收到的第一SDU的大小將所述第一SDU切分為至少兩個SDU片段,並指示所述SDU片段為所述第一SDU的一個資料片段。In a third aspect, an embodiment of the present invention provides a first protocol layer entity, including: a first processing unit configured to divide the first SDU into at least two SDU segments based on the size of the received first SDU, and Indicating that the SDU segment is a data segment of the first SDU.

具體地,所述第一處理單元,配置為當所述第一SDU的大小大於第一閾值時,所述第一協定層實體將所述第一SDU切分為至少兩個SDU片段;Specifically, the first processing unit is configured to: when the size of the first SDU is greater than a first threshold, the first agreement layer entity divides the first SDU into at least two SDU segments;

所述至少兩個SDU片段中的每個SDU片段的大小相等,且每個SDU片段的大小均小於或均等於所述第一閾值;The size of each SDU segment in the at least two SDU segments is equal, and the size of each SDU segment is less than or equal to the first threshold;

或者,所述至少兩個SDU片段中的一個第一SDU片段的大小小於所述第一閾值,所述至少兩個SDU片段中,除所述第一SDU片段以外的SDU片段的大小均等於所述第一閾值。Alternatively, the size of a first SDU segment in the at least two SDU segments is less than the first threshold, and in the at least two SDU segments, the sizes of SDU segments other than the first SDU segment are all equal to all sizes. Mentioned first threshold.

具體地,所述至少兩個SDU片段中的每個SDU片段包括對應的第一協議層的標頭;Specifically, each of the at least two SDU fragments includes a corresponding header of the first protocol layer;

所述第一協議層的標頭包括:第一指示資訊,所述第一指示資訊用於指示下述中的至少一種:The header of the first protocol layer includes: first indication information, and the first indication information is used to indicate at least one of the following:

SDU片段在所述第一SDU中的位置;The position of the SDU segment in the first SDU;

SDU片段的第一個位元組對應所述第一SDU中的位置;The first byte of the SDU fragment corresponds to the position in the first SDU;

序列SN號。Serial SN number.

具體地,所述至少兩個SDU片段中的每個SDU片段對應的SN號相同;Specifically, the SN number corresponding to each of the at least two SDU segments is the same;

或,所述至少兩個SDU片段中的每個SDU片段對應的SN號不同。Or, the SN number corresponding to each SDU segment in the at least two SDU segments is different.

具體地,當所述至少兩個SDU片段中的每個SDU片段對應的SN號不同時,Specifically, when the SN number corresponding to each of the at least two SDU segments is different,

所述至少兩個SDU片段中的每個SDU片段的標頭包括:第二指示資訊;The header of each of the at least two SDU fragments includes: second indication information;

所述第二指示資訊用於指示所述SDU片段所屬的SDU。The second indication information is used to indicate the SDU to which the SDU segment belongs.

具體地,所述第一協議層為分封資料匯聚協定PDCP層,當所述至少兩個SDU片段中的第二SDU片段為所述第一SDU的第一個資料片段時,所述第一處理單元,配置為對所述第二SDU片段進行頭壓縮處理;Specifically, the first protocol layer is the PDCP layer of the Packet Data Convergence Protocol, and when the second SDU fragment in the at least two SDU fragments is the first data fragment of the first SDU, the first processing A unit configured to perform header compression processing on the second SDU segment;

當所述至少兩個SDU片段中的第三SDU片段不是所述第一SDU的第一個資料片段時,所述處理單元,配置為不對所述第三SDU片段進行頭壓縮處理。When the third SDU segment of the at least two SDU segments is not the first data segment of the first SDU, the processing unit is configured to not perform header compression processing on the third SDU segment.

具體地,所述第一處理單元,配置為對所述第二SDU片段的標頭進行壓縮處理。Specifically, the first processing unit is configured to perform compression processing on the header of the second SDU segment.

具體地,所述第一SDU為使用者面資料;Specifically, the first SDU is user profile data;

或者,所述第一SDU為控制面資料。Alternatively, the first SDU is control plane data.

第四方面,本發明實施例提供一種第一協定層實體,包括:接收單元,配置為接收至少兩個SDU片段,所述至少兩個SDU片段為基於第一SDU的大小切分得到的資料片段。In a fourth aspect, an embodiment of the present invention provides a first protocol layer entity, including: a receiving unit configured to receive at least two SDU fragments, where the at least two SDU fragments are data fragments obtained by segmentation based on the size of the first SDU .

具體地,所述至少兩個SDU片段中的每個SDU片段的大小相等,且每個SDU片段的大小均小於或等於所述第一閾值;Specifically, the size of each SDU segment in the at least two SDU segments is equal, and the size of each SDU segment is less than or equal to the first threshold;

或者,所述至少兩個SDU片段中的第一SDU片段的大小小於所述第一閾值,所述至少兩個SDU片段中,除所述第一SDU片段以外的SDU片段的大小均等於所述第一閾值。Alternatively, the size of the first SDU fragment in the at least two SDU fragments is less than the first threshold, and the size of the SDU fragments other than the first SDU fragment in the at least two SDU fragments is equal to the The first threshold.

具體地,所述第一協定層實體還包括:Specifically, the first agreement layer entity further includes:

第二處理單元,配置為基於所述至少兩個SDU片段中的每個SDU片段對應的第一協議層的標頭,確定所述至少兩個SDU片段中的第二SDU片段為所述第一SDU的第一個資料片段時,所述第一協定層實體對所述第二SDU片段進行標頭解壓縮處理。The second processing unit is configured to determine, based on the header of the first protocol layer corresponding to each of the at least two SDU fragments, that the second SDU fragment of the at least two SDU fragments is the first When the first data fragment of the SDU is used, the first protocol layer entity performs header decompression processing on the second SDU fragment.

具體地,所述第二處理單元,配置為對所述至少兩個SDU片段進行合併處理,得到所述第一SDU。Specifically, the second processing unit is configured to perform merging processing on the at least two SDU segments to obtain the first SDU.

具體地,所述至少兩個SDU片段中的每個SDU片段對應的第一協議層的標頭包括:第一指示資訊,所述第一指示資訊用於指示下述中的至少一種:Specifically, the header of the first protocol layer corresponding to each of the at least two SDU segments includes: first indication information, the first indication information being used to indicate at least one of the following:

SDU片段在所述第一SDU中的位置;The position of the SDU segment in the first SDU;

SDU片段的第一個位元對應所述第一SDU中的位置;The first bit of the SDU fragment corresponds to the position in the first SDU;

序列SN號。Serial SN number.

具體地,所述至少兩個SDU片段中的每個SDU片段對應的SN號相同;Specifically, the SN number corresponding to each of the at least two SDU segments is the same;

或,所述至少兩個SDU片段中的每個SDU片段對應的SN號不同。Or, the SN number corresponding to each SDU segment in the at least two SDU segments is different.

具體地,當所至少兩個SDU片段中的每個SDU片段對應的SN號不同時,Specifically, when the SN number corresponding to each of the at least two SDU segments is different,

所述至少兩個SDU片段中的每個SDU片段的標頭包括:第二指示資訊;The header of each of the at least two SDU fragments includes: second indication information;

所述第二指示資訊用於指示所述SDU片段所屬的SDU。The second indication information is used to indicate the SDU to which the SDU segment belongs.

具體地,所述第一協議層,包括:Specifically, the first protocol layer includes:

分封資料匯聚協定PDCP層;The PDCP layer of the packet data aggregation protocol;

或,服務資料適應協定SDAP層;Or, the service data adapts to the SDAP layer of the agreement;

或,位於所述PDCP層之上、所述SDAP層之下的第三協議層;Or, a third protocol layer located above the PDCP layer and below the SDAP layer;

或,位於所述SDAP層之上的第四協議層。Or, the fourth protocol layer located above the SDAP layer.

第五方面,本發明實施例提供一種第一協定層實體,包括:處理器和用於儲存能夠在處理器上運行的電腦程式的記憶體,其中,所述處理器用於運行所述電腦程式時,執行上述對應於終端設備的第一協定層實體執行的資料包處理方法的步驟。In a fifth aspect, an embodiment of the present invention provides a first protocol layer entity, including: a processor and a memory for storing a computer program that can run on the processor, wherein the processor is used for running the computer program , Execute the steps of the data packet processing method executed by the first protocol layer entity corresponding to the terminal device.

第六方面,本發明實施例提供一種第一協定層實體,包括:處理器和用於儲存能夠在處理器上運行的電腦程式的記憶體,其中,所述處理器用於運行所述電腦程式時,執行上述對應於網路設備的第一協定層實體執行的資料包處理方法的步驟。In a sixth aspect, an embodiment of the present invention provides a first protocol layer entity, including: a processor and a memory for storing a computer program that can run on the processor, wherein the processor is used for running the computer program , Execute the steps of the data packet processing method executed by the first protocol layer entity corresponding to the network device.

第七方面,本發明實施例提供一種儲存媒介,儲存有可執行程式,所述可執行程式被處理器執行時,實現上述對應於網路設備的第一協定層實體執行的資料包處理方法。In a seventh aspect, an embodiment of the present invention provides a storage medium that stores an executable program, and when the executable program is executed by a processor, the above-mentioned data packet processing method executed by the first protocol layer entity corresponding to the network device is implemented.

第八方面,本發明實施例提供一種儲存媒介,儲存有可執行程式,所述可執行程式被處理器執行時,實現上述對應於網路設備的第一協定層實體執行的資料包處理方法。In an eighth aspect, an embodiment of the present invention provides a storage medium storing an executable program that, when executed by a processor, implements the aforementioned data packet processing method corresponding to the first protocol layer entity of the network device.

本發明實施例提供的資料包處理方法,終端設備側對應的第一議層實體基於接收到的第一SDU的大小,將所述第一SDU切分為至少兩個SDU片段,如此,透過將SDU劃分為至少兩個SDU片段,使得資料的傳輸不受協定層能夠支援傳輸的最大資料的限制,實現了資料的有效傳輸。In the data packet processing method provided by the embodiment of the present invention, the first protocol layer entity corresponding to the terminal device side divides the first SDU into at least two SDU fragments based on the size of the received first SDU. The SDU is divided into at least two SDU segments, so that data transmission is not restricted by the maximum data that the protocol layer can support transmission, and effective data transmission is realized.

為了能夠更加詳盡地瞭解本發明實施例的特點和技術內容,下面結合附圖對本發明實施例的實現進行詳細闡述,所附附圖僅供參考說明之用,並非用來限定本發明實施例。In order to understand the features and technical content of the embodiments of the present invention in more detail, the implementation of the embodiments of the present invention will be described in detail below with reference to the accompanying drawings. The accompanying drawings are for reference and explanation purposes only, and are not used to limit the embodiments of the present invention.

在對本發明實施例進行詳細說明之前,先對資料傳輸的協定疊進行簡要說明,如圖1所示,在終端設備側以及在網路設備側,協定疊按照層關係由上到下依次為服務資料適應協定(Service Data Adaptation Protocol,SDAP)層、PDCP層、無線鏈路層控制(Radio Link Control,RLC)層、媒體存取控制(Media  Access Control, MAC)層和實體(Physical,PHY)層,層關係為:SDAP層為PDCP層的上層,PDCP層為RLC層的上層,RLC層為MAC層的上層,MAC層為PHY層的上層。相應的,一個協定層在網路設備側和終端設備側存在對應關係。Before describing the embodiments of the present invention in detail, a brief description of the protocol stack for data transmission will be given. As shown in Figure 1, on the terminal device side and on the network device side, the protocol stack is the service in order from top to bottom according to the layer relationship. Data Adaptation Protocol (Service Data Adaptation Protocol, SDAP) layer, PDCP layer, radio link control (Radio Link Control, RLC) layer, media access control (MAC) layer and physical (PHY) layer , The layer relationship is: the SDAP layer is the upper layer of the PDCP layer, the PDCP layer is the upper layer of the RLC layer, the RLC layer is the upper layer of the MAC layer, and the MAC layer is the upper layer of the PHY layer. Correspondingly, a protocol layer has a corresponding relationship between the network equipment side and the terminal equipment side.

基於上述問題,本發明提供一種資料包處理方法,本申請實施例的資料包處理方法可以應用於各種通訊系統,例如:全球移動通訊(Global System of Mobile communication,GSM)系統、分碼多重存取(Code Division Multiple Access,CDMA)系統、寬頻分碼多重存取(Wideband Code Division Multiple Access,WCDMA)系統、通用封包無線服務(General Packet Radio Service,GPRS)、長期演進(Long Term Evolution,LTE)系統、LTE頻分雙工(Frequency Division Duplex,FDD)系統、LTE時分雙工(Time Division Duplex,TDD)、通用移動電信系統(Universal Mobile Telecommunication System,UMTS)、全球微波連接互通(Worldwide Interoperability for Microwave Access,WiMAX)通訊系統或5G系統等。Based on the above-mentioned problems, the present invention provides a data packet processing method. The data packet processing method in the embodiments of the present application can be applied to various communication systems, such as: Global System of Mobile communication (GSM) system, code division multiple access (Code Division Multiple Access, CDMA) system, Wideband Code Division Multiple Access (WCDMA) system, General Packet Radio Service (GPRS), Long Term Evolution (LTE) system , LTE Frequency Division Duplex (Frequency Division Duplex, FDD) system, LTE Time Division Duplex (TDD), Universal Mobile Telecommunication System (UMTS), Worldwide Interoperability for Microwave Access, WiMAX) communication system or 5G system, etc.

示例性的,本申請實施例應用的通訊系統100如圖2所示。該通訊系統100可以包括網路設備110,網路設備110可以是與終端設備120(或稱為通訊終端、終端)通訊的設備。網路設備110可以為特定的地理區域提供通訊覆蓋,並且可以與位於該覆蓋區域內的終端設備進行通訊。可選地,該網路設備110可以是GSM系統或CDMA系統中的基地台(Base Transceiver Station,BTS),也可以是WCDMA系統中的節點B(NodeB,NB),還可以是LTE系統中的演進型節點B(Evolutional Node B,eNB或eNodeB),或者是雲端無線存取網路(Cloud Radio Access Network,CRAN)中的無線控制器,或者該網路設備可以為移動交換中心、中繼站、存取點、車載設備、可穿戴設備、集線器、交換機、橋接器、路由器、5G網路中的網路側設備或者未來演進的公用地移動式網路(Public Land Mobile Network,PLMN)中的網路設備等。Illustratively, the communication system 100 applied in the embodiment of the present application is shown in FIG. 2. The communication system 100 may include a network device 110, and the network device 110 may be a device that communicates with a terminal device 120 (or called a communication terminal or a terminal). The network device 110 can provide communication coverage for a specific geographic area, and can communicate with terminal devices located in the coverage area. Optionally, the network device 110 may be a base station (Base Transceiver Station, BTS) in a GSM system or a CDMA system, or a NodeB (NodeB, NB) in a WCDMA system, or a base station in an LTE system. Evolutional Node B (eNB or eNodeB), or the wireless controller in the Cloud Radio Access Network (CRAN), or the network equipment can be a mobile switching center, a relay station, or a storage device. Pick-up points, in-vehicle devices, wearable devices, hubs, switches, bridges, routers, network side devices in 5G networks, or network devices in the future evolution of the Public Land Mobile Network (PLMN) Wait.

該通訊系統100還包括位於網路設備110覆蓋範圍內的至少一個終端設備120。作為在此使用的“終端設備”包括但不限於經由有線線路連接,如經由公共交換電話網絡(Public Switched Telephone Networks,PSTN)、數字用戶線(Digital Subscriber Line,DSL)、數位電纜、直接電纜連線;和/或另一資料連接/網路;和/或經由無線介面,如,針對胞狀網絡、無線區域網路(Wireless Local Area Network,WLAN)、諸如DVB-H 網路的數位電視網路、衛星網路、AM-FM廣播發送器;和/或另一終端設備的被設置成接收/發送通訊信號的裝置;和/或物聯網(Internet of Things,IoT)設備。被設置成透過無線介面通訊的終端設備可以被稱為“無線通訊終端”、“無線終端”或“移動終端”。移動終端的示例包括但不限於衛星或行動電話;可以組合蜂窩無線電電話與資料處理、傳真以及資料通信能力的個人通訊系統(Personal Communications System,PCS)終端;可以包括無線電電話、尋呼機、網際網路/內聯網存取、Web流覽器、記事簿、日曆以及/或全球定位系統(Global Positioning System,GPS)接收器的PDA;以及常規膝上型和/或掌上型接收器或包括無線電電話收發器的其它電子裝置。終端設備可以指存取終端、使用者設備(User Equipment,UE)、使用者單元、使用者站、移動站、移動台、遠方站、遠端終端機、移動設備、使用者終端、終端、無線通訊設備、使用者代理或使用者裝置。存取終端可以是行動電話、無線電話、會話啟動協議(Session Initiation Protocol,SIP)電話、無線局部迴路(Wireless Local Loop,WLL)站、個人數位助理(Personal Digital Assistant,PDA)、具有無線通訊功能的手持設備、計算設備或連接到無線數據機的其它處理設備、車載設備、可穿戴設備、5G網路中的終端設備或者未來演進的PLMN中的終端設備等。The communication system 100 also includes at least one terminal device 120 located within the coverage area of the network device 110. As used herein, "terminal equipment" includes, but is not limited to, connection via wired lines, such as via Public Switched Telephone Networks (PSTN), Digital Subscriber Line (DSL), digital cables, and direct cable connections. And/or another data connection/network; and/or via a wireless interface, such as for cellular networks, wireless local area networks (WLAN), digital television networks such as DVB-H networks A device that is configured to receive/send communication signals from another terminal device; and/or Internet of Things (IoT) equipment. A terminal device set to communicate through a wireless interface can be called a "wireless communication terminal", a "wireless terminal" or a "mobile terminal". Examples of mobile terminals include but are not limited to satellite or mobile phones; Personal Communications System (PCS) terminals that can combine cellular radio phones with data processing, fax, and data communication capabilities; can include radio phones, pagers, and the Internet /Intranet access, Web browser, note book, calendar and/or PDA with Global Positioning System (GPS) receiver; and conventional laptop and/or palm-type receiver or including radio phone transceiver Other electronic devices. Terminal equipment can refer to access terminal, user equipment (User Equipment, UE), user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile equipment, user terminal, terminal, wireless Communication equipment, user agent or user device. Access terminals can be mobile phones, wireless phones, Session Initiation Protocol (SIP) phones, wireless local loop (Wireless Local Loop, WLL) stations, personal digital assistants (Personal Digital Assistant, PDA), with wireless communication functions Handheld devices, computing devices or other processing devices connected to wireless modems, in-vehicle devices, wearable devices, terminal devices in 5G networks, or terminal devices in the future evolution of PLMN, etc.

可選地,終端設備120之間可以進行終端直連(Device to Device,D2D)通訊。Optionally, direct terminal connection (Device to Device, D2D) communication may be performed between the terminal devices 120.

可選地,5G系統或5G網路還可以稱為新無線(New Radio,NR)系統或NR網路。Optionally, the 5G system or 5G network may also be referred to as a New Radio (NR) system or NR network.

圖2示例性地示出了一個網路設備和兩個終端設備,可選地,該通訊系統100可以包括多個網路設備並且每個網路設備的覆蓋範圍內可以包括其它數量的終端設備,本申請實施例對此不做限定。Figure 2 exemplarily shows a network device and two terminal devices. Optionally, the communication system 100 may include multiple network devices and the coverage of each network device may include other numbers of terminal devices. This embodiment of the application does not limit this.

可選地,該通訊系統100還可以包括網路控制器、移動管理實體等其他網路實體,本申請實施例對此不作限定。Optionally, the communication system 100 may also include other network entities such as a network controller and a mobility management entity, which are not limited in the embodiment of the present application.

應理解,本申請實施例中網路/系統中具有通訊功能的設備可稱為通訊設備。以圖2示出的通訊系統100為例,通訊設備可包括具有通訊功能的網路設備110和終端設備120,網路設備110和終端設備120可以為上文所述的具體設備,此處不再贅述;通訊設備還可包括通訊系統100中的其他設備,例如網路控制器、移動管理實體等其他網路實體,本申請實施例中對此不做限定。It should be understood that the devices with communication functions in the network/system in the embodiments of the present application may be referred to as communication devices. Taking the communication system 100 shown in FIG. 2 as an example, the communication equipment may include a network equipment 110 with communication functions and a terminal equipment 120. The network equipment 110 and the terminal equipment 120 may be the specific equipment described above. To repeat; the communication device may also include other devices in the communication system 100, such as network controllers, mobility management entities and other network entities, which are not limited in the embodiment of the present application.

本發明實施例提供的一種資料包處理方法的可選處理流程,如圖3所示,包括以下步驟:An optional processing flow of a data packet processing method provided by an embodiment of the present invention, as shown in FIG. 3, includes the following steps:

步驟S201,第一協定層實體基於接收到的第一SDU的大小,將所述第一SDU切分為至少兩個SDU片段。Step S201: The first agreement layer entity divides the first SDU into at least two SDU segments based on the received size of the first SDU.

本發明實施例中,第一SDU可以是由RRC層發送至第一協定層實體,也可以是由應用層發送至第一協定層實體。In the embodiment of the present invention, the first SDU may be sent by the RRC layer to the first agreement layer entity, or may be sent by the application layer to the first agreement layer entity.

在一些實施例中,當所述第一SDU的大小大於第一閾值時,所述第一協定層實體將所述第一SDU切分為至少兩個SDU片段。在對第一SDU進行切分時,當所述第一SDU的大小為第一閾值的整數倍時,將所述第一SDU切分後的至少兩個SDU片段中的每個SDU片段的大小均等於所述第一閾值。在對第一SDU進行切分時,當所述第一SDU的大小不是第一閾值的整數倍時,所述至少兩個SDU片段中的最後一個SDU片段的大小小於所述第一閾值,除最後一個SDU片段以外的SDU片段的大小等於所述第一閾值。或者,當所述第一SDU的大小不是第一閾值的整數倍時,對所述第一SDU進行等量切分,切分得到的每個SDU片段的大小相等,且每個SDU片段的大小小於所述第一閾值。In some embodiments, when the size of the first SDU is greater than a first threshold, the first agreement layer entity divides the first SDU into at least two SDU segments. When the first SDU is segmented, when the size of the first SDU is an integer multiple of the first threshold, the size of each of the at least two SDU segments after the first SDU is segmented Both are equal to the first threshold. When the first SDU is segmented, when the size of the first SDU is not an integer multiple of the first threshold, the size of the last SDU segment of the at least two SDU segments is less than the first threshold, and the size is divided by The size of the SDU fragments other than the last SDU fragment is equal to the first threshold. Or, when the size of the first SDU is not an integer multiple of the first threshold, the first SDU is equally divided, and the size of each SDU segment obtained by the segmentation is the same, and the size of each SDU segment Less than the first threshold.

本發明實施例中,第一閾值為第一協議層能夠支援傳輸的資料最大值。可選地,第一閾值為PDCP層能夠支援的資料大小的最大值,如9K位元組。In the embodiment of the present invention, the first threshold is the maximum value of data that the first protocol layer can support transmission. Optionally, the first threshold is the maximum data size that the PDCP layer can support, such as 9K bytes.

在一些實施例中,所述至少兩個SDU片段均包括對應的第一協議層的標頭,所述第一協議層的標頭包括:第一指示資訊,所述第一指示資訊用於指示下述中的至少一種:In some embodiments, each of the at least two SDU segments includes a corresponding header of the first protocol layer, and the header of the first protocol layer includes: first indication information, and the first indication information is used to indicate At least one of the following:

SDU片段在所述第一SDU中的位置、SDU片段的第一個位元組對應所述第一SDU中的位置和序列(Serial Number,SN)號。The position of the SDU fragment in the first SDU, and the first byte of the SDU fragment corresponds to the position and serial number (SN) in the first SDU.

這裡,所述SDU片段在所述第一SDU中的位置,是指SDU片段在第一SDU的前部、中部或者後部。以將第一SDU切分為4個SDU片段為例,SDU片段在第一SDU的位置示意圖,如圖4所示,第一SDU片段位於第一SDU的前部,第二SDU片段和第三SDU片段位於第一SDU的中部,第四SDU片段位於第一SDU的後部。可以理解為,第一SDU的前部是指第一SDU的第一個位元組。Here, the position of the SDU segment in the first SDU refers to the SDU segment in the front, middle, or rear of the first SDU. Taking the division of the first SDU into 4 SDU fragments as an example, the position of the SDU fragment in the first SDU is schematic diagram. As shown in FIG. The SDU segment is located in the middle of the first SDU, and the fourth SDU segment is located at the rear of the first SDU. It can be understood that the front part of the first SDU refers to the first byte of the first SDU.

第一SDU片段切分為的至少兩個SDU片段中的每個SDU片段對應的SN號可以相同,也可以不同。當至少兩個SDU片段中的每個SDU片段對應的SN號不同時,每個SDU片段的標頭包括:第二指示資訊,所述第二指示資訊用於指示所述SDU片段所屬的SDU;即第二指示資訊指示SDU片段是由哪個SDU切分得到的。The SN number corresponding to each of the at least two SDU segments divided into the first SDU segment may be the same or different. When the SN number corresponding to each SDU segment in at least two SDU segments is different, the header of each SDU segment includes: second indication information, and the second indication information is used to indicate the SDU to which the SDU segment belongs; That is, the second indication information indicates which SDU segment is obtained by segmenting the SDU segment.

本發明實施例中,第一協議層為PDCP層,或SDAP層,或位於所述PDCP層之上、所述SDAP層之下的第三協議層、或位於所述SDAP層之上的第四協議層。這裡,第三協定層和第四協定層可以是不同於相關技術中已有協定層之外的新的協定層。In the embodiment of the present invention, the first protocol layer is the PDCP layer, or the SDAP layer, or the third protocol layer above the PDCP layer, below the SDAP layer, or the fourth protocol layer above the SDAP layer. Protocol layer. Here, the third agreement layer and the fourth agreement layer may be new agreement layers other than the existing agreement layers in related technologies.

基於第一協議層為不同的層,本發明實施例中第一協定層實體具有不同的功能。下面分別以第一協議層為PDCP層,以及第一協議層為PDCP層以上的層為例進行說明。Based on the fact that the first protocol layer is a different layer, the first protocol layer entity in the embodiment of the present invention has different functions. In the following description, the first protocol layer is the PDCP layer and the first protocol layer is a layer above the PDCP layer as examples.

當第一協定層為PDCP層時,第一協定層實體對所述第一SDU的第一個資料片段對應的SDU片段進行頭壓縮處理。這裡,所述第一SDU的第一個資料片段位於第一SDU的前部,以圖4作為示例,第一SDU片段為第一SDU的第一個資料片段。可選地,第一協定層實體還對所述至少兩個SDU片段進行緩存,並接收高層配置的丟棄計時器(discard Timer),在所述discard Timer到達預設的時間值時,對緩存的所述至少兩個SDU片段進行丟棄處理;可選地,第一對所述至少兩個SDU片段進行緩存後,不啟動所述discard Timer。這裡,所述discard Timer為一個較短的值,可以不同於相關技術中已有的discard Timer。When the first protocol layer is the PDCP layer, the first protocol layer entity performs header compression processing on the SDU segment corresponding to the first data segment of the first SDU. Here, the first data segment of the first SDU is located at the front of the first SDU. Taking FIG. 4 as an example, the first SDU segment is the first data segment of the first SDU. Optionally, the first protocol layer entity further buffers the at least two SDU fragments, and receives a discard timer configured by a higher layer. When the discard Timer reaches a preset time value, the buffered The at least two SDU fragments are discarded; optionally, after the at least two SDU fragments are first cached, the discard timer is not started. Here, the discard Timer is a shorter value, which may be different from the existing discard Timer in the related art.

當第一協議層為PDCP層以上的層,如第一協議層為SDAP層、或位於所述PDCP層之上、所述SDAP層之下的第三協議層、或位於所述SDAP層之上的第四協議層時,所述第一協定層實體在第一PDU的標頭中攜帶第三指示資訊,所述第三指示資訊用於指示PDCP層判斷是否進行對第一PDU進行標頭壓縮或解壓縮處理;所述第一PDU包含所述第一SDU的一個資料片段;所述第一PDU由所述第一SDU添加所述第一協議層的標頭形成。這裡,所述第一PDU包含所述第一SDU的一個資料片段,所述第一PDU由所述第一SDU添加所述第一協議層的標頭形成。When the first protocol layer is a layer above the PDCP layer, for example, the first protocol layer is a SDAP layer, or a third protocol layer above the PDCP layer, below the SDAP layer, or above the SDAP layer In the fourth protocol layer of the PDU, the first protocol layer entity carries third indication information in the header of the first PDU, and the third indication information is used to instruct the PDCP layer to determine whether to perform header compression on the first PDU Or decompression processing; the first PDU includes a data fragment of the first SDU; the first PDU is formed by adding the header of the first protocol layer to the first SDU. Here, the first PDU includes a data fragment of the first SDU, and the first PDU is formed by adding a header of the first protocol layer to the first SDU.

本發明實施例中,所述第一協定層實體還指示所述SDU片段為所述第一SDU的一個資料片段。在具體實施時,可以在SDU片段對應的第一協議層的標頭中進行指示;也可以在第一協定層實體將SDU片段傳遞至第一協定層之下的協定層時,透過訊號的方式進行指示。In the embodiment of the present invention, the first agreement layer entity further indicates that the SDU segment is a data segment of the first SDU. In specific implementation, it can be indicated in the header of the first protocol layer corresponding to the SDU fragment; or when the first protocol layer entity transmits the SDU fragment to the protocol layer below the first protocol layer, it can be indicated by means of signals Give instructions.

需要說明的是,本發明實施例中所涉及的第一協定層實體,對應於終端設備側的第一協定層實體。It should be noted that the first protocol layer entity involved in the embodiment of the present invention corresponds to the first protocol layer entity on the terminal device side.

本發明實施例還提供另一種資料包處理方法,所述資料包處理方法的可選處理流程,如圖5所示,包括:The embodiment of the present invention also provides another data packet processing method. The optional processing flow of the data packet processing method, as shown in FIG. 5, includes:

步驟S301,第一協定層實體接收至少兩個SDU片段,所述至少兩個SDU片段為基於第一SDU的大小切分得到的資料片段。Step S301: The first protocol layer entity receives at least two SDU fragments, where the at least two SDU fragments are data fragments obtained by segmentation based on the size of the first SDU.

本發明實施例中,當所述第一SDU的大小大於第一閾值時,所述第一協定層實體將所述第一SDU切分為至少兩個SDU片段。在對第一SDU進行切分時,當所述第一SDU的大小為第一閾值的整數倍時,將所述第一SDU切分後的至少兩個SDU片段中的每個SDU片段的大小均等於所述第一閾值。在對第一SDU進行切分時,當所述第一SDU的大小不是第一閾值的整數倍時,所述至少兩個SDU片段中的最後一個SDU片段的大小小於所述第一閾值,除最後一個SDU片段以外的SDU片段的大小等於所述第一閾值。或者,當所述第一SDU的大小不是第一閾值的整數倍時,對所述第一SDU進行等量切分,切分得到的每個SDU片段的大小相等,且每個SDU片段的大小小於所述第一閾值。In the embodiment of the present invention, when the size of the first SDU is greater than a first threshold, the first agreement layer entity divides the first SDU into at least two SDU segments. When the first SDU is segmented, when the size of the first SDU is an integer multiple of the first threshold, the size of each of the at least two SDU segments after the first SDU is segmented Both are equal to the first threshold. When the first SDU is segmented, when the size of the first SDU is not an integer multiple of the first threshold, the size of the last SDU segment of the at least two SDU segments is less than the first threshold, and the size is divided by The size of the SDU fragments other than the last SDU fragment is equal to the first threshold. Or, when the size of the first SDU is not an integer multiple of the first threshold, the first SDU is equally divided, and the size of each SDU segment obtained by the segmentation is the same, and the size of each SDU segment Less than the first threshold.

本發明實施例中,第一閾值為第一協議層能夠支援傳輸的資料最大值。可選地,第一閾值為PDCP層能夠支援的資料大小的最大值,如9K位元組。In the embodiment of the present invention, the first threshold is the maximum value of data that the first protocol layer can support transmission. Optionally, the first threshold is the maximum data size that the PDCP layer can support, such as 9K bytes.

在一些可選實施例中,所述方法還包括:In some optional embodiments, the method further includes:

步驟S302,第一協定層實體基於所述至少兩個SDU片段中的每個SDU片段對應的第一協議層的標頭,確定所述至少兩個SDU片段中的第二SDU片段為所述第一SDU的第一個資料片段時,所述第一協定層實體對所述第二SDU片段進行標頭解壓縮處理。Step S302: The first protocol layer entity determines that the second SDU segment of the at least two SDU segments is the first protocol layer header corresponding to each of the at least two SDU segments. When the first data segment of an SDU is used, the first protocol layer entity performs header decompression processing on the second SDU segment.

這裡,每個SDU片段對應的第一協議層的標頭包括:第一指示資訊,所述第一指示資訊用於指示下述中的至少一種:SDU片段在所述第一SDU中的位置、SDU片段的第一個位元對應所述第一SDU中的位置和SN號。Here, the header of the first protocol layer corresponding to each SDU segment includes: first indication information, where the first indication information is used to indicate at least one of the following: the position of the SDU segment in the first SDU, The first bit of the SDU segment corresponds to the position and SN number in the first SDU.

在具體實施時,每個SDU片段對應的SN號可以相同,也可以不同;當所至少兩個SDU片段中的每個SDU片段對應的SN號不同時,所述至少兩個SDU片段中的每個SDU片段的標頭包括:第二指示資訊;所述第二指示資訊用於指示所述SDU片段所屬的SDU;透過第二指示資訊,網路設備能夠確定出一個SDU切分後的各SDU片段,透過各SDU片段獲得SDU。相應的,所述方法還包括:In specific implementation, the SN number corresponding to each SDU segment may be the same or different; when the SN number corresponding to each of the at least two SDU segments is different, each of the at least two SDU segments The header of each SDU segment includes: second indication information; the second indication information is used to indicate the SDU to which the SDU segment belongs; through the second indication information, the network device can determine each SDU after an SDU is split Fragment, SDU is obtained through each SDU fragment. Correspondingly, the method further includes:

步驟S303,第一協定層實體對所述至少兩個SDU片段進行合併處理,得到所述第一SDU。Step S303: The first agreement layer entity merges the at least two SDU segments to obtain the first SDU.

需要說明的是,本發明實施例中所涉及的第一協定層實體,對應於網路設備側的第一協定層實體。It should be noted that the first protocol layer entity involved in the embodiment of the present invention corresponds to the first protocol layer entity on the network device side.

本發明實施例還提供一種第一協定層實體,所述第一協定層實體400的組成結構,如圖6所示,包括:The embodiment of the present invention also provides a first agreement layer entity. The composition structure of the first agreement layer entity 400, as shown in FIG. 6, includes:

第一處理單元401,配置為基於接收到的第一SDU的大小將所述第一SDU切分為至少兩個SDU片段,並指示所述SDU片段為所述第一SDU的一個資料片段。The first processing unit 401 is configured to divide the first SDU into at least two SDU segments based on the size of the received first SDU, and indicate that the SDU segment is a data segment of the first SDU.

在一些實施例中,所述至少兩個SDU片段中的每個SDU片段的大小均等於所述第一閾值;In some embodiments, the size of each SDU segment in the at least two SDU segments is equal to the first threshold;

或者,所述至少兩個SDU片段中的第一SDU片段的大小小於所述第一閾值,所述至少兩個SDU片段中,除所述第一SDU片段以外的SDU片段的大小相等,且每個SDU片段的大小均小於或等於所述第一閾值。Alternatively, the size of the first SDU fragment in the at least two SDU fragments is less than the first threshold, and among the at least two SDU fragments, the size of the SDU fragments other than the first SDU fragment is equal, and each The size of each SDU segment is less than or equal to the first threshold.

在一些實施例中,所述至少兩個SDU片段中的每個SDU片段包括對應的第一協議層的標頭;In some embodiments, each of the at least two SDU fragments includes a corresponding header of the first protocol layer;

所述第一協議層的標頭包括:第一指示資訊,所述第一指示資訊用於指示下述中的至少一種:SDU片段在所述第一SDU中的位置、SDU片段的第一個位元組對應所述第一SDU中的位置和SN號。The header of the first protocol layer includes: first indication information, the first indication information is used to indicate at least one of the following: the position of the SDU segment in the first SDU, the first SDU segment The byte group corresponds to the position and SN number in the first SDU.

在一些實施例中,所述至少兩個SDU片段中的每個SDU片段對應的SN號相同,或所述至少兩個SDU片段中的每個SDU片段對應的SN號不同。In some embodiments, the SN number corresponding to each SDU segment in the at least two SDU segments is the same, or the SN number corresponding to each SDU segment in the at least two SDU segments is different.

當所述至少兩個SDU片段中的每個SDU片段對應的SN號不同時,所述至少兩個SDU片段中的每個SDU片段的標頭包括:第二指示資訊;所述第二指示資訊用於指示所述SDU片段所屬的SDU。When the SN number corresponding to each SDU segment in the at least two SDU segments is different, the header of each SDU segment in the at least two SDU segments includes: second indication information; and the second indication information Used to indicate the SDU to which the SDU segment belongs.

在一些實施例中,所述第一協定層實體還包括:In some embodiments, the first agreement layer entity further includes:

發送單元402,配置為將添加有第一協議層的標頭的至少兩個SDU片段遞交至第二協定層實體;所述第二協定層為所述第一協議層的下層。The sending unit 402 is configured to deliver at least two SDU fragments added with a header of the first protocol layer to a second protocol layer entity; the second protocol layer is a lower layer of the first protocol layer.

在一些實施例中,所述第一協議層,包括: PDCP層,或SDAP層,或位於所述PDCP層之上、所述SDAP層之下的第三協議層,或位於所述SDAP層之上的第四協議層。In some embodiments, the first protocol layer includes: a PDCP layer, or a SDAP layer, or a third protocol layer located above the PDCP layer and below the SDAP layer, or located above the SDAP layer On the fourth protocol layer.

在一些實施例中,所述第一協議層為PDCP層,當所述至少兩個SDU片段中的第二SDU片段為所述第一SDU的第一個資料片段時,所述第一處理單元401,配置為對所述第二SDU片段進行標頭壓縮處理;In some embodiments, the first protocol layer is a PDCP layer, and when the second SDU segment of the at least two SDU segments is the first data segment of the first SDU, the first processing unit 401. Configure to perform header compression processing on the second SDU segment.

當所述至少兩個SDU片段中的第三SDU片段不是所述第一SDU的第一個資料片段時,所述處理單元,配置為不對所述第三SDU片段進行頭壓縮處理。When the third SDU segment of the at least two SDU segments is not the first data segment of the first SDU, the processing unit is configured to not perform header compression processing on the third SDU segment.

在一些實施例中,所述第一處理單元401,配置為對所述第二SDU片段的標頭進行壓縮處理。In some embodiments, the first processing unit 401 is configured to perform compression processing on the header of the second SDU segment.

在一些實施例中,所述第一協議層為PDCP層時,所述第一處理單元401,還配置為啟動丟棄計時器,所述丟棄計時器用於所述第一協定實體對所述至少兩個SDU片段進行丟棄處理;或者所述第一處理單元401,配置為不啟動丟棄計時器。In some embodiments, when the first protocol layer is the PDCP layer, the first processing unit 401 is further configured to start a discarding timer, and the discarding timer is used by the first agreement entity to pair the at least two Discarding is performed on one SDU fragment; or the first processing unit 401 is configured to not start the discarding timer.

在一些實施例中,所述第一處理單元401,還配置為接收高層配置的丟棄計時器。In some embodiments, the first processing unit 401 is further configured to receive a discard timer configured by a higher layer.

在一些實施例中,所述第一協定層實體還包括:儲存單元403,配置為對所述至少兩個SDU片段進行緩存。In some embodiments, the first protocol layer entity further includes a storage unit 403 configured to cache the at least two SDU fragments.

在一些實施例中,所述第一協議層為SDAP層、或位於所述PDCP層之上、所述SDAP層之下的第三協議層、或位於所述SDAP層之上的第四協議層時,In some embodiments, the first protocol layer is a SDAP layer, or a third protocol layer above the PDCP layer, below the SDAP layer, or a fourth protocol layer above the SDAP layer Time,

所述第一處理單元401,還配置為在第一PDU的標頭中攜帶第三指示資訊,所述第三指示資訊用於指示PDCP層判斷是否進行對第一PDU進行標頭壓縮或解壓縮;所述第一PDU包含所述第一SDU的一個資料片段;所述第一PDU由所述第一SDU添加所述第一協議層的標頭形成。The first processing unit 401 is further configured to carry third indication information in the header of the first PDU, and the third indication information is used to instruct the PDCP layer to determine whether to perform header compression or decompression on the first PDU The first PDU includes a data fragment of the first SDU; the first PDU is formed by adding the header of the first protocol layer to the first SDU.

在一些實施例中,所述第一SDU為使用者面資料、或控制面資料。In some embodiments, the first SDU is user plane data or control plane data.

需要說明的是,本發明實施例所涉及的第一協定層實體,對應於終端設備側的第一協定層實體。It should be noted that the first protocol layer entity involved in the embodiment of the present invention corresponds to the first protocol layer entity on the terminal device side.

本發明實施例還提供另一種第一協定層實體,所述第一協定層實體500的組成結構,如圖7所示,包括:The embodiment of the present invention also provides another first agreement layer entity. The composition structure of the first agreement layer entity 500, as shown in FIG. 7, includes:

接收單元501,配置為接收至少兩個SDU片段,所述至少兩個SDU片段為基於第一SDU的大小切分得到的資料片段。The receiving unit 501 is configured to receive at least two SDU fragments, where the at least two SDU fragments are data fragments obtained by segmentation based on the size of the first SDU.

在一些實施例中,所述至少兩個SDU片段中的每個SDU片段的大小相等,且每個SDU片段的大小均小於或等於所述第一閾值;In some embodiments, the size of each SDU segment in the at least two SDU segments is equal, and the size of each SDU segment is less than or equal to the first threshold;

或者,所述至少兩個SDU片段中的第一SDU片段的大小小於所述第一閾值,所述至少兩個SDU片段中,除所述第一SDU片段以外的SDU片段的大小均等於所述第一閾值。Alternatively, the size of the first SDU fragment in the at least two SDU fragments is less than the first threshold, and the size of the SDU fragments other than the first SDU fragment in the at least two SDU fragments is equal to the The first threshold.

在一些實施例中,所述第一協定層實體還包括:In some embodiments, the first agreement layer entity further includes:

第二處理單元502,配置為基於所述至少兩個SDU片段中的每個SDU片段對應的第一協議層的標頭,確定所述至少兩個SDU片段中的第二SDU片段為所述第一SDU的第一個資料片段時,所述第一協定層實體對所述第二SDU片段進行標頭解壓縮處理。The second processing unit 502 is configured to determine that the second SDU segment of the at least two SDU segments is the first protocol layer header corresponding to each of the at least two SDU segments When the first data segment of an SDU is used, the first protocol layer entity performs header decompression processing on the second SDU segment.

在一些實施例中,所述第二處理單元,配置為對所述至少兩個SDU片段進行合併處理,得到所述第一SDU。In some embodiments, the second processing unit is configured to merge the at least two SDU segments to obtain the first SDU.

在一些實施例中,所述至少兩個SDU片段中的每個SDU片段對應的第一協議層的標頭包括:第一指示資訊,所述第一指示資訊用於指示下述中的至少一種:In some embodiments, the header of the first protocol layer corresponding to each of the at least two SDU fragments includes: first indication information, the first indication information being used to indicate at least one of the following :

SDU片段在所述第一SDU中的位置、SDU片段的第一個位元對應所述第一SDU中的位置和SN號。The position of the SDU segment in the first SDU, and the first bit of the SDU segment corresponds to the position and the SN number in the first SDU.

在一些實施例中,所述至少兩個SDU片段中的每個SDU片段對應的SN號相同或者不同。In some embodiments, the SN number corresponding to each of the at least two SDU segments is the same or different.

當所至少兩個SDU片段中的每個SDU片段對應的SN號不同時,所述至少兩個SDU片段中的每個SDU片段的標頭包括:第二指示資訊;所述第二指示資訊用於指示所述SDU片段所屬的SDU。When the SN number corresponding to each SDU segment in the at least two SDU segments is different, the header of each SDU segment in the at least two SDU segments includes: second indication information; To indicate the SDU to which the SDU segment belongs.

在一些實施例中,所述第一協議層,包括: PDCP層,或SDAP層,或位於所述PDCP層之上、所述SDAP層之下的第三協議層,或位於所述SDAP層之上的第四協議層。In some embodiments, the first protocol layer includes: a PDCP layer, or a SDAP layer, or a third protocol layer located above the PDCP layer and below the SDAP layer, or located above the SDAP layer On the fourth protocol layer.

需要說明的是,本發明實施例中所涉及的第一協定層實體,對應於網路設備側的第一協定層實體。It should be noted that the first protocol layer entity involved in the embodiment of the present invention corresponds to the first protocol layer entity on the network device side.

發明實施例還提供一種第一協定層實體,包括處理器和用於儲存能夠在處理器上運行的電腦程式的記憶體,其中,所述處理器用於運行所述電腦程式時,執行上述終端設備執行的功率分配方法的步驟。An embodiment of the invention also provides a first protocol layer entity, including a processor and a memory for storing a computer program that can run on the processor, wherein the processor is used to run the computer program to execute the aforementioned terminal device Perform the steps of the power distribution method.

本發明實施例還提供另一種第一協定層實體,包括處理器和用於儲存能夠在處理器上運行的電腦程式的記憶體,其中,所述處理器用於運行所述電腦程式時,執行上述網路設備執行的功率分配方法的步驟。The embodiment of the present invention also provides another first protocol layer entity, including a processor and a memory for storing a computer program that can run on the processor, wherein the processor is used to execute the computer program when the computer program is running. The steps of the power distribution method performed by the network equipment.

圖8是本發明實施例的第一協定層實體的硬體組成結構示意圖,第一協定層實體700包括:至少一個處理器701、記憶體702和至少一個網路介面704。第一協定層實體700中的各個元件透過匯流排系統705耦合在一起。可理解,匯流排系統705用於實現這些元件之間的連接通訊。匯流排系統705除包括資料匯流排之外,還包括電源匯流排、控制匯流排和狀態信號匯流排。但是為了清楚說明起見,在圖8中將各種匯流排都標為匯流排系統705。8 is a schematic diagram of the hardware composition structure of a first protocol layer entity according to an embodiment of the present invention. The first protocol layer entity 700 includes: at least one processor 701, a memory 702, and at least one network interface 704. The components in the first protocol layer entity 700 are coupled together through the bus system 705. It can be understood that the busbar system 705 is used to implement connection and communication between these components. In addition to the data bus, the bus system 705 also includes a power bus, a control bus, and a status signal bus. However, for clarity of description, various bus bars are marked as bus bar system 705 in FIG. 8.

可以理解,記憶體702可以是揮發性記憶體或非揮發性記憶體,也可包括揮發性和非揮發性記憶體兩者。其中,非揮發性記憶體可以是ROM、可程式設計唯讀記憶體(PROM,Programmable Read-Only Memory)、可擦除可程式設計唯讀記憶體(EPROM,Erasable Programmable Read-Only Memory)、電可擦除可程式設計唯讀記憶體(EEPROM,Electrically Erasable Programmable Read-Only Memory)、磁性隨機存取記憶體(FRAM,ferromagnetic random access memory)、快閃記憶體(Flash Memory)、磁表面記憶體、光碟、或唯讀光碟(CD-ROM,Compact Disc Read-Only Memory);磁表面記憶體可以是磁碟記憶體或磁帶記憶體。揮發性記憶體可以是隨機存取記憶體(RAM,Random Access Memory),其用作外部快取記憶體。透過示例性但不是限制性說明,許多形式的RAM可用,例如靜態隨機存取記憶體(SRAM,Static Random Access Memory)、同步靜態隨機存取記憶體(SSRAM,Synchronous Static Random Access Memory)、動態隨機存取記憶體(DRAM,Dynamic Random Access Memory)、同步動態隨機存取記憶體(SDRAM,Synchronous Dynamic Random Access Memory)、雙倍數據速率同步動態隨機存取記憶體(DDRSDRAM,Double Data Rate Synchronous Dynamic Random Access Memory)、增強型同步動態隨機存取記憶體(ESDRAM,Enhanced Synchronous Dynamic Random Access Memory)、同步連接動態隨機存取記憶體(SLDRAM,SyncLink Dynamic Random Access Memory)、直接記憶體匯流排隨機存取記憶體(DRRAM,Direct Rambus Random Access Memory)。本發明實施例描述的記憶體702旨在包括但不限於這些和任意其它適合類型的記憶體。It is understandable that the memory 702 may be a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memory. Among them, non-volatile memory can be ROM, Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), and electronic Erasable Programmable Programmable Read-Only Memory (EEPROM, Electrically Erasable Programmable Read-Only Memory), Magnetic Random Access Memory (FRAM, ferromagnetic random access memory), Flash Memory, Magnetic Surface Memory , CD, or CD-ROM (Compact Disc Read-Only Memory); magnetic surface memory can be magnetic disk memory or tape memory. The volatile memory may be a random access memory (RAM, Random Access Memory), which is used as an external cache memory. By way of exemplary but not restrictive description, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), and dynamic random access memory. Access memory (DRAM, Dynamic Random Access Memory), synchronous dynamic random access memory (SDRAM, Synchronous Dynamic Random Access Memory), double data rate synchronous dynamic random access memory (DDRSDRAM, Double Data Rate Synchronous Dynamic Random) Access Memory), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), SyncLink Dynamic Random Access Memory (SLDRAM), direct memory bus random access Memory (DRRAM, Direct Rambus Random Access Memory). The memory 702 described in the embodiment of the present invention is intended to include, but is not limited to, these and any other suitable types of memory.

本發明實施例中的記憶體702用於儲存各種類型的資料以支援第一協定層實體700的操作。這些資料的示例包括:用於在第一協定層實體700上操作的任何電腦程式,如應用程式7022。實現本發明實施例方法的程式可以包含在應用程式7022中。The memory 702 in the embodiment of the present invention is used to store various types of data to support the operation of the first protocol layer entity 700. Examples of such data include: any computer program used to operate on the first protocol layer entity 700, such as application program 7022. The program for implementing the method of the embodiment of the present invention may be included in the application 7022.

上述本發明實施例揭示的方法可以應用於處理器701中,或者由處理器701實現。處理器701可能是一種積體電路晶片,具有信號的處理能力。在實現過程中,上述方法的各步驟可以透過處理器701中的硬體的集成邏輯電路或者軟體形式的指令完成。上述的處理器701可以是通用處理器、數位訊號處理器(DSP,Digital Signal Processor),或者其他可程式設計邏輯器件、離散閘或者電晶體邏輯器件、離散硬體元件等。處理器701可以實現或者執行本發明實施例中的公開的各方法、步驟及邏輯框圖。通用處理器可以是微處理器或者任何常規的處理器等。結合本發明實施例所公開的方法的步驟,可以直接體現為硬體解碼處理器執行完成,或者用解碼處理器中的硬體及軟體模組組合執行完成。軟體模組可以位於儲存媒介中,該儲存媒介位於記憶體702,處理器701讀取記憶體702中的資訊,結合其硬體完成前述方法的步驟。The method disclosed in the foregoing embodiment of the present invention may be applied to the processor 701 or implemented by the processor 701. The processor 701 may be an integrated circuit chip with signal processing capability. In the implementation process, the steps of the above method can be completed through the integrated logic circuit of the hardware in the processor 701 or instructions in the form of software. The aforementioned processor 701 may be a general-purpose processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The processor 701 may implement or execute various methods, steps, and logical block diagrams disclosed in the embodiments of the present invention. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in combination with the embodiments of the present invention can be directly embodied as being executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium, and the storage medium is located in the memory 702. The processor 701 reads the information in the memory 702 and completes the steps of the foregoing method in combination with its hardware.

在示例性實施例中,第一協定層實體700可以被一個或多個應用專用積體電路(ASIC,Application Specific Integrated Circuit)、DSP、可程式設計邏輯器件(PLD,Programmable Logic Device)、複雜可程式設計邏輯器件(CPLD,Complex Programmable Logic Device)、FPGA、通用處理器、控制器、MCU、MPU、或其他電子元件實現,用於執行前述方法。In an exemplary embodiment, the first protocol layer entity 700 may be configured by one or more application specific integrated circuits (ASIC, Application Specific Integrated Circuit), DSP, Programmable Logic Device (PLD), and complex Programmable logic device (CPLD, Complex Programmable Logic Device), FPGA, general-purpose processor, controller, MCU, MPU, or other electronic components are implemented to implement the aforementioned methods.

本申請實施例還提供了一種電腦可讀儲存媒介,用於儲存電腦程式。The embodiment of the present application also provides a computer-readable storage medium for storing computer programs.

可選的,該電腦可讀儲存媒介可應用於本申請實施例中的網路設備,並且該電腦程式使得電腦執行本申請實施例的各個方法中由網路設備實現的相應流程,為了簡潔,在此不再贅述。Optionally, the computer-readable storage medium can be applied to the network device in the embodiment of the present application, and the computer program causes the computer to execute the corresponding process implemented by the network device in each method of the embodiment of the present application. For brevity, I won't repeat them here.

可選地,該電腦可讀儲存媒介可應用於本申請實施例中的終端設備,並且該電腦程式使得電腦執行本申請實施例的各個方法中由終端設備實現的相應流程,為了簡潔,在此不再贅述。Optionally, the computer-readable storage medium can be applied to the terminal device in the embodiment of the present application, and the computer program causes the computer to execute the corresponding process implemented by the terminal device in each method of the embodiment of the present application. For brevity, here is No longer.

本發明是參照根據本發明實施例的方法、設備(系統)、和電腦程式產品的流程圖和/或方框圖來描述的。應理解可由電腦程式指令實現流程圖和/或方框圖中的每一流程和/或方框、以及流程圖和/或方框圖中的流程和/或方框的結合。可提供這些電腦程式指令到通用電腦、專用電腦、嵌入式處理機或其他可程式設計資料處理設備的處理器以產生一個機器,使得透過電腦或其他可程式設計資料處理設備的處理器執行的指令產生用於實現在流程圖一個流程或多個流程和/或方框圖一個方框或多個方框中指定的功能的裝置。The present invention is described with reference to flowcharts and/or block diagrams of methods, equipment (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and/or block in the flowchart and/or block diagram, and the combination of processes and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions can be provided to the processors of general-purpose computers, dedicated computers, embedded processors, or other programmable data processing equipment to generate a machine that can be executed by the processor of the computer or other programmable data processing equipment A device for realizing the functions specified in one flow or multiple flows in the flowchart and/or one block or multiple blocks in the block diagram is generated.

這些電腦程式指令也可儲存在能引導電腦或其他可程式設計資料處理設備以特定方式工作的電腦可讀記憶體中,使得儲存在該電腦可讀記憶體中的指令產生包括指令裝置的製造品,該指令裝置實現在流程圖一個流程或多個流程和/或方框圖一個方框或多個方框中指定的功能。These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including the instruction device , The instruction device realizes the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.

這些電腦程式指令也可裝載到電腦或其他可程式設計資料處理設備上,使得在電腦或其他可程式設計設備上執行一系列操作步驟以產生電腦實現的處理,從而在電腦或其他可程式設計設備上執行的指令提供用於實現在流程圖一個流程或多個流程和/或方框圖一個方框或多個方框中指定的功能的步驟。These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so that the computer or other programmable equipment The instructions executed above provide steps for implementing functions specified in a flow or multiple flows in the flowchart and/or a block or multiple blocks in the block diagram.

以上所述,僅為本發明的較佳實施例而已,並非用於限定本發明的保護範圍,凡在本發明的精神和原則之內所作的任何修改、等同替換和改進等,均應包含在本發明的保護範圍之內。The above are only the preferred embodiments of the present invention and are not used to limit the protection scope of the present invention. Any modification, equivalent replacement and improvement made within the spirit and principle of the present invention shall be included in Within the protection scope of the present invention.

100:通訊系統 110:網路設備 120:終端設備 S201、S301:步驟 400:第一協定層實體 401:第一處理單元 402:發送單元 403:儲存單元 500:第一協定層實體 501:接收單元 502:第二處理單元 700:第一協定層實體 701:處理器 702:記憶體 7022:應用程式 704:網路介面 705:匯流排系統100: Communication system 110: network equipment 120: terminal equipment S201, S301: steps 400: The first agreement layer entity 401: first processing unit 402: sending unit 403: storage unit 500: The first agreement layer entity 501: receiving unit 502: second processing unit 700: first agreement layer entity 701: processor 702: Memory 7022: Application 704: network interface 705: bus system

圖1為相關技術中協定疊示意圖;Figure 1 is a schematic diagram of the protocol stack in related technologies;

圖2為本發明實施例通訊系統的組成結構示意圖;2 is a schematic diagram of the composition structure of a communication system according to an embodiment of the present invention;

圖3為本發明實施例一種資料包處理方法的可選處理流程示意圖;3 is a schematic diagram of an optional processing flow of a data packet processing method according to an embodiment of the present invention;

圖4為本發明實施例SDU片段在第一SDU的位置示意圖;FIG. 4 is a schematic diagram of the position of an SDU segment in the first SDU according to an embodiment of the present invention;

圖5為本發明實施例另一種資料包處理方法的可選處理流程示意圖;5 is a schematic diagram of an optional processing flow of another data packet processing method according to an embodiment of the present invention;

圖6為本發明實施例提供的一種第一協定層實體的組成結構示意圖;6 is a schematic diagram of the composition structure of a first protocol layer entity provided by an embodiment of the present invention;

圖7為本發明實施例提供的另一種第一協定層實體的組成結構示意圖;7 is a schematic diagram of the composition structure of another first protocol layer entity provided by an embodiment of the present invention;

圖8為本發明實施例提供的第一協定層實體的硬體組成結構示意圖。FIG. 8 is a schematic diagram of the hardware composition structure of the first protocol layer entity provided by an embodiment of the present invention.

S201:步驟 S201: Step

Claims (20)

一種資料包處理方法,所述方法包括: 第一協定層實體基於接收到的第一服務資料單元SDU的大小,將所述第一SDU切分為至少兩個SDU片段; 所述第一協定層實體指示所述SDU片段為所述第一SDU的一個資料片段。A data packet processing method, the method includes: The first protocol layer entity divides the first SDU into at least two SDU segments based on the received size of the first service data unit SDU; The first agreement layer entity indicates that the SDU segment is a data segment of the first SDU. 根據申請專利範圍第1項所述的方法,其中,所述第一協定層實體基於接收到的第一SDU的大小,將所述第一SDU切分為至少兩個SDU片段,包括: 當所述第一SDU的大小大於第一閾值時,所述第一協定層實體將所述第一SDU切分為至少兩個SDU片段; 所述至少兩個SDU片段中的每個SDU片段的大小相等,且每個SDU片段的大小均小於或等於所述第一閾值; 或者,所述至少兩個SDU片段中的一個第一SDU片段的大小小於所述第一閾值,所述至少兩個SDU片段中,除所述第一SDU片段以外的SDU片段的大小均等於所述第一閾值。The method according to item 1 of the scope of patent application, wherein the first agreement layer entity divides the first SDU into at least two SDU fragments based on the received first SDU size, including: When the size of the first SDU is greater than a first threshold, the first agreement layer entity divides the first SDU into at least two SDU segments; The size of each SDU segment in the at least two SDU segments is the same, and the size of each SDU segment is less than or equal to the first threshold; Alternatively, the size of a first SDU segment in the at least two SDU segments is less than the first threshold, and in the at least two SDU segments, the sizes of SDU segments other than the first SDU segment are all equal to all sizes. Mentioned first threshold. 根據申請專利範圍第1或2項所述的方法,其中,所述至少兩個SDU片段中的每個SDU片段包括對應的第一協議層的標頭; 所述第一協議層的標頭包括:第一指示資訊,所述第一指示資訊用於指示下述中的至少一種: SDU片段在所述第一SDU中的位置; SDU片段的第一個位元組對應所述第一SDU中的位置; 序列SN號。The method according to item 1 or 2 of the scope of patent application, wherein each of the at least two SDU fragments includes a corresponding header of the first protocol layer; The header of the first protocol layer includes: first indication information, and the first indication information is used to indicate at least one of the following: The position of the SDU segment in the first SDU; The first byte of the SDU fragment corresponds to the position in the first SDU; Serial SN number. 根據申請專利範圍第3項所述的方法,其中,所述至少兩個SDU片段中的每個SDU片段對應的SN號相同; 或,所述至少兩個SDU片段中的每個SDU片段對應的SN號不同。The method according to item 3 of the scope of patent application, wherein each of the at least two SDU segments corresponds to the same SN number; Or, the SN number corresponding to each SDU segment in the at least two SDU segments is different. 根據申請專利範圍第4項所述的方法,其中,當所述至少兩個SDU片段中的每個SDU片段對應的SN號不同時, 所述至少兩個SDU片段中的每個SDU片段的標頭包括:第二指示資訊; 所述第二指示資訊用於指示所述SDU片段所屬的SDU。The method according to item 4 of the scope of patent application, wherein, when the SN number corresponding to each of the at least two SDU segments is different, The header of each of the at least two SDU fragments includes: second indication information; The second indication information is used to indicate the SDU to which the SDU segment belongs. 根據申請專利範圍第1項所述的方法,其中,所述第一協議層為分封資料匯聚協定PDCP層時,所述方法還包括: 當所述至少兩個SDU片段中的第二SDU片段為所述第一SDU的第一個資料片段時,所述第一協定層實體對所述第二SDU片段進行頭壓縮處理; 當所述至少兩個SDU片段中的第三SDU片段不是所述第一SDU的第一個資料片段時,所述第一協定層實體不對所述第三SDU片段進行頭壓縮處理。The method according to item 1 of the scope of patent application, wherein, when the first protocol layer is a PDCP layer of a packetized data aggregation protocol, the method further includes: When the second SDU segment of the at least two SDU segments is the first data segment of the first SDU, the first protocol layer entity performs header compression processing on the second SDU segment; When the third SDU segment of the at least two SDU segments is not the first data segment of the first SDU, the first protocol layer entity does not perform header compression processing on the third SDU segment. 根據申請專利範圍第8項所述的方法,其中,所述第一協定層實體對所述第二SDU片段進行頭壓縮處理,包括: 所述第一協定層實體對所述第二SDU片段的標頭進行壓縮處理。The method according to item 8 of the scope of patent application, wherein the first agreement layer entity performs header compression processing on the second SDU segment, including: The first agreement layer entity compresses the header of the second SDU segment. 根據申請專利範圍第1項所述的方法,其中,所述第一協議層為分封資料匯聚協定PDCP層時,所述方法還包括: 所述第一協定層實體啟動丟棄計時器,所述丟棄計時器用於所述第一協定實體對所述至少兩個SDU片段進行丟棄處理; 或者所述第一協定層實體不啟動丟棄計時器。The method according to item 1 of the scope of patent application, wherein, when the first protocol layer is a PDCP layer of a packetized data aggregation protocol, the method further includes: The first agreement layer entity starts a discard timer, where the discard timer is used by the first agreement entity to discard the at least two SDU fragments; Or the first protocol layer entity does not start the discard timer. 根據申請專利範圍第10項所述的方法,其中,所述方法還包括: 所述第一協定層實體接收高層配置的丟棄計時器。The method according to item 10 of the scope of patent application, wherein the method further includes: The first protocol layer entity receives a discard timer configured by a higher layer. 根據申請專利範圍第10項所述的方法,其中,所述第一協定層實體啟動丟棄計時器之前,所述方法還包括: 所述第一協定層實體對所述至少兩個SDU片段進行緩存。The method according to claim 10, wherein, before the first agreement layer entity starts the discard timer, the method further includes: The first agreement layer entity buffers the at least two SDU fragments. 根據申請專利範圍第1項所述的方法,其中,所述第一協定層為服務資料適應協定SDAP層、或位於所述PDCP層之上、所述SDAP層之下的第三協議層、或位於所述SDAP層之上的第四協議層時,所述方法還包括: 所述第一協定層實體在第一PDU的標頭中攜帶第三指示資訊,所述第三指示資訊用於指示分封資料匯聚協定PDCP層判斷是否進行對第一PDU進行標頭壓縮或解壓縮處理;所述第一PDU包含所述第一SDU的一個資料片段,所述第一PDU由所述第一SDU添加所述第一協議層的標頭形成。The method according to claim 1, wherein the first protocol layer is a service data adaptation protocol SDAP layer, or a third protocol layer located above the PDCP layer and below the SDAP layer, or When the fourth protocol layer is located above the SDAP layer, the method further includes: The first protocol layer entity carries third indication information in the header of the first PDU, and the third indication information is used to instruct the packetized data aggregation protocol PDCP layer to determine whether to perform header compression or decompression on the first PDU Processing; The first PDU includes a data fragment of the first SDU, and the first PDU is formed by adding the header of the first protocol layer to the first SDU. 根據申請專利範圍第1項所述的方法,其中,所述第一SDU為使用者面資料; 或者,所述第一SDU為控制面資料。The method according to item 1 of the scope of patent application, wherein the first SDU is user-facing data; Alternatively, the first SDU is control plane data. 一種資料包處理方法,所述方法包括: 第一協定層實體接收至少兩個服務資料單元SDU片段,所述至少兩個SDU片段為基於第一SDU的大小切分得到的資料片段。A data packet processing method, the method includes: The first protocol layer entity receives at least two service data unit SDU fragments, where the at least two SDU fragments are data fragments obtained by segmentation based on the size of the first SDU. 根據申請專利範圍第23項所述的第一協定層實體,其中,所述第一協定層實體還包括: 發送單元,配置為將添加有第一協議層的標頭的至少兩個SDU片段遞交至第二協定層實體; 所述第二協定層為所述第一協議層的下層。The first agreement layer entity according to item 23 of the scope of patent application, wherein the first agreement layer entity further includes: The sending unit is configured to deliver at least two SDU fragments with the header of the first protocol layer to the second protocol layer entity; The second protocol layer is a lower layer of the first protocol layer. 根據申請專利範圍第23項所述的第一協定層實體,其中,所述第一協議層,包括: 分封資料匯聚協定PDCP層; 或,服務資料適應協定SDAP層; 或,位於所述PDCP層之上、所述SDAP層之下的第三協議層; 或,位於所述SDAP層之上的第四協議層。The first protocol layer entity according to item 23 of the scope of patent application, wherein the first protocol layer includes: The PDCP layer of the packet data aggregation protocol; Or, the service data adapts to the SDAP layer of the agreement; Or, a third protocol layer located above the PDCP layer and below the SDAP layer; Or, the fourth protocol layer located above the SDAP layer. 根據申請專利範圍第23項所述的第一協定層實體,其中,所述第一協議層為分封資料匯聚協定PDCP層時,所述第一處理單元,還配置為啟動丟棄計時器,所述丟棄計時器用於所述第一協定實體對所述至少兩個SDU片段進行丟棄處理; 或者所述第一處理單元,配置為不啟動丟棄計時器。The first protocol layer entity according to item 23 of the scope of patent application, wherein, when the first protocol layer is the PDCP layer of the packet data aggregation protocol, the first processing unit is further configured to start a discard timer, and A discard timer is used by the first agreement entity to discard the at least two SDU fragments; Or the first processing unit is configured to not start the discard timer. 根據申請專利範圍第32項所述的第一協定層實體,其中,所述第一處理單元,還配置為接收高層配置的丟棄計時器。The first agreement layer entity according to the 32nd patent application, wherein the first processing unit is further configured to receive a discard timer configured by a higher layer. 根據申請專利範圍第32項所述的第一協定層實體,其中,所述第一協定層實體還包括: 儲存單元,配置為對所述至少兩個SDU片段進行緩存。The first agreement layer entity according to item 32 of the scope of patent application, wherein the first agreement layer entity further includes: The storage unit is configured to buffer the at least two SDU segments. 根據申請專利範圍第23項所述的第一協定層實體,其中,所述第一協定層為服務資料適應協定SDAP層、或位於所述PDCP層之上、所述SDAP層之下的第三協議層、或位於所述SDAP層之上的第四協議層時, 所述第一處理單元,還配置為在第一PDU的標頭中攜帶第三指示資訊,所述第三指示資訊用於指示分封資料匯聚協定PDCP層判斷是否進行對第一PDU進行標頭壓縮或解壓縮;所述第一PDU包含所述第一SDU的一個資料片段;所述第一PDU由所述第一SDU添加所述第一協議層的標頭形成。The first protocol layer entity according to item 23 of the scope of patent application, wherein the first protocol layer is a service data adaptation protocol SDAP layer, or a third layer located above the PDCP layer and below the SDAP layer When the protocol layer or the fourth protocol layer located above the SDAP layer, The first processing unit is further configured to carry third indication information in the header of the first PDU, and the third indication information is used to instruct the packetized data convergence protocol PDCP layer to determine whether to perform header compression on the first PDU Or decompression; the first PDU includes a data fragment of the first SDU; the first PDU is formed by adding the header of the first protocol layer to the first SDU. 一種第一協定層實體,包括: 接收單元,配置為接收至少兩個服務資料單元SDU片段,所述至少兩個SDU片段為基於第一SDU的大小切分得到的資料片段。A first agreement layer entity, including: The receiving unit is configured to receive at least two service data unit SDU fragments, where the at least two SDU fragments are data fragments obtained by segmentation based on the size of the first SDU.
TW108135343A 2018-09-29 2019-09-27 Method for processing data packet, entity and storage medium TW202027478A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
PCT/CN2018/108567 WO2020062126A1 (en) 2018-09-29 2018-09-29 Method for processing data packet, entity and storage medium
WOPCT/CN2018/108567 2018-09-29

Publications (1)

Publication Number Publication Date
TW202027478A true TW202027478A (en) 2020-07-16

Family

ID=69952689

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108135343A TW202027478A (en) 2018-09-29 2019-09-27 Method for processing data packet, entity and storage medium

Country Status (3)

Country Link
CN (1) CN111886893B (en)
TW (1) TW202027478A (en)
WO (1) WO2020062126A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112822276B (en) * 2021-01-09 2023-05-02 中国电力科学研究院有限公司 Substation control layer communication method and system, electronic equipment and storage medium
KR20220132932A (en) * 2021-03-24 2022-10-04 삼성전자주식회사 Method and apparatus for segmenting data to accelerate data processing and reporting reception status in wireless communication system
CN115694719A (en) * 2021-07-28 2023-02-03 华为技术有限公司 Data forwarding method and device for switching scenes
WO2023240495A1 (en) * 2022-06-15 2023-12-21 Oppo广东移动通信有限公司 Data transmission method and apparatus, and communication device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017191933A1 (en) * 2016-05-03 2017-11-09 Lg Electronics Inc. Method and device for transmitting data unit
CN107995654A (en) * 2016-10-26 2018-05-04 中兴通讯股份有限公司 Data repeating method and device, MAC equipment
WO2018166042A1 (en) * 2017-03-14 2018-09-20 北京小米移动软件有限公司 Data unit transmission method and apparatus
CN108541387B (en) * 2017-07-25 2021-11-09 北京小米移动软件有限公司 Data packet discarding method, device and system

Also Published As

Publication number Publication date
CN111886893A (en) 2020-11-03
CN111886893B (en) 2022-10-04
WO2020062126A1 (en) 2020-04-02

Similar Documents

Publication Publication Date Title
TW202027478A (en) Method for processing data packet, entity and storage medium
CN108200091B (en) Data packet processing method and device
JP2013546254A (en) Data reprocessing at the wireless protocol layer
TWI734010B (en) Method and apparatus for transmitting data
WO2019034130A1 (en) Transmission method, transmitting terminal and receiving terminal
WO2021000783A1 (en) Method and apparatus for indicating data transmission situations
WO2019061151A1 (en) Path switching method and terminal device
WO2020087421A1 (en) Protocol data unit session status indication method, terminal device, and storage medium
WO2019014916A1 (en) Method and device for processing data
WO2019019150A1 (en) Data transmission method, terminal device and network device
WO2020057044A1 (en) Connection releasing method, data processing method, device, and storage medium
WO2018209675A1 (en) Method and device for transmitting data
WO2020118722A1 (en) Data processing method and device, and storage medium
WO2020082344A1 (en) Method and device for distinguishing between data formats, and communication apparatus
WO2019153209A1 (en) Method for handling radio link failure (rlf) and terminal device
WO2018126450A1 (en) Wireless communication method and device
TW202033030A (en) Signaling processing method, device, and storage medium
JP6389126B2 (en) Wireless communication apparatus and transmission frame control method
TW202033019A (en) Information processing method, device and storage medium
WO2020124540A1 (en) Data packet reordering method, electronic device and storage medium
WO2020082327A1 (en) Method and apparatus for signaling interaction during switching process, and network device
WO2020107340A1 (en) Data processing method, devices, and storage medium
WO2020087267A1 (en) Data processing method, terminal device and storage medium
WO2024017054A1 (en) Data processing method and device, and storage medium
WO2019014918A1 (en) Data transmission method and device