CN110691377A - Sequence identification determining, sending and receiving method and sending and receiving equipment - Google Patents

Sequence identification determining, sending and receiving method and sending and receiving equipment Download PDF

Info

Publication number
CN110691377A
CN110691377A CN201810735458.XA CN201810735458A CN110691377A CN 110691377 A CN110691377 A CN 110691377A CN 201810735458 A CN201810735458 A CN 201810735458A CN 110691377 A CN110691377 A CN 110691377A
Authority
CN
China
Prior art keywords
sdap
sequence
sdu
pdcp
protocol
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
CN201810735458.XA
Other languages
Chinese (zh)
Other versions
CN110691377B (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 CN201810735458.XA priority Critical patent/CN110691377B/en
Publication of CN110691377A publication Critical patent/CN110691377A/en
Application granted granted Critical
Publication of CN110691377B publication Critical patent/CN110691377B/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
    • H04W28/065Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information using assembly or disassembly of packets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0252Traffic management, e.g. flow control or congestion control per individual bearer or channel
    • H04W28/0263Traffic management, e.g. flow control or congestion control per individual bearer or channel involving mapping traffic to individual bearers or channels, e.g. traffic flow template [TFT]
    • 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/0268Traffic management, e.g. flow control or congestion control using specific QoS parameters for wireless networks, e.g. QoS class identifier [QCI] or guaranteed bit rate [GBR]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0011Control or signalling for completing the hand-off for data sessions of end-to-end connection
    • H04W36/0033Control or signalling for completing the hand-off for data sessions of end-to-end connection with transfer of context information

Landscapes

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

Abstract

The invention provides a sequence identification determining, sending and receiving method and sending and receiving equipment, wherein the sequence identification determining method comprises the following steps: according to the packet data convergence protocol PDCP or the service data adaptation protocol SDAP, the sequence identification of a plurality of SDAP service data units SDU which need to be sent is determined, and the data packets of the SDAP SDU after data forwarding can be ensured not to be discarded and to be retransmitted based on the first-in first-out sequence by determining the sequence identification of the SDAP SDU, so that the problem of data packet disorder during switching or remapping of the service quality flow is avoided.

Description

Sequence identification determining, sending and receiving method and sending and receiving equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and a device for determining, transmitting, and receiving a sequence identifier.
Background
In 5G, an SDAP (Service Data Adaptation Protocol) Protocol layer is introduced, and when handover occurs, because a Packet Data Convergence Protocol (PDCP) PDU (Protocol Data Unit) is no longer an IP (Internet Protocol) Packet but an SDAP PDU, a Data Forwarding (Data Forwarding) scheme in a conventional handover mode cannot be continuously used.
When a QoS Flow is remapped from a source DRB (Data Radio Bearer) to a target DRB during handover or remapping, how to ensure forwarding without loss of a packet becomes a very important issue in order to implement lossless handover.
Disclosure of Invention
The embodiment of the invention provides a sequence identifier determining, sending and receiving method and sending and receiving equipment, which are used for solving the problem that forwarding without loss of a data packet cannot be guaranteed while lossless switching is not realized in the prior art when switching or remapping occurs.
The embodiment of the invention provides a method for determining sequence identification, which is applied to a sending end and comprises the following steps:
and determining the sequence identification of a plurality of SDAP service data units SDU to be transmitted according to the packet data convergence protocol PDCP or the service data adaptation protocol SDAP.
Preferably, the sequence identifier is determined according to a sequence SN number or a COUNT value allocated by the PDCP protocol sublayer for a PDCP protocol data unit PDU including an SDAP SDU to be transmitted; or the sequence identification is determined according to the SN number of the SDAP.
Preferably, when the sequence identifier is determined according to a sequence SN number or a COUNT value allocated by the PDCP protocol sublayer to the PDCP protocol data unit PDU including the SDAP SDU to be transmitted, the step of determining the sequence identifier of the plurality of SDAP service data units SDU to be transmitted according to the packet data convergence protocol PDCP includes:
determining the sequence identifier of the first SDAP SDU according to the SN number or the COUNT value distributed by the PDCP PDU corresponding to the second SDAP SDU;
wherein the first SDAP SDU is adjacent to the second SDAP SDU, the sequence identifier of the first SDAP SDU is adjacent to the sequence represented by the sequence identifier of the second SDAP SDU, and the first SDAP SDU is located before the second SDAP SDU.
Preferably, when the sequence identifier is determined according to a sequence SN number or a COUNT value allocated by the PDCP protocol sublayer to the PDCP protocol data unit PDU including the SDAP SDU to be transmitted, the step of determining the sequence identifier of the plurality of SDAP service data units SDU to be transmitted according to the packet data convergence protocol PDCP includes:
defining an SDAP variable parameter according to an SN number or a COUNT value distributed by a PDCP PDU corresponding to a first SDAP SDU;
determining a defined SDAP variable parameter as a sequence identifier of the first SDAP SDU;
where the sequence identifications of any two SDAP SDUs that are adjacent in the order indicated.
Preferably, when the sequence identifier is determined according to the SN number of the SDAP, the step of determining the sequence identifier of a plurality of SDAP service data units SDU to be transmitted according to the service data adaptation protocol SDAP includes:
determining the sequence identifier of SDAP SDU according to the SN number of SDAP which can be identified in the SDAP protocol sub-layer;
where the sequence identifications of any two SDAP SDUs that are adjacent in the order indicated.
The embodiment of the invention provides a sequential identification sending method, which is applied to a sending end and comprises the following steps:
and sending a sequence identifier of a service data adaptation protocol SDAP service data unit SDU to a receiving end through a packet data convergence protocol PDCP, wherein the sequence identifier is determined according to the PDCP or the SDAP.
Preferably, the step of sending the sequence identifier of the service data adaptation protocol SDAP service data unit SDU to the receiving end through the packet data convergence protocol PDCP includes:
sending a PDCP Status protocol data unit PDU to the receiving end through a PDCP, wherein the PDCP Status PDU contains a sequence identification of SDAP SDU to be sent; or
And sending an SDAP Status PDU to the receiving terminal through the PDCP, wherein the SDAP Status PDU contains the sequence identification of the SDAP SDU to be sent.
Preferably, after the sending the sequence identifier of the service data adaptation protocol SDAP service data unit SDU to the receiving end through the packet data convergence protocol PDCP, the method further includes:
and receiving the inspection result of the receiving end after inspecting the arrangement sequence of the received SDAP SDUs according to the sequence identification of the SDAP SDUs.
Preferably, the sequence identifier is determined according to a sequence SN number or a COUNT value allocated by the PDCP protocol sublayer for a PDCP protocol data unit PDU including an SDAP SDU to be transmitted; or the sequence identification is determined according to the SN number of the SDAP.
Preferably, when the sequence identifier is determined according to a sequence SN number or a COUNT value allocated by the PDCP protocol sublayer to the PDCP protocol data unit PDU including the SDAP SDU to be transmitted;
the sequence identification of the first SDAP SDU is an SN number or a COUNT value distributed by the PDCP PDU corresponding to the second SDAP SDU;
wherein the first SDAP SDU is adjacent to the second SDAP SDU, the sequence identifier of the first SDAP SDU is adjacent to the sequence represented by the sequence identifier of the second SDAP SDU, and the first SDAP SDU is located before the second SDAP SDU.
Preferably, when the sequence identifier is determined according to a sequence SN number or a COUNT value allocated by the PDCP protocol sublayer to the PDCP protocol data unit PDU including the SDAP SDU to be transmitted;
the sequence identification of the first SDAP SDU is an SDAP variable parameter defined according to an SN number or a COUNT value distributed by a PDCP PDU corresponding to the first SDAP SDU;
where the sequence identifications of any two SDAP SDUs that are adjacent in the order indicated.
Preferably, when the sequence identifier is determined according to the SN number of the SDAP;
the sequence identification of the SDAP SDU is an SN number of the SDAP which can be identified in the SDAP protocol sub-layer; where the sequence identifications of any two SDAP SDUs that are adjacent in the order indicated.
Preferably, before sending the sequence identifier of the service data adaptation protocol SDAP service data unit SDU to the receiving end through the packet data convergence protocol PDCP, the method further includes:
detecting whether switching or remapping occurs to a QoS Flow;
and when the QoS Flow is switched or remapped to a target DRB by a source Data Radio Bearer (DRB), sending the sequence identification of the SDAP SDU to the receiving end through the PDCP.
Preferably, the step of sending the sequence identifier of the SDAP SDU to the receiving end through the PDCP when the QoS Flow is switched or remapped to the target DRB by the source data radio bearer includes:
if the target DRB does not bear any QoS flow, sending the sequence identification of the SDAP SDU to the receiving end according to the sequence identified by the sequence identification of the SDAP SDU to be sent;
and if the target DRB bears other QoS flow, sending the sequence identification of the SDAP SDU to the receiving end according to the sequence identification on the target DRB.
The embodiment of the invention provides a sequential identification receiving method, which is applied to a receiving end and comprises the following steps:
and receiving a sequence identifier of a service data adaptation protocol SDAP service data unit SDU sent by a sending end through a packet data convergence protocol PDCP, wherein the sequence identifier is determined according to the PDCP or the SDAP.
Preferably, the step of receiving, by the packet data convergence protocol PDCP, the sequence identifier of the service data adaptation protocol SDAP service data unit SDU sent by the sending end includes:
receiving a PDCP Status protocol data unit PDU sent by the sending end through a PDCP, wherein the PDCP Status PDU contains a sequence identification of an SDAP SDU to be sent; or
And receiving the SDAP Status PDU sent by the sending end through the PDCP, wherein the SDAP Status PDU contains the sequence identification of the SDAP SDU to be sent.
Preferably, after receiving the sequence identifier of the service data adaptation protocol SDAP service data unit SDU sent by the sending end through the packet data convergence protocol PDCP, the method further includes:
and checking the received sequence of the SDAP SDUs according to the sequence identification of the SDAP SDUs, and feeding back the checking result to the sending end.
Preferably, if the detection result indicates that the received sequence of the SDAP SDUs is inconsistent with the sequence identifier of the SDAP SDUs, the method further includes: reordering the received SDAP SDUs according to the sequence identifiers of the SDAP SDUs;
and sending the sequenced SDAP SDUs to an upper layer protocol.
Preferably, the sequence identifier is determined according to a sequence SN number or a COUNT value allocated by the PDCP protocol sublayer for a PDCP protocol data unit PDU including an SDAP SDU to be transmitted; or the sequence identification is determined according to the SN number of the SDAP.
Preferably, when the sequence identifier is determined according to a sequence SN number or a COUNT value allocated by the PDCP protocol sublayer to the PDCP protocol data unit PDU including the SDAP SDU to be transmitted;
the sequence identification of the first SDAP SDU is an SN number or a COUNT value distributed by the PDCP PDU corresponding to the second SDAP SDU;
wherein the first SDAP SDU is adjacent to the second SDAP SDU, the sequence identifier of the first SDAP SDU is adjacent to the sequence represented by the sequence identifier of the second SDAP SDU, and the first SDAP SDU is located before the second SDAP SDU.
Preferably, when the sequence identifier is determined according to a sequence SN number or a COUNT value allocated by the PDCP protocol sublayer to the PDCP protocol data unit PDU including the SDAP SDU to be transmitted;
the sequence identification of the first SDAP SDU is an SDAP variable parameter defined according to an SN number or a COUNT value distributed by a PDCP PDU corresponding to the first SDAP SDU;
where the sequence identifications of any two SDAP SDUs that are adjacent in the order indicated.
Preferably, when the sequence identifier is determined according to the SN number of the SDAP;
the sequence identification of the SDAP SDU is an SN number of the SDAP which can be identified in the SDAP protocol sub-layer; where the sequence identifications of any two SDAP SDUs that are adjacent in the order indicated.
Preferably, after receiving the PDCP Status protocol data unit PDU sent by the sending end through the PDCP, the method further includes:
detecting whether a preset identifier in the PDCP Status PDU carries the sequence of the SDAP SDUs;
and if the preset identification carries the sequence of the SDAP SDUs, determining that the sequence of the SDAP SDUs carried currently is reported in the received PDCP Status PDU.
The sending device comprises a processor and a transceiver, wherein the processor is used for:
and determining the sequence identification of a plurality of SDAP service data units SDU to be transmitted according to the packet data convergence protocol PDCP or the service data adaptation protocol SDAP.
Preferably, the sequence identifier is determined according to a sequence SN number or a COUNT value allocated by the PDCP protocol sublayer for a PDCP protocol data unit PDU including an SDAP SDU to be transmitted; or the sequence identification is determined according to the SN number of the SDAP.
Preferably, when the sequence identifier is determined according to a sequence SN number or a COUNT value allocated by the PDCP protocol sublayer to the PDCP protocol data unit PDU including the SDAP SDU to be transmitted, the processor is further configured to:
determining the sequence identifier of the first SDAP SDU according to the SN number or the COUNT value distributed by the PDCP PDU corresponding to the second SDAP SDU;
wherein the first SDAP SDU is adjacent to the second SDAP SDU, the sequence identifier of the first SDAP SDU is adjacent to the sequence represented by the sequence identifier of the second SDAP SDU, and the first SDAP SDU is located before the second SDAP SDU.
Preferably, when the sequence identifier is determined according to a sequence SN number or a COUNT value allocated by the PDCP protocol sublayer to the PDCP protocol data unit PDU including the SDAP SDU to be transmitted, the processor is further configured to:
defining an SDAP variable parameter according to an SN number or a COUNT value distributed by a PDCP PDU corresponding to a first SDAP SDU;
determining a defined SDAP variable parameter as a sequence identifier of the first SDAP SDU;
where the sequence identifications of any two SDAP SDUs that are adjacent in the order indicated.
Preferably, when the sequence identifier is determined from an SN number of the SDAP, the processor is further configured to:
determining the sequence identifier of SDAP SDU according to the SN number of SDAP which can be identified in the SDAP protocol sub-layer;
where the sequence identifications of any two SDAP SDUs that are adjacent in the order indicated.
An embodiment of the present invention further provides a sending device, including a processor and a transceiver, where the transceiver is configured to:
and sending a sequence identifier of a service data adaptation protocol SDAP service data unit SDU to a receiving end through a packet data convergence protocol PDCP, wherein the sequence identifier is determined according to the PDCP or the SDAP.
Preferably, the transceiver is further configured to:
sending a PDCP Status protocol data unit PDU to the receiving end through a PDCP, wherein the PDCP Status PDU contains a sequence identification of SDAP SDU to be sent; or
And sending an SDAP Status PDU to the receiving terminal through the PDCP, wherein the SDAP Status PDU contains the sequence identification of the SDAP SDU to be sent.
Preferably, after the transceiver sends the sequence identifier of the service data adaptation protocol SDAP service data unit SDU to the receiving end through the packet data convergence protocol PDCP, the transceiver is further configured to:
and receiving the inspection result of the receiving end after inspecting the arrangement sequence of the received SDAP SDUs according to the sequence identification of the SDAP SDUs.
Preferably, the sequence identifier is determined according to a sequence SN number or a COUNT value allocated by the PDCP protocol sublayer for a PDCP protocol data unit PDU including an SDAP SDU to be transmitted; or the sequence identification is determined according to the SN number of the SDAP.
Preferably, when the sequence identifier is determined according to a sequence SN number or a COUNT value allocated by the PDCP protocol sublayer to the PDCP protocol data unit PDU including the SDAP SDU to be transmitted;
the sequence identification of the first SDAP SDU is an SN number or a COUNT value distributed by the PDCP PDU corresponding to the second SDAP SDU;
wherein the first SDAP SDU is adjacent to the second SDAP SDU, the sequence identifier of the first SDAP SDU is adjacent to the sequence represented by the sequence identifier of the second SDAP SDU, and the first SDAP SDU is located before the second SDAP SDU.
Preferably, when the sequence identifier is determined according to a sequence SN number or a COUNT value allocated by the PDCP protocol sublayer to the PDCP protocol data unit PDU including the SDAP SDU to be transmitted;
the sequence identification of the first SDAP SDU is an SDAP variable parameter defined according to an SN number or a COUNT value distributed by a PDCP PDU corresponding to the first SDAP SDU;
where the sequence identifications of any two SDAP SDUs that are adjacent in the order indicated.
Preferably, when the sequence identifier is determined according to the SN number of the SDAP;
the sequence identification of the SDAP SDU is an SN number of the SDAP which can be identified in the SDAP protocol sub-layer; where the sequence identifications of any two SDAP SDUs that are adjacent in the order indicated.
Preferably, before the transceiver sends the sequence identifier of the service data adaptation protocol SDAP service data unit SDU to the receiving end through the packet data convergence protocol PDCP, the processor is configured to:
detecting whether switching or remapping occurs to a QoS Flow;
and when the QoS Flow is switched or remapped to a target DRB by a source Data Radio Bearer (DRB), controlling the transceiver to send the sequence identification of the SDAP SDU to the receiving end through the PDCP.
Preferably, when the QoS Flow is switched or remapped to a target DRB by a source data radio bearer, and the transceiver sends the sequence identifier of the SDAP SDU to the receiving end through the PDCP, the transceiver is further configured to:
if the target DRB does not bear any QoS flow, sending the sequence identification of the SDAP SDU to the receiving end according to the sequence identified by the sequence identification of the SDAP SDU to be sent;
and if the target DRB bears other QoS flow, sending the sequence identification of the SDAP SDU to the receiving end according to the sequence identification on the target DRB.
The embodiment of the invention provides a receiving device, which comprises a processor and a transceiver, wherein the transceiver is used for:
and receiving a sequence identifier of a service data adaptation protocol SDAP service data unit SDU sent by a sending end through a packet data convergence protocol PDCP, wherein the sequence identifier is determined according to the PDCP or the SDAP.
Preferably, when the transceiver receives the sequence identifier of the service data adaptation protocol SDAP service data unit SDU sent by the sending end through the packet data convergence protocol PDCP, the transceiver is further configured to:
receiving a PDCP Status protocol data unit PDU sent by the sending end through a PDCP, wherein the PDCP Status PDU contains a sequence identification of an SDAP SDU to be sent; or
And receiving the SDAP Status PDU sent by the sending end through the PDCP, wherein the SDAP Status PDU contains the sequence identification of the SDAP SDU to be sent.
Preferably, after the transceiver receives the sequence identifier of the service data adaptation protocol SDAP service data unit SDU sent by the sending end through the packet data convergence protocol PDCP, the processor is configured to:
and checking the received sequence of the SDAP SDUs according to the sequence identification of the SDAP SDUs, and feeding back the checking result to the sending end.
Preferably, if the detection result indicates that the received sequence of the SDAP SDUs is inconsistent with the sequence identifier of the SDAP SDUs, the processor is further configured to: reordering the received SDAP SDUs according to the sequence identifiers of the SDAP SDUs;
and controlling the transceiver to send the sequenced SDAP SDUs to an upper layer protocol.
Preferably, the sequence identifier is determined according to a sequence SN number or a COUNT value allocated by the PDCP protocol sublayer for a PDCP protocol data unit PDU including an SDAP SDU to be transmitted; or the sequence identification is determined according to the SN number of the SDAP.
Preferably, when the sequence identifier is determined according to a sequence SN number or a COUNT value allocated by the PDCP protocol sublayer to the PDCP protocol data unit PDU including the sdapdu to be transmitted;
the sequence identification of the first SDAP SDU is an SN number or a COUNT value distributed by the PDCP PDU corresponding to the second SDAP SDU;
wherein the first SDAP SDU is adjacent to the second SDAP SDU, the sequence identifier of the first SDAP SDU is adjacent to the sequence represented by the sequence identifier of the second SDAP SDU, and the first SDAP SDU is located before the second SDAP SDU.
Preferably, when the sequence identifier is determined according to a sequence SN number or a COUNT value allocated by the PDCP protocol sublayer to the PDCP protocol data unit PDU including the SDAP SDU to be transmitted;
the sequence identification of the first SDAP SDU is an SDAP variable parameter defined according to an SN number or a COUNT value distributed by a PDCP PDU corresponding to the first SDAP SDU;
where the sequence identifications of any two SDAP SDUs that are adjacent in the order indicated.
Preferably, when the sequence identifier is determined according to the SN number of the SDAP;
the sequence identification of the SDAP SDU is an SN number of the SDAP which can be identified in the SDAP protocol sub-layer; where the sequence identifications of any two SDAP SDUs that are adjacent in the order indicated.
Preferably, after the transceiver receives the PDCP Status protocol data unit PDU sent by the sending end through the PDCP, the processor is further configured to:
detecting whether a preset identifier in the PDCP Status PDU carries the sequence of the SDAP SDUs;
and if the preset identification carries the sequence of the SDAP SDUs, determining that the sequence of the SDAP SDUs carried currently is reported in the received PDCPStatus PDU.
An embodiment of the present invention is a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps in the above-mentioned sequence identifier determining method or sequence identifier sending method or sequence identifier receiving method.
The technical scheme of the invention determines the sequence identification of a plurality of SDAPSDUs to be sent according to the PDCP or the SDAP, and transmits the SDAP SDUs according to the determined sequence identification, so that SDAP SDU data packets after data forwarding are not discarded and retransmitted, the condition that the data packets are out of sequence when the service quality flow is switched or remapped is avoided, and the problem that the forwarding of the data packets without loss can not be realized when the service quality flow is switched or remapped in the prior art is solved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention 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 that other drawings can be obtained according to these drawings without inventive exercise.
FIG. 1 is a schematic diagram of a method for determining sequence identifiers according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating a sequential identifier transmission method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a sequential identification reception method according to an embodiment of the present invention;
FIG. 4 is a diagram of an SDAP Status PDU according to an embodiment of the present invention;
FIG. 5 is a diagram of a PDCP Status PDU according to an embodiment of the present invention;
fig. 6 is a schematic diagram illustrating an implementation structure of a sending device according to an embodiment of the present invention;
fig. 7 is a schematic diagram illustrating a second implementation structure of a sending device according to an embodiment of the present invention;
fig. 8 is a schematic diagram illustrating an implementation structure of a receiving device according to an embodiment of the present invention;
fig. 9 is a third schematic diagram illustrating an implementation structure of a sending device according to an embodiment of the present invention;
fig. 10 is a schematic diagram of an implementation structure of a receiving device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. 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.
An embodiment of the present invention provides a method for determining a sequence identifier, which is applied to a sending end, and as shown in fig. 1, the method includes:
step 101, determining sequence identifiers of a plurality of SDAP service data units SDUs to be transmitted according to a packet data convergence protocol PDCP or a service data adaptation protocol SDAP.
The device of the sending end in the embodiment of the present invention may be a base station or a terminal, and the sending end determines a sequence identifier of a Service Data Unit (SDAP SDU) based on a PDCP or SDAP, where the determined sequence identifier is used to identify a sequence of a plurality of consecutive SDAP SDUs that are adjacent to each other. And the sequence identifier may not need to be sent over the air interface, that is, the sequence identifier may not be embodied in the data packet over the air interface.
When determining the sequence identifier based on the PDCP, determining a sequence SN number or a COUNT value allocated to a PDCP protocol data unit PDU including an SDAP SDU to be transmitted, according to a PDCP protocol sublayer; the order identification may be determined based on the SN number of the SDAP when determining the order identification based on the SDAP.
In the embodiment of the invention, when the sequence identifier is determined according to the sequence SN number or the COUNT COUNT value distributed by the PDCP protocol sublayer for the PDCP protocol data unit PDU which comprises SDAP SDU to be sent, the step of determining the sequence identifier of a plurality of SDAP service data units SDU to be sent according to the packet data convergence protocol PDCP comprises the following steps:
determining the sequence identifier of the first SDAP SDU according to the SN number or the COUNT value distributed by the PDCP PDU corresponding to the second SDAP SDU; the first SDAP SDU is adjacent to the second SDAP SDU, the sequence identifier of the first SDAP SDU is adjacent to the sequence represented by the sequence identifier of the second SDAP SDU, and the first SDAP SDU is positioned before the second SDAP SDU.
When the sequence identifier is determined according to the SN number or COUNT value assigned to the PDCP PDU of the SDAP SDU, the SN number or COUNT value assigned to the PDCP PDU corresponding to the second SDAP SDU may be determined as the sequence identifier of the first SDAP SDU. Where the first SDAP SDU is adjacent to the second SDAP SDU, and the first SDAP SDU precedes the second SDAP SDU. The determined order identification of the first SDAP SDU is also adjacent to the order represented by the order identification of the second SDAP SDU.
That is, the value of the sequence identifier of the current SDAP SDU is the SN or COUNT value allocated to the PDCP PDU corresponding to the next SDAP SDU next to the current SDAP SDU. And the order represented by the sequence identification of the adjacent SDAP SDUs is also adjacent.
For example, the next SDAP SDU immediately adjacent to the current SDAP SDU (denoted as SDU1) is denoted as SDU 2. And if the SN value of the PDCPPDU corresponding to the SDU2 is 100 or the COUT value is 10100, the sequence identifier of the SDU1 is 100 or 10100. The next SDAP SDU immediately adjacent to SDU2 is denoted as SDU 3. If the SN number of the PDCP PDU corresponding to the SDU3 is 101 or the COUT value is 10101, the sequence identifier of the SDU2 is 101 or 10101.
After determining the sequence identifiers of the SDAP SDUs according to the above manner, when judging whether the two SDAP SDUs are adjacent, the sequence identifiers in the SDUs transmitted to the SDAP lower layer first can be taken out, the taken-out values are compared with SN numbers or COUNT values of PDCP PDUs corresponding to the SDAP lower layer SDUs transmitted later, and if the two SDAP SDUs are the same, the two SDAP SDUs are considered to be adjacent; otherwise, the two SDAP SDUs are not adjacent.
In the embodiment of the invention, when the sequence identifier is determined according to the sequence SN number or the COUNT COUNT value distributed by the PDCP protocol sublayer for the PDCP protocol data unit PDU which comprises SDAP SDU to be sent, the step of determining the sequence identifier of a plurality of SDAP service data units SDU to be sent according to the packet data convergence protocol PDCP comprises the following steps:
defining an SDAP variable parameter according to an SN number or a COUNT value distributed by a PDCP PDU corresponding to a first SDAP SDU; determining the defined SDAP variable parameters as the sequence identification of the first SDAP SDU; wherein the order represented by the sequence identifiers of any two adjacent SDAPSDUs are adjacent.
When the sequence identifier is determined according to the SN number or COUNT value assigned to the PDCP PDU of the SDAP SDU, an SDAP variable parameter may be defined according to the SN number or COUNT value assigned to the PDCP PDU corresponding to the first SDAP SDU, where the SDAP variable parameter belongs to an internal value of the SDAP and can be recognized by the SDAP.
After defining one SDAP variable parameter, determining the defined SDAP variable parameter as the sequence identification of the first SDAP SDU, and when determining the sequence identification in this way, the sequence identifications of any two SDAP SDUs adjacent to the sequence identification are adjacent to each other.
That is, the sequence identifier of the current SDAP SDU may be an internal value of an SDAP defined according to an SN number or a COUNT value allocated by the PDCPPDU corresponding to the current SDAP SDU. For example, the allocated SN number of the PDCP PDU corresponding to two adjacent SDAP SDUs is not consecutive, but the sequence identifier of each SDAP SDU may take a consecutive sequence number. Assuming that SN numbers allocated to PDCP PDUs corresponding to a plurality of consecutive SDAP SDUs are 2, 100, and 211, respectively, sequence identifiers corresponding to the plurality of consecutive SDAP SDUs may be n +1, n +2, and n + 3. Here, n is a current value allocated to the SDAP SDU, for example, if the sequence identifier in the SDAP has been used to 201, then n is 201, the sequence values corresponding to the three SDUs are 202, 202, 203, and the value of n may be a positive integer greater than or equal to 0, such as 0, 1, 2, 3, and so on.
In the embodiment of the present invention, when the sequence identifier is determined according to the SN number of the SDAP, the step of determining the sequence identifier of a plurality of SDAP service data units SDU to be transmitted according to the service data adaptation protocol SDAP includes: determining the sequence identifier of SDAP SDU according to the SN number of SDAP which can be identified in the SDAP protocol sub-layer; where the sequence identifications of any two SDAP SDUs that are adjacent in the order indicated.
When the sequence identifier is determined according to the SDAP, the sequence identifier can be determined according to the SN number of the SDAP which can be identified in the SDAP sub-layer. That is, the SDAP can assign a sequence number, such as an SN number introduced into the SDAP, to each SDAP SDU that is transmitted, wherein the sequence number can be identified in the SDAP protocol sub-layer. And the SDAP ensures the sequence of the SDAP SDUs according to the SN number, and the sequence represented by the sequence identifiers of two adjacent SDAP SDUs is adjacent at the moment.
The method for determining the sequence identifier provided by the embodiment of the invention can determine the sequence identifiers of a plurality of SDAP SDUs to be sent according to the PDCP or the SDAP, provides a sequencing scheme of the SDAP SDUs, and transmits the SDAP SDUs according to the determined sequence identifiers, thereby ensuring that SDAP SDU data packets after data forwarding are not discarded and retransmitted, and avoiding the condition that the data packets are out of sequence when the service quality flow is switched or remapped.
An embodiment of the present invention provides a sequential identifier sending method, applied to a sending end, as shown in fig. 2, including:
step 201, sending the sequence identifier of the service data adaptation protocol SDAP service data unit SDU to the receiving end through the packet data convergence protocol PDCP, wherein the sequence identifier is determined according to the PDCP or the SDAP.
The sending end of the embodiment of the invention can be a base station or a terminal, and after the sending end determines the sequence identification of the SDAP SDU according to the PDCP or the SDAP, the determined sequence identification of the SDAP SDU is sent to the receiving end through the PDCP.
The step of sending the sequence identifier of the service data adaptation protocol SDAP service data unit SDU to the receiving end through the packet data convergence protocol PDCP comprises the following steps: sending a PDCP Status protocol data unit PDU to a receiving end through a PDCP, wherein the PDCP Status PDU contains a sequence identification of SDAP SDU to be sent; or sending SDAP Status PDU to the receiving end through PDCP, wherein the SDAP Status PDU contains the sequence identification of SDAP SDU to be sent.
When the sequence identification of the SDAP SDUs is sent, the sending end SDAP can send the sending sequence identification of the SDAP SDUs to be sent to the sending end PDCP, the sending end PDCP builds a PDCP Status PDU, wherein the built PDCP Status PDU contains the sequence identification of the SDAP SDUs to be sent, and then the sending end PDCP sends the PDCP Status PDU to the receiving end through the PDCP.
Or when the SDAP of the sending end needs to send the sequence identification information of the SDAP SDU, the SDAP builds a proper SDAPStatus PDU to be sent to the receiving end.
In the embodiment of the present invention, after sending the sequence identifier of the service data adaptation protocol SDAP service data unit SDU to the receiving end through the packet data convergence protocol PDCP, the method further includes: and the receiving terminal carries out the inspection result after inspecting the arrangement sequence of the received SDAP SDUs according to the sequence identification of the SDAP SDUs.
After the sending end sends the sequence identification of the SDAP SDUs to the receiving end, the receiving end can check the sequence of the received SDAP SDUs according to the sequence identification of the SDAP SDUs, after the detection is finished, the checking result is fed back to the sending end, and the sending end can receive the checking result.
In the embodiment of the invention, the sequence identifier is determined according to a sequence SN number or a counting COUNT value distributed by a PDCP protocol sublayer for a PDCP protocol data unit PDU which comprises SDAP SDU needing to be sent; or the sequential identification is determined from the SN number of the SDAP.
The sending end can determine the sequence based on PDCP or SDAP, and when determining the sequence identifier based on PDCP, the sending end can determine the SN number or the COUNT value distributed by the PDCP protocol sublayer for the PDCP protocol data unit PDU containing SDAP SDU needing to be sent; the order identification may be determined based on the SN number of the SDAP when determining the order identification based on the SDAP.
In the embodiment of the invention, when the sequence identifier is determined according to the sequence SN number or the counting COUNT value distributed by the PDCP protocol sublayer for the PDCP protocol data unit PDU which comprises SDAP SDU required to be sent;
the sequence identification of the first SDAP SDU is an SN number or a COUNT value distributed by the PDCP PDU corresponding to the second SDAP SDU; the first SDAP SDU is adjacent to the second SDAP SDU, the sequence identifier of the first SDAP SDU is adjacent to the sequence represented by the sequence identifier of the second SDAP SDU, and the first SDAP SDU is positioned before the second SDAP SDU.
When the sequential identification is determined by the SN number or COUNT value assigned by the PDCP PDU of the SDAP SDU, it may be determined that the sequential identification of the first SDAP SDU is the SN number or COUNT value assigned by the PDCP PDU corresponding to the second SDAP SDU, where the first SDAP SDU is adjacent to the second SDAP SDU and the first SDAP SDU precedes the second SDAP SDU. The determined order identification of the first SDAP SDU is also adjacent to the order represented by the order identification of the second SDAP SDU.
That is, the value of the sequence identifier of the current SDAP SDU is the SN or COUNT value allocated to the PDCP PDU corresponding to the next SDAP SDU next to the current SDAP SDU. And the order represented by the sequence identification of the adjacent SDAP SDUs is also adjacent.
In the embodiment of the invention, when the sequence identifier is determined according to the sequence SN number or the counting COUNT value distributed by the PDCP protocol sublayer for the PDCP protocol data unit PDU which comprises SDAP SDU required to be sent;
the sequence identification of the first SDAP SDU is an SDAP variable parameter defined according to an SN number or a COUNT value distributed by a PDCP PDU corresponding to the first SDAP SDU; where the sequence identifications of any two SDAP SDUs that are adjacent in the order indicated.
When the sequence identifier is determined according to the SN number or COUNT value allocated to the PDCP PDU of the SDAP SDU, the sequence identifier of the first SDAP SDU may be an SDAP variable parameter defined according to the SN number or COUNT value allocated to the PDCP PDU corresponding to the first SDAP SDU, where the SDAP variable parameter belongs to an internal value of the SDAP and is recognizable by the SDAP. The order indicated by the sequence identity of any two SDAP SDUs that are adjacent at this time is adjacent. That is, the sequence identifier of the current SDAP SDU may be an internal value of the SDAP defined by the SN number or COUNT value allocated to the PDCP PDU corresponding to the current SDAP SDU.
In the embodiment of the invention, when the sequence identifier is determined according to the SN number of the SDAP; the sequence identification of the SDAP SDU is an SN number of the SDAP which can be identified in the SDAP protocol sub-layer; where the sequence identifications of any two SDAP SDUs that are adjacent in the order indicated.
When the sequential identifier is determined according to the SN number of the SDAP, the sequential identifier can be determined according to the SN number of the SDAP which can be identified in the SDAP sub-layer. That is, the SDAP can assign a sequence number, such as an SN number introduced into the SDAP, to each SDAP SDU that is transmitted, wherein the sequence number can be identified in the SDAP protocol sub-layer. And the SDAP ensures the sequence of the SDAP SDUs according to the SN number, and the sequence represented by the sequence identifiers of two adjacent SDAP SDUs is adjacent at the moment.
In the embodiment of the present invention, before sending the sequence identifier of the service data adaptation protocol SDAP service data unit SDU to the receiving end through the packet data convergence protocol PDCP, the method further includes:
detecting whether switching or remapping occurs to a QoS Flow; and when the QoS Flow is switched or remapped to a target DRB by a source Data Radio Bearer (DRB), sending the sequence identification of the SDAP SDU to a receiving end through the PDCP.
Before sending the SDAP SDU sequence identification, the sending end needs to determine a trigger time, and can detect whether the QoS Flow is switched or remapped; when QoS Flow is switched or remapped to a target DRB by a source DRB, the occurrence of a trigger opportunity is determined, and at the moment, a sending end can send the sequence identification of SDAP SDU to a receiving end through PDCP.
When the QoS Flow is switched or remapped to a target DRB by a source Data Radio Bearer (DRB), sending a sequence identifier of an SDAP SDU (service data Unit) to a receiving end through a PDCP (packet data convergence protocol), wherein the step comprises the following steps: if the target DRB does not bear any QoS flow, sending the sequence identification of the SDAP SDU to a receiving end according to the sequence identified by the sequence identification of the SDAP SDU to be sent; and if the target DRB bears other QoS flows, sending the sequence identification of the SDAP SDU to the receiving end according to the sequence identification on the target DRB.
That is, when sending the sequence identifier of the SDAP SDU, it is necessary to distinguish whether the target DRB carries QoS flow, and if the target DRB is a new DRB, that is, the DRB does not carry any QoS flow, the sequence identifier of the SDAP SDU is sent according to the sequence identified by the sequence identifier of the SDAP SDU. I.e., based on the SN number or COUNT value of the PDCP PDU on the source DRB or the SN number of the SDAP on the source DRB. If the target DRB already carries other QoS flows, the SN number or the COUNT value of the existing PDCP PDU on the target DRB or the SN number of the existing SDAP on the target DRB is used for sequentially sending out the SDAP SDU.
The sequence identification sending method provided by the embodiment of the invention can send the determined SDAP SDU sequence identification to the receiving end, and carry out SDAP SDU transmission according to the determined sequence identification, can ensure that SDAP SDU data packets are not discarded and retransmitted after data forwarding, and avoids the condition that the data packets are out of order when the service quality flow is switched or remapped.
An embodiment of the present invention further provides a sequential identifier receiving method, which is applied to a receiving end, and as shown in fig. 3, the method includes:
step 301, receiving a sequence identifier of a service data adaptation protocol SDAP service data unit SDU sent by a sending end through a packet data convergence protocol PDCP, wherein the sequence identifier is determined according to the PDCP or the SDAP.
The receiving end of the embodiment of the invention can be a base station or a terminal, and after the sending end determines the sequence identification of the SDAP SDU according to the PDCP or the SDAP, the receiving end receives the sequence identification of the SDAP SDU sent by the sending end through the PDCP.
The step of receiving the sequence identifier of the service data adaptation protocol SDAP service data unit SDU sent by the sending end through the packet data convergence protocol PDCP comprises the following steps: receiving a PDCP Status protocol data unit PDU sent by a sending end through a PDCP, wherein the PDCP Status PDU contains a sequence identifier of an SDAP SDU to be sent; or receiving the SDAP Status PDU sent by the sending end through the PDCP, wherein the SDAP Status PDU contains the sequence identification of the SDAP SDU to be sent.
When the sending end sends the SDAP SDU sequence identification, the sending end SDAP sends the SDAP SDU sending sequence identification to be sent to the sending end PDCP, the sending end PDCP builds a PDCP Status PDU, wherein the built PDCP Status PDU contains the SDAP SDU sequence identification to be sent, and then the sending end PDCP sends the PDCP Status PDU to the receiving end through the PDCP.
The receiving end PDCP receives the PDCP Status PDU, analyzes the PDCP Status PDU, acquires the sequence identification of the SDAP SDU sent by the sending end SDAP, and sends the sequence identification of the SDAP SDU to the SDAP of the receiving end.
Or when the SDAP of the sending end sends the sequence identification information of the SDAP SDU, the SDAP builds a proper SDAPStatus PDU to be sent to the receiving end. After receiving SDAP Status PDU, the receiving end SDAP analyzes and obtains the sequence identification of SDAP SDU.
The SDAP builds an appropriate SDAP Status PDU as shown in fig. 4, where D/C indicates whether data PDU or control PDU, D identifies data PDU, C identifies control PDU, Reserved field Reserved may be denoted by R, and whole byte octet may be denoted by Oct.
The length of the PDU type is 3 bits, corresponding to the type of SDAP control PDU. The length of the First COUNT value (First COUNT, FC) is 32bits, which indicates the sequence COUNT value of the First SDAP SDU to be sent to the receiving-end SDAP this time, and the length of the Number (Number) is 16bits, which indicates the Number of consecutive COUNTs.
Where the SDAP PDU type definition is shown in Table 1, when the SDAP PDU is a control PDU, "000" indicates that it is an SDAP status report.
Bits Description of the invention
000 SDAP status reporting
001-111 Reserved field
TABLE 1
In the embodiment of the present invention, after receiving the sequence identifier of the service data adaptation protocol SDAP service data unit SDU sent by the sending end through the packet data convergence protocol PDCP, the method further includes: and checking the received sequence of the SDAP SDUs according to the sequence identification of the SDAP SDUs, and feeding back the checking result to the sending end.
After the sending end sends the sequence identifier of the SDAP SDU to the receiving end, the receiving end can check the sequence of the received SDAP SDU according to the sequence identifier of the SDAP SDU, and after the detection is finished, the checking result is fed back to the sending end.
In this embodiment of the present invention, if the detection result indicates that the received sequence of the SDAP SDUs is inconsistent with the sequence identifier of the SDAP SDUs, the method further includes: reordering the received SDAP SDUs according to the sequence identifiers of the SDAP SDUs; and sending the sequenced SDAP SDUs to an upper layer protocol.
After the receiving end checks the received SDAP SDU arrangement sequence according to the SDAP SDU sequence identification, if the received SDAP SDU arrangement sequence is inconsistent with the SDAP SDU sequence identification, the received SDAP SDU can be reordered according to the SDAP SDU sequence identification, and after the ordering is finished, the ordered SDAP SDU is sent to an upper layer protocol.
In the embodiment of the invention, the sequence identifier is determined according to a sequence SN number or a counting COUNT value distributed by a PDCP protocol sublayer for a PDCP protocol data unit PDU which comprises SDAP SDU needing to be sent; or the sequential identification is determined from the SN number of the SDAP.
The sequence can be determined based on PDCP or SDAP, and when the sequence identification is determined based on PDCP, the sequence identification can be determined according to SN numbers or COUNT values distributed by a PDCP protocol sub-layer for PDCP PDUs including SDAP SDUs to be transmitted; the order identification may be determined based on the SN number of the SDAP when determining the order identification based on the SDAP.
In the embodiment of the invention, when the sequence identifier is determined according to the sequence SN number or the counting COUNT value distributed by the PDCP protocol sublayer for the PDCP protocol data unit PDU which comprises SDAP SDU required to be sent;
the sequence identification of the first SDAP SDU is an SN number or a COUNT value distributed by the PDCP PDU corresponding to the second SDAP SDU; the first SDAP SDU is adjacent to the second SDAP SDU, the sequence identifier of the first SDAP SDU is adjacent to the sequence represented by the sequence identifier of the second SDAP SDU, and the first SDAP SDU is positioned before the second SDAP SDU.
When the sequential identification is determined by the SN number or COUNT value assigned by the PDCP PDU of the SDAP SDU, it may be determined that the sequential identification of the first SDAP SDU is the SN number or COUNT value assigned by the PDCP PDU corresponding to the second SDAP SDU, where the first SDAP SDU is adjacent to the second SDAP SDU and the first SDAP SDU precedes the second SDAP SDU. The determined order identification of the first SDAP SDU is also adjacent to the order represented by the order identification of the second SDAP SDU.
That is, the value of the sequence identifier of the current SDAP SDU is the SN or COUNT value allocated to the PDCP PDU corresponding to the next SDAP SDU next to the current SDAP SDU. And the order represented by the sequence identification of the adjacent SDAP SDUs is also adjacent.
In the embodiment of the invention, when the sequence identifier is determined according to the sequence SN number or the counting COUNT value distributed by the PDCP protocol sublayer for the PDCP protocol data unit PDU which comprises SDAP SDU required to be sent;
the sequence identification of the first SDAP SDU is an SDAP variable parameter defined according to an SN number or a COUNT value distributed by a PDCP PDU corresponding to the first SDAP SDU; where the sequence identifications of any two SDAP SDUs that are adjacent in the order indicated.
When the sequence identifier is determined according to the SN number or COUNT value allocated to the PDCP PDU of the SDAP SDU, the sequence identifier of the first SDAP SDU may be an SDAP variable parameter defined according to the SN number or COUNT value allocated to the PDCP PDU corresponding to the first SDAP SDU, where the SDAP variable parameter belongs to an internal value of the SDAP and is recognizable by the SDAP. The order indicated by the sequence identity of any two SDAP SDUs that are adjacent at this time is adjacent. That is, the sequence identifier of the current SDAP SDU may be an internal value of the SDAP defined by the SN number or COUNT value allocated to the PDCP PDU corresponding to the current SDAP SDU.
In the embodiment of the invention, when the sequence identifier is determined according to the SN number of the SDAP; the sequence identification of the SDAP SDU is an SN number of the SDAP which can be identified in the SDAP protocol sub-layer; where the sequence identifications of any two SDAP SDUs that are adjacent in the order indicated.
When the sequential identifier is determined according to the SN number of the SDAP, the sequential identifier can be determined according to the SN number of the SDAP which can be identified in the SDAP sub-layer. That is, the SDAP can assign a sequence number, such as an SN number introduced into the SDAP, to each SDAP SDU that is transmitted, wherein the sequence number can be identified in the SDAP protocol sub-layer. And the SDAP ensures the sequence of the SDAP SDUs according to the SN number, and the sequence represented by the sequence identifiers of two adjacent SDAP SDUs is adjacent at the moment.
In the embodiment of the present invention, after receiving the PDCP Status protocol data unit PDU sent by the sending end through the PDCP, the method further includes: detecting whether a preset identifier in the PDCP Status PDU carries the sequence of the SDAP SDUs; if the preset identification carries the sequence of the SDAP SDUs, determining that the sequence of the SDAP SDUs carried currently is reported in the received PDCP Status PDU.
The format of PDCP Status PDU is shown in fig. 5, where D/C indicates whether data PDU or control PDU, D identifies data PDU, C identifies control PDU, Reserved field Reserved can be represented by R, and whole byte octet can be represented by Oct. The First Missing COUNT value (FMC) indicates the COUNT value of the First Missing PDCP SDU within the reordering window. The length of the Bitmap (bit-based mapping) is a variable, and the length of the Bitmap field may be 0, which may indicate which SDUs are missing and which SDUs are correctly received in the receiving PDCP entity. The position of the nth bit in the bitmap is N and the position of the first bit in the bitmap is 1.
In application, Bitmap is the Bitmap in PDCP Status indicating the loss of PDCP SN number, and SDAP _ Bitmap indicates the Bitmap when SDAP is lost.
By detecting a predetermined marking FSDAPWhether the sequence bitmap of the SDAP SDU is carried or not can determine whether the sequence of the SDAP SDU carried currently is reported in the PDCPStatus PDU or not. Such as FSDAP0 indicates no portability, FSDAPWhen 1, it is carried.
The bit position in bitmap is NthAnd identifying the sequence of the SDAP SDUs reported this time by using the bit. If the bit value is 0, it indicates that the sequence of SDAP SDU is not reported this time, and if the bit value is 1, it indicates that the sequence of SDAP SDU is reported this time.
The sequence identification receiving method of the embodiment of the invention can receive the SDAP SDU sequence identification which is sent by the sending end and determined according to the PDCP or SDAP, and sequences the received SDAP SDU according to the determined sequence identification, thereby ensuring that the SDAP SDU data packet after data forwarding is not discarded and retransmitted, and avoiding the condition that the data packet is out of sequence when the service quality flow is switched or remapped.
A specific embodiment of the present invention provides a sending device, as shown in fig. 6, including a processor 610 and a transceiver 620, where the processor 610 is configured to:
and determining the sequence identification of a plurality of SDAP service data units SDU to be transmitted according to the packet data convergence protocol PDCP or the service data adaptation protocol SDAP.
Preferably, the sequence identifier is determined according to a sequence SN number or a COUNT value allocated by the PDCP protocol sublayer to the PDCP protocol data unit PDU including the SDAP SDU to be transmitted; or the sequential identification is determined from the SN number of the SDAP.
Preferably, when the sequence identifier is determined according to a sequence SN number or a COUNT value allocated by the PDCP protocol sublayer for a PDCP protocol data unit PDU including the SDAP SDU to be transmitted, the processor 610 is further configured to:
determining the sequence identifier of the first SDAP SDU according to the SN number or the COUNT value distributed by the PDCP PDU corresponding to the second SDAP SDU;
the first SDAP SDU is adjacent to the second SDAP SDU, the sequence identifier of the first SDAP SDU is adjacent to the sequence represented by the sequence identifier of the second SDAP SDU, and the first SDAP SDU is positioned before the second SDAP SDU.
Preferably, when the sequence identifier is determined according to a sequence SN number or a COUNT value allocated by the PDCP protocol sublayer for a PDCP protocol data unit PDU including the SDAP SDU to be transmitted, the processor 610 is further configured to:
defining an SDAP variable parameter according to an SN number or a COUNT value distributed by a PDCP PDU corresponding to a first SDAP SDU;
determining the defined SDAP variable parameters as the sequence identification of the first SDAP SDU;
where the sequence identifications of any two SDAP SDUs that are adjacent in the order indicated.
Preferably, when the sequential identification is determined from the SN number of the SDAP, the processor 610 is further configured to:
determining the sequence identifier of SDAP SDU according to the SN number of SDAP which can be identified in the SDAP protocol sub-layer; where the sequence identifications of any two SDAP SDUs that are adjacent in the order indicated.
To sum up, the sending device provided in the embodiment of the present invention may determine, according to the PDCP or the SDAP, the sequence identifier of a plurality of SDAP SDUs to be sent, and perform SDAP SDU transmission according to the determined sequence identifier, so as to ensure that an SDAP SDU packet is not discarded and retransmitted after data forwarding, thereby avoiding a situation where a service quality stream is out of order when switching or remapping.
An embodiment of the present invention further provides a sending device, as shown in fig. 7, including a processor 710 and a transceiver 720, where the transceiver 720 is configured to:
and sending a sequence identifier of a service data adaptation protocol SDAP service data unit SDU to a receiving end through a packet data convergence protocol PDCP, wherein the sequence identifier is determined according to the PDCP or the SDAP.
Preferably, the transceiver 720 is further configured to:
sending a PDCP Status protocol data unit PDU to a receiving end through a PDCP, wherein the PDCP Status PDU contains a sequence identification of SDAP SDU to be sent; or
And sending the SDAP Status PDU to a receiving end through the PDCP, wherein the SDAP Status PDU contains the sequence identification of the SDAP SDU to be sent.
Preferably, after the transceiver 720 sends the service data adaptation protocol SDAP service data unit SDU sequence identification to the receiving end through the packet data convergence protocol PDCP, the transceiver is further configured to:
and the receiving terminal carries out the inspection result after inspecting the arrangement sequence of the received SDAP SDUs according to the sequence identification of the SDAP SDUs.
Preferably, the sequence identifier is determined according to a sequence SN number or a COUNT value allocated by the PDCP protocol sublayer to the PDCP protocol data unit PDU including the SDAP SDU to be transmitted; or the sequential identification is determined from the SN number of the SDAP.
Preferably, when the sequence identifier is determined according to a sequence SN number or a COUNT value allocated by the PDCP protocol sublayer to the PDCP protocol data unit PDU including the SDAP SDU to be transmitted;
the sequence identification of the first SDAP SDU is an SN number or a COUNT value distributed by the PDCP PDU corresponding to the second SDAP SDU;
the first SDAP SDU is adjacent to the second SDAP SDU, the sequence identifier of the first SDAP SDU is adjacent to the sequence represented by the sequence identifier of the second SDAP SDU, and the first SDAP SDU is positioned before the second SDAP SDU.
Preferably, when the sequence identifier is determined according to a sequence SN number or a COUNT value allocated by the PDCP protocol sublayer to the PDCP protocol data unit PDU including the SDAP SDU to be transmitted;
the sequence identification of the first SDAP SDU is an SDAP variable parameter defined according to an SN number or a COUNT value distributed by a PDCP PDU corresponding to the first SDAP SDU;
where the sequence identifications of any two SDAP SDUs that are adjacent in the order indicated.
Preferably, when the sequence identifier is determined from the SN number of the SDAP;
the sequence identification of the SDAP SDU is an SN number of the SDAP which can be identified in the SDAP protocol sub-layer; where the sequence identifications of any two SDAP SDUs that are adjacent in the order indicated.
Preferably, before the transceiver 720 sends the service data adaptation protocol SDAP service data unit SDU sequence identification to the receiving end via the packet data convergence protocol PDCP, the processor 710 is configured to:
detecting whether switching or remapping occurs to a QoS Flow; and when the QoS Flow is switched or remapped to the target DRB by the source data radio bearer, the control transceiver sends the sequence identification of the SDAP SDU to the receiving end through the PDCP.
Preferably, when the QoS Flow is switched or remapped from the source data radio bearer DRB to the target DRB, and the transceiver 720 sends the sequence identifier of the SDAP SDU to the receiving end through the PDCP, the transceiver 720 is further configured to:
if the target DRB does not bear any QoS flow, sending the sequence identification of the SDAP SDU to a receiving end according to the sequence identified by the sequence identification of the SDAP SDU to be sent; and if the target DRB bears other QoS flows, sending the sequence identification of the SDAP SDU to the receiving end according to the sequence identification on the target DRB.
To sum up, the sending device provided in the embodiment of the present invention can send the determined sequence identifier of the SDAP SDU to the receiving end, and perform SDAP SDU transmission according to the determined sequence identifier, so as to ensure that an SDAP SDU packet is not discarded and retransmitted after data forwarding, thereby avoiding a situation where a packet is out of order when a quality of service stream is switched or remapped.
An embodiment of the present invention further provides a receiving device, as shown in fig. 8, including a processor 810 and a transceiver 820, where the transceiver 820 is configured to:
and receiving a sequence identifier of a service data adaptation protocol SDAP service data unit SDU sent by a sending end through a packet data convergence protocol PDCP, wherein the sequence identifier is determined according to the PDCP or the SDAP.
Preferably, when the transceiver 820 receives the sequence identifier of the service data adaptation protocol SDAP service data unit SDU sent by the sending end through the packet data convergence protocol PDCP, it is further configured to:
receiving a PDCP Status protocol data unit PDU sent by a sending end through a PDCP, wherein the PDCP Status PDU contains a sequence identifier of an SDAP SDU to be sent; or
And receiving the SDAP Status PDU sent by the sending end through the PDCP, wherein the SDAP Status PDU contains the sequence identification of the SDAP SDU to be sent.
Preferably, after the transceiver 820 receives the sequence identifier of the service data adaptation protocol SDAP service data unit SDU sent by the sending end through the packet data convergence protocol PDCP, the processor 810 is configured to:
and checking the received sequence of the SDAP SDUs according to the sequence identification of the SDAP SDUs, and feeding back the checking result to the sending end.
Preferably, if the detection result indicates that the received sequence of the SDAP SDUs is inconsistent with the sequence identifier of the SDAP SDUs, the processor 810 is further configured to: reordering the received SDAP SDUs according to the sequence identifiers of the SDAP SDUs; the control transceiver 820 transmits the sorted SDAP SDU to an upper layer protocol.
Preferably, the sequence identifier is determined according to a sequence SN number or a COUNT value allocated by the PDCP protocol sublayer to the PDCP protocol data unit PDU including the SDAP SDU to be transmitted; or the sequential identification is determined from the SN number of the SDAP.
Preferably, when the sequence identifier is determined according to a sequence SN number or a COUNT value allocated by the PDCP protocol sublayer to the PDCP protocol data unit PDU including the SDAP SDU to be transmitted;
the sequence identification of the first SDAP SDU is an SN number or a COUNT value distributed by the PDCP PDU corresponding to the second SDAP SDU;
the first SDAP SDU is adjacent to the second SDAP SDU, the sequence identifier of the first SDAP SDU is adjacent to the sequence represented by the sequence identifier of the second SDAP SDU, and the first SDAP SDU is positioned before the second SDAP SDU.
Preferably, when the sequence identifier is determined according to a sequence SN number or a COUNT value allocated by the PDCP protocol sublayer to the PDCP protocol data unit PDU including the SDAP SDU to be transmitted;
the sequence identification of the first SDAP SDU is an SDAP variable parameter defined according to an SN number or a COUNT value distributed by a PDCP PDU corresponding to the first SDAP SDU;
where the sequence identifications of any two SDAP SDUs that are adjacent in the order indicated.
Preferably, when the sequence identifier is determined from the SN number of the SDAP;
the sequence identification of the SDAP SDU is an SN number of the SDAP which can be identified in the SDAP protocol sub-layer; where the sequence identifications of any two SDAP SDUs that are adjacent in the order indicated.
Preferably, after the transceiver 820 receives the PDCP Status protocol data unit PDU sent by the sending end through the PDCP, the processor 810 is further configured to:
detecting whether a preset identifier in the PDCP Status PDU carries the sequence of the SDAP SDUs; if the preset identification carries the sequence of the SDAP SDUs, determining that the sequence of the SDAP SDUs carried currently is reported in the received PDCP Status PDU.
To sum up, the receiving device provided in the embodiment of the present invention can receive the sequence identifier of the SDAP SDU determined according to the PDCP or the SDAP sent by the sending end, and sequence the received SDAP SDU according to the determined sequence identifier, so as to ensure that the data packet of the SDAP SDU after data forwarding is not discarded and retransmitted, thereby avoiding the occurrence of the out-of-order condition of the data packet when the quality of service stream is switched or remapped.
The embodiment of the invention also provides a sending device, which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor; the processor implements the sequence identifier determination method and the sequence identifier transmission method described above when executing the program.
Specifically, as shown in fig. 9, the sending device includes:
a processor 910 for reading a program in a memory 920;
a transceiver 930 for receiving and transmitting data under the control of the processor 910.
Wherein in fig. 9, the bus architecture may include any number of interconnected buses and bridges, with one or more processors, represented by processor 910, and various circuits, represented by memory 920, being linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface. The transceiver 930 may be a number of elements including a transmitter and a transceiver providing a means for communicating with various other apparatus over a transmission medium. The processor 910 is responsible for managing the bus architecture and general processing, and the memory 920 may store data used by the processor 910 in performing operations.
The processor 910 is responsible for managing the bus architecture and general processing, and the memory 920 may store data used by the processor 910 in performing operations.
Specifically, processor 910 is configured to: and determining the sequence identification of a plurality of SDAP service data units SDU to be transmitted according to the packet data convergence protocol PDCP or the service data adaptation protocol SDAP. The processor 910 is further configured to perform other specific steps of the corresponding processor in the embodiment corresponding to fig. 6, which are not described herein again.
The transceiver 930 is configured to: and sending a sequence identifier of a service data adaptation protocol SDAP service data unit SDU to a receiving end through a packet data convergence protocol PDCP, wherein the sequence identifier is determined according to the PDCP or the SDAP. The transceiver 930 and the processor 910 are further configured to perform other specific steps corresponding to the transceiver and the processor in the embodiment corresponding to fig. 7, which are not described herein again.
The embodiment of the invention also provides a receiving device, which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor; the processor executes the program to implement the sequence identification receiving method described above.
Specifically, as shown in fig. 10, the receiving apparatus includes:
a processor 1010 for reading programs in the memory 1020;
a transceiver 1030 for receiving and transmitting data under the control of the processor 1010.
Where in fig. 10, the bus architecture may include any number of interconnected buses and bridges, with one or more processors represented by processor 1010 and various circuits of memory represented by memory 1020 being linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface. The transceiver 1030 may be a plurality of elements including a transmitter and a transceiver providing a means for communicating with various other apparatus over a transmission medium. The processor 1010 is responsible for managing the bus architecture and general processing, and the memory 1020 may store data used by the processor 1010 in performing operations.
The processor 1010 is responsible for managing the bus architecture and general processing, and the memory 1020 may store data used by the processor 1010 in performing operations.
Specifically, the transceiver 1030 is configured to: and receiving a sequence identifier of a service data adaptation protocol SDAP service data unit SDU sent by a sending end through a packet data convergence protocol PDCP, wherein the sequence identifier is determined according to the PDCP or the SDAP. The transceiver 1030 and the processor 1010 are further configured to perform other specific steps corresponding to the transceiver and the processor in the embodiment corresponding to fig. 8, which are not described herein again.
In addition, a computer-readable storage medium is provided in an embodiment of the present invention, in which a computer program is stored, where the program, when executed by a processor, implements a sequential identification determination method, a sequential identification transmission method, or implements a sequential identification reception method.
Specifically, the computer-readable storage medium is applied to a sending device or a receiving device, and when the computer-readable storage medium is applied to the sending device or the receiving device, the execution steps in the corresponding methods are as described in detail above, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed method and apparatus may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be physically included alone, or two or more units may be integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute some steps of the transceiving method according to various embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
While the preferred embodiments of the present invention have been described, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the following claims.

Claims (47)

1. A method for determining sequence identification is applied to a sending end, and is characterized by comprising the following steps:
and determining the sequence identification of a plurality of SDAP service data units SDU to be transmitted according to the packet data convergence protocol PDCP or the service data adaptation protocol SDAP.
2. The method according to claim 1, wherein the sequence identifier is determined according to sequence SN number or COUNT value allocated by PDCP protocol sublayer for PDCP protocol data unit PDU including SDAP SDU to be transmitted; or the sequence identification is determined according to the SN number of the SDAP.
3. The method according to claim 2, wherein when the sequence identifier is determined according to the sequence SN number or COUNT value allocated by the PDCP protocol sublayer to the PDCP protocol data unit PDU including the SDAP SDU to be transmitted, the step of determining the sequence identifier of the plurality of SDAP service data units SDU to be transmitted according to the packet data convergence protocol PDCP comprises:
determining the sequence identifier of the first SDAP SDU according to the SN number or the COUNT value distributed by the PDCP PDU corresponding to the second SDAP SDU;
wherein the first SDAP SDU is adjacent to the second SDAP SDU, the sequence identifier of the first SDAP SDU is adjacent to the sequence represented by the sequence identifier of the second SDAP SDU, and the first SDAP SDU is located before the second SDAP SDU.
4. The method according to claim 2, wherein when the sequence identifier is determined according to the sequence SN number or COUNT value allocated by the PDCP protocol sublayer to the PDCP protocol data unit PDU including the SDAP SDU to be transmitted, the step of determining the sequence identifier of the plurality of SDAP service data units SDU to be transmitted according to the packet data convergence protocol PDCP comprises:
defining an SDAP variable parameter according to an SN number or a COUNT value distributed by a PDCP PDU corresponding to a first SDAP SDU;
determining a defined SDAP variable parameter as a sequence identifier of the first SDAP SDU;
where the sequence identifications of any two SDAP SDUs that are adjacent in the order indicated.
5. The method of claim 2, wherein the step of determining the sequence identifier of the plurality of SDAP service data units SDUs to be transmitted according to the SDAP when the sequence identifier is determined according to the SN number of the SDAP comprises:
determining the sequence identifier of SDAP SDU according to the SN number of SDAP which can be identified in the SDAP protocol sub-layer;
where the sequence identifications of any two SDAP SDUs that are adjacent in the order indicated.
6. A sequence identifier sending method is applied to a sending end and is characterized by comprising the following steps:
and sending a sequence identifier of a service data adaptation protocol SDAP service data unit SDU to a receiving end through a packet data convergence protocol PDCP, wherein the sequence identifier is determined according to the PDCP or the SDAP.
7. The method as claimed in claim 6, wherein the step of sending the SDAP SDU sequence identifier to the receiving end via the PDCP comprises:
sending a PDCP Status protocol data unit PDU to the receiving terminal through a PDCP, wherein the PDCP Status PDU contains a sequence identification of SDAP SDU to be sent; or
And sending an SDAP Status PDU to the receiving terminal through the PDCP, wherein the SDAP Status PDU contains the sequence identification of the SDAP SDU to be sent.
8. The method as claimed in claim 6, wherein after sending the sequence identifier of the service data adaptation protocol SDAP service data unit SDU to the receiving end via the packet data convergence protocol PDCP, the method further comprises:
and receiving the inspection result of the receiving end after inspecting the arrangement sequence of the received SDAP SDUs according to the sequence identification of the SDAP SDUs.
9. The method for transmitting sequence identifier according to claim 6, wherein the sequence identifier is determined according to sequence SN number or COUNT value allocated by PDCP protocol sublayer for PDCP protocol data unit PDU including SDAP SDU to be transmitted; or the sequence identification is determined according to the SN number of the SDAP.
10. The method according to claim 9, wherein when the sequence identifier is determined according to a sequence SN number or a COUNT value allocated by a PDCP protocol sublayer to a PDCP protocol data unit PDU including an SDAP SDU to be transmitted;
the sequence identification of the first SDAP SDU is an SN number or a COUNT value distributed by the PDCP PDU corresponding to the second SDAP SDU;
wherein the first SDAP SDU is adjacent to the second SDAP SDU, the sequence identifier of the first SDAP SDU is adjacent to the sequence represented by the sequence identifier of the second SDAP SDU, and the first SDAP SDU is located before the second SDAP SDU.
11. The method according to claim 9, wherein when the sequence identifier is determined according to a sequence SN number or a COUNT value allocated by a PDCP protocol sublayer to a PDCP protocol data unit PDU including an SDAP SDU to be transmitted;
the sequence identification of the first SDAP SDU is an SDAP variable parameter defined according to an SN number or a COUNT value distributed by a PDCP PDU corresponding to the first SDAP SDU;
where the sequence identifications of any two SDAP SDUs that are adjacent in the order indicated.
12. The sequential identity transmitting method of claim 9, wherein when the sequential identity is determined according to an SN number of the SDAP;
the sequence identification of the SDAP SDU is an SN number of the SDAP which can be identified in the SDAP protocol sub-layer; where the sequence identifications of any two SDAP SDUs that are adjacent in the order indicated.
13. The method as claimed in claim 6, wherein before sending the sequence identifier of the service data adaptation protocol SDAP service data unit SDU to the receiving end through the packet data convergence protocol PDCP, the method further comprises:
detecting whether switching or remapping occurs to a QoS Flow;
and when the QoS Flow is switched or remapped to a target DRB by a source Data Radio Bearer (DRB), sending the sequence identification of the SDAP SDU to the receiving end through the PDCP.
14. The method of claim 13, wherein the step of sending the sequence identifier of the SDAP SDU to the receiving end through the PDCP when the QoS Flow is handed over from the source data radio bearer DRB or remapped to the target DRB comprises:
if the target DRB does not bear any QoS flow, sending the sequence identification of the SDAP SDU to the receiving end according to the sequence identified by the sequence identification of the SDAP SDU to be sent;
and if the target DRB bears other QoS flow, sending the sequence identification of the SDAP SDU to the receiving end according to the sequence identification on the target DRB.
15. A sequential identification receiving method is applied to a receiving end and is characterized by comprising the following steps:
and receiving a sequence identifier of a service data adaptation protocol SDAP service data unit SDU sent by a sending end through a packet data convergence protocol PDCP, wherein the sequence identifier is determined according to the PDCP or the SDAP.
16. The sequence identifier receiving method according to claim 15, wherein the step of receiving the sequence identifier of the service data adaptation protocol SDAP service data unit SDU sent by the sending end through the packet data convergence protocol PDCP comprises:
receiving a PDCP Status protocol data unit PDU sent by the sending end through a PDCP, wherein the PDCP Status PDU contains a sequence identifier of an SDAP SDU needing to be sent; or
And receiving the SDAP Status PDU sent by the sending end through the PDCP, wherein the SDAP Status PDU contains the sequence identification of the SDAP SDU to be sent.
17. The sequence identifier receiving method according to claim 15, wherein after receiving the sequence identifier of the service data adaptation protocol SDAP service data unit SDU sent by the sending end through the packet data convergence protocol PDCP, the method further comprises:
and checking the received sequence of the SDAP SDUs according to the sequence identification of the SDAP SDUs, and feeding back the checking result to the sending end.
18. The sequence identifier receiving method according to claim 17, wherein if the detection result indicates that the received sequence of the SDAP SDUs is inconsistent with the sequence identifier of the SDAP SDUs, further comprising: reordering the received SDAP SDUs according to the sequence identifiers of the SDAP SDUs;
and sending the sequenced SDAP SDUs to an upper layer protocol.
19. The sequence identifier receiving method according to claim 15, wherein the sequence identifier is determined according to a sequence SN number or a COUNT value allocated by the PDCP protocol sublayer for the PDCP protocol data unit PDU including the SDAP SDU to be transmitted; or the sequence identification is determined according to the SN number of the SDAP.
20. The sequence identification receiving method according to claim 19, wherein when the sequence identification is determined according to the sequence SN number or the COUNT value allocated by the PDCP protocol sublayer for the PDCP protocol data unit PDU including the SDAP SDU to be transmitted;
the sequence identification of the first SDAP SDU is an SN number or a COUNT value distributed by the PDCP PDU corresponding to the second SDAP SDU;
wherein the first SDAP SDU is adjacent to the second SDAP SDU, the sequence identifier of the first SDAP SDU is adjacent to the sequence represented by the sequence identifier of the second SDAP SDU, and the first SDAP SDU is located before the second SDAP SDU.
21. The sequence identification receiving method according to claim 19, wherein when the sequence identification is determined according to the sequence SN number or the COUNT value allocated by the PDCP protocol sublayer for the PDCP protocol data unit PDU including the SDAP SDU to be transmitted;
the sequence identification of the first SDAP SDU is an SDAP variable parameter defined according to an SN number or a COUNT value distributed by a PDCP PDU corresponding to the first SDAP SDU;
where the sequence identifications of any two SDAP SDUs that are adjacent in the order indicated.
22. The sequential identity reception method according to claim 19, wherein when the sequential identity is determined according to an SN number of the SDAP;
the sequence identification of the SDAP SDU is an SN number of the SDAP which can be identified in the SDAP protocol sub-layer; where the sequence identifications of any two SDAP SDUs that are adjacent in the order indicated.
23. The sequence identifier receiving method according to claim 16, wherein after receiving the PDCP Status protocol data unit PDU sent by the sending end through the PDCP, the method further comprises:
detecting whether a preset identifier in the PDCP Status PDU carries the sequence of the SDAP SDUs;
and if the preset identification carries the sequence of the SDAP SDUs, determining that the sequence of the SDAP SDUs carried currently is reported in the received PDCP Status PDU.
24. A transmitting device comprising a processor and a transceiver, the processor configured to:
and determining the sequence identification of a plurality of SDAP service data units SDU to be transmitted according to the packet data convergence protocol PDCP or the service data adaptation protocol SDAP.
25. The transmitting device according to claim 24, wherein the sequence identifier is determined according to a sequence SN number or a COUNT value allocated by the PDCP protocol sublayer for PDCP protocol data units PDU comprising the SDAP SDU to be transmitted; or the sequence identification is determined according to the SN number of the SDAP.
26. The transmitting device of claim 25, wherein when the sequence identifier is determined from a sequence SN number or a COUNT value assigned by the PDCP protocol sublayer to the PDCP protocol data unit PDU comprising the SDAP SDU that needs to be transmitted, the processor is further configured to:
determining the sequence identifier of the first SDAP SDU according to the SN number or the COUNT value distributed by the PDCP PDU corresponding to the second SDAP SDU;
wherein the first SDAP SDU is adjacent to the second SDAP SDU, the sequence identifier of the first SDAP SDU is adjacent to the sequence represented by the sequence identifier of the second SDAP SDU, and the first SDAP SDU is located before the second SDAP SDU.
27. The transmitting device of claim 25, wherein when the sequence identifier is determined from a sequence SN number or a COUNT value assigned by the PDCP protocol sublayer to the PDCP protocol data unit PDU comprising the SDAP SDU that needs to be transmitted, the processor is further configured to:
defining an SDAP variable parameter according to an SN number or a COUNT value distributed by a PDCP PDU corresponding to a first SDAP SDU;
determining a defined SDAP variable parameter as a sequence identifier of the first SDAP SDU;
where the sequence identifications of any two SDAP SDUs that are adjacent in the order indicated.
28. The transmitting device of claim 25, wherein when the sequence identifier is determined from an SN number of the SDAP, the processor is further configured to:
determining the sequence identifier of SDAP SDU according to the SN number of SDAP which can be identified in the SDAP protocol sub-layer;
where the sequence identifications of any two SDAP SDUs that are adjacent in the order indicated.
29. A transmitting device comprising a processor and a transceiver configured to:
and sending a sequence identifier of a service data adaptation protocol SDAP service data unit SDU to a receiving end through a packet data convergence protocol PDCP, wherein the sequence identifier is determined according to the PDCP or the SDAP.
30. The transmitting device of claim 29, wherein the transceiver is further configured to:
sending a PDCP Status protocol data unit PDU to the receiving terminal through a PDCP, wherein the PDCP Status PDU contains a sequence identification of SDAP SDU to be sent; or
And sending an SDAP Status PDU to the receiving terminal through the PDCP, wherein the SDAP Status PDU contains the sequence identification of the SDAP SDU to be sent.
31. The transmitting device of claim 29, wherein the transceiver is further configured to, after transmitting the sequence identifier of the service data adaptation protocol SDAP service data unit SDU to the receiving end via the packet data convergence protocol PDCP:
and receiving the inspection result of the receiving end after inspecting the arrangement sequence of the received SDAP SDUs according to the sequence identification of the SDAP SDUs.
32. The transmitting device as claimed in claim 29, wherein the sequence identifier is determined according to a sequence SN number or a COUNT value allocated by the PDCP protocol sublayer for the PDCP protocol data unit PDU including the SDAP SDU to be transmitted; or the sequence identification is determined according to the SN number of the SDAP.
33. The transmitting device as claimed in claim 32, wherein when the sequence identifier is determined according to a sequence SN number or a COUNT value assigned by the PDCP protocol sublayer for the PDCP protocol data unit PDU including the SDAP SDU required to be transmitted;
the sequence identification of the first SDAP SDU is an SN number or a COUNT value distributed by the PDCP PDU corresponding to the second SDAP SDU;
wherein the first SDAP SDU is adjacent to the second SDAP SDU, the sequence identifier of the first SDAP SDU is adjacent to the sequence represented by the sequence identifier of the second SDAP SDU, and the first SDAP SDU is located before the second SDAP SDU.
34. The transmitting device as claimed in claim 32, wherein when the sequence identifier is determined according to a sequence SN number or a COUNT value assigned by the PDCP protocol sublayer for the PDCP protocol data unit PDU including the SDAP SDU required to be transmitted;
the sequence identification of the first SDAP SDU is an SDAP variable parameter defined according to an SN number or a COUNT value distributed by a PDCP PDU corresponding to the first SDAP SDU;
where the sequence identifications of any two SDAP SDUs that are adjacent in the order indicated.
35. The transmitting device as claimed in claim 32, wherein when the sequence identifier is determined according to an SN number of the SDAP;
the sequence identification of the SDAP SDU is an SN number of the SDAP which can be identified in the SDAP protocol sub-layer; where the sequence identifications of any two SDAP SDUs that are adjacent in the order indicated.
36. The transmitting device of claim 29, wherein before the transceiver transmits the sequential identification of service data adaptation protocol SDAP service data units, SDUs, to the receiving end via packet data convergence protocol PDCP, the processor is configured to:
detecting whether switching or remapping occurs to a QoS Flow;
and when the QoS Flow is switched or remapped to a target DRB by a source Data Radio Bearer (DRB), controlling the transceiver to send the sequence identification of the SDAP SDU to the receiving end through the PDCP.
37. The transmitting device of claim 36, wherein when the QoS Flow is handed over or remapped by a source data radio bearer DRB to a target DRB, and the transceiver transmits the sequential identification of the SDAP SDUs to the receiving end via PDCP, the transceiver is further configured to:
if the target DRB does not bear any QoS flow, sending the sequence identification of the SDAP SDU to the receiving end according to the sequence identified by the sequence identification of the SDAP SDU to be sent;
and if the target DRB bears other QoS flow, sending the sequence identification of the SDAP SDU to the receiving end according to the sequence identification on the target DRB.
38. A receiving device comprising a processor and a transceiver, the transceiver being configured to:
and receiving a sequence identifier of a service data adaptation protocol SDAP service data unit SDU sent by a sending end through a packet data convergence protocol PDCP, wherein the sequence identifier is determined according to the PDCP or the SDAP.
39. The receiving device of claim 38, wherein the transceiver, when receiving the sequence identifier of the service data adaptation protocol SDAP service data unit SDU sent by the sending end through the packet data convergence protocol PDCP, is further configured to:
receiving a PDCP Status protocol data unit PDU sent by the sending end through a PDCP, wherein the PDCP Status PDU contains a sequence identifier of an SDAP SDU needing to be sent; or
And receiving the SDAP Status PDU sent by the sending end through the PDCP, wherein the SDAP Status PDU contains the sequence identification of the SDAP SDU to be sent.
40. The receiving device of claim 38, wherein after the transceiver receives the sequence identifier of the service data adaptation protocol SDAP service data unit SDU sent by the sending end through the packet data convergence protocol PDCP, the processor is configured to:
and checking the received sequence of the SDAP SDUs according to the sequence identification of the SDAP SDUs, and feeding back the checking result to the sending end.
41. The receiving device of claim 40, wherein if the detection result indicates that the received SDAPSDU sequence is not consistent with the SDAP SDU sequence identifier, the processor is further configured to: reordering the received SDAP SDUs according to the sequence identifiers of the SDAP SDUs;
and controlling the transceiver to send the sequenced SDAP SDUs to an upper layer protocol.
42. The receiving device according to claim 38, wherein the sequence identifier is determined according to a sequence SN number or a COUNT value allocated by the PDCP protocol sublayer for PDCP protocol data units PDU comprising the SDAP SDU required to be transmitted; or the sequence identification is determined according to the SN number of the SDAP.
43. The receiving device according to claim 42, wherein when the sequence identifier is determined according to a sequence SN number or a COUNT COUNT value assigned by a PDCP protocol sub-layer for PDCP protocol data units PDU comprising SDAP SDUs to be transmitted;
the sequence identification of the first SDAP SDU is an SN number or a COUNT value distributed by the PDCP PDU corresponding to the second SDAP SDU;
wherein the first SDAP SDU is adjacent to the second SDAP SDU, the sequence identifier of the first SDAP SDU is adjacent to the sequence represented by the sequence identifier of the second SDAP SDU, and the first SDAP SDU is located before the second SDAP SDU.
44. The receiving device according to claim 42, wherein when the sequence identifier is determined according to a sequence SN number or a COUNT COUNT value assigned by a PDCP protocol sub-layer for PDCP protocol data units PDU comprising SDAP SDUs to be transmitted;
the sequence identification of the first SDAP SDU is an SDAP variable parameter defined according to an SN number or a COUNT value distributed by a PDCP PDU corresponding to the first SDAP SDU;
where the sequence identifications of any two SDAP SDUs that are adjacent in the order indicated.
45. The receiving device of claim 42, wherein when the sequence identifier is determined from an SN number of an SDAP;
the sequence identification of the SDAP SDU is an SN number of the SDAP which can be identified in the SDAP protocol sub-layer; where the sequence identifications of any two SDAP SDUs that are adjacent in the order indicated.
46. The receiving device according to claim 39, wherein after the transceiver receives the PDCP STATUS protocol data Unit PDU sent by the sending end through the PDCP, the processor is further configured to:
detecting whether a preset identifier in the PDCP Status PDU carries the sequence of the SDAP SDUs;
and if the preset identification carries the sequence of the SDAP SDUs, determining that the sequence of the SDAP SDUs carried currently is reported in the received PDCP Status PDU.
47. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, is characterized in that it implements the sequential identity determination method according to any one of claims 1 to 5 or implements the sequential identity transmission method according to any one of claims 6 to 14 or implements the steps in the sequential identity reception method according to any one of claims 15 to 23.
CN201810735458.XA 2018-07-06 2018-07-06 Sequence identification determining, sending and receiving method and sending and receiving equipment Active CN110691377B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810735458.XA CN110691377B (en) 2018-07-06 2018-07-06 Sequence identification determining, sending and receiving method and sending and receiving equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810735458.XA CN110691377B (en) 2018-07-06 2018-07-06 Sequence identification determining, sending and receiving method and sending and receiving equipment

Publications (2)

Publication Number Publication Date
CN110691377A true CN110691377A (en) 2020-01-14
CN110691377B CN110691377B (en) 2023-01-13

Family

ID=69107211

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810735458.XA Active CN110691377B (en) 2018-07-06 2018-07-06 Sequence identification determining, sending and receiving method and sending and receiving equipment

Country Status (1)

Country Link
CN (1) CN110691377B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023283924A1 (en) * 2021-07-16 2023-01-19 北京小米移动软件有限公司 Data transmission method, data transmission apparatus, and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104272796A (en) * 2012-03-17 2015-01-07 黑莓有限公司 Handling packet data convergence protocol data units
CN107404396A (en) * 2016-05-20 2017-11-28 中国移动通信有限公司研究院 A kind of data transmission method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104272796A (en) * 2012-03-17 2015-01-07 黑莓有限公司 Handling packet data convergence protocol data units
CN107404396A (en) * 2016-05-20 2017-11-28 中国移动通信有限公司研究院 A kind of data transmission method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023283924A1 (en) * 2021-07-16 2023-01-19 北京小米移动软件有限公司 Data transmission method, data transmission apparatus, and storage medium

Also Published As

Publication number Publication date
CN110691377B (en) 2023-01-13

Similar Documents

Publication Publication Date Title
US11395184B2 (en) Method and apparatus for receiving data packets
CN108282248B (en) Data transmission method, network side equipment and user equipment
TWI692225B (en) Method and device for transmitting data by agreement data unit
CN107347199B (en) It is a kind of switching and its control method, device
KR101742909B1 (en) Method and apparatus for transmitting data unit
CN110691377B (en) Sequence identification determining, sending and receiving method and sending and receiving equipment
CN116684315B (en) Service indication method and device
US20230379762A1 (en) Data transmission method and apparatus, and storage medium
WO2019085042A1 (en) Communication method, base station, and apparatus having storage function
WO2022068911A1 (en) Data transmission method and apparatus, and device
KR101300383B1 (en) Method and apparatus for processing retransmission protocal data unit in mobile communication system
CN110062418B (en) Air interface switching method and node equipment
CN114938340A (en) Service indication 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