CN104066119A - Short message calling flow controlling method and device - Google Patents
Short message calling flow controlling method and device Download PDFInfo
- Publication number
- CN104066119A CN104066119A CN201310093861.4A CN201310093861A CN104066119A CN 104066119 A CN104066119 A CN 104066119A CN 201310093861 A CN201310093861 A CN 201310093861A CN 104066119 A CN104066119 A CN 104066119A
- Authority
- CN
- China
- Prior art keywords
- short message
- message
- number section
- described short
- count
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/12—Messaging; Mailboxes; Announcements
- H04W4/14—Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/58—Message adaptation for wireless communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/18—Service support devices; Network management devices
- H04W88/184—Messaging devices, e.g. message centre
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses a short message calling flow controlling method and a device thereof. The short message calling flow controlling method comprises the steps of: receiving a short message which is transmitted by a mobile exchange center or a service provider; inquiring a number segment with the short message; counting the number of actually transmitted messages in a current time period of the number segment with the short message; determining whether the number of the actually transmitted messages in the current time period of the number segment with the short message is smaller than a flow threshold of the number segment with the short messages; and when the number of the actually transmitted messages in the current time period of the number segment with the short message is smaller than the flow threshold of the number segment with the short messages, transmitting the short message to a base station controller which corresponds with the number segment with the short message. According to the short message calling flow controlling method, through controlling the flow of each number segment base station controller in each section, controlling for the short message calling flow is thinned to number segment, thereby realizing higher controlling accuracy, realizing higher configuration flexibility, and effectively preventing system stoppage caused by base station overload.
Description
Technical field
The present invention relates to communication technical field, specially refer to short message call flow control methods and device.
Background technology
In short message service, exhale in process eventually, operator is conventionally according to the region number of distribution section, by the message traffic of control number section, control the message traffic of the base station that is delivered to a region, to reach, reduce the impact of message to base station, prevent that base station overload from causing the object of paralysis.But, development along with telecommunication service, the sharply increase of number of users of mobile terminal amount, short message service amount is increasing, increasing service provider (Service Provider particularly, SP) for abundant value-added service is provided to user, the large batch of user's pocket transmission news of giving, this must cause great impact to the stability of communication network.At present, only by mobile switching centre (Mobile Switching Center, MSC) control message flow, can not guarantee the flow equilibrium of base station in small regions different in bulk zone, easily cause part overloaded base stations, so that paralysis.
Summary of the invention
Short message call flow control methods and the device of main purpose of the present invention for a kind of effective control short message call flow equilibrium being provided, avoiding load of base station to transship.
The present invention proposes a kind of short message call flow control methods, comprises step:
Receive the short message that mobile switching centre or service provider send;
Inquire about the affiliated number section of described short message, and add up the actual delivery message count of the affiliated number section of described short message within the current period;
Judge whether the actual delivery message count of number section within the current period under described short message is less than the flow threshold of number section under described short message;
Under under described short message number section actual delivery message count within the current period is less than described short message during the flow threshold of number section, described short message is delivered to the base station controller of number section correspondence under described short message.
Preferably, describedly judge the actual delivery message count of number section within the current period under described short message also comprises after whether being less than the step of the flow threshold of number section under described short message:
Under under described short message number section actual delivery message count within the current period is more than or equal to described short message during the flow threshold of number section, short message described in buffer memory;
When a period arrives instantly, add up the actual delivery message count of the affiliated number section of described short message within next period;
Judge whether the actual delivery message count of number section within next period under described short message is less than the flow threshold of number section under described short message;
With this, circulate.
Preferably, described short message comprises high-priority message and common message;
Under described statistics short message, the step of the actual delivery message count of number section within the current period specifically comprises:
Add up described short message affiliated number the section actual delivery message count of high-priority message and actual delivery message count of common message within the current period.
Preferably, the described step that judges whether the actual delivery message count of number section within the current period under described short message is less than the flow threshold of number section under described short message specifically comprises:
When the described short message arriving is high-priority message, judge whether the actual delivery message count of described high-priority message is less than the poor of the affiliated maximum stream flow threshold value of number section of described short message and the actual delivery message count of described common message;
When the described short message arriving is common message, judge whether the actual delivery message count of described common message is less than the common message threshold value of the affiliated number section of described short message and is less than the poor of the affiliated maximum stream flow threshold value of number section of described short message and the actual delivery message count of described high-priority message.
Preferably, under described short message, the common message threshold value of number section obtains by following steps:
Statistics message count T1 to be delivered, the T2 of top n high-priority message in the period of current period ..., Tn, N is natural number;
Obtain the maximum stream flow threshold value Max of the affiliated number section of described short message;
Determine the common message threshold value IImax of the affiliated number section of described short message within the current period, its expression formula is: IImax=Max-(T1+T2+ ... + Tn) ÷ N.
Preferably, after the described step that short message is delivered to the base station controller of number section correspondence under described short message, also comprise:
When described short message is delivered unsuccessfully, judge whether the delivery error code of described short message is attaching position register error code;
If so, by under described short message number section, the actual delivery message count within the current period subtracts one, short message described in buffer memory, and return to the step of the actual delivery message count of number section within the current period under the described short message of statistics;
If not, short message described in buffer memory, and return to the step of the actual delivery message count of number section within the current period under the described short message of statistics;
With this, circulate.
The present invention also proposes a kind of short message call volume control device, comprising:
Receiver module, the short message sending for receiving mobile switching centre or service provider;
Enquiry module, for inquiring about number section under described short message;
Statistical module, for adding up the actual delivery message count of number section within the current period under described short message;
Judge module, for judging whether the actual delivery message count of number section within the current period under described short message is less than the flow threshold of number section under described short message;
Deliver module, when judging that when described judge module the actual delivery message count of the affiliated number section of described short message within the current period is less than the flow threshold of number section under described short message, described short message is delivered to the base station controller of number section correspondence under described short message.
Preferably, described short message call volume control device also comprises cache module, when judging that when described judge module the actual delivery message count of the affiliated number section of described short message within the current period is more than or equal to the flow threshold of number section under described short message, short message described in buffer memory;
Described statistical module also for, when a period arrives instantly, add up the actual delivery message count of number section within next period under described short message;
Described judge module also for, judge whether the actual delivery message count of number section within next period under described short message is less than the flow threshold of number section under described short message.
Preferably, described short message comprises high-priority message and common message;
Described statistical module specifically for:
Add up described short message affiliated number the section actual delivery message count of high-priority message and actual delivery message count of common message within the current period.
Preferably, described judge module specifically for:
When the described short message arriving is high-priority message, judge whether the actual delivery message count of described high-priority message is less than the poor of the affiliated maximum stream flow threshold value of number section of described short message and the actual delivery message count of described common message;
When the described short message arriving is common message, judge whether the actual delivery message count of described common message is less than the common message threshold value of the affiliated number section of described short message and is less than the poor of the affiliated maximum stream flow threshold value of number section of described short message and the actual delivery message count of described high-priority message.
Preferably, described statistical module also for:
Statistics message count T1 to be delivered, the T2 of top n high-priority message in the period of current period ..., Tn, N is natural number;
Obtain the maximum stream flow threshold value Max of the affiliated number section of described short message;
Determine the common message threshold value IImax of the affiliated number section of described short message within the current period, its expression formula is: IImax=Max-(T1+T2+ ... + Tn) ÷ N.
Preferably, described short message call volume control device also comprises feedback module,, wherein,
Described judge module also for, when described short message is delivered unsuccessfully, judge whether the delivery error code of described short message is attaching position register error code;
Described statistical module is also for, the delivery error code of judging described short message when described judge module during as attaching position register error code, and the actual delivery message count by under described short message number section within the current period subtracts one;
Described feedback module is used for, and the delivery error code of judging described short message when described judge module is during as attaching position register error code, short message described in buffer memory, and described short message is fed back to described statistical module; When described judge module judges that the delivery error code of described short message is not attaching position register error code, direct short message described in buffer memory, and described short message is fed back to described statistical module.
The present invention, by controlling the flow of each number segment base station control in each section, makes the control number of the being refined to section of short message call flow, makes to control more accurate, configure more flexibly, effectively avoids load of base station to transship and causes systemic breakdown.
Accompanying drawing explanation
Fig. 1 is the flow chart of the first embodiment of short message call flow control methods of the present invention;
Fig. 2 is the flow chart of the second embodiment of short message call flow control methods of the present invention;
Fig. 3 is the flow chart of the 3rd embodiment of short message call flow control methods of the present invention;
Fig. 4 is the flow chart of the 4th embodiment of short message call flow control methods of the present invention;
Fig. 5 is the flow chart of the 5th embodiment of short message call flow control methods of the present invention;
Fig. 6 is the structural representation of the first embodiment of short message call volume control device of the present invention;
Fig. 7 is the structural representation of the second embodiment of short message call volume control device of the present invention;
Fig. 8 is the structural representation of the 3rd embodiment of short message call volume control device of the present invention.
The realization of the object of the invention, functional characteristics and advantage, in connection with embodiment, are described further with reference to accompanying drawing.
Embodiment
Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
As shown in Figure 1, Fig. 1 is the flow chart of the first embodiment of short message call flow control methods of the present invention.The short message call flow control methods that the present embodiment is mentioned, comprises step:
Step S10, receives the short message that mobile switching centre or service provider send;
When user sends SMS message, by mobile terminal, be sent to mobile switching centre, Bing You mobile switching centre is delivered to short message service center; The service short message of service provider's mass-sending, adopts SMPP agreement to be submitted to short message service center by service provider.
Step S20, number section under inquiry short message;
A MSC area can be divided into a plurality of BSC sections, and transmission is delivered in the base station that short message is distributed to correspondence section according to recipient's number.For example, one's respective area is divided into two MSC areas, two BSC sections are responsible in each MSC area, always have 4 BSC sections, short message service center arranges maximum stream flow threshold value to each number section respectively in advance, for example, the section 1 of checking the number arranges 100/second, the section 2 of checking the number arranges 200/second, and the section 3 of checking the number arranges 300/second, and the section 4 of checking the number arranges 400/second.
Step S30, the actual delivery message count of number section within the current period under statistics short message;
When a short message arrives, short message service center adds 1 by the actual delivery message count in the current period.
Step S40, judges whether the actual delivery message count of number section within the current period under short message is less than the flow threshold of number section under short message;
For control the flow of the base station controller of each number section correspondence, if for the short message arriving within the scope of flow threshold, just delivers operation, if the short message of arrival has surpassed flow threshold, wouldn't send, effectively avoid base station controller to load excessive.
Step S50, under under short message number section actual delivery message count within the current period is less than short message during the flow threshold of number section, and is delivered to short message the base station controller of number section correspondence under short message.
The present embodiment, by controlling the flow of each number segment base station control in each section, makes the control number of the being refined to section of short message call flow, makes to control more accurate, configure more flexibly, effectively avoids load of base station to transship and causes systemic breakdown.
As shown in Figure 2, Fig. 2 is the flow chart of the second embodiment of short message call flow control methods of the present invention.It is basis that the present embodiment be take embodiment illustrated in fig. 1, after step S40, also comprises:
Step S61, under under short message number section actual delivery message count within the current period is more than or equal to short message during the flow threshold of number section, short message cache;
Step S62, next period arrives, and returns to step S30.
In the present embodiment, for in the current period, arrive short message excess flow threshold range time, this short message is persisted and do not sent out, when a period arrives instantly, again add up the actual delivery message count of the affiliated number section of short message within next period, the flow threshold of number section under under short message number section actual delivery message count within next period is less than short message, within next period, this short message is sent, if the actual delivery message count in next period is still more than or equal to flow threshold, in continuing this short message to stay, do not send out, when next period arrives again by the time, doing again statistics and judgement, circulation successively, until the flow of number section meets threshold range under this short message.Because the present embodiment has carried out refinement control to the BSC flow of each number section, effectively avoid load of base station overload to cause systemic breakdown.
As shown in Figure 3, Fig. 3 is the flow chart of the 3rd embodiment of short message call flow control methods of the present invention.It is basis that the present embodiment be take embodiment illustrated in fig. 2, and step S30 specifically comprises:
Step S31, number the section actual delivery message count of high-priority message and actual delivery message count of common message within the current period under statistics short message;
In order to guarantee that important message preferentially issues, need to carry out classification to message, short message is divided into high-priority message and common message, the short message of point-to-point and important SP short message classify as high-priority message, other message classifies as common message, and same section high-priority message can not be greater than the threshold value of this number section setting with the common message message total flow issuing per second.Message count to be delivered is the number of short that MSCHuoSPXiang short message service center request is delivered, and the actual message count of delivering refers in the current period the up to the present actual number of short that is delivered to base station controller.In order to take into account efficiency, need to dynamically adjust the flow that this moment two class message issues according to the flow of high-priority message and common message.Can as reality, deliver message count by the flow of a certain moment two class message of Real-time Obtaining; Or according to the high-priority message historical juncture, be submitted to the flow (message count to be submitted) of short message service center, estimate current time high-priority message flow, and by number section threshold value, deduct this and estimate flow as the maximum sending flow rate that allows of the current time of common message.
As shown in Figure 4, Fig. 4 is the flow chart of the 4th embodiment of short message call flow control methods of the present invention.It is basis that the present embodiment be take embodiment illustrated in fig. 3, and step S40 specifically comprises:
Step S41, the short message types that judgement arrives;
Step S42, when the short message arriving is high-priority message, judges whether the actual delivery message count of high-priority message is less than the poor of the affiliated maximum stream flow threshold value of number section of short message and the actual delivery message count of common message;
High-priority message is adopted dynamically to calculated threshold in real time, maximum stream flow threshold value is designated as Max, high-priority message threshold value is designated as Imax, the actual delivery of the current period common message of Imax=Max-number, if the actual delivery of current time high-priority message message count <Imax, this high-priority message can continue to deliver.
Step S43, when the short message arriving is common message, judge whether the actual delivery message count of common message is less than the common message threshold value of the affiliated number section of short message and is less than the poor of the affiliated maximum stream flow threshold value of number section of short message and the actual delivery message count of high-priority message.
In order to guarantee the steady of message traffic, the present embodiment adopts sliding window mechanism to calculate common message threshold value, by the message count to be delivered of historical period high priority, estimate the common message threshold value of current period, the concrete following methods that adopts: statistics message count T1 to be delivered, the T2 of top n high-priority message in the period of current period ..., Tn, N is natural number; Obtain the maximum stream flow threshold value Max of the affiliated number section of short message; Determine the common message threshold value IImax of the affiliated number section of described short message within the current period, its expression formula is: IImax=Max-(T1+T2+ ... + Tn) ÷ N.The present embodiment be take N=3 as example, obtain message count T1 to be delivered, T2, the T3 of the high-priority message in first three period, the high-priority message number that in 3 periods, the request of MACHeSPXiang short message service center is submitted to before the current period respectively, before the current period, in 3 periods, the average discharge of high-priority message is (T1+T2+T3) ÷ 3, common message threshold value IImax=Max-(T1+T2+T3) ÷ 3 of current period.Judge whether common message can continue delivery and must meet the following conditions: the actual delivery of common message message count <IImax, and the actual delivery of the actual delivery of regular grade message message count <Max-high-priority message message count.The present embodiment adopts sliding window mechanism, has guaranteed the steady of message traffic, has also guaranteed that high-priority message preferentially sends simultaneously, has taken into account flow control and has issued the balance between efficiency.
As shown in Figure 5, Fig. 5 is the flow chart of the 5th embodiment of short message call flow control methods of the present invention.It is basis that the present embodiment be take embodiment illustrated in fig. 2, after step S50, also comprises:
Step S71, judges whether short message delivers failure; If so, perform step S72; If not, process ends;
Step S72, judges whether the delivery error code of short message is attaching position register error code; If so, perform step S73; If not, perform step S74;
Step S73, the actual delivery message count by under short message number section within the current period subtracts one, short message cache, and return to step S30;
Step S74, short message cache, and return to step S30.
Short message service center is delivering before short message to base station, the first HLR(Home Location Register of meeting, attaching position register) query routing, if HLR just returns to failure when query routing, this class short message can't be delivered to BSC, on base station flow, can not cause load impact, can in the actual delivery of statistics BSC number, deduct, the error code that therefore, can return according to core net judges whether it is the routing failure that HLR returns.
As shown in Figure 6, Fig. 6 is the structural representation of the first embodiment of short message call volume control device of the present invention.The short message call volume control device that the present embodiment is mentioned, comprising:
Receiver module 10, the short message sending for receiving mobile switching centre or service provider;
Enquiry module 20, for inquiring about number section under short message;
Statistical module 30, for adding up the actual delivery message count of number section within the current period under short message;
Judge module 40, for judging whether the actual delivery message count of number section within the current period under short message is less than the flow threshold of number section under short message;
Deliver module 50, during for the flow threshold of number section under the actual delivery message count of number section within the current period under judge module 40 judgement short messages is less than short message, short message is delivered to the base station controller of number section correspondence under short message.
In the present embodiment, when user sends SMS message, by mobile terminal, be sent to mobile switching centre, Bing You mobile switching centre is delivered to short message service center; The service short message of service provider's mass-sending, adopts SMPP agreement to be submitted to short message service center by service provider.A MSC area can be divided into a plurality of BSC sections, and transmission is delivered in the base station that short message is distributed to correspondence section according to recipient's number.For example, one's respective area is divided into two MSC areas, two BSC sections are responsible in each MSC area, always have 4 BSC sections, short message service center arranges maximum stream flow threshold value to each number section respectively in advance, for example, the section 1 of checking the number arranges 100/second, the section 2 of checking the number arranges 200/second, and the section 3 of checking the number arranges 300/second, and the section 4 of checking the number arranges 400/second.When a short message arrives, short message service center adds 1 by the actual delivery message count in the current period.For control the flow of the base station controller of each number section correspondence, if for the short message arriving within the scope of flow threshold, just delivers operation, if the short message of arrival has surpassed flow threshold, wouldn't send, effectively avoid base station controller to load excessive.The present embodiment, by controlling the flow of each number segment base station control in each section, makes the control number of the being refined to section of short message call flow, makes to control more accurate, configure more flexibly, effectively avoids load of base station to transship and causes systemic breakdown.
As shown in Figure 7, Fig. 7 is the structural representation of the second embodiment of short message call volume control device of the present invention.The present embodiment is on basis embodiment illustrated in fig. 6, increased cache module 60, while being used for the flow threshold of number section under the actual delivery message count of number section within the current period under judge module 40 judgement short messages is more than or equal to short message, short message cache;
Statistical module 30 also for, when a period arrives instantly, the actual delivery message count of number section within next period under statistics short message;
Judge module 40 also for, judge whether the actual delivery message count of number section within next period under short message is less than the flow threshold of number section under short message.
In the present embodiment, for in the current period, arrive short message excess flow threshold range time, this short message is persisted and do not sent out, when a period arrives instantly, again add up the actual delivery message count of the affiliated number section of short message within next period, the flow threshold of number section under under short message number section actual delivery message count within next period is less than short message, within next period, this short message is sent, if the actual delivery message count in next period is still more than or equal to flow threshold, in continuing this short message to stay, do not send out, when next period arrives again by the time, doing again statistics and judgement, circulation successively, until the flow of number section meets threshold range under this short message.Because the present embodiment has carried out refinement control to the BSC flow of each number section, effectively avoid load of base station overload to cause systemic breakdown.
In the embodiment of the present invention, statistical module 30 specifically for:
Number the section actual delivery message count of high-priority message and actual delivery message count of common message within the current period under statistics short message.
The present embodiment preferentially issues in order to guarantee important message, need to carry out classification to message, short message is divided into high-priority message and common message, the short message of point-to-point and important SP short message classify as high-priority message, other message classifies as common message, and same section high-priority message can not be greater than the threshold value of this number section setting with the common message message total flow issuing per second.Message count to be delivered is the number of short that MSCHuoSPXiang short message service center request is delivered, and the actual message count of delivering refers in the current period the up to the present actual number of short that is delivered to base station controller.In order to take into account efficiency, need to dynamically adjust the flow that this moment two class message issues according to the flow of high-priority message and common message.Can as reality, deliver message count by the flow of a certain moment two class message of Real-time Obtaining; Or according to the high-priority message historical juncture, be submitted to the flow (message count to be submitted) of short message service center, estimate current time high-priority message flow, and by number section threshold value, deduct this and estimate flow as the maximum sending flow rate that allows of the current time of common message.
In the embodiment of the present invention, judge module 40 specifically for:
When the short message arriving is high-priority message, judge whether the actual delivery message count of high-priority message is less than the poor of the affiliated maximum stream flow threshold value of number section of short message and the actual delivery message count of common message;
When the short message arriving is common message, judge whether the actual delivery message count of common message is less than the common message threshold value of the affiliated number section of short message and is less than the poor of the affiliated maximum stream flow threshold value of number section of short message and the actual delivery message count of high-priority message.
The present embodiment adopts dynamically calculated threshold in real time to high-priority message, maximum stream flow threshold value is designated as Max, high-priority message threshold value is designated as Imax, the actual delivery of the current period common message of Imax=-number, if the actual delivery of current time high-priority message message count <Imax, this high-priority message can continue to deliver.In order to guarantee the steady of message traffic, the present embodiment adopts sliding window mechanism to calculate common message threshold value, by the message count to be delivered of historical period high priority, estimate the common message threshold value of current period, the concrete following methods that adopts: statistics message count T1 to be delivered, the T2 of top n high-priority message in the period of current period ..., Tn, N is natural number; Obtain the maximum stream flow threshold value Max of the affiliated number section of short message; Determine the common message threshold value IImax of the affiliated number section of described short message within the current period, its expression formula is: IImax=Max-(T1+T2+ ... + Tn) ÷ N.The present embodiment be take N=3 as example, obtain message count T1 to be delivered, T2, the T3 of the high-priority message in first three period, the high-priority message number that in 3 periods, the request of MACHeSPXiang short message service center is submitted to before the current period respectively, before the current period, in 3 periods, the average discharge of high-priority message is (T1+T2+T3) ÷ 3, common message threshold value IImax=Max-(T1+T2+T3) ÷ 3 of current period.Judge whether common message can continue delivery and must meet the following conditions: the actual delivery of common message message count <IImax, and the actual delivery of the actual delivery of regular grade message message count <Max-high-priority message message count.The present embodiment adopts sliding window mechanism, has guaranteed the steady of message traffic, has also guaranteed that high-priority message preferentially sends simultaneously, has taken into account flow control and has issued the balance between efficiency.
As shown in Figure 8, Fig. 8 is the structural representation of the 3rd embodiment of short message call volume control device of the present invention.The present embodiment, on basis embodiment illustrated in fig. 7, has increased feedback module 70, wherein:
Judge module 40 also for, when short message is delivered unsuccessfully, judge whether the delivery error code of short message is attaching position register error code;
Statistical module 30 is also for, the delivery error code of judging short message when judge module 40 during as attaching position register error code, and the actual delivery message count by under short message number section within the current period subtracts one;
Feedback module 70 is for, the delivery error code of judging short message when judge module 40 during as attaching position register error code, short message cache, and short message is fed back to statistical module 30; When judge module 40 judges that the delivery error code of short message is not attaching position register error code, direct short message cache, and short message is fed back to statistical module 30.
In the present embodiment, short message service center is delivering before short message to base station, the first HLR(Home Location Register of meeting, attaching position register) query routing, if HLR just returns to failure when query routing, this class short message can't be delivered to BSC, on base station flow, can not cause load impact, can in the actual delivery of statistics BSC number, deduct, therefore, the error code that can return according to core net judges whether it is the routing failure that HLR returns.
These are only the preferred embodiments of the present invention; not thereby limit the scope of the claims of the present invention; every equivalent structure or conversion of equivalent flow process that utilizes specification of the present invention and accompanying drawing content to do; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.
Claims (12)
1. a short message call flow control methods, is characterized in that, comprises step:
Receive the short message that mobile switching centre or service provider send;
Inquire about the affiliated number section of described short message, and add up the actual delivery message count of the affiliated number section of described short message within the current period;
Judge whether the actual delivery message count of number section within the current period under described short message is less than the flow threshold of number section under described short message;
Under under described short message number section actual delivery message count within the current period is less than described short message during the flow threshold of number section, described short message is delivered to the base station controller of number section correspondence under described short message.
2. short message call flow control methods according to claim 1, it is characterized in that describedly judge the actual delivery message count of number section within the current period under described short message also comprises after whether being less than the step of the flow threshold of number section under described short message:
Under under described short message number section actual delivery message count within the current period is more than or equal to described short message during the flow threshold of number section, short message described in buffer memory;
When a period arrives instantly, add up the actual delivery message count of the affiliated number section of described short message within next period;
Judge whether the actual delivery message count of number section within next period under described short message is less than the flow threshold of number section under described short message;
With this, circulate.
3. short message call flow control methods according to claim 1 and 2, is characterized in that, described short message comprises high-priority message and common message;
Under described statistics short message, the step of the actual delivery message count of number section within the current period specifically comprises:
Add up described short message affiliated number the section actual delivery message count of high-priority message and actual delivery message count of common message within the current period.
4. short message call flow control methods according to claim 3, it is characterized in that, the described step that judges whether the actual delivery message count of number section within the current period under described short message is less than the flow threshold of number section under described short message specifically comprises:
When the described short message arriving is high-priority message, judge whether the actual delivery message count of described high-priority message is less than the poor of the affiliated maximum stream flow threshold value of number section of described short message and the actual delivery message count of described common message;
When the described short message arriving is common message, judge whether the actual delivery message count of described common message is less than the common message threshold value of the affiliated number section of described short message and is less than the poor of the affiliated maximum stream flow threshold value of number section of described short message and the actual delivery message count of described high-priority message.
5. short message call flow control methods according to claim 4, is characterized in that, under described short message, the common message threshold value of number section obtains by following steps:
Statistics message count T1 to be delivered, the T2 of top n high-priority message in the period of current period ..., Tn, N is natural number;
Obtain the maximum stream flow threshold value Max of the affiliated number section of described short message;
Determine the common message threshold value IImax of the affiliated number section of described short message within the current period, its expression formula is: IImax=Max-(T1+T2+ ... + Tn) ÷ N.
6. short message call flow control methods according to claim 1 and 2, is characterized in that, after the described step that short message is delivered to the base station controller of number section correspondence under described short message, also comprises:
When described short message is delivered unsuccessfully, judge whether the delivery error code of described short message is attaching position register error code;
If so, by under described short message number section, the actual delivery message count within the current period subtracts one, short message described in buffer memory, and return to the step of the actual delivery message count of number section within the current period under the described short message of statistics;
If not, short message described in buffer memory, and return to the step of the actual delivery message count of number section within the current period under the described short message of statistics;
With this, circulate.
7. a short message call volume control device, is characterized in that, comprising:
Receiver module, the short message sending for receiving mobile switching centre or service provider;
Enquiry module, for inquiring about number section under described short message;
Statistical module, for adding up the actual delivery message count of number section within the current period under described short message;
Judge module, for judging whether the actual delivery message count of number section within the current period under described short message is less than the flow threshold of number section under described short message;
Deliver module, when judging that when described judge module the actual delivery message count of the affiliated number section of described short message within the current period is less than the flow threshold of number section under described short message, described short message is delivered to the base station controller of number section correspondence under described short message.
8. short message call volume control device according to claim 7, it is characterized in that, also comprise cache module, when judging that when described judge module the actual delivery message count of the affiliated number section of described short message within the current period is more than or equal to the flow threshold of number section under described short message, short message described in buffer memory;
Described statistical module also for, when a period arrives instantly, add up the actual delivery message count of number section within next period under described short message;
Described judge module also for, judge whether the actual delivery message count of number section within next period under described short message is less than the flow threshold of number section under described short message.
9. according to the short message call volume control device described in claim 7 or 8, it is characterized in that, described short message comprises high-priority message and common message;
Described statistical module specifically for:
Add up described short message affiliated number the section actual delivery message count of high-priority message and actual delivery message count of common message within the current period.
10. short message call volume control device according to claim 9, is characterized in that, described judge module specifically for:
When the described short message arriving is high-priority message, judge whether the actual delivery message count of described high-priority message is less than the poor of the affiliated maximum stream flow threshold value of number section of described short message and the actual delivery message count of described common message;
When the described short message arriving is common message, judge whether the actual delivery message count of described common message is less than the common message threshold value of the affiliated number section of described short message and is less than the poor of the affiliated maximum stream flow threshold value of number section of described short message and the actual delivery message count of described high-priority message.
11. short message call volume control devices according to claim 10, is characterized in that, described statistical module also for:
Statistics message count T1 to be delivered, the T2 of top n high-priority message in the period of current period ..., Tn, N is natural number;
Obtain the maximum stream flow threshold value Max of the affiliated number section of described short message;
Determine the common message threshold value IImax of the affiliated number section of described short message within the current period, its expression formula is: IImax=Max-(T1+T2+ ... + Tn) ÷ N.
12. according to the short message call volume control device described in claim 7 or 8, it is characterized in that, also comprises feedback module, wherein,
Described judge module also for, when described short message is delivered unsuccessfully, judge whether the delivery error code of described short message is attaching position register error code;
Described statistical module is also for, the delivery error code of judging described short message when described judge module during as attaching position register error code, and the actual delivery message count by under described short message number section within the current period subtracts one;
Described feedback module is used for, and the delivery error code of judging described short message when described judge module is during as attaching position register error code, short message described in buffer memory, and described short message is fed back to described statistical module; When described judge module judges that the delivery error code of described short message is not attaching position register error code, direct short message described in buffer memory, and described short message is fed back to described statistical module.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310093861.4A CN104066119B (en) | 2013-03-22 | 2013-03-22 | Short message call flow control methods and device |
PCT/CN2013/082004 WO2014146394A1 (en) | 2013-03-22 | 2013-08-21 | Method and apparatus for controlling traffic of short message service message call |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310093861.4A CN104066119B (en) | 2013-03-22 | 2013-03-22 | Short message call flow control methods and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104066119A true CN104066119A (en) | 2014-09-24 |
CN104066119B CN104066119B (en) | 2018-09-11 |
Family
ID=51553601
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310093861.4A Active CN104066119B (en) | 2013-03-22 | 2013-03-22 | Short message call flow control methods and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104066119B (en) |
WO (1) | WO2014146394A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108462716A (en) * | 2018-03-23 | 2018-08-28 | 厦门集微科技有限公司 | Mistake code converting method and device, computer readable storage medium |
CN114039925A (en) * | 2021-10-28 | 2022-02-11 | 北京思特奇信息技术股份有限公司 | Priority-based dynamic flow control method in short message gateway system |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116185666A (en) * | 2018-09-29 | 2023-05-30 | 创新先进技术有限公司 | Message delivery current limiting method and device and electronic equipment |
CN114979979B (en) * | 2021-09-17 | 2023-07-21 | 中移互联网有限公司 | Message processing method and message processing system thereof |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101141670A (en) * | 2006-09-05 | 2008-03-12 | 中兴通讯股份有限公司 | Message distributing system and method |
CN101404811A (en) * | 2008-11-17 | 2009-04-08 | 中兴通讯股份有限公司 | Cell short message flow control method and system |
CN101588555A (en) * | 2008-05-21 | 2009-11-25 | 中兴通讯股份有限公司 | Flow control method of short messages and short message gateway |
CN102137445A (en) * | 2010-09-16 | 2011-07-27 | 华为软件技术有限公司 | Method and device for controlling data service flow of telecommunication network as well as communication system |
CN102271311A (en) * | 2010-06-02 | 2011-12-07 | ***通信集团浙江有限公司 | Short message flow control method, system and short message center |
CN102612007A (en) * | 2011-01-19 | 2012-07-25 | 中国电信股份有限公司 | Flow control method and device for short messages |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100407807C (en) * | 2005-03-07 | 2008-07-30 | 中兴通讯股份有限公司 | Short message down transmitting flow control method of short message centre |
CN101068376A (en) * | 2007-06-14 | 2007-11-07 | 中兴通讯股份有限公司 | Short message system, flow control configurating method and flow controlling method |
-
2013
- 2013-03-22 CN CN201310093861.4A patent/CN104066119B/en active Active
- 2013-08-21 WO PCT/CN2013/082004 patent/WO2014146394A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101141670A (en) * | 2006-09-05 | 2008-03-12 | 中兴通讯股份有限公司 | Message distributing system and method |
CN101588555A (en) * | 2008-05-21 | 2009-11-25 | 中兴通讯股份有限公司 | Flow control method of short messages and short message gateway |
CN101404811A (en) * | 2008-11-17 | 2009-04-08 | 中兴通讯股份有限公司 | Cell short message flow control method and system |
CN102271311A (en) * | 2010-06-02 | 2011-12-07 | ***通信集团浙江有限公司 | Short message flow control method, system and short message center |
CN102137445A (en) * | 2010-09-16 | 2011-07-27 | 华为软件技术有限公司 | Method and device for controlling data service flow of telecommunication network as well as communication system |
CN102612007A (en) * | 2011-01-19 | 2012-07-25 | 中国电信股份有限公司 | Flow control method and device for short messages |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108462716A (en) * | 2018-03-23 | 2018-08-28 | 厦门集微科技有限公司 | Mistake code converting method and device, computer readable storage medium |
CN114039925A (en) * | 2021-10-28 | 2022-02-11 | 北京思特奇信息技术股份有限公司 | Priority-based dynamic flow control method in short message gateway system |
CN114039925B (en) * | 2021-10-28 | 2023-11-28 | 北京思特奇信息技术股份有限公司 | Dynamic flow control method based on priority in short message gateway system |
Also Published As
Publication number | Publication date |
---|---|
CN104066119B (en) | 2018-09-11 |
WO2014146394A1 (en) | 2014-09-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101594588B (en) | Method and system for controlling short message terminated call flow | |
CN102651908B (en) | Method and equipment for transmitting data | |
CN101132552B (en) | Method and system for transmitting short message through mobile communications network PS field | |
CN105208585A (en) | Scheduling information configuration method, configuration parameter processing method, scheduling information configuration device and configuration parameter processing device | |
CN104811961B (en) | A kind of method and system LTE Wireless network congestion perception and alleviated | |
CN104066119A (en) | Short message calling flow controlling method and device | |
JP5726338B2 (en) | Method for controlling packet access, network side device, terminal device, and communication system | |
CN101170488B (en) | Service network congestion control method and device | |
KR102020360B1 (en) | Method and apparatus for managing congestion in a wireless communications system | |
KR20130111256A (en) | Method and apparatus for managing congestion in a wireless communications system | |
CN104301890A (en) | Method and system for controlling sharing of wireless network access flow | |
CN103327464A (en) | Charging method and system of MTC communication and message processing entity | |
CN103369674B (en) | The distribution method of interface-free resources and equipment | |
CN100466625C (en) | Method and system for realizing business flow control | |
CN101106754B (en) | A method for transmitting SMS to gateway in mobile network | |
EP2136588A1 (en) | Control mechanism for common control channel use | |
CN102065382B (en) | Method and system for dynamic flow control on message issuing of multimedia message service | |
WO2011106979A1 (en) | Method for controlling accessing quantity of short message service and base station sub-system | |
CN104066064A (en) | SMS gateway distributed control system based on concurrency and method thereof | |
CN101959166B (en) | Method and system for controlling online charging | |
CN103369561A (en) | A monitoring signaling optimization method based on PCC architecture | |
CN104349404A (en) | Channel state switching method, network controller, base station and communication system | |
CN101091350A (en) | Method and device for performance optimisation of a data distribution network | |
CN106572483B (en) | Data transmission method and device and core network self-configuration self-optimization platform | |
CN101141670B (en) | Message distributing system and method |
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 |