CN101741690B - Control method of service interface flow and gateway - Google Patents

Control method of service interface flow and gateway Download PDF

Info

Publication number
CN101741690B
CN101741690B CN200810172723A CN200810172723A CN101741690B CN 101741690 B CN101741690 B CN 101741690B CN 200810172723 A CN200810172723 A CN 200810172723A CN 200810172723 A CN200810172723 A CN 200810172723A CN 101741690 B CN101741690 B CN 101741690B
Authority
CN
China
Prior art keywords
flow control
business interface
advance
control value
value
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.)
Expired - Fee Related
Application number
CN200810172723A
Other languages
Chinese (zh)
Other versions
CN101741690A (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.)
Huawei Technologies Co Ltd
Huawei Software Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN200810172723A priority Critical patent/CN101741690B/en
Publication of CN101741690A publication Critical patent/CN101741690A/en
Application granted granted Critical
Publication of CN101741690B publication Critical patent/CN101741690B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a control method of service interface flow and a gateway, and the method comprises the following steps: monitoring a flow value of a service interface; judging whether residual load value exists at the current operation state when the flow value of the service interface is larger than the flow control value of the service interface; and if so, improving the flow control value of the service interface which is stored in advance. The invention can dynamic adjust the flow control value of the service interface instead of a manual method, thus not only reducing the possibility of gateway maintenance error, but also improving the utilization rate of the gateway, thereby realizing optimum using of gateway system loads.

Description

A kind of control method of service interface flow and gateway
Technical field
The present invention relates to communication technical field, particularly a kind of control method of service interface flow and gateway.
Background technology
Information gateway is mainly used in a plurality of business interfaces to the service provider is provided, and transmits the message that the service provider submits to message center, realizes that the service provider is to the professional purpose of cellphone subscriber's type of giving information.Information gateway comprises short messaging gateway and MMS gateway.
In order to prevent that some business interfaces from taking too many load, information gateway is provided with a Flow Control value for each business interface.When the message traffic of some business interface submissions surpassed the Flow Control value that is provided with, this business interface of information gateway refusal surpassed the message of Flow Control value, and the flow control mode of this business interface is called the quiescent flow control mode.But; The message traffic that adopts the quiescent flow control mode that business interface is submitted to is controlled the such problem of frequent appearance; The message traffic that is certain several business interface has reached the Flow Control value of setting and can't increase flow again; And the integral body of information gateway system load is not high, causes the system loading of information gateway not to be fully utilized.In order to make full use of the system loading of information gateway; Can only heighten the Flow Control value of some business interfaces through manual mode; Can make these business interfaces submit message, through manual mode the current Flow Control value of these business interfaces returned to original Flow Control value again when submitting message under need not be with bigger flow with bigger flow.
The inventor finds that in realizing process of the present invention existing technology can only realize the stream of business interface through the manual mode adjustment, thereby causes not only when safeguarding the utilization ratio of easy error but also gateway low.
Summary of the invention
Embodiment of the invention technical problem to be solved provides a kind of control method and gateway of service interface flow, can adjust business interface Flow Control value automatically, reduces and safeguards error probability, improves the utilization ratio of gateway.
For realizing above-mentioned purpose, the embodiment of the invention provides following scheme:
The embodiment of the invention provides a kind of control method of service interface flow, comprising:
The flow value of monitoring business interface;
When the flow value of said business interface during, judge whether there is the residue load value under the current running status, if then improve the said Flow Control value of the said business interface of storage in advance greater than the Flow Control value of the said business interface of storage in advance.
The embodiment of the invention also provides a kind of gateway, comprising:
First memory module is used for the Flow Control value of storage service interface in advance;
Monitoring modular is used to monitor the flow value of business interface;
When judge module, the Flow Control value of the said business interface that is used for storing in advance greater than said first memory module, judge whether there is the residue load value under the current running status at the flow value of the said business interface of said monitoring module monitors;
Control module, the judged result that is used at said judge module is when having the residue load value under the current running status, improves the Flow Control value of the said business interface that said first memory module stores in advance.
Compared with prior art, the embodiment of the invention is dynamically adjusted the Flow Control value of business interface, replaces manual mode, not only can reduce gateway and safeguard the chance of makeing mistakes, and can improve the utilance of gateway, thereby the optimum of realizing the gateway system load uses.
Description of drawings
The flow chart of the control method of a kind of service interface flow that Fig. 1 provides for the embodiment of the invention;
Fig. 2 is the flow chart of control service interface flow in the one embodiment of the invention;
Fig. 3 is the flow chart of control service interface flow among another embodiment of the present invention;
The logical construction sketch map of a kind of gateway that Fig. 4 provides for the embodiment of the invention.
Embodiment
The embodiment of the invention provides a kind of control method and gateway of service interface flow, can adjust business interface Flow Control value automatically, reduces and safeguards error probability, improves the utilization ratio of gateway.
For the ease of the embodiment of the invention is further understood, the embodiment of the invention is carried out detailed introduction below in conjunction with accompanying drawing.
See also Fig. 1, the flow chart of the control method of a kind of service interface flow that Fig. 1 provides for the embodiment of the invention.As shown in Figure 1, this method comprises:
Step 101: the flow value of monitoring business interface.
Step 102:, judge whether there is the residue load value under the current running status, if then improve the said Flow Control value of the said business interface of storage in advance when when the flow value of said business interface during greater than the Flow Control value of the said business interface of storage in advance.
The embodiment of the invention can dynamically be adjusted the Flow Control value of business interface, replaces manual mode, not only can reduce gateway and safeguard the chance of makeing mistakes, and can improve the utilance of gateway, thereby the optimum of realizing the gateway system load uses.
Embodiment one:
See also Fig. 2, Fig. 2 is the flow chart of control service interface flow in the one embodiment of the invention.As shown in Figure 2, present embodiment comprises:
Step 201: the flow value of monitoring business interface.
Step 202: whether the flow value of judging said business interface is greater than the Flow Control value of the said business interface of storage in advance, if then execution in step 203; Otherwise, if not, then return step 201.
Be less than or equal to the Flow Control value of the said business interface of storage in advance if monitor the flow of said business interface, explain that the flow size of business interface is normal, should continue to monitor the flow value of business interface.
Step 203: judge whether there is the residue load value under the current running status, if there is the residue load value under the current running status, then execution in step 204; Otherwise if there is not the residue load value under the current running status, then execution in step 207.
Step 204: improve the Flow Control value of the said business interface of storage in advance.
The Flow Control value of the said business interface that said raising is stored in advance specifically can be:
Obtain the residue load value under the current running status;
Said residue load value is heightened coefficient with the Flow Control of the said business interface of storing in advance make product, obtain the Flow Control value increment of said business interface;
Calculate the Flow Control value increment and the said Flow Control value sum of the said business interface of storage in advance of said business interface;
The said Flow Control value of the said business interface of storage in advance is updated to the Flow Control value increment and the said Flow Control value sum of the said business interface of storage in advance of said business interface.
At this moment, it can be between 0 to 1 that the said Flow Control of said business interface of storage is in advance heightened the coefficient value scope, the Flow Control of different service interface heighten coefficient can be identical also can be inequality.Such as, it is 0 that the Flow Control of business interface A is heightened coefficient; It is 0.2 that the Flow Control of business interface B is heightened coefficient; It is 0.2 that the Flow Control of business interface C is heightened coefficient; It is 0.5 etc. that the Flow Control of business interface D is heightened coefficient.
Wherein, the said residue load value that obtains under the current running status specifically can be:
Periodically obtain the load value under the current running status;
Calculate the difference of maximum planned load value and said load value, obtain the residue load value under the current running status.Said maximum planned load value is that system sets in design.
The Flow Control value of the said business interface that said raising is stored in advance specifically can also be:
The Flow Control of the said business interface that calculates the Flow Control value of the said business interface of storing in advance and store is in advance heightened the sum of coefficient;
The said Flow Control value of said business interface of storage in advance is updated to the sum that the Flow Control value of the said said business interface of storage in advance and the Flow Control of the said business interface of storage are in advance heightened coefficient.
At this moment, the said Flow Control of said business interface of storage is in advance heightened coefficient and can be set to integer, the Flow Control of different service interface heighten coefficient can be identical also can be inequality.Such as, it is 0 that the Flow Control of business interface A is heightened coefficient; It is 10 that the Flow Control of business interface B is heightened coefficient; It is 10 that the Flow Control of business interface C is heightened coefficient; It is 50 etc. that the Flow Control of business interface D is heightened coefficient.
Step 205: whether the flow value of judging said business interface is being provided with in the time less than the Flow Control value, if then execution in step 206; Otherwise, if not, then return step 201.
Step 206: the Flow Control value that reduces said business interface.
If the flow value of said business interface explains then that being provided with in the time less than the Flow Control value current Flow Control value is excessive, should reduce said Flow Control value.
For each business interface, can store Flow Control in advance and reduce coefficient, the Flow Control of each business interface reduce coefficient can be identical also can be inequality.Such as, it is 30 that the Flow Control of business interface A reduces coefficient; It is 20 that the Flow Control of business interface B reduces coefficient; It is 20 that the Flow Control of business interface C reduces coefficient; It is 50 etc. that the Flow Control of business interface D reduces coefficient;
Calculate the difference that the Flow Control value of said business interface and the Flow Control of the said business interface of storage in advance reduce coefficient, and the Flow Control value of said business interface is updated to the difference that the Flow Control value of said business interface and the Flow Control of the said business interface of storage in advance reduce coefficient; Thereby realize dynamically reducing the Flow Control value of said business interface.
Perhaps, the Flow Control of each business interface between can one 0 to 1 reduces coefficient, the Flow Control of each business interface reduce coefficient can be identical also can be inequality.Such as, it is 0.3 that the Flow Control of business interface A reduces coefficient; It is 0.2 that the Flow Control of business interface B reduces coefficient; It is 0.2 that the Flow Control of business interface C reduces coefficient; It is 0.5 etc. that the Flow Control of business interface D reduces coefficient;
The Flow Control of the said business interface that calculates the Flow Control value of said business interface and store in advance reduces the product of coefficient; And the Flow Control value of said business interface is updated to the product that the Flow Control value of said business interface and the Flow Control of the said business interface of storage in advance reduce coefficient; Thereby realize dynamically reducing the Flow Control value of said business interface.
Need to prove that the Flow Control of each business interface reduces coefficient must be less than the Flow Control value of storage in advance of this business interface.
Step 207: refusal is greater than the flow of Flow Control value.
If judge under the current running status in the step 203 not remain load value, then take static Flow Control treatment mechanism, refusal is greater than the flow of the Flow Control value of business interface, and end flow process of the present invention.
According to the method that the embodiment of the invention provides, after finishing flow process of the present invention, carry out the flow process of the embodiment of the invention again, thereby reach the purpose of the flow value size of real-time monitoring business interface.
The method of control service interface flow is carried out detailed introduction among the above-mentioned embodiment that the embodiment of the invention is provided; The embodiment of the invention is dynamically adjusted the Flow Control value of business interface; Replace manual mode; Not only can reduce gateway and safeguard the chance of makeing mistakes, and can improve the utilance of gateway, thereby the optimum of realizing the gateway system load uses.
Embodiment two:
The foregoing description one can dynamically be adjusted the Flow Control value of each business interface.Present embodiment is divided into high-level business interface and low priority traffic interface with business interface on embodiment one basis, only the flow of high-level business interface is dynamically adjusted, and the low priority traffic interface flow is handled by static Flow Control treatment mechanism.
See also Fig. 3, Fig. 3 is the flow chart of control service interface flow among another embodiment of the present invention.As shown in Figure 3, present embodiment comprises:
Step 301: the flow value of monitoring business interface.
Step 302: whether the flow value of judging said business interface is greater than the Flow Control value of the said business interface of storage in advance, if then execution in step 303; Otherwise, if not, then return step 301.
Step 303: judge whether there is the residue load value under the current running status, if there is the residue load value under the current running status, then execution in step 304; Otherwise if there is not the residue load value under the current running status, then execution in step 308.
Step 304: whether the rank of judging said business interface is high-level, if the rank of said business interface is high-level, then execution in step 305; Otherwise if the rank of said business interface is a low level, then execution in step 308.
Whether the rank of judging said business interface according to the rank parameter of said business interface is high-level.
The rank parameter of said business interface can be contained among the number of the account of this business interface.Such as, if the rank parameter in the number of the account of this business interface is set at 1 o'clock, the rank of representing this business interface is high-level; If the rank parameter in the number of the account of this business interface is set at 0 o'clock, the rank of representing this business interface is a low level;
Perhaps, if the rank parameter in the number of the account of said business interface is set at 1 o'clock, the rank of representing said business interface is high-level; If the rank parameter setting in the number of the account of said business interface is not 1 o'clock, the rank of representing this business interface is a low level.The embodiment of the invention does not limit at this.
Step 305: improve the Flow Control value of the said business interface of storage in advance.
The Flow Control value of the said business interface that said raising is stored in advance specifically can be:
Obtain the residue load value under the current running status;
Said residue load value is heightened coefficient with the Flow Control of the said business interface of storing in advance make product, obtain the Flow Control value increment of said business interface;
Calculate the Flow Control value increment and the said Flow Control value sum of the said business interface of storage in advance of said business interface;
The said Flow Control value of the said business interface of storage in advance is updated to the Flow Control value increment and the said Flow Control value sum of the said business interface of storage in advance of said business interface.
It can be between 0 to 1 that the said Flow Control of said business interface of storage is in advance heightened the coefficient value scope, the Flow Control of different service interface heighten coefficient can be identical also can be inequality.Such as, it is 0.1 that the Flow Control of business interface A is heightened coefficient; It is 0.2 that the Flow Control of business interface B is heightened coefficient; It is 0.3 that the Flow Control of business interface C is heightened coefficient; It is 0.3 etc. that the Flow Control of business interface D is heightened coefficient.
Wherein, said obtain under the current running status the residue load value specifically can:
Periodically obtain the load value under the current running status;
Calculate the difference of maximum planned load value and said load value, obtain the residue load value under the current running status.Said maximum planned load value is that system sets in design.
Step 306: whether the Flow Control value of judging said business interface is being provided with in the time less than the Flow Control value, if then execution in step 307; If, then do not return step 301.
Step 307: the Flow Control value that reduces said business interface.
If the flow value of said business interface explains then that being provided with in the time less than the Flow Control value current Flow Control value is excessive, should reduce said Flow Control value.
For each business interface, can store Flow Control in advance and reduce coefficient, the Flow Control of each business interface reduce coefficient can be identical also can be inequality.Such as, it is 20 that the Flow Control of business interface A reduces coefficient; It is 20 that the Flow Control of business interface B reduces coefficient; It is 10 that the Flow Control of business interface C reduces coefficient; It is 50 etc. that the Flow Control of business interface D reduces coefficient.
Calculate the difference that the Flow Control value of said business interface and the Flow Control of the said business interface of storage in advance reduce coefficient, and the Flow Control value of said business interface is updated to the difference that the Flow Control value of said business interface and the Flow Control of the said business interface of storage in advance reduce coefficient; Thereby realize dynamically reducing the Flow Control value of said business interface.
Need to prove that the Flow Control of each business interface reduces coefficient must be less than the Flow Control value of storage in advance of this business interface.
Step 308: refusal is greater than the flow of Flow Control value.
If judge under the current running status in the step 303 not remain load value, then take static Flow Control treatment mechanism, refusal is greater than the flow of the Flow Control value of business interface, and end flow process of the present invention.
If judge in the step 304 that the rank of said business interface is high-level, then take static Flow Control treatment mechanism, refusal is greater than the flow of the Flow Control value of business interface, and end flow process of the present invention.
According to the method that the embodiment of the invention provides, after finishing flow process of the present invention, carry out the flow process of the embodiment of the invention again, thereby reach the purpose of the flow value size of real-time monitoring business interface.
Above-mentioned method to control service interface flow among another embodiment of the present invention is carried out detailed introduction; The embodiment of the invention can dynamically be adjusted the flow of high-level business interface; Replace manual mode; Not only can reduce gateway and safeguard the chance of makeing mistakes, and can improve the utilance of gateway, thereby the optimum of realizing the gateway system load uses.
Embodiment three:
See also Fig. 4, the logical construction sketch map of a kind of gateway that Fig. 4 provides for the embodiment of the invention.As shown in Figure 4, this gateway comprises:
First memory module 401 is used for the Flow Control value of storage service interface in advance;
Monitoring modular 402 is used to monitor the flow value of business interface;
When judge module 403, the Flow Control value of the said business interface that is used for storing in advance greater than said first memory module 401, judge whether there is the residue load value under the current running status at the flow value of the said business interface of said monitoring modular 402 monitorings;
Control module 404, the judged result that is used at said judge module 403 is when having the residue load value under the current running status, improves the Flow Control value of the said business interface that said first memory module 401 stores in advance.
Further, said judge module 403 also is used under judging current running status, existing after the residue load value, and the rank of judging said business interface again is high-level;
Said control module 404 also be used for said judge module 403 judge the rank of said business interface be high-level after, improve the Flow Control value of the said business interface that said first memory module 401 stores in advance.
Further; Said monitoring modular 402 also is used for after the Flow Control value of the said business interface that said first memory module 401 of said control module 404 raisings is stored in advance, and the flow value of periodically monitoring said business interface is being provided with in the time less than the Flow Control value;
When said control module 404 also is used for flow value at the said business interface of said monitoring modular 402 monitorings and is being provided with in the time less than the Flow Control value, reduce the Flow Control value of the said business interface of said first memory module 401 storages.
According to the gateway that the embodiment of the invention provides, said control module 404 comprises:
Second memory module 4041 is used in advance the Flow Control of storage service interface and heightens coefficient;
Computing module 4042, the Flow Control that is used to calculate the Flow Control value of the said business interface that said first memory module 401 stores in advance and the said business interface that said second memory module 4041 is stored is in advance heightened the sum of coefficient;
The Flow Control that update module 4043, the Flow Control value of the said business interface that is used for said first memory module 401 is stored in advance are updated to the Flow Control value of the said business interface that said first memory module 401 stores in advance and the said business interface that said second memory module 4041 is stored is in advance heightened the sum of coefficient.
At this moment, the Flow Control of the said business interface that said second memory module 4041 is stored is in advance heightened coefficient and can be set to integer, the Flow Control of different service interface heighten coefficient can be identical also can be inequality.Such as, it is 0 that the Flow Control of business interface A is heightened coefficient; It is 10 that the Flow Control of business interface B is heightened coefficient; It is 10 that the Flow Control of business interface C is heightened coefficient; It is 50 etc. that the Flow Control of business interface D is heightened coefficient.
According to the gateway that the embodiment of the invention provides, said control module 404 also comprises:
Acquisition module 4044 is used to obtain the residue load value under the current running status; And the Flow Control of the said business interface that said residue load value and said second memory module 4041 are stored in advance heightens coefficient and makes product, obtains the Flow Control value increment of said business interface;
Said computing module 4042 is used to calculate the Flow Control value sum of the Flow Control value increment and the said business interface that said first memory module 401 is stored in advance of said business interface;
The Flow Control value of the said business interface that said update module 4043 is used for said first memory module 401 is stored in advance is updated to the Flow Control value sum of the Flow Control value increment and the said business interface that said first memory module 401 is stored in advance of said business interface.
At this moment, it can be between 0 to 1 that the Flow Control of said business interface is heightened the coefficient value scope, the Flow Control of different service interface heighten coefficient can be identical also can be inequality.Such as, it is 0 that the Flow Control of business interface A is heightened coefficient; It is 0.2 that the Flow Control of business interface B is heightened coefficient; It is 0.2 that the Flow Control of business interface C is heightened coefficient; It is 0.5 etc. that the Flow Control of business interface D is heightened coefficient.
According to the gateway that the embodiment of the invention provides, said control module 404 also comprises:
The 3rd memory module 4045, being used in advance, the Flow Control of storage service interface reduces coefficient;
Said computing module 4042 also is used to calculate the difference of Flow Control value and the Flow Control reduction coefficient of the said business interface that said the 3rd memory module 4045 is stored in advance of the said business interface of said first memory module 401 storages;
Said update module 4043 also is used for the difference of Flow Control value and the Flow Control reduction coefficient of the said business interface that said the 3rd memory module 4045 is stored in advance that Flow Control value with the said business interface of said first memory module 401 storage is updated to the said business interface of said first memory module 401 storages.
At this moment,, can store Flow Control and reduce coefficient for each business interface, the Flow Control of each business interface reduce coefficient can be identical also can be inequality.Such as, it is 30 that the Flow Control of business interface A reduces coefficient; It is 20 that the Flow Control of business interface B reduces coefficient; It is 20 that the Flow Control of business interface C reduces coefficient; It is 50 etc. that the Flow Control of business interface D reduces coefficient.
Need to prove that the Flow Control of each business interface reduces coefficient must be less than the Flow Control value of storage in advance of this business interface.
Perhaps, said computing module 4042 also is used to calculate the product of Flow Control value and the Flow Control reduction coefficient of the said business interface that said the 3rd memory module 4045 is stored in advance of the said business interface of said first memory module 401 storages;
Said update module 4043 also is used for the product of Flow Control value and the Flow Control reduction coefficient of the said business interface that said the 3rd memory module 4045 is stored in advance that Flow Control value with the said business interface of said first memory module 401 storage is updated to the said business interface of said first memory module 401 storages.
At this moment, the Flow Control of each business interface between can one 0 to 1 reduces coefficient, the Flow Control of each business interface reduce coefficient can be identical also can be inequality.Such as, it is 0.3 that the Flow Control of business interface A reduces coefficient; It is 0.2 that the Flow Control of business interface B reduces coefficient; It is 0.2 that the Flow Control of business interface C reduces coefficient; It is 0.5 etc. that the Flow Control of business interface D reduces coefficient;
Need to prove that the gateway that the embodiment of the invention provides can comprise Short Message Service Gateway, MMS gateway; If the direct access service interface of sms center and MMS center, then the gateway that provides of the embodiment of the invention also is applicable to sms center and MMS center.
Above-mentioned a kind of gateway that the embodiment of the invention is provided carries out detailed introduction; The Flow Control value of the gateway service interface that the embodiment of the invention provides is dynamically adjusted; Replace manual mode; Not only can reduce gateway and safeguard the chance of makeing mistakes, and can improve the utilance of gateway, thereby the optimum of realizing the gateway system load uses.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be accomplished through the relevant hardware of program command; Aforesaid program can be stored in the computer read/write memory medium; This program the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
More than the control method and the gateway of a kind of service interface flow that the embodiment of the invention is provided carried out detailed introduction; Used concrete example among this paper principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that on embodiment and range of application, all can change, in sum, this description should not be construed as limitation of the present invention.

Claims (11)

1. the control method of a service interface flow is characterized in that, comprising:
The flow value of the business interface of supervisory messages gateway;
When the flow value of said business interface during, judge whether there is the residue load value under the current running status, if then improve the said Flow Control value of the said business interface of storage in advance greater than the Flow Control value of the said business interface of storage in advance;
After the Flow Control value of the said business interface that said raising is stored in advance, whether the flow value of judging said business interface is being provided with in the time less than the Flow Control value, if then reduce the Flow Control value of said business interface;
Wherein, the Flow Control value of the said business interface stored in advance of said raising comprises:
Obtain the residue load value under the current running status;
Said residue load value is heightened coefficient with the Flow Control of the said business interface of storing in advance make product, obtain the Flow Control value increment of said business interface;
Calculate the Flow Control value increment and the said Flow Control value sum of the said business interface of storage in advance of said business interface;
The said Flow Control value of the said business interface of storage in advance is updated to the Flow Control value increment and the said Flow Control value sum of the said business interface of storage in advance of said business interface.
2. method according to claim 1 is characterized in that, under judging current running status, exists after the residue load value, also comprises:
The rank of judging said business interface is high-level.
3. method according to claim 2 is characterized in that, the rank of said judgement business interface is high-level comprising:
Rank parameter according to the said business interface of setting judges that the rank of said business interface is high-level.
4. method according to claim 1 is characterized in that, the said residue load value that obtains under the current running status comprises:
Periodically obtain the load value under the current running status;
Calculate the difference of maximum planned load value and said load value, obtain the residue load value under the current running status.
5. method according to claim 1 is characterized in that, the Flow Control value of the said business interface of said reduction comprises:
The Flow Control of the said business interface that calculates the Flow Control value of said business interface and store in advance reduces the product of coefficient;
The Flow Control value of said business interface is updated to the product that the Flow Control value of said business interface and the Flow Control of the said business interface of storage in advance reduce coefficient.
6. method according to claim 1 is characterized in that, the Flow Control value of the said business interface of said reduction also comprises:
The Flow Control of the said business interface that calculates the Flow Control value of said business interface and store in advance reduces the difference of coefficient;
The Flow Control value of said business interface is updated to the difference that the Flow Control value of said business interface and the Flow Control of the said business interface of storage in advance reduce coefficient.
7. an information gateway is characterized in that, comprising:
First memory module is used for the Flow Control value of storage service interface in advance;
Monitoring modular is used for the flow value of the business interface of supervisory messages gateway;
When judge module, the Flow Control value of the said business interface that is used for storing in advance greater than said first memory module, judge whether there is the residue load value under the current running status at the flow value of the said business interface of said monitoring module monitors;
Control module, the judged result that is used at said judge module is when having the residue load value under the current running status, improves the Flow Control value of the said business interface that said first memory module stores in advance;
Wherein, the Flow Control value of the said business interface stored in advance of said raising comprises: obtain the residue load value under the current running status; Said residue load value is heightened coefficient with the Flow Control of the said business interface of storing in advance make product, obtain the Flow Control value increment of said business interface; Calculate the Flow Control value increment and the said Flow Control value sum of the said business interface of storage in advance of said business interface; The said Flow Control value of the said business interface of storage in advance is updated to the Flow Control value increment and the said Flow Control value sum of the said business interface of storage in advance of said business interface;
Said monitoring modular also is used for after said control module improves the Flow Control value of the said business interface that said first memory module stores in advance, and whether the flow value of monitoring said business interface is being provided with in the time less than the Flow Control value;
When said control module also is used for flow value at the said business interface of said monitoring module monitors and is being provided with in the time less than the Flow Control value, reduce the Flow Control value of the said business interface of said first memory module storage.
8. information gateway according to claim 7 is characterized in that, said judge module also is used under judging current running status, existing after the residue load value, and the rank of judging said business interface again is high-level;
Said control module also be used for said judge module judge the rank of said business interface be high-level after, improve the Flow Control value of the said business interface that said first memory module stores in advance.
9. according to claim 7 or 8 described information gateways, it is characterized in that said control module comprises:
Second memory module is used in advance the Flow Control of storage service interface and heightens coefficient;
Computing module, the Flow Control that is used to calculate the Flow Control value of the said business interface that said first memory module stores in advance and the said business interface that said second memory module is stored is in advance heightened the sum of coefficient;
The Flow Control that update module, the Flow Control value of the said business interface that is used for said first memory module is stored in advance are updated to the Flow Control value of the said business interface that said first memory module stores in advance and the said business interface that said second memory module is stored is in advance heightened the sum of coefficient.
10. information gateway according to claim 9 is characterized in that, said control module also comprises:
Acquisition module is used to obtain the residue load value under the current running status; And the Flow Control of the said business interface that said residue load value and said second memory module are stored in advance heightens coefficient and makes product, obtains the Flow Control value increment of said business interface;
Said computing module is used to calculate the Flow Control value sum of the Flow Control value increment and the said business interface that said first memory module is stored in advance of said business interface;
The Flow Control value of the said business interface that said update module is used for said first memory module is stored in advance is updated to the Flow Control value sum of the Flow Control value increment and the said business interface that said first memory module is stored in advance of said business interface.
11. information gateway according to claim 9 is characterized in that, said control module also comprises:
The 3rd memory module, being used in advance, the Flow Control of storage service interface reduces coefficient;
Said computing module also is used to calculate the difference of Flow Control value and the Flow Control reduction coefficient of the said business interface that said the 3rd memory module is stored in advance of the said business interface of said first memory module storage;
Said update module also is used for the difference of Flow Control value and the Flow Control reduction coefficient of the said business interface that said the 3rd memory module is stored in advance that Flow Control value with the said business interface of said first memory module storage is updated to the said business interface of said first memory module storage.
CN200810172723A 2008-11-11 2008-11-11 Control method of service interface flow and gateway Expired - Fee Related CN101741690B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810172723A CN101741690B (en) 2008-11-11 2008-11-11 Control method of service interface flow and gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810172723A CN101741690B (en) 2008-11-11 2008-11-11 Control method of service interface flow and gateway

Publications (2)

Publication Number Publication Date
CN101741690A CN101741690A (en) 2010-06-16
CN101741690B true CN101741690B (en) 2012-08-29

Family

ID=42464610

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810172723A Expired - Fee Related CN101741690B (en) 2008-11-11 2008-11-11 Control method of service interface flow and gateway

Country Status (1)

Country Link
CN (1) CN101741690B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102148750B (en) * 2010-11-09 2014-09-03 华为软件技术有限公司 Message traffic control method, equipment and system
CN104092624A (en) * 2014-06-27 2014-10-08 北京思特奇信息技术股份有限公司 System and method for controlling information issuing flow and priority
CN105578531B (en) * 2014-10-17 2020-01-03 中兴通讯股份有限公司 Multimedia message gateway flow control method and device
CN105703928A (en) * 2014-11-25 2016-06-22 中兴通讯股份有限公司 Traffic adjustment method and traffic adjustment device
CN108471385B (en) * 2017-02-23 2021-12-10 苏宁易购集团股份有限公司 Flow control method and device for distributed system
EP3761560B1 (en) 2018-03-21 2023-07-05 Huawei Cloud Computing Technologies Co., Ltd. Control method for application programming interface (api) gateway cluster, and api gateway cluster

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1913489A (en) * 2006-08-17 2007-02-14 华为技术有限公司 Method of flow controlling for IUB-interface
CN1984068A (en) * 2006-06-15 2007-06-20 华为技术有限公司 Method and device for controlling data flow
CN101123587A (en) * 2007-09-13 2008-02-13 杭州华三通信技术有限公司 Traffic control method and device for switch service flow

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1984068A (en) * 2006-06-15 2007-06-20 华为技术有限公司 Method and device for controlling data flow
CN1913489A (en) * 2006-08-17 2007-02-14 华为技术有限公司 Method of flow controlling for IUB-interface
CN101123587A (en) * 2007-09-13 2008-02-13 杭州华三通信技术有限公司 Traffic control method and device for switch service flow

