CN103312719B - Rate adaptation transmission method based on UDP under network environment - Google Patents

Rate adaptation transmission method based on UDP under network environment Download PDF

Info

Publication number
CN103312719B
CN103312719B CN201310263674.6A CN201310263674A CN103312719B CN 103312719 B CN103312719 B CN 103312719B CN 201310263674 A CN201310263674 A CN 201310263674A CN 103312719 B CN103312719 B CN 103312719B
Authority
CN
China
Prior art keywords
data block
transmitting terminal
transmission
data
receiving terminal
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.)
Expired - Fee Related
Application number
CN201310263674.6A
Other languages
Chinese (zh)
Other versions
CN103312719A (en
Inventor
梁赓
李春晓
赵焕军
蒋步云
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Huaduo Kyushu Investment Management Co.,Ltd.
Original Assignee
Kyushu Polytron Technologies Inc
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 Kyushu Polytron Technologies Inc filed Critical Kyushu Polytron Technologies Inc
Priority to CN201310263674.6A priority Critical patent/CN103312719B/en
Publication of CN103312719A publication Critical patent/CN103312719A/en
Application granted granted Critical
Publication of CN103312719B publication Critical patent/CN103312719B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Communication Control (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention provides rate adaptation transmission method based on UDP under a kind of network environment, including: transmitting terminal, data to be transmitted is split as N number of data block;Transmitting terminal carries the transmission message of data block i based on udp protocol with the i-th transmission rate to receiving terminal transmission;Transmitting terminal judges whether to receive the response message that data block i of receiving terminal return is properly received within a preset time interval;If received, transmitting terminal, according to the response message received, calculates the current receiving velocity of described receiving terminal;Transmitting terminal, according to the current receiving velocity of described receiving terminal, dynamically adjusts described i-th transmission rate of described transmitting terminal, the i-th transmission rate is adjusted to i+1 transmission rate;I=i+1, circulation is made to perform above-mentioned steps, until terminating during i > N.The speed of transmission is constantly adjusted according to real-time network condition, in the case of network is highly unstable, or, when Multi-task Concurrency, it is possible to ensure data transmission credibility and high efficiency.

Description

Rate adaptation transmission method based on UDP under network environment
Technical field
The invention belongs to technical field of data transmission, be specifically related to speed based on UDP under a kind of network environment Adaptive transmission method.
Background technology
In recent years, along with developing rapidly of communication network, by the demand of communication network transmission Various types of data also Increasing.The advantage that udp protocol is high owing to having data transmission real-time, and gradually by the green grass or young crops of user Look at.But, different from TCP transmission agreement, UDP host-host protocol is insecure host-host protocol, generally uses Fixed-rate transmission data, therefore, it is primarily adapted for use in bandwidth abundance and the network of good stability.Work as network When fluctuating bigger, during by UDP host-host protocol transmission data, asking of data packetloss and data transmission delay Topic is serious, thus limits the application of UDP host-host protocol.
Summary of the invention
The defect existed for prior art, the present invention provide under a kind of network environment speed based on UDP from Adapt to transmission method, even if in the case of network is highly unstable, or, when Multi-task Concurrency, also Can ensure that reliability and high efficiency that data transmit.
The technical solution used in the present invention is as follows:
The present invention provides rate adaptation transmission method based on UDP under a kind of network environment, including following step Rapid:
S1, data to be transmitted is split as N number of data block by transmitting terminal, obtain data block set data block 1, Data block 2... data block N};Wherein, N is more than or equal to 2;Make i=1;
S2, described transmitting terminal carries data block i with the i-th transmission rate to receiving terminal transmission based on udp protocol Transmission message;
S3, described transmitting terminal judges whether to receive the data that described receiving terminal returns within a preset time interval The response message that block i is properly received;Without receiving, then perform S4;If received, then perform S5;
S4, described transmitting terminal repeats to send data block i to described receiving terminal with described i-th transmission rate, until Receive the response message that data block i of described receiving terminal return is properly received;Then S5 is performed;
S5, described transmitting terminal, according to the described response message received, calculates currently connecing of described receiving terminal Receive speed;
S6, described transmitting terminal, according to the current receiving velocity of described receiving terminal, dynamically adjusts described transmitting terminal Described i-th transmission rate, is adjusted to i+1 transmission rate by described i-th transmission rate;
S7, makes i=i+1, circulation perform S2-S6, until terminating during i > N.
Preferably, after S2, also include:
When described receiving terminal receives data block i from described transmitting terminal, described receiving terminal preserves described number According to block i, then return, to described transmitting terminal, the response message that described data block i is properly received.
Preferably, number is carried with the 1st transmission rate to receiving terminal transmission based on udp protocol when described transmitting terminal During according to the transmission message of block 1, this transmission message carries the information that data block total number amount is N, and, Also carry check value;Each data block quantity received is calculated, when detecting by described receiving terminal When receiving N number of data block, described receiving terminal judges that check value is the most correct, if correctly, then to described The notification message that transmitting terminal feedback data is transmitted;If it is incorrect, then to described transmitting terminal feedback data The notification message of reception failure, makes described transmitting terminal resend described data to be transmitted, until data are correct Till being transmitted.
Preferably, described receiving terminal is after the notification message that described transmitting terminal feedback data is transmitted, also Including:
Described receiving terminal assembles the N number of data block received, and reduction obtains described data to be transmitted.
Beneficial effects of the present invention is as follows:
Rate adaptation transmission method based on UDP under the network environment that the present invention provides, according to real-time net Network situation constantly adjusts the speed of transmission, thus farthest utilizes bandwidth, improves the efficiency of data transmission. And, even if in the case of network is highly unstable, or, when Multi-task Concurrency, it is also ensured that The reliability of data transmission and high efficiency.
Accompanying drawing explanation
Under the network environment that Fig. 1 provides for the present invention, the flow process of rate adaptation transmission method based on UDP is shown It is intended to.
Detailed description of the invention
Below in conjunction with accompanying drawing, the present invention is described in detail:
As it is shown in figure 1, the present invention provides rate adaptation transmission method based on UDP under a kind of network environment, Comprise the following steps:
S1, data to be transmitted is split as N number of data block by transmitting terminal, obtain data block set data block 1, Data block 2... data block N};Wherein, N is more than or equal to 2;Make i=1;
S2, described transmitting terminal carries data block i with the i-th transmission rate to receiving terminal transmission based on udp protocol Transmission message;When described receiving terminal receives data block i from described transmitting terminal, described receiving terminal is protected Deposit described data block i, then return, to described transmitting terminal, the response message that described data block i is properly received.
In this step, when transmitting terminal sends data block 1, initial transmission rate be based on data block quantity and Current network conditions determines.
S3, described transmitting terminal judges whether to receive the data that described receiving terminal returns within a preset time interval The response message that block i is properly received;Without receiving, then perform S4;If received, then perform S5;
S4, described transmitting terminal repeats to send data block i to described receiving terminal with described i-th transmission rate, until Receive the response message that data block i of described receiving terminal return is properly received;Then S5 is performed;
S5, described transmitting terminal, according to the described response message received, calculates currently connecing of described receiving terminal Receive speed;
S6, described transmitting terminal, according to the current receiving velocity of described receiving terminal, dynamically adjusts described transmitting terminal Described i-th transmission rate, is adjusted to i+1 transmission rate by described i-th transmission rate;Wherein, adjustment is sent out Transmission rate particularly as follows: be adjusted to receiving velocity and increase or reduce certain percentage ratio by transmission rate.
S7, makes i=i+1, circulation perform S2-S6, until terminating during i > N.
It addition, when described transmitting terminal carries data with the 1st transmission rate to receiving terminal transmission based on udp protocol During the transmission message of block 1, this transmission message carries the information that data block total number amount is N, and, also Carry check value;Each data block quantity received is calculated by described receiving terminal, connects when detecting When receiving N number of data block, described receiving terminal judges that check value is the most correct, if correctly, then to described The notification message that sending end feedback data is transmitted, then receiving terminal assembles the N number of data block received, also Former obtain described data to be transmitted;If incorrect, then would leading to described transmitting terminal feedback data reception failure Know message, make described transmitting terminal resend described data to be transmitted, until data are correctly transmitted. It should be noted that receiving terminal judges test value, main purpose for inspection data block, in transmitting procedure, is No generation mess code situation, thus ensure that data block is by the most complete reception.
Rate adaptation transmission method based on UDP under the network environment that the present invention provides, according to real-time net Network situation constantly adjusts the speed of transmission, thus farthest utilizes bandwidth, improves the efficiency of data transmission. And, even if in the case of network is highly unstable, or, when Multi-task Concurrency, it is also ensured that The reliability of data transmission and high efficiency.
The above is only the preferred embodiment of the present invention, it is noted that common for the art For technical staff, under the premise without departing from the principles of the invention, it is also possible to make some improvements and modifications, These improvements and modifications also should regard protection scope of the present invention.

Claims (1)

1. rate adaptation transmission method based on UDP under a network environment, it is characterised in that include with Lower step:
S1, data to be transmitted is split as N number of data block by transmitting terminal, obtain data block set data block 1, Data block 2 ... data block N};Wherein, N is more than or equal to 2;Make i=1;
S2, described transmitting terminal carries data block i with the i-th transmission rate to receiving terminal transmission based on udp protocol Transmission message;Wherein, when transmitting terminal sends data block 1, initial transmission rate is based on data block quantity And current network conditions determines;
S3, described transmitting terminal judges whether to receive the data that described receiving terminal returns within a preset time interval The response message that block i is properly received;Without receiving, then perform S4;If received, then perform S5;
S4, described transmitting terminal repeats to send data block i to described receiving terminal with described i-th transmission rate, until Receive the response message that data block i of described receiving terminal return is properly received;Then S5 is performed;
S5, described transmitting terminal, according to the described response message received, calculates currently connecing of described receiving terminal Receive speed;
S6, described transmitting terminal, according to the current receiving velocity of described receiving terminal, dynamically adjusts described transmitting terminal Described i-th transmission rate, is adjusted to i+1 transmission rate by described i-th transmission rate;
S7, makes i=i+1, circulation perform S2-S6, until terminating during i > N;
Wherein, after S2, also include:
When described receiving terminal receives data block i from described transmitting terminal, described receiving terminal preserves described number According to block i, then return, to described transmitting terminal, the response message that described data block i is properly received;
Wherein, data are carried with the 1st transmission rate to receiving terminal transmission based on udp protocol when described transmitting terminal During the transmission message of block 1, this transmission message carries the information that data block total number amount is N, and, also Carry check value;Each data block quantity received is calculated by described receiving terminal, connects when detecting When receiving N number of data block, described receiving terminal judges that check value is the most correct, if correctly, then to described The notification message that sending end feedback data is transmitted;If incorrect, then connect to described transmitting terminal feedback data Receive failed notification message, make described transmitting terminal resend described data to be transmitted, until data correctly pass Till being totally lost into;
Wherein, described receiving terminal, after the notification message that described transmitting terminal feedback data is transmitted, also wraps Include:
Described receiving terminal assembles the N number of data block received, and reduction obtains described data to be transmitted.
CN201310263674.6A 2013-06-27 2013-06-27 Rate adaptation transmission method based on UDP under network environment Expired - Fee Related CN103312719B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310263674.6A CN103312719B (en) 2013-06-27 2013-06-27 Rate adaptation transmission method based on UDP under network environment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310263674.6A CN103312719B (en) 2013-06-27 2013-06-27 Rate adaptation transmission method based on UDP under network environment

Publications (2)

Publication Number Publication Date
CN103312719A CN103312719A (en) 2013-09-18
CN103312719B true CN103312719B (en) 2016-12-28

Family

ID=49137503

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310263674.6A Expired - Fee Related CN103312719B (en) 2013-06-27 2013-06-27 Rate adaptation transmission method based on UDP under network environment

Country Status (1)

Country Link
CN (1) CN103312719B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103763374A (en) * 2014-01-23 2014-04-30 深圳联友科技有限公司 Method and device for data transmission based on UDT
CN105515733B (en) 2014-09-24 2019-03-12 中兴通讯股份有限公司 A kind of feedback method and device
CN106911432A (en) * 2017-03-29 2017-06-30 武汉米风通信技术有限公司 Broadcasting and TV frequency spectrum ultra-narrow band Internet of Things communication channel rate adaptive approach and device
CN108769450B (en) * 2018-06-21 2021-01-05 深圳市道通智能航空技术有限公司 Data transmission control method, information sending end, receiving end and aircraft graph transmission system
CN109451541A (en) * 2018-12-21 2019-03-08 中国电子科技集团公司第三十研究所 Message transmission rate adaptive approach based on UDP under a kind of wireless network environment
CN110198203A (en) * 2019-06-14 2019-09-03 中国人民解放军陆军工程大学 Method for controlling data transmission rate
CN116073957B (en) * 2023-03-14 2023-06-06 南京鼎岩信创科技有限公司 Reliable one-to-many data transmission method based on UDP

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101534573A (en) * 2008-11-20 2009-09-16 上海交通大学 Method for achieving transmission layer confirmation by link layer in wireless self-organization network
CN101557273A (en) * 2008-04-11 2009-10-14 傅承鹏 Method simultaneously suitable for wired network real-time streaming media transport protocol and wireless network real-time streaming media transport protocol

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101557273A (en) * 2008-04-11 2009-10-14 傅承鹏 Method simultaneously suitable for wired network real-time streaming media transport protocol and wireless network real-time streaming media transport protocol
CN101534573A (en) * 2008-11-20 2009-09-16 上海交通大学 Method for achieving transmission layer confirmation by link layer in wireless self-organization network

