CN110876166A - Data processing method and device - Google Patents

Data processing method and device Download PDF

Info

Publication number
CN110876166A
CN110876166A CN201811013664.6A CN201811013664A CN110876166A CN 110876166 A CN110876166 A CN 110876166A CN 201811013664 A CN201811013664 A CN 201811013664A CN 110876166 A CN110876166 A CN 110876166A
Authority
CN
China
Prior art keywords
pdcp
layer
validity
pdu
sdu
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.)
Granted
Application number
CN201811013664.6A
Other languages
Chinese (zh)
Other versions
CN110876166B (en
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.)
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
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 China Mobile Communications Group Co Ltd, China Mobile Communications Ltd Research Institute filed Critical China Mobile Communications Group Co Ltd
Priority to CN201811013664.6A priority Critical patent/CN110876166B/en
Publication of CN110876166A publication Critical patent/CN110876166A/en
Application granted granted Critical
Publication of CN110876166B publication Critical patent/CN110876166B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • 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)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a data processing method and equipment, which are used for solving the problem that PDCP SDUs and PDCP PDUs cached at a sending end and a receiving end are all discarded in the PDCP rebuilding process in the prior art. In the embodiment of the invention, after receiving a PDCP reestablishment request sent by an upper layer, a PDCP layer of a sending device firstly determines the validity of PDCP SDUs which are not used for establishing PDCP PDUs and/or the unsent PDCP PDUs on a SRB, and then processes the PDCP SDUs according to the determined validity of the PDCP SDUs and/or processes the PDCP PDUs according to the determined validity of the PDCP PDUs. Because the validity of the PDCP SDU which is not formed into the PDCP PDU on the SRB of the PDCP layer of the sending equipment and/or the PDCP PDU which is not sent is determined, the PDCP SDU which is not formed into the PDCP PDU on the SRB of the PDCP layer of the sending equipment and/or the PDCP PDU which is not sent is not required to be completely discarded, but the PDCP SDU and/or the PDCP PDU is selectively processed according to the validity of the PDCP SDU and/or the PDCP PDU, and the transmission rate of a transmission signaling data packet on the SRB is further improved.

Description

Data processing method and device
Technical Field
The present invention relates to the field of wireless communication technologies, and in particular, to a method and a device for data processing.
Background
PDCP (Packet Data Convergence Protocol) is a radio transport Protocol stack in UMTS and is responsible for compressing and decompressing IP headers, transmitting user Data, and maintaining sequence numbers of radio bearers set for lossless radio network service subsystems (SRNSs).
When the PDCP layer performs Data transmission, the PDCP layer at the transmitting end buffers PDCP SDUs that are not formed into PDCP PDUs (Protocol Data units) on the SRB (signaling radio bearer) and Service Data units (Service Data units) that are not formed into PDCP PDUs, which are sent by the upper layer; the PDCP layer at the receiving end buffers the received PDCP PDUs that are not resolved at the SRB.
In the current PDCP protocol, when the PDCP layer receives a re-establishment request from an upper layer, all the PDCP SDUs and PDCP PDUs buffered at the sending end on the SRB and all the unresolved PDCP PDUs buffered at the receiving end on the SRB are discarded.
In summary, in the prior art, in the PDCP re-establishment process, all PDCP SDUs and PDCP PDUs buffered at the transmitting end and the receiving end are discarded.
Disclosure of Invention
The invention provides a data processing method and equipment, which are used for solving the problem that PDCP SDUs and PDCP PDUs cached at a sending end and a receiving end are all discarded in the PDCP rebuilding process in the prior art.
In a first aspect, an embodiment of the present invention provides a data processing method, including: after receiving a PDCP reestablishment request sent by an upper layer, a PDCP layer of a sending device determines the validity of PDCP PDUs which are not established and/or sent on a signaling radio bearer SRB;
and the PDCP layer of the sending equipment processes the PDCP SDUs according to the determined validity of the PDCP SDUs and/or processes the unsent PDCP PDUs according to the determined validity of the unsent PDCP PDUs.
According to the method, after receiving the PDCP reestablishment request, the PDCP layer of the sending equipment firstly determines the validity of the PDCP SDUs of the PDCP PDUs which are not established on the signaling radio bearer SRB and/or the PDCP PDUs which are not sent, and then processes the PDCP SDUs according to the determined validity of the PDCP SDUs and/or processes the PDCP PDUs which are not sent according to the determined validity of the PDCP PDUs, so that the PDCP SDUs of the PDCP PDUs which are not established on the SRB of the sending equipment and/or the PDCP PDUs which are not sent are not required to be completely discarded, and the selected PDCP SDUs and/or PDCP PDUs are processed according to the validity of the PDCP SDUs and/or PDCP PDUs.
In a possible implementation manner, the determining, by the PDCP layer of the sending device, validity of PDCP SDUs of non-constructed PDCP PDUs on the SRB includes:
and the PDCP layer of the sending equipment determines the validity of the PDCP SDU according to the validity identification which is sent by the upper layer and bound with the PDCP SDU.
The method provides a mode for determining the validity of the PDCP SDU of the PDCP PDU which is not established on the SRB by the PDCP layer of the sending equipment, and determines the validity of the PDCP SDU according to the validity identification which is sent by the upper layer of the PDCP layer of the sending equipment and is bound with the PDCP SDU, so that the PDCP layer of the sending equipment processes the PDCP SDU according to the determined validity.
In a possible implementation manner, the processing, by the PDCP layer of the sending device, the PDCP SDU according to the determined validity of the PDCP SDU includes:
if the validity of the PDCP SDU is all valid, the PDCP layer of the sending equipment builds a PDCP PDU according to the PDCP SDU after the PDCP is reestablished; or
If the validity of the PDCP SDU is partially valid, the PDCP layer of the sending equipment informs an upper layer to process the PDCP SDU; or
And if the validity of the PDCP SDU is completely invalid, the PDCP layer of the sending equipment discards the PDCP SDU.
In the method, the PDCP layer of the sending equipment respectively processes all valid PDCP SDUs, partial valid PDCP SDUs and all invalid PDCP SDUs according to the validity of the PDCP SDUs, so that the PDCP layer of the sending equipment selectively processes the PDCP SDUs.
In a possible implementation manner, the notifying, by the PDCP layer of the sending device, the upper layer to process the PDCP SDU includes:
the PDCP layer of the sending equipment sends the PDCP SDU and the validity identification and the identification bound with the PDCP SDU to an upper layer; or
And the PDCP layer of the sending equipment sends the validity identification and the identification bound with the PDCP SDU to an upper layer.
The method provides two modes for informing the upper layer to process the PDCP SDU when the validity of the PDCP SDU is partially valid.
In a possible implementation manner, after the PDCP layer of the sending device establishes the PDCP PDU according to the PDCP sdu after the PDCP is reestablished, the method further includes:
and the PDCP layer of the sending equipment sends the constructed PDCP PDU to a lower layer.
In the method, the PDCP layer of the sending equipment sends the constructed PDCP PDU to the lower layer after the PDCP layer of the sending equipment constructs the PDCP PDU according to the PDCP SDU after the PDCP is reestablished, thereby realizing the data transmission.
In one possible implementation manner, the determining, by the PDCP layer of the sending device, validity of the unsent PDCP PDUs on the SRB includes:
and the PDCP layer of the sending equipment determines the validity of the PDCP PDU which is not sent on the SRB according to the validity of the PDCP SDU in the PDCP PDU and/or the validity of the data added by the PDCP layer.
The method determines the validity of the unsent PDCP PDU on the SRB, and judges according to the validity of the PDCP SDU in the PDCP PDU and/or the validity of the data added by the PDCP layer, thereby processing the unsent PDCP PDU according to the determined validity.
In a possible implementation manner, the determining, by the PDCP layer of the sending device, the validity of the PDCP PDUs that are not sent on the SRB according to the validity of the PDCP PDUs in the PDCP PDUs and/or the validity of data added by the PDCP layer includes:
if the PDCP SDU in the PDCP PDU is partially or completely invalid, the PDCP layer of the sending equipment determines that the PDCP PDU is completely invalid; or
If all the PDCP SDUs in the PDCP PDU are valid and all the data added by the PDCP layer in the PDCP PDU are valid, the PDCP layer of the sending equipment determines that all the PDCP PDUs are valid; or
If all the PDCP SDUs in the PDCP PDU are valid and the data part added by the PDCP layer in the PDCP PDU is valid, the PDCP layer of the sending equipment determines that the first part of the PDCP PDU is valid;
and if all the PDCP SDUs in the PDCP PDU are valid and all the data added by the PDCP layer in the PDCP PDU are invalid, the PDCP layer of the sending equipment determines that the second part of the PDCP PDU is valid.
According to the method, the validity of the PDCP PDU which is not sent on the SRB is determined to be completely invalid, completely valid, the first part valid and the second part valid according to the validity of the PDCP SDU in the PDCP PDU and/or the validity of data added by the PDCP layer of the sending equipment, so that the PDCP PDU is processed according to the determined validity of the PDCP PDU.
In one possible implementation, the PDCP layer of the sending device determines validity of PDCP SDUs in PDCP PDUs by:
and the PDCP layer of the sending equipment determines the validity of the PDCP SDU according to the validity identification which is sent by the upper layer and bound with the PDCP SDU.
The method provides a mode for determining the validity of the PDCP SDU in the PDCP PDU, and the PDCP layer of the sending equipment is determined according to the validity identification which is sent by the upper layer and bound with the PDCP SDU, so that the PDCP layer of the sending equipment can determine the validity of the PDCP PDU according to the validity of the PDCP SDU in the PDCP PDU.
In a possible implementation manner, an upper layer of a PDCP layer of the sending device determines the validity flag of the PDCP SDU binding by:
and the upper layer of the PDCP layer of the sending equipment determines the binding validity identification of the PDCP SDU according to the data type contained in the PDCP SDU.
The method provides the validity identification for determining the binding of the PDCP SDU, and determines according to the data type contained in the PDCP SDU, so that the PDCP layer of the sending equipment determines the validity of the PDCP SDU or the validity of the PDCP PDU according to the determined validity identification for binding the PDCP SDU.
In one possible implementation manner, the PDCP layer of the sending device determines validity of data added by the PDCP layer in the PDCP PDU by:
and the PDCP layer of the sending equipment determines the validity of the data added by the PDCP layer in the PDCP PDU according to the data type contained in the data added by the PDCP layer in the PDCP PDU.
The method provides a mode for determining the validity of the data added by the PDCP layer in the PDCP PDU, and the PDCP layer of the sending equipment is determined according to the data type contained in the data added by the PDCP layer in the PDCP PDU, so that the PDCP layer of the sending equipment determines the validity of the PDCP PDU according to the determined validity of the data added by the PDCP layer in the PDCP PDU.
In a possible implementation manner, the processing, by the PDCP layer of the sending device, the PDCP PDU according to the determined validity of the PDCP PDU includes:
if the validity of the PDCP PDU is completely invalid, the PDCP layer of the sending equipment discards the PDCP PDU; or
If the validity of the PDCP PDU is all valid, the PDCP layer of the sending equipment reserves the PDCP PDU; or
If the validity of the PDCP PDU is that the first part is valid, the PDCP layer of the sending equipment discards an invalid part in the added data, and rebuilds the PDCP PDU after the PDCP is reestablished; or
If the validity of the PDCP PDU is that the second part is valid, the PDCP layer of the sending equipment rebuilds the PDCP PDU according to the PDCP SDU after the PDCP is reestablished.
In the method, the PDCP layer of the sending equipment processes the PDCP PDUs respectively according to the validity of the PDCP PDUs, namely the PDCP PDUs are completely invalid, completely valid, the first part valid and the second part valid, thereby realizing different processing of the PDCP PDUs.
In one possible implementation manner, after the PDCP layer of the sending device reserves the PDCP PDU, the method further includes:
the PDCP layer of the sending equipment sends the reserved PDCP PDU to a lower layer after the PDCP is reestablished;
after the PDCP layer of the transmitting device reconstructs the PDCP PDU, the method further includes:
and the PDCP layer of the sending device sends the reconstructed PDCP PDU to a lower layer.
The method transmits the reserved PDCP PDU and/or the reconstructed PDCP PDU to the lower layer, so that the PDCP PDU is processed by the PDCP layer of the transmitting equipment.
In a second aspect, an embodiment of the present invention provides a data processing method, including: after receiving a PDCP reestablishment request sent by an upper layer, a PDCP layer of the receiving equipment determines the validity of the unresolved PDCP PDU on the SRB;
and the PDCP layer of the receiving equipment processes the unresolved PDCP PDU according to the determined effectiveness of the unresolved PDCP PDU.
In the method, after receiving the PDCP reestablishment request, the PDCP layer of the sending equipment firstly determines the validity of the unresolved PDCP PDU on the SRB and then processes the unresolved PDCP PDU according to the determined validity of the unresolved PDCP PDU, so that the unresolved PDCP PDU on the SRB of the PDCP layer of the receiving equipment is not required to be completely discarded, but the PDCP PDU of the receiving end is selectively processed.
In one possible implementation, the determining, by the PDCP layer of the receiving device, validity of the unresolved PDCP PDU on the SRB includes:
and the PDCP layer of the receiving equipment determines the validity of the unresolved PDCP PDU on the SRB according to the validity of the data added by the PDCP layer in the PDCP PDU.
The method provides a method for determining the validity of the DCP PDU, and the PDCP layer of the receiving equipment determines according to the validity of the data added by the PDCP layer in the PDCP PDU, so that the PDCP PDU is processed according to the determined validity of the PDCP PDU.
In one possible implementation manner, the PDCP layer of the receiving device determines validity of data added by the PDCP layer in the PDCP pdu by:
and the PDCP layer of the receiving equipment determines the validity of the data added by the PDCP layer in the PDCP PDU according to the data type contained in the data added by the PDCP layer in the PDCP PDU.
The method determines the validity of the data added by the PDCP layer in the PDCP PDU according to the data type contained in the data added by the PDCP layer in the PDCP PDU, so that the validity of the PDCP PDU is determined according to the validity of the data added by the PDCP layer in the PDCP PDU.
In one possible implementation manner, the determining, by the PDCP layer of the receiving device, the validity of the PDCP PDU on the SRB according to the validity of the data added by the PDCP layer in the PDCP PDU includes:
if all or part of the data added by the PDCP layer in the PDCP PDU is valid, the PDCP layer of the receiving equipment determines that all the PDCP PDUs are valid;
if all the data added by the PDCP layer in the PDCP PDU is invalid, the PDCP layer of the receiving equipment determines that all the PDCP PDUs are invalid.
In the method, the PDCP layer of the receiving equipment determines that the PDCP PDUs are all valid or all invalid according to the validity of the data added by the PDCP layer in the PDCP PDUs, so that the PDCP PDUs are processed differently according to all valid PDCP PDUs or all invalid PDCP PDUs.
In one possible implementation manner, the processing, by the PDCP layer of the receiving device, the PDCP PDU according to the determined validity of the PDCP PDU includes:
if all the PDCP PDUs are valid, the PDCP layer of the receiving equipment analyzes and stores the data added by the PDCP layer in the PDCP PDUs, and the PDCP sublayer is processed;
and if the PDCP PDUs are all invalid, the PDCP layer of the receiving equipment discards the data added by the PDCP layer in the PDCP PDUs.
The method gives different treatments to all valid PDCP PDUs or all invalid PDCP PDUs by the PDCP layer of the specific receiving equipment, thereby realizing the treatment to the PDCP PDUs according to the validity of the PDCP PDUs.
In one possible implementation, the method further includes:
and the PDCP layer of the receiving equipment sends the PDCP SDU in the PDCP PDU on the SRB to the upper layer of the PDCP layer of the receiving equipment.
The method provides a processing mode of the PDCP layer of the receiving equipment to the PDCP SDU in the PDCP PDU on the SRB, and sends the PDCP SDU in the PDCP PDU to the upper layer.
In a third aspect, an embodiment of the present invention further provides a data processing apparatus, where the apparatus includes: a processor and a transceiver:
the processor is used for determining the validity of PDCP SDUs which are not used for establishing PDCP PDUs and/or the PDCP PDUs which are not sent on the signaling radio bearer SRB after receiving a PDCP reestablishment request sent by an upper layer; and processing the PDCP SDU according to the determined validity of the PDCP SDU and/or processing the unsent PDCP PDU according to the determined validity of the unsent PDCP PDU.
In one possible implementation, the processor is specifically configured to:
and determining the validity of the PDCP SDU according to the validity identification which is sent by the upper layer and bound with the PDCP SDU.
In one possible implementation, the processor is specifically configured to:
if the validity of the PDCP SDU is all valid, the PDCP PDU is established according to the PDCP SDU after the PDCP is reestablished; or
If the validity of the PDCP SDU is partially valid, notifying an upper layer to process the PDCP SDU; or
And if the validity of the PDCP SDU is all invalid, discarding the PDCP SDU.
In one possible implementation, the processor is specifically configured to:
sending the PDCP SDU and the validity identification and the identification bound with the PDCP SDU to an upper layer; or
And sending the validity identification and the identification bound with the PDCP SDU to an upper layer.
In one possible implementation, the processor is further configured to:
and sending the constructed PDCP PDU to a lower layer.
In one possible implementation, the processor is specifically configured to:
and determining the validity of the PDCP PDU which is not sent on the SRB according to the validity of the PDCP SDU in the PDCP PDU and/or the validity of the data added by the PDCP layer.
In one possible implementation, the processor is specifically configured to:
if the PDCP SDU in the PDCP PDU is partially valid or completely invalid, determining that the PDCP PDU is completely invalid; or
If all the PDCP SDUs in the PDCP PDU are valid and all the data added by the PDCP layer in the PDCP PDU are valid, determining that all the PDCP PDUs are valid; or
If all PDCP SDUs in the PDCP PDU are valid and the data part added by the PDCP layer in the PDCP PDU is valid, determining that the first part of the PDCP PDU is valid;
and if all the PDCP SDUs in the PDCP PDU are valid and all the data added by the PDCP layer in the PDCP PDU are invalid, determining that the second part of the PDCP PDU is valid.
In one possible implementation, the processor is specifically configured to:
determining validity of PDCP SDUs in the PDCP PDU by:
and determining the validity of the PDCP SDU according to the validity identification which is sent by the upper layer and bound with the PDCP SDU.
In a possible implementation manner, an upper layer of a PDCP layer of the sending device determines the validity flag of the PDCP SDU binding by:
and the upper layer of the PDCP layer of the sending equipment determines the binding validity identification of the PDCP SDU according to the data type contained in the PDCP SDU.
In one possible implementation, the processor is specifically configured to:
determining validity of data added by a PDCP layer in the PDCP PDU by:
and determining the validity of the data added by the PDCP layer in the PDCP PDU according to the data type contained in the data added by the PDCP layer in the PDCP PDU.
In one possible implementation, the processor is specifically configured to:
if the validity of the PDCP PDU is all invalid, discarding the PDCP PDU; or
If the validity of the PDCP PDU is all valid, the PDCP PDU is reserved; or
If the validity of the PDCP PDU is that the first part is valid, discarding an invalid part in the added data, and reconstructing the PDCP PDU after the PDCP is reestablished; or
And if the validity of the PDCP PDU is that the second part is valid, reconstructing the PDCP PDU according to the PDCP SDU after the PDCP is reestablished.
In one possible implementation, the processor is further configured to:
after the PDCP is reestablished, the reserved PDCP PDU is sent to a lower layer;
and sending the reconstructed PDCP PDU to a lower layer.
In a fourth aspect, an embodiment of the present invention further provides a data processing apparatus, where the apparatus includes: a processor and a transceiver:
the processor is used for determining the validity of the unresolved PDCP PDU on the SRB after receiving a PDCP reestablishment request sent by an upper layer; and processing the unresolved PDCP PDU according to the determined validity of the unresolved PDCP PDU.
In one possible implementation, the processor is specifically configured to:
and determining the validity of the unresolved PDCP PDUs on the SRB according to the validity of the data added by the PDCP layer in the PDCP PDUs.
In one possible implementation, the processor is specifically configured to:
determining validity of data added by a PDCP layer in the PDCP PDU by:
and determining the validity of the data added by the PDCP layer in the PDCP PDU according to the data type contained in the data added by the PDCP layer in the PDCP PDU.
In one possible implementation, the processor is specifically configured to:
if all or part of the data added by the PDCP layer in the PDCP PDU is valid, determining that all the PDCP PDUs are valid;
and if all the data added by the PDCP layer in the PDCP PDU are invalid, determining that all the PDCP PDUs are invalid.
In one possible implementation, the processor is specifically configured to:
if all the PDCP PDUs are valid, analyzing and storing the data added by the PDCP layer in the PDCP PDUs, and processing the PDCP sublayer;
and if the PDCP PDUs are all invalid, discarding the data added by the PDCP layer in the PDCP PDUs.
In one possible implementation, the processor is further configured to:
and sending the PDCP SDU in the PDCP PDU on the SRB to an upper layer of a PDCP layer of the receiving equipment.
In a fifth aspect, an embodiment of the present invention further provides a data processing apparatus, where the apparatus includes: at least one processing unit and at least one memory unit, wherein the memory unit stores program code which, when executed by the processing unit, causes the processing unit to perform the steps of any of the methods of the first aspect; or performing the steps of the method of any of the second aspects.
In a sixth aspect, an embodiment of the present invention provides a storage medium readable by a computing device, including program code for causing the computing device to perform the steps of the method of the first aspect when the program code runs on the computing device; or performing the steps of the method of any of the second aspects.
In addition, for technical effects brought by any one implementation manner of the third aspect to the sixth aspect, reference may be made to technical effects brought by different implementation manners of the first aspect to the third aspect, and details are not described here again.
These and other aspects of the present application will be more readily apparent from the following description of the embodiments.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be 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 based on these drawings without inventive exercise.
Fig. 1 is a schematic flow chart of a method at a sending device side in a data processing method according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a method at a receiving device side in the data processing method according to the embodiment of the present invention;
fig. 3 is a schematic structural diagram of a first sending device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a first receiving device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a second transmitting device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a second receiving device according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a third transmitting device according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a third receiving device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, 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.
In fig. 5G, the architecture of a RAN (Radio Access Network) is divided into a CU (central Unit) and a DU (Distributed Unit), where the CU functions include functions above a PDCP protocol Layer, and the DU includes functions of an RLC (Radio Link Control), an MAC (Medium Access Control), and a PHY (Port Physical Layer). The main functions performed by CUs and DUs include: the establishment, modification and deletion of node connection, the establishment, modification and deletion of user context, and the like.
The 5G RAN system provides a two-level handover concept of RRC (Radio Resource Control) level and MAC/PHY level, and only RRC controlled handover is provided in the 4G RAN system, so that the 5G RAN system is further improved in refined management of the system compared with the 4G RAN system.
The handover is one of the reasons why the upper layer of the PDCP triggers the PDCP layer to initiate PDCP re-establishment, and in the 5G RAN system, fine control may be performed in the PDCP re-establishment process to reduce the loss of data at the transmitting end and the receiving end.
It should be noted that the sending device at the sending end may be a terminal, and may also be a network side device; the receiving device at the receiving end may also be a terminal, or may also be a network side device. When the sending equipment is a terminal, the receiving equipment is network side equipment; and when the sending equipment is network side equipment, the receiving equipment is a terminal.
The terminal is a device with a wireless communication function, can be deployed on land and comprises an indoor or outdoor terminal, a handheld terminal or a vehicle-mounted terminal; 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 may be a mobile phone (mobile phone), a tablet computer (pad), a computer with wireless transceiving function, a Virtual Reality (VR) terminal, an Augmented Reality (AR) terminal, a wireless terminal in industrial control (industrial control), a wireless terminal in self driving (self driving), a wireless terminal in remote medical (remote medical), a wireless terminal in smart grid (smart grid), a wireless terminal in transportation safety (transportation safety), a wireless terminal in smart city (smart city), a wireless terminal in smart home (smart home), etc.; but also UEs in various forms, Mobile Stations (MSs), the terminal equipment (terminal device).
The network side device may be a gbb, a macro base station, a micro base station, and the like in 5G.
The scene applicable to the embodiment of the invention is a 5G scene.
The application scenario described in the embodiment of the present invention is for more clearly illustrating the technical solution of the embodiment of the present invention, and does not form a limitation on the technical solution provided in the embodiment of the present invention, and it can be known by a person skilled in the art that with the occurrence of a new application scenario, the technical solution provided in the embodiment of the present invention is also applicable to similar technical problems.
For the application scenario of reducing data loss in the PDCP re-establishment process in the 5G RAN system, the embodiments of the present invention respectively describe reducing data loss at the transmitting end and reducing data loss at the receiving end.
Firstly, data processing aiming at a sending end.
An embodiment of the present invention provides a data processing method, as shown in fig. 1, the method specifically includes the following steps:
s100, after receiving a PDCP reestablishment request sent by an upper layer, a PDCP layer of a sending device determines the validity of PDCP SDUs which are not used for establishing PDCP PDUs and/or the PDCP PDUs which are not sent on a signaling radio bearer SRB;
s101, the PDCP layer of the sending equipment processes the PDCP SDUs according to the determined validity of the PDCP SDUs and/or processes the non-sent PDCP PDUs according to the determined validity of the non-sent PDCP PDUs.
In the embodiment of the invention, after receiving a PDCP reestablishment request sent by an upper layer, a PDCP layer of a sending device firstly determines the validity of PDCP SDUs which are not used for establishing PDCP PDUs and/or the unsent PDCP PDUs on a SRB, and then processes the PDCP SDUs according to the determined validity of the PDCP SDUs and/or processes the PDCP PDUs according to the determined validity of the PDCP PDUs. Because the validity of the PDCP SDU which is not formed into the PDCP PDU on the SRB of the PDCP layer of the sending equipment and/or the PDCP PDU which is not sent is determined, the PDCP SDU which is not formed into the PDCP PDU on the SRB of the PDCP layer of the sending equipment and/or the PDCP PDU which is not sent is not required to be completely discarded, but the PDCP SDU and/or the PDCP PDU is selectively processed according to the validity of the PDCP SDU and/or the PDCP PDU, and the transmission rate of a transmission signaling data packet on the SRB is further improved.
It should be noted that the validity of the PDCP SDUs that are not configured with the PDCP PDUs on the SRB and/or the unsent PDCP PDUs determined by the PDCP layer of the sending device refers to the validity of the data after PDCP re-establishment.
When the PDCP needs to be re-established, an upper layer of the PDCP layer of the transmitting device transmits a PDCP re-establishment request to the PDCP layer of the transmitting device.
It should be noted that the PDCP reestablishment request is notified to the terminal by the network side device, and if the sending device is the terminal, the network side device notifies the upper layer of the PDCP layer of the sending device that the PDCP layer needs to be reestablished when the PDCP needs to be reestablished; if the sending device is a network side device, when the PDCP layer needs to be reestablished, the upper layer of the PDCP layer of the sending device automatically determines whether the PDCP layer needs to be reestablished.
When determining the validity of the data on the SRB after the PDCP layer of the sending device receives the PDCP reestablishment request sent by the upper layer, since the data on the SRB of the PDCP layer of the sending device includes the PDCP SDU which does not form the PDCP PDU and the PDCP PDU which is not sent, when determining the validity of the data on the SRB of the PDCP layer of the sending device, it is necessary to determine the validity of the two data, that is, the validity of the PDCP SDU which does not form the PDCP PDU and the validity of the PDCP PDU which is not sent on the SRB.
The following is directed to determining validity of PDCP SDUs, in which PDCP PDUs are not constructed on the SRB of the PDCP layer of the transmitting device, and processing the PDCP SDUs according to the determined validity of the PDCP SDUs.
And the PDCP layer of the sending equipment determines the validity of the PDCP SDU which is not formed into the PDCP PDU on the SRB according to the validity identification which is sent by the upper layer of the PDCP layer of the sending equipment and is bound with the PDCP SDU.
Wherein, the validity identification bound with the PDCP SDU is determined by the upper layer of the PDCP layer of the sending device according to the data type contained in the PDCP PDU needing to be sent.
It should be noted that under the 5G NG-RAN architecture, there are three types of data that cannot be discarded, NAS (Non access stratum) PDU, partial RRC PDU and IP packet arriving at the RAN. Part of the RRC PDUs herein are not related to the air interface, such as RRC PDUs configured with Quality of Service (Qos) of DRB (Data Resource Bearer).
If all PDCP SDUs of the PDCP PDU which is not built on the SRB of the PDCP layer of the sending equipment are data which can not be discarded under a 5G NG-RAN framework, namely part or all of NAS PDU, part of RRC PDU or IP data packet reaching the RAN, the PDCP SDUs are all valid, and the validity identification bound with the PDCP SDUs is an all-valid identification;
if the PDCP SDU of the PDCP PDU which is not established on the SRB of the PDCP layer of the sending equipment contains data which can not be discarded partially under the 5G NG-RAN architecture, namely NAS PDU, partial RRC PDU and IP data reaching the RAN, and also contains a part of other data, the PDCP SDU is partially valid, and the validity mark bound with the PDCP SDU is a 'partially valid' mark;
if all data contained in the PDCP SDU of the PDCP PDU which is not established on the SRB of the PDCP layer of the sending equipment is not data which can not be discarded under the 5G NG-RAN framework, namely NAS PDU, partial RRC PDU or IP data packet reaching the RAN, the PDCP SDU is all invalid, and the validity identification bound with the PDCP SDU is 'all invalid' identification.
When the validity of the PDCP SDU sent by the upper layer of the PDCP layer of the sending device to the PDCP layer of the sending device is all valid, the PDCP SDU will carry an "all valid" identifier, such as only the uplink and downlink directly transmitted NASPDU;
when the validity of the PDCP SDU sent by the upper layer of the PDCP layer of the sending device to the PDCP layer of the sending device is partially valid, the PDCP SDU will carry a "partially valid" identifier, such as an SDU composed of RRC Connection Setup/reconfiguration signaling data and an NAS PDU;
when the validity of the PDCP SDU sent by the upper layer of the PDCP layer of the sending device to the PDCP layer of the sending device is all invalid, the PDCP SDU will carry an "all invalid" identifier, such as an SDU composed of RRC Connection Setup/reconfiguration signaling data.
The PDCP layer of the sending equipment receives the PDCP SDU sent by the upper layer and the carried validity identification bound with the PDCP SDU, and determines the validity of the received PDCP SDU to be all valid, all invalid or partially valid according to the validity identification bound with the PDCP SDU.
And after determining the validity of the PDCP SDU according to the validity identification bound with the PDCP SDU, the PDCP layer of the sending equipment processes the PDCP SDU according to the validity of the PDCP SDU.
If the validity of the PDCP SDU is all valid, the PDCP layer of the sending equipment builds a PDCP PDU according to the PDCP SDU after the PDCP is reestablished, and sends the built PDCP PDU to a lower layer;
if the validity of the PDCP SDU is all invalid, the PDCP layer of the sending equipment discards the PDCP SDU;
and if the validity of the PDCP SDU is partially valid, the PDCP layer of the sending equipment informs an upper layer to process the PDCP SDU.
Wherein, if the validity of the PDCP SDU is partially valid, the PDCP layer of the sending device notifies an upper layer to process the PDCP SDU, which is divided into two cases.
In case one, if the upper layer of the PDCP layer of the transmitting device does not store the PDCP SDU, the PDCP layer of the transmitting device transmits the PDCP SDU and the validity identifier and the identification identifier bound to the PDCP SDU to the upper layer;
and in the second case, if the upper layer of the PDCP layer of the sending device stores the PDCP SDU, the PDCP layer of the sending device sends the validity identification and the identification bound with the PDCP SDU to the upper layer.
It should be noted that, when the PDCP layer of the sending device determines the validity of the PDCP SDU of the non-established PDCP PDU, the PDCP layer of the sending device may also determine invalid data according to the target cell after handover, and if the target cell after handover cannot use or cannot send data to the air interface, the data is invalid data;
or determining the validity of the data according to whether the content of the PDCP SDU can be matched with the updated algorithm, and if the PDCP SDU cannot be matched with the algorithm parameter after the PDCP is reestablished, determining the PDCP SDU as invalid data.
For example, if the re-establishment of the PDCP is triggered by handover, after the user is handed over to the target cell, the PDCP SDU is all invalid data because the null cell is changed and cannot be used or sent to the null in the target cell.
For another example, if the reestablishment of the PDCP layer is triggered by the need to update the center of the PDCP layer, more updates are performed on the PDCP algorithm or the parameters related to the upper layer algorithm, and if the content of the PDCP PDU cannot match the updated algorithm parameters, the PDCP SDU is all invalid parameters.
The above is a description of the PDCP layer of the sending device processing the PDCP SDU according to the validity of the PDCP SDU in which the PDCP PDU is not established on the SRB, and the following is a description of determining the validity of the PDCP PDU not sent on the SRB of the PDCP layer of the sending device and processing the PDCP PDU according to the determined validity of the PDCP PDU.
It should be noted that the PDCP PDU is composed of PDCP SDU and data added by the PDCP layer, and when the PDCP layer of the transmitting device determines the validity of the PDCP PDU that is not transmitted on the SRB, the PDCP PDU is determined according to the validity of the PDCP SDU constituting the PDCP PDU and the validity of the data added by the PDCP layer constituting the PDCP PDU.
First, the validity of PDCP SDUs in the PDCP PDUs which are not transmitted on the SRB is determined.
And the PDCP layer of the sending equipment determines the validity of the PDCP SDU according to the validity identification which is carried when the upper layer of the PDCP layer of the receiving sending equipment sends the PDCP SDU and is bound with the PDCP SDU.
Wherein, the validity identification bound with the PDCP SDU is determined by the upper layer of the PDCP layer of the sending device according to the data type contained in the PDCP PDU needing to be sent.
As there are three types of data that cannot be discarded under the 5G NG-RAN architecture, NAS PDUs, partial RRC PDUs, or IP packets arriving at the RAN. Here, part of the RRC PDU is not related to the air interface, such as the RRC PDU configuring the DRB Qos. Therefore, when the upper layer of the PDCP layer of the sending device determines the validity identifier bound with the PDCP SDU according to the data type contained in the PDCP PDU to be sent, if all the PDCP SDUs in the PDCP PDU that is not sent on the SRB of the PDCP layer of the sending device are data that cannot be discarded under the 5G NG-RAN architecture, then all the PDCP SDUs are valid, and the validity identifier bound with the PDCP SDU is an "all valid" identifier, such as an NAS PDU that has only uplink and downlink direct transmission;
if part of PDCP SDUs in the PDCP PDUs which are not transmitted on the SRB of the PDCP layer of the transmitting device is data which can not be discarded under a 5GNG-RAN framework, and the rest of the PDCP SDUs are other data which are distinguished from the data which can not be discarded under the 5G NG-RAN framework, the PDCP SDUs are partially valid, and the validity identification bound with the PDCP SDUs is a partial valid identification, such as SDUs consisting of RRC Connection Setup/reconfiguration signaling data and NAS PDUs;
if all data contained in the PDCP SDU in the PDCP PDU that is not transmitted on the SRB of the PDCP layer of the transmitting device is not data that can not be discarded under the 5G NG-RAN architecture, the PDCP SDU is all invalid, and the validity flag bound to the PDCP SDU is a "all invalid" flag, such as an SDU composed of RRC Connection Setup/reconfiguration signaling data.
And the PDCP layer of the sending equipment determines that the validity of the PDCP SDU is all valid, partially valid or all invalid according to the validity identification bound with the PDCP SDU.
It should be noted that, the validity flag bound to the PDCP SDU may be carried when the upper layer of the PDCP layer of the sending device sends the PDCP SDU to the PDCP layer of the sending device.
When the PDCP layer of the sending equipment determines the validity of the PDCP SDU of the non-built PDCP PDU, the PDCP layer of the sending equipment can also determine invalid data according to the switched target cell, and if the switched target cell cannot be used or the data which cannot be sent to an air interface is invalid data;
or determining the validity of the data according to whether the content of the PDCP SDU can be matched with the updated algorithm, and if the PDCP SDU cannot be matched with the algorithm parameter after the PDCP is reestablished, determining the PDCP SDU as invalid data.
For example, if the re-establishment of the PDCP is triggered by handover, after the user is handed over to the target cell, the PDCP SDU is all invalid data because the null cell is changed and cannot be used or sent to the null in the target cell.
For another example, if the reestablishment of the PDCP layer is triggered by the need to update the center of the PDCP layer, more updates are performed on the PDCP algorithm or the parameters related to the upper layer algorithm, and if the content of the PDCP PDU cannot match the updated algorithm parameters, the PDCP SDU is all invalid parameters.
After determining the validity of the PDCP SDU in the PDCP PDU that is not transmitted on the SRB of the PDCP layer of the transmitting device, the following describes the validity of the data added by the PDCP layer in the PDCP PDU determined by the PDCP layer of the transmitting device.
And the PDCP layer of the sending equipment determines the validity of the data added by the PDCP layer in the PDCP PDU according to the data type contained in the data added by the PDCP layer in the PDCP PDU.
As there are three types of data that cannot be discarded under the 5G NG-RAN architecture, NAS PDUs, partial RRC PDUs, or IP packets arriving at the RAN. Here, part of the RRC PDU is not related to the air interface, such as the RRC PDU configuring the DRB Qos. When the validity of the data added by the PDCP layer in the PDCP PDU is determined according to the data type included in the data added by the PDCP layer in the PDCP PDU, if all the data added by the PDCP layer in the PDCP PDU that is not sent on the SRB of the PDCP layer of the sending device is data that cannot be discarded under the 5G NG-RAN architecture, all the data added by the PDCP layer is valid;
if the data added by the PDCP layer in the PDCP PDUs which are not sent on the SRB of the PDCP layer of the sending device is the data which can not be discarded under the 5G NG-RAN framework in the middle and the other data which is different from the data which can not be discarded under the 5G NG-RAN framework in the other parts, the data added by the PDCP layer is partially valid;
if all data contained in the data added by the PDCP layer in the PDCP PDUs which are not sent on the SRB of the PDCP layer of the sending device are not the data which can not be discarded under the 5G NG-RAN framework, the data added by the PDCP layer is invalid.
It should be noted that the PDCP layer refers to a PDCP protocol, and the PDCP entity refers to an entity that allows a function of the PDCP protocol, so that data added by the PDCP layer, that is, data added by the PDCP entity, is added. The Data added by the PDCP layer includes the PDCP header and the content of the Data field of the PDCP.
For example, the PDCP layer adds a MAC-I (Message Authentication Code for integrity) in the Data field, adds an SN in the header, or adds a value of another D/C field, and so on.
The validity of PDCP SDUs in the unsent PDCP PDUs on the SRB of the PDCP layer of the transmitting device and the validity of data added by the PDCP layer are explained below, where the PDCP layer of the transmitting device determines the validity of the unsent PDCP PDUs on the SRB according to the validity of the PDCP SDUs in the PDCP PDUs and/or the validity of data added by the PDCP layer.
If the PDCP SDU part in the PDCP PDU is valid or all is invalid, the PDCP layer of the sending equipment determines that the PDCP PDU is all invalid.
For example, if the validity flag of the PDCP SDU in the PDCP PDU that is not transmitted on the SRB of the PDCP layer of the transmitting device is "partial valid" flag, the PDCP layer of the transmitting device determines that all the PDCP PDUs are invalid.
For another example, if the validity flag of the PDCP SDU in the PDCP PDU that is not sent on the SRB of the PDCP layer of the sending device is "all invalid" flag, the PDCP layer of the sending device determines that the PDCP PDU is all invalid.
And if all the PDCP SDUs in the PDCP PDU are valid and all the data added by the PDCP layer in the PDCP PDU are valid, the PDCP layer of the sending equipment determines that all the PDCP PDUs are valid.
For example, if the validity flag of the PDCP SDU in the PDCP PDU that is not sent on the SRB of the PDCP layer of the sending device is "all valid" flag, and the data added by the PDCP layer in the PDCP PDU that is not sent on the SRB is NAS PDU, the PDCP layer of the sending device determines that all the PDCP PDUs are valid.
And if all the PDCP SDUs in the PDCP PDU are valid and the data part added by the PDCP layer in the PDCP PDU is valid, the PDCP layer of the sending equipment determines that the first part of the PDCP PDU is valid.
For example, if the validity flag of the PDCP SDU in the PDCP PDU that is not sent on the SRB of the PDCP layer of the sending device is "all valid" flag, and the data added by the PDCP layer in the PDCP PDU that is not sent on the SRB is composed of RRC ConnectionSetup/reconfiguration signaling data and NAS PDU, the PDCP layer of the sending device determines that the first part of the PDCP PDU is valid.
And if all the PDCP SDUs in the PDCP PDU are valid and all the data added by the PDCP layer in the PDCP PDU are invalid, the PDCP layer of the sending equipment determines that the second part of the PDCP PDU is valid.
For example, the validity flag of the PDCP SDU in the PDCP PDU that is not sent on the SRB of the PDCP layer of the sending device is "all valid" flag, and the data added by the PDCP layer in the PDCP PDU that is not sent on the SRB is composed of RRC ConnectionSetup/reconfiguration signaling data, then the PDCP layer of the sending device determines that the second part of the PDCP PDU is valid.
The PDCP layer of the sending device determines the validity of the PDCP PDU to be completely invalid, completely valid, the first part valid, and the second part valid according to the determined validity of the PDCP SDU in the PDCP PDU and/or the validity of data added by the PDCP layer, and then processes the PDCP PDU according to the determined validity of the PDCP PDU, which will be described in detail below.
If the validity of the PDCP PDU is all invalid, namely the data in the PDCP PDU is the data which can be discarded under the 5G NG-RAN framework, the PDCP layer of the sending device discards the PDCP PDU;
if the validity of the PDCP PDU is all valid, namely the data in the PDCP PDU is the data which can not be discarded under the 5G NG-RAN framework, the PDCP PDU is reserved by the PDCP layer of the sending equipment, and the PDCP PDU is sent to the lower layer of the PDCP layer of the sending equipment after the PDCP is reestablished;
if the validity of the PDCP PDU is that the first part is valid, namely all PDCP SDUs in the PDCP PDU are valid, and the data part added by the PDCP layer in the PDCP PDU is valid, the PDCP layer of the sending equipment discards the invalid part in the added data, reconstructs the PDCP PDU after the PDCP is reestablished, and sends the reconstructed PDCP PDU to a lower layer;
if the validity of the PDCP PDU is the second part valid, that is, all PDCP SDUs in the PDCP PDU are valid, and all data added by the PDCP layer in the PDCP PDU are invalid, the PDCP layer of the transmitting device discards the data added by the PDCP layer, reconstructs the PDCP PDU according to the PDCP SDU after the PDCP is re-established, and transmits the reconstructed PDCP PDU to the lower layer.
After the data of the sending end is processed and explained according to the data validity, the following process is detailed for the data of the receiving end according to the data validity.
And secondly, processing data aiming at a receiving end.
An embodiment of the present invention provides a data processing method, as shown in fig. 2, the method specifically includes the following steps:
step 200, after receiving a PDCP layer of the receiving device, the PDCP layer determines validity of an unresolved PDCP PDU on the SRB after receiving a PDCP reestablishment request sent by an upper layer;
step 201, the PDCP layer of the receiving device processes the unresolved PDCP PDU according to the determined validity of the unresolved PDCP PDU.
In the embodiment of the invention, after receiving a PDCP reestablishment request sent by an upper layer, a PDCP layer of a receiving device firstly determines the effectiveness of the unresolved PDCP PDU on an SRB, and then processes the unresolved PDCP PDU according to the determined effectiveness of the unresolved PDCP PDU on the SRB. Because the effectiveness of the unresolved PDCP PDU on the SRB is determined, the unresolved PDCP PDU on the SRB of the PDCP layer of the receiving equipment is not required to be completely discarded, but the unresolved PDCP PDU on the SRB is selectively processed according to the determined effectiveness of the unresolved PDCP PDU on the SRB, and the transmission rate of a transmission signaling data packet on the SRB is further improved.
It should be noted that the validity of the unresolved PDCP PDU on the SRB determined by the PDCP layer of the receiving device refers to the validity of data after PDCP re-establishment.
When the PDCP needs to be re-established, an upper layer of the PDCP layer of the receiving device may send a PDCP re-establishment request to the PDCP layer of the receiving device.
It should be noted that the PDCP reestablishment request is notified to the terminal by the network side device, and if the receiving device is the terminal, the network side device notifies the upper layer of the PDCP layer of the sending device that the PDCP layer needs to be reestablished when the PDCP needs to be reestablished; if the receiving device is a network side device, when the PDCP layer needs to be reestablished, the upper layer of the PDCP layer of the receiving device automatically determines whether the PDCP layer needs to be reestablished.
After receiving the PDCP reestablishment request sent by the upper layer, the PDCP layer of the receiving device determines the validity of the data on the SRB, and since the PDCP layer of the receiving device correctly receives the PDCP PDU, it indicates that the PDCP PDU in the PDCP PDU is all valid data, so when determining the validity of the PDCP PDU, the PDCP layer of the receiving device only needs to determine the validity of the data added by the PDCP layer in the PDCP PDU.
The following describes in detail the validity of the PDCP layer of the receiving device in determining the data added by the PDCP layer in the unresolved PDCP PDUs on the SRB.
And the PDCP layer of the receiving equipment determines the validity of the data added by the PDCP layer in the PDCP PDU according to the data type contained in the data added by the PDCP layer in the PDCP PDU.
It should be noted that under the 5G NG-RAN architecture, there are three types of data that cannot be discarded, NAS PDU, partial RRCPDU or IP packet arriving at RAN. Here, part of the RRC PDU is not related to the air interface, such as the RRC PDU configuring the DRB Qos.
If all the data added by the PDCP layer in the PDCP PDUs on the SRB of the PDCP layer of the receiving equipment are data which can not be discarded under a 5GNG-RAN framework, namely part or all of NAS PDUs, part of RRC PDUs or IP data packets arriving at the RAN, the data added by the PDCP layer in the PDCP PDUs is all valid;
if the data added by the PDCP layer in the PDCP PDUs on the SRB of the PDCP layer of the receiving equipment contains data which can not be discarded under the 5G NG-RAN architecture, namely NAS PDUs, partial RRC PDUs or IP data reaching the RAN, and also contains a part of other data, the data added by the PDCP layer in the DCP PDUs is partial valid;
if all data contained in the data added by the PDCP layer in the PDCP PDUs on the SRB of the PDCP layer of the receiving device is not data which can not be discarded under the 5G NG-RAN architecture, namely NAS PDUs, partial RRC PDUs or IP data packets arriving at the RAN, the data added by the PDCP layer in the PDCP PDUs is invalid.
After the validity of the data added by the PDCP layer in the PDCP PDUs on the SRB of the PDCP layer of the receiving equipment is determined, the validity of the PDCP PDUs on the SRB of the PDCP layer of the receiving equipment is determined according to the determined validity of the data added by the PDCP layer.
If all or part of the data added by the PDCP layer in the PDCP PDU is valid, the PDCP layer of the receiving equipment determines that all the PDCP PDU is valid;
if all the data added by the PDCP layer in the PDCP PDU is invalid, the PDCP layer of the receiving equipment determines that all the PDCP PDUs are invalid.
After the validity of the PDCP PDU on the SRB of the PDCP layer of the receiving equipment is determined, the PDCP layer of the receiving equipment processes the PDCP PDU according to the determined validity of the PDCP PDU on the SRB.
If all the PDCP PDUs are valid, the PDCP layer of the receiving equipment analyzes and stores the data added by the PDCP layer in the PDCP PDUs, processes the PDCP sublayer and sends the PDCP SDUs in the PDCP PDUs to the upper layer of the PDCP layer of the receiving equipment;
if all the PDCP PDUs are invalid, the PDCP layer of the receiving device discards the data added by the PDCP layer in the PDCP PDUs, and sends the PDCP SDUs in the PDCP PDUs to an upper layer of the PDCP layer of the receiving device.
It should be noted that the PDCP layer of the receiving device is to send PDCP SDUs to the upper layer of the PDCP layer of the receiving device according to the correct precedence order.
Based on the same inventive concept, the embodiment of the present invention further provides a data processing device, and as the device is a sending device for performing data processing in the embodiment of the present invention, and the principle of the device for solving the problem is similar to that of the method, the implementation of the device may refer to the implementation of the method, and repeated details are not repeated.
As shown in fig. 3, an embodiment of the present invention further provides a data processing apparatus, where the apparatus includes: processor 300 and transceiver 301:
the processor 300 is configured to determine validity of PDCP SDUs that do not form PDCP PDUs on the signaling radio bearer SRB and/or PDCP PDUs that are not sent after receiving a PDCP reestablishment request sent by an upper layer; and processing the PDCP SDU according to the determined validity of the PDCP SDU and/or processing the unsent PDCP PDU according to the determined validity of the unsent PDCP PDU.
The transceiver 301 is used to transmit and receive data under the control of the processor 300.
Optionally, the processor 300 is specifically configured to:
and determining the validity of the PDCP SDU according to the validity identification which is sent by the upper layer and bound with the PDCP SDU.
Optionally, the processor 300 is specifically configured to:
if the validity of the PDCP SDU is all valid, the PDCP PDU is established according to the PDCP SDU after the PDCP is reestablished; or
If the validity of the PDCP SDU is partially valid, notifying an upper layer to process the PDCP SDU; or
And if the validity of the PDCP SDU is all invalid, discarding the PDCP SDU.
Optionally, the processor 300 is specifically configured to:
sending the PDCP SDU and the validity identification and the identification bound with the PDCP SDU to an upper layer; or
And sending the validity identification and the identification bound with the PDCP SDU to an upper layer.
Optionally, the processor 300 is further configured to:
and sending the constructed PDCP PDU to a lower layer.
Optionally, the processor 300 is specifically configured to:
and determining the validity of the PDCP PDU which is not sent on the SRB according to the validity of the PDCP SDU in the PDCP PDU and/or the validity of the data added by the PDCP layer.
Optionally, the processor 300 is specifically configured to:
if the PDCP SDU in the PDCP PDU is partially valid or completely invalid, determining that the PDCP PDU is completely invalid; or
If all the PDCP SDUs in the PDCP PDU are valid and all the data added by the PDCP layer in the PDCP PDU are valid, determining that all the PDCP PDUs are valid; or
If all PDCP SDUs in the PDCP PDU are valid and the data part added by the PDCP layer in the PDCP PDU is valid, determining that the first part of the PDCP PDU is valid;
and if all the PDCP SDUs in the PDCP PDU are valid and all the data added by the PDCP layer in the PDCP PDU are invalid, determining that the second part of the PDCP PDU is valid.
Optionally, the processor 300 is specifically configured to:
determining validity of PDCP SDUs in the PDCP PDU by:
and determining the validity of the PDCP SDU according to the validity identification which is sent by the upper layer and bound with the PDCP SDU.
Optionally, the upper layer of the sending device determines the validity identifier of the PDCP SDU binding by the following means:
and the upper layer of the PDCP layer of the sending equipment determines the binding validity identification of the PDCP SDU according to the data type contained in the PDCP SDU.
Optionally, the processor 300 is specifically configured to:
determining validity of data added by a PDCP layer in the PDCP PDU by:
and determining the validity of the data added by the PDCP layer in the PDCP PDU according to the data type contained in the data added by the PDCP layer in the PDCP PDU.
Optionally, the processor 300 is specifically configured to:
if the validity of the PDCP PDU is all invalid, discarding the PDCP PDU; or
If the validity of the PDCP PDU is all valid, the PDCP PDU is reserved; or
If the validity of the PDCP PDU is that the first part is valid, discarding an invalid part in the added data, and reconstructing the PDCP PDU after the PDCP is reestablished; or
And if the validity of the PDCP PDU is that the second part is valid, reconstructing the PDCP PDU according to the PDCP SDU after the PDCP is reestablished.
Optionally, the processor 300 is further configured to:
transmitting the reserved PDCP PDU to a lower layer;
and sending the reconstructed PDCP PDU to a lower layer.
Based on the same inventive concept, the embodiment of the present invention further provides a data processing device, and as the device is a receiving device for performing data processing in the embodiment of the present invention, and the principle of the device for solving the problem is similar to that of the method, the implementation of the device may refer to the implementation of the method, and repeated details are not repeated.
As shown in fig. 4, an embodiment of the present invention further provides a data processing apparatus, where the apparatus includes: processor 400 and transceiver 401:
the processor 400 is configured to determine validity of an unresolved PDCP PDU on the SRB after receiving a PDCP reestablishment request sent by an upper layer; and processing the unresolved PDCP PDU according to the determined effectiveness of the unresolved PDCP PDU.
The transceiver 401 is used to transmit and receive data under the control of the processor 400.
Optionally, the processor 400 is specifically configured to:
and determining the validity of the PDCP PDU on the SRB according to the validity of the data added by the PDCP layer in the PDCP PDU.
Optionally, the processor 400 is specifically configured to:
determining validity of data added by a PDCP layer in the PDCP PDU by:
and determining the validity of the data added by the PDCP layer in the PDCP PDU according to the data type contained in the data added by the PDCP layer in the PDCP PDU.
Optionally, the processor 400 is specifically configured to:
if all or part of the data added by the PDCP layer in the PDCP PDU is valid, determining that all the PDCP PDUs are valid;
and if all the data added by the PDCP layer in the PDCP PDU are invalid, determining that all the PDCP PDUs are invalid.
Optionally, the processor 400 is specifically configured to:
if all the PDCP PDUs are valid, analyzing and storing the data added by the PDCP layer in the PDCP PDUs, and processing the PDCP sublayer;
and if the PDCP PDUs are all invalid, discarding the data added by the PDCP layer in the PDCP PDUs.
Optionally, the processor 400 is further configured to:
and sending the PDCP SDU in the PDCP PDU on the SRB to an upper layer of a PDCP layer of the receiving equipment.
Based on the same inventive concept, the embodiment of the present invention further provides a data processing device, and as the device is a sending device for performing data processing in the embodiment of the present invention, and the principle of the device for solving the problem is similar to that of the method, the implementation of the device may refer to the implementation of the method, and repeated details are not repeated.
As shown in fig. 5, an embodiment of the present invention provides a data processing apparatus, including: at least one processing unit 500, and at least one memory unit 501, wherein the memory unit 501 stores program code that, when executed by the processing unit 500, causes the processing unit 500 to perform the following:
after receiving a PDCP reestablishment request sent by an upper layer, determining the validity of PDCP SDUs which are not used for establishing a PDCP PDU and/or the PDCP PDUs which are not sent on a signaling radio bearer SRB; and processing the PDCP SDU according to the determined validity of the PDCP SDU and/or processing the unsent PDCP PDU according to the determined validity of the unsent PDCP PDU.
Optionally, the processing unit 500 is specifically configured to:
and determining the validity of the PDCP SDU according to the validity identification which is sent by the upper layer and bound with the PDCP SDU.
Optionally, the processing unit 500 is specifically configured to:
if the validity of the PDCP SDU is all valid, the PDCP PDU is established according to the PDCP SDU after the PDCP is reestablished; or
If the validity of the PDCP SDU is partially valid, notifying an upper layer to process the PDCP SDU; or
And if the validity of the PDCP SDU is all invalid, discarding the PDCP SDU.
Optionally, the processing unit 500 is specifically configured to:
sending the PDCP SDU and the validity identification and the identification bound with the PDCP SDU to an upper layer; or
And sending the validity identification and the identification bound with the PDCP SDU to an upper layer.
Optionally, the processing unit 500 is further configured to:
and sending the constructed PDCP PDU to a lower layer.
Optionally, the processing unit 500 is specifically configured to:
and determining the validity of the PDCP PDU which is not sent on the SRB according to the validity of the PDCP SDU in the PDCP PDU and/or the validity of the data added by the PDCP layer.
Optionally, the processing unit 500 is specifically configured to:
if the PDCP SDU in the PDCP PDU is partially valid or completely invalid, determining that the PDCP PDU is completely invalid; or
If all the PDCP SDUs in the PDCP PDU are valid and all the data added by the PDCP layer in the PDCP PDU are valid, determining that all the PDCP PDUs are valid; or
If all PDCP SDUs in the PDCP PDU are valid and the data part added by the PDCP layer in the PDCP PDU is valid, determining that the first part of the PDCP PDU is valid;
and if all the PDCP SDUs in the PDCP PDU are valid and all the data added by the PDCP layer in the PDCP PDU are invalid, determining that the second part of the PDCP PDU is valid.
Optionally, the processing unit 500 is specifically configured to:
determining validity of PDCP SDUs in the PDCP PDU by:
and determining the validity of the PDCP SDU according to the validity identification which is sent by the upper layer and bound with the PDCP SDU.
Optionally, the upper layer of the sending device determines the validity identifier of the PDCP SDU binding by the following means:
and the upper layer of the PDCP layer of the sending equipment determines the binding validity identification of the PDCP SDU according to the data type contained in the PDCP SDU.
Optionally, the processing unit 500 is specifically configured to:
determining validity of data added by a PDCP layer in the PDCP PDU by:
and determining the validity of the data added by the PDCP layer in the PDCP PDU according to the data type contained in the data added by the PDCP layer in the PDCP PDU.
Optionally, the processing unit 500 is specifically configured to:
if the validity of the PDCP PDU is all invalid, discarding the PDCP PDU; or
If the validity of the PDCP PDU is all valid, the PDCP PDU is reserved; or
If the validity of the PDCP PDU is that the first part is valid, discarding an invalid part in the added data, and reconstructing the PDCP PDU after the PDCP is reestablished; or
And if the validity of the PDCP PDU is that the second part is valid, reconstructing the PDCP PDU according to the PDCP SDU after the PDCP is reestablished.
Optionally, the processing unit 500 is further configured to:
transmitting the reserved PDCP PDU to a lower layer;
and sending the reconstructed PDCP PDU to a lower layer.
Based on the same inventive concept, the embodiment of the present invention further provides a data processing device, and as the device is a receiving device for performing data processing in the embodiment of the present invention, and the principle of the device for solving the problem is similar to that of the method, the implementation of the device may refer to the implementation of the method, and repeated details are not repeated.
As shown in fig. 6, an embodiment of the present invention provides a data processing apparatus, including: at least one processing unit 600, and at least one memory unit 601, wherein the memory unit 601 stores program code that, when executed by the processing unit 600, causes the processing unit 600 to perform the following:
after receiving a PDCP reestablishment request sent by an upper layer, determining the validity of the unresolved PDCP PDU on the SRB; and processing the unresolved PDCP PDU according to the determined validity of the unresolved PDCP PDU.
Optionally, the processing unit 600 is specifically configured to:
and determining the validity of the PDCP PDU on the SRB according to the validity of the data added by the PDCP layer in the PDCP PDU.
Optionally, the processing unit 600 is specifically configured to:
determining validity of data added by a PDCP layer in the PDCP PDU by:
and determining the validity of the data added by the PDCP layer in the PDCP PDU according to the data type contained in the data added by the PDCP layer in the PDCP PDU.
Optionally, the processing unit 600 is specifically configured to:
if all or part of the data added by the PDCP layer in the PDCP PDU is valid, determining that all the PDCP PDUs are valid;
and if all the data added by the PDCP layer in the PDCP PDU are invalid, determining that all the PDCP PDUs are invalid.
Optionally, the processing unit 600 is specifically configured to:
if all the PDCP PDUs are valid, analyzing and storing the data added by the PDCP layer in the PDCP PDUs, and processing the PDCP sublayer;
and if the PDCP PDUs are all invalid, discarding the data added by the PDCP layer in the PDCP PDUs.
Optionally, the processing unit 600 is further configured to:
and sending the PDCP SDU in the PDCP PDU on the SRB to an upper layer of a PDCP layer of the receiving equipment.
Based on the same inventive concept, the embodiment of the present invention further provides a data processing device, and as the device is a sending device for performing data processing in the embodiment of the present invention, and the principle of the device for solving the problem is similar to that of the method, the implementation of the device may refer to the implementation of the method, and repeated details are not repeated.
As shown in fig. 7, an embodiment of the present invention further provides a data processing apparatus, where the apparatus includes: the first determination module 700 and the first processing module 701:
the first determination module 700: the method comprises the steps of determining the validity of PDCP SDUs which are not used for establishing PDCP PDUs and/or the PDCP PDUs which are not sent on a Signaling Radio Bearer (SRB) after receiving a PDCP reestablishment request sent by an upper layer;
the first processing module 701: and the processor is configured to process the PDCP SDU according to the determined validity of the PDCP SDU and/or process the unsent PDCP PDU according to the determined validity of the unsent PDCP PDU.
Optionally, the first determining module 700 is specifically configured to:
and determining the validity of the PDCP SDU according to the validity identification which is sent by the upper layer and bound with the PDCP SDU.
Optionally, the first processing module 701 is specifically configured to:
if the validity of the PDCP SDU is all valid, the PDCP PDU is established according to the PDCP SDU after the PDCP is reestablished; or
If the validity of the PDCP SDU is partially valid, notifying an upper layer to process the PDCP SDU; or
And if the validity of the PDCP SDU is all invalid, discarding the PDCP SDU.
Optionally, the first processing module 701 is specifically configured to:
sending the PDCP SDU and the validity identification and the identification bound with the PDCP SDU to an upper layer; or
And sending the validity identification and the identification bound with the PDCP SDU to an upper layer.
Optionally, the first processing module 701 is further configured to:
and sending the constructed PDCP PDU to a lower layer.
Optionally, the first determining module 700 is specifically configured to:
and determining the validity of the PDCP PDU which is not sent on the SRB according to the validity of the PDCP SDU in the PDCP PDU and/or the validity of the data added by the PDCP layer.
Optionally, the first determining module 700 is specifically configured to:
if the PDCP SDU in the PDCP PDU is partially valid or completely invalid, determining that the PDCP PDU is completely invalid; or
If all the PDCP SDUs in the PDCP PDU are valid and all the data added by the PDCP layer in the PDCP PDU are valid, determining that all the PDCP PDUs are valid; or
If all PDCP SDUs in the PDCP PDU are valid and the data part added by the PDCP layer in the PDCP PDU is valid, determining that the first part of the PDCP PDU is valid;
and if all the PDCP SDUs in the PDCP PDU are valid and all the data added by the PDCP layer in the PDCP PDU are invalid, determining that the second part of the PDCP PDU is valid.
Optionally, the first determining module 700 is specifically configured to:
determining validity of PDCP SDUs in the PDCP PDU by:
and determining the validity of the PDCP SDU according to the validity identification which is sent by the upper layer and bound with the PDCP SDU.
Optionally, the upper layer of the sending device determines the validity identifier of the PDCP SDU binding by the following means:
and the upper layer of the PDCP layer of the sending equipment determines the binding validity identification of the PDCP SDU according to the data type contained in the PDCP SDU.
Optionally, the first determining module 700 is specifically configured to:
determining validity of data added by a PDCP layer in the PDCP PDU by:
and determining the validity of the data added by the PDCP layer in the PDCP PDU according to the data type contained in the data added by the PDCP layer in the PDCP PDU.
Optionally, the first processing module 701 is specifically configured to:
if the validity of the PDCP PDU is all invalid, discarding the PDCP PDU; or
If the validity of the PDCP PDU is all valid, the PDCP PDU is reserved; or
If the validity of the PDCP PDU is that the first part is valid, discarding an invalid part in the added data, and reconstructing the PDCP PDU after the PDCP is reestablished; or
And if the validity of the PDCP PDU is that the second part is valid, reconstructing the PDCP PDU according to the PDCP SDU after the PDCP is reestablished.
Optionally, the first processing module 701 is further configured to:
transmitting the reserved PDCP PDU to a lower layer;
and sending the reconstructed PDCP PDU to a lower layer.
Based on the same inventive concept, the embodiment of the present invention further provides a data processing device, and as the device is a receiving device for performing data processing in the embodiment of the present invention, and the principle of the device for solving the problem is similar to that of the method, the implementation of the device may refer to the implementation of the method, and repeated details are not repeated.
As shown in fig. 8, an embodiment of the present invention further provides a data processing apparatus, where the apparatus includes: second determination module 800 and second processing module 801:
a second determining module 800, configured to determine validity of an unresolved PDCP PDU on the SRB after receiving a PDCP reestablishment request sent by an upper layer;
a second processing module 801, configured to process the unresolved PDCP PDU according to the determined validity of the unresolved PDCP PDU.
Optionally, the second determining module 800 is specifically configured to:
and determining the validity of the PDCP PDU on the SRB according to the validity of the data added by the PDCP layer in the PDCP PDU.
Optionally, the second determining module 800 is specifically configured to:
determining validity of data added by a PDCP layer in the PDCP PDU by:
and determining the validity of the data added by the PDCP layer in the PDCP PDU according to the data type contained in the data added by the PDCP layer in the PDCP PDU.
Optionally, the second determining module 800 is specifically configured to:
if all or part of the data added by the PDCP layer in the PDCP PDU is valid, determining that all the PDCP PDUs are valid;
and if all the data added by the PDCP layer in the PDCP PDU are invalid, determining that all the PDCP PDUs are invalid.
Optionally, the second processing module 801 is specifically configured to:
if all the PDCP PDUs are valid, analyzing and storing the data added by the PDCP layer in the PDCP PDUs, and processing the PDCP sublayer;
and if the PDCP PDUs are all invalid, discarding the data added by the PDCP layer in the PDCP PDUs.
Optionally, the second processing module 801 is further configured to:
and sending the PDCP SDU in the PDCP PDU on the SRB to an upper layer of a PDCP layer of the receiving equipment.
The present application is described above with reference to block diagrams and/or flowchart illustrations of methods, apparatus (systems) and/or computer program products according to embodiments of the application. It will be understood that one block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, and/or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer and/or other programmable data processing apparatus, create means for implementing the functions/acts specified in the block diagrams and/or flowchart block or blocks.
Accordingly, the subject application may also be embodied in hardware and/or in software (including firmware, resident software, micro-code, etc.). Furthermore, the present application may take the form of a computer program product on a computer-usable or computer-readable storage medium having computer-usable or computer-readable program code embodied in the medium for use by or in connection with an instruction execution system. In the context of this application, a computer-usable or computer-readable medium may be any medium that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (38)

1. A method of data processing, the method comprising:
after receiving a PDCP reestablishment request sent by an upper layer, a packet data convergence protocol PDCP layer of a sending device determines the validity of a PDCP service data unit SDU which is not used for establishing a PDCP protocol data unit PDU and/or the unsent PDCP PDU on a signaling radio bearer SRB;
and the PDCP layer of the sending equipment processes the PDCP SDUs according to the determined validity of the PDCP SDUs and/or processes the unsent PDCP PDUs according to the determined validity of the unsent PDCP PDUs.
2. The method of claim 1, wherein the determining, by the PDCP layer of the transmitting device, validity of PDCP SDUs on the SRBs for which PDCP PDUs have not been constructed comprises:
and the PDCP layer of the sending equipment determines the validity of the PDCP SDU according to the validity identification which is sent by the upper layer and bound with the PDCP SDU.
3. The method as claimed in claim 2, wherein the PDCP layer of the transmitting device processes the PDCP SDU according to the determined validity of the PDCP SDU, comprising:
if the validity of the PDCP SDU is all valid, the PDCP layer of the sending equipment builds a PDCP PDU according to the PDCP SDU after the PDCP is reestablished; or
If the validity of the PDCP SDU is partial validity, the PDCP layer of the sending equipment informs an upper layer to process the PDCP SDU; or
And if the validity of the PDCP SDU is completely invalid, the PDCP layer of the sending equipment discards the PDCP SDU.
4. The method of claim 3, wherein the PDCP layer of the transmitting device informing an upper layer of processing the PDCP sdu comprising:
the PDCP layer of the sending equipment sends the PDCP SDU and the validity identification and the identification bound with the PDCP SDU to an upper layer; or
And the PDCP layer of the sending equipment sends the validity identification and the identification bound with the PDCP SDU to an upper layer.
5. The method of claim 3, wherein the PDCP layer of the transmitting device, after the PDCP re-establishment, constructs PDCP PDUs according to the PDCP SDUs, further comprises:
and the PDCP layer of the sending equipment sends the constructed PDCP PDU to a lower layer.
6. The method of claim 1, wherein the PDCP layer of the transmitting device determining validity of the unsent PDCP PDUs on the SRBs comprises:
and the PDCP layer of the sending equipment determines the validity of the PDCP PDU which is not sent on the SRB according to the validity of the PDCP SDU in the PDCP PDU and/or the validity of the data added by the PDCP layer.
7. The method as claimed in claim 6, wherein the determining, by the PDCP layer of the transmitting device, the validity of the unsent PDCP PDUs on the SRBs according to the validity of the PDCP SDUs in the PDCP PDUs and/or the validity of the data added by the PDCP layer comprises:
if the PDCP SDU in the PDCP PDU is partially or completely invalid, the PDCP layer of the sending equipment determines that the PDCP PDU is completely invalid; or
If all the PDCP SDUs in the PDCP PDU are valid and all the data added by the PDCP layer in the PDCP PDU are valid, the PDCP layer of the sending equipment determines that all the PDCP PDUs are valid; or
If all the PDCP SDUs in the PDCP PDU are valid and the data part added by the PDCP layer in the PDCP PDU is valid, the PDCP layer of the sending equipment determines that the first part of the PDCP PDU is valid;
and if all the PDCP SDUs in the PDCP PDU are valid and all the data added by the PDCP layer in the PDCP PDU are invalid, the PDCP layer of the sending equipment determines that the second part of the PDCP PDU is valid.
8. The method of claim 7, wherein the PDCP layer of the transmitting device determines validity of PDCP SDUs in PDCP PDUs by:
and the PDCP layer of the sending equipment determines the validity of the PDCP SDU according to the validity identification which is sent by the upper layer and bound with the PDCP SDU.
9. The method of claim 2 or 8, wherein an upper layer of the PDCP layer of the transmitting device determines the validity indicator of the PDCP SDU binding by:
and the upper layer of the PDCP layer of the sending equipment determines the binding validity identification of the PDCP SDU according to the data type contained in the PDCP SDU.
10. The method of claim 7, wherein the PDCP layer of the transmitting device determines validity of the data added by the PDCP layer in the PDCP PDU by:
and the PDCP layer of the sending equipment determines the validity of the data added by the PDCP layer in the PDCP PDU according to the data type contained in the data added by the PDCP layer in the PDCP PDU.
11. The method of claim 7, wherein the PDCP layer of the transmitting device processing the PDCP PDUs according to the determined validity of the PDCP PDUs comprises:
if the validity of the PDCP PDU is all invalid, the PDCP layer of the sending equipment discards the PDCP PDU; or
If the validity of the PDCP PDU is all valid, the PDCP layer of the sending equipment reserves the PDCP PDU; or
If the validity of the PDCP PDU is that the first part is valid, the PDCP layer of the sending equipment discards an invalid part in the added data, and rebuilds the PDCP PDU after the PDCP is reestablished; or
If the validity of the PDCP PDU is that the second part is valid, the PDCP layer of the sending equipment rebuilds the PDCP PDU according to the PDCP SDU after the PDCP is reestablished.
12. The method of claim 11, wherein after the PDCP layer of the transmitting device retains the PDCP PDUs, further comprising:
the PDCP layer of the sending equipment sends the reserved PDCP PDU to a lower layer after the PDCP is reestablished;
after the PDCP layer of the transmitting device reconstructs the PDCP PDU, the method further includes:
and the PDCP layer of the sending device sends the reconstructed PDCP PDU to a lower layer.
13. A method of data processing, the method comprising:
after receiving a PDCP reestablishment request sent by an upper layer, a PDCP layer of the receiving equipment determines the validity of an unresolved PDCP PDU on the SRB;
and the PDCP layer of the receiving equipment processes the unresolved PDCP PDU according to the determined effectiveness of the unresolved PDCP PDU.
14. The method of claim 13, wherein the determining validity of unresolved PDCP PDUs on the SRB by the PDCP layer of the receiving device comprises:
and the PDCP layer of the receiving equipment determines the validity of the unresolved PDCP PDU on the SRB according to the validity of the data added by the PDCP layer in the PDCP PDU.
15. The method of claim 14, wherein the PDCP layer of the receiving device determines validity of the data added by the PDCP layer in the PDCP PDU by:
and the PDCP layer of the receiving equipment determines the validity of the data added by the PDCP layer in the PDCP PDU according to the data type contained in the data added by the PDCP layer in the PDCP PDU.
16. The method of claim 15, wherein the determining the validity of the PDCP PDU on the SRB by the PDCP layer of the receiving device according to the validity of the data added by the PDCP layer among the PDCP PDUs comprises:
if all or part of the data added by the PDCP layer in the PDCP PDU is valid, the PDCP layer of the receiving equipment determines that all the PDCP PDUs are valid;
if all the data added by the PDCP layer in the PDCP PDU is invalid, the PDCP layer of the receiving equipment determines that all the PDCP PDUs are invalid.
17. The method of claim 16, wherein the PDCP layer of the receiving device processing the PDCP PDUs according to the determined validity of the PDCP PDUs comprises:
if all the PDCP PDUs are valid, the PDCP layer of the receiving equipment analyzes and stores the data added by the PDCP layer in the PDCP PDUs, and the PDCP sublayer is processed;
and if the PDCP PDUs are all invalid, the PDCP layer of the receiving equipment discards the data added by the PDCP layer in the PDCP PDUs.
18. The method of claim 17, further comprising:
and the PDCP layer of the receiving equipment sends the PDCP SDU in the PDCP PDU on the SRB to the upper layer of the PDCP layer of the receiving equipment.
19. An apparatus for data processing, the apparatus comprising: a processor and a transceiver:
the processor is used for determining the validity of PDCP SDUs which are not used for establishing PDCP PDUs and/or the PDCP PDUs which are not sent on the signaling radio bearer SRB after receiving a PDCP reestablishment request sent by an upper layer; and processing the PDCP SDU according to the determined validity of the PDCP SDU and/or processing the unsent PDCP PDU according to the determined validity of the unsent PDCP PDU.
20. The device of claim 19, wherein the processor is specifically configured to:
and determining the validity of the PDCP SDU according to the validity identification which is sent by the upper layer and bound with the PDCP SDU.
21. The device of claim 20, wherein the processor is specifically configured to:
if the validity of the PDCP SDU is all valid, establishing a PDCP PDU according to the PDCP SDU after the PDCP is reestablished; or
If the validity of the PDCP SDU is partially valid, notifying an upper layer to process the PDCP SDU; or
And if the validity of the PDCP SDU is all invalid, discarding the PDCP SDU.
22. The device of claim 21, wherein the processor is specifically configured to:
sending the PDCP SDU and the validity identification and the identification bound with the PDCP SDU to an upper layer; or
And sending the validity identification and the identification bound with the PDCP SDU to an upper layer.
23. The device of claim 21, wherein the processor is further configured to:
and sending the constructed PDCP PDU to a lower layer.
24. The device of claim 19, wherein the processor is specifically configured to:
and determining the validity of the PDCP PDU which is not sent on the SRB according to the validity of the PDCP SDU in the PDCP PDU and/or the validity of the data added by the PDCP layer.
25. The device of claim 24, wherein the processor is specifically configured to:
if the PDCP SDU in the PDCP PDU is partially valid or completely invalid, determining that the PDCP PDU is completely invalid; or
If all the PDCP SDUs in the PDCP PDU are valid and all the data added by the PDCP layer in the PDCP PDU are valid, determining that all the PDCP PDUs are valid; or
If all PDCP SDUs in the PDCP PDU are valid and the data part added by the PDCP layer in the PDCP PDU is valid, determining that the first part of the PDCP PDU is valid;
and if all the PDCP SDUs in the PDCP PDU are valid and all the data added by the PDCP layer in the PDCP PDU are invalid, determining that the second part of the PDCP PDU is valid.
26. The device of claim 25, wherein the processor is specifically configured to:
determining validity of PDCP SDUs in the PDCP PDU by:
and determining the validity of the PDCP SDU according to the validity identification which is sent by the upper layer and bound with the PDCP SDU.
27. The apparatus of claim 20 or 26, wherein an upper layer of the PDCP layer of the transmitting device determines the validity indicator of the PDCP SDU binding by:
and the upper layer of the PDCP layer of the sending equipment determines the binding validity identification of the PDCP SDU according to the data type contained in the PDCP SDU.
28. The device of claim 25, wherein the processor is specifically configured to:
determining validity of data added by a PDCP layer in the PDCP PDU by:
and determining the validity of the data added by the PDCP layer in the PDCP PDU according to the data type contained in the data added by the PDCP layer in the PDCP PDU.
29. The device of claim 25, wherein the processor is specifically configured to:
if the validity of the PDCP PDU is all invalid, discarding the PDCP PDU; or
If the validity of the PDCP PDU is all valid, the PDCP PDU is reserved; or
If the validity of the PDCP PDU is that the first part is valid, discarding an invalid part in the added data, and reconstructing the PDCP PDU after the PDCP is reestablished; or
And if the validity of the PDCP PDU is that the second part is valid, reconstructing the PDCP PDU according to the PDCP SDU after the PDCP is reestablished.
30. The device of claim 29, wherein the processor is further configured to:
after the PDCP is reestablished, the reserved PDCP PDU is sent to a lower layer;
and sending the reconstructed PDCP PDU to a lower layer.
31. An apparatus for data processing, the apparatus comprising: a processor and a transceiver:
the processor is used for determining the validity of the unresolved PDCP PDU on the SRB after receiving a PDCP reestablishment request sent by an upper layer; and processing the unresolved PDCP PDU according to the determined validity of the unresolved PDCP PDU.
32. The device of claim 31, wherein the processor is specifically configured to:
and determining the validity of the unresolved PDCP PDU on the SRB according to the validity of the data added by the PDCP layer in the PDCP PDU.
33. The device of claim 32, wherein the processor is specifically configured to:
determining validity of data added by a PDCP layer in the PDCP PDU by:
and determining the validity of the data added by the PDCP layer in the PDCP PDU according to the data type contained in the data added by the PDCP layer in the PDCP PDU.
34. The device of claim 33, wherein the processor is specifically configured to:
if all or part of the data added by the PDCP layer in the PDCP PDU is valid, determining that all the PDCP PDUs are valid;
and if all the data added by the PDCP layer in the PDCP PDU are invalid, determining that all the PDCP PDUs are invalid.
35. The device of claim 34, wherein the processor is specifically configured to:
if all the PDCP PDUs are valid, analyzing and storing the data added by the PDCP layer in the PDCP PDUs, and processing the PDCP sublayer;
and if the PDCP PDUs are all invalid, discarding the data added by the PDCP layer in the PDCP PDUs.
36. The device of claim 34, wherein the processor is further configured to:
and sending the PDCP SDU in the PDCP PDU on the SRB to an upper layer of a PDCP layer of the receiving equipment.
37. An apparatus for data processing, the apparatus comprising: at least one processing unit and at least one memory unit, wherein the memory unit stores program code which, when executed by the processing unit, causes the processing unit to perform the steps of the method of any of claims 1 to 12; or performing the steps of the method of any one of claims 13 to 18.
38. A computer storage medium having a computer program stored thereon, the program, when executed by a processor, implementing the steps of a method according to any one of claims 1 to 12; or the steps of the method of any one of claims 13 to 18.
CN201811013664.6A 2018-08-31 2018-08-31 Data processing method and device Active CN110876166B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811013664.6A CN110876166B (en) 2018-08-31 2018-08-31 Data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811013664.6A CN110876166B (en) 2018-08-31 2018-08-31 Data processing method and device

Publications (2)

Publication Number Publication Date
CN110876166A true CN110876166A (en) 2020-03-10
CN110876166B CN110876166B (en) 2023-05-09

Family

ID=69715301

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811013664.6A Active CN110876166B (en) 2018-08-31 2018-08-31 Data processing method and device

Country Status (1)

Country Link
CN (1) CN110876166B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101925121A (en) * 2009-06-10 2010-12-22 中兴通讯股份有限公司 Packet data convergence protocol reconstruction method and device
CN101978620A (en) * 2008-03-17 2011-02-16 Lg电子株式会社 Method for transmitting pdcp status report
CN102045770A (en) * 2011-01-06 2011-05-04 大唐移动通信设备有限公司 Method and equipment for discarding SDUs (service data units) under radio link control (RLC) UM (unacknowledged mode)
WO2015066923A1 (en) * 2013-11-11 2015-05-14 华为技术有限公司 Data transmission method and device
CN107438274A (en) * 2016-05-27 2017-12-05 中兴通讯股份有限公司 A kind of method and device for indicating security key update

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101978620A (en) * 2008-03-17 2011-02-16 Lg电子株式会社 Method for transmitting pdcp status report
CN101925121A (en) * 2009-06-10 2010-12-22 中兴通讯股份有限公司 Packet data convergence protocol reconstruction method and device
CN102045770A (en) * 2011-01-06 2011-05-04 大唐移动通信设备有限公司 Method and equipment for discarding SDUs (service data units) under radio link control (RLC) UM (unacknowledged mode)
WO2015066923A1 (en) * 2013-11-11 2015-05-14 华为技术有限公司 Data transmission method and device
CN107438274A (en) * 2016-05-27 2017-12-05 中兴通讯股份有限公司 A kind of method and device for indicating security key update

