CN113726477A - Data transmission method and device, receiving end equipment and sending end equipment - Google Patents

Data transmission method and device, receiving end equipment and sending end equipment Download PDF

Info

Publication number
CN113726477A
CN113726477A CN202110891274.4A CN202110891274A CN113726477A CN 113726477 A CN113726477 A CN 113726477A CN 202110891274 A CN202110891274 A CN 202110891274A CN 113726477 A CN113726477 A CN 113726477A
Authority
CN
China
Prior art keywords
data packet
reordering
received
data
service quality
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110891274.4A
Other languages
Chinese (zh)
Inventor
江小威
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202110891274.4A priority Critical patent/CN113726477A/en
Publication of CN113726477A publication Critical patent/CN113726477A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0006Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format

Landscapes

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

Abstract

The disclosure relates to a data transmission method and apparatus, a receiving end device, a sending end device, and a computer readable storage medium. The data transmission method comprises the following steps: receiving at least one data packet sent by a sending end in a reordering window, wherein each data packet in the at least one data packet carries a Sequence Number (SN); if at least one data packet arriving according to the SN sequence is received in the reordering window, analyzing the received data packet and submitting the analyzed data part to an upper layer; if a data packet which does not arrive according to the SN sequence is received in the reordering window and the reordering timer is not started currently, the reordering timer is started, the SN corresponding to the data packet which triggers the starting of the reordering timer is set as the SN of the currently received data packet which does not arrive according to the SN sequence, and if all out-of-order data packets before the SN which triggers the starting of the reordering timer are successfully received, the reordering timer is stopped and reset.

Description