Also Published As

Publication number Publication date
CN103312719A (en) 2013-09-18

Similar Documents

Publication Publication Date Title
CN103312719B (en) Rate adaptation transmission method based on UDP under network environment
CN105763474B (en) Data transmission method and device
CN101938334B (en) Adaptive error control method combining random network coding and automatic repeat request
CN101951370B (en) Reliable file transmission method based on UDP
WO2007045972A3 (en) Prioritized control packet delivery for transmission control protocol (tcp)
ATE502454T1 (en) IMPROVEMENTS IN OR RELATED TO BEAM FORMING
CN105183687B (en) A kind of timesharing serial port communication method and system
CN104038845A (en) Method and device for transmitting message
CN105721333A (en) Data transmission device and data transmission method
CN105959093A (en) Serial communication baud rate real-time self-adaption method
CN112566282A (en) Internet of things information transmission mode and platform
CN106656411B (en) method and system for scheduling MCS in HARQ (hybrid automatic repeat request) binding mode
CN103825689A (en) Delay determinacy message retransmission method with local cache
CN102546096B (en) Real-time multicasting self-adaptation optimization method based on unequal error protection
JP7000662B2 (en) Methods, computer programs, systems and terminals
CN105391718A (en) Method for realizing infrared medical image wireless transmission
CN105406915A (en) File transmission method facing satellite-to-earth link
US10200154B2 (en) System and method for early packet header verification
CN104796235A (en) Satellite communication self-adaption congestion control method based on packet loss probability
CN105391518B (en) A kind of document transmission method towards deep space network
CN104168284B (en) A kind of data transmission method and the first electronic equipment
WO2017041240A1 (en) Data transmission method and related device
CN105242908B (en) A kind of big document transmission method of VHF radio for flowing control firmly based on serial ports
CN101409611A (en) Communication method for IP scheduling
CN105871528B (en) HARQ feedback method and device, terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: BEIJING HUADUO JIUZHOU INVESTMENT MANAGEMENT CO.,

Free format text: FORMER OWNER: BOTHDO (BEIJING) TECHNOLOGY CO., LTD.

Effective date: 20140410

C41 Transfer of patent application or patent right or utility model
C53 Correction of patent of invention or patent application
CB03 Change of inventor or designer information

Inventor after: Liang Geng

Inventor after: Li Chunxiao

Inventor after: Zhao Huanjun

Inventor after: Jiang Buyun

Inventor before: Liang Geng

COR Change of bibliographic data

Free format text: CORRECT: INVENTOR; FROM: LIANG GENG TO: LIANG GENG LI CHUNXIAO ZHAO HUANJUN JIANG BUYUN

Free format text: CORRECT: ADDRESS; FROM: 100190 HAIDIAN, BEIJING TO: 100162 DAXING, BEIJING

TA01 Transfer of patent application right

Effective date of registration: 20140410

Address after: 100162 Beijing City, Xihongmen, Southern China, with the main street, building 104, room 1, No.

Applicant after: Beijing Huaduo Kyushu Investment Management Co.,Ltd.

Address before: 100190 Beijing, Zhongguancun, Haidian District, north two, No. 7, 13, 6, 602 rooms

Applicant before: Botu Xuran (Beijing) Technology Co.,Ltd.

CB02 Change of applicant information

Address after: 100162 Beijing City, Xihongmen, Southern China, with the main street, building 104, room 1, No.

Applicant after: HUADUO JIUZHOU TECHNOLOGY CO.,LTD.

Address before: 100162 Beijing City, Xihongmen, Southern China, with the main street, building 104, room 1, No.

Applicant before: Beijing Jiuzhou Technology Co.,Ltd.

Address after: 100162 Beijing City, Xihongmen, Southern China, with the main street, building 104, room 1, No.

Applicant after: Beijing Jiuzhou Technology Co.,Ltd.

Address before: 100162 Beijing City, Xihongmen, Southern China, with the main street, building 104, room 1, No.

Applicant before: Beijing Huaduo Kyushu Investment Management Co.,Ltd.

COR Change of bibliographic data
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20161228

Termination date: 20200627