Also Published As

Publication number Publication date
CN110876166B (en) 2023-05-09

Similar Documents

Publication Publication Date Title
US11246074B2 (en) Communication method and communications apparatus
WO2019242747A1 (en) Data packet sending and receiving method and device and data packet transmission system
CN109560899B (en) Method and equipment for repeated transmission
JP2022115913A (en) Data processing method, terminal device, base station, program, and communication system
CN111565416B (en) Wireless communication method, user equipment, network equipment and communication device
CN108156630A (en) Detection unsuccessfully post-processes the device and method of data transmission
CN111385071B (en) Data transmission method, device and computer storage medium
CN110012506B (en) Data transmission method and communication equipment
CN109219094B (en) Base station switching and instance distribution method, RLC protocol implementation equipment, base station and terminal
CN110944368A (en) Method and equipment for transmitting data in switching process
CN113038550B (en) Network connection reestablishing method and device, storage medium and electronic device
CN111757399B (en) Switching method, device and system in wireless communication system
CN109392193B (en) Apparatus and method for processing packet data convergence protocol operation
CN110876166B (en) Data processing method and device
US10455472B2 (en) Device and method of handling data transmissions in a wireless communication system
CN109964535B (en) Data processing method, apparatus and computer readable medium
CN114390558B (en) Configuration information acquisition method and device
KR20100008232A (en) Method of radio connection configuration
CN111095980A (en) Method and device for remapping QoS flow and computer storage medium
CN108200605B (en) Data transmission method and device for base station
CN112118192B (en) Data volume shaping method, network equipment and computer program product
US11202226B2 (en) Uplink data transmission method, timer configuration method, and related device
US20240089951A1 (en) Method and device used for wireless communication
US20240129979A1 (en) Master node, communication control method, and communication apparatus
WO2022033251A1 (en) Data transmission method and device

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
GR01 Patent grant
GR01 Patent grant