CN106452692A - Data transmission method and system - Google Patents

Data transmission method and system Download PDF

Info

Publication number
CN106452692A
CN106452692A CN201611079298.5A CN201611079298A CN106452692A CN 106452692 A CN106452692 A CN 106452692A CN 201611079298 A CN201611079298 A CN 201611079298A CN 106452692 A CN106452692 A CN 106452692A
Authority
CN
China
Prior art keywords
packet
data
transmitting terminal
message
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201611079298.5A
Other languages
Chinese (zh)
Inventor
洪珂
苏宗磊
林思永
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wangsu Science and Technology Co Ltd
Original Assignee
Wangsu Science and Technology 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 Wangsu Science and Technology Co Ltd filed Critical Wangsu Science and Technology Co Ltd
Priority to CN201611079298.5A priority Critical patent/CN106452692A/en
Publication of CN106452692A publication Critical patent/CN106452692A/en
Pending legal-status Critical Current

Links

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/1607Details of the supervisory signal
    • H04L1/1614Details of the supervisory signal using bitmaps
    • 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
    • H04L1/1635Cumulative acknowledgement, i.e. the acknowledgement message applying to all previous messages
    • 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/1809Selective-repeat protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/25Flow control; Congestion control with rate being modified by the source upon detecting a change of network conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/34Flow control; Congestion control ensuring sequence integrity, e.g. using sequence numbers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/164Adaptation or special uses of UDP protocol

Abstract

The invention discloses a data transmission method and system. The method comprises the steps that a sending end and a receiving end establish a user datagram protocol; the sending end divides data into a plurality of data packets and sends the data packets and a grouping query message to the receiving end; the receiving end receives the data packets and the grouping query message and feeds back a grouping acknowledgement message to the sending end according to the receiving condition of the data packets and the grouping query message; and the sending end retransmits the lost data packets according to the grouping acknowledgement message. According to the method and the system, the data transmission method and system based on the data packet grouping acknowledgement and packet loss tolerance is realized. According to the scheme, the lost data packets can be identified accurately, so the misjudgment is reduced; a certain proportion of packet loss is tolerant, so a sending rate is not reduced, the stability of a transmitting rate is ensured, and a bandwidth utilization rate is effectively improved; and the data transmission efficiency in bad network environments such as cross-border and cross-operator network environments can be effectively improved.

Description

A kind of data transmission method and system
Technical field
The present invention relates to network transmission technology field, particularly to a kind of data transmission method and system.
Background technology
With the continuous increase of internet scale, network environment also becomes to become increasingly complex, and people are to data transfer Speed, quality also require that more and more higher.As content distributing network (CDN) platform file caching transnational transmission, live TV stream across Data syn-chronization between state's transmission, the multiple transnational data center in electronic business web site backstage etc., network rings in these fields Border often poor it may appear that the problem of high packet loss, high latency.
Existing data transfer, the transmission control protocol transmission mostly adopting, transmitting terminal often sends a packet, receives End will be responded an ACK message to confirm.Losing in transmitting procedure when packet leads to receiving terminal not respond ACK message, Or receiving terminal respond ACK message dropping, then transmitting terminal can retransmit be considered lose packet.When transmitting terminal judges one When data-bag lost, will be considered that the loss of packet, be due to infrastructure in transmission link, such as router, accumulation Packet is excessive, congestion occurs and data packet discarding, so the transmission rate of oneself can be slowed down by transmitting terminal, to alleviate chain Road congestion.
Under high packet loss, the network environment of high latency, there is problems with traditional transmission control protocol transmission method: (1) data-bag lost erroneous judgement:Substantial amounts of ACK message also occurs a certain degree of under high packet loss, the network environment of high latency Lose, this can lead to transmitting terminal to be mistaken for data-bag lost, thus lead to retransmit by mistake;(2) link congestion erroneous judgement:Work as chain Lose it is easy to transmission signal occurs when road is long, or the physical phenomenon such as transmission signal is disturbed, now data-bag lost is simultaneously Non- due to link congestion, the transmission bearing capacity of actual uplink is also far from reaching the upper limit, does not need to slow down and sends out Transmission rate.
Content of the invention
In order to solve problem of the prior art, embodiments provide a kind of severe for transnational, cross operator etc. Data transmission method under network environment and system.Described technical scheme is as follows:
On the one hand, a kind of data transmission method, comprises the following steps:
Transmitting terminal and receiving terminal set up UDP;
Data is divided into several packets by transmitting terminal, then sends packet and packet inquiry message to receiving terminal;
Receiving terminal receiving data bag and packet inquiry message, and the reception condition according to packet and packet inquiry message, To transmitting terminal feedback packet confirmation message;
Transmitting terminal retransmits to the packet lost according to packet acknowledgement message.
Further, data is divided into several packets by transmitting terminal, then sends the concrete step of packet to receiving terminal Rapid inclusion:
Data is divided into the packet of several formed objects by transmitting terminal, is then compiled packet according to sequencing Number, put into transmit queue etc. to be sent;
Packet in transmit queue is grouped by transmitting terminal according to fixed size G;
Transmitting terminal sends packet with initial transmission rate Ri;
After transmitting terminal has often sent one group of packet or time of advent threshold value T, send packet inquiry message to receiving terminal, point The content of group inquiry message includes the packet lowest number data bag quantity of this packet.
Further, receiving terminal receiving data bag and packet inquiry message, and the reception condition according to packet and packet Inquiry message, the concrete steps to transmitting terminal feedback packet confirmation message include:
Receiving terminal often receives a packet, just the numbering according to packet, puts into specified by order from small to large Position is it is ensured that the packet in receiving queue is order from small to large all the time;
Receiving terminal often receives a packet inquiry message, parses the packet lowest number sum in packet inquiry message According to bag quantity, and confirm that packet whether there is in receiving queue;
Receiving terminal responds packet acknowledgement message according to packet existence to transmitting terminal.
Specifically, packet acknowledgement message includes bitmap, and in bitmap, each indicates whether a packet receives.
Further, transmitting terminal according to packet acknowledgement message to the concretely comprising the following steps of being retransmitted of packet lost:Send out After sending end receives packet acknowledgement message, parse bitmap, unreceived data packet retransmission will be denoted as.
Further, data transmission method also includes:
Transmitting terminal calculates the packet loss of every group of packet according to packet acknowledgement message;
Transmitting terminal adjusts transmission rate according to packet loss.
Further, transmitting terminal is specially according to the method that packet loss adjusts transmission rate:Setting is determined packet loss threshold values and is SS, when packet loss is less than or equal to SS, new transmission rate NewRi=Ri+R;When packet loss is more than SS, NewRi=MIN (Ri R, 64KB/s);R is fixed value.
Specifically, the scope of described G is:2≤G≤1024;The scope of described initial transmission rate Ri is:32KB/s≤Ri ≤128KB/s;The scope of described time threshold T is:10ms≤T≤1000ms;The scope of packet loss threshold values SS is:1%≤SS ≤ 25%;The scope of R is:64KB/s≤R≤1MB/s.
On the other hand, a kind of data transmission system, including:Transmitting terminal and receiving terminal, transmitting terminal and receiving terminal pass through user Datagram protocol connects.
Transmitting terminal includes:
Data segmentation module, for being divided into size identical packet the row of numbering in order by the data flow of transmitting terminal Then packet is grouped by row by fixed qty;
Inquiry message module, for generating packet inquiry message according to packet packet and numbering;
First transceiver module, is connected respectively with data segmentation module and inquiry message module, in order to receiving terminal Send packet, and send packet inquiry message after every group of packet is sent completely, and receive the packet that receiving terminal sends Confirmation message.
Receiving terminal includes:
Second transceiver module, is connected with the first transceiver module, for receiving the packet of the first transceiver module transmission and dividing Group inquiry message, and send packet acknowledgement message to the first transceiver module;
Data restoring module, is connected with the second transceiver module, for packet that the second transceiver module is received according to Number sorting is reduced into data flow;
Confirmation message module, is connected with the second transceiver module data recovery module, respectively for according to data convert mould The data flow of block reduction and the packet of packet inquiry message confirmation disappearance, then generate packet acknowledgement message.
Further, transmitting terminal also includes data retransmission module, is connected with the first transceiver module, for according to packet acknowledgement The packet of disappearance is sent to receiving terminal by the first transceiver module by message again.
Further, transmitting terminal also includes rate control module, is connected with the first transceiver module, for according to packet acknowledgement Message calculates the packet loss of every group of packet, then adjusts the transmission speed of the first transceiver module according to packet loss.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought is:Present invention achieves a kind of be based on packet The data transmission method of packet acknowledgement and packet loss tolerance and system.The program can accurately identify the packet of loss, reduces by mistake Sentence;Tolerating a certain proportion of packet loss, thus not reducing transmission rate it is ensured that the stability of transfer rate, effectively improving broadband profit With rate;Data transmission efficiency under the severe network environment such as transnational, cross operator can be effectively improved.
Brief description
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, will make to required in embodiment description below Accompanying drawing be briefly described it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings Accompanying drawing.
Fig. 1 is the data transmission method flow chart that the embodiment of the present invention one provides;
Fig. 2 is the data transmission method flow chart that the embodiment of the present invention one provides;
Fig. 3 is the transmission speed figure that in the embodiment of the present invention one, prior art transmits 100MB file processes;
Fig. 4 is the transmission speed figure that in the embodiment of the present invention one, the method for the present invention transmits 100MB file processes;
Fig. 5 is the data transmission system structure chart that the embodiment of the present invention two provides;
Fig. 6 is the data transmission system structure chart that the embodiment of the present invention two provides;
Fig. 7 is the data transmission system structure chart that the embodiment of the present invention two provides.
Specific embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention Formula is described in further detail.
Embodiment one
The present invention provides a kind of data transmission method based on packet packet acknowledgement and packet loss tolerance, as shown in figure 1, bag Include following steps:S101, transmitting terminal and receiving terminal set up UDP (UDP);S102, if data is divided into by transmitting terminal Dry packet, then sends packet and packet inquiry message to receiving terminal;S103, receiving terminal receiving data bag and packet are ask Ask message, and the reception condition according to packet and packet inquiry message, to transmitting terminal feedback packet confirmation message;S104, sends out Sending end retransmits to the packet lost according to packet acknowledgement message.
Specifically, as shown in Figure 2:
Step S201, transmitting terminal and receiving terminal set up UDP.
Step S202, data is divided into the packet of several formed objects by transmitting terminal, then by packet according to successively Order is numbered, and puts into transmit queue etc. to be sent.Data is divided into number one by one according to 1KB size by transmitting terminal According to bag, then all packets after segmentation are proceeded by numbering according to sequencing from 0, for example:0,1,2,3 ... N, N For 64 signless integers, then the packet after numbering is saved in transmit queue in order, waits to be sent.
Step S203, the packet in transmit queue is grouped by transmitting terminal according to fixed size G.By the number in transmit queue It is grouped according to bag, every G packet is divided into one group, the scope of G is more preferably to select in 2≤G≤1024 in the present embodiment.
Step S204, transmitting terminal sends packet with initial transmission rate Ri.Initial transmission rate unit is bytes-per-second, Initial transmission rate Ri is set in the present embodiment in the range of 32KB/s≤Ri≤128KB/s, P packet of transmission per second, P =Ri.
Step S205, after transmitting terminal has often sent one group of packet or time of advent threshold value T, sends packet to receiving terminal and askes Ask message.The packet lowest number data bag quantity of this packet is carried in packet inquiry message.Set in the present embodiment Put time threshold T in the range of 10ms≤T≤1000ms.
Step S206, receiving terminal often receives a packet, just the numbering according to packet, by order from small to large Put into specified location it is ensured that the packet in receiving queue is order from small to large all the time.
Step S207, receiving terminal often receives a packet inquiry message, parses the packet being grouped in inquiry message Little numbering data bag quantity, and confirm that packet whether there is in receiving queue.Receiving terminal receives packet inquiry message Afterwards, message is parsed, obtain packet lowest number and data packet number in this group packet.Then in receiving queue Initial data bag in this group packet is determined according to packet lowest number, determines that this organizes packet bag according to data packet number The all packet scopes including, then inquire about the reception condition of each packet in this group packet, confirm that each packet is No presence, if receive and claim successfully.
Step S208, receiving terminal responds packet acknowledgement message according to packet existence to transmitting terminal.Receiving terminal according to Packet existence constructs a bitmap, and in bitmap, each indicates whether a packet receives, and arranges 1 in the present embodiment Representative receives, and 0 representative does not receive, and such as eight packets are one group, and in this group, the 4th and the 7th packet does not receive, then receive End constructs the such bitmap of a shape such as 11101101 with this, then this bitmap is encapsulated in packet acknowledgement message, sends To transmitting terminal.
Step S209, after transmitting terminal receives packet acknowledgement message, parses bitmap, will be denoted as unreceived packet weight Pass.After transmitting terminal receives the packet acknowledgement message of previous step, obtain 11101101 such bitmaps, this bitmap is parsed Afterwards, obtain in this group packet the unsuccessful information being sent to receiving terminal of the 4th and the 7th packet, then transmitting terminal is again Find the 4th and the 7th packet, this two packets are retransferred to receiving terminal.
Step S210, transmitting terminal calculates the packet loss of every group of packet according to packet acknowledgement message.Transmitting terminal is according to packet Confirmation message, calculates the packet loss percentage ratio of this packet, as packet loss.Packet loss=every group is denoted as 0 number-of-packet Amount/every group of data packet number × 100%.In that group packet of previous step, add up to eight packets, be denoted as 0 number According to being surrounded by two, then packet loss=2/8 × 100%=25%.
Step S211, transmitting terminal adjusts transmission rate according to packet loss.Transmitting terminal setting determine packet loss threshold values for SS, when losing When bag rate is less than or equal to SS, new transmission rate NewRi=Ri+R;When packet loss is more than SS, NewRi=MAX (Ri R, 64KB/s);Wherein R is a fixed value.The scope of packet loss threshold values SS is 1%≤SS≤25% in the present embodiment;The model of R Enclose for 64KB/s≤R≤1MB/s.
Table 1 is under two different network environments, transmits the file of 100MB size, the test number that transmission is 100 times every time According to this it appears that after using the transmission method of the present invention, laser propagation effect significantly improves from table 1, Shenzhen, to South Africa, is put down All transmission times shorten 35 times, and success rate also from 75.1%, brings up to 99.9%;Shenzhen to Malaysia, during average transmission Between shorten 18 times, success rate also from 77.8%, brings up to 100%.
Test result is transmitted under table 1 different network environments
During Fig. 3 and Fig. 4 is transmission 100MB file under different network environments, transmission speed variation diagram.Fig. 3 transmits Total time be 1 point 50 seconds, average speed 0.909MB/s, the transmitting procedure that in figure shows is from 18:05:46 to 18:07:01, transmission Speed recurrent fluctuations between 0KB/s to 3MB/s.Fig. 4 transmission total time is 39 seconds, average speed 2.56MB/s, and in figure is transmitted Process is from 15:46:06 to 15:46:40, transmission speed fluctuates near 3MB/s up and down.
Comprehensive Fig. 3 and Fig. 4 can be seen that and use conventional transportation method, and the fluctuation ratio of transmission speed is larger, this is because base In the transmission of transmission control protocol (TCP), transmission control protocol creates substantial amounts of erroneous judgement to packet loss, is mistakenly considered link congestion Lead to, transmission speed is reduced, lead to network fluctuation.And after using the transmission method of the present invention, due to employing packet loss After tolerant mechanism, only packet loss reach certain threshold values, just reduce transmission rate, the effect embodying is exactly transmission rate More stable
The present invention can accurately identify the packet of loss, reduces erroneous judgement;Tolerate a certain proportion of packet loss, thus not reducing Transmission rate, it is ensured that the stability of transfer rate, effectively improves broadband utilization rate;Transnational, cross operator etc. can be effectively improved dislike Data transmission efficiency under bad network environment.
Embodiment two
The present invention also provides a kind of data transmission system based on packet packet acknowledgement and packet loss tolerance, as shown in figure 5, Including:Transmitting terminal 100 and receiving terminal 200, transmitting terminal 100 and receiving terminal 200 carry out data by UDP connection Transmission.
Specifically,
Transmitting terminal 100 includes:Data segmentation module 101, inquiry message module 102 and the first transceiver module 103.
Receiving terminal 200 includes:Data restoring module 201, confirmation message module 202 and the second transceiver module 203.
Data segmentation module 101, for being divided into size identical packet in order by the data flow of transmitting terminal 100 Then packet is grouped by numbering arrangement by fixed qty;Inquiry message module 102, for according to packet packet and numbering Generate packet inquiry message;First transceiver module 103, is connected respectively with data segmentation module 101 and inquiry message module 102, For sending packet to receiving terminal 200 in order, and send packet inquiry message after every group of packet is sent completely, and Receive the packet acknowledgement message that receiving terminal 200 sends.
Second transceiver module 203, is connected with the first transceiver module 103, for receiving the number of the first transceiver module 103 transmission According to bag and packet inquiry message, and send packet acknowledgement message to the first transceiver module 103;Data restoring module 201, with second Transceiver module 203 connects, and the packet for receiving the second transceiver module 203 is reduced into data flow according to number sorting; Confirmation message module 202, is connected with the second transceiver module 203 data recovery module 201, respectively for according to data convert mould Block 201 reduction data flow and the second transceiver module 203 receive packet inquiry message confirm disappearance packet, then generate Packet acknowledgement message.
As shown in fig. 6, transmitting terminal also 100 includes data retransmission module 104, it is connected with the first transceiver module 103, for root According to packet acknowledgement message, the packet of disappearance is sent to receiving terminal again by the first transceiver module 103.
As shown in fig. 7, transmitting terminal 100 also includes rate control module 105, it is connected with the first transceiver module 103, for root Calculate the packet loss of every group of packet according to packet acknowledgement message, then adjust the transmission speed of the first transceiver module according to packet loss Degree.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Device embodiment described above is only that schematically the wherein said unit illustrating as separating component can To be or to may not be physically separate, as the part that unit shows can be or may not be physics list Unit, you can with positioned at a place, or can also be distributed on multiple NEs.Can be selected it according to the actual needs In the purpose to realize this embodiment scheme for some or all of module.Those of ordinary skill in the art are not paying creativeness Work in the case of, you can to understand and to implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can Mode by software plus necessary general hardware platform to be realized naturally it is also possible to pass through hardware.Based on such understanding, on That states that technical scheme substantially contributes to prior art in other words partly can be embodied in the form of software product, should Computer software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD etc., including some fingers Order is with so that a computer equipment (can be personal computer, server, or network equipment etc.) executes each enforcement Example or some partly described methods of embodiment.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all spirit in the present invention and Within principle, any modification, equivalent substitution and improvement made etc., should be included within the scope of the present invention.