Data transmission method and device, receiving end equipment and sending end equipment
Divisional application statement
The application is a divisional application of a Chinese invention patent application named as 'data transmission method and device, receiving end equipment and sending end equipment' based on the application number of 201780000719.7 and the application date of 2017, 07 and 10.
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a data transmission method and apparatus, a receiving end device, a sending end device, and a computer-readable storage medium.
Background
With the development of communication technology, a fifth Generation mobile communication technology (5th Generation, abbreviated as 5G) has emerged. A new protocol layer is introduced on a Packet Data Convergence Protocol (PDCP) layer of a 5G New Radio (NR) user plane. The new protocol layer may perform mapping between quality of service flow (QoS flow) and data bearer (DRB), or add QoS flow Identification (ID) to the uplink packet and the downlink packet.
One QoS flow may be remapped from the current DRB to another DRB. When QoS flow remapping occurs, data that has been previously delivered to a DRB continues to be transmitted through the DRB, and subsequent data is transmitted through the newly mapped DRB. Because the time for sending data by the two DRBs is different, it is difficult to ensure that the data submitted to the DRBs before remapping is received first and the data submitted to the DRBs after remapping is received later, i.e. the SDAP receiving end may receive out-of-order data.
In order to solve the above technical problem, in the related art, after the DRB before the remapping successfully sends all the data submitted by the QoS flow, the SDAP layer submits the subsequent data to the DRB after the remapping for transmission. However, this approach causes additional delay.
Disclosure of Invention
In view of this, the present application discloses a data transmission method and apparatus, a receiving end device, a sending end device, and a computer readable storage medium, so as to solve the problem of data disorder when QoS flow is remapped in a DRB, and avoid additional delay.
According to a first aspect of the embodiments of the present disclosure, a data transmission method is provided, which is applied to a receiving end, and the method includes:
receiving at least one data packet sent by a sending end in a reordering window, wherein each data packet in the at least one data packet carries a Serial Number (SN);
if at least one data packet arriving according to the SN sequence is received in the reordering window, analyzing the received data packet and submitting the analyzed data part to an upper layer;
if a data packet which does not arrive according to the SN sequence is received in the reordering window and the reordering timer is not started currently, the reordering timer is started, the SN corresponding to the data packet which triggers to start the reordering timer is set as the SN of the currently received data packet which does not arrive according to the SN sequence, and if all out-of-order data packets before the SN which triggers to start the reordering timer are successfully received, the reordering timer is stopped and reset.
In an embodiment, the method further comprises:
after stopping and resetting the reordering timer, if the reordering window still has the data packets waiting for reception and coming out of the SN sequence, the reordering timer is restarted, and the SN corresponding to the data packet triggering the starting of the reordering timer is set as the maximum SN of the data packet waiting for reception at present.
In an embodiment, the method further comprises:
and if the SN of the received data packet corresponds to the lower boundary of the reordering window, moving the lower boundary of the reordering window to the SN corresponding to the next data packet waiting to be received, and updating the upper boundary of the reordering window.
In an embodiment, the method further comprises:
and when the SN of a received data packet is greater than the maximum SN, if the SN of the currently received data packet is not in the reordering window, discarding the currently received data packet, and if the SN of the currently received data packet is in the reordering window, updating the maximum SN to the SN of the currently received data packet.
In an embodiment, the method further comprises:
before analyzing the received data packet, determining to apply a reordering function to the service quality flow corresponding to the data in the received data packet, and maintaining the reordering window.
In an embodiment, the method further comprises:
and before determining that a reordering function is applied to the service quality flow corresponding to the data in the received data packet, starting the reordering function to the service quality flow.
In an embodiment, if the receiving end is a UE, the starting the reordering function for the qos flow includes:
receiving configuration information sent by a base station, and starting the reordering function for the service quality flow according to the configuration information, starting the reordering function for a data bearer DRB mapped by the service quality flow and in an acknowledged AM mode, or starting the reordering function for a data bearer DRB mapped by the service quality flow and in an AM mode or a non-acknowledged UM mode; or
And the reordering function is always started for the service quality flow.
In an embodiment, the method further comprises:
before the reordering function is always started for the service quality flow, determining that DRB remapping occurs to the service quality flow according to the received downlink data of the service quality flow and the reflection service quality attribute started for the service quality flow; or
And determining DRB remapping of the service quality flow according to the service quality flow identification carried in the received downlink data of the service quality flow.
In an embodiment, if the receiving end is a base station, the starting the reordering function for the qos flow includes:
and after the configuration UE carries out DRB remapping on the uplink data of the service quality flow, starting the reordering function on the service quality flow.
According to a second aspect of the embodiments of the present disclosure, a data transmission method is provided, which is applied to a sending end, and the method includes:
determining that data bearing DRB remapping occurs to a service quality flow corresponding to data in a data packet;
and adding a serial number SN to the header of the data packet, and sending the data packet carrying the SN to a receiving end.
In an embodiment, if the sending end is a UE, the determining that a DRB remapping occurs to a qos flow corresponding to data in a data packet includes:
receiving configuration information sent by a base station, wherein the configuration information is used for indicating UE to carry out DRB remapping on the uplink data of the service quality flow;
and determining that DRB remapping occurs to the service quality flow corresponding to the data in the data packet according to the configuration information.
In an embodiment, if the sending end is a UE, the determining that a DRB remapping occurs to a qos flow corresponding to data in a data packet includes:
and if the service quality flow starts to reflect the service quality attribute, determining that DRB remapping occurs to the service quality flow corresponding to the data in the data packet if the downlink data of the service quality flow is received on a DRB different from the previous downlink data of the service quality flow.
According to a third aspect of the embodiments of the present disclosure, there is provided a data transmission apparatus, which is applied to a receiving end, the apparatus including:
the receiving module is configured to receive at least one data packet sent by a sending end in a reordering window, wherein each data packet in the at least one data packet carries a Sequence Number (SN);
the analysis submitting module is configured to analyze the received data packet and submit the analyzed data part to an upper layer if the receiving module receives at least one data packet arriving according to the SN sequence in the reordering window;
and the processing module is configured to start the reordering timer if the receiving module receives a data packet which arrives in a non-SN sequence in the reordering window and the reordering timer is not started currently, set the SN corresponding to the data packet which triggers to start the reordering timer as the SN of the currently received data packet which arrives in the non-SN sequence, and stop and reset the reordering timer if all out-of-order data packets before the SN which triggers to start the reordering timer are received successfully.
In one embodiment, the apparatus further comprises:
and the starting setting module is configured to restart the reordering timer and set the SN corresponding to the data packet triggering the starting of the reordering timer as the maximum SN of the data packet currently waiting to be received if the data packet waiting to be received and coming out of the SN sequence still remains in the reordering window after the processing module stops and resets the reordering timer.
In one embodiment, the apparatus further comprises:
and the moving updating module is configured to move the lower boundary of the reordering window to the SN corresponding to the next data packet waiting to be received and update the upper boundary of the reordering window if the SN of the data packet received by the receiving module corresponds to the lower boundary of the reordering window.
In one embodiment, the apparatus further comprises:
a discard updating module configured to discard the currently received data packet if the SN of the currently received data packet is not within the reordering window whenever the SN of one data packet received by the receiving module is greater than the maximum SN, and update the maximum SN to the SN of the currently received data packet if the SN of the currently received data packet is within the reordering window.
In one embodiment, the apparatus further comprises:
and the determining and maintaining module is configured to determine to apply a reordering function to the service quality flow corresponding to the data in the received data packet and maintain the reordering window before the analyzing and submitting module analyzes the received data packet.
In one embodiment, the apparatus further comprises:
the starting module is configured to start a reordering function on a service quality flow before the determining and maintaining module determines to apply the reordering function on the service quality flow corresponding to the data in the received data packet.
In an embodiment, if the receiving end is a UE, the starting module includes:
a first opening unit, configured to receive configuration information sent by a base station, and open the reordering function for the qos flow according to the configuration information, and open the reordering function for a data bearer DRB mapped by the qos flow and in an AM acknowledged mode, or open the reordering function for a data bearer DRB mapped by the qos flow and in an AM mode or an unacknowledged UM mode; or
A second enabling unit configured to always enable the reordering function for the quality of service flow.
In one embodiment, the opening module further comprises:
a first determining unit, configured to determine that DRB remapping occurs on the qos flow according to the received downlink data of the qos flow and a reflected qos attribute turned on for the qos flow before the second turning-on unit always turns on the reordering function for the qos flow; or
A second determining unit, configured to determine, before the second starting unit starts the reordering function on the qos flow all the time, that DRB remapping occurs on the qos flow according to a qos flow identifier carried in downlink data of the received qos flow.
In an embodiment, if the receiving end is a base station, the starting module is configured to:
and after the configuration UE carries out DRB remapping on the uplink data of the service quality flow, starting the reordering function on the service quality flow.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a data transmission apparatus, applied to a transmitting end, the apparatus including:
a determining module configured to determine that data bearer DRB remapping occurs for a quality of service flow corresponding to data in a data packet;
and the adding and sending module is configured to add a sequence number SN to the header of the data packet after the determining module determines that the DRB remapping occurs to the service quality flow corresponding to the data in the data packet, and send the data packet carrying the SN to a receiving end.
In an embodiment, if the sending end is a UE, the determining module includes:
a receiving unit, configured to receive configuration information sent by a base station, where the configuration information is used to instruct a UE to perform DRB remapping on uplink data of the qos flow;
a first determining unit, configured to determine, according to the configuration information received by the receiving unit, that DRB remapping occurs on a quality of service flow corresponding to data in the data packet.
In an embodiment, if the sending end is a UE, the determining module includes:
a second determining unit, configured to determine that DRB remapping occurs for a qos flow corresponding to data in the data packet if the downlink data of the qos flow is received on a DRB different from the DRB on which the downlink data of the qos flow was received before, if the qos flow starts reflecting the qos attribute.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a receiving end device, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
receiving at least one data packet sent by a sending end in a reordering window, wherein each data packet in the at least one data packet carries a Serial Number (SN);
if at least one data packet arriving according to the SN sequence is received in the reordering window, analyzing the received data packet and submitting the analyzed data part to an upper layer;
if a data packet which does not arrive according to the SN sequence is received in the reordering window and the reordering timer is not started currently, the reordering timer is started, the SN corresponding to the data packet which triggers to start the reordering timer is set as the SN of the currently received data packet which does not arrive according to the SN sequence, and if all out-of-order data packets before the SN which triggers to start the reordering timer are successfully received, the reordering timer is stopped and reset.
According to a sixth aspect of the embodiments of the present disclosure, there is provided a transmitting end device, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
determining that data bearing DRB remapping occurs to a service quality flow corresponding to data in a data packet;
and adding a serial number SN to the header of the data packet, and sending the data packet carrying the SN to a receiving end.
According to a seventh aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the above-described data transmission method.
According to an eighth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium, on which a computer program is stored, which when executed by a processor, implements the steps of the above-described data transmission method.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
the reordering timer is started when a data packet which does not arrive according to the SN sequence is received in the reordering window and the reordering timer is not started currently, so that the data packet which arrives according to the SN sequence is waited to arrive, at least one data packet which arrives according to the SN sequence and is received in the reordering window is analyzed, and then the analyzed data part is submitted to an upper layer, so that the data is transmitted in sequence, the problem of data disorder of QoS flow during DRB remapping is solved, and extra time delay can be avoided.
When still waiting for receiving data packets which arrive according to the SN sequence in the reordering window, the reordering timer is started again, and the SN corresponding to the data packet triggering the start of the reordering timer is set to be the maximum SN of the current data packet waiting for receiving, so as to avoid frequently starting and closing the reordering timer, and reduce the waste of resources of a receiving end.
When the SN of the received data packet corresponds to the lower boundary of the reordering window, the lower boundary of the reordering window is moved to the SN corresponding to the next data packet waiting to be received, and the upper boundary of the reordering window is updated, so that the data packets with different SNs are received in the reordering window by moving the upper boundary and the lower boundary of the reordering window.
When a data packet with a larger SN is received, if the SN of the currently received data packet is not in the reordering window, the currently received data packet is discarded, and if the SN of the currently received data packet is in the reordering window, the maximum SN is updated to the SN of the currently received data packet, so that the purpose of maintaining the maximum SN is achieved.
The reordering function is applied to the service quality flow corresponding to the data in the received data packet, and the reordering window is maintained, so that conditions are provided for subsequently receiving the data packet in the reordering window.
By starting the reordering function for the service quality flow, conditions are provided for applying the reordering function to the service quality flow subsequently.
The reordering function can be started for the service quality flow in various modes, and the realization modes are flexible and various.
The DRB remapping of the service quality flow can be determined in various modes, and the realization modes are flexible and various.
By determining DRB remapping of service quality flow corresponding to data in a data packet, then adding SN in the packet head of the data packet and sending the data packet carrying the SN to a receiving end, the receiving end can determine the transmission sequence of the data packet according to the SN, thereby providing conditions for transmitting the data in sequence and further providing conditions for solving the problem of data disorder of QoS flow during DRB remapping with low time delay.
The DRB remapping of the service quality flow corresponding to the data in the data packet can be determined according to the configuration information sent by the base station, and the implementation mode is simple.
After the service quality stream starts to reflect the service quality attribute, if the downlink data of the service quality stream is received on a DRB different from the previous downlink data receiving the service quality stream, determining that DRB remapping occurs to the service quality stream corresponding to the data in the data packet, and the implementation mode is simple.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a schematic diagram illustrating a protocol stack architecture after adding an SDAP layer according to an exemplary embodiment of the present application;
FIG. 2 is a flow chart illustrating a method of data transmission according to an exemplary embodiment of the present application;
FIG. 3 is a flow chart illustrating another method of data transmission according to an exemplary embodiment of the present application;
FIG. 4A is a flow chart illustrating another method of data transmission according to an exemplary embodiment of the present application;
FIG. 4B is a flow chart illustrating another method of data transmission according to an exemplary embodiment of the present application;
FIG. 4C is a flow chart illustrating another method of data transmission according to an exemplary embodiment of the present application;
FIG. 5 is a flow chart illustrating yet another method of data transmission according to an exemplary embodiment of the present application;
FIG. 6 is a block diagram illustrating a data transmission apparatus in accordance with an exemplary embodiment;
FIG. 7A is a block diagram illustrating another data transmission arrangement in accordance with an exemplary embodiment;
FIG. 7B is a block diagram illustrating another data transmission arrangement in accordance with an exemplary embodiment;
FIG. 7C is a block diagram illustrating another data transmission arrangement in accordance with an exemplary embodiment;
FIG. 8A is a block diagram illustrating another data transmission arrangement in accordance with an exemplary embodiment;
FIG. 8B is a block diagram illustrating another data transmission arrangement in accordance with an exemplary embodiment;
FIG. 9A is a block diagram illustrating another data transmission arrangement in accordance with an exemplary embodiment;
FIG. 9B is a block diagram illustrating another data transmission arrangement in accordance with an exemplary embodiment;
FIG. 10 is a block diagram illustrating yet another data transmission arrangement in accordance with an exemplary embodiment;
FIG. 11A is a block diagram illustrating yet another data transmission apparatus in accordance with an exemplary embodiment;
FIG. 11B is a block diagram illustrating yet another data transmission apparatus in accordance with an exemplary embodiment;
FIG. 12 is a block diagram illustrating a suitable data transmission arrangement according to an exemplary embodiment;
fig. 13 is a block diagram illustrating another suitable data transmission arrangement according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
In the embodiment of the present application, for convenience of description, a newly introduced protocol layer is referred to as a Service Data Adaptation Protocol (SDAP) layer, where the SDAP layer is located on a layer above the PDCP layer and is responsible for mapping a quality of Service flow (QoS flow) of the layer above to a data bearer (DRB), a Packet Data Unit (PDU) of the SDAP layer is a Service Data Unit (SDU) of the PDCP layer, and a protocol stack architecture after the SDAP layer is added is shown in fig. 1.
The SDAP layer may include a plurality of PDU sessions (sessions), each PDU session corresponding to one SDAP entity, the SDAP entity being a logical subject for processing a PDU session service, one PDU session including a plurality of QoS flows, each QoS flow being mapped to a different DRB. The QoS flows of different PDU sessions cannot be mapped to the same DRB. The uplink SDAP needs to add a QoS flow ID to an uplink packet, so that a Radio Access Network (RAN) can send the uplink packet to a corresponding Core Network (CN) QoS transmission channel. The downlink SDAP needs to add a QoS flow ID to the packet so that for reflected (reflected) QoS, the UE determines the DRB to which the uplink packet is mapped.
Fig. 2 is a flowchart illustrating a data transmission method according to an exemplary embodiment of the present application, where the data transmission method is described from a receiving end, and as shown in fig. 2, the data transmission method includes:
in step S201, at least one data packet sent by the sending end is received within the reordering window, and each data packet in the at least one data packet carries a Sequence Number (SN).
In this embodiment, a sending end sends at least one data packet to a receiving end, where the data packet may be an SDAP packet, and each data packet carries an SN. The receiving end may receive at least one data packet transmitted by the transmitting end within a pre-maintained reordering window.
For uplink data, the sending end is a UE, and the receiving end is a base station, and for downlink data, the sending end is a base station, and the receiving end is a UE.
In step S202, if at least one data packet arriving in the SN order is received in the reordering window, the received data packet is parsed and the parsed data portion is delivered to the upper layer.
If the receiving end receives at least one data packet coming according to the SN sequence in the reordering window, the received data packet is analyzed, and the analyzed data part is submitted to the upper layer.
For example, if the receiving end receives the data packet 0 and the data packet 1 arriving in the SN order in the reordering window, the receiving end may parse the received data packet 0 and the data packet 1, and submit the parsed data portion to the upper layer.
In step S203, if a data packet arriving in a non-SN order is received in the reordering window and the reordering timer is not started currently, the reordering timer is started, and the SN corresponding to the data packet triggering the start of the reordering timer is set as the SN of the currently received data packet arriving in a non-SN order, and if all out-of-order data packets before the SN triggering the start of the reordering timer are successfully received, the reordering timer is stopped and reset.
If the receiving end receives a data packet which does not arrive according to the SN sequence in the reordering window and the reordering timer is not started currently, the reordering timer can be started to wait for the data packet which arrives according to the SN sequence, and if all out-of-order data packets before the SN corresponding to the data packet which triggers the starting of the reordering timer are successfully received, the reordering timer is stopped and reset.
Continuing with the above description, for example, if the receiving end receives the data packet 3 that does not arrive in the SN order in the reordering window and the reordering timer is not started currently, the reordering timer may be started to wait for the data packet 2 to arrive, and if all out-of-order data packets before the data packet 3 are received in the reordering window, that is, the data packet 2, the reordering timer may be stopped and reset, and the data packet 2 and the data packet 3 are sequentially analyzed, and then the analyzed data portion is submitted to the upper layer.
In the embodiment, when a data packet which does not arrive according to the SN sequence is received in the reordering window and the reordering timer is not started currently, the reordering timer is started to wait for the data packet which arrives according to the SN sequence, at least one data packet which arrives according to the SN sequence and is received in the reordering window is analyzed, and then the analyzed data part is submitted to the upper layer, so that the data is transmitted in sequence, the problem of data disorder of QoS flow during DRB remapping is solved, and extra time delay can be avoided.
Fig. 3 is a flowchart of another data transmission method according to an exemplary embodiment of the present application, and as shown in fig. 3, after step S203, the method may further include:
in step S204, if there are still data packets waiting to be received in the reordering window that arrive in the SN order, the reordering timer is started again, and the SN corresponding to the data packet triggering the start of the reordering timer is set as the maximum SN of the data packet waiting to be received currently.
In this embodiment, if there are still data packets waiting to be received in the reordering window and arriving in the SN order, the reordering timer may be started again to wait for the data packets arriving in the SN order, and the SN corresponding to the data packet triggering the start of the reordering timer is set as the maximum SN of the data packet currently waiting to be received.
Assuming that the receiving end has data packets 5 and 7 in the reordering window after the data portion from the data packet 0 to the data packet 3 is delivered to the upper layer, the data packets which are not coming according to the SN order and are waiting to be received still exist in the reordering window, i.e. the data packets 4, the data packets 6 and the data packets 8, at this time, the reordering timer can be started again, and the SN corresponding to the data packet triggering the start of the reordering timer is set as the maximum SN of the data packet waiting to be received currently, i.e. the SN corresponding to the data packet triggering the start of the reordering timer is set as 8. This is done to avoid frequent starting and closing of the reordering timer, reduce the waste of resources on the receiving end, and after starting the reordering timer, all the packets waiting for reception and coming out of the SN order can be received in the reordering window.
In the embodiment, when the data packets which are not received in the SN order and wait for reception still exist in the reordering window, the reordering timer is started again, and the SN corresponding to the data packet which triggers the start of the reordering timer is set to be the maximum SN of the data packet which is currently waiting for reception, so that frequent start and close of the reordering timer is avoided, and waste of resources of the receiving end is reduced.
Fig. 4A is a flowchart of another data transmission method according to an exemplary embodiment of the present application, where the data transmission method is described from a receiving end, and as shown in fig. 4A, the data transmission method may include:
in step S401, it is determined to apply a reordering function to the qos flow corresponding to the data in the received data packet, and maintain a reordering window.
Optionally, in this embodiment, after the receiving end determines that the reordering function needs to be applied to the received data of a certain QoS flow, a reordering window is maintained.
When the receiving end is a UE, the reordering window size on the receiving end side may be configured to the UE by the base station through an infinite resource control (RRC) message.
In step S402, at least one data packet sent by the sending end is received in the reordering window, and each data packet in the at least one data packet carries an SN.
In step S403, if at least one data packet arriving in the SN order is received in the reordering window, the received data packet is analyzed, and the analyzed data portion is delivered to the upper layer.
In step S404, if the SN of the received data packet corresponds to the lower boundary of the reordering window, the lower boundary of the reordering window is moved to the SN corresponding to the next data packet waiting to be received, and the upper boundary of the reordering window is updated.
Optionally, in this embodiment, the lower and upper boundaries of the reordering window may be updated according to the SN of the received data packet.
For example, when the lower boundary of the reordering window is 1, if a data packet 1 is received, since the SN of the received data packet corresponds to the lower boundary of the reordering window, the lower boundary of the reordering window may be moved to the SN corresponding to the next data packet waiting to be received, that is, the lower boundary of the reordering window is moved to 2, and the upper boundary of the reordering window is updated to: the lower boundary SN + reordering window size of the reordering window is reduced by 1.
In step S405, if a data packet arriving in a non-SN order is received in the reordering window and the reordering timer is not started currently, the reordering timer is started, and the SN corresponding to the data packet triggering the start of the reordering timer is set as the SN of the currently received data packet arriving in a non-SN order, and if all out-of-order data packets before the SN triggering the start of the reordering timer are successfully received, the reordering timer is stopped and reset.
In step S406, if there are still data packets waiting to be received in the reordering window that arrive in the SN order, the reordering timer is started again, and the SN corresponding to the data packet triggering the start of the reordering timer is set as the maximum SN of the data packet currently waiting to be received.
In the embodiment, the reordering function is determined to be applied to the service quality flow corresponding to the data in the received data packet, and the reordering window is maintained, so as to provide conditions for subsequently receiving the data packet in the reordering window; meanwhile, when the SN of the received data packet corresponds to the lower boundary of the reordering window, the lower boundary of the reordering window is moved to the SN corresponding to the next data packet waiting to be received, and the upper boundary of the reordering window is updated, so that the data packets with different SNs are received in the reordering window by moving the upper boundary and the lower boundary of the reordering window.
Fig. 4B is a flowchart of another data transmission method according to an exemplary embodiment of the present application, and as shown in fig. 4B, after step S406, the method may further include:
in step S407, each time the SN of a received data packet is greater than the maximum SN, if the SN of the currently received data packet is not within the reordering window, the currently received data packet is discarded, and if the SN of the currently received data packet is within the reordering window, the maximum SN is updated to the SN of the currently received data packet.
In this embodiment, the receiving end may maintain the maximum SN by: whenever a packet with a larger SN is received, it is discarded if the SN is not within the reordering window. If the SN is within the reordering window, the maximum SN may be updated to the SN of the currently received packet.
For example, if the lower boundary of the reordering window is 3, the upper boundary is 8, and the current maximum SN is 3, if the data packet 8 is received, i.e., a data packet with a larger SN is received, then the maximum SN may be updated to 8 since 8 is within the reordering window. If packet 10 is received, i.e., a packet with a greater SN is received, but since 10 is not within the reordering window, the packet is discarded.
In the above embodiment, each time a data packet with a larger SN is received, if the SN of the currently received data packet is not within the reordering window, the currently received data packet is discarded, and if the SN of the currently received data packet is within the reordering window, the maximum SN is updated to the SN of the currently received data packet, thereby achieving the purpose of maintaining the maximum SN.
Fig. 4C is a flowchart of another data transmission method according to an exemplary embodiment of the present application, and as shown in fig. 4C, before step S401, the method may further include:
in step S400, before determining to apply a reordering function to the qos flow corresponding to the data in the received data packet, the reordering function is turned on for the qos flow.
In this embodiment, when the receiving end is a UE, the reordering function may be turned on for the qos flow by, but not limited to, the following ways:
mode 1) receives configuration information sent by a base station, and starts a reordering function for a service quality flow according to the configuration information.
Mode 2) receives configuration information sent by the base station, and starts a reordering function for data bearers (DRBs) in an Acknowledged (AM) mode mapped to the qos stream according to the configuration information.
Mode 3) receives the configuration information sent by the base station, and starts a reordering function for the DRB in the AM mode or the non-acknowledged (UM) mode mapped by the service quality flow according to the configuration information.
Mode 4) always starts the reordering function for the quality of service flow.
In addition, before the UE starts the reordering function to the service quality flow all the time, the DRB remapping of the service quality flow can be determined according to the received downlink data of the service quality flow and the reflection service quality attribute started for the service quality flow; or determining that the quality of service flow is subjected to DRB remapping according to the quality of service flow identification carried in the downlink data of the received quality of service flow.
In this embodiment, when the receiving end is a base station, the reordering function may be started for the qos flow by, but not limited to, the following manners: and after the configuration UE carries out DRB remapping on the uplink data of the service quality flow, starting a reordering function on the service quality flow.
In the above embodiment, the reordering function is started for the qos stream, so as to provide conditions for applying the reordering function to the qos stream subsequently.
Fig. 5 is a flowchart illustrating a further data transmission method according to an exemplary embodiment of the present application, where the embodiment is described from a sending end, and as shown in fig. 5, the data transmission method includes:
in step S501, it is determined that DRB remapping occurs for the qos flow corresponding to the data in the data packet.
In this embodiment, if the sending end is a UE, it may be determined that a DRB remapping occurs to a quality of service flow corresponding to data in a data packet by, but not limited to, the following manners:
mode 1) receives configuration information sent by a base station, and determines that DRB remapping occurs on a service quality flow corresponding to data in a data packet according to the configuration information. Wherein, the configuration information is used to instruct the UE to perform DRB remapping on the uplink data of the qos flow.
Wherein the configuration information may be carried in RRC signaling.
Mode 2) if the qos stream starts reflecting the qos attribute, if the UE receives the downlink data of the qos stream on a DRB different from the one previously receiving the downlink data of the qos stream, it may be determined that the DRB remapping occurs on the qos stream corresponding to the data in the data packet.
In step S502, an SN is added to the header of the data packet, and the data packet carrying the SN is sent to the receiving end.
In the embodiment, by adding the SN to the header of the data packet and sending the data packet carrying the SN to the receiving end, the receiving end can analyze at least one data packet arriving according to the SN sequence and submit the analyzed data part to the upper layer, so that the receiving end can realize data transmission in sequence, and conditions are provided for the receiving end to solve the problem of data disorder of QoS flow during DRB remapping and avoid extra delay.
In this embodiment, after determining that the DRB remapping occurs to the qos flow corresponding to the data in the data packet, an SN may be added to the header of the data packet, and the data packet carrying the SN may be sent to the receiving end.
In the embodiment, by determining that the service quality flow corresponding to the data in the data packet is subjected to DRB remapping, then adding the SN to the header of the data packet, and sending the data packet carrying the SN to the receiving end, the receiving end can determine the transmission sequence of the data packet according to the SN, thereby providing conditions for transmitting the data in sequence, and further providing conditions for solving the problem of data disorder of QoS flow during DRB remapping with low delay.
Fig. 6 is a block diagram illustrating a data transmission apparatus according to an exemplary embodiment, as shown in fig. 6, the data transmission apparatus including: a receiving module 61, a parsing submission module 62 and a processing module 63.
The receiving module 61 is configured to receive at least one data packet sent by the sending end within the reordering window, where each data packet of the at least one data packet carries a sequence number SN.
In this embodiment, a sending end sends at least one data packet to a receiving end, where the data packet may be an SDAP packet, and each data packet carries an SN. The receiving end may receive at least one data packet transmitted by the transmitting end within a pre-maintained reordering window.
For uplink data, the sending end is a UE, and the receiving end is a base station, and for downlink data, the sending end is a base station, and the receiving end is a UE.
The parsing submitting module 62 is configured to parse the received data packet and submit the parsed data portion to the upper layer if the receiving module 61 receives at least one data packet arriving in the SN order within the reordering window.
If the receiving end receives at least one data packet coming according to the SN sequence in the reordering window, the received data packet is analyzed, and the analyzed data part is submitted to the upper layer.
For example, if the receiving end receives the data packet 0 and the data packet 1 arriving in the SN order in the reordering window, the receiving end may parse the received data packet 0 and the data packet 1, and submit the parsed data portion to the upper layer.
The processing module 63 is configured to start the reordering timer if the receiving module 61 receives a data packet arriving in a non-SN order in the reordering window and the reordering timer is not started currently, set the SN corresponding to the data packet triggering the start of the reordering timer to the SN of the currently received data packet arriving in a non-SN order, and stop and reset the reordering timer if all out-of-order data packets before the SN triggering the start of the reordering timer are successfully received.
If the receiving end receives a data packet which does not arrive according to the SN sequence in the reordering window and the reordering timer is not started currently, the reordering timer can be started to wait for the data packet which arrives according to the SN sequence, and if all out-of-order data packets before the SN corresponding to the data packet which triggers the starting of the reordering timer are successfully received, the reordering timer is stopped and reset.
For example, if the receiving end receives the data packet 3 that does not arrive in the SN order in the reordering window and the reordering timer is not started currently, the receiving end may start the reordering timer to wait for the data packet 2 to arrive, and if the receiving end receives the data packet 2 in the reordering window, the receiving end may stop and reset the reordering timer, and sequentially parse the data packet 2 and the data packet 3, and then submit the parsed data portion to the upper layer.
In the embodiment, when a data packet which does not arrive according to the SN sequence is received in the reordering window and the reordering timer is not started currently, the reordering timer is started to wait for the data packet which arrives according to the SN sequence, at least one data packet which arrives according to the SN sequence and is received in the reordering window is analyzed, and then the analyzed data part is submitted to the upper layer, so that the data is transmitted in sequence, the problem of data disorder of QoS flow during DRB remapping is solved, and extra time delay can be avoided.
Fig. 7A is a block diagram of another data transmission apparatus according to an exemplary embodiment, and as shown in fig. 7A, on the basis of the embodiment shown in fig. 6, the apparatus may further include: the setup module 64 is initiated.
The start setting module 64 is configured to, after the processing module 63 stops and resets the reordering timer, start the reordering timer again if there are still data packets waiting to be received and coming out of the SN order in the reordering window, and set the SN corresponding to the data packet triggering the start of the reordering timer to the maximum SN of the data packet currently waiting to be received.
In this embodiment, if there are still data packets waiting to be received in the reordering window and arriving in the SN order, the reordering timer may be started again to wait for the data packets arriving in the SN order, and the SN corresponding to the data packet triggering the start of the reordering timer is set as the maximum SN of the data packet currently waiting to be received.
Assuming that the receiving end has data packets 5 and 7 in the reordering window after the data portion from the data packet 0 to the data packet 3 is delivered to the upper layer, the data packets which are not coming according to the SN order and are waiting to be received still exist in the reordering window, i.e. the data packets 4, the data packets 6 and the data packets 8, at this time, the reordering timer can be started again, and the SN corresponding to the data packet triggering the start of the reordering timer is set as the maximum SN of the data packet waiting to be received currently, i.e. the SN corresponding to the data packet triggering the start of the reordering timer is set as 8. This is done to avoid frequent starting and closing of the reordering timer, reduce the waste of resources on the receiving end, and after starting the reordering timer, all the packets waiting for reception and coming out of the SN order can be received in the reordering window.
In the embodiment, when the data packets which are not received in the SN order and wait for reception still exist in the reordering window, the reordering timer is started again, and the SN corresponding to the data packet which triggers the start of the reordering timer is set to be the maximum SN of the data packet which is currently waiting for reception, so that frequent start and close of the reordering timer is avoided, and waste of resources of the receiving end is reduced.
Fig. 7B is a block diagram of another data transmission apparatus according to an exemplary embodiment, and as shown in fig. 7B, on the basis of the embodiment shown in fig. 7A, the apparatus may further include: a mobile update module 65.
The moving update module 65 is configured to move the lower boundary of the reordering window to the SN corresponding to the next data packet waiting to be received and update the upper boundary of the reordering window if the SN of the data packet received by the receiving module 61 corresponds to the lower boundary of the reordering window.
Optionally, in this embodiment, the lower and upper boundaries of the reordering window may be updated according to the SN of the received data packet.
For example, when the lower boundary of the reordering window is 1, if a data packet 1 is received, since the SN of the received data packet corresponds to the lower boundary of the reordering window, the lower boundary of the reordering window may be moved to the SN corresponding to the next data packet waiting to be received, that is, the lower boundary of the reordering window is moved to 2, and the upper boundary of the reordering window is updated to: the lower boundary SN + reordering window size of the reordering window is reduced by 1.
In the above embodiment, when the SN of the received data packet corresponds to the lower boundary of the reordering window, the lower boundary of the reordering window is moved to the SN corresponding to the next data packet to be received, and the upper boundary of the reordering window is updated, so that the data packets with different SNs are received in the reordering window by moving the upper and lower boundaries of the reordering window.
Fig. 7C is a block diagram of another data transmission apparatus according to an exemplary embodiment, and as shown in fig. 7C, on the basis of the embodiment shown in fig. 7B, the apparatus may further include: the update module 66 is discarded.
The discard update module 66 is configured to discard the currently received data packet if the SN of the currently received data packet is not within the reordering window and update the maximum SN to the SN of the currently received data packet if the SN of the currently received data packet is within the reordering window whenever the SN of one data packet received by the receiving module 61 is greater than the maximum SN.
In this embodiment, the receiving end may maintain the maximum SN by: whenever a packet with a larger SN is received, it is discarded if the SN is not within the reordering window. If the SN is within the reordering window, the maximum SN may be updated to the SN of the currently received packet.
For example, if the lower boundary of the reordering window is 3, the upper boundary is 8, and the current maximum SN is 3, if the data packet 8 is received, i.e., a data packet with a larger SN is received, then the maximum SN may be updated to 8 since 8 is within the reordering window. If packet 10 is received, i.e., a packet with a greater SN is received, but since 10 is not within the reordering window, the packet is discarded.
In the above embodiment, each time a data packet with a larger SN is received, if the SN of the currently received data packet is not within the reordering window, the currently received data packet is discarded, and if the SN of the currently received data packet is within the reordering window, the maximum SN is updated to the SN of the currently received data packet, thereby achieving the purpose of maintaining the maximum SN.
Fig. 8A is a block diagram of another data transmission apparatus according to an exemplary embodiment, and as shown in fig. 8A, on the basis of the embodiment shown in fig. 7C, the apparatus may further include: a maintenance module 67 is determined.
The determination and maintenance module 67 is configured to determine to apply a reordering function to the qos flow corresponding to the data in the received data packet and maintain a reordering window before the parsing and submitting module 62 parses the received data packet.
Optionally, in this embodiment, after the receiving end determines that the reordering function needs to be applied to the received data of a certain QoS flow, a reordering window is maintained.
When the receiving end is a UE, the reordering window size on the receiving end side may be configured to the UE by the base station through an infinite resource control (RRC) message.
In the above embodiment, the reordering function is determined to be applied to the qos flow corresponding to the data in the received data packet, and the reordering window is maintained, so as to provide conditions for subsequently receiving the data packet in the reordering window.
Fig. 8B is a block diagram of another data transmission apparatus according to an exemplary embodiment, and as shown in fig. 8B, the apparatus may further include, based on the embodiment shown in fig. 8A: module 68 is opened.
The enabling module 68 is configured to enable a reordering function for the quality of service flow before the determination and maintenance module 67 determines to apply the reordering function to the quality of service flow corresponding to the data in the received data packet.
In the above embodiment, the reordering function is started for the qos stream, so as to provide conditions for applying the reordering function to the qos stream subsequently.
Fig. 9A is a block diagram of another data transmission apparatus according to an exemplary embodiment, and as shown in fig. 9A, on the basis of the embodiment shown in fig. 8B, if the receiving end is a UE, the starting module 68 may include: a first enabling unit 681 or a second enabling unit 682.
The first enabling unit 681 is configured to receive configuration information sent by the base station, and enable a reordering function for the qos flow according to the configuration information, and enable a reordering function for the data bearer DRB in the AM mode or the non-AM mode mapped by the qos flow.
The second enabling unit 682 is configured to always enable a reordering function for a quality of service flow.
In this embodiment, when the receiving end is a UE, the reordering function may be turned on for the qos flow by, but not limited to, the following ways:
mode 1) receives configuration information sent by a base station, and starts a reordering function for a service quality flow according to the configuration information.
Mode 2) receives configuration information sent by the base station, and starts a reordering function for data bearers (DRBs) in an Acknowledged (AM) mode mapped to the qos stream according to the configuration information.
Mode 3) receives the configuration information sent by the base station, and starts a reordering function for the DRB in the AM mode or the non-acknowledged (UM) mode mapped by the service quality flow according to the configuration information.
Mode 4) always starts the reordering function for the quality of service flow.
In another embodiment, if the receiving end is a base station, the enabling module 68 may be configured to enable a reordering function for the qos flow after the UE is configured to perform DRB remapping on the uplink data of the qos flow.
The embodiment can start the reordering function on the service quality flow in various modes, and the realization modes are flexible and various.
Fig. 9B is a block diagram of another data transmission apparatus according to an exemplary embodiment, and as shown in fig. 9B, on the basis of the embodiment shown in fig. 9A, the starting module 68 may further include: a first determination unit 683 or a second determination unit 684.
The first determining unit 683 is configured to determine that a DRB remapping of the quality of service flow occurs based on the received downlink data of the quality of service flow and the reflected quality of service attribute turned on for the quality of service flow before the second turning on unit 682 always turns on a reordering function for the quality of service flow.
The second determining unit 684 is configured to determine that the DRB remapping occurs for the qos flow according to the qos flow id carried in the downlink data of the received qos flow before the second opening unit 682 always opens the reordering function for the qos flow.
The embodiment can determine the DRB remapping of the service quality flow in various modes, and the realization modes are flexible and various.
Fig. 10 is a block diagram illustrating yet another data transmission apparatus according to an exemplary embodiment, as shown in fig. 10, the data transmission apparatus including: a determination module 100 and an add-on-send module 110.
The determination module 100 is configured to determine that DRB remapping occurs for a quality of service flow corresponding to data in a data packet.
In this embodiment, if the sending end is a UE, it may be determined that a DRB remapping occurs to a quality of service flow corresponding to data in a data packet by, but not limited to, the following manners:
mode 1) receives configuration information sent by a base station, and determines that DRB remapping occurs on a service quality flow corresponding to data in a data packet according to the configuration information. Wherein, the configuration information is used to instruct the UE to perform DRB remapping on the uplink data of the qos flow.
Wherein the configuration information may be carried in RRC signaling.
Mode 2) if the qos stream starts reflecting the qos attribute, if the UE receives the downlink data of the qos stream on a DRB different from the one previously receiving the downlink data of the qos stream, it may be determined that the DRB remapping occurs on the qos stream corresponding to the data in the data packet.
The adding and sending module 110 is configured to add a sequence number SN to a header of the data packet and send the data packet carrying the SN to a receiving end after the determining module 100 determines that the DRB remapping occurs to the quality of service flow corresponding to the data in the data packet.
In the embodiment, by adding the SN to the header of the data packet and sending the data packet carrying the SN to the receiving end, the receiving end can analyze at least one data packet arriving according to the SN sequence and submit the analyzed data part to the upper layer, so that the receiving end can realize data transmission in sequence, and conditions are provided for the receiving end to solve the problem of data disorder of QoS flow during DRB remapping and avoid extra delay.
In this embodiment, after determining that the DRB remapping occurs to the qos flow corresponding to the data in the data packet, an SN may be added to the header of the data packet, and the data packet carrying the SN may be sent to the receiving end.
In the embodiment, by determining that the service quality flow corresponding to the data in the data packet is subjected to DRB remapping, then adding the SN to the header of the data packet, and sending the data packet carrying the SN to the receiving end, the receiving end can determine the transmission sequence of the data packet according to the SN, thereby providing conditions for transmitting the data in sequence, and further providing conditions for solving the problem of data disorder of QoS flow during DRB remapping with low delay.
Fig. 11A is a block diagram of another data transmission apparatus according to an exemplary embodiment, as shown in fig. 11A, on the basis of the embodiment shown in fig. 10, if the sending end is a user equipment UE, the determining module 100 may include: a receiving unit 1001 and a first determining unit 1002.
The receiving unit 1001 is configured to receive configuration information sent by the base station, where the configuration information is used to instruct the UE to perform DRB remapping on uplink data of a quality of service flow.
Wherein the configuration information may be carried in RRC signaling.
The first determining unit 1002 is configured to determine, according to the configuration information received by the receiving unit 1001, that DRB remapping occurs on a quality of service flow corresponding to data in a data packet.
In the embodiment, the DRB remapping of the qos flow corresponding to the data in the data packet can be determined by receiving the configuration information sent by the base station and according to the configuration information, so that the implementation is simple.
Fig. 11B is a block diagram of another data transmission apparatus according to an exemplary embodiment, as shown in fig. 11B, on the basis of the embodiment shown in fig. 10, if the sending end is a user equipment UE, the determining module 100 may include: a second determination unit 1003.
The second determining unit 1003 is configured to, if the qos flow turns on to reflect the qos attribute, determine that DRB remapping occurs on the qos flow corresponding to data in the data packet if downlink data of the qos flow is received on a DRB different from the downlink data of the qos flow received before.
In the above embodiment, after the qos stream starts reflecting the qos attribute, if the downlink data of the qos stream is received on a DRB different from the previous downlink data of the qos stream, it is determined that the qos stream corresponding to the data in the data packet is subjected to DRB remapping, and the implementation is simple.
Fig. 12 is a block diagram illustrating a suitable data transmission arrangement according to an example embodiment. For example, the apparatus 1200 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, or other user device. The data transmission device can be used as a receiving end and also can be used as a transmitting end.
Referring to fig. 12, the apparatus 1200 may include one or more of the following components: processing component 1202, memory 1204, power component 1206, multimedia component 1208, audio component 1210, input/output (I/O) interface 1212, sensor component 1214, and communications component 1216.
The processing component 1202 generally controls overall operation of the apparatus 1200, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing element 1202 may include one or more processors 1220 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 1202 can include one or more modules that facilitate interaction between the processing component 1202 and other components. For example, the processing component 1202 can include a multimedia module to facilitate interaction between the multimedia component 1208 and the processing component 1202.
The memory 1204 is configured to store various types of data to support operation at the device 1200. Examples of such data include instructions for any application or method operating on the device 1200, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1204 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
A power supply component 1206 provides power to the various components of the device 1200. Power components 1206 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for apparatus 1200.
The multimedia component 1208 includes a screen that provides an output interface between the device 1200 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1208 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 1200 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
Audio component 1210 is configured to output and/or input audio signals. For example, audio component 1210 includes a Microphone (MIC) configured to receive external audio signals when apparatus 1200 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 1204 or transmitted via the communication component 1216. In some embodiments, audio assembly 1210 further includes a speaker for outputting audio signals.
The I/O interface 1212 provides an interface between the processing component 1202 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 1214 includes one or more sensors for providing various aspects of state assessment for the apparatus 1200. For example, the sensor assembly 1214 may detect the open/closed state of the device 1200, the relative positioning of the components, such as the display and keypad of the apparatus 1200, the sensor assembly 1214 may also detect a change in the position of the apparatus 1200 or a component of the apparatus 1200, the presence or absence of user contact with the apparatus 1200, the orientation or acceleration/deceleration of the apparatus 1200, and a change in the temperature of the apparatus 1200. The sensor assembly 1214 may include a proximity sensor configured to detect the presence of a nearby object in the absence of any physical contact. The sensor assembly 1214 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1214 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communications component 1216 is configured to facilitate communications between the apparatus 1200 and other devices in a wired or wireless manner. The apparatus 1200 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1216 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 1216 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 1200 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as memory 1204 comprising instructions, executable by processor 1220 of apparatus 1200 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Fig. 13 is a block diagram illustrating another suitable data transmission arrangement according to an example embodiment. Apparatus 1300 may be provided as a base station. Referring to fig. 13, apparatus 1300 includes processing components 1322, wireless transmit/receive components 1324, antenna components 1326, and signal processing portions specific to the wireless interface, processing components 1322 may further include one or more processors.
If the base station is the receiving end, one of the processors in processing component 1322 may be configured to:
receiving at least one data packet sent by a sending end in a reordering window, wherein each data packet in the at least one data packet carries a serial number SN;
if at least one data packet arriving according to the SN sequence is received in the reordering window, analyzing the received data packet and submitting the analyzed data part to an upper layer;
if a data packet which does not arrive according to the SN sequence is received in the reordering window and the reordering timer is not started currently, the reordering timer is started, the SN corresponding to the data packet which triggers to start the reordering timer is set as the SN of the currently received data packet which does not arrive according to the SN sequence, and if all out-of-order data packets before the SN which triggers to start the reordering timer are successfully received, the reordering timer is stopped and reset.
If the base station is the transmitting end, one of the processors in processing component 1322 may be configured to:
determining that data bearing DRB remapping occurs to a service quality flow corresponding to data in a data packet;
and adding a serial number SN to the header of the data packet, and sending the data packet carrying the SN to a receiving end.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. The terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (16)

