CN103501277A - Self adaption network speed control processing method and system - Google Patents

Self adaption network speed control processing method and system Download PDF

Info

Publication number
CN103501277A
CN103501277A CN201310457777.6A CN201310457777A CN103501277A CN 103501277 A CN103501277 A CN 103501277A CN 201310457777 A CN201310457777 A CN 201310457777A CN 103501277 A CN103501277 A CN 103501277A
Authority
CN
China
Prior art keywords
network
network speed
network terminal
speed
gateway
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
CN201310457777.6A
Other languages
Chinese (zh)
Other versions
CN103501277B (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.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201310457777.6A priority Critical patent/CN103501277B/en
Publication of CN103501277A publication Critical patent/CN103501277A/en
Application granted granted Critical
Publication of CN103501277B publication Critical patent/CN103501277B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a self adaption network speed control processing method and a self adaption network speed control processing system. The method comprises the steps that a network control block is configured to a network terminal in a gateway, for the network speed control block, the value of the actual network speed of the network terminal sending a data packet in the gateway and the value of the self allocated network speed are judged and compared, and if the value of the actual network speed of the network terminal is smaller than the value of the self allocated network speed, the more excessive bandwidth than the average network speed is allocated to other network terminals with insufficient actual network speed, so the network speed of the network terminal in the gateway is dynamically controlled, and further, the sufficient utilization rate of the bandwidth inside a local area network is improved.

Description

Processing method and system that a kind of self adaptation network speed is controlled
Technical field
The present invention relates to network communication field, processing method and system that particularly a kind of self adaptation network speed is controlled.
Background technology
Self adaptation refers in processing and analytic process, automatically adjust processing method, processing sequence, processing parameter, boundary condition or constraints according to the data characteristics of deal with data, its Statistical Distribution Characteristics, architectural feature with the data of processing is adapted, to obtain best treatment effect.
Usually running into the network speed speed limit software that network speed that in same local area network (LAN), different network terminals is used uses in the prior art in daily life is manual configuration mostly, and after having configured, the network speed of each network terminal is fixed, and in life, in order to meet user's needs, therefore often need network speed to be adjusted dynamically as required, network speed speed limit software of the prior art can not meet bandwidth and takes full advantage of.
In view of this, prior art awaits further improvement.
Summary of the invention
In view of above-mentioned the deficiencies in the prior art part, the processing method and the system that the object of the present invention is to provide a kind of self adaptation network speed to control, to solve network speed control software in prior art, usually make to be configured by hand, and after having configured, the network speed of each network terminal is fixing defect, the method and system that provide a kind of self adaptation to carry out network speed control, realize can automatically carrying out the network speed adjusting between the network terminal of same gateway, realizes taking full advantage of of the network bandwidth.
In order to achieve the above object, the present invention has taked following technical scheme:
The processing method that a kind of self adaptation network speed is controlled wherein, said method comprising the steps of:
A, for each network terminal in gateway distributes a predefined network speed controll block, and the described network speed controll block of initialization; Described network speed controll block specifically comprises: the time of initialization network speed, actual network speed, network terminal transceiving data and data packet transceive overtime timer;
B, receive the packet that the network terminal from its inside sends when gateway, judge whether the actual network speed in the Preset Time of the described network terminal before sending packet is less than its distribution network speed, if enter step C, otherwise control gateway, suspend the packet that forwarding receives;
In C, calculating gateway, actual network speed is greater than or equal to the number of the network terminal of average network speed, be designated as LNUM, and distribute the bandwidth of network speed to be averagely allocated to LNUM the network terminal calculated in this step by exceeding this network terminal in the network terminal in the B step, and enter step D;
The packet received in D, control gateway forwards above-mentioned steps B.
The processing method that described self adaptation network speed is controlled wherein, also comprises in steps A: the call back function of definition data packet transceive overtime timer; Exceed 3 seconds and do not receive or send any packet when described data packet transceive timer detects in gateway arbitrary network terminal, transfer the call back function of data packet transceive overtime timer, reinitialize this network terminal, and by the allocated bandwidth of the described network terminal to the network terminal except the described network terminal in gateway.
The processing method that described self adaptation network speed is controlled, wherein, in described steps A, initialization network speed controll block specifically comprises: the initialization network speed of the distribution of each network terminal is set as that average network speed, actual network speed are set as 0 in gateway, the time of network terminal transceiving data resets to 0.
The processing method that described self adaptation network speed is controlled, wherein, described step B specifically comprises the following steps:
B1, calculate the actual network speed value of this network terminal, and judge whether the time of described network terminal transceiving data and the difference of current system time are less than 1 second, within one second, control gateway if be less than and suspend and forward the packet received, otherwise enter step C; The length sum that described actual network speed value is the packet of transmission in this network terminal one second;
The processing method that described self adaptation network speed is controlled, wherein, in step, B1 also comprises, described packet is suspended to next second and forwarded, and replacement data packet transceive overtime timer.
The system that a kind of self adaptation network speed is controlled, wherein, described system comprises with lower module:
Definition network speed controll block module, for each network terminal in gateway distributes a predefined network speed controll block, and the described network speed controll block of initialization; Described network speed controll block specifically comprises: the time of initialization network speed, actual network speed, network terminal transceiving data and data packet transceive overtime timer;
The preliminary judge module of actual network speed, for receive the packet that the network terminal from its inside sends when gateway, judge whether actual network speed in the Preset Time of the described network terminal before sending packet is less than it and distributes network speed;
Distribute the bandwidth module, calculate actual network speed in gateway and, greater than or equal to the number of the network terminal of average network speed, be designated as LNUM, and distribute the bandwidth of network speed to be averagely allocated to LNUM the network terminal calculated by exceeding this network terminal in this network terminal;
Control forwarding data bag module, for controlling the packet received in the gateway forwards gateway.
The system that described self adaptation network speed is controlled, wherein, described definition network speed controll block module comprises the call back function unit of a definition data packet transceive overtime timer;
The call back function unit of described data packet transceive overtime timer, exceed 3 seconds and do not receive or send any packet for arbitrary network terminal detected in gateway when described data packet transceive timer, transfer the call back function of data packet transceive overtime timer, reinitialize this network terminal, and by the allocated bandwidth of the described network terminal to the network terminal except the described network terminal in gateway.
The system that described self adaptation network speed is controlled, wherein, the preliminary judge module of described actual network speed specifically comprises with lower unit:
Actual network speed identifying unit, for calculating the actual network speed value of this network terminal, and judge whether the time of described network terminal transceiving data and the difference of current system time are less than 1 second; The length sum that described actual network speed value is the packet of transmission in this network terminal one second;
Control and suspend the package forward unit, for controlling gateway, suspend its packet received of forwarding.
The system that described self adaptation network speed is controlled, wherein, described control suspends the package forward unit and also for controlling described packet, suspends to next second and forwarded, and replacement data packet transceive overtime timer.
Processing method and system that a kind of self adaptation network speed provided by the invention is controlled, described method and system configure a network speed controll block by the network terminal in gateway, utilize the actual network speed of the network terminal that sends packet in this network speed controll block judgement gateway and the magnitude relationship of its distribution network speed, distribute its bandwidth more unnecessary than average network speed if be less than to the not enough network terminal of other actual network speeds, if be greater than, suspend and send this packet, from the network terminal of other distribution network speeds higher than actual network speed, obtain while distributing bandwidth again by this packet of gateway forwards, thereby dynamically control the network speed of the network terminal in gateway, and then the rate that takes full advantage of of raising local area network (LAN) internal bandwidth.
The accompanying drawing explanation
The flow chart of steps of the processing method most preferred embodiment that Fig. 1 is a kind of self adaptation network speed control provided by the invention.
The flow chart of steps of the processing method best applications embodiment that Fig. 2 is a kind of self adaptation network speed control provided by the invention.
Fig. 3 is the system principle structured flowchart that a kind of self adaptation network speed provided by the invention is controlled.
Embodiment
The invention provides processing method and system that a kind of self adaptation network speed is controlled.For making purpose of the present invention, technical scheme and effect clearer, clear and definite, referring to the accompanying drawing examples, the present invention is described in more detail.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
As shown in Figure 1, the invention provides the process method step flow chart that a kind of self adaptation network speed is controlled, said method comprising the steps of:
S1, for each network terminal in gateway distributes a predefined network speed controll block, and the described network speed controll block of initialization; Described network speed controll block specifically comprises: the time of initialization network speed, actual network speed, network terminal transceiving data and data packet transceive overtime timer.
At first define a network speed controll block, described network speed controll block specifically comprises following content:
{
Int speed_setting; The network speed that // gateway distributes, this value initialization is average network speed
Int speed_actual; // record the actual network speed of current certain network terminal
Long timestamp; // for recording the time of network terminal transceiving data
(Void *) (timer_callback ()); The call back function of // data packet transceive overtime timer
Int timer; // data packet transceive overtime timer; While there is no receipts when certain network terminal or sending out any packet in 3 seconds, this timer expiry, call call back function timer_callback ();
}
The maximum bandwidth of supposing a gateway is M, and there is N the network terminal gateway back, the average network speed AVE_SPD=M/N of each network terminal.
When gateways and starting, be that each network terminal distributes a network speed controll block, for convenience of describing note, be designated as SB, the network speed controll block of i the network terminal is designated as SB[i], each SB[i] after distribution, do an initialization as follows:
SB[i].speed_setting?=?0;
SB[i].speed_actual?=?0;
SB[i].?timestamp?=?0;
After initialization network speed controll block, each network terminal before starting to transmit packet, be 0, the initial network speed in transmission during packet is all average network speed.
S2, when gateway being detected, receive the packet that the network terminal from its inside sends, judge whether the actual network speed in the Preset Time of the described network terminal before sending packet is less than himself distribution network speed, if enter step S3, otherwise control gateway, suspend the packet that forwarding receives.
When some network terminals send packet to gateway, while requiring gateway forwards, NCB judged the actual network speed of the network terminal that sends packet, determines its actual network speed and whether is less than self and distributes network speed, if carry out step S3, otherwise enter step S4.
If the length sum of the packet that the actual network speed of the network terminal sends with it is greater than the average network speed in gateway, illustrate that this network terminal distributes network speed lower than its actual network speed, it suspends its packet sent of forwarding, this packet is suspended to next second and retransmits, thereby limit the network speed of this network terminal.
In S3, calculating gateway, actual network speed is greater than or equal to the number of the network terminal of average network speed, be designated as LNUM, and distribute the bandwidth of network speed to be averagely allocated to LNUM the network terminal calculated in this step by exceeding this network terminal in the network terminal in the B step, and enter step D.
The actual network speed that sends the network terminal of packet if judge is less than it and distributes network speed to think that the network speed of this network terminal configuration has exceeded the needs of self, need to calculate the network terminal number of the interior all distribution network speeds of gateway higher than average network speed, supposing in gateway to distribute network speed is LNum higher than the number of average network speed, from distributing the bandwidth that distributes by force AVE_SPD/LNum in the part bandwidth of network speed higher than average network speed to use to the not enough network terminal of bandwidth possibility in gateway this network terminal, namely in this step, calculating LNUM the network terminal uses.
The packet received in S4, control gateway forwards step S2.
When the network terminal may be not enough to bandwidth by the unnecessary allocated bandwidth that is assigned on it the network terminal after, control its packet received of gateway forwards.
This step also comprises to be postponed till the packet of described time-out forwarding to be forwarded next second, and replacement data packet transceive overtime timer.
In above-mentioned steps S1, in initialization network speed controll block, also comprise:
The call back function of definition data packet transceive overtime timer;
Exceed 3 seconds and do not send any packet when described data packet transceive timer detects in gateway arbitrary network terminal, transfer the call back function of data packet transceive overtime timer, reinitialize this network terminal, and by the allocated bandwidth of the described network terminal to the network terminal except the described network terminal in gateway.
If the data packet transceive timer detects a certain network terminal and has exceeded 3 seconds and do not send any data and illustrate that this network terminal has stopped data and sent, if now this network terminal restarts to transmit data, need the network speed controll block of the described network terminal again to complete initialization, the bandwidth of distributing to this network terminal is redistributed to the network terminal all to other, concrete programmed algorithm is as follows simultaneously:
Sub=SB[i] .speed_setting/(N-1); // dispensed is given the amount of bandwidth of other each terminals;
SB[j] .speed_setting +=sub; The bandwidth of // other each terminals increases sub;
SB[i] .speed_setting=0; // to the network speed of current network terminal configuration, be 0;
SB[i] .speed_actual=0; The actual network speed of // current network terminal is 0;
SB[i] .timestamp=0; // current network terminal has not been worked, and his timestamp is also 0;
Close data packet transceive overtime timer SB[i] .timer.
The call back function of above-mentioned data packet transceive overtime timer enters step S2 after finishing.
Further, described step S2 specifically comprises the following steps:
S21, calculate the actual network speed value of this network terminal, and judge whether the time of described network terminal transceiving data and the difference of current system time are less than 1 second, within one second, control gateway if be less than and suspend and forward the packet received, otherwise enter step C; The length sum that described actual network speed value is the packet of transmission in this network terminal one second.
At first, the network speed whether described network terminal that can send packet by data packet transceive timer judgement configures in the scheduled time before sending packet is 0, that is to say and judges whether it continued to send packet before sending packet.General, the scheduled time is set to 3 seconds.
If this network terminal does not send any packet in before sending packet 3 seconds, its network speed configured is 0, because actual network speed is the length sum of the packet that the network terminal forwarded in a second, and due to it, before sending packet, be not to continue to send packet, its actual network speed value is the length value that sends at that time packet, the length value that is also the packet that sends in second of one is its actual network speed value, and, because suspend and send packet before it, the network speed distributed before it is 0.
If this network terminal network speed in the given time is not 0, before the explanation, continue in the given time to send packet, the data packet transceive overtime timer of first resetting, judge whether the time of described network terminal transceiving data and the difference of current system time are less than 1, be no more than one second if be less than 1 this network terminal of explanation in the time of receiving and dispatching out packet, judge whether the length value sum of the actual network speed value of the described network terminal and current data packet is greater than this network terminal distribution network speed value; If be greater than illustrate that its assigned network speed is not enough, need to distribute the network terminal that network speed is high and obtain bandwidth from other.
Further, if judge the length value sum of the packet that the actual network speed value of the described network terminal sends with it, be greater than it and distribute the network speed value, will obtain bandwidth concrete steps unnecessary in other network terminals and be:
1, at first for the described network terminal, increase the bandwidth that its current forwarding data packet length is equal to:
SB[i] .speed_setting=SB[i] length of .speed_setting+current forwarding data bag.
2, set LNum=and meet SB[j] .speed_setting >=number of AVE_SPD condition, calculate in gateway the number of the network terminal that meets above-mentioned condition.
3, distribute allocated bandwidth unnecessary in the network terminal of network speed higher than actual network speed to use to the described network terminal other:
First deduct above-mentioned distribution network speed higher than in the network terminal of actual network speed higher than the bandwidth of real network, SB[j] length/LNum of .speed_setting-=current data packet;
Then the allocated bandwidth of this being deducted is used to the not enough network terminal of above-mentioned distribution bandwidth: SB[i] .speed_setting=SB[i] length of .speed_setting+current forwarding data bag.
Be less than it and distribute the network speed value if judge the length value sum of the packet that the actual network speed value of the described network terminal sends with it, illustrate that this network terminal distributes network speed higher than its actual network speed, controls the gateway forwards packet.
If this network terminal has exceeded one second in the time of sending packet, the time that this network terminal transceiving data bag is described has exceeded 1 second, whether the length value sum that judges the actual network speed value of the described network terminal and current data packet is less than or equal to this network terminal distribution network speed value, if illustrate that the bandwidth of distributing to this network terminal has exceeded its actual needs, enter step C, the network terminal that unnecessary allocated bandwidth may be not enough to bandwidth by it, if be greater than, illustrate that the bandwidth that this network terminal distributes is not enough, gateway suspends this packet of forwarding, by the time next second, after this network terminal obtains bandwidth from distribute the network terminal of network speed higher than real network, again by this packet of gateway forwards.
The invention provides the processing method that a kind of self adaptation network speed is controlled, the flow chart while being illustrated in figure 2 its concrete application, as shown in the figure:
H1, gateway receive the packet forwarded from the some network terminal requirements in its inside.
Whether the distribution network speed that H2, judgement send the network terminal of this packet is constantly equal to 0, if enter step H21, otherwise enters step H31.
The network speed controll block of H21, the described network terminal of initialization, the average network speed that after initialization, the distribution network speed of this network terminal is intra-gateway, and enter step H22.
H22, calculate the actual network speed value of this network terminal, and actual network speed value equals the numerical value of the length sum of the packet that one sends in second, and enters step H23.
H23, calculate that in gateway, all network speeds are higher than the number LNum of the network terminal of average network speed, concrete technical method is: LNum=meets SB[j] .speed_setting >=number of the network terminal of AVE_SPD condition, enter step H24.
H24, distribute bandwidth from all network speeds higher than the network terminal that distributes network speed and use to the network terminal that sends described packet, concrete method is: SB[j] .speed_setting-=AVE_SPD, enter step H25.
After H25, width have assigned, the overtime transmitting-receiving timer of packet is from newly starting the current system time of timing: SB (i) .timestamp=, and enters step H26.
H26, the overtime transmitting-receiving timer of log-on data bag SB (i) .timer, enter step H46.
H31, the overtime transmitting-receiving timer of replacement packet, enter step H32.
The current system time of H32, judgement SB (i) .timestamp-<1, if enter step H41, otherwise enter step H51.
H41, whether the length value sum that judges the packet that the actual network speed value of this network terminal is sent with it is more than or equal to it distributes the network speed value, if enter step H42, otherwise enters step H45.
The bandwidth of described packet networks terminal is sent in H42, increase:
SB[i] .speed_setting=SB[i] length of .speed_setting+current forwarding data bag, enter step H43.
H43, calculate that in gateway, all network speeds are higher than the number LNum of the network terminal of average network speed, concrete technical method is: LNum=meets SB[j] .speed_setting >=number of the network terminal of AVE_SPD condition, enter step H44.
H44, distribute bandwidth from all network speeds higher than the network terminal of average network speed and use to the network terminal that sends described packet, concrete method is: SB[j] .speed_setting-=AVE_SPD, enter step H45.
The actual bandwidth of described packet networks terminal is sent in H45, increase:
SB[i] .speed_actual=SB[i] length of .speed_ actual+current data packet, enter step H46.
Whether H51, the length value sum that judges the packet that the actual network speed value of this network terminal is sent with it are less than or equal to this self is distributed the network speed value, if enter step H52, otherwise enters step H61.
The actual bandwidth of described packet networks terminal is sent in H52, increase:
SB[i] .speed_actual=SB[i] length of .speed_ actual+current data packet, enter step H53.
H53, calculate that in gateway, all network speeds are higher than the number LNum of the network terminal of average network speed, concrete technical method is: LNum=meets SB[j] .speed_setting >=number of the network terminal of AVE_SPD condition, enter step H54.
H54, the network terminal that sends described packet distribute the bandwidth of unnecessary average network speed to using by the not enough network terminal of bandwidth: SB[j] .speed_setting+=(SB[i] .speed_ setting-SB[i] .speed_ actual)/LNum, enter step H55.
After H55, allocated bandwidth complete, the actual network speed in the described network terminal that sends described packet is the network speed that gateway distributes, i.e. SB[i] .speed_setting=SB[i] .speed_ actual, enter step H56.
H56, the overtime transmitting-receiving timer of packet be from newly starting the current system time of timing: SB (i) .timestamp=, and enter step H46.
H46, the gateway forwards current data packet.
H61, gateway suspend the forwarding current data packet, and enter step H62.
H62, the overtime transmitting-receiving timer of packet be from newly starting the current system time of timing: SB (i) .timestamp=, and enter step H63.
The actual network speed of H63, the described network terminal is 0, and the overtime transmitting-receiving timer of packet is opened timing, starts the bandwidth calculation of the network terminal network speed of next second.
The invention provides the processing method that a kind of self adaptation network speed is controlled, by judgement and the control to network terminal network speed in gateway, be less than its distribution network speed if send the actual network speed of the network terminal of packet, control and will wherein distribute network speed to use to the network terminal that sends described packet higher than the allocated bandwidth of actual network speed, thereby can control dynamically the use of bandwidth in gateway, meet people's the demand that takes full advantage of bandwidth.
The processing method of controlling based on above-mentioned a kind of self adaptation network speed, the system that the present invention also provides a kind of self adaptation network speed to control, as shown in Figure 3, described system comprises with lower module:
Definition network speed controll block module 10, for each network terminal in gateway distributes a predefined network speed controll block, and the described network speed controll block of initialization; Described network speed controll block specifically comprises: the time of initialization network speed, actual network speed, network terminal transceiving data and data packet transceive overtime timer;
The preliminary judge module 20 of actual network speed, for receive the packet that the network terminal from its inside sends when gateway, judge whether actual network speed in the Preset Time of the described network terminal before sending packet is less than self and distributes network speed;
Distribute bandwidth module 30, calculate actual network speed in gateway and distribute the number of the network terminal of network speed greater than or equal to self, be designated as LNUM, and distribute the bandwidth of network speed to be averagely allocated to LNUM the network terminal calculated by exceeding this network terminal in this network terminal;
Control forwarding data bag module 40, for controlling the packet received in the gateway forwards gateway.
Described definition network speed controll block module comprises the call back function unit of a definition data packet transceive overtime timer;
The call back function unit of described data packet transceive overtime timer, exceed 3 seconds and do not receive or send any packet for arbitrary network terminal detected in gateway when described data packet transceive timer, transfer the call back function of data packet transceive overtime timer, reinitialize this network terminal, and by the allocated bandwidth of the described network terminal to the network terminal except the described network terminal in gateway.
The preliminary judge module 20 of described actual network speed specifically comprises with lower unit:
Actual network speed identifying unit, for calculating the actual network speed value of this network terminal, and judge whether the time of described network terminal transceiving data and the difference of current system time are less than 1 second; The length sum that described actual network speed value is the packet of transmission in this network terminal one second.
Control and suspend the package forward unit, for controlling gateway, suspend its packet received of forwarding.
Described control suspends the package forward unit and also for controlling described packet, suspends to next second and forwarded, and replacement data packet transceive overtime timer.
Processing method and system that a kind of self adaptation network speed provided by the invention is controlled, by configuring a network speed controll block to the network terminal in gateway, utilize the actual network speed of the network terminal that sends packet in this network speed controll block judgement gateway and the magnitude relationship of its distribution network speed, distribute it if be less than and give the not enough network terminal of other actual network speeds than the fast unnecessary bandwidth of distribution network, thereby dynamically control the network speed of the network terminal in gateway, and then improve the rate that takes full advantage of of local area network (LAN) internal bandwidth.
Be understandable that, for those of ordinary skills, can be equal to replacement or change according to technical scheme of the present invention and inventive concept thereof, and all these changes or replacement all should belong to the protection range of the appended claim of the present invention.

Claims (9)

1. the processing method that the self adaptation network speed is controlled, is characterized in that, said method comprising the steps of:
A, for each network terminal in gateway distributes a predefined network speed controll block, and the described network speed controll block of initialization; Described network speed controll block specifically comprises: the time of initialization network speed, actual network speed, network terminal transceiving data and data packet transceive overtime timer;
B, receive the packet that the network terminal from its inside sends when gateway, judge whether the actual network speed in the Preset Time of the described network terminal before sending packet is less than its distribution network speed, if enter step C, otherwise control gateway, suspend the packet received in forwarding above-mentioned steps B;
In C, calculating gateway, actual network speed is greater than or equal to the number of the network terminal of average network speed, be designated as LNUM, and by the network terminal in the B step, distribute network speed exceed actual network speed bandwidth be averagely allocated to LNUM the network terminal calculated in this step, and enter step D;
The packet received in D, control gateway forwards above-mentioned steps B.
2. according to the processing method that the self adaptation network speed is controlled as claimed in claim 1, it is characterized in that, also comprise in steps A: the call back function of definition data packet transceive overtime timer; Exceed 3 seconds and do not receive or send any packet when described data packet transceive timer detects in gateway arbitrary network terminal, transfer the call back function of data packet transceive overtime timer, reinitialize this network terminal, and by the allocated bandwidth of the described network terminal to the network terminal except the described network terminal in gateway.
3. the processing method of controlling according to self adaptation network speed as claimed in claim 1, it is characterized in that, in described steps A, initialization network speed controll block specifically comprises: the initialization network speed of the distribution of each network terminal is set as that average network speed, actual network speed are set as 0 in gateway, the time of network terminal transceiving data resets to 0.
4. according to the processing method that the self adaptation network speed is controlled as claimed in claim 1, it is characterized in that, described step B specifically comprises the following steps:
B1, calculate the actual network speed value of this network terminal, and judge whether the time of described network terminal transceiving data and the difference of current system time are less than 1 second, within one second, control gateway if be less than and suspend and forward the packet received, otherwise enter step C; The length sum that described actual network speed value is the packet of transmission in this network terminal one second.
5. according to the processing method that the self adaptation network speed is controlled as claimed in claim 4, it is characterized in that, in step, B1 also comprises, described packet is suspended to next second and forwarded, and replacement data packet transceive overtime timer.
6. the system that the self adaptation network speed is controlled, is characterized in that, described system comprises with lower module:
Definition network speed controll block module, for each network terminal in gateway distributes a predefined network speed controll block, and the described network speed controll block of initialization; Described network speed controll block specifically comprises: the time of initialization network speed, actual network speed, network terminal transceiving data and data packet transceive overtime timer;
The preliminary judge module of actual network speed, for receive the packet that the network terminal from its inside sends when gateway, judge whether actual network speed in the Preset Time of the described network terminal before sending packet is less than it and distributes network speed;
Distribute the bandwidth module, calculate actual network speed in gateway and, greater than or equal to the number of the average network terminal, be designated as LNUM, and distribute the bandwidth of network speed to be averagely allocated to LNUM the network terminal calculated by exceeding this network terminal in this network terminal;
Control forwarding data bag module, for controlling the packet received in the gateway forwards gateway.
7. the system that the self adaptation network speed is controlled according to claim 6 is characterized in that described definition network speed controll block module comprises the call back function unit of a definition data packet transceive overtime timer;
The call back function unit of described data packet transceive overtime timer, exceed 3 seconds and do not receive or send any packet for arbitrary network terminal detected in gateway when described data packet transceive timer, transfer the call back function of data packet transceive overtime timer, reinitialize this network terminal, and by the allocated bandwidth of the described network terminal to the network terminal except the described network terminal in gateway.
8. the system that the self adaptation network speed is controlled according to claim 6, is characterized in that, the preliminary judge module of described actual network speed specifically comprises with lower unit:
Actual network speed identifying unit, for calculating the actual network speed value of this network terminal, and judge whether the time of described network terminal transceiving data and the difference of current system time are less than 1 second; The length sum that described actual network speed value is the packet of transmission in this network terminal one second;
Control and suspend the package forward unit, for controlling gateway, suspend its packet received of forwarding.
9. the system that the self adaptation network speed is controlled according to claim 8, is characterized in that, described control suspends the package forward unit and also for controlling described packet, suspends to next second and forwarded, and replacement data packet transceive overtime timer.
CN201310457777.6A 2013-09-30 2013-09-30 The processing method of a kind of self adaptation network speed control and system Active CN103501277B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310457777.6A CN103501277B (en) 2013-09-30 2013-09-30 The processing method of a kind of self adaptation network speed control and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310457777.6A CN103501277B (en) 2013-09-30 2013-09-30 The processing method of a kind of self adaptation network speed control and system

Publications (2)

Publication Number Publication Date
CN103501277A true CN103501277A (en) 2014-01-08
CN103501277B CN103501277B (en) 2016-06-15

Family

ID=49866450

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310457777.6A Active CN103501277B (en) 2013-09-30 2013-09-30 The processing method of a kind of self adaptation network speed control and system

Country Status (1)

Country Link
CN (1) CN103501277B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104168606A (en) * 2014-07-24 2014-11-26 深圳天珑无线科技有限公司 Network speed control method of mobile terminal
CN105915360A (en) * 2015-10-23 2016-08-31 乐视致新电子科技(天津)有限公司 Method for adjusting equipment network speed on router and device and system thereof
CN108449232A (en) * 2018-03-25 2018-08-24 东莞市华睿电子科技有限公司 A kind of method of network speed self adaptive control
CN112804083A (en) * 2020-12-28 2021-05-14 许胜强 Network distribution method based on big data

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1477823A (en) * 2003-07-31 2004-02-25 CPU message flow control method of distributed exchange router system
CN101115053A (en) * 2007-08-24 2008-01-30 中国科学院计算技术研究所 Credit flow control method
CN101232459A (en) * 2005-03-28 2008-07-30 华为技术有限公司 Business band width dynamic control method
CN101364925A (en) * 2008-09-18 2009-02-11 深圳华为通信技术有限公司 Parameter configuring method, system and apparatus
CN102299813A (en) * 2010-06-28 2011-12-28 国基电子(上海)有限公司 Broadband network terminal and method for dynamically adjusting network speed thereof
CN102377588A (en) * 2010-08-13 2012-03-14 腾讯科技(深圳)有限公司 Network transmission control method and system
CN102833152A (en) * 2012-07-06 2012-12-19 上海安达通信息安全技术股份有限公司 Dynamic flow control method based on gateway
CN102868638A (en) * 2012-08-16 2013-01-09 苏州迈科网络安全技术股份有限公司 Method and system for dynamically regulating bandwidth
CN103152651A (en) * 2013-01-31 2013-06-12 广东欧珀移动通信有限公司 Method and system of automatically adjusting play threshold of streaming media buffering area

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1477823A (en) * 2003-07-31 2004-02-25 CPU message flow control method of distributed exchange router system
CN101232459A (en) * 2005-03-28 2008-07-30 华为技术有限公司 Business band width dynamic control method
CN101115053A (en) * 2007-08-24 2008-01-30 中国科学院计算技术研究所 Credit flow control method
CN101364925A (en) * 2008-09-18 2009-02-11 深圳华为通信技术有限公司 Parameter configuring method, system and apparatus
CN102299813A (en) * 2010-06-28 2011-12-28 国基电子(上海)有限公司 Broadband network terminal and method for dynamically adjusting network speed thereof
CN102377588A (en) * 2010-08-13 2012-03-14 腾讯科技(深圳)有限公司 Network transmission control method and system
CN102833152A (en) * 2012-07-06 2012-12-19 上海安达通信息安全技术股份有限公司 Dynamic flow control method based on gateway
CN102868638A (en) * 2012-08-16 2013-01-09 苏州迈科网络安全技术股份有限公司 Method and system for dynamically regulating bandwidth
CN103152651A (en) * 2013-01-31 2013-06-12 广东欧珀移动通信有限公司 Method and system of automatically adjusting play threshold of streaming media buffering area

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
吕倩: "基于传输速率调整的动态带宽分配策略及性能分析", 《中国优秀硕士学位论文全文数据库信息科技辑》, no. 11, 15 November 2012 (2012-11-15) *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104168606A (en) * 2014-07-24 2014-11-26 深圳天珑无线科技有限公司 Network speed control method of mobile terminal
CN105915360A (en) * 2015-10-23 2016-08-31 乐视致新电子科技(天津)有限公司 Method for adjusting equipment network speed on router and device and system thereof
CN108449232A (en) * 2018-03-25 2018-08-24 东莞市华睿电子科技有限公司 A kind of method of network speed self adaptive control
CN108449232B (en) * 2018-03-25 2022-01-14 上海德载信息技术有限公司 Network speed self-adaptive control method
CN112804083A (en) * 2020-12-28 2021-05-14 许胜强 Network distribution method based on big data

Also Published As

Publication number Publication date
CN103501277B (en) 2016-06-15

Similar Documents

Publication Publication Date Title
EP2640121B1 (en) Method and device for traffic control of multi-mode base station
EP1351460A3 (en) Flow control and quality of service provision for ethernet networks
US8767553B2 (en) Dynamic resource partitioning for long-term fairness to non-elastic traffic on a cellular basestation
US9007901B2 (en) Method and apparatus providing flow control using on-off signals in high delay networks
CN103501277A (en) Self adaption network speed control processing method and system
US7969878B2 (en) Quality guarantee for real-time applications over shared networks
CN101990250B (en) Bandwidth management method, eNodeB, service gateway and communication system
CN102217365B (en) Long term evolution base station and method for processing data service thereof
EP2629470B1 (en) Apparatus and method for optimizing power consumption by traffic shaping in a transmission network
CN101969409B (en) Queue scheduling method based on timer and MDRR
CN101521624B (en) Method and device for distributing downlink bandwidth of lub port
WO2014139448A1 (en) Systems and methods for quality of experience aware joint scheduling of buffered video on demand and best effort flows
WO2011043818A3 (en) Apparatus and method for controlling communications to and from utility service points
TW200947964A (en) Quality of service management for a wireless local area network
CN101667962A (en) Dynamic bandwidth allocation method for self-adapting service quality assurance in Ethernet passive optical network
AU2005222338A1 (en) Method and apparatus for isochronous datagram delivery over contention-based data link
CN103402243A (en) Method and device for adjusting data updating frequency applied to mobile terminal
CN102256314A (en) Method for adjusting service coding rate and communication node
CN110855570A (en) SDN (software defined network) packet loss judgment method, device and system and multi-network control system
CN102088403B (en) Method and system for calculating dynamic bandwidth of network link
EP0797882B1 (en) Fair allocation of excess resources in a communications system
US20210195607A1 (en) Adaptive resource allocation for media streams over wireless
JP6363296B2 (en) Semi-persistent scheduling control method and apparatus
CN102387540B (en) Flow control method of Iub port
CN101107820B (en) Method and apparatus to enforce airtime quota in service interval in a wireless LAN

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