CN101827017A - Method and system for dynamically distributing network traffic - Google Patents

Method and system for dynamically distributing network traffic Download PDF

Info

Publication number
CN101827017A
CN101827017A CN201010105302A CN201010105302A CN101827017A CN 101827017 A CN101827017 A CN 101827017A CN 201010105302 A CN201010105302 A CN 201010105302A CN 201010105302 A CN201010105302 A CN 201010105302A CN 101827017 A CN101827017 A CN 101827017A
Authority
CN
China
Prior art keywords
address
flow
traffic
bandwidth
unit
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
CN201010105302A
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.)
Bluedon Information Security Technologies Co Ltd
Original Assignee
Bluedon Information Security Technologies 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 Bluedon Information Security Technologies Co Ltd filed Critical Bluedon Information Security Technologies Co Ltd
Priority to CN201010105302A priority Critical patent/CN101827017A/en
Publication of CN101827017A publication Critical patent/CN101827017A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method and a system for dynamically distributing network traffic, and relates to the field of internet, which are used for solving the problem that the prior art cannot avoid bandwidth waste or congestion phenomenon under the condition of the dynamic change of network bandwidth. The method comprises the following steps of: monitoring gateway exit bandwidth at definite time to acquire the current bandwidth data; calculating the traffic of each traffic use unit, which can be distributed from the current bandwidth, according to a traffic distribution strategy and a traffic redistribution algorithm; and redistributing the traffic for each traffic use unit according to the calculating result. The system comprises a monitoring module, a calculating module and a redistributing module. A mechanism for monitoring the gateway exit bandwidth at definite time exists; the traffic of each traffic use unit, which can be distributed from the current bandwidth, can be calculated according to the traffic distribution strategy and the traffic redistribution algorithm; then the traffic redistribution is performed; and therefore, the method and the system have the advantages of realizing the dynamic distribution of the network traffic, effectively and reasonably utilizing the bandwidth and avoiding the bandwidth waste or congestion phenomenon.

Description

