CN101674540A - Method, device and system for controlling short message sending - Google Patents
Method, device and system for controlling short message sending Download PDFInfo
- Publication number
- CN101674540A CN101674540A CN200810222164A CN200810222164A CN101674540A CN 101674540 A CN101674540 A CN 101674540A CN 200810222164 A CN200810222164 A CN 200810222164A CN 200810222164 A CN200810222164 A CN 200810222164A CN 101674540 A CN101674540 A CN 101674540A
- Authority
- CN
- China
- Prior art keywords
- user terminal
- note
- short message
- sends
- expense
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Telephonic Communication Services (AREA)
Abstract
本发明公开了一种短信发送控制方法、装置及系统,以解决现有技术中基于MT短信话单进行计费的短信发送控制机制不完善的问题。该方法包括步骤:统计用户终端在设定时长内发送的短信数量;根据统计得到的短信数量,预算该用户终端在短信计费时延内发送短信所需的费用;将预算出的费用与该用户终端的资金余额进行比较,并根据比较结果控制该用户终端的短信发送。采用本发明,可降低用户终端在短信计费时延内发送大量短信所导致的欠费风险。
The invention discloses a short message transmission control method, device and system to solve the problem in the prior art that the short message transmission control mechanism for billing based on MT short message bills is not perfect. The method includes the steps of: counting the number of short messages sent by the user terminal within the set time length; budgeting the cost required for the user terminal to send short messages within the short message billing time delay according to the number of short messages obtained from the statistics; combining the budgeted cost with the The fund balance of the user terminal is compared, and the short message sending of the user terminal is controlled according to the comparison result. By adopting the invention, the risk of arrears due to sending a large number of short messages by the user terminal within the short message billing time delay can be reduced.
Description
技术领域 technical field
本发明涉及通信领域,尤其涉及一种短信发送控制方法、装置及系统。The present invention relates to the communication field, in particular to a short message sending control method, device and system.
背景技术 Background technique
现有技术中,短信信息服务业务流程如下,其中,用户终端A为短信发送方,用户终端B为短信接收方,用户终端A发送短信到其归属的SMSC(ShortMessage Service Center,短信中心)的流程为MO(Message Originate,短信上行)流程,该流程中的短信为MO短信,针对MO流程所生成的短信话单为MO短信话单;用户终端A所归属的SMSC发送短信到用户终端B的流程为MT(Message Terminated,短信下行)流程,该流程中的短信为MT短信,针对MT流程所生成的短信话单为MT(Message Terminated,短信下行)短信话单。短信的计费规则是根据MT流程中产生的MT短信话单对用户终端A进行计费,只有当用户终端A所归属的SMSC将短信成功发送至用户终端B时才生成MT短信话单。因此,短信的计费控制也是基于MT短信话单。In the prior art, the short message information service business process is as follows, wherein, user terminal A is a short message sender, user terminal B is a short message receiver, and user terminal A sends a short message to its belonging SMSC (ShortMessage Service Center, short message center) process It is an MO (Message Originate, uplink SMS) process, in which the short message is an MO short message, and the short message bill generated for the MO process is an MO short message bill; the SMSC to which user terminal A belongs sends a short message to user terminal B. It is an MT (Message Terminated, downlink SMS) process, and the short messages in this process are MT short messages, and the SMS bills generated for the MT process are MT (Message Terminated, downlink SMS) SMS bills. The charging rule of SMS is to charge user terminal A according to the MT SMS bill generated in the MT process. Only when the SMSC to which user terminal A belongs sends the SMS to user terminal B successfully, the MT SMS bill is generated. Therefore, the billing control of the short message is also based on the MT short message bill.
本发明人发现现有技术的基于短信费用的短信发送控制机制并不完善。当用户终端A向所归属的SMSC提交MO短信后,由于A所归属的SMSC向用户终端B发送短信并不是立即下发成功,而是需要一段时延才能下发成功,相应的在MT流程中也不是立即产生MT短信话单,同时,产生的MT短信话单还需要经过一段话单传输时延之后才能被送至计费服务器,导致短信计费相对滞后;因此,如果用户终端A在产生和传输MT短信话单的这段时长内继续发送大量的短信,有可能导致较高的欠费风险,如较高的欠费的可能性和较高的欠费数额。The inventor found that the short message sending control mechanism based on the short message fee in the prior art is not perfect. After user terminal A submits the MO short message to the SMSC to which it belongs, since the SMSC to which A belongs sends the short message to user terminal B, it does not send the short message immediately, but needs a period of delay to send the short message successfully, correspondingly in the MT process The MT short message bill is not generated immediately, and at the same time, the generated MT short message bill can be sent to the billing server after a bill transmission delay, resulting in a relatively lagging short message billing; therefore, if user terminal A generates Continuing to send a large number of short messages during the period of transmitting MT short message bills may lead to a higher risk of arrears, such as a higher possibility of arrears and a higher amount of arrears.
发明内容 Contents of the invention
本发明提供一种短信发送控制方法、装置及系统,以解决现有技术中用户终端在短信计费时延内发送大量短信导致欠费风险高的问题。The present invention provides a short message sending control method, device and system to solve the problem in the prior art that a user terminal sends a large number of short messages within the short message billing time delay, resulting in a high risk of arrears.
本发明实施例通过如下技术方案实现:Embodiments of the present invention are realized through the following technical solutions:
一种短信发送控制方法,包括如下步骤:A short message sending control method, comprising the steps of:
统计用户终端在设定时长内发送的短信数量;Count the number of short messages sent by the user terminal within the set time;
根据统计得到的短信数量,预算该用户终端在短信计费时延内发送短信所需的费用;According to the number of short messages obtained by statistics, estimate the cost required for the user terminal to send short messages within the short message billing time delay;
将预算出的费用与该用户终端的资金余额进行比较,并根据比较结果控制该用户终端的短信发送。Comparing the budgeted fee with the fund balance of the user terminal, and controlling the sending of short messages of the user terminal according to the comparison result.
一种短信发送控制装置,包括A short message sending control device, comprising
统计模块,用于统计用户终端在设定时长内发送的短信数量;A statistical module, used to count the number of short messages sent by the user terminal within the set duration;
预算模块,用于根据统计模块统计出的短信数量预算所述用户终端在短信计费时延内发送短信所需的费用;The budget module is used to budget the cost required for the user terminal to send a short message within the short message billing time delay according to the number of short messages counted by the statistical module;
控制模块,用于将预算出的费用与该用户终端的资金余额进行比较,并根据比较结果控制该用户终端的短信发送。The control module is used to compare the budgeted expenses with the fund balance of the user terminal, and control the sending of short messages of the user terminal according to the comparison result.
一种短信计费控制系统,包括:A short message billing control system, comprising:
短信发送控制装置,用于统计用户终端在设定时长内发送的短信数量;根据统计得到的短信数量,预算用户终端在短信计费时延内发送短信所需的费用;将预算出的费用与该用户终端的资金余额进行比较,并根据比较结果发送关闭所述用户终端的短信发送服务功能的指令;The short message sending control device is used to count the number of short messages sent by the user terminal in the set duration; according to the number of short messages obtained by the statistics, the budget user terminal sends the required cost of the short message within the short message billing time delay; comparing the fund balance of the user terminal, and sending an instruction to close the short message sending service function of the user terminal according to the comparison result;
归属位置寄存器,用于根据所述指令关闭该用户终端的短信发送服务功能。The home location register is used to close the short message sending service function of the user terminal according to the instruction.
本发明的上述实施例中,统计用户终端在设定时长内发送的短信数量,根据统计得到的在设定时长内发送的短信数量,预算该用户终端在短信计费时延内发送短信所需的费用,将预算出的费用与该用户终端的资金余额进行比较,并根据比较结果控制用户终端的短信发送。一方面,由于对用户终端在短信计费时延内发送短信所需的费用进行了预算,并根据预算出的费用与用户终端的资金余额比较的结果控制该用户终端的短信发送,从而可在一定程度上避免用户终端在短信计费时延内发送大量的短信有可能导致欠费的问题;另一方面,进行短信话费预算的依据是用户终端在设定时长内发送的短信数量,从而使预算结果与实际的短信发送量较为接近,进一步提高了短信发送的可控性。In the foregoing embodiments of the present invention, the number of short messages sent by the user terminal within the set time length is counted, and according to the number of short messages sent within the set time length obtained by the statistics, it is estimated that the user terminal needs to send short messages within the short message billing time delay. compare the budgeted cost with the fund balance of the user terminal, and control the sending of short messages by the user terminal according to the comparison result. On the one hand, since the cost required for the user terminal to send a short message within the short message billing time delay has been budgeted, and according to the result of comparing the budgeted cost with the fund balance of the user terminal, the sending of the short message of the user terminal is controlled, so that To a certain extent, it avoids the problem that the user terminal may send a large number of short messages within the short message billing delay, which may lead to arrears; The budget result is relatively close to the actual SMS sending volume, which further improves the controllability of SMS sending.
附图说明 Description of drawings
图1为本发明实施例中短信发送控制的系统框图;Fig. 1 is the system block diagram of short message transmission control in the embodiment of the present invention;
图2a、图2b、图2c、图2d、图2e分别为本发明实施例中短信发送控制流程示意图;FIG. 2a, FIG. 2b, FIG. 2c, FIG. 2d, and FIG. 2e are schematic diagrams of the control flow for sending short messages in the embodiment of the present invention;
图3为本发明实施例中短信发送控制装置的结构示意图。Fig. 3 is a schematic structural diagram of a short message sending control device in an embodiment of the present invention.
具体实施方式 Detailed ways
本发明实施例提出了一种短信发送控制方法、装置及系统,下面参照附图对本发明实施例进行详细的描述。Embodiments of the present invention provide a short message sending control method, device, and system. The embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
如图1所示,为本发明实施例提供的短信发送控制的系统架构图,该系统包括短信发送控制装置11和归属位置寄存器(Home location Register,HLR)15,其中:As shown in Figure 1, it is a system architecture diagram of the short message sending control provided by the embodiment of the present invention, the system includes a short message
短信发送控制装置11,用于统计用户终端在设定时长内发送的短信数量,根据统计得到的在设定时长内发送的短信数量,预算该用户终端在短信计费时延(包括短信话单的生成或/和传输时延)内发送短信所需的费用,将预算出的费用与该用户终端的用户资金余额进行比较,并根据比较结果控制该用户终端的短信发送。具体控制方式可以是:当预算出的费用高于用户资金余额时,向HLR 15发送关闭该用户终端的短信发送服务功能的指令;当预算出的费用不高于用户资金余额时,按照常规业务流程处理。Short message sending
HLR 15,用于根据短信发送控制装置11发送的指令,关闭该用户终端的短信发送服务功能。
由于用户终端使用短信发送服务功能发送短信时首先要进行网络侧的鉴权,并在鉴权通过后才被允许使用短信发送服务功能发送短信。当该用户终端在上述短信发送之后的短信计费时延(包括短信话单生成或/和传输时延)内再次发起短信业务时,如果通过查询HLR对该用户终端进行鉴权时,发现HLR中已经关闭了该用户终端的短信发送服务功能,则对该用户终端的鉴权失败,不允许该用户终端使用短信发送服务功能。When the user terminal uses the short message sending service function to send short messages, it first needs to perform authentication on the network side, and is allowed to use the short message sending service function to send short messages after passing the authentication. When the user terminal initiates the SMS service again within the short message billing time delay (comprising short message bill generation or/and transmission time delay) after the above-mentioned short message is sent, if the user terminal is authenticated by querying the HLR, it is found that the user terminal in the HLR If the short message sending service function of the user terminal has been closed, the authentication of the user terminal fails, and the user terminal is not allowed to use the short message sending service function.
该系统架构还可进一步包括账务数据库12,用于存储用户终端的用户资金余额信息,以便短信发送控制装置11获取用户资金余额信息。The system architecture may further include an
基于上述系统架构,本发明实施例提供的短信发送控制流程可如图2a所示。Based on the above system architecture, the short message sending control flow provided by the embodiment of the present invention may be shown in FIG. 2a.
参见图2a,为本发明实施例提供的短信发送控制流程图,该流程包括以下步骤:Referring to Fig. 2a, it is a short message sending control flowchart provided by the embodiment of the present invention, and the flow includes the following steps:
步骤201、短信发送控制装置11统计设定时长内被监测的用户终端发送的MO短信的数量,并当统计时长到达时,获取该时长内该用户终端发送MO短信数量的统计值。
短信发送控制装置11也可统计用户终端发送的MT短信的数量,但考虑到MT短信数量在经历短信计费时延(包括短信话单生成或/和传输时延)后才能统计出来,因而比MO短信统计量有一定滞后,相应的导致短信发送控制会产生一定滞后,因此本实施例以统计用户终端发送的MO短信的数量为例进行描述。The short message sending
在统计时长内,短信发送控制装置11对被监测用户终端发送的MO短信进行监测,如果MO短信发送方信息与该被监测用户终端的信息(如用户标识)相匹配,则将该用户终端的MO短信数量加1,从而得到该时长内该用户终端发送的MO短信的数量。Within the statistical time length, the short message
步骤206、根据被监测用户终端在统计时长内发送的MO短信数量的统计值估算该用户终端在短信计费时延(包括短信话单生成或/和传输时延)内发送MO短信的数量,根据估算出的MO短信的数量预算出该用户终端发送该数量的MO短信所需要的短信费用。
步骤207、将预算出的短信费用与用户终端的用户资金余额进行比较,若预算出的短信费用高于用户资金余额时,执行步骤209,否则执行步骤208。
步骤208、短信发送控制装置11对MT短信发送过程不进行处理,从而该用户终端的MT短信按照常规方式发送。
步骤209、短信发送控制装置11发送关闭该用户终端的发送短信业务的控制指令至HLR 15,HLR 15根据该控制指令更新该用户终端的信息,关闭该用户终端的短信发送服务功能。
当被关闭短信发送服务功能的用户终端再次发起短信发送业务请求时,由于在通过HLR进行鉴权时发现该用户终端的短信发送服务功能被关闭,所以鉴权失败,使该用户终端无法使用短信发送服务功能发送短信。这样,如果该用户终端在短信计费时延(包括短信话单生成或/和传输时延)内发送了大量短信,由于短信计费时延使对MT短信计费相对滞后,现有技术的处理方式将导致在这段短信计费时延内该用户终端还可以发送大量MO短信(短信计费时延可长达数分钟,足以使用户终端发送大量MO短信),从而导致较高的欠费风险以及欠费数额;而采用本发明实施例的方式,则可以通过统计用户终端短信发送量,并根据统计结果对该用户终端在短信计费时延内发送的短信数量进行预测,根据预测结果对话费进行预算,根据预算结果与用户资金余额情况进行短信发送控制,从而基于用户终端发送短信的行为预测欠费的风险,当风险较高时关闭用户终端的短信发送服务功能,从而对该用户终端在短信计费时延内发送大量短信的行为进行了限制,一定程度上避免了欠费风险,或一定程度上控制了欠费额度。When the user terminal whose short message sending service function is turned off initiates a short message sending service request again, because the short message sending service function of the user terminal is found to be closed when the HLR is authenticated, the authentication fails, making the user terminal unable to use the short message sending service. Service function to send SMS. Like this, if this user terminal sends a large number of short messages in short message billing time delay (comprising short message bill generation or/and transmission time delay), because the short message billing time delay makes MT short message billing relatively lag behind, prior art The processing method will cause the user terminal to also send a large number of MO short messages within this short message billing time delay (the short message billing time delay can be as long as several minutes, which is enough for the user terminal to send a large number of MO short messages), resulting in a higher owed Fee risk and the amount of arrears; and adopt the mode of the embodiment of the present invention, then can by counting the amount of short messages sent by the user terminal, and predict the number of short messages sent by the user terminal in the short message billing time delay according to the statistical results, according to the prediction As a result, the conversation fee is budgeted, and SMS sending control is performed according to the budget result and the user's fund balance, so as to predict the risk of arrears based on the behavior of the user terminal sending SMS, and when the risk is high, the SMS sending service function of the user terminal is turned off, so as to control The user terminal's behavior of sending a large number of short messages within the short message billing delay is restricted, which avoids the risk of arrears to a certain extent, or controls the amount of arrears to a certain extent.
上述流程的步骤206中,根据统计时长内用户终端发送MO短信数量的统计值,估算该用户终端在短信计费时延内可能发送MO短信的数量,可以采用以下公式:In
根据估算出的MO短信的数量预算短信费用,可采用以下公式:According to the estimated number of MO SMS messages, the following formula can be used to budget SMS fees:
预算话费=MO短信数量×短信单价 [2]Budget call fee = number of MO SMS x SMS unit price [2]
为了使预算结果更接近实际情况下在该短信计费时延内所产生的短信话费,以提高控制精度,还可对估算出的MO短信数量或预算出的话费进行调整,调整过程可参考MO短信发送成功率或/和MT短信发送成功率。In order to make the budget result closer to the SMS call charges generated within the SMS billing delay in the actual situation, to improve the control accuracy, you can also adjust the estimated number of MO SMS messages or budgeted call charges. For the adjustment process, please refer to MO SMS sending success rate or/and MT SMS sending success rate.
根据MO短信发送成功率调整估算出的MO短信数量或预算话费时,可将通过公式1计算出的MO短信数量或通过公式2计算出的预算话费再乘以MO短信发送成功率;When adjusting the estimated number of MO messages or budgeted phone charges according to the success rate of sending MO messages, the number of MO messages calculated by formula 1 or the budgeted phone charges calculated by formula 2 can be multiplied by the success rate of sending MO messages;
根据MT短信发送成功率调整估算出的MO短信数量或预算话费时,可将通过公式1计算出的MO短信数量或通过公式2计算出的预算话费再乘以MT短信发送成功率;When adjusting the estimated number of MO messages or budgeted phone charges according to the success rate of sending MT messages, the number of MO messages calculated by formula 1 or the budgeted phone charges calculated by formula 2 can be multiplied by the success rate of sending MT messages;
根据MO短信发送成功率和MT短信发送成功率调整估算出的MT短信数量或预算话费时,可将通过公式1计算出的MO短信数量或通过公式2计算出的预算话费再乘以MO短信发送成功率和MT短信发送成功率;When adjusting the estimated number of MT text messages or budgeted calls based on the success rate of sending MO messages and the success rate of sending MT messages, you can multiply the number of MO messages calculated by formula 1 or the budgeted cost of calls calculated by formula 2 by the number of MO messages sent Success rate and MT SMS sending success rate;
其中,MO短信发送成功率和MT短信发送成功率均为经验值,一般在95%以上。Among them, the success rate of sending MO short messages and the successful sending rate of MT short messages are both empirical values, generally above 95%.
为了进一步提高短信发送的可控性,还可对通过公式1估算出的MO短信数量或通过公式2预算出的短信费用,或者根据MO短信发送成功率或/和MT短信发送成功率调整后的MO短信数量或预算出的短信费用进一步调整,即,乘以系数X,该系数X的值可设置为大于1的数值,从而使预算出的短信费用在一定程度上提高,以进一步减少欠费的风险,提高短信发送的可控性。In order to further improve the controllability of sending short messages, it is also possible to estimate the MO short message quantity estimated by formula 1 or the short message cost budgeted by formula 2, or according to the MO short message sending success rate or/and the adjusted MT short message sending success rate The number of MO SMS or the budgeted SMS fee is further adjusted, that is, multiplied by the coefficient X, and the value of the coefficient X can be set to a value greater than 1, so that the budgeted SMS fee can be increased to a certain extent, so as to further reduce the arrears risks and improve the controllability of SMS sending.
对于系数X还可以根据不同情况进行调整或者根据不同情况选取不同数值的系数X,以提高短信发送的可控性。本发明实施例给出了三种调整方式,分别如图2b、图2c和图2d所示。The coefficient X can also be adjusted according to different situations or a coefficient X with different values can be selected according to different situations, so as to improve the controllability of sending short messages. The embodiment of the present invention provides three adjustment methods, as shown in Fig. 2b, Fig. 2c and Fig. 2d respectively.
图2a所示的流程中,在步骤201至步骤206之间,还可增加根据当前时刻所处时间段对系数X进行调整或选取系数X的步骤,如图2b所示;或者增加根据用户终端在统计时长内发送的MO短信的对端号是否连续对系数X进行调整或选取系数X的步骤,如图2c所示;或者增加根据当前时刻所处时间段和用户终端在统计时长内发送MO短信的对端号是否连续对系数X进行调整的步骤,如图2d所示。In the process shown in Figure 2a, between
在图2b中,当通过图2a的步骤201统计出用户终端在统计时长内发送MO短信数量后,执行步骤203,确定当前时刻所处时间段,并相应采用预设的与该时间段对应的系数X,或者采用预设的与该时间段对应的系数X调整量(如调制系数X的系数A或系数X的增量AX)调整系数X。例如,如果恶意群发短信的发送量在夜间较大,则可使夜晚时间段对应的系数X大于白天时间段对应的系数X;或者,通信系统中可预设各用户终端各时间段与系数X(或系数X调整量)的对应关系表,该关系表依照通信系统对各时间段该用户终端的短信发送量的统计结果建立,将短信发送量大的时间段对应的系数X的数值设置为比短信发送量少的时间段对应的系数X的数值要大。在后续短信费用预算的步骤中,将采用调整后的系数X或根据不同情况选取的系数X对该用户终端进行短信费用预算。In Fig. 2b, after counting the number of MO short messages sent by the user terminal within the statistical time period through
在图2c中,当通过图2a的步骤201统计出用户终端在统计时长内发送MO短信数量后,执行步骤204,判断用户终端在统计时长内发送的MO短信的对端号是否连续,若是,执行步骤205,将系数X值增大或选取对端号码连续时所对应的系数X(对端号码连续时对应的系数X的数值大于对端号码不连续时对应的系数X);否则执行步骤206。如果MO短信对端号连续,则通常用户终端恶意群发短信的可能性较大,这种行为可能会导致恶意欠费,则通过将系数X值增大或采用较大值的系数X,可提高短信发送的可控性。In Fig. 2c, after
在图2d中,当通过图2a的步骤201统计出用户终端在统计时长内发送MO短信数量后,执行步骤203,确定当前时刻所处时间段,并采用与该时间段对应的调整量调整系数X;再执行步骤204,判断用户终端在统计时长内发送的MO短信的对端号是否连续,若是,执行步骤205,将系数X值增大;否则执行步骤206。其中,步骤203和步骤204的先后无严格时序要求。In Fig. 2d, after counting the number of MO short messages sent by the user terminal within the statistical time period through
上述图2b、图2c和图2d中,调整后的系数X值通常大于系数X的初始值,系数X的初始值可设为大于等于1。In the above-mentioned FIG. 2b, FIG. 2c and FIG. 2d, the value of the adjusted coefficient X is usually greater than the initial value of the coefficient X, and the initial value of the coefficient X can be set to be greater than or equal to 1.
上述流程中的被监测的用户终端既可以是全网的用户终端,也可以是某范围内的一个或多个用户终端。在全网用户终端的数量很多时,监测统计全网范围内的用户终端的短信数量可能会导致系统过载,因而在实际应用中,可限定一个监测范围,即对该范围内的用户终端进行监测与统计。监测范围的设定有多种方法,如根据用户号码的号段设定。为了更有针对性的对用户终端的短信发送进行控制,可以对被认为有欠费可能性的用户终端进行监测。界定用户终端是否有欠费可能性可依据用户终端的欠费记录。比如,对欠费次数超过设定欠费次数阈值,或者欠费数额超过设定欠费数额阈值,或者根据欠费次数和欠费数额核定出的信用等级低于设定的信用等级阈值的用户终端进行监测。被监测的用户终端的信息(如用户标识)可定期或根据指令发送到短信发送控制装置11中,使短信发送控制装置11可监测相应用户终端的短信发送情况。如果被监测的用户终端为多个,则针对每个用户终端都按照上述流程进行处理。The monitored user terminals in the above process may be user terminals in the entire network, or one or more user terminals within a certain range. When there are a large number of user terminals in the entire network, monitoring and counting the number of short messages of user terminals in the entire network may cause system overload. Therefore, in practical applications, a monitoring range can be limited, that is, the user terminals within this range can be monitored. and statistics. There are many ways to set the monitoring range, such as setting according to the number segment of the user number. In order to control the short message sending of the user terminal more specifically, it is possible to monitor the user terminal that is considered to have the possibility of arrears. Defining whether the user terminal has the possibility of arrears may be based on the arrears record of the user terminal. For example, for users whose arrears times exceed the set arrears threshold, or the amount of arrears exceeds the set arrears amount threshold, or the credit level determined based on the arrears times and arrears amount is lower than the set credit level threshold The terminal is monitored. The information (such as user identification) of the monitored user terminal can be sent to the short message sending
为了进一步提高短信发送控制的针对性,减少系统负载,可在图2a、图2b、图2c或图2d的步骤201后增加将用户终端在统计周期内的MO短信数量统计值与设定短信数量阈值进行比较,以选择出MO短信数量较大的用户终端的过程,从而使后续调整系数X、预算话费等步骤都针对选择出的MO短信数量较大的用户终端进行。图2e给出了在图2a中增加步骤202后的流程,在步骤202中,短信发送控制装置11将估算出的用户终端在设定的时长内发送MO短信的数量与一设定的短信数量阈值进行比较,当统计出的MO短信数量大于该短信数量阈值时,执行步骤203,否则执行步骤209。通过该短信数量阈值可选择出短信发送量较大的用户终端,从而有针对性的对短信发送量较大的用户终端进行短信发送控制,同时也可减轻系统负载。In order to further improve the pertinence of the short message transmission control and reduce the system load, after
上述各流程中的统计时长可任意设定,统计时长越短,对短信发送的控制精度也就越高。但统计操作以及根据统计结果进行处理都需要占用系统资源,统计时长越短,则系统负载也越大,因此实际应用中可在系统负载与短信发送控制精度之间进行权衡来设置统计时长,如将统计时长设置为短信计费时延的整数倍。The statistical duration in each of the above processes can be set arbitrarily, and the shorter the statistical duration, the higher the control precision for sending short messages. However, statistical operations and processing based on statistical results need to occupy system resources. The shorter the statistical time, the greater the system load. Therefore, in practical applications, the statistical time can be set based on a trade-off between the system load and the control accuracy of SMS sending, such as Set the statistical duration as an integer multiple of the SMS billing delay.
上述图2a、图2b、图2c、图2d、图2e所示的各流程可按照设定的周期进行,即每个周期都执行上述流程,一个周期的时长即为上述的一个统计时长。The processes shown in Fig. 2a, Fig. 2b, Fig. 2c, Fig. 2d, and Fig. 2e above can be carried out according to the set cycle, that is, the above process is executed in each cycle, and the duration of one cycle is the above-mentioned statistical duration.
对于被关闭短信发送服务功能的用户终端,系统可定期查询该用户终端的用户资金余额,如果余额充足(如超过预先规定的数额阈值),则可重新开通该用户终端的短信发送服务功能。For the user terminal whose short message sending service function is turned off, the system can regularly check the user fund balance of the user terminal, and if the balance is sufficient (such as exceeding a predetermined amount threshold), the short message sending service function of the user terminal can be re-opened.
基于相同的技术构思,本发明实施例还提供了一种短信发送控制装置。Based on the same technical concept, the embodiment of the present invention also provides a short message sending control device.
参见图3,为本发明实施例短信发送控制装置的结构示意图,短信发送控制装置包括统计模块31、预算模块32、控制模块33,其中Referring to Fig. 3, it is a schematic structural diagram of a short message sending control device in an embodiment of the present invention, the short message sending control device includes a
统计模块31,用于统计用户终端在设定时长内发送的短信数量;可设定被统计的用户终端的范围,统计模块31统计该范围内的用户终端的短信发送数量,用户终端范围的设定可如前所述,在此不再赘述。
预算模块32,用于根据统计模块31统计的短信数量预算该用户终端在短信计费时延内发送短信所需的费用。具体实现方式可以是:根据统计模块31统计的短信数量估算该用户终端在短信计费时延(包括短信话单生成或/和传输时延)内发送的短信数量,并根据估算出的短信数量预算发送该数量短信所需的费用;该模块在进行预算时,可根据短信数量和短信单价计算发送该数量短信所需的费用,并对计算出的费用进行调整,调整的方式如前所述,在此不再赘述。The
控制模块33,用于将预算出的费用与该用户终端的资金余额进行比较,并根据比较结果控制用户终端的短信发送。具体实现可以是:当比较结果为预算出的费用高于用户资金余额时,发送控制指令,该控制指令指示关闭该用户终端的发送短信服务功能;当比较结果为预算出的费用低于用户资金余额时,按照常规流程发送该用户终端发送的短信。The
上述短信发送控制装置可实现周期对用户终端的短信发送进行控制,为实现周期控制的目的,统计模块31可根据设定的周期统计用户终端在每个周期内发送的短信数量;预算模块32可在每个周期到达时,根据统计模块31统计得到的用户终端本周期内发送的短信数量,估算用户终端在短信计费时延内发送的短信数量,并根据估算出的短信数量预算发送该数量短信所需的费用;控制模块33可在每个周期到达时,将预算模块32预算出的费用与用户终端的资金余额进行比较,并根据比较结果控制该用户终端的短信发送。The above-mentioned short message transmission control device can realize periodic control of the short message transmission of the user terminal, and for the purpose of realizing periodic control, the
上述短信发送控制装置还包括选择模块34,该模块用于从统计模块31统计得到的短信数量对应的用户终端中选择短信数量超过设定阈值的用户终端;预算模块32则进一步根据选择模块34选择出的用户终端发送的短信数量估算该用户终端在短信计费时延内发送的短信数量。The above-mentioned short message transmission control device also includes a
需要说明的是,本发明实施例中将预算出的费用与用户终端的资金余额进行比较,并根据比较结果控制用户终端的短信发送的实现方式,并不仅限于当预算出的费用高于用户终端的用户资金余额时关闭用户终端的短信发送服务功能,以及当预算出的费用不高于用户终端的用户资金余额时按照常规流程发送短信,还可以有其他控制方式。例如,当预算出的费用虽低于用户资金余额但与其比较接近(如差值小于规定限度)时,也可关闭用户终端的短信发送服务功能;还例如,当预算出的费用虽低于用户资金余额但与其比较接近时可规定该用户允许发送的短信数量,并当用户发送完成该数量的短信后关闭用户终端的短信发送服务功能。只要根据比较结果能够实现对用户终端的短信发送行为进行限制的实现方式均在本发明保护范围之内。It should be noted that, in the embodiment of the present invention, the implementation method of comparing the budgeted fee with the fund balance of the user terminal and controlling the sending of short messages of the user terminal according to the comparison result is not limited to when the budgeted fee is higher than that of the user terminal Close the short message sending service function of the user terminal when the user's fund balance is closed, and when the estimated fee is not higher than the user terminal's user fund balance, send a short message according to the conventional process, and other control methods can also be used. For example, when the budgeted fee is lower than the user's fund balance but close to it (such as the difference is less than the specified limit), the short message sending service function of the user terminal can also be closed; for example, when the budgeted fee is lower than the user's When the fund balance is relatively close to it, the number of short messages that the user is allowed to send can be stipulated, and the short message sending service function of the user terminal can be closed after the user has finished sending the short messages of this amount. As long as the implementation of restricting the short message sending behavior of the user terminal according to the comparison result is within the protection scope of the present invention.
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention also intends to include these modifications and variations.
Claims (16)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810222164A CN101674540A (en) | 2008-09-10 | 2008-09-10 | Method, device and system for controlling short message sending |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810222164A CN101674540A (en) | 2008-09-10 | 2008-09-10 | Method, device and system for controlling short message sending |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101674540A true CN101674540A (en) | 2010-03-17 |
Family
ID=42021473
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200810222164A Pending CN101674540A (en) | 2008-09-10 | 2008-09-10 | Method, device and system for controlling short message sending |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101674540A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101827328A (en) * | 2010-04-14 | 2010-09-08 | 中兴通讯股份有限公司 | Device and method for monitoring short-message |
CN102780980A (en) * | 2011-05-10 | 2012-11-14 | 中国移动通信集团设计院有限公司 | Method, system and device for controlling short message service |
WO2012174897A1 (en) * | 2011-06-24 | 2012-12-27 | 中兴通讯股份有限公司 | Monitoring method and apparatus |
CN110830931A (en) * | 2019-11-20 | 2020-02-21 | 珠海格力电器股份有限公司 | Short message cost control method and device, storage medium and electronic equipment |
-
2008
- 2008-09-10 CN CN200810222164A patent/CN101674540A/en active Pending
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101827328A (en) * | 2010-04-14 | 2010-09-08 | 中兴通讯股份有限公司 | Device and method for monitoring short-message |
WO2011127692A1 (en) * | 2010-04-14 | 2011-10-20 | 中兴通讯股份有限公司 | Apparatus and method for monitoring short messages |
CN102780980A (en) * | 2011-05-10 | 2012-11-14 | 中国移动通信集团设计院有限公司 | Method, system and device for controlling short message service |
WO2012174897A1 (en) * | 2011-06-24 | 2012-12-27 | 中兴通讯股份有限公司 | Monitoring method and apparatus |
CN110830931A (en) * | 2019-11-20 | 2020-02-21 | 珠海格力电器股份有限公司 | Short message cost control method and device, storage medium and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101464506B1 (en) | QoS THROTTLING FOR MOBILE DEVICES | |
EP2009894B1 (en) | Messaging system for managing communications resources | |
KR101439827B1 (en) | Charging method selection for service data flows based on the data services being requested | |
US9008611B2 (en) | System and method for providing prepaid billing for instant messaging users | |
US20040077332A1 (en) | Management of pre-paid billing system for wireless communication | |
US10735990B2 (en) | Overload control handling in case of an overload state of a charging entity | |
CN101227302A (en) | Billing method, control device, billing device and billing system | |
US20160294569A1 (en) | Quota control policy | |
JP2015537473A (en) | Preload mode PCC rule control method and apparatus | |
KR102351415B1 (en) | Offline charging record threshold control method and system based on CUPS protocol | |
CN102572768A (en) | Charging method, authentication method, charging equipment and authentication equipment | |
CN101674540A (en) | Method, device and system for controlling short message sending | |
WO2012167676A1 (en) | Call charging processing method and system for communication device | |
WO2013078857A1 (en) | Charging service processing method and system, charging gateway, and online charging system | |
WO2002067600A9 (en) | Management of pre-paid billing system for wireless communication | |
US9769325B2 (en) | Method and apparatus for online charging of pre-fetched content | |
US20160295028A1 (en) | Tracking usage window for quota control policy | |
EP3476130B1 (en) | Mobile video optimization | |
US20120302205A1 (en) | Method and system for the online charging of a subscriber, program and computer program product | |
US20230344942A1 (en) | Methods and systems for charging deductions disregarding existing reservations | |
WO2011031240A1 (en) | A method of charging sms messages | |
CN107920337B (en) | User-level dynamic speed regulation method, device and system | |
WO2012155627A1 (en) | Service arrearage control method, system, service center and real-time charging device | |
CN102547642B (en) | Methods for determining and controlling online charging user, and system and device for controlling online charging user | |
CN104980906A (en) | Policy and charging control method, system and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20100317 |