[go: up one dir, main page]

CN101442722B - Method and device for routing messages in traditional network based on SIP protocol - Google Patents

Method and device for routing messages in traditional network based on SIP protocol Download PDF

Info

Publication number
CN101442722B
CN101442722B CN200710187676.6A CN200710187676A CN101442722B CN 101442722 B CN101442722 B CN 101442722B CN 200710187676 A CN200710187676 A CN 200710187676A CN 101442722 B CN101442722 B CN 101442722B
Authority
CN
China
Prior art keywords
short message
service center
address
message
message service
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.)
Active
Application number
CN200710187676.6A
Other languages
Chinese (zh)
Other versions
CN101442722A (en
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 CN200710187676.6A priority Critical patent/CN101442722B/en
Priority to PCT/CN2008/073123 priority patent/WO2009065362A1/en
Publication of CN101442722A publication Critical patent/CN101442722A/en
Application granted granted Critical
Publication of CN101442722B publication Critical patent/CN101442722B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1101Session protocols
    • H04L65/1104Session initiation protocol [SIP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • H04L69/085Protocols for interworking; Protocol conversion specially adapted for interworking of IP-based networks with other networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a method for message routing in traditional network based on SIP comprising following steps: receiving message based on SIP protocol, acquiring corresponding short message service center address; converting the message based on SIP protocol to short message, adding the acquired short message service center address in the short message and transmitting. The invention also discloses a intercommunicating server for implementing message based on SIP protocol routing in traditional network. In the invention the intercommunicating server acquires short message service center address and adds it in short message acquired by converting message based on SIP protocol so that the format converted short message can route to short message service center, thereby implementing routing in traditional network of format converted message based on SIP protocol.

Description

基于SIP协议的消息在传统网络中路由的方法和设备 Method and device for routing messages in traditional network based on SIP protocol

技术领域technical field

本发明涉及网络技术领域,尤其涉及一种基于SIP协议的消息在传统网络中路由的方法和设备。The invention relates to the field of network technology, in particular to a method and equipment for routing messages based on the SIP protocol in a traditional network.

背景技术Background technique

SIP(Session Initiation Protocol,会话初始化协议)消息是现在互联网上普遍使用的一种基于TCP(Transmission Control Protocol,传输控制协议)/IP(Internet Protocol,因特网协议)协议的消息传输格式,该消息应用最为广泛的是即时消息业务,由于网络一般不对该类消息进行存储转发,消息传输的延时相对较小,故被称为即时消息。SIMPLE IM是OMA(Open MobileAlliance,开放移动联盟)定义的一种即时消息的格式,包括与会话无关的消息模式(Page mode、Large message mode)和基于会话的消息模式(session basedmessage),是目前广范被采用的一种即时消息的应用形式。其中,Page mode是基于SIP MESSAGE的消息传输模式,Large message mode和session basedmessage模式都是基于其他的SIP协议如MSRP(Message Session RelayProtocol,消息会话中继协议)的消息传输模式。3GPP(The 3rd GenerationPartnership Project,第三代合作伙伴计划)也定义了一种承载于SIP消息中进行传送的消息格式,主要应用于IMS(IP multimedia subsystem,IP多媒体系统)中。另外,目前OMA的热门课题CPM(Converged IP Messaging,融合IP消息类业务)也在讨论一种基于SIP协议的消息格式-CPM消息,该消息也有可能使用现有的即时消息业务作为承载,主要用于各种不同的消息类业务的融合的应用中,使得在使用不同的消息类业务时能够保持相同的用户体验。随着基于IMS的接入技术的兴起和发展,如何实现基于IP的消息和其他类型的消息业务之间的互通,包括OMA SIMPLE IM即时消息和3GPP定义的SMS(Short Message Service,短消息服务)/EMS(Enhanced Message Service,增强型短消息服务)之间的业务互通,以及CPM消息和非CPM消息(如3GPP定义的SMS/EMS之间)的业务互通等;在实现SIP MESSAGE和其他类型的消息互通的基础上,如何保持用户体验的一致性,减少对现有网络的影响,重用现有网络的路由功能和业务处理功能,也是各运营商普遍关注的问题和3GPP标准化组织的一个目标。SIP (Session Initiation Protocol, Session Initiation Protocol) message is a message transmission format based on TCP (Transmission Control Protocol, Transmission Control Protocol)/IP (Internet Protocol, Internet Protocol) protocol commonly used on the Internet. The most widely used is the instant message service. Since the network generally does not store and forward this type of message, the delay in message transmission is relatively small, so it is called instant message. SIMPLE IM is an instant message format defined by OMA (Open Mobile Alliance, Open Mobile Alliance), including session-independent message modes (Page mode, Large message mode) and session-based message mode (session based message). Fan adopted a form of instant messaging application. Wherein, Page mode is a message transmission mode based on SIP MESSAGE, and Large message mode and session basedmessage mode are both based on other SIP protocols such as MSRP (Message Session Relay Protocol, message session relay protocol) message transmission mode. 3GPP (The 3rd Generation Partnership Project, Third Generation Partnership Project) also defines a message format carried in SIP messages for transmission, which is mainly used in IMS (IP multimedia subsystem, IP multimedia system). In addition, the current popular subject of OMA, CPM (Converged IP Messaging, converged IP messaging services), is also discussing a message format based on the SIP protocol - CPM messages. In the application of the fusion of various messaging services, the same user experience can be maintained when using different messaging services. With the rise and development of IMS-based access technologies, how to realize the intercommunication between IP-based messages and other types of message services, including OMA SIMPLE IM instant messages and SMS (Short Message Service) defined by 3GPP /EMS (Enhanced Message Service, Enhanced Short Message Service) business intercommunication, and CPM message and non-CPM message (such as between SMS/EMS defined by 3GPP) etc.; in realizing SIP MESSAGE and other types of On the basis of message exchange, how to maintain the consistency of user experience, reduce the impact on the existing network, and reuse the routing function and service processing function of the existing network is also a common concern of operators and a goal of the 3GPP standardization organization.

由于3GPP定义的EMS属于增强类型的SMS,为简便起见,以下所述的短消息同时包含了SMS和EMS两个形式的消息业务。Since the EMS defined by 3GPP belongs to the enhanced type of SMS, for the sake of simplicity, the short message described below includes both SMS and EMS message services.

图1是目前使用IP终端实现传统短消息业务的网络框架,其中SME(ShortMessage Entity,短消息实体)、SM-SC(Short Message-Service Center,短信服务中心)、SMS-GMSC(Short Message Service Gateway Mobile SwitchingCenter,短消息移动交换中心网关)/SMS-IWMSC(Short MessageService-InterWorking Mobile Switching Center,短消息互通移动交换中心)、HSS(Home subscriber server,归属签约用户服务器)、CGF(Charging GatewayFunction,计费网关功能)/CDF(Charge Distribution Function,计费采集功能)和OCS(Online Charging System,在线计费系统)是现有移动网实现SMS业务的功能实体.其中,SM-SC用来存储短消息;GMSC用于接收到被叫短消息时,向HSS查询路由信息;SMS-IWMSC用于终端发送短消息时进行鉴权等.目前网络中应用的短消息中心,都是集SM-SC、GMSC和SMS-IWMSC三个为一体的设备,并没有将这三个功能实体作为单独的物理设备来实现,所以在下文中,短消息中心即代表SM-SC、GMSC和SMS-IWMSC三个一体的设备.HSS用于存储用户的数据信息,包括用户的签约业务数据和路由信息,CGF/CDF用于收集并处理用户的离线计费的话单信息,然后传递至计费中心,OCS用于收集并处理用户在线计费的话单信息,然后传递至计费中心.图1中,IP消息网关实现IP客户端与GMSC/SMS-IWMSC之间的通讯,IP消息网关需进行IP网络消息协议和已有WCDMA/GSM网络短消息协议(即IP消息网关与GMSC/SMS-IWMSC之间使用的MAP协议)之间传输层面或服务层面的互通,即进行基于SIP协议承载的消息的封装/解封装或消息格式的转换.Figure 1 is the current network framework for implementing traditional short message services using IP terminals, in which SME (ShortMessage Entity, short message entity), SM-SC (Short Message-Service Center, short message service center), SMS-GMSC (Short Message Service Gateway Mobile SwitchingCenter, Short Message Mobile Switching Center Gateway)/SMS-IWMSC (Short MessageService-InterWorking Mobile Switching Center, Short Message Interworking Mobile Switching Center), HSS (Home subscriber server, home subscriber server), CGF (Charging GatewayFunction, billing Gateway function)/CDF (Charge Distribution Function, charging collection function) and OCS (Online Charging System, online charging system) are the functional entities of the existing mobile network to realize SMS services. Among them, SM-SC is used to store short messages; GMSC is used to query routing information from the HSS when receiving a called short message; SMS-IWMSC is used for authentication when a terminal sends a short message. Currently, the short message center used in the network is a collection of SM-SC, GMSC and SMS-IWMSC is a three-in-one device, and these three functional entities are not implemented as a separate physical device, so in the following, the short message center represents the three-in-one device of SM-SC, GMSC and SMS-IWMSC. HSS is used to store user's data information, including user's subscription service data and routing information, CGF/CDF is used to collect and process user's offline billing bill information, and then transfer it to the billing center, OCS is used to collect and process user The online billing bill information is then delivered to the billing center. In Figure 1, the IP message gateway realizes the communication between the IP client and the GMSC/SMS-IWMSC. The IP message gateway needs to carry out the IP network message protocol and the existing WCDMA/ Intercommunication at the transmission level or service level between the short message protocol of the GSM network (that is, the MAP protocol used between the IP message gateway and the GMSC/SMS-IWMSC), that is, the encapsulation/decapsulation or message format of the message carried by the SIP protocol convert.

在现有3GPP的规范中,提出了基于封装传统短消息格式的SIP协议消息和传统的短消息业务在传输层面的互通以及SIMPLE IM或3GPP定义的即时消息和传统的短消息在服务层面上的互通业务,其中,IP消息网关作为IMS域和传统CS/PS域之间的短消息承载互通网关,进行基于SIP的消息和传统网络消息互通业务的鉴权,消息格式的封装/解封装或转换和消息的存储转发功能。这里,IP消息网关通过用户的第三方注册为用户提供服务。In the existing 3GPP specifications, the intercommunication between the SIP protocol message based on the encapsulation of the traditional short message format and the traditional short message service at the transmission level and the service level between the instant message defined by SIMPLE IM or 3GPP and the traditional short message are proposed. Interworking services, in which the IP message gateway acts as a short message bearer interworking gateway between the IMS domain and the traditional CS/PS domain, performing authentication of SIP-based messages and traditional network message interworking services, and encapsulation/decapsulation or conversion of message formats and store-and-forward functionality for messages. Here, the IP messaging gateway provides services to the user through the user's third-party registration.

根据上述网络构架,传统的消息业务和SIP消息互通的第三方注册流程如图2所示,具体步骤如下:According to the above network architecture, the third-party registration process for traditional message service and SIP message interworking is shown in Figure 2, and the specific steps are as follows:

步骤s201、UE建立IP连接。In step s201, the UE establishes an IP connection.

步骤s202、UE通过IMS注册流程注册到S-CSCF。In step s202, the UE registers with the S-CSCF through the IMS registration process.

步骤s203、S-CSCF检查在IMS注册过程中从HSS获得的初始过滤规则。Step s203, the S-CSCF checks the initial filtering rules obtained from the HSS during the IMS registration process.

步骤s204、在成功的IMS注册以后,S-CSCF基于初始过滤规则告知互通服务器用户的注册状态。Step s204, after the successful IMS registration, the S-CSCF notifies the interworking server of the registration status of the user based on the initial filter rule.

步骤s205、互通服务器返回成功响应到S-CSCF。Step s205, the interworking server returns a success response to the S-CSCF.

步骤s206、互通服务器发送注册请求到HSS。Step s206, the interworking server sends a registration request to the HSS.

步骤s207、HSS在需要的时候存储接收到的信息,用于在消息等待位被置位的时候通过告警消息告知UE在IMS域变为可达。Step s207 , the HSS stores the received information when needed, and uses it to notify the UE of becoming reachable in the IMS domain through an alarm message when the message waiting bit is set.

步骤s208、在成功完成注册以后,HSS检查消息等待位是否置未,是否需要发起告警流程。Step s208 , after the registration is successfully completed, the HSS checks whether the message waiting bit is not set, and whether an alarm procedure needs to be initiated.

根据上述网络构架,传统的消息业务和SIMPLE IM或3GPP定义的即时消息的服务层面互通在IMS-MO(IMS域的消息起始)的流程如图3所示,具体步骤如下:According to the above-mentioned network architecture, the process of intercommunication between the traditional message service and the instant message service layer defined by SIMPLE IM or 3GPP in IMS-MO (message initiation in the IMS domain) is shown in Figure 3, and the specific steps are as follows:

步骤s301、通过IMS注册流程,UE注册到S-CSCF。为了简便起见,这里没有标出I-CSCF和P-CSCF。Step s301, through the IMS registration process, the UE registers with the S-CSCF. For simplicity, I-CSCF and P-CSCF are not marked here.

步骤s302、UE使用合适的SIP方法发送即时消息到S-CSCF。In step s302, the UE sends an instant message to the S-CSCF using a suitable SIP method.

步骤s303、S-CSCF基于iFC(initial Filtering Criteria,初始过滤规则)转发即时消息到IP消息网关。In step s303, the S-CSCF forwards the instant message to the IP messaging gateway based on iFC (initial Filtering Criteria, initial filtering rule).

步骤s304、IP消息网关通过检查SIP头部、运营商策略或即时消息能否在被叫IMS路由等信息决定是否需要进行服务层面的互通,如果决定进行服务层面的互通,IP消息网关对该业务进行授权.如果授权失败,IP消息网关返回失败报告到UE;否则IP消息网关把即时消息转换成传统的短消息,并把短消息路由到传统网络的路由实体.如果即时消息的长度大于一条短消息的长度,IP消息网关把即时消息拆分成多条,并分别把它们转换成短消息格式,把转换的短消息转发到短消息服务中心.Step s304, the IP message gateway decides whether to perform intercommunication at the service level by checking information such as the SIP header, operator policy, or whether the instant message can be routed by the called IMS. If it is decided to perform intercommunication at the service level, the IP message gateway will Authorize. If the authorization fails, the IP message gateway returns a failure report to the UE; otherwise, the IP message gateway converts the instant message into a traditional short message, and routes the short message to the routing entity of the traditional network. If the length of the instant message is greater than a short message The length of the message, the IP message gateway splits the instant message into multiple pieces, converts them into short message format, and forwards the converted short message to the short message service center.

步骤s305、如果授权成功,IP消息网关发送成功响应到S-CSCF。Step s305, if the authorization is successful, the IP message gateway sends a success response to the S-CSCF.

步骤s306、S-CSCF转发成功响应给UE。Step s306, the S-CSCF forwards the success response to the UE.

步骤s307、SMS-IWMSC把短消息转发到短消息服务中心。In step s307, the SMS-IWMSC forwards the short message to the short message service center.

步骤s308、短消息服务中心返回报告到SMS-IWMSC。Step s308, the short message service center returns the report to the SMS-IWMSC.

步骤s309、SMS-IWMSC转发报告到IP消息网关。In step s309, the SMS-IWMSC forwards the report to the IP message gateway.

步骤s310、IP消息网关把接收到的报告转换成合适的IMS消息格式,并转发到S-CSCF。如果IP消息网关在第四部生成了多条SM消息,IP消息网关需要等待最后一条报告返回,并把所有的报告转换成合适的IMS消息格式,把它转发到S-CSCF。In step s310, the IP message gateway converts the received report into an appropriate IMS message format and forwards it to the S-CSCF. If the IP message gateway generates multiple SM messages in the fourth part, the IP message gateway needs to wait for the return of the last report, convert all the reports into a suitable IMS message format, and forward it to the S-CSCF.

步骤s311、S-CSCF发送转换后的即时消息到UE。In step s311, the S-CSCF sends the converted instant message to the UE.

步骤s312、UE发送成功响应到S-CSCF。Step s312, the UE sends a success response to the S-CSCF.

步骤s313、S-CSCF转发成功响应到IP消息网关。Step s313, the S-CSCF forwards the success response to the IP message gateway.

发明人在实现本发明的过程中,发现现有技术中至少存在以下问题。During the process of realizing the present invention, the inventors found at least the following problems in the prior art.

在现有技术的IMS-MO流程中,主叫UE的SIP消息通过IP-SM-GW后转变成SM消息,为了保证和现有短消息流程兼容,转化后的SM肯定会先传到短消息服务中心SM-SC,然后短消息服务中心再根据现有的MT流程传给对端UE。如果UE发送为封装SM格式的SIP消息(如传输层面的互通),那么消息中便含有短消息服务中心地址,IP-SM-GW在进行解封装以后直接得到的包含短消息服务中心地址的短消息能够被网络侧路由到短消息服务中心。但在进行服务层面的互通时,UE发送的为没有封装任何SM消息的SIP消息(如SIMPLE IM或CPM消息),IP-SM-GW无法获取UE的短消息服务中心地址信息,这样即便能够进行消息转换,网络侧也不知道到底要把该转换后的短消息发给哪个短消息中心,消息无法进行后续的路由。在目前OMA的CPM互通框架中,当CPM消息和非CPM消息进行互通的过程中也同样存在着这样的问题。In the IMS-MO process of the prior art, the SIP message of the calling UE is converted into an SM message after passing through the IP-SM-GW. In order to ensure compatibility with the existing short message process, the converted SM will definitely be transmitted to the short message first. The service center SM-SC, and then the short message service center transmits it to the peer UE according to the existing MT procedure. If the UE sends a SIP message in encapsulated SM format (such as intercommunication at the transport level), then the message contains the address of the SMS center, and the IP-SM-GW directly obtains the SMS message containing the address of the SMS center after decapsulating it. Messages can be routed by the network side to the Short Message Service Center. However, when performing interworking at the service level, what the UE sends is a SIP message (such as a SIMPLE IM or CPM message) that does not encapsulate any SM message, and the IP-SM-GW cannot obtain the UE's short message service center address information, so even if it can perform For message conversion, the network side does not know which short message center to send the converted short message to, and the message cannot be routed subsequently. In the current CPM interworking framework of the OMA, such problems also exist in the process of intercommunicating CPM messages and non-CPM messages.

发明内容Contents of the invention

本发明的实施例提供一种基于会话初始协议SIP协议的消息在传统网络中路由的方法和设备,用于实现基于SIP协议的消息在传统网络中的路由。Embodiments of the present invention provide a method and device for routing messages based on the SIP protocol in a traditional network, which are used to implement routing of messages based on the SIP protocol in the traditional network.

为达到上述目的,本发明的实施例提供一种基于会话初始协议SIP协议的消息在传统网络中路由的方法,包括以下步骤:接收基于SIP协议的消息,获取与所述消息相关的用户对应的短消息服务中心地址;将所述基于SIP协议的消息转换为短消息,将获取到的所述短消息服务中心地址添加在所述短消息中并将所述短消息经由短消息互通移动交换中心SMS-IWMSC发给所述短消息服务中心。In order to achieve the above object, an embodiment of the present invention provides a method for routing a message based on the Session Initiation Protocol (SIP) protocol in a traditional network, including the following steps: receiving a message based on the SIP protocol, and obtaining information corresponding to a user related to the message Short message service center address; convert the message based on the SIP protocol into a short message, add the obtained short message service center address in the short message and intercommunicate the short message with a mobile switching center via a short message SMS-IWMSC sends to the short message service center.

本发明的实施例还提供一种互通服务器,用于实现基于SIP协议的消息在传统网络中的路由,包括:短消息服务中心地址获取单元,用于接收基于SIP协议的消息,并获取与所述消息相关的用户对应的短消息服务中心地址;转换单元,用于将所述基于SIP协议的消息转换为短消息;短消息服务中心地址添加单元,用于将所述短消息服务中心地址获取单元获取到的短消息服务中心地址添加在所述转换单元转换得到的短消息中并将所述短消息经由短消息互通移动交换中心SMS-IWMSC发给所述短消息服务中心。The embodiment of the present invention also provides an interworking server, which is used to implement the routing of messages based on the SIP protocol in the traditional network, including: a short message service center address acquisition unit, used to receive messages based on the SIP protocol, and acquire the information related to the SIP protocol. The short message service center address corresponding to the user related to the message; the conversion unit is used to convert the message based on the SIP protocol into a short message; the short message service center address adding unit is used to obtain the short message service center address The short message service center address obtained by the unit is added to the short message converted by the conversion unit and the short message is sent to the short message service center via the short message interworking mobile switching center SMS-IWMSC.

与现有技术相比,本发明的实施例具有以下优点:Compared with the prior art, the embodiments of the present invention have the following advantages:

由互通服务器获取短消息服务中心地址并添加在由基于SIP协议的消息转换后得到的短消息中,使得格式转换后的短消息能够路由到短消息服务中心,实现了基于SIP协议的消息在格式转换后在传统网络中的路由。The intercommunication server obtains the address of the short message service center and adds it to the short message obtained after the message conversion based on the SIP protocol, so that the short message after the format conversion can be routed to the short message service center, and realizes the message based on the SIP protocol in the format Routing in legacy networks after conversion.

附图说明Description of drawings

图1是现有技术中终端实现短消息业务的框架示意图;FIG. 1 is a schematic diagram of a frame of a terminal implementing a short message service in the prior art;

图2是现有技术中基于IP的消息和短消息互通的第三方注册流程示意图Fig. 2 is a schematic diagram of the third-party registration process of IP-based message and short message intercommunication in the prior art

图3是现有技术中基于IP的消息与SMS/EMS消息服务层面互通的IMS-MO流程示意图Fig. 3 is a schematic diagram of the IMS-MO flow chart of the intercommunication between IP-based message and SMS/EMS message service level in the prior art

图4是本发明实施例中基于SIP协议的消息在传统网络中路由方法的流程图;Fig. 4 is the flow chart of the message routing method in traditional network based on SIP protocol in the embodiment of the present invention;

图5是本发明的实施例一中基于SIP协议的消息在传统网络中路由方法的信令流程图;Fig. 5 is the signaling flowchart of the routing method of the message based on SIP protocol in the traditional network in the first embodiment of the present invention;

图6是本发明的实施例二中IP协议的消息在传统网络中路由方法的信令流程图;Fig. 6 is the signaling flowchart of the message routing method of IP protocol in the traditional network in the second embodiment of the present invention;

图7是本发明的实施例三中的第三方注册流程示意图;FIG. 7 is a schematic diagram of a third-party registration process in Embodiment 3 of the present invention;

图8A至图8D是本发明的实施例五中的互通服务器的示意图。8A to 8D are schematic diagrams of the interworking server in Embodiment 5 of the present invention.

具体实施方式Detailed ways

本发明实施例中,一种基于SIP协议的消息在传统网络中路由的方法如图4所示,包括以下步骤:In the embodiment of the present invention, a method for routing a message based on the SIP protocol in a traditional network is shown in Figure 4, comprising the following steps:

步骤s401、互通服务器接收基于SIP协议的消息,获取对应的短消息服务中心地址。In step s401, the interworking server receives a message based on the SIP protocol, and acquires a corresponding short message service center address.

具体的,该短消息服务中心地址的获取方法可以为:Specifically, the method for obtaining the address of the short message service center may be:

(1)互通服务器根据该消息中的用户信息从HSS上获取与该用户对应的短消息服务中心地址。(1) The interworking server acquires the short message service center address corresponding to the user from the HSS according to the user information in the message.

(2)互通服务器从该基于SIP协议的消息中获取对应的短消息服务中心地址。(2) The interworking server acquires the corresponding short message service center address from the SIP-based message.

(3)互通服务器根据预先从S-CSCF接收的第三方注册消息中获取的用户信息与短消息服务中心地址的关联关系,以及该基于SIP协议的消息中的用户信息,获取与该用户对应的短消息服务中心地址。(3) The interworking server obtains the corresponding information of the user according to the association relationship between the user information obtained from the third-party registration message received by the S-CSCF and the short message service center address, and the user information in the message based on the SIP protocol. Short message service center address.

(4)互通服务器根据本地配置的用户信息与对应的短消息服务中心地址的对应关系,以及该基于SIP协议的消息中的用户信息,获取与该用户对应的短消息服务中心地址。(4) The interworking server obtains the short message service center address corresponding to the user according to the correspondence between the locally configured user information and the corresponding short message service center address, and the user information in the SIP protocol-based message.

步骤s402、互通服务器将该基于SIP协议的消息转换为短消息,将获取到的短消息服务中心地址添加在该短消息中并发送。In step s402, the interworking server converts the SIP-based message into a short message, adds the obtained short message service center address to the short message, and sends it.

根据短消息中携带的该短消息服务中心地址,网络侧可以进行短消息的后续路由处理,从而实现了基于SIP协议的消息在格式转换后在传统网络中的路由。According to the short message service center address carried in the short message, the network side can carry out the subsequent routing processing of the short message, thereby realizing the routing of the message based on the SIP protocol in the traditional network after format conversion.

以下结合具体的应用场景,对本发明中互通服务器获取短消息服务中心地址的不同的方式进行详细说明。The different ways in which the intercommunication server obtains the address of the short message service center in the present invention will be described in detail below in conjunction with specific application scenarios.

本发明的实施例一中,以获取方式为:互通服务器从HSS上获取短消息服务中心地址为例,说明本发明中一种基于SIP协议的消息在传统网络中路由的方法的具体实现方式.In Embodiment 1 of the present invention, taking the acquisition method as follows: the intercommunication server obtains the address of the short message service center from the HSS as an example, a specific implementation of a method for routing a message based on the SIP protocol in a traditional network in the present invention is described.

现有技术中,HSS上存储了用户的签约数据和消息路由相关的信息如短消息服务中心,如果一个运营商的网络中有多个短消息服务中心,运营商可以通过用户的签约情况为不同的用户分配相应的短消息服务中心,并把对应关系保存在HSS中。在现有技术中,互通服务器(如IP消息网关)可以通过Sh接口从HSS上下载用户的签约数据,为用户提供互通业务;另外,互通服务器还可以通过该接口从HSS上下载消息后续的路由信息(如MSC/SGSN的地址等)。在本实施例中,当互通服务器收到基于SIP协议的消息时,判断要进行业务层面互通业务的处理,则在该业务授权成功以后,从HSS获取该消息携带的用户信息相关的短消息服务中心的地址。互通服务器可以按照如下原则获取短消息服务中心的地址:如果互通服务器位于的是主叫侧的IMS网络,则基于主叫用户的信息(如地址信息)获取与主叫相关的短消息服务中心的地址;如果互通服务器位于的是被叫侧的IMS网络,则基于被叫用户信息获取与被叫相关的短消息服务中心的地址。互通服务器把基于SIP协议的消息转换成传统的短消息后,将或取的短消息服务中心的地址添加在转换后的短消息的路由信息中,以便网络侧进行短消息的后续路由处理。In the prior art, the user's subscription data and information related to message routing, such as short message service centers, are stored on the HSS. The corresponding short message service center is assigned to the user, and the corresponding relationship is stored in the HSS. In the prior art, the interworking server (such as the IP message gateway) can download the user's subscription data from the HSS through the Sh interface to provide the user with interworking services; in addition, the interworking server can also download the subsequent routing of the message from the HSS through the interface Information (such as the address of MSC/SGSN, etc.). In this embodiment, when the interworking server receives a message based on the SIP protocol, it judges that the processing of the interworking service at the service level is to be performed, and then after the service authorization is successful, the short message service related to the user information carried in the message is obtained from the HSS. The address of the center. The interworking server can acquire the address of the short message service center according to the following principle: if the interworking server is located in the IMS network of the calling side, then based on the information (such as address information) of the calling user, the address of the short message service center related to the calling party is obtained. address; if the interworking server is located in the IMS network of the called side, then obtain the address of the short message service center related to the called party based on the called user information. After the interworking server converts the message based on the SIP protocol into a traditional short message, it adds the address of the obtained short message service center to the routing information of the converted short message, so that the network side can perform subsequent routing processing of the short message.

上述过程的一具体场景如图5所示,以互通服务器在主叫侧的IMS网络的处理为例,包括以下步骤:A specific scenario of the above process is shown in Figure 5, taking the processing of the IMS network on the calling side by the interworking server as an example, including the following steps:

步骤s501、通过IMS注册流程,UE注册到了S-CSCF上。Step s501, through the IMS registration process, the UE is registered with the S-CSCF.

步骤s502、UE发送SIP消息到S-CSCF。Step s502, the UE sends a SIP message to the S-CSCF.

步骤s503、S-CSCF基于iFC转发SIP消息到互通服务器。Step s503, the S-CSCF forwards the SIP message to the interworking server based on the iFC.

步骤s504、互通服务器通过检查SIP头部、运营商策略或SIP消息能否在被叫IMS路由等信息决定是否需要进行服务层面的互通,如果决定进行服务层面的互通,互通服务器对该业务进行授权。如果授权失败,互通服务器返回失败报告到UE,对于该失败情况,与本发明实施例无关,在此不做介绍。Step s504, the interworking server determines whether interworking at the service level is required by checking the SIP header, operator policy, or whether the SIP message can be routed by the called IMS. If it decides to perform intercommunication at the service level, the interworking server authorizes the service . If the authorization fails, the interworking server returns a failure report to the UE. The failure is irrelevant to the embodiment of the present invention and will not be introduced here.

步骤s505~s506、授权成功后,互通服务器向UE返回成功响应。In steps s505-s506, after the authorization is successful, the interworking server returns a success response to the UE.

步骤s507、互通服务器检查到接收到的SIP消息为未封装任何SM消息的消息格式(如SIMPLE IM/CPM消息),根据消息头携带的主叫用户的信息(如公共用户标识)从HSS上获取与主叫相关的短消息服务中心地址。Step s507, the interworking server checks that the received SIP message is a message format (such as SIMPLE IM/CPM message) that does not encapsulate any SM message, and obtains it from the HSS according to the calling user information (such as the public user ID) carried by the message header The address of the short message service center related to the caller.

步骤s508~s509、互通服务器把SIP消息转换成传统的短消息,在短消息的地址信息中添加步骤s507中获取的短消息服务中心地址,并把短消息路由到传统网络的路由实体SMS-IWMSC。Steps s508-s509, the interworking server converts the SIP message into a traditional short message, adds the short message service center address obtained in step s507 to the address information of the short message, and routes the short message to the traditional network routing entity SMS-IWMSC .

步骤s510、SMS-IWMSC根据短消息中携带的短消息服务中心地址信息把该消息转发到短消息服务中心。In step s510, the SMS-IWMSC forwards the message to the SMSC according to the address information of the SMSC carried in the short message.

步骤s511、短消息服务中心返回报告到SMS-IWMSC。Step s511, the short message service center returns the report to the SMS-IWMSC.

步骤s512、SMS-IWMSC转发报告到互通服务器。In step s512, the SMS-IWMSC forwards the report to the interworking server.

步骤s513、互通服务器把接收到的报告转换成合适的SIP消息格式,并转发到S-CSCF。Step s513, the interworking server converts the received report into a proper SIP message format, and forwards it to the S-CSCF.

步骤s514、S-CSCF发送转换后的SIP报告到UE。In step s514, the S-CSCF sends the converted SIP report to the UE.

步骤s515、UE发送成功响应到S-CSCF。Step s515, the UE sends a success response to the S-CSCF.

步骤s516、成功响应被S-CSCF转发到互通服务器。Step s516, the successful response is forwarded to the interworking server by the S-CSCF.

以上步骤s501~步骤s516以互通服务器在主叫侧的IMS网络的处理为例,互通服务器在被叫侧的IMS网络的处理与此类似,在这里不做重复描述。The above steps s501 to s516 take the processing of the interworking server on the IMS network at the calling side as an example, the processing of the interworking server on the IMS network at the called side is similar, and will not be repeated here.

本发明的实施例二中,以获取方式为:互通服务器从接收的基于SIP协议的消息中获取短消息服务中心地址为例,说明本发明中一种基于SIP协议的消息在传统网络中路由的方法的具体实现方式。In the second embodiment of the present invention, taking the acquisition method as an example: the intercommunication server obtains the address of the short message service center from the received message based on the SIP protocol as an example, a method of routing a message based on the SIP protocol in a traditional network in the present invention is described. The specific implementation of the method.

本实施例中,UE在发送的基于SIP协议的消息中携带短消息服务中心的地址,使得互通服务器在进行消息处理的时候,把从基于SIP协议的消息中获取的短消息服务中心地址添加在格式转换后的短消息中,从而使该转换后的短消息能够被路由到短消息服务中心。In this embodiment, the UE carries the address of the short message service center in the message based on the SIP protocol sent by the UE, so that when the interworking server performs message processing, it adds the address of the short message service center obtained from the message based on the SIP protocol to the format-converted short message, so that the converted short message can be routed to the short message service center.

上述过程的一具体场景如图6所示,以互通服务器在主叫侧的IMS网络的处理为例,包括以下步骤:A specific scenario of the above process is shown in Figure 6, taking the processing of the IMS network on the calling side by the interworking server as an example, including the following steps:

步骤s601、通过IMS注册流程,UE注册到了S-CSCF上。Step s601, through the IMS registration process, the UE is registered with the S-CSCF.

步骤s602、UE发送SIP消息到S-CSCF,在SIP消息中增加短消息服务中心的地址。In step s602, the UE sends a SIP message to the S-CSCF, and adds the address of the short message service center in the SIP message.

具体的,UE需要发送的SIP消息中增加短消息服务中心的地址。由于短消息服务中心地址都会固化保存在UE的SIM卡中,因此主叫UE在发送SIP消息的时候,把从SIM卡里获取的短消息服务中心地址携带在SIP消息的消息头或消息体中的参数中(该参数可以为现有SIP协议的参数,也可以为扩展的SIP协议的参数),并通过IMS核心网络发送。Specifically, the UE needs to add the address of the short message service center in the SIP message sent. Since the short message service center address will be solidified and stored in the UE's SIM card, when the calling UE sends a SIP message, it will carry the short message service center address obtained from the SIM card in the message header or message body of the SIP message parameter (the parameter may be a parameter of the existing SIP protocol, or a parameter of the extended SIP protocol), and send it through the IMS core network.

步骤s603、S-CSCF基于iFC转发SIP消息到互通服务器。In step s603, the S-CSCF forwards the SIP message to the interworking server based on the iFC.

步骤s604、互通服务器通过检查SIP头部、运营商策略或SIP消息能否在被叫IMS路由等信息决定是否需要进行服务层面的互通,如果决定进行服务层面的互通,互通服务器对该业务进行授权。如果授权失败,互通服务器返回失败报告到UE,对于该失败情况,与本发明实施例无关,在此不做介绍。Step s604, the interworking server determines whether interworking at the service level is required by checking the SIP header, operator policy, or whether the SIP message can be routed by the called IMS, and if it decides to perform intercommunication at the service level, the interworking server authorizes the service . If the authorization fails, the interworking server returns a failure report to the UE. The failure is irrelevant to the embodiment of the present invention and will not be introduced here.

步骤s605~s606、授权成功后,互通服务器向UE返回成功响应。In steps s605-s606, after the authorization is successful, the interworking server returns a success response to the UE.

步骤s607、互通服务器检查到接收到的SIP消息为未封装任何SM消息的消息格式(如SIMPLE IM/CPM消息)。则互通服务器从SIP消息中获取短消息服务中心的地址。Step s607, the interworking server checks that the received SIP message is in a message format that does not encapsulate any SM message (such as SIMPLE IM/CPM message). Then the interworking server obtains the address of the short message service center from the SIP message.

步骤s608~s609、互通服务器把SIP消息转换成传统的短消息,在短消息的地址信息中添加步骤s607中获取的短消息服务中心地址,并把短消息路由到传统网络的路由实体SMS-IWMSC。Steps s608-s609, the interworking server converts the SIP message into a traditional short message, adds the short message service center address obtained in step s607 to the address information of the short message, and routes the short message to the traditional network routing entity SMS-IWMSC .

步骤s610~步骤s616,同上述步骤s510~s516,在此不做重复描述。Steps s610 to s616 are the same as the above steps s510 to s516, and will not be described repeatedly here.

本发明的实施例三中,以获取方式为:互通服务器从S-CSCF接收的第三方注册消息中获取短消息服务中心地址为例,说明本发明中一种基于SIP协议的消息在传统网络中路由的方法的具体实现方式。In Embodiment 3 of the present invention, taking the obtaining method as follows: the interworking server obtains the address of the short message service center from the third-party registration message received by the S-CSCF as an example, to illustrate a message based on the SIP protocol in the present invention in a traditional network The specific implementation of the routing method.

本实施例中,第三方注册过程中,应用运营商在iFC的参数(service info)中携带短消息服务中心地址,通过用户的第三方注册携带该地址信息到互通服务器,使得互通服务器能够获知用户信息和短消息服务中心地址的绑定关系,从而在互通业务的后续路由中能够让格式转换后的短消息被路由到短消息服务中心。In this embodiment, in the third-party registration process, the application operator carries the short message service center address in the parameter (service info) of iFC, and carries the address information to the interworking server through the user's third-party registration, so that the interworking server can know the user The binding relationship between the information and the address of the short message service center, so that the format-converted short message can be routed to the short message service center in the subsequent routing of the interworking service.

该第三方注册过程的一具体场景如图7所示,包括以下步骤:A specific scenario of the third-party registration process is shown in Figure 7, including the following steps:

步骤s701、UE建立IP连接。In step s701, the UE establishes an IP connection.

步骤s702、UE通过IMS注册流程注册到S-CSCF。In step s702, the UE registers with the S-CSCF through the IMS registration process.

该步骤中,S-CSCF从HSS下载的用户签约数据中的iFC里,携带了表示短消息服务中心地址的参数。In this step, the iFC in the user subscription data downloaded by the S-CSCF from the HSS carries a parameter indicating the address of the short message service center.

步骤s703、S-CSCF检查在IMS注册过程中从HSS获得的初始过滤规则。Step s703, the S-CSCF checks the initial filtering rules obtained from the HSS during the IMS registration process.

步骤s704、S-CSCF发起第三方注册,基于初始过滤规则告知互通服务器用户的注册状态。在该第三方注册消息中,携带有S-CSCF在步骤s702中获取的短消息服务中心地址。In step s704, the S-CSCF initiates a third-party registration, and notifies the interworking server of the registration status of the user based on the initial filtering rule. The third party registration message carries the short message service center address acquired by the S-CSCF in step s702.

步骤s705、互通服务器返回成功响应到S-CSCF。Step s705, the interworking server returns a success response to the S-CSCF.

步骤s706、互通服务器获取与注册用户相关的短消息服务中心的地址,存储短消息服务中心地址与用户信息的关联关系。In step s706, the interworking server acquires the address of the short message service center related to the registered user, and stores the association relationship between the address of the short message service center and the user information.

步骤s707、互通服务器发送注册请求到HSS。Step s707, the interworking server sends a registration request to the HSS.

步骤s708、HSS在需要的时候存储接收到的信息,用于在消息等待位被置位的时候通过告警消息告知UE在IMS域变为可达。Step s708 , the HSS stores the received information when needed, and uses it to inform the UE of becoming reachable in the IMS domain through an alarm message when the message waiting bit is set.

步骤s709、在成功完成注册以后,HSS检查消息等待位是否置未,是否需要发起告警流程。Step s709 , after the registration is successfully completed, the HSS checks whether the message waiting bit is not set, and whether an alarm procedure needs to be initiated.

在上述步骤s701~步骤s709的第三方注册流程后,互通服务器获取到了短消息服务中心地址与注册用户的关联关系。在随后的IMS-MO流程中,当互通服务器接收到基于SIP协议的消息并成功的进行互通业务的授权以后,可以根据该基于SIP协议的消息携带的用户信息(一般来说,如果互通服务器在主叫网络就使用主叫用户的信息,否则使用被叫用户的信息)获取在第三方注册时保存的与该用户对应的短消息服务中心地址,并将该短消息服务中心地址添加在格式转换后的短消息中,以便该消息能够被路由到短消息服务中心。对于该过程,与图3所示的现有技术中IMS-MO流程相似,只是增加了互通服务器将获取到的短消息服务中心地址添加在格式转换后的短消息中的步骤,在此不做重复描述。After the third-party registration process in steps s701 to s709, the interworking server obtains the association relationship between the address of the short message service center and the registered user. In the subsequent IMS-MO process, when the interworking server receives the message based on the SIP protocol and successfully authorizes the interworking service, it can use the user information carried in the message based on the SIP protocol (generally, if the interworking server is in the The calling network just uses the information of the calling user, otherwise the information of the called user is used) to obtain the short message service center address corresponding to the user saved when the third party registers, and add the short message service center address in the format conversion in the subsequent short message so that the message can be routed to the short message service center. For this process, it is similar to the IMS-MO process in the prior art shown in Fig. 3, only the step of adding the short message service center address obtained by the interworking server to the short message after the format conversion is added, which is not done here Repeat description.

本发明的实施例四中,以获取方式为:互通服务器根据本地配置的用户信息与对应的短消息服务中心地址的对应关系获取短消息服务中心地址为例,说明本发明中一种基于SIP协议的消息在传统网络中路由的方法的具体实现方式。In Embodiment 4 of the present invention, taking the acquisition method as follows: the intercommunication server obtains the short message service center address according to the corresponding relationship between the locally configured user information and the corresponding short message service center address as an example, to illustrate a method based on the SIP protocol in the present invention. A specific implementation of the method for routing messages in traditional networks.

本实施例中,应用运营商在互通服务器上直接配置用户号码段对应的短消息服务中心的地址信息,使得互通服务器在进行IMS-MO互通业务的时候,能够根据用户信息查到对应的短消息服务中心的地址,使得格式转换后的短信息能够被路由到短消息服务中心。具体的,该配置可以为静态配置,运营商可以根据固定的号码段信息配置对应的短消息服务中心地址,如130/133的用户对应短消息服务中心A,134/135的用户对应短消息服务中心B等;另外,运营商也可以根据网络的负载平衡以及在网络出现的故障为用户动态配置为其服务的短消息服务中心的地址,这样可以更加合理的利用网络资源,优化短信业务的处理。In this embodiment, the application operator directly configures the address information of the short message service center corresponding to the user number segment on the interworking server, so that the interworking server can find the corresponding short message according to the user information when performing the IMS-MO interworking service. The address of the service center, so that the format-converted short message can be routed to the short message service center. Specifically, this configuration can be a static configuration. The operator can configure the corresponding SMS center address according to the fixed number segment information. For example, users of 130/133 correspond to SMS center A, and users of 134/135 correspond to SMS Center B, etc.; in addition, the operator can also dynamically configure the address of the short message service center for the user according to the load balance of the network and the failure of the network, so that the network resources can be used more reasonably and the processing of the short message service can be optimized .

本实施例增加了在互通服务器上直接配置用户信息与短消息服务中心地址的对应关系的步骤后,IMS-MO具体流程和现有技术基本一致,不同的是:当互通服务器接收到基于SIP协议的消息并成功的进行互通业务的授权以后,可以根据该即时消息携带的用户信息(如果互通服务器在主叫网络就使用主叫用户的信息,否则使用被叫用户的信息)找到在配置列表中保存的该用户对应的短消息服务中心地址,在进行互通业务处理时,把短消息服务中心地址携带在格式转换后的短消息中,以便该消息能够被路由到短消息服务中心.对于该过程,在此不做重复描述.In this embodiment, after the step of directly configuring the corresponding relationship between user information and the address of the short message service center on the interworking server is added, the specific flow of IMS-MO is basically the same as that of the prior art. After successfully authorizing the interworking service, it can be found in the configuration list according to the user information carried in the instant message (if the interworking server is in the calling network, use the information of the calling user, otherwise use the information of the called user) The saved short message service center address corresponding to the user, when performing intercommunication business processing, carry the short message service center address in the short message after format conversion, so that the message can be routed to the short message service center. For this process , will not be repeated here.

另外,上述各实施例也可以应用于在处理其他的基于SIP协议的消息和传统的短消息互通的情况。例如对于CPM业务:当主叫CPM用户发送基于SIP协议的消息到另外一个CPM用户时,若该被叫用户在被叫侧网络不可达,则根据运营商的策略和用户的偏好,把该SIP消息路由到被叫侧的互通服务器,使用服务层面的互通业务通过传统域下发该呼叫消息。另外,当主叫CPM用户发送基于SIP协议的消息到另外一个非CPM用户、但该用户是IMS签约用户时,SIP消息被路由到被叫侧的IMS核心网络,通过被叫用户的签约信息,IMS核心网络把该SIP消息路由到被叫侧的互通服务器,使用服务层面的互通业务通过传统域下发该消息。在这两种情况下,都可以通过上述各实施例提供的方案获取短消息服务中心的地址,使得格式转换后的短消息能够路由到短消息服务中心。In addition, the above-mentioned embodiments can also be applied to the situation of processing other messages based on the SIP protocol and interworking with traditional short messages. For example, for the CPM service: when the calling CPM user sends a message based on the SIP protocol to another CPM user, if the called user is unreachable on the called side network, then according to the operator's policy and user preference, the SIP The message is routed to the interworking server on the called side, and the call message is delivered through the traditional domain using the interworking service at the service level. In addition, when the calling CPM user sends a message based on the SIP protocol to another non-CPM user, but the user is an IMS subscriber, the SIP message is routed to the IMS core network on the called side, and through the subscription information of the called user, The IMS core network routes the SIP message to the interworking server on the called side, and uses the interworking service at the service level to deliver the message through the traditional domain. In both cases, the address of the short message service center can be obtained through the solutions provided by the above embodiments, so that the format-converted short message can be routed to the short message service center.

通过使用以上各实施例提供的方法,由互通服务器获取短消息服务中心地址并添加在由基于SIP协议的消息转换后得到的短消息中,使得格式转换后的短消息能够路由到短消息服务中心,实现了基于SIP协议的消息在格式转换后在传统网络中的路由。By using the methods provided in the above embodiments, the interworking server obtains the address of the short message service center and adds it to the short message obtained after the message conversion based on the SIP protocol, so that the format converted short message can be routed to the short message service center , realizing the routing of SIP-based messages in traditional networks after format conversion.

本发明的实施例五中,还提供了一种互通服务器,用于实现基于SIP协议的消息在传统网络中的路由。该互通服务器包括:In the fifth embodiment of the present invention, an interworking server is also provided, which is used to realize the routing of messages based on the SIP protocol in the traditional network. The interworking server includes:

短消息服务中心地址获取单元10,用于接收基于SIP协议的消息,并获取对应的短消息服务中心地址。The short message service center address obtaining unit 10 is configured to receive a message based on the SIP protocol, and obtain a corresponding short message service center address.

转换单元20,用于将该基于SIP协议的消息转换为短消息。The converting unit 20 is configured to convert the message based on the SIP protocol into a short message.

短消息服务中心地址添加单元30,用于将短消息服务中心地址获取单元10获取到的短消息服务中心地址添加在转换单元20转换得到的短消息中并发送。The short message service center address adding unit 30 is configured to add the short message service center address obtained by the short message service center address obtaining unit 10 into the short message converted by the conversion unit 20 and send it.

其中,如图8A所示,短消息服务中心地址获取单元10进一步包括:Wherein, as shown in FIG. 8A, the short message service center address acquisition unit 10 further includes:

第一地址获取子单元11,用于从归属签约服务器HSS上获取与该消息中携带的用户信息对应的短消息服务中心的地址。The first address acquisition subunit 11 is configured to acquire the address of the short message service center corresponding to the user information carried in the message from the home subscription server HSS.

或者,如图8B所示,短消息服务中心地址获取单元10可以进一步包括:Or, as shown in Figure 8B, the short message service center address obtaining unit 10 may further include:

第二地址获取子单元12,用于解析该基于SIP协议的消息,获取该基于SIP协议的消息中携带的短消息服务中心地址。The second address acquiring subunit 12 is configured to parse the SIP-based message, and acquire the short message service center address carried in the SIP-based message.

或者,如图8C所示,短消息服务中心地址获取单元10可以进一步包括:Or, as shown in FIG. 8C, the short message service center address obtaining unit 10 may further include:

关联关系获取子单元13,用于从网络侧接收的第三方注册消息中,获取用户信息与短消息服务中心地址的关联关系;An association relationship acquisition subunit 13, configured to acquire the association relationship between user information and the address of the short message service center from a third-party registration message received from the network side;

第三地址获取子单元14,根据关联关系获取子单元13获取的用户信息与短消息服务中心地址的关联关系,以及该消息中携带的用户信息,获取与该用户对应的短消息服务中心地址。The third address obtaining subunit 14 obtains the short message service center address corresponding to the user according to the association relationship between the user information obtained by the association relation obtaining subunit 13 and the short message service center address, and the user information carried in the message.

或者,如图8D所示,短消息服务中心地址获取单元10可以进一步包括:Or, as shown in FIG. 8D, the short message service center address obtaining unit 10 may further include:

对应关系配置子单元15,用于在本地配置用户信息与短消息服务中心地址的对应关系;Correspondence configuration subunit 15, configured to locally configure the correspondence between user information and the address of the short message service center;

第四地址获取子单元16,用于根据对应关系配置子单元15配置的用户信息与短消息服务中心地址的对应关系,以及该消息中携带的用户信息,获取与该用户对应的短消息服务中心地址。The fourth address acquisition subunit 16 is used to obtain the short message service center corresponding to the user according to the corresponding relationship between the user information configured by the correspondence configuration subunit 15 and the address of the short message service center, and the user information carried in the message address.

通过使用以上各实施例提供的互通服务器,由互通服务器获取短消息服务中心地址并添加在由基于SIP协议的消息转换后得到的短消息中,使得格式转换后的短消息能够路由到短消息服务中心,实现了基于SIP协议的消息在格式转换后在传统网络中的路由.By using the interworking server provided by the above embodiments, the interworking server obtains the short message service center address and adds it to the short message obtained after the message conversion based on the SIP protocol, so that the format converted short message can be routed to the short message service The center implements the routing of SIP-based messages in traditional networks after format conversion.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到本发明可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台设备执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is a better implementation Way. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions to make a The station device executes the methods described in various embodiments of the present invention.

以上公开的仅为本发明的几个具体实施例,但是,本发明并非局限于此,任何本领域的技术人员能思之的变化都应落入本发明的保护范围。The above disclosures are only a few specific embodiments of the present invention, however, the present invention is not limited thereto, and any changes conceivable by those skilled in the art shall fall within the protection scope of the present invention.

Claims (13)

1.一种基于会话初始协议SIP协议的消息在传统网络中路由的方法,其特征在于,包括以下步骤:1. a kind of method based on the message of Session Initiation Protocol SIP protocol routing in traditional network, is characterized in that, comprises the following steps: 接收基于SIP协议的消息,获取与所述消息相关的用户对应的短消息服务中心地址;Receive a message based on the SIP protocol, and obtain the short message service center address corresponding to the user associated with the message; 将所述基于SIP协议的消息转换为短消息,将获取到的所述短消息服务中心地址添加在所述短消息中并将所述短消息经由短消息互通移动交换中心SMS-IWMSC发给所述短消息服务中心。Converting the message based on the SIP protocol into a short message, adding the obtained short message service center address to the short message and sending the short message to the short message via the short message interworking mobile switching center SMS-IWMSC The short message service center. 2.如权利要求1所述基于SIP协议的消息在传统网络中路由的方法,其特征在于,所述获取与所述消息相关的用户对应的短消息服务中心地址具体为:2. the method for the message based on SIP agreement as claimed in claim 1 in traditional network routing method, it is characterized in that, the short message service center address corresponding to the user that described acquisition is relevant with described message is specifically: 从归属签约服务器HSS上获取与所述消息中携带的用户信息对应的短消息服务中心的地址。The address of the short message service center corresponding to the user information carried in the message is acquired from the home subscription server HSS. 3.如权利要求1所述基于SIP协议的消息在传统网络中路由的方法,其特征在于,所述获取与所述消息相关的用户对应的短消息服务中心地址具体为:3. the method for the message based on SIP agreement as claimed in claim 1 in traditional network routing method, it is characterized in that, the short message service center address corresponding to the user that described acquisition is relevant with described message is specifically: 解析所述基于SIP协议的消息,获取所述基于SIP协议的消息中携带的短消息服务中心地址。Analyzing the message based on the SIP protocol to obtain the address of the short message service center carried in the message based on the SIP protocol. 4.如权利要求1所述基于SIP协议的消息在传统网络中路由的方法,其特征在于,所述接收基于SIP协议的消息前,还包括:4. the method for the message based on SIP agreement as claimed in claim 1 in traditional network routing method, it is characterized in that, before described receiving the message based on SIP agreement, also comprise: 从网络侧接收的第三方注册消息中,获取用户信息与短消息服务中心地址的关联关系。From the third-party registration message received by the network side, the association relationship between the user information and the address of the short message service center is obtained. 5.如权利要求4所述基于SIP协议的消息在传统网络中路由的方法,其特征在于,所述获取与所述消息相关的用户对应的短消息服务中心地址具体为:5. the method for the message based on SIP agreement as claimed in claim 4 in traditional network routing method, it is characterized in that, the short message service center address corresponding to the user that described acquisition is relevant with described message is specifically: 根据所述用户信息与短消息服务中心地址的关联关系,以及所述消息中携带的用户信息,获取与所述用户信息对应的短消息服务中心地址。According to the association relationship between the user information and the address of the short message service center, and the user information carried in the message, the address of the short message service center corresponding to the user information is obtained. 6.如权利要求1所述基于SIP协议的消息在传统网络中路由的方法,其特征在于,所述接收基于SIP协议的消息前,还包括:6. the method for the message based on SIP agreement as claimed in claim 1 is routed in traditional network, it is characterized in that, before described receiving the message based on SIP agreement, also comprise: 在本地配置用户信息与短消息服务中心地址的对应关系。Configure the correspondence between user information and the address of the short message service center locally. 7.如权利要求6所述基于SIP协议的消息在传统网络中路由的方法,其特征在于,所述获取与所述消息相关的用户对应的短消息服务中心地址具体为:7. the method for the message based on SIP agreement as claimed in claim 6 in traditional network routing method, it is characterized in that, the short message service center address corresponding to the user that described acquisition is relevant with described message is specifically: 根据所述用户信息与短消息服务中心地址的对应关系,以及所述消息中携带的用户信息,获取与所述用户信息对应的短消息服务中心地址。According to the corresponding relationship between the user information and the address of the short message service center, and the user information carried in the message, the address of the short message service center corresponding to the user information is obtained. 8.如权利要求1至7中任一项所述基于SIP协议的消息在传统网络中路由的方法,其特征在于,所述短消息服务中心地址是主叫方的短消息服务中心地址或被叫方的短消息服务中心地址。8. The method for routing messages based on the SIP protocol in a traditional network as claimed in any one of claims 1 to 7, wherein the short message service center address is the short message service center address of the calling party or is called The short message service center address of the calling party. 9.一种互通服务器,用于实现基于SIP协议的消息在传统网络中的路由,其特征在于,包括:9. An intercommunication server, used to realize routing of messages based on the SIP protocol in a traditional network, is characterized in that, comprising: 短消息服务中心地址获取单元,用于接收基于SIP协议的消息,并获取与所述消息相关的用户对应的短消息服务中心地址;A short message service center address obtaining unit, configured to receive a message based on the SIP protocol, and obtain a short message service center address corresponding to a user related to the message; 转换单元,用于将所述基于SIP协议的消息转换为短消息;A conversion unit, configured to convert the message based on the SIP protocol into a short message; 短消息服务中心地址添加单元,用于将所述短消息服务中心地址获取单元获取到的短消息服务中心地址添加在所述转换单元转换得到的短消息中并将所述短消息经由短消息互通移动交换中心SMS-IWMSC发给所述短消息服务中心.A short message service center address adding unit, configured to add the short message service center address acquired by the short message service center address acquisition unit to the short message converted by the conversion unit and intercommunicate the short message via short message The mobile switching center SMS-IWMSC sends it to the short message service center. 10.如权利要求9所述互通服务器,其特征在于,所述短消息服务中心地址获取单元进一步包括:10. interworking server as claimed in claim 9, is characterized in that, described short message service center address acquiring unit further comprises: 第一地址获取子单元,用于从归属签约服务器HSS上获取与所述消息中携带的用户信息对应的短消息服务中心的地址。The first address obtaining subunit is configured to obtain the address of the short message service center corresponding to the user information carried in the message from the home subscription server HSS. 11.如权利要求9所述互通服务器,其特征在于,所述短消息服务中心地址获取单元进一步包括:11. interworking server as claimed in claim 9, is characterized in that, described short message service center address acquiring unit further comprises: 第二地址获取子单元,用于解析所述基于SIP协议的消息,获取所述基于SIP协议的消息中携带的短消息服务中心地址。The second address obtaining subunit is configured to parse the SIP-based message, and obtain the short message service center address carried in the SIP-based message. 12.如权利要求9所述互通服务器,其特征在于,所述短消息服务中心地址获取单元进一步包括:12. interworking server as claimed in claim 9, is characterized in that, described short message service center address acquiring unit further comprises: 关联关系获取子单元,用于从网络侧接收的第三方注册消息中,获取用户信息与短消息服务中心地址的关联关系;An association relationship acquiring subunit, configured to acquire the association relationship between user information and the address of the short message service center from a third-party registration message received from the network side; 第三地址获取子单元,根据关联关系获取子单元获取的所述用户信息与短消息服务中心地址的关联关系,以及所述消息中携带的用户信息,获取与所述用户对应的短消息服务中心地址。The third address acquisition subunit, according to the association relationship between the user information obtained by the association relationship acquisition subunit and the address of the short message service center, and the user information carried in the message, acquires the short message service center corresponding to the user address. 13.如权利要求9所述互通服务器,其特征在于,所述短消息服务中心地址获取单元进一步包括:13. The interworking server according to claim 9, wherein the short message service center address acquiring unit further comprises: 对应关系配置子单元,用于在本地配置用户信息与短消息服务中心地址的对应关系;The correspondence configuration subunit is used to locally configure the correspondence between user information and the address of the short message service center; 第四地址获取子单元,用于根据所述对应关系配置子单元配置的用户信息与短消息服务中心地址的对应关系,以及所述消息中携带的用户信息,获取与所述用户对应的短消息服务中心地址。The fourth address acquisition subunit is used to obtain the short message corresponding to the user according to the corresponding relationship between the user information configured by the corresponding relationship configuration subunit and the address of the short message service center, and the user information carried in the message Service center address.
CN200710187676.6A 2007-11-20 2007-11-20 Method and device for routing messages in traditional network based on SIP protocol Active CN101442722B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN200710187676.6A CN101442722B (en) 2007-11-20 2007-11-20 Method and device for routing messages in traditional network based on SIP protocol
PCT/CN2008/073123 WO2009065362A1 (en) 2007-11-20 2008-11-20 Method, system and device for routing message based on sip protocol in traditional network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200710187676.6A CN101442722B (en) 2007-11-20 2007-11-20 Method and device for routing messages in traditional network based on SIP protocol

Publications (2)

Publication Number Publication Date
CN101442722A CN101442722A (en) 2009-05-27
CN101442722B true CN101442722B (en) 2010-05-12

Family

ID=40667141

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200710187676.6A Active CN101442722B (en) 2007-11-20 2007-11-20 Method and device for routing messages in traditional network based on SIP protocol

Country Status (2)

Country Link
CN (1) CN101442722B (en)
WO (1) WO2009065362A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102740245A (en) * 2011-04-14 2012-10-17 中国移动通信集团江苏有限公司 Instant messaging transfer method of IP multimedia subsystem and instant messaging application server
CN103327459A (en) * 2012-03-23 2013-09-25 宇龙计算机通信科技(深圳)有限公司 Method and system for sharing short messages and multimedia messages, and mobile terminal
CN114430533B (en) * 2020-10-29 2022-11-04 中国电信股份有限公司 Method and system for realizing terminal calling short message service

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050282565A1 (en) * 2004-06-02 2005-12-22 Interdigital Technology Corporation Reporting terminal capabilities for supporting short message service
CN1859607A (en) * 2005-04-30 2006-11-08 华为技术有限公司 Method for realizing news service based on IP network domain
CN101022575A (en) * 2006-02-13 2007-08-22 华为技术有限公司 Short message transmission system and method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2898996A1 (en) * 2006-03-24 2007-09-28 Orange France Sa METHOD AND SYSTEM FOR TRANSMITTING AN INSTANTANEOUS MESSAGE TO A TERMINAL
CN1929458B (en) * 2006-09-22 2010-05-12 中国移动通信集团公司 System and method for intercommunicating messages between IP multimedia subsystem domain and circuit switching domain
CN1929457B (en) * 2006-09-22 2010-05-12 中国移动通信集团公司 Method for message intercommunication between IMS domain and CS domain

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050282565A1 (en) * 2004-06-02 2005-12-22 Interdigital Technology Corporation Reporting terminal capabilities for supporting short message service
CN1859607A (en) * 2005-04-30 2006-11-08 华为技术有限公司 Method for realizing news service based on IP network domain
CN101022575A (en) * 2006-02-13 2007-08-22 华为技术有限公司 Short message transmission system and method

Also Published As

Publication number Publication date
WO2009065362A1 (en) 2009-05-28
CN101442722A (en) 2009-05-27

Similar Documents

Publication Publication Date Title
US9246706B2 (en) Interworking between messaging services
KR101506029B1 (en) System and method for providing a converged messaging service
JP5080465B2 (en) Method and system for translating messages
EP2486708B1 (en) Method and internet protocol short message gateway (ip-sm-gw) for providing an interworking service between converged ip messaging (cpm) and short message service (sms)
KR101235110B1 (en) Reporting terminal capabilities for supporting short message service
EP2028815A1 (en) The method and system for delivering the message service data
EP2081348A1 (en) Message interworking method, system, entity and message delivery report processing method, system, the entity, terminal for message interworking
US20100087215A1 (en) Method, system, and message service interworking module for implementing message service interworking
US8989151B2 (en) Short messaging service over 3GPP long term evolution
CN101110791A (en) Method and system for implementing bifurcated transmission of short message service in multimedia subsystem
CN101119293A (en) A system, device and method for short message routing
CN103379017B (en) Voice leaving method and system, converged message server and client
CN101442722B (en) Method and device for routing messages in traditional network based on SIP protocol
CN101370172B (en) Method, system and device for processing message service communication of different types
CN101321362B (en) Charging method, system and device
EP2136517B1 (en) Short message delivery
WO2021190496A1 (en) Short message transmission method, apparatus and device
KR20080034072A (en) Method of transmitting heterogeneous message using SIP-based transmission message and user device therefor
CN101374248A (en) Instant message processing method and device
CN100466760C (en) A Realization Method of Message Service Based on IP Network Domain
EP2640029A1 (en) System and method for transmitting multipage multimedia messages, session initiation protocol terminal and multimedia message proxy server
Murthy Nextgen Short Message Gateway architecture for supporting short message services across different IP connectivity access networks
CN106792585A (en) A kind of short message transmission method and device and system
HK1151936B (en) Apparatus, and associated method, for supporting sms messaging by way of an ip network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant