CN101110981A - Method for limiting flux of short message system according to authorization - Google Patents
Method for limiting flux of short message system according to authorization Download PDFInfo
- Publication number
- CN101110981A CN101110981A CNA2006101035304A CN200610103530A CN101110981A CN 101110981 A CN101110981 A CN 101110981A CN A2006101035304 A CNA2006101035304 A CN A2006101035304A CN 200610103530 A CN200610103530 A CN 200610103530A CN 101110981 A CN101110981 A CN 101110981A
- Authority
- CN
- China
- Prior art keywords
- flow
- message
- short
- license file
- node
- 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
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
In order to solve the problems that the existing flow quantity controlling method can not limit the flow quantity at the system side, and the limit value can be modified discretionarily, the present invention discloses a flow quantity limit method for the short message system based on warrant. In the present invention, each time the control node receives a reporting short message, the current flow quantity of the system plus the flow quantity of the current short message is updated as the current flow quantity of the system, if the current flow quantity of the system is over the current flow quantity upper limit of the system of the prescription of the permission file, a flow quantity limiting short message is announced to all the nodes in the system, and all the nodes reject the new origination short message. The present invention achieves the controlling of the whole flow quantity of the short message system, meanwhile the limit value can be modified discretionarily because of the adoption of the permission file according to the different requirement of the different commercial bureau to respectively limit, and the extra expenditure of the system is economized.
Description
Technical field
The present invention relates to the short-message system field, relate in particular to the short-message system flow control technique.
Background technology
Along with being extensive use of of short message service, the disposal ability of short-message system also improves constantly.But in each Commercial deployment of short message, the phenomenon that ubiquity is such: the flow of the actual support of short message service center is considerably beyond the flow of predesignating, and, if surpassed this flow, we can control without any means, have promptly caused the unnecessary spending of short-message system.
Existing patent documentation about the short message flow control comprises: number of patent application is the Chinese patent application " a kind of system and method that is used for the message center intelligent monitoring " of CN03140202 and the Russ P application that the patent No. is RU2154358 " Flow control method for short message service-busy subscriber " (at the busy user's of short message service flow control methods).
The CN03140202 Chinese patent application is to come user's flow is controlled by the flow restriction value in the configuration platform configure user of monitoring server, when flow surpasses restriction, the user is added blacklist, and short message service center filters black list user's message.This method is based on user's flow control.
The purpose of RU2154358 Russ P application is to make the resource of network and network entity can access better utilization, is based on the flow control of wireless side.
At present short-message system also has the method for some other flow control.Mainly contain two kinds:
The one, exhale flow control eventually, when the message traffic that mails to mobile phone surpasses restriction, these message of short-message system buffer memory, deferred delivery, the starting point of this method is to protect comparatively fragile wireless side.
The 2nd, the flow of going into to exhale of outside Short Message Entity (ESME) is limited, when the message of submitting to when outside Short Message Entity (ESME) surpasses restriction, the submission message that the short-message system refusal is new, the starting point of this method remains the protection wireless side.
Existing processing method all can not be come limited flow from system perspective, and the limits value of above existing short-message system processing method can be revised the flow system flow of regulation restriction in can not implementing contract well arbitrarily.
Summary of the invention
The objective of the invention is to: overcome the defective that can not limit flow system flow that exists in the existing short-message system, provide a kind of method that limits according to the flow of authorizing short-message system, to reduce the unnecessary spending of short-message system better.
For reaching goal of the invention, the present invention may further comprise the steps according to the method that the flow of authorizing short-message system limits:
(1) short message service center chooses a node as Control Node, and all nodes are carried out the flow parameter configuration;
(2) by the traffic statistics flow system flow of Control Node according to each node;
(3) Control Node judges whether the flow system flow of statistics surpasses the condition in the flow parameter configuration, if surpass the condition in the flow parameter configuration, execution in step (4); If do not surpass the condition in the flow parameter configuration, return execution in step (2);
(4) Control Node by each node limited flow, is returned execution in step (2) to flow restriction message of all node broadcasts of this short message service center.
Wherein, need generate license file when Control Node is carried out the flow parameter configuration, this license file comprises at least: the time granularity that flow that system allows and system carry out flow control; License file also comprises: need carry out flow control message, allow flow the term of validity, surpass damped cycle that term of validity system allows flow, surpass pad value that term of validity system allows flow, office's information of short-message system and area code information etc.
Compared with prior art, the present invention has reached the effect that the whole flow of short-message system is controlled, simultaneously owing to adopted license file, not only make limits value to revise arbitrarily, also accomplish the different demands according to different Commercial deployments are limited respectively, further saved the unnecessary spending of system.
Description of drawings
Fig. 1 is the schematic diagram of PCS (personal communication service) short-message system;
Fig. 2 is the schematic diagram of license file initialization flow process of the present invention;
Fig. 3 is the schematic flow sheet that Control Node of the present invention is carried out flow control;
Fig. 4 is the schematic diagram of first kind operation flow of the present invention;
Fig. 5 is the schematic diagram of the second class operation flow of the present invention.
Embodiment
Below in conjunction with accompanying drawing a kind of method that limits according to the flow of authorizing short-message system of the present invention is described in further detail:
Be illustrated in figure 1 as PCS (personal communication service) short-message system structure, short message service center can receive the message (MO message) from the message of outside Short Message Entity (ESME) (AO message) and short message Interworking GateWay, and message is handed down to outside Short Message Entity (AT message) or short message Interworking GateWay (MT message).
Provide the example of a license file (license file) below:
[License]
Version=1.04.070
WeightOfMo=0
WeightOfMt=0
WeightOfAo=0
WeightOfAt=0
WeightOfMr=0
LimitOfSys=1000
TimeInterval=1
AreaNum=20
PostOffice=38
year=2016
month=12
day=4
DecPeriod=1
DecPercent=50
This license file comprises following clauses and subclauses:
Version: version
The weights (* 10) of WeightOfMo:MO (mobile phone call message) message, this type of message is not controlled in 0 expression
The weights (* 10) of WeightOfMt:MT (exhaling message to the end that mobile phone sends) message, this type of message is not controlled in 0 expression
The weights (* 10) of WeightOfAo:AO (common message that ESME submits to) message, this type of message is not controlled in 0 expression
The weights (* 10) of WeightOfAt:AT (message that issues to ESME) message, this type of message is not controlled in 0 expression
The weights (* 10) of WeightOfMr:MR (the receipt message that ESME submits to) message, this type of message is not controlled in 0 expression
LimitOfSys: flow system flow restriction (* 10)
TimeOfInterval: time granularity is a unit with the second, maximum 3600 seconds
AreaNum: area code
PostOffice: the office number
Year: term of validity time
Month: term of validity month
Day: term of validity day
DecPeriod: damped cycle, represented cycle (is unit with the sky) of the flux depression that system allows after the term of validity
DecPercent: attenuation amplitude, represented that the flow of term of validity system's permission afterwards accounted for the ratio of former flow
Relation in the license file between clauses and subclauses is exemplified below:
One, LimitOfSys=100, TimeOfInterval=1 represent that the maximum stream flow that allows is 100/second; If need not carry out flow control according to the license file, all weights are set to 0 and get final product.
Two, damped cycle being set is 1 month, and attenuation amplitude is 80%, and the maximum stream flow that system allows is A bar/second.After crossing the term of validity first month so, the flow that system allows is reduced to A*80%, crosses the second month after the term of validity, and the flow that system allows is A*80%*80%, successively decreases according to this.
Whether the regular check every day license of short message service center file crosses the term of validity.Be no more than one month if the term of validity of license file is remaining, the backstage alarm is reminded user's new license file of application in time, to guarantee the normal operation of short-message system.Cross the term of validity as if the license file, then the flow that allows according to the flux depression way computing system of stipulating in the license file.
Concrete implementation step is: at first choose a node as Control Node by short message service center by the communicate status information that keeps in the Message Dispatch Process; Encrypt according to customer requirements generation license file and to the license file by short message service center again; With the signature file that generates, PKI file and former license file are put under the config directory of service processor together then.Wherein said cryptographic algorithm can be selected DES (data encryption standard) cryptographic algorithm, RSA cryptographic algorithms or MD5 (informative abstract) cryptographic algorithm of present extensive use.
Carry out step as shown in Figure 2 then:
Read the license fileinfo when (201) short message service center powers on,
(202) short message service center checks whether the office's information and the area code information of the short-message system that comprises in the license file meet configuration, if meet execution in step (203); If do not meet, print license file initialization failure information, flow process finishes;
(203) check whether license file is legal, if legal, license file checking flow process finishes; If illegal, print license file initialization failure information.
Because Message Dispatch Process has retardance to the judgement of node state; therefore need protect the message of broadcasting; if do not receive any broadcast (flow restriction or flow restriction are recovered) in 3 time granularities, then flow system flow is in the unrestricted state of forcing.
Control Node definition global variable is used to write down current flow.Control Node is whenever received a report message, then enters flow process as shown in Figure 3:
(301) global variable is added the flow of current message is updated to the present flow rate of system,
(302) Control Node judges whether the present flow rate of system has surpassed the flow system flow upper limit of stipulating in the license file, if surpassed the flow system flow upper limit of stipulating in the license file, execution in step (303); If do not surpass the flow system flow upper limit of stipulating in the license file, withdraw from this flow process;
(303) Control Node flow restriction message of all node broadcasts in system, then the new call message of all node refusals withdraws from this flow process.
The flow control process of Control Node is broadcasted a flow restriction and is recovered message, the global variable zero clearing that will write down present flow rate simultaneously when each time granularity begins.
Wherein, the flow process that sends report message to Control Node is as shown in Figure 4 and Figure 5:
As shown in Figure 4, the business process of each node is carried out following steps when receiving that mobile phone works the common message (AO) of exhaling (MO) message or outside Short Message Entity (ESME) submission:
(401) whether judge the message weights greater than 0, if greater than 0, execution in step (402); If be not more than 0, flow process finishes;
(402) judge that whether the flow of current system surpasses the flow of system's permission of stipulating in the license file, if surpass the flow of system's permission of stipulating in the license file, has returned and has exhaled failure; If surpass the flow of system's permission of stipulating in the license file, execution in step (403);
(403) the present node flow is added the flow of current message is updated to the present node flow;
(404) judge the certain proportion of the flow whether the present node flow allows greater than the system that stipulates in the license file, this ratio can be made as 10%, if be not more than the certain proportion of the flow that the system that stipulates in the license file allows, flow process finishes; As if the certain proportion of the flow that allows greater than the system that stipulates in the license file, execution in step (405);
(405) obtain Control Node information, and send report message to the flow control process of Control Node.
As shown in Figure 5, the operation flow of each node is in the receipt message (MR) of receiving that outside Short Message Entity (ESME) is submitted to, or the operation flow of each node sends the whole message (MT) of exhaling to mobile phone, or the operation flow of each node is carried out following steps when outside Short Message Entity (ESME) issuing message (AT):
(501) whether judge the message weights greater than 0, if greater than 0, execution in step (502); If be not more than 0, flow process finishes;
(502) the present node flow is added the flow of current message is updated to the present node flow;
(503) judge the certain proportion of the flow whether the present node flow allows greater than the system that stipulates in the license file, this ratio can be made as 10%, if be not more than the certain proportion of the flow that the system that stipulates in the license file allows, flow process finishes; As if the certain proportion of the flow that allows greater than the system that stipulates in the license file, execution in step (504);
(504) obtain Control Node information, and send report message to the flow control process of Control Node.
Claims (17)
1. a method that limits according to the flow of authorizing short-message system is characterized in that, may further comprise the steps:
(1) short message service center chooses a node as Control Node, and all nodes are carried out the flow parameter configuration;
(2) by the traffic statistics flow system flow of Control Node according to each node;
(3) Control Node judges whether the flow system flow of statistics surpasses the condition in the flow parameter configuration, if surpass the condition in the flow parameter configuration, execution in step (4); If do not surpass the condition in the flow parameter configuration, return execution in step (2);
(4) Control Node by each node limited flow, is returned execution in step (2) to flow restriction message of all node broadcasts of this short message service center.
2. according to the described method that limits according to the flow of authorizing short-message system of claim 1, it is characterized in that described flow parameter configuration is specially:
(11) short message service center generates license file according to user's kind and quantity;
(12) short message service center generates signature file and PKI file according to license file;
(13) short message service center is configured to license file, signature file and PKI file under the config directory of service processor of each node together.
3. according to the described method that limits according to the flow of authorizing short-message system of claim 2, it is characterized in that described license file comprises at least: the time granularity that flow that system allows and system carry out flow control.
4. according to the described method that limits according to the flow of authorizing short-message system of claim 3, it is characterized in that step (2) is specially: the traffic income that Control Node adds the present flow rate of system current message to value be updated to the present flow rate of system.
5. according to the described method that limits according to the flow of authorizing short-message system of claim 4, it is characterized in that step (3) is specially:
(31) Control Node judges whether new time granularity begins, if new time granularity begins execution in step (32); If new time granularity does not begin execution in step (33);
(32) Control Node is recovered message to flow restriction of all node broadcasts of this short message service center, simultaneously with the present flow rate zero clearing of system, returns execution in step (2);
(33) Control Node judges whether the present flow rate of system surpasses the flow that system allows, if surpass the flow that this system allows, execution in step (4); If do not surpass the flow that this system allows, return execution in step (2).
6. according to the described method that limits according to the flow of authorizing short-message system of claim 1, it is characterized in that described Control Node is chosen by the communicate status information that keeps in the Message Dispatch Process by short message service center.
7. according to the described method that limits according to the flow of authorizing short-message system of claim 2, it is characterized in that step (12) is specially: short message service center adopts cryptographic algorithm that license file is signed, and generates signature file and PKI file.
8. according to the described method that limits according to the flow of authorizing short-message system of claim 7, it is characterized in that described cryptographic algorithm is des encryption algorithm, RSA cryptographic algorithms or md5 encryption algorithm.
9. according to the described method that limits according to the flow of authorizing short-message system of claim 3, it is characterized in that described license file also comprises: need carry out the message of flow control, the term of validity that allows flow, the damped cycle that surpasses term of validity system permission flow, the pad value that surpasses term of validity system permission flow, the office's information and the area code information of short-message system.
10. according to the described method that limits according to the flow of authorizing short-message system of claim 9, it is characterized in that step (13) also has two steps afterwards:
(14) short message service center checks whether the office's information and the area code information of the short-message system that comprises in the license file meet configuration, if meet execution in step (15); If do not meet, print license file initialization failure information, flow process finishes;
(15) whether short message service center is legal according to signature file and PKI file checking license file, if legal, execution in step (2); If illegal, print license file initialization failure information.
11. according to the described method that limits according to the flow of authorizing short-message system of claim 5, it is characterized in that described all nodes are not received any broadcast in 3 time granularities, then flow system flow is in the unrestricted state of forcing.
12. according to the described method that limits according to the flow of authorizing short-message system of claim 11, it is characterized in that described any broadcast comprises: flow restriction message and flow restriction are recovered message.
13., it is characterized in that the flow of described current message sends report message notice Control Node by the operation flow of each node according to claim 4 or the 5 described methods that limit according to the flow of authorizing short-message system.
14., it is characterized in that described report message sends to Control Node by following steps according to the described method that limits according to the flow of authorizing short-message system of claim 13:
A1, whether judge the message weights greater than 0, if greater than 0, execution in step B1; If be not more than 0, flow process finishes;
Whether B1, the flow of judging current system surpass the flow that the system that stipulates in the license file allows, if surpass the flow that the system that stipulates in the license file allows, have returned and have exhaled failure; If surpass the flow of system's permission of stipulating in the license file, execution in step C1;
C1, the present node flow is added that the flow of current message is updated to the present node flow;
D1, judge the certain proportion of the flow whether the present node flow allows greater than the system that stipulates in the license file, if be not more than the certain proportion of the flow that the system that stipulates in the license file allows, flow process finishes; As if the certain proportion of the flow that allows greater than the system that stipulates in the license file, execution in step E1;
E1, obtain Control Node information, and send report message to the flow control process of Control Node.
15., it is characterized in that described report message sends to Control Node by following steps according to the described method that limits according to the flow of authorizing short-message system of claim 13:
A2, whether judge the message weights greater than 0, if greater than 0, execution in step B2; If be not more than 0, flow process finishes;
B2, the present node flow is added that the flow of current message is updated to the present node flow;
C2, judge the certain proportion of the flow whether the present node flow allows greater than the system that stipulates in the license file, if be not more than the certain proportion of the flow that the system that stipulates in the license file allows, flow process finishes; As if the certain proportion of the flow that allows greater than the system that stipulates in the license file, execution in step D2;
D2, obtain Control Node information, and send report message to the flow control process of Control Node.
16. according to the described method that limits according to the flow of authorizing short-message system of claim 9, it is characterized in that, described license file is after surpassing the term of validity, and the flow that system allows in this damped cycle changes to the flow that system allows in the last damped cycle and multiply by pad value.
17. according to the described method that limits according to the flow of authorizing short-message system of claim 16, it is characterized in that, whether short message service center's regular check every day license file surpasses the term of validity, and sends alarm when the term of validity is left to be no more than a damped cycle.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006101035304A CN100544505C (en) | 2006-07-21 | 2006-07-21 | The method that limits according to the flow of authorizing short-message system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006101035304A CN100544505C (en) | 2006-07-21 | 2006-07-21 | The method that limits according to the flow of authorizing short-message system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101110981A true CN101110981A (en) | 2008-01-23 |
CN100544505C CN100544505C (en) | 2009-09-23 |
Family
ID=39042839
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2006101035304A Expired - Fee Related CN100544505C (en) | 2006-07-21 | 2006-07-21 | The method that limits according to the flow of authorizing short-message system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100544505C (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010145262A1 (en) * | 2009-10-27 | 2010-12-23 | 中兴通讯股份有限公司 | Cluster short message center and method for realizing disaster tolerance shunting thereof |
CN102264102A (en) * | 2010-05-24 | 2011-11-30 | 华为技术有限公司 | Method, device and system for controlling localized flow exchange in mobile broadband network |
WO2012136049A1 (en) * | 2011-04-08 | 2012-10-11 | 中兴通讯股份有限公司 | Resource optimization method based on service license and device thereof |
CN102930219A (en) * | 2012-10-31 | 2013-02-13 | 龚莉雅 | Processing method and device for data setting |
CN105245463A (en) * | 2014-07-09 | 2016-01-13 | 腾讯科技(深圳)有限公司 | Flow control method and device |
CN109743305A (en) * | 2018-12-27 | 2019-05-10 | 浪潮软件股份有限公司 | The method for realizing applicating text data protection in the application of Intelligent dialogue system |
-
2006
- 2006-07-21 CN CNB2006101035304A patent/CN100544505C/en not_active Expired - Fee Related
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010145262A1 (en) * | 2009-10-27 | 2010-12-23 | 中兴通讯股份有限公司 | Cluster short message center and method for realizing disaster tolerance shunting thereof |
CN102264102A (en) * | 2010-05-24 | 2011-11-30 | 华为技术有限公司 | Method, device and system for controlling localized flow exchange in mobile broadband network |
WO2012136049A1 (en) * | 2011-04-08 | 2012-10-11 | 中兴通讯股份有限公司 | Resource optimization method based on service license and device thereof |
CN102739424A (en) * | 2011-04-08 | 2012-10-17 | 中兴通讯股份有限公司 | Method and apparatus for optimizing resources based on service license |
CN102739424B (en) * | 2011-04-08 | 2014-12-10 | 中兴通讯股份有限公司 | Method and apparatus for optimizing resources based on service license |
CN102930219A (en) * | 2012-10-31 | 2013-02-13 | 龚莉雅 | Processing method and device for data setting |
CN105245463A (en) * | 2014-07-09 | 2016-01-13 | 腾讯科技(深圳)有限公司 | Flow control method and device |
CN105245463B (en) * | 2014-07-09 | 2019-10-22 | 腾讯科技(深圳)有限公司 | A kind of flow control methods, equipment and storage medium |
CN109743305A (en) * | 2018-12-27 | 2019-05-10 | 浪潮软件股份有限公司 | The method for realizing applicating text data protection in the application of Intelligent dialogue system |
Also Published As
Publication number | Publication date |
---|---|
CN100544505C (en) | 2009-09-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100544505C (en) | The method that limits according to the flow of authorizing short-message system | |
EP1075755B1 (en) | Tariff management apparatus and methods for communications terminals using smart cards | |
CN102546297B (en) | A kind of user bandwidth Notification Method and message accounting | |
CN102438292B (en) | Radio resource control method and system | |
CN100481768C (en) | Method for controlling defaulting risk of mobile user | |
US20140094159A1 (en) | Controlling Mobile Device Communications On a Roaming Network Based on Device State | |
CN101783846A (en) | Charging service processing method and charging gateway | |
CN104811961A (en) | LTE wireless network obstruction perceiving and alleviating method and system | |
WO2003094562A1 (en) | Local usage monitoring and fraud detection for mobile communication networks | |
CN102612007A (en) | Flow control method and device for short messages | |
CN104123638A (en) | Convenient short message payment system and method | |
CN103312682A (en) | Method and system for accessing gateway safely | |
CN102215470A (en) | Pay per call processing method and system of communication equipment | |
CN107872594B (en) | Charging method, charging device and charging system | |
CN106685671A (en) | Directional traffic card realization method and device and traffic service platform | |
CN102083018A (en) | System and method for controlling service arrearages | |
CN101188787A (en) | Disaster tolerance method and system for home register | |
CN101557382A (en) | Professional ability resource management system and professional ability resource access management method | |
CN103686653B (en) | Method for controlling defaulting of short message subscriber | |
CN102685801B (en) | Network management equipment and method | |
CN101674534A (en) | Device and method for controlling mass sending in integrated service management platform | |
CN101692714A (en) | Intelligent network multi-service triggering method, intelligent network and intelligent gateway device | |
CN101330637B (en) | Method and system for short message platform charging using network service interface | |
CN100488102C (en) | Method for monitoring negative flux in WiMAX system, and charging system | |
CN101668262A (en) | SP short message authentication method in short message gateway and configuration method of authentication number segment |
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: 20090923 Termination date: 20150721 |
|
EXPY | Termination of patent right or utility model |