CN112751775A - Data packet processing method and related device - Google Patents

Data packet processing method and related device Download PDF

Info

Publication number
CN112751775A
CN112751775A CN202011619037.4A CN202011619037A CN112751775A CN 112751775 A CN112751775 A CN 112751775A CN 202011619037 A CN202011619037 A CN 202011619037A CN 112751775 A CN112751775 A CN 112751775A
Authority
CN
China
Prior art keywords
pdcp
buffer area
pdcp pdu
size
rlc
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
CN202011619037.4A
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.)
Unisoc Chongqing Technology Co Ltd
Original Assignee
Unisoc Chongqing Technology 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 Unisoc Chongqing Technology Co Ltd filed Critical Unisoc Chongqing Technology Co Ltd
Priority to CN202011619037.4A priority Critical patent/CN112751775A/en
Publication of CN112751775A publication Critical patent/CN112751775A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/30Flow control; Congestion control in combination with information about buffer occupancy at either end or at transit nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/36Flow control; Congestion control by determining packet size, e.g. maximum transfer unit [MTU]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/82Miscellaneous aspects
    • H04L47/821Prioritising resource allocation or reservation requests

Landscapes

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

Abstract

The embodiment of the application discloses a data packet processing method and a related device, wherein the method comprises the following steps: the PDCP entity compares the size of the idle area of the RLC buffer area with the size of the PDCP PDU to be sent; if the free area of the RLC buffer area is smaller than the size of the PDCP PDU, the PDCP entity stores the PDCP PDU in the PDCP buffer area in sequence based on the priority corresponding to the type of the PDCP PDU. By adopting the invention, the data transmission efficiency can be improved.

Description

Data packet processing method and related device
Technical Field
The present invention relates to the field of communications, and in particular, to a data packet processing method and related apparatus.
Background
In an existing communication system, Data transmission between a User Equipment (UE) and an evolved Node B (eNB) generally passes through a Packet Data Convergence Protocol (PDCP) layer, a Radio Link Control (RLC) layer, a Medium Access Control (MAC) layer and a physical layer. Each layer performs a different data processing. The packet data convergence protocol has the main functions of: header compression of Internet Protocol (IP) data packets, encryption and decryption of data, timer discard, retransmission during reconstruction, and reordering processing.
With the arrival of the 5G era, users often perform multiple data services such as voice call or video download at the same time, but different services have different requirements for data delay, so that voice call is easily blocked by services such as video download and the like in such mixed services, and user experience is affected. However, in the present phase, in the data transmission process, different types of data packets are in a hybrid transmission mode, and situations such as determining that a large number of request packets are blocked by a packet and not being fed back to the opposite end in time easily occur, so that data is lost, and a large time delay is caused to a data service.
Disclosure of Invention
The embodiment of the application provides a data packet processing method and a related device, which can improve the efficiency of data service transmission.
In a first aspect, an embodiment of the present application provides a method for processing a data packet, where the method includes: the method comprises the steps that a Packet Data Convergence Protocol (PDCP) entity compares the size of an idle area of a radio link layer control protocol (RLC) buffer area with the size of a PDCP PDU to be sent, wherein the RLC buffer area is used for storing the PDCP PDU sent by the PDCP entity by the RLC entity; if the idle area of the RLC buffer area is smaller than the size of the PDCP PDUs, the PDCP entity stores the PDCP PDUs in the PDCP buffer area in sequence based on the priority corresponding to the type of the PDCP PDUs. By the method, the efficiency of data service transmission can be improved.
With reference to the first aspect, in a possible implementation manner, if the free area of the RLC buffer is greater than or equal to the size of the first PDCP PDU sequenced in the PDCP buffer, the PDCP entity sends the first PDCP PDU sequenced to the RLC entity.
With reference to the first aspect, in a possible implementation manner, the storing, by the PDCP entity, the PDCP PDU in the PDCP buffer in order based on the priority corresponding to the PDCP PDU type includes: the PDCP entity determines a buffer memory region corresponding to the PDCP PDU based on the data service type of the PDCP PDU, wherein the buffer memory region is a service buffer memory region in the PDCP buffer memory regions; the PDCP entity stores the PDCP PDU in a buffer area corresponding to the PDCP PDU based on the priority corresponding to the PDCP PDU type.
With reference to the first aspect, in a possible implementation manner, in a service buffer area of the PDCP buffer area, a sorting position of a feedback packet of a download service is located before a sorting position of a data packet of an uplink service.
With reference to the first aspect, in a possible implementation manner, if the free area of the RLC buffer is smaller than the size of the PDCP PDU and the data service type of the PDCP PDU is VoLTE, the PDCP entity modifies the size of the RLC buffer and sends the PDCP PDU to the RLC entity.
With reference to the first aspect, in a possible implementation manner, when the PDCP entity detects that the PDCP PDU is sent to the receiving device, the PDCP entity restores the RLC buffer size to the size before modification.
With reference to the first aspect, in a possible implementation manner, if the free area of the RLC buffer is smaller than the size of the first PDCP PDU sorted in the PDCP buffer, the PDCP entity determines again whether the free area of the RLC entity buffer is greater than or equal to the size of the first PDCP PDU sorted in the PDCP buffer after a preset time.
In a second aspect, an embodiment of the present application provides a communication apparatus, which includes a processing unit and a storage unit, where: the processing unit is used for comparing the size of an idle area of the RLC buffer area with the size of the PDCP PDU to be sent; the storage unit is configured to store the PDCP PDUs in the PDCP buffer in order based on the priority corresponding to the PDCP PDU type if the idle area of the RLC buffer is smaller than the size of the PDCP PDU.
With reference to the second aspect, in a possible implementation manner, the communication apparatus further includes a sending unit, where the sending unit is specifically configured to: and if the idle area of the RLC buffer area is larger than or equal to the size of the first sequenced PDCP PDU in the PDCP buffer area, sending the first sequenced PDCP PDU to the RLC entity.
With reference to the second aspect, in a possible implementation manner, the PDCP PDUs are stored in a PDCP buffer in order based on a priority corresponding to the PDCP PDU type, and the storage unit is further configured to: determining a buffer area corresponding to the PDCP PDU based on the data service type of the PDCP PDU, wherein the buffer area is a service buffer area in the PDCP buffer areas; and storing the PDCP PDU in a buffer area corresponding to the PDCP PDU based on the priority corresponding to the PDCP PDU type.
With reference to the second aspect, in a possible implementation manner, in a service buffer area of the PDCP buffer area, a sorting position of a feedback packet of a download service is located before a sorting position of a data packet of an uplink service.
With reference to the second aspect, in a possible implementation manner, the communication apparatus further includes a sending unit: the processing unit is further configured to modify the size of the RLC buffer area if the idle area of the RLC buffer area is smaller than the size of the PDCP PDU and the data service type of the PDCP PDU is VoLTE; the sending unit is configured to send the PDCP PDU to the RLC entity if the idle area of the RLC buffer is smaller than the size of the PDCP PDU and the data service type of the PDCP PDU is VoLTE.
With reference to the second aspect, in a possible implementation manner, the processing unit is further configured to: and detecting that the PDCP PDU is sent to a receiving device, and restoring the RLC buffer size to the size before modification.
With reference to the second aspect, in a possible implementation manner, the communication apparatus further includes a timing unit, where the timing unit is specifically configured to: if the idle area of the RLC buffer area is smaller than the size of the first sequenced PDCP PDU in the PDCP buffer area, re-determining whether the idle area of the RLC entity buffer area is larger than or equal to the size of the first sequenced PDCP PDU in the PDCP buffer area after the preset time.
In a third aspect, the present application provides a communication device, comprising a memory for storing a computer program comprising program instructions and a processor configured to invoke the program instructions to perform the method of the first aspect and any possible implementation manner thereof.
In a fourth aspect, the present application provides a computer-readable storage medium for storing a computer program, the computer program causing a computer to perform the method of the first aspect and any possible implementation manner thereof.
In a fifth aspect, the present application provides a chip, where the chip includes a processor and a data interface, and the processor reads instructions stored in a memory through the data interface to execute the method in the first aspect and any possible implementation manner thereof.
In a sixth aspect, the present application provides a chip module including the chip as described in the fifth aspect.
In the embodiment of the application, the PDCP entity compares the size of the idle area of the RLC buffer with the size of the PDCP PDU to be sent, and if the idle area of the RLC buffer is smaller than the size of the PDCP PDU, the PDCP entity stores the PDCP PDU in the PDCP buffer in sequence based on the priority corresponding to the type of the PDCP PDU. By the method provided by the embodiment of the application, the data transmission efficiency can be improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic diagram of a network architecture provided in an embodiment of the present application;
fig. 2 is a protocol architecture for transmitting data according to an embodiment of the present disclosure;
fig. 3 is a flowchart of a data processing method provided in an embodiment of the present application;
fig. 4 is a schematic diagram of a PDCP buffer structure according to an embodiment of the present application;
FIG. 5 is a flow chart of yet another data processing method provided by an embodiment of the present application;
fig. 6 is a schematic structural diagram of a communication device according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of another communication device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terminology used in the following embodiments of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the present application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," "the," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the listed items.
It should be noted that the terms "first," "second," "third," and the like in the description and claims of the present application and in the above-described drawings 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 data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in other sequences than described or illustrated herein. Furthermore, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or server that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The embodiment of the present application may be applied to the network architecture schematic diagram shown in fig. 1, where the network architecture shown in fig. 1 is a network architecture of a wireless communication system, the network architecture generally includes a terminal device and a network device, and the number and the form of each device do not constitute a limitation to the embodiment of the present application. The network device may be a Base Station (BS), and the BS may provide communication services to multiple terminal devices, and multiple Base stations may also provide communication services to the same terminal device.
It should be noted that, the wireless communication system in the embodiment of the present application includes, but is not limited to: narrowband band-internet of things (NB-IoT), Enhanced Machine Communication (eMTC), global system for mobile communications (GSM), Enhanced data rate for GSM Evolution (EDGE), Wideband Code Division Multiple Access (WCDMA), code division multiple access (code division multiple access, CDMA2000), time division-synchronous code division multiple access (time division-synchronization code division multiple access, TD-SCDMA), Long Term Evolution (LTE), Long Term Evolution (Long Term Evolution) cable 1, fifth generation mobile Communication (5G-5), and future mobile Communication systems.
The terminal device related to the embodiment of the present application may also be referred to as a terminal, and may be a device with a wireless transceiving function, which may be deployed on land, including indoors or outdoors, handheld or vehicle-mounted; can also be deployed on the water surface (such as a ship and the like); and may also be deployed in the air (e.g., airplanes, balloons, satellites, etc.). The terminal device may be a User Equipment (UE), wherein the UE includes a handheld device, a vehicle-mounted device, a wearable device, or a computing device having wireless communication functionality. Illustratively, the UE may be a mobile phone (mobile phone), a tablet computer, or a computer with wireless transceiving function. The terminal device may also be a Virtual Reality (VR) terminal device, an Augmented Reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in unmanned driving, a wireless terminal in telemedicine, a wireless terminal in smart grid, a wireless terminal in smart city (smart city), a wireless terminal in smart home (smart home), and so on. In the embodiment of the present application, the apparatus for implementing the function of the terminal may be a terminal; it may also be a device, such as a system-on-chip, capable of supporting the terminal to implement the function, which may be installed in the terminal. In the embodiment of the present application, the chip system may be composed of a chip, and may also include a chip and other discrete devices.
The network device related to the embodiment of the present application includes a Base Station (BS), which may be a device deployed in a radio access network and capable of performing wireless communication with a terminal. The base station may have various forms, such as a macro base station, a micro base station, a relay station, an access point, and the like. For example, the base station related to the embodiment of the present application may be an evolved Node B (eNB). In the embodiment of the present application, the apparatus for implementing the function of the network device may be a network device; or may be a device, such as a system-on-chip, capable of supporting the network device to implement the function, and the device may be installed in the network device.
Referring to fig. 2, fig. 2 is a protocol architecture for transmitting data according to an embodiment of the present disclosure. The output transmission Protocol architecture between the network device and the terminal device shown in fig. 2 mainly includes a Packet Data Convergence Protocol (PDCP) layer, a Radio Link Control (RLC) layer, a Media Access Control (MAC) layer, and a physical layer. Different data processing functions exist between each layer of protocol, and the PDCP layer mainly performs security operation and header compression and decompression processing, such as encryption and integrity protection; the RLC layer mainly completes the segmented concatenation and sequential delivery of data and the data transmission guarantee of Automatic Repeat Request (ARQ); the MAC layer mainly completes scheduling, cascade processing of different logical channels, and Hybrid Automatic Repeat Request (HARQ) operation; the physical layer completes transmission block packetization and air interface transmission.
With the advent of the 5G era, users often perform multiple data services such as voice calls or video downloads at the same time, but different services have different requirements for data delay, so that the voice calls are easily blocked by the services such as video downloads in such mixed services, and the user experience is affected. Under the circumstance, a mode of preferentially transmitting the voice call service is usually adopted, and the video downloading service with low time delay requirement is suspended, so that the data service requirement is met. However, in the data transmission process, different types of data packets are transmitted in a hybrid manner, and it is easy to cause data loss and a large delay to the data service if a large number of request packets are blocked and are not fed back to the opposite end in time.
Referring to fig. 3, fig. 3 is a flowchart illustrating a method for processing a data packet according to an embodiment of the present application based on the network architecture and the device described in the foregoing. The data packet processing method comprises a step S101 to a step S102, wherein:
s101, the PDCP entity compares the size of the idle area of the RLC buffer area with the size of the PDCP PDU to be sent.
In the embodiment of the present application, the PDCP PDU is generated by a PDCP entity according to a Service Data Unit (SDU) transmitted by a higher layer (for example, an application layer). Optionally, the PDCP entity adds a PDCP header to the SDU, thereby generating the PDCP PDU.
In a possible implementation manner, if the SDU is configured with header compression, the PDCP entity performs header compression processing on the SDU; if ciphering is configured for the SDU, the PDCP entity performs ciphering on the data.
In the embodiment of the application, the RLC buffer is used for the RLC entity to store the PDCP PDUs sent by the PDCP entity, and when the RLC buffer has an idle size capable of storing the PDCP PDUs to be sent by the PDCP entity, the RLC entity receives the PDCP PDUs sent by the PDCP entity.
In the embodiment of the present application, the method for the PDCP entity to compare whether the size of the idle area of the RLC buffer is smaller than the size of the PDCP PDU to be sent includes: the PDCP entity acquires a first parameter value and a second parameter value, wherein the size of the first parameter value is the size of the data volume stored in the RLC buffer area at present, and the size of the second parameter value is the size of the space of the RLC buffer area; the PDCP entity acquires the size of an idle area of the RLC buffer area based on the first parameter value and the second parameter value, wherein the size of the idle area of the RLC buffer area is the difference between the first parameter value and the second parameter value; the PDCP entity compares the size of the free area of the RLC buffer with the size of the PDCP PDU.
Wherein, the change rule of the second parameter is as follows: when the PDCP entity sends data to the RLC entity, the second parameter value is increased, and the increase is the size of the data volume; when the MAC entity reads the data sent by the RLC, the second parameter value is reduced by the size of the data quantity.
It should be noted that, besides the change rule of the second parameter described in the above, other manners may also exist, and details are not described here.
S102, if the free area of the RLC buffer area is smaller than the size of the PDCP PDU, the PDCP entity stores the PDCP PDUs in the PDCP buffer area in sequence based on the priority corresponding to the type of the PDCP PDU.
In the embodiment of the present application, the PDCP buffer is used to store PDCP PDUs to be transmitted by the PDCP entity. When the size of the free area of the RLC buffer is smaller than the size of the PDCP PDU to be sent, the PDCP entity stores the PDCP PDU into the PDCP buffer, and thus, the loss of data can be avoided.
In this embodiment of the application, step S102 further includes: the PDCP entity determines a buffer memory region corresponding to the PDCP PDU based on the data service type of the PDCP PDU, wherein the buffer memory region is a service buffer memory region in the PDCP buffer memory regions; the PDCP entity stores the PDCP PDU in a buffer area corresponding to the PDCP PDU based on the priority corresponding to the PDCP PDU type.
As shown in fig. 4, fig. 4 is a schematic structural diagram of a PDCP buffer according to an embodiment of the present application. Each data service corresponds to a buffer area in the PDCP buffer. It should be noted that, the figure only illustrates two data services, in practical applications, multiple data services may exist in the PDCP entity, and the application does not limit the number of the data services. Illustratively, data service 1 corresponds to cache region 1, and data service 2 corresponds to cache region 2. The data packet in the buffer area corresponding to the data service with high priority is sent by the PDCP entity preferentially. For example, the data service 1 is a voice call service, and the data service 2 is a video download service. The priority of the voice call service is higher than that of the video download service, so the cache region sequence corresponding to the voice call service is earlier than that of the video download service, and the data packet of the voice call service is sent by the PDCP entity preferentially than that of the video download service.
In the buffer area corresponding to each data service, the PDCP entity sorts the PDCP PDUs in the buffer area according to the priority corresponding to the type of the data packet, and the PDCP PDUs of the type with higher priority will be stored in the position before the sorting. As shown in fig. 4, since the priority of the feedback packet is higher than that of the data packet, the feedback packet positions are sorted earlier than the data packet positions in both data service 1 and data service 2.
To introduce the scheme by using a specific example, the PDCP buffer stores a feedback packet a and a data packet a in the voice call service and a feedback packet B and a data packet B in the video download service. The feedback packet A and the data packet A are stored in a cache region corresponding to the voice call service, and the feedback packet B and the data packet B are stored in a cache region corresponding to the video download service. Since the priority of the voice call service is higher than that of the video download service, the cache region corresponding to the voice call service is ranked before the cache region corresponding to the video download service. Because the priority of the feedback packet is higher than that of the data packet, the feedback packet A is sequenced before the data packet A, and the feedback packet B and the data packet B are in the same way. When the RLC buffer area has a free area, the PDCP entity sends the feedback packet a, the data packet a, the feedback packet B, and the data packet B in sequence.
When the RLC buffer has a free area, the PDCP entity first determines the data service with the highest priority in the PDCP buffer, and then sends the first data packet in the buffer corresponding to the data service. By the method, the PDCP PDU with higher priority can be timely transmitted to the opposite end in the transmission process of a large number of data packets without being blocked by other data packets, and the data transmission efficiency is improved.
In this embodiment of the present application, in a service buffer area of the PDCP buffer area, a sorting position of a feedback packet of a download service is located before a sorting position of a data packet of an uplink service. By the method, the feedback packet of the downloading service can be timely transmitted to the opposite terminal in the transmission process of a large number of data packets without being blocked by other data packets, and the downloading speed of the downlink is improved.
In the embodiment of the present application, if the data service type of the PDCP PDU is Voice over Long-Term Evolution (VoLTE), the PDCP entity modifies the size of the RLC buffer and sends the PDCP PDU to the RLC entity. The method for modifying the size of the RLC buffer area by the PDCP entity comprises the following steps: when the PDCP entity confirms that the data service type of the received PDCP PDU is VoLTE, if the PDCP entity can store the PDCP PDU by comparing that the RLC buffer zone does not have the free zone size, the PDCP entity modifies the value of the second parameter in the RLC entity. Optionally, the PDCP entity may increase the size of the PDCP PDU based on the original value of the second parameter value, so that the RLC buffer can store the PDCP PDU. Optionally, the PDCP may increase the second parameter value by a size larger than the PDCP PDU based on the original value, so that the RLC buffer can store the PDCP PDU. Because the requirement of the VoLTE on the time delay is higher, the time delay of the VoLTE service can be effectively reduced by the mode, and the service requirement of the VoLTE can be met.
In some embodiments, the PDCP entity detects that the PDCP PDU has been sent to the receiving device, and the PDCP entity restores the RLC buffer size to the size before the modification. For example, if the PDCP PDU is sent to the receiving device, the MAC entity sends a feedback message to the PDCP entity through the RLC entity, and the PDCP entity receives the feedback message and then restores the modified RLC buffer size to the size before modification.
Referring to fig. 5, fig. 5 is a flowchart of another data packet processing method according to an embodiment of the present application. The data packet processing method comprises steps S201 to S205, wherein:
s201, the PDCP entity compares the size of the idle area of the RLC buffer area with the size of the PDCP PDU to be sent.
S202, if the free area of the RLC buffer area is smaller than the size of the PDCP PDU, the PDCP entity stores the PDCP PDUs in the PDCP buffer area in sequence based on the priority corresponding to the type of the PDCP PDU.
The specific implementation manners of steps S201 to S202 are the same as those of steps S101 to S102, and are not described herein again.
S203, whether the free area of the RLC buffer area is larger than or equal to the size of the first sequenced PDCP PDU in the PDCP buffer area. If yes, step S204 is performed, and if no, step S205 is performed.
S204, the PDCP entity sends the first sequenced PDCP PDU to the RLC entity.
In this embodiment of the present application, the first sequenced PDCP PDU means that the priority of the data service of the PDCP PDU is the highest in the PDCP buffer, and the priority of the PDCP PDU type is also the highest in the buffer corresponding to the data service. Therefore, the RLC entity receives not only the PDCP PDU of the data service with the highest priority but also the type of the PDCP PDU with the highest priority in the buffer area corresponding to the data service. By the mode, the efficiency of data transmission can be effectively improved.
In another implementation, when the RLC buffer has a free buffer size that can store the first ordered PDCP PDU, the RLC entity may read the first ordered PDCP PDU in the PDCP buffer.
S205, the PDCP entity re-determines whether the idle area of the buffer area of the RLC entity is larger than or equal to the size of the first sequenced PDCP PDU in the PDCP buffer area after the preset time.
In the embodiment of the application, the PDCP entity determines that the free area of the RLC buffer cannot store the first sequenced PDCP PDU, and waits for a preset time to re-determine whether the RLC buffer has the free area. Illustratively, the preset time may be controlled by a timer.
Optionally, the preset time may be a fixed value, and the preset time for the PDCP entity to wait each time is the same. Alternatively, the preset time may be a variable value. For example, if the PDCP entity determines that the free area of the RLC buffer cannot store the first ordered PDCP PDU, if the free area of the RLC buffer is determined again after waiting for the preset time or the first ordered PDCP PDU cannot be stored, the PDCP entity may wait for a longer time than the last time. This is because, if the free area of the RLC buffer area is determined many times or the first PDCP PDU cannot be stored, it indicates that there may be a problem in the transmission between the PDCP entity and the RLC entity, and the waiting time may be longer and the transmission may be resumed.
It can be seen that, based on the method described in the foregoing embodiment, the PDCP entity compares the size of the idle area of the RLC buffer with the size of the PDCP PDU to be sent, and if the idle area of the RLC buffer is smaller than the size of the PDCP PDU, the PDCP entity stores the PDCP PDUs in the PDCP buffer in sequence based on the priority corresponding to the type of the PDCP PDU. By the method, the data packet with the high priority can be transmitted to the opposite terminal, so that the requirement of the data packet with the high priority on low time delay is met, and the data transmission efficiency is improved.
In order to implement the functions in the method provided by the embodiment of the present application, the terminal device may include a hardware structure and a software module, and implement the functions in the form of a hardware structure, a software module, or a hardware structure and a software module. Some of the above functions may be implemented by a hardware structure, a software module, or a hardware structure plus a software module.
Fig. 6 is a schematic structural diagram of a communication device according to an embodiment of the present application. The communication device 60 comprises a processing unit 601 and a storage unit 602, wherein:
the processing unit 601 is configured to compare the size of the idle region of the RLC buffer with the size of the PDCP PDU to be sent. Specifically, the operation performed by the processing unit 601 may refer to the description in step S101 in the method shown in fig. 3.
The storage unit 602 is configured to store the PDCP PDUs in the PDCP buffer in order based on the priority corresponding to the PDCP PDU type if the idle area of the RLC buffer is smaller than the size of the PDCP PDU. Specifically, the operation performed by the storage unit 602 may refer to the description in step S102 in the method shown in fig. 3.
In this embodiment, in a possible implementation manner, the communication device further includes a sending unit, where the sending unit is specifically configured to: and if the idle area of the RLC buffer area is larger than or equal to the size of the first sequenced PDCP PDU in the PDCP buffer area, sending the first sequenced PDCP PDU to the RLC entity.
In a possible implementation manner, the PDCP entity stores the PDCP PDUs in a PDCP buffer in order based on a priority corresponding to the PDCP PDU type, and the storage unit 602 is further configured to: determining a buffer area corresponding to the PDCP PDU based on the data service type of the PDCP PDU, wherein the buffer area is a service buffer area in the PDCP buffer areas; and storing the PDCP PDU in a buffer area corresponding to the PDCP PDU based on the priority corresponding to the PDCP PDU type.
In a possible implementation manner, the communication apparatus further includes a sending unit, configured to: and if the idle area of the RLC buffer area is larger than or equal to the size of the first sequenced PDCP PDU in the PDCP buffer area, the PDCP entity sends the first sequenced PDCP PDU to the RLC entity.
In one possible implementation, the communication device further includes a sending unit: the processing unit is further configured to modify the size of the RLC buffer area if the idle area of the RLC buffer area is smaller than the size of the PDCP PDU and the data service type of the PDCP PDU is VoLTE; the sending unit is configured to send the PDCP PDU to the RLC entity if the idle area of the RLC buffer is smaller than the size of the PDCP PDU and the data service type of the PDCP PDU is VoLTE.
In one possible implementation, the processing unit is further configured to: and detecting that the PDCP PDU is sent to a receiving device, and restoring the RLC buffer size to the size before modification.
In one possible implementation, the communication device further includes a timing unit configured to: and if the idle area of the RLC buffer area is smaller than the size of the first sequenced PDCP PDU in the PDCP buffer area, re-determining whether the idle area of the RLC entity buffer area is larger than or equal to the size of the first sequenced PDCP PDU in the PDCP buffer area after a preset time.
It should be noted that the operations performed by the units of the communication apparatus shown in fig. 6 may be related to the method embodiment described above. And will not be described in detail herein. The above units can be realized by hardware, software or a combination of hardware and software.
With the communications apparatus shown in fig. 6, the PDCP entity compares the size of the idle area of the RLC buffer with the size of the PDCP PDU to be sent, and if the idle area of the RLC buffer is smaller than the size of the PDCP PDU, the PDCP entity stores the PDCP PDUs in the PDCP buffer in order based on the priority corresponding to the type of the PDCP PDU. By the method, the data packet with higher priority can be transmitted to the opposite end, so that the requirement of the data packet with high priority on low time delay is favorably met, and the data transmission efficiency is improved.
Fig. 7 is a schematic structural diagram of another communication device according to an embodiment of the present application. The communication device 70 is a PDCP entity. The communication device 70 may be used to implement the method described in the above method embodiment, and specific reference may be made to the description in the above method embodiment.
The communication device 70 may include one or more processors 701. The processor 701 may be a general-purpose processor or a special-purpose processor, etc. The processor 701 may be configured to control the communication device, execute a software program, and process data of the software program.
Optionally, the communication device 70 may include one or more memories 702, on which instructions 704 may be stored, and the instructions may be executed on the processor 701, so that the communication device 70 performs the method described in the above method embodiment. Optionally, the memory 702 may further store data therein. The processor 701 and the memory 702 may be provided separately or integrated together.
Optionally, the communication device 70 may further include a transceiver 705 and an antenna 706. The transceiver 705 may be referred to as a transceiver unit, a transceiver, or a transceiver circuit, etc. for implementing a transceiving function. The transceiver 705 may include a receiver and a transmitter, and the receiver may be referred to as a receiver or a receiving circuit, etc. for implementing a receiving function; the transmitter may be referred to as a transmitter or a transmission circuit, etc. for implementing the transmission function.
In one implementation, the processor 701 is configured to compare the size of an idle region of an RLC buffer with the size of a PDCP PDU to be transmitted. The processor 701 is further configured to store the PDCP PDUs in the PDCP buffer in order based on the priority corresponding to the PDCP PDU type when the free area of the RLC buffer is smaller than the PDCP PDU size.
In another possible design, the transceiver may be a transceiver circuit, or an interface circuit. The transmit and receive circuitry, interfaces or interface circuitry used to implement the receive and transmit functions may be separate or integrated. The transceiver circuit, the interface circuit or the interface circuit may be used for reading and writing code/data, or the transceiver circuit, the interface circuit or the interface circuit may be used for transmitting or transferring signals.
In yet another possible design, the processor 701 may optionally have instructions 703 stored therein, and the instructions 703 may be executed on the processor 701, so that the communication device 70 may execute the method described in the above method embodiment. The instructions 703 may be solidified in the processor 701, in which case the processor 701 may be implemented in hardware.
In yet another possible design, the communication device 70 may include circuitry that may implement the functionality of transmitting or receiving or communicating in the foregoing method embodiments.
The processors and transceivers described herein may be implemented on Integrated Circuits (ICs), analog ICs, Radio Frequency Integrated Circuits (RFICs), mixed signal ICs, Application Specific Integrated Circuits (ASICs), Printed Circuit Boards (PCBs), electronic devices, and the like.
With the communications apparatus shown in fig. 7, the PDCP entity compares the size of the idle area of the RLC buffer with the size of the PDCP PDU to be sent, and if the idle area of the RLC buffer is smaller than the size of the PDCP PDU, the PDCP entity stores the PDCP PDUs in the PDCP buffer in order based on the priority corresponding to the type of the PDCP PDU. By the method, the data packet with the high priority can be transmitted to the opposite terminal, so that the requirement of the data packet with the high priority on low time delay is met, and the data transmission efficiency is improved.
The communication means may be, for example: a chip, or a chip module. Each module/unit included in each apparatus and product described in the above embodiments may be a software module/unit, or may also be a hardware module/unit, or may also be a part of a software module/unit and a part of a hardware module/unit. For example, for each device or product applied to or integrated into a chip, each module/unit included in the device or product may be implemented by hardware such as a circuit, or at least a part of the module/unit may be implemented by a software program running on a processor integrated within the chip, and the rest (if any) part of the module/unit may be implemented by hardware such as a circuit; for each device or product applied to or integrated with the chip module, each module/unit included in the device or product may be implemented by using hardware such as a circuit, and different modules/units may be located in the same component (e.g., a chip, a circuit module, etc.) or different components of the chip module, or at least some of the modules/units may be implemented by using a software program running on a processor integrated within the chip module, and the rest (if any) of the modules/units may be implemented by using hardware such as a circuit; for each device and product applied to or integrated in the terminal, each module/unit included in the device and product may be implemented by using hardware such as a circuit, and different modules/units may be located in the same component (e.g., a chip, a circuit module, etc.) or different components in the terminal, or at least part of the modules/units may be implemented by using a software program running on a processor integrated in the terminal, and the rest (if any) part of the modules/units may be implemented by using hardware such as a circuit.
The present application also provides a computer-readable storage medium, which includes a computer program or instructions, when the computer program or instructions runs on a computer, the computer can execute the corresponding procedures executed by the PDCP entity in the method of the embodiment shown in fig. 3.
Embodiments of the present application provide a chip, where the chip may be applied to a terminal device, and the chip includes a processor and a data interface, where the processor reads an instruction stored in a memory through the data interface to execute relevant steps of the terminal device in the embodiments corresponding to fig. 3 to 5, for which specific reference may be made to implementation manners provided in the above steps, and details are not repeated here.
In one embodiment, the chip includes at least one processor, at least one first memory, and at least one second memory; the at least one first memory and the at least one processor are interconnected through a line, and instructions are stored in the first memory; the at least one second memory and the at least one processor are interconnected by a line, and the second memory stores therein data to be stored in any one of the methods of the first aspect.
The embodiment of the application further provides a chip module, which can be applied to the terminal device, including the chip which can be applied to the terminal device.
While the invention has been described with reference to a number of embodiments, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (18)

1. A method for processing a data packet, the method comprising:
the method comprises the following steps that a Packet Data Convergence Protocol (PDCP) entity compares the size of an idle area of a radio link layer control protocol (RLC) buffer area with the size of a PDCP PDU to be sent, wherein the RLC buffer area is used for the RLC entity to store the PDCP PDU sent by the PDCP entity;
if the idle area of the RLC buffer area is smaller than the size of the PDCP PDUs, the PDCP entity stores the PDCP PDUs in a PDCP buffer area in sequence based on the priority corresponding to the type of the PDCP PDUs, and the PDCP buffer area is used for the PDCP entity to buffer the PDCP PDUs to be sent.
2. The method of claim 1, further comprising:
and if the idle area of the RLC buffer area is larger than or equal to the size of the first sequenced PDCP PDU in the PDCP buffer area, the PDCP entity sends the first sequenced PDCP PDU to the RLC entity.
3. The method of claim 1, wherein the PDCP entity stores the PDCP PDUs in a PDCP buffer in order based on the priority corresponding to the PDCP PDU type, comprising:
the PDCP entity determines a buffer area corresponding to the PDCP PDU based on the data service type of the PDCP PDU, wherein the buffer area is one service buffer area in the PDCP buffer areas;
and the PDCP entity stores the PDCP PDU in a buffer area corresponding to the PDCP PDU based on the priority corresponding to the PDCP PDU type.
4. The method as claimed in claim 3, wherein in a service buffer area of the PDCP buffer area, the ordering position of the feedback packet of the download service is located before the ordering position of the data packet of the uplink service.
5. The method of claim 1, further comprising:
and if the idle area of the RLC buffer area is smaller than the size of the PDCP PDU and the data service type of the PDCP PDU is VoLTE, the PDCP entity modifies the size of the RLC buffer area and sends the PDCP PDU to the RLC entity.
6. The method of claim 5, further comprising:
and the PDCP entity detects that the PDCP PDU is sent to a receiving device, and then restores the size of the RLC buffer area to the size before modification.
7. The method of claim 1, further comprising:
if the idle area of the RLC buffer area is smaller than the size of the first sequenced PDCP PDU in the PDCP buffer area, the PDCP entity re-determines whether the idle area of the RLC entity buffer area is larger than or equal to the size of the first sequenced PDCP PDU in the PDCP buffer area after preset time.
8. A communication device, characterized in that the communication device comprises a processing unit and a memory unit, wherein:
the processing unit is used for comparing the size of an idle area of the RLC buffer area with the size of the PDCP PDU to be sent;
the storage unit is configured to store the PDCP PDUs in the PDCP buffer in order based on the priority corresponding to the PDCP PDU type if the idle area of the RLC buffer is smaller than the size of the PDCP PDU.
9. The communications apparatus according to claim 8, wherein the communications apparatus further comprises a transmitting unit, the transmitting unit is specifically configured to:
and if the idle area of the RLC buffer area is larger than or equal to the size of the first sequenced PDCP PDU in the PDCP buffer area, sending the first sequenced PDCP PDU to the RLC entity.
10. The communications apparatus as claimed in claim 8, wherein the PDCP PDU is stored in a PDCP buffer in order based on the priority corresponding to the PDCP PDU type, and the storage unit is further configured to:
determining a buffer area corresponding to the PDCP PDU based on the data service type of the PDCP PDU, wherein the buffer area is one service buffer area in the PDCP buffer areas;
and storing the PDCP PDU in a buffer area corresponding to the PDCP PDU based on the priority corresponding to the PDCP PDU type.
11. The communication apparatus as claimed in claim 10, wherein in a service buffer area of the PDCP buffer area, the ordering position of the feedback packet of the download service is located before the ordering position of the data packet of the uplink service.
12. The communication apparatus according to claim 8, further comprising a transmission unit:
the processing unit is further configured to modify the size of the RLC buffer area if the idle area of the RLC buffer area is smaller than the size of the PDCP PDU and the data service type of the PDCP PDU is voice over long term evolution (VoLTE);
the sending unit is configured to send the PDCP PDU to an RLC entity if an idle area of the RLC buffer is smaller than the size of the PDCP PDU and a data service type of the PDCP PDU is voice over long term evolution (VoLTE).
13. The communications apparatus of claim 12, wherein the processing unit is further configured to:
and if the PDCP PDU is detected to be sent to the receiving equipment, the size of the RLC buffer area is restored to the size before modification.
14. The communications apparatus according to claim 8, wherein the communications apparatus further comprises a timing unit, the timing unit is specifically configured to:
and if the idle area of the RLC buffer area is smaller than the size of the first sequenced PDCP PDU in the PDCP buffer area, re-determining whether the idle area of the RLC entity buffer area is larger than or equal to the size of the first sequenced PDCP PDU in the PDCP buffer area or not after preset time.
15. A communications apparatus comprising a memory for storing a computer program comprising program instructions and a processor configured to invoke the program instructions to perform the method of any one of claims 1 to 7.
16. A computer-readable storage medium for storing a computer program, the computer program causing a computer to perform the method of any one of claims 1-7.
17. A chip comprising a processor and a data interface, the processor reading instructions stored on a memory through the data interface to perform the method of any one of claims 1-7.
18. A chip module, characterized in that it comprises a chip according to claim 17.
CN202011619037.4A 2020-12-30 2020-12-30 Data packet processing method and related device Pending CN112751775A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011619037.4A CN112751775A (en) 2020-12-30 2020-12-30 Data packet processing method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011619037.4A CN112751775A (en) 2020-12-30 2020-12-30 Data packet processing method and related device

Publications (1)

Publication Number Publication Date
CN112751775A true CN112751775A (en) 2021-05-04

Family

ID=75650172

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011619037.4A Pending CN112751775A (en) 2020-12-30 2020-12-30 Data packet processing method and related device

Country Status (1)

Country Link
CN (1) CN112751775A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114979303A (en) * 2022-04-29 2022-08-30 京东科技信息技术有限公司 Method, device, equipment and readable medium for processing service quality of network data packet
WO2023184545A1 (en) * 2022-04-02 2023-10-05 Oppo广东移动通信有限公司 Data transmission method and apparatus, and communication device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102217365A (en) * 2011-04-12 2011-10-12 华为技术有限公司 Long term evolution base station and method for processing data service thereof
CN106304154A (en) * 2016-09-30 2017-01-04 京信通信技术(广州)有限公司 The data transmission method of a kind of PDCP entity and PDCP entity
WO2018060674A1 (en) * 2016-09-30 2018-04-05 Fujitsu Limited Arq and harq in 5g wireless communication

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102217365A (en) * 2011-04-12 2011-10-12 华为技术有限公司 Long term evolution base station and method for processing data service thereof
CN106304154A (en) * 2016-09-30 2017-01-04 京信通信技术(广州)有限公司 The data transmission method of a kind of PDCP entity and PDCP entity
WO2018060674A1 (en) * 2016-09-30 2018-04-05 Fujitsu Limited Arq and harq in 5g wireless communication

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
HUAWEI, HISILICON: ""R2-1804669 Remaining PDCP issues for packet duplication"", 《3GPP TSG_RAN\WG2_RL2》, 5 April 2018 (2018-04-05) *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023184545A1 (en) * 2022-04-02 2023-10-05 Oppo广东移动通信有限公司 Data transmission method and apparatus, and communication device
CN114979303A (en) * 2022-04-29 2022-08-30 京东科技信息技术有限公司 Method, device, equipment and readable medium for processing service quality of network data packet
CN114979303B (en) * 2022-04-29 2024-04-05 京东科技信息技术有限公司 Method, device, equipment and readable medium for processing service quality of network data packet

Similar Documents

Publication Publication Date Title
CN101426279A (en) Method of handling random access procedure failure and related communication device
CN105264977A (en) Power configuration method, user equipment and base station
CN113923713A (en) Data processing method and device
CN106465283A (en) Power distribution method and device
CN112751775A (en) Data packet processing method and related device
CN109565825A (en) Unauthorized ascending transmission method and device
CN110662299A (en) Communication method, communication apparatus, and storage medium
CN113785511A (en) Apparatus, method and computer program
CN111817824B (en) Information transmission method, terminal equipment and control node
CN108513728B (en) System information sending method, system information receiving method and device
CN113455044B (en) Apparatus, method and computer program for communication using configuration authorization
CN110972325B (en) Data transmission method, equipment and device
CN109792312A (en) A kind of method, terminal device and network equipment transmitting data
CN103490870A (en) Frequency band utilization method and device
CN112399471B (en) Data caching method and related device
CN113541895B (en) Data transmission method and related device
WO2018094712A1 (en) Wireless access network configuration method, apparatus and system
CN114040510A (en) Data transmission method and related device
CN112787754B (en) Data processing method and related device
CN112333675B (en) Data counting method and related device
CN112332953B (en) Data sending method and related device
CN115333690B (en) Information transmission method, device, terminal and network side equipment
CN107889226A (en) A kind of method and apparatus for determining sequential
CN114503476B (en) Information sending method and device, terminal, access network equipment and system
WO2024082469A1 (en) Methods and apparatuses for supporting dynamic switch of secondary lch for pdu set transmission

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210504