A kind of method and system of dynamic assignment network traffics
Technical field
The present invention relates to internet arena, particularly relate to a kind of method and system of dynamic assignment network traffics.
Background technology
Network application at present more and more widely, yet but growing tension of bandwidth, this just requires IP network to provide better traffic management for the user, avoids flow misuse, abuse or waste.
At present the flow scheme that proposes mainly is based on the IP current limliting or based on Differentiated Services (DiffServ) two classes.The IP current limliting is the bandwidth constraints of the flow that passes in and out network being carried out up-downgoing by IP five elements (source address, destination address, source port, target port, agreement).This method is fairly simple, can't effective and reasonable distribution bandwidth in the time of still to IP address mapping or IP instability of flow.DiffServ mode assignment of traffic only is to come packet is treated with a certain discrimination according to the field of Differentiated Services, generally is at the existing protocol bag.There is the distribution error equally in dynamic network traffic/abnormal flow/unknown flow rate.
Prior art also provides a kind of scheme, mainly is packet is carried out user's classification and professional classification, forms data flow; Afterwards according to the flow of the categorical measures data flow of data flow; Again according to the resource on data stream type and the measurement result distribution buffer queue.But the traffic shaping of this scheme is based on the method for salary distribution under the known bandwidth situation.Frequently then inapplicable for unknown outlet bandwidth or outlet bandwidth conversion.As when exporting upstream and downstream bandwidth and becoming suddenly big, there is bandwidth waste; Outlet bandwidth diminishes suddenly, exists congested.
To sum up, because actual user's the complex nature of the problem, and the dynamic change of the network bandwidth, make prior art can't avoid bandwidth waste or congestion phenomenon.
Summary of the invention
The invention provides a kind of method and system of dynamic assignment network traffics, in order to solve under the situation of network bandwidth dynamic change, prior art can't be avoided the problem of bandwidth waste or congestion phenomenon.
The method of a kind of dynamic assignment network traffics of the present invention comprises the following steps: monitoring step: regularly the gateway outlet bandwidth is monitored, obtain current band data; Calculation procedure:, calculate the flow that each flow uses the unit to be assigned to from current bandwidth according to assignment of traffic strategy and the heavy allocation algorithm of flow; Heavy allocation step: use unit dispense flow rate again for each flow according to the aforementioned calculation result.
The system of a kind of dynamic assignment network traffics of the present invention comprises: monitoring modular, be used for regularly the gateway outlet bandwidth being monitored, and obtain current band data; Computing module is used for calculating the flow that each flow uses the unit to be assigned to according to assignment of traffic strategy and the heavy allocation algorithm of flow from current bandwidth; Heavy distribution module, the result of calculation that is used for drawing according to computing module is used unit dispense flow rate again for each flow.
Beneficial effect of the present invention is as follows:
Because there is the mechanism of periodic monitor gateway outlet bandwidth in the present invention, and calculate the flow that each flow uses unit to be assigned to from current bandwidth, finish flow afterwards and heavily distribute according to assignment of traffic strategy and the heavy allocation algorithm of flow.So the present invention can realize the dynamic assignment network traffics, the effective and reasonable bandwidth of utilizing is avoided bandwidth waste or congestion phenomenon.
Description of drawings
Fig. 1 is the method step flow chart in the embodiment of the invention 1;
Fig. 2 is to the flow chart of IP address Flow Control in the embodiment of the invention 2;
Fig. 3 is the system configuration schematic diagram in the embodiment of the invention 3;
Fig. 4 is the system configuration schematic diagram in the embodiment of the invention 4.
Embodiment
For under the situation of network bandwidth dynamic change, the effective and reasonable bandwidth of utilizing is avoided bandwidth waste or congestion phenomenon, the invention provides a kind of method and system of dynamic assignment network traffics.Below specify by some embodiment.
Embodiment 1, referring to shown in Figure 1, the method for the dynamic assignment network traffics in the embodiment of the invention comprises following key step:
S1, timing are monitored the gateway outlet bandwidth, obtain current band data.
S2, according to the heavy allocation algorithm of assignment of traffic strategy and flow, calculate the flow that each flow uses unit to be assigned to from current bandwidth.
S3, be that according to the aforementioned calculation result each flow uses unit dispense flow rate again.
Above-mentioned flow uses the unit to be unit with the IP address, promptly to legal and need the utilizable flow of each IP address of flow control to adjust, distribute; Be unit perhaps, promptly come packet is distinguished, and the utilizable flow of each quasi-protocol packet is adjusted, distributed according to the field of Differentiated Services with the protocol package classification behind the Differentiated Services DiffServ.
Embodiment 2, based on embodiment 1, referring to shown in Figure 2, control is described in further detail at the flow process of IP address.
At first need the whole network IP or need the IP of Flow Control to carry out the IP-MAC binding, and record, prevent that IP from usurping;
When the packet secondary IP address is sent out outward, at first tested in the IP address, if illegal IP or the IP (promptly the MAC Address of this current correspondence in IP address and the binding information of record are not inconsistent) that usurps, then packet loss is handled; If normal IP traffic (MAC Address of this current correspondence in IP address conforms to the binding information of record) then continues;
Regularly the gateway outlet bandwidth is monitored simultaneously, (for example, 5M uploads, and every calibration in 10 seconds once, the bandwidth of bandwidth calibration back time point t1 and t2 is respectively b1=3M, b2=6M) to obtain the most approaching current band data;
(can certainly change the assignment of traffic strategy according to former assignment of traffic strategy, use new assignment of traffic strategy) and the heavy allocation algorithm of flow, (for example readjust the assignment of traffic of this IP, the former assignment of traffic of this IP is 1M, if heavy allocation algorithm is increase and decrease in proportion, then the heavily distribution bandwidth at t1 and t2 time point is ip_b1=0.6M, ip_b2=1.2M).Annotate: it only is for example that the heavy allocation algorithm of flow herein increases and decreases in proportion, can adopt the algorithm of more realistic demand in the practical application.
In like manner, also can adopt above-mentioned flow process to realize the dynamic assignment network traffics, repeat no more for the agreement of DiffServ.
Embodiment 3, referring to shown in Figure 3, the system of the dynamic assignment network traffics in the embodiment of the invention comprises: monitoring modular, computing module and heavy distribution module.
Wherein, monitoring modular is used for regularly the gateway outlet bandwidth being monitored, and obtains current band data.
Computing module is used for calculating the flow that each flow uses the unit to be assigned to according to assignment of traffic strategy and the heavy allocation algorithm of flow from current bandwidth.Above-mentioned flow uses the unit to be unit with the IP address, promptly to legal and need the utilizable flow of each IP address of flow control to adjust, distribute; Be unit perhaps, promptly come packet is distinguished, and the utilizable flow of each quasi-protocol packet is adjusted, distributed according to the field of Differentiated Services with the protocol package classification behind the Differentiated Services DiffServ.The heavy allocation algorithm of used flow includes but not limited to increase and decrease in proportion algorithm.
Heavy distribution module, the result of calculation that is used for drawing according to computing module is used unit dispense flow rate again for each flow.
Embodiment 4, based on embodiment 3, referring to shown in Figure 4, the flow control at the IP address is described in further detail system, comprising: monitoring modular, computing module and heavy distribution module, concrete annexation is described identical with embodiment 3 with function, repeats no more; Also comprise: binding module, logging modle, affirmation module and detection module.
Wherein, binding module is used for the whole network IP address or needs the IP address of flow control to carry out the binding of IP address and MAC Address;
Logging modle is used for obtaining binding information from binding module, and record;
Confirm module, be used for confirming that flow uses the unit with the IP address during as unit, the detection trigger module;
Detection module when being used for sending out outside the packet secondary IP address, is tested to this IP address; If the binding information of the MAC Address of this current correspondence in IP address and logging modle record is not inconsistent, then be judged to be illegal IP and carry out the packet loss processing, if conform to, it is legal then to be judged to be, and computing module is given in this IP address, participates in flow and heavily distributes.
To sum up, the accuracy of assignment of traffic when the present invention can ensure the network traffics dynamic change, the bandwidth that avoids waste or congested generation.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (7)

1. the method for dynamic assignment network traffics is characterized in that, comprises the following steps:
Monitoring step: regularly the gateway outlet bandwidth is monitored, obtain current band data;
Calculation procedure:, calculate the flow that each flow uses the unit to be assigned to from current bandwidth according to assignment of traffic strategy and the heavy allocation algorithm of flow;
Heavy allocation step: use unit dispense flow rate again for each flow according to the aforementioned calculation result.
2. the method for dynamic assignment network traffics according to claim 1 is characterized in that described flow uses the unit to be unit with the IP address, is unit with the protocol package classification after the Differentiated Services perhaps.
3. as the method for dynamic assignment network traffics as described in the claim 2, it is characterized in that,, then before calculation procedure, also comprise the following steps: if described flow uses the unit to be unit with the IP address
To the whole network IP address or need the IP address of flow control to carry out the binding of IP address and MAC Address, and record;
When the packet secondary IP address is sent out outward, tested in this IP address; If the MAC Address of this current correspondence in IP address and the information of described record are not inconsistent, then be judged to be illegal IP and carry out the packet loss processing, if conform to, it is legal then to be judged to be, and the participation flow heavily distributes.
4. the method for dynamic assignment network traffics according to claim 1 is characterized in that, the heavy allocation algorithm of described flow is for increasing and decreasing algorithm in proportion.
5. the system of dynamic assignment network traffics is characterized in that, comprising:
Monitoring modular is used for regularly the gateway outlet bandwidth being monitored, and obtains current band data;
Computing module is used for calculating the flow that each flow uses the unit to be assigned to according to assignment of traffic strategy and the heavy allocation algorithm of flow from current bandwidth;
Heavy distribution module, the result of calculation that is used for drawing according to computing module is used unit dispense flow rate again for each flow.
6. as the system of dynamic assignment network traffics as described in the claim 5, it is characterized in that, also comprise:
Binding module is used for the whole network IP address or needs the IP address of flow control to carry out the binding of IP address and MAC Address;
Logging modle is used for obtaining binding information from binding module, and record;
Confirm module, be used for confirming that described flow uses the unit with the IP address during as unit, the detection trigger module;
Detection module when being used for sending out outside the packet secondary IP address, is tested to this IP address; If the binding information of the MAC Address of this current correspondence in IP address and logging modle record is not inconsistent, then be judged to be illegal IP and carry out the packet loss processing, if conform to, it is legal then to be judged to be, and computing module is given in this IP address, participates in flow and heavily distributes.
7. as the system of dynamic assignment network traffics as described in the claim 5, it is characterized in that the used heavy allocation algorithm of flow of computing module is for increasing and decreasing algorithm in proportion.
CN201010105302A 2010-02-04 2010-02-04 Method and system for dynamically distributing network traffic Pending CN101827017A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010105302A CN101827017A (en) 2010-02-04 2010-02-04 Method and system for dynamically distributing network traffic

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010105302A CN101827017A (en) 2010-02-04 2010-02-04 Method and system for dynamically distributing network traffic

Publications (1)

Publication Number Publication Date
CN101827017A true CN101827017A (en) 2010-09-08

Family

ID=42690734

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010105302A Pending CN101827017A (en) 2010-02-04 2010-02-04 Method and system for dynamically distributing network traffic

Country Status (1)

Country Link
CN (1) CN101827017A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013139314A1 (en) * 2012-03-23 2013-09-26 华为技术有限公司 Mobile advertisement processing method, proxy server and terminal
CN105959306A (en) * 2016-06-30 2016-09-21 百度在线网络技术(北京)有限公司 IP address identification method and device
CN106302221A (en) * 2016-09-12 2017-01-04 中国联合网络通信集团有限公司 Traffic scheduling method based on end office's cloud and system
WO2017016360A1 (en) * 2015-07-30 2017-02-02 华为技术有限公司 Bandwidth adjustment method and related device
CN106685846A (en) * 2016-12-29 2017-05-17 北京华为数字技术有限公司 Method and device for controlling traffic
CN110061935A (en) * 2019-03-13 2019-07-26 平安科技(深圳)有限公司 Traffic sources proportioning regulation method, device, computer equipment and storage medium
CN112751781A (en) * 2019-10-31 2021-05-04 阿里巴巴集团控股有限公司 Method, device and equipment for processing flow data and computer storage medium
CN115333860A (en) * 2022-10-12 2022-11-11 北京合众方达科技有限公司 TSN network control method based on zero trust

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10311477B2 (en) 2012-03-23 2019-06-04 Huawei Technologies Co., Ltd. Method for processing a mobile advertisement, proxy server, and terminal
US11663627B2 (en) 2012-03-23 2023-05-30 Huawei Technologies Co., Ltd. Method for processing a mobile advertisement, proxy server, and terminal
WO2013139314A1 (en) * 2012-03-23 2013-09-26 华为技术有限公司 Mobile advertisement processing method, proxy server and terminal
US10855618B2 (en) 2015-07-30 2020-12-01 Huawei Technologies Co., Ltd. Bandwidth adjustment method and related device
WO2017016360A1 (en) * 2015-07-30 2017-02-02 华为技术有限公司 Bandwidth adjustment method and related device
CN105959306A (en) * 2016-06-30 2016-09-21 百度在线网络技术(北京)有限公司 IP address identification method and device
CN106302221B (en) * 2016-09-12 2019-09-10 中国联合网络通信集团有限公司 Traffic scheduling method and system based on end office's cloud
CN106302221A (en) * 2016-09-12 2017-01-04 中国联合网络通信集团有限公司 Traffic scheduling method based on end office's cloud and system
CN106685846A (en) * 2016-12-29 2017-05-17 北京华为数字技术有限公司 Method and device for controlling traffic
CN106685846B (en) * 2016-12-29 2020-01-17 北京华为数字技术有限公司 Flow control method and device
CN110061935A (en) * 2019-03-13 2019-07-26 平安科技(深圳)有限公司 Traffic sources proportioning regulation method, device, computer equipment and storage medium
CN112751781A (en) * 2019-10-31 2021-05-04 阿里巴巴集团控股有限公司 Method, device and equipment for processing flow data and computer storage medium
CN115333860A (en) * 2022-10-12 2022-11-11 北京合众方达科技有限公司 TSN network control method based on zero trust
CN115333860B (en) * 2022-10-12 2023-02-03 北京合众方达科技有限公司 TSN network control method based on zero trust

Similar Documents

Publication Publication Date Title
CN101827017A (en) Method and system for dynamically distributing network traffic
US20170302467A1 (en) Multicast to unicast conversion technique
WO2021083269A1 (en) Network traffic rate limiting method and device, central control equipment and gateways
US11677665B2 (en) Systems and methods for identifying candidate flows in data packet networks
CN102098301A (en) Multilink self-adaptation data transmission method and system
CN109218216B (en) Link aggregation flow distribution method, device, equipment and storage medium
RU2012155863A (en) METHOD AND MANAGEMENT SYSTEM OF THE BANDBAND
US20040208125A1 (en) Method and system for oversubscribing bandwidth in a communications network
WO2007118396A1 (en) A method and system for network performance measurement
CN107204933B (en) Distributed flow adjusting method and device
CN101729430A (en) Dynamic resource allocation system and allocation method used for supporting end-to-end time delay warranty
CN110048965A (en) Network switch bandwidth management method and network system
WO2013117126A1 (en) Method, system and device for service rate control
CN109067664A (en) A kind of load-balancing method and device
WO2013000116A1 (en) Method and device for leaky bucket speed-limitation
CN104753812A (en) Systems and methods for cooperative applications in communication systems
US10085273B2 (en) Method and device for transmitting enhanced transmission selection standard configuration information
CN1581848A (en) Flow regulating method for ensuring integrated flow fairness of guaranted repeat business
CN103096386A (en) Data business flow control method based on signaling analyzing
Choi et al. Endpoint admission control: Network based approach
US20110134754A1 (en) Method and apparatus for fairly allocating resource to network users
RU2547631C2 (en) Method for efficient use of communication resources of multiservice network in congestion conditions
WO2024066623A1 (en) Method for determining scheduling policy, and related apparatus
WO2013000112A1 (en) Rate limit method and device for leaky bucket
CN110798410B (en) Flow distribution method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
DD01 Delivery of document by public notice

Addressee: Wu Bingtang

Document name: Notification of Passing Preliminary Examination of the Application for Invention

C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
DD01 Delivery of document by public notice

Addressee: Wu Bingtang

Document name: Notification of Publication and of Entering the Substantive Examination Stage of the Application for Invention

DD01 Delivery of document by public notice

Addressee: Wu Bingtang

Document name: Notification of Passing Examination on Formalities

C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20100908