CN103944833A - Method and device for flow control, and flow shaping system - Google Patents
Method and device for flow control, and flow shaping system Download PDFInfo
- Publication number
- CN103944833A CN103944833A CN201310021638.9A CN201310021638A CN103944833A CN 103944833 A CN103944833 A CN 103944833A CN 201310021638 A CN201310021638 A CN 201310021638A CN 103944833 A CN103944833 A CN 103944833A
- Authority
- CN
- China
- Prior art keywords
- business
- business machine
- threshold values
- information
- flow
- 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
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a method and a device for flow control, and a flow shaping system. The method comprises a step of sending report information requests for business machines, a step of receiving business information sent by the business machines according to the report information requests, and a step of distributing corresponding flow threshold values for the business machines according to the business information, so that each business machine can perform flow shaping. Through using the flow control device, a flow threshold value is calculated, so that a lot of resources needed by flow threshold value calculation of the business machines can be saved, and meanwhile the flow control device adjusts a flow velocity sent to the business machines in a dynamic manner through controlling flow threshold values, thereby improving precision of flow shaping on the business machines.
Description
Technical field
The present invention relates to communication technical field, relate in particular to a kind of method, device and traffic shaping system of flow control.
Background technology
In recent years, along with internet (Internet) is at the great development of wireless domain, the network bandwidth of user's access is significantly improved, and popularizing gradually due to smart mobile phone, the appearance that various application software are a large amount of and more and more abundanter, just seem anxiety very of the bandwidth resources on network like this, the flow that just need to receive user in this case carry out shaping, and many times different user different business is distributed in different places, bring very large difficulty to traffic shaping.The calculating of current flux shaping and flow threshold values is all carried out on business machine, expends the ample resources of business machine, and traditional traffic shaping generally adopts fixed rate, and the precision of this method is not high, can not meet actual demand.
Summary of the invention
Main purpose of the present invention is to provide a kind of method, device and traffic shaping system of flow control, when being intended to save business machine resources, improves the precision of traffic shaping.
In order to achieve the above object, the present invention proposes a kind of method of flow control, comprising:
Send reporting information request to each business machine;
Receive the business information that described each business machine sends according to described reporting information request;
Distribute corresponding flow threshold values to described each business machine according to described business information, carry out traffic shaping for described each business machine.
Preferably, the described step to the request of each business machine transmission reporting information is specially:
Send reporting information request every Preset Time to described each business machine by a timer.
Preferably, describedly distribute corresponding flow threshold values to be specially to the step of described each business machine according to business information:
Judge whether described each business machine all sends described business information;
If so, calculate the required flow threshold values of described each business machine according to described business information, send described flow threshold values to described each business machine;
If not, continue to wait for, until described each business machine all sends described business information.
The present invention also proposes a kind of device of flow control, comprising:
Sending module, for sending reporting information request to each business machine;
Receiver module, the business information sending according to described reporting information request for receiving described each business machine;
Distribution module, for distribute corresponding flow threshold values to described each business machine according to described business information, carries out traffic shaping for described each business machine.
Preferably, described sending module is for sending reporting information request every Preset Time to described each business machine by a timer.
Preferably, described distribution module comprises:
Judging unit, for judging whether described each business machine all sends described business information;
If so, calculate the required flow threshold values of described each business machine by computing unit according to described business information, send described flow threshold values to described each business machine;
If not, return to judging unit.
The present invention proposes again a kind of system of traffic shaping, comprising: volume control device and some business machines, wherein,
Described volume control device, for sending reporting information request to described business machine; Receive the business information that described business machine sends according to described reporting information request; Distribute corresponding flow threshold values to described business machine according to described business information, carry out traffic shaping for described business machine;
Described business machine, the reporting information request sending for receiving described volume control device, send business information according to described reporting information request to described volume control device, receive the flow threshold values that described volume control device distributes according to described business information, carry out traffic shaping according to described flow threshold values.
Preferably, described business machine comprises:
Computing unit, for calculating threshold values flow rate according to described flow threshold values;
Traffic shaping unit, for the real-time traffic speed of described business machine and described threshold values flow rate are compared, in the time that described real-time traffic speed is greater than described threshold values flow rate, reduces described threshold values flow rate by adjusting described business information; In the time that described real-time traffic speed is less than described threshold values flow rate, increase described threshold values flow rate by adjusting described business information.
Preferably, described traffic shaping unit is also for according to the traffic monitoring acquisition of information real-time traffic speed of described business machine.
Method, device and the traffic shaping system of a kind of flow control that the present invention proposes, by carry out calculated flow rate threshold values with volume control device, thereby save the required ample resources of business machine calculated flow rate threshold values, volume control device adjusts by the size of controlling flow threshold values the flow rate that sends to business machine dynamically simultaneously, has improved the precision of traffic shaping on business machine.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of the method preferred embodiment of flow control of the present invention;
Fig. 2 distributes corresponding flow threshold values to described each business machine according to described business information in the method preferred embodiment of flow control of the present invention, carries out the schematic flow sheet of traffic shaping for described each business machine;
Fig. 3 is the structural representation of volume control device preferred embodiment of the present invention;
Fig. 4 is the structural representation of distribution module in volume control device preferred embodiment of the present invention;
Fig. 5 is the structural representation of traffic shaping system of the present invention preferred embodiment;
Fig. 6 is the structural representation of business machine in traffic shaping system of the present invention preferred embodiment.
In order to make technical scheme of the present invention clearer, clear, be described in further detail below in conjunction with accompanying drawing.
Embodiment
The solution of the embodiment of the present invention is mainly: by carry out calculated flow rate threshold values with volume control device, thereby save the required ample resources of business machine calculated flow rate threshold values, volume control device adjusts by the size of controlling flow threshold values the flow rate that sends to business machine dynamically simultaneously, has improved the precision of traffic shaping on business machine.
As shown in Figure 1, preferred embodiment of the present invention proposes a kind of method of flow control, comprising:
Step S101, sends reporting information request to each business machine;
Read the configuration file of each business machine, comprise the relevant informations such as module No., office number, for the follow-up information interaction of carrying out is prepared, a timer is set, send reporting information request every Preset Time to described each business machine by this timer.
Step S102, receives the business information that described each business machine sends according to described reporting information request;
Described each business machine receives after reporting information request, sends the business information that comprises described each business machine running parameter, identifies after this business information and receives and gather.
Step S103, distributes corresponding flow threshold values to described each business machine according to described business information, carries out traffic shaping for described each business machine.
Judge according to the business information receiving whether described each business machine all sends business information separately; If, comprehensively analyze the required flow information of its finishing service according to the business information of described each business machine, the flow information required according to each business machine calculates the flow threshold values of the required configuration of described each business machine, distribute corresponding required flow threshold values to described each business machine, carry out further traffic shaping for described each business machine.If not, continue to wait for that described each business machine sends described business information, until described each business machine all sends described business information.
Particularly, as shown in Figure 2, above-mentioned steps S103 can comprise:
Step S1031, judges whether described each business machine all sends described business information;
Step S1032, calculates the required flow threshold values of described each business machine according to described business information, sends described flow threshold values to described each business machine.
The present embodiment is separated the calculating of flow threshold values from business machine, for business machine has been saved a large amount of resources and time, and can be dynamically the corresponding flow threshold values of business machine assignment, completes further traffic shaping for it.
As shown in Figure 3, preferred embodiment of the present invention proposes a kind of device of flow control, comprising: sending module 301, receiver module 302 and distribution module 303, wherein:
Sending module 301, for sending reporting information request to each business machine;
Read the configuration file of each business machine, comprise the relevant informations such as module No., office number, for the follow-up information interaction of carrying out is prepared, a timer is set, send reporting information request every Preset Time to described each business machine by this timer.
Receiver module 302, the business information sending according to described reporting information request for receiving described each business machine;
Described each business machine receives after reporting information request, sends the business information that comprises described each business machine running parameter, identifies after this business information and receives and gather.
Distribution module 303, for distribute corresponding flow threshold values to described each business machine according to described business information, carries out traffic shaping for described each business machine.
Judge according to the business information receiving whether described each business machine all sends business information separately; If, comprehensively analyze the required flow information of its finishing service according to the business information of described each business machine, the flow information required according to each business machine calculates the flow threshold values of the required configuration of described each business machine, distribute corresponding required flow threshold values to described each business machine, carry out further traffic shaping for described each business machine.If not, continue to wait for that described each business machine sends described business information, until described each business machine all sends described business information.
Particularly, as shown in Figure 4, described distribution module 303 can comprise: judging unit 3031 and computing unit 3032, wherein:
Judging unit 3031, for judging whether described each business machine all sends described business information;
Computing unit 3032, for calculating the required flow threshold values of described each business machine according to described business information, sends described flow threshold values to described each business machine.
The present embodiment is separated the calculating of flow threshold values from business machine, for business machine has been saved a large amount of resources and time, and can be dynamically the corresponding flow threshold values of business machine assignment, completes further traffic shaping for it.
As shown in Figure 5, preferred embodiment of the present invention proposes a kind of system of traffic shaping, comprising: volume control device 100 and some business machines 200, illustrate as an example of business machine 200 example at this, and all the other business machines are with reference to business machine 200, wherein,
Described volume control device 100, for sending reporting information request to described business machine 200; Receive the business information that described business machine 200 sends according to described reporting information request; Distribute corresponding flow threshold values to described business machine 200 according to described business information, carry out traffic shaping for described business machine 200;
Described business machine 200, for receiving the reporting information request that described volume control device 100 sends, send business information according to described reporting information request to described volume control device 100, receive the flow threshold values that described volume control device 100 distributes according to described business information, carry out traffic shaping according to described flow threshold values.
Particularly, as shown in Figure 6, described business machine 200 comprises:
Computing unit 2001, for calculating the threshold values flow rate on described business machine 200 according to described flow threshold values;
Traffic shaping unit 2002, be used for according to the traffic monitoring acquisition of information real-time traffic speed of described business machine 200, described traffic monitoring information can be obtained by equipments of recording such as Flow Control buckets, calculate the size of real-time traffic speed according to the data on flows size of the described business machine 200 of flowing through near period, the real-time traffic speed of described business machine 200 and described threshold values flow rate are compared, in the time that described real-time traffic speed is greater than described threshold values flow rate, the data on flows that the described business machine 200 of flowing through is described is greater than the required flow of its business, cause unnecessary bandwidth waste, affect the distribution of resource, in the time that next time, described volume control device 100 sent reporting information request to described business machine 200, adjust the business information of described business machine 200, described volume control device 100 receives and reduces to distribute to according to the business information of adjusting the flow threshold values of described business machine 200, thereby reduce the uninterrupted sending on described business machine 200, and then reduce real-time traffic speed size, make near remaining on flow threshold values speed size of real-time traffic rate dynamic.In the time that described real-time traffic speed is less than described threshold values flow rate, the data on flows that the described business machine 200 of flowing through is described is less than the required flow of its business, can not meet the bandwidth demand of business, reduce user's experience, in the time that next time, described volume control device 100 sent reporting information request to described business machine 200, adjust the business information of described business machine 200, described volume control device 100 receives and distributes to according to the business information increase of adjusting the flow threshold values of described business machine 200, thereby increase the uninterrupted sending on described business machine 200, and then increase real-time traffic speed size, be injected into the flow rate on described business machine 200 by dynamic adjustment like this, make near remaining on flow threshold values speed size of real-time traffic rate dynamic, thereby improve greatly the control precision of traffic shaping.
Method, device and the traffic shaping system of a kind of flow control that the present invention proposes, by carry out calculated flow rate threshold values with volume control device, thereby save the required ample resources of business machine calculated flow rate threshold values, volume control device adjusts by the size of controlling flow threshold values the flow rate that sends to business machine dynamically simultaneously, has improved the precision of traffic shaping on business machine.
The foregoing is only the preferred embodiments of the present invention; not thereby limit the scope of the claims of the present invention; every equivalent structure or flow process conversion that utilizes specification of the present invention and accompanying drawing content to do; or be directly or indirectly used in other relevant technical field, be all in like manner included in scope of patent protection of the present invention.
Claims (9)
1. a method for flow control, is characterized in that, comprising:
Send reporting information request to each business machine;
Receive the business information that described each business machine sends according to described reporting information request;
Distribute corresponding flow threshold values to described each business machine according to described business information, carry out traffic shaping for described each business machine.
2. method according to claim 1, is characterized in that, the described step to the request of each business machine transmission reporting information is specially:
Send reporting information request every Preset Time to described each business machine by a timer.
3. method according to claim 2, is characterized in that, describedly distributes corresponding flow threshold values to be specially to the step of described each business machine according to business information:
Judge whether described each business machine all sends described business information;
If so, calculate the required flow threshold values of described each business machine according to described business information, send described flow threshold values to described each business machine;
If not, continue to wait for, until described each business machine all sends described business information.
4. a device for flow control, is characterized in that, comprising:
Sending module, for sending reporting information request to each business machine;
Receiver module, the business information sending according to described reporting information request for receiving described each business machine;
Distribution module, for distribute corresponding flow threshold values to described each business machine according to described business information, carries out traffic shaping for described each business machine.
5. device according to claim 4, is characterized in that, described sending module is for sending reporting information request every Preset Time to described each business machine by a timer.
6. device according to claim 5, is characterized in that, described distribution module comprises:
Judging unit, for judging whether described each business machine all sends described business information;
If so, calculate the required flow threshold values of described each business machine by computing unit according to described business information, send described flow threshold values to described each business machine;
If not, return to judging unit.
7. a system for traffic shaping, is characterized in that, comprising: volume control device and some business machines, wherein,
Described volume control device, for sending reporting information request to described business machine; Receive the business information that described business machine sends according to described reporting information request; Distribute corresponding flow threshold values to described business machine according to described business information, carry out traffic shaping for described business machine;
Described business machine, the reporting information request sending for receiving described volume control device, send business information according to described reporting information request to described volume control device, receive the flow threshold values that described volume control device distributes according to described business information, carry out traffic shaping according to described flow threshold values.
8. system according to claim 7, is characterized in that, described business machine comprises:
Computing unit, for calculating threshold values flow rate according to described flow threshold values;
Traffic shaping unit, for the real-time traffic speed of described business machine and described threshold values flow rate are compared, in the time that described real-time traffic speed is greater than described threshold values flow rate, reduces described threshold values flow rate by adjusting described business information; In the time that described real-time traffic speed is less than described threshold values flow rate, increase described threshold values flow rate by adjusting described business information.
9. system according to claim 8, is characterized in that, described traffic shaping unit is also for according to the traffic monitoring acquisition of information real-time traffic speed of described business machine.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310021638.9A CN103944833A (en) | 2013-01-21 | 2013-01-21 | Method and device for flow control, and flow shaping system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310021638.9A CN103944833A (en) | 2013-01-21 | 2013-01-21 | Method and device for flow control, and flow shaping system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103944833A true CN103944833A (en) | 2014-07-23 |
Family
ID=51192322
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310021638.9A Pending CN103944833A (en) | 2013-01-21 | 2013-01-21 | Method and device for flow control, and flow shaping system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103944833A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106911582A (en) * | 2017-03-07 | 2017-06-30 | 北京搜狐新媒体信息技术有限公司 | A kind of real-time traffic control method and system based on Nginx servers |
CN106921587A (en) * | 2015-12-28 | 2017-07-04 | 阿里巴巴集团控股有限公司 | Message traffic control method, device and related system |
-
2013
- 2013-01-21 CN CN201310021638.9A patent/CN103944833A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106921587A (en) * | 2015-12-28 | 2017-07-04 | 阿里巴巴集团控股有限公司 | Message traffic control method, device and related system |
WO2017114165A1 (en) * | 2015-12-28 | 2017-07-06 | 阿里巴巴集团控股有限公司 | Message traffic control method, apparatus, and related system |
CN106911582A (en) * | 2017-03-07 | 2017-06-30 | 北京搜狐新媒体信息技术有限公司 | A kind of real-time traffic control method and system based on Nginx servers |
CN106911582B (en) * | 2017-03-07 | 2020-01-31 | 北京搜狐新媒体信息技术有限公司 | real-time flow control method and system based on Nginx server |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103824442B (en) | A kind of power information real time inquiry system based on electric power Internet of Things | |
CN102665282B (en) | Distribution method of multi-user parallel transmission resource in wireless heterogeneous network | |
RU2014111229A (en) | SYSTEM AND METHOD OF GIVING INTERNET ACCESS FOR A COMPUTER DEVICE | |
WO2012138277A3 (en) | Method and apparatus for controlling service traffic in a communication network | |
GB201318908D0 (en) | Aligning Data Transfer to optimize connections established for transmission over a wireless network | |
CN103476123A (en) | QoE (quality of experience) support resource distribution method for LTE (long term evolution) network video service | |
CN105208585A (en) | Scheduling information configuration method, configuration parameter processing method, scheduling information configuration device and configuration parameter processing device | |
CN104320808A (en) | Access network congestion control method, base station equipment and policy and charging rule function network element | |
CN106161485B (en) | A kind of resource regulating method of infrastructure service cluster, device and system | |
CN103687025B (en) | Resource allocation method used for LTE system | |
CN107483981B (en) | Resource Calculation monitoring distribution method, storage medium, electronic equipment and system is broadcast live | |
CN101547150A (en) | Method and device for scheduling data communication input port | |
CN104580293B (en) | For the methods, devices and systems of remote control management and control strategy | |
CN106254259B (en) | A kind of method and device of flow control | |
CN103607737A (en) | Heterogeneous network service flow-dividing method and system | |
CN106375075A (en) | Sharing frequency range uplink multi-suband resource distribution method and base station | |
CN108595265B (en) | Intelligent distribution method and system for computing resources | |
CN105335313B (en) | A kind of transmission method and device of basic data | |
CN102860051B (en) | A kind of service billing control method and relevant device | |
CN103944833A (en) | Method and device for flow control, and flow shaping system | |
CN108134808B (en) | Network request method and device | |
CN108076443B (en) | Flow distribution method in online charging system and online charging system | |
CN103313314B (en) | The recognition methods of high-speed rail cell type | |
CN103427972A (en) | Carrier resource distribution method and device | |
CN103517317B (en) | A kind of system and method matched between phone number and operator passage |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20140723 |
|
RJ01 | Rejection of invention patent application after publication |