Claims (10)

1. a kind of data transmission method is it is characterised in that comprise the following steps:
Transmitting terminal and receiving terminal set up UDP;
Data is divided into several packets by described transmitting terminal, then sends described packet and packet inquiry to described receiving terminal Message;
Described receiving terminal receives described packet and described packet inquiry message, and the reception condition according to described packet and institute State packet inquiry message, to described transmitting terminal feedback packet confirmation message;
Described transmitting terminal retransmits to the packet lost according to described packet acknowledgement message.
2. data transmission method as claimed in claim 1 is it is characterised in that data is divided into several data by described transmitting terminal Bag, then sends described packet to described receiving terminal and the concrete steps of packet inquiry message includes:
Described data is divided into the packet of several formed objects by described transmitting terminal, then by described packet according to successively suitable Sequence is numbered, and puts into transmit queue etc. to be sent;
Described packet in described transmit queue is grouped by described transmitting terminal according to fixed size G;
Described transmitting terminal sends packet with initial transmission rate Ri;
After described transmitting terminal has often sent one group of packet or time of advent threshold value T, send described packet to described receiving terminal and ask Ask message, the content of described packet inquiry message includes the packet lowest number data bag quantity of this packet.
3. data transmission method as claimed in claim 2 is it is characterised in that described receiving terminal receives described packet and described Packet inquiry message, and the reception condition according to described packet and described packet inquiry message, to described transmitting terminal feedback point The concrete steps of group acknowledge message include:
Described receiving terminal often receives a packet, just the numbering according to packet, puts into specified by order from small to large Position is it is ensured that the packet in receiving queue is order from small to large all the time;
Described receiving terminal often receives a packet inquiry message, parses the packet lowest number sum in packet inquiry message According to bag quantity, and confirm that packet whether there is in receiving queue;
Described receiving terminal responds packet acknowledgement message, described packet acknowledgement message according to packet existence to described transmitting terminal Including bitmap, in described bitmap, each indicates whether a packet receives.
4. data transmission method as claimed in claim 3 is it is characterised in that described transmitting terminal is according to described packet acknowledgement message To concretely comprising the following steps that the packet lost is retransmitted:After described transmitting terminal receives packet acknowledgement message, parse bitmap, will mark It is shown as unreceived data packet retransmission.
5. data transmission method as claimed in claim 4 is it is characterised in that described data transmission method also includes:
Described transmitting terminal calculates the packet loss of every group of packet according to described packet acknowledgement message;
Described transmitting terminal adjusts transmission rate according to described packet loss.
6. data transmission method as claimed in claim 5 is it is characterised in that described transmitting terminal is sent out according to the adjustment of described packet loss The method of transmission rate is specially:It is SS that packet loss threshold values determine in setting, when packet loss is less than or equal to SS, new transmission rate NewRi=Ri+R;When packet loss is more than SS, NewRi=MAX (Ri R, 64KB/s);R is fixed value.
7. data transmission method as claimed in claim 6 is it is characterised in that the scope of described G is:2≤G≤1024;Described Initially the scope of transmission rate Ri is:32KB/s≤Ri≤128KB/s;The scope of described time threshold T is:10ms≤T≤ 1000ms;The scope of packet loss threshold values SS is:1%≤SS≤25%;The scope of R is:64KB/s≤R≤1MB/s.
8. a kind of data transmission system, including:Transmitting terminal and receiving terminal, described transmitting terminal and described receiving terminal pass through user data Datagram protocol connect it is characterised in that
Described transmitting terminal includes:
Data segmentation module, for being divided into size identical packet the row of numbering in order by the data flow of described transmitting terminal Then packet is grouped by row by fixed qty;
Inquiry message module, for generating packet inquiry message according to the packet of described packet and numbering;
First transceiver module, is connected respectively with described data segmentation module and inquiry message module, for connecing to described in order Receiving end sends described packet, and sends described packet inquiry message after every group of packet is sent completely, and receives The packet acknowledgement message that end sends;
Described receiving terminal includes:
Second transceiver module, is connected with described first transceiver module, for receiving the described number that described first transceiver module sends According to bag and packet inquiry message, and send described packet acknowledgement message to described first transceiver module;
Data restoring module, is connected with described second transceiver module, for the packet receiving described second transceiver module Data flow is reduced into according to number sorting;
Confirmation message module, is connected with described second transceiver module data recovery module, respectively for according to described data also The data flow of grand master pattern block reduction and the packet of packet inquiry message confirmation disappearance, then generate packet acknowledgement message.
9. data transmission system as claimed in claim 8 is it is characterised in that described transmitting terminal also includes data retransmission module, It is connected with described first transceiver module, for being received and dispatched the packet of disappearance by described first according to described packet acknowledgement message Module is sent to described receiving terminal again.
10. data transmission system as claimed in claim 9 is it is characterised in that described transmitting terminal also includes rate control module, It is connected with described first transceiver module, for calculating the packet loss of every group of packet, Ran Hougen according to described packet acknowledgement message Adjust the transmission speed of described first transceiver module according to described packet loss.
CN201611079298.5A 2016-11-30 2016-11-30 Data transmission method and system Pending CN106452692A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611079298.5A CN106452692A (en) 2016-11-30 2016-11-30 Data transmission method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611079298.5A CN106452692A (en) 2016-11-30 2016-11-30 Data transmission method and system

