Summary of the invention
Technical problem to be solved by this invention provides a kind of short message routing method and system thereof, and this network users can enjoy the value-added service that it should be enjoyed to the full when making the outer net SMS terminal call to Home Network.
In order to solve the problems of the technologies described above; The invention provides a kind of short message routing method; Relate to outer net Short Message Service Center SMSC, Home Network SMSC and Home Network attaching position register HLR; This method comprises: HLR receive by outer net SMSC at external user when this network users carries out the message in the short message service process, earlier these message are routed to Home Network SMSC, so that HLR carries out information interaction through Home Network SMSC and outer net SMSC.
Further,
The called subscriber's that HLR will receive from outer net SMSC information request message is routed to Home Network SMSC; The called subscriber's that will be obtained from HLR by Home Network SMSC information returns to outer net SMSC, and the Business Processing of adding according to the called value-added service that the called subscriber of knowing information and called subscriber offers.
Further, this method also relates to the Home Network moving exchanging center MSC; Called subscriber's information comprises called subscriber's state information and the information of the MSC under the called subscriber; This method also comprises:
Outer net SMSC sends final call request message through the MSC of Home Network SMSC under the called subscriber, and through exhaling response message the end that this MSC of Home Network SMSC reception returns.
Further,
Called subscriber's information request message is received by the short message service routing function entity SMS Router in the Home Network SMSC; And be routed to the service processor SC of Home Network SMSC; By the information request message of SC according to the called subscriber; Initiate the called subscriber's of Home Network information and obtain flow process, the called subscriber's that will obtain from HLR through SMSRouter information returns to outer net SMSC through info response message.
Further,
SC initiates the called subscriber's of Home Network information and obtains flow process through send information request message to SMS Router, carries one first sign in this message, is used for informing that the number of the SMSC that SMS Router carries in information request message is the number of outer net SMSC;
SC is after the response of successful message of receiving the information that contains the called subscriber who obtains that SMS Router sends; To in this message, write down the portable terminal Integrated Service Digital Network(ISDN) Mobile Subscriber International ISDN Number of the MSC of called subscriber ownership, called subscriber's international mobile subscriber identity IMSI is carried in the response message that returns to SMSRouter; And in this response message, carry one second sign, the MSC address under the called subscriber is replaced with the address of this SMSC in order to inform SMSRouter;
SC exhales message through sending to SMS Router eventually after receiving the final call request message that SMS Router transmits, exhale flow process the end of initiation Home Network; The Business Processing that the called subscriber's that the SC basis is known information and the called value-added service that the called subscriber offers add.
Further, HLR will be routed to Home Network SMSC from the short message transmission status report RDS message that outer net SMSC receives, get access to RDS message and preservation through Home Network SMSC.
Further, exhale eventually and carry one the 3rd sign in the message, only transmit the RDS message that outer net SMSC sends in order to inform SMS Router;
SMS Router will be routed to SC from the RDS message that HLR receives, initiate the RDS flow process of Home Network by SC according to RDS message, give HLR through SMS Router with the RDS forwards.
In order to solve the problems of the technologies described above, the invention provides a kind of short message route system, comprise Home Network SMSC and Home Network attaching position register HLR, wherein:
HLR, be used for receive by outer net SMSC at external user when this network users carries out the message of short message service process, earlier these message are routed to Home Network SMSC, to carry out information interaction through Home Network SMSC and outer net SMSC;
Home Network SMSC accomplishes the corresponding flow process of short message service of Home Network according to the message of route.
Further,
HLR is routed to Home Network SMSC with its called subscriber's who receives from outer net SMSC information request message;
Home Network SMSC accomplishes the called user information of Home Network and obtains flow process according to called subscriber's information request message, simultaneously, and the Business Processing that the called value-added service of offering according to the called subscriber of knowing information and called subscriber adds.
Further, this system also comprises the Home Network moving exchanging center MSC; Called subscriber's information comprises called subscriber's state information and the information of the MSC under the called subscriber;
Home Network SMSC also is used for the final call request message from outer net SMSC reception, and the MSC under the called subscriber transmits, and exhales response message to return to outer net SMSC the end that this MSC returns.
Further, Home Network SMSC comprises short message service routing function entity SMS Router and service processor SC, wherein:
SMS Router is used to receive called subscriber's information request message, and is routed to SC; The information request message of sending according to SC, the called subscriber's that will obtain from HLR information returns to outer net SMSC through info response message; To give SC from the final call request message route that outer net SMSC receives;
SC is used for the information request message according to the called subscriber, sends information request message to SMS Router, thereby the information of initiating the called subscriber of Home Network is obtained flow process; After the info response message of receiving the called subscriber that SMS Router returns, send info response message to SMS Router, thereby the information that finishes the called subscriber of Home Network is obtained flow process; After the final call request message of receiving SMS Router route, send to SMS Router and to exhale message eventually, thereby exhale flow process the end of initiating Home Network, the Business Processing that the called value-added service of offering according to the called subscriber of knowing information and called subscriber adds.
Further,
SC carries one first sign in the information request message of sending, be used for informing that the number of the SMSC that SMS Router carries in information request message is the number of outer net SMSC; After the response of successful message of receiving the information that contains the called subscriber who obtains that SMSRouter sends; To in this response message, write down the portable terminal Integrated Service Digital Network(ISDN) Mobile Subscriber International ISDN Number of the MSC of called subscriber ownership, called subscriber's international mobile subscriber identity IMSI is carried in the response message that returns to SMS Router; And in this response message, carry one second sign, the MSC address under the called subscriber is replaced with the address of this SMSC in order to inform SMS Router; Behind the response message of the failure of the information of receiving the called subscriber that SMS Router sends, the response message that directly will fail returns to SMS Router.
Further,
Exhale and carry one the 3rd sign in the message the said end that SC sends, and only transmits the short message transmission status report RDS message that outer net SMSC sends in order to inform SMS Router;
HLR will be routed to the SMSRouter of Home Network SMSC from the RDS message that outer net SMSC receives, get access to RDS message and will preserve through SMS Router;
SMS Router, the RDS message that HLR is sent is routed to SC; The RDS message that SC is transmitted returns to HLR;
SC is transmitted to SMS Router again with the RDS message of route, thereby initiates the RDS flow process of Home Network.
Adopt short message routing method provided by the invention and system thereof; Owing to carry out in the short message service process to this network users at external user; Can make HLR carry out information interaction through Home Network SMSC and outer net SMSC; And when net short message is exhaled Home Network eventually outside; Can make to exhale this end and handle that the called value-added service handled at the Home Network Short Message Service Center of this network users all can be accepted by the Home Network Short Message Service Center thus, thereby makes this network users can enjoy the value-added service that it should be enjoyed to the full through the Home Network Short Message Service Center.
Embodiment
A kind of short message routing method provided by the invention and system; Its inventive concept is; HLR issues in the Home Network SMSC user short message service process outer net SMSC user; All message of receiving are routed to Home Network SMSC earlier; Make HLR to carry out information interaction through Home Network SMSC and outer net SMSC, and make outer net SMSC to exhale flow process to the called subscriber's of Home Network end through Home Network SMSC initiation, Home Network SMSC just can carry out Business Processing according to the value-added service that the information of the called number that gets access to is offered called number like this.
The short message routing method of the embodiment of the invention is embodied in call flow and the status report flow process.HLR routes messages to Home Network SMSC earlier when receiving by outer net SMSC in the message of external user in this network users sends SMS message business procedure, make HLR to carry out information interaction through Home Network SMSC and outer net SMSC.
Wherein, in call flow, HLR is routed to Home Network SMSC earlier with its SRI request message of receiving from outer net SMSC and handles, and makes HLR through Home Network SMSC the state information of called number and the MSC information under the called number returned to outer net SMSC; Home Network SMSC replaces with this Short Message Service Center address with the MSC address of called number ownership in this process; Outer net SMSC sends to Home Network SMSC according to this Short Message Service Center address and exhales message eventually; Exhale flow process to the called subscriber's of Home Network end by Home Network SMSC startup; Thereby, business flow processing is carried out in the value-added service that called number is offered according to the information of the called number that gets access to.
In the status report flow process, HLR is routed to Home Network SMSC earlier earlier with its RDS message of receiving from outer net SMSC and handles, and thus, makes HLR get access to the information in the RDS message through Home Network SMSC, and returns the RDS response message by Home Network SMSC to outer net SMSC.
Be embodiment to exhale flow process and status report flow process eventually respectively below, technique scheme of the present invention is explained in more detail.
Embodiment one
Exhale flow process as shown in Figure 2 eventually; Relate to short message service routing function entity SMS Router and service processor (SC among outer net Short Message Service Center SMSC, the Home Network SMSC; Service Center), the MSC under Home Network HLR and this network users, comprise the steps:
1) outer net SMSC sends MAP_SEND-ROUTING-INFO-FOR-SM (being called for short SRI message) request message to Home Network HLR, the information of the MSC under the state information of acquisition request called number and the called number;
2) Home Network HLR connects key-course (SCCP with this SRI request message through signaling according to " calling number branch source " function (be HLR send a message to different SGWs according to the ownership place of calling number is different); Signal Connection Control Part) forwards the interface gateway (IW/GMSC of Home Network SMSC before directly to; InterWorking/Gateway MSC, promptly short message intercommunication moves and serves switching center) interior SMS Router;
3) after SMS Router receives this SRI request message, this SRI forwards is given the SC of Home Network SMSC;
4) after SC receives this SRI message, send SRI Req request message, the state information of request called number and the information of the MSC under the called number to SMS Router;
Carry a sign flag1 in this message, be the number of former SMSC (being outer net SMSC) in order to the number (Service Centre Address) of informing the SMSC that SMS Router carries in SRI message, rather than the number of this SMSC.Handle like this is in order to notify Alert_SC message from the start back of shutting down again to the mobile phone power-on that SMSC sends the called subscriber, can to send to original SMSC, rather than send to the SMSC of Home Network.
5) after SMS Router receives this request message, send MAP_SEND-ROUTING-INFO-FOR-SM message (SRI message) to HLR again, the MSC information of the state information of requesting query called number and called number ownership;
6) HLR returns to SMS Router with the SRI response message, contains the MSC information of called number state information and ownership in the message; Perhaps, (for example do not find the MSC information of called number state information and/or ownership) when unusual and return inform message having;
At this, if contain the inform message of InformSC in this response message of HLR, this inform message can be transmitted to Home Network SMSC.Therefore, new interface (Home Network internal interface) need be between SMS Router (IW/GMSC) and SC, increased in the Home Network SMSC, and the interface of original Inform can not be continued to use.
7) SMS Router returns SRI Ack response message according to this SRI response message to SC;
8) SC returns treated response message SRI ACK or directly returns SRI Ack message to SMS Router according to the SRI Ack response message that returns;
If SRI Ack is a response of successful; Then will in this message, write down the portable terminal Integrated Service Digital Network(ISDN) (MSISDN of the MSC of called number ownership; Mobile Station Integrated ServicesDigital Network) number, called subscriber's international mobile subscriber identity (IMSI; InternationalMobile Subscriber Identity) is carried among the response message SRI ACK, and carries flag bit flag2, need the MSC address of called number ownership be replaced with this SMSC address in order to expression; To distinguish message with this be that this SMSC sends, rather than the outer net Short Message Service Center sends; If SRI Ack then is left intact SRI Ack and directly returns to SMS Router for the response of failure.
9) SMS Router returns the SRI response message according to the response message of SC to outer net SMSC;
SMS Router perhaps replaces with this Short Message Service Center address according to the sign flag2 in this message with the MSC address that called number belongs to; Perhaps the response message of receiving is left intact and directly returns.
10) after outer net SMSC received this SRI response message, the MSC information of the IMSI of the called number that just obtains and called number ownership was sent final call request message MtFordReq to Home Network SMSC;
11) SMS Router receives this final call request message, is delivered to SC, delivers principle identical with SRI message (number that promptly marks Short Message Service Center is the number of former SMSC, rather than the number of this SMSC);
12) after SC receives this final call request message, send MtDataReq message and give SMS Router, thereby exhale flow process the end of initiation Home Network;
Thus, this exhales the information of the called number of flow process just to pass through the SC of Home Network SMSC eventually, so, the business flow processing that Home Network SMSC just can add according to the called value-added service that called number is offered, promptly the function of SMS Router is achieved.
Exhale eventually the address digit of the MSC that carries the called number ownership that previous SRI Ack obtains among the message MtDataReq at this; And carry flag bit flag3; Can't help the SMS Router transmission state report RDS message that initiatively sends SMS message in order to expression, and just transmit the RDS message that outer net SMSC sends.
Indicate: can't help SMS Router here and send RDS, but outer net SMSC is given in the response of the identical RDS of loopback, sends RDS message by outer net.Alert_SC then (mobile phone power-on notice) message will send to outer net SMSC, is so just initiated once more to exhale eventually by outer net SMSC.Home Network SMSC need not store the message of outer net to Home Network, after this flow process failure, directly message is abandoned.
13) SMS Router sends final call request message MtFordReq to MSC, and this final call request message can adopt the original normal SMS terminal call flow process of Home Network;
14) response message MtFordAck is exhaled in the MSC loopback eventually;
15) result who no matter exhales eventually is success or failure, and the equal process ends of SMS Router is returned Mt to SC and exhaled response message MtDataAck eventually;
Exhale this end response message to pass through internal interface and transmit, SMS Router also need be left intact various error codes through this internal interface and directly return to SC.
16) after SC receives and exhales response message MtDataAck this end, return the whole response message MtRouteAck that exhales to SMS Router;
17) SMS Router returns the whole response message MtFordAck that exhales according to this MtRouteAck message to outer net SMSC.
Thus, just accomplished and exhaled flow process whole end.Exhale Home Network called subscriber's short message to arrive Home Network SMSC eventually, accomplished at it and exhaled the processing service of also called subscriber having been carried out value-added service in the flowchart process normal end.
Embodiment two
The status report flow process is as shown in Figure 3, relates to SMS Router and the affiliated MSC of SC, Home Network HLR and this network users among outer net SMSC, the Home Network SMSC, comprises the steps:
1) outer net SMSC send SMS message transmission state report (RDS, MAP-REPORT-SM-DELIVERY-STATUS) message is given HLR;
2) HLR has given this RDS message dilivery according to caller GT branch source function the SMSRouter of Home Network SMSC;
3) after SMS Router receives this RDS message, send the SC that RDS Req message is given Home Network SMSC, carry called subscriber's relevant information (comprising called subscriber's state information etc.) in the message;
4) after SC receives this message,, initiate the RDS transmission flow of Home Network through transmit RDS Req message to SMS Router;
5) after SMS Router receives the RDS Req message of SC transmission, send RDS message to HLR again, HLR just gets access to the information of RDS through Home Network SMSC thus;
6) HLR loopback RDS response message is given SMS Router;
7) after SMS Router receives the RDS response message, to SC back response message RDS Ack;
8) after SC receives RDS Ack message, to SMS Router back response message;
9) after SMS Router receives the RDS response, give outer net SMSC loopback RDS response.
Short message route system of the present invention; Its novelty is embodied in the SMS Router part in the SGW (IW/GMSC) of Home Network SMSC; It is that enterprising row is developed on the function basis of original IW/GMSC; This system comprises the MSC under outer net SMSC, Home Network SMSC, Home Network HLR and this network users, wherein:
Outer net SMSC is used for issuing this network users short message service process at external user and carries out information interaction with Home Network HLR, and initiates exhaling Home Network called subscriber's end;
HLR, be used for receive receive by outer net SMSC at external user when this network users carries out message that the short message service process sends, route messages to Home Network SMSC earlier, so that carry out information interaction through Home Network SMSC and outer net SMSC;
Home Network SMSC is used for when receiving the message that the HLR route is come, and carries out information interaction with HLR, and the result of information interaction is sent to outer net outer net SMSC or HLR, and exhales flow process the end of initiation and end Home Network;
Home Network SMSC comprises short message service routing function entity SMS Router and service processor SC, wherein:
SMS Router, the SRI request message that is used for the HLR route is come is transmitted to SC, according to the information request message of SC, obtains the relevant information of called number from HLR, and the packets of information of obtaining is contained in the SRI response message returns to outer net SMSC through SC; When receiving the final call request message that outer net SMSC receives, through exhaling flow process the end of accomplishing Home Network; Give SC with the RDS forwards that the HLR route is come, according to the RDS request message of SC, to the RDS information of HLR transmission called number;
The information that called number is relevant comprises the state information of called number and the information of the MSC under the called number.
SC is used for after receiving the SRI request message, sends information request message to SMS Router, thereby initiates the flow process of obtaining of Home Network called subscriber relevant information; When receiving the SRI response message that SMS Router returns,, thereby finish the flow process of obtaining of Home Network called subscriber relevant information to SMS Router return information response message; When receiving RDS message, send the RDS request message to SMS Router, thereby initiate Home Network RDS flow process;
SC carries a sign flag1 in the information request message of sending to SMS Router, be the number of former SMSC (being outer net SMSC) in order to the number of informing the SMSC that SMS Router carries in SRI message, rather than the number of this SMSC.Handle like this is in order to notify Alert SC message from the start back of shutting down again to the mobile phone power-on of SMSC transmission the called subscriber, can to send to original SMSC, rather than send to the SMSC of Home Network.
SC is a response of successful according to the SRI response message; To in this message, write down the Mobile Subscriber International ISDN Number of the MSC of called number ownership, called subscriber's IMSI number is carried in the info response message of returning; And carry flag bit flag2; Need the MSC address of called number ownership be replaced with this SMSC address in order to expression, distinguishing message with this is that this SMSC sends, rather than the outer net Short Message Service Center sends; Or, then this message is left intact and directly returns to SMS Router according to of the response of SRI response message for failure.
Certainly; The present invention also can have other various embodiments; Under the situation that does not deviate from spirit of the present invention and essence thereof; Those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.