1. A data transmission method, performed by a receiving end, the method comprising:
receiving at least one data packet sent by a sending end in a reordering window, wherein each data packet in the at least one data packet carries a Serial Number (SN);
if at least one data packet arriving according to the SN sequence is received in the reordering window, analyzing the received data packet and submitting the analyzed data part to an upper layer;
if a data packet which does not arrive according to the SN sequence is received in the reordering window and the reordering timer is not started currently, the reordering timer is started, and if all out-of-order data packets before the SN triggering the reordering timer is started are successfully received, the reordering timer is stopped and reset.
2. The method of claim 1, further comprising:
receiving configuration information sent by a base station;
and starting a reordering function on the service quality flow corresponding to the data in the receiving receipt packet according to the configuration information, wherein the receiving end is User Equipment (UE).
3. The method of claim 1, further comprising:
and if the SN of the received data packet corresponds to the lower boundary of the reordering window, moving the lower boundary of the reordering window to the SN corresponding to the next data packet waiting to be received, and updating the upper boundary of the reordering window.
4. The method of claim 3, further comprising:
and when the SN of a received data packet is greater than the maximum SN of a data packet waiting to be received currently, if the SN of the currently received data packet is not in the reordering window, discarding the currently received data packet, and if the SN of the currently received data packet is in the reordering window, updating the maximum SN to the SN of the currently received data packet.
5. The method according to any of claims 1-4, wherein prior to said parsing the received data packet, the method further comprises:
starting a reordering function for the service quality flow corresponding to the data in the received data packet;
determining to apply the reordering function to the quality of service flow and maintaining the reordering window.
6. The method of claim 5, wherein before the starting of a reordering function for the quality of service flow corresponding to the data in the received data packet, the method further comprises:
determining that DRB remapping occurs for the quality of service flow.
7. The method of claim 6, wherein the determining that DRB remapping occurs for the quality of service flow comprises any one of:
determining DRB remapping of the service quality flow according to the downlink data of the service quality flow and the reflection service quality attribute started for the service quality flow; or,
and determining DRB remapping of the service quality flow according to the service quality flow identification carried in the downlink data of the service quality flow.
8. A data transmission apparatus, characterized in that the apparatus comprises:
the receiving module is used for receiving and sending at least one data packet sent by a sending end in a reordering window, and each data packet in the at least one data packet carries a serial number SN;
the processing module is used for analyzing the received data packets and submitting the analyzed data part to an upper layer if at least one data packet arriving according to the SN sequence is received in the reordering window;
the processing module is further configured to receive a data packet that arrives according to an SN order in the reordering window and the reordering timer is not started currently, start the reordering timer, and stop and reset the reordering timer if all out-of-order data packets before the SN that triggers the starting of the reordering timer are successfully received.
9. The apparatus of claim 8,
the receiving module is further configured to receive configuration information sent by the base station;
the processing module is further configured to start a reordering function for the service quality flow corresponding to the data in the received receipt packet according to the configuration information.
10. The apparatus of claim 8,
the processing module is further configured to, if the SN of the received data packet corresponds to the lower boundary of the reordering window, move the lower boundary of the reordering window to the SN corresponding to the next data packet to be received, and update the upper boundary of the reordering window.
11. The apparatus of claim 10,
the processing module is further configured to discard the currently received data packet if the SN of the currently received data packet is not within the reordering window when the SN of a received data packet is greater than the maximum SN of the currently waiting to be received data packet, and update the maximum SN to the SN of the currently received data packet if the SN of the currently received data packet is within the reordering window.
12. The apparatus of any of claims 8-11, wherein the processing module is further configured to:
before analyzing the received data packet, starting a reordering function on the service quality flow corresponding to the data in the received data packet;
determining to apply a reordering function to the quality of service flow and maintaining the reordering window.
13. The apparatus of claim 12,
the processing module is further configured to determine that DRB remapping occurs for the qos flow before starting a reordering function for the qos flow corresponding to data in the received data packet.
14. The apparatus of claim 13, wherein the processing module is further configured to:
determining DRB remapping of the service quality flow according to the downlink data of the service quality flow and the reflection service quality attribute started for the service quality flow; or,
and determining DRB remapping of the service quality flow according to the service quality flow identification carried in the downlink data of the service quality flow.
15. A communications apparatus, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to execute the executable instructions to implement the data transmission method of any of the preceding claims 1-7.
16. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 7.
CN202110891274.4A 2017-07-10 2017-07-10 Data transmission method and device, receiving end equipment and sending end equipment Pending CN113726477A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110891274.4A CN113726477A (en) 2017-07-10 2017-07-10 Data transmission method and device, receiving end equipment and sending end equipment

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN202110891274.4A CN113726477A (en) 2017-07-10 2017-07-10 Data transmission method and device, receiving end equipment and sending end equipment
PCT/CN2017/092406 WO2019010617A1 (en) 2017-07-10 2017-07-10 Data transmission method and device, receiving end device and sending end device
CN201780000719.7A CN108401479B (en) 2017-07-10 2017-07-10 Data transmission method and device, receiving end equipment and sending end equipment

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201780000719.7A Division CN108401479B (en) 2017-07-10 2017-07-10 Data transmission method and device, receiving end equipment and sending end equipment

Publications (1)

Publication Number Publication Date
CN113726477A true CN113726477A (en) 2021-11-30

Family

ID=63095029

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202110891274.4A Pending CN113726477A (en) 2017-07-10 2017-07-10 Data transmission method and device, receiving end equipment and sending end equipment
CN201780000719.7A Active CN108401479B (en) 2017-07-10 2017-07-10 Data transmission method and device, receiving end equipment and sending end equipment

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201780000719.7A Active CN108401479B (en) 2017-07-10 2017-07-10 Data transmission method and device, receiving end equipment and sending end equipment

Country Status (2)

Country Link
CN (2) CN113726477A (en)
WO (1) WO2019010617A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110943808B (en) * 2018-09-21 2023-02-17 北京小米松果电子有限公司 Data transmission method and device, electronic equipment and storage medium
CN110972337B (en) * 2018-09-29 2021-09-14 中国移动通信有限公司研究院 Data transmission method, device and system, SDAP entity and storage medium
CN109600203B (en) * 2018-11-29 2021-09-14 西安电子科技大学 Method for carrying remapped node packet sequence number in SDAP PDU
CN111417147B (en) * 2019-01-07 2023-05-05 中国移动通信有限公司研究院 Data processing method, device, related equipment and storage medium
CN110536263A (en) * 2019-07-11 2019-12-03 中兴通讯股份有限公司 A kind of data transmission method, device, the first communication node and the second communication node
CN114071380B (en) * 2020-08-05 2023-05-26 维沃移动通信有限公司 Multicast service receiving method, configuration method, terminal and network equipment
CN115915437A (en) * 2021-08-13 2023-04-04 维沃移动通信有限公司 Data transmission method, device, terminal and network side equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104812000A (en) * 2014-01-27 2015-07-29 中兴通讯股份有限公司 Method and device for realizing data transmission

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2502954B (en) * 2012-05-23 2014-10-15 Nvidia Corp Processing data units
CN103457707B (en) * 2012-05-30 2016-12-14 华为技术有限公司 A kind of data transmission method, Apparatus and system
ES2735079T3 (en) * 2014-01-28 2019-12-16 Hfi Innovation Inc Methods to reorder PDCP packets
US9713044B2 (en) * 2014-01-30 2017-07-18 Sharp Kabushiki Kaisha Systems and methods for dual-connectivity operation
CN105264830B (en) * 2014-05-09 2020-01-03 华为技术有限公司 Data packet processing method, terminal, base station and system
US10397754B2 (en) * 2015-08-06 2019-08-27 Qualcomm Incorporation Packet data convergence protocol reordering with enhanced component carriers
CN106559184A (en) * 2015-09-25 2017-04-05 中兴通讯股份有限公司 The method of data transfer, apparatus and system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104812000A (en) * 2014-01-27 2015-07-29 中兴通讯股份有限公司 Method and device for realizing data transmission

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
""R2-1701205"", 3GPP TSG_RAN\\WG2_RL2, 4 February 2017 (2017-02-04), pages 3 *

Also Published As

Publication number Publication date
WO2019010617A1 (en) 2019-01-17
CN108401479A (en) 2018-08-14
CN108401479B (en) 2021-08-24

Similar Documents

Publication Publication Date Title
CN108401479B (en) Data transmission method and device, receiving end equipment and sending end equipment
CN109121467B (en) Method and device for reporting buffer state
CN107637123B (en) Information transmission method, device and computer readable storage medium
CN108476435B (en) Data processing method and device, user equipment and computer readable storage medium
CN109429568B (en) Method and device for reporting buffer status report
CN113873607B (en) Cell switching method and device
EP4383809A1 (en) Relay user equipment handover method and apparatus, and device and readable storage medium
WO2020029085A1 (en) Method and apparatus for configuring and determining transmission block scheduling interval, and base station
CN108702333B (en) Data transmission method and device
EP4184830A1 (en) Retransmission request method and apparatus, and retransmitted data reception method and apparatus
CN107223360B (en) Method and device for sending cache state
US11665586B2 (en) Method and apparatus for data transmission, electronic device and computer readable storage medium
WO2018213985A1 (en) Data transmission method and apparatus
CN110268779B (en) Direct connection link data sending and direct connection link resource configuration method and device
CN108401482B (en) Data transmission method and device
CN109451788B (en) Data transmission method and device
CN114430370B (en) Method, device, equipment and storage medium for determining network slice
CN109565718B (en) Method and device for transmitting message
CN109962757A (en) Data transmission method and device based on view networking
US20240064561A1 (en) Apparatus and method for sending and receiving buffer data information
CN111566985B (en) Transmission processing method, device, user equipment, base station and storage medium
CN114982154B (en) Demodulation performance determining method and device, and demodulation performance receiving method and device
US11871381B2 (en) Data transmission method and apparatus
CN116491149A (en) Base station measurement method and device, communication equipment and storage medium
CN116250276A (en) QoS management method and device, communication equipment and storage medium

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