[go: up one dir, main page]

WO2020062126A1 - 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
WO2020062126A1
WO2020062126A1 PCT/CN2018/108567 CN2018108567W WO2020062126A1 WO 2020062126 A1 WO2020062126 A1 WO 2020062126A1 CN 2018108567 W CN2018108567 W CN 2018108567W WO 2020062126 A1 WO2020062126 A1 WO 2020062126A1
Authority
WO
WIPO (PCT)
Prior art keywords
sdu
protocol layer
segment
protocol
fragments
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2018/108567
Other languages
French (fr)
Chinese (zh)
Inventor
石聪
杨宁
刘建华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to PCT/CN2018/108567 priority Critical patent/WO2020062126A1/en
Priority to CN201880091259.8A priority patent/CN111886893B/en
Priority to TW108135343A priority patent/TW202027478A/en
Publication of WO2020062126A1 publication Critical patent/WO2020062126A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

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

Definitions

  • the present invention relates to the field of wireless communication technologies, and in particular, to a data packet processing method, entity, and storage medium.
  • the size of the largest Service Data Unit (SDU) supported by the Packet Data Convergence Protocol (PDCP) layer 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 maximum SDU size supported by the PDCP layer, the data cannot be effectively transmitted.
  • SDU Service Data Unit
  • RRC Radio Resource Control
  • embodiments of the present invention provide a data packet processing method, entity, and storage medium, which implements when data sent from a radio resource control RRC layer or an application layer to the PDCP layer exceeds the maximum SDU size supported by the PDCP layer. , Data can be efficiently transmitted.
  • an embodiment of the present invention provides a data packet processing method, including: a first protocol layer entity dividing the first SDU into at least two SDU fragments based on the size of the received first SDU; the The first protocol layer entity indicates that the SDU segment is a data segment of the first SDU.
  • an embodiment of the present invention provides a data packet processing method, including: a first protocol layer entity receives at least two SDU fragments, and the at least two SDU fragments are data fragments obtained based on a size of the first SDU. .
  • 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 fragments based on a size of the received first SDU, And indicating that the SDU segment is a data segment of the first SDU.
  • 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 obtained based on the size of the first SDU. Fragment.
  • an embodiment of the present invention provides a first protocol layer entity, including a processor and a memory for storing a computer program capable of running on the processor, where the processor is configured to run the computer program when To execute the steps of the data packet processing method performed by the first protocol layer entity corresponding to the terminal device.
  • an embodiment of the present invention provides a first protocol layer entity, including a processor and a memory for storing a computer program capable of running on the processor, where the processor is configured to run the computer program when To execute the steps of the data packet processing method performed by the first protocol layer entity corresponding to the network device.
  • an embodiment of the present invention provides a storage medium that stores an executable program.
  • the executable program is executed by a processor, the data packet processing method performed by the first protocol layer entity corresponding to the network device is implemented.
  • an embodiment of the present invention provides a storage medium that stores an executable program.
  • the executable program is executed by a processor, the data packet processing method performed by the first protocol layer entity corresponding to the network device is implemented.
  • a first negotiation layer entity corresponding to a 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 limited by the maximum data that the protocol layer can support for transmission, and effective data transmission is achieved.
  • FIG. 1 is a schematic diagram of a protocol stack in related technologies
  • FIG. 2 is a schematic structural diagram of a communication system according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of an optional processing flow of a data packet processing method according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a position of an SDU fragment on a first SDU according to an embodiment of the present invention
  • FIG. 5 is a schematic diagram of an optional processing flow of another data packet processing method according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of a composition structure of a first protocol layer entity according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of a composition structure of another first protocol layer entity according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of a hardware composition structure of a first protocol layer entity according to an embodiment of the present invention.
  • the protocol stack for data transmission is briefly described.
  • the protocol stack is business data in order from the top to the bottom according to the layer relationship.
  • Aggregation Protocol Service Data Adaptation Protocol, SDAP
  • PDCP layer Radio Link Control (RLC) layer
  • RLC Radio Link Control
  • MAC Media Access Control
  • PHY Physical
  • 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.
  • a protocol layer has a corresponding relationship between the network device side and the terminal device side.
  • the present invention provides a data packet processing method.
  • the data packet processing method in the embodiment of the present application can be applied to various communication systems, such as a Global System of Mobile (GSM) system and multiple code divisions. Address (Code Division Multiple Access) system, Wideband Code Division Multiple Access (WCDMA) system, General Packet Radio Service (GPRS), Long Term Evolution (LTE) system , LTE 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.
  • GSM Global System of Mobile
  • WCDMA Wideband Code Division Multiple Access
  • GPRS General Packet Radio Service
  • LTE Long Term Evolution
  • FDD Frequency Division Duplex
  • TDD Time Division Duplex
  • UMTS Universal Mobile Telecommunication System
  • WiMAX Worldwide Interoperability for Microwave Access, WiMAX
  • 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 a communication terminal or a terminal).
  • the network device 110 may provide communication coverage for a specific geographic area, and may communicate with terminal devices located within the coverage area.
  • the network device 110 may be a base station (Base Transceiver Station, BTS) in a GSM system or a CDMA system, or a base station (NodeB, NB) in a WCDMA system, or an evolved base station in an LTE system.
  • BTS Base Transceiver Station
  • NodeB NodeB
  • the network device may be a mobile switching center, relay station, access point, vehicle equipment, Wearable devices, hubs, switches, bridges, routers, network-side devices in 5G networks, or network devices in public land mobile networks (PLMN) that will evolve in the future.
  • PLMN public land mobile networks
  • the communication system 100 further includes at least one terminal device 120 located within a coverage area of the network device 110.
  • terminal equipment used herein includes, but is not limited to, connection via wired lines, such as via Public Switched Telephone Networks (PSTN), Digital Subscriber Line (DSL), digital cable, direct cable connection ; 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, satellite networks, AM- FM broadcast transmitter; and / or another terminal device configured to receive / transmit communication signals; and / or Internet of Things (IoT) devices.
  • PSTN Public Switched Telephone Networks
  • DSL Digital Subscriber Line
  • WLAN Wireless Local Area Networks
  • DVB-H Digital Video Broadband
  • satellite networks satellite networks
  • AM- FM broadcast transmitter AM- FM broadcast transmitter
  • IoT Internet of Things
  • a terminal device configured to communicate through a wireless interface may be referred to as a “wireless communication terminal”, a “wireless terminal”, or a “mobile terminal”.
  • mobile terminals include, but are not limited to, satellite or cellular phones; personal communications systems (PCS) terminals that can combine cellular radiotelephones with data processing, facsimile, and data communications capabilities; can include radiotelephones, pagers, Internet / internal PDA with network access, web browser, notepad, calendar, and / or Global Positioning System (GPS) receiver; and conventional laptop and / or palm-type receivers or others including radiotelephone transceivers Electronic device.
  • PCS personal communications systems
  • GPS Global Positioning System
  • a terminal device can refer to an access terminal, user equipment (User Equipment), user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent, or User device.
  • the access terminal can be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Processing (PDA), and wireless communication.
  • terminal devices 120 may perform terminal direct device (D2D) communication.
  • D2D terminal direct device
  • the 5G system or the 5G network may also be referred to as a New Radio (NR) system or an NR network.
  • NR New Radio
  • FIG. 2 exemplarily shows one network device and two terminal devices.
  • the communication system 100 may include multiple network devices and the coverage of each network device may include other numbers of terminal devices. The embodiment does not limit this.
  • the communication system 100 may further include other network entities such as a network controller, a mobility management entity, and the like in this embodiment of the present application is not limited thereto.
  • network entities such as a network controller, a mobility management entity, and the like in this embodiment of the present application is not limited thereto.
  • the device having a communication function in the network / system in the embodiments of the present application may be referred to as a communication device.
  • the communication device may include a network device 110 and a terminal device 120 having a communication function, and the network device 110 and the terminal device 120 may be specific devices described above, and are not repeated here.
  • the communication device may also include other devices in the communication system 100, such as other network entities such as a network controller, a mobile management entity, and the like, which is not limited in the embodiments of the present application.
  • 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:
  • Step S201 The first protocol layer entity divides the first SDU into at least two SDU fragments based on the size of the received first SDU.
  • the first SDU may be sent by the RRC layer to the first protocol layer entity, or may be sent by the application layer to the first protocol layer entity.
  • the first protocol layer entity cuts the first SDU into at least two SDU fragments.
  • the size of the first SDU is an integer multiple of the first threshold
  • the size of each SDU segment in at least two SDU segments after the first SDU is segmented Are both equal to the first threshold.
  • the size of the last SDU segment of the at least two SDU segments is smaller than the first threshold
  • the size of SDU fragments other than the last SDU fragment is equal to the first threshold.
  • 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 division is equal, and the size of each SDU segment Less than the first threshold.
  • the first threshold value is a maximum value of data that the first protocol layer can support for transmission.
  • the first threshold value is a maximum value of a data size that can be supported by the PDCP layer, such as 9K bytes.
  • the at least two SDU fragments each include a corresponding header of a first protocol layer
  • the header of the first protocol layer includes: first indication information, where the first indication information is used to indicate the following At least one of:
  • the position of the SDU segment in the first SDU, and the first byte of the SDU segment correspond to the position and serial (SN) number in the first SDU.
  • 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.
  • the first SDU segmented into four SDU segments the position of the SDU segment on the first SDU is shown in FIG. 4.
  • the first SDU segment is located at the front of the first SDU, the second SDU segment and the third SDU segment.
  • the SDU segment is located in the middle of the first SDU, and the fourth SDU segment is located in the rear of the first SDU.
  • the front part of the first SDU refers to the first byte of the first SDU.
  • the SN number corresponding to each SDU segment in the at least two SDU segments segmented by the first SDU segment may be the same or different.
  • the header of each SDU segment includes: second indication information, where the second indication information is used to indicate an SDU to which the SDU segment belongs; that is, The second indication information indicates from which SDU the SDU segment is obtained.
  • the first protocol layer is a PDCP layer or an SDAP layer, or a third protocol layer located above the PDCP layer and below the SDAP layer, or a fourth layer located above the SDAP layer.
  • Protocol layer may be new protocol layers other than the existing protocol layers in the related art.
  • the first protocol layer is a different layer
  • the first protocol layer entities in the embodiments of the present invention have different functions.
  • the following description uses the first protocol layer as the PDCP layer and the first protocol layer as the layers above the PDCP layer as examples for illustration.
  • the first protocol layer entity 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.
  • the first data segment of the first SDU is located at the front of the first SDU.
  • the first SDU segment is the first data segment of the first SDU.
  • the first protocol layer entity further caches the at least two SDU fragments, and receives a discard timer configured by a higher layer, and when the discardTimer reaches a preset time value, the cache is cached.
  • the at least two SDU fragments are processed for packet loss; optionally, after the first at least two SDU fragments are buffered, the discardTimer is not started.
  • the discardTimer is a short value, which may be different from the discardTimer existing in the related art.
  • the first protocol layer is a layer above the PDCP layer
  • the first protocol layer is an SDAP layer, or a third protocol layer located above the PDCP layer, below the SDAP layer, or above the SDAP layer
  • the fourth protocol layer of the first protocol layer entity, the first protocol layer entity carries third instruction information in the header of the first PDU, and the third instruction information is used to instruct the PDCP layer to determine whether to perform header compression or decompression of the first PDU.
  • Compression processing the first PDU includes a data segment of the first SDU
  • the first PDU is formed by adding a header of the first protocol layer to the first SDU.
  • the first PDU includes a data segment of the first SDU
  • the first PDU is formed by adding a header of the first protocol layer to the first SDU.
  • the first protocol layer entity further indicates that the SDU segment is a data segment of the first SDU.
  • the instruction 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 is signaled. Give instructions.
  • first protocol layer entity involved in the embodiment of the present invention corresponds to the first protocol layer entity on the terminal device side.
  • An embodiment of the present invention also provides another data packet processing method. As shown in FIG. 5, the optional processing flow of the data packet processing method includes:
  • the 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.
  • the first protocol layer entity divides the first SDU into at least two SDU fragments.
  • the size of the first SDU is an integer multiple of the first threshold
  • the size of each SDU segment in at least two SDU segments after the first SDU is segmented Are both equal to the first threshold.
  • the size of the last SDU segment of the at least two SDU segments is smaller than the first threshold
  • the size of SDU fragments other than the last SDU fragment is equal to the first threshold.
  • 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 division is equal, and the size of each SDU segment Less than the first threshold.
  • the first threshold value is a maximum value of data that the first protocol layer can support for transmission.
  • the first threshold value is a maximum value of a data size that can be supported by the PDCP layer, such as 9K bytes.
  • the method further includes:
  • Step S302 the first protocol layer entity determines that the second SDU segment in the at least two SDU segments is the first based on the header of the first protocol layer corresponding to each SDU segment in the at least two SDU segments.
  • the first protocol layer entity performs a header decompression process on the second SDU segment.
  • 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: a position of an SDU segment in the first SDU, The first bit of the SDU segment corresponds to the position and the SN number in the first SDU.
  • the SN numbers corresponding to each SDU segment may be the same or different; when the SN numbers corresponding to each SDU segment in at least two SDU segments are different, each of the at least two SDU segments
  • the header of the SDU segment includes: second indication information; the second indication information is used to indicate the SDU to which the SDU segment belongs; and through the second indication information, the network device can determine each SDU segment after SDU segmentation. Each SDU fragment obtains an SDU. Accordingly, the method further includes:
  • Step S303 The first protocol layer entity combines the at least two SDU fragments to obtain the first SDU.
  • 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 present invention further provides a first protocol layer entity.
  • the composition structure of the first protocol layer entity 400 as shown in FIG. 6, includes:
  • the first processing unit 401 is configured to slice the first SDU into at least two SDU segments based on the size of the received first SDU, and instruct the SDU segment to be a data segment of the first SDU.
  • a size of each SDU segment in the at least two SDU segments is equal to the first threshold
  • a size of a first SDU fragment in the at least two SDU fragments is smaller than the first threshold, and among the at least two SDU fragments, an SDU fragment other than the first SDU fragment is equal in size, and each The size of each SDU segment is less than or equal to the first threshold.
  • each of the at least two SDU fragments includes a header of a corresponding first protocol layer
  • the header of the first protocol layer includes: first indication information, where the first indication information is used to indicate at least one of: a position of an SDU segment in the first SDU, and a first of the SDU segment
  • the byte corresponds to the position and the SN number in the first SDU.
  • each SDU segment corresponding to the at least two SDU segments has the same SN number, or each SDU segment corresponding to the at least two SDU segments has a different SN number.
  • the header of each SDU segment in the at least two SDU segments includes: second indication information; the second indication information is used for To indicate the SDU to which the SDU segment belongs.
  • the first protocol layer entity further includes:
  • the sending unit 402 is configured to deliver at least two SDU fragments 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.
  • the first protocol layer includes: a PDCP layer, or an SDAP layer, or a third protocol layer located above the PDCP layer and below the SDAP layer, or located between the SDAP layer The fourth protocol layer.
  • the first protocol layer is a PDCP layer
  • the first processing unit 401 configured to perform header compression processing on the second SDU segment
  • the processing unit is configured to not perform header compression processing on the third SDU segment.
  • the first processing unit 401 is configured to perform compression processing on a header of the second SDU segment.
  • the first processing unit 401 when the first protocol layer is a PDCP layer, the first processing unit 401 is further configured to start a packet loss timer, where the packet loss timer is used by the first protocol entity for the At least two SDU fragments perform packet loss processing; or the first processing unit 401 is configured not to start a packet loss timer.
  • the first processing unit 401 is further configured to receive a packet loss timer configured by a higher layer.
  • the first protocol layer entity further includes: a storage unit 403 configured to cache the at least two SDU fragments.
  • the first protocol layer is an SDAP layer, or a third protocol layer located above the PDCP layer, below the SDAP layer, or a fourth protocol layer located above the SDAP layer Time,
  • the first processing unit 401 is further configured to carry third instruction information in a header of the first PDU, where the third instruction information is used to instruct a PDCP layer to determine whether to perform header compression or decompression of the first PDU;
  • the first PDU includes a data segment of the first SDU; the first PDU is formed by adding a header of the first protocol layer to the first SDU.
  • the first SDU is user plane data or control plane data.
  • first protocol layer entity involved in the embodiment of the present invention corresponds to the first protocol layer entity on the terminal device side.
  • An embodiment of the present invention also provides another first protocol layer entity.
  • the composition structure of the first protocol layer entity 500 as shown in FIG. 7, includes:
  • the receiving unit 501 is configured to receive at least two SDU fragments, where the at least two SDU fragments are data fragments obtained based on the size of the first 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
  • a size of a first SDU fragment in the at least two SDU fragments is smaller than the first threshold, and among the at least two SDU fragments, a size of an SDU fragment other than the first SDU fragment is equal to the size First threshold.
  • the first protocol layer entity further includes:
  • the second processing unit 502 is configured to determine, based on a header of a first protocol layer corresponding to each SDU segment of the at least two SDU segments, that the second SDU segment of the at least two SDU segments is the first When the first data segment of the SDU, the first protocol layer entity performs a header decompression process on the second SDU segment.
  • the second processing unit is configured to perform a merge process on the at least two SDU fragments to obtain the first SDU.
  • the header of the first protocol layer corresponding to each of the at least two SDU fragments 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, and the first bit of the SDU segment corresponds to the position and SN number in the first SDU.
  • the SN number corresponding to each SDU segment in the at least two SDU segments is the same or different.
  • the header of each SDU segment in the at least two SDU segments includes: second indication information; the second indication information is used to indicate The SDU to which the SDU fragment belongs.
  • the first protocol layer includes: a PDCP layer, or an SDAP layer, or a third protocol layer located above the PDCP layer and below the SDAP layer, or located between the SDAP layer The fourth protocol layer.
  • 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 capable of running on the processor, wherein the processor is configured to execute the terminal device when the computer program is run. Steps of a power allocation method performed.
  • An embodiment of the present invention further provides another first protocol layer entity, including a processor and a memory for storing a computer program capable of running on the processor, wherein the processor executes the foregoing when the computer program is run. Steps of a power allocation method performed by a network device.
  • FIG. 8 is a schematic diagram of a 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 a bus system 705. It can be understood that the bus system 705 is configured to implement connection and communication between these components.
  • the bus system 705 includes a power bus, a control bus, and a status signal bus in addition to the data bus. However, for the sake of clarity, various buses are marked as the bus system 705 in FIG. 8.
  • the memory 702 may be a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memories.
  • the non-volatile memory may be ROM, Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), electrically erasable and programmable memory Programmable read-only memory (EEPROM, Electrically Programmable Read-Only Memory), magnetic random access memory (FRAM, ferromagnetic random access memory), flash memory (Flash memory), magnetic surface memory, optical disc, or read-only disc (CD) -ROM, Compact Disc-Read-Only Memory); magnetic surface storage can be magnetic disk storage or magnetic tape storage.
  • the volatile memory may be random access memory (RAM, Random Access Memory), which is used as an external cache.
  • RAM random access memory
  • RAM Random Access Memory
  • many forms of RAM are available, such as Static Random Access Memory (SRAM, Static Random Access Memory), Synchronous Static Random Access Memory (SSRAM, Static Random Access, Memory), Dynamic Random Access DRAM (Dynamic Random Access Memory), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM, Double Data Rate Synchronous Dynamic Random Access Memory), enhanced Type Synchronous Dynamic Random Access Memory (ESDRAM, Enhanced Random Dynamic Access Memory), Synchronous Link Dynamic Random Access Memory (SLDRAM, SyncLink Dynamic Random Access Memory), Direct Memory Bus Random Access Memory (DRRAM, Direct Rambus Random Access Memory) ).
  • the memory 702 described in embodiments of the present invention is intended to include, but is not limited to, these and any other suitable types of memory.
  • the memory 702 in the embodiment of the present invention is configured 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, such as application program 7022, for operating on the first protocol layer entity 700.
  • a program for implementing the method of the embodiment of the present invention may be included in an application program 7022.
  • 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 and has a signal processing capability. In the implementation process, each step of the above method may be completed by using hardware integrated logic circuits or instructions in the form of software in the processor 701.
  • the above-mentioned 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, and the like.
  • DSP Digital Signal Processor
  • the processor 701 may implement or execute various methods, steps, and logic block diagrams disclosed in the embodiments of the present invention.
  • a 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 may be directly implemented by a hardware decoding processor, or may be performed by using a combination of hardware and software modules in the decoding processor.
  • the software module may be located in a storage medium.
  • 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.
  • the first protocol layer entity 700 may be implemented by one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), Complex Programmable Logic A device (CPLD, Complex Programmable Logic Device), FPGA, general-purpose processor, controller, MCU, MPU, or other electronic component is implemented to perform the foregoing method.
  • ASICs Application Specific Integrated Circuits
  • DSPs Digital Signal processors
  • PLDs Programmable Logic Devices
  • CPLD Complex Programmable Logic A device
  • FPGA general-purpose processor
  • controller MCU, MPU, or other electronic component is implemented to perform the foregoing method.
  • An embodiment of the present application further provides a computer-readable storage medium for storing a computer program.
  • the computer-readable storage medium may 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 in the embodiment of the present application. For simplicity, here No longer.
  • the computer-readable storage medium can be applied to the terminal device in the embodiments of the present application, and the computer program causes the computer to execute the corresponding processes implemented by the terminal device in each method of the embodiments of the present application. For simplicity, here No longer.
  • These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to work in a particular manner such that the instructions stored in the computer-readable memory produce a manufactured article including an instruction device, the instructions
  • the device implements the functions specified in one or more flowcharts and / or one or more blocks of the block diagram.
  • These computer program instructions can also be loaded on a computer or other programmable data processing device, so that a series of steps can be performed on the computer or other programmable device to produce a computer-implemented process, which can be executed on the computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more flowcharts and / or one or more blocks of the block diagrams.

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 技术领域Technical field

本发明涉及无线通信技术领域,尤其涉及一种数据包处理方法、实体及存储介质。The present invention relates to the field of wireless communication technologies, and in particular, to a data packet processing method, entity, and storage medium.

背景技术Background technique

在无线(New Radio,NR)Rel-15系统中,分组数据汇聚协议(Packet Data Convergence Protocol,PDCP)层能支持的最大服务数据单元(Service Data Unit,SDU)的大小为9K字节;因此,当从无线资源控制无线资源控制(Radio Resource Control,RRC)层或应用层发送至PDCP层的数据超过PDCP层支持的最大SDU的大小时,将导致数据无法进行有效的传输。In a wireless (New Radio, NR) Rel-15 system, the size of the largest Service Data Unit (SDU) supported by the Packet Data Convergence Protocol (PDCP) layer 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 maximum SDU size supported by the PDCP layer, the data cannot be effectively transmitted.

发明内容Summary of the Invention

为解决上述技术问题,本发明实施例提供一种数据包处理方法、实体及存储介质,实现了从无线资源控制RRC层或应用层发送至PDCP层的数据超过PDCP层支持的最大SDU的大小时,数据能够进行有效的传输。In order to solve the foregoing technical problems, embodiments of the present invention provide a data packet processing method, entity, and storage medium, which implements when data sent from a radio resource control RRC layer or an application layer to the PDCP layer exceeds the maximum SDU size supported by the PDCP layer. , Data can be efficiently transmitted.

第一方面,本发明实施例提供一种数据包处理方法,包括:第一协议层实体基于接收到的第一SDU的大小,将所述第一SDU切分为至少两个SDU片段;所述第一协议层实体指示所述SDU片段为所述第一SDU的一个数据片段。According to a first aspect, an embodiment of the present invention provides a data packet processing method, including: a first protocol layer entity dividing the first SDU into at least two SDU fragments based on the size of the received first SDU; the The first protocol layer entity indicates that the SDU segment is a data segment of the first SDU.

第二方面,本发明实施例提供一种数据包处理方法,包括:第一协议层实体接收至少两个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, and the at least two SDU fragments are data fragments obtained based on a size of the first SDU. .

第三方面,本发明实施例提供一种第一协议层实体,包括:第一处理单元,配置为基于接收到的第一SDU的大小将所述第一SDU切分为至少两个SDU片段,并指示所述SDU片段为所述第一SDU的一个数据片段。According to 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 fragments based on a size of the received first SDU, And indicating that the SDU segment is a data segment of the first SDU.

第四方面,本发明实施例提供一种第一协议层实体,包括:接收单元,配置为接收至少两个SDU片段,所述至少两个SDU片段为基于第一SDU的大小切分得到的数据片段。According to 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 obtained based on the size of the first SDU. Fragment.

第五方面,本发明实施例提供一种第一协议层实体,包括:处理器和用于存储能够在处理器上运行的计算机程序的存储器,其中,所述处理器用于运行所述计算机程序时,执行上述对应于终端设备的第一协议层实体执行的数据包处理方法的步骤。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 capable of running on the processor, where the processor is configured to run the computer program when To execute the steps of the data packet processing method performed by the first protocol layer entity corresponding to the terminal device.

第六方面,本发明实施例提供一种第一协议层实体,包括:处理器和用于存储能够在处理器上运行的计算机程序的存储器,其中,所述处理器用于运行所述计算机程序时,执行上述对应于网络设备的第一协议层实体执行的数据包处理方法的步骤。According to 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 capable of running on the processor, where the processor is configured to run the computer program when To execute the steps of the data packet processing method performed by the first protocol layer entity corresponding to the network device.

第七方面,本发明实施例提供一种存储介质,存储有可执行程序,所述可执行程序被处理器执行时,实现上述对应于网络设备的第一协议层实体执行的数据包处理方法。According to a seventh aspect, an embodiment of the present invention provides a storage medium that stores an executable program. When the executable program is executed by a processor, the data packet processing method performed by the first protocol layer entity corresponding to the network device is implemented.

第八方面,本发明实施例提供一种存储介质,存储有可执行程序,所述可执行程序被处理器执行时,实现上述对应于网络设备的第一协议层实体执行的数据包处理方法。According to an eighth aspect, an embodiment of the present invention provides a storage medium that stores an executable program. When the executable program is executed by a processor, the data packet processing method performed by the first protocol layer entity corresponding to the network device is implemented.

本发明实施例提供的数据包处理方法,终端设备侧对应的第一议层实体基于接收到的第一SDU的大小,将所述第一SDU切分为至少两个SDU片段,如此,通过将SDU划分为至少两个SDU片段,使得数据的传输不受协议层能够支持传输的最大数据的限制,实现了数据的有效传输。In the data packet processing method provided by the embodiment of the present invention, a first negotiation layer entity corresponding to a 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 limited by the maximum data that the protocol layer can support for transmission, and effective data transmission is achieved.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1为相关技术中协议栈示意图;FIG. 1 is a schematic diagram of a protocol stack in related technologies;

图2为本发明实施例通信系统的组成结构示意图;2 is a schematic structural diagram 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的位置示意图;4 is a schematic diagram of a position of an SDU fragment on a 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为本发明实施例提供的一种第一协议层实体的组成结构示意图;FIG. 6 is a schematic diagram of a composition structure of a first protocol layer entity according to an embodiment of the present invention; FIG.

图7为本发明实施例提供的另一种第一协议层实体的组成结构示意图;FIG. 7 is a schematic diagram of a composition structure of another first protocol layer entity according to an embodiment of the present invention; FIG.

图8为本发明实施例提供的第一协议层实体的硬件组成结构示意图。FIG. 8 is a schematic diagram of a hardware composition structure of a first protocol layer entity according to an embodiment of the present invention.

具体实施方式detailed description

为了能够更加详尽地了解本发明实施例的特点和技术内容,下面结合附图对本发明实施例的实现进行详细阐述,所附附图仅供参考说明之用,并非用来限定本发明实施例。In order to understand the features and technical contents of the embodiments of the present invention in more detail, the implementation of the embodiments of the present invention is described in detail below with reference to the accompanying drawings. The accompanying drawings are for reference only and are not intended 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, the protocol stack for data transmission is briefly described. As shown in FIG. 1, on the terminal device side and on the network device side, the protocol stack is business data in order from the top to the bottom according to the layer relationship. Aggregation Protocol (Service Data Adaptation Protocol, SDAP) layer, PDCP layer, 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 device side and the terminal device 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 problems, the present invention provides a data packet processing method. The data packet processing method in the embodiment of the present application can be applied to various communication systems, such as a Global System of Mobile (GSM) system and multiple code divisions. Address (Code Division Multiple Access) system, Wideband Code Division Multiple Access (WCDMA) system, General Packet Radio Service (GPRS), Long Term Evolution (LTE) system , LTE 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.

示例性的,本申请实施例应用的通信系统100如图2所示。该通信系统100可以包括网络设备110,网络设备110可以是与终端设备120(或称为通信终端、终端)通信的设备。网络设备110可以为特定的地理区域提供通信覆盖,并且可以与位于该覆盖区域内的终端设备进行通信。可选地,该网络设备110可以是GSM系统或CDMA系统中的基站(Base Transceiver Station,BTS),也可以是WCDMA系统中的基站(NodeB,NB),还可以是LTE系统中的演进型基站(Evolutional Node B,eNB或eNodeB),或者是云无线接入网络(Cloud Radio Access Network,CRAN)中的无线控制器,或者该网络设备可以为移动交换中心、中继站、接入点、车载设备、可穿戴设备、集线器、交换机、网桥、路由器、5G网络中的网络侧设备或者未来演进的公共陆地移动网络(Public Land Mobile Network,PLMN)中的网络设备等。Exemplarily, 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 a communication terminal or a terminal). The network device 110 may provide communication coverage for a specific geographic area, and may communicate with terminal devices located within 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 base station (NodeB, NB) in a WCDMA system, or an evolved base station in an LTE system. (Evolutional NodeB, eNB or eNodeB), or a wireless controller in a Cloud Radio Access Network (CRAN), or the network device may be a mobile switching center, relay station, access point, vehicle equipment, Wearable devices, hubs, switches, bridges, routers, network-side devices in 5G networks, or network devices in public land mobile networks (PLMN) that will evolve in the future.

该通信系统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 further includes at least one terminal device 120 located within a coverage area of the network device 110. As the "terminal equipment" used herein includes, but is not limited to, connection via wired lines, such as via Public Switched Telephone Networks (PSTN), Digital Subscriber Line (DSL), digital cable, direct cable connection ; 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, satellite networks, AM- FM broadcast transmitter; and / or another terminal device configured to receive / transmit communication signals; and / or Internet of Things (IoT) devices. A terminal device configured to communicate through a wireless interface may be referred to as a “wireless communication terminal”, a “wireless terminal”, or a “mobile terminal”. Examples of mobile terminals include, but are not limited to, satellite or cellular phones; personal communications systems (PCS) terminals that can combine cellular radiotelephones with data processing, facsimile, and data communications capabilities; can include radiotelephones, pagers, Internet / internal PDA with network access, web browser, notepad, calendar, and / or Global Positioning System (GPS) receiver; and conventional laptop and / or palm-type receivers or others including radiotelephone transceivers Electronic device. A terminal device can refer to an access terminal, user equipment (User Equipment), user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent, or User device. The access terminal can be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Processing (PDA), and wireless communication. Functional handheld devices, computing devices or other processing devices connected to wireless modems, vehicle-mounted devices, wearable devices, terminal devices in 5G networks, or terminal devices in future evolved PLMNs, etc.

可选地,终端设备120之间可以进行终端直连(Device to Device,D2D)通信。Optionally, terminal devices 120 may perform terminal direct device (D2D) communication.

可选地,5G系统或5G网络还可以称为新无线(New Radio,NR)系统或NR网络。Optionally, the 5G system or the 5G network may also be referred to as a New Radio (NR) system or an NR network.

图2示例性地示出了一个网络设备和两个终端设备,可选地,该通信系统100可以包括多个网络设备并且每个网络设备的覆盖范围内可以包括其它数量的终端设备,本申请实施例对此不做限定。FIG. 2 exemplarily shows one 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. The embodiment does not limit this.

可选地,该通信系统100还可以包括网络控制器、移动管理实体等其他网络实体,本申请实施例对此不作限定。Optionally, the communication system 100 may further include other network entities such as a network controller, a mobility management entity, and the like in this embodiment of the present application is not limited thereto.

应理解,本申请实施例中网络/系统中具有通信功能的设备可称为通信设备。以图2示出的通信系统100为例,通信设备可包括具有通信功能的网络设备110和终端设备120,网络设备110和终端设备120可以为上文所述的具体设备,此处不再赘述;通信设备还可包括通信系统100中的其他设备,例如网络控制器、移动管理实体等其他网络实体,本申请实施例中对此不做限定。It should be understood that the device having a communication function in the network / system in the embodiments of the present application may be referred to as a communication device. Taking the communication system 100 shown in FIG. 2 as an example, the communication device may include a network device 110 and a terminal device 120 having a communication function, and the network device 110 and the terminal device 120 may be specific devices described above, and are not repeated here. The communication device may also include other devices in the communication system 100, such as other network entities such as a network controller, a mobile management entity, and the like, which is not limited in the embodiments 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 protocol layer entity divides the first SDU into at least two SDU fragments based on the size of the received first SDU.

本发明实施例中,第一SDU可以是由RRC层发送至第一协议层实体,也可以是由应用层发送至第一协议层实体。In the embodiment of the present invention, the first SDU may be sent by the RRC layer to the first protocol layer entity, or may be sent by the application layer to the first protocol 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 protocol layer entity cuts the first SDU into at least two SDU fragments. 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 SDU segment in at least two SDU segments after the first SDU is segmented Are both equal to the first threshold. When segmenting the first SDU, 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 smaller than the first threshold, The size of SDU fragments other than the last SDU fragment is equal to the first threshold. Alternatively, 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 division is equal, and the size of each SDU segment Less than the first threshold.

本发明实施例中,第一阈值为第一协议层能够支持传输的数据最大值。可选地,第一阈值为PDCP层能够支持的数据大小的最大值,如9K字节。In the embodiment of the present invention, the first threshold value is a maximum value of data that the first protocol layer can support for transmission. Optionally, the first threshold value is a maximum value of a data size that can be supported by the PDCP layer, such as 9K bytes.

在一些实施例中,所述至少两个SDU片段均包括对应的第一协议层的包头,所述第一协议层的包头包括:第一指示信息,所述第一指示信息用于指示下述中的至少一种:In some embodiments, the at least two SDU fragments each include a corresponding header of a first protocol layer, and the header of the first protocol layer includes: first indication information, where the first indication information is used to indicate the following At least one of:

SDU片段在所述第一SDU中的位置、SDU片段的第一个字节对应所述第一SDU中的位置和序列(Serial Number,SN)号。The position of the SDU segment in the first SDU, and the first byte of the SDU segment correspond to the position and serial (SN) number 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 first SDU segmented into four SDU segments as an example, the position of the SDU segment on the first SDU is shown in FIG. 4. The first SDU segment is located at the front of the first SDU, the second SDU segment and the third SDU segment. The SDU segment is located in the middle of the first SDU, and the fourth SDU segment is located in 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 SDU segment in the at least two SDU segments segmented by 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, where the second indication information is used to indicate an SDU to which the SDU segment belongs; that is, The second indication information indicates from which SDU the SDU segment is obtained.

本发明实施例中,第一协议层为PDCP层,或SDAP层,或位于所述PDCP层之上、所述SDAP层之下的第三协议层、或位于所述SDAP层之上的第四协议层。这里,第三协议层和第四协议层可以是不同于相关技术中已有协议层之外的新的协议层。In the embodiment of the present invention, the first protocol layer is a PDCP layer or an SDAP layer, or a third protocol layer located above the PDCP layer and below the SDAP layer, or a fourth layer located above the SDAP layer. Protocol layer. Here, the third protocol layer and the fourth protocol layer may be new protocol layers other than the existing protocol layers in the related art.

基于第一协议层为不同的层,本发明实施例中第一协议层实体具有不同的功能。下 面分别以第一协议层为PDCP层,以及第一协议层为PDCP层以上的层为例进行说明。Based on the fact that the first protocol layer is a different layer, the first protocol layer entities in the embodiments of the present invention have different functions. The following description uses the first protocol layer as the PDCP layer and the first protocol layer as the layers above the PDCP layer as examples for illustration.

当第一协议层为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 caches the at least two SDU fragments, and receives a discard timer configured by a higher layer, and when the discardTimer reaches a preset time value, the cache is cached. The at least two SDU fragments are processed for packet loss; optionally, after the first at least two SDU fragments are buffered, the discardTimer is not started. Here, the discardTimer is a short value, which may be different from the discardTimer existing 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 an SDAP layer, or a third protocol layer located above the PDCP layer, below the SDAP layer, or above the SDAP layer The fourth protocol layer of the first protocol layer entity, the first protocol layer entity carries third instruction information in the header of the first PDU, and the third instruction information is used to instruct the PDCP layer to determine whether to perform header compression or decompression of the first PDU. Compression processing; the first PDU includes a data segment of the first SDU; the first PDU is formed by adding a header of the first protocol layer to the first SDU. Here, the first PDU includes a data segment 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 protocol layer entity further indicates that the SDU segment is a data segment of the first SDU. In specific implementation, the instruction 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 is signaled. 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所示,包括:An embodiment of the present invention also provides another data packet processing method. As shown in FIG. 5, the optional processing flow of the data packet processing method includes:

步骤S301,第一协议层实体接收至少两个SDU片段,所述至少两个SDU片段为基于第一SDU的大小切分得到的数据片段。In step S301, the 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片段。在对第一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 protocol layer entity divides the first SDU into at least two SDU fragments. 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 SDU segment in at least two SDU segments after the first SDU is segmented Are both equal to the first threshold. When segmenting the first SDU, 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 smaller than the first threshold, The size of SDU fragments other than the last SDU fragment is equal to the first threshold. Alternatively, 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 division is equal, and the size of each SDU segment Less than the first threshold.

本发明实施例中,第一阈值为第一协议层能够支持传输的数据最大值。可选地,第一阈值为PDCP层能够支持的数据大小的最大值,如9K字节。In the embodiment of the present invention, the first threshold value is a maximum value of data that the first protocol layer can support for transmission. Optionally, the first threshold value is a maximum value of a data size that can be supported by the PDCP layer, 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 in the at least two SDU segments is the first based on the header of the first protocol layer corresponding to each SDU segment in the at least two SDU segments. When the first data segment of the SDU, the first protocol layer entity performs a header decompression process 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: a position of an SDU segment in the first SDU, The first bit of the SDU segment corresponds to the position and the SN number in the first SDU.

在具体实施时,每个SDU片段对应的SN号可以相同,也可以不同;当所至少两个SDU片段中的每个SDU片段对应的SN号不同时,所述至少两个SDU片段中的每个SDU片段的包头包括:第二指示信息;所述第二指示信息用于指示所述SDU片段所属的SDU;通过第二指示信息,网络设备能够确定出一个SDU切分后的各SDU片段,通过各SDU片段获得SDU。相应的,所述方法还包括:In specific implementation, the SN numbers corresponding to each SDU segment may be the same or different; when the SN numbers corresponding to each SDU segment in at least two SDU segments are different, each of the at least two SDU segments The header of the SDU segment includes: second indication information; the second indication information is used to indicate the SDU to which the SDU segment belongs; and through the second indication information, the network device can determine each SDU segment after SDU segmentation. Each SDU fragment obtains an SDU. Accordingly, the method further includes:

