CN104683260A - Flow control method and flow control system - Google Patents

Flow control method and flow control system Download PDF

Info

Publication number
CN104683260A
CN104683260A CN201310633428.5A CN201310633428A CN104683260A CN 104683260 A CN104683260 A CN 104683260A CN 201310633428 A CN201310633428 A CN 201310633428A CN 104683260 A CN104683260 A CN 104683260A
Authority
CN
China
Prior art keywords
control strategy
control
module
strategy
current control
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
CN201310633428.5A
Other languages
Chinese (zh)
Other versions
CN104683260B (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.)
China Mobile Group Chongqing Co Ltd
Original Assignee
China Mobile Group Chongqing 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 China Mobile Group Chongqing Co Ltd filed Critical China Mobile Group Chongqing Co Ltd
Priority to CN201310633428.5A priority Critical patent/CN104683260B/en
Publication of CN104683260A publication Critical patent/CN104683260A/en
Application granted granted Critical
Publication of CN104683260B publication Critical patent/CN104683260B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Communication Control (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a flow control method, which comprises the following steps of acquiring flow data; sending a control strategy update request when a control strategy does not exist or is invalid, and judging whether a current control strategy exists or is valid or not; when the current control strategy exists or is valid, judging whether the characteristic value of the current control strategy is consistent with that of the control strategy responded recently or no, and when the characteristic value of the current control strategy is consistent with that of the control strategy responded recently, resending the control strategy responded recently; when the characteristic value of the current control strategy is inconsistent with that of the control strategy responded recently, sending the current control strategy, and updating the control strategy responded recently to be the current control strategy; when the current control strategy does not exist or is invalid, recalculating the control strategy, and updating the current control strategy to be a new calculated control strategy. Meanwhile, the invention also discloses a flow control system.

Description

A kind of flow control methods and system
Technical field
The present invention relates to the flow control technique in the communications field, particularly relate to a kind of flow control methods and system.
Background technology
Network traffics are communication network transmission data acquisition systems, comprise the audio call of circuit domain, the data traffic of packet domain etc.The operation of the flow control indexs such as the size of data on flows, the speed of transmission rate and network or service provider is taken in closely bound up.
Existing flow control methods has two kinds usually: one is an initial authentication, when traffic transport equipment receives traffic transport request, the flow control parameter that the traffic transport request initiator stored by reading Flow Control Center presets, by controlling flow transmission rate or limited flow transmission quantity, to realize the object of flow control, when only having initiation traffic transport request again or release traffic transport, flow control parameter could be upgraded, the broadband monthly payment of such as operator, net dish realizes flow control by control documents downloading rate, the net disk storage of finite capacity etc. adopt this type of scheme mostly, another kind is fixed frequency authentication, when traffic transport equipment receives traffic transport request, flow control parameter update request is initiated to Flow Control Center according to set time frequency or firm discharge frequency, Flow Control Center needs the control strategy recalculating traffic transport request initiator after receiving request, to traffic transport equipment return flow controling parameters, business of the limitation surfing Internet with cell phone set meal of such as operator, " it is unlimited to store, limited flow " of Wang Pan service provider etc. belongs to the specific implementation of this type of scheme.
Existing flow control system is by the flow control mode of an initial authentication, fixed frequency authentication, traffic transport equipment cannot be fed back in time after the flow control policy of traffic transport request initiator not only can be caused to upgrade, flow control also can be caused not accurate; Further, the interactive quantity that there is flow control policy request and response is very few or too much, affects traffic transport quality, flow control system is caused to be crossed busy or idle, each renewal all needs the mode recalculating control strategy, so, also greatly consumes the computing capability of system.
Summary of the invention
In view of this, the main purpose of the embodiment of the present invention is to provide a kind of flow control methods and system, can realize flow control neatly, and can reduce maintenance cost and resource consumption.
For achieving the above object, technical scheme of the present invention is achieved in that
Embodiments provide a kind of flow control methods, described method comprises:
Gather data on flows;
Determine control strategy do not exist or invalid time, send control strategy update request, and judge whether current control plan exists or effectively;
Current control strategy exist and effectively time, judge that whether the characteristic value of current control strategy consistent with the last control strategy characteristic value respond, time consistent, the control strategy that repeating transmission the last time responds; Time inconsistent, send current control strategy, and the control strategy upgrading the last response is current control strategy;
Current control strategy do not exist or invalid time, recalculate control strategy, and to upgrade current control strategy be the control strategy newly calculated.
In such scheme, described control strategy update request comprises unique features mark, control appliance numbering, the user ID of flow control object.
In such scheme, described collection data on flows and judge control strategy whether exist or effectively before, the method also comprises: send and need the notice of carrying out traffic transport.
In such scheme, described method also comprises: judge whether control strategy exists or effectively;
Describedly judge whether control strategy exists or effectively, comprising:
Data on flows according to gathering judges whether described control strategy exists, when existing, whether the further end time stamp judging control strategy terminates or whether the quota of data of control strategy is used up, if the end time stamp of control strategy had lost efficacy or the quota of data of control strategy is used up, then determined that described control strategy lost efficacy; Otherwise, determine that described control strategy is effective.
In such scheme, describedly judge whether current control plan exists or effectively, comprising:
Whether the control strategy corresponding according to the unique features identifier lookup of the control object comprised in control strategy update request exists, when existing, further judge current control strategy transmission times whether be less than maximum number of times of transmission, current control strategy when transmission times is less than maximum number of times of transmission, determines that current control strategy is effective; When current control strategy is equal to or greater than maximum number of times of transmission, determine that current control strategy lost efficacy.
In such scheme, the current control strategy of described judgement exist and effectively after, described method also comprises: send the control strategy request of retransmitting the last response;
After the current control strategy of described judgement does not exist or lost efficacy, the method also comprises: send control strategy update request.
In such scheme, before recalculating control strategy, described method also comprises: receive control strategy update request or traffic transport process peripheral factor trigging control policy update, or internal factor trigger policy upgrades.
In such scheme, after the current control strategy of described renewal is the control strategy newly calculated, described method also comprises: send control strategy and upgrade response, and the control strategy that instruction upgrades the last response is the control strategy newly calculated.
In such scheme, after described transmission control strategy upgrades response, described method also comprises:
Judge that whether user is online, unique features according to flow control object identifies, if find the control strategy that described control object exists effective the last response, then determine that user is online, upgrade the end time stamp of the control strategy of the last response, and send the control strategy after upgrading; If find that described control object does not exist the control strategy of the last response, then determine that user is not online, do not send control strategy after upgrading; If find that described control object exists the control strategy of the last time response of losing efficacy, then determine that user is not online, and empty the control strategy of the last response, do not send control strategy after upgrading.
The embodiment of the present invention additionally provides a kind of flow control system, and this flow control system comprises: flow-control module, control strategy interface module, negative feedback module, positive feedback module, access vector cache module and control decision module; Wherein,
Described flow-control module, for traffic control strategy, gathers data on flows and judges whether control strategy exists or effectively, and when control strategy does not exist or be invalid, sending control strategy update request to control strategy interface module;
Control strategy interface module, for sending the control strategy update request from flow-control module to negative feedback module, sends to flow-control module and upgrades response from the control strategy of positive feedback module;
Described negative feedback module, for receiving the control strategy update request from control strategy interface module, and in determination strategy cache module, whether current control plan exists or effectively, determine current control strategy exist and effectively time, trigger positive feedback module, determine that current control strategy does not exist or lost efficacy, trigging control decision-making module;
Described positive feedback module, for judge the characteristic value of current control strategy and the last control strategy characteristic value respond whether consistent, time consistent, retransmit control strategy that the last time responds to control strategy interface module; Time inconsistent, send current control strategy to control strategy interface module, and the control strategy upgrading the last response is current control strategy;
Described access vector cache module, for the current control strategy of buffer memory and the last control strategy responded;
Described control decision module, for recalculating control strategy, and to upgrade current control strategy be the control strategy newly calculated, and sends control strategy and upgrade response to positive feedback module.
In such scheme, described system also comprises traffic transport module, exchanges for data on flows, send need to carry out traffic transport inform flow-control module and communication network;
Described communication network is the transmission network between different remote system, or the local area network (LAN) between near field communication devices, or same intrasystem communication network.
In such scheme, described negative feedback module, also retransmits the last control strategy request responded to positive feedback module for sending, and sends control strategy update request to control decision module;
Described positive feedback module, also for receiving control ending request, empties the control strategy of the last response, and sends control end response to control strategy interface module, and judges that whether user is online.
The flow control methods that the embodiment of the present invention provides, gather data on flows, determine control strategy do not exist or invalid time, send control strategy update request, and judge whether current control strategy exists or effectively, current control strategy exist and effectively time, judge that whether the characteristic value of current control strategy consistent with the last control strategy characteristic value responded, time consistent, retransmit the control strategy of the last response; Time inconsistent, send current control strategy, and the control strategy upgrading the last response is current control strategy; Current control strategy do not exist or invalid time, recalculate control strategy, and to upgrade current control strategy be the control strategy newly calculated; So, can recalculating control strategy be reduced, when substantially not affecting data on flows transmission quality, realize flow control neatly, controlling flow accurately, and reduce maintenance cost and resource consumption.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of embodiment of the present invention flow control methods;
Fig. 2 is the schematic flow sheet of the embodiment of the present invention one flow control methods;
Fig. 3 is the schematic flow sheet of the embodiment of the present invention two flow control methods;
Fig. 4 is the schematic flow sheet of the embodiment of the present invention three flow control methods;
Fig. 5 is the composition structural representation of embodiment of the present invention flow control system.
Embodiment
In embodiments of the present invention, gather data on flows, determine control strategy do not exist or invalid time, send control strategy update request, and judge whether current control plan exists or effectively, current control strategy exist and effectively time, judge that whether the characteristic value of current control strategy consistent with the last control strategy characteristic value responded, time consistent, retransmit the control strategy of the last response; Time inconsistent, send current control strategy, and the control strategy upgrading the last response is current control strategy; Current control strategy do not exist or invalid time, recalculate control strategy, and to upgrade current control strategy be the control strategy newly calculated.
Further, upgrading current control strategy is after the control strategy newly calculated, and sends control strategy and upgrades response.
Fig. 1 is the schematic flow sheet of embodiment of the present invention flow control methods, and as shown in Figure 1, the flow process of embodiment of the present invention flow control methods comprises:
Step 101: gather data on flows and judge whether control strategy exists or effectively, when control strategy does not exist or lost efficacy, perform step 102; When control strategy exists and be effective, perform step 107;
Here, described collection data on flows and judge control strategy whether exist or effectively before, the method also comprises: send and need the notice of carrying out traffic transport; Described notice specifically sends to flow-control module by the traffic transport module of flow control system inside;
Describedly judge whether control strategy exists or effectively, comprise: according to the unique features mark of the control object in the data on flows gathered, judge whether control strategy corresponding to described control object exists, when it is present, whether the further end time stamp judging control strategy lost efficacy or whether the quota of data of control strategy is used up, if the end time stamp of control strategy had lost efficacy or the quota of data of control strategy is used up, then determined that described control strategy lost efficacy; Otherwise, determine that described control strategy is effective;
Wherein, whether the end time stamp life cycle whether terminated as control strategy of described control strategy terminates; The flow whether quota of data of described control strategy is used up as control strategy mandate is finished before the time corresponding to end time stamp arrives.
Step 102: send control strategy update request, and judge whether current control plan exists or effectively, when determining the existence of current control strategy and effectively, perform step 103; When determining that current control strategy does not exist or lost efficacy, perform step 104;
Here, described control strategy update request comprises the multiclass information such as unique features mark, control appliance numbering, user ID of flow control object; Wherein, described unique features mark is the traffic transport session id distributed by transmission equipment;
Describedly judge whether current control plan exists or effectively, comprise: whether the control strategy corresponding with it according to the unique features identifier lookup of the control object comprised in control strategy update request exists, when it is present, further judge current control strategy transmission times whether be less than maximum number of times of transmission, current control strategy when transmission times is less than maximum number of times of transmission, determines that current control strategy is effective; When current control strategy is equal to or greater than maximum number of times of transmission, determine that current control strategy lost efficacy;
Described determine current control strategy exist and effectively after, the method also comprises: send the control strategy request of retransmitting the last response;
After determining that current control strategy does not exist or lost efficacy, the method also comprises: send control strategy update request.
Step 103: judge the characteristic value of current control strategy and the last control strategy characteristic value respond whether consistent, if unanimously, then execution step 105; Otherwise, perform step 106;
Here, described characteristic value is the unique features mark of contained control object in control strategy, the traffic transport session id distributed by transmission equipment exactly.
Step 104: recalculate control strategy, and to upgrade current control strategy be the control strategy newly calculated, and sends control strategy and upgrade response;
Here, before recalculating control strategy, the method also comprises: receive control strategy update request or traffic transport process peripheral factor trigging control policy update, or internal factor trigging control policy update;
Described traffic transport process peripheral factor trigging control policy update, comprising: receive the control strategy update request triggered from external factor, recalculate the control strategy of object representated by external factor;
Described traffic transport process peripheral factor comprises: data available flow changes, data traffic resource is caused to reduce as user orders new free floating resources or deducts fees, service quality (Quality of Service, QoS) change, as transmission rate upgrading or user class promote, think that controling parameters (as maximum number of retransmissions or single maximum stream flow quota) is modified;
Described internal factor trigging control policy update, comprising: the end time stamp capturing current control strategy lost efficacy, and namely the life cycle of current control strategy terminates; Or the end time stamp of the control strategy of the last response lost efficacy, i.e. the life cycle of the control strategy of the last response terminated;
Described transmission control strategy upgrades response, comprising: the control strategy that instruction upgrades the last response is the control strategy newly calculated;
Here, after described transmission control strategy upgrades response, the method also comprises: judge that whether user is online; Unique features according to flow control object identifies, if find the control strategy that described control object exists effective the last response, namely control to carry out to the service traffics of user, then determine that user is online, upgrade the end time stamp of the control strategy of the last response, the time of closing to an end is delayed, and sends the control strategy after upgrading; When finding that described control object does not exist the control strategy of the last response, then determine that user is not online, do not send control strategy after upgrading; When finding that described control object exists the control strategy of the last time response of losing efficacy, then determine that user is not online equally, empty the control strategy of the last response, do not send control strategy after upgrading;
The control strategy of the last time response of described inefficacy, control ending request when referring to user offline is not transmitted in time, and the control strategy end time stamp of the last time response occurred had lost efficacy, but control strategy when not removing in time.
Step 105: the control strategy retransmitting the last response, performs step 107 afterwards.
Step 106: send current control strategy, and the control strategy upgrading the last response is current control strategy.
Step 107: terminate this handling process.
Fig. 2 is the schematic flow sheet of the embodiment of the present invention one flow control methods, and as shown in Figure 2, the flow process of this flow control methods comprises:
Step 201: send and need the notice of carrying out traffic transport;
Here, described transmission needs the notice of carrying out traffic transport, is to be sent to flow-control module by the traffic transport module of flow control system inside.
Step 202: gather data on flows and judge whether control strategy exists or effectively, when control strategy does not exist or lost efficacy, perform step 203; When control strategy exists and be effective, perform step 213;
Here, describedly judge whether control strategy exists or effectively, comprising:
According to the unique features mark of the control object in the data on flows gathered, judge whether control strategy corresponding to described control object exists, when it is present, whether the further end time stamp judging control strategy lost efficacy or whether the quota of data of control strategy is used up, if the end time stamp of control strategy had lost efficacy or the quota of data of control strategy is used up, then determined that described control strategy lost efficacy; Otherwise, determine that described control strategy is effective;
Wherein, whether the end time stamp life cycle whether terminated as control strategy of described control strategy terminates; The flow whether quota of data of described control strategy is used up as control strategy mandate is finished before the time corresponding to end time stamp arrives.
Step 203: send control strategy update request, and judge whether current control plan exists or effectively, when determining the existence of current control strategy and effectively, perform step 204; When determining that current control strategy does not exist or lost efficacy, perform step 205;
Here, described control strategy update request comprises the multiclass information such as unique features mark, control appliance numbering, user ID of flow control object; Wherein, described unique features mark is the traffic transport session id distributed by transmission equipment;
Describedly judge whether current control plan exists or effectively, comprise: whether the control strategy corresponding with it according to the unique features identifier lookup of the control object comprised in control strategy update request exists, when it is present, further judge current control strategy transmission times whether be less than maximum number of times of transmission, current control strategy when transmission times is less than maximum number of times of transmission, determines that current control strategy is effective; When current control strategy is equal to or greater than maximum number of times of transmission, determine that current control strategy lost efficacy.
Step 204: send the control strategy request of retransmitting the last response, performs step 206 afterwards.
Step 205: send control strategy update request, performs step 209 afterwards.
Step 206: judge the characteristic value of current control strategy and the last control strategy characteristic value respond whether consistent, time consistent, execution step 207; Otherwise, perform step 208;
Here, described characteristic value is the unique features mark of contained control object in control strategy, the traffic transport session id namely distributed by transmission equipment.
Step 207: the control strategy retransmitting the last response, performs step 213 afterwards.
Step 208: send current control strategy, and the control strategy upgrading the last response is current control strategy, performs step 213 afterwards.
Step 209: recalculate control strategy, and to upgrade current control strategy be the control strategy newly calculated, and sends control strategy and upgrade response, and perform step 210;
Described transmission control strategy upgrades response, comprising: the control strategy that instruction upgrades the last response is the control strategy newly calculated.
Step 210: judge that whether user is online, and when the user is online, perform step 211; When the user is not online, step 212 is performed;
Here, describedly judge that user is whether online, comprising: the unique features according to flow control object identify, if find described control object to there is the effective the last control strategy responded, namely control to carry out to the service traffics of user, then determine that user is online; When finding that described control object does not exist the control strategy of the last response, or find that described control object exists the control strategy of the last time response of losing efficacy, then determine that user is not online;
The control strategy of the last time response of described inefficacy, control ending request when referring to user offline is not transmitted in time, and the control strategy end time stamp of the last time response occurred had lost efficacy, but control strategy when not removing in time.
Step 211: the end time stamp upgrading the control strategy of the last response, and send the control strategy after upgrading, then perform step 213.
Step 212: the control strategy emptying the last response, does not send control strategy after upgrading.
Step 213: terminate this handling process.
Fig. 3 is the schematic flow sheet of the embodiment of the present invention two flow control methods, and as shown in Figure 3, the flow process of this flow control methods comprises:
Step 301: traffic transport process peripheral factor trigging control policy update;
Here, described traffic transport process peripheral factor comprises: data available flow changes, data traffic resource is caused to reduce as user orders new free floating resources or deducts fees, service quality (Quality of Service, QoS) change, as transmission rate upgrading or user class promote, think that controling parameters (as maximum number of retransmissions or single maximum stream flow quota) is modified;
Step 302: recalculate control strategy, and to upgrade current control strategy be the control strategy newly calculated, and sends control strategy and upgrade response;
Here, described transmission control strategy upgrades response, comprising: the control strategy that instruction upgrades the last response is the control strategy newly calculated.
Step 303: judge that whether user is online, and when the user is online, perform step 304; When the user is not online, step 305 is performed;
Here, describedly judge that user is whether online, be specially: the unique features according to flow control object identify, if find described control object to there is the effective the last control strategy responded, namely control to carry out to the service traffics of user, then determine that user is online; When finding that described control object does not exist the control strategy of the last response, or find that described control object exists the control strategy of the last time response of losing efficacy, then determine that user is not online;
The control strategy of the last time response of described inefficacy, control ending request when referring to user offline is not transmitted in time, and the control strategy end time stamp of the last time response occurred had lost efficacy, but control strategy when not removing in time.
Step 304: the end time stamp upgrading the control strategy of the last response, and send the control strategy after upgrading, perform step 306 afterwards.
Step 305: the control strategy emptying the last response, does not send control strategy after upgrading.
Step 306: terminate this handling process.
Fig. 4 is the schematic flow sheet of the embodiment of the present invention three flow control methods, and as shown in Figure 4, the flow process of this flow control methods comprises:
Step 401: internal factor trigging control policy update in traffic transport process;
Here, in described traffic transport process, internal factor trigger policy upgrades, comprise: the end time stamp capturing current control strategy lost efficacy, namely the life cycle of current control strategy terminates, or the end time stamp of the control strategy of the last response lost efficacy, i.e. the life cycle of the control strategy of the last response terminated.
Step 402: recalculate control strategy, and to upgrade current control strategy be the control strategy newly calculated, and sends control strategy and upgrade response;
Here, described transmission control strategy upgrades response, comprising: the control strategy that instruction upgrades the last response is the control strategy newly calculated.
Step 403: judge that whether user is online, and when the user is online, perform step 404; When the user is not online, step 405 is performed;
Here, describedly judge that user is whether online, comprising: the unique features according to flow control object identify, if find described control object to there is the effective the last control strategy responded, namely control to carry out to the service traffics of user, then determine that user is online; When finding that described control object does not exist the control strategy of the last response, or find that described control object exists the control strategy of the last time response of losing efficacy, then determine that user is not online;
The control strategy of the last time response of described inefficacy, control ending request when referring to user offline is not transmitted in time, and the control strategy end time stamp of the last time response occurred had lost efficacy, but control strategy when not removing in time.
Step 404: the end time stamp upgrading the control strategy of the last response, and send the control strategy after upgrading, perform step 406 afterwards.
Step 405: the control strategy emptying the last response, does not send control strategy after upgrading.
Step 406: terminate this handling process.
Fig. 5 is the composition structural representation of embodiment of the present invention flow control system, as shown in Figure 5, the composition structure of this flow control system comprises: flow-control module 51, control strategy interface module 52, negative feedback module 53, positive feedback module 54, access vector cache module 55 and control decision module 56; Wherein,
Described flow-control module 51, for traffic control strategy, gathers data on flows and judges whether control strategy exists or effectively, when control strategy does not exist or be invalid, send control strategy update request to control strategy interface module 52;
Control strategy interface module 52, for sending the control strategy update request from flow-control module to negative feedback module 53, sends to flow-control module 51 and upgrades response from the control strategy of positive feedback module 54;
Described negative feedback module 53, for receiving the control strategy update request from control strategy interface module 52, and whether the current control plan in determination strategy cache module 55 exists or effectively, determine current control strategy exist and effectively time, trigger positive feedback module 54, determine that current control strategy does not exist or lost efficacy, trigging control decision-making module 56;
Described positive feedback module 54, for judge the characteristic value of current control strategy and the last control strategy characteristic value respond whether consistent, time consistent, retransmit control strategy that the last time responds to control strategy interface module 52; Time inconsistent, send current control strategy to control strategy interface module 52, and the control strategy upgrading the last response is current control strategy;
Described access vector cache module 55, for the current control strategy of buffer memory and the last control strategy responded;
Described control decision module 56, for recalculating control strategy, and to upgrade current control strategy be the control strategy newly calculated, and sends control strategy and upgrade response to positive feedback module 54.
Further, this system also comprises traffic transport module 57 and communication network 58; Wherein,
Described traffic transport module 57, exchanges for data on flows, send need to carry out traffic transport inform flow-control module 51;
Here, the equipment of the core network that described traffic transport module can be exchanged by responsible transfer of data, or the NFS main frame that responsible data on flows stores realizes;
Described communication network 58 can be the transmission network between different remote system, or the local area network (LAN) between near field communication devices, or same intrasystem communication network.
Further, described negative feedback module 53, also retransmits the last control strategy request responded to positive feedback module 54 for sending, and sends control strategy update request to control decision module 56;
Described positive feedback module 54, also for receiving control ending request, empties the control strategy of the last response, and sends control end response to control strategy interface module 52, and judges that whether user is online.
Further, described control strategy update request comprises unique features mark, control appliance numbering, the user ID of flow control object; Described characteristic value is the unique features mark of contained control object in control strategy.
Described flow-control module 51, control strategy interface module 52, negative feedback module 53, positive feedback module 54, access vector cache module 55 and control decision module 56 are in actual applications above, can be realized by the server performing corresponding function in network, also can be realized by the station server in network;
When being realized by the station server in network, described flow-control module 51, control strategy interface module 52, negative feedback module 53, positive feedback module 54 and control decision module 56 all can by the central processing unit (CPU in described server, Central Processing Unit) or digital signal processor (DSP, Digital Signal Processor) or field programmable gate array (FPGA, Field Programmable Gate Array) realize, described access vector cache module 55 is realized by the memory in described server.
The above, be only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.

Claims (12)

1. a flow control methods, is characterized in that, described method comprises:
Gather data on flows;
Determine control strategy do not exist or invalid time, send control strategy update request, and judge whether current control plan exists or effectively;
Current control strategy exist and effectively time, judge that whether the characteristic value of current control strategy consistent with the last control strategy characteristic value respond, time consistent, the control strategy that repeating transmission the last time responds; Time inconsistent, send current control strategy, and the control strategy upgrading the last response is current control strategy;
Current control strategy do not exist or invalid time, recalculate control strategy, and to upgrade current control strategy be the control strategy newly calculated.
2. method according to claim 1, is characterized in that, described control strategy update request comprises unique features mark, control appliance numbering, the user ID of flow control object.
3. method according to claim 1, is characterized in that, described collection data on flows and judge control strategy whether exist or effectively before, the method also comprises: send and need the notice of carrying out traffic transport.
4. method according to any one of claims 1 to 3, is characterized in that, described method also comprises: judge whether control strategy exists or effectively;
Describedly judge whether control strategy exists or effectively, comprising:
Data on flows according to gathering judges whether described control strategy exists, when existing, whether the further end time stamp judging control strategy terminates or whether the quota of data of control strategy is used up, if the end time stamp of control strategy had lost efficacy or the quota of data of control strategy is used up, then determined that described control strategy lost efficacy; Otherwise, determine that described control strategy is effective.
5. method according to claim 4, is characterized in that, describedly judges whether current control plan exists or effectively, comprising:
Whether the control strategy corresponding according to the unique features identifier lookup of the control object comprised in control strategy update request exists, when existing, further judge current control strategy transmission times whether be less than maximum number of times of transmission, current control strategy when transmission times is less than maximum number of times of transmission, determines that current control strategy is effective; When current control strategy is equal to or greater than maximum number of times of transmission, determine that current control strategy lost efficacy.
6. method according to any one of claims 1 to 3, is characterized in that, the current control strategy of described judgement exist and effectively after, described method also comprises: send the control strategy request of retransmitting the last response;
After the current control strategy of described judgement does not exist or lost efficacy, the method also comprises: send control strategy update request.
7. method according to any one of claims 1 to 3, it is characterized in that, before recalculating control strategy, described method also comprises: receive control strategy update request or traffic transport process peripheral factor trigging control policy update, or internal factor trigger policy upgrades.
8. method according to claim 2, it is characterized in that, after the current control strategy of described renewal is the control strategy newly calculated, described method also comprises: send control strategy and upgrade response, and the control strategy that instruction upgrades the last response is the control strategy newly calculated.
9. method according to claim 8, is characterized in that, after described transmission control strategy upgrades response, described method also comprises:
Judge that whether user is online, unique features according to flow control object identifies, if find the control strategy that described control object exists effective the last response, then determine that user is online, upgrade the end time stamp of the control strategy of the last response, and send the control strategy after upgrading; If find that described control object does not exist the control strategy of the last response, then determine that user is not online, do not send control strategy after upgrading; If find that described control object exists the control strategy of the last time response of losing efficacy, then determine that user is not online, and empty the control strategy of the last response, do not send control strategy after upgrading.
10. a flow control system, is characterized in that, this flow control system comprises: flow-control module, control strategy interface module, negative feedback module, positive feedback module, access vector cache module and control decision module; Wherein,
Described flow-control module, for traffic control strategy, gathers data on flows and judges whether control strategy exists or effectively, and when control strategy does not exist or be invalid, sending control strategy update request to control strategy interface module;
Control strategy interface module, for sending the control strategy from flow-control module to negative feedback module
132083-I-CP-CMCC update request, sends to flow-control module and upgrades response from the control strategy of positive feedback module;
Described negative feedback module, for receiving the control strategy update request from control strategy interface module, and in determination strategy cache module, whether current control plan exists or effectively, determine current control strategy exist and effectively time, trigger positive feedback module, determine that current control strategy does not exist or lost efficacy, trigging control decision-making module;
Described positive feedback module, for judge the characteristic value of current control strategy and the last control strategy characteristic value respond whether consistent, time consistent, retransmit control strategy that the last time responds to control strategy interface module; Time inconsistent, send current control strategy to control strategy interface module, and the control strategy upgrading the last response is current control strategy;
Described access vector cache module, for the current control strategy of buffer memory and the last control strategy responded;
Described control decision module, for recalculating control strategy, and to upgrade current control strategy be the control strategy newly calculated, and sends control strategy and upgrade response to positive feedback module.
11. flow control systems according to claim 10, it is characterized in that, described system also comprises traffic transport module, exchanges for data on flows, send need to carry out traffic transport inform flow-control module and communication network;
Described communication network is the transmission network between different remote system, or the local area network (LAN) between near field communication devices, or same intrasystem communication network.
12. according to claim 10 or 11 flow control system, it is characterized in that, described negative feedback module, also for send retransmit the last response control strategy request to positive feedback module, and send control strategy update request to control decision module;
Described positive feedback module, also for receiving control ending request, empties the control strategy of the last response, and sends control end response to control strategy interface module, and judges that whether user is online.
CN201310633428.5A 2013-11-29 2013-11-29 A kind of flow control methods and system Active CN104683260B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310633428.5A CN104683260B (en) 2013-11-29 2013-11-29 A kind of flow control methods and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310633428.5A CN104683260B (en) 2013-11-29 2013-11-29 A kind of flow control methods and system

Publications (2)

Publication Number Publication Date
CN104683260A true CN104683260A (en) 2015-06-03
CN104683260B CN104683260B (en) 2018-01-30

Family

ID=53317877

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310633428.5A Active CN104683260B (en) 2013-11-29 2013-11-29 A kind of flow control methods and system

Country Status (1)

Country Link
CN (1) CN104683260B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105389729A (en) * 2015-12-15 2016-03-09 中国建设银行股份有限公司 Precise control system and method for transaction flow
CN106485104A (en) * 2015-08-25 2017-03-08 腾讯科技(深圳)有限公司 The self-repairing method of terminal security strategy and device, system
CN106888200A (en) * 2016-06-01 2017-06-23 阿里巴巴集团控股有限公司 Mark correlating method, method for sending information and device
CN104994528B (en) * 2015-07-03 2019-01-29 亚信科技(南京)有限公司 A kind of method and device of Response Policy request

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101119211A (en) * 2007-09-18 2008-02-06 中兴通讯股份有限公司 Service implementing method of equal user tactics
CN101163021A (en) * 2006-10-12 2008-04-16 中兴通讯股份有限公司 Method of implementing charged duration based user fee rate switch
CN101420367A (en) * 2007-10-24 2009-04-29 中国电信股份有限公司 P2P flow control system and method
CN101715182A (en) * 2009-11-30 2010-05-26 中国移动通信集团浙江有限公司 Method, system and device for controlling traffic
US20110080830A1 (en) * 2009-10-06 2011-04-07 Electronics And Telecommunications Research Institute Device and method for providing forwarding information and qos information in flow based network environment
CN102547648A (en) * 2012-01-13 2012-07-04 华中科技大学 Intelligent pipeline flow control method based on user behavior

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101163021A (en) * 2006-10-12 2008-04-16 中兴通讯股份有限公司 Method of implementing charged duration based user fee rate switch
CN101119211A (en) * 2007-09-18 2008-02-06 中兴通讯股份有限公司 Service implementing method of equal user tactics
CN101420367A (en) * 2007-10-24 2009-04-29 中国电信股份有限公司 P2P flow control system and method
US20110080830A1 (en) * 2009-10-06 2011-04-07 Electronics And Telecommunications Research Institute Device and method for providing forwarding information and qos information in flow based network environment
CN101715182A (en) * 2009-11-30 2010-05-26 中国移动通信集团浙江有限公司 Method, system and device for controlling traffic
CN102547648A (en) * 2012-01-13 2012-07-04 华中科技大学 Intelligent pipeline flow control method based on user behavior

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104994528B (en) * 2015-07-03 2019-01-29 亚信科技(南京)有限公司 A kind of method and device of Response Policy request
CN106485104A (en) * 2015-08-25 2017-03-08 腾讯科技(深圳)有限公司 The self-repairing method of terminal security strategy and device, system
CN106485104B (en) * 2015-08-25 2020-12-01 腾讯科技(深圳)有限公司 Automatic restoration method, device and system for terminal security policy
CN105389729A (en) * 2015-12-15 2016-03-09 中国建设银行股份有限公司 Precise control system and method for transaction flow
CN106888200A (en) * 2016-06-01 2017-06-23 阿里巴巴集团控股有限公司 Mark correlating method, method for sending information and device

Also Published As

Publication number Publication date
CN104683260B (en) 2018-01-30

Similar Documents

Publication Publication Date Title
CN103209439B (en) The method of a kind of data traffic monitoring, device and equipment
CN103391256B (en) A kind of base station user face data processing optimization method based on linux system
CN102892089B (en) Message pushing method, device and system
CN103392353B (en) Wireless network capacity open system, gateway, agent and method
RU2019109163A (en) SYSTEMS AND METHODS FOR SESSION CONTROL OF A PROTOCOL DATA UNIT (PDU) ADAPTED TO AN APP
CN107210926A (en) Quality of experience in communication is implemented
CN106664290A (en) Data transmission method and device for photoelectric hybrid network
US11233694B2 (en) Method and device for processing communication path
CN104683260A (en) Flow control method and flow control system
CN107135088A (en) The method and apparatus that daily record is handled in cloud computing system
JP6961969B2 (en) Servers, service provision systems, service provision methods and programs
CN101409654B (en) Method for processing SNMP information in network management system
CN103782554A (en) Data shunting method, data transmission device and shunting node device
CN108810971A (en) Internet of things data transmission method, internet-of-things terminal and computer readable storage medium
CN104601561B (en) Register method, registration equipment and the domestic network system of network
CN108924203A (en) Data copy self-adapting distribution method, distributed computing system and relevant device
CN105264928B (en) Method and apparatus for the control strategy in planar network and charging
CN102769911B (en) A kind of advertising of route message method and device
CN104735103A (en) Method and device for managing distributed data and method and device for receiving distributed data
CN104468656A (en) Mobile data downloading method, mobile data downloading system, mobile data uploading method and mobile data uploading system
CN109787911A (en) Method, control face entity and the transponder of load balancing
EP2769575B1 (en) Method and apparatus for controlling data transmission in a communication system
CN108616509A (en) The method and network side equipment of contents processing
US11218412B2 (en) Method and system for managing the download of data
CN106658388A (en) Bluetooth gateway

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant