Disclosure of Invention
The technical problem to be solved by the present invention is to provide a data transmission method and apparatus, which can solve the problem that automatic retransmission requests cannot be performed on a multi-connection split bearer in an NR single-layer SN structure, so that data can be normally transmitted.
To solve the above technical problem, embodiments of the present invention provide the following technical solutions:
in one aspect, a data transmission method is provided, which is applied to a data sending entity in a 5G network, and the method includes:
after transmitting PDU to a data receiving entity, recording SN of the transmitted PDU;
and sending a first status report to the data receiving entity, wherein the first status report carries the information of the SN.
Further, the sending the first status report to the data receiving entity comprises:
sending the first status report to the data receiving entity according to a preset sending period; or
And sending the first status report to the data receiving entity when a preset condition is met.
Further, the preset conditions include:
after the first status report is sent last time, the number of PDU sent by the data sending entity to the data receiving entity reaches N; or
After the first status report is sent last time, the total number of bytes of PDU sent by the data sending entity to the data receiving entity reaches M; or
When the inquiry triggering condition is met;
wherein M, N is an integer of not less than 1.
Further, the first status report is an independent PDU, and the PDU of the first status report includes a PDU payload and a corresponding PDU header.
Further, the length of the PDU of the first status report is fixed; or
The length of the PDU of the first status report is not fixed, the first status report comprises SN information and identifications in one-to-one correspondence with the SN information, and the identifications indicate whether other SN information exists after the corresponding SN information.
Further, the content of the PDU payload includes:
and the SN information of all PDUs sent by the data sending entity between the time of sending the first status report last time and the time of sending the first status report currently.
Further, the SN information in the first status report is the SNs of all PDUs sent by the data sending entity between the time of last sending the first status report and the time of currently sending the first status report; or
The SN of one PDU and offset values of other PDUs relative to the SN of the PDU or the previous SN of the SN are obtained between the time of last sending the first status report and the time of current sending the first status report; or
And between the time of last sending the first status report and the current time of sending the first status report, the SN of all the PDUs sent by the data sending entity is offset from the maximum SN contained in the last sent first status report or the previous SN of the SN.
Further, the first status report is carried in a data PDU,
the first status report includes SNs of N PDUs transmitted by the data transmitting entity prior to the data PDU; and/or
The first status report includes SNs of N PDUs transmitted by the data transmitting entity after the data PDU.
Further, the first status report is carried in a data PDU,
the first status report comprises the SN of the data PDU and the offset value of the SN of the N PDUs transmitted by the data transmitting entity before the data PDU relative to the SN of the data PDU; and/or
The first status report includes the SN of the data PDU and an offset value of the SN of N PDUs transmitted by the data transmitting entity after the data PDU with respect to the SN of the data PDU.
Further, after the sending the first status report to the data receiving entity, the method further comprises:
receiving a second status report sent by the data receiving entity, where the second status report carries information of SN of a lost PDU that is sent by the data sending entity but not correctly received by the data receiving entity;
and retransmitting the lost PDU to the data receiving entity according to the information of the SN in the second status report.
The embodiment of the invention also provides a data transmission method, which is applied to a data receiving entity in a 5G network, and the method comprises the following steps:
receiving a first status report sent by a data sending entity, wherein the first status report carries information of SN of PDU (protocol data unit) sent by the data sending entity to the data receiving entity;
and when the PDU sent by the data sending entity is judged to be inconsistent with the PDU correctly received by the data receiving entity according to the SN information, sending a second status report to the data sending entity, wherein the second status report carries the SN information of the lost PDU which is sent by the data sending entity but not correctly received by the data receiving entity.
Further, the method further comprises:
and when the PDU sent by the data sending entity is judged to be consistent with the PDU correctly received by the data receiving entity according to the information of the SN, submitting the data packets in the correctly received sequence to a high layer, wherein the data packets are obtained by processing the received PDU by the data receiving entity, and moving the lower boundary of a receiving window to the next SN of the latest SN submitted to the high layer.
The embodiment of the invention also provides a data transmission device, which is applied to a data sending entity in a 5G network, and the device comprises:
the recording module is used for recording the SN of the PDU which is sent after the PDU is sent to the data receiving entity;
a sending module, configured to send a first status report to the data receiving entity, where the first status report carries information of the SN.
Further, the sending module is specifically configured to send the first status report to the data receiving entity according to a preset sending period; or
And sending the first status report to the data receiving entity when a preset condition is met.
Further, the preset conditions include:
after the first status report is sent last time, the number of PDU sent by the data sending entity to the data receiving entity reaches N; or
After the first status report is sent last time, the total number of bytes of PDU sent by the data sending entity to the data receiving entity reaches M; or
When the inquiry triggering condition is met;
wherein M, N is an integer of not less than 1.
Further, the first status report is an independent PDU, and the PDU of the first status report includes a PDU payload and a corresponding PDU header.
Further, the length of the PDU of the first status report is fixed; or
The length of the PDU of the first status report is not fixed, the first status report comprises SN information and identifications which are in one-to-one correspondence with the SN information, and the identifications indicate whether other SN information exists after the corresponding SN information.
Further, the content of the PDU payload includes:
and the SN information of all PDUs sent by the data sending entity between the time of sending the first status report last time and the time of sending the first status report currently.
Further, the SN information in the first status report is the SNs of all PDUs sent by the data sending entity between the time of last sending the first status report and the time of currently sending the first status report; or
Between the time of last sending the first status report and the time of current sending the first status report, the SN of one PDU in all PDUs sent by the data sending entity and the offset values of other PDUs relative to the SN of the PDU or the previous SN of the SN; or
And between the time of last sending the first status report and the current time of sending the first status report, the SN of all the PDUs sent by the data sending entity is offset from the maximum SN contained in the last sent first status report or the previous SN of the SN.
Further, the first status report is carried in a data PDU,
the first status report includes SNs of N PDUs transmitted by the data transmitting entity prior to the data PDU; and/or
The first status report includes SNs of N PDUs transmitted by the data transmitting entity after the data PDU.
Further, the first status report is carried in a data PDU,
the first status report comprises the SN of the data PDU and the offset value of the SN of the N PDUs transmitted by the data transmitting entity before the data PDU relative to the SN of the data PDU; and/or
The first status report includes the SN of the data PDU and an offset value of the SNs of the N PDUs transmitted by the data transmitting entity with respect to the SN of the data PDU after the data PDU.
Further, the apparatus further comprises:
a first receiving module, configured to receive a second status report sent by the data receiving entity, where the second status report carries information of SNs of missing PDUs that are sent by the data sending entity but not correctly received by the data receiving entity;
and a retransmission module, configured to retransmit the missing PDU to the data receiving entity according to the information of the SN in the second status report.
An embodiment of the present invention further provides a data transmission apparatus, which is applied to a data receiving entity in a 5G network, and the apparatus includes:
a second receiving module, configured to receive a first status report sent by a data sending entity, where the first status report carries information of an SN of a PDU sent by the data sending entity to the data receiving entity;
and a feedback module, configured to send a second status report to the data sending entity when it is determined, according to the information of the SNs, that the PDU sent by the data sending entity is inconsistent with the PDU correctly received by the data receiving entity, where the second status report carries information of the SNs of the missing PDUs sent by the data sending entity but incorrectly received by the data receiving entity.
Further, the apparatus further comprises:
and the submitting module is used for submitting a data packet in a correctly received sequence to a high layer when the PDU sent by the data sending entity is judged to be consistent with the PDU correctly received by the data receiving entity according to the information of the SN, wherein the data packet is obtained by processing the received PDU by the data receiving entity, and the lower boundary of a receiving window is moved to the next SN of the SN which is submitted to the high layer at the last time.
The embodiment of the invention has the following beneficial effects:
in the above scheme, after the data sending entity sends the PDU to the data receiving entity, the SN of the sent PDU is recorded, and a first status report carrying information of the SN is sent to the data receiving entity, and the data receiving entity can determine which PDUs are missing PDUs sent by the data sending entity but not correctly received by the data receiving entity through the first status report, and feed back the information of the SN of the missing PDUs to the data sending entity, so that the data sending entity resends the PDUs, and the data can be normally transmitted.
Detailed Description
In order to make the technical problems, technical solutions and advantages to be solved by the embodiments of the present invention clearer, the following detailed description will be given with reference to the accompanying drawings and specific embodiments.
The embodiment of the invention provides a data transmission method and a data transmission device aiming at the problem that the multi-connection separation bearer cannot carry out automatic retransmission requests under the NR single-layer SN structure of the existing 5G network, and can solve the problem that the multi-connection separation bearer cannot carry out automatic retransmission requests under the NR single-layer SN structure, so that data can be normally transmitted.
Example one
The present embodiment provides a data transmission method, which is applied to a data sending entity in a 5G network, and as shown in fig. 1, the method includes:
step 101: after transmitting PDU (protocol data unit) to a data receiving entity, recording SN of the transmitted PDU;
step 102: and sending a first status report to the data receiving entity, wherein the first status report carries the information of the SN.
In this embodiment, after sending a PDU to a data receiving entity, a data sending entity records an SN of the sent PDU, and sends a first status report carrying information of the SN to the data receiving entity, and the data receiving entity can determine which PDUs are missing PDUs sent by the data sending entity but not correctly received by the data receiving entity through the first status report, and feed back information of the SN of the missing PDUs to the data sending entity, so that the data sending entity sends the PDUs again, and further, data can be normally transmitted.
Further, the sending the first status report to the data receiving entity comprises:
sending the first status report to the data receiving entity according to a preset sending period; or
And sending the first status report to the data receiving entity when a preset condition is met.
Further, the preset conditions include:
after the first status report is sent last time, the number of PDU sent to the data receiving entity by the data sending entity reaches N; or
After the first status report is sent last time, the total number of bytes of PDU sent by the data sending entity to the data receiving entity reaches M; or
When the inquiry triggering condition is met;
wherein M, N is an integer of not less than 1.
In an LTE (long term evolution) system, for RLC (radio link layer control protocol) AM (acknowledged mode) data transmission, an RLC AM sending entity may trigger an RLC AM receiving entity to send a status report to an RLC AM sending entity through an interrogation (Poll) procedure. And the RLC AM sending entity updates a sending window or performs RLC retransmission operation according to the status report. The polling trigger conditions in the LTE RLC AM mode are two types:
A. polling trigger based on PDU number or PDU byte number
The trigger mechanism is configurable, and once the higher layer configures the polling trigger mechanism based on the number of PDUs or the number of bytes of PDUs, the specific operation of the sending end is as follows:
when the RLC AM entity newly generates one PDU, then:
adding 1 to the number of the PDUs which are not subjected to Poll, namely PDU _ WITHOUT _ POLL is PDU _ WITHOUT _ POLL + 1;
updating the BYTE number (BYTE _ WITHOUT _ POLL) of the non-Poll according to the BYTE number of the data field contained in the newly generated PDU;
if PDU _ WITHOUT _ POLL > -poolPDU; or if BYTE _ WITHOUT _ POLL > -poolByte;
poll bits are carried when organizing RLC data PDUs.
B. Polling trigger based on last PDU in transmission buffer or retransmission buffer
When the last PDU of the buffer is sent or retransmitted for transmission, an explicit status report request indication, i.e. a polling flag, needs to be carried, otherwise, once the last PDU is lost, it cannot be detected, and in order to ensure successful transmission of such data, the "transmission of the last data in the buffer" is one of the conditions triggered by polling.
The polling trigger condition in this embodiment is similar to that in the LTE system.
Further, the first status report is an independent PDU, and the PDU of the first status report includes a PDU payload and a corresponding PDU header.
Further, the length of the PDU of the first status report is fixed; or
The length of the PDU of the first status report is not fixed, the first status report comprises SN information and identifications in one-to-one correspondence with the SN information, and the identifications indicate whether other SN information exists after the corresponding SN information.
Further, the content of the PDU payload includes:
and the SN information of all PDUs sent by the data sending entity between the time of sending the first status report last time and the time of sending the first status report currently.
Further, the SN information in the first status report is the SNs of all PDUs transmitted by the data transmitting entity between the time of last transmitting the first status report and the time of currently transmitting the first status report; or
Between the time of last sending the first status report and the time of current sending the first status report, the SN of one PDU in all PDUs sent by the data sending entity and the offset values of other PDUs relative to the SN of the PDU or the previous SN of the SN; or
And between the time of last sending the first status report and the current time of sending the first status report, the SN of all the PDUs sent by the data sending entity is offset from the maximum SN contained in the last sent first status report or the previous SN of the SN.
Further, the first status report is carried in a data PDU,
the first status report includes SNs of N PDUs transmitted by the data transmitting entity prior to the data PDU; and/or
The first status report includes SNs of N PDUs transmitted by the data transmitting entity after the data PDU.
Further, the first status report is carried in a data PDU,
the first status report comprises the SN of the data PDU and the offset value of the SN of the N PDUs transmitted by the data transmitting entity before the data PDU relative to the SN of the data PDU; and/or
The first status report includes the SN of the data PDU and an offset value of the SNs of the N PDUs transmitted by the data transmitting entity with respect to the SN of the data PDU after the data PDU.
Further, after the sending the first status report to the data receiving entity, the method further comprises:
receiving a second status report sent by the data receiving entity, where the second status report carries information of SN of a lost PDU that is sent by the data sending entity but not correctly received by the data receiving entity;
and retransmitting the lost PDU to the data receiving entity according to the information of the SN in the second status report.
Example two
This embodiment provides a data transmission apparatus, which is applied to a data sending entity in a 5G network, and as shown in fig. 2, the apparatus includes:
a recording module 21, configured to record an SN of a PDU sent after the PDU is sent to a data receiving entity;
a sending module 22, configured to send a first status report to the data receiving entity, where the first status report carries the information of the SN.
In this embodiment, after sending a PDU to a data receiving entity, a data sending entity records an SN of the sent PDU, and sends a first status report carrying information of the SN to the data receiving entity, and the data receiving entity can determine which PDUs are missing PDUs sent by the data sending entity but not correctly received by the data receiving entity through the first status report, and feed back information of the SN of the missing PDUs to the data sending entity, so that the data sending entity sends the PDUs again, and further, data can be normally transmitted.
Further, the sending module is specifically configured to send the first status report to the data receiving entity according to a preset sending period; or
And sending the first status report to the data receiving entity when a preset condition is met.
Further, the preset conditions include:
after the first status report is sent last time, the number of PDU sent by the data sending entity to the data receiving entity reaches N; or
After the first status report is sent last time, the total number of bytes of PDU sent by the data sending entity to the data receiving entity reaches M; or
When the inquiry triggering condition is met;
wherein M, N is an integer of not less than 1.
Further, the first status report is an independent PDU, and the PDU of the first status report includes a PDU payload and a corresponding PDU header.
Further, the length of the PDU of the first status report is fixed; or
The length of the PDU of the first status report is not fixed, the first status report comprises SN information and identifications in one-to-one correspondence with the SN information, and the identifications indicate whether other SN information exists after the corresponding SN information.
Further, the content of the PDU payload includes:
and the SN information of all PDUs sent by the data sending entity between the time of sending the first status report last time and the time of sending the first status report currently.
Further, the SN information in the first status report is the SNs of all PDUs transmitted by the data transmitting entity between the time of last transmitting the first status report and the time of currently transmitting the first status report; or
The SN of one PDU and offset values of other PDUs relative to the SN of the PDU or the previous SN of the SN are obtained between the time of last sending the first status report and the time of current sending the first status report; or
And between the time of last sending the first status report and the current time of sending the first status report, the SN of all the PDUs sent by the data sending entity is offset from the maximum SN contained in the last sent first status report or the previous SN of the SN.
Further, the first status report is carried in a data PDU,
the first status report includes SNs of N PDUs transmitted by the data transmitting entity prior to the data PDU; and/or
The first status report includes SNs of N PDUs transmitted by the data transmitting entity after the data PDU.
Further, the first status report is carried in a data PDU,
the first status report comprises the SN of the data PDU and the offset value of the SN of the N PDUs transmitted by the data transmitting entity before the data PDU relative to the SN of the data PDU; and/or
The first status report includes the SN of the data PDU and an offset value of the SN of N PDUs transmitted by the data transmitting entity after the data PDU with respect to the SN of the data PDU.
Further, the apparatus further comprises:
a first receiving module 23, configured to receive a second status report sent by the data receiving entity, where the second status report carries information of SNs of missing PDUs that are sent by the data sending entity but not correctly received by the data receiving entity;
a retransmission module 24, configured to retransmit the missing PDU to the data receiving entity according to the information of the SN in the second status report.
EXAMPLE III
The embodiment provides a data transmission method, which is applied to a data receiving entity in a 5G network, and as shown in fig. 3, the method includes:
step 301: receiving a first status report sent by a data sending entity, wherein the first status report carries information of SN of PDU (protocol data unit) sent by the data sending entity to the data receiving entity;
step 302: and when the PDU sent by the data sending entity is judged to be inconsistent with the PDU correctly received by the data receiving entity according to the SN information, sending a second status report to the data sending entity, wherein the second status report carries the SN information of the lost PDU which is sent by the data sending entity but not correctly received by the data receiving entity.
In this embodiment, after sending a PDU to a data receiving entity, a data sending entity records an SN of the sent PDU, and sends a first status report carrying information of the SN to the data receiving entity, and the data receiving entity can determine which PDUs are missing PDUs sent by the data sending entity but not correctly received by the data receiving entity through the first status report, and feed back information of the SN of the missing PDUs to the data sending entity, so that the data sending entity sends the PDUs again, and further, data can be normally transmitted.
Further, the method further comprises:
and when the PDU sent by the data sending entity is judged to be consistent with the PDU correctly received by the data receiving entity according to the information of the SN, submitting the data packets in the correctly received sequence to a high layer, wherein the data packets are obtained by processing the received PDU by the data receiving entity, and moving the lower boundary of a receiving window to the next SN of the SN which is submitted to the high layer at the latest time.
Example four
This embodiment provides a data transmission apparatus, which is applied to a data receiving entity in a 5G network, and as shown in fig. 4, the apparatus includes:
a second receiving module 41, configured to receive a first status report sent by a data sending entity, where the first status report carries information of an SN of a PDU sent by the data sending entity to the data receiving entity;
a feedback module 42, configured to send a second status report to the data sending entity when it is determined, according to the information of the SNs, that the PDU sent by the data sending entity is inconsistent with the PDU correctly received by the data receiving entity, where the second status report carries information of the SNs of the missing PDUs that are sent by the data sending entity but not correctly received by the data receiving entity.
In this embodiment, after sending a PDU to a data receiving entity, a data sending entity records an SN of the sent PDU, and sends a first status report carrying information of the SN to the data receiving entity, and the data receiving entity may determine which PDUs are missing PDUs sent by the data sending entity but not correctly received by the data receiving entity through the first status report, and feed back information of the SNs of the missing PDUs to the data sending entity, so that the data sending entity resends the PDUs, and further, data can be normally transmitted.
Further, the apparatus further comprises:
and a submitting module 43, configured to submit a correctly received data packet to a higher layer when it is determined, according to the SN information, that the PDU sent by the data sending entity is consistent with the PDU correctly received by the data receiving entity, where the data packet is obtained by the data receiving entity after processing the received PDU, and move the lower boundary of the receiving window to a next SN of the last SN submitted to the higher layer.
In order to save overhead, the NR system in the 5G network may use a single-layer SN, and the SN is allocated by the highest layer of the user plane of the NR air interface protocol stack. As shown in fig. 5, SN is allocated before ROHC (header compression). As shown in fig. 5, if a bearer (RB) is transmitted through only one leg (connection), it is a single connection transmission (such as RB1 in fig. 5); if a bearer is transported over multiple legs it is a multi-connection transport (e.g., RB2 in fig. 5).
For the bearer transmitted through multiple connections, there are two cases according to whether the SNs transmitted on each connection are the same:
case 1: duplicate bearer, that is, data packets with the same SN are transmitted through different legs.
Case 2: split bearer, i.e. data packets with different SNs are transmitted over different legs.
If the NR supports only a single layer of SNs, the SNs will be allocated at the highest layer of the NR user plane, and the SN numbering of PDUs (protocol data units) transmitted over different legs is not consecutive for split bearer in case of multiple connections. When the data receiving entity performs ARQ status report after receiving the data sent by the data sending entity, it cannot be determined whether a certain SN is lost in the transmission process or the data sending entity corresponding to the connection does not send the PDU corresponding to the SN at all. If the SN included in the ARQ status report is the SN of a PDU that the data transmitting entity has not transmitted at all, the reception window of the data receiving entity cannot move, the reception window is stalled, and data cannot be normally transmitted.
In order to solve the above problem, the present invention provides a data transmission method, in which a new sending status report (i.e. the first status report) is redefined, after a data sending entity sends a PDU to a data receiving entity, the data sending entity records the SN of the sent PDU, and sends the sending status report carrying SN information to the data receiving entity, and the data receiving entity can determine which PDUs are missing PDUs sent by the data sending entity but not correctly received by the data receiving entity through the sending status report, and feed back the SN information of the missing PDUs to the data sending entity through an ARQ status report (i.e. the second status report), so that the data sending entity resends the PDUs, and the data can be normally transmitted.
The technical scheme of the invention is further described by combining specific embodiments as follows:
EXAMPLE five
As shown in fig. 6, the data transmission method of this embodiment specifically includes the following steps:
step 601: the data sending entity sends PDU to the data receiving entity and records SN of the sent PDU;
step 602: a data sending entity sends a sending status report to a data receiving entity through an independent PDU, wherein the sending status report carries SN information of the PDU sent by the data sending entity to the data receiving entity;
the trigger conditions for sending the status report may be, but are not limited to, periodic triggers and event triggers.
For the periodic trigger, the data sending entity sends a sending status report to the data receiving entity according to a preset time period, specifically, a timer may be set, after the timer finishes timing, the data sending entity sends the sending status report to the data receiving entity, and the length of the timer may be configured by a high-level signaling.
For event triggering, the trigger conditions may include, but are not limited to:
after the sending status report is sent last time, the number of PDU sent to the data receiving entity by the data sending entity reaches N, N is an integer greater than 0, and the value of N can be configured by the high layer;
after the sending status report is sent last time, the total number of bytes of PDU sent to the data receiving entity by the data sending entity reaches M, M is an integer greater than 0, and the value of M can be configured by the high layer;
when the interrogation trigger condition is satisfied.
The status report is transmitted as a separate PDU by the data transmitting entity to the data receiving entity. The PDU for sending the status report contains two parts: PDU payload and corresponding PDU header.
The length of the PDU for transmitting the status report may be fixed or may not be fixed. When the length of the PDU for transmitting the status report is fixed, the PDU for transmitting the status report includes a fixed number of SNs or SN offset values. When the length of the PDU for sending the status report is not fixed, the status report not only includes the SN or the SN offset value, but also includes an identifier corresponding to the SN or the SN offset value, and the identifier can indicate whether there is another SN or SN offset value after the corresponding SN or SN offset value.
The PDU payload for transmitting the status report may include, but is not limited to: the SN information of all PDUs transmitted by the data transmitting entity to the data receiving entity between the time of last transmitting a transmission status report and the time of currently transmitting the transmission status report, that is, the SN information of all SNs between the next SN of the maximum SN included in the last transmission status report and the SN corresponding to the transmission time of the current transmission status report.
The representation of SN information in the transmission status report may be, but is not limited to, the following:
all SN information in the sending status report is identified by SN;
the first SN information in the transmission status report is identified by SN, and other SN information is identified by offset value relative to the first SN or previous SN;
all SN information in the transmission status report is identified by an offset value, the first SN offset value is an offset value relative to the maximum SN value contained in the last transmission status report or the previous SN value of the maximum SN value, and if the transmission status report has not been received by the previous data receiving entity, the default is an offset value relative to SN 0.
It is assumed that the transmission status report length is fixed, i.e. each transmission status report can only contain information of a fixed number of SNs, e.g. 5. If the information of each SN in the transmission status report is identified by an offset value, in a specific embodiment, the format of the transmission status report is as shown in fig. 7, where deltai identifies the offset value of the SN relative to its previous SN, and i takes values of 1, 2, 3, 4, and 5. The D/C and the CPT form a PDU header, the D/C identifies whether the PDU is a transmission status report PDU or a data PDU, and the CPT identifies the type of the control PDU, for example, when the CPT is defined to take a certain special value, for example, 111, the PDU corresponds to the transmission status report.
Step 603: the data receiving entity judges whether the PDU sent by the data sending entity is consistent with the PDU correctly received by the data receiving entity according to the received SN information in the sending status report, if not, the process goes to step 604; if yes, go to step 606;
step 604: when the PDU sent by the data sending entity is inconsistent with the PDU correctly received by the data receiving entity, the data receiving entity feeds back an ARQ state report to the data sending entity;
after receiving a sending status report sent by a data sending entity, a data receiving entity determines the information of SN needing to be indicated in the ARQ status report according to the information of SN in the sending status report, namely, the data receiving entity only feeds back the ARQ status report for the SN which is sent by the data sending entity but not correctly received by the data receiving entity, and does not feed back the ARQ status report for the SN which is not sent by the data sending entity at all;
step 605: and the data transmitting entity retransmits the PDU to the data receiving entity according to the information of the SN in the ARQ state report.
Step 606: when the PDU sent by the data sending entity is consistent with the PDU correctly received by the data receiving entity, the data receiving entity submits the received data packet to a higher layer and moves a receiving window.
As long as the PDU correctly received by the data receiving entity is consistent with the PDU sequence in the data sending entity sending state report, the data receiving entity is considered to be continuously receiving, the data packet with the correctly received sequence is submitted to a high layer, after the data receiving entity receives the PDU, the PDU is analyzed, the packet head is removed to obtain the data packet, and the lower boundary of the receiving window is moved to the next SN of the SN which is submitted to the high layer at the last time.
In this embodiment, after sending a PDU to a data receiving entity, a data sending entity records SNs of the sent PDUs, and sends information of these SNs to the data receiving entity, so that the data receiving entity can determine which PDUs are missing PDUs sent by the data sending entity but not correctly received by the data receiving entity, and feed back the information of the SNs of these missing PDUs to the data sending entity, so that the data sending entity resends these PDUs, thereby enabling data to be normally transmitted.
EXAMPLE six
As shown in fig. 8, the data transmission method of this embodiment specifically includes the following steps:
step 801: the data sending entity sends PDU to the data receiving entity and records SN of the sent PDU;
step 802: the data transmitting entity carries a transmitting status report in the transmitted data PDU, and the transmitting status report carries SN information of the PDU transmitted to the data receiving entity by the data transmitting entity;
the trigger conditions for sending the status report may be, but are not limited to, periodic triggers and event triggers.
For the periodic trigger, the data sending entity sends a sending status report to the data receiving entity according to a preset time period, specifically, a timer may be set, after the timer finishes timing, the data sending entity sends the sending status report to the data receiving entity, and the length of the timer may be configured by a high-level signaling.
For event triggering, the trigger conditions may include, but are not limited to:
after the sending status report is sent last time, the number of PDU sent to the data receiving entity by the data sending entity reaches N, N is an integer greater than 0, and the value of N can be configured by the high layer;
after the sending status report is sent last time, the total number of bytes of PDU sent to the data receiving entity by the data sending entity reaches M, M is an integer greater than 0, and the value of M can be configured by the high layer;
when the interrogation trigger condition is satisfied.
The representation of the information of the SN in the transmission status report may be, but is not limited to, the SN or an SN offset value.
When the information of the SN in the transmission status report is identified by the SN, the transmission status report includes the SNs of N PDUs transmitted by the data transmission entity before the data PDU (namely the PDU carrying the transmission status report); and/or the transmission status report includes SNs of N PDUs transmitted by the data transmitting entity after the data PDU.
When the information of the SN in the transmission status report is identified by the SN offset value, the transmission status report includes the SN of the data PDU (i.e. the PDU carrying the transmission status report) and the offset value of the SN of the N PDUs transmitted by the data transmitting entity before the data PDU relative to the SN of the data PDU; and/or the transmission status report includes the SN of the data PDU and an offset value of the SN of N PDUs transmitted by the data transmitting entity after the data PDU with respect to the SN of the data PDU.
Step 803: the data receiving entity judges whether the PDU sent by the data sending entity is consistent with the PDU correctly received by the data receiving entity according to the received SN information in the sending status report, if not, the process goes to step 804; if so, go to step 806;
step 804: when the PDU sent by the data sending entity is inconsistent with the PDU correctly received by the data receiving entity, the data receiving entity feeds back an ARQ state report to the data sending entity;
after receiving a sending status report sent by a data sending entity, a data receiving entity determines the information of SN needing to be indicated in the ARQ status report according to the information of SN in the sending status report, namely, the data receiving entity only feeds back the ARQ status report for the SN which is sent by the data sending entity but not correctly received by the data receiving entity, and does not feed back the ARQ status report for the SN which is not sent by the data sending entity at all;
step 805: and the data transmitting entity retransmits the PDU to the data receiving entity according to the SN information in the ARQ state report.
Step 806: when the PDU sent by the data sending entity is consistent with the PDU correctly received by the data receiving entity, the data receiving entity submits the received PDU to a higher layer and moves a receiving window.
As long as the PDU correctly received by the data receiving entity is consistent with the PDU sequence in the data sending entity sending state report, the data receiving entity is considered to be continuously receiving, the data receiving entity can submit the data packet in the correctly received sequence to the high layer, after the data receiving entity receives the PDU, the PDU is analyzed, the packet head is removed to obtain the data packet, and the lower boundary of the receiving window is moved to the next SN of the SN which is submitted to the high layer at the last time.
In this embodiment, after sending the PDU to the data receiving entity, the data sending entity records SNs of the sent PDU, and sends information of the SNs to the data receiving entity, so that the data receiving entity can determine which PDUs are missing PDUs sent by the data sending entity but not correctly received by the data receiving entity, and feeds back the information of the SNs of the missing PDUs to the data sending entity, so that the data sending entity resends the PDUs, and further, the data can be normally transmitted.
It should be noted that the apparatuses provided in the second and fourth embodiments of the present invention are apparatuses capable of correspondingly implementing the data transmission method provided in the foregoing method embodiments, so that all embodiments based on the data transmission method provided in the foregoing method embodiments can be correspondingly applied to the second and fourth embodiments, and can achieve the same or similar beneficial effects.
In the several embodiments provided in the present application, it should be understood that the disclosed method and apparatus may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be physically included alone, or two or more units may be integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer-readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) to execute some steps of the transceiving method according to various embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
While the foregoing is directed to the preferred embodiment of the present invention, it will be appreciated by those skilled in the art that various changes and modifications may be made therein without departing from the principles of the invention as set forth in the appended claims.