步骤S303,第一协议层实体对所述至少两个SDU片段进行合并处理,得到所述第一SDU。Step S303: The first protocol layer entity combines the at least two SDU fragments 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所示,包括:An embodiment of the present invention further provides a first protocol layer entity. The composition structure of the first protocol layer entity 400, as shown in FIG. 6, includes:

第一处理单元401,配置为基于接收到的第一SDU的大小将所述第一SDU切分为至少两个SDU片段,并指示所述SDU片段为所述第一SDU的一个数据片段。The first processing unit 401 is configured to slice the first SDU into at least two SDU segments based on the size of the received first SDU, and instruct the SDU segment to be a data segment of the first SDU.

在一些实施例中,所述至少两个SDU片段中的每个SDU片段的大小均等于所述第一阈值;In some embodiments, a 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, a size of a first SDU fragment in the at least two SDU fragments is smaller than the first threshold, and among the at least two SDU fragments, an SDU fragment other than the first SDU fragment is equal in size, 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 header of a corresponding first protocol layer;

所述第一协议层的包头包括:第一指示信息,所述第一指示信息用于指示下述中的至少一种:SDU片段在所述第一SDU中的位置、SDU片段的第一个字节对应所述第一SDU中的位置和SN号。The header of the first protocol layer includes: first indication information, where the first indication information is used to indicate at least one of: a position of an SDU segment in the first SDU, and a first of the SDU segment The byte corresponds to the position and the SN number in the first SDU.

在一些实施例中,所述至少两个SDU片段中的每个SDU片段对应的SN号相同,或所述至少两个SDU片段中的每个SDU片段对应的SN号不同。In some embodiments, each SDU segment corresponding to the at least two SDU segments has the same SN number, or each SDU segment corresponding to the at least two SDU segments has a different SN number.

当所述至少两个SDU片段中的每个SDU片段对应的SN号不同时,所述至少两个SDU片段中的每个SDU片段的包头包括:第二指示信息;所述第二指示信息用于指示所述SDU片段所属的SDU。When the SN numbers corresponding to each SDU segment in the at least two SDU segments are different, the header of each SDU segment in the at least two SDU segments includes: second indication information; the second indication information is used for To indicate the SDU to which the SDU segment belongs.

在一些实施例中,所述第一协议层实体还包括:In some embodiments, the first protocol layer entity further includes:

发送单元402,配置为将添加有第一协议层的包头的至少两个SDU片段递交至第二协议层实体;所述第二协议层为所述第一协议层的下层。The sending unit 402 is configured to deliver at least two SDU fragments 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 an SDAP layer, or a third protocol layer located above the PDCP layer and below the SDAP layer, or located between the SDAP layer 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, 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.

在一些实施例中,所述第一处理单元401,配置为对所述第二SDU片段的包头进行压缩处理。In some embodiments, the first processing unit 401 is configured to perform compression processing on a header of the second SDU segment.

在一些实施例中,所述第一协议层为PDCP层时,所述第一处理单元401,还配置为启动丢包计时器,所述丢包计时器用于所述第一协议实体对所述至少两个SDU片段进行丢包处理;或者所述第一处理单元401,配置为不启动丢包计时器。In some embodiments, when the first protocol layer is a PDCP layer, the first processing unit 401 is further configured to start a packet loss timer, where the packet loss timer is used by the first protocol entity for the At least two SDU fragments perform packet loss processing; or the first processing unit 401 is configured not to start a packet loss timer.

在一些实施例中,所述第一处理单元401,还配置为接收高层配置的丢包计时器。In some embodiments, the first processing unit 401 is further configured to receive a packet loss 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 an SDAP layer, or a third protocol layer located above the PDCP layer, below the SDAP layer, or a fourth protocol layer located above the SDAP layer Time,

所述第一处理单元401,还配置为在第一PDU的包头中携带第三指示信息,所述第三指示信息用于指示PDCP层判断是否进行对第一PDU进行包头压缩或解压缩;所述第一PDU包含所述第一SDU的一个数据片段;所述第一PDU由所述第一SDU添加所述第一协议层的包头形成。The first processing unit 401 is further configured to carry third instruction information in a header of the first PDU, where the third instruction information is used to instruct a PDCP layer to determine whether to perform header compression or decompression of the first PDU; The first PDU includes a data segment of the first SDU; the first PDU is formed by adding a 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所示,包括:An embodiment of the present invention also provides another first protocol layer entity. The composition structure of the first protocol 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 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, a size of a first SDU fragment in the at least two SDU fragments is smaller than the first threshold, and among the at least two SDU fragments, a size of an SDU fragment other than the first SDU fragment is equal to the size First threshold.

在一些实施例中,所述第一协议层实体还包括:In some embodiments, the first protocol layer entity further includes:

第二处理单元502,配置为基于所述至少两个SDU片段中的每个SDU片段对应的第一协议层的包头,确定所述至少两个SDU片段中的第二SDU片段为所述第一SDU的第一个数据片段时,所述第一协议层实体对所述第二SDU片段进行包头解压缩处理。The second processing unit 502 is configured to determine, based on a header of a first protocol layer corresponding to each SDU segment of the at least two SDU segments, that the second SDU segment of the at least two SDU segments is the first When the first data segment of the SDU, the first protocol layer entity performs a header decompression process on the second SDU segment.

在一些实施例中,所述第二处理单元,配置为对所述至少两个SDU片段进行合并处理,得到所述第一SDU。In some embodiments, the second processing unit is configured to perform a merge process on the at least two SDU fragments 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, where the first indication information is 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 SN number in the first SDU.

在一些实施例中,所述至少两个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 different.

当所至少两个SDU片段中的每个SDU片段对应的SN号不同时,所述至少两个SDU片段中的每个SDU片段的包头包括:第二指示信息;所述第二指示信息用于指示所述SDU片段所属的SDU。When the SN numbers corresponding to each SDU segment in the at least two SDU segments are different, the header of each SDU segment in the at least two SDU segments includes: second indication information; the second indication information is used to indicate The SDU to which the SDU fragment belongs.

在一些实施例中,所述第一协议层,包括:PDCP层,或SDAP层,或位于所述PDCP层之上、所述SDAP层之下的第三协议层,或位于所述SDAP层之上的第四协议层。In some embodiments, the first protocol layer includes: a PDCP layer, or an SDAP layer, or a third protocol layer located above the PDCP layer and below the SDAP layer, or located between the SDAP layer 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 capable of running on the processor, wherein the processor is configured to execute the terminal device when the computer program is run. Steps of a power allocation method performed.

本发明实施例还提供另一种第一协议层实体,包括处理器和用于存储能够在处理器上运行的计算机程序的存储器,其中,所述处理器用于运行所述计算机程序时,执行上述网络设备执行的功率分配方法的步骤。An embodiment of the present invention further provides another first protocol layer entity, including a processor and a memory for storing a computer program capable of running on the processor, wherein the processor executes the foregoing when the computer program is run. Steps of a power allocation method performed by a network device.

图8是本发明实施例的第一协议层实体的硬件组成结构示意图,第一协议层实体700包括:至少一个处理器701、存储器702和至少一个网络接口704。第一协议层实体700中的各个组件通过总线系统705耦合在一起。可理解,总线系统705用于实现这些组件之间的连接通信。总线系统705除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图8中将各种总线都标为总线系统705。FIG. 8 is a schematic diagram of a 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 a bus system 705. It can be understood that the bus system 705 is configured to implement connection and communication between these components. The bus system 705 includes a power bus, a control bus, and a status signal bus in addition to the data bus. However, for the sake of clarity, various buses are marked as the bus 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 can be understood that the memory 702 may be a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memories. Among them, the non-volatile memory may be ROM, Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), electrically erasable and programmable memory Programmable read-only memory (EEPROM, Electrically Programmable Read-Only Memory), magnetic random access memory (FRAM, ferromagnetic random access memory), flash memory (Flash memory), magnetic surface memory, optical disc, or read-only disc (CD) -ROM, Compact Disc-Read-Only Memory); magnetic surface storage can be magnetic disk storage or magnetic tape storage. The volatile memory may be random access memory (RAM, Random Access Memory), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM, Static Random Access Memory), Synchronous Static Random Access Memory (SSRAM, Static Random Access, Memory), Dynamic Random Access DRAM (Dynamic Random Access Memory), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM, Double Data Rate Synchronous Dynamic Random Access Memory), enhanced Type Synchronous Dynamic Random Access Memory (ESDRAM, Enhanced Random Dynamic Access Memory), Synchronous Link Dynamic Random Access Memory (SLDRAM, SyncLink Dynamic Random Access Memory), Direct Memory Bus Random Access Memory (DRRAM, Direct Rambus Random Access Access Memory) ). The memory 702 described in embodiments 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 configured 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, such as application program 7022, for operating on the first protocol layer entity 700. A program for implementing the method of the embodiment of the present invention may be included in an application program 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 and has a signal processing capability. In the implementation process, each step of the above method may be completed by using hardware integrated logic circuits or instructions in the form of software in the processor 701. The above-mentioned 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, and the like. The processor 701 may implement or execute various methods, steps, and logic block diagrams disclosed in the embodiments of the present invention. A 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 may be directly implemented by a hardware decoding processor, or may be performed by using a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium. 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 implemented by one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), Complex Programmable Logic A device (CPLD, Complex Programmable Logic Device), FPGA, general-purpose processor, controller, MCU, MPU, or other electronic component is implemented to perform the foregoing method.

本申请实施例还提供了一种计算机可读存储介质,用于存储计算机程序。An embodiment of the present application further provides a computer-readable storage medium for storing a computer program.

可选的,该计算机可读存储介质可应用于本申请实施例中的网络设备,并且该计算机程序使得计算机执行本申请实施例的各个方法中由网络设备实现的相应流程,为了简 洁,在此不再赘述。Optionally, the computer-readable storage medium may 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 in the embodiment of the present application. For simplicity, here No longer.

可选地,该计算机可读存储介质可应用于本申请实施例中的终端设备,并且该计算机程序使得计算机执行本申请实施例的各个方法中由终端设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the computer-readable storage medium can be applied to the terminal device in the embodiments of the present application, and the computer program causes the computer to execute the corresponding processes implemented by the terminal device in each method of the embodiments of the present application. For simplicity, here No longer.

本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowcharts and / or block diagrams, and combinations of processes and / or blocks in the flowcharts and / or block diagrams can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing device to produce a machine, so that the instructions generated by the processor of the computer or other programmable data processing device are used to generate instructions Means for implementing the functions specified in one or more flowcharts and / or one or more blocks of the block diagrams.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to work in a particular manner such that the instructions stored in the computer-readable memory produce a manufactured article including an instruction device, the instructions The device implements the functions specified in one or more flowcharts and / or one or more blocks of the block diagram.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device, so that a series of steps can be performed on the computer or other programmable device to produce a computer-implemented process, which can be executed on the computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more flowcharts and / or one or more blocks of the block diagrams.

以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。The above description is only the preferred embodiments of the present invention, and is not intended 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 scope of the present invention.

Claims (48)

一种数据包处理方法,所述方法包括:A data packet processing method, the method includes: 第一协议层实体基于接收到的第一服务数据单元SDU的大小,将所述第一SDU切分为至少两个SDU片段;The first protocol layer entity divides the first SDU into at least two SDU fragments based on the size of the received first service data unit SDU; 所述第一协议层实体指示所述SDU片段为所述第一SDU的一个数据片段。The first protocol layer entity indicates that the SDU segment is a data segment of the first SDU. 根据权利要求1所述的方法,其中,所述第一协议层实体基于接收到的第一SDU的大小,将所述第一SDU切分为至少两个SDU片段,包括:The method according to claim 1, wherein the first protocol layer entity divides the first SDU into at least two SDU fragments based on the size of the received first SDU, comprising: 当所述第一SDU的大小大于第一阈值时,所述第一协议层实体将所述第一SDU切分为至少两个SDU片段;When the size of the first SDU is greater than a first threshold, the first protocol layer entity cuts the first SDU into at least two SDU fragments; 所述至少两个SDU片段中的每个SDU片段的大小相等,且每个SDU片段的大小均小于或等于所述第一阈值;The size of each of the at least two SDU fragments is equal, and the size of each SDU fragment is less than or equal to the first threshold; 或者,所述至少两个SDU片段中的一个第一SDU片段的大小小于所述第一阈值,所述至少两个SDU片段中,除所述第一SDU片段以外的SDU片段的大小均等于所述第一阈值。Alternatively, a size of a first SDU fragment of the at least two SDU fragments is smaller than the first threshold, and among the at least two SDU fragments, a size of an SDU fragment other than the first SDU fragment is equal to The first threshold is described. 根据权利要求1或2所述的方法,其中,所述至少两个SDU片段中的每个SDU片段包括对应的第一协议层的包头;The method according to claim 1 or 2, wherein each of the at least two SDU fragments includes a header of a corresponding first protocol layer; 所述第一协议层的包头包括:第一指示信息,所述第一指示信息用于指示下述中的至少一种:The header of the first protocol layer includes: first indication information, where the first indication information is used to indicate at least one of the following: SDU片段在所述第一SDU中的位置;A position of an SDU fragment in the first SDU; SDU片段的第一个字节对应所述第一SDU中的位置;The first byte of the SDU segment corresponds to the position in the first SDU; 序列SN号。Serial SN number. 根据权利要求3所述的方法,其中,所述至少两个SDU片段中的每个SDU片段对应的SN号相同;The method according to claim 3, wherein each SDU segment in the at least two SDU segments has the same SN number; 或,所述至少两个SDU片段中的每个SDU片段对应的SN号不同。Or, the SN numbers corresponding to each SDU segment in the at least two SDU segments are different. 根据权利要求4所述的方法,其中,当所述至少两个SDU片段中的每个SDU片段对应的SN号不同时,The method according to claim 4, wherein when the SN numbers corresponding to each of the at least two SDU segments are different, 所述至少两个SDU片段中的每个SDU片段的包头包括:第二指示信息;The header of each SDU segment in the at least two SDU segments includes: second indication information; 所述第二指示信息用于指示所述SDU片段所属的SDU。The second indication information is used to indicate an SDU to which the SDU segment belongs. 根据权利要求1至5任一项所述的方法,其中,所述方法还包括:The method according to any one of claims 1 to 5, wherein the method further comprises: 所述第一协议层实体将添加有第一协议层的包头的至少两个SDU片段递交至第二协议层实体;The first protocol layer entity submits at least two SDU fragments with the header of the first protocol layer added to the second protocol layer entity; 所述第二协议层为所述第一协议层的下层。The second protocol layer is a lower layer of the first protocol layer. 根据权利要求1至6任一项所述的方法,其中,所述第一协议层,包括:The method according to any one of claims 1 to 6, wherein the first protocol layer comprises: 分组数据汇聚协议PDCP层;PDCP layer of packet data convergence protocol; 或,业务数据汇聚协议SDAP层;Or, the SDAP layer of the service data convergence protocol; 或,位于所述PDCP层之上、所述SDAP层之下的第三协议层;Or a third protocol layer located above the PDCP layer and below the SDAP layer; 或,位于所述SDAP层之上的第四协议层。Or, a fourth protocol layer located above the SDAP layer. 根据权利要求1至7任一项所述的方法,其中,所述第一协议层为分组数据汇聚协议PDCP层时,所述方法还包括:The method according to any one of claims 1 to 7, wherein when the first protocol layer is a packet data convergence protocol PDCP layer, the method further comprises: 当所述至少两个SDU片段中的第二SDU片段为所述第一SDU的第一个数据片段时,所述第一协议层实体对所述第二SDU片段进行头压缩处理;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; 当所述至少两个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 first protocol layer entity does not perform header compression processing on the third SDU segment. 根据权利要求8所述的方法,其中,所述第一协议层实体对所述第二SDU片段进行头压缩处理,包括:The method according to claim 8, wherein the first protocol layer entity performing header compression processing on the second SDU segment comprises: 所述第一协议层实体对所述第二SDU片段的包头进行压缩处理。The first protocol layer entity performs compression processing on a header of the second SDU fragment. 根据权利要求1至9任一项所述的方法,其中,所述第一协议层为分组数据汇聚协议PDCP层时,所述方法还包括:The method according to any one of claims 1 to 9, wherein when the first protocol layer is a packet data convergence protocol PDCP layer, the method further comprises: 所述第一协议层实体启动丢包计时器,所述丢包计时器用于所述第一协议实体对所述至少两个SDU片段进行丢包处理;The first protocol layer entity starts a packet loss timer, and the packet loss timer is used by the first protocol entity to perform packet loss processing on the at least two SDU fragments; 或者所述第一协议层实体不启动丢包计时器。Or the first protocol layer entity does not start a packet loss timer. 根据权利要求10所述的方法,其中,所述方法还包括:The method according to claim 10, wherein the method further comprises: 所述第一协议层实体接收高层配置的丢包计时器。The first protocol layer entity receives a packet loss timer configured by a higher layer. 根据权利要求10所述的方法,其中,所述第一协议层实体启动丢包计时器之前,所述方法还包括:The method according to claim 10, wherein before the first protocol layer entity starts a packet loss timer, the method further comprises: 所述第一协议层实体对所述至少两个SDU片段进行缓存。The first protocol layer entity buffers the at least two SDU fragments. 根据权利要求1至7任一项所述的方法,其中,所述第一协议层为业务数据汇聚协议SDAP层、或位于所述PDCP层之上、所述SDAP层之下的第三协议层、或位于所述SDAP层之上的第四协议层时,所述方法还包括:The method according to any one of claims 1 to 7, wherein the first protocol layer is a service data convergence 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 above the SDAP layer, the method further includes: 所述第一协议层实体在第一PDU的包头中携带第三指示信息,所述第三指示信息用于指示分组数据汇聚协议PDCP层判断是否进行对第一PDU进行包头压缩或解压缩处理;所述第一PDU包含所述第一SDU的一个数据片段,所述第一PDU由所述第一SDU添加所述第一协议层的包头形成。The first protocol layer entity carries third indication information in a header of the first PDU, and the third indication information is used to instruct a PDCP layer of the packet data convergence protocol to determine whether to perform header compression or decompression processing on the first PDU; The first PDU includes a data segment of the first SDU, and the first PDU is formed by adding a header of the first protocol layer to the first SDU. 根据权利要求1至13任一项所述的方法,其中,所述第一SDU为用户面数据;The method according to any one of claims 1 to 13, wherein the first SDU is user plane data; 或者,所述第一SDU为控制面数据。Alternatively, the first SDU is control plane data. 一种数据包处理方法,所述方法包括:A data packet processing method, the method includes: 第一协议层实体接收至少两个服务数据单元SDU片段,所述至少两个SDU片段为基于第一SDU的大小切分得到的数据片段。The first protocol layer entity receives at least two service data unit SDU fragments, and the at least two SDU fragments are data fragments obtained based on the size of the first SDU. 根据权利要求15所述的方法,其中,所述至少两个SDU片段中的每个SDU片段的大小相等,且每个SDU片段的大小均小于或等于所述第一阈值;The method according to claim 15, wherein 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, a size of a first SDU fragment in the at least two SDU fragments is smaller than the first threshold, and among the at least two SDU fragments, a size of an SDU fragment other than the first SDU fragment is equal to the size First threshold. 根据权利要求15或16所述的方法,其中,所述方法还包括:The method according to claim 15 or 16, further comprising: 所述第一协议层实体基于所述至少两个SDU片段中的每个SDU片段对应的第一协议层的包头,确定所述至少两个SDU片段中的第二SDU片段为所述第一SDU的第一个数据片段时,所述第一协议层实体对所述第二SDU片段进行包头解压缩处理。Determining, by the first protocol layer entity, that a second SDU segment in the at least two SDU segments is the first SDU based on a header of a first protocol layer corresponding to each SDU segment in the at least two SDU segments When the first data segment is the first data segment, the first protocol layer entity performs a header decompression process on the second SDU segment. 根据权利要求17所述的方法,其中,对所述第二SDU片段进行包头解压缩处理之后,所述方法还包括:The method according to claim 17, wherein after the header decompression processing is performed on the second SDU segment, the method further comprises: 对所述至少两个SDU片段进行合并处理,得到所述第一SDU。Merging the at least two SDU fragments to obtain the first SDU. 根据权利要求15至18任一项所述的方法,其中,所述至少两个SDU片段中的每个SDU片段对应的第一协议层的包头包括:第一指示信息,所述第一指示信息用于指示下述中的至少一种:The method according to any one of claims 15 to 18, wherein a header of a first protocol layer corresponding to each SDU segment of the at least two SDU segments comprises: first indication information, the first indication information Used to indicate at least one of the following: SDU片段在所述第一SDU中的位置;A position of an SDU fragment in the first SDU; SDU片段的第一个比特对应所述第一SDU中的位置;The first bit of the SDU segment corresponds to the position in the first SDU; 序列SN号。Serial SN number. 根据权利要求19所述的方法,其中,所述至少两个SDU片段中的每个SDU片段对应的SN号相同;The method according to claim 19, wherein each SDU segment in the at least two SDU segments has the same SN number; 或,所述至少两个SDU片段中的每个SDU片段对应的SN号不同。Or, the SN numbers corresponding to each SDU segment in the at least two SDU segments are different. 根据权利要求20所述的方法,其中,当所至少两个SDU片段中的每个SDU片段对应的SN号不同时,The method according to claim 20, wherein when each SDU segment corresponding to the at least two SDU segments has a different SN number, 所述至少两个SDU片段中的每个SDU片段的包头包括:第二指示信息;The header of each SDU segment in the at least two SDU segments includes: second indication information; 所述第二指示信息用于指示所述SDU片段所属的SDU。The second indication information is used to indicate an SDU to which the SDU segment belongs. 根据权利要求15至21任一项所述的方法,其中,所述第一协议层,包括:The method according to any one of claims 15 to 21, wherein the first protocol layer comprises: 分组数据汇聚协议PDCP层;PDCP layer of packet data convergence protocol; 或,业务数据汇聚协议SDAP层;Or, the SDAP layer of the service data convergence protocol; 或,位于所述PDCP层之上、所述SDAP层之下的第三协议层;Or a third protocol layer located above the PDCP layer and below the SDAP layer; 或,位于所述SDAP层之上的第四协议层。Or, a fourth protocol layer located above the SDAP layer. 第一协议层实体,包括:第一处理单元,配置为基于接收到的第一服务数据单元SDU的大小将所述第一SDU切分为至少两个SDU片段,并指示所述SDU片段为所述第一SDU的一个数据片段。The first protocol layer entity includes a first processing unit configured to divide the first SDU into at least two SDU fragments based on the size of the received first service data unit SDU, and instruct the SDU fragments to be A data segment of the first SDU is described. 根据权利要求23所述的第一协议层实体,其中,所述第一处理单元,配置为当所述第一SDU的大小大于第一阈值时,所述第一协议层实体将所述第一SDU切分为至少两个SDU片段;The first protocol layer entity according to claim 23, wherein the first processing unit is configured to, when the size of the first SDU is greater than a first threshold, the first protocol layer entity SDU is divided into at least two SDU fragments; 所述至少两个SDU片段中的每个SDU片段的大小相等,且每个SDU片段的大小均小于或均等于所述第一阈值;The size of each of the at least two SDU fragments is equal, and the size of each SDU fragment is less than or equal to the first threshold; 或者,所述至少两个SDU片段中的一个第一SDU片段的大小小于所述第一阈值,所述至少两个SDU片段中,除所述第一SDU片段以外的SDU片段的大小均等于所述第一阈值。Alternatively, a size of a first SDU fragment of the at least two SDU fragments is smaller than the first threshold, and among the at least two SDU fragments, a size of an SDU fragment other than the first SDU fragment is equal to The first threshold is described. 根据权利要求23或24所述的第一协议层实体,其中,所述至少两个SDU片段中的每个SDU片段包括对应的第一协议层的包头;The first protocol layer entity according to claim 23 or 24, wherein each of the at least two SDU fragments includes a corresponding first protocol layer header; 所述第一协议层的包头包括:第一指示信息,所述第一指示信息用于指示下述中的至少一种:The header of the first protocol layer includes: first indication information, where the first indication information is used to indicate at least one of the following: SDU片段在所述第一SDU中的位置;A position of an SDU fragment in the first SDU; SDU片段的第一个字节对应所述第一SDU中的位置;The first byte of the SDU segment corresponds to the position in the first SDU; 序列SN号。Serial SN number. 根据权利要求25所述的第一协议层实体,其中,所述至少两个SDU片段中的每个SDU片段对应的SN号相同;The first protocol layer entity according to claim 25, wherein each SDU segment in the at least two SDU segments has the same SN number; 或,所述至少两个SDU片段中的每个SDU片段对应的SN号不同。Or, the SN numbers corresponding to each SDU segment in the at least two SDU segments are different. 根据权利要求26所述的第一协议层实体,当所述至少两个SDU片段中的每个SDU片段对应的SN号不同时,The first protocol layer entity according to claim 26, when the SN numbers corresponding to each of the at least two SDU fragments are different, 所述至少两个SDU片段中的每个SDU片段的包头包括:第二指示信息;The header of each SDU segment in the at least two SDU segments includes: second indication information; 所述第二指示信息用于指示所述SDU片段所属的SDU。The second indication information is used to indicate an SDU to which the SDU segment belongs. 根据权利要求23至27任一项所述的第一协议层实体,其中,所述第一协议层实体还包括:The first protocol layer entity according to any one of claims 23 to 27, wherein the first protocol layer entity further comprises: 发送单元,配置为将添加有第一协议层的包头的至少两个SDU片段递交至第二协议层实体;A sending unit configured to deliver at least two SDU fragments to which a header of the first protocol layer is added to a second protocol layer entity; 所述第二协议层为所述第一协议层的下层。The second protocol layer is a lower layer of the first protocol layer. 根据权利要求23至28任一项所述的第一协议层实体,其中,所述第一协议层,包括:The first protocol layer entity according to any one of claims 23 to 28, wherein the first protocol layer comprises: 分组数据汇聚协议PDCP层;PDCP layer of packet data convergence protocol; 或,业务数据汇聚协议SDAP层;Or, the SDAP layer of the service data convergence protocol; 或,位于所述PDCP层之上、所述SDAP层之下的第三协议层;Or a third protocol layer located above the PDCP layer and below the SDAP layer; 或,位于所述SDAP层之上的第四协议层。Or, a fourth protocol layer located above the SDAP layer. 根据权利要求23至29任一项所述的第一协议层实体,其中,所述第一协议层为分组数据汇聚协议PDCP层,当所述至少两个SDU片段中的第二SDU片段为所述第一SDU的第一个数据片段时,所述第一处理单元,配置为对所述第二SDU片段进行头压缩处理;The first protocol layer entity according to any one of claims 23 to 29, wherein the first protocol layer is a packet data convergence protocol PDCP layer, and when the second SDU segment of the at least two SDU segments is When the first data segment of the first SDU is described, the first processing unit is 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. 根据权利要求30所述的第一协议层实体,其中,所述第一处理单元,配置为对所述第二SDU片段的包头进行压缩处理。The first protocol layer entity according to claim 30, wherein the first processing unit is configured to perform compression processing on a header of the second SDU fragment. 根据权利要求23至31任一项所述的第一协议层实体,其中,所述第一协议层为分组数据汇聚协议PDCP层时,所述第一处理单元,还配置为启动丢包计时器,所述丢包计时器用于所述第一协议实体对所述至少两个SDU片段进行丢包处理;The first protocol layer entity according to any one of claims 23 to 31, wherein when the first protocol layer is a packet data convergence protocol PDCP layer, the first processing unit is further configured to start a packet loss timer The packet loss timer is used by the first protocol entity to perform packet loss processing on the at least two SDU fragments; 或者所述第一处理单元,配置为不启动丢包计时器。Alternatively, the first processing unit is configured not to start a packet loss timer. 根据权利要求32所述的第一协议层实体,其中,所述第一处理单元,还配置为接收高层配置的丢包计时器。The first protocol layer entity according to claim 32, wherein the first processing unit is further configured to receive a packet loss timer configured by a higher layer. 根据权利要求32所述的第一协议层实体,其中,所述第一协议层实体还包括:The first protocol layer entity according to claim 32, wherein the first protocol layer entity further comprises: 存储单元,配置为对所述至少两个SDU片段进行缓存。A storage unit configured to cache the at least two SDU fragments. 根据权利要求23至29任一项所述的第一协议层实体,其中,所述第一协议层为业务数据汇聚协议SDAP层、或位于所述PDCP层之上、所述SDAP层之下的第三协议层、或位于所述SDAP层之上的第四协议层时,The first protocol layer entity according to any one of claims 23 to 29, wherein the first protocol layer is a service data convergence protocol (SDAP) layer, or is located above the PDCP layer and below the SDAP layer When the third protocol layer or the fourth protocol layer located above the SDAP layer, 所述第一处理单元,还配置为在第一PDU的包头中携带第三指示信息,所述第三指示信息用于指示分组数据汇聚协议PDCP层判断是否进行对第一PDU进行包头压缩或解压缩;所述第一PDU包含所述第一SDU的一个数据片段;所述第一PDU由所述第一SDU添加所述第一协议层的包头形成。The first processing unit is further configured to carry third instruction information in a header of the first PDU, where the third instruction information is used to instruct a PDCP layer of the packet data convergence protocol to determine whether to perform header compression or decompression of the first PDU. Compression; the first PDU includes a data segment of the first SDU; the first PDU is formed by the first SDU adding a header of the first protocol layer. 根据权利要求23至35任一项所述的第一协议层实体,其中,所述第一SDU为用户面数据;The first protocol layer entity according to any one of claims 23 to 35, wherein the first SDU is user plane data; 或者,所述第一SDU为控制面数据。Alternatively, the first SDU is control plane data. 第一协议层实体,包括:The first protocol layer entity includes: 接收单元,配置为接收至少两个服务数据单元SDU片段,所述至少两个SDU片段为基于第一SDU的大小切分得到的数据片段。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 based on the size of the first SDU. 根据权利要求37所述的第一协议层实体,其中,所述至少两个SDU片段中的每个SDU片段的大小相等,且每个SDU片段的大小均小于或等于所述第一阈值;The first protocol layer entity according to claim 37, wherein each SDU segment of the at least two SDU segments is equal in size, and the size of each SDU segment is less than or equal to the first threshold; 或者,所述至少两个SDU片段中的第一SDU片段的大小小于所述第一阈值,所述至少两个SDU片段中,除所述第一SDU片段以外的SDU片段的大小均等于所述第一阈值。Alternatively, a size of a first SDU fragment in the at least two SDU fragments is smaller than the first threshold, and among the at least two SDU fragments, a size of an SDU fragment other than the first SDU fragment is equal to the size First threshold. 根据权利要求37或38所述的第一协议层实体,其中,所述第一协议层实体还包括:The first protocol layer entity according to claim 37 or 38, wherein the first protocol layer entity further comprises: 第二处理单元,配置为基于所述至少两个SDU片段中的每个SDU片段对应的第一协议层的包头,确定所述至少两个SDU片段中的第二SDU片段为所述第一SDU的第一个数据片段时,所述第一协议层实体对所述第二SDU片段进行包头解压缩处理。A second processing unit configured to determine a second SDU segment in the at least two SDU segments as the first SDU based on a header of a first protocol layer corresponding to each SDU segment in the at least two SDU segments When the first data segment is the first data segment, the first protocol layer entity performs a header decompression process on the second SDU segment. 根据权利要求39所述的第一协议层实体,其中,The first protocol layer entity according to claim 39, wherein: 所述第二处理单元,配置为对所述至少两个SDU片段进行合并处理,得到所述第一SDU。The second processing unit is configured to perform a merge process on the at least two SDU fragments to obtain the first SDU. 根据权利要求37至40任一项所述的第一协议层实体,其中,所述至少两个SDU片段中的每个SDU片段对应的第一协议层的包头包括:第一指示信息,所述第一指示信息用于指示下述中的至少一种:The first protocol layer entity according to any one of claims 37 to 40, wherein a header of a first protocol layer corresponding to each SDU segment of the at least two SDU segments includes: first indication information, the The first instruction information is used to indicate at least one of the following: SDU片段在所述第一SDU中的位置;A position of an SDU fragment in the first SDU; SDU片段的第一个比特对应所述第一SDU中的位置;The first bit of the SDU segment corresponds to the position in the first SDU; 序列SN号。Serial SN number. 根据权利要求41所述的第一协议层实体,其中,所述至少两个SDU片段中的每个SDU片段对应的SN号相同;The first protocol layer entity according to claim 41, wherein each SDU segment corresponding to the at least two SDU segments has the same SN number; 或,所述至少两个SDU片段中的每个SDU片段对应的SN号不同。Or, the SN numbers corresponding to each SDU segment in the at least two SDU segments are different. 根据权利要求42所述的第一协议层实体,其中,当所至少两个SDU片段中的每个SDU片段对应的SN号不同时,The first protocol layer entity according to claim 42, wherein when the SN numbers corresponding to each of the at least two SDU fragments are different, 所述至少两个SDU片段中的每个SDU片段的包头包括:第二指示信息;The header of each SDU segment in the at least two SDU segments includes: second indication information; 所述第二指示信息用于指示所述SDU片段所属的SDU。The second indication information is used to indicate an SDU to which the SDU segment belongs. 根据权利要求37至43任一项所述的第一协议层实体,其中,所述第一协议层,包括:The first protocol layer entity according to any one of claims 37 to 43, wherein the first protocol layer comprises: 分组数据汇聚协议PDCP层;PDCP layer of packet data convergence protocol; 或,业务数据汇聚协议SDAP层;Or, the SDAP layer of the service data convergence protocol; 或,位于所述PDCP层之上、所述SDAP层之下的第三协议层;Or a third protocol layer located above the PDCP layer and below the SDAP layer; 或,位于所述SDAP层之上的第四协议层。Or, a fourth protocol layer located above the SDAP layer. 第一协议层实体,包括处理器和用于存储能够在处理器上运行的计算机程序的存储器,其中,The first protocol layer entity includes a processor and a memory for storing a computer program capable of running on the processor, where: 所述处理器用于运行所述计算机程序时,执行权利要求1至14任一项所述的数据包处理方法的步骤。When the processor is used to run the computer program, execute the steps of the data packet processing method according to any one of claims 1 to 14. 第一协议层实体,包括处理器和用于存储能够在处理器上运行的计算机程序的存储器,其中,The first protocol layer entity includes a processor and a memory for storing a computer program capable of running on the processor, where: 所述处理器用于运行所述计算机程序时,执行权利要求15至22任一项所述的数据包处理方法的步骤。When the processor is used to run the computer program, execute the steps of the data packet processing method according to any one of claims 15 to 22. 一种存储介质,存储有可执行程序,所述可执行程序被处理器执行时,实现权利要求1至14任一项所述的数据包处理方法。A storage medium stores an executable program, and when the executable program is executed by a processor, the data packet processing method according to any one of claims 1 to 14 is implemented. 一种存储介质,存储有可执行程序,所述可执行程序被处理器执行时,实现权利要求15至22任一项所述的数据包处理方法。A storage medium stores an executable program, and when the executable program is executed by a processor, the data packet processing method according to any one of claims 15 to 22 is implemented.
PCT/CN2018/108567 2018-09-29 2018-09-29 Method for processing data packet, entity and storage medium Ceased WO2020062126A1 (en)