Also Published As

Publication number Publication date
CN101741690A (en) 2010-06-16

Similar Documents

Publication Publication Date Title
CN101741690B (en) Control method of service interface flow and gateway
CN102835089B (en) QoS for mobile device controls
CN103473142B (en) Virtual machine migration method under a kind of cloud computing operating system and device
US8607075B2 (en) Idle duration reporting for power management
US8422988B1 (en) Controlling activity levels and reducing infrastructure data transmission costs for wireless mobile devices
CN101877604B (en) Method and system for transmitting files
CN102484857A (en) Power optimisation of a mobile device using transmission requests delaying based on historical user behavior
US20090083750A1 (en) Method and apparatus for controlling message traffic license
WO2005010715A3 (en) Device message management system
CN108879884A (en) A kind of charging management method and device of charging station
CN102137133A (en) Method and system for distributing contents and scheduling server
CN102143563A (en) Control method, equipment and systems of short message center cluster
CN101998227B (en) Service routing method, device and system
CN110351431A (en) Sleep pattern setting method, user terminal and computer readable storage medium
CN103647656A (en) Billing node load control method, data access control method and node
CN103399758A (en) Hardware accelerating method, device and system
CN102148803A (en) Method and device for matching messages
CN101547414B (en) Short message billing system and method
CN101448022B (en) Control method of system interface iSCSI receiving end window of internet small computer and device
CN102118879A (en) Method and device for controlling connection session of data service
CN101827348A (en) Control method and equipment for user credit in prepayment service and service support system
US11477040B1 (en) System, method, and computer program for dynamic switching between online and offline charging for a network session
US9042396B2 (en) System and method for processing multimedia messaging service
CN106846142B (en) Information processing method and server
CN109325859B (en) Member upgrading processing method, system and server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120829

Termination date: 20201111

CF01 Termination of patent right due to non-payment of annual fee