CN102769520A - Wireless network congestion control method based on stream control transmission protocol (SCTP) - Google Patents

Wireless network congestion control method based on stream control transmission protocol (SCTP) Download PDF

Info

Publication number
CN102769520A
CN102769520A CN2012102474770A CN201210247477A CN102769520A CN 102769520 A CN102769520 A CN 102769520A CN 2012102474770 A CN2012102474770 A CN 2012102474770A CN 201210247477 A CN201210247477 A CN 201210247477A CN 102769520 A CN102769520 A CN 102769520A
Authority
CN
China
Prior art keywords
packet
sctp
wireless network
transmission
answer
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
Application number
CN2012102474770A
Other languages
Chinese (zh)
Other versions
CN102769520B (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.)
Xidian University
Original Assignee
Xidian University
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 Xidian University filed Critical Xidian University
Priority to CN201210247477.0A priority Critical patent/CN102769520B/en
Publication of CN102769520A publication Critical patent/CN102769520A/en
Application granted granted Critical
Publication of CN102769520B publication Critical patent/CN102769520B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a wireless network congestion control method based on a stream control transmission protocol (SCTP) and mainly solves the problem of low network throughput when data are transmitted by using a standard SCTP in wireless channel environment. The method comprises the following steps of: (1) establishing an SCTP session; (2) performing congestion control, and updating a smooth round-trip time (Srtt) value; (3) quickly retransmitting a data packet which is reported to be lost for four times, and setting the updated Srtt value as the time of a quick retransmission timer of the data packet; and (4) when the quick retransmission timer expires, if the data packet does not receive a reply, quickly retransmitting the data packet again. The wireless network congestion control method has the advantages that by improvement of the conventional SCTP, the network throughput during data transmission is improved, and the method can be applied to wireless network environment.

Description

Wireless network congestion control method based on Stream Control Transmission Protocol
Technical field
The invention belongs to network communications technology field, particularly a kind of congested method of flow transmission control protocol SCTP Control Network that in WLAN Wlan, adopts is used to improve the throughput of wireless channel transmitting terminal.
Background technology
Stream Control Transmission Protocol is the agreement of IETF at redetermination in 2000, is at first to be designed, in transmitting telecommunication signaling SS7 on the IP network, and introduces IP network to some reliable characteristics of SS7 signaling network.TCP is the same with datagram protocol UDP for its simultaneous interpretation transport control protocol view, all is the agreement that belongs to transport layer.SCTP is a kind of reliable transport layer protocol, and it provides stable, orderly data delivery service between two end points, and can the protected data message boundaries.This agreement has many ownership, multithread, and message is divided frame, and configurable unordered transmission such as smoothly closes at characteristic, has very high reliability and fail safe.
SCTP is actually a Connection-oriented Protocol, and it has the characteristics of TCP and UDP concurrently, and can be called is the improvement agreement of TCP.But very big difference is arranged still between them.At first, the connection of Stream Control Transmission Protocol is called coupling, and each coupling can be many ownership.And the end points that TCP connects can only have single ip address.Secondly, SCTP is based on message flow, and its coupling can comprise a plurality of streams, and TCP is based on byte stream, and it can only support a stream.Adopted 4-Way Handshake mechanism when also having Stream Control Transmission Protocol to connect, the three-way handshake mechanism with respect to TCP can effectively prevent Denial of Service attack.Stream Control Transmission Protocol has carried out to the defective of TCP that some are perfect, again some advantages of UDP is combined simultaneously, and more reliable, efficient, orderly data transport service is provided.
In the WLAN, wireless channel is easy to receive the interference of external environment, and this causes wireless channel acute variation at short notice, causes higher packet loss and bigger propagation delay time.Because SCTP designs to cable network, and do not consider the situation of wireless network.Because the cable network reliability is higher, the packet loss that rare error of transmission causes in the data transmission procedure is so the reason of packet loss all thinks to have taken place network congestion.At this moment data sending terminal takes place for fear of congested continuation, will take corresponding congestion control mechanism to reduce the speed that transmitting terminal sends data, and then has reduced the throughput of network.But in wireless network, packet loss is that error of transmission causes mostly, and do not take place congested this moment.But standard agreement still can reduce transmission rate, and this can make throughput seriously descend, the transmission performances variation.
Summary of the invention
The objective of the invention is to deficiency, proposed a kind of wireless network congestion control method, improve network throughput, improve transmission performances based on Stream Control Transmission Protocol to Stream Control Transmission Protocol under the Wlan environment.
The thinking that realizes the object of the invention is: in data transmission procedure, when packet is lacked by four registrations, through starting quick retransmission mechanism, retransmit this packet rapidly, prevent congested generation.After packet retransmits through the timer that this packet is retransmitted once more fast is set, realize retransmission packet lose after again quick re-transmission.Its technical scheme comprises the steps:
(1) shakes hands and set up flow transmission control protocol SCTP session through four steps;
(2) after session is set up, get into congested control, simultaneously according to the SCTP standard agreement upgrade to write down level and smooth two-way time Srtt value;
(3) whether inspection has the overtime retransmission timer of packet overtime, if then carry out overtime re-transmission, otherwise execution in step (4);
Whether the transmission sequence number TSN that (4) checks packet has had four disappearance registrations, if execution in step (5) then, otherwise return step (2);
(5) packet that four registration disappearances are arranged is retransmitted fast;
(6) according to level and smooth two-way time of the Srtt of up-to-date once record, the quick retransmission timer of packet is set, the Srtt value that is about to state-of-the-art record is made as the time of quick retransmission timer;
(7) whether the quick retransmission timer of inspection packet is zero, if execution in step (8) then, otherwise return step (2);
(8) whether inspection has the answer of pair retransmission data packet may, if do not receive answer, and execution in step (9), otherwise return step (2);
(9) retransmit fast again.
The present invention is owing to be that the packet that retransmits has fast been set a quick retransmission timer; If after this timer expiry, do not receive answer; Then retransmit this packet at once once more; Overcome the low problem of prior art throughput in wireless channel, can receive under the situation of external environment influence variation suddenly, kept the throughput of network at wireless channel.
Description of drawings
Fig. 1 workflow diagram of the present invention;
Fig. 2 basic application scenarios figure of the present invention;
Fig. 3 adopts existing scheme and the present invention program's congested control window Cwnd comparison diagram.
Embodiment
The present invention relates to revise the quick retransmission mechanism of standard Stream Control Transmission Protocol, allow quick re-transmission repeatedly, and with the level and smooth round-trip delay Srtt of current statistics as the adjacent twice quick retransmit interval time.If packet loss is owing to error of transmission causes, round-trip delay can be very not big, and the present invention program can start re-transmission fast before overtime retransmission timer is overtime, improves sending probability to promote throughput; If packet loss causes owing to congested, current round-trip delay can be very big, and the present invention program will adopt the overtime retransmission mechanism of protocols having, will be for minimum with congested control window.Therefore, of the present inventionly cable network can be applied to, wireless network can be applied to again.
Below in conjunction with accompanying drawing the present invention is made further detailed description.
With reference to Fig. 1, concrete steps of the present invention are following:
Step 1, the initialization coupling.
(1a) transmitting terminal sends the INIT packet, to initiate connection request;
After (1b) receiving terminal is received the INIT bag, return the INIT-ACK bag and confirm;
(1c) transmitting terminal sends COOKIE-EHCO bag startup coupling;
(1d) receiving terminal receives that returning the COOKIE-ACK bag after COOKIE-EHCO wraps confirms.
Above-mentioned four steps of process are set up the SCTP session after shaking hands, and session is communicated by letter after setting up normally.
Step 2, congested control and upgrade the value of level and smooth two-way time of Srtt.
After (2a) session is set up; Get into the congested control stage; The congestion control mechanism of SCTP starts and congestion avoidance procedure according to current congestion control window Cwnd and the size discrimination that starts thresholding Ssthresh slowly slowly, if congested control window is littler than starting thresholding slowly, then is in slow the startup stage; Otherwise be in congestion avoidance phase, congested control window Cwnd and the value that starts thresholding Ssthresh are slowly set according to the Stream Control Transmission Protocol standard;
(2b) in the linux kernel; When transmitting terminal sends packet; Can the packet of non-re-transmission be made marks at set intervals; With Rtt two-way time of this packet calculating current network, if transmitting terminal does not send data for a long time, then transmitting terminal can send Rtt two-way time that some data snooping bags remove detection network automatically;
(2c) according to Rtt two-way time that obtains, according to current level and smooth two-way time of the Srtt of Stream Control Transmission Protocol criterion calculation, and with the result who calculates more new record level and smooth two-way time Srtt value.
Step 3 checks that whether the overtime retransmission timer of packet is arranged is overtime.
When transmitting terminal sends packet; An overtime re-transmission timer is set for each packet; If that moment at overtime re-transmission timer expired is not still received the answer to this packet, then this packet is carried out overtime re-transmission, otherwise execution in step 4.
Step 4, whether the transmission sequence number TSN of inspection packet had had four disappearance registrations.
(4a) SCTP gives a unique transmission sequence number TSN to the packet of each transmission;
(4b) when transmitting terminal is received the answer of packet, if report receives that the TSN of packet is discontinuous in replying, the TSN of that packet that just will lack notes, and the disappearance number of this packet is increased by 1;
(4c) judge whether the number that this packet lacks equals 4, if equal 4, then execution in step 5; If less than 4, return execution in step 2.
Step 5; To reporting that the packet that lacks 4 times starts quick retransmission mechanism and retransmits; This quick retransmission mechanism is a kind of retransmission mechanism of stipulating in the Stream Control Transmission Protocol standard; If promptly the transmission sequence number TSN of packet has had four disappearance registrations, no matter whether overtime retransmission timer is zero, all will retransmit this packet at once.
Step 6, when packet is retransmitted fast, the quick retransmission timer of this packet be set to current renewal level and smooth two-way time Srtt value.
Step 7, whether the quick retransmission timer of inspection packet is overtime, then overtime if retransmission timer is zero fast, execution in step 8, otherwise return step 2.
Step 8, whether the inspection packet receives answer.
In kernel, check retransmission queue,, then retransmit this packet once more, otherwise the explanation transmitting terminal has been received the answer to this packet, need not carry out congested control to this packet, returns step 2 if this packet is still arranged in the retransmission queue.
Step 9, the packet to above-mentioned disappearance retransmits fast once more.
Effect of the present invention can further specify through following experiment:
(1) experiment condition: adopt Ubuntu operating system, on three physical machine, use amended SCTP kernel module based on Linux-2.6.35 kernel version.
(2) experiment scene: as shown in Figure 2, two user A, B are in different geographical, receive the influence of other wireless devices and transmission range in the current environment, can produce the phase mutual interference between the user, and two users' packet loss has different variations with time delay.
(3) experimental technique: two user A, B set up session through wireless router and a server, and two users send data to server simultaneously incessantly.Adopt existing SCTP scheme and adopt the present invention program to experimentize respectively, the value of the congested control window Cwnd of statistics of user's A is drawn congested control window Cwnd change curve in time based on Matlab afterwards, and is as shown in Figure 3.
(4) experimental result: visible by Fig. 3; The value that adopts the existing congested control window of SCTP scheme transmitting terminal Cwnd is mainly under 6000 bits; And employing the inventive method; Mainly on 6000 bits, this explanation adopts the present invention program in the identical time, to send the more data bag than the existing Stream Control Transmission Protocol of employing to the value of then congested control window Cwnd, thereby has increased the throughput of network.

