CN112865931B - Data retransmission processing method, device, equipment and readable storage medium - Google Patents

Data retransmission processing method, device, equipment and readable storage medium Download PDF

Info

Publication number
CN112865931B
CN112865931B CN202011610900.XA CN202011610900A CN112865931B CN 112865931 B CN112865931 B CN 112865931B CN 202011610900 A CN202011610900 A CN 202011610900A CN 112865931 B CN112865931 B CN 112865931B
Authority
CN
China
Prior art keywords
message
data
identifier
retransmission
receiving end
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011610900.XA
Other languages
Chinese (zh)
Other versions
CN112865931A (en
Inventor
胡呈欣
郑自永
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Comba Network Systems Co Ltd
Original Assignee
Comba Network Systems 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 Comba Network Systems Co Ltd filed Critical Comba Network Systems Co Ltd
Priority to CN202011610900.XA priority Critical patent/CN112865931B/en
Publication of CN112865931A publication Critical patent/CN112865931A/en
Application granted granted Critical
Publication of CN112865931B publication Critical patent/CN112865931B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1867Arrangements specially adapted for the transmitter end
    • H04L1/189Transmission or retransmission of more than one copy of a message
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/1607Details of the supervisory signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1829Arrangements specially adapted for the receiver end
    • H04L1/1858Transmission or retransmission of more than one copy of acknowledgement message

Abstract

The invention discloses a data retransmission processing method, a device, equipment and a readable storage medium, wherein the method comprises the following steps: detecting first confirmation information fed back by a data receiving end, wherein the first confirmation information comprises a feedback identifier of whether the data receiving end receives a first message and a first identifier of the first message; when the feedback identification indicates that the data receiving end does not receive the first message, detecting whether a newly transmitted message to be issued exists or not; if yes, packaging the first identifier as a message header of the newly transmitted message; and sending the newly transmitted message with the message header as the first identifier to the data receiving end as a retransmission message of the first message. The first identifier of the first message is packaged as the message header of the newly transmitted message, so that the data receiving end can identify the first identifier as the retransmitted first message, the message of the protocol layer can be continuously transmitted to the lower layer under a retransmission mechanism, the efficiency of a data downlink sending process is promoted, and the purpose of accelerating data transmission is achieved.

Description

Data retransmission processing method, device, equipment and readable storage medium
Technical Field
The present invention relates to the field of mobile communication technologies, and in particular, to a data retransmission processing method, apparatus, device, and readable storage medium.
Background
In a general protocol stack, a MAC (medium access control) layer and an RLC (radio link control) layer of a link layer are both provided with a retransmission mechanism, wherein the RLC layer has three service modes: the AM mode, the UM mode and the TM mode, the AM mode refers to that the data transmission of the RLC layer supports segmentation, deduplication and retransmission of erroneous data, the UM mode refers to that the data transmission supports segmentation but does not support retransmission, and the TM mode refers to that the data transmission of the RLC layer is completely transparent, and no retransmission, grouping or reassembly is performed on the data.
When the RLC layer adopts an AM mode, a retransmission mechanism of the RLC layer is similar to that of an MAC layer, when a receiving end of the RLC layer receives correct/incorrect data or does not receive the data, whether the required data are received or not can be fed back to a sending end through an acknowledgement message ACK or NACK in an RLC status report, the sending end of the RLC layer backups the data after sending the data, and only after receiving the ACK message, the sent data in a backup cache can be cleaned; and after receiving the NACK message, the corresponding data in the backup cache is retransmitted to the receiving end, so that the retransmission of the data is realized. Since the RLC layer in the AM mode has high data transmission reliability, the protocol stack configured in most devices/apparatuses defaults the RLC layer to transmit in the acknowledged mode.
Although the retransmission mechanism maintains the reliability of data, the transmission speed of data is sacrificed, when the RLC layer needs to retransmit a data packet/packet, the rhythm of newly transmitted data transmission of the RLC layer and the increase of a data transmission window are hindered, and in an extreme case, for example, under the condition that the data packet/packet is not successfully received after being retransmitted for many times or under the condition that the network condition is poor, the RLC layer cannot transmit any newly transmitted data, and adverse phenomena such as high-layer data accumulation and packet loss above the RLC layer are caused.
Disclosure of Invention
The present invention is directed to overcome at least one of the above-mentioned drawbacks of the prior art, and provides a data retransmission processing method, apparatus, device and readable storage medium, which are used to solve the problem that a retransmission mechanism of a protocol layer causes backlog and loss of newly transmitted data in a higher layer of the protocol layer in an extreme case.
The technical scheme adopted by the invention comprises the following steps:
a method for processing retransmission of protocol layer data comprises the following steps: detecting first confirmation information fed back by a data receiving end, wherein the first confirmation information comprises a feedback identifier of whether the data receiving end receives a first message or not and a first identifier of the first message; when the feedback identification indicates that the data receiving end does not receive the first message, detecting whether a newly transmitted message to be issued exists; if yes, packaging the first identifier as a message header of the newly transmitted message; and sending the newly transmitted message with the message header as the first identifier to the data receiving end as a retransmission message of the first message.
As described in the background art, although the protocol layer provided with a retransmission mechanism ensures the reliability of data, the speed of overall data transmission is greatly reduced, and particularly, under the extreme condition that multiple times of data retransmission of the protocol layer are unsuccessful, the data of the protocol layer at a high layer cannot be issued, which results in overstock and loss of newly transmitted data to be issued at a high layer, therefore, the invention provides a method for processing data retransmission of the protocol layer, when a feedback identifier of first confirmation information is that a data receiving end does not receive a first message every time when a first confirmation information fed back by the data receiving end, the first message should be retransmitted to the receiving end originally, but to avoid the above problem, whether a newly transmitted message to be issued is detected before retransmission, if so, the newly transmitted message is preferentially transmitted, and a first identifier is encapsulated as a message header of the newly transmitted message; if a plurality of newly transmitted messages to be issued are available, the first newly transmitted message to be issued is selected to be retransmitted to the data receiving end as the first message, so that the data receiving end mistakenly regards the received retransmitted message as the newly transmitted message, but the retransmitted message is actually the newly transmitted message, namely, the newly transmitted message is disguised as the retransmitted message, therefore, the newly transmitted message can be continuously transmitted to the corresponding receiving end under a retransmission mechanism, and the problem that the newly transmitted message is overstocked or lost under certain conditions is avoided. In consideration of data reliability, a common protocol stack sets a retransmission mechanism for default of an individual protocol layer, and the method for processing retransmission of the protocol layer data improves retransmission of the protocol layer with the retransmission mechanism set by default, so that a data receiving end identifies the protocol layer as a first retransmitted message, the message of the protocol layer can be continuously transmitted to a lower layer under the retransmission mechanism, the efficiency of a data downlink transmission process is promoted, and the purpose of accelerating data transmission is achieved.
Further, after detecting whether there is a new packet to be delivered, the method further includes: if not, packaging the first identifier into a message header of a standard message, and sending the standard message with the message header as the first identifier to the data receiving end as a retransmission message of the first message.
If there is no data to be issued, a packet header encapsulating the first identifier as a standard packet is selected, the standard packet is retransmitted to a receiving end of a protocol layer as the packet, the standard packet refers to a small format data packet conforming to a packet format, retransmission is performed in this way without retransmitting the packet substantially, and since the standard packet format is small and has no substantial content, retransmission of the standard packet disguised as the packet to the corresponding receiving end can improve retransmission speed of the protocol layer and overall data transmission speed.
Further, before detecting the first acknowledgment information fed back by the data receiving end, the method further includes: and sending the first message to the data receiving end.
Further, after the sending the first packet to the data receiving end, the method further includes: and saving the sent first message without backup.
Further, after sending the newly transmitted packet with the packet header as the first identifier to the data receiving end as the retransmission packet of the first packet, the method further includes: and detecting second confirmation information fed back by a data receiving end, wherein the second confirmation information comprises a feedback identifier of the first message received by the data receiving end.
A protocol layer data retransmission processing method comprises the following steps: feeding back first confirmation information to a data sending end, wherein the first confirmation information comprises a feedback identifier of whether a first message is received and a first identifier of the first message; when the feedback identifier does not receive the first message, receiving a retransmission message of the first message sent by the data sending end; when the data sending end detects that a newly transmitted message to be issued exists, the retransmission message encapsulates the first identifier as a message header of the newly transmitted message, and the newly transmitted message with the message header as the first identifier is used as the retransmission message of the first message.
Further, after receiving the retransmission packet of the first packet sent by the data sending end, the method further includes: judging whether the retransmission message comprises the first identifier or not; and if so, feeding back second confirmation information to the data sending end, wherein the second confirmation information comprises a feedback identifier of the received first message.
A protocol layer data retransmission apparatus, comprising: the first data detection module is used for detecting first confirmation information fed back by a data receiving end, wherein the first confirmation information comprises a feedback identifier of whether the data receiving end receives a first message and a first identifier of the first message; the second data detection module is used for detecting whether a newly transmitted message to be issued exists or not when the feedback identification indicates that the data receiving end does not receive the first message; the encapsulation module is used for encapsulating the first identifier into a message header of the newly transmitted message when detecting that the newly transmitted message to be issued exists; and the data retransmission module is used for sending the newly transmitted message with the message header as the first identifier to the data receiving end as the retransmission message of the first message.
Further, the encapsulation module is further configured to encapsulate the first identifier as a packet header of a standard packet when detecting that there is no new packet to be transmitted; the data retransmission module is further configured to send the standard packet with the packet header as the first identifier to the data receiving end as a retransmission packet of the first packet.
Further, the data transmission module is used for sending the first message to the data receiving end.
Further, the data transmission module is further configured to save the sent first packet without backup after sending the first packet to the data receiving end.
Further, the first data detection module is further configured to detect second acknowledgement information fed back by the data receiving end after the data retransmission module sends the newly transmitted packet with the packet header being the first identifier as a retransmission packet of the first packet to the data receiving end; the second acknowledgement information includes a feedback identifier that the data receiving end has received the first packet.
A protocol layer data retransmission apparatus, comprising: the feedback module is used for feeding back first confirmation information to the data sending end, wherein the first confirmation information comprises a feedback identifier of whether a first message is received and a first identifier of the first message; a data receiving module, configured to receive a retransmission packet of the first packet sent by the data sending end when the feedback identifier indicates that the first packet is not received; and when the data sending end detects that a newly transmitted message to be sent exists, the retransmission message is a message header of the newly transmitted message packaged by the first identifier, and the newly transmitted message with the message header as the first identifier is used as the retransmission message of the first message.
Further, the feedback module is further configured to determine, after the data receiving module receives a retransmission packet of the first packet sent by the data sending end, whether the retransmission packet includes the first identifier; and if so, feeding back second acknowledgement information to the data sending end, wherein the second acknowledgement information comprises a feedback identifier of the received first message.
A computer device comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements any one of the above protocol layer data retransmission processing methods when executing the computer program.
A computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements any one of the above-described protocol layer data retransmission processing methods.
Compared with the prior art, the invention has the beneficial effects that:
(1) The method for processing retransmission of protocol layer data, provided by the invention, enables the data receiving end to identify the first identifier of the first message as the retransmitted first message by packaging the first identifier of the first message as the message header of a newly transmitted message, so that the message of the protocol layer can be continuously transmitted to the lower layer under a retransmission mechanism, the efficiency of a data downlink sending process is promoted, and the purpose of accelerating data transmission is realized.
(2) When no new message to be transmitted exists, the standard message with a smaller format is selected to be packaged as the message to be retransmitted to the receiving end of the protocol layer, so that the retransmission speed of the protocol layer and the overall data transmission speed are improved.
Drawings
FIG. 1 is a schematic flow chart of steps S0-S4 of the method of embodiment 1 of the present invention.
FIG. 2 is a flowchart illustrating steps S01-S4 of the method of embodiment 1 of the present invention.
FIG. 3 is a flowchart illustrating steps S01-S5 of the method of embodiment 1 of the present invention.
Fig. 4 is a schematic block diagram of a protocol layer data retransmission apparatus according to embodiment 1 of the present invention.
Fig. 5 is a schematic block diagram of another protocol layer data retransmission apparatus according to embodiment 1 of the present invention.
The drawing comprises the following steps:
one of the protocol layer data retransmission apparatuses: a first data detection module 100; a second data detection module 200; a package module 300; a data retransmission module 400; a data transmission module 500;
wherein another protocol layer data retransmission device: a feedback module 10; a data receiving module 20.
Detailed Description
The drawings are only for purposes of illustration and are not to be construed as limiting the invention. For the purpose of better illustrating the following embodiments, certain features of the drawings may be omitted, enlarged or reduced, and do not represent the size of an actual product; it will be understood by those skilled in the art that certain well-known structures in the drawings and descriptions thereof may be omitted.
As shown in fig. 1, this embodiment provides a method for processing retransmission of protocol layer data, which includes the steps of:
s1: detecting first confirmation information fed back by the data receiving end, and executing the step S21 when the feedback identification indicates that the data receiving end does not receive the first message; when the feedback identifier indicates that the data receiving end receives the first message, executing step S22;
s21: detecting whether a new message to be issued exists, if so, executing the step S3; if not, executing the step S4;
s22: the first message is not retransmitted and the backup of the corresponding message is deleted;
s3: packaging the first identifier of the first message into a message header of the newly transmitted message; sending the newly transmitted message with the message header as the first identifier to the data receiving end as a retransmission message of the first message;
s4: and packaging the first identifier into a message header of a standard message, and sending the standard message with the message header as the first identifier to the data receiving end as a retransmission message of the first message.
Specifically, the method provided by this embodiment is applied to a data sending end of a protocol layer, and the main bodies of the data sending end and the corresponding data receiving end may be any suitable communication device, such as a base station, a server, or a terminal.
In the existing general protocol stack, a part of protocol layers is provided with a retransmission mechanism, and although the protocol layers provided with the retransmission mechanism ensure the reliability of data, the speed of overall data transmission is greatly reduced, especially under the extreme condition that multiple times of data retransmission of the protocol layers are unsuccessful, data of a high-layer protocol layer cannot be issued to the protocol layer, which results in the backlog and loss of newly transmitted data to be transmitted by the high layer, therefore, the embodiment provides a method for processing retransmission of data of the protocol layer, and before executing step S1, specifically, the method further includes an initial step S0: sending the first message to a data receiving end; after sending the message, executing step S1: the method includes detecting first acknowledgement information fed back by a data receiving end, specifically, the first acknowledgement information includes a feedback identifier indicating whether the data receiving end receives a first packet and a first identifier of the first packet, where the first identifier is a character used for distinguishing each first packet, and exemplarily, the first identifier is a serial number of the packet, that is, an SN number. When the feedback identifier indicates that the data receiving end receives the first packet, step S22 is executed: the first message is not retransmitted and the backup of the corresponding message is deleted; when the feedback identifier indicates that the data receiving end does not receive the first message, performing step S21 on each first message that the feedback confirmation information indicates that the first message is not successfully received, and uniformly representing the first message as a first message that is not successfully received; step S21 is executed, and when the feedback identifier indicates that the data receiving end does not receive the first packet, the first packet should be retransmitted to the receiving end originally, but in order to avoid the aforementioned problems, step S2 detects whether a new packet to be sent is to be sent, if yes, the new packet is preferentially transmitted, and step S3 is executed: packaging the first identifier of the first message into a message header of the newly transmitted message; if a plurality of newly transmitted messages to be issued are available, the first newly transmitted message to be issued is selected to be encapsulated into the message header by the first identifier, and the newly transmitted message is retransmitted to the data receiving end as the first message, so that the data receiving end can identify the newly transmitted message as the first message based on the first identifier, the data receiving end misunderstands that the retransmitted first message is received, but the retransmitted message received by the data receiving end is actually the newly transmitted message, that is, the newly transmitted message is disguised as the retransmitted first message, thereby realizing that the newly transmitted message can be continuously transmitted to the corresponding receiving end under a retransmission mechanism, and avoiding the problem that the newly transmitted message has backlog or packet loss under some conditions.
In step S2, if there is no new transmission message to be issued, step S4 is executed: packaging the first identifier into a message header of a standard message, and sending the standard message with the message header as the first identifier to the data receiving end as a retransmission message of the first message; and S4, selecting a standard message as the message to be retransmitted to a data receiving end, wherein the standard message refers to a small-format data packet conforming to the message form, and the message is retransmitted in such a way that the message is not retransmitted substantially. In consideration of data reliability, the common protocol stack sets a retransmission mechanism as default for an individual protocol layer, so that the method for processing retransmission of protocol layer data provided in this embodiment improves retransmission of the protocol layer with the retransmission mechanism set as default, and transmits newly transmitted data to a corresponding receiving end as retransmission data, thereby ensuring that a message of a higher protocol layer can be continuously transmitted to a lower layer under the retransmission mechanism, promoting efficiency of a data downlink transmission process, and achieving the purpose of accelerating data transmission.
Specifically, the feedback flag of the first acknowledgement information is generally NACK or ACK, where NACK indicates that the message is not successfully received, and ACK indicates that the message is successfully received.
Preferably, as shown in fig. 2, step S0 of the method provided in this embodiment is divided into two specific steps:
s01: sending the first message to a data receiving end;
s02: and saving the sent first message without backup.
Because the protocol layer is provided with a retransmission mechanism, all sent messages are backed up by default, and only after the feedback identifier in the first confirmation information fed back by the data receiving end in the step S1 is that the sent first message is successfully received, the step S22 is executed to delete the backup of the sent first message, but because the whole method does not actually retransmit the first message, no sent message needs to be retransmitted, that is, the sent message does not need to be backed up, so the step S02 is executed after the step S01 is executed: and saving the sent first message without backup. Therefore, based on step S02, step S22 executed after the feedback identifier in the first acknowledgement information fed back by the data receiving end in step S1 is that the sent first message is successfully received is nothing. And each first message is deleted after being sent to the data receiving end without backup, so that the software operation speed of a protocol layer can be increased, and the performance loss of the protocol layer can be reduced.
Preferably, the method further comprises: after step S3 is performed, step S5 is performed, or after step S4 is performed, step S5 is performed:
s5: detecting second confirmation information fed back by the data receiving end;
specifically, the second acknowledgement information includes a feedback identifier that the data receiving end has received the first packet; step S5 confirms that the data receiving end receives the newly transmitted message retransmitted as the first message, so as to ensure that the newly transmitted message can be continuously transmitted to the corresponding data receiving end under the retransmission mechanism, thereby avoiding the problem of backlog or packet loss of the newly transmitted message under certain circumstances.
Based on the above, as shown in fig. 3, the preferred execution process of the method provided by this embodiment is as follows:
step S01 is executed: sending the first message to a data receiving end; step S02 is executed: the sent first message is not backed up and stored; each first message is deleted after being sent to the data receiving end without backup, so that the software operation speed of a protocol layer can be increased, and the performance loss of the protocol layer can be reduced; executing step S1: detecting first confirmation information fed back by the data receiving end, and executing the step S22 when the feedback identification indicates that the data receiving end receives the first message: no operation is performed; when the feedback identifier indicates that the data receiving end does not receive the first packet, step S21 is executed: detecting whether a new message to be issued exists, if so, executing the step S3: packaging the first identifier of the first message into a message header of the newly transmitted message; the newly transmitted message with the message header as the first identifier is sent to the data receiving end as the retransmission message of the first message, so that the data receiving end can identify the newly transmitted message as the first message based on the first identifier, the data receiving end mistakenly regards that the retransmitted first message is received, but the retransmitted message received by the data receiving end is the newly transmitted message, the newly transmitted message can be continuously transmitted to the corresponding receiving end under a retransmission mechanism, and the problem that the newly transmitted message is overstocked or lost under certain conditions is avoided; after step S3 is executed, step S5 is executed: detecting second confirmation information fed back by the data receiving end; the second confirmation information comprises a feedback identifier of the first message received by the data receiving end; it is confirmed through step S5 that the data receiving end receives the newly transmitted message as the retransmission of the first message. If no new transmission message to be issued exists, executing step S4: the standard message is selected as the first message to be retransmitted to a data receiving end, the standard message refers to a small format data packet which accords with the message form, the retransmission is carried out in this way, the first message is not retransmitted substantially, and because the standard message has a small format and no substantial content, the retransmission of the standard message which is pretended to be the first message to the corresponding receiving end can improve the retransmission speed of a protocol layer and the overall data transmission speed; after step S4, step S5 is also performed: and detecting second confirmation information fed back by the data receiving end.
Specifically, the method provided in this embodiment may be applied to optimize data transmission of an RLC layer and a PDCP layer in a general TCP/IP protocol stack, where the PDCP layer is an upper protocol layer of the RLC layer. The method is applied to a sending end of an RLC layer, and when the method is applied, the data transmission process of the RLC layer and a PDCP layer is as follows:
the RLC layer sending end receives a plurality of PDCP messages sent by the PDCP layer sending end, performs RLC message head packaging on the plurality of PDCP messages to form RLC messages and sends the RLC messages, and executes the step S01: sending an RLC message to an RLC layer receiving end; step S02 is executed: and deleting the sent RLC message after each RLC message is sent without backup. The RLC message is transmitted to an RLC layer receiving end, the RLC layer receiving end analyzes the RLC message and feeds back first confirmation information to an RLC layer transmitting end, the first confirmation information comprises a feedback identification of whether the RLC receiving end receives the RLC message and a first identifier of the corresponding RLC message, the first confirmation information is generally an RLC status report, and the RLC layer receiving end transmits a plurality of analyzed PDCP messages to the PDCP layer receiving end.
The RLC layer sending end executes the step S1: detecting first confirmation information fed back by the receiving end of the RLC layer, and executing the step S22 when the feedback identifier is ACK, namely the receiving end of the RLC layer receives the RLC message: no operation is performed; when the feedback flag is NACK, that is, the RLC layer receiving end does not receive the RLC packet, step S21 is executed: detecting whether a new message to be sent exists at a sending end of the PDCP layer, if so, executing the step S3: packaging a first identifier of an RLC message which is not successfully received by an RLC layer receiving end into a message header of the newly transmitted message; the new message with the message header as the first identifier is sent to the RLC layer receiving end as the retransmission message of the RLC message, so that the data receiving end can identify the new message as the unsuccessfully received RLC message based on the first identifier, the RLC layer receiving end misunderstands that the retransmitted RLC message is received, but the retransmitted message received by the RLC layer receiving end is the new message, the new message can be continuously transmitted to the corresponding receiving end under the retransmission mechanism of the RLC layer, and the problem that the new message of the PDCP layer is overstocked or lost under certain conditions is avoided; the RLC layer transmitting end performs step S5: detecting second confirmation information fed back by a receiving end of an RLC layer; the step S5 confirms that the RLC layer receiving end receives the newly transmitted message as the retransmission of the RLC message.
If detecting that no new message to be sent exists at the sending end of the PDCP layer, executing the step S4: the standard message is selected to be retransmitted to the RLC layer receiving end as the RLC message, the standard message refers to a small format data packet which accords with the message form, the RLC message is retransmitted in this way, and the retransmission is not performed substantially. After receiving the retransmitted newly transmitted message, the RLC layer receiving end feeds back second confirmation information to the RLC layer sending end, wherein the second confirmation information comprises a feedback identifier, the feedback identifier is ACK, and the RLC layer receiving end is identified to receive the retransmitted RLC message, namely the newly transmitted message; the RLC layer transmitting end performs step S5: detecting second confirmation information fed back by a receiving end of an RLC layer; the step S5 confirms that the RLC layer receiving end receives the newly transmitted message which is retransmitted by the RLC message, so that the newly transmitted message can be continuously transmitted to the RLC layer receiving end under a retransmission mechanism, and the problem that the newly transmitted message is overstocked or lost under certain conditions is avoided.
Based on the same idea as the above-mentioned protocol layer data retransmission processing method applied to the data transmitting end, as shown in fig. 4, this embodiment further provides a protocol layer data retransmission apparatus, which may be used to execute the above-mentioned protocol layer data retransmission processing method.
The device includes: a first data detection module 100, configured to detect first acknowledgement information fed back by a data receiving end, where the first acknowledgement information includes a feedback identifier indicating whether the data receiving end receives a first packet and a first identifier of the first packet;
a second data detection module 200, configured to detect whether there is a new packet to be sent when the feedback identifier indicates that the data receiving end does not receive the first packet;
an encapsulating module 300, configured to encapsulate the first identifier as a packet header of the new packet when it is detected that the new packet to be sent exists;
a data retransmission module 400, configured to send a newly transmitted packet with the header being the first identifier to the data receiving end as a retransmission packet of the first packet.
Specifically, the encapsulating module 300 is further configured to encapsulate the first identifier as a packet header of a standard packet when detecting that there is no new packet to be transmitted;
the data retransmission module 400 is further configured to send the standard packet with the header being the first identifier to the data receiving end as a retransmission packet of the first packet.
Specifically, the data transmission module 500 is further included, and is configured to send the first packet to the data receiving end.
Specifically, the data transmission module 500 is further configured to save the sent first packet without backup after sending the first packet to the data receiving end.
Specifically, the first data detection module 100 is further configured to detect second acknowledgement information fed back by the data receiving end after the data retransmission module 400 sends a newly transmitted packet with the header being the first identifier to the data receiving end as a retransmission packet of the first packet;
specifically, the second acknowledgement information includes a feedback identifier that the data receiving end has received the first packet.
In the embodiment of the protocol layer data retransmission apparatus, the logical division of each functional module is only used as an example, and in practical applications, the above functions may be allocated by different functional modules according to needs, for example, in consideration of the configuration requirements of hardware or the implementation of software, that is, the internal structure of the protocol layer data retransmission apparatus may be divided into functional modules different from those described above, but all the functions described above can be completed. Next, the contents such as the execution process of the protocol layer data retransmission apparatus in the above example are based on the same concept as the protocol layer data retransmission processing method applied to the data transmitting end in the present embodiment, and the principle and the technical effect thereof are the same as the above protocol layer data retransmission processing method applied to the data transmitting end, and specific contents can be referred to the description of the method implementation mode, and are not described herein again.
Based on the same idea as the above protocol layer data retransmission processing method applied to the data transmitting end, this embodiment further provides another protocol layer data retransmission processing method, which is applied to the data receiving end, and includes: feeding back first confirmation information to a data sending end, wherein the first confirmation information comprises a feedback identifier of whether a first message is received and a first identifier of the first message; when the feedback identifier does not receive the first message, receiving a retransmission message of the first message sent by the data sending end; when the data sending end detects that a new message to be sent exists, the retransmission message encapsulates the first identifier as a message header of the new message, and the new message with the message header as the first identifier is used as the retransmission message of the first message.
Specifically, after receiving a retransmission packet of the first packet sent by the data sending end, the method further includes: judging whether the retransmission message comprises the first identifier or not; and if so, feeding back second confirmation information to the data sending end, wherein the second confirmation information comprises a feedback identifier of the received first message.
Specifically, the method is applied to a data receiving end of a protocol layer, and a main body of the data sending end of the protocol layer and the data receiving end of the protocol layer may be any suitable communication device such as a base station, a server, or a terminal.
Because the retransmitted message is encapsulated with the message header of the first identifier, the data receiving end can identify the retransmitted message as the retransmitted first message based on the message header, but actually, the retransmitted message is a newly transmitted message, so that the newly transmitted message can be continuously transmitted to the corresponding receiving end under a retransmission mechanism, and the problem that the newly transmitted message is overstocked or lost under certain conditions is avoided.
Based on the same idea as the above protocol layer data retransmission processing method applied to the data receiving end, as shown in fig. 5, this embodiment further provides another protocol layer data retransmission processing apparatus.
The device includes: a feedback module 10, configured to feed back the first acknowledgement information to the data sending end;
specifically, the first acknowledgement information includes a feedback identifier indicating whether a first packet is received and a first identifier of the first packet;
a data receiving module 20, configured to receive a retransmission packet of the first packet sent by the data sending end when the feedback identifier indicates that the first packet is not received;
specifically, when the data sending end detects that there is a new packet to be sent, the retransmission packet is a packet header of the new packet, and the new packet whose packet header is the first identifier is used as the retransmission packet of the first packet.
Specifically, the feedback module 10 is further configured to, after the data receiving module 20 receives a retransmission packet of the first packet sent by the data sending end, determine whether the retransmission packet includes the first identifier; if yes, feeding back second confirmation information to the data sending end;
specifically, the second acknowledgement information includes a feedback identifier of the received first packet.
In the embodiment of the protocol layer data retransmission apparatus, the logical division of each functional module is only used as an example, and in practical applications, the above functions may be allocated by different functional modules according to needs, for example, due to the configuration requirements of hardware or the realization of software, that is, the internal structure of the protocol layer data retransmission apparatus may be divided into functional modules different from those described above, but all the functions described above can be completed. Next, the contents such as the execution process of the protocol layer data retransmission apparatus in the above example are based on the same concept as the protocol layer data retransmission processing method applied to the data receiving end in the present embodiment, and the principle and technical effect thereof are the same as the protocol layer data retransmission processing method applied to the data receiving end, and specific contents can be referred to the description of the method implementation mode, and are not described herein again.
The embodiment also provides a computer device, which includes a memory and a processor, where the memory stores a computer program, and the processor implements any one of the above protocol layer data retransmission processing methods when executing the computer program.
The present embodiment also provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements any one of the above-mentioned protocol layer data retransmission processing methods.
It should be understood that the above-mentioned embodiments of the present invention are only examples for clearly illustrating the technical solutions of the present invention, and are not intended to limit the specific embodiments of the present invention. Any modification, equivalent replacement, and improvement made within the spirit and principle of the claims of the present invention should be included in the protection scope of the claims of the present invention.

Claims (11)

1. A method for processing retransmission of protocol layer data, comprising:
detecting first confirmation information fed back by a data receiving end, wherein the first confirmation information comprises a feedback identifier of whether the data receiving end receives a first message and a first identifier of the first message;
when the feedback identification indicates that the data receiving end does not receive the first message, detecting whether a newly transmitted message to be issued exists or not;
if yes, packaging the first identifier as a message header of the newly transmitted message;
and sending the newly transmitted message with the message header as the first identifier to the data receiving end as a retransmission message of the first message.
2. The data retransmission processing method according to claim 1, wherein after detecting whether there is a new packet to be transmitted, the method further comprises:
if not, packaging the first identifier into a message header of a standard message, and sending the standard message with the message header as the first identifier to the data receiving end as a retransmission message of the first message.
3. The method according to claim 1, wherein before detecting the first acknowledgement information fed back by the data receiving end, the method further comprises: and sending the first message to the data receiving end.
4. The method according to claim 3, wherein after the sending the first packet to the data receiving end, the method further comprises: and saving the sent first message without backup.
5. The data retransmission processing method according to any one of claims 1 to 4, wherein after the sending the newly transmitted packet with the packet header as the first identifier to the data receiving end as the retransmission packet of the first packet, the method further includes:
and detecting second confirmation information fed back by a data receiving end, wherein the second confirmation information comprises a feedback identifier of the first message received by the data receiving end.
6. A method for processing retransmission of protocol layer data, comprising:
feeding back first confirmation information to a data sending end, wherein the first confirmation information comprises a feedback identifier of whether a first message is received and a first identifier of the first message;
when the feedback identifier does not receive the first message, receiving a retransmission message of the first message sent by the data sending end;
when the data sending end detects that a newly transmitted message to be issued exists, the retransmission message encapsulates the first identifier as a message header of the newly transmitted message, and the newly transmitted message with the message header as the first identifier is used as the retransmission message of the first message.
7. The method according to claim 6, wherein after receiving the retransmission packet of the first packet sent by the data sending end, the method further comprises:
judging whether the retransmission message comprises the first identifier or not;
and if so, feeding back second acknowledgement information to the data sending end, wherein the second acknowledgement information comprises a feedback identifier of the received first message.
8. A protocol layer data retransmission apparatus, comprising:
the first data detection module is used for detecting first confirmation information fed back by a data receiving end, wherein the first confirmation information comprises a feedback identifier of whether the data receiving end receives a first message and a first identifier of the first message;
the second data detection module is used for detecting whether a newly transmitted message to be issued exists or not when the feedback identifier indicates that the data receiving end does not receive the first message;
the encapsulation module is used for encapsulating the first identifier into a message header of the newly transmitted message when detecting that the newly transmitted message to be issued exists;
and the data retransmission module is used for sending the newly transmitted message with the message header as the first identifier to the data receiving end as the retransmission message of the first message.
9. A protocol layer data retransmission apparatus, comprising:
the feedback module is used for feeding back first confirmation information to the data sending end, wherein the first confirmation information comprises a feedback identifier of whether a first message is received and a first identifier of the first message;
a data receiving module, configured to receive a retransmission packet of the first packet sent by the data sending end when the feedback identifier indicates that the first packet is not received;
and when the data sending end detects that a newly transmitted message to be sent exists, the retransmission message is a message header of the newly transmitted message packaged by the first identifier, and the newly transmitted message with the message header as the first identifier is used as the retransmission message of the first message.
10. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the protocol layer data retransmission processing method according to any one of claims 1 to 5 or the protocol layer data retransmission processing method according to any one of claims 6 to 7 when executing the computer program.
11. A computer-readable storage medium having stored thereon a computer program, wherein the computer program, when executed by a processor, implements the protocol layer data retransmission processing method according to any one of claims 1 to 5, or the protocol layer data retransmission processing method according to any one of claims 6 to 7.
CN202011610900.XA 2020-12-30 2020-12-30 Data retransmission processing method, device, equipment and readable storage medium Active CN112865931B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011610900.XA CN112865931B (en) 2020-12-30 2020-12-30 Data retransmission processing method, device, equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011610900.XA CN112865931B (en) 2020-12-30 2020-12-30 Data retransmission processing method, device, equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN112865931A CN112865931A (en) 2021-05-28
CN112865931B true CN112865931B (en) 2022-12-06

Family

ID=75998581

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011610900.XA Active CN112865931B (en) 2020-12-30 2020-12-30 Data retransmission processing method, device, equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN112865931B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117692107A (en) * 2022-09-07 2024-03-12 中兴通讯股份有限公司 RLC data transmission method, device, computer equipment and readable medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111082898A (en) * 2018-10-19 2020-04-28 华为技术有限公司 Message processing method and device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100495957C (en) * 2004-08-11 2009-06-03 华为技术有限公司 Affirmation information error code detecting method for automatic retransmission requesting system
CN103986647A (en) * 2014-05-21 2014-08-13 大唐移动通信设备有限公司 Message transmission method and device
US9496987B2 (en) * 2014-12-11 2016-11-15 International Business Machines Corporation Method for redelivering a subset of messages in a packet to a receiver application
CN106254041A (en) * 2015-08-20 2016-12-21 北京智谷技术服务有限公司 Data transmission method, data receiver method and device thereof
CN106856457B (en) * 2015-12-09 2019-09-20 华为技术有限公司 A kind of data transmission method, sending device and reception device
CN111740939B (en) * 2019-08-07 2022-11-08 北京京东尚科信息技术有限公司 Message transmission device, message transmission equipment, message transmission method and storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111082898A (en) * 2018-10-19 2020-04-28 华为技术有限公司 Message processing method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
R2-123592 "Impact on Handover with PDCP SN change";MediaTek Inc.;《3GPP tsg_ran\WG2_RL2》;20120807;全文 *

Also Published As

Publication number Publication date
CN112865931A (en) 2021-05-28

Similar Documents

Publication Publication Date Title
EP2493104B1 (en) Header compression data packet transmission method and device based on retransmission mechanism
CN101176292B (en) Method and apparatus for improving data transmission reliability in a wireless communications system
CN101030842B (en) Method and apparatus for rearranging data in mobile telecommunication system
USRE43151E1 (en) Acknowledging data transmissions in the presence of multiple shared-communications channels
CN112865931B (en) Data retransmission processing method, device, equipment and readable storage medium
CN103999394A (en) Data retransmission and feedback methods, and corresponding apparatus
WO2021208694A1 (en) Data transmission method and network device
KR101075722B1 (en) Method for reporting packet process result in a mobile communication system
US20230090249A1 (en) Radio link control status report method and corresponding apparatus
EP3672189B1 (en) Data transmission method, device and system
CN102201901A (en) Data retransmission method and device
US11316620B2 (en) Enhanced HARQ algorithm for large round trip delay links
WO2022042379A1 (en) Data processing method, base station, terminal, and storage medium
US20220158771A1 (en) Method of enabling harq, network entity and computer program
KR20020039188A (en) A method for transmitting data at MAC layer in wireless LAN system
CN110708723B (en) Data transmission method and device
CN112865933B (en) Data retransmission method, device, equipment and storage medium
CN101552658A (en) Method and device for transmitting status report
CN111327403B (en) Enhanced RLC layer data transmission method
CN113132069A (en) Communication mechanism for packet loss retransmission and method for realizing same based on FPGA
KR100918735B1 (en) Method and apparatus for transmitting/receiving sequence number of packet in mobile telecommunication system
WO2019127533A1 (en) Feedback determination method, sending end, receiving end and system
CN110858794A (en) Multi-frequency band transmission method and device
CN107888341B (en) Data transmission method and device
KR20030041093A (en) Selective retransmission of data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant