CN111447650B - Data forwarding method, equipment and storage medium - Google Patents

Data forwarding method, equipment and storage medium Download PDF

Info

Publication number
CN111447650B
CN111447650B CN201910043864.4A CN201910043864A CN111447650B CN 111447650 B CN111447650 B CN 111447650B CN 201910043864 A CN201910043864 A CN 201910043864A CN 111447650 B CN111447650 B CN 111447650B
Authority
CN
China
Prior art keywords
data
layer
sdap
sdap layer
forwarding
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.)
Active
Application number
CN201910043864.4A
Other languages
Chinese (zh)
Other versions
CN111447650A (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 CN201910043864.4A priority Critical patent/CN111447650B/en
Priority to PCT/CN2020/070662 priority patent/WO2020147617A1/en
Publication of CN111447650A publication Critical patent/CN111447650A/en
Application granted granted Critical
Publication of CN111447650B publication Critical patent/CN111447650B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/24Negotiating SLA [Service Level Agreement]; Negotiating QoS [Quality of Service]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/02Buffering or recovering information during reselection ; Modification of the traffic flow during hand-off
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/06Reselecting a communication resource in the serving access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/12Setup of transport tunnels

Abstract

The embodiment of the invention discloses a data forwarding method, equipment and a storage medium, which are used for solving the problem that data forwarding is not carried out aiming at SDAP at present. When the embodiment of the invention forwards data, firstly, an SDAP layer receives an upper layer reconstruction request; and finally, after the SDAP layer determines the data needing forwarding, the data needing forwarding is sent to a target SDAP layer. When the method is used for data forwarding, a data forwarding scheme of the SDAP is provided, and the 5G performance is improved.

Description

Data forwarding method, equipment and storage medium
Technical Field
The present invention relates to the field of wireless technologies, and in particular, to a method, a device, and a storage medium for data forwarding.
Background
In the 5G era, due to the introduction of the SDAP (Service Data Adaptation Protocol) layer, which is equivalent to the occurrence of a processing agent in the AS layer of an IP packet, the SDAP layer is used for transmitting Data of a user plane and is responsible for mapping Qos flow (Quality of Service flow) onto a DRB (Data RB, Data bearer between a terminal and a base station), wherein the Qos flow is loaded with IP packets. In the current system, when a Packet Data Convergence Protocol (PDCP) is reestablished, a Data Packet that is not correctly sent by the PDCP layer can only be retransmitted by an upper layer. This type of packet transmission introduces an excessively long delay in packet transmission.
The seamless switching of the data packets can be realized by depending on the SDAP, and the problem that the data can only be retransmitted by a higher layer after the data is lost when the PDCP layer forwards the data in a common data transmission mode UM mode and the problem that the content of the data is possibly changed and the risk exists when the PDCP layer forwards the data in a data transmission mode AM mode with high accuracy requirement can be effectively solved.
But at present, no scheme for forwarding data according to the SDAP characteristics in 5G exists.
Disclosure of Invention
The embodiment of the invention provides a data forwarding method, equipment and a storage medium, which are used for solving the problem that data forwarding is not performed aiming at SDAP at present.
In a first aspect, a method for forwarding data provided in an embodiment of the present invention includes:
firstly, an SDAP layer receives an upper layer reestablishment request; and finally, after the SDAP layer determines the data needing forwarding, the data needing forwarding is sent to a target SDAP layer.
The method receives the upper layer reestablishment request through the SDAP layer, determines the data needing to be forwarded, and sends the data needing to be forwarded to the target SDAP layer, thereby providing a data forwarding scheme of the SDAP and improving the 5G performance.
In a possible implementation manner, after the SDAP layer receives the upper layer reestablishment request, before determining data that needs to be forwarded, the method further includes: the SDAP layer stops sending data packets to the PDCP layer and caches data sent by an upper layer; the SDAP layer determines data needing forwarding, and the data comprises the following steps: and the SDAP layer determines data needing forwarding from the cached data according to the received forwarding data information sent by the PDCP layer.
According to the method, the SDAP layer caches data sent by an upper layer, and determines data needing forwarding from the cached data according to received forwarding data information sent by the PDCP layer, so that the data needing forwarding can be directly retransmitted at the SDAP layer if the data needing upper layer retransmission exists in the data forwarding process, the time delay of sending the data packet is better reduced, and meanwhile, the overhead of repeatedly sending the data packet from a core network to a base station is reduced.
In a possible implementation manner, before the sending, by the SDAP layer, the data to be forwarded to a target SDAP layer, the method further includes: the SDAP layer binds the sending sequence number in the received data information with the data to be forwarded; the SDAP layer sends the data needing forwarding to a target SDAP layer, and the step comprises the following steps: and the SDAP layer sends the data to be forwarded to a target SDAP layer according to the sequence of the bound sending sequence numbers.
In the method, the SDAP layer determines the order of sending the data to be forwarded to the target SDAP layer by binding the sending sequence number in the received data information with the corresponding data in the data to be forwarded.
In a possible implementation manner, the sending sequence number is an SN or count value.
The method introduces that the sending sequence number is SN or count value.
In a possible implementation manner, after the sending, by the SDAP layer, the data to be forwarded to a target SDAP layer, the method further includes: and the SDAP layer sends the data which is not required to be forwarded in the cached data sent by the upper layer to a target SDAP layer according to a receiving sequence.
According to the method, after the SDAP layer finishes sending the data needing to be forwarded, the data which do not need to be forwarded in the cache data are sent to the target SDAP layer according to the receiving sequence, and data forwarding is better achieved.
In one possible implementation, the method further includes: after receiving a retransmission instruction sent by a target SDAP layer, the SDAP layer determines data needing to be retransmitted in the cache data according to data information needing to be retransmitted in the retransmission instruction; and the SDAP layer sends the data which needs to be retransmitted to the target SDAP layer according to the sequence of the bound sending sequence numbers.
In the method, after receiving a retransmission instruction sent by a target SDAP layer, the SDAP layer determines data to be retransmitted in the cache data according to data information to be retransmitted in the retransmission instruction; and the SDAP layer sends the data which is determined to need to be retransmitted to the target SDAP layer. The time delay of data packet transmission is reduced, and the overhead of repeated data packet transmission from the core network to the base station is reduced.
In a possible implementation manner, after the SDAP layer determines the data that needs to be forwarded, before sending the data that needs to be forwarded to the target SDAP layer, the method further includes: the SDAP layer maps the Qos flow to the corresponding DRB; after the SDAP layer sends the data to be forwarded to a target SDAP layer, the method further comprises the following steps: and the SDAP layer empties the mapping information of the QoS flow and the DRB.
In the method, the SDAP layer maps the Qos flow to the corresponding DRB, prepares for data forwarding, and clears the mapping information of the Qos flow and the DRB after the SDAP layer sends the data to be forwarded to the target SDAP layer.
In a second aspect, a method for forwarding data provided in the embodiment of the present invention includes:
firstly, a target SDAP layer receives data sent by the SDAP layer, wherein the data is the data which is determined by the SDAP layer after receiving an upper layer reestablishment request and needs to be forwarded: and finally, the target SDAP layer analyzes the data to obtain SDAP SDU, and sends the SDAP SDU to an upper layer according to a receiving sequence.
In the method, the target SDAP layer receives the data which needs to be forwarded and is sent to the target SDAP layer after the SDAP layer receives the upper layer reestablishment request, thereby providing a data forwarding scheme of the SDAP and improving the 5G performance.
In a possible implementation manner, after the target SDAP layer parses the SDAP PDU to obtain an SDAP SDU, and sends the SDAP SDU to an upper layer according to a receiving sequence, the method further includes: and after determining that the sending sequence number of the data sent to the upper layer is interrupted, the target SDAP layer sends a retransmission instruction carrying the interrupted sending sequence number to the SDAP layer.
In the method, the target SDAP layer determines that a retransmission instruction carrying an interrupted sending sequence number needs to be sent to the SDAP layer according to the interruption of the sending sequence number of the sent data.
In a third aspect, an embodiment of the present invention provides a device for data forwarding, including: a processor and a transceiver:
the processor is used for receiving an upper layer reestablishment request; and after determining the data needing forwarding, sending the data needing forwarding to a target SDAP layer through a transceiver.
In a fourth aspect, an embodiment of the present invention provides a device for data forwarding, including: a processor and a transceiver:
the processor is configured to receive data sent by an SDAP layer through a transceiver, where the data is data that needs to be forwarded and is determined after the SDAP layer receives an upper layer reestablishment request: and analyzing the data to obtain SDAP SDU, and sending the SDAP SDU to an upper layer according to a receiving sequence.
In a fifth aspect, an embodiment of the present invention further provides a device for data forwarding, where the device includes:
at least one processing unit and at least one memory unit, wherein the memory unit has stored program code which, when executed by the processing unit, causes the processing unit to perform the functions of the embodiments of any of the above-mentioned first aspects.
In a sixth aspect, an embodiment of the present invention further provides a device for data forwarding, where the device includes:
at least one processing unit and at least one memory unit, wherein the memory unit has stored program code which, when executed by the processing unit, causes the processing unit to perform the functions of the embodiments of any of the second aspects described above.
In a seventh aspect, the present application further provides a computer storage medium having a computer program stored thereon, which when executed by a processor, performs the steps of the method according to any one of the first aspect.
In an eighth aspect, the present application further provides a computer storage medium having a computer program stored thereon, which when executed by a processor, performs the steps of the method of any one of the second aspects.
In addition, for technical effects brought by any one implementation manner in the third aspect to the eighth aspect, reference may be made to technical effects brought by different implementation manners in the first aspect to the second aspect, and details are not described here again.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a schematic diagram of a data forwarding method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a first data forwarding apparatus according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a second data forwarding apparatus according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a third data forwarding apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a fourth data forwarding apparatus according to an embodiment of the present invention;
fig. 6 is a flowchart illustrating a first method for data forwarding according to an embodiment of the present invention;
fig. 7 is a flowchart illustrating a second method for data forwarding according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the embodiments of the present invention will be described in further detail with reference to the accompanying drawings, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments of the present invention without any creative efforts shall fall within the protection scope of the embodiments of the present invention.
Some of the words that appear in the text are explained below:
(1) in the embodiments of the present application, the term "plurality" means two or more, and other terms are similar thereto.
(2) "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
(3) The PDCP referred by the embodiment of the invention is a short for packet data convergence protocol.
(4) The term "SDAP" in the embodiments of the present invention refers to the definition of service discovery application specification for service investigation. It is responsible for searching for known or specific services, and for some general service searching and browsing.
(5) The 'data forwarding' referred to in the embodiment of the present invention mainly refers to that the CPU copies the output value content of one unit to the input value of another unit in one clock cycle.
As shown in fig. 1, an embodiment of the present invention provides a method for data forwarding, which specifically includes the following steps:
step 100, receiving an upper layer reestablishment request by an SDAP layer;
step 101, after determining the data needing forwarding, the SDAP layer sends the data needing forwarding to a target SDAP layer;
102, receiving data sent by an SDAP layer by a target SDAP layer, wherein the data is determined by the SDAP layer after receiving an upper layer reestablishment request and needs to be forwarded;
and 103, the target SDAP layer analyzes the data to obtain SDAP SDUs, and sends the SDAP SDUs to an upper layer according to a receiving sequence.
The method receives the upper layer reestablishment request through the SDAP layer, determines the data needing to be forwarded, and sends the data needing to be forwarded to the target SDAP layer, thereby providing a data forwarding scheme of the SDAP and improving the 5G performance.
After receiving an upper layer reestablishment request, the SDAP layer stops sending data packets to the PDCP layer, receives the data packets sent by the upper layer, and maps the Qos flow to the corresponding DRB according to instruction information in the reestablishment request, wherein when receiving the data packets sent by the upper layer, the SDAP layer stores the data packets according to the receiving sequence of the data packets.
Before forwarding data, the SDAP layer needs to determine data to be forwarded, wherein the SDAP layer determines the data to be forwarded from the cached data according to the received forwarding data information sent by the PDCP layer:
specifically, the SDAP layer determines data to be forwarded from the cached data according to the memory address information in the received forwarding data information sent by the PDCP layer.
After determining the data needing forwarding, the SDAP layer binds the sending sequence number in the received data information with the data needing forwarding.
The sending sequence Number includes, but is not limited to, SN (Serial Number), COUNT, and the like, where the SN period is short, when there is less data to be forwarded, SN may be used as the sending sequence Number, the COUNT period is long, and when there is more data to be forwarded, COUNT may be used as the sending sequence Number in order to avoid a situation where multiple data to be forwarded correspond to the same SN, where the COUNT is composed of two parts, i.e., a Hyper Frame Number (HFN) and SN.
And the SDAP layer sends the data to be forwarded to a target SDAP layer according to the sequence of the bound sending sequence numbers.
For example, when the sending sequence number only includes SN, the data to be forwarded includes data a, data B, and data C, where SN corresponding to the data a is 1, SN corresponding to the data B is 3, and SN corresponding to the data C is 2, and then the sending sequence is data a, data C, and data B.
For example, when the sending sequence number only includes COUNT, the data to be forwarded includes data a, data B, and data C, where the COUNT corresponding to the data a is 12, the COUNT corresponding to the data B is 14, and the COUNT corresponding to the data C is 13, and then the sending sequence is data a, data C, and data B.
After sending the data to be forwarded in the cached data sent by the upper layer to the target SDAP layer, the SDAP layer also needs to send the data not to be forwarded in the cached data sent by the upper layer to the target SDAP layer, specifically:
and the SDAP layer sends the data which is not required to be forwarded in the cached data sent by the upper layer to a target SDAP layer according to a receiving sequence.
The target SDAP layer receives data which is sent by the SDAP layer and needs to be forwarded after receiving an upper layer reestablishment request through the SDAP layer, and receives other data sent by the SDAP layer after receiving the data which is sent by the SDAP layer and needs to be forwarded.
And the target SDAP layer analyzes the received data to obtain SDAP SDU, and sends the SDAP SDU to an upper layer according to a receiving sequence.
In the method, the SDAP layer may have an incorrectly transmitted data packet during the process of completing the reestablishment, and therefore, the SDAP layer needs to resend the incorrectly transmitted data packet, and the embodiments of the present invention introduce the following steps, respectively, according to different situations that retransmission needs to be performed:
case 1: and the target SDAP layer sends a retransmission instruction carrying the interrupted sending sequence number to the SDAP layer after determining that the received sending sequence number of the data sent by the SDAP layer is interrupted.
Case 2: and after determining that the sending sequence number of the data sent to the upper layer is interrupted, the target SDAP layer sends a retransmission instruction carrying the interrupted sending sequence number to the SDAP layer.
After receiving a retransmission instruction sent by a target SDAP layer, the SDAP layer determines data needing to be retransmitted in the cache data according to data information needing to be retransmitted in the retransmission instruction, and sends the data needing to be retransmitted to the target SDAP layer.
In the method, the SDAP layer caches data sent by an upper layer, then determines the data needing to be retransmitted in the cached data according to the data information needing to be retransmitted in the retransmission instruction after receiving the retransmission instruction sent by the target SDAP layer, and finally the SDAP layer sends the data needing to be retransmitted to the target SDAP layer. The time delay of data packet transmission is better reduced, and the overhead of repeated data packet transmission from the core network to the base station is reduced.
In the embodiment of the invention, after the SDAP layer sends the data to be forwarded to the target SDAP layer, the mapping information of the Qos flow and the DRB is cleared.
In some possible embodiments, aspects of a method for data forwarding provided by the embodiments of the present invention may also be implemented in the form of a program product, which includes program code for causing a computer device to perform the steps in the method for data forwarding according to various exemplary embodiments of the present invention described in this specification when the program code runs on the computer device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A program product for data forwarding according to an embodiment of the present invention may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a server device. However, the program product of the present invention is not limited thereto, and in this document, the readable storage medium may be any tangible medium containing or storing the program, which can be used by or in connection with an information transmission, apparatus, or device.
A readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium other than a readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the periodic network action system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device.
As shown in fig. 2, an embodiment of the present invention provides a device for data forwarding, including: processor 200 and transceiver 201:
the processor 200 is configured to receive an upper layer reestablishment request; and after determining the data needing forwarding, sending the data needing forwarding to a target SDAP layer through a transceiver.
Optionally, the processor 200 is further configured to:
after receiving an upper layer reestablishment request, stopping sending the data packet to the PDCP layer and caching data sent by the upper layer;
and determining data needing forwarding from the cached data according to the received forwarding data information sent by the PDCP layer.
Optionally, the processor 200 is further configured to:
binding the sending sequence number in the received data information with the data needing forwarding;
the processor 200 is specifically configured to:
and sending the data to be forwarded to a target SDAP layer according to the sequence of the bound sending sequence numbers.
Optionally, the sending sequence number is an SN or count value.
Optionally, the processor 200 is further configured to:
and sending the data which does not need forwarding in the cached data sent by the upper layer to a target SDAP layer according to a receiving sequence.
Optionally, the processor 200 is further configured to:
after receiving a retransmission instruction sent by a target SDAP layer, determining data needing to be retransmitted in the cache data according to data information needing to be retransmitted in the retransmission instruction; and sending the data which needs to be retransmitted to the target SDAP layer according to the sequence of the bound sending sequence numbers.
Optionally, the processor 200 is further configured to:
mapping the Qos flow to a corresponding DRB;
after the processor 200 sends the data to be forwarded to the target SDAP layer, the processor is further configured to: and clearing the mapping information of the Qos flow and the DRB.
As shown in fig. 3, the present invention provides a device for data forwarding, comprising:
at least one processing unit 300 and at least one memory unit 301, wherein the memory unit stores program code which, when executed by the processing unit, causes the processing unit to perform the following:
receiving an upper layer rebuilding request; and after determining the data needing forwarding, sending the data needing forwarding to a target SDAP layer through a transceiver.
Optionally, the processing unit 300 is further configured to:
after receiving an upper layer reestablishment request, stopping sending the data packet to the PDCP layer and caching data sent by the upper layer;
and determining data needing forwarding from the cached data according to the received forwarding data information sent by the PDCP layer.
Optionally, the processing unit 300 is further configured to:
binding the sending sequence number in the received data information with the data needing forwarding;
the processing unit 300 is specifically configured to:
and sending the data to be forwarded to a target SDAP layer according to the sequence of the bound sending sequence numbers.
Optionally, the sending sequence number is an SN or count value.
Optionally, the processing unit 300 is further configured to:
and sending the data which does not need forwarding in the cached data sent by the upper layer to a target SDAP layer according to a receiving sequence.
Optionally, the processing unit 300 is further configured to:
after receiving a retransmission instruction sent by a target SDAP layer, determining data needing to be retransmitted in the cache data according to data information needing to be retransmitted in the retransmission instruction; and sending the data which needs to be retransmitted to the target SDAP layer according to the sequence of the bound sending sequence numbers.
Optionally, the processing unit 300 is further configured to:
mapping the Qos flow to a corresponding DRB;
after the processing unit 300 sends the data to be forwarded to the target SDAP layer, the processing unit is further configured to: and clearing the mapping information of the Qos flow and the DRB.
As shown in fig. 4, an embodiment of the present invention provides a device for data forwarding, including: processor 400 and transceiver 401:
the processor 400: the method comprises the following steps that data sent by an SDAP layer is received through a transceiver, wherein the data are determined by the SDAP layer after receiving an upper layer reestablishment request and need to be forwarded: and analyzing the data to obtain SDAP SDU, and sending the SDAP SDU to an upper layer according to a receiving sequence.
Optionally, the processor 400 is further configured to:
and after determining that the sending sequence number of the data sent to the upper layer is interrupted, sending a retransmission instruction carrying the interrupted sending sequence number to the SDAP layer.
As shown in fig. 5, the present invention provides a device for data forwarding, comprising:
at least one processing unit 500 and at least one memory unit 501, wherein the memory unit stores program code that, when executed by the processing unit, causes the processing unit to perform the following:
the method comprises the following steps that data sent by an SDAP layer is received through a transceiver, wherein the data are determined by the SDAP layer after receiving an upper layer reestablishment request and need to be forwarded: and analyzing the data to obtain SDAP SDU, and sending the SDAP SDU to an upper layer according to a receiving sequence.
Optionally, the processing unit 500 is further configured to:
and after determining that the sending sequence number of the data sent to the upper layer is interrupted, sending a retransmission instruction carrying the interrupted sending sequence number to the SDAP layer.
An embodiment of the present invention further provides a non-volatile readable storage medium, which includes program code, and when the program code runs on a computing device, the program code is configured to cause the computing device to execute the steps of the method for data forwarding.
In order to implement the functions in the method provided by the embodiment of the present application, the sending device and the receiving device may include a hardware structure and/or a software module, and the functions are implemented in the form of a hardware structure, a software module, or a hardware structure and a software module. Whether any of the above-described functions is implemented as a hardware structure, a software module, or a hardware structure plus a software module depends upon the particular application and design constraints imposed on the technical solution.
As shown in fig. 6, the method for forwarding data provided in the embodiment of the present invention specifically includes the following steps:
step 600, receiving an upper layer reestablishment request by the SDAP layer;
step 601, the SDAP layer stops sending data packets to the PDCP layer, maps the Qos flow to the corresponding DRB according to the instruction information in the reestablishment request, and caches the data sent by the upper layer;
step 602, the SDAP layer receives the forwarded data information sent by the PDCP layer;
step 603, the SDAP layer determines data to be forwarded from the cached data sent by the upper layer according to the storage address in the received data information;
step 604, the SDAP layer binds the sending sequence number in the received data information with the data to be forwarded;
step 605, the SDAP layer sends the data to be forwarded to a target SDAP layer according to the sequence of the bound sending sequence numbers;
step 606, the target SDAP layer receives the data to be forwarded sent by the SDAP layer;
step 607, the SDAP layer sends the data which is not the data to be forwarded in the buffered data sent by the upper layer to the target SDAP layer according to the receiving sequence;
step 608, the target SDAP layer receives the data which is not forwarded by the SDAP layer and is not needed;
step 609, the target SDAP layer analyzes the data to obtain SDAP SDU;
step 610, the target SDAP layer sends the SDAP SDU to an upper layer according to a receiving sequence.
Step 611, the SDAP layer clears the mapping information of QoS flow and DRB.
As shown in fig. 7, the method for forwarding data provided in the embodiment of the present invention specifically includes the following steps:
step 700, the target SDAP layer determines that the sending sequence number of the data sent to the upper layer is interrupted;
step 701, the target SDAP layer sends a retransmission instruction carrying an interrupted sending sequence number to the SDAP layer;
step 702, the SDAP layer receives a retransmission instruction sent by the target SDAP layer;
step 703, the SDAP layer determines data to be retransmitted in the cache data according to data information to be retransmitted in a retransmission instruction;
step 704, the SDAP layer sends the data which needs to be retransmitted to the target SDAP layer.
The present application is described above with reference to block diagrams and/or flowchart illustrations of methods, apparatus (systems) and/or computer program products according to embodiments of the application. It will be understood that one block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, and/or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer and/or other programmable data processing apparatus, create means for implementing the functions/acts specified in the block diagrams and/or flowchart block or blocks.
Accordingly, the subject application may also be embodied in hardware and/or in software (including firmware, resident software, micro-code, etc.). Furthermore, the present application may take the form of a computer program product on a computer-usable or computer-readable storage medium having computer-usable or computer-readable program code embodied in the medium for use by or in connection with an instruction execution system. In the context of this application, a computer-usable or computer-readable medium may be any medium that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (22)

1. A method of data forwarding, the method comprising:
a source SDAP layer receives an upper layer reestablishment request;
after determining the data needing forwarding, the source SDAP layer sends the data needing forwarding to a target SDAP layer;
the source SDAP layer determines data needing forwarding, and the data comprises the following steps:
and the source SDAP layer determines data to be forwarded according to the received forwarded data information sent by the target packet data convergence protocol PDCP layer.
2. The method as claimed in claim 1, wherein after the source SDAP layer receives the upper layer reestablishment request and before determining the data to be forwarded, further comprising:
and the source SDAP layer stops sending data packets to the PDCP layer and buffers data sent by an upper layer.
3. The method as claimed in claim 2, wherein the determining, by the source SDAP layer, data to be forwarded according to the received forwarding data information sent by the target packet data convergence protocol PDCP layer, comprises:
and the source SDAP layer determines data needing forwarding from the cached data according to the received forwarding data information sent by the PDCP layer.
4. The method as claimed in claim 2 or 3, wherein before said source SDAP layer sends said data to be forwarded to target SDAP layer, further comprising:
the source SDAP layer binds the sending sequence number in the received data information with the data to be forwarded;
the source SDAP layer sends the data needing forwarding to a target SDAP layer, and the step comprises the following steps:
and the source SDAP layer sends the data to be forwarded to the target SDAP layer according to the sequence of the bound sending sequence numbers.
5. The method of claim 4, wherein the transmission sequence number is a SN or a count value.
6. The method according to any of claims 1 to 3 and 5, wherein after the source SDAP layer sends the data to be forwarded to the target SDAP layer, the method further comprises:
and the source SDAP layer sends the data which is not required to be forwarded in the cached data sent by the upper layer to the target SDAP layer according to the receiving sequence.
7. The method of claim 4, wherein the method further comprises:
after receiving a retransmission instruction sent by a target SDAP layer, the source SDAP layer determines data needing to be retransmitted in the cache data according to data information needing to be retransmitted in the retransmission instruction;
and the source SDAP layer sends the data which needs to be retransmitted to the target SDAP layer according to the sequence of the bound sending sequence numbers.
8. The method as claimed in claim 1, wherein after said source SDAP layer determines the data to be forwarded, before sending said data to be forwarded to the target SDAP layer, further comprising:
the source SDAP layer maps the QoS flow to a data bearer DRB between a corresponding terminal and a base station;
after the source SDAP layer sends the data to be forwarded to the target SDAP layer, the method further comprises the following steps:
the source SDAP layer clears the mapping information of the QoS flow and the DRB.
9. A method of data forwarding, the method comprising:
a target service data adaptation layer SDAP layer receives data sent by a source SDAP layer, wherein the data is the data which is determined by the source SDAP layer after receiving an upper layer reconstruction request and needs to be forwarded; the data needing forwarding is determined by the source SDAP according to the received forwarding data information sent by the target packet data convergence protocol PDCP layer;
and the target SDAP layer analyzes the data to obtain an SDAP service data unit SDU, and sends the SDAP SDU to an upper layer according to a receiving sequence.
10. The method of claim 9, wherein after the target SDAP layer parses the SDAP PDU to obtain SDAP SDUs and sends the SDAP SDUs to an upper layer in a receiving order, the method further comprises:
and after determining that the sending sequence number of the data sent to the upper layer is interrupted, the target SDAP layer sends a retransmission instruction carrying the interrupted sending sequence number to the source SDAP layer.
11. An apparatus for data forwarding, comprising: a processor and a transceiver:
the processor is used for receiving an upper layer reestablishment request; after determining the data needing to be forwarded, sending the data needing to be forwarded to a target service data adaptation layer (SDAP) layer through a transceiver;
the processor is specifically configured to:
and determining data needing forwarding according to the received forwarding data information sent by the target packet data convergence protocol PDCP layer.
12. The device of claim 11, wherein the processor is further configured to:
and after receiving the upper layer reestablishment request, stopping sending the data packet to the packet data convergence protocol PDCP layer and caching the data sent by the upper layer.
13. The device of claim 12, wherein the processor is specifically configured to:
and determining data needing forwarding from the cached data according to the received forwarding data information sent by the PDCP layer.
14. The apparatus as claimed in claim 12 or 13, wherein before said processor sends said data requiring forwarding to the target SDAP layer, it is further configured to:
binding the sending sequence number in the received data information with the data needing forwarding;
the processor sends the data to be forwarded to a target SDAP layer, and is specifically configured to:
and sending the data to be forwarded to a target SDAP layer according to the sequence of the bound sending sequence numbers.
15. The apparatus of claim 14, wherein the transmission sequence number is a SN or a count value.
16. The apparatus of any of claims 11-13, 15, wherein the processor is further configured to:
and sending the data which does not need forwarding in the cached data sent by the upper layer to a target SDAP layer according to a receiving sequence.
17. The device of claim 14, wherein the processor is further configured to:
after receiving a retransmission instruction sent by a target SDAP layer, determining data needing to be retransmitted in the cache data according to data information needing to be retransmitted in the retransmission instruction; and sending the data which needs to be retransmitted to the target SDAP layer according to the sequence of the bound sending sequence numbers.
18. The device of claim 11, wherein the processor is further configured to:
mapping the QoS flow to a data bearer DRB between a corresponding terminal and a base station;
after the processor sends the data to be forwarded to the target SDAP layer, the processor is further configured to:
and clearing the mapping information of the Qos flow and the DRB.
19. An apparatus for data forwarding, comprising: a processor and a transceiver:
the processor is used for receiving data sent by a source SDAP layer through a transceiver, wherein the data is the data which is determined by the source SDAP layer after receiving an upper layer reestablishment request and needs to be forwarded; the data needing forwarding is determined by the source SDAP according to the received forwarding data information sent by the target packet data convergence protocol PDCP layer; and analyzing the data to obtain an SDAP service data unit SDU, and sending the SDAP SDU to an upper layer according to a receiving sequence.
20. The device of claim 19, wherein the processor is further configured to:
and after determining that the sending sequence number of the data sent to the upper layer is interrupted, sending a retransmission instruction carrying the interrupted sending sequence number to the source SDAP layer.
21. An apparatus for data forwarding, the apparatus comprising: at least one processing unit and at least one memory unit, wherein the memory unit stores a computer program that, when executed by the processing unit, causes the processing unit to perform the steps of the method of any of claims 1 to 8 or the steps of the method of any of claims 9 to 10.
22. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 8 or the steps of the method according to any one of claims 9 to 10.
CN201910043864.4A 2019-01-17 2019-01-17 Data forwarding method, equipment and storage medium Active CN111447650B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910043864.4A CN111447650B (en) 2019-01-17 2019-01-17 Data forwarding method, equipment and storage medium
PCT/CN2020/070662 WO2020147617A1 (en) 2019-01-17 2020-01-07 Data forwarding method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910043864.4A CN111447650B (en) 2019-01-17 2019-01-17 Data forwarding method, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111447650A CN111447650A (en) 2020-07-24
CN111447650B true CN111447650B (en) 2021-11-19

Family

ID=71613704

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910043864.4A Active CN111447650B (en) 2019-01-17 2019-01-17 Data forwarding method, equipment and storage medium

Country Status (2)

Country Link
CN (1) CN111447650B (en)
WO (1) WO2020147617A1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108924876A (en) * 2017-03-24 2018-11-30 华为技术有限公司 Data transmission method, access network equipment, terminal and communication system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102502279B1 (en) * 2016-07-08 2023-02-21 삼성전자 주식회사 Method and apparatus for performing a handover in a wireless communication system
CN108809584B (en) * 2017-05-05 2021-05-18 华为技术有限公司 Data transmission method and communication equipment
CN109041119B9 (en) * 2017-06-08 2020-07-03 维沃移动通信有限公司 Data transmission method, related equipment and system
CN109151915B (en) * 2017-06-16 2023-11-17 夏普株式会社 Method, user equipment and base station for data packet delivery

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108924876A (en) * 2017-03-24 2018-11-30 华为技术有限公司 Data transmission method, access network equipment, terminal and communication system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Huawei.Lossless HO of QoS Flow.《3GPP TSG-RAN WG2 Meeting #100》.2017,1-4页. *
Lossless HO of QoS Flow;Huawei;《3GPP TSG-RAN WG2 Meeting #100》;20171231;1-4页 *
SDAP specification;3GPP;《3GPP TS 37.324 V15.1.0》;20180930;章节5.3、5.4.2.2 *

Also Published As

Publication number Publication date
CN111447650A (en) 2020-07-24
WO2020147617A1 (en) 2020-07-23

Similar Documents

Publication Publication Date Title
US20230083441A1 (en) Managing subpacket transmission and reception for advanced interactive services
CN110708393A (en) Method, device and system for transmitting data
US9356844B2 (en) Efficient application recognition in network traffic
US8078668B2 (en) Method and device for processing a message in a communication network
CN107257329B (en) A kind of data sectional unloading sending method
CN112787945B (en) Data transmission method, data transmission device, computer readable medium and electronic equipment
US20230118176A1 (en) Data transmission method and apparatus, computer-readable storage medium, electronic device, and computer program product
EP1124362A2 (en) Apparatus for processing TCP/IP by hardware, and operating method therefor
US9509450B2 (en) Snoop virtual receiver time
CN114817121A (en) Method, electronic device and computer program product for processing data
CN113285931B (en) Streaming media transmission method, streaming media server and streaming media system
CN111447650B (en) Data forwarding method, equipment and storage medium
JP2007235674A (en) Communication device and communication method
CN111225423B (en) Method and device for forwarding data
WO2022268137A1 (en) Tcp connection method, system, network device, and storage medium
US9906331B2 (en) Communication method, information processing apparatus and recording medium
CN110768984A (en) Data transmission method and device and electronic equipment
JP2007324958A (en) Transmitting node device, receiving node device, transmitting method, receiving method, and program
CN109688085B (en) Transmission control protocol proxy method, storage medium and server
JP2009044695A (en) Communication control method, transmitter, and computer program
JP2011249922A (en) Network device, tcp packet receiver and method
CN110958086A (en) Data transmission method, device, electronic equipment and medium
CN116566914B (en) Bypass TCP acceleration method, device, equipment and medium
CN116303173B (en) Method, device and system for reducing RDMA engine on-chip cache and chip
JP4894012B2 (en) DATA COMMUNICATION SYSTEM, COMMUNICATION DEVICE, DATA COMMUNICATION METHOD, AND COMMUNICATION CONTROL PROGRAM

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