The sending method of short message and short messaging gateway
Technical field
The present invention relates to the communications field, especially a kind of sending control method of short message and short messaging gateway.
Background technology
Along with the development of mobile communication technology, portable communication apparatus such as mobile phone have become main communication tool, utilize mobile phone transmitting-receiving short message more to be liked by increasing people.According to incompletely statistics, by in October, 2010, short message service has then reached 7518.52 hundred million, average every month 683.50 hundred million.So the sending and receiving short messages amount of number is undoubtedly a huge commercial cake for the service provider, has vast potential for future development.
In the prior art, the maincenter equipment that the user realizes receiving and dispatching short message is short messaging gateway.Fig. 1 shows the networking structure of existing a kind of short messaging gateway, comprises short messaging gateway ISMG (Internet short message gate way), service provider SP and the short central SMS C (short message service center) that disappears.Wherein, short messaging gateway ISMG and service provider SP and the SMSC of short message service center communicate by CMPP agreement and SMPP agreement respectively.The process of receiving and dispatching short message with common user is an example, how above-mentioned networking structure is realized the transmitting-receiving of short message describes.
The user sends short messages, and has been referred to as to exhale MO (Mobile Origination) business in mobile field, is meant that the user sends to the SMSC of short message service center under it by means of meanss of communication such as mobile phones with the short message that edits.After the SMSC of short message service center receives the short message that the user sends, the short message of receiving is sent to the Short Message Service Gateway ISMG of the management SMSC of this short message service center by the SMPP agreement, Short Message Service Gateway ISMG is transmitted to corresponding business provider SP by the CMPP agreement with short message according to calling subscriber's phone number, carries out subsequent treatment by service provider SP.
The user receives note, be referred to as to exhale eventually MT (Mobile Terminated) business in mobile field, be meant provide the service provider of short-message sending business SP with short message with the CMPP agreement to coupled Short Message Service Gateway ISMG, Short Message Service Gateway ISMG sends to the sms center SMSC under called subscriber's the phone number section with the SMPP agreement according to the user's who receives short message phone number section, give the called subscriber by this sms center SMSC with short message issuing.
As from the foregoing, short messaging gateway ISMG is a maincenter of coordinating SMSC of short message service center and the SP of short message service provider, plays vital control action for the transmitting-receiving flow process of whole short message.The structure of short messaging gateway can comprise interface module, the data memory module of being made up of the variety of protocol interface of realizing storage and the core processing module that realizes short messaging gateway ISMG major function with reference to shown in Figure 2.
An important unit is the priority control unit among the short messaging gateway ISMG, the priority control unit is treated the transmission priority that sends SMS message and is set, the setting of the transmission priority by treating short-message sending can reduce the short message with higher transmission priority and send short messages to the delay that the called subscriber receives short message from the calling subscriber, realizes user's differentiated service.The control method of the short message priority in existing adopts method flow as shown in Figure 3, its main thought is by the parameter among the ISMG in the short messaging gateway module to be set the priority of the SP of different business provider is configured, when service provider SP submits to short messaging gateway ISMG with short message, the short message of its submission is handled according to the precedence information of this service provider SP in short messaging gateway.Short message successively is submitted to the SMSC of short message service center or the retry interval etc. that short message is submitted to short message service center when failure is set such as height according to priority.
Setting strategy based on the transmission priority of above-mentioned thinking short message is more single, and its business-level according to service provider SP carries out the transmission priority level initializing of short message.Such as, all can provide service provider SP1, SP2 and the SP3 of short message issuing service to send the short message issuing request to same short messaging gateway ISMG simultaneously, short messaging gateway ISMG will set the transmission priority of short message according to service provider's priority, the short message that will have high transmission priority preferentially is transmitted to the short messaging gateway of subordinate, issue thereby the short message with high priority is finished as early as possible, reduce delay.In the practical application, operator's employing usually requires the user to contract or according to the brand that the family is arranged the user is divided among the service provider SP with different priorities.Such as, the transmission priority of the short message of SP1 is higher in service provider SP1, SP2 and SP3 in a kind of existing execution mode, if then the user wishes that the short message of oneself issues as early as possible, then need the phone number of oneself signatory to service provider SP1.Perhaps operator is directly signatory with high-end user and service provider SP1, guarantees the transmission priority of the short message of high-end user.
The transmission priority of above-mentioned short message adopts single definite strategy of determining according to the identity of service provider SP, and its flexibility is not enough, still needs to improve.
Summary of the invention
The main technical problem to be solved in the present invention is that a kind of sending control method and the short messaging gateway that can take all factors into consideration the short message of calling subscriber and priority for called subscriber is provided.
For solving the problems of the technologies described above, the invention provides a kind of sending control method of short message, comprising: the transmission priority that short messaging gateway is comprehensively determined described short message to be sent according to the calling subscriber's priority and the priority for called subscriber of short message correspondence to be sent.
In a kind of execution mode, described method also comprises: short messaging gateway sends control according to the transmission priority of short message to be sent accordingly to the carrying out of described short message to be sent.
In a kind of execution mode, described User Priority is determined by following method: extract one or multinomial business information from all business information of user, and every business information will extracting multiply by the pairing weights of this business information respectively, and product is carried out addition obtain long-pending sum, described long-pending sum is described User Priority;
Described method also comprises: described short messaging gateway is accepted the status report that described short message service center returns, and send success or failure scenarios redefines the success rate that receives note in called subscriber's business information, and then redefine priority for called subscriber according to the short message of described status report reflection.
In a kind of execution mode, described business information comprises one or more in the following information: SP value-added service qualification, SP value-added service attribute, Service Brand information under the mobile subscriber, every month consumption value information of mobile subscriber, mobile subscriber's switching on and shutting down period information, up rule of mobile subscriber's note and time segment information, mobile subscriber's note success rate information, mobile subscriber's order business information, audio call number of times information, the audio call duration information, WAP access time information, WAP terminal type information, International Mobile Equipment Identity sign indicating number information, international mobile subscriber identity information.
In a kind of execution mode, the transmission priority of described short message to be sent is determined by following formula:
Send priority=(calling subscriber's priority * weight coefficient a+ priority for called subscriber * weight coefficient b) * short message service priority weighted coefficient c.
A kind of short messaging gateway, comprise interface module, core processing module and data memory module, described data memory module comprises user's rating information memory cell, is used to store the pairing User Priority of predetermined short message to be sent, and described user comprises calling subscriber and called subscriber;
Described core processing module comprises short message priority analysis unit, is used for comprehensively determining according to the pairing calling subscriber's priority of short message to be sent and priority for called subscriber the transmission priority of described short message to be sent.
In a kind of execution mode, described user's rating information memory cell is an open cell, and described open cell is meant that the User Priority of described user's rating information cell stores can call and/or call for other ext nal network element for described short messaging gateway;
The transmission priority of described short message to be sent is determined in described short message priority analysis unit according to following formula: send priority=(calling subscriber's priority * weight coefficient a+ priority for called subscriber * weight coefficient b) * short message service priority weighted coefficient c.
In a kind of execution mode, described core processing module also comprises short message priority control unit, is used for according to the transmission priority of short message to be sent described short message to be sent being sent control accordingly.
In a kind of execution mode, described interface module comprises user service information source data interface, be used for obtaining from other ext nal network element user's business information, described business information comprises one or more in the following information: the Service Brand information under the user, every month consumption value information of user, subscriber switch machine period information, up rule of user's note and time segment information, user's note success rate information, user subscribes service information, audio call number of times information, the audio call duration information, WAP access time information, WAP terminal type information, International Mobile Equipment Identity sign indicating number information, international mobile subscriber identity information; Described core processing module comprises user's hierarchical analysis unit, is used for one or the multinomial User Priority that pre-determines according to the described user's who obtains business information, and deposits the User Priority of determining in described user's rating information memory cell.
In a kind of execution mode, described core processing module also comprises the status report processing unit, be used to receive the status report of the short message service center's feedback that sends described short message to be sent, and status report is given to described user's hierarchical analysis unit, described status report has comprised the transmission success or the failure scenarios of described short message, described user's hierarchical analysis unit determines that according to described status report called subscriber's note receives success rate, and determines priority for called subscriber according to the note reception success rate that redefines.
The invention has the beneficial effects as follows: after short messaging gateway is received short message to be sent, the transmission priority of comprehensively determining short message to be sent according to the calling subscriber's priority and the priority for called subscriber of short message correspondence.In the process of above-mentioned definite transmission priority, calling subscriber's priority and priority for called subscriber have been taken all factors into consideration, the transmission priority that short messaging gateway is determined can indicate short messaging gateway to send control accordingly better, can realize user's differentiated service more perfectly.
Description of drawings
Fig. 1 is the networking structure of a kind of short messaging gateway in existing;
Fig. 2 is the structure of a kind of short messaging gateway in existing;
Fig. 3 is the control method of a kind of short message priority in existing;
Fig. 4 is the control method of the short message priority in one embodiment of the present invention;
Fig. 5 is the structure of the short messaging gateway in one embodiment of the present invention.
Embodiment
In conjunction with the accompanying drawings the present invention is described in further detail below by embodiment.
Embodiment 1:
Please refer to Fig. 3, a kind of sending control method of short message comprises the transmission priority that short messaging gateway is comprehensively determined described short message to be sent according to the calling subscriber's priority and the priority for called subscriber of short message to be sent.
Wherein, calling subscriber's priority or called subscriber's priority is determined by calling subscriber or called subscriber's business information.Business information has embodied the professional qualification of SP (as the whole network class SP, provincial SP, prefecture-level SP) and service attribute (belong to information class as short message, the amusement class, the transaction class, public good class etc.), mobile subscriber's consumer behavior attribute comprises in the following information one or several: SP value-added service qualification, SP value-added service attribute, Service Brand information under the mobile subscriber, every month consumption value information of mobile subscriber, mobile subscriber's switching on and shutting down period information, up rule of mobile subscriber's note and time segment information, mobile subscriber's note success rate information, mobile subscriber's order business information, audio call number of times information, the audio call duration information, WAP access time information, WAP terminal type information, International Mobile Equipment Identity sign indicating number information, international mobile subscriber identity information.
Determine that by business information User Priority is meant, from business information, extract one or several conducts with reference to index and distribute corresponding weights, multiply by the pairing weights of this business information respectively for every business information extracting, and product is carried out addition obtain long-pending sum, the long-pending sum that addition obtains is user's priority.A kind of definite method such as User Priority is: Service Brand class information under User Priority=user * weights d+ user is the user's short message service utilization rate information * professional utilization rate information of weights f+ user short message success rate information * weights g+ user subscribes service amount information * weights h+ user speech * weights i when consumption value information * weights e+ was busy in every month.Be understandable that the mode of choosing of above-mentioned reference index is not unique, should do dynamic adjustment as the case may be.When actual choosing, usually every month consumption value information of the Service Brand information under the user and user as a comparison selected and its weights of important index also account for relative big proportion.
Determine comprehensively that by calling subscriber's priority and priority for called subscriber a kind of mode of the transmission priority of short message to be sent can be that short messaging gateway is determined the transmission priority of short message to be sent according to following formula: send priority=(calling subscriber's priority * weight coefficient a+ priority for called subscriber * weight coefficient b) * short message service priority weighted coefficient c.Short message (point-to-point short message) priority of wherein short message service priority between individual mobile subscriber is the highest, is only the business that SP provides then.The occurrence of weight coefficient a, weight coefficient b and weight coefficient c is adjusted according to specific professional environment for use, and the value by corresponding weight coefficient is set is to adapt to the priority management of different mobile communication service environment.
Whether the above-mentioned User Priority of determining according to business information can react user's identity well, be high-end user such as the user, and User Priority is high more to be that the possibility of high-end user is high more.Calling subscriber's priority and priority for called subscriber are comprehensively determined the transmission priority of short message to be sent, then this transmission priority can be taken into account calling subscriber's identity and called subscriber's identity, thereby make short messaging gateway more perfect when sending priority and determine the transmission strategy of short message to be sent, improved the efficient that high-end user (no matter it is caller, still called) short message sends or receives.
Embodiment 2:
On the basis of embodiment 1, continue the sending control method of short message shown in the present is replenished, the content of replenishing 1 content in conjunction with the embodiments will be showed the transmission control flow of a short message to be sent in short messaging gateway.Continuation is with reference to figure 3, and a kind of sending control method of short message also comprises: after having determined the transmission priority of short message to be sent, short messaging gateway sends control according to the transmission priority of short message to be sent accordingly to sent short message.Corresponding transmission control is meant the transmission strategy of short message to be sent and the priority hook of short message, and it is high more to send priority, and it sends strategy accordingly and is set to make short message send to the user as early as possible more.The form that sends control comprises following one or several: sort to sent short message according to the height that sends priority, the short message service center of subordinate, the high more short message service center that submits to subordinate more soon of priority are submitted in the short message classification to be sent of ordering; According to the height that sends priority the retry interval of short messaging gateway after the short message service center of subordinate submits the short message failure to is set, the high more retry interval of priority is low more; To send priority and add and be handed down to short message service center in the short message to be sent in the lump, treat to send SMS message sending control accordingly by short message service center according to the height that sends priority.
Short messaging gateway according to send priority treat send SMS message send control after, write down the precedence information of this short message to be sent.Simultaneously, short messaging gateway is also accepted the status report that comprises short message transmission situation that short message service center returns, status report is meant success or the status of fail that note sends, generate status report and feed back to short messaging gateway ISMG by the SMSC of short message service center, short messaging gateway ISMG charges to note according to status report, and analyze the success rate that the called subscriber receives note by status report, revise priority for called subscriber again.
With a descending MT (Mobile Terminated exhales eventually) message the sending control method of short message is described below.Among the descending MT, be that service provider SP sends to short messaging gateway with short message to be sent, short messaging gateway is transmitted to the short message service center of subordinate with short message to be sent, gives short message issuing to be sent called by short message service center.Wherein, service provider SP is caller, and the portable terminal (such as mobile phone) that receives short message to be sent is for called.The transmission Determination of priority method of described short message comprises:
Step s1: service provider SP sends to short messaging gateway with short message to be sent, and this short message is short message to be sent;
Step s2: after short messaging gateway was received the short message that service provider SP sends, the phone number of comparison target mobile user obtained calling subscriber's priority and priority for called subscriber.Calling subscriber's priority and priority for called subscriber be in advance definite, and be stored in the short messaging gateway.Its method of determining can be with reference to embodiment 1.
Step s3: the transmission priority that calling subscriber's priority that the short messaging gateway basis is obtained and priority for called subscriber are determined short message.Sending the Determination of priority method can be with reference to embodiment 1.
Step s4: short messaging gateway sorts to all short messages to be sent according to the transmission priority of every short message correspondence to be sent, generates short message formation to be sent, and the short message service center of subordinate is submitted in classification.
Step s5: short message service center sends the short message of receiving to be sent, and to the short messaging gateway condition report feedback.
Step s6: short messaging gateway receives the status report of short message service center's feedback, and redefines and upgrade calling subscriber's priority and priority for called subscriber according to the content of state.
Embodiment 3:
On the basis of embodiment 1 and 2, please refer to Fig. 4 and Fig. 5, a kind of short messaging gateway comprises interface module, core processing module and data memory module.
Wherein, interface module comprises the interface unit that a plurality of and ext nal network element that just has of tradition communicates, the CMPP protocol communication interface unit that communicates such as the short messaging gateway with subordinate, the SMPP protocol communication interface unit that communicates with service provider SP.Also increased user service information source data interface unit in interface module of the present invention, this interface unit obtains user's miscellaneous service information and for core processing module User Priority is determined to use from other ext nal network element.Business information comprises one or more in the following information: Service Brand information, the user under the user every month consumption value information, subscriber switch machine period information, the up rule of user's note and time segment information, user's note success rate information, user subscribes service information, audio call number of times information, audio call duration information, WAP access time information, WAP terminal type information, International Mobile Equipment Identity sign indicating number information, international mobile subscriber identity information.
Data memory module is except realizing storages such as traditional existing ticket, form and message, also increased user's rating information memory cell, the user priority information that this cell stores is determined by core processing module, User Priority comprises calling subscriber's priority and priority for called subscriber.And, user's rating information memory cell also is open, the user priority information of the open user's of being meant rating information cell stores is except can calling for core processing module, can also call for the network element that is connected with short messaging gateway of outside other, call such as short message service center for subordinate.
Core processing module is to realize the module of short messaging gateway function, it has also increased a series of functional unit that is used for the transmission priority of definite short message except having traditional routing scheduling, status report processing, flow control, authentication management, forwards and parameter configuration function.
These unit comprise: user's hierarchical analysis unit, the business information that is used for the same user that obtains from other network element according to user service information source data interface unit is determined user's priority, and its mode of determining can be to determine the mode of User Priority among the embodiment 1.The user priority of having determined and store user's rating information memory cell into.
User's rating information reading unit by analyzing to sent short message, obtains the calling subscriber's priority and the priority for called subscriber of short message correspondence to be sent.
Short message priority analysis unit, comprehensively determine the transmission priority of short message to be sent according to the calling subscriber of short message to be sent and called subscriber's priority, definite mode can be: send priority=(calling subscriber's priority * weight coefficient a+ priority for called subscriber * weight coefficient b) * short message service priority weighted coefficient c.
Short message priority control unit is treated the transmission that sends SMS message according to the transmission priority of short message to be sent and is correspondingly sent control.Concrete grammar is with reference to embodiment 1.
On the basis of the above, the present invention has also expanded the status report processing unit, be used for the status report that short message service center feeds back, and status report is given to user's hierarchical analysis unit, redefine user's priority by user's hierarchical analysis unit according to the content of status report.
Above content be in conjunction with concrete execution mode to further describing that the present invention did, can not assert that concrete enforcement of the present invention is confined to these explanations.For the general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, can also make some simple deduction or replace, all should be considered as belonging to protection scope of the present invention.