CN102769520B - 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
CN102769520B
CN102769520B CN201210247477.0A CN201210247477A CN102769520B CN 102769520 B CN102769520 B CN 102769520B CN 201210247477 A CN201210247477 A CN 201210247477A CN 102769520 B CN102769520 B CN 102769520B
Authority
CN
China
Prior art keywords
packet
retransmission
sctp
congestion control
wireless network
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
CN201210247477.0A
Other languages
Chinese (zh)
Other versions
CN102769520A (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

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

Based on the wireless network congestion control method of Stream Control Transmission Protocol
Technical field
The invention belongs to network communication technology field, particularly a kind of method adopting flow transmission control protocol SCTP net control congested in WLAN (wireless local area network) Wlan, for improving the throughput of wireless channel transmitting terminal.
Background technology
Stream Control Transmission Protocol is an agreement of IETF newly definition in 2000, is be designed to transmitting telecommunication signaling SS7 on ip networks at first, and some believed characteristic of SS7 signaling network are introduced IP network.It is the same with datagram protocol UDP with transmission control protocol TCP, is all the agreement belonging to transport layer.SCTP is a kind of transport layer protocol reliably, and it provides stable, orderly data delivery service between the two endpoints, and can protected data message boundaries.This agreement has many ownership, multithread, message framing, configurable unordered transmission, and the characteristics such as level and smooth closedown, have very high reliability and fail safe.
SCTP is actually a Connection-oriented Protocol, and it has the feature of TCP and UDP concurrently, can be called it is the improved protocol of TCP.But still there is very large difference between them.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 Effect-based operation stream, and its coupling can comprise multiple stream, and TCP is based on byte stream, and it can only support a stream.Have employed 4-Way Handshake mechanism when also having Stream Control Transmission Protocol to connect, relative to the three-way handshake mechanism of TCP, effectively can prevent Denial of Service attack.Stream Control Transmission Protocol has carried out to the defect of TCP that some are perfect, some advantages of UDP is combined again simultaneously, provides more reliable, efficient, orderly data transport service.
In WLAN (wireless local area network), wireless channel is easy to the interference being subject to external environment, and this causes wireless channel can acute variation at short notice, causes higher packet loss and larger propagation delay time.Due to SCTP when being formulated to standard for wired networks design, and do not consider the situation of wireless network.Because cable network reliability is higher, seldom there is the packet loss that error of transmission causes in data transmission procedure, so the reason of packet loss is all thought to there occurs network congestion.At this moment data sending terminal occurs in order to avoid congested continuation, corresponding congestion control mechanism will be taked to reduce the speed of transmitting terminal transmission data, and then reduce the throughput of network.But in the wireless network, packet loss is that error of transmission causes mostly, does not now occur congested.But standard agreement still can reduce transmission rate, this can make throughput degradation, the degradation of transmission.
Summary of the invention
The object of the invention is to the deficiency for Stream Control Transmission Protocol under Wlan environment, propose a kind of wireless network congestion control method based on Stream Control Transmission Protocol, improve network throughput, improve the performance of transmission.
The thinking realizing the object of the invention is: in data transmission procedure, when packet is by four registration disappearances, by starting fast retransmission mechanism, retransmits this packet rapidly, preventing congested generation.By arranging the timer to this packet Fast retransmission again after data packet retransmission, realize retransmission packet lose after Fast retransmission again.Its technical scheme comprises the steps:
(1) shake hands through four steps and set up flow transmission control protocol SCTP session;
(2) after session establishment, enter congestion control, upgrade the value of the smoothed round trip time Srtt that will record simultaneously according to SCTP standard agreement;
(3) check whether the Retransmission timeout timer expiry of packet, if it is carry out Retransmission timeout, otherwise perform step (4);
(4) check whether the transmission sequence number TSN of packet has had and lack registration four times, if it is perform step (5), otherwise return step (2);
(5) to there being the packet of registering disappearance for four times to carry out Fast retransmission;
(6) according to the up-to-date smoothed round trip time Srtt once recorded, the Fast retransmission timer of setting data bag, the Srtt value by state-of-the-art record is set to the time of Fast retransmission timer;
(7) whether the Fast retransmission timer of inspection packet is zero, if it is performs step (8), otherwise returns step (2);
(8) check whether the reply to retransmission data packet may, if do not receive reply, perform step (9), otherwise return step (2);
(9) Fast retransmission is carried out again.
The present invention is owing to setting a Fast retransmission timer for the packet of Fast retransmission, if do not receive reply after this timer expiry, then again retransmit this packet at once, overcome the problem that prior art throughput in wireless channel is low, when wireless channel is subject to external environment impact change suddenly, the throughput of network can be kept.
Accompanying drawing explanation
Fig. 1 workflow diagram of the present invention;
Fig. 2 basic application scenarios figure of the present invention;
Fig. 3 adopts the congestion control window Cwnd comparison diagram of existing scheme and the present invention program.
Embodiment
The present invention relates to the fast retransmission mechanism of Standard modification Stream Control Transmission Protocol, allow Fast retransmission repeatedly, and using the smooth roundtrip time delay Srtt of current statistic as adjacent twice Fast retransmission interval time.If packet loss causes due to error of transmission, round-trip delay can not be very large, and the present invention program can start Fast retransmission before Retransmission timeout timer expiry, improves sending probability to promote throughput; If packet loss causes due to congested, current round-trip delay can be very large, and the present invention program will adopt the Retransmission timeout mechanism of protocols having, will for minimum by congestion control window.Therefore, of the present inventionly can be applied to cable network, can wireless network be applied to again.
Below in conjunction with accompanying drawing, the present invention is described in further detail.
With reference to Fig. 1, concrete steps of the present invention are as follows:
Step 1, initialization coupling.
(1a) transmitting terminal sends INIT packet, to initiate connection request;
(1b), after receiving terminal receives INIT bag, return INIT-ACK bag and confirm;
(1c) transmitting terminal sends COOKIE-EHCO bag startup coupling;
(1d) receiving terminal receive COOKIE-EHCO bag after return COOKIE-ACK bag confirm.
After above-mentioned four steps are shaken hands, set up SCTP session, communicate normally after session establishment.
Step 2, the value of congestion control and renewal smoothed round trip time Srtt.
(2a) after session establishment, enter the congestion control stage, the congestion control mechanism of SCTP controls size discrimination slow turn-on and the congestion avoidance procedure of window Cwnd and Slow start threshold Ssthresh according to current congestion, if congestion control window is less than Slow start threshold, then be in slow start stage, otherwise be in congestion avoidance phase, the value of congestion control window Cwnd and Slow start threshold Ssthresh sets according to Stream Control Transmission Protocol standard;
(2b) in linux kernel, time transmitting terminal sends packet, can make marks to the packet of non-re-transmission at set intervals, Rtt two-way time of current network is calculated with this packet, 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 the smoothed round trip time Srtt that Stream Control Transmission Protocol criterion calculation is current, and by the value of the result calculated the more smoothed round trip time Srtt of new record.
Step 3, looks into the Retransmission timeout timer expiry seeing if there is packet.
Time transmitting terminal sends packet, to each packet, a Retransmission timeout timer is set, if still do not receive the reply to this packet in that moment of Retransmission timeout timer expired, then Retransmission timeout is carried out to this packet, otherwise perform step 4.
Step 4, checks whether the transmission sequence number TSN of packet had had and lacks registration four times.
(4a) SCTP gives a unique transmission sequence number TSN to the packet that each sends;
(4b) when transmitting terminal receives the reply of packet, if in replying, report receives the TSN of packet is discontinuous, just the TSN of that packet of disappearance is recorded, 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 perform step 5; If be less than 4, return and perform step 2.
Step 5, start fast retransmission mechanism to the packet of report disappearance 4 times to retransmit, this fast retransmission mechanism is a kind of retransmission mechanism specified in Stream Control Transmission Protocol standard, if namely the transmission sequence number TSN of packet has had four disappearance registrations, no matter whether Retransmission timeout timer is zero, all will retransmit this packet at once.
The Fast retransmission set timer of this packet, while carrying out Fast retransmission to packet, is the value of the smoothed round trip time Srtt of current renewal by step 6.
Step 7, checks that whether the Fast retransmission timer of packet is overtime, if Fast retransmission timer is zero, then overtime, performs step 8, otherwise returns step 2.
Step 8, checks whether packet receives reply.
In kernel, check retransmission queue, if still have this packet in retransmission queue, then again retransmit this packet, otherwise illustrate that transmitting terminal have received the reply to this packet, congestion control need not be carried out to this packet, return step 2.
Step 9, carries out Fast retransmission to the packet of above-mentioned disappearance again.
Effect of the present invention can be further illustrated by following experiment:
(1) experiment condition: adopt the Ubuntu operating system based on Linux-2.6.35 kernel version, in three physical machine, uses amended SCTP kernel module.
(2) experiment scene: as shown in Figure 2, two users A, B are in different geographical position, and by the impact of other wireless devices and transmission range in current environment, can produce mutual interference between user, the packet loss of two users and time delay have different changes.
(3) experimental technique: two users A, B set up session by wireless router and a server, two users send data to server simultaneously incessantly.Adopt existing SCTP scheme and adopt the present invention program to test respectively, the value of the congestion control window Cwnd of counting user A, draws congestion control window Cwnd change curve in time based on Matlab, as shown in Figure 3 afterwards.
(4) experimental result: as seen from Figure 3, adopt the value of existing SCTP scheme transmitting terminal congestion control window Cwnd mainly under 6000 bits, and adopt the inventive method, then the value of congestion control window Cwnd is mainly on 6000 bits, this illustrates and adopts the present invention program can send more packet than the existing Stream Control Transmission Protocol of employing within the identical time, thus adds the throughput of network.

Claims (4)

1., based on a wireless network congestion control method for Stream Control Transmission Protocol, its step comprises as follows:
(1) shake hands through four steps and set up flow transmission control protocol SCTP session;
(2) after session establishment, enter congestion control, upgrade the value of the smoothed round trip time Srtt that will record simultaneously according to SCTP standard agreement;
(3) check whether the Retransmission timeout timer expiry of packet, if it is carry out Retransmission timeout, otherwise perform step (4);
(4) check whether the transmission sequence number TSN of packet has had and lack registration four times, if it is perform step (5), otherwise return step (2);
(5) to there being the packet of registering disappearance for four times to carry out Fast retransmission;
(6) according to the up-to-date smoothed round trip time Srtt once recorded, the Fast retransmission timer of setting data bag, the Srtt value by state-of-the-art record is set to the time of Fast retransmission timer;
(7) check that whether the Fast retransmission timer of packet is overtime, if it is perform step (8), otherwise return step (2);
(8) check whether the reply to retransmission data packet may, if do not receive reply, perform step (9), otherwise return step (2);
(9) Fast retransmission is carried out again.
2. a kind of wireless network congestion control method based on Stream Control Transmission Protocol according to claim 1, shaking hands through four steps wherein described in step (1) sets up flow transmission control protocol SCTP session, carries out as follows:
(2a) transmitting terminal sends INIT packet, to initiate connection request;
(2b), after receiving terminal receives INIT bag, return INIT-ACK bag and confirm;
(2c) transmitting terminal sends COOKIE-EHCO bag startup coupling;
(2d) receiving terminal receive COOKIE-EHCO bag after return COOKIE-ACK bag confirm.
3. a kind of wireless network congestion control method based on Stream Control Transmission Protocol according to claim 1, whether the transmission sequence number of checking packet wherein described in step (4) has had lacks registration four times, carries out as follows:
(3a) SCTP gives a unique transmission sequence number TSN to each packet sent;
(3b) when transmitting terminal receives the reply of packet, if in replying, report receives the TSN of packet is discontinuous, just the TSN of that packet of disappearance is recorded, and the disappearance number of this packet is increased by 1;
(3c) judge whether the disappearance number of this packet equals 4, if it is retransmits this packet immediately.
4. a kind of wireless network congestion control method based on Stream Control Transmission Protocol according to claim 1, the reply checked whether retransmission data packet may wherein described in step (8), check retransmission queue in kernel, if still have this packet in retransmission queue, then there is the reply to this packet, if not this packet in retransmission queue, then not to the reply of this packet.
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 CN102769520A (en) 2012-11-07
CN102769520B true 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)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106162739B (en) * 2016-09-27 2019-06-11 京信通信系统(中国)有限公司 Method for controlling network congestion and system
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
CN109167734B (en) * 2018-08-06 2020-12-01 华为技术有限公司 Method and device for identifying transmission control protocol state
CN110753271B (en) * 2019-09-10 2021-08-24 杭州亿圣信息技术有限公司 TCP error code retransmission control method under video wireless group broadcast by dynamic controllable double stream
CN112738843B (en) * 2021-01-18 2022-05-27 哈尔滨工业大学 High-rate 5G uplink congestion control method for determining communication delay
CN113556268B (en) * 2021-07-23 2023-12-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

Also Published As

Publication number Publication date
CN102769520A (en) 2012-11-07

Similar Documents

Publication Publication Date Title
CN102769520B (en) Wireless network congestion control method based on stream control transmission protocol (SCTP)
CN108270682B (en) Message transmission method, terminal, network equipment and communication system
WO2018205688A1 (en) Method, apparatus and system for data transmission
WO2018082615A1 (en) Method and device for sending messages, chip and terminal
JP2002152308A (en) Data communication system, data communication method, and recording medium with communication program recorded therein
CN107645409B (en) Method and device for determining transmission fault reason of data
US20170027016A1 (en) Communication device, wireless communication device, and communication method
WO2011100911A2 (en) Detection processing method, data transmitter, data receiver and communication system
WO2016090978A1 (en) Traffic switching method and device
WO2020147453A1 (en) Data transmission method and related apparatus
CN112436924B (en) Data transmission method and electronic equipment
CN106453356A (en) Wireless network bilateral accelerated transmission method and system
US20220225163A1 (en) Communications device, infrastructure equipment and methods
US20120195287A1 (en) Communication method using duplicated acknowledgement
Larsen TCP in MANETs-challenges and solutions
Ye et al. SCTP congestion control performance in wireless multi-hop networks
JP2008104018A (en) Communication system, communication equipment, and transmission control method
US7286546B2 (en) Method and system for providing reliable and fast communications with mobile entities
CN103036648A (en) Control and provisioning of wireless access point (CAPWAP) message processing method and processing device
Jungmaier et al. On SCTP multi-homing performance
JP3741421B2 (en) Data communication method and communication terminal device
WO2020154872A1 (en) Transmission control protocol acceleration method and apparatus
US20140369189A1 (en) Method of controlling packet transmission in network system and network system transmitting packet using pseudo-tcp agent
KR100913897B1 (en) Method for controlling congestion of TCP for reducing the number of retransmission timeout
Raza et al. Persistent packet reordering attack in TCP based Ad hoc wireless networks

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

Granted publication date: 20150128

Termination date: 20200717

CF01 Termination of patent right due to non-payment of annual fee