CN107257270A - Data transmission method and system based on hybrid automatic repeat-request - Google Patents
Data transmission method and system based on hybrid automatic repeat-request Download PDFInfo
- Publication number
- CN107257270A CN107257270A CN201710398832.7A CN201710398832A CN107257270A CN 107257270 A CN107257270 A CN 107257270A CN 201710398832 A CN201710398832 A CN 201710398832A CN 107257270 A CN107257270 A CN 107257270A
- Authority
- CN
- China
- Prior art keywords
- packet
- sent
- receiving terminal
- unsuccessful
- data packets
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/12—Arrangements for detecting or preventing errors in the information received by using return channel
- H04L1/16—Arrangements 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/18—Automatic repetition systems, e.g. Van Duuren systems
- H04L1/1867—Arrangements specially adapted for the transmitter end
- H04L1/189—Transmission or retransmission of more than one copy of a message
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/004—Arrangements for detecting or preventing errors in the information received by using forward error control
- H04L1/0045—Arrangements at the receiver end
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/12—Arrangements for detecting or preventing errors in the information received by using return channel
- H04L1/16—Arrangements 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/18—Automatic repetition systems, e.g. Van Duuren systems
- H04L1/1812—Hybrid protocols; Hybrid automatic repeat request [HARQ]
- H04L1/1819—Hybrid protocols; Hybrid automatic repeat request [HARQ] with retransmission of additional or different redundancy
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/12—Arrangements for detecting or preventing errors in the information received by using return channel
- H04L1/16—Arrangements 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/18—Automatic repetition systems, e.g. Van Duuren systems
- H04L1/1829—Arrangements specially adapted for the receiver end
- H04L1/1835—Buffer management
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Detection And Prevention Of Errors In Transmission (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Communication Control (AREA)
Abstract
The present invention relates to network communication technology field, and in particular to data transmission method and system based on hybrid automatic repeat-request.The data transmission method based on hybrid automatic repeat-request of the present invention includes:Data to be sent are split as multiple packets by step S1, transmitting terminal, are that each packet encloses unique mark, the packet are sent into receiving terminal, and the packet is stored in memory block to be confirmed;Step S2, the receiving terminal is verified to the packet received, will be verified the corresponding mark of unsuccessful packet and is sent to the receiving terminal;Step S3, the transmitting terminal extracts the packet for needing to retransmit according to the mark received from the memory block to be confirmed, and is sent to the receiving terminal.Data transmission method based on hybrid automatic repeat-request and system that the present invention is provided, reliability has been taken into account by using accurate retransmission mechanism again while the real-time of data transfer is ensured.
Description
Technical field
The present invention relates to network communication technology field, and in particular to the data transmission method based on hybrid automatic repeat-request
And system.
Background technology
Prior art is general to transmit association in real-time live broadcast using rtmp (Real Time Messaging Protocol)
View, but be due to that rtmp agreements are to be based on tcp (Transmission Control Protocol, transmission control protocol) agreement
And develop, and tcp agreements are to accomplish reliability, so as to abandon some real-times, such as tcp slow threshold value and
Tcp Handshake Protocol etc..So we are usually present in the live product using rtmp agreements as communication protocol is seen
The data delay phenomenon of 2-5 seconds.Tcp agreements also have the phenomenon of accumulated delay, when network state is poor, and tcp consultations are by number
It is cached according to bag, so as to cause more accumulated delays.
Because there is above mentioned problem in rtmp agreements, thus in the higher product of requirement of real-time or industry rtmp without
Such as method reaches product demand, live industry, remote control industry etc..
The content of the invention
For defect of the prior art, data transmission method based on hybrid automatic repeat-request that the present invention is provided and
System, reliability has been taken into account by using accurate retransmission mechanism again while the real-time of data transfer is ensured.
In a first aspect, a kind of data transmission method based on hybrid automatic repeat-request that the present invention is provided, including:
Data to be sent are split as multiple packets by step S1, transmitting terminal, are that each packet encloses unique mark
Know, the packet is sent to receiving terminal, and the packet is stored in memory block to be confirmed;
Step S2, the receiving terminal is verified to the packet received, will verify unsuccessful packet pair
The mark answered is sent to the receiving terminal;
Step S3, the transmitting terminal extracts the number for needing to retransmit according to the mark received from the memory block to be confirmed
According to bag, and it is sent to the receiving terminal.
The data transmission method based on hybrid automatic repeat-request that the present embodiment is provided, data to be sent is split as many
It is transmitted after individual packet, receiving terminal is according to the packet situation received, it is determined that needing the packet retransmitted to feed back to hair
Sending end, such transmitting terminal just only need to retransmit the packet of packet loss, without retransmitting whole packet, reduce retransmission data bag
Quantity, reduces the pressure of bandwidth, improves data transmission efficiency, is taken into account again while the real-time of data transfer is ensured
Reliability.
Preferably, also include in the step S1:Redundant data packets are generated according to the packet, and are sent to described connect
Receiving end;
The step S2 is specifically included:
The receiving terminal is verified to the packet received;
It is extensive according to the redundant data packets if verifying the quantity that unsuccessful data packet number is not more than redundant data packets
Resume classes and test unsuccessful packet;
If verifying the quantity that unsuccessful data packet number is more than redundant data packets, unsuccessful packet pair will be verified
The mark answered is sent to the transmitting terminal.
Preferably, it is described that redundant data packets are generated according to the packet in the step S1, including:To the data
Bag carries out FEC codings, generates redundant data packets;
It is described to be recovered to verify unsuccessful packet according to redundant data packets in the step S2, including:To the redundancy
Packet carries out fec decoder processing, recovers the unsuccessful packet of verification.
Preferably, the step S1 is specifically included:
Transmitting terminal splits data to be sent to multiple packets;
The packet is sent packets into the receiving terminal, and the packet after packet is stored in memory block to be confirmed
In, wherein, the packet that each group has in packet numbering, each group has for unique mark;
The corresponding redundant data packets of every group of packet are generated, and are sent to the receiving terminal;
The step S2 is specifically included:The receiving terminal carries out following processing respectively to the every group of packet received:
Packet is verified;
It is extensive according to the redundant data packets if verifying the quantity that unsuccessful data packet number is not more than redundant data packets
Resume classes and test unsuccessful packet;
If verifying the quantity that unsuccessful data packet number is more than redundant data packets, unsuccessful packet pair will be verified
The mark and packet numbering answered are sent to the receiving terminal;
The step S3 is specifically included:The receiving terminal is numbered according to the mark and group that receive, from described to be confirmed
The packet for needing to retransmit is extracted in memory block, and is sent to the receiving terminal.
Preferably, the quantity of every group of packet is no more than 32.
Preferably, in the step S2, the corresponding mark of unsuccessful packet will be verified and be sent to the receiving terminal, wrapped
Include:The corresponding mark of unsuccessful packet will be verified and be sent to the receiving terminal according to ACK agreements.
Preferably, in the step S1, data to be sent are split as multiple packets by transmitting terminal, including:Transmitting terminal
Data to be sent are split as multiple packets, no more than 548 bytes of size of each packet.
Preferably, in addition to:In transmission of data packets, the transmitting terminal automatic measurement bandwidth, according to measurement result
Dynamic adjustment transmission rate.
Second aspect, a kind of data transmission system based on hybrid automatic repeat-request that the present invention is provided, including:
Transmitting terminal, is that each packet encloses unique mark for data to be sent to be split as into multiple packets,
The packet is sent to receiving terminal, and the packet is stored in memory block to be confirmed, according to the mark received from
The packet for needing to retransmit is extracted in the memory block to be confirmed, and is sent to the receiving terminal;
Receiving terminal, for being verified to the packet received, will verify the corresponding mark of unsuccessful packet
Knowledge is sent to the receiving terminal.
The data transmission system based on hybrid automatic repeat-request that the present embodiment is provided, data to be sent is split as many
It is transmitted after individual packet, receiving terminal is according to the packet situation received, it is determined that needing the packet retransmitted to feed back to hair
Sending end, such transmitting terminal just only need to retransmit the packet of packet loss, without retransmitting whole packet, reduce retransmission data bag
Quantity, reduces the pressure of bandwidth, improves data transmission efficiency, is taken into account again while the real-time of data transfer is ensured
Reliability.
Preferably, the transmitting terminal is additionally operable to:Redundant data packets are generated according to the packet, and are sent to the reception
End;
The receiving terminal specifically for:
Receiving terminal is verified to the packet received;
It is extensive according to the redundant data packets if verifying the quantity that unsuccessful data packet number is not more than redundant data packets
Resume classes and test unsuccessful packet;
If verifying the quantity that unsuccessful data packet number is more than redundant data packets, unsuccessful packet pair will be verified
The mark answered is sent to the transmitting terminal.
Brief description of the drawings
A kind of flow for data transmission method based on hybrid automatic repeat-request that Fig. 1 is provided by the embodiment of the present invention
Figure;
Fig. 2 has that packet loss quantity is less than or equal to redundancy packet quantity in being grouped for one;
Fig. 3 has that packet loss quantity is more than redundancy packet quantity in being grouped for one.
Embodiment
The embodiment of technical solution of the present invention is described in detail below in conjunction with accompanying drawing.Following examples are only used for
Clearly illustrate technical scheme, therefore be intended only as example, and the protection of the present invention can not be limited with this
Scope.
It should be noted that unless otherwise indicated, technical term or scientific terminology used in this application should be this hair
The ordinary meaning that bright one of ordinary skill in the art are understood.
As shown in figure 1, a kind of data transmission method based on hybrid automatic repeat-request is present embodiments provided, including:
Data to be sent are split as multiple packets by step S1, transmitting terminal, are that each packet encloses unique mark
Know, deliver a packet to receiving terminal, and packet is stored in memory block to be confirmed.
Step S2, receiving terminal is verified to the packet received, will verify the corresponding mark of unsuccessful packet
It is sent to receiving terminal.
Step S3, transmitting terminal extracts the packet for needing to retransmit according to the mark received from memory block to be confirmed, and
It is sent to receiving terminal.
The data transmission method based on hybrid automatic repeat-request that the present embodiment is provided, data to be sent is split as many
It is transmitted after individual packet, receiving terminal is according to the packet situation received, it is determined that needing the packet retransmitted to feed back to hair
Sending end, such transmitting terminal just only need to retransmit the packet of packet loss, without retransmitting whole packet, reduce retransmission data bag
Quantity, reduces the pressure of bandwidth, improves data transmission efficiency, is taken into account again while the real-time of data transfer is ensured
Reliability.
Wherein, in step S2, the corresponding mark of unsuccessful packet will be verified and be sent to receiving terminal, including:Will verification
Corresponding identify of unsuccessful packet is sent to receiving terminal according to ACK (Acknowledgement confirms character) agreement.
Wherein, no more than 548 bytes of the size of each packet of fractionation, can so ensure the efficiency of transmission of data
And packet loss is reduced as far as possible.
Based on above method embodiment, in order to further reduce data transmission efficiency, the present embodiment additionally provides another
Data transmission method based on hybrid automatic repeat-request, including:
Data to be sent are split as multiple packets by step S101, transmitting terminal, are that each packet is enclosed uniquely
Mark, delivers a packet to receiving terminal, and packet is stored in memory block to be confirmed, and redundant data is generated according to packet
Bag, and it is sent to receiving terminal.
Wherein, Forward Error Correction (FEC, Forward Error Correction) technology has been used to generate redundant data packets,
Specifically include:FEC codings are carried out to packet, redundant data packets are generated.Using FEC technologies, reach the improvement bit error rate, improve logical
Believe the purpose of reliability.
Wherein, no more than 548 bytes of the size of each packet of fractionation, can so ensure the efficiency of transmission of data
And packet loss is reduced as far as possible.
Step S102, receiving terminal is verified to the packet received, if it is little to verify unsuccessful data packet number
In the quantity of redundant data packets, then recovered to verify unsuccessful packet according to redundant data packets;If verifying unsuccessful data
Bag quantity is more than the quantity of redundant data packets, then will verify the corresponding mark of unsuccessful packet and be sent to transmitting terminal.
Wherein, recovered to verify unsuccessful packet according to redundant data packets, including:FEC solutions are carried out to redundant data packets
Code processing, recovers the unsuccessful packet of verification.
Assuming that the packet sum 10 of a group, the quantity of redundant data packets is 2.
As shown in Fig. 2 packet in No. 5 and 8 number bag packet losses (verifying unsuccessful packet), due to redundant data
Bag quantity is more than or equal to packet loss quantity, therefore the packet lost can directly calculate recovery by ldpc algorithms, so data
Bag No. 5 and No. 8 need not carry out repeat requests.
As shown in figure 3, packet in No. 3, No. 5, No. 8,9 number bag packet losses, due to packet loss quantity be more than redundancy packet quantity,
Therefore this 4 packets need sender to re-start transmission, and retransmission scheme takes the mode precisely retransmitted to carry out.
Accurate repeating method will verify the corresponding mark of unsuccessful packet according to ACK agreements and be sent to receiving terminal, such as
Shown in Fig. 3, it is specially:It is 1 by the packet marking got in packet, the packet marking of packet loss is 0, then can obtains point
The receiving status information that group is returned is 1101011001=857, when having received the time of packet in packet for the last time
During RTO (Retransmission Timeout, Retransmission timeout mechanism) duration more than 2 times, then send that retransmit please to transmitting terminal
Ask, repeat requests include packet numbering and packet data package transmission situation information (i.e. numeral 857), so when transmission termination
Receive after repeat requests, can be retransmitted for packet drop and (retransmit packet 3, packet 5, packet 8 and packet
9)。
Step S103, transmitting terminal extracts the packet for needing to retransmit according to the mark received from memory block to be confirmed,
And it is sent to receiving terminal.
Redundant data is used in transmitting procedure, in the case where packet is not lost, redundant data packets do not play work
With, but when having data-bag lost in packet, carried out using FEC technologies from redundant data packets for lost data packets
Recalculate recovery.As a result of LDPC (Low Density Parity Check Code, i.e. low density parity check code)
Algorithm, therefore calculating speed is very efficient.
Based on above method embodiment, because the size of data to be sent can not be determined, in order that the side of the present embodiment
Method adapts to the transmission data of the different scale of constructions, and the present embodiment additionally provides another data transfer based on hybrid automatic repeat-request
Method, including:
Step S201, transmitting terminal splits data to be sent to multiple packets;Packet is sent packets into reception
End, and the packet after packet is stored in memory block to be confirmed, wherein, each group has the number in packet numbering, each group
Identified according to being wrapped with to be unique;The corresponding redundant data packets of every group of packet are generated, and are sent to receiving terminal.
Wherein, Forward Error Correction (FEC, Forward Error Correction) technology has been used to generate redundant data packets,
Specifically include:FEC codings are carried out to packet, redundant data packets are generated.Using FEC technologies, reach the improvement bit error rate, improve logical
Believe the purpose of reliability.
Wherein, no more than 548 bytes of the size of each packet of fractionation, can so ensure the efficiency of transmission of data
And packet loss is reduced as far as possible.
Wherein, every group of data packet number included and the redundant data packets data volume generated are pre-set.
Step S202, receiving terminal carries out following processing respectively to the every group of packet received:Packet is verified;
If verifying the quantity that unsuccessful data packet number is not more than redundant data packets, recover verification according to redundant data packets unsuccessful
Packet;If verifying the quantity that unsuccessful data packet number is more than redundant data packets, unsuccessful packet will be verified
Corresponding mark and packet numbering are sent to receiving terminal.
Wherein, recovered to verify unsuccessful packet according to redundant data packets, including:FEC solutions are carried out to redundant data packets
Code processing, recovers the unsuccessful packet of verification.
Wherein, in step S202, the corresponding mark of unsuccessful packet will be verified and be sent to receiving terminal, including:High-ranking officers
Test the corresponding mark of unsuccessful packet and be sent to receiving terminal according to ACK agreements.Due to use ACK agreements transmit data for
32, therefore, the quantity of every group of packet is no more than 32.
Step S203, receiving terminal is numbered according to the mark and group received, and being extracted from memory block to be confirmed needs weight
The packet of hair, and it is sent to receiving terminal.
Packet transmission is carried out by the packet to fractionation, it is ensured that the method for the present embodiment can adapt to different size of
Data.
The data transmission method based on hybrid automatic repeat-request that the present embodiment is provided is applied to any data transmission system
System, especially for requirement of real-time very high communication system, such as remote control industry, net cast industry.
Exemplified by transmitting video, illustrate the application of the present embodiment method.
Transmitting terminal and receiving terminal are disposed first.
Transmitting terminal deploying step:Initialization procedure, sets corresponding call back function, and relevant parameter etc. is (including packet
The quantity of redundancy packet in the quantity of middle packet, packet, time interval of frame-skipping etc.);Start connection recipient
Receiving terminal deploying step:Initialization procedure, sets related readjustment and parameter (parameter information is identical with transmitting terminal);
Start connection to monitor.
Dispose after transmitting terminal and receiving terminal, you can carry out data transmission, detailed process includes:
Step S301, transmitting terminal splits a frame data to be sent to multiple packets;Packet is sent packets to
Receiving terminal, and the packet after packet is stored in memory block to be confirmed, wherein, each group has in packet numbering, each group
Packet have for unique mark;The corresponding redundant data packets of every group of packet are generated, and are sent to receiving terminal.
Wherein, Forward Error Correction (FEC, Forward Error Correction) technology has been used to generate redundant data packets,
Specifically include:FEC codings are carried out to packet, redundant data packets are generated.Using FEC technologies, reach the improvement bit error rate, improve logical
Believe the purpose of reliability.
Wherein, no more than 548 bytes of the size of each packet of fractionation, can so ensure the efficiency of transmission of data
And packet loss is reduced as far as possible.
Wherein, every group of data packet number included and the redundant data packets data volume generated are pre-set.
Step S302, receiving terminal carries out following processing respectively to the every group of packet received:Packet is verified;
If verifying the quantity that unsuccessful data packet number is not more than redundant data packets, recover verification according to redundant data packets unsuccessful
Packet;If verifying the quantity that unsuccessful data packet number is more than redundant data packets, unsuccessful packet will be verified
Corresponding mark and packet numbering are sent to receiving terminal;Successful packet will be examined to be inserted into frame directorial area.
Wherein, recovered to verify unsuccessful packet according to redundant data packets, including:FEC solutions are carried out to redundant data packets
Code processing, recovers the unsuccessful packet of verification.
Step S303, receiving terminal is numbered according to the mark and group received, and being extracted from memory block to be confirmed needs weight
The packet of hair, and it is sent to receiving terminal.
Step S304, next step is carried out when passing to upper strata after the frame data of composition one of the packet in frame directorial area completely
Processing.
Find that using the time delay of rtmp protocol data transmissions be 2-5 seconds according to actual test, and use the present embodiment
Method after, the delay of data transfer can be controlled within 200 milliseconds, postpone to control in the case where network is good
100 milliseconds or so.
Based on any of the above-described embodiment of the method, the present embodiment also includes:In transmission of data packets, transmitting terminal is surveyed automatically
Bandwidth is measured, transmission rate is dynamically adjusted according to measurement result.Specially:The transmission times of record data bag, if the hair of packet
It is 1 to send number of times, then improves transmission rate, if the transmission times of packet is more than 1, reduces transmission rate.Above-mentioned adjustment is sent
The method of speed is simple, efficient, will not take excessive Internet resources, it is ensured that do not cause the excessive pressure of network during use.
In order to improve the precision of measurement, Measurement bandwidth can also be accomplished by the following way:Transmitting terminal is with certain speed V
K isometric detection bags are sent, the one-way latency of the detection bag received is calculated in receiving terminal, if the one-way latency of detection bag
Increased trend is presented, then transmission rate V is more than available bandwidth A, accordingly, when non-increasing is presented in the one-way latency of detection bag
Trend when, V be less than A.It is by SR to detect bag one-way latency trenddegAnd SRdetCome what is judged, receiving terminal by calculate this two
Individual parameter, to judge the change and the change of network performance of the one-way latency that detection is flowed, is adaptively adjusted according to the result drawn
The transmission rate of transmitting terminal, is allowed to approach available bandwidth, so as to be quickly detected the available bandwidth value of network.Parameter SRdeg=
(SRavg-SRmin)/(SRmax-SRmin), SRdet=(SRavg/SRmax)-(SRmin/SRavg), wherein SRavg、SRmin、SRmaxRespectively
It is the average transfer delay, minimal propagation delay and maximum traffic delay of K packet.The parameter SR useddegAnd SRdet, have
Help improve convergence of algorithm speed.
When Measurement bandwidth starts, if it is known that the bandwidth of bottleneck link, then sent with bottleneck link bandwidth, otherwise sent
Back-to-back message, obtains a substantially estimation to bottleneck link bandwidth.In measurement process, receiving terminal enters to output speed
Row adjustment, transmission rate of the speed as transmitting terminal next time after adjustment.Transmitting terminal with the speed after adjusting without directly with
The output speed of output end sends packet string, is, because background stream has sudden, to be less than even in detecting packet rate
In the case of available bandwidth, it is also possible to block, make result of detection occur deviation, if so directly using output speed as
Transmission rate next time can cause the measured value of available bandwidth less than normal.In this case, it should which output speed is adjusted
It is whole.If transmission rate is Rs, output speed is Rt, then it is Rs=Rt/adjusted_val to adjust relational expression.Adjusted_val
0 parameter for being less than 1 is greater than, value changes with the change of background stream.By such adjustment, the complexity of algorithm is reduced
Degree, improves the accuracy of algorithm.
When there is multiple receiving terminals in data transmission network, in order to improve the efficiency of re-transmission, transmitting terminal receive it is many
After the repeat requests that individual receiving terminal is returned, the receiving status information in repeat requests extracts the packet for needing to retransmit, right
Packet obtains the receiving terminal that a data splitting is sent to each request retransmission after being encoded;Each receiving terminal can basis
Decoding rule obtains the lost data packets of oneself needs.As shown in table 1, receiving terminal R1 and R2 receiving status information is given,
Transmitting terminal will obtain data splitting bag a1+a2 after packet a1 and a2 XOR, and send it to receiving terminal R1 and R2;R1
Receive and it is subjected to XOR with a2 after a1+a2 obtains a1.Similarly, a1+a2 and a1 is carried out XOR and obtains a2 by R2.
So, transmitting terminal only need to be retransmitted once, and R1 and R2 can just recover the packet of loss, improve the efficiency of re-transmission.
Table 1
R | a1 | a2 | a3 | a4 | a5 | a6 | a7 | … |
R1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | … |
R2 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | … |
Based on the above-mentioned data transmission method identical inventive concept based on hybrid automatic repeat-request, the present embodiment is also
There is provided a kind of data transmission system based on hybrid automatic repeat-request, including:
Transmitting terminal, is that each packet encloses unique mark for data to be sent to be split as into multiple packets,
Receiving terminal is delivered a packet to, and packet is stored in memory block to be confirmed, is deposited according to the mark received to be confirmed
The packet for needing to retransmit is extracted in storage area, and is sent to receiving terminal;
Receiving terminal, for being verified to the packet received, will verify the corresponding mark hair of unsuccessful packet
Give receiving terminal.
The data transmission system based on hybrid automatic repeat-request that the present embodiment is provided, data to be sent is split as many
It is transmitted after individual packet, receiving terminal is according to the packet situation received, it is determined that needing the packet retransmitted to feed back to hair
Sending end, such transmitting terminal just only need to retransmit the packet of packet loss, without retransmitting whole packet, reduce retransmission data bag
Quantity, reduces the pressure of bandwidth, improves data transmission efficiency, is taken into account again while the real-time of data transfer is ensured
Reliability.
Wherein, transmitting terminal is additionally operable to:Redundant data packets are generated according to packet, and are sent to receiving terminal;
Wherein, receiving terminal specifically for:Receiving terminal is verified to the packet received;If verifying unsuccessful data
Bag quantity is not more than the quantity of redundant data packets, then is recovered to verify unsuccessful packet according to redundant data packets;If verification is not
Successful data packet number is more than the quantity of redundant data packets, then will verify the corresponding mark of unsuccessful packet and be sent to
Sending end.
Finally it should be noted that:Various embodiments above is merely illustrative of the technical solution of the present invention, rather than its limitations;To the greatest extent
The present invention is described in detail with reference to foregoing embodiments for pipe, it will be understood by those within the art that:Its according to
The technical scheme described in foregoing embodiments can so be modified, or which part or all technical characteristic are entered
Row equivalent substitution;And these modifications or replacement, the essence of appropriate technical solution is departed from various embodiments of the present invention technology
The scope of scheme, it all should cover among the claim of the present invention and the scope of specification.
Claims (10)
1. a kind of data transmission method based on hybrid automatic repeat-request, it is characterised in that including:
Data to be sent are split as multiple packets by step S1, transmitting terminal, are that each packet encloses unique mark, will
The packet is sent to receiving terminal, and the packet is stored in memory block to be confirmed;
Step S2, the receiving terminal is verified to the packet received, will verify unsuccessful packet corresponding
Mark is sent to the receiving terminal;
Step S3, the transmitting terminal extracts the data for needing to retransmit according to the mark received from the memory block to be confirmed
Bag, and it is sent to the receiving terminal.
2. according to the method described in claim 1, it is characterised in that
Also include in the step S1:Redundant data packets are generated according to the packet, and are sent to the receiving terminal;
The step S2 is specifically included:
The receiving terminal is verified to the packet received;
If verifying the quantity that unsuccessful data packet number is not more than redundant data packets, school is recovered according to the redundant data packets
Test unsuccessful packet;
If verifying the quantity that unsuccessful data packet number is more than redundant data packets, unsuccessful packet will be verified corresponding
Mark is sent to the transmitting terminal.
3. method according to claim 2, it is characterised in that
It is described that redundant data packets are generated according to the packet in the step S1, including:FEC volumes are carried out to the packet
Code, generates redundant data packets;
It is described to be recovered to verify unsuccessful packet according to redundant data packets in the step S2, including:To the redundant data
Bag carries out fec decoder processing, recovers the unsuccessful packet of verification.
4. according to the method described in claim 1, it is characterised in that the step S1 is specifically included:
Transmitting terminal splits data to be sent to multiple packets;
The packet is sent packets into the receiving terminal, and the packet after packet is stored in memory block to be confirmed, its
In, the packet that each group has in packet numbering, each group has for unique mark;
The corresponding redundant data packets of every group of packet are generated, and are sent to the receiving terminal;
The step S2 is specifically included:The receiving terminal carries out following processing respectively to the every group of packet received:
Packet is verified;
If verifying the quantity that unsuccessful data packet number is not more than redundant data packets, school is recovered according to the redundant data packets
Test unsuccessful packet;
If verifying the quantity that unsuccessful data packet number is more than redundant data packets, unsuccessful packet will be verified corresponding
Mark and packet numbering are sent to the receiving terminal;
The step S3 is specifically included:The receiving terminal is numbered according to the mark and group received, from the storage to be confirmed
The packet for needing to retransmit is extracted in area, and is sent to the receiving terminal.
5. method according to claim 4, it is characterised in that the quantity of every group of packet is no more than 32.
6. the method according to any one of claim 1-5, it is characterised in that in the step S2, will be verified unsuccessful
Packet it is corresponding mark be sent to the receiving terminal, including:The corresponding mark of unsuccessful packet will be verified according to ACK
Agreement is sent to the receiving terminal.
7. method according to any one of claim 1 to 5, it is characterised in that in the step S1, transmitting terminal will be pending
The data sent are split as multiple packets, including:Data to be sent are split as multiple packets by transmitting terminal, each packet
No more than 548 bytes of size.
8. method according to any one of claim 1 to 5, it is characterised in that also include:In transmission of data packets
In, the transmitting terminal automatic measurement bandwidth dynamically adjusts transmission rate according to measurement result.
9. a kind of data transmission system based on hybrid automatic repeat-request, it is characterised in that including:
Transmitting terminal, is that each packet encloses unique mark, by institute for data to be sent to be split as into multiple packets
State packet and be sent to receiving terminal, and the packet is stored in memory block to be confirmed, according to the mark received from described
The packet for needing to retransmit is extracted in memory block to be confirmed, and is sent to the receiving terminal;
Receiving terminal, for being verified to the packet received, will verify the corresponding mark hair of unsuccessful packet
Give the receiving terminal.
10. system according to claim 9, it is characterised in that
The transmitting terminal is additionally operable to:Redundant data packets are generated according to the packet, and are sent to the receiving terminal;
The receiving terminal specifically for:
Receiving terminal is verified to the packet received;
If verifying the quantity that unsuccessful data packet number is not more than redundant data packets, school is recovered according to the redundant data packets
Test unsuccessful packet;
If verifying the quantity that unsuccessful data packet number is more than redundant data packets, unsuccessful packet will be verified corresponding
Mark is sent to the transmitting terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710398832.7A CN107257270B (en) | 2017-05-31 | 2017-05-31 | Data transmission method and system based on hybrid automatic repeat request |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710398832.7A CN107257270B (en) | 2017-05-31 | 2017-05-31 | Data transmission method and system based on hybrid automatic repeat request |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107257270A true CN107257270A (en) | 2017-10-17 |
CN107257270B CN107257270B (en) | 2020-03-10 |
Family
ID=60027508
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710398832.7A Active CN107257270B (en) | 2017-05-31 | 2017-05-31 | Data transmission method and system based on hybrid automatic repeat request |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107257270B (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109120385A (en) * | 2018-08-15 | 2019-01-01 | 锐捷网络股份有限公司 | A kind of data transmission method based on data transmission system, apparatus and system |
CN109714613A (en) * | 2018-11-28 | 2019-05-03 | 视联动力信息技术股份有限公司 | A kind of video data transmitting method and device based on view networking |
CN109936859A (en) * | 2019-04-22 | 2019-06-25 | 南京控维通信科技有限公司 | Suitable for height delay low bandwidth satellite communication small data quantity transmission method |
CN111082899A (en) * | 2018-10-19 | 2020-04-28 | 中兴通讯股份有限公司 | Transmission method, device and system |
CN111181700A (en) * | 2020-01-07 | 2020-05-19 | 广州华多网络科技有限公司 | Data transmission method and device, electronic equipment and storage medium |
WO2020211435A1 (en) * | 2019-04-16 | 2020-10-22 | 珠海格力电器股份有限公司 | Information transmission device, method, and system, and air conditioner |
CN111901075A (en) * | 2020-07-16 | 2020-11-06 | 华中科技大学 | Multi-network convergence transmission method, transmission system and computer-readable storage medium |
CN111917531A (en) * | 2020-07-28 | 2020-11-10 | 厦门亿联网络技术股份有限公司 | Single-wire bidirectional communication system and communication method thereof |
CN113765626A (en) * | 2020-06-01 | 2021-12-07 | 大唐移动通信设备有限公司 | Data transmission method and device of mobile communication system |
CN114079654A (en) * | 2022-01-05 | 2022-02-22 | 荣耀终端有限公司 | Data retransmission method, system and related device |
CN116132001A (en) * | 2022-12-19 | 2023-05-16 | 华能信息技术有限公司 | Packet loss retransmission method |
CN116366206A (en) * | 2023-06-01 | 2023-06-30 | 三未信安科技股份有限公司 | Method and system for enhancing reliability of password card |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6496481B1 (en) * | 1998-07-16 | 2002-12-17 | Industrial Technology Research Institute | Data transfer method for wire real-time communications |
CN1918558A (en) * | 2003-11-24 | 2007-02-21 | 因特隆公司 | Operation method of multiple network communication based on shared medium |
CN101018108A (en) * | 2006-02-10 | 2007-08-15 | 华为技术有限公司 | The data transmission method and system and data transmission and receiving device |
CN101094165A (en) * | 2006-06-19 | 2007-12-26 | 大唐移动通信设备有限公司 | Method, system, and device for controlling implementation of data transmission in local area network |
CN101102115A (en) * | 2006-07-03 | 2008-01-09 | 国际商业机器公司 | Encoding and decoding method for packet information, encoder and decoder |
CN101137098A (en) * | 2007-09-28 | 2008-03-05 | 中兴通讯股份有限公司 | Uplink real-time packet service transmission method |
CN102647252A (en) * | 2012-03-26 | 2012-08-22 | 航天东方红卫星有限公司 | Serial communication method |
CN104661172A (en) * | 2015-01-26 | 2015-05-27 | 武汉健坤科技有限公司 | Extended data transmission method and extended data transmission system based on Bluetooth low power consumption |
CN105245317A (en) * | 2015-10-20 | 2016-01-13 | 北京小鸟听听科技有限公司 | Data transmission method, transmitting end, receiving end and data transmission system |
CN105743621A (en) * | 2016-02-02 | 2016-07-06 | 北京邮电大学 | HARQ (Hybrid Automatic Repeat Request) signal transmitting method and device and receiving method and device based on polar codes |
-
2017
- 2017-05-31 CN CN201710398832.7A patent/CN107257270B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6496481B1 (en) * | 1998-07-16 | 2002-12-17 | Industrial Technology Research Institute | Data transfer method for wire real-time communications |
CN1918558A (en) * | 2003-11-24 | 2007-02-21 | 因特隆公司 | Operation method of multiple network communication based on shared medium |
CN101018108A (en) * | 2006-02-10 | 2007-08-15 | 华为技术有限公司 | The data transmission method and system and data transmission and receiving device |
CN101094165A (en) * | 2006-06-19 | 2007-12-26 | 大唐移动通信设备有限公司 | Method, system, and device for controlling implementation of data transmission in local area network |
CN101102115A (en) * | 2006-07-03 | 2008-01-09 | 国际商业机器公司 | Encoding and decoding method for packet information, encoder and decoder |
CN101137098A (en) * | 2007-09-28 | 2008-03-05 | 中兴通讯股份有限公司 | Uplink real-time packet service transmission method |
CN102647252A (en) * | 2012-03-26 | 2012-08-22 | 航天东方红卫星有限公司 | Serial communication method |
CN104661172A (en) * | 2015-01-26 | 2015-05-27 | 武汉健坤科技有限公司 | Extended data transmission method and extended data transmission system based on Bluetooth low power consumption |
CN105245317A (en) * | 2015-10-20 | 2016-01-13 | 北京小鸟听听科技有限公司 | Data transmission method, transmitting end, receiving end and data transmission system |
CN105743621A (en) * | 2016-02-02 | 2016-07-06 | 北京邮电大学 | HARQ (Hybrid Automatic Repeat Request) signal transmitting method and device and receiving method and device based on polar codes |
Cited By (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109120385B (en) * | 2018-08-15 | 2021-08-17 | 锐捷网络股份有限公司 | Data transmission method, device and system based on data transmission system |
CN109120385A (en) * | 2018-08-15 | 2019-01-01 | 锐捷网络股份有限公司 | A kind of data transmission method based on data transmission system, apparatus and system |
CN111082899A (en) * | 2018-10-19 | 2020-04-28 | 中兴通讯股份有限公司 | Transmission method, device and system |
US11979242B2 (en) | 2018-10-19 | 2024-05-07 | Zte Corporation | Transmission method, apparatus, and computer-readable storage medium |
US11671211B2 (en) | 2018-10-19 | 2023-06-06 | Zte Corporation | Transmission method, device, system, and computer-readable storage medium |
CN109714613A (en) * | 2018-11-28 | 2019-05-03 | 视联动力信息技术股份有限公司 | A kind of video data transmitting method and device based on view networking |
WO2020211435A1 (en) * | 2019-04-16 | 2020-10-22 | 珠海格力电器股份有限公司 | Information transmission device, method, and system, and air conditioner |
CN109936859A (en) * | 2019-04-22 | 2019-06-25 | 南京控维通信科技有限公司 | Suitable for height delay low bandwidth satellite communication small data quantity transmission method |
CN111181700A (en) * | 2020-01-07 | 2020-05-19 | 广州华多网络科技有限公司 | Data transmission method and device, electronic equipment and storage medium |
CN113765626A (en) * | 2020-06-01 | 2021-12-07 | 大唐移动通信设备有限公司 | Data transmission method and device of mobile communication system |
CN113765626B (en) * | 2020-06-01 | 2022-11-11 | 大唐移动通信设备有限公司 | Data transmission method and device of mobile communication system |
CN111901075B (en) * | 2020-07-16 | 2021-11-23 | 华中科技大学 | Multi-network convergence transmission method, transmission system and computer-readable storage medium |
CN111901075A (en) * | 2020-07-16 | 2020-11-06 | 华中科技大学 | Multi-network convergence transmission method, transmission system and computer-readable storage medium |
CN111917531A (en) * | 2020-07-28 | 2020-11-10 | 厦门亿联网络技术股份有限公司 | Single-wire bidirectional communication system and communication method thereof |
CN114079654A (en) * | 2022-01-05 | 2022-02-22 | 荣耀终端有限公司 | Data retransmission method, system and related device |
CN114079654B (en) * | 2022-01-05 | 2022-06-21 | 荣耀终端有限公司 | Data retransmission method, system and related device |
CN116132001A (en) * | 2022-12-19 | 2023-05-16 | 华能信息技术有限公司 | Packet loss retransmission method |
CN116366206A (en) * | 2023-06-01 | 2023-06-30 | 三未信安科技股份有限公司 | Method and system for enhancing reliability of password card |
CN116366206B (en) * | 2023-06-01 | 2023-08-25 | 三未信安科技股份有限公司 | Method and system for enhancing reliability of password card |
Also Published As
Publication number | Publication date |
---|---|
CN107257270B (en) | 2020-03-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107257270A (en) | Data transmission method and system based on hybrid automatic repeat-request | |
US9136983B2 (en) | Streaming and buffering using variable FEC overhead and protection periods | |
US8751865B2 (en) | Network-based service for the repair of IP multicast sessions | |
US9893836B2 (en) | System and method for achieving accelerated throughput | |
US7600037B2 (en) | Real time transmission of information content from a sender to a receiver over a network by sizing of a congestion window in a connectionless protocol | |
CN101627569B (en) | Adaptive and scalable packet error correction apparatus and method | |
US20030226092A1 (en) | Method for transmitting and receiving variable length packets based on forward error correction (FEC) coding | |
CN102790666A (en) | Error control method, receiving end, transmitting end and system | |
US8976814B2 (en) | Method of transporting data from sending node to destination node | |
CN109905205B (en) | Data sending method, data receiving method, data sending equipment, data receiving equipment, data transmission method and data transmission system | |
CN106034011A (en) | Control method and system for multicast transport quality guarantee | |
CN102752184A (en) | Data communication system for real-time multicast service and method thereof | |
CN107209713A (en) | The method and system that file is repaired on demand | |
CN103825689B (en) | Delay determinacy message retransmission method with local cache | |
EP2191602B1 (en) | Improved data structure boundary synchronization between a transmitter and receiver | |
CN108183767A (en) | A kind of method for reliable transmission suitable for space DTN networks | |
WO2018109500A1 (en) | Low delay, error resilient video transport protocol over public ip transit | |
CN108667563A (en) | A kind of forward error correction packet number acquisition methods and device | |
CN106100797B (en) | A kind of method for transmitting deep space file based on the asynchronous acceleration re-transmission policy of LTP | |
CN106657322B (en) | A kind of method for transmitting deep space file based on the more session aggregation strategies of LTP | |
JP2008092213A (en) | Receiver, method for resending packet and program | |
US6981194B1 (en) | Method and apparatus for encoding error correction data | |
KR100780921B1 (en) | System and method for sctp transmission using chunk checksum in wireless internet system | |
CN105356975A (en) | Data transmission method | |
US9680610B2 (en) | Method and apparatus for error control in 3D video transmissoin |
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 |