CN103581137A - ECN proxy equipment and ECN notification method - Google Patents

ECN proxy equipment and ECN notification method Download PDF

Info

Publication number
CN103581137A
CN103581137A CN201210273256.0A CN201210273256A CN103581137A CN 103581137 A CN103581137 A CN 103581137A CN 201210273256 A CN201210273256 A CN 201210273256A CN 103581137 A CN103581137 A CN 103581137A
Authority
CN
China
Prior art keywords
ecn
equipment
tcp
user
user equipment
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
CN201210273256.0A
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201210273256.0A priority Critical patent/CN103581137A/en
Publication of CN103581137A publication Critical patent/CN103581137A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses ECN proxy equipment and an ECN notification method. The equipment comprises a negotiation module and a notification module. The negotiation module is used for replacing first user equipment and second user equipment to carry out ECN negotiation when TCP connection is established between the first user equipment and the second user equipment, and therefore an ECN can be supported on TCP connection between the ECN proxy equipment and the second user equipment, wherein the ECN proxy equipment is connected between the first user equipment and the second user equipment; the notification module is used for replacing the first user equipment to carry out ECN notification when the TCP connection is blocked. According to the ECN proxy equipment and the ECN notification method, the problem that the ECN can not be started in the end-to-end transmission process because ECN functions are not started by terminal equipment in related technologies is solved, the phenomenon of overload of home terminal wireless networks and the like are avoided, network transmission efficiency is improved, and voice and video experience of users in mobile networks is enhanced.

Description

ECN agent equipment and ECN Notification Method
Technical field
The present invention relates to the communications field, in particular to a kind of ecn (explicit congestion notification) (Explicit Congestion Notification, referred to as ECN) agent equipment and ECN Notification Method.
Background technology
Along with developing rapidly of wireless access technology, mobile network's access bandwidth constantly increases, evolve to Long Term Evolution (Long Term Evolution, referred to as LTE) stage can reach up 50M, descending 100M bandwidth, chance and ability that the expansion of wireless access passage carries more business flow to mobile network.According to the prediction address of CISCO company issue in 2010, Mobile data flow can increase to 40 times in 2009 to 2014 annual flows, to mobile video flow in 2014, can account for 66% of total flow, visible mobile video flow will be the main flow carrying in mobile network, and the service quality of mobile video will be the leading indicator of weighing network quality.
Mobile video has two key properties, and one is the fundamental characteristics of its video, and another is that its transmission bearer is in the bells and whistles of mobile wireless network.Video flow has multiple classification dimension, can be divided into the video flow of terminal-to-terminal service, and terminal is to the flow of server end; Can be divided into again lively, program request, downloads; Can also classify etc. by host-host protocol.The main attribute that video flow is different from other flows is exactly the attribute of its large flow, need in the transfer resource limiting, transmit as far as possible many video contents, live for some, program request class program also needs steadily transmission environment reliably to guarantee real-time experience, so the transmission that bandwidth is sufficient and reliable and stable is most important for the quality of Video service, the assurance of transmission bandwidth need to solve by the upgrading of technology, such as from general packet radio service technology (General Packet Radio Service, referred to as GPRS) be upgraded to universal mobile telecommunications system (Universal Mobile Telecommunications System, referred to as UMTS), high-speed link packet access technique (High Speed PacketAccess, referred to as HSPA), LTE increases bandwidth, and be another aspect of industry research for the reliable and stable assurance of transmission.
For transmission control protocol/Internet Interconnection agreement (Transmission Control Protocol/Internet Protocol, referred to as TCP/IP) association area, mobile network's basic network attribute is grouping TCP/IP network, Transmission Control Protocol is the reliable stream transportation protocol according to end-to-end design, Transmission Control Protocol thinks that bottom-layer network is reliable, drop probabilities is minimum, so being applicable to the transmission of fixed network, Transmission Control Protocol controls, and mobile network is because its part transmission bearer is in wireless transmission, wireless transmission is due to the unsteadiness of its wireless carrier, so the error rates of wireless transmission etc. are higher than constant transmissions, the packet loss that error code causes is also greater than fixed network, so Transmission Control Protocol is not to be well suited for wireless transmission environment in the processing of packet loss.
Transmission Control Protocol has four operational characteristics, respectively: 1) when three-way handshake connects, consult the sending and receiving ability of transmitting terminal and receiving terminal, sliding window; 2) after completing connection foundation, TCP carries out the transmission of message according to the window size of consulting originally; 3) provide reliably and connect, whether the receiving terminal of TCP will be used acknowledge character (Acknowledgement, referred to as ACK) mechanism notice transmitting terminal data successfully to receive; 4) TCP transmitting terminal judges according to the ACK of receiving terminal whether data correctly receive, and to not having the message of ACK to retransmit.
From the operational characteristics of above-mentioned Transmission Control Protocol, can find out, TCP is agreement end to end, the state that directly perception message transmits in intermediate path.That is,, when network intermediate router packet loss, whether Transmission Control Protocol is whether to be had ACK or had the ACK of repetition to retransmit message by perception.TCP regards all forwarding units in network path as black box, as long as perception is not received ACK in official hour, thinks that message is abandoned by intermediate line link, and carries out message re-transmission, guarantees data reliability.
When because the reasons such as intermediate link overload cause after packet loss, the TCP of receiving terminal connects and does not perceive immediately packet loss, only after timer expiry owing to not receiving that ACK just can start to retransmit message.The time of this timer is relatively long, conventionally from several seconds to tens seconds not etc.Packet loss causes TCP to start to reduce transmission rate, even after a window is sent, the retransmission timer of TCP do not have overtime before, whole process of transmitting can be stagnated.After all TCP reduce performances, transmit congested being eased, dropping packets no longer, all TCP can improve transmission rate again simultaneously, and after arriving to a certain degree, router starts again dropping packets, and repeats the retransmission processes of TCP just now.Hence one can see that, and the congested packet loss causing that transships is closely similar with the unstable packet loss causing of radio bearer, and this packet loss can cause the retransmission processes of TCP, significantly lowers efficiency of transmission.
In order to solve the congested retransmit issue causing of TCP, Internet engineering duty group (Internet Engineering Task Force, referred to as IETF) tissue carried out protocol optimization, propose RFC3168 and solved this problem, in RFC3168, defined the design object of ECN, by the cooperation of TCP transmitting terminal and receiving terminal and intermediate router, perception intermediate path congested, and the transmission rate that slows down TCP initiatively, thereby the packet loss causing from early stage avoid congestion, realizes the maximum utilization of network performance.
The above-mentioned problem that can solve by ECN is specific as follows: 1) can to perceive in early days intermediate path congested for all TCP transmitting terminals, and the deferred transmission rate of active release, and pre-congestion prevention occurs; 2) in the queue forwarding, for the TCP message that surpasses average queue length, carry out ECN mark on intermediate router, and proceed to forward, dropping packets no longer, has avoided the re-transmission with TCP that abandons of message; 3), owing to having reduced packet loss, TCP does not need to trigger message re-transmission through the retransmission timer of seconds or tens of seconds, has improved user's impression of delay sensitive application; 4) compare with the network of not disposing ECN function, the utilance of network is better, no longer concussion back and forth before overload and underloading.
Under regard to ECN implementation procedure simply introduce, the running of ECN comprises two processes: 1) initial handshake procedure end to end; 2) explicit notification process during congested occur.
1) ECN initial handshake process:
ECN, in the modification of TCP layer, has defined CWR(Congestion Window Reduce in TCP head), ECE(ECN-Echo) two signs, as follows:
The initial establishment stage connecting at TCP carries out the negotiation that ECN enables, and utilizes 3 handshake procedures of TCP to complete negotiation.At host A, while setting up TCP connection between host B, if A, B is set to support ECN, and negotiations process is as follows: 1) if A is established to the TCP of B, connect, B main frame when returning connection response to A main frame by the CWR in TCP head, ECE sign is set to 1 simultaneously, and this message that sends to A is called ECN-setup SYNpacket; 2) host A is received CWR, ECE is set to after 1 ECN-setup SYN packet simultaneously, if judgement the machine is supported ECN, gives host B back response ECN-setup SYN-ACKpacket, in response, only ECE is set to 1, CWR sets to 0, and this TCP is set simultaneously and connects support ECN; 3) host B is received the ECN-setup SYN-ACK packet that only puts ECE sign, and judgement host A is supported ECN, and putting this session is that ECN supports, the follow-up ECN that puts in IP packet header when sending IP message supports sign.
2) explicit notification process during congested occur:
ECN, in the modification of IP layer, has defined ECN FIELD, is defined as follows:
Figure BDA00001967667400031
Wherein have four values, in RFC3168, describe, 00 represents that this message do not support ECN, so router this message is processed according to original non-ECN message, transship packet loss.01 is the same with 10 these two values for router, all shows that this message supports ECN function, if occur congestedly, these two of ECN field will be revised as 11 to represent that message has passed through congested, and continues to be routed device and forward.
7th and the 8bit of ECN FIELD in the TOS of IP head field.
Figure BDA00001967667400032
So router forwards side, to support ECN, need to have following what's new: 1) when congested generation, for the message of ECN=00, walk original common non-ECN flow process; 2), when congested generation, for the message of ECN=01 or ECN=10, all need to be revised as ECN=11, and continue forwarding process; 3), when congested generation, for the message of ECN=11, need to continue to forward.
During aobvious during congested occur, notification procedure is as follows: 1) at TCP receiving terminal, receive the ECN=11 mark in IP head, and when replying ACK, ECE bit is put to 1.And always all ECE bit is put to 1 at follow-up ACK; 2) when TCP transmitting terminal receives that ECE bit puts 1 ACK message, the transmission rate of oneself need to be reduced by half, and when sending next message, CWRbit be put to 1; 3), when receiving terminal receives that CWR bit puts 1 message, follow-up ECE bit will no longer put 1.Until while again receiving IP stem ECN=11, repeat said process; 4) TCP transmitting terminal, when receiving an ECE=1, dwindles send window, and in the time, will no longer again dwindle send window at this RTT; 5) when TCP receiving terminal is responded ACK to transmitting terminal, if this ACK is one, be not with data " pure " ACK, so necessary IP stem ECN=00, because TCP does not have mechanism to respond pure ACK, just cannot send congestion notification for pure ACK; 6), for the main frame of supporting IP ECN, TCP layer need to be set to 01 or 10 by the ECN in IP stem when sending message.
ECN ecn (explicit congestion notification) can be between the end-to-end user of TCP transmission, in congested initial stage, consult compression send window, reduce transmitted traffic, can effectively avoid congested uncontrollable, after letting alone to occur, cause packet loss, and packet loss can cause overtime retransmission processes, can allow the end-to-end user of transmission not congested in the situation that, transmit as much as possible data.And the packet loss that the distinctive error code of wireless network causes is followed the congested high similarity that has, and the bit error performance of wireless network can increase along with the increase of load, if so can control transmission according to the current load condition of wireless network, avoid transmitting excess data congested to wireless channel, or wireless channel error code sharply increases.3GPP tissue is considered the help that ECN characteristic may be brought, and has added the requirement of ECN in the R9 stage in 36.300 agreements, at LTE stage RAN side apparatus, need to support ECN characteristic, realizes with reference to RFC3168.
The main application scenarios that 3GPP considers is exactly the real time flow medium business such as voice and video, these business are higher to the requirement of real-time of flow transmission, if certain cell load overload etc. under special scenes, cannot continue to carry current packet traffic, if upper layer application does not reduce flow, can cause without code, packet loss etc., once this situation occurs to cause packet loss to retransmit, real-time stream business to time-sensitive has a huge impact, if and equipment between flow transmission end-to-end is all supported ECN, RAN can produce overload sign in this case, transmitting terminal by ECN flow process Streaming Media can be supported in opposite end and occur congested, need to cut down the transmitted traffic of local terminal, such as selecting the lower frame per second of code check, resolution, more powerful compression algorithm, the low-quality transmitted traffic that simultaneously reduces is to a certain degree being fallen, thereby assurance RAN side can not transshipped, avoid this worst situation of packet loss to occur.
To setting up the process that TCP connects between the user in correlation technique, be introduced below, suppose user A need to user B(or server B) set up TCP and be connected.Fig. 1 is that as shown in Figure 1, this flow process comprises the following steps (step S102-step S108) according to the schematic diagram of setting up TCP connection flow process between the user of correlation technique:
Step S102, user A initiates and user B(or server B) set up TCP and be connected.
Step S104, user B is at the mid-ECE of TCP message header in the handshake response message of TCP, and CWR sign is all 1, identifies this section of support ECN.
Step S106, user A receives after message, user A support ECN when sending TCP response to user B ECE be masked as 1, and activate this TCP dialogue and support ECN.
Step S108, user B receives the response message of user A, checks that ECE is masked as 1, puts this TCP dialogue and supports ECN.
After setting up TCP between user A and user B and being connected, between the two, carry out transfer of data, when there is the situations such as overload, need to carry out ECN negotiation, below the ECN negotiations process between the user in correlation technique is introduced, Fig. 2 is according to the schematic diagram of the ECN negotiations process between the user of correlation technique, and as shown in Figure 2, this process comprises the following steps (step S202-step S210):
Step S202, user A initiates and user B(or server B) set up TCP and be connected, and carry out transmitted in packets.Negotiation phase at ECN passes through A, and B all supports ECN to control.
Step S204, user B transmits RNC in stream of packets process to user A and cell-overload detected, waits congested generation, and juxtaposition ECN is masked as 11.
Step S206, user A receives that packet message detects ECN and is labeled as 11 discoveries and accepts path and have congested generation, user A is masked as 1 at the mid-ECE of the mid-TCP message of response message sending to user B.
Step S208, user B receives the message of user A, ECE detected and be labeled as 1, judge that user B reduces by inter-process the flow sending to user A to user A direction transmission generation is congested, the TCP message that user B sends to user A is simultaneously put CWR and is masked as 1, notifies user A to receive ECE sign.
Step S210, user A receives the TCP message of user B, if CWR is masked as 1, no longer puts ECE and be masked as 1 in the TCP message that the follow-up user B of giving sends.
Current problem is that this specific character of ECN needs end-to-end support just can come into force, and comprises two paths: 1) user terminal is to access device to network route exchange device to access device to another user; 2) user terminal is to access device to network route exchange device to SP/CP.Wherein network equipment comprises access device, router, and switch, SP/CP etc. generally support ECN.There are some problems in user side equipment, ECN function needs the tcp protocol stack of operating system bottom to support, operating system is divided into again the operating system of normal operations system and intelligent terminal, the normal operations system overwhelming majority is all supported, does not support ECN, such as Windows Vista but give tacit consent to perform fighting, Windows7, Mac OS X10.5, Linux etc., and revise default setting, in order to support ECN, these order that all the non-domestic consumer of more complicated can easy operation.And for the operation of intelligent terminal, kind is many, some support, and major part is not supported, even and for the operating system of supporting, exist too acquiescence not support, and user does not know the problem how to open, such as Android system, based on Linux, build and can support ECN, but give tacit consent to, do not support, user does not know how to arrange yet.This two type operating system all can be linked into mobile network and transmit multitude of video stream mobile network, if can effectively enable ECN function, user is experienced and has larger help.
For terminal equipment not enabled ECN function in correlation technique, cause the problem that transmitting procedure can not be enabled ECN end to end, not yet propose at present effective solution.
Summary of the invention
For terminal equipment not enabled ECN function in correlation technique, cause the problem that transmitting procedure can not be enabled ECN end to end, the invention provides a kind of ECN agent equipment and ECN Notification Method, at least to address the above problem.
According to an aspect of the present invention, a kind of ECN agent equipment is provided, this equipment comprises: negotiation module, while being connected for setting up TCP at first user equipment and the second subscriber equipment, act on behalf of above-mentioned first user equipment and above-mentioned the second subscriber equipment carries out ECN negotiation, to be connected and to support ECN with TCP between above-mentioned the second subscriber equipment at above-mentioned ECN agent equipment, wherein, above-mentioned ECN agent equipment is connected between above-mentioned first user equipment and above-mentioned the second subscriber equipment; Notification module, for when above-mentioned TCP connection appearance is congested, acts on behalf of above-mentioned first user equipment and carries out ECN notice.
Above-mentioned negotiation module comprises: activate unit, for in the situation that above-mentioned first user equipment being detected and not supporting ECN, activate the ECN agent functionality of above-mentioned ECN agent equipment, and act on behalf of above-mentioned first user equipment and above-mentioned the second subscriber equipment carries out above-mentioned ECN negotiation.
Above-mentioned ECN agent equipment can be intervening equipment, switch or the router of network side.
It is one of following that above-mentioned access device can comprise: radio network controller (RNC), base station eNodeB, Broadband Remote Access Server BRAS.
According to a further aspect in the invention, provide a kind of ECN Notification Method, the method comprises: when first user equipment and the second subscriber equipment are set up TCP and be connected, ECN agent equipment acts on behalf of above-mentioned first user equipment and above-mentioned the second subscriber equipment carries out ECN negotiation; Wherein, above-mentioned ECN agent equipment is the above-mentioned agent equipment of claim 1 to 4 any one; When above-mentioned TCP connection appearance is congested, above-mentioned ECN agent equipment is acted on behalf of above-mentioned first user equipment and is carried out ECN notice.
Above-mentioned ECN agent equipment is acted on behalf of before above-mentioned first user equipment and above-mentioned the second subscriber equipment carry out ECN negotiation, and said method also comprises: above-mentioned first user equipment sends a TCP message to above-mentioned the second subscriber equipment; Above-mentioned the second subscriber equipment returns to a TCP response message to above-mentioned first user equipment; Wherein, in an above-mentioned TCP response message, carry the sign that above-mentioned the second subscriber equipment is supported ECN; Above-mentioned ECN agent equipment receives the 2nd TCP message that above-mentioned first user equipment sends; Wherein, in above-mentioned the 2nd TCP message, carry the sign that above-mentioned first user equipment is not supported ECN.
By the ECE sign in an above-mentioned TCP message, be set to 1, CWR and indicate that being set to 1 identifies above-mentioned the second subscriber equipment support ECN; ECE sign by above-mentioned the 2nd TCP message is set to 0 and identifies above-mentioned first user equipment and do not support ECN.
Above-mentioned ECN agent equipment is acted on behalf of above-mentioned first user equipment and is carried out ECN notice and comprise: when above-mentioned ECN agent equipment detects transmission data load between above-mentioned first user equipment and above-mentioned the second subscriber equipment and surpasses preset value, send the Indication message that is used to indicate above-mentioned the second subscriber equipment reduction data transmission bauds to above-mentioned the second subscriber equipment.
ECE sign in above-mentioned Indication message can be set to 1.
When above-mentioned ECN agent equipment detects above-mentioned transmission data load over preset value, to above-mentioned the second subscriber equipment, sending above-mentioned Indication message comprises: when above-mentioned ECN agent equipment detects above-mentioned transmission data load over preset value, regularly to above-mentioned the second subscriber equipment, send above-mentioned Indication message.
By the present invention, when first user equipment and the second subscriber equipment are set up TCP and are connected, ECN agent equipment acts on behalf of above-mentioned first user equipment and above-mentioned the second subscriber equipment carries out ECN negotiation, when above-mentioned TCP connection appearance is congested, ECN agent equipment is acted on behalf of above-mentioned first user equipment and is carried out ECN notice, solve terminal equipment not enabled ECN function in correlation technique and caused the problem that transmitting procedure can not be enabled ECN end to end, avoided local terminal wireless network to occur the situations such as overload, improved network transmission efficiency, having strengthened user experiences at mobile network's voice and video.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, forms the application's a part, and schematic description and description of the present invention is used for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is according to the schematic diagram of setting up TCP connection flow process between the user of correlation technique;
Fig. 2 is according to the schematic diagram of the ECN negotiations process between the user of correlation technique;
Fig. 3 is according to the structured flowchart of the ECN agent equipment of the embodiment of the present invention;
Fig. 4 is according to the flow chart of the ECN Notification Method of the embodiment of the present invention;
Fig. 5 carries out according to the ECN agent equipment of the embodiment of the present invention schematic diagram that ECN consults flow process;
Fig. 6 carries out the schematic diagram of ECN negotiations process according to the ECN agent equipment of the embodiment of the present invention.
Embodiment
Hereinafter with reference to accompanying drawing, also describe the present invention in detail in conjunction with the embodiments.It should be noted that, in the situation that not conflicting, embodiment and the feature in embodiment in the application can combine mutually.
The embodiment of the present invention provides a kind of ECN agent equipment and ECN Notification Method, first, (follow-up be radio network controller (Radio Network Controller with grouping access device to ECN agency, referred to as RNC) be example, also can be eNodeB, Broadband Remote Access Server (Broadband Remote Access Server, referred to as BRAS) etc.) at access user data flow and while being routed to the Internet, agency does not support the user of ECN to complete the ECN negotiation that TCP connects establishment stage, at ECN, act on behalf of between TCP opposite end and support ECN through consultation, then, ECN agency is not after agency supports the user of ECN to complete ECN with opposite end to consult, and after there is overload, proxy user completes the notification procedure of ECN.Below by embodiment, describe in detail.
Fig. 3 is according to the structured flowchart of the ECN agent equipment of the embodiment of the present invention, and as shown in Figure 3, this equipment comprises negotiation module 10 and notification module 20, below this structure is specifically introduced.
Negotiation module 10, while being connected for setting up TCP at first user equipment and the second subscriber equipment, act on behalf of above-mentioned first user equipment and above-mentioned the second subscriber equipment carries out ECN negotiation, to be connected and to support ECN with TCP between above-mentioned the second subscriber equipment at above-mentioned ECN agent equipment, wherein, above-mentioned ECN agent equipment is connected between above-mentioned first user equipment and above-mentioned the second subscriber equipment;
Notification module 20, is connected to negotiation module 10, for when above-mentioned TCP connection appearance is congested, acts on behalf of above-mentioned first user equipment and carries out ECN notice.
Pass through above-described embodiment, when first user equipment and the second subscriber equipment are set up TCP and are connected, ECN agent equipment acts on behalf of above-mentioned first user equipment and above-mentioned the second subscriber equipment carries out ECN negotiation, when above-mentioned TCP connection appearance is congested, ECN agent equipment is acted on behalf of above-mentioned first user equipment and is carried out ECN notice, solve terminal equipment not enabled ECN function in correlation technique and caused the problem that transmitting procedure can not be enabled ECN end to end, avoided local terminal wireless network to occur the situations such as overload, improved network transmission efficiency, having strengthened user experiences at mobile network's voice and video.
Preferably, above-mentioned negotiation module comprises: activate unit, for in the situation that above-mentioned first user equipment being detected and not supporting ECN, activate the ECN agent functionality of above-mentioned ECN agent equipment, and act on behalf of above-mentioned first user equipment and above-mentioned the second subscriber equipment carries out above-mentioned ECN negotiation.Preferably, above-mentioned ECN agent equipment is network side intervening equipment, switch or router.Preferably, above-mentioned access device comprises one of following: RNC, eNodeB, BRAS.Above-mentioned access device can make the access device that divides into groups, and such as the RNC in mobile network, eNodeB etc., can be for the access device BRAS of fixed network etc., and grouping access device is responsible for mobile subscriber's switching in packet network, and customer flow is linked into the Internet.
Fig. 4 is according to the flow chart of the ECN Notification Method of the embodiment of the present invention, and as shown in Figure 4, the method comprises the following steps (step S402-step S404):
Step S402, when first user equipment and the second subscriber equipment are set up TCP and be connected, ECN agent equipment acts on behalf of above-mentioned first user equipment and above-mentioned the second subscriber equipment carries out ECN negotiation; Wherein, above-mentioned ECN agent equipment is the above-mentioned agent equipment of claim 1 to 4 any one;
Step S404, when above-mentioned TCP connection appearance is congested, above-mentioned ECN agent equipment is acted on behalf of above-mentioned first user equipment and is carried out ECN notice.
Pass through above-described embodiment, when first user equipment and the second subscriber equipment are set up TCP and are connected, ECN agent equipment acts on behalf of above-mentioned first user equipment and above-mentioned the second subscriber equipment carries out ECN negotiation, when above-mentioned TCP connection appearance is congested, ECN agent equipment is acted on behalf of above-mentioned first user equipment and is carried out ECN notice, solve terminal equipment not enabled ECN function in correlation technique and caused the problem that transmitting procedure can not be enabled ECN end to end, avoided local terminal wireless network to occur the situations such as overload, improved network transmission efficiency, having strengthened user experiences at mobile network's voice and video.
At ECN agent equipment, activate agent functionality, before carrying out ECN negotiation with the second subscriber equipment, need to first determine whether first user equipment supports ECN, therefore, the present embodiment provides a kind of preferred implementation, be that above-mentioned ECN agent equipment is acted on behalf of before above-mentioned first user equipment and above-mentioned the second subscriber equipment carry out ECN negotiation, said method also comprises: above-mentioned first user equipment sends a TCP message to above-mentioned the second subscriber equipment; Above-mentioned the second subscriber equipment returns to a TCP response message to above-mentioned first user equipment; Wherein, in an above-mentioned TCP response message, carry the sign that above-mentioned the second subscriber equipment is supported ECN; Above-mentioned ECN agent equipment receives the 2nd TCP message that above-mentioned first user equipment sends; Wherein, in above-mentioned the 2nd TCP message, carry the sign that above-mentioned first user equipment is not supported ECN.
Generally, by the ECE sign in an above-mentioned TCP message, be set to 1, CWR and indicate that being set to 1 identifies above-mentioned the second subscriber equipment support ECN; ECE sign by above-mentioned the 2nd TCP message is set to 0 and identifies above-mentioned first user equipment and do not support ECN.Can clear and definite determine efficiently whether subscriber equipment supports ECN like this.
When carrying out ECN notice, precondition is that ECN agent equipment has been set up ECN with the second subscriber equipment and is connected, carried out ECN negotiation, above-mentioned ECN agent equipment is acted on behalf of above-mentioned first user equipment and is carried out ECN notice and comprise: when above-mentioned ECN agent equipment detects transmission data load between above-mentioned first user equipment and above-mentioned the second subscriber equipment and surpasses preset value, send the Indication message that is used to indicate above-mentioned the second subscriber equipment reduction data transmission bauds to above-mentioned the second subscriber equipment.
ECE sign in above-mentioned Indication message can be set to 1.Above-mentioned the second subscriber equipment of indication that like this can clear and definite reduces data transmission bauds.
When above-mentioned ECN agent equipment detects above-mentioned transmission data load over preset value, to above-mentioned the second subscriber equipment, sending above-mentioned Indication message comprises: when above-mentioned ECN agent equipment detects above-mentioned transmission data load over preset value, regularly to above-mentioned the second subscriber equipment, send above-mentioned Indication message, thereby can guarantee that ECN agent equipment can not send Indication message continuously, certainly, embodiment is not limited in this, also can guarantee that ECN agent equipment can not send Indication message continuously by some algorithms.
Fig. 5 carries out according to the ECN agent equipment of the embodiment of the present invention schematic diagram that ECN consults flow process, and as shown in Figure 5, this flow process comprises the following steps (step S502-step S510):
Step S502, user A initiates and user B(or server B) set up TCP and be connected.
Step S504, user B is at the mid-ECE of TCP message header in the handshake response message of TCP, and CWR sign is all 1, identifies this section of support ECN.After receiving message, ECN agency (also can be called ECN agent equipment) passes through user A.
Step S506, user A receives after message, so user A does not support that ECN processes, when sending TCP response to user B, ECE is masked as 0.
Step S508, ECN agency receives after user A sends to the TCP message of user B and judges that user A does not support ECN, ECN agency further this ECN of judgement agency supports ECN function, and activate and act on behalf of ECN function, ECN proxy records is acted on behalf of proxy user A by ECN and is supported ECN function, ECN agency forwards the TCP message that user A sends to user B, and juxtaposition ECE is masked as 1.
Step S510, user B receives the response message of the user A that ECN agency forwards, checks that ECE is masked as 1, puts this TCP dialogue and supports ECN.
ECN agent equipment and user B carry out ECN negotiation, set up after ECN connects, and when there is the situations such as overload, need to carry out ECN negotiation, certainly, only in negotiation flow process, by rear, just likely carry out follow-up ECN negotiations process.Fig. 6 carries out the schematic diagram of ECN negotiations process according to the ECN agent equipment of the embodiment of the present invention, as shown in Figure 6, this process comprises the following steps (step S602-step S610):
Step S602, user A initiates and user B(or server B) set up TCP and be connected, and carry out transmitted in packets.At the negotiation phase of ECN, because user A does not support ECN, so ECN acts on behalf of proxy user A, complete ECN and consult, so support ECN control between ECN agency and user B.
Step S604, user B transmits ECN agency in stream of packets process to user A and overload generation detected (such as RNC cell-overload, the congested generations such as router memory deficiency), and user A does not support ECN, ECN agency continues to turn transmitting IP packet to user A, and decline ECN and be masked as 11, ECN proxy records ECN sign.
Step S606, if there is ECN sign in ECN agency when user B sends TCP message, and activate act on behalf of ECN function the mid-ECE of TCP message be masked as 1, ECN agency need to carry out some and processes and guarantee that can not send continuously ECE indicates the B to user herein, or when user B does not also alleviate transmitted traffic if having time, continue to send ECE sign, ECN agency can guarantee by Timer Controlling or some algorithms.
Step S608, user B receives the user's message that ECN agency forwards, ECE detected and be labeled as 1, judge that user B reduces by inter-process the flow sending to user A to user A direction transmission generation is congested, the TCP message that user B sends to user A is simultaneously put CWR and is masked as 1, notifies user A to receive ECE sign.
Step S610, ECN agency receives the TCP message of user B, if CWR is masked as 1, in the TCP message that the follow-up user B of giving sends, no longer put ECE and be masked as 1, with ECN agency in step 3, need to guarantee discontinuous transmission ECE sign, need to give some time decreased transmitted traffics of user B.
As can be seen from the above description, the present invention compared with prior art, can enable ECN in part between grouping access device and TCP peer end of the connection, can initiate ECN according to the load condition of grouping access device and notify to opposite end, requires opposite end to reduce transmitted traffic.For wireless network, can larger without specific electric load in the situation that, initiatively initiate notice request opposite end and reduce flow, avoided local terminal to occur the situations such as wireless network overload, improved network transmission efficiency, strengthened user and experienced at mobile network's voice and video.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with general calculation element, they can concentrate on single calculation element, or be distributed on the network that a plurality of calculation elements form, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in storage device and be carried out by calculation element, and in some cases, can carry out shown or described step with the order being different from herein, or they are made into respectively to each integrated circuit modules, or a plurality of modules in them or step are made into single integrated circuit module to be realized.Like this, the present invention is not restricted to any specific hardware and software combination.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (10)

1. an ecn (explicit congestion notification) ECN agent equipment, is characterized in that, comprising:
Negotiation module, while being connected for setting up transmission control protocol TCP at first user equipment and the second subscriber equipment, act on behalf of described first user equipment and described the second subscriber equipment carries out ECN negotiation, to be connected and to support ECN with TCP between described the second subscriber equipment at described ECN agent equipment, wherein, described ECN agent equipment is connected between described first user equipment and described the second subscriber equipment;
Notification module, for when described TCP connection appearance is congested, acts on behalf of described first user equipment and carries out ECN notice.
2. ECN agent equipment according to claim 1, is characterized in that, described negotiation module comprises:
Activate unit, in the situation that described first user equipment being detected and not supporting ECN, activate the ECN agent functionality of described ECN agent equipment, and act on behalf of described first user equipment and described the second subscriber equipment carries out described ECN negotiation.
3. ECN agent equipment according to claim 1, is characterized in that, intervening equipment, switch or router that described ECN agent equipment is network side.
4. ECN agent equipment according to claim 3, is characterized in that, it is one of following that described access device comprises:
Radio network controller (RNC), base station eNodeB, Broadband Remote Access Server BRAS.
5. an ecn (explicit congestion notification) ECN Notification Method, is characterized in that, comprising:
When first user equipment and the second subscriber equipment are set up TCP and be connected, ECN agent equipment acts on behalf of described first user equipment and described the second subscriber equipment carries out ECN negotiation; Wherein, described ECN agent equipment is the agent equipment described in claim 1 to 4 any one;
When described TCP connection appearance is congested, described ECN agent equipment is acted on behalf of described first user equipment and is carried out ECN notice.
6. method according to claim 5, is characterized in that, described ECN agent equipment is acted on behalf of before described first user equipment and described the second subscriber equipment carry out ECN negotiation, and described method also comprises:
Described first user equipment sends a TCP message to described the second subscriber equipment;
Described the second subscriber equipment returns to a TCP response message to described first user equipment; Wherein, in a described TCP response message, carry the sign that described the second subscriber equipment is supported ECN;
Described ECN agent equipment receives the 2nd TCP message that described first user equipment sends; Wherein, in described the 2nd TCP message, carry the sign that described first user equipment is not supported ECN.
7. method according to claim 6, is characterized in that, wherein, is set to 1, CWR indicates that being set to 1 identifies described the second subscriber equipment support ECN by the ECE sign in a described TCP message; ECE sign by described the 2nd TCP message is set to 0 and identifies described first user equipment and do not support ECN.
8. method according to claim 5, is characterized in that, described ECN agent equipment is acted on behalf of described first user equipment and carried out ECN notice and comprise:
When described ECN agent equipment detects transmission data load between described first user equipment and described the second subscriber equipment and surpasses preset value, to described the second subscriber equipment, send and be used to indicate the Indication message that described the second subscriber equipment reduces data transmission bauds.
9. the method for stating according to Claim 8, is characterized in that, the ECE sign in described Indication message is set to 1.
10. the method for stating according to Claim 8, is characterized in that, when described ECN agent equipment detects described transmission data load over preset value, sends described Indication message comprise to described the second subscriber equipment:
When described ECN agent equipment detects described transmission data load over preset value, regularly to described the second subscriber equipment, send described Indication message.
CN201210273256.0A 2012-08-02 2012-08-02 ECN proxy equipment and ECN notification method Pending CN103581137A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210273256.0A CN103581137A (en) 2012-08-02 2012-08-02 ECN proxy equipment and ECN notification method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210273256.0A CN103581137A (en) 2012-08-02 2012-08-02 ECN proxy equipment and ECN notification method

Publications (1)

Publication Number Publication Date
CN103581137A true CN103581137A (en) 2014-02-12

Family

ID=50052074

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210273256.0A Pending CN103581137A (en) 2012-08-02 2012-08-02 ECN proxy equipment and ECN notification method

Country Status (1)

Country Link
CN (1) CN103581137A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105530593A (en) * 2014-09-30 2016-04-27 中国移动通信集团公司 Method and device for state synchronization between user equipment
US9832125B2 (en) 2015-05-18 2017-11-28 Dell Products L.P. Congestion notification system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101711468A (en) * 2007-03-12 2010-05-19 思杰系统有限公司 Systems and methods for providing quality of service precedence in TCP congestion control
CN102577498A (en) * 2009-09-30 2012-07-11 高通股份有限公司 Methods and apparatus for enabling rate adaptation across network configurations

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101711468A (en) * 2007-03-12 2010-05-19 思杰系统有限公司 Systems and methods for providing quality of service precedence in TCP congestion control
CN102577498A (en) * 2009-09-30 2012-07-11 高通股份有限公司 Methods and apparatus for enabling rate adaptation across network configurations

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
徐昌彪: "改进显示拥塞通知提高无线应用中的TCP性能", 《计算机应用与研究》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105530593A (en) * 2014-09-30 2016-04-27 中国移动通信集团公司 Method and device for state synchronization between user equipment
CN105530593B (en) * 2014-09-30 2019-04-30 中国移动通信集团公司 State synchronization method and device between a kind of user equipment
US9832125B2 (en) 2015-05-18 2017-11-28 Dell Products L.P. Congestion notification system

Similar Documents

Publication Publication Date Title
US10237153B2 (en) Packet retransmission method and apparatus
FI116185B (en) downtime
EP3075110B1 (en) Controlling a transmission control protocol window size
US8189532B2 (en) Mobile node, a method or handover and a computer program
US20090304028A1 (en) Data packet structure and protocol
US20130294283A1 (en) Facilitating device-to-device communication
US20130204988A1 (en) Method and system for loopback proxy
CN102823202A (en) Congestion handling in a communication network
KR101808732B1 (en) Transmitting data over a plurality of different networks
JP4234680B2 (en) Bit rate control means in communication system
CN109120540B (en) Method for transmitting message, proxy server and computer readable storage medium
WO2007139161A1 (en) Mobile terminal and communication method
WO2017107148A1 (en) Method of transmitting data and network equipment
EP1873994A1 (en) Quality of service securing method and apparatus
US9819730B2 (en) System and method for network access based on application layer data
CN103581137A (en) ECN proxy equipment and ECN notification method
US9385931B1 (en) Determining a reordering timer
US20110164558A1 (en) Using a proxy to improve a packet based wireless network
WO2023184552A1 (en) Data transmission method and apparatus, and communication device
JP2004080413A (en) Communication system, communication device, and communication method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20140212