CN117082567A - Data packet cascade processing method, device, terminal and readable storage medium - Google Patents

Data packet cascade processing method, device, terminal and readable storage medium Download PDF

Info

Publication number
CN117082567A
CN117082567A CN202210503562.2A CN202210503562A CN117082567A CN 117082567 A CN117082567 A CN 117082567A CN 202210503562 A CN202210503562 A CN 202210503562A CN 117082567 A CN117082567 A CN 117082567A
Authority
CN
China
Prior art keywords
data packet
target
counter
terminal
packet
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.)
Pending
Application number
CN202210503562.2A
Other languages
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202210503562.2A priority Critical patent/CN117082567A/en
Priority to PCT/CN2023/092430 priority patent/WO2023217013A1/en
Publication of CN117082567A publication Critical patent/CN117082567A/en
Pending legal-status Critical Current

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

Landscapes

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

Abstract

The application discloses a processing method, a device, a terminal and a readable storage medium for data packet concatenation, belonging to the technical field of communication. The terminal acquires cascading configuration information; the terminal executes cascading operation on the data packet of the target service based on the cascading configuration information; the step of performing concatenation operation on the data packet of the target service includes: concatenating at least two data packets into a concatenated data packet, the concatenated data packet being associated with an encapsulation header.

Description

Data packet cascade processing method, device, terminal and readable storage medium
Technical Field
The application belongs to the technical field of communication, and particularly relates to a data packet cascade processing method, a data packet cascade processing device, a data packet cascade processing terminal and a readable storage medium.
Background
Currently, a New air interface (NR) protocol layer (such as a packet data convergence protocol (Packet Data Convergence Protocol, PDCP) layer) processes each data packet received from an upper layer separately, and each separately processed data packet needs to separately associate a separate encapsulation packet header, which causes a significant processing load and header overhead to a terminal.
Disclosure of Invention
The embodiment of the application provides a processing method, a device, a terminal and a readable storage medium for cascade connection of data packets, which can solve the problem that the processing load of the terminal is large because the terminal needs to associate an independent encapsulation packet header for each independently processed data packet in the related technology.
In a first aspect, a method for processing a data packet concatenation is provided, including:
the terminal acquires cascading configuration information;
the terminal executes cascading operation on the data packet of the target service based on the cascading configuration information;
the step of performing concatenation operation on the data packet of the target service includes:
concatenating at least two data packets into a concatenated data packet, the concatenated data packet being associated with an encapsulation header.
In a second aspect, a processing apparatus for packet concatenation is provided, including:
the acquisition module is used for acquiring cascade configuration information;
the cascade module is used for executing cascade operation on the data packet of the target service based on the cascade configuration information;
wherein, the cascade module is used for:
concatenating at least two data packets into a concatenated data packet, the concatenated data packet being associated with an encapsulation header.
In a third aspect, there is provided a terminal comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the method of processing a concatenation of data packets according to the first aspect.
In a fourth aspect, a terminal is provided, including a processor and a communication interface, where the processor is configured to obtain concatenation configuration information, and perform concatenation operation on a data packet of a target service based on the concatenation configuration information; the method is particularly used for cascading at least two data packets into a cascading data packet, and the cascading data packet is associated with an encapsulation packet header.
In a fifth aspect, a communication system is provided, comprising: the terminal and the network side device, the terminal can be used for executing the steps of the data packet cascade processing method according to the first aspect.
In a sixth aspect, there is provided a readable storage medium having stored thereon a program or instructions which when executed by a processor implement the steps of the method of processing a concatenation of data packets according to the first aspect.
In a seventh aspect, a chip is provided, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction, and implement the method for processing a packet concatenation according to the first aspect.
In an eighth aspect, a computer program/program product is provided, the computer program/program product being stored in a storage medium, the computer program/program product being executable by at least one processor to implement a method of processing a concatenation of data packets according to the first aspect.
In the embodiment of the application, the terminal executes cascading operation on the data packets of the target service based on cascading configuration information, so as to cascade at least two data packets into a cascading data packet, and the cascading data packet is associated with an encapsulation packet header. Therefore, the terminal can cascade a plurality of data packets received from an upper layer into one data packet and only needs to associate one encapsulation packet header, so that the header overhead of the terminal for processing the target service data packet is effectively reduced, and the processing load of the terminal is further reduced.
Drawings
Fig. 1 is a block diagram of a wireless communication system to which embodiments of the present application are applicable;
FIG. 2 is a schematic diagram of an NR User Plane (UP) protocol architecture suitable for use in embodiments of the present application;
fig. 3 is a flowchart of a processing method of data packet concatenation according to an embodiment of the present application;
fig. 4 is a block diagram of a processing device for data packet concatenation according to an embodiment of the present application;
fig. 5 is a block diagram of a communication device according to an embodiment of the present application;
fig. 6 is a block diagram of a terminal according to an embodiment of the present application.
Detailed Description
The technical solutions of the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which are derived by a person skilled in the art based on the embodiments of the application, fall within the scope of protection of the application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or otherwise described herein, and that the "first" and "second" distinguishing between objects generally are not limited in number to the extent that the first object may, for example, be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/" generally means a relationship in which the associated object is an "or" before and after.
It should be noted that the techniques described in the embodiments of the present application are not limited to long term evolution (Long Term Evolution, LTE)/LTE evolution (LTE-Advanced, LTE-a) systems, but may also be used in other wireless communication systems, such as code division multiple access (Code Division Multiple Access, CDMA), time division multiple access (Time Division Multiple Access, TDMA), frequency division multiple access (Frequency Division Multiple Access, FDMA), orthogonal frequency division multiple access (Orthogonal Frequency Division Multiple Access, OFDMA), single carrier frequency division multiple access (Single-carrier Frequency Division Multiple Access, SC-FDMA), and other systems. The terms "system" and "network" in embodiments of the application are often used interchangeably, and the techniques described may be used for both the above-mentioned systems and radio technologies, as well as other systems and radio technologies. The following description describes a New air interface (NR) system for purposes of example and uses NR terminology in much of the description that follows, but these techniques are also applicable to applications other than NR system applications, such as generation 6 (6) th Generation, 6G) communication system.
Fig. 1 shows a block diagram of a wireless communication system to which an embodiment of the present application is applicable. The wireless communication system includes a terminal 11 and a network device 12. The terminal 11 may be a mobile phone, a tablet (Tablet Personal Computer), a Laptop (Laptop Computer) or a terminal-side Device called a notebook, a personal digital assistant (Personal Digital Assistant, PDA), a palm top, a netbook, an ultra-mobile personal Computer (ultra-mobile personal Computer, UMPC), a mobile internet appliance (Mobile Internet Device, MID), an augmented reality (augmented reality, AR)/Virtual Reality (VR) Device, a robot, a Wearable Device (weather Device), a vehicle-mounted Device (VUE), a pedestrian terminal (PUE), a smart home (home Device with a wireless communication function, such as a refrigerator, a television, a washing machine, or a furniture), a game machine, a personal Computer (personal Computer, PC), a teller machine, or a self-service machine, and the Wearable Device includes: intelligent wrist-watch, intelligent bracelet, intelligent earphone, intelligent glasses, intelligent ornament (intelligent bracelet, intelligent ring, intelligent necklace, intelligent anklet, intelligent foot chain etc.), intelligent wrist strap, intelligent clothing etc.. It should be noted that the specific type of the terminal 11 is not limited in the embodiment of the present application. The network-side device 12 may comprise an access network device or a core network device, wherein the access network device 12 may also be referred to as a radio access network device, a radio access network (Radio Access Network, RAN), a radio access network function or a radio access network element. Access network device 12 may include a base station, a WLAN access point, a WiFi node, or the like, which may be referred to as a node B, an evolved node B (eNB), an access point, a base transceiver station (Base Transceiver Station, BTS), a radio base station, a radio transceiver, a basic service set (Basic Service Set, BSS), an extended service set (Extended Service Set, ESS), a home node B, a home evolved node B, a transmission and reception point (Transmitting Receiving Point, TRP), or some other suitable terminology in the art, and the base station is not limited to a particular technical vocabulary so long as the same technical effect is achieved, and it should be noted that in the embodiment of the present application, only a base station in the NR system is described as an example, and the specific type of the base station is not limited.
In order to better understand the technical solutions provided by the embodiments of the present application, the following explains related concepts possibly related to the embodiments of the present application.
Packet data convergence protocol (Packet Data Convergence Protocol, PDCP) functional profile
Referring to fig. 2, fig. 2 is a schematic diagram of an NR User Plane (UP) protocol architecture, where the NR UP protocol architecture is composed of a service data adaptation protocol (Service Data Adaptation Protocol, SDAP), PDCP, radio link control (Radio Link Control, RLC), medium access control (Medium Access Control, MAC), and Physical layer (PHY) according to an embodiment of the present application. The PDCP packets received from the upper SDAP are PDCP service data units (Service Data Unit, SDU), and the PDCP protocol data units (Protocol Data Unit, PDU) are PDCP packets processed by and associated with the PDCP layer encapsulation header. The PDCP layer needs to process (e.g., security process, associate PDCP header (header), etc.) each received PDCP SDU to generate PDCP PDUs. NR also introduces a preprocessing function, so PDCP PDUs processed and generated for PDCP can be directly delivered to RLC.
The method for processing the data packet concatenation provided by the embodiment of the application is described in detail below by means of some embodiments and application scenarios thereof with reference to the accompanying drawings.
Referring to fig. 3, fig. 3 is a flowchart of a processing method of packet concatenation according to an embodiment of the present application, as shown in fig. 3, the method includes the following steps:
step 301, the terminal acquires cascade configuration information.
The concatenation configuration information may be sent by a network side (such as a base station) to a terminal, and is used for indicating to perform concatenation operation on a data packet of a target service.
And 302, the terminal executes cascading operation on the data packet of the target service based on the cascading configuration information.
The step of performing concatenation operation on the data packet of the target service includes:
concatenating at least two data packets into a concatenated data packet, the concatenated data packet being associated with an encapsulation header.
Illustratively, the terminal may concatenate three data packets of the target service into one concatenated data packet based on the concatenated configuration information, where the concatenated data packet is associated with an encapsulation packet header; alternatively, the terminal may concatenate the four packets of the target service into a concatenated packet based on the concatenated configuration information, where the concatenated packet is associated with an encapsulation packet header, and so on. Alternatively, the network side may indicate the number of sub-packets of the concatenated data packet through the concatenation configuration information, that is, indicate how many data packets the terminal concatenates into one concatenated data packet.
In the embodiment of the application, the terminal executes cascading operation on the data packets of the target service based on cascading configuration information, so as to cascade at least two data packets into a cascading data packet, and the cascading data packet is associated with an encapsulation packet header. Therefore, the terminal can cascade a plurality of data packets received from an upper layer into one data packet and only needs to associate one encapsulation packet header, so that the header overhead of the terminal for processing the target service data packet is effectively reduced, and the processing load of the terminal is further reduced.
Optionally, the target service is identified by at least one of the following information:
session identification information;
carrying identification information.
The session Identification information may be, for example, a PDU session (Identification) Identification (ID); the Bearer identification information may be, for example, a Radio Bearer (RB) ID.
Optionally, the protocol layer for the terminal to perform the cascading operation includes any one of the following:
a PDCP layer;
SDAP layer.
In an embodiment of the present application, the cascade configuration information includes at least one of the following:
the number information of the cascade data packets;
size information of the concatenated data packet;
time information of concatenated data packets.
The number information of the cascade data packets is used for indicating the number of the data packets which can be executed by the terminal through cascade operation. For example, if the number of packets that the network side configures PDCP to be able to concatenate is 3, that is, the concatenation configuration information indicates that the number of packets that the terminal can perform the concatenation operation is 3, the PDCP layer of the terminal may concatenate three packets of the target service received from an upper layer into one concatenated packet, for example concatenate three packets of PDCP SDU #1, PDCP SDU #2, PDCP SDU #3 into one PDCP SDU.
The size information of the concatenated data packet is used for indicating the packet size of the concatenated data packet for the terminal to execute the concatenation operation. For example, when the network side configures PDCP to be capable of concatenating data packets having a size of 300 bytes, that is, the concatenation configuration information indicates that a packet size of a concatenated data packet formed by the terminal performing a concatenation operation is 300 bytes, the PDCP layer of the terminal may concatenate at least two data packets received from an upper layer into one concatenated data packet having a packet size equal to or less than 300 bytes, for example, the terminal concatenates three data packets of PDCP SDU #1, PDCP SDU #2, PDCP SDU #3 (assuming that each data packet is 100 bytes) into one PDCP SDU.
And the time information of the cascade data packet is used for indicating the terminal to execute cascade operation on the received data packet in the time period characterized by the time information. Illustratively, the network side configures time information of the concatenated data packet as a concatenated timer, and the PDCP layer of the terminal performs a concatenation operation on the data packet received during the operation of the timer to concatenate into a concatenated data packet.
The concatenation configuration information may include at least one of the number information of the concatenation data packets, size information of the concatenation data packets, and time information of the concatenation data packets. For example, the concatenation configuration information includes number information of concatenation data packets and time information of the concatenation data packets, and the terminal may perform concatenation operation on the number of data packets indicated by the number information of concatenation data packets in a period of time represented by the time information of the concatenation data packets. Alternatively, the concatenation configuration information may further include number information of concatenated data packets and size information of the concatenated data packets, and the terminal may perform concatenation operation according to a packet size indicated by the size information of the concatenated data packets and a number of data packets indicated by the number information of the concatenated data packets, for example, the packet size indicated by the size information of the concatenated data packets is 300 bytes, and the number of data packets that can be concatenated indicated by the number information of the concatenated data packets is 3, for example, the terminal concatenates three data packets of PDCP SDU #1, PDCP SDU #2, PDCP SDU #3 (assuming that each data packet is 100 bytes) into one PDCP SDU. Of course, the content of the cascade configuration information may be other possible situations, which is not listed in this embodiment.
Optionally, the terminal performs a concatenation operation on the data packet of the target service based on the concatenation configuration information, including at least one of the following:
in the case that the concatenation configuration information includes the number information of the concatenation data packets, the terminal performs concatenation operation on the data packets of the target service reaching a target number based on the number information of the concatenation data packets, where the target number is the number indicated by the number information of the concatenation data packets;
in the case that the cascade configuration information includes size information of the cascade data packet, the terminal performs a cascade operation on a data packet of a target service smaller than or equal to a target cascade packet size based on the size information of the cascade data packet, the target cascade packet size being a size of the cascade data packet indicated by the size information of the cascade data packet;
and under the condition that the cascade configuration information comprises the time information of the cascade data packet, the terminal executes cascade operation on the received data packet of the target service in a target time period based on the time information of the cascade data packet, wherein the target time period is a time period indicated by the time information of the cascade data packet.
For example, in one embodiment, if the concatenation configuration information includes the number information of the concatenated packet, and assuming that the target number indicated by the number information of the concatenated packet is 5, the terminal may perform the concatenation operation on the packet up to the target number based on the target number indicated by the number information of the concatenated packet. For example, the terminal PDCP layer may concatenate into one concatenated packet every packet of 5 target services.
Alternatively, in another embodiment, if the concatenation configuration information includes size information of the concatenated packet, and assuming that a target concatenation packet size indicated by the size information of the concatenated packet is 300 bytes, the terminal may perform a concatenation operation on a packet less than or equal to 300 bytes based on the target concatenation packet size indicated by the size information of the concatenated packet; illustratively, if the terminal PDCP layer receives 3 packets from an upper layer and the sum of the packet sizes of the 3 packets is 300 bytes, the terminal concatenates the 3 packets into one concatenated packet; alternatively, if the PDCP layer of the terminal receives the packet size sum of 4 packets from the upper layer to be 350 bytes, wherein the packet size sum of the first 3 packets is 280 bytes, the terminal concatenates the first 3 packets into one concatenated packet.
Or in another embodiment, if the concatenation configuration information includes time information of the concatenation data packet, the terminal performs concatenation operation on a data packet of the target service received in a target time period indicated by the time information of the concatenation data packet.
Alternatively, in another embodiment, if the concatenation configuration information includes time information of the concatenated data packet and number information of the concatenated data packet, and assuming that the target number indicated by the number information of the concatenated data packet is 3, the terminal PDCP may concatenate every 3 data packets received from an upper layer into one concatenated data packet within a target period indicated by the time information of the concatenated data packet.
Optionally, the information content of the cascade configuration information may be other possible cases, and the terminal may execute a corresponding cascade operation based on the information content of the cascade configuration information, which is not specifically shown in the embodiment of the present application.
Optionally, the terminal performs concatenation operation on the data packets of the target service reaching the target number based on the number information of the concatenated data packets, including:
the terminal executes cascading operation based on the first counter;
The first counter is used for counting the number of data packets of the target service received from an upper layer.
The first counter may be a counter configured at the network side, an initial value of the first counter is 0, a maximum value of the first counter may be a value of a target number represented by the number information of the concatenated data packet, and when a count value of the first counter reaches the maximum value, the terminal performs a concatenation operation on the received data packet of the target service. In this way, the terminal can perform the concatenation operation on the data packets with the target number through the first counter, so that the concatenation processing on the data packets is better realized.
Optionally, the terminal performs a cascading operation based on the first counter, including:
in case of receiving a data packet of a target service from an upper layer, the terminal updates a count value of the first counter;
and under the condition that the first counter reaches a first target value, the terminal executes cascading operation on the received data packets of the target service, wherein the first target value is the value of the target number.
For example, the number of the cascade packets included in the cascade configuration information is characterized by a target number of 3, that is, a first target value is 3; the method comprises the steps that a first counter is added with 1 from PDCP SDU #1 received by an upper layer, when PDCP SDU #2 is received by the upper layer, the first counter is added with 1 again, when PDCP SDU #3 is received by the upper layer, the first counter is added with 1 again, and the current value is 3. At this time, the PDCP concatenates the three received packets of PDCP SDU #1, PDCP SDU #2, PDCP SDU #3 into one PDCP SDU. Therefore, the terminal can execute cascading operation on the received data packets of the target service through the first counter so as to cascade a plurality of data packets into a cascading data packet, and the cascading data packet only needs to be associated with one packaging packet header, so that the header overhead of the terminal for processing the data packets is effectively saved.
Optionally, the method further comprises any one of the following:
under the condition that the terminal receives a data packet of a target service from an upper layer, if the first counter has reached the first target value, the terminal resets and updates the first counter;
the terminal resets the first counter under the condition that the first counter reaches the first target value;
after the first counter reaches the first target value, in the case that the terminal receives a first data packet of a target service from an upper layer, the terminal enables a new first counter and updates the new first counter.
It should be noted that one first counter may be common to a plurality of concatenated data packets. It will be appreciated 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 each of the plurality of concatenated data packets corresponding to the radio bearer.
Or it may be that a first counter is associated with a concatenated packet. It will be appreciated that in one case, the maximum count value of the first counter is configured based on the granularity of the radio bearer, and a different first counter is used for the plurality of concatenated data packets corresponding to the radio bearer, but the count values of the different first counters may be the same.
For example, in the embodiment of the present application, 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.
Wherein, in the case that a first counter is associated with each concatenated packet (it may be understood that a first counter is shared by a plurality of concatenated packets), each time the terminal receives a packet of the target service from an upper layer, the count value of the first counter is incremented by 1, and when the count value of the first counter reaches the first target value, the terminal concatenates the received packets into a concatenated packet. Additionally, the terminal performs a reset operation on the first counter, and resets to an initial value (e.g., 0). Upon subsequent reception of the data packet from the upper layer, the terminal performs an update operation based on the initial value. Illustratively, if the number of packets that the network side configuration terminal PDCP can concatenate is 3, the PDCP performs a reset operation (reset to an initial value) on the current first counter after receiving the 3n (n is a positive integer) th packet from the upper layer. In the 3n+1 (n is a positive integer) th packet, the current value of the first counter is always the initial value, so that the terminal always performs the update operation based on the initial value when the 3n+1 (n is a positive integer) th packet arrives.
Alternatively, in the case where one first counter is associated with each concatenated packet (it will be understood that one first counter is common to a plurality of concatenated packets), when the count value of the first counter has reached the first target value, the terminal concatenates the received packets into one concatenated packet and performs a reset operation on the first counter, resets to an initial value, and starts to recount based on the initial value when the first packet belonging to the next concatenated packet arrives. Illustratively, if the number of packets that the network side configuration terminal PDCP can concatenate is 3, the PDCP performs a reset operation (reset to an initial value) on the current first counter and performs an update based on the initial value when the 3n+1 (n is a positive integer) th packet is received from an upper layer. In the 3n+1 (n is a positive integer) th 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 and then perform the update operation based on the initial value.
Alternatively, in the case where one first counter is associated with one concatenated packet (it may be understood that one first counter is not shared by a plurality of concatenated packets), when the count value of the first counter reaches the first target value, if the terminal receives the first packet belonging to the next concatenated packet from the upper layer, the terminal enables a new first counter and updates the new first counter, that is, counts the packets of the next concatenated packet. Illustratively, the network side configures the number of packets that the terminal PDCP can concatenate to be 3, and when the terminal receives PDCP SDU #4 from an upper layer, the terminal enables a new first counter and performs an update operation on the first counter.
In the embodiment of the application, the terminal executes the cascade operation on the data packet of the target service through the first counter, so that the data packet can be better processed by means of the first counter.
Optionally, the terminal performs a concatenation operation on a data packet of a target service reaching a target concatenation packet size based on size information of the concatenation data packet, including:
the terminal executes cascading operation based on the second counter;
wherein the second counter is used for counting the total bytes of the data packet of the target service received from the upper layer.
The second counter may be a counter configured on the network side, an initial value of the second counter may be 0, a maximum value of the second counter may be a total byte number, such as M bytes, of a concatenated packet size characterized by size information of the concatenated packet, and when a count value of the second counter is less than or equal to M bytes, the terminal performs a concatenation operation on the received data packet of the target service. In this way, the terminal can perform the concatenation operation on the data packet through the second counter, so as to better realize the concatenation processing on the data packet.
Optionally, the terminal performs a cascading operation based on the second counter, including;
in case of receiving a data packet of a target service from an upper layer, the terminal updates a count value of the second counter;
and under the condition that the count value of the second counter is smaller than or equal to a second target value, the terminal executes cascading operation on the received data packet of the target service, wherein the second target value is the byte number of the target cascading packet size.
For example, the terminal PDCP receives PDCP SDU #1 from the upper layer, the second counter performs an update operation, where the update step size is equal to the packet size M1 of PDCP SDU #1, and the current value of the second counter is M1; when receiving PDCP SDU#2 from an upper layer, the second counter executes updating operation again, and the updating step length is equal to the data packet size M2 of the PDCP SDU#2, and the current value of the second counter is M1+M2; when the PDCP SDU #3 is received from the upper layer, the second counter performs an update operation again, and the update step length is equal to the packet size M3 of the PDCP SDU #3, and the current value of the second counter is m1+m2+m3. If m1+m2+m3=m (M is the second target value), the terminal PDCP concatenates three packets, PDCP sdu#1, PDCP sdu#2, PDCP sdu#3, into one PDCP SDU.
Therefore, the terminal can execute cascading operation on the received data packets of the target service through the second counter so as to cascade a plurality of data packets into a cascading data packet, and the cascading data packet only needs to be associated with one packaging packet header, so that the header overhead of the terminal for processing the data packets is effectively saved.
Optionally, the terminal performs a concatenation operation on a data packet of a target service reaching a target concatenation packet size based on size information of the concatenation data packet, including:
the terminal maximizes the number M of data packets and performs cascading operation on the M data packets, wherein the total byte number of the M data packets is smaller than the byte number of the target cascading packet.
For example, assuming that the number of bytes of the target concatenation packet size configured by the network side is 300 bytes, if PDCP sdu#1 received by the terminal PDCP from the upper layer is 100 bytes, PDCP sdu#2 is 80 bytes, PDCP sdu#3 is 100 bytes, PDCP sdu#4 is 30 bytes, the number of maximized packets of the terminal is 3, that is, three packets of PDCP sdu#1, PDCP sdu#2, and PDCP sdu#3 are concatenated into one PDCP SDU, and only two packets of PDCP sdu#1 and PDCP sdu#2 cannot be concatenated.
The terminal can cascade the most data packets into one cascade data packet as much as possible under the condition that the size of the target cascade packet configured on the network side is not exceeded by maximizing the number of the data packets, thereby being more beneficial to saving the terminal cost.
In an embodiment of the present application, the method further includes any one of the following:
under the condition that the terminal receives a data packet of a target service from an upper layer, if the second counter is smaller than or equal to the second target value, the terminal resets and updates the second counter;
the terminal resets the second counter if the second counter is less than or equal to the second target value;
after the second counter is less than or equal to the second target value, in case the terminal receives a first packet of a target service from an upper layer, the terminal enables a new second counter and updates the new second counter.
It should be noted that one second counter may be associated with a plurality of concatenated data packets (it may be understood that the second counter is common to a plurality of concatenated data packets), and it may be understood that in one case, the count value of the second counter is configured based on granularity of a radio bearer, and the same second counter is used for each of the plurality of concatenated data packets corresponding to the radio bearer. Or it may be that one second counter is associated with one concatenated packet (it will be understood that the second counter is not common to multiple concatenated packets). It will be appreciated that in one case the count value of the second counter is configured based on the granularity of the radio bearer, a different second counter is used for the plurality of concatenated data packets corresponding to the radio bearer, but the maximum count value of the different second counter may be the same.
For example, one second counter is associated with M concatenated data packets, or M second counters are associated with M concatenated data packets one by one, where M is an integer greater than 1.
For example, in the case where a second counter is associated with each concatenated packet (it will be understood that a second counter is common to a plurality of concatenated packets), each time a terminal receives a packet of a target service from an upper layer, the second counter adds the number of bytes of the packet based on the current count value, and when the count value of the second counter is less than or equal to the second target value, the terminal concatenates the received packets into one concatenated packet and performs a reset operation on the second counter to an initial value (e.g., 0), and when a packet is subsequently received from the upper layer, the terminal performs an update operation based on the initial value.
Illustratively, the second target value configured by the network side is 300 bytes, PDCP is 100 bytes for PDCP SDU #1 received from the upper layer, PDCP SDU #2 is 100 bytes, and PDCP SDU #3 is 100 bytes. The count value of the second counter is updated to 300 upon receipt of PDCP SDU #3, i.e., equal to the second target value 300. The terminal concatenates three data packets of PDCP SDU #1, PDCP SDU #2, PDCP SDU #3 into one PDCP SDU. Additionally, the terminal performs a reset operation on the second counter, i.e., resets to an initial value of 0. When receiving PDCP SDU #4 as 30 bytes, the count value of the second counter is updated from the initial value 0 to 30.
Alternatively, in the case that one second counter is associated with each concatenated packet (it may be understood that one second counter is common to a plurality of concatenated packets), when a packet is received from an upper layer, if the count value of the second counter has reached the second target value, the terminal will perform a reset operation on the second counter to an initial value, and the second counter starts to recount based on the initial value.
For example, the second target value configured by the network side is 300 bytes, PDCP is 100 bytes for PDCP SDU #1 received from the upper layer, PDCP SDU #2 is 80 bytes, PDCP SDU #3 is 100 bytes, the count value of the second counter is 280, which is smaller than the second target value 300, when PDCP SDU #4 is 30 bytes, if the second counter continues counting, it is larger than the second target value, the terminal concatenates three data packets of PDCP SDU #1, PDCP SDU #2, PDCP SDU #3 into one PDCP SDU, resets and updates the second counter, counts the received PDCP SDU #4 based on the updated second counter, and performs counting of the concatenated data packets of the next round. This scenario, i.e. the case where the second counter is smaller than the second target value, will not be described later.
Alternatively, in the case where one second counter is associated with one concatenated packet (it may be understood that one second counter is not shared by a plurality of concatenated packets), when the count value of the second counter reaches the second target value, if the terminal receives the first packet belonging to the next concatenated packet from the upper layer, the terminal enables a new second counter and updates the new second counter, that is, counts the packets of the next concatenated packet. Illustratively, when the terminal has concatenated three data packets of PDCP SDU #1, PDCP SDU #2, PDCP SDU #3 into one PDCP SDU, the terminal enables a new second counter for receiving PDCP SDU #4 from an upper layer and performs an update operation on the second counter.
In the embodiment of the application, the terminal executes the cascade operation on the data packet of the target service through the second counter, so that the data packet can be better processed by means of the second counter.
Optionally, the terminal performs a concatenation operation on the received data packet of the target service in the target time period based on the time information of the concatenated data packet, including:
The terminal executes cascading operation based on the first timer;
the timing length of the first timer is configured based on the time information of the cascade data packet, and the timing length of the first timer is the target time period.
Illustratively, the first timer may be a timer configured by the network side, and the terminal performs a concatenation operation on the data packet of the target service received in the timing length of the first timer. The terminal performs the concatenation operation based on a first timer, which is started when a first sub-packet of the concatenated data packet arrives, and the data packets arrived during the operation of the first timer are all attributed to one concatenated data packet, and the data packets arrived after the first timer times out are attributed to another concatenated data packet, so that the terminal can better realize the concatenation processing of the data packets by means of the timing of the first timer.
Optionally, the terminal performs a cascading operation based on the first timer, including:
the terminal starts a first timer under the condition that a data packet of a target service is received from an upper layer;
under the condition that the first timer is overtime, the terminal executes cascading operation on the data packet of the target service received in the target time period;
The target time period is a time period from the start of the first timer to the timeout.
For example, when the terminal PDCP receives PDCP SDU #1 from the upper layer, the first timer is started, and when PDCP receives PDCP SDU #2 and PDCP SDU #3 from the upper layer during the operation of the concatenation timer, PDCP concatenates 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 the concatenation processing of the data packets by means of the timing of the first timer.
Optionally, the method further comprises:
and under the condition that the first timer is operated, if the terminal receives the data packet of the target service from the upper layer, the terminal does not restart the first timer.
That is, in the operation time period from the start of the first timer to the timeout of the first timer, the terminal performs the cascade operation on the data packet received in the operation time period, and the terminal does not restart the first timer, so as to avoid the confusion of the cascade operation of the terminal caused by the re-timing of the first timer.
Optionally, the method further comprises any one of the following:
the terminal resets and starts the first timer under the condition that the first data packet associated with the next cascade data packet arrives;
The terminal starts a new first timer in case the first packet associated with the next concatenated packet arrives.
It should be noted that one first timer may be associated with a plurality of concatenated data packets (or the first timer may be common to a plurality of concatenated data packets). It will be appreciated that in one case, the timer value of the first timer is configured based on granularity of the radio bearer, and the same first timer is used for each of the plurality of concatenated data packets corresponding to the radio bearer. Or it may be that a first timer is associated with a concatenated packet (or that the first timer is not common to a plurality of concatenated packets). It will be appreciated that in one case, the timer value of the first timer is configured based on the granularity of the radio bearer, a different first timer is used for the plurality of concatenated data packets corresponding to the radio bearer, but the timer values of the different first timers may be the same.
For example, one first timer is associated with L concatenated data packets, or L first timers are associated with L concatenated data packets one by one, L being an integer greater than 1.
For example, in the case where a first timer is associated with each concatenated packet (it will be understood that the first timer is common to a plurality of concatenated packets), upon arrival of a first packet belonging to a next concatenated packet, the terminal performs a reset and start operation on the first timer to thereby time the next concatenated packet. Illustratively, in the operation period from when the first timer starts to timeout, the terminal PDCP concatenates the three received packets of PDCP sdu#1, PDCP sdu#2, PDCP sdu#3 into one PDCP SDU, and when PDCP receives PDCP sdu#4 from the upper layer, the terminal performs a reset (e.g., reset to 0) and restarts operation on the first timer to restart the timing of a new round.
Alternatively, in the case where a first timer is associated with a concatenated packet (it will be understood that the first timer is not common to multiple concatenated packets), the terminal starts a new first timer when the first packet belonging to the next concatenated packet arrives. Illustratively, in the operation period from the start of the first timer to the timeout, the terminal PDCP starts a new first timer when PDCP receives PDCP SDU #4 from an upper layer after concatenating three data packets of received PDCP SDU #1, PDCP SDU #2, PDCP SDU #3 into one PDCP SDU.
In the embodiment of the application, the terminal executes the cascade operation on the data packet of the target service received in the target time period through the first timer, so that the data packet can be better processed by means of the first timer.
According to the data packet cascade processing method provided by the embodiment of the application, the execution main body can be a data packet cascade processing device. In the embodiment of the application, a processing method for executing the data packet cascade by using the processing device for the data packet cascade is taken as an example, and the processing device for the data packet cascade provided by the embodiment of the application is described.
Referring to fig. 4, fig. 4 is a block diagram of a processing apparatus for packet concatenation according to an embodiment of the present application, and as shown in fig. 4, a processing apparatus 400 for packet concatenation includes:
An obtaining module 401, configured to obtain cascade configuration information;
a concatenation module 402, configured to perform a concatenation operation on a data packet of a target service based on the concatenation configuration information;
wherein the cascade module 402 is configured to:
concatenating at least two data packets into a concatenated data packet, the concatenated data packet being associated with an encapsulation header.
Optionally, the protocol layer of the cascade module 402 performing the cascade operation includes any one of the following:
a packet data convergence protocol PDCP layer;
a service data adaptation protocol SDAP layer;
optionally, the cascade configuration information includes at least one of:
the number information of the cascade data packets;
size information of the concatenated data packet;
time information of concatenated data packets.
Optionally, the cascade module 402 is further configured to perform at least one of:
performing a concatenation operation on a data packet of a target service reaching a target number based on the number information of the concatenated data packet, where the target number is a number indicated by the number information of the concatenated data packet, in a case where the concatenation configuration information includes the number information of the concatenated data packet;
performing a concatenation operation on a data packet of a target service smaller than or equal to a target concatenation packet size based on size information of the concatenation data packet, where the concatenation configuration information includes size information of the concatenation data packet, and the target concatenation packet size is a size of the concatenation data packet indicated by the size information of the concatenation data packet;
And executing cascading operation on the received data packet of the target service in a target time period based on the time information of the cascading data packet under the condition that the cascading configuration information comprises the time information of the cascading data packet, wherein the target time period is a time period indicated by the time information of the cascading data packet.
Optionally, the cascade module 402 is further configured to:
performing a cascading operation based on the first counter;
the first counter is used for counting the number of data packets of the target service received from an upper layer.
Optionally, the cascade module 402 is further configured to:
updating the count value of the first counter in case of receiving a data packet of a target service from an upper layer;
and executing cascading operation on the received data packet of the target service under the condition that the first counter reaches a first target value, wherein the first target value is the value of the target number.
Optionally, the apparatus further includes an execution module, configured to execute any one of the following:
resetting and updating the first counter if the first counter has reached the first target value under the condition that the device receives a data packet of a target service from an upper layer;
Resetting the first counter if the first counter reaches the first target value;
after the first counter reaches the first target value, a new first counter is enabled and updated in case the device receives a first data packet of a target service from an upper layer.
Optionally, the cascade module 402 is further configured to:
performing a cascading operation based on the second counter;
wherein the second counter is used for counting the total bytes of the data packet of the target service received from the upper layer.
Optionally, the cascade module 402 is further configured to:
updating the count value of the second counter in case of receiving a data packet of the target service from an upper layer;
and executing cascading operation on the received data packet of the target service under the condition that the count value of the second counter is smaller than or equal to a second target value, wherein the second target value is the byte number of the target cascading packet size.
Optionally, the cascade module 402 is further configured to:
and maximizing the number M of the data packets, and executing cascading operation on the M data packets, wherein the total byte number of the M data packets is smaller than the byte number of the target cascading packet.
Optionally, the apparatus further includes an execution module, configured to execute any one of the following:
resetting and updating the second counter if the second counter is smaller than or equal to the second target value under the condition that the device receives the data packet of the target service from the upper layer;
resetting the second counter if the second counter is less than or equal to the second target value;
after the second counter is less than or equal to the second target value, enabling a new second counter and updating the new second counter in case the device receives a first packet of target traffic from an upper layer.
Optionally, the cascade module 402 is further configured to:
performing a cascading operation based on the first timer;
the timing length of the first timer is configured based on the time information of the cascade data packet, and the timing length of the first timer is the target time period.
Optionally, the cascade module 402 is further configured to:
starting a first timer in case of receiving a data packet of a target service from an upper layer;
under the condition that the first timer is overtime, performing cascading operation on the data packet of the target service received in the target time period;
The target time period is a time period from the start of the first timer to the timeout.
Optionally, the cascade module 402 is further configured to:
and under the condition that the first timer is operated, if the device receives the data packet of the target service from the upper layer, the first timer is not restarted.
Optionally, the apparatus further includes an execution module, configured to execute any one of the following:
resetting and starting the first timer in case the first packet associated with the next concatenated packet arrives;
a new first timer is started in case the first packet associated with the next concatenated packet arrives.
Optionally, the target service is identified by at least one of the following information:
session identification information;
carrying identification information.
In the embodiment of the present application, the concatenation module 402 performs a concatenation operation on a packet of a target service based on concatenation configuration information, so as to concatenate at least two packets into a concatenated packet, where the concatenated packet is associated with an encapsulation header. Therefore, the device can cascade a plurality of data packets received from an upper layer into one data packet and only needs to associate one encapsulation packet header, so that the head overhead of the device for processing the target service data packet is effectively reduced, and the processing load of the device is further reduced.
The processing apparatus 400 for data packet concatenation in the embodiment of the present application may be an electronic device, for example, an electronic device with an operating system, or may be a component in an electronic device, for example, an integrated circuit or a chip. The electronic device may be a terminal, or may be other devices than a terminal. By way of example, terminals may include, but are not limited to, the types of terminals 11 listed above, other devices may be servers, network attached storage (Network Attached Storage, NAS), etc., and embodiments of the application are not specifically limited.
The processing device 400 for data packet concatenation provided in the embodiment of the present application can implement each process implemented by the terminal in the method embodiment of fig. 3, and achieve the same technical effects, and in order to avoid repetition, a detailed description is omitted here.
Optionally, as shown in fig. 5, the embodiment of the present application further provides a communication device 500, including a processor 501 and a memory 502, where the memory 502 stores a program or instructions that can be executed on the processor 501, for example, when the communication device 500 is a terminal, the program or instructions implement each step of the embodiment of the method of fig. 3 when executed by the processor 501, and the same technical effects can be achieved, so that repetition is avoided and redundant description is omitted herein.
The embodiment of the application also provides a terminal, which comprises a processor and a communication interface, wherein the processor is used for acquiring cascading configuration information and executing cascading operation on the data packet of the target service based on the cascading configuration information; the method is particularly used for cascading at least two data packets into a cascading data packet, and the cascading data packet is associated with an encapsulation packet header. The terminal embodiment corresponds to the terminal-side method embodiment, and each implementation process and implementation manner of the method embodiment can be applied to the terminal embodiment, and the same technical effects can be achieved. Specifically, fig. 6 is a schematic diagram of a hardware structure of a terminal for implementing an embodiment of the present application.
The terminal 600 includes, but is not limited to: at least some of the components of the radio frequency unit 601, the network module 602, the audio output unit 603, the input unit 604, the sensor 605, the display unit 606, the user input unit 607, the interface unit 608, the memory 609, and the processor 610, etc.
Those skilled in the art will appreciate that the terminal 600 may further include a power source (e.g., a battery) for powering the various components, and the power source may be logically coupled to the processor 610 by a power management system so as to perform functions such as managing charging, discharging, and power consumption by the power management system. The terminal structure shown in fig. 6 does not constitute a limitation of the terminal, and the terminal may include more or less components than shown, or may combine certain components, or may be arranged in different components, which will not be described in detail herein.
It should be appreciated that in embodiments of the present application, the input unit 604 may include a graphics processing unit (Graphics Processing Unit, GPU) 6041 and a microphone 6042, with the graphics processor 6041 processing image data of still pictures or video obtained by an image capturing apparatus (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 606 may include a display panel 6061, and the display panel 6061 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 at least one of a touch panel 6071 and other input devices 6072. The touch panel 6071 is also called a touch screen. The touch panel 6071 may include two parts of a touch detection device and a touch controller. Other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein.
In the embodiment of the present application, after receiving downlink data from the network side device, the radio frequency unit 601 may transmit the downlink data to the processor 610 for processing; in addition, the radio frequency unit 601 may send uplink data to the network side device. Typically, 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, and the like.
The memory 609 may be used to store software programs or instructions and various data. The memory 609 may mainly include a first storage area storing programs or instructions and a second storage area storing data, wherein the first storage area may store an operating system, application programs or instructions (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory 609 may include volatile memory or nonvolatile memory, or the memory 609 may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM), static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (ddr SDRAM), enhanced SDRAM (Enhanced SDRAM), synchronous DRAM (SLDRAM), and Direct RAM (DRRAM). Memory 609 in embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
The processor 610 may include one or more processing units; optionally, the processor 610 integrates an application processor that primarily processes operations involving an operating system, user interface, application programs, etc., and a modem processor that primarily processes wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor 610.
The processor 610 is configured to obtain concatenation configuration information, and perform concatenation operation on a data packet of a target service based on the concatenation configuration information; the method is particularly used for cascading at least two data packets into a cascading data packet, and the cascading data packet is associated with an encapsulation packet header.
Optionally, the protocol layer of the processor 610 performing the cascading operation includes any one of the following:
a packet data convergence protocol PDCP layer;
service data adaptation protocol SDAP layer.
Optionally, the cascade configuration information includes at least one of:
the number information of the cascade data packets;
size information of the concatenated data packet;
time information of concatenated data packets.
Optionally, the processor 610 is further configured to perform at least one of:
Performing a concatenation operation on a data packet of a target service reaching a target number based on the number information of the concatenated data packet, where the target number is a number indicated by the number information of the concatenated data packet, in a case where the concatenation configuration information includes the number information of the concatenated data packet;
performing a concatenation operation on a data packet of a target service smaller than or equal to a target concatenation packet size based on size information of the concatenation data packet, where the concatenation configuration information includes size information of the concatenation data packet, and the target concatenation packet size is a size of the concatenation data packet indicated by the size information of the concatenation data packet;
and executing cascading operation on the received data packet of the target service in a target time period based on the time information of the cascading data packet under the condition that the cascading configuration information comprises the time information of the cascading data packet, wherein the target time period is a time period indicated by the time information of the cascading data packet.
Optionally, the processor 610 is further configured to:
performing a cascading operation based on the first counter;
the first counter is used for counting the number of data packets of the target service received from an upper layer.
Optionally, the processor 610 is further configured to:
updating the count value of the first counter in case of receiving a data packet of a target service from an upper layer;
and executing cascading operation on the received data packet of the target service under the condition that the first counter reaches a first target value, wherein the first target value is the value of the target number.
Optionally, the processor 610 is further configured to perform any one of the following:
resetting and updating the first counter if the first counter has reached the first target value under the condition that the terminal receives a data packet of a target service from an upper layer;
resetting the first counter if the first counter reaches the first target value;
after the first counter reaches the first target value, in the case that the terminal receives a first data packet of a target service from an upper layer, a new first counter is enabled and updated.
Optionally, the processor 610 is further configured to:
performing a cascading operation based on the second counter;
wherein the second counter is used for counting the total bytes of the data packet of the target service received from the upper layer.
Optionally, the processor 610 is further configured to:
updating the count value of the second counter in case of receiving a data packet of the target service from an upper layer;
and executing cascading operation on the received data packet of the target service under the condition that the count value of the second counter is smaller than or equal to a second target value, wherein the second target value is the byte number of the target cascading packet size.
Optionally, the processor 610 is further configured to:
and maximizing the number M of the data packets, and executing cascading operation on the M data packets, wherein the total byte number of the M data packets is smaller than the byte number of the target cascading packet.
Optionally, the processor 610 is further configured to perform any one of the following:
resetting and updating the second counter if the second counter is smaller than or equal to the second target value under the condition that the terminal receives the data packet of the target service from the upper layer;
resetting the second counter if the second counter is less than or equal to the second target value;
and after the second counter is smaller than or equal to the second target value, enabling a new second counter and updating the new second counter in the case that the terminal receives a first data packet of target service from an upper layer.
Optionally, the processor 610 is further configured to:
performing a cascading operation based on the first timer;
the timing length of the first timer is configured based on the time information of the cascade data packet, and the timing length of the first timer is the target time period.
Optionally, the processor 610 is further configured to:
starting a first timer in case of receiving a data packet of a target service from an upper layer;
under the condition that the first timer is overtime, performing cascading operation on the data packet of the target service received in the target time period;
the target time period is a time period from the start of the first timer to the timeout.
Optionally, the processor 610 is further configured to:
and under the condition that the first timer runs, if the terminal receives the data packet of the target service from an upper layer, not restarting the first timer.
Optionally, the processor 610 is further configured to perform any one of the following:
resetting and starting the first timer in case the first packet associated with the next concatenated packet arrives;
a new first timer is started in case the first packet associated with the next concatenated packet arrives.
Optionally, the target service is identified by at least one of the following information:
session identification information;
carrying identification information.
In the embodiment of the application, the terminal executes cascading operation on the data packets of the target service based on cascading configuration information, so as to cascade at least two data packets into a cascading data packet, and the cascading data packet is associated with an encapsulation packet header. Therefore, the terminal can cascade a plurality of data packets received from an upper layer into one data packet and only needs to associate one encapsulation packet header, so that the header overhead of the terminal for processing the target service data packet is effectively reduced, and the processing load of the terminal is further reduced.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the embodiment of the method described in fig. 3, and the same technical effects can be achieved, so that repetition is avoided, and no further description is given here.
Wherein the processor is a processor in the terminal described in the above embodiment. The readable storage medium includes computer readable storage medium such as computer readable memory ROM, random access memory RAM, magnetic or optical disk, etc.
The embodiment of the application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or instructions, so as to implement each process of the embodiment of the method described in fig. 3, and achieve the same technical effects, so that repetition is avoided, and no further description is given here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, or the like.
The embodiment of the present application further provides a computer program/program product, where 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 respective processes of the embodiment of the method described in fig. 3, and the same technical effects are achieved, so that repetition is avoided and details are not repeated herein.
The embodiment of the application also provides a communication system, which comprises: the terminal and the network side device, the terminal may be used to execute the steps of the data packet concatenation processing method as described above, and the same technical effects can be achieved, so that repetition is avoided, and details are not repeated here.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a computer software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are to be protected by the present application.

Claims (34)

1. A method for processing a concatenation of data packets, comprising:
the terminal acquires cascading configuration information;
the terminal executes cascading operation on the data packet of the target service based on the cascading configuration information;
the step of performing concatenation operation on the data packet of the target service includes:
concatenating at least two data packets into a concatenated data packet, the concatenated data packet being associated with an encapsulation header.
2. The method according to claim 1, wherein the protocol layer of the terminal performing the tandem operation comprises any one of the following:
a packet data convergence protocol PDCP layer;
service data adaptation protocol SDAP layer.
3. The method of claim 1, wherein the cascade configuration information comprises at least one of:
the number information of the cascade data packets;
size information of the concatenated data packet;
time information of concatenated data packets.
4. A method according to claim 3, wherein the terminal performs a concatenation operation on the data packet of the target service based on the concatenation configuration information, including at least one of:
in the case that the concatenation configuration information includes the number information of the concatenation data packets, the terminal performs concatenation operation on the data packets of the target service reaching a target number based on the number information of the concatenation data packets, where the target number is the number indicated by the number information of the concatenation data packets;
In the case that the cascade configuration information includes size information of the cascade data packet, the terminal performs a cascade operation on a data packet of a target service smaller than or equal to a target cascade packet size based on the size information of the cascade data packet, the target cascade packet size being a size of the cascade data packet indicated by the size information of the cascade data packet;
and under the condition that the cascade configuration information comprises the time information of the cascade data packet, the terminal executes cascade operation on the received data packet of the target service in a target time period based on the time information of the cascade data packet, wherein the target time period is a time period indicated by the time information of the cascade data packet.
5. The method of claim 4, wherein the terminal performs concatenation operation on the data packets of the target service reaching the target number based on the number information of the concatenated data packets, comprising:
the terminal executes cascading operation based on the first counter;
the first counter is used for counting the number of data packets of the target service received from an upper layer.
6. The method of claim 5, wherein the terminal performs a cascading operation based on the first counter, comprising:
In case of receiving a data packet of a target service from an upper layer, the terminal updates a count value of the first counter;
and under the condition that the first counter reaches a first target value, the terminal executes cascading operation on the received data packets of the target service, wherein the first target value is the value of the target number.
7. The method of claim 6, further comprising any one of:
under the condition that the terminal receives a data packet of a target service from an upper layer, if the first counter has reached the first target value, the terminal resets and updates the first counter;
the terminal resets the first counter under the condition that the first counter reaches the first target value;
after the first counter reaches the first target value, in the case that the terminal receives a first data packet of a target service from an upper layer, the terminal enables a new first counter and updates the new first counter.
8. The method according to claim 4, wherein the terminal performs concatenation operation on the data packet of the target service reaching the target concatenation packet size based on the size information of the concatenated data packet, including:
The terminal executes cascading operation based on the second counter;
wherein the second counter is used for counting the total bytes of the data packet of the target service received from the upper layer.
9. The method of claim 8, wherein the terminal performs a cascading operation based on the second counter, comprising:
in case of receiving a data packet of a target service from an upper layer, the terminal updates a count value of the second counter;
and under the condition that the count value of the second counter is smaller than or equal to a second target value, the terminal executes cascading operation on the received data packet of the target service, wherein the second target value is the byte number of the target cascading packet size.
10. The method according to claim 9, wherein the terminal performs concatenation operation on the data packet of the target service reaching the target concatenation packet size based on the size information of the concatenated data packet, including:
the terminal maximizes the number M of data packets and performs cascading operation on the M data packets, wherein the total byte number of the M data packets is smaller than the byte number of the target cascading packet.
11. The method according to claim 9 or 10, characterized in that the method further comprises any one of the following:
Under the condition that the terminal receives a data packet of a target service from an upper layer, if the second counter is smaller than or equal to the second target value, the terminal resets and updates the second counter;
the terminal resets the second counter if the second counter is less than or equal to the second target value;
after the second counter is less than or equal to the second target value, in case the terminal receives a first packet of a target service from an upper layer, the terminal enables a new second counter and updates the new second counter.
12. The method of claim 4, wherein the terminal performs the concatenation operation on the received data packet of the target service for the target period based on the time information of the concatenated data packet, including:
the terminal executes cascading operation based on the first timer;
the timing length of the first timer is configured based on the time information of the cascade data packet, and the timing length of the first timer is the target time period.
13. The method of claim 12, wherein the terminal performs a cascading operation based on the first timer, comprising:
The terminal starts a first timer under the condition that a data packet of a target service is received from an upper layer;
under the condition that the first timer is overtime, the terminal executes cascading operation on the data packet of the target service received in the target time period;
the target time period is a time period from the start of the first timer to the timeout.
14. The method of claim 13, wherein the method further comprises:
and under the condition that the first timer runs, if the terminal receives the data packet of the target service from an upper layer, the terminal does not restart the first timer.
15. The method of claim 12, further comprising any one of:
the terminal resets and starts the first timer under the condition that the first data packet associated with the next cascade data packet arrives;
the terminal starts a new first timer in case the first packet associated with the next concatenated packet arrives.
16. The method of claim 1, wherein the target traffic is identified by at least one of the following information:
session identification information;
carrying identification information.
17. A processing apparatus for data packet concatenation, comprising:
the acquisition module is used for acquiring cascade configuration information;
the cascade module is used for executing cascade operation on the data packet of the target service based on the cascade configuration information;
wherein, the cascade module is used for:
concatenating at least two data packets into a concatenated data packet, the concatenated data packet being associated with an encapsulation header.
18. The apparatus of claim 17, wherein the protocol layer of the cascading module performing the cascading operation comprises any one of:
a packet data convergence protocol PDCP layer;
service data adaptation protocol SDAP layer.
19. The apparatus of claim 17, wherein the cascade configuration information comprises at least one of:
the number information of the cascade data packets;
size information of the concatenated data packet;
time information of concatenated data packets.
20. The apparatus of claim 19, wherein the cascade module is further configured to perform at least one of:
performing a concatenation operation on a data packet of a target service reaching a target number based on the number information of the concatenated data packet, where the target number is a number indicated by the number information of the concatenated data packet, in a case where the concatenation configuration information includes the number information of the concatenated data packet;
Performing a concatenation operation on a data packet of a target service smaller than or equal to a target concatenation packet size based on size information of the concatenation data packet, where the concatenation configuration information includes size information of the concatenation data packet, and the target concatenation packet size is a size of the concatenation data packet indicated by the size information of the concatenation data packet;
and executing cascading operation on the received data packet of the target service in a target time period based on the time information of the cascading data packet under the condition that the cascading configuration information comprises the time information of the cascading data packet, wherein the target time period is a time period indicated by the time information of the cascading data packet.
21. The apparatus of claim 20, wherein the cascade module is further configured to:
performing a cascading operation based on the first counter;
the first counter is used for counting the number of data packets of the target service received from an upper layer.
22. The apparatus of claim 21, wherein the cascade module is further configured to:
updating the count value of the first counter in case of receiving a data packet of a target service from an upper layer;
And executing cascading operation on the received data packet of the target service under the condition that the first counter reaches a first target value, wherein the first target value is the value of the target number.
23. The apparatus of claim 22, further comprising an execution module to perform any one of:
resetting and updating the first counter if the first counter has reached the first target value under the condition that the device receives a data packet of a target service from an upper layer;
resetting the first counter if the first counter reaches the first target value;
after the first counter reaches the first target value, a new first counter is enabled and updated in case the device receives a first data packet of a target service from an upper layer.
24. The apparatus of claim 20, wherein the cascade module is further configured to:
performing a cascading operation based on the second counter;
wherein the second counter is used for counting the total bytes of the data packet of the target service received from the upper layer.
25. The apparatus of claim 24, wherein the cascade module is further configured to:
updating the count value of the second counter in case of receiving a data packet of the target service from an upper layer;
and executing cascading operation on the received data packet of the target service under the condition that the count value of the second counter is smaller than or equal to a second target value, wherein the second target value is the byte number of the target cascading packet size.
26. The apparatus of claim 25, wherein the cascade module is further configured to:
and maximizing the number M of the data packets, and executing cascading operation on the M data packets, wherein the total byte number of the M data packets is smaller than the byte number of the target cascading packet.
27. The apparatus according to claim 25 or 26, further comprising an execution module for executing any one of:
resetting and updating the second counter if the second counter is smaller than or equal to the second target value under the condition that the device receives the data packet of the target service from the upper layer;
resetting the second counter if the second counter is less than or equal to the second target value;
After the second counter is less than or equal to the second target value, enabling a new second counter and updating the new second counter in case the device receives a first packet of target traffic from an upper layer.
28. The apparatus of claim 20, wherein the cascade module is further configured to:
performing a cascading operation based on the first timer;
the timing length of the first timer is configured based on the time information of the cascade data packet, and the timing length of the first timer is the target time period.
29. The apparatus of claim 28, wherein the cascade module is further configured to:
starting a first timer in case of receiving a data packet of a target service from an upper layer;
under the condition that the first timer is overtime, performing cascading operation on the data packet of the target service received in the target time period;
the target time period is a time period from the start of the first timer to the timeout.
30. The apparatus of claim 29, wherein the cascade module is further configured to:
and under the condition that the first timer is operated, if the device receives the data packet of the target service from the upper layer, the first timer is not restarted.
31. The apparatus of claim 29, further comprising an execution module to perform any one of:
resetting and starting the first timer in case the first packet associated with the next concatenated packet arrives;
a new first timer is started in case the first packet associated with the next concatenated packet arrives.
32. The apparatus of claim 17, wherein the target traffic is identified by at least one of the following information:
session identification information;
carrying identification information.
33. A terminal comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the method of processing a concatenation of data packets according to any one of claims 1 to 16.
34. A readable storage medium, characterized in that the readable storage medium has stored thereon a program or instructions which, when executed by a processor, implement the steps of the method of processing a concatenation of data packets according to any of claims 1 to 16.
CN202210503562.2A 2022-05-09 2022-05-09 Data packet cascade processing method, device, terminal and readable storage medium Pending CN117082567A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210503562.2A CN117082567A (en) 2022-05-09 2022-05-09 Data packet cascade processing method, device, terminal and readable storage medium
PCT/CN2023/092430 WO2023217013A1 (en) 2022-05-09 2023-05-06 Data packet cascade processing method and device, terminal and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210503562.2A CN117082567A (en) 2022-05-09 2022-05-09 Data packet cascade processing method, device, terminal and readable storage medium

Publications (1)

Publication Number Publication Date
CN117082567A true CN117082567A (en) 2023-11-17

Family

ID=88718101

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210503562.2A Pending CN117082567A (en) 2022-05-09 2022-05-09 Data packet cascade processing method, device, terminal and readable storage medium

Country Status (2)

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

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101932128B (en) * 2009-06-25 2013-03-13 电信科学技术研究院 Data receiving, transmitting and processing method and equipment for data link layer
CN105992242B (en) * 2015-03-06 2019-07-26 电信科学技术研究院 A kind of configuration method, data transmission method and the equipment of air protocol stack
WO2017171910A1 (en) * 2016-03-31 2017-10-05 Intel IP Corporation Packet data convergence protocol (pdcp) concatenation for high data rate
CN109413692A (en) * 2017-08-18 2019-03-01 深圳市海思半导体有限公司 Transmission method, transmitting terminal and receiving end
CN115884312A (en) * 2021-09-27 2023-03-31 华为技术有限公司 Communication method and related device

Also Published As

Publication number Publication date
WO2023217013A1 (en) 2023-11-16

Similar Documents

Publication Publication Date Title
CN107612643B (en) Channel detection method and channel detection equipment
KR102133012B1 (en) Media streaming method and electronic device thereof
CN109587704B (en) Information transmission method, terminal, network device and computer readable storage medium
CN110798896B (en) Transmission method, terminal equipment and network side equipment
CN117082567A (en) Data packet cascade processing method, device, terminal and readable storage medium
EP4311299A1 (en) Transmission processing method and apparatus, and communication device
CN117082005A (en) Data packet discarding processing method, device, terminal and readable storage medium
CN116264718A (en) Conditional cell transformation method, device, UE and network equipment
WO2023066114A1 (en) Data processing method and apparatus, and terminal
US20240137857A1 (en) Relay selection method and apparatus, relay information transmission method and apparatus, and terminal
WO2023030329A1 (en) Data transmission method, and device
CN116828581A (en) Information sending method, information receiving method, sending terminal and receiving terminal
CN116963104A (en) DRX parameter configuration method, device, communication equipment and storage medium
CN117241315A (en) Transmission method, terminal and network side equipment of PDCPDU (packet data control protocol data unit)
CN117014976A (en) Cell switching method, device, terminal and network side equipment
CN117998402A (en) Gap information reporting method, device, communication equipment, system and storage medium
CN116567765A (en) Data forwarding method, device, terminal equipment and network equipment
CN116566561A (en) Information transmission method, device, terminal and storage medium
CN115914000A (en) Data monitoring method and device, data sending end and readable storage medium
CN117676858A (en) PRS (packet radio service) receiving method and device and terminal
CN116017501A (en) Information configuration method, device, network side equipment and terminal
CN117998349A (en) Capability indication method, device, terminal, network side equipment and readable storage medium
CN116634571A (en) Reference signal receiving and transmitting method and device, terminal and network side equipment
CN116471614A (en) Transmission processing method, transmission processing device, communication equipment and readable storage medium
CN118042581A (en) Method and device for reporting UE auxiliary information and user equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination