WO2023217013A1 - 数据包级联的处理方法、装置、终端及可读存储介质 - Google Patents

数据包级联的处理方法、装置、终端及可读存储介质 Download PDF

Info

Publication number
WO2023217013A1
WO2023217013A1 PCT/CN2023/092430 CN2023092430W WO2023217013A1 WO 2023217013 A1 WO2023217013 A1 WO 2023217013A1 CN 2023092430 W CN2023092430 W CN 2023092430W WO 2023217013 A1 WO2023217013 A1 WO 2023217013A1
Authority
WO
WIPO (PCT)
Prior art keywords
cascade
data packet
counter
target
terminal
Prior art date
Application number
PCT/CN2023/092430
Other languages
English (en)
French (fr)
Inventor
张艳霞
杨晓东
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2023217013A1 publication Critical patent/WO2023217013A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • H04W28/065Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information using assembly or disassembly of packets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information

Definitions

  • the present application belongs to the field of communication technology, and specifically relates to a data packet cascade processing method, device, terminal and readable storage medium.
  • the New Radio (NR) protocol layer processes each data packet received from the upper layer separately, and each data packet is processed separately. Data packets need to be individually associated with separate encapsulation headers, resulting in greater processing load and header overhead on the terminal.
  • NR New Radio
  • PDCP Packet Data Convergence Protocol
  • Embodiments of the present application provide a data packet cascading processing method, device, terminal and readable storage medium, which can solve the problem in related technologies that the terminal needs to independently associate a separate encapsulation header with each individually processed data packet, resulting in terminal processing load Big question.
  • the first aspect provides a data packet cascade processing method, including:
  • the terminal obtains cascade configuration information
  • the terminal performs a cascade operation on the data packet of the target service based on the cascade configuration information
  • the cascade operation performed on the data packets of the target service includes:
  • a data packet cascade processing device including:
  • the cascade module is used to perform cascade operations on the data packets of the target service based on the cascade configuration information. do;
  • the cascade module is used for:
  • a terminal in a third aspect, includes a processor and a memory.
  • the memory stores programs or instructions that can be run on the processor.
  • the program or instructions are executed by the processor, the following implementations are implemented: In one aspect, the steps of the data packet cascading processing method are described.
  • a terminal including a processor and a communication interface, wherein the processor is used to obtain cascade configuration information, and perform cascade operations on data packets of target services based on the cascade configuration information; specifically, The method is to concatenate at least two data packets into one concatenated data packet, and the concatenated data packet is associated with an encapsulation header.
  • a communication system including: a terminal and a network side device.
  • the terminal may be configured to perform the steps of the data packet cascading processing method described in the first aspect.
  • a readable storage medium is provided. Programs or instructions are stored on the readable storage medium. When the programs or instructions are executed by a processor, the data packet cascading processing method as described in the first aspect is implemented. A step of.
  • a chip in a seventh aspect, includes a processor and a communication interface.
  • the communication interface is coupled to the processor.
  • the processor is used to run programs or instructions to implement data as described in the first aspect. How to handle package cascading.
  • a computer program/program product is provided, the computer program/program product is stored in a storage medium, and the computer program/program product is executed by at least one processor to implement the method described in the first aspect How to handle packet cascades.
  • the terminal performs a cascading operation on the data packets of the target service based on the cascading configuration information, and thereby cascades at least two data packets into one cascaded data packet, and the cascaded data packet is associated with an encapsulation header .
  • the terminal can cascade multiple data packets received from the upper layer into one data packet and only need to associate one encapsulation header, which effectively reduces the terminal's header overhead for processing target service data packets, thereby reducing terminal processing load.
  • Figure 1 is a block diagram of a wireless communication system applicable to the embodiment of the present application.
  • FIG. 2 is a schematic diagram of an NR user plane (User Plane, UP) protocol architecture suitable for embodiments of this application;
  • NR user plane User Plane, UP
  • Figure 3 is a flow chart of a data packet cascading processing method provided by an embodiment of the present application.
  • Figure 4 is a structural diagram of a data packet cascade processing device provided by an embodiment of the present application.
  • Figure 5 is a structural diagram of a communication device provided by an embodiment of the present application.
  • Figure 6 is a structural diagram of a terminal provided by an embodiment of the present application.
  • first, second, etc. in the description and claims of this application are used to distinguish similar objects and are not used to describe a specific order or sequence. It is to be understood that the terms so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and that "first" and “second” are distinguished objects It is usually one type, and the number of objects is not limited.
  • the first object can be one or multiple.
  • “and/or” in the description and claims indicates at least one of the connected objects, and the character “/" generally indicates that the related objects are in an "or” relationship.
  • LTE Long Term Evolution
  • LTE-Advanced, LTE-A Long Term Evolution
  • CDMA Code Division Multiple Access
  • TDMA Time Division Multiple Access
  • FDMA Frequency Division Multiple Access
  • OFDMA Orthogonal Frequency Division Multiple Access
  • SC-FDMA Single-carrier Frequency Division Multiple Access
  • system and “network” in the embodiments of this application are often used interchangeably, and the described technology can be used not only for the above-mentioned systems and radio technologies, but also for other systems and radio technologies.
  • NR New Radio
  • 6th Generation 6th Generation
  • FIG. 1 shows a block diagram of a wireless communication system to which embodiments of the present application are applicable.
  • the wireless communication system includes a terminal 11 and a network side device 12.
  • the terminal 11 can be a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer), or a notebook computer, a personal digital assistant (Personal Digital Assistant, PDA), a handheld computer, a netbook, or a super mobile personal computer.
  • Tablet Personal Computer Tablet Personal Computer
  • laptop computer laptop computer
  • PDA Personal Digital Assistant
  • PDA Personal Digital Assistant
  • UMPC ultra-mobile personal computer
  • UMPC mobile Internet device
  • MID mobile Internet device
  • augmented reality augmented reality, AR
  • VR virtual reality
  • robots wearable devices
  • Vehicle user equipment VUE
  • pedestrian terminal pedestrian terminal
  • PUE pedestrian terminal
  • smart home home equipment with wireless communication functions, such as refrigerators, TVs, washing machines or furniture, etc.
  • game consoles personal computers (personal computer, PC), teller machine or self-service machine and other terminal-side devices.
  • Wearable devices include: smart watches, smart bracelets, smart headphones, smart glasses, smart jewelry (smart bracelets, smart bracelets, smart rings, smart necklaces, smart anklets) bracelets, smart anklets, etc.), smart wristbands, smart clothing, etc.
  • the network side equipment 12 may include access network equipment or core network equipment, where the access network equipment may also be called wireless access network equipment, radio access network (Radio Access Network, RAN), radio access network function or wireless access network unit.
  • Access network equipment can include base stations, Wireless Local Area Network (WLAN) access points or Wireless Fidelity (WiFi) nodes, etc.
  • the base station can be called Node B, Evolved Node B (Evolved Node B).
  • the base station is not limited to specific technical terms. It needs to be explained that , in the embodiment of this application, only the base station in the NR system is taken as an example for introduction, and the specific type of the base station is not limited.
  • PDCP Packet Data Convergence Protocol
  • FIG. 2 is a schematic diagram of an NR User Plane (UP) protocol architecture suitable for embodiments of this application.
  • the NR UP protocol architecture consists of Service Data Adaptation Protocol (SDAP), PDCP, It consists of Radio Link Control (RLC), Media Access Control (MAC) and Physical Layer (Physical, PHY).
  • SDAP Service Data Adaptation Protocol
  • PDCP Packet Control Protocol
  • RLC Radio Link Control
  • MAC Media Access Control
  • Physical Layer Physical Layer
  • the data packets received by PDCP from the upper-layer SDAP are PDCP Service Data Units (SDUs), and the data packets processed by the PDCP layer and associated with the PDCP layer encapsulation header are PDCP Protocol Data Units (PDUs).
  • SDUs PDCP Service Data Units
  • PDUs PDCP Protocol Data Units
  • the PDCP layer needs to process each received PDCP SDU (such as security processing, associated PDCP header, etc.) to generate PDCP PDU
  • Figure 3 is a flow chart of a data packet cascade processing method provided by an embodiment of the present application. As shown in Figure 3, the method includes the following steps:
  • Step 301 The terminal obtains cascading configuration information.
  • the cascade configuration information may be sent by the network side (such as the base station) to the terminal to instruct the cascade operation to be performed on the data packets of the target service.
  • Step 302 The terminal performs a cascade operation on the data packet of the target service based on the cascade configuration information.
  • the cascade operation performed on the data packets of the target service includes:
  • the terminal can cascade three data packets of the target service into one cascade data packet based on the cascade configuration information, and the cascade data packet is associated with an encapsulation header; or the terminal can also cascade the data packet based on the cascade configuration information.
  • the information cascades four data packets of the target service into a cascaded data packet, and the cascaded data packet is associated with an encapsulation packet header.
  • the network side may indicate the number information of the sub-data packets of the concatenated data packet through the concatenated configuration information, that is, instruct the terminal to concatenate how many data packets into one concatenated data packet.
  • the terminal performs a cascading operation on the data packets of the target service based on the cascading configuration information, thereby cascading at least two data packets into one cascaded data packet, and the cascaded data packet is associated with an encapsulation header.
  • the terminal can cascade multiple data packets received from the upper layer into one data packet and only need to associate one encapsulation header, which effectively reduces the terminal's header overhead for processing target service data packets, thereby reducing terminal processing load.
  • the target service is identified by at least one of the following information:
  • the session identification information may be, for example, a PDU session (Identification, ID); the bearer identification information may be, for example, a Radio Bearer (RB) ID.
  • ID PDU session
  • RB Radio Bearer
  • protocol layer for the terminal to perform cascading operations includes any of the following:
  • the cascade configuration information includes at least one of the following:
  • the information on the number of concatenated data packets is used to indicate the number of data packets that the terminal can perform a concatenating operation.
  • the network side configures the number of data packets that PDCP can cascade to be 3, that is, the cascading configuration information indicates that the number of data packets that the terminal can perform the cascading operation is 3, then the PDCP layer of the terminal can
  • the three data packets of the target service received from the upper layer are cascaded into one cascaded data packet. For example, three data packets of PDCP SDU#1, PDCP SDU#2, and PDCP SDU#3 are cascaded into one PDCP SDU.
  • the size information of the concatenated data packet is used to indicate the packet size of the concatenated data packet in which the terminal performs the concatenating operation.
  • the network side configures the PDCP cascadeable data packet size to be 300 bytes, that is, the cascade configuration information instructs the terminal to perform the cascade operation to form a cascade data packet with a packet size of 300 bytes, then the terminal
  • the PDCP layer can concatenate at least two data packets received from the upper layer into one concatenated data packet.
  • the packet size of the concatenated data packet is equal to or less than 300 bytes.
  • the terminal will Three data packets, PDCP SDU#1, PDCP SDU#2, and PDCP SDU#3 (assuming each data packet is 100 bytes), are concatenated into one PDCP SDU.
  • the time information of the concatenated data packet is used to instruct the terminal to perform a concatenating operation on the received data packet within the time period represented by the time information.
  • the network side configures the time information of the concatenated data packet as a concatenated timer, and the PDCP layer of the terminal performs a concatenating operation on the data packets received during the running of the timer to concatenate into one concatenated data Bag.
  • the cascade configuration information may include at least one of the quantity information of the cascade data packets, the size information of the cascade data packets, and the time information of the cascade data packets.
  • the terminal may configure the cascading data packets within the time period represented by the time information of the cascading data packets. The number of data packets indicated by the information on the number of concatenated data packets is used to perform the concatenating operation.
  • the cascade configuration information may also include quantity information of cascade data packets and size information of the cascade data packets, then the terminal may be based on the packet size indicated by the size information of the cascade data packets, and The number of data packets indicated by the quantity information of the cascaded data packets performs the cascading operation.
  • the packet size indicated by the size information of the cascaded data packets is 300 bytes.
  • the number of cascadable data packets indicated by the quantity information is 3.
  • the terminal concatenates three data packets of PDCP SDU#1, PDCP SDU#2, and PDCP SDU#3 (assuming each data packet is 100 bytes) into A PDCP SDU.
  • the information content included in the cascade configuration information can also be other possible situations, and this embodiment does not list them one by one.
  • the terminal performs a cascade operation on the data packet of the target service based on the cascade configuration information, including at least one of the following:
  • the terminal performs the cascade operation on the data packets of the target service that reach the target number based on the quantity information of the cascade data packets.
  • the target quantity is the quantity indicated by the quantity information of the concatenated data packets;
  • the terminal performs cascading on the data packet of the target service that is smaller than or equal to the target cascade packet size based on the size information of the cascade data packet.
  • the target cascade packet size is the size of the cascade data packet indicated by the size information of the cascade data packet;
  • the terminal base Based on the time information of the cascade data packet, perform a cascade operation on the received data packet of the target service within a target time period, where the target time period is a time period indicated by the time information of the cascade data packet.
  • the terminal may be based on the The target number indicated by the quantity information of the cascaded data packets is specified, and the cascading operation is performed on the data packets that reach the target number.
  • the terminal PDCP layer may cascade every five data packets of the target service received into one cascaded data packet.
  • the terminal can perform a concatenation operation on data packets less than or equal to 300 bytes based on the target concatenation packet size indicated by the size information of the concatenation data packet; for example, if the terminal PDCP layer receives 3 The sum of the packet sizes of each data packet is 300 bytes, then the terminal concatenates these 3 data packets into one cascaded data packet; or, if the terminal PDCP layer receives 4 data packets from the upper layer, the sum of the packet sizes is 350 bytes section, where the sum of the packet sizes of the first three data packets is 280 bytes, the terminal concatenates the first three data packets into one concatenated data packet.
  • the terminal receives within the target time period indicated by the time information of the concatenation data packet.
  • the data packets of the target service perform cascading operations.
  • the terminal PDCP may concatenate every three data packets received from the upper layer into one concatenated data packet within the target time period indicated by the time information of the concatenated data packet.
  • the information content of the cascading configuration information may also be other possible situations, and the terminal may perform corresponding cascading operations based on the information content of the cascading configuration information.
  • This embodiment of the application will not do all of them one by one. enumerate.
  • the terminal performs a cascading operation on the data packets of the target service that reach the target number, including:
  • the terminal performs a cascade operation based on the first counter
  • the first counter is used to count the number of data packets of the target service received from the upper layer.
  • the first counter may be a counter configured on the network side, the initial value of the first counter is 0, and the maximum value of the first counter may be represented by the quantity information of the concatenated data packets.
  • the value of the target number When the count value of the first counter reaches the maximum value, the terminal performs a cascade operation on the received data packets of the target service. In this way, the terminal can perform the cascade operation on the target number of data packets through the first counter, so as to better realize the cascade processing of the data packets.
  • the terminal performs a cascade operation based on the first counter, including:
  • the terminal When receiving a data packet of the target service from the upper layer, the terminal updates the count value of the first counter;
  • the terminal When the first counter reaches a first target value, the terminal performs a cascading operation on the received data packets of the target service, wherein the first target value is the value of the target number.
  • the target number represented by the number information of cascade data packets included in the cascade configuration information is 3, that is, the first target value is 3; the PDCP SDU#1 received by the terminal PDCP from the upper layer, the first A counter is incremented by 1. The current value is 1. When PDCP SDU#2 is received from the upper layer, the first counter is incremented by 1. The current value is 2. When PDCP SDU#3 is received from the upper layer, the first counter is incremented by 1. The counter is incremented by 1, and the current value is 3. At this time, PDCP concatenates the three received data packets PDCP SDU#1, PDCP SDU#2, and PDCP SDU#3 into one PDCP SDU.
  • the terminal can use the first counter to perform a cascade operation on the received data packets of the target service, so as to cascade multiple data packets into one cascade data packet.
  • the cascade data packet only needs Associating an encapsulation header effectively saves the terminal's header overhead for data packet processing.
  • the method also includes any of the following:
  • the terminal When the terminal receives the data packet of the target service from the upper layer, if the first counter has reached the first target value, the terminal resets and updates the first counter;
  • the terminal When the first counter reaches the first target value, the terminal resets the first counter
  • the terminal After the first counter reaches the first target value, the terminal receives In case of receiving the first data packet of the target service, the terminal enables a new first counter and updates the new first counter.
  • a first counter may be shared by multiple concatenated data packets. It can be understood that in one case, the count value of the first counter is configured based on the granularity of the radio bearer, and the same first counter is used for multiple concatenated data packets corresponding to the radio bearer.
  • the maximum count value of the first counter is configured based on the granularity of the radio bearer, and different first counters are used for multiple concatenated data packets corresponding to the radio bearer, but the above-mentioned different first counters The count values can be the same.
  • one first counter is associated with N concatenated data packets, or N first counters are associated with N concatenated data packets one by one, where N is an integer greater than 1.
  • a first counter is associated with each cascaded data packet (it can be understood that a first counter is shared by multiple cascaded data packets)
  • the count value of the first counter is increased by 1, and when the count value of the first counter reaches the first target value, the terminal cascades the received data packets into one cascade data packet.
  • the terminal performs a reset operation on the first counter and resets it to an initial value (such as 0).
  • the terminal performs an update operation based on the initial value.
  • the network side configures the number of data packets that the terminal PDCP can cascade to be 3, then the PDCP performs a reset operation (reset to initial value). Equivalently, at the 3n+1 (n is a positive integer) data packet, the current value of the first counter is always the initial value, so the terminal arrives at the 3n+1 (n is a positive integer) data packet. Update operations are always performed based on the initial value.
  • a first counter is associated with each concatenated data packet (it can be understood that a first counter is shared by multiple concatenated data packets)
  • the terminal cascades the received data packets into a cascaded data packet, and performs a reset operation on the first counter to the initial value.
  • the first counter belonging to the next cascaded data packet is When packets arrive, the first counter starts counting again based on the initial value.
  • the network side configures the number of data packets that the terminal PDCP can cascade to be 3, then the PDCP performs a reset operation on the current first counter when receiving the 3n+1 (n is a positive integer) data packet from the upper layer ( reset to initial value) and perform updates based on the initial value. Equivalently, at the 3n+1 (n is a positive integer) data packet, the count value of the first counter has reached the first target value, so the terminal needs to reset the counter to the initial value first, and then reset the counter to the initial value based on the initial value. The value is updated.
  • a first counter is associated with a concatenated data packet (it can be understood that a first counter is not shared by multiple concatenated data packets)
  • the terminal activates a new first counter and updates the new first counter.
  • the new first counter That is, the packets of the next cascaded packet are counted.
  • the network side configures the number of data packets that the terminal PDCP can cascade to be 3.
  • the terminal uses the first counter to perform a cascading operation on the data packets of the target service, so that the first counter can be used to better process the data packets.
  • the terminal performs a cascading operation on the data packets of the target service that reach the target cascade packet size based on the size information of the cascaded data packet, including:
  • the terminal performs the cascade operation based on the second counter
  • the second counter is used to count the total number of bytes of data packets of the target service received from the upper layer.
  • the second counter may be a counter configured on the network side, the initial value of the second counter may be 0, and the maximum value of the second counter may be characterized by the size information of the concatenated data packet.
  • the total number of bytes of the size of the concatenated data packet such as M bytes.
  • the terminal performs a concatenating operation on the received data packet of the target service. In this way, the terminal can perform the cascade operation on the data packets through the second counter, so as to better implement the cascade processing on the data packets.
  • the terminal performs a cascade operation based on the second counter, including;
  • the terminal When receiving a data packet of the target service from the upper layer, the terminal updates the count value of the second counter;
  • the terminal When the count value of the second counter is less than or equal to a second target value, the terminal performs a cascading operation on the received data packet of the target service, wherein the second target value is the target level.
  • the number of bytes of the concatenated packet size is the number of bytes of the concatenated packet size.
  • the terminal PDCP receives PDCP SDU#1 from the upper layer, the second counter performs an update operation, and the update step size is equal to the data packet size M1 of PDCP SDU#1, then the current value of the second counter is M1 ;
  • the second counter performs an update operation again, and the update step size is equal to the data packet size M2 of PDCP SDU#2, then the current value of the second counter is M1+M2;
  • the terminal can use the second counter to perform a cascading operation on the received data packets of the target service, so as to cascade multiple data packets into one cascaded data packet.
  • the cascaded data packet only needs Associating an encapsulation header effectively saves the terminal's header overhead for data packet processing.
  • the terminal performs a cascading operation on the data packets of the target service that reach the target cascade packet size based on the size information of the cascaded data packet, including:
  • the terminal maximizes the number M of data packets and performs a cascading operation on the M data packets, wherein the total number of bytes of the M data packets is smaller than the number of bytes of the target concatenated packet size.
  • the target concatenation packet size configured on the network side is 300 bytes
  • the PDCP SDU#1 received by the terminal PDCP from the upper layer is 100 bytes
  • the PDCP SDU#2 is 80 bytes
  • the PDCP SDU#3 is 100 bytes
  • PDCP SDU#4 is 30 bytes
  • the maximum number of data packets for the terminal is 3, that is, the three data packets of PDCP SDU#1, PDCP SDU#2, and PDCP SDU#3 Concatenate into one PDCP SDU, instead of just two data packets, PDCP SDU#1 and PDCP SDU#2.
  • the terminal can cascade as many data packets as possible into one cascading data packet without exceeding the target cascading packet size configured on the network side, which is more conducive to Save terminal overhead.
  • the method also includes any one of the following:
  • the terminal When the terminal receives a data packet of the target service from the upper layer, if the second counter is less than or equal to the second target value, the terminal resets and updates the second counter;
  • the terminal When the second counter is less than or equal to the second target value, the terminal resets the second counter
  • the terminal After the second counter is less than or equal to the second target value, when the terminal receives the first data packet of the target service from the upper layer, the terminal enables a new second counter and updates the New second counter.
  • a second counter may be associated with multiple concatenated data packets (it can be understood that the second counter is shared by multiple concatenated data packets). It can be understood that in one case, the second counter The count value is configured based on the granularity of the radio bearer, and the same second counter is used for multiple concatenated data packets corresponding to the radio bearer. Alternatively, a second counter may be associated with a concatenated data packet (it can be understood that the second counter is not shared by multiple concatenated data packets).
  • the count value of the second counter is configured based on the granularity of the radio bearer, and different second counters are used for multiple concatenated data packets corresponding to the radio bearer, but the above-mentioned different second counters
  • the maximum count value can be the same.
  • one second counter is associated with M concatenated data packets, or M second counters are associated with M concatenated data packets one by one, and M is an integer greater than 1.
  • each time the terminal receives a data packet of the target service from the upper layer the second counter adds the number of bytes of the data packet to the current count value.
  • the terminal will receive the data packet Concatenate into a cascade data packet, and perform a reset operation on the second counter to an initial value (such as 0).
  • the terminal performs an update operation based on the initial value.
  • the second target value configured on the network side is 300 bytes
  • PDCP SDU#1 received from the upper layer is 100 bytes
  • PDCP SDU#2 is 100 bytes
  • PDCP SDU#3 is 100 bytes.
  • the count value of the second counter will be updated to 300, which is equal to the second target value of 300.
  • the terminal concatenates the three data packets PDCP SDU#1, PDCP SDU#2, and PDCP SDU#3 into one PDCP SDU. Additionally, the terminal performs a reset operation on the second counter, that is, it is reset to the initial value 0.
  • the count value of the second counter is updated from the initial value 0 to 30.
  • a second counter is associated with each concatenated packet (which can be understood as, A second counter is shared by multiple cascaded data packets).
  • a reset operation is performed to reset to the initial value, and the second counter starts counting again based on the initial value.
  • the second target value configured on the network side is 300 bytes
  • PDCP SDU#1 received from the upper layer is 100 bytes
  • PDCP SDU#2 is 80 bytes
  • PDCP SDU#3 is 100 bytes.
  • the count value of the second counter is 280, which is less than the second target value 300.
  • the terminal will PDCP SDU# 1.
  • the three data packets PDCP SDU#2 and PDCP SDU#3 are cascaded into one PDCP SDU, and the second counter is reset and updated, and the received PDCP SDU#4 is processed based on the updated second counter.
  • a second counter is associated with a concatenated data packet (it can be understood that a second counter is not shared by multiple concatenated data packets)
  • the terminal activates a new second counter and updates the new second counter.
  • the new second counter That is, the packets of the next cascaded packet are counted.
  • the terminal has concatenated three data packets of PDCP SDU#1, PDCP SDU#2, and PDCP SDU#3 into one PDCP SDU. Then the terminal receives PDCP SDU#4 from the upper layer and enables the new second packet. counter and perform an update operation on the second counter.
  • the terminal uses the second counter to perform a cascading operation on the data packets of the target service, so that the second counter can be used to better process the data packets.
  • the terminal performs a cascading operation on the received data packet of the target service within the target time period based on the time information of the cascaded data packet, including:
  • the terminal performs the cascade operation based on the first timer
  • the timing length of the first timer is configured based on the time information of the concatenated data packet, and the timing length of the first timer is the target time period.
  • the first timer may be a timer configured on the network side, and the terminal performs a concatenation operation on the data packets of the target service received within the timing length of the first timer.
  • the terminal performs the concatenation operation based on a first timer, and the first timer is in the concatenated data packet at the It is started when a sub-data packet arrives.
  • the data packets that arrive during the operation of the first timer belong to one cascade data packet.
  • the data packets that arrive after the first timer times out belong to another cascade data packet. packets, and then the terminal can better implement cascade processing of data packets by relying on the timing of the first timer.
  • the terminal performs cascade operations based on the first timer, including:
  • the terminal starts the first timer when receiving the data packet of the target service from the upper layer
  • the terminal When the first timer times out, the terminal performs a cascading operation on the data packets of the target service received within the target time period;
  • the target time period is the time period from when the first timer is started to timeout.
  • the terminal PDCP when the terminal PDCP receives PDCP SDU#1 from the upper layer, it starts the first timer. During the operation of the cascade timer, PDCP receives PDCP SDU#2 and PDCP SDU#3 from the upper layer. Then PDCP concatenates the three data packets PDCP SDU#1, PDCP SDU#2, and PDCP SDU#3 into one PDCP SDU. In this way, the terminal can better implement cascade processing of data packets with the help of the timing of the first timer.
  • the method also includes:
  • the terminal When the first timer is running, if the terminal receives a data packet of the target service from the upper layer, the terminal does not restart the first timer.
  • the terminal after the terminal starts the first timer, during the running time period from the first timer starting to timeout, the terminal performs a cascade operation on the data packets received during the running time period, and the terminal does not restart all the data packets received during the running time period. Describe the first timer to avoid re-timing of the first timer and causing confusion in the cascade operation of the terminal.
  • the method also includes any of the following:
  • the terminal When the first data packet associated with the next cascade data packet arrives, the terminal resets and starts the first timer;
  • the terminal In the event that the first data packet associated with the next concatenated data packet arrives, the terminal starts a new first timer.
  • a first timer may be associated with multiple concatenated data packets (or the first timer may be shared by multiple concatenated data packets). It can be understood that in one case, the timer value of the first timer is configured based on the granularity of the radio bearer. For this radio bearer, the timer value corresponds to Multiple concatenated packets all use the same first timer. Or it can be that a first timer is associated with a concatenated data packet (or the first timer is not shared by multiple concatenated data packets).
  • the timer value of the first timer is configured based on the granularity of the wireless bearer, and different first timers are used for multiple concatenated data packets corresponding to the wireless bearer, but the above-mentioned different first timers
  • the timer values of a timer can be the same.
  • a first timer is associated with L concatenated data packets, or L first timers are associated with L concatenated data packets one by one, and L is an integer greater than 1.
  • the terminal resets and starts the first timer to time the next cascade data packet. For example, during the running time period from the start of the first timer to the timeout, the terminal PDCP concatenates the three received data packets PDCP SDU#1, PDCP SDU#2, and PDCP SDU#3 into one PDCP SDU.
  • the terminal resets the first timer (for example, resets it to 0) and restarts the operation to restart a new round of timing.
  • the terminal starts a new first timer. For example, during the running time period from the start of the first timer to the timeout, the terminal PDCP concatenates the three received data packets PDCP SDU#1, PDCP SDU#2, and PDCP SDU#3 into one PDCP SDU. Later, when PDCP receives PDCP SDU#4 from the upper layer, the terminal starts a new first timer.
  • the terminal uses the first timer to perform a cascading operation on the data packets of the target service received within the target time period, so that the first timer can be used to better process the data packets.
  • the execution subject may be a data packet cascade processing device.
  • the processing method of the data packet cascade performed by the data packet cascade processing device is used as an example to illustrate the data packet cascade processing device provided by the embodiment of the present application.
  • Figure 4 is a structural diagram of a data packet cascade processing device provided by an embodiment of the present application.
  • the data packet cascade processing device 400 includes:
  • Obtain module 401 used to obtain cascade configuration information
  • the cascade module 402 is configured to perform a cascade operation on the data packets of the target service based on the cascade configuration information
  • the cascading module 402 is used for:
  • the protocol layer at which the cascade module 402 performs the cascade operation includes any of the following:
  • the cascade configuration information includes at least one of the following:
  • the cascading module 402 is also used to perform at least one of the following:
  • the cascading configuration information includes the quantity information of the cascaded data packets
  • a cascading operation is performed on the data packets of the target service that reach the target number, and the target The quantity is the quantity indicated by the quantity information of the concatenated data packets
  • the cascade configuration information includes the size information of the cascade data packet
  • the target cascade packet size is the size of the cascade data packet indicated by the size information of the cascade data packet
  • the cascade configuration information includes the time information of the cascade data packet
  • the target time period is the time period indicated by the time information of the concatenated data packet.
  • the cascading module 402 is also used to:
  • the first counter is used to count the number of data packets of the target service received from the upper layer.
  • the cascading module 402 is also used to:
  • the first counter When the first counter reaches a first target value, a cascading operation is performed on the received data packets of the target service, wherein the first target value is the value of the target number.
  • the device further includes an execution module, configured to execute any of the following:
  • the device receives a data packet of the target service from the upper layer, if the first counter has reached the first target value, reset and update the first counter;
  • the device After the first counter reaches the first target value, when the device receives the first data packet of the target service from the upper layer, a new first counter is enabled and the new first counter is updated. .
  • the cascading module 402 is also used to:
  • the second counter is used to count the total number of bytes of data packets of the target service received from the upper layer.
  • the cascading module 402 is also used to:
  • the second target value is the target concatenation packet size. number of bytes.
  • the cascading module 402 is also used to:
  • the device further includes an execution module, configured to execute any of the following:
  • the device When the device receives a data packet of the target service from the upper layer, if the second counter is less than or equal to the second target value, reset and update the second counter;
  • the first counter is reset. Two counters;
  • the device After the second counter is less than or equal to the second target value, when the device receives the first data packet of the target service from the upper layer, a new second counter is enabled and the new third counter is updated. Two counters.
  • the cascading module 402 is also used to:
  • the timing length of the first timer is configured based on the time information of the concatenated data packet, and the timing length of the first timer is the target time period.
  • the cascading module 402 is also used to:
  • the first timer is started when the data packet of the target service is received from the upper layer
  • the target time period is the time period from when the first timer is started to timeout.
  • the cascading module 402 is also used to:
  • the first timer When the first timer is running, if the device receives a data packet of a target service from an upper layer, the first timer is not restarted.
  • the device further includes an execution module, configured to execute any of the following:
  • the target service is identified by at least one of the following information:
  • the cascade module 402 performs a cascade operation on the data packets of the target service based on the cascade configuration information, and thereby cascades at least two data packets into one cascade data packet.
  • the cascade data packet is associated with a Encapsulation header.
  • the device can cascade multiple data packets received from the upper layer into one data packet and only need to associate one encapsulation header, which effectively reduces the header overhead of the device for processing target service data packets, and further to reduce the processing load of the device.
  • the data packet cascade processing device 400 in the embodiment of the present application may be an electronic device, such as an electronic device with an operating system, or may be a component in the electronic device, such as an integrated circuit or chip.
  • the electronic device may be a terminal or other devices other than the terminal.
  • terminals may include but are not limited to the types of terminals 11 listed above, and other devices may be servers, network attached storage (Network Attached Storage, NAS), etc., which are not specifically limited in the embodiment of this application.
  • NAS Network Attached Storage
  • the data packet cascade processing device 400 provided by the embodiment of the present application can implement each process implemented by the terminal in the method embodiment of Figure 3 and achieve the same technical effect. To avoid duplication, the details will not be described here.
  • this embodiment of the present application also provides a communication device 500, which includes a processor 501 and a memory 502.
  • the memory 502 stores programs or instructions that can be run on the processor 501, for example.
  • the communication device 500 is a terminal
  • the program or instruction is executed by the processor 501
  • each step of the method embodiment in Figure 3 is implemented, and the same technical effect can be achieved. To avoid duplication, the details will not be described here.
  • Embodiments of the present application also provide a terminal, including a processor and a communication interface.
  • the processor is configured to obtain cascade configuration information, and perform a cascade operation on the data packets of the target service based on the cascade configuration information; specifically, it is used to combine at least two Data packets are cascaded into a cascaded data packet, and the cascaded data packet is associated with an encapsulation header.
  • This terminal embodiment corresponds to the above-mentioned terminal-side method embodiment.
  • Each implementation process and implementation manner of the above-mentioned method embodiment can be applied to this terminal embodiment, and can achieve the same technical effect.
  • FIG. 6 is a schematic diagram of the hardware structure of a terminal that implements an embodiment of the present application.
  • the terminal 600 includes but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, etc. At least some parts.
  • the terminal 600 may also include a power supply (such as a battery) that supplies power to various components.
  • the power supply may be logically connected to the processor 610 through a power management system, thereby managing charging, discharging, and power consumption through the power management system. Management and other functions.
  • the terminal structure shown in FIG. 6 does not constitute a limitation on the terminal.
  • the terminal may include more or fewer components than shown in the figure, or some components may be combined or arranged differently, which will not be described again here.
  • the input unit 604 may include a graphics processing unit. (Graphics Processing Unit, GPU) 6041 and microphone 6042, the graphics processor 6041 processes image data of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode.
  • the display unit 606 may include a display panel 6061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 607 includes a touch panel 6071 and at least one of other input devices 6072 . Touch panel 6071, also called touch screen.
  • the touch panel 6071 may include two parts: a touch detection device and a touch controller.
  • Other input devices 6072 may include but are not limited to physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described again here.
  • the radio frequency unit 601 after receiving downlink data from the network side device, can transmit it to the processor 610 for processing; in addition, the radio frequency unit 601 can send uplink data to the network side device.
  • the radio frequency unit 601 includes, but is not limited to, an antenna, an amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc.
  • Memory 609 may be used to store software programs or instructions as well as various data.
  • the memory 609 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, Image playback function, etc.) etc.
  • memory 609 may include volatile memory or non-volatile memory, or memory 609 may include both volatile and non-volatile memory.
  • non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically removable memory. Erase programmable read-only memory (Electrically EPROM, EEPROM) or flash memory.
  • Volatile memory can be random access memory (Random Access Memory, RAM), static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random access memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (Synch link DRAM) , SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DRRAM).
  • RAM Random Access Memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • DRAM synchronous dynamic random access memory
  • SDRAM double data rate synchronous dynamic random access memory
  • Double Data Rate SDRAM Double Data Rate SDRAM
  • DDRSDRAM double data rate synchronous dynamic random access memory
  • Enhanced SDRAM, ESDRAM enhanced synchronous dynamic random access memory
  • Synch link DRAM synchronous link dynamic random access memory
  • SLDRAM direct memory bus
  • the processor 610 may include one or more processing units; optionally, the processor 610 integrates application Processor and modem processor, among which the application processor mainly processes operations involving the operating system, user interface and application programs, etc., and the modem processor mainly processes wireless communication signals, such as a baseband processor. It can be understood that the above modem processor may not be integrated into the processor 610.
  • the processor 610 is used to obtain cascade configuration information, and perform a cascade operation on the data packets of the target service based on the cascade configuration information; specifically, it is used to cascade at least two data packets into one cascade data packet,
  • the concatenated data packet is associated with an encapsulation header.
  • protocol layer at which the processor 610 performs cascading operations includes any of the following:
  • the cascade configuration information includes at least one of the following:
  • processor 610 is also configured to perform at least one of the following:
  • the cascading configuration information includes the quantity information of the cascaded data packets
  • a cascading operation is performed on the data packets of the target service that reach the target number, and the target The quantity is the quantity indicated by the quantity information of the concatenated data packets
  • the cascade configuration information includes the size information of the cascade data packet
  • the target cascade packet size is the size of the cascade data packet indicated by the size information of the cascade data packet
  • the cascade configuration information includes the time information of the cascade data packet
  • the target time period is the time period indicated by the time information of the concatenated data packet.
  • processor 610 is also used to:
  • the first counter is used to count the number of data packets of the target service received from the upper layer.
  • processor 610 is also used to:
  • the first counter When the first counter reaches a first target value, a cascading operation is performed on the received data packets of the target service, wherein the first target value is the value of the target number.
  • processor 610 is also used to perform any of the following:
  • the terminal When the terminal receives a data packet of the target service from the upper layer, if the first counter has reached the first target value, reset and update the first counter;
  • the terminal After the first counter reaches the first target value, when the terminal receives the first data packet of the target service from the upper layer, a new first counter is enabled and the new first counter is updated. .
  • processor 610 is also used to:
  • the second counter is used to count the total number of bytes of data packets of the target service received from the upper layer.
  • processor 610 is also used to:
  • the second target value is the target concatenation packet size. number of bytes.
  • processor 610 is also used to:
  • processor 610 is also used to perform any of the following:
  • the terminal When the terminal receives a data packet of the target service from the upper layer, if the second counter is less than or equal to the second target value, reset and update the second counter;
  • the first counter is reset. Two counters;
  • the terminal After the second counter is less than or equal to the second target value, when the terminal receives the first data packet of the target service from the upper layer, a new second counter is enabled and the new third counter is updated. Two counters.
  • processor 610 is also used to:
  • the timing length of the first timer is configured based on the time information of the concatenated data packet, and the timing length of the first timer is the target time period.
  • processor 610 is also used to:
  • the first timer is started when the data packet of the target service is received from the upper layer
  • the target time period is the time period from when the first timer is started to timeout.
  • processor 610 is also used to:
  • the first timer When the first timer is running, if the terminal receives a data packet of the target service from the upper layer, the first timer will not be restarted.
  • processor 610 is also used to perform any of the following:
  • the target service is identified by at least one of the following information:
  • the terminal performs a cascading operation on the data packets of the target service based on the cascading configuration information, thereby cascading at least two data packets into one cascaded data packet, and the cascaded data packet is associated with an encapsulation header.
  • the terminal can cascade multiple data packets received from the upper layer into one data packet and only need to associate one encapsulation header, which effectively reduces the terminal's header overhead for processing target service data packets, thereby reducing terminal processing load.
  • Embodiments of the present application also provide a readable storage medium.
  • Programs or instructions are stored on the readable storage medium.
  • the program or instructions are executed by a processor, each process of the method embodiment described in Figure 3 is implemented, and can To achieve the same technical effect, to avoid repetition, we will not repeat them here.
  • the processor is the processor in the terminal described in the above embodiment.
  • the readable storage medium includes computer readable storage media, such as computer read-only memory ROM, random access memory RAM, magnetic disk or optical disk, etc.
  • An embodiment of the present application further provides a chip.
  • the chip includes a processor and a communication interface.
  • the communication interface is coupled to the processor.
  • the processor is used to run programs or instructions to implement the method described in Figure 3.
  • Each process in the example can achieve the same technical effect. To avoid repetition, we will not repeat it here.
  • chips mentioned in the embodiments of this application may also be called system-on-chip, system-on-a-chip, system-on-chip or system-on-chip, etc.
  • Embodiments of the present application further provide a computer program/program product.
  • the computer program/program product is stored in a storage medium.
  • the computer program/program product is executed by at least one processor to implement the method described in Figure 3 above.
  • Each process of the embodiment can achieve the same technical effect, so to avoid repetition, it will not be described again here.
  • Embodiments of the present application also provide a communication system, including: a terminal and a network side device.
  • the terminal can be used to perform the steps of the data packet cascade processing method as described above, and can achieve the same technical effect. In order to avoid Repeat, I won’t go into details here.
  • the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes a number of instructions to make a computer
  • the terminal which may be a mobile phone, computer, server, air conditioner, or network device, etc. executes the methods described in various embodiments of this application.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本申请公开了一种数据包级联的处理方法、装置、终端及可读存储介质,属于通信技术领域,本申请实施例的数据包级联的处理方法包括:终端获取级联配置信息;所述终端基于所述级联配置信息对目标业务的数据包执行级联操作;其中,所述对目标业务的数据包执行级联操作,包括:将至少两个数据包级联成一个级联数据包,所述级联数据包关联一个封装包头。

Description

数据包级联的处理方法、装置、终端及可读存储介质
相关申请的交叉引用
本申请主张在2022年05月09日在中国提交的中国专利申请No.202210503562.2的优先权,其全部内容通过引用包含于此。
技术领域
本申请属于通信技术领域,具体涉及一种数据包级联的处理方法、装置、终端及可读存储介质。
背景技术
目前,新空口(New Radio,NR)协议层(如分组数据汇聚协议(Packet Data Convergence Protocol,PDCP)层)对每一个从上层接收到的数据包是单独进行处理的,而每个单独处理的数据包需要单独关联单独的封装包头,导致对终端造成了较大的处理负荷以及头开销。
发明内容
本申请实施例提供一种数据包级联的处理方法、装置、终端及可读存储介质,能够解决相关技术中终端对每个单独处理的数据包需要单独关联单独的封装包头,导致终端处理负荷大的问题。
第一方面,提供了一种数据包级联的处理方法,包括:
终端获取级联配置信息;
所述终端基于所述级联配置信息对目标业务的数据包执行级联操作;
其中,所述对目标业务的数据包执行级联操作,包括:
将至少两个数据包级联成一个级联数据包,所述级联数据包关联一个封装包头。
第二方面,提供了一种数据包级联的处理装置,包括:
获取模块,用于获取级联配置信息;
级联模块,用于基于所述级联配置信息对目标业务的数据包执行级联操 作;
其中,所述级联模块用于:
将至少两个数据包级联成一个级联数据包,所述级联数据包关联一个封装包头。
第三方面,提供了一种终端,该终端包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的数据包级联的处理方法的步骤。
第四方面,提供了一种终端,包括处理器及通信接口,其中,所述处理器用于获取级联配置信息,基于所述级联配置信息对目标业务的数据包执行级联操作;具体用于将至少两个数据包级联成一个级联数据包,所述级联数据包关联一个封装包头。
第五方面,提供了一种通信系统,包括:终端及网络侧设备,所述终端可用于执行如第一方面所述的数据包级联的处理方法的步骤。
第六方面,提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的数据包级联的处理方法的步骤。
第七方面,提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的数据包级联的处理方法。
第八方面,提供了一种计算机程序/程序产品,所述计算机程序/程序产品被存储在存储介质中,所述计算机程序/程序产品被至少一个处理器执行以实现如第一方面所述的数据包级联的处理方法。
在本申请实施例中,终端基于级联配置信息对目标业务的数据包执行级联操作,进而以将至少两个数据包级联成一个级联数据包,该级联数据包关联一个封装包头。这样,也就使得终端能够对多个从上层接收到的数据包级联成一个数据包且只需要关联一个封装包头,有效降低了终端对于目标业务数据包处理的头开销,进而以降低终端处理负荷。
附图说明
图1是本申请实施例可应用的一种无线通信系统的框图;
图2是适用于本申请实施例的一种NR用户面(User Plane,UP)协议架构示意图;
图3是本申请实施例提供的一种数据包级联的处理方法的流程图;
图4是本申请实施例提供的一种数据包级联的处理装置的结构图;
图5是本申请实施例提供的一种通信设备的结构图;
图6是本申请实施例提供的一种终端的结构图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员所获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的术语在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”所区别的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”一般表示前后关联对象是一种“或”的关系。
值得指出的是,本申请实施例所描述的技术不限于长期演进型(Long Term Evolution,LTE)/LTE的演进(LTE-Advanced,LTE-A)系统,还可用于其他无线通信系统,诸如码分多址(Code Division Multiple Access,CDMA)、时分多址(Time Division Multiple Access,TDMA)、频分多址(Frequency Division Multiple Access,FDMA)、正交频分多址(Orthogonal Frequency Division Multiple Access,OFDMA)、单载波频分多址(Single-carrier Frequency Division Multiple Access,SC-FDMA)和其他系统。本申请实施例中的术语“系统”和“网络”常被可互换地使用,所描述的技术既可用于以上提及的系统和无线电技术,也可用于其他系统和无线电技术。以下描述出于示例目的描 述了新空口(New Radio,NR)系统,并且在以下大部分描述中使用NR术语,但是这些技术也可应用于NR系统应用以外的应用,如第6代(6th Generation,6G)通信系统。
图1示出本申请实施例可应用的一种无线通信系统的框图。无线通信系统包括终端11和网络侧设备12。其中,终端11可以是手机、平板电脑(Tablet Personal Computer)、膝上型电脑(Laptop Computer)或称为笔记本电脑、个人数字助理(Personal Digital Assistant,PDA)、掌上电脑、上网本、超级移动个人计算机(ultra-mobile personal computer,UMPC)、移动上网装置(Mobile Internet Device,MID)、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、机器人、可穿戴式设备(Wearable Device)、车载设备(Vehicle User Equipment,VUE)、行人终端(Pedestrian User Equipment,PUE)、智能家居(具有无线通信功能的家居设备,如冰箱、电视、洗衣机或者家具等)、游戏机、个人计算机(personal computer,PC)、柜员机或者自助机等终端侧设备,可穿戴式设备包括:智能手表、智能手环、智能耳机、智能眼镜、智能首饰(智能手镯、智能手链、智能戒指、智能项链、智能脚镯、智能脚链等)、智能腕带、智能服装等。需要说明的是,在本申请实施例并不限定终端11的具体类型。网络侧设备12可以包括接入网设备或核心网设备,其中,接入网设备也可以称为无线接入网设备、无线接入网(Radio Access Network,RAN)、无线接入网功能或无线接入网单元。接入网设备可以包括基站、无线局域网(Wireless Local Area Network,WLAN)接入点或无线保真(Wireless Fidelity,WiFi)节点等,基站可被称为节点B、演进节点B(Evolved Node B,eNB)、接入点、基收发机站(Base Transceiver Station,BTS)、无线电基站、无线电收发机、基本服务集(Basic Service Set,BSS)、扩展服务集(Extended Service Set,ESS)、家用B节点、家用演进型B节点、发送接收点(Transmitting Receiving Point,TRP)或所述领域中其他某个合适的术语,只要达到相同的技术效果,所述基站不限于特定技术词汇,需要说明的是,在本申请实施例中仅以NR系统中的基站为例进行介绍,并不限定基站的具体类型。
为更好地理解本申请实施例提供的技术方案,以下对本申请实施例中可能涉及的相关概念进行解释说明。
分组数据汇聚协议(Packet Data Convergence Protocol,PDCP)功能简介
请参照图2,图2是适用于本申请实施例的一种NR用户面(User Plane,UP)协议架构示意图,NR UP协议架构由服务数据适应协议(Service Data Adaptation Protocol,SDAP)、PDCP、无线链路控制(Radio Link Control,RLC)、媒体接入控制(Medium Access Control,MAC)和物理层(Physical,PHY)组成。PDCP从上层SDAP接收到的数据包为PDCP服务数据单元(Service Data Unit,SDU),经PDCP层处理并关联了PDCP层封装包头的数据包为PDCP协议数据单元(Protocol Data Unit,PDU)。PDCP层需要对每一个接收到的PDCP SDU进行处理(如安全处理,关联PDCP头(header)等),以生成PDCP PDU。NR还引入预处理功能,因此,对于PDCP处理完并生成的PDCP PDU,可以直接递交到RLC。
下面结合附图,通过一些实施例及其应用场景对本申请实施例提供的数据包级联的处理方法进行详细地说明。
请参照图3,图3是本申请实施例提供的一种数据包级联的处理方法的流程图,如图3所示,所述方法包括以下步骤:
步骤301、终端获取级联配置信息。
其中,所述级联配置信息可以是网络侧(如基站)发送给终端,用于指示对目标业务的数据包执行级联操作。
步骤302、所述终端基于所述级联配置信息对目标业务的数据包执行级联操作。
其中,所述对目标业务的数据包执行级联操作,包括:
将至少两个数据包级联成一个级联数据包,所述级联数据包关联一个封装包头。
示例性地,终端可以是基于级联配置信息将目标业务的三个数据包级联成一个级联数据包,该级联数据包关联一个封装包头;或者,终端也就可以是基于级联配置信息将目标业务的四个数据包级联成一个级联数据包,该级联数据包关联一个封装包头等。可选地,网络侧可以是通过级联配置信息来指示级联数据包的子数据包的数量信息,也即指示终端将多少个数据包级联成一个级联数据包。
本申请实施例中,终端基于级联配置信息对目标业务的数据包执行级联操作,进而以将至少两个数据包级联成一个级联数据包,该级联数据包关联一个封装包头。这样,也就使得终端能够对多个从上层接收到的数据包级联成一个数据包且只需要关联一个封装包头,有效降低了终端对于目标业务数据包处理的头开销,进而以降低终端处理负荷。
可选地,所述目标业务通过如下至少一项信息标识:
会话标识信息;
承载标识信息。
示例性地,所述会话标识信息可以是如PDU会话(session)标识(Identification,ID);所述承载标识信息可以是如无线承载(Radio Bearer,RB)ID。
可选地,所述终端执行级联操作的协议层包括以下任意一项:
PDCP层;
SDAP层。
本申请实施例中,所述级联配置信息包括如下至少一项:
级联数据包的数量信息;
级联数据包的大小信息;
级联数据包的时间信息。
其中,所述级联数据包的数量信息用于指示终端可以执行级联操作的数据包的个数。示例性的,网络侧配置PDCP可级联的数据包个数为3,也即所述级联配置信息指示终端可执行级联操作的数据包的个数为3,则终端的PDCP层可将从上层接收到的目标业务的三个数据包级联成一个级联数据包,例如将PDCP SDU#1、PDCP SDU#2、PDCP SDU#3三个数据包级联成一个PDCP SDU。
所述级联数据包的大小信息用于指示终端执行级联操作的级联数据包的包大小。示例性的,网络侧配置PDCP可级联的数据包大小为300字节,也即所述级联配置信息指示终端执行级联操作形成的级联数据包的包大小为300字节,则终端的PDCP层可将从上层接收到的至少两个数据包级联成一个级联数据包,该级联数据包的包大小等于或小于300字节,例如终端将 PDCP SDU#1、PDCP SDU#2、PDCP SDU#3(假设各数据包为100字节)三个数据包级联成一个PDCP SDU。
所述级联数据包的时间信息用于指示终端在所述时间信息表征的时间段内对接收到的数据包执行级联操作。示例性地,网络侧配置级联数据包的时间信息为一个级联定时器,终端的PDCP层将在该定时器运行期间接收到的数据包执行级联操作,以级联成一个级联数据包。
需要说明的是,所述级联配置信息可以是包括上述级联数据包的数量信息、级联数据包的大小信息、级联数据包的时间信息中的至少一项。例如,所述级联配置信息包括级联数据包的数量信息和所述级联数据包的时间信息,则终端可以是在所述级联数据包的时间信息表征的时间段内,对所述级联数据包的数量信息指示的个数的数据包执行级联操作。或者,所述级联配置信息还可以是包括级联数据包的数量信息和所述级联数据包的大小信息,则终端可以是根据所述级联数据包的大小信息指示的包大小,及所述级联数据包的数量信息指示的个数的数据包执行级联操作,示例性地,所述级联数据包的大小信息指示的包大小为300字节,所述级联数据包的数量信息指示的可级联的数据包的个数为3,例如终端将PDCP SDU#1、PDCP SDU#2、PDCP SDU#3(假设各数据包为100字节)三个数据包级联成一个PDCP SDU。当然,所述级联配置信息包括的信息内容还可以是其他的可能情况,本实施例不做一一列举。
可选地,所述终端基于所述级联配置信息对目标业务的数据包执行级联操作,包括如下至少一项:
在所述级联配置信息包括所述级联数据包的数量信息的情况下,终端基于所述级联数据包的数量信息,对达到目标数量的目标业务的数据包执行级联操作,所述目标数量为所述级联数据包的数量信息指示的数量;
在所述级联配置信息包括所述级联数据包的大小信息的情况下,终端基于所述级联数据包的大小信息,对小于或等于目标级联包大小的目标业务的数据包执行级联操作,所述目标级联包大小为所述级联数据包的大小信息指示的级联数据包的大小;
在所述级联配置信息包括所述级联数据包的时间信息的情况下,终端基 于所述级联数据包的时间信息,在目标时间段内对接收到的目标业务的数据包执行级联操作,所述目标时间段为所述级联数据包的时间信息指示的时间段。
例如,在一种实施方式中,若所述级联配置信息包括所述级联数据包的数量信息,假设所述级联数据包的数量信息指示的目标数量为5,则终端可以是基于所述级联数据包的数量信息所指示的目标数量,对达到目标数量的数据包执行级联操作。例如,终端PDCP层可以是每接收到5个目标业务的数据包则级联成一个级联数据包。
或者,在另一种实施方式中,若所述级联配置信息包括所述级联数据包的大小信息,假设所述级联数据包的大小信息指示的目标级联包大小为300字节,则终端可以是基于所述级联数据包的大小信息指示的目标级联包大小,对小于或等于300字节的数据包执行级联操作;示例性地,若终端PDCP层从上层接收到3个数据包的包大小总和为300字节,则终端将这3个数据包级联成一个级联数据包;或者,若终端PDCP层从上层接收到4个数据包的包大小总和为350字节,其中前3个数据包的包大小总和为280字节,则终端将前3个数据包级联成一个级联数据包。
又或者,在另一种实施方式中,若所述级联配置信息包括所述级联数据包的时间信息,则终端对在级联数据包的时间信息所指示的目标时间段内接收到的目标业务的数据包执行级联操作。
又或者,在另一种实施方式中,若所述级联配置信息包括所述级联数据包的时间信息和级联数据包的数量信息,假设所述级联数据包的数量信息指示的目标数量为3,则终端PDCP可以是在所述级联数据包的时间信息指示的目标时间段内,将从上层接收到的每3个数据包级联成一个级联数据包。
可选地,所述级联配置信息的信息内容还可以是其他的可能情况,则终端可以是基于所述级联配置信息的信息内容执行相应的级联操作,本申请实施例不做一一列举。
可选地,所述终端基于所述级联数据包的数量信息,对达到目标数量的目标业务的数据包执行级联操作,包括:
终端基于第一计数器执行级联操作;
其中,所述第一计数器用于计数从上层接收到的目标业务的数据包的个数。
示例性地,所述第一计数器可以是网络侧配置的计数器,所述第一计数器的初始值为0,所述第一计数器的最大值可以为所述级联数据包的数量信息所表征的目标数量的数值,当所述第一计数器的计数值达到最大值,则终端对接收到的目标业务的数据包执行级联操作。这样,也就使得终端能够通过第一计数器来执行对目标数量的数据包的级联操作,以更好地实现对数据包的级联处理。
可选地,所述终端基于第一计数器执行级联操作,包括:
在从上层接收到目标业务的数据包的情况下,所述终端更新所述第一计数器的计数值;
在所述第一计数器达到第一目标数值的情况下,所述终端对接收到的目标业务的数据包执行级联操作,其中,所述第一目标数值为所述目标数量的数值。
例如,所述级联配置信息中包括的级联数据包的数量信息所表征的目标数量为3,也即第一目标数值为3;终端PDCP从上层接收到的PDCP SDU#1,所述第一计数器加1,当前取值为1,从上层接收到PDCP SDU#2时,所述第一计数器再加1,当前取值为2,从上层接收到PDCP SDU#3时,所述第一计数器再加1,当前取值为3。此时,PDCP将接收到的PDCP SDU#1、PDCP SDU#2、PDCP SDU#3这三个数据包级联成一个PDCP SDU。这样,终端也就能够通过所述第一计数器来实现对接收到的目标业务的数据包执行级联操作,以将多个数据包级联成一个级联数据包,该级联数据包只需关联一个封装包头,有效节省了终端对于数据包处理的头开销。
可选地,所述方法还包括如下任意一项:
在所述终端从上层接收到目标业务的数据包的情况下,若所述第一计数器已经达到所述第一目标数值,所述终端复位并更新所述第一计数器;
在所述第一计数器达到所述第一目标数值的情况下,所述终端复位所述第一计数器;
在所述第一计数器达到所述第一目标数值之后,在所述终端从上层接收 到目标业务的第一个数据包的情况下,所述终端启用新的第一计数器并更新所述新的第一计数器。
需要说明地,一个第一计数器可以是多个级联数据包共用的。可以理解的,一种情况下,第一计数器的计数值是基于无线承载的粒度配置的,对于该无线承载对应的多个级联数据包均使用相同的第一计数器。
或者也可以是一个第一计数器关联一个级联数据包。可以理解的,一种情况下,第一计数器的最大计数值是基于无线承载的粒度配置的,对于该无线承载对应的多个级联数据包使用不同的第一计数器,但是上述不同第一计数器的计数值可以是相同的。
例如,本申请实施例中,一个第一计数器与N个级联数据包关联,或者,N个第一计数器与N个级联数据包一一关联,N为大于1的整数。
其中,在一个第一计数器与每个级联数据包关联的情况下(可以理解为,一个第一计数器是多个级联数据包共用的),终端每从上层接收到目标业务的一个数据包,所述第一计数器的计数值加1,当所述第一计数器的计数值达到所述第一目标数值,终端将接收到的数据包级联成一个级联数据包。额外的,终端对所述第一计数器执行复位操作,复位到初始值(如0)。在后续从上层接收到数据包时,,终端基于所述初始值执行更新操作。示例性地,网络侧配置终端PDCP可级联的数据包个数为3,则PDCP在从上层接收到第3n(n为正整数)个数据包后对当前第一计数器执行复位操作(复位到初始值)。相当于,在第3n+1(n为正整数)个数据包时,第一计数器的当前取值始终为初始值,因此终端在第3n+1(n为正整数)个数据包时到达时总是基于初始值执行更新操作。
或者,在一个第一计数器与每个级联数据包关联的情况下(可以理解为,一个第一计数器是多个级联数据包共用的),当所述第一计数器的计数值已经达到所述第一目标数值,终端将接收到的数据包级联成一个级联数据包,并对所述第一计数器执行复位操作,复位到初始值,在归属于下一个级联数据包的第一个数据包达到时,第一计数器基于初始值开始重新计数。示例性地,网络侧配置终端PDCP可级联的数据包个数为3,则PDCP在从上层接收到第3n+1(n为正整数)个数据包时对当前第一计数器执行复位操作(复位到 初始值)并基于初始值执行更新。相当于,在第3n+1(n为正整数)个数据包时,所述第一计数器的计数值已经达到所述第一目标数值,因此终端需要先将计数器复位到初始值,然后基于初始值执行更新操作。
又或者,在一个第一计数器关联一个级联数据包的情况下(可以理解为,一个第一计数器是多个级联数据包不共用的),当所述第一计数器的计数值达到所述第一目标数值后,若终端从上层接收到归属于下一个级联数据包的第一个数据包,终端启用新的第一计数器并更新所述新的第一计数器,该新的第一计数器也即对下一个级联数据包的数据包进行计数。示例性地,网络侧配置终端PDCP可级联的数据包个数为3,当终端从上层接收到PDCP SDU#4时,终端启用新的第一计数器,并对该第一计数器执行更新操作。
本申请实施例中,终端通过第一计数器来对目标业务的数据包执行级联操作,进而能够借助于第一计数器更好地实现对数据包的处理。
可选地,所述终端基于所述级联数据包的大小信息,对达到目标级联包大小的目标业务的数据包执行级联操作,包括:
终端基于第二计数器执行级联操作;
其中,所述第二计数器用于计数从上层接收到的目标业务的数据包的总字节数。
示例性地,所述第二计数器可以是网络侧配置的计数器,所述第二计数器的初始值可以为0,所述第二计数器的最大值可以为所述级联数据包的大小信息所表征的级联数据包大小的总字节数,如M字节,当所述第二计数器的计数值小于或等于M字节,则终端对接收到的目标业务的数据包执行级联操作。这样,也就使得终端能够通过第二计数器来执行对数据包的级联操作,以更好地实现对数据包的级联处理。
可选地,所述终端基于第二计数器执行级联操作,包括;
在从上层接收到目标业务的数据包的情况下,所述终端更新所述第二计数器的计数值;
在所述第二计数器的计数值小于或等于第二目标数值的情况下,所述终端对接收到的目标业务的数据包执行级联操作,其中,所述第二目标数值为所述目标级联包大小的字节数。
示例性地,终端PDCP从上层接收到PDCP SDU#1,所述第二计数器执行更新操作,更新步长等于PDCP SDU#1的数据包大小M1,则所述第二计数器的当前取值为M1;当从上层接收到PDCP SDU#2,所述第二计数器再执行更新操作,更新步长等于PDCP SDU#2的数据包大小M2,则所述第二计数器的当前取值为M1+M2;当从上层接收到PDCP SDU#3,所述第二计数器再执行更新操作,更新步长等于PDCP SDU#3的数据包大小M3,则所述第二计数器的当前取值为M1+M2+M3。若M1+M2+M3=M(M为所述第二目标数值),终端PDCP将PDCP SDU#1、PDCP SDU#2、PDCP SDU#3这三个数据包级联成一个PDCP SDU。
这样,终端也就能够通过所述第二计数器来实现对接收到的目标业务的数据包执行级联操作,以将多个数据包级联成一个级联数据包,该级联数据包只需关联一个封装包头,有效节省了终端对于数据包处理的头开销。
可选地,所述终端基于所述级联数据包的大小信息,对达到目标级联包大小的目标业务的数据包执行级联操作,包括:
所述终端最大化数据包的个数M,并对M个数据包执行级联操作,其中,所述M个数据包的总字节数小于所述目标级联包大小的字节数。
示例性地,假设网络侧配置的目标级联包大小的字节数为300字节,若终端PDCP从上层接收到的PDCP SDU#1为100字节,PDCP SDU#2为80字节,PDCP SDU#3为100字节,PDCP SDU#4为30字节,则终端最大化数据包的个数为3,也即将PDCP SDU#1、PDCP SDU#2、PDCP SDU#3这三个数据包级联成一个PDCP SDU,而不能只将PDCP SDU#1、PDCP SDU#2这两个数据包进行级联。
终端通过最大化数据包的个数,也就能够在不超过网络侧配置的目标级联包大小的情况下,尽可能地将最多的数据包级联成一个级联数据包,更有助于节省终端开销。
本申请实施例中,所述方法还包括如下任意一项:
在所述终端从上层接收到目标业务的数据包的情况下,若所述第二计数器小于或等于所述第二目标数值,所述终端复位并更新所述第二计数器;
在所述第二计数器小于或等于所述第二目标数值的情况下,所述终端复 位所述第二计数器;
在所述第二计数器小于或等于所述第二目标数值之后,在所述终端从上层接收到目标业务的第一个数据包的情况下,所述终端启用新的第二计数器并更新所述新的第二计数器。
需要说明地,一个第二计数器可以是与多个级联数据包关联(可以理解为,第二计数器是多个级联数据包共用的),可以理解的,一种情况下,第二计数器的计数值是基于无线承载的粒度配置的,对于该无线承载对应的多个级联数据包均使用相同的第二计数器。或者也可以是一个第二计数器关联一个级联数据包(可以理解为,第二计数器是多个级联数据包不共用的)。可以理解的,一种情况下,第二计数器的计数值是基于无线承载的粒度配置的,对于该无线承载对应的多个级联数据包使用不同的第二计数器,但是上述不同第二计数器的最大计数值可以是相同的。
例如,一个第二计数器与M个级联数据包关联,或者,M个第二计数器与M个级联数据包一一关联,M为大于1的整数。
例如,在一个第二计数器与每个级联数据包关联的情况下(可以理解为,一个第二计数器是多个级联数据包共用的),终端每从上层接收到目标业务的一个数据包,所述第二计数器在当前计数值的基础上加上所述数据包的字节数,当所述第二计数器的计数值小于或等于所述第二目标数值,终端将接收到的数据包级联成一个级联数据包,并对所述第二计数器执行复位操作,复位到初始值(如0),在后续从上层接收到数据包时,终端基于所述初始值执行更新操作。
示例性地,网络侧配置的第二目标数值为300字节,PDCP在从上层接收到的PDCP SDU#1为100字节,PDCP SDU#2为100字节,PDCP SDU#3为100字节。在接收到PDCP SDU#3时第二计数器的计数值会更新至300,即等于第二目标数值300。则终端将PDCP SDU#1、PDCP SDU#2、PDCP SDU#3这三个数据包级联成一个PDCP SDU。额外的,终端对第二计数器执行复位操作,即复位至初始值0。当接收到PDCP SDU#4为30字节时,将第二计数器的计数值从初始值0更新至30。
或者,在一个第二计数器与每个级联数据包关联的情况下(可以理解为, 一个第二计数器是多个级联数据包共用的),在从上层接收到数据包时,若所述第二计数器的计数值已经达到所述第二目标数值,终端将对所述第二计数器执行复位操作,复位到初始值,第二计数器基于初始值开始重新计数。
示例性地,网络侧配置的第二目标数值为300字节,PDCP在从上层接收到的PDCP SDU#1为100字节,PDCP SDU#2为80字节,PDCP SDU#3为100字节,第二计数器的计数值为280,小于第二目标数值300,当接收到PDCP SDU#4为30字节时,若第二计数器继续计数则会大于第二目标数值,则终端将PDCP SDU#1、PDCP SDU#2、PDCP SDU#3这三个数据包级联成一个PDCP SDU,并对所述第二计数器复位并更新,基于更新后的第二计数器对接收到的PDCP SDU#4进行计数,以执行下一轮的级联数据包的计数。该场景也即第二计数器小于第二目标数值的情况,后续将不再说明。
又或者,在一个第二计数器关联一个级联数据包的情况下(可以理解为,一个第二计数器是多个级联数据包不共用的),当所述第二计数器的计数值达到所述第二目标数值后,若终端从上层接收到归属于下一个级联数据包的第一个数据包,终端启用新的第二计数器并更新所述新的第二计数器,该新的第二计数器也即对下一个级联数据包的数据包进行计数。示例性地,终端已经将PDCP SDU#1、PDCP SDU#2、PDCP SDU#3这三个数据包级联成一个PDCP SDU,则终端对从上层接收到PDCP SDU#4,启用新的第二计数器,并对该第二计数器执行更新操作。
本申请实施例中,终端通过第二计数器来对目标业务的数据包执行级联操作,进而能够借助于第二计数器更好地实现对数据包的处理。
可选地,所述终端基于所述级联数据包的时间信息,在目标时间段内对接收到的目标业务的数据包执行级联操作,包括:
终端基于第一定时器执行级联操作;
其中,所述第一定时器的定时长度是基于所述级联数据包的时间信息配置的,所述第一定时器的定时长度为所述目标时间段。
示例性地,所述第一定时器可以是网络侧配置的定时器,则终端对所述第一定时器的定时长度内接收到的目标业务的数据包执行级联操作。示例性地,终端基于第一定时器执行级联操作,所述第一定时器在级联数据包的第 一个子数据包到达时启动,在该第一定时器的运行期间到达的数据包都归属于一个级联数据包,所述第一定时器超时后到达的数据包则归属于另一个级联数据包,进而终端通过借助于第一定时器的定时来更好地实现对数据包的级联处理。
可选地,所述终端基于第一定时器执行级联操作,包括:
终端在从上层接收到目标业务的数据包的情况下启动第一计时器;
在所述第一计时器超时的情况下,所述终端对目标时间段内接收到的目标业务的数据包执行级联操作;
其中,所述目标时间段为所述第一计时器启动至超时的时间段。
示例性地,终端PDCP在从上层接收到PDCP SDU#1时,启动所述第一定时器,在所述级联定时器运行期间,PDCP从上层接收到PDCP SDU#2和PDCP SDU#3,则PDCP将PDCP SDU#1、PDCP SDU#2、PDCP SDU#3这三个数据包级联成一个PDCP SDU。这样,终端也就能够借助于第一定时器的定时来更好地实现对数据包的级联处理。
可选地,所述方法还包括:
在所述第一定时器运行的情况下,若终端从上层接收到目标业务的数据包,终端不重启所述第一定时器。
也就是说,在终端启动所述第一定时器,在第一定时器启动至超时的运行时间段内,终端对该运行时间段内接收到的数据包执行级联操作,且终端不重启所述第一定时器,以避免第一定时器重新计时而导致终端的级联操作混乱。
可选地,所述方法还包括如下任意一项:
在下一个级联数据包关联的第一个数据包到达的情况下,所述终端重置并启动所述第一定时器;
在下一个级联数据包关联的第一个数据包到达的情况下,所述终端启动新的第一定时器。
需要说明地,一个第一定时器可以是与多个级联数据包关联(或者称第一定时器是多个级联数据包共用的)。可以理解的,一种情况下,一种情况下,第一定时器的定时器值是基于无线承载的粒度配置的,对于该无线承载对应 的多个级联数据包均使用相同的第一定时器。或者也可以是一个第一定时器关联一个级联数据包(或者称第一定时器是多个级联数据包不共用的)。可以理解的,一种情况下,第一定时器的定时器值是基于无线承载的粒度配置的,对于该无线承载对应的多个级联数据包使用不同的第一定时器,但是上述不同第一定时器的定时器值可以是相同的。
例如,一个第一定时器与L个级联数据包关联,或者,L个第一定时器与L个级联数据包一一关联,L为大于1的整数。
例如,在一个第一定时器与每个级联数据包关联的情况下(可以理解为,第一定时器是多个级联数据包共用的),在归属于下一个级联数据包的第一个数据包到达时,终端对所述第一定时器执行重置并启动操作,进而以对下一个级联数据包进行计时。示例性地,在第一定时器启动至超时的运行时间段内,终端PDCP将接收到的PDCP SDU#1、PDCP SDU#2、PDCP SDU#3这三个数据包级联成一个PDCP SDU,当PDCP从上层接收到PDCP SDU#4时,终端对所述第一定时器执行重置(例如重置为0)并重启操作,以重新开始新一轮的计时。
或者,在一个第一定时器与一个级联数据包关联的情况下(可以理解为,第一定时器是多个级联数据包不共用的),在归属于下一个级联数据包的第一个数据包到达时,终端启动新的第一定时器。示例性地,在第一定时器启动至超时的运行时间段内,终端PDCP在将接收到的PDCP SDU#1、PDCP SDU#2、PDCP SDU#3这三个数据包级联成一个PDCP SDU后,当PDCP从上层接收到PDCP SDU#4时,终端启动新的第一定时器。
本申请实施例中,终端通过第一定时器来对目标时间段内接收到的目标业务的数据包执行级联操作,进而能够借助于第一定时器来更好地实现对数据包的处理。
本申请实施例提供的数据包级联的处理方法,执行主体可以为数据包级联的处理装置。本申请实施例中以数据包级联的处理装置执行数据包级联的处理方法为例,说明本申请实施例提供的数据包级联的处理装置。
请参照图4,图4是本申请实施例提供的一种数据包级联的处理装置的结构图,如图4所示,所述数据包级联的处理装置400包括:
获取模块401,用于获取级联配置信息;
级联模块402,用于基于所述级联配置信息对目标业务的数据包执行级联操作;
其中,所述级联模块402用于:
将至少两个数据包级联成一个级联数据包,所述级联数据包关联一个封装包头。
可选地,所述级联模块402执行级联操作的协议层包括以下任意一项:
分组数据汇聚协议PDCP层;
服务数据适应协议SDAP层;
可选地,所述级联配置信息包括如下至少一项:
级联数据包的数量信息;
级联数据包的大小信息;
级联数据包的时间信息。
可选地,所述级联模块402还用于执行如下至少一项:
在所述级联配置信息包括所述级联数据包的数量信息的情况下,基于所述级联数据包的数量信息,对达到目标数量的目标业务的数据包执行级联操作,所述目标数量为所述级联数据包的数量信息指示的数量;
在所述级联配置信息包括所述级联数据包的大小信息的情况下,基于所述级联数据包的大小信息,对小于或等于目标级联包大小的目标业务的数据包执行级联操作,所述目标级联包大小为所述级联数据包的大小信息指示的级联数据包的大小;
在所述级联配置信息包括所述级联数据包的时间信息的情况下,基于所述级联数据包的时间信息,在目标时间段内对接收到的目标业务的数据包执行级联操作,所述目标时间段为所述级联数据包的时间信息指示的时间段。
可选地,所述级联模块402还用于:
基于第一计数器执行级联操作;
其中,所述第一计数器用于计数从上层接收到的目标业务的数据包的个数。
可选地,所述级联模块402还用于:
在从上层接收到目标业务的数据包的情况下,更新所述第一计数器的计数值;
在所述第一计数器达到第一目标数值的情况下,对接收到的目标业务的数据包执行级联操作,其中,所述第一目标数值为所述目标数量的数值。
可选地,所述装置还包括执行模块,用于执行如下任意一项:
在所述装置从上层接收到目标业务的数据包的情况下,若所述第一计数器已经达到所述第一目标数值,复位并更新所述第一计数器;
在所述第一计数器达到所述第一目标数值的情况下,复位所述第一计数器;
在所述第一计数器达到所述第一目标数值之后,在所述装置从上层接收到目标业务的第一个数据包的情况下,启用新的第一计数器并更新所述新的第一计数器。
可选地,所述级联模块402还用于:
基于第二计数器执行级联操作;
其中,所述第二计数器用于计数从上层接收到的目标业务的数据包的总字节数。
可选地,所述级联模块402还用于:
在从上层接收到目标业务的数据包的情况下,更新所述第二计数器的计数值;
在所述第二计数器的计数值小于或等于第二目标数值的情况下,对接收到的目标业务的数据包执行级联操作,其中,所述第二目标数值为所述目标级联包大小的字节数。
可选地,所述级联模块402还用于:
最大化数据包的个数M,并对M个数据包执行级联操作,其中,所述M个数据包的总字节数小于所述目标级联包大小的字节数。
可选地,所述装置还包括执行模块,用于执行如下任意一项:
在所述装置从上层接收到目标业务的数据包的情况下,若所述第二计数器小于或等于所述第二目标数值,复位并更新所述第二计数器;
在所述第二计数器小于或等于所述第二目标数值的情况下,复位所述第 二计数器;
在所述第二计数器小于或等于所述第二目标数值之后,在所述装置从上层接收到目标业务的第一个数据包的情况下,启用新的第二计数器并更新所述新的第二计数器。
可选地,所述级联模块402还用于:
基于第一定时器执行级联操作;
其中,所述第一定时器的定时长度是基于所述级联数据包的时间信息配置的,所述第一定时器的定时长度为所述目标时间段。
可选地,所述级联模块402还用于:
在从上层接收到目标业务的数据包的情况下启动第一计时器;
在所述第一计时器超时的情况下,对目标时间段内接收到的目标业务的数据包执行级联操作;
其中,所述目标时间段为所述第一计时器启动至超时的时间段。
可选地,所述级联模块402还用于:
在所述第一定时器运行的情况下,若所述装置从上层接收到目标业务的数据包,不重启所述第一定时器。
可选地,所述装置还包括执行模块,用于执行如下任意一项:
在下一个级联数据包关联的第一个数据包到达的情况下,重置并启动所述第一定时器;
在下一个级联数据包关联的第一个数据包到达的情况下,启动新的第一定时器。
可选地,所述目标业务通过如下至少一项信息标识:
会话标识信息;
承载标识信息。
本申请实施例中,级联模块402基于级联配置信息对目标业务的数据包执行级联操作,进而以将至少两个数据包级联成一个级联数据包,该级联数据包关联一个封装包头。这样,也就使得所述装置能够对多个从上层接收到的数据包级联成一个数据包且只需要关联一个封装包头,有效降低了所述装置对于目标业务数据包处理的头开销,进而以降低所述装置的处理负荷。
本申请实施例中的数据包级联的处理装置400可以是电子设备,例如具有操作系统的电子设备,也可以是电子设备中的部件,例如集成电路或芯片。该电子设备可以是终端,也可以为除终端之外的其他设备。示例性的,终端可以包括但不限于上述所列举的终端11的类型,其他设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)等,本申请实施例不作具体限定。
本申请实施例提供的数据包级联的处理装置400能够实现图3的方法实施例中终端实现的各个过程,并达到相同的技术效果,为避免重复,这里不再赘述。
可选的,如图5所示,本申请实施例还提供一种通信设备500,包括处理器501和存储器502,存储器502上存储有可在所述处理器501上运行的程序或指令,例如,该通信设备500为终端时,该程序或指令被处理器501执行时实现上述图3方法实施例的各个步骤,且能达到相同的技术效果,为避免重复,这里不再赘述。
本申请实施例还提供一种终端,包括处理器和通信接口,处理器用于获取级联配置信息,基于所述级联配置信息对目标业务的数据包执行级联操作;具体用于将至少两个数据包级联成一个级联数据包,所述级联数据包关联一个封装包头。该终端实施例与上述终端侧方法实施例对应,上述方法实施例的各个实施过程和实现方式均可适用于该终端实施例中,且能达到相同的技术效果。具体地,图6为实现本申请实施例的一种终端的硬件结构示意图。
该终端600包括但不限于:射频单元601、网络模块602、音频输出单元603、输入单元604、传感器605、显示单元606、用户输入单元607、接口单元608、存储器609以及处理器610等中的至少部分部件。
本领域技术人员可以理解,终端600还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器610逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图6中示出的终端结构并不构成对终端的限定,终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
应理解的是,本申请实施例中,输入单元604可以包括图形处理单元 (Graphics Processing Unit,GPU)6041和麦克风6042,图形处理器6041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元606可包括显示面板6061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板6061。用户输入单元607包括触控面板6071以及其他输入设备6072中的至少一种。触控面板6071,也称为触摸屏。触控面板6071可包括触摸检测装置和触摸控制器两个部分。其他输入设备6072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
本申请实施例中,射频单元601接收来自网络侧设备的下行数据后,可以传输给处理器610进行处理;另外,射频单元601可以向网络侧设备发送上行数据。通常,射频单元601包括但不限于天线、放大器、收发信机、耦合器、低噪声放大器、双工器等。
存储器609可用于存储软件程序或指令以及各种数据。存储器609可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器609可以包括易失性存储器或非易失性存储器,或者,存储器609可以包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本申请实施例中的存储器609包括但不限于这些和任意其它适合类型的存储器。
处理器610可包括一个或多个处理单元;可选的,处理器610集成应用 处理器和调制解调处理器,其中,应用处理器主要处理涉及操作系统、用户界面和应用程序等的操作,调制解调处理器主要处理无线通信信号,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器610中。
其中,处理器610,用于获取级联配置信息,基于所述级联配置信息对目标业务的数据包执行级联操作;具体用于将至少两个数据包级联成一个级联数据包,所述级联数据包关联一个封装包头。
可选地,所述处理器610执行级联操作的协议层包括以下任意一项:
分组数据汇聚协议PDCP层;
服务数据适应协议SDAP层。
可选地,所述级联配置信息包括如下至少一项:
级联数据包的数量信息;
级联数据包的大小信息;
级联数据包的时间信息。
可选地,所述处理器610,还用于执行如下至少一项:
在所述级联配置信息包括所述级联数据包的数量信息的情况下,基于所述级联数据包的数量信息,对达到目标数量的目标业务的数据包执行级联操作,所述目标数量为所述级联数据包的数量信息指示的数量;
在所述级联配置信息包括所述级联数据包的大小信息的情况下,基于所述级联数据包的大小信息,对小于或等于目标级联包大小的目标业务的数据包执行级联操作,所述目标级联包大小为所述级联数据包的大小信息指示的级联数据包的大小;
在所述级联配置信息包括所述级联数据包的时间信息的情况下,基于所述级联数据包的时间信息,在目标时间段内对接收到的目标业务的数据包执行级联操作,所述目标时间段为所述级联数据包的时间信息指示的时间段。
可选地,所述处理器610,还用于:
基于第一计数器执行级联操作;
其中,所述第一计数器用于计数从上层接收到的目标业务的数据包的个数。
可选地,所述处理器610,还用于:
在从上层接收到目标业务的数据包的情况下,更新所述第一计数器的计数值;
在所述第一计数器达到第一目标数值的情况下,对接收到的目标业务的数据包执行级联操作,其中,所述第一目标数值为所述目标数量的数值。
可选地,所述处理器610,还用于执行如下任意一项:
在所述终端从上层接收到目标业务的数据包的情况下,若所述第一计数器已经达到所述第一目标数值,复位并更新所述第一计数器;
在所述第一计数器达到所述第一目标数值的情况下,复位所述第一计数器;
在所述第一计数器达到所述第一目标数值之后,在所述终端从上层接收到目标业务的第一个数据包的情况下,启用新的第一计数器并更新所述新的第一计数器。
可选地,所述处理器610,还用于:
基于第二计数器执行级联操作;
其中,所述第二计数器用于计数从上层接收到的目标业务的数据包的总字节数。
可选地,所述处理器610,还用于:
在从上层接收到目标业务的数据包的情况下,更新所述第二计数器的计数值;
在所述第二计数器的计数值小于或等于第二目标数值的情况下,对接收到的目标业务的数据包执行级联操作,其中,所述第二目标数值为所述目标级联包大小的字节数。
可选地,所述处理器610,还用于:
最大化数据包的个数M,并对M个数据包执行级联操作,其中,所述M个数据包的总字节数小于所述目标级联包大小的字节数。
可选地,所述处理器610,还用于执行如下任意一项:
在所述终端从上层接收到目标业务的数据包的情况下,若所述第二计数器小于或等于所述第二目标数值,复位并更新所述第二计数器;
在所述第二计数器小于或等于所述第二目标数值的情况下,复位所述第 二计数器;
在所述第二计数器小于或等于所述第二目标数值之后,在所述终端从上层接收到目标业务的第一个数据包的情况下,启用新的第二计数器并更新所述新的第二计数器。
可选地,所述处理器610,还用于:
基于第一定时器执行级联操作;
其中,所述第一定时器的定时长度是基于所述级联数据包的时间信息配置的,所述第一定时器的定时长度为所述目标时间段。
可选地,所述处理器610,还用于:
在从上层接收到目标业务的数据包的情况下启动第一计时器;
在所述第一计时器超时的情况下,对目标时间段内接收到的目标业务的数据包执行级联操作;
其中,所述目标时间段为所述第一计时器启动至超时的时间段。
可选地,所述处理器610,还用于:
在所述第一定时器运行的情况下,若所述终端从上层接收到目标业务的数据包,不重启所述第一定时器。
可选地,所述处理器610,还用于执行如下任意一项:
在下一个级联数据包关联的第一个数据包到达的情况下,重置并启动所述第一定时器;
在下一个级联数据包关联的第一个数据包到达的情况下,启动新的第一定时器。
可选地,所述目标业务通过如下至少一项信息标识:
会话标识信息;
承载标识信息。
本申请实施例中,终端基于级联配置信息对目标业务的数据包执行级联操作,进而以将至少两个数据包级联成一个级联数据包,该级联数据包关联一个封装包头。这样,也就使得终端能够对多个从上层接收到的数据包级联成一个数据包且只需要关联一个封装包头,有效降低了终端对于目标业务数据包处理的头开销,进而以降低终端处理负荷。
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述图3所述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,所述处理器为上述实施例中所述的终端中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器ROM、随机存取存储器RAM、磁碟或者光盘等。
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述图3所述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为系统级芯片,系统芯片,芯片系统或片上系统芯片等。
本申请实施例另提供了一种计算机程序/程序产品,所述计算机程序/程序产品被存储在存储介质中,所述计算机程序/程序产品被至少一个处理器执行以实现上述图3所述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
本申请实施例还提供了一种通信系统,包括:终端及网络侧设备,所述终端可用于执行如上所述的数据包级联的处理方法的步骤,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被 组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,本申请的技术方案可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (34)

  1. 一种数据包级联的处理方法,包括:
    终端获取级联配置信息;
    所述终端基于所述级联配置信息对目标业务的数据包执行级联操作;
    其中,所述对目标业务的数据包执行级联操作,包括:
    将至少两个数据包级联成一个级联数据包,所述级联数据包关联一个封装包头。
  2. 根据权利要求1所述的方法,其中,所述终端执行级联操作的协议层包括以下任意一项:
    分组数据汇聚协议PDCP层;
    服务数据适应协议SDAP层。
  3. 根据权利要求1所述的方法,其中,所述级联配置信息包括如下至少一项:
    级联数据包的数量信息;
    级联数据包的大小信息;
    级联数据包的时间信息。
  4. 根据权利要求3所述的方法,其中,所述终端基于所述级联配置信息对目标业务的数据包执行级联操作,包括如下至少一项:
    在所述级联配置信息包括所述级联数据包的数量信息的情况下,终端基于所述级联数据包的数量信息,对达到目标数量的目标业务的数据包执行级联操作,所述目标数量为所述级联数据包的数量信息指示的数量;
    在所述级联配置信息包括所述级联数据包的大小信息的情况下,终端基于所述级联数据包的大小信息,对小于或等于目标级联包大小的目标业务的数据包执行级联操作,所述目标级联包大小为所述级联数据包的大小信息指示的级联数据包的大小;
    在所述级联配置信息包括所述级联数据包的时间信息的情况下,终端基于所述级联数据包的时间信息,在目标时间段内对接收到的目标业务的数据包执行级联操作,所述目标时间段为所述级联数据包的时间信息指示的时间 段。
  5. 根据权利要求4所述的方法,其中,所述终端基于所述级联数据包的数量信息,对达到目标数量的目标业务的数据包执行级联操作,包括:
    终端基于第一计数器执行级联操作;
    其中,所述第一计数器用于计数从上层接收到的目标业务的数据包的个数。
  6. 根据权利要求5所述的方法,其中,所述终端基于第一计数器执行级联操作,包括:
    在从上层接收到目标业务的数据包的情况下,所述终端更新所述第一计数器的计数值;
    在所述第一计数器达到第一目标数值的情况下,所述终端对接收到的目标业务的数据包执行级联操作,其中,所述第一目标数值为所述目标数量的数值。
  7. 根据权利要求6所述的方法,所述方法还包括如下任意一项:
    在所述终端从上层接收到目标业务的数据包的情况下,若所述第一计数器已经达到所述第一目标数值,所述终端复位并更新所述第一计数器;
    在所述第一计数器达到所述第一目标数值的情况下,所述终端复位所述第一计数器;
    在所述第一计数器达到所述第一目标数值之后,在所述终端从上层接收到目标业务的第一个数据包的情况下,所述终端启用新的第一计数器并更新所述新的第一计数器。
  8. 根据权利要求4所述的方法,其中,所述终端基于所述级联数据包的大小信息,对达到目标级联包大小的目标业务的数据包执行级联操作,包括:
    终端基于第二计数器执行级联操作;
    其中,所述第二计数器用于计数从上层接收到的目标业务的数据包的总字节数。
  9. 根据权利要求8所述的方法,其中,所述终端基于第二计数器执行级联操作,包括:
    在从上层接收到目标业务的数据包的情况下,所述终端更新所述第二计 数器的计数值;
    在所述第二计数器的计数值小于或等于第二目标数值的情况下,所述终端对接收到的目标业务的数据包执行级联操作,其中,所述第二目标数值为所述目标级联包大小的字节数。
  10. 根据权利要求9所述的方法,其中,所述终端基于所述级联数据包的大小信息,对达到目标级联包大小的目标业务的数据包执行级联操作,包括:
    所述终端最大化数据包的个数M,并对M个数据包执行级联操作,其中,所述M个数据包的总字节数小于所述目标级联包大小的字节数。
  11. 根据权利要求9或10所述的方法,所述方法还包括如下任意一项:
    在所述终端从上层接收到目标业务的数据包的情况下,若所述第二计数器小于或等于所述第二目标数值,所述终端复位并更新所述第二计数器;
    在所述第二计数器小于或等于所述第二目标数值的情况下,所述终端复位所述第二计数器;
    在所述第二计数器小于或等于所述第二目标数值之后,在所述终端从上层接收到目标业务的第一个数据包的情况下,所述终端启用新的第二计数器并更新所述新的第二计数器。
  12. 根据权利要求4所述的方法,其中,所述终端基于所述级联数据包的时间信息,在目标时间段内对接收到的目标业务的数据包执行级联操作,包括:
    终端基于第一定时器执行级联操作;
    其中,所述第一定时器的定时长度是基于所述级联数据包的时间信息配置的,所述第一定时器的定时长度为所述目标时间段。
  13. 根据权利要求12所述的方法,其中,所述终端基于第一定时器执行级联操作,包括:
    终端在从上层接收到目标业务的数据包的情况下启动第一计时器;
    在所述第一计时器超时的情况下,所述终端对目标时间段内接收到的目标业务的数据包执行级联操作;
    其中,所述目标时间段为所述第一计时器启动至超时的时间段。
  14. 根据权利要求13所述的方法,所述方法还包括:
    在所述第一定时器运行的情况下,若所述终端从上层接收到目标业务的数据包,终端不重启所述第一定时器。
  15. 根据权利要求12所述的方法,所述方法还包括如下任意一项:
    在下一个级联数据包关联的第一个数据包到达的情况下,所述终端重置并启动所述第一定时器;
    在下一个级联数据包关联的第一个数据包到达的情况下,所述终端启动新的第一定时器。
  16. 根据权利要求1所述的方法,其中,所述目标业务通过如下至少一项信息标识:
    会话标识信息;
    承载标识信息。
  17. 一种数据包级联的处理装置,包括:
    获取模块,用于获取级联配置信息;
    级联模块,用于基于所述级联配置信息对目标业务的数据包执行级联操作;
    其中,所述级联模块用于:
    将至少两个数据包级联成一个级联数据包,所述级联数据包关联一个封装包头。
  18. 根据权利要求17所述的装置,其中,所述级联模块执行级联操作的协议层包括以下任意一项:
    分组数据汇聚协议PDCP层;
    服务数据适应协议SDAP层。
  19. 根据权利要求17所述的装置,其中,所述级联配置信息包括如下至少一项:
    级联数据包的数量信息;
    级联数据包的大小信息;
    级联数据包的时间信息。
  20. 根据权利要求19所述的装置,其中,所述级联模块还用于执行如下 至少一项:
    在所述级联配置信息包括所述级联数据包的数量信息的情况下,基于所述级联数据包的数量信息,对达到目标数量的目标业务的数据包执行级联操作,所述目标数量为所述级联数据包的数量信息指示的数量;
    在所述级联配置信息包括所述级联数据包的大小信息的情况下,基于所述级联数据包的大小信息,对小于或等于目标级联包大小的目标业务的数据包执行级联操作,所述目标级联包大小为所述级联数据包的大小信息指示的级联数据包的大小;
    在所述级联配置信息包括所述级联数据包的时间信息的情况下,基于所述级联数据包的时间信息,在目标时间段内对接收到的目标业务的数据包执行级联操作,所述目标时间段为所述级联数据包的时间信息指示的时间段。
  21. 根据权利要求20所述的装置,其中,所述级联模块还用于:
    基于第一计数器执行级联操作;
    其中,所述第一计数器用于计数从上层接收到的目标业务的数据包的个数。
  22. 根据权利要求21所述的装置,其中,所述级联模块还用于:
    在从上层接收到目标业务的数据包的情况下,更新所述第一计数器的计数值;
    在所述第一计数器达到第一目标数值的情况下,对接收到的目标业务的数据包执行级联操作,其中,所述第一目标数值为所述目标数量的数值。
  23. 根据权利要求22所述的装置,其中,所述装置还包括执行模块,用于执行如下任意一项:
    在所述装置从上层接收到目标业务的数据包的情况下,若所述第一计数器已经达到所述第一目标数值,复位并更新所述第一计数器;
    在所述第一计数器达到所述第一目标数值的情况下,复位所述第一计数器;
    在所述第一计数器达到所述第一目标数值之后,在所述装置从上层接收到目标业务的第一个数据包的情况下,启用新的第一计数器并更新所述新的第一计数器。
  24. 根据权利要求20所述的装置,其中,所述级联模块还用于:
    基于第二计数器执行级联操作;
    其中,所述第二计数器用于计数从上层接收到的目标业务的数据包的总字节数。
  25. 根据权利要求24所述的装置,其中,所述级联模块还用于:
    在从上层接收到目标业务的数据包的情况下,更新所述第二计数器的计数值;
    在所述第二计数器的计数值小于或等于第二目标数值的情况下,对接收到的目标业务的数据包执行级联操作,其中,所述第二目标数值为所述目标级联包大小的字节数。
  26. 根据权利要求25所述的装置,其中,所述级联模块还用于:
    最大化数据包的个数M,并对M个数据包执行级联操作,其中,所述M个数据包的总字节数小于所述目标级联包大小的字节数。
  27. 根据权利要求25或26所述的装置,其中,所述装置还包括执行模块,用于执行如下任意一项:
    在所述装置从上层接收到目标业务的数据包的情况下,若所述第二计数器小于或等于所述第二目标数值,复位并更新所述第二计数器;
    在所述第二计数器小于或等于所述第二目标数值的情况下,复位所述第二计数器;
    在所述第二计数器小于或等于所述第二目标数值之后,在所述装置从上层接收到目标业务的第一个数据包的情况下,启用新的第二计数器并更新所述新的第二计数器。
  28. 根据权利要求20所述的装置,其中,所述级联模块还用于:
    基于第一定时器执行级联操作;
    其中,所述第一定时器的定时长度是基于所述级联数据包的时间信息配置的,所述第一定时器的定时长度为所述目标时间段。
  29. 根据权利要求28所述的装置,其中,所述级联模块还用于:
    在从上层接收到目标业务的数据包的情况下启动第一计时器;
    在所述第一计时器超时的情况下,对目标时间段内接收到的目标业务的 数据包执行级联操作;
    其中,所述目标时间段为所述第一计时器启动至超时的时间段。
  30. 根据权利要求29所述的装置,其中,所述级联模块还用于:
    在所述第一定时器运行的情况下,若所述装置从上层接收到目标业务的数据包,不重启所述第一定时器。
  31. 根据权利要求29所述的装置,其中,所述装置还包括执行模块,用于执行如下任意一项:
    在下一个级联数据包关联的第一个数据包到达的情况下,重置并启动所述第一定时器;
    在下一个级联数据包关联的第一个数据包到达的情况下,启动新的第一定时器。
  32. 根据权利要求17所述的装置,其中,所述目标业务通过如下至少一项信息标识:
    会话标识信息;
    承载标识信息。
  33. 一种终端,包括处理器和存储器,其中,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-16中任一项所述的数据包级联的处理方法的步骤。
  34. 一种可读存储介质,所述可读存储介质上存储程序或指令,其中,所述程序或指令被处理器执行时实现如权利要求1-16中任一项所述的数据包级联的处理方法的步骤。