Publications (1)

Publication Number Publication Date
CN106452692A true CN106452692A (en) 2017-02-22

Family

ID=58223137

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611079298.5A Pending CN106452692A (en) 2016-11-30 2016-11-30 Data transmission method and system

Country Status (1)

Country Link
CN (1) CN106452692A (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107204936A (en) * 2017-06-21 2017-09-26 北京畅游天下网络技术有限公司 A kind of transmission method of data, device and equipment
CN107707640A (en) * 2017-09-25 2018-02-16 深圳市盛路物联通讯技术有限公司 A kind of Point-to-Point Data Transmission method and apparatus
CN108199925A (en) * 2018-01-30 2018-06-22 网宿科技股份有限公司 A kind of data transmission method for uplink, method of reseptance and device
CN108234080A (en) * 2018-01-12 2018-06-29 苏州汇万家数字科技有限公司 A kind of audio/video transmission method
CN109040869A (en) * 2018-08-14 2018-12-18 中天宽带技术有限公司 Based on the ONU fast updating method of OAM agreement in EPON system
CN109428683A (en) * 2017-08-24 2019-03-05 福建省华渔教育科技有限公司 Packet acknowledgement method and terminal based on bitmap
CN109428777A (en) * 2017-08-24 2019-03-05 福建省华渔教育科技有限公司 A kind of method and terminal detecting packet loss
CN109451541A (en) * 2018-12-21 2019-03-08 中国电子科技集团公司第三十研究所 Message transmission rate adaptive approach based on UDP under a kind of wireless network environment
CN109962757A (en) * 2019-02-22 2019-07-02 视联动力信息技术股份有限公司 Data transmission method and device based on view networking
CN110913431A (en) * 2019-11-27 2020-03-24 深圳云博智联科技有限公司 Data wireless transmission method and device, computer equipment and storage medium
CN110995697A (en) * 2019-11-29 2020-04-10 济南慧天云海信息技术有限公司 Big data transmission method and system
CN111683065A (en) * 2020-05-23 2020-09-18 上海沪工焊接集团股份有限公司 Data transmission method, system and device of welding machine communication protocol and storage medium
CN112583529A (en) * 2020-12-18 2021-03-30 脸萌有限公司 Data processing method, device, equipment and storage medium
CN112702411A (en) * 2020-12-21 2021-04-23 上汽大通汽车有限公司 Method for solving CANTP multi-frame packet loss retransmission
CN113904960A (en) * 2021-12-06 2022-01-07 上海金仕达软件科技有限公司 Method, device, system and storage medium for measuring data transmission delay
WO2022116976A1 (en) * 2020-12-04 2022-06-09 中兴通讯股份有限公司 Method for detecting packet loss in network, electronic device and computer-readable storage medium
CN114629599A (en) * 2022-03-10 2022-06-14 深圳市云语科技有限公司 Message confirmation method of real-time transmission protocol
CN116073957A (en) * 2023-03-14 2023-05-05 南京鼎岩信创科技有限公司 Reliable one-to-many data transmission method based on UDP

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159520A (en) * 2007-10-29 2008-04-09 中兴通讯股份有限公司 Data transmission method
CN102217258A (en) * 2011-04-12 2011-10-12 华为技术有限公司 Detection processing method, data transmitter, data receiver and communication system
US20140297791A1 (en) * 2013-03-28 2014-10-02 Canon Kabushiki Kaisha Communication apparatus, method of controlling the same, and storage medium
CN105245317A (en) * 2015-10-20 2016-01-13 北京小鸟听听科技有限公司 Data transmission method, transmitting end, receiving end and data transmission system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159520A (en) * 2007-10-29 2008-04-09 中兴通讯股份有限公司 Data transmission method
CN102217258A (en) * 2011-04-12 2011-10-12 华为技术有限公司 Detection processing method, data transmitter, data receiver and communication system
US20140297791A1 (en) * 2013-03-28 2014-10-02 Canon Kabushiki Kaisha Communication apparatus, method of controlling the same, and storage medium
CN105245317A (en) * 2015-10-20 2016-01-13 北京小鸟听听科技有限公司 Data transmission method, transmitting end, receiving end and data transmission system

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107204936A (en) * 2017-06-21 2017-09-26 北京畅游天下网络技术有限公司 A kind of transmission method of data, device and equipment
CN109428683A (en) * 2017-08-24 2019-03-05 福建省华渔教育科技有限公司 Packet acknowledgement method and terminal based on bitmap
CN109428683B (en) * 2017-08-24 2021-06-08 福建省华渔教育科技有限公司 Bitmap-based packet acknowledgement method and terminal
CN109428777A (en) * 2017-08-24 2019-03-05 福建省华渔教育科技有限公司 A kind of method and terminal detecting packet loss
CN107707640A (en) * 2017-09-25 2018-02-16 深圳市盛路物联通讯技术有限公司 A kind of Point-to-Point Data Transmission method and apparatus
CN108234080A (en) * 2018-01-12 2018-06-29 苏州汇万家数字科技有限公司 A kind of audio/video transmission method
WO2019148563A1 (en) * 2018-01-30 2019-08-08 网宿科技股份有限公司 Data sending method and apparatus, and data receiving method and apparatus
CN108199925A (en) * 2018-01-30 2018-06-22 网宿科技股份有限公司 A kind of data transmission method for uplink, method of reseptance and device
CN109040869A (en) * 2018-08-14 2018-12-18 中天宽带技术有限公司 Based on the ONU fast updating method of OAM agreement in EPON system
CN109451541A (en) * 2018-12-21 2019-03-08 中国电子科技集团公司第三十研究所 Message transmission rate adaptive approach based on UDP under a kind of wireless network environment
CN109962757A (en) * 2019-02-22 2019-07-02 视联动力信息技术股份有限公司 Data transmission method and device based on view networking
CN110913431A (en) * 2019-11-27 2020-03-24 深圳云博智联科技有限公司 Data wireless transmission method and device, computer equipment and storage medium
CN110995697A (en) * 2019-11-29 2020-04-10 济南慧天云海信息技术有限公司 Big data transmission method and system
CN111683065A (en) * 2020-05-23 2020-09-18 上海沪工焊接集团股份有限公司 Data transmission method, system and device of welding machine communication protocol and storage medium
WO2022116976A1 (en) * 2020-12-04 2022-06-09 中兴通讯股份有限公司 Method for detecting packet loss in network, electronic device and computer-readable storage medium
CN112583529A (en) * 2020-12-18 2021-03-30 脸萌有限公司 Data processing method, device, equipment and storage medium
CN112583529B (en) * 2020-12-18 2023-10-31 脸萌有限公司 Data processing method, device, equipment and storage medium
CN112702411A (en) * 2020-12-21 2021-04-23 上汽大通汽车有限公司 Method for solving CANTP multi-frame packet loss retransmission
CN112702411B (en) * 2020-12-21 2023-01-17 上汽大通汽车有限公司 Method for solving CANTP multi-frame packet loss retransmission
CN113904960A (en) * 2021-12-06 2022-01-07 上海金仕达软件科技有限公司 Method, device, system and storage medium for measuring data transmission delay
CN114629599A (en) * 2022-03-10 2022-06-14 深圳市云语科技有限公司 Message confirmation method of real-time transmission protocol
CN114629599B (en) * 2022-03-10 2023-12-19 深圳市云语科技有限公司 Method for confirming message of real-time transmission protocol
CN116073957A (en) * 2023-03-14 2023-05-05 南京鼎岩信创科技有限公司 Reliable one-to-many data transmission method based on UDP
CN116073957B (en) * 2023-03-14 2023-06-06 南京鼎岩信创科技有限公司 Reliable one-to-many data transmission method based on UDP

Similar Documents

Publication Publication Date Title
CN106452692A (en) Data transmission method and system
CN105791054B (en) A kind of autonomous controllable reliable multicast transmission method realized based on flow point class
US6577599B1 (en) Small-scale reliable multicasting
US6981032B2 (en) Enhanced multicast-based web server
CN102006283B (en) Data transmission method and device
US7502860B1 (en) Method and apparatus for client-side flow control in a transport protocol
KR102046792B1 (en) Method of transporting data from sending node to destination node
CN108881008A (en) A kind of methods, devices and systems of data transmission
KR101533870B1 (en) Apparatus and method for retransmitting message in message transmission system
CN103580773A (en) Method and device for transmitting data frame
CN103796270A (en) Method for sending state report of buffer in user equipment, and user equipment
CN107819833A (en) A kind of method and device for accessing live even wheat
EP1914933B1 (en) Method and apparatus for retransmission request reduction in a network
WO2020078448A1 (en) Message processing method and apparatus
CN105763297A (en) Cloud computing system-based remote data optimized transmission method and device
CN101562500A (en) Data transmission request method, data transmission method and data transmission device
CN112994851B (en) Method and device for supporting differentiated negotiable parallel data communication
CN112566180B (en) Method for improving packet data transmission rate of TETRA system
CN1420663A (en) Method and device for sending data over network
CN104426638A (en) Data submission method and device
CN116455532A (en) Reliable data transmission method, device, equipment and electronic medium
CN114422425B (en) Method, system, device and storage medium for transmitting multilink aggregated data
CN106506572B (en) The method of router and router push local information
CN109729551A (en) Communication means, base station and the device with storage function
CN104202769B (en) A kind of method and device realized business datum and reported

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170222

RJ01 Rejection of invention patent application after publication