Priority Applications (3)

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
CN201880091259.8A CN111886893B (en) 2018-09-29 2018-09-29 Data packet processing method, entity and storage medium
TW108135343A TW202027478A (en) 2018-09-29 2019-09-27 Method for processing data packet, entity and storage medium

Applications Claiming Priority (1)

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

Publications (1)

Publication Number Publication Date
WO2020062126A1 true WO2020062126A1 (en) 2020-04-02

Family

ID=69952689

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/108567 Ceased WO2020062126A1 (en) 2018-09-29 2018-09-29 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)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112822276A (en) * 2021-01-09 2021-05-18 中国电力科学研究院有限公司 Substation control layer communication method and system for transformer substation, electronic equipment and storage medium
WO2022203281A1 (en) * 2021-03-24 2022-09-29 삼성전자 주식회사 Data segmentation method for accelerating data processing, and method and device for reporting reception state in next generation mobile communication system
WO2023240495A1 (en) * 2022-06-15 2023-12-21 Oppo广东移动通信有限公司 Data transmission method and apparatus, and communication device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115694719A (en) * 2021-07-28 2023-02-03 华为技术有限公司 A data forwarding method and device for switching scenes

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (2)

* 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
WO2019019025A1 (en) * 2017-07-25 2019-01-31 北京小米移动软件有限公司 Method, device and system for discarding data packet

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
CATT: "NR RLC AM operation and status reporting", 3GPP TSG-RAN WG2 #99BIS, R2-1710306, 13 October 2017 (2017-10-13), XP051342354 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112822276A (en) * 2021-01-09 2021-05-18 中国电力科学研究院有限公司 Substation control layer communication method and system for transformer substation, electronic equipment and storage medium
CN112822276B (en) * 2021-01-09 2023-05-02 中国电力科学研究院有限公司 Substation control layer communication method and system, electronic equipment and storage medium
WO2022203281A1 (en) * 2021-03-24 2022-09-29 삼성전자 주식회사 Data segmentation method for accelerating data processing, and method and device for reporting reception state in next generation mobile communication system
WO2023240495A1 (en) * 2022-06-15 2023-12-21 Oppo广东移动通信有限公司 Data transmission method and apparatus, and communication device

Also Published As

Publication number Publication date
CN111886893A (en) 2020-11-03
TW202027478A (en) 2020-07-16
CN111886893B (en) 2022-10-04

Similar Documents

Publication Publication Date Title
WO2020186529A1 (en) Policy determining method and apparatus, and terminal
WO2020062126A1 (en) Method for processing data packet, entity and storage medium
CN112586065B (en) Data transmission method, terminal equipment and storage medium
WO2020024249A1 (en) Data transmission method, terminal device, network device and storage medium
WO2020223910A1 (en) Method enabling terminal apparatus to report capability thereof, apparatus, and storage medium
WO2020056880A1 (en) Connection release method, data processing method, device, and storage medium
WO2020087421A1 (en) Protocol data unit session status indication method, terminal device, and storage medium
CN111741479A (en) A method and device for determining a strategy, and a terminal
WO2020061851A1 (en) Wireless communication method and base station
US11706791B2 (en) Data processing method and device, and storage medium
WO2021120205A1 (en) Wireless communication method, terminal device, and network device
WO2020061936A1 (en) Information processing method, device and storage medium
WO2018209675A1 (en) Method and device for transmitting data
WO2021237728A1 (en) Data transmission method and device, and storage medium
WO2020082344A1 (en) Method and device for distinguishing between data formats, and communication apparatus
CN112703815B (en) A data packet reordering method, electronic equipment and storage medium
WO2020077645A1 (en) Parameter configuration method, terminal device, and storage medium
US20210204174A1 (en) Signaling processing method, device, and storage medium
CN113078990B (en) Data processing method, terminal equipment and storage medium
WO2020043010A1 (en) Ui display method, terminal apparatus and device
WO2020029292A1 (en) Information indication method, device and terminal
WO2020082327A1 (en) Method and apparatus for signaling interaction during switching process, and network device
WO2020056695A1 (en) Physical downlink control channel detection method and device and storage medium
CN109644351B (en) Data processing method and device
CN113260073B (en) Method for indicating stop of transmission, terminal equipment and network equipment

Legal Events

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

Ref document number: 18935073

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18935073

Country of ref document: EP

Kind code of ref document: A1