PCT/CN2023/092430 2022-05-09 2023-05-06 数据包级联的处理方法、装置、终端及可读存储介质 WO2023217013A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210503562.2A CN117082567A (zh) 2022-05-09 2022-05-09 数据包级联的处理方法、装置、终端及可读存储介质
CN202210503562.2 2022-05-09

Publications (1)

Publication Number Publication Date
WO2023217013A1 true WO2023217013A1 (zh) 2023-11-16

Family

ID=88718101

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/092430 WO2023217013A1 (zh) 2022-05-09 2023-05-06 数据包级联的处理方法、装置、终端及可读存储介质

Country Status (2)

Country Link
CN (1) CN117082567A (zh)
WO (1) WO2023217013A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101932128A (zh) * 2009-06-25 2010-12-29 大唐移动通信设备有限公司 一种数据链路层的数据收发处理方法及设备
CN105992242A (zh) * 2015-03-06 2016-10-05 电信科学技术研究院 一种空口协议栈的配置方法、数据传输方法及设备
WO2017171910A1 (en) * 2016-03-31 2017-10-05 Intel IP Corporation Packet data convergence protocol (pdcp) concatenation for high data rate
WO2019034130A1 (zh) * 2017-08-18 2019-02-21 华为技术有限公司 传输方法、发送端和接收端
CN115884312A (zh) * 2021-09-27 2023-03-31 华为技术有限公司 一种通信方法及相关装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101932128A (zh) * 2009-06-25 2010-12-29 大唐移动通信设备有限公司 一种数据链路层的数据收发处理方法及设备
CN105992242A (zh) * 2015-03-06 2016-10-05 电信科学技术研究院 一种空口协议栈的配置方法、数据传输方法及设备
WO2017171910A1 (en) * 2016-03-31 2017-10-05 Intel IP Corporation Packet data convergence protocol (pdcp) concatenation for high data rate
WO2019034130A1 (zh) * 2017-08-18 2019-02-21 华为技术有限公司 传输方法、发送端和接收端
CN115884312A (zh) * 2021-09-27 2023-03-31 华为技术有限公司 一种通信方法及相关装置