Claims (4)

1. wireless network congestion control method based on Stream Control Transmission Protocol, its step comprises as follows:
(1) shakes hands and set up flow transmission control protocol SCTP session through four steps;
(2) after session is set up, get into congested control, simultaneously according to the SCTP standard agreement upgrade to write down level and smooth two-way time Srtt value;
(3) whether inspection has the overtime retransmission timer of packet overtime, if then carry out overtime re-transmission, otherwise execution in step (4);
Whether the transmission sequence number TSN that (4) checks packet has had four disappearance registrations, if execution in step (5) then, otherwise return step (2);
(5) packet that four registration disappearances are arranged is retransmitted fast;
(6) according to level and smooth two-way time of the Srtt of up-to-date once record, the quick retransmission timer of packet is set, the Srtt value that is about to state-of-the-art record is made as the time of quick retransmission timer;
(7) whether the quick retransmission timer of inspection packet is zero, if execution in step (8) then, otherwise return step (2);
(8) whether inspection has the answer of pair retransmission data packet may, if do not receive answer, and execution in step (9), otherwise return step (2);
(9) retransmit fast again.
2. a kind of wireless network congestion control method according to claim 1 based on Stream Control Transmission Protocol, wherein described the shaking hands through four steps of step (1) set up flow transmission control protocol SCTP session, carries out as follows:
(2a) transmitting terminal sends the INIT packet, to initiate connection request;
After (2b) receiving terminal is received the INIT bag, return the INIT-ACK bag and confirm;
(2c) transmitting terminal sends COOKIE-EHCO bag startup coupling;
(2d) receiving terminal receives that returning the COOKIE-ACK bag after COOKIE-EHCO wraps confirms.
3. a kind of wireless network congestion control method according to claim 1 based on Stream Control Transmission Protocol, wherein whether the described transmission sequence number of packet of checking of step (4) has had four disappearance registrations, carries out as follows:
(3a) SCTP gives a unique transmission sequence number TSN to each packet that sends;
(3b) when transmitting terminal is received the answer of packet, if report receives that the TSN of packet is discontinuous in replying, the TSN of that packet that just will lack notes, and the disappearance number of this packet is increased by 1;
(3c) check whether the number that this packet lacks equals 4, if then retransmit this packet immediately.
4. a kind of wireless network congestion control method according to claim 1 based on Stream Control Transmission Protocol; Wherein whether the described inspection of step (8) has the answer of pair retransmission data packet may; Be in kernel, to check retransmission queue,, then do not receive answer this packet for transmitting terminal if this packet is still arranged in the retransmission queue; If this packet not in the retransmission queue has then been received answer for transmitting terminal.
CN201210247477.0A 2012-07-17 2012-07-17 Wireless network congestion control method based on stream control transmission protocol (SCTP) Expired - Fee Related CN102769520B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210247477.0A CN102769520B (en) 2012-07-17 2012-07-17 Wireless network congestion control method based on stream control transmission protocol (SCTP)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210247477.0A CN102769520B (en) 2012-07-17 2012-07-17 Wireless network congestion control method based on stream control transmission protocol (SCTP)

Publications (2)

Publication Number Publication Date
CN102769520A true CN102769520A (en) 2012-11-07
CN102769520B CN102769520B (en) 2015-01-28

Family

ID=47096781

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210247477.0A Expired - Fee Related CN102769520B (en) 2012-07-17 2012-07-17 Wireless network congestion control method based on stream control transmission protocol (SCTP)

Country Status (1)

Country Link
CN (1) CN102769520B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106162739A (en) * 2016-09-27 2016-11-23 京信通信技术(广州)有限公司 Method for controlling network congestion and system
CN109039535A (en) * 2018-06-26 2018-12-18 浙江工业大学 A kind of error control method towards energy capture electromagnetism nanometer network
CN109151848A (en) * 2017-06-16 2019-01-04 阿里巴巴集团控股有限公司 Determine the method, apparatus and server of network service quality
CN109167734A (en) * 2018-08-06 2019-01-08 华为技术有限公司 The method and apparatus for identifying transmission control protocol state
CN110753271A (en) * 2019-09-10 2020-02-04 杭州亿圣信息技术有限公司 TCP error code retransmission control method under video wireless group broadcast by dynamic controllable double stream
CN112738843A (en) * 2021-01-18 2021-04-30 哈尔滨工业大学 High-rate 5G uplink congestion control method for determining communication delay
CN113556268A (en) * 2021-07-23 2021-10-26 芯河半导体科技(无锡)有限公司 Method for realizing tcping

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1486043A (en) * 2002-09-28 2004-03-31 ��Ϊ�������޹�˾ Method for handling IP network congestion by MTP2 user adaption
CN101895466A (en) * 2010-07-02 2010-11-24 北京交通大学 Method for reducing influence of data packet disorder on SCTP multipath transmission
CN102171975A (en) * 2008-10-01 2011-08-31 株式会社Ntt都科摩 Mobile communication system and transmitting-side node
US8126015B2 (en) * 2008-04-11 2012-02-28 Hewlett-Packard Development Company, L.P. Multi-stream communication processing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1486043A (en) * 2002-09-28 2004-03-31 ��Ϊ�������޹�˾ Method for handling IP network congestion by MTP2 user adaption
US8126015B2 (en) * 2008-04-11 2012-02-28 Hewlett-Packard Development Company, L.P. Multi-stream communication processing
CN102171975A (en) * 2008-10-01 2011-08-31 株式会社Ntt都科摩 Mobile communication system and transmitting-side node
CN101895466A (en) * 2010-07-02 2010-11-24 北京交通大学 Method for reducing influence of data packet disorder on SCTP multipath transmission

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106162739A (en) * 2016-09-27 2016-11-23 京信通信技术(广州)有限公司 Method for controlling network congestion and system
CN106162739B (en) * 2016-09-27 2019-06-11 京信通信系统(中国)有限公司 Method for controlling network congestion and system
CN109151848A (en) * 2017-06-16 2019-01-04 阿里巴巴集团控股有限公司 Determine the method, apparatus and server of network service quality
CN109151848B (en) * 2017-06-16 2021-07-02 创新先进技术有限公司 Method, device and server for determining network service quality
CN109039535B (en) * 2018-06-26 2021-06-18 浙江工业大学 Error control method for energy capture electromagnetic nano network
CN109039535A (en) * 2018-06-26 2018-12-18 浙江工业大学 A kind of error control method towards energy capture electromagnetism nanometer network
CN109167734A (en) * 2018-08-06 2019-01-08 华为技术有限公司 The method and apparatus for identifying transmission control protocol state
CN109167734B (en) * 2018-08-06 2020-12-01 华为技术有限公司 Method and device for identifying transmission control protocol state
CN110753271A (en) * 2019-09-10 2020-02-04 杭州亿圣信息技术有限公司 TCP error code retransmission control method under video wireless group broadcast by dynamic controllable double stream
CN110753271B (en) * 2019-09-10 2021-08-24 杭州亿圣信息技术有限公司 TCP error code retransmission control method under video wireless group broadcast by dynamic controllable double stream
CN112738843A (en) * 2021-01-18 2021-04-30 哈尔滨工业大学 High-rate 5G uplink congestion control method for determining communication delay
CN113556268A (en) * 2021-07-23 2021-10-26 芯河半导体科技(无锡)有限公司 Method for realizing tcping
CN113556268B (en) * 2021-07-23 2023-12-26 芯河半导体科技(无锡)有限公司 Method for realizing tcping

Also Published As

Publication number Publication date
CN102769520B (en) 2015-01-28

Similar Documents

Publication Publication Date Title
CN110995697B (en) Big data transmission method and system
CN108270682B (en) Message transmission method, terminal, network equipment and communication system
US10715282B2 (en) Method and related device for improving TCP transmission efficiency using delayed ACK
JP6522855B2 (en) Packet transmission method and user equipment
US7965674B2 (en) Sub-segment based transport layer protocol for wireless medium
US6694471B1 (en) System and method for periodic retransmission of messages
WO2018205688A1 (en) Method, apparatus and system for data transmission
WO2018082615A1 (en) Method and device for sending messages, chip and terminal
CN102769520B (en) Wireless network congestion control method based on stream control transmission protocol (SCTP)
US9577791B2 (en) Notification by network element of packet drops
WO2014092779A1 (en) Notification by network element of packet drops
JP2002152308A (en) Data communication system, data communication method, and recording medium with communication program recorded therein
KR20080040671A (en) Range extension between two wireless devices
KR102046792B1 (en) Method of transporting data from sending node to destination node
WO2013159516A1 (en) Wireless side tcp data retransmission method and device
WO2011100911A2 (en) Detection processing method, data transmitter, data receiver and communication system
CN106453356B (en) The bilateral acceleration transmission method of wireless network and system
WO2020147453A1 (en) Data transmission method and related apparatus
JP2002135357A (en) Control method for data flow in communication system
US20220225163A1 (en) Communications device, infrastructure equipment and methods
US9510242B2 (en) Reducing superfluous traffic in a network
US7286546B2 (en) Method and system for providing reliable and fast communications with mobile entities
JP2002521960A (en) Method and apparatus for transmitting a data packet in a communication system
Henderson TCP performance over satellite channels
WO2017067224A1 (en) Packet processing method and apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
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: 20150128

Termination date: 20200717