+

CN102223283A - Routing method, device and system - Google Patents

Routing method, device and system Download PDF

Info

Publication number
CN102223283A
CN102223283A CN201010145528XA CN201010145528A CN102223283A CN 102223283 A CN102223283 A CN 102223283A CN 201010145528X A CN201010145528X A CN 201010145528XA CN 201010145528 A CN201010145528 A CN 201010145528A CN 102223283 A CN102223283 A CN 102223283A
Authority
CN
China
Prior art keywords
sip
terminal
message
route
sms
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
Application number
CN201010145528XA
Other languages
Chinese (zh)
Inventor
卞永刚
张永靖
梁刚
王珏
牟伦建
黄成�
丁传锁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201010145528XA priority Critical patent/CN102223283A/en
Priority to PCT/CN2011/072526 priority patent/WO2011127799A1/en
Publication of CN102223283A publication Critical patent/CN102223283A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/16Gateway arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明公开了一种路由方法及装置,涉及通信技术领域,解决了现有技术中用户体验不好的问题。本发明实施例包括:接收SIP终端向SMS终端发起的SIP消息业务;如果通过SIP终端所在域的互连网关对所述SIP消息业务进行路由,且能够获取SIP终端的E.164号码,则将所述SIP终端的E.164号码作为发送方进行所述SIP消息业务的路由;如果通过SMS终端所在域的互连网关对所述SIP消息业务进行路由,且能够获取SIP终端的E.164号码,则将进行SIP消息业务路由的互连网关号码和SIP终端的E.164号码组合作为发送方进行所述SIP消息业务的路由。本发明实施例主要用于SIP消息业务和SMS消息业务互连的系统中。

Figure 201010145528

The invention discloses a routing method and device, relates to the technical field of communication, and solves the problem of poor user experience in the prior art. The embodiment of the present invention includes: receiving the SIP message service initiated by the SIP terminal to the SMS terminal; if the SIP message service is routed through the interconnection gateway of the domain where the SIP terminal is located, and the E.164 number of the SIP terminal can be obtained, the The E.164 number of the SIP terminal is used as the sender to route the SIP message service; if the SIP message service is routed through the interconnection gateway of the domain where the SMS terminal is located, and the E.164 number of the SIP terminal can be obtained, then The combination of the interconnection gateway number for routing the SIP message service and the E.164 number of the SIP terminal is used as the sender to route the SIP message service. The embodiment of the present invention is mainly used in a system in which the SIP message service and the SMS message service are interconnected.

Figure 201010145528

Description

Method for routing, Apparatus and system
Technical field
The present invention relates to communication technical field, relate in particular to method for routing, Apparatus and system.
Background technology
IMS (IP Multimedia Subsystem, IP Multimedia System) messaging service is based on initial session protocol (SIP, Session Initiated Protocol), can bring the user stronger function, for example set up session by SIP, and in setting up good session, send message, can shorten the transmission delay of message like this and the message relating in the session can be shown together, thereby obtain better user experience.Because SMS business (Short Messaging Service, short message service) there is not the function of session, can not utilize the session channel of prior foundation to send message, therefore based on the IMS messaging services of SIP and SMS business interconnection the time, if user's initiation session of sip message business is invited, interconnecting gateway must be done certain processing, fictionalizes a session in the SMS business, could satisfy the demand that sip message is professional and the SMS service conversation interconnects like this.
As shown in Figure 1, IMS messaging services and SMS messaging service interconnection processing mode are specific as follows: sip terminal is initiated S IP initialization (INVITE) request to the SMS terminal, invite the SMS terminal to participate in session, described SIP INVITE request was routed to interconnecting gateway before arriving the SMS terminal; Convert SMS message to by the interconnecting gateway session invitation then and mail to the SMS terminal,, the transmit leg of above-mentioned SMS message can be set as the number of interconnecting gateway for the message that makes the SMS terminal reply can be routed to same interconnecting gateway.Generally can in SMS message, session identification number be set, and session identification number can adopt the number of session invitation side usually, the number of indication session invitation side in SMS message, indicate SMS user how to reply simultaneously, for example " 13900000001 send session invitation to you; reply 1 representative and accept, and reply 2 representative refusals ".
After the SMS terminal receives the SMS message of above-mentioned invitation, can reply the session invitation of SMS message acceptance, and the SMS message receiver of replying is that the number of interconnecting gateway adds session identification number, therefore the SMS message of replying is routed to interconnecting gateway, again by interconnecting gateway according to SMS Message Processing session status.If the SMS terminal replys 1, then interconnecting gateway is replied SIP 200OK and is given sip terminal; At this moment sip terminal can send conversation message to the SMS terminal, and the SMS terminal also can send conversation message to sip terminal.
As shown in Figure 1, at sip terminal when the SMS terminal sends conversation message, sip terminal sends message by MSRP (message session trunk protocol) earlier in session, and becoming SMS message to send to the SMS terminal MSRP message conversion by interconnecting gateway, the SMS message sender of the transmit leg of SMS message and session invitation is identical; When sip terminal sent conversation message, the SMS message that the SMS terminal sends was routed to interconnecting gateway earlier, becomes MSRP message to send to sip terminal the SMS message conversion by interconnecting gateway in the SMS terminal.
State in realization in the process of IMS messaging services and SMS messaging service interconnection, the inventor finds that there are the following problems at least in the prior art: mailing to the transmit leg that is provided with in the message of SMS terminal at sip terminal is the number of interconnecting gateway, real message sender can only be indicated by user oneself in the SMS message content, can not in this hurdle information of transmit leg, show automatically, can influence SMS user's experience.If the number of interconnecting gateway is not the SMS users to trust, SMS user just may refuse to invite, and if SMS user adopted the black and white lists setting, then this SMS message may be filtered.
Summary of the invention
Embodiments of the invention provide a kind of method for routing, Apparatus and system, so as sip terminal when mailing to the SMS terminal message recipient can learn the information of transmit leg.
For achieving the above object, embodiments of the invention adopt following technical scheme:
A kind of method for routing comprises:
Receive the sip message business that the initial session protocol sip terminal is initiated, described sip message business mail to the short message service SMS terminal;
If the interconnecting gateway by territory, sip terminal place carries out route to described sip message business, and can obtain the E.164 number of sip terminal, then the E.164 number with described sip terminal carries out route as transmit leg to described sip message business;
If the interconnecting gateway by territory, SMS terminal place carries out route to described sip message business, and can obtain the E.164 number of sip terminal, then will carry out the interconnecting gateway number of the professional route of sip message and the E.164 number combination of sip terminal and described sip message business be carried out route as transmit leg.
A kind of route device comprises:
Receiving element is used to receive the sip message business that sip terminal is initiated, described sip message business mail to the short message service SMS terminal;
Control unit, be used for described sip message business being carried out route at interconnecting gateway by territory, sip terminal place, and in the time of can obtaining the E.164 number of sip terminal, the E.164 number of described sip terminal is carried out route as transmit leg to described sip message business;
Described control unit also is used at the interconnecting gateway by territory, SMS terminal place described sip message business being carried out route, and in the time of can obtaining the E.164 number of sip terminal, will carry out the interconnecting gateway number of the professional route of sip message and the E.164 number combination of sip terminal and described sip message business be carried out route as transmit leg.
A kind of route system comprises:
Sip terminal, the sip message business that is used to initiate;
Route device is used to receive sip terminal sip message business; At interconnecting gateway described sip message business is carried out route, and can obtain the E.164 number of sip terminal the time, the E.164 number of described sip terminal is carried out route as transmit leg to described sip message business by territory, sip terminal place; At interconnecting gateway described sip message business is carried out route by territory, SMS terminal place, and in the time of can obtaining the E.164 number of sip terminal, will carry out the interconnecting gateway number of the professional route of sip message and the E.164 number combination of sip terminal and described sip message business be carried out route as transmit leg;
The SMS terminal is used to receive the described sip message business by described route device route.
The method for routing that the embodiment of the invention provides, Apparatus and system, no matter the interconnecting gateway by territory, sip terminal place still carries out route by the interconnecting gateway in territory, SMS terminal place, as long as can get access to the E.164 number of sip terminal, E.164 the number that all need in message sender, add sip terminal, to guarantee that message that the SMS terminal is received comprises the E.164 number of sip terminal in sender display, can improve the user experience of SMS terminal.And, so, the user just can know whom message sender is as long as understanding the E.164 number of sip terminal, and then can avoid not refusing to invite because the user of SMS terminal does not understand the interconnecting gateway number, can be because of not understanding the interconnecting gateway number the SMS message screening yet, the recipient can learn the information of transmit leg when being equivalent to sip terminal and mailing to the SMS terminal message.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the flow chart of IMS service message and SMS service message interconnection in the prior art;
Fig. 2 is the flow chart of embodiment of the invention method for routing;
Fig. 3 is the block diagram of embodiment of the invention route device;
Fig. 4 is the flow chart of IMS service message and SMS service message interconnection in the embodiment of the invention 1;
Fig. 5 is the flow chart of interconnecting gateway treatment S IP operation message in the embodiment of the invention 1;
Fig. 6 is the flow chart of interconnecting gateway treatment S MS service message in the embodiment of the invention 1;
Fig. 7 is the flow chart of IMS service message and SMS service message interconnection in the embodiment of the invention 2;
Fig. 8 is the flow chart of interconnecting gateway treatment S IP operation message in the embodiment of the invention 2.
Embodiment
The embodiment of the invention provides a kind of method for routing, by interconnecting gateway the messaging service that receives is carried out route and handles, and makes the SMS terminal can understand real message originator, and as shown in Figure 2, this method comprises:
201, between sip terminal and SMS terminal, carry out message communicating in, sip terminal can be to the sip message business of initiating to initiate to the SMS terminal, interconnecting gateway need receive above-mentioned sip message business.
Generally speaking, all be provided with interconnecting gateway in territory, sip terminal place and the territory, SMS terminal place, the processing mode that different interconnecting gateways receive after this sip message business is incomplete same, and specifically face is described in detail as follows.
If 202 interconnecting gateways that receive described sip message business are the interconnecting gateway in territory, sip terminal place, represent so described sip message business to be carried out route by the interconnecting gateway in territory, sip terminal place, if can obtain the E.164 number of sip terminal in such cases, then the E.164 number of described sip terminal is carried out the route of described sip message business as transmit leg.
If 203 interconnecting gateways that receive described sip message business are the interconnecting gateway in territory, SMS terminal place, represent so described sip message business to be carried out route by the interconnecting gateway in territory, SMS terminal place, if can obtain the E.164 number of sip terminal in such cases, the E.164 number combination that then will carry out the interconnecting gateway number of the professional route of sip message and sip terminal is carried out the route of described sip message business as transmit leg.The interconnecting gateway number that carries out the professional route of sip message in this process is the interconnecting gateway number in territory, SMS terminal place.
The embodiment of the invention also provides a kind of route device, and as shown in Figure 3, this device comprises receiving element 31 and control unit 32.
Wherein, receiving element 31 is used to receive the sip message business that sip terminal is initiated to the SMS terminal; Control unit 32 is used at the interconnecting gateway by territory, sip terminal place described sip message business being carried out route, and in the time of can obtaining the E.164 number of sip terminal, the E.164 number of described sip terminal is carried out the route of described sip message business as transmit leg; Described control unit 32 also is used at the interconnecting gateway by territory, SMS terminal place described sip message business being carried out route, and in the time of can obtaining the E.164 number of sip terminal, the E.164 number combination that will carry out the interconnecting gateway number of the professional route of sip message and sip terminal is carried out the route of described sip message business as transmit leg.
Sip message business described in the embodiment of the invention can be for: SIP initialization request or based on the IMS messaging services of SIP.
Further, control unit 32 in the embodiment of the invention also is used in the time can not obtaining the E.164 number of sip terminal, will carry out the interconnecting gateway number of the professional route of sip message and described sip message business is carried out in the session identification number combination as transmit leg route.So that when can not get E.164 number, message can be carried out correct route, and owing to comprise the interconnecting gateway number among the initiator, the message that guarantees the message receiver answer can be handled by same interconnecting gateway, has guaranteed that the session of sip terminal initiation can be carried out association in same interconnecting gateway.
Further, the control unit 32 in the embodiment of the invention also is used for when described sip terminal request is anonymous, will carry out the interconnecting gateway number of the professional route of sip message and described sip message business is carried out in the session identification number combination as transmit leg route.So that when sending anonymous message, carry out correct route, and owing to comprise the interconnecting gateway number among the initiator, the message that guarantees the message receiver answer can be handled by same interconnecting gateway, has demonstrate,proved the session of sip terminal initiation and can carry out association in same interconnecting gateway.
In order to guarantee that the recipient can learn the message sender identity more accurately, the route device in the embodiment of the invention also comprises: acquiring unit 33, adding device 34.
Described acquiring unit 33 is used for when described sender number comprises interconnecting gateway number and described sip terminal and do not ask anonymity, according to the transmit leg sip address or E.164 number from recipient's network address book or in the From header field of SIP initialization request, obtain the transmit leg title; Adding device 34 is used for adding the transmit leg title that gets access in the message that is sent.
Thus, just can comprise the transmit leg title in the message that the recipient receives, and record is consistent in this title and the recipient's network address book or in the From header field of SIP initialization request, be the title that recipient user is familiar with, can be so that the recipient can learn the message sender identity more accurately.
The embodiment of the invention also provides a kind of route system, comprises sip terminal, route device and SMS terminal shown in Figure 3.Sip terminal wherein, the sip message business that is used to initiate.Route device is used to receive sip terminal sip message business; At interconnecting gateway described S IP message business is carried out route, and can obtain the E.164 number of sip terminal the time, the E.164 number of described sip terminal is carried out route as transmit leg to described sip message business by territory, sip terminal place; At interconnecting gateway described sip message business is carried out route by territory, SMS terminal place, and in the time of can obtaining the E.164 number of sip terminal, will carry out the interconnecting gateway number of the professional route of sip message and the E.164 number combination of sip terminal and described sip message business be carried out route as transmit leg.The SMS terminal is used to receive the described sip message business by described route device route.
Route device in the embodiment of the invention in the route system also is used for when E.164 number that can not obtain sip terminal or described sip terminal request anonymity, will carry out the interconnecting gateway number and the session identification number combination of the professional route of sip message and as transmit leg described sip message business be carried out route.
For the ease of understanding the implementation of scheme provided by the present invention, below in conjunction with the accompanying drawing in the embodiment of the invention, technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
Embodiment 1:
The utilization scene of the embodiment of the invention is seen Fig. 4, and the terminal that IMS user A uses is sip terminal, and the terminal that SMS user B uses is the SMS terminal, terminal A sends session invitation to terminal B, and after accepting the invitation, terminal B carries out message communicating, as shown in Figure 4, and specifically the comprising of the embodiment of the invention:
401, IMS user A sends SIP INVITE request by sip terminal to SMS user B, the MSRP session is set up in request, this SIP INVITE request is when the S-CSCF (serving session control entity) that belongs to through user A, S-CSCF judges user B can not pass through IMS territory route, so SIP INVITE request is routed to the interconnecting gateway IP_SM_GW A in the affiliated territory of user A.
And SIP INVITE request adds the E.164 number of user A at the P-Asserted-Identity header field through the ownership S-CSCF of A the time, in the present embodiment supposition this E.164 number be: 13900000001.
402, interconnecting gateway IP_SM_GW A asks to handle to SIP INVITE according to predetermined flow process, convert SIP INVITE request to SMS message, because request is not anonymous for user A in the embodiment of the invention, and can get access to the E.164 number of user A, so the embodiment of the invention is made as the transmit leg of SMS message the E.164 number 13900000001 of user A.
Concrete interconnecting gateway IP_SM_GW A sees various SIP INVITE processing of request mode and detailed description among Fig. 5 is not described in detail herein.
403, IP_SM_GW A sends MO_SUBMIT to the SC A of short message service center in territory, user A place, in MO_SUBMIT, carry the SMS message content after the conversion, and be used in the note trunk protocol of carrying MO_SUBMIT to represent that the RP_OA field of the transmit leg of SMS message is set as the E.164 number 13900000001 of user A.
404, after described SC A receives MO_SUBMIT, will carry the mobile switching centre (MSC, Mobile Switching Center) that the SMS message content sends to the described territory of user B, be called for short MSC B by MT_DELIVER.
405, MSC B will show the E.164 number 13900000001 of SMS message sender for user A with the SMS terminal that described MT_DELIVER is routed to user B on the SMS terminal of user B.
If the session invitation of user A is accepted in 406 user B decision, can reply according to the invitation note of receiving, suppose that the invitation note of receiving is: please participate in session, reply 1 representative and accept, reply 2 representative refusals.User B can reply 1 expression and accepts the invitation so, and the answer SMS message content of user B can only comprise 1, and the SMS messaging of replying is carried on and is routed to MSC B among the MO_SUBMIT then.
407, the MSC B MO_SUBMIT that will carry the SMS messaging that user B replys sends to the SC B of short message service center of user B.
408, SC B issues SMS message to the note recipient with MT_DELIVER, and this MT_DELIVER is routed to IP_SM_GW A.
409, the SMS messaging received by the flow processing that configures of IP_SM_GW A, IP_SM_GW A can draw user B invitations that accepts session by judging, therefore returns SIP 200OK to the sip terminal of user A and responds, and sets up the MSRP session; At this moment user A and user B can utilize the session of foundation to come pass-along message.
The processing mode that concrete interconnecting gateway IP_SM_GW A replys the difference of user B is seen the detailed description among Fig. 6, is not described in detail herein.
410, user A sends message by the MSRP session of setting up to user B, and message is routed to IP_SM_GW A by session channel.
411, IP_SM_GW A is after setting up session, can create corresponding session information mapping table, so that carry out the message route when IMS message and the interconnection of SMS message session, exist the mapping relations table of SIP session information and SMS virtual session information as shown in the table at interconnecting gateway IP_SM_GW A.
Figure GSA00000061968200081
By the mapping relations table above this, interconnecting gateway IP_SM_GW A can associate the message and the IMS territory conversation message of SMS territory virtual session.
In this process, IP_SM_GW A will become the SMS information and sending to give the SMS terminal of user B by the message conversion that the MSRP session receives, and in the SMS message in the present embodiment after conversion transmit leg will be set as the E.164 number 13900000001 of user A.
The detailed description that concrete setting SMS message sender process is seen Fig. 5.
412, user B replys SMS message to user A, and the SMS message of answer is routed to IP_SM_GW A.
413, there is session in IP_SM_GW A judgement, and the SMS message that IP_SM_GW A receives by the flow processing that configures becomes MSRP message to send to the sip terminal of user A the SMS message conversion that receives.
The message process mode that concrete interconnecting gateway IP_SM_GW A replys user B is seen the detailed description among Fig. 6, is not described in detail herein.
In order to understand the handling process of interconnecting gateway IP_SM_GW A better, below to the idiographic flow of interconnecting gateway IP_SM_GW A treatment S IP operation message in 403 and 411, wherein the SIP service message comprises the SIP initialization request or based on the IMS messaging services of SIP.As shown in Figure 5, this flow process comprises:
501, interconnecting gateway IP_SM_GW A receives SIP INVITE request or receives user A and sends message by the MSRP session to user B, carry out the processing of SIP session, when result needs further when SMS user sends the session invitation message of SMS form, earlier judge whether user A asks anonymity, if user A asks anonymous, carry out 502; If user A does not ask anonymity, then carry out 503.
502, the SMS message sender is made as number and the session identification number of interconnecting gateway IP_SM_GW A, and carries out 505.Described session identification number can by interconnecting gateway IP_SM_GW A at random or according to certain algorithm generate, can be in this interconnecting gateway the decimal number of the SIP session initiated to user B of unique identification user A, shape is not limit as E.164 number and length, such as 987654321.
If the SIP service message of above-mentioned processing is SIP INVITE request, this process can also increase record simultaneously in the session information mapping table, wherein the SMS source address is the number of IP_SM_GW A and the combination of session identification number, and the SMS destination address is the E.164 number of user B.
503, can judgement obtain the E.164 number of user A, if can not obtain the E.164 number of user A, then carries out 506; If can obtain the E.164 number of user A, then obtain the E.164 number of user A, and carry out 504.
Above-mentionedly obtain specifically can in the P-Asserted-Identity header field of SIP INVITE request, searching of number E.164, also can pass through home subscriber server (HSS, Home Subscriber Server) and search.
504, the transmit leg of SMS message is made as the E.164 number of the user A that is obtained.If the SIP service message of above-mentioned processing is SIP INVITE request, this process increases record simultaneously in the session information mapping table, and wherein the SMS source address is the E.164 number of the user A that obtained, and the SMS destination address is the E.164 number of user B.
505, the SIP service message is converted to the message of SMS form, and carry out 508.If this process SIP service message then can be changed the invitation message that draws the SMS form at last for SIP INVITE request, for example: for example " please participate in session, agree to reply 1, disagree with and reply 2 ".
506, the SMS message sender is made as number and the session identification number of interconnecting gateway IP_SM_GW A, and carries out 507.Described session identification number can by interconnecting gateway IP_SM_GW A at random or according to certain algorithm generate, can be in this interconnecting gateway the decimal number of the SIP session initiated to user B of unique identification user A, and length do not limit, such as 987654321.
If the SIP service message of above-mentioned processing is SIP INVITE request, this process increases record simultaneously in the session information mapping table, wherein the SMS source address is the number of IP_SM_GW A and the combination of session identification number, and the SMS destination address is the E.164 number of user B.
507, the SIP service message is converted to the message of SMS form, and carry out 508.If this process SIP service message is SIP INVITE request, then SIP INVITE request can be converted to the request of messaging format, the SIP URI and the title that wherein comprise the initiator are described, respectively from P-Asserted-Identity and From header field, for example " SIP:zhangsan@example.com (Zhang San) woulds you please participate in session; agree to reply 1, disagree with and reply 2 ".
Transmit leg title in the embodiment of the invention can be come to recipient's network address book or the From header field of SIP initialization request, and the title here is that recipient user is familiar with, identity that can clear and definite message sender.
508, send the message of SMS form, and wait for the answer of user B.
Below interconnecting gateway IP_SM_GW A process user B in 409 and 413 is replied the idiographic flow of message, as shown in Figure 6, this flow process comprises:
601, interconnecting gateway IP_SM_GW A is after receiving SMS message, SMS source address in the session information mapping table and SMS destination address judge whether to exist and the session of this SMS message relating by searching, if the session of existence and this SMS message relating then carries out 604; If there is no, then carry out 602 with the session of this SMS message relating.
602, whether the recipient who judges this SMS message is interconnecting gateway self, if the previous section of note recipient number is the number of interconnecting gateway IP_SM_GW A, then the recipient is an interconnecting gateway self, carries out 610; If the recipient is not an interconnecting gateway self, then carry out 603.
603, by non-session interconnection mode treatment S MS message, send to the recipient after the SMS message conversion become the non-conversation message of IMS, flow process finishes.
604, whether the content of judging described SMS message is the instruction of control session status, if the content of SMS message then carries out 605 for the instruction of control session status; Otherwise carry out 607.
605, press commands for controlling session status in the SMS message, for example set up session, interrupt session.
606, send the change that sip message shows session status to the sip terminal of user A, show the change of session status to SMS terminal answer short message, flow process finishes.
607, judge whether session has set up state,, then carry out 608 if session is not also set up; If session is set up, then carry out 609.
608, to SMS terminal answer short message, illustrate that session do not set up, need set up session earlier by control command; Flow process finishes.
609, convert note to conversation message and send to sip terminal, flow process finishes.
610, to SMS terminal answer short message, illustrate that session does not exist, flow process finishes.
After session was set up, when interconnecting gateway converted the SIP conversation message to note, the transmit leg of note was set according to the SMS source address of the SMS territory virtual session in the session information mapping table.If according to strategy decision invitations that accepts session, just being equivalent to reply according to the invitation that accepts session that interconnecting gateway has received short-message users, interconnecting gateway handles session status.
Method for routing that the embodiment of the invention provides and device, when the interconnecting gateway by territory, sip terminal place carries out route, in order to guarantee recipient's user experience as far as possible, as long as present embodiment can get access to the E.164 number and the transmit leg of sip terminal and not ask anonymity, it is the E.164 number of sip terminal that message sender just is set; Guarantee that as much as possible message sender that the SMS terminal is received is shown as the E.164 number of sip terminal, can improve the user experience of SMS terminal.And, so, the user just can know whom message sender is as long as understanding the E.164 number of sip terminal, and then can avoid not refusing to invite because the user of SMS terminal does not understand the interconnecting gateway number, can be because of not understanding the interconnecting gateway number the SMS message screening yet.
The embodiment of the invention when the interconnecting gateway by territory, sip terminal place carries out route only with the E.164 number of sip terminal as transmit leg, this is when arriving sip terminal place network domains because of the message that the SMS terminal is replied, the relevant border server can know that the recipient of this answer message is a sip terminal, therefore this answer message can be automatically routed to the interconnecting gateway in territory, sip terminal place, make that mutual message sends and can both carry out route by same interconnecting gateway between sip terminal and the SMS terminal, guaranteed that the session of sip terminal initiation can be carried out association in same interconnecting gateway.
Embodiment 2:
The utilization scene of the embodiment of the invention is seen Fig. 7, and the terminal that IMS user A uses is sip terminal, and the terminal that SMS user B uses is the SMS terminal, terminal A sends session invitation to terminal B, and after accepting the invitation, terminal B carries out message communicating, as shown in Figure 7, and specifically the comprising of the embodiment of the invention:
701, IMS user A sends SIP INVITE request by sip terminal to SMS user B, the MSRP session is set up in request, this SIP INVITE request is when the S-CSCF (serving session control entity) that belongs to through user A, S-CSCF judges not registration of user B, need interconnect, so SIP INVITE request is routed to the interconnecting gateway IP_SM_GW B in the affiliated territory of user B.
And SIP INVITE request adds the E.164 number of user A at the P-Asserted-Identity header field through the ownership S-CSCF of A the time, in the present embodiment supposition this E.164 number be: 13900000001.
702, interconnecting gateway IP_SM_GW B is by looking for predetermined flow process that SIP INVITE is asked to handle, convert SIP INVITE request to SMS message, because request is not anonymous for user A in the embodiment of the invention, and can get access to the E.164 number of user A, so the embodiment of the invention is made as the combination of the E.164 number 13900000001 of the number (that is: the note routing number 10086001) of IP_SM_GW B and user A with the transmit leg of SMS message, promptly 1008600113900000001.
Concrete interconnecting gateway IP_SM_GW B sees various SIP INVITE processing of request mode and detailed description among Fig. 8 is not described in detail herein.
703, IP_SM_GW B is called for short MSC B by MT_DELIVER carrying SMS message content and send to the mobile switching centre (MSC, Mobile Switching Center) in the described territory of user B.The TP_OA field that is used to represent the transmit leg of SMS message among the MT_DELIVER is set as 1008600113900000001, the title " Zhang San " that has comprised simultaneously number 13900000001 and the user B of user A in the short message content, wherein the network address book of the number searching user B that the title of user B can be by user A obtains.
704, MSC B is routed to described MT_DELIVER the SMS terminal of user B.
If the session invitation of user A is accepted in 705 user B decision, can reply according to the invitation note of receiving, suppose that the invitation note of receiving is: 13900000001 (Zhang San) send session invitation to you, reply 1 representative and accept, and reply 2 representative refusals.User B can reply 1 expression and accepts the invitation so, and the answer SMS message content of user B can only comprise 1, and the SMS messaging of replying is carried on and is routed to MSC B among the MO_SUBMIT then.
706, the MSC B MO_SUBMIT that will carry the SMS messaging that user B replys sends to the SC B of short message service center of user B.
707, owing to comprise the number of IP_SM_GW B in the message sender in the received SMS message of user B, so SC B issues SMS message to the note recipient with MT_DELIVER, this MT_DELIVER can be routed to IP_SM_GW B.
708, the SMS messaging received by the flow processing that configures of IP_SM_GW B, IP_SM_GW B can draw user B invitations that accepts session by judging, therefore returns SIP 200OK to the S of user A IP terminal and responds, and sets up the MSRP session; At this moment user A and user B can utilize the session of foundation to come pass-along message.
Concrete interconnecting gateway IP_SM_GW B repeats no more the detailed description among Fig. 6 above the processing mode of the difference answer of user B herein.
709, user A sends message by the MSRP session of setting up to user B, and message is routed to IP_SM_GW B by session channel.
710, IP_SM_GW B is after setting up session, can create corresponding session information mapping table, so that carry out the message route when IMS message and the interconnection of SMS message session, exist the mapping relations table of SIP session information and SMS virtual session information as shown in the table at interconnecting gateway IP_SM_GW B.
By the mapping relations table above this, interconnecting gateway IP_SM_GW B can associate the message and the IMS territory conversation message of SMS territory virtual session.
In this process, IP_SM_GW B will become the SMS information and sending to give the SMS terminal of user B by the message conversion that the MSRP session receives, and in the SMS message in the present embodiment after conversion transmit leg will be set as the number of IP_SM_GW B and the E.164 number 13900000001 of user A.
The detailed description that concrete setting SMS message sender process is seen Fig. 8.
711, user B replys SMS message to user A, because transmit leg has comprised the number of IP_SM_GW B in the SMS message that user B receives, so the SMS message of replying can be routed to IP_SM_GW B.
712, there is session in IP_SM_GW B judgement, and the SMS message that IP_SM_GW B receives by the flow processing that configures becomes MSRP message to send to the sip terminal of user A the SMS message conversion that receives.
The message process mode that concrete interconnecting gateway IP_SM_GW B replys user B is seen the description of top Fig. 6, repeats no more herein.
In order to understand the handling process of interconnecting gateway IP_SM_GW B better, below to the idiographic flow of interconnecting gateway IP_SM_GW B treatment S IP operation message in 702 and 710, wherein the SIP service message comprises S IP initialization request or based on the IMS messaging services of SIP.As shown in Figure 8, this flow process comprises:
801, interconnecting gateway IP_SM_GW B receives SIP INVITE request or receives user A and sends message by the MSRP session to user B, carry out the processing of SIP session, when result needs further when SMS user sends the session invitation message of SMS form, earlier judge whether user A asks anonymity, if user A asks anonymous, carry out 806; If user A does not ask anonymity, then carry out 802.
802, can judgement obtain the E.164 number of user A, if can not obtain the E.164 number of user A, then carries out 804; If can obtain the E.164 number of user A, then obtain the E.164 number of user A, and carry out 803.
Above-mentionedly obtain specifically can in the P-Asserted-Identity header field of SIP INVI TE request, searching of number E.164, also can pass through home subscriber server (HSS, Home Subscriber Server) and search.
803, the SMS message sender is made as the number (being the note routing number) of interconnecting gateway IP_SM_GW B and the E.164 number of the above-mentioned user A that gets access to, and carries out 805.
If the SIP service message of above-mentioned processing is SIP INVITE request, this process can also increase record simultaneously in the session information mapping table, wherein the SMS source address is the combination of the E.164 number of the number of IP_SM_GW B and user A, and the SMS destination address is the E.164 number of user B.
804, the SMS message sender is made as number (being the note routing number) and the session identification number of interconnecting gateway IP_SM_GW B, and carries out 805.Described session identification number can by interconnecting gateway IP_SM_GW B at random or according to certain algorithm generate, can be in this interconnecting gateway the decimal number of the SIP session initiated to user B of unique identification user A, and length do not limit, such as 987654321.
If the SIP service message of above-mentioned processing is SIP INVITE request, this process increases record simultaneously in the session information mapping table, wherein the SMS source address is the number of IP_SM_GW B and the combination of session identification number, and the SMS destination address is the E.164 number of user B.
805, the SIP service message is converted to the message of SMS form, and carry out 808.If this process SIP service message is SIP INVITE request, then SIP INVITE request can be converted to the request of messaging format, the SIP URI and the title that wherein comprise the initiator are described, respectively from P-Asserted-Identity and From header field, for example " SIP:zhangsan@example.com (Zhang San) woulds you please participate in session; agree to reply 1; disagree with and reply 2 ", sponsor party name also can obtain by the network address book of searching the recipient, if search less than, the value setting of pressing the From header field again.
806, the SMS message sender is made as number and the session identification number of interconnecting gateway IP_SM_GW B, and carries out 807.Described session identification number can by interconnecting gateway IP_SM_GW B at random or according to certain algorithm generate, can be in this interconnecting gateway the decimal number of the SIP session initiated to user B of unique identification user A, and length do not limit, such as 987654321.
If the SIP service message of above-mentioned processing is the SIPINVITE request, this process increases record simultaneously in the session information mapping table, and wherein the SMS source address is the number of IP_SM_GW B and the combination of session identification number, and the SMS destination address is the E.164 number of user B.
807, the SIP service message is converted to the message of SMS form, and carry out 808.If this process SIP service message is SIP INVITE request, SIP INVITE request can be converted to the request of SMS message format, for example " please participate in session, agree to reply 1, disagree with and reply 2 ".
808, send the message of SMS form, and wait for the answer of user B.
Interconnecting gateway by territory, SMS terminal place carries out route, the transmit leg of message must be made as the routing number of interconnecting gateway; In order to improve recipient's user experience, the embodiment of the invention is not also asked under the anonymous situation at E.164 number that gets access to sip terminal and transmit leg as much as possible, in message sender, add the E.164 number of sip terminal or in the message content that sends, increase the E.164 number of sip terminal, to improve the user experience of SMS terminal.So just can know whom message sender is, and then can avoid not refusing to invite because the user of SMS terminal does not understand the interconnecting gateway number as long as the user understands the E.164 number of sip terminal.
The embodiment of the invention will be carried out the E.164 number combination of the interconnecting gateway number of the professional route of sip message and sip terminal as transmit leg when the interconnecting gateway by territory, SMS terminal place carries out route, and the interconnecting gateway number that carries out the professional route of sip message here is exactly the interconnecting gateway number in territory, SMS terminal place.This is because when carrying out route by the interconnecting gateway by territory, SMS terminal place in the prior art, if only the E.164 number with sip user is made as transmit leg, the SMS terminal reply this E.164 the message of number can arrive sip terminal place network domains, the relevant border server can know that certainly the recipient of this answer message is a sip terminal, and this answer message can be automatically routed to the interconnecting gateway in territory, sip terminal place.Thus, mutual message sends and does not carry out route by same interconnecting gateway between sip terminal and the SMS terminal, and the session that makes sip terminal initiate can not be carried out association in same interconnecting gateway.Adopt after the embodiment of the invention, because the interconnecting gateway number in territory, SMS terminal place is also as transmit leg, the message that the SMS terminal is replied just can be automatically routed to the interconnecting gateway in territory, SMS terminal place, make that mutual message sends and can both carry out route by same interconnecting gateway between sip terminal and the SMS terminal, guaranteed that the session of sip terminal initiation can be carried out association in same interconnecting gateway.
The embodiment of the invention is mainly used in the system that sip message is professional and the SMS messaging service interconnects.
Through the above description of the embodiments, the those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential common hardware, can certainly pass through hardware, but the former is better execution mode under a lot of situation.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium that can read, floppy disk as computer, hard disk or CD etc., comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
The above; only be the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion by described protection range with claim.

Claims (10)

1. a method for routing is characterized in that, comprising:
Receive the sip message business that the initial session protocol sip terminal is initiated, described sip message business mail to the short message service SMS terminal;
If the interconnecting gateway by territory, sip terminal place carries out route to described sip message business, and can obtain the E.164 number of sip terminal, then the E.164 number with described sip terminal carries out route as transmit leg to described S IP message business;
If the interconnecting gateway by territory, SMS terminal place carries out route to described sip message business, and can obtain the E.164 number of sip terminal, then will carry out the interconnecting gateway number of the professional route of sip message and the E.164 number combination of sip terminal and described sip message business be carried out route as transmit leg.
2. method for routing according to claim 1 is characterized in that, described method also comprises:
If can not obtain the E.164 number or the described sip terminal request anonymity of sip terminal, then will carry out the interconnecting gateway number and the session identification number combination of the professional route of sip message and described sip message business be carried out route as transmit leg.
3. method for routing according to claim 1 and 2 is characterized in that, described sip message business is: SIP initialization request or based on the IP Multimedia System IMS messaging services of SIP.
4. method for routing according to claim 3 is characterized in that, described method also comprises:
Do not ask anonymity if comprise interconnecting gateway number and described sip terminal in the described sender number, according to the transmit leg sip address or E.164 number from recipient's network address book or in the From header field of SIP initialization request, obtain the transmit leg title;
In the message that is sent, add the transmit leg title that gets access to.
5. a route device is characterized in that, comprising:
Receiving element is used to receive the sip message business that sip terminal is initiated, described sip message business mail to the short message service SMS terminal;
Control unit, be used for described sip message business being carried out route at interconnecting gateway by territory, sip terminal place, and in the time of can obtaining the E.164 number of sip terminal, the E.164 number of described sip terminal is carried out route as transmit leg to described sip message business;
Described control unit also is used at the interconnecting gateway by territory, SMS terminal place described sip message business being carried out route, and in the time of can obtaining the E.164 number of sip terminal, will carry out the interconnecting gateway number of the professional route of sip message and the E.164 number combination of sip terminal and described sip message business be carried out route as transmit leg.
6. route device according to claim 5, it is characterized in that, described control unit also is used for when E.164 number that can not obtain sip terminal or described sip terminal request anonymity, will carry out the interconnecting gateway number and the session identification number combination of the professional route of sip message and as transmit leg described sip message business be carried out route.
7. according to claim 5 or 6 described route devices, it is characterized in that described sip message business is: SIP initialization request or based on the IMS messaging services of SIP.
8. route device according to claim 7 is characterized in that, described device also comprises:
Acquiring unit, be used for when described sender number comprises interconnecting gateway number and described sip terminal and do not ask anonymity, according to the transmit leg sip address or E.164 number from recipient's network address book or in the From header field of SIP initialization request, obtain the transmit leg title;
Adding device is used for adding the transmit leg title that gets access in the message that is sent.
9. a route system is characterized in that, comprising:
Sip terminal, the sip message business that is used to initiate;
Route device is used to receive sip terminal sip message business; At interconnecting gateway described sip message business is carried out route, and can obtain the E.164 number of sip terminal the time, the E.164 number of described sip terminal is carried out route as transmit leg to described sip message business by territory, sip terminal place; At interconnecting gateway described sip message business is carried out route by territory, SMS terminal place, and in the time of can obtaining the E.164 number of sip terminal, will carry out the interconnecting gateway number of the professional route of sip message and the E.164 number combination of sip terminal and described sip message business be carried out route as transmit leg;
The SMS terminal is used to receive the described sip message business by described route device route.
10. route system according to claim 9, it is characterized in that, described route device also is used for when E.164 number that can not obtain sip terminal or described sip terminal request anonymity, will carry out the interconnecting gateway number and the session identification number combination of the professional route of sip message and as transmit leg described sip message business be carried out route.
CN201010145528XA 2010-04-13 2010-04-13 Routing method, device and system Pending CN102223283A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201010145528XA CN102223283A (en) 2010-04-13 2010-04-13 Routing method, device and system
PCT/CN2011/072526 WO2011127799A1 (en) 2010-04-13 2011-04-08 Routing method, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010145528XA CN102223283A (en) 2010-04-13 2010-04-13 Routing method, device and system

Publications (1)

Publication Number Publication Date
CN102223283A true CN102223283A (en) 2011-10-19

Family

ID=44779716

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010145528XA Pending CN102223283A (en) 2010-04-13 2010-04-13 Routing method, device and system

Country Status (2)

Country Link
CN (1) CN102223283A (en)
WO (1) WO2011127799A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102611810A (en) * 2012-03-13 2012-07-25 中国联合网络通信集团有限公司 Communication method, application platform and communication device
CN114979006A (en) * 2021-10-14 2022-08-30 中移互联网有限公司 SIP message processing method and system
CN116016456A (en) * 2022-12-15 2023-04-25 中电信数智科技有限公司 A MSRP protocol routing method and system under microservice architecture

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101043701A (en) * 2006-03-23 2007-09-26 华为技术有限公司 Method for IP multimedia subsystem to provide register and call continuousness for mobile circuit domain user and system thereof
US20070298817A1 (en) * 2006-06-23 2007-12-27 Research In Motion Limited Apparatus, and Associated Method, for Supporting SMS Messaging By Way of an IP Network
CN101119293A (en) * 2006-08-01 2008-02-06 华为技术有限公司 A system, device and method for short message routing
CN101374118A (en) * 2007-08-23 2009-02-25 华为技术有限公司 Method, system and device for message interconnection
WO2009124223A1 (en) * 2008-04-02 2009-10-08 Twilio Inc. System and method for processing telephony sessions

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7889716B2 (en) * 2005-12-01 2011-02-15 Tekelec Methods, systems, and computer program products for using an E.164 number (ENUM) database for message service message routing resolution among 2G and subsequent generation network systems
EP1806899B1 (en) * 2006-01-10 2009-04-01 Research In Motion Limited Method and system for managing call routing in a network environment including a circuit-switched network and an IP Multimedia Subsystem IMS
CN101166142A (en) * 2006-10-16 2008-04-23 华为技术有限公司 A method and gateway for submitting correct route of reporting message

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101043701A (en) * 2006-03-23 2007-09-26 华为技术有限公司 Method for IP multimedia subsystem to provide register and call continuousness for mobile circuit domain user and system thereof
US20070298817A1 (en) * 2006-06-23 2007-12-27 Research In Motion Limited Apparatus, and Associated Method, for Supporting SMS Messaging By Way of an IP Network
CN101119293A (en) * 2006-08-01 2008-02-06 华为技术有限公司 A system, device and method for short message routing
CN101374118A (en) * 2007-08-23 2009-02-25 华为技术有限公司 Method, system and device for message interconnection
WO2009124223A1 (en) * 2008-04-02 2009-10-08 Twilio Inc. System and method for processing telephony sessions

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102611810A (en) * 2012-03-13 2012-07-25 中国联合网络通信集团有限公司 Communication method, application platform and communication device
CN102611810B (en) * 2012-03-13 2013-12-18 中国联合网络通信集团有限公司 Communication method, application platform and communication device
CN114979006A (en) * 2021-10-14 2022-08-30 中移互联网有限公司 SIP message processing method and system
CN114979006B (en) * 2021-10-14 2023-09-05 中移互联网有限公司 Session Initiation Protocol (SIP) message processing method and system
CN116016456A (en) * 2022-12-15 2023-04-25 中电信数智科技有限公司 A MSRP protocol routing method and system under microservice architecture

Also Published As

Publication number Publication date
WO2011127799A1 (en) 2011-10-20

Similar Documents

Publication Publication Date Title
US10454762B2 (en) System and method of processing media traffic for a hub-based system federating disparate unified communications systems
EP2036388B1 (en) Group communication
US11470023B2 (en) Session initiation method and device
CN102474548B (en) Persona information for P2P dialogues shows
CN1777108B (en) Method and system for providing mixed-mode instant messaging IM
CN110933180B (en) Communication establishment method, device, load equipment and storage medium
KR101150594B1 (en) Method and apparatus for cpm session management
US9549073B2 (en) Non-IMS rich communication suite
EP1909443A1 (en) Method and system by which instant message user can use instant message system chat room to which user unbelongs
CN101374118A (en) Method, system and device for message interconnection
CN102025718A (en) Sip endpoint enhancer
WO2007074959A1 (en) System for providing share of contents based on packet network in voice comunication based on circuit network
CN105307144A (en) Registration method, method of calling, application server and network domain devices
US20130242803A1 (en) Ip based videoconference using a social network server
CN102342076A (en) Capability Query Processing in Communication Networks
TW200922242A (en) Method and device for handling different addressing schemes in session initiation protocol communication
CN102340456B (en) Communication method of intercommunication gateway system and intercommunication gateway system
US20080212523A1 (en) Session based communication
CN101014051A (en) Method, system and apparatus for realizing communication between users in network game
CN102223283A (en) Routing method, device and system
US20100104085A1 (en) Method enabling interoperable communication between real and virtual communities
CN102137107A (en) Method and system for realizing set-top box subscriber state
CN103828295A (en) Conference access method, device and system
CN101155336B (en) Method and system for implementing message system user roaming
CN102546644B (en) Method, equipment and system for implementing SIP (Session Initiation Protocol) calling

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20111019

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载