Also Published As

Publication number Publication date
CN117082567A (zh) 2023-11-17

Similar Documents

Publication Publication Date Title
US11570624B2 (en) Integrity protection method, terminal and base station
US10856180B2 (en) Reconfiguration method and related products
US20240040430A1 (en) Transmission Processing Method and Communications Device
US20240314626A1 (en) Information reporting method, configuration method, apparatuses, terminal and network side device
WO2023217013A1 (zh) 数据包级联的处理方法、装置、终端及可读存储介质
CN107104760A (zh) 一种传输数据包的方法、客户端以及服务器
WO2018126407A1 (zh) 一种数据传输方法及设备
WO2023020387A1 (zh) 非连续接收参数指示方法、装置、终端及网络侧设备
WO2023284638A1 (zh) 下行控制信息发送、获取方法、装置、终端及网络侧设备
WO2023217014A1 (zh) 数据包丢弃的处理方法、装置、终端及可读存储介质
WO2019028876A1 (zh) 数据传输方法及相关产品
WO2023066114A1 (zh) 数据处理方法、装置及终端
WO2024114642A2 (zh) 数据包的处理方法及通信设备
WO2024012279A1 (zh) 信息传输方法、装置及设备
WO2023208048A1 (zh) 小区切换方法、装置、终端及网络侧设备
WO2024199075A1 (zh) 数据接收方法、数据传输方法、装置及通信设备
WO2023274291A1 (zh) 传输方法、装置、设备及介质
WO2023143450A1 (zh) 数据处理规则的配置方法、终端及网络侧设备
WO2023030329A1 (zh) 数据传输方法和设备
WO2023143414A1 (zh) 数据传输、配置方法、装置、终端及网络侧设备
US20240236841A9 (en) Relay selection method and apparatus, relay information transmission method and apparatus, and terminal
WO2024037409A1 (zh) 定位消息传输方法、终端及网络侧设备
WO2023155764A1 (zh) Cpac的评估方法、cpac配置的处理方法及设备
WO2023134757A1 (zh) 切换配置指示方法、终端及网络侧设备
US20240275539A1 (en) Information configuration method and apparatus, network side device, and terminal

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: 23802785

Country of ref document: EP

Kind code of ref document: A1