CN101483611B - System, method and apparatus for implementing message service interconnection - Google Patents
System, method and apparatus for implementing message service interconnection Download PDFInfo
- Publication number
- CN101483611B CN101483611B CN2008100001992A CN200810000199A CN101483611B CN 101483611 B CN101483611 B CN 101483611B CN 2008100001992 A CN2008100001992 A CN 2008100001992A CN 200810000199 A CN200810000199 A CN 200810000199A CN 101483611 B CN101483611 B CN 101483611B
- Authority
- CN
- China
- Prior art keywords
- message
- service
- server
- terminal
- mih
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
本发明实施例公开了一种实现消息业务互通的系统、方法和设备。本发明实施例中,在支持MIH协议的接入网络中设置消息服务器,该消息服务器与自身所在接入网络中的终端通过MIH协议进行业务消息传输,与存储转发服务器通过存储转发服务器所在网络所支持的协议进行业务消息传输,并将业务消息在MIH协议格式和存储转发服务器所在网络所支持的消息格式之间进行转换处理的技术方案,使得支持MIH协议的接入网络能实现业务消息的传输。
The embodiment of the invention discloses a system, method and equipment for realizing message service interworking. In the embodiment of the present invention, a message server is set in the access network supporting the MIH protocol, and the message server and the terminal in the access network where it is located perform service message transmission through the MIH protocol, and the store-and-forward server communicates with the store-and-forward server through the network where the store-and-forward server is located. Supported protocols for business message transmission, and a technical solution for converting business messages between the MIH protocol format and the message format supported by the network where the store-and-forward server is located, so that the access network supporting the MIH protocol can realize the transmission of business messages .
Description
技术领域technical field
本发明涉及网络通信技术领域,尤指一种实现消息业务互通的系统、方法和装置。The invention relates to the technical field of network communication, in particular to a system, method and device for realizing message service intercommunication.
背景技术Background technique
IEEE 802.21工作组制定了有线和无线以及无线和无线接入技术之间的媒体独立切换(MIH,Media Independent Handover)的标准框架,所涉及的接入技术包括:对应于局域网(LAN,local area network)的802.3、对应于无线局域网(WLAN,Wireless Local area Network)的802.11、对应于无线城域网(WMAN,Wireless Metropolitan Area Network)的802.16、对应于无线个域网(WPAN,Wireless Personal Area Network)的802.15以及3GPP/3GPP2的2G、3G网络等。The IEEE 802.21 working group has developed a standard framework for Media Independent Handover (MIH, Media Independent Handover) between wired and wireless and wireless and wireless access technologies. The access technologies involved include: corresponding to LAN (local area network) ), 802.11 corresponding to Wireless Local Area Network (WLAN, Wireless Local Area Network), 802.16 corresponding to Wireless Metropolitan Area Network (WMAN, Wireless Metropolitan Area Network), corresponding to Wireless Personal Area Network (WPAN, Wireless Personal Area Network) 802.15 and 3GPP/3GPP2 2G and 3G networks.
图1是媒体独立切换的标准框架的原理示意图。如图1所示,IEEE 802.21工作组引入一个媒体独立切换功能(MIHF,Media Independent HandoverFunction)逻辑层,介于高层和底层之间,其中,高层包括:IP、MIP、SIP、HIP、传输层以及应用层等,底层包括数据链路层。在图1中,MIHF实体通过媒体独立的事件服务(MIES,Media Independent Event Service)、媒体独立的指令服务(MICS,Media Independent Command Service)和媒体独立的信息服务(MIIS,Media Independent Information Service)与不同的底层接入技术间的相互作用以及与对等MIHF的通信来屏蔽底层接入技术的异构性,使高层无须了解底层接入技术的差异,简化了网络的操作和管理。IEEE802.21中定义的MIHF标识(ID)在对等的MIHF实体间交互的时候唯一的标识一个MIHF实体。MIHF ID在网管系统对MIHF进行初始化的时候配置,可以是MIHF实体所在设备的全域名(FQDN,Fully Qualified Domain Name)号或网络接入标识符(NAI,Network Access Identifier)。FIG. 1 is a schematic diagram of a standard framework of media independent switching. As shown in Figure 1, the IEEE 802.21 working group introduces a media independent handover function (MIHF, Media Independent Handover Function) logic layer, which is between the upper layer and the lower layer. The upper layer includes: IP, MIP, SIP, HIP, transport layer and Application layer, etc., the bottom layer includes the data link layer. In Figure 1, the MIHF entity communicates with the media independent event service (MIES, Media Independent Event Service), media independent command service (MICS, Media Independent Command Service) and media independent information service (MIIS, Media Independent Information Service) The interaction between different bottom access technologies and the communication with the peer MIHF shield the heterogeneity of the bottom access technologies, so that the upper layer does not need to understand the differences of the bottom access technologies, and simplifies the operation and management of the network. The MIHF identifier (ID) defined in IEEE802.21 uniquely identifies an MIHF entity when peer MIHF entities interact. The MIHF ID is configured when the network management system initializes the MIHF. It can be the fully qualified domain name (FQDN, Fully Qualified Domain Name) number or the network access identifier (NAI, Network Access Identifier) of the device where the MIHF entity is located.
在现有的通信网络中存在各种各样的消息类业务,例如:短消息业务(SMS,Short Message Service)、增强短消息业务(EMS,Enhanced MessagingService)、统一消息业务(UMS,Unified Message Service)、多媒体消息业务(MMS,Multimedia Message Service)、非结构化补充数据业务(USSD,Unstructured Supplementary Service Data)业务以及扩展的天气预报消息业务和广告消息业务等等。There are various message services in the existing communication network, such as: Short Message Service (SMS, Short Message Service), Enhanced Short Message Service (EMS, Enhanced Messaging Service), Unified Message Service (UMS, Unified Message Service) ), multimedia message service (MMS, Multimedia Message Service), unstructured supplementary data service (USSD, Unstructured Supplementary Service Data) service, extended weather forecast message service and advertisement message service, etc.
当支持多种接入技术的终端在异构的网络环境中移动就带来了消息类业务的互通的问题,即不同接入技术的接入网之间不能实现消息类业务的互通。When a terminal supporting multiple access technologies moves in a heterogeneous network environment, the problem of intercommunication of message services is brought about, that is, the intercommunication of message services cannot be realized between access networks of different access technologies.
发明内容Contents of the invention
本发明实施例提供了一种实现消息业务互通的系统,该系统使得支持MIH协议的接入网络都能实现业务消息的传输。The embodiment of the present invention provides a system for realizing message service interworking, and the system enables all access networks supporting the MIH protocol to realize the transmission of service messages.
本发明实施例提供了一种实现消息业务互通的方法,该方法使得支持MIH协议的接入网络都能实现业务消息的传输。The embodiment of the present invention provides a method for realizing message service intercommunication, which enables all access networks supporting the MIH protocol to realize the transmission of service messages.
本发明实施例还提供了一种消息服务器和终端,该消息服务器和终端使得其所在的支持MIH协议的接入网络能够实现业务消息的传输。The embodiment of the present invention also provides a message server and terminal, which enable the access network where the message server and terminal are located and which supports the MIH protocol to realize the transmission of service messages.
为达到上述目的,本发明的技术方案具体是这样实现的:In order to achieve the above object, the technical solution of the present invention is specifically realized in the following way:
本发明实施例公开了一种实现消息业务互通的系统,该系统包括:存储转发服务器和设置于支持媒体独立切换MIH协议的接入网络中的消息服务器,其中,The embodiment of the present invention discloses a system for realizing message service intercommunication. The system includes: a store-and-forward server and a message server set in an access network supporting the Media Independent Handover (MIH) protocol, wherein,
所述消息服务器包括:媒体独立切换模块、格式转换模块和收发模块;The message server includes: a media independent switching module, a format conversion module and a transceiver module;
所述媒体独立切换模块,用于接收终端发送的MIH格式的业务消息,将来自终端的MIH格式的业务消息发送给格式转换模块;将来自格式转换模块的MIH格式的业务消息发送给终端;The media independent switching module is used to receive the service message in MIH format sent by the terminal, and send the service message in MIH format from the terminal to the format conversion module; send the service message in MIH format from the format conversion module to the terminal;
所述格式转换模块,用于接收媒体独立切换模块发送的MIH格式的业务消息,并将所述MIH格式的业务消息以存储转发服务器所在网络支持的消息格式发送至收发模块;接收收发模块发送的业务消息,并将所述收发模块发送的业务消息以MIH格式发送至媒体独立切换模块;The format conversion module is used to receive the business message of the MIH format sent by the media independent switching module, and send the business message of the MIH format to the transceiver module in a message format supported by the network where the storage and forwarding server is located; A service message, and send the service message sent by the transceiver module to the media independent switching module in MIH format;
所述收发模块,用于接收存储转发服务器发送的业务消息,将来自存储转发服务器的业务消息发送给格式转换模块;将来自格式转换模块的业务消息发送给存储转发服务器;The transceiver module is used to receive the service message sent by the store-and-forward server, send the service message from the store-and-forward server to the format conversion module; send the service message from the format conversion module to the store-and-forward server;
所述存储转发服务器,用于接收业务消息,并根据所述业务消息的接收方路由信息将业务消息发送出去。The store-and-forward server is configured to receive the service message, and send the service message according to the receiver routing information of the service message.
本发明实施例公开了一种实现消息业务互通的方法,其特征在于,该方法包括:The embodiment of the present invention discloses a method for realizing message service interworking, which is characterized in that the method includes:
接收终端发送的MIH格式的业务消息,根据所述MIH格式的业务消息确定对应的存储转发服务器,将所述MIH格式的业务消息以存储转发服务器所在网络支持的消息格式,发送给所述存储转发服务器。Receiving the service message in MIH format sent by the terminal, determining the corresponding store-and-forward server according to the service message in MIH format, and sending the service message in MIH format to the store-and-forward server in a message format supported by the network where the store-and-forward server is located server.
本发明实施例公开了消息服务器,该消息服务器包括:媒体独立切换模块、格式转换模块和收发模块,其中,The embodiment of the present invention discloses a message server, the message server includes: a media independent switching module, a format conversion module and a sending and receiving module, wherein,
媒体独立切换模块,用于接收终端发送的MIH格式的业务消息,将来自终端的MIH格式的业务消息发送给格式转换模块;将来自格式转换模块的MIH格式的业务消息发送给终端;The media independent switching module is used to receive the service message in MIH format sent by the terminal, and send the service message in MIH format from the terminal to the format conversion module; send the service message in MIH format from the format conversion module to the terminal;
格式转换模块,用于接收媒体独立切换模块发送的MIH格式的业务消息,并将所述MIH格式的业务消息以存储转发服务器所在网络支持的消息格式发送至收发模块;接收收发模块发送的业务消息,并将所述收发模块发送的业务消息以MIH格式发送至媒体独立切换模块;The format conversion module is used to receive the business message of the MIH format sent by the media independent switching module, and send the business message of the MIH format to the transceiver module in the message format supported by the network where the storage and forwarding server is located; receive the business message sent by the transceiver module , and sending the service message sent by the transceiver module to the media independent switching module in MIH format;
收发模块,用于接收存储转发服务器发送的业务消息,将来自存储转发服务器的业务消息发送给格式转换模块;将来自格式转换模块的业务消息发送给存储转发服务器。The transceiver module is used to receive the service message sent by the store-and-forward server, send the service message from the store-and-forward server to the format conversion module, and send the service message from the format conversion module to the store-and-forward server.
本发明实施例还公开了一种终端,该终端包括:媒体独立切换模块;The embodiment of the present invention also discloses a terminal, which includes: a media independent switching module;
所述媒体独立切换模块,用于向消息服务器发送MIH格式的业务消息;接收消息服务器发送的MIH格式的业务消息。The media independent switching module is used to send the service message in MIH format to the message server; and receive the service message in MIH format sent by the message server.
由上述技术方案可见,在本发明实施例中,在支持MIH协议的接入网络中设置消息服务器;该消息服务器与自身所在接入网络中的终端通过MIH协议进行业务消息传输,与存储转发服务器通过存储转发服务器所在网络所支持的协议进行业务消息传输,并将业务消息在MIH协议格式和存储转发服务器所在网络所支持的协议格式之间进行转换处理的技术方案,使得支持MIH协议的接入网络都能实现业务消息的传输。It can be seen from the above technical solution that in the embodiment of the present invention, a message server is set in the access network supporting the MIH protocol; the message server and the terminal in the access network where it is located carry out service message transmission through the MIH protocol, and store and forward server Transmit business messages through the protocol supported by the network where the store-and-forward server is located, and convert business messages between the MIH protocol format and the protocol format supported by the network where the store-and-forward server is located, so as to support the access of the MIH protocol The network can realize the transmission of business messages.
附图说明Description of drawings
图1是现有技术中媒体独立的切换的标准框架的原理示意图;FIG. 1 is a schematic diagram of the principle of a standard framework for media-independent switching in the prior art;
图2是本发明一种实现消息业务互通的系统的第一实施例架构图;FIG. 2 is an architecture diagram of a first embodiment of a system for realizing message service interworking according to the present invention;
图3是图4中属于同一接入网络的终端和MS Server的协议架构示意图;Fig. 3 is a schematic diagram of the protocol architecture of terminals belonging to the same access network and MS Server in Fig. 4;
图4是本发明实施例终端订阅消息服务的流程;FIG. 4 is a flow chart of a terminal subscribing to a message service according to an embodiment of the present invention;
图5是本发明实施例终端发送业务消息的流程图;FIG. 5 is a flowchart of a terminal sending a service message according to an embodiment of the present invention;
图6是本发明实施例终端接收业务消息的流程图;FIG. 6 is a flowchart of a terminal receiving a service message according to an embodiment of the present invention;
图7是本发明实施例终端发起的取消订阅的流程图;FIG. 7 is a flow chart of unsubscribing initiated by a terminal according to an embodiment of the present invention;
图8是本发明实施例MS Server发起的取消订阅的流程图;Fig. 8 is the flow chart of canceling the subscription that MS Server initiates in the embodiment of the present invention;
图9是本发明一种实现消息业务互通的系统的第二实施例架构图;FIG. 9 is a structure diagram of a second embodiment of a system for realizing message service interworking according to the present invention;
图10是本发明实施例实现短消息业务互通的系统结构框图;FIG. 10 is a block diagram of a system structure for realizing short message service interworking according to an embodiment of the present invention;
图11是图10中UE1发送短消息的流程图;FIG. 11 is a flowchart of UE1 sending a short message in FIG. 10;
图12是图10中UE1接收短消息的流程图;FIG. 12 is a flowchart of UE1 receiving a short message in FIG. 10;
图13是本发明实施例支持MIH的接入网络和IP网络之间实现消息业务互通的系统结构框图;13 is a block diagram of a system structure for implementing message service interworking between an access network supporting MIH and an IP network according to an embodiment of the present invention;
图14是图13中的UE1发送业务消息的流程图;FIG. 14 is a flow chart of sending a service message by UE1 in FIG. 13;
图15是图13中的UE1接收业务消息的流程图;FIG. 15 is a flowchart of UE1 receiving a service message in FIG. 13;
图16是本发明实施例一种消息服务器的结构框图;Fig. 16 is a structural block diagram of a message server according to an embodiment of the present invention;
图17是本发明实施例一种终端的结构框图。Fig. 17 is a structural block diagram of a terminal according to an embodiment of the present invention.
具体实施方式Detailed ways
在背景技术中提到,IEEE 802.21工作组制定了有线和无线以及无线与无线接入技术之间的媒体独立的切换的标准框架。在该框架中,IEEE 802.21工作组引入一个MIHF逻辑层,该MIHF逻辑层介于高层和底层之间,为高层提供统一的接口,屏蔽了底层接入技术的异构性,使得高层无须了解底层接入技术的差异。同时对于支持IEEE 802.21协议的网络,无论接入技术是否相同,均可以基于MIHF进行交互。As mentioned in the background art, the IEEE 802.21 working group has formulated a standard framework for media-independent handover between wired and wireless, and wireless and wireless access technologies. In this framework, the IEEE 802.21 working group introduces a MIHF logic layer, which is between the high-level and the bottom layer, provides a unified interface for the high-level layer, shields the heterogeneity of the bottom-layer access technology, and makes the high-level layer do not need to understand the bottom layer Differences in access technology. At the same time, for networks that support the IEEE 802.21 protocol, regardless of whether the access technology is the same, they can interact based on MIHF.
因此,本申请的发明人基于IEEE 802.21的MIHF网络架构提出了消息类业务的互通系统架构,为当前的异构环境中支持消息互通的问题给出了的通用的解决方案,使得在支持IEEE 802.21工作组制定的MIH协议的异构网络环境中能够直接发送业务消息。Therefore, the inventor of the present application proposed an interworking system architecture for message services based on the MIHF network architecture of IEEE 802.21, and provided a general solution for the problem of supporting message interworking in the current heterogeneous environment, making it possible to support IEEE 802.21 The MIH protocol developed by the working group can directly send business messages in the heterogeneous network environment.
为使本发明的目的、技术方案及优点更加清楚明白,以下参照附图并举较佳实施例,对本发明进一步详细说明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and preferred embodiments.
图2是本发明一种实现消息业务互通的系统的第一实施例架构图。如图2所示,该系统包括:存储转发服务器、路由信息服务器、设置于支持MIH协议的不同接入网络中的消息服务器(MS Server)和支持MIH协议的终端。这里,支持MIH协议的接入网络是指该接入网络能够使MS Server和终端用MIH协议进行通信。在本实施例中,对于所涉及的不同的接入网络,以无线局域网(802.11)、无线城域网(802.16)、无线个域网(802.15)和3GPP/3GPP2网络为例进行说明。Fig. 2 is a structure diagram of the first embodiment of a system for implementing message service interworking according to the present invention. As shown in Figure 2, the system includes: a store-and-forward server, a routing information server, a message server (MS Server) set in different access networks supporting the MIH protocol, and a terminal supporting the MIH protocol. Here, the access network supporting the MIH protocol means that the access network can enable the MS Server and the terminal to communicate using the MIH protocol. In this embodiment, the different access networks involved are described by taking wireless local area network (802.11), wireless metropolitan area network (802.16), wireless personal area network (802.15) and 3GPP/3GPP2 network as examples.
在图2所示的系统中:In the system shown in Figure 2:
各接入网络中的终端,使用MIH协议与自身所在接入网络的MS server进行通信,以实现将自身的MIHF ID注册到MS Server、向MS Server订阅特定的消息类业务、取消特定消息类业务的订阅以及接收和发送MIH格式的消息。The terminals in each access network use the MIH protocol to communicate with the MS server of the access network where they are located, so as to register their own MIHF ID to the MS Server, subscribe to the MS Server for specific message services, and cancel specific message services Subscribe to and receive and send messages in MIH format.
MS Server,支持终端的注册和取消注册,支持终端的消息类业务的订阅和取消订阅;向路由信息服务器注册本网络终端的路由信息;根据存储转发服务器所在的网络,对来自本网络终端的MIH格式的消息进行转换处理后发送至存储转发服务器;将来自存储转发服务器的消息转换成MIH格式后发送至本网络终端。MS Server可以是一个单独的网络设备,也可以集成在其它现有网络的一些网络设备中,比如网关设备。MS Server, supports terminal registration and deregistration, and supports terminal message service subscription and unsubscription; registers the routing information of the network terminal with the routing information server; according to the network where the store and forward server is located, MIH from the network terminal Format messages are converted and sent to the store-and-forward server; messages from the store-and-forward server are converted into MIH format and then sent to the network terminal. MS Server can be an independent network device, or it can be integrated in some network devices of other existing networks, such as gateway devices.
存储转发服务器,用于接收来自MS Server的消息并进行存储;向路由信息服务器查询自身存储的消息的目的地路由信息;根据所查询的路由信息发送所存储的消息。The store-and-forward server is used to receive and store messages from the MS Server; query the routing information server for the destination routing information of the messages stored by itself; send the stored messages according to the queried routing information.
路由信息服务器,支持MS Server的终端路由信息注册,并将注册信息添加到自身的路由表中;支持存储转发服务器的路由查询请求,并返回查询结果。The routing information server supports MS Server terminal routing information registration, and adds the registration information to its own routing table; supports storing and forwarding server routing query requests, and returns query results.
存储转发服务器和路由信息服务器位于核心网中。不同的接入网络可能有相同的核心网,也可能有各自的核心网络。当不同的接入网络具有不同的核心网时,存储转发服务器和路由信息服务器可以位于其中的任意一个核心网中;也可以在不同的核心网中都存在存储转发服务器和路由信息服务器,即多个核心网中都存在存储转发服务器和路由信息服务器,这时多个存储转发服务器之间也需要传输业务消息。并且存储转发服务器和路由信息服务器的数量可以根据具体的网络环境和具体的业务进行任意的配置。The store-and-forward server and the routing information server are located in the core network. Different access networks may have the same core network, or may have their own core networks. When different access networks have different core networks, the store-and-forward server and routing information server can be located in any one of the core networks; There are store-and-forward servers and routing information servers in each core network, and service messages need to be transmitted between multiple store-and-forward servers at this time. In addition, the number of store-and-forward servers and routing information servers can be configured arbitrarily according to specific network environments and specific services.
在图2中,MS Server根据存储转发服务器所在的网络,对来自本网络终端的MIH格式的消息进行转换处理后发送至存储转发服务器的具体实现可以为:在MS Server所在的接入网络中,用MIHF ID来标识MS Server和终端,例如,MS Server的MIHF ID为该MS Server的FQDN或NAI号,终端的MIHF ID为该终端的FQDN或NAI号。随着终端的移动,终端的MIHFID在支持MIH的网络中保持不变。在注册时,终端将自身在本网络中的MIHF ID和自身在存储转发服务器所在网络中的标识发送给MS Server。为描述方便,以后将终端在存储转发服务器所在网络中的标识称为终端的服务网络标识。MS Server保存终端的MIHF ID和服务网络标识之间的关联关系。在消息订阅或取消订阅时,终端向MS Server订阅或取消订阅特定的消息业务。当MS Server接收到来自终端的MIH格式的消息后,根据消息中携带终端的MIHF ID查询对应的服务网络标识,根据服务网络标识获知存储转发服务器所在的网络类型,将所接收的MIH格式的消息转换成存储转发服务器所在的网络所支持的消息格式后再发送至存储转发服务器。In Fig. 2, according to the network where the store-and-forward server is located, the MS Server converts and processes the message in MIH format from the network terminal and then sends it to the store-and-forward server. Use the MIHF ID to identify the MS Server and the terminal. For example, the MIHF ID of the MS Server is the FQDN or NAI number of the MS Server, and the MIHF ID of the terminal is the FQDN or NAI number of the terminal. As the terminal moves, the MIHFID of the terminal remains unchanged in the network supporting MIH. When registering, the terminal sends its own MIHF ID in the network and its identity in the network where the store-and-forward server is located to the MS Server. For the convenience of description, the identifier of the terminal in the network where the store-and-forward server is located will be referred to as the service network identifier of the terminal hereinafter. The MS Server saves the relationship between the MIHF ID of the terminal and the service network identifier. When subscribing or unsubscribing a message, the terminal subscribes or unsubscribes a specific message service to the MS Server. When the MS Server receives the message in MIH format from the terminal, it queries the corresponding service network identifier according to the MIHF ID of the terminal carried in the message, obtains the network type of the store-and-forward server according to the service network identifier, and transfers the received message in MIH format Convert it into a message format supported by the network where the store-and-forward server is located, and then send it to the store-and-forward server.
图3是图2中属于同一接入网络的终端和MS Server的协议架构示意图。如图3所示,终端包括:消息应用层(MAL,Message Application Layer)和媒体独立切换功能(MIHF);MS Server包括:媒体独立切换功能(MIHF)、消息中继层(MRL,Message Relay Layer)和消息链路层(MLL,Message LinkLayer)。其中:Fig. 3 is a schematic diagram of the protocol architecture of the terminal and the MS Server belonging to the same access network in Fig. 2 . As shown in Figure 3, the terminal includes: message application layer (MAL, Message Application Layer) and media independent handover function (MIHF); MS Server includes: media independent handover function (MIHF), message relay layer (MRL, Message Relay Layer ) and message link layer (MLL, Message LinkLayer). in:
终端的MAL,用于与对等的MAL交互,实现消息服务的功能,即在终端发送出的消息中添加应用层的信息,以及解析终端所接收消息中的应用层信息。The MAL of the terminal is used to interact with the peer-to-peer MAL to realize the message service function, that is, adding application layer information to the message sent by the terminal, and analyzing the application layer information in the message received by the terminal.
终端的MIHF,用于通过MIH协议与MS Server中的MIHF交互,实现消息业务的订阅和取消订阅,将消息以MIH格式发送至MS Server中的MIHF,接收来自MS Server的MIHF发送的消息。The MIHF of the terminal is used to interact with the MIHF in the MS Server through the MIH protocol, realize the subscription and unsubscription of the message service, send the message to the MIHF in the MS Server in MIH format, and receive the message sent from the MIHF of the MS Server.
MS Server的MIHF,用于终端侧的MIHF交互,接收消息业务的订阅、取消订阅,发送错误响应,将来自终端的MIH格式的消息发送给MRL,将来自MRL的消息发送给终端的MIHF。The MIHF of MS Server is used for MIHF interaction on the terminal side, receiving subscription and unsubscription of message services, sending error responses, sending messages in MIH format from the terminal to MRL, and sending messages from MRL to MIHF of the terminal.
MS Server的MRL,实现消息格式的转换,即将MIH格式的消息转换成存储转发服务器所在网络所支持的消息,以及将存储转发服务器发送的消息转换成MIH格式。The MRL of MS Server realizes the conversion of message format, that is, the message in MIH format is converted into the message supported by the network where the store-and-forward server is located, and the message sent by the store-and-forward server is converted into MIH format.
MS Server的MLL,将MRL转换后的消息发送出去,以及将接收的消息发送至MRL进行转换处理。The MLL of MS Server sends the message converted by MRL, and sends the received message to MRL for conversion processing.
本发明实施例中,使用MIH协议实现消息服务的订阅和取消订阅是指使用MIH协议的报文格式,完成订阅和取消订阅消息服务的功能。这里,订阅消息服务是指,在订阅成功后终端就可以发送和接收所订阅的消息服务涉及的消息。使用MIH协议实现消息的发送和接收是指将消息的内容和相应的参数或错误响应封装到MIH的报文中,或者在MIH的报文中定义与消息报文中对应的选项。MRL完成消息的格式转换的功能是指MRL读取使用MIH协议发送的消息的内容,将对应的内容封装成存储转发服务器所在网络消息的格式发送出去,即MRL根据MIH协议发送的消息的头部中获取消息的源MIHF ID和消息的业务类型信息并在消息的数据部分封装消息的内容,根据MIHF ID查找其在存储转发服务器所在网络中的标识,根据所述其在存储转发服务器所在网络中的标识或消息的业务类型信息将消息的内容封装成存储转发服务器所在网络支持的消息内容的格式,其源地址使用消息的源MIHF ID对应的在存储转发服务器所在网络中的标识;MRL读取存储转发服务器所在网络发送的消息的内容,将对应的内容封装成MIH协议报文的格式发送出去,即MRL根据读取的存储转发服务器所在网络发送的消息的目的地址、消息的业务类型信息和消息的内容,根据消息的目的地址查找其在MIH网络中的MIHF ID,将消息封装成MIH消息的格式,目的地址使用消息的目的地址对应的在MIH网络中的MIHF ID,将消息的业务类型信息封装到MIH消息的格式的头部中,将消息的其它内容封装到消息的数据部分。In the embodiment of the present invention, using the MIH protocol to realize the subscription and unsubscription of the message service refers to using the message format of the MIH protocol to complete the function of subscribing and unsubscribing the message service. Here, subscribing to a message service means that after a successful subscription, the terminal can send and receive messages related to the subscribed message service. Using the MIH protocol to send and receive messages refers to encapsulating message content and corresponding parameters or error responses into MIH messages, or defining options corresponding to message messages in MIH messages. The function of MRL to complete message format conversion means that MRL reads the content of the message sent using the MIH protocol, encapsulates the corresponding content into the format of the network message where the store-and-forward server is located, and sends it out, that is, the header of the message sent by MRL according to the MIH protocol Obtain the source MIHF ID of the message and the service type information of the message and encapsulate the content of the message in the data part of the message, find its identifier in the network where the store-and-forward server is located according to the MIHF ID, and according to the information in the network where the store-and-forward server is located The ID of the message or the service type information of the message encapsulates the content of the message into a format supported by the network where the store-and-forward server is located, and its source address uses the ID corresponding to the source MIHF ID of the message in the network where the store-and-forward server is located; MRL reads The content of the message sent by the network where the store-and-forward server is located encapsulates the corresponding content into the format of the MIH protocol message and sends it out, that is, the MRL reads the destination address of the message sent by the network where the store-and-forward server is located, the service type information and According to the content of the message, look up its MIHF ID in the MIH network according to the destination address of the message, encapsulate the message into the format of the MIH message, use the MIHF ID corresponding to the destination address of the message in the MIH network as the destination address, and set The information is encapsulated into the header of the format of the MIH message, and other contents of the message are encapsulated into the data part of the message.
本发明实施例中,终端进入一个接入网络后,发现该接入网络中的MSServer的方法有多种,例如:将MS server的地址预先配置在终端中,此时无需特定的发现机制;或者,将MS server的地址配置在接入网的第一跳(PoA或者PoS)中,终端在接入网络的时候就可以获得MS server的地址;或者,在网络中设置保存MS server地址信息的目录服务器,终端通过在目录服务器查询获得MS server的地址;再或者,MS server位于特定的组播域中,终端通过发送组播的方式获得一个或多个MS server的地址等。MS Server的地址信息可以为MS Server的MIHF ID。In the embodiment of the present invention, after the terminal enters an access network, there are many methods for discovering the MSServer in the access network, for example: the address of the MS server is pre-configured in the terminal, and no specific discovery mechanism is required at this time; or , configure the address of the MS server in the first hop (PoA or PoS) of the access network, and the terminal can obtain the address of the MS server when it accesses the network; or, set a directory to save the address information of the MS server in the network The server and the terminal obtain the address of the MS server by querying the directory server; or, the MS server is located in a specific multicast domain, and the terminal obtains the addresses of one or more MS servers by sending multicast. The address information of the MS Server can be the MIHF ID of the MS Server.
终端发现MS Server后,向MS Server注册自身的MIHF ID;MS Server在接受终端的注册后,向终端返回注册成功消息。终端在向MS Server注册后的任何时刻,都可以向MS Server订阅消息服务。After the terminal discovers the MS Server, it registers its own MIHF ID with the MS Server; after the MS Server accepts the terminal's registration, it returns a registration success message to the terminal. At any time after the terminal registers with the MS Server, it can subscribe to the message service with the MS Server.
图4是本发明实施例终端订阅消息服务的流程。如图4所示,包括以下步骤:FIG. 4 is a flowchart of a terminal subscribing to a message service according to an embodiment of the present invention. As shown in Figure 4, the following steps are included:
步骤401,终端向消息服务器MS Server发送订阅请求消息。Step 401, the terminal sends a subscription request message to the message server MS Server.
本步骤中,终端发送的订阅请求消息是MIH格式的报文,且其中包括:终端的MIHF ID(源MIHF标识)、MS Server的MIHF ID(目标MIHF标识)、终端的服务网络标识以及所请求订阅的消息服务的业务类型等信息。In this step, the subscription request message sent by the terminal is a message in MIH format, and includes: the MIHF ID (source MIHF identification) of the terminal, the MIHF ID (target MIHF identification) of the MS Server, the service network identification of the terminal, and the requested Information such as the business type of the subscribed message service.
步骤402,MS Server向路由信息服务器发送注册请求消息,其中携带终端的服务网络标识和终端当前的路由信息。Step 402, the MS Server sends a registration request message to the routing information server, which carries the terminal's service network identifier and the terminal's current routing information.
本步骤中,终端的当前路由信息具体可以为MS Server的地址。这是,因为终端当前在MS Server所管理的网络中,如果需要发送消息给终端,则先将消息路由到MS Server。In this step, the current routing information of the terminal may specifically be the address of the MS Server. This is because the terminal is currently in the network managed by MS Server, if a message needs to be sent to the terminal, the message will be routed to MS Server first.
步骤403,路由信息服务器保存终端的服务网络标识,并对应地保存终端当前的路由信息,然后向MS Server返回注册成功消息。Step 403, the routing information server saves the service network identifier of the terminal, and correspondingly saves the current routing information of the terminal, and then returns a registration success message to the MS Server.
步骤404,MS Server接收到注册成功消息后,保存终端的MIHF ID,并对应地保存终端的服务网络标识。Step 404, after receiving the successful registration message, the MS Server saves the MIHF ID of the terminal, and correspondingly saves the service network identifier of the terminal.
MS Server也可以在接收到终端的订阅请求消息后的任何时刻便保存终端的MIHF ID。MS Server can also save the MIHF ID of the terminal at any time after receiving the subscription request message from the terminal.
步骤405,MS Server向终端返回订阅确认消息。In step 405, the MS Server returns a subscription confirmation message to the terminal.
本步骤中,MS Server向终端返回的订阅确认消息是MIH格式的报文。In this step, the subscription confirmation message returned by the MS Server to the terminal is a message in MIH format.
在图4所示的上述流程中,如果因为发生错而误导致订阅流程失败,则MS Server在步骤405中向终端返回订阅失败消息,订阅失败消息中携带错误代码或错误原因信息以及Ms server的MIHF ID(源MIHF标识)和终端的MIHF ID(目的MIHF标识)等内容。In the above process shown in Figure 4, if the subscription process fails due to an error, the MS Server returns a subscription failure message to the terminal in step 405, and the subscription failure message carries the error code or error reason information and the Ms server MIHF ID (source MIHF identification) and terminal MIHF ID (destination MIHF identification) and other content.
终端通过图4所示的流程订阅消息服务后,便可以接收和发送所订阅的业务消息。After the terminal subscribes to the message service through the process shown in Figure 4, it can receive and send the subscribed service message.
图5是本发明实施例终端发送业务消息的流程图。如图5所示,包括以下步骤:Fig. 5 is a flowchart of a terminal sending a service message according to an embodiment of the present invention. As shown in Figure 5, it includes the following steps:
步骤501,终端向MS Server发送消息。Step 501, the terminal sends a message to the MS Server.
本步骤中,终端发送的是MIH格式的业务消息,其中包括:终端的MIHFID(源MIHF标识)、MS Server的MIHF ID(目的MIHF标识)、消息的业务类型和消息的主体内容和业务消息接收方的标识。业务消息接收方的标识是业务消息接收方的服务网络标识。In this step, what the terminal sent was a service message in MIH format, which included: the MIHF ID (source MIHF identification) of the terminal, the MIHF ID (destination MIHF identification) of the MS Server, the business type of the message and the main content of the message and the reception of the service message Party ID. The identifier of the service message receiver is the service network identifier of the service message receiver.
步骤502,MS Server接收到终端发送的业务消息后,根据业务消息中携带的终端MIHF ID从自身保存的内容中查找出终端的服务网络标识,根据消息的业务类型或服务网络标识对所接收的业务消息进行格式转换处理。Step 502, after the MS Server receives the service message sent by the terminal, it searches out the service network identifier of the terminal from the content saved by itself according to the terminal MIHF ID carried in the service message, and compares the received service network identifier according to the service type or service network identifier of the message Business messages are format converted.
本步骤中,MS Server根据服务网络标识对所接收的业务消息进行格式转换处理为:MS Server根据终端的服务网络标识确定存储转发服务器所在网络的类型,根据消息的业务类型将所接收的业务消息格式转换成存储转发服务器所在网络所支持的业务消息的格式。In this step, MS Server converts the format of the received service message according to the service network identifier as follows: MS Server determines the type of network where the store-and-forward server is located according to the service network identifier of the terminal, and transforms the received service message according to the service type of the message The format is converted into the format of the service message supported by the network where the store-and-forward server is located.
步骤503,MS Server将格式转换后的业务消息发送至存储转发服务器,且该业务消息中携带终端的服务网络标识和业务消息接收方的服务网络标识。In step 503, the MS Server sends the format-converted service message to the store-and-forward server, and the service message carries the service network identifier of the terminal and the service network identifier of the recipient of the service message.
本步骤中,MS Server将终端的服务网络标识作为业务消息发送方的标识携带在所发送的业务消息中。In this step, the MS Server carries the service network identifier of the terminal as the identifier of the sender of the service message in the sent service message.
步骤504,存储转发服务器将所接收的业务消息根据业务消息接收方的服务网络标识发送到目的地后向MS Server返回状态报告消息。Step 504, the store and forward server returns the status report message to the MS Server after sending the received service message to the destination according to the service network identifier of the service message receiver.
本步骤中,MS Server返回的状态报告消息中携带业务消息发送终端的服务网络标识。In this step, the status report message returned by the MS Server carries the service network identifier of the service message sending terminal.
步骤505,MS Server接收到状态报告消息后,根据其中的业务消息发送终端的服务网络标识查找出对应的MIHF ID,将状态报告消息转换成MIH格式。Step 505: After receiving the status report message, the MS Server searches out the corresponding MIHF ID according to the service network identifier of the service message sending terminal therein, and converts the status report message into MIH format.
步骤506,MS Server将MIH格式的状态报告消息发送到所查询出的MIHF ID所标识的终端,即发送业务消息的终端。In step 506, the MS Server sends the status report message in MIH format to the terminal identified by the queried MIHF ID, that is, the terminal that sends the service message.
本步骤中,状态报告消息包括:MS Server的MIHF ID(源MIHF标识)、终端的MIHF ID(目的MIHF标识)、消息的业务类型和消息的发送状态信息。如果消息发送出错,则还包括错误代码和出错原因等内容。In this step, the status report message includes: the MIHF ID (source MIHF identification) of MS Server, the MIHF ID (destination MIHF identification) of the terminal, the service type of the message and the sending status information of the message. If there is an error sending the message, it also includes the error code and the reason for the error.
图6是本发明实施例终端接收业务消息的流程图。如图7所示,包括以下步骤:Fig. 6 is a flowchart of a terminal receiving a service message according to an embodiment of the present invention. As shown in Figure 7, the following steps are included:
步骤601,存储转发服务器接收并存储来自业务消息发送方的业务消息,然后利用业务消息中携带的业务消息接收终端的服务网络标识,从路由信息服务器查询终端的路由信息,路由信息服务器向存储转发服务器返回与业务消息接收终端的服务网络标识对应的路由信息。Step 601, the store-and-forward server receives and stores the service message from the service message sender, and then uses the service network identifier of the service message receiving terminal carried in the service message to query the routing information of the terminal from the routing information server, and the routing information server forwards the service message to the store and forward The server returns routing information corresponding to the service network identifier of the service message receiving terminal.
本步骤中,路由信息服务器返回的路由信息为终端当前注册的MSServer的地址。In this step, the routing information returned by the routing information server is the address of the MSServer currently registered by the terminal.
步骤602,存储转发服务器根据路由信息服务器返回的路由信息将所存储的业务消息转发给MS Server。Step 602, the store-and-forward server forwards the stored service message to the MS Server according to the routing information returned by the routing information server.
步骤603,MS Server接收到业务消息后,从自身保存的MIHF ID和服务网络标识的关联信息中检索出与消息中携带的接收终端的服务网络标识对应的MIHF ID,并将所接收的业务消息转换成MIH格式的消息。Step 603, after the MS Server receives the service message, it retrieves the MIHF ID corresponding to the service network identifier of the receiving terminal carried in the message from the associated information of the MIHF ID and the service network identifier saved by itself, and sends the received service message Convert messages into MIH format.
步骤604,MS Server将格式转换后的业务消息发送给所检索出的MIHFID所标识的终端。Step 604, the MS Server sends the format-converted service message to the terminal identified by the retrieved MIHFID.
本步骤中,MS Server向终端发送的消息中包括:MS Server的MIHF ID(源MIHF标识)、终端的MIHF ID(目的MIHF标识)、消息的业务类型和业务消息的主体内容等。In this step, the message sent by the MS Server to the terminal includes: the MIHF ID (source MIHF identification) of the MS Server, the MIHF ID (destination MIHF identification) of the terminal, the service type of the message and the main content of the service message, etc.
步骤605,终端向MS Server返回MIH格式的状态报告消息。Step 605, the terminal returns a status report message in MIH format to the MS Server.
本步骤中,终端向MS Server返回的状态报告消息包括:终端的MIHF ID(源MIHF标识)、MS Server的MIHF ID(目的MIHF标识)、消息的业务类型和消息的发送状态信息。如果发送出错的话还包括错误代码及出错原因等信息。In this step, the status report message returned by the terminal to the MS Server includes: the MIHF ID (source MIHF identification) of the terminal, the MIHF ID (destination MIHF identification) of the MS Server, the service type of the message and the sending status information of the message. If there is an error in sending, it also includes information such as the error code and the cause of the error.
步骤606,MS Server根据状态报告消息中携带的终端MIHF ID从自身保存的内容中查找出终端的服务网络标识,根据服务网络标识和消息的业务类型对所接收的状态报告消息进行格式转换处理。Step 606, MS Server finds out the service network identifier of the terminal from the content saved by itself according to the terminal MIHF ID carried in the status report message, and performs format conversion processing on the received status report message according to the service network identifier and the service type of the message.
本步骤中,MS Server根据服务网络标识对状态报告消息进行格式转换处理为:MS Server根据终端的服务网络标识确定存储转发服务器所在网络的类型,根据消息的业务类型将所接收的状态报告消息转换成存储转发服务器所在网络所支持的消息的格式。In this step, MS Server converts the format of the status report message according to the service network identifier as follows: MS Server determines the type of network where the store-and-forward server is located according to the service network identifier of the terminal, and converts the received status report message according to the service type of the message into a message format supported by the network where the store-and-forward server resides.
步骤607,MS Server将格式转换后的状态报告消息发送至存储转发服务器。Step 607, MS Server sends the status report message after the format conversion to the store and forward server.
到此便完成了终端接收业务消息的流程。So far, the process of receiving service messages by the terminal is completed.
在图5和图6所示的实施例中分别给出了终端发送业务消息的流程和终端接收业务消息的流程。当图5中的终端发送的业务消息是发给图6中的终端时,在步骤501至步骤503之后执行步骤601至步骤607,然后再执行步骤504至步骤506即可。并且此时,如果图5中的存储转发服务器和图6中的存储转发服务器为不同的两个设备时,则在步骤503和步骤601之间需要执行如下步骤:图5中的存储转发服务器将业务消息发送给图6中的存储转发服务器。图5中存储转发服务器首先根据业务消息接收方的服务网络标识查询到图6中的存储转发服务器,然后发送业务消息。如果图5中的存储转发服务器和图6中的存储转发服务器位于不同的网络中,则其所支持的业务消息格式也不一样,此时由图5中的存储转发服务器对业务消息进行格式转换后发送给图6中的存储转发服务器。In the embodiments shown in FIG. 5 and FIG. 6 , the flow of the terminal sending the service message and the flow of the terminal receiving the service message are given respectively. When the service message sent by the terminal in FIG. 5 is sent to the terminal in FIG. 6 , it is sufficient to perform steps 601 to 607 after steps 501 to 503 , and then to perform steps 504 to 506 . And at this time, if the store-and-forward server in FIG. 5 and the store-and-forward server in FIG. 6 are two different devices, the following steps need to be performed between step 503 and step 601: the store-and-forward server in FIG. 5 will The service message is sent to the store-and-forward server in FIG. 6 . The store-and-forward server in FIG. 5 first queries the store-and-forward server in FIG. 6 according to the service network identifier of the receiver of the service message, and then sends the service message. If the store-and-forward server in FIG. 5 and the store-and-forward server in FIG. 6 are located in different networks, the formats of the business messages supported by them are also different, and at this time, the store-and-forward server in FIG. 5 converts the format of the business messages Then send it to the store-and-forward server in Figure 6.
终端通过图4所示的流程订阅消息服务后,可以在任意时刻取消订阅。取消订阅的流程可以由终端自身发起,也可以由MS Server发起。After the terminal subscribes to the message service through the process shown in Figure 4, it can cancel the subscription at any time. The process of unsubscribing can be initiated by the terminal itself or by MS Server.
图7是本发明实施例终端发起的取消订阅的流程图。如图7所示,包括以下步骤:Fig. 7 is a flow chart of unsubscribing initiated by a terminal according to an embodiment of the present invention. As shown in Figure 7, the following steps are included:
步骤701,终端发送取消订阅消息到MS Server。Step 701, the terminal sends an unsubscribe message to the MS Server.
本步骤中,终端发送的取消订阅消息是MIH格式的报文,且其中包括:终端的MIHF ID(源MIHF标识)、MS Server的MIHF ID(目标MIHF标识)、请求取消订阅的消息服务的类型以及取消订阅的原因等信息。In this step, the unsubscribe message sent by the terminal is a message in MIH format, and includes: the MIHF ID (source MIHF identification) of the terminal, the MIHF ID (target MIHF identification) of the MS Server, and the type of message service to request unsubscription and the reason for unsubscribing.
步骤702,MS Server接收到取消订阅消息后,根据消息服务的业务类型取消此类消息的订阅,根据终端的MIHF ID判断终端是否还有其它类型的消息服务,否则删除自身保存的终端的MIHF ID和服务网络标识,是则不做此操作,跳过步骤703和步骤704直接执行步骤705。Step 702, after the MS Server receives the unsubscribe message, cancel the subscription of such messages according to the business type of the message service, judge whether the terminal has other types of message services according to the MIHF ID of the terminal, otherwise delete the MIHF ID of the terminal saved by itself and service network identifier, if yes, do not perform this operation, skip step 703 and step 704 and directly execute step 705.
步骤703,MS Server向路由信息服务器发送携带终端的服务网络标识的取消注册消息,以告知路由信息服务器与服务网络标识对应的终端不再由本MS Server负责。Step 703, the MS Server sends a deregistration message carrying the service network identifier of the terminal to the routing information server to inform the routing information server that the terminal corresponding to the service network identifier is no longer in charge of the MS Server.
步骤704,路由信息服务器删除与取消注册消息中的服务网络标识对应的路由信息后,向MS Server返回取消注册确认消息。Step 704, after the routing information server deletes the routing information corresponding to the service network identifier in the deregistration message, it returns a deregistration confirmation message to the MS Server.
步骤705,MS Server向终端发送取消订阅确认消息。Step 705, MS Server sends an unsubscribe confirmation message to the terminal.
本步骤中,MS Server向终端发送的取消订阅确认消息是MIH格式的报文,其中包括:Ms server的MIHF ID(源MIHF标识)、终端的MIHF ID(目的MIHF标识)、消息的业务类型以及取消订阅状态信息等内容。In this step, the unsubscribing confirmation message that MS Server sends to terminal is a message in MIH format, including: the MIHF ID (source MIHF identification) of Ms server, the MIHF ID (purpose MIHF identification) of terminal, the service type of message and Unsubscribe from things like status messages.
图8是本发明实施例MS Server发起的取消订阅的流程图。如图8所示,包括以下步骤:Fig. 8 is a flow chart of unsubscribing initiated by MS Server in the embodiment of the present invention. As shown in Figure 8, the following steps are included:
步骤801,MS Server向路由信息服务器发送携带终端的服务网络标识的取消注册消息,以告知路由信息服务器与服务网络标识对应的终端不再由 本MS Server负责。Step 801, the MS Server sends a deregistration message carrying the service network identifier of the terminal to the routing information server to inform the routing information server that the terminal corresponding to the service network identifier is no longer in charge of the MS Server.
步骤802,路由信息服务器向MS Server返回取消注册确认消息。Step 802, the routing information server returns a deregistration confirmation message to the MS Server.
步骤803,MS Server删除自身保存的终端的MIHF ID和服务网络标识。Step 803, MS Server deletes the MIHF ID and service network identifier of the terminal saved by itself.
步骤804,MS Server向终端发送取消订阅消息,以告知终端已取消其在MS Server上的消息服务。In step 804, the MS Server sends an unsubscribe message to the terminal to inform the terminal that its message service on the MS Server has been cancelled.
本步骤中,MS Server向终端发送的取消订阅消息中包括:Ms server的MIHF ID(源MIHF标识)、终端的MIHF ID(目的MIHF标识)以及取消订阅请求和原因等内容。在本步骤中,默认是对终端曾经订阅的所有消息类业务进行取消订阅。In this step, the unsubscribe message sent by the MS Server to the terminal includes: the MIHF ID (source MIHF identifier) of the Ms server, the MIHF ID (destination MIHF identifier) of the terminal, and the unsubscribe request and reason. In this step, the default is to unsubscribe from all message services that the terminal has subscribed to.
步骤805,终端接收到来自MS Server的取消订阅消息后,向MS Server返回取消订阅确认消息。Step 805, after receiving the unsubscribe message from the MS Server, the terminal returns an unsubscribe confirmation message to the MS Server.
本步骤中,终端向MS Server返回的取消订阅确认消息中包括:终端的MIHF ID(源MIHF标识)、MS Server的MIHF ID(目标MIHF标识)以及取消订阅状态信息等内容。In this step, the cancellation confirmation message returned by the terminal to the MS Server includes: the MIHF ID (source MIHF identification) of the terminal, the MIHF ID (target MIHF identification) of the MS Server, and unsubscribe status information.
在上述实施中给出了支持MIH协议的接入网络之间实现消息类业务的互通的网络架构以及业务消息的传输方式。考虑到实际当中会存在一些不支持MIH协议的接入网络,接下来给出本发明支持MIH协议的接入网络与不支持MIH协议的接入网络实现消息类业务的互通的技术方案。In the above implementation, the network architecture and the transmission mode of the service message are given to realize the intercommunication of the message service between the access networks supporting the MIH protocol. Considering that there may be some access networks that do not support the MIH protocol in practice, a technical solution for interworking of message services between the access network that supports the MIH protocol and the access network that does not support the MIH protocol is given in the present invention.
图9是本发明一种实现消息业务互通的系统的第二实施例架构图。如图9所示,该系统包括:存储转发服务器、路由信息服务器、设置于支持MIH协议的各个接入网络中的MS Server、设置于不支持MIH协议的各个接入网络中的网关以及各个接入网络下的终端。在本实施例中,对于所涉及的不支持MIH协议的接入网络,以IP网络、SIP网络和公共陆地移动网络(PLMN)网络为例进行说明;对于所涉及的支持MIH协议的网络,以802.16网络为例进行说明。当然,在该系统中,支持MIH协议的接入网络的个数以及不支持MIH协议的接入网络的个数可以是任意的。FIG. 9 is a structure diagram of a second embodiment of a system for implementing message service interworking according to the present invention. As shown in Figure 9, the system includes: a store-and-forward server, a routing information server, an MS Server set in each access network supporting the MIH protocol, a gateway set in each access network not supporting the MIH protocol, and each access network into the terminal under the network. In this embodiment, an IP network, a SIP network, and a public land mobile network (PLMN) network are used as examples for the involved access networks that do not support the MIH protocol; for the involved networks that support the MIH protocol, use The 802.16 network is used as an example for illustration. Of course, in this system, the number of access networks that support the MIH protocol and the number of access networks that do not support the MIH protocol can be arbitrary.
在图9所示的系统中:In the system shown in Figure 9:
802.16中的MS Server和终端与图2所示系统中的MS Server和终端相同。The MS Server and terminal in 802.16 are the same as those in the system shown in Figure 2.
不支持MIH协议的各接入网络中的终端,用于使用本接入网络所支持的方案与本接入网络的网关进行通信,以实现注册,消息类业务的订阅、取消订阅以及接收和发送业务消息。Terminals in each access network that does not support the MIH protocol are used to communicate with the gateway of the access network using the scheme supported by the access network to realize registration, subscription, unsubscription, reception and transmission of message services business news.
不支持MIH协议的各接入网络中的网关,支持终端的消息类业务的订阅和取消订阅;向路由信息服务器注册本网络终端的路由信息;根据存储转发服务器所在的网络,对来自本网络终端的业务消息进行转换处理后发送至存储转发服务器;将来自存储转发服务器的消息转换成本网络所支持的格式后发送至本网络终端。The gateways in the access networks that do not support the MIH protocol support the subscription and unsubscription of terminal message services; register the routing information of the network terminal with the routing information server; according to the network where the store-and-forward server is located, After the business message is converted and processed, it is sent to the store-and-forward server; after the message from the store-and-forward server is converted into a format supported by the local network, it is sent to the network terminal.
存储转发服务器,用于接收来自MS Server和网关的消息并进行存储;向路由信息服务器查询自身存储的消息的目的地路由信息;根据所查询的路由信息发送所存储的消息。The store-and-forward server is used to receive and store messages from the MS Server and the gateway; query the route information server for the destination routing information of the messages stored by itself; send the stored messages according to the queried routing information.
路由信息服务器,支持MS Server和GW的终端路由信息注册,并将注册信息添加到自身的路由表中;支持存储转发服务器的路由查询请求,并返回查询结果。The routing information server supports MS Server and GW terminal routing information registration, and adds the registration information to its own routing table; supports storing and forwarding the routing query request of the server, and returns the query result.
存储转发服务器和路由信息服务器位于任一网络的核心网中。例如,当存储转发服务器和路由信息服务器位于PLMN网络的核心网时,则图9中的网关所作的消息格式转换为自身所在网络支持的消息格式和PLMN网络所支持的MAP协议格式之间的转换,显然,PLMN网络中的网关不需要对消息进行格式转换处理。The store-and-forward server and the routing information server are located in the core network of any network. For example, when the store-and-forward server and routing information server are located in the core network of the PLMN network, the message format conversion performed by the gateway in Figure 9 is the conversion between the message format supported by its own network and the MAP protocol format supported by the PLMN network , obviously, the gateway in the PLMN network does not need to perform format conversion processing on the message.
下面以不支持MIH协议的GSM网络和支持MIH协议的网络之间实现短消息业务的互通为例对图9所示的系统架构进行进一步的说明。The system architecture shown in FIG. 9 is further described below by taking the intercommunication of the short message service between the GSM network that does not support the MIH protocol and the network that supports the MIH protocol as an example.
图10是本发明实施例实现短消息业务互通的系统结构框图。如图10所示,该系统包括:短消息业务中心SMSC、网关移动交换中心GMSC/互通移动交换中心I-WMSC、归属用户服务器HSS/归属位置寄存器HLR、设置于支持MIH协议的接入网络中的消息服务器MS Server、移动交换中心MSC以及支持MIH协议的终端(UE1和UE2)和GSM终端(UE3)。FIG. 10 is a structural block diagram of a system for implementing short message service interworking according to an embodiment of the present invention. As shown in Figure 10, the system includes: Short Message Service Center SMSC, Gateway Mobile Switching Center GMSC/Interworking Mobile Switching Center I-WMSC, Home Subscriber Server HSS/Home Location Register HLR, set in the access network supporting the MIH protocol The message server MS Server, the mobile switching center MSC, and the terminals (UE1 and UE2) and GSM terminal (UE3) supporting the MIH protocol.
在图10中,SMSC和GMSC/I-WMSC相当于图9中的存储转发服务器,HSS/HLR相当于图9中的路由信息服务器,MSC相当于图9中不支持MIH协议的接入网络中的网关,且存储转发服务器(SMSC和GMSC/I-WMSC)和路由信息服务器(HSS/HLR)位于MSC所在的GSM网络中。MS Server需要将业务消息在MIH格式和MAP格式之间进行转换处理。并且终端的服务网络标识为MSISDN号。In Figure 10, SMSC and GMSC/I-WMSC are equivalent to the store-and-forward server in Figure 9, HSS/HLR is equivalent to the routing information server in Figure 9, and MSC is equivalent to the access network in Figure 9 that does not support the MIH protocol gateway, and the store-and-forward server (SMSC and GMSC/I-WMSC) and routing information server (HSS/HLR) are located in the GSM network where the MSC is located. MS Server needs to convert business messages between MIH format and MAP format. And the service network identifier of the terminal is the MSISDN number.
在图10中,UE1和UE2订阅短消息业务的流程同图4所示的流程,在这里不再复述。接下来以UE1和UE3为例来说明在图10所示的场景下,支持MIH协议的接入网络中的终端接收和发送短消息的过程。In FIG. 10 , the flow of UE1 and UE2 subscribing to the short message service is the same as that shown in FIG. 4 , and will not be repeated here. Next, taking UE1 and UE3 as examples to illustrate the process of receiving and sending short messages by terminals in the access network supporting the MIH protocol in the scenario shown in FIG. 10 .
图11是图10中UE1发送短消息的流程图。如图11所示,包括以下步骤:FIG. 11 is a flow chart of sending a short message by UE1 in FIG. 10 . As shown in Figure 11, the following steps are included:
步骤1101,UE1向MS Server发送MIH格式的短消息。Step 1101, UE1 sends a short message in MIH format to MS Server.
本步骤中,UE1发送的短消息中包括:UE1的MIHF ID(源MIHF标识)、MS Server的MIHF ID(目的MIHF标识)、消息的业务类型和短消息的主体内容和消息接收方UE3的服务网络标识。由于本实施例中实现存储转发服务器功能的SMSC和GMSC/I-WMSC以及实现路由信息服务器功能的HSS/HLR位于GSM网络,因此UE3的服务网络标识即为UE3的MSISDN号。In this step, the short message sent by UE1 includes: the MIHF ID (source MIHF identification) of UE1, the MIHF ID (destination MIHF identification) of MS Server, the service type of the message and the main content of the short message and the service of the message receiver UE3 Network ID. Since the SMSC and GMSC/I-WMSC implementing the store-and-forward server function and the HSS/HLR implementing the routing information server function in this embodiment are located in the GSM network, the service network identifier of UE3 is the MSISDN number of UE3.
步骤1102,MS Server接收的UE1发送的短消息后,根据短消息中携带的UE1的MIHF ID从自身保存的MIHF ID与MSISDN号的关联信息中查找出与UE1的MIHF ID对应的MSISDN号,根据短消息中携带的消息的类型是短消息类型,将所接收的MIH格式的短消息转换成MAP格式的短消息。Step 1102, after the short message sent by UE1 received by the MS Server, according to the MIHF ID of UE1 carried in the short message, find out the MSISDN number corresponding to the MIHF ID of UE1 from the association information between the MIHF ID and the MSISDN number saved by itself, according to The type of the message carried in the short message is a short message type, and the received short message in MIH format is converted into a short message in MAP format.
步骤1103,MS Server将转换后的MAP格式的短消息发送至I-WMSC,且消息中携带UE1的MSISDN号和UE3的MSISDN号。Step 1103, MS Server sends the converted short message in MAP format to I-WMSC, and the message carries the MSISDN number of UE1 and the MSISDN number of UE3.
步骤1104,I-WMSC将所接收的短消息转发给SMSC。Step 1104, I-WMSC forwards the received short message to SMSC.
步骤1105,SMSC将所接收的短消息根据接收方UE3的IMISDN号发送到目的地后向I-WMSC返回状态报告消息,其中携带UE1的MSISDN号。Step 1105, the SMSC sends the received short message to the destination according to the IMISDN number of the recipient UE3, and then returns a status report message to the I-WMSC, which carries the MSISDN number of UE1.
本步骤中,SMSC将所接收的短消息根据接收方UE3的IMISDN号发送到UE3的过程是GSM网络中的现有流程,主要包括:SMSC将所接收的短消息发送到GMSC,GMSC将短消息发送的MSC,再由MSC将短消息发送到UE3,这里不再详述。In this step, the SMSC sends the received short message to UE3 according to the IMISDN number of the receiver UE3. The sending MSC, and then the MSC sends the short message to UE3, which will not be described in detail here.
步骤1106,I-WMSC将状态报告消息转发给MS Server。Step 1106, the I-WMSC forwards the status report message to the MS Server.
步骤1107,MS Server接收到状态报告消息后,根据其中的MSISDN号查找出对应的MIHF ID,将状态报告消息转换成MIH格式。Step 1107, after receiving the status report message, the MS Server searches out the corresponding MIHF ID according to the MSISDN number therein, and converts the status report message into MIH format.
步骤1108,MS Server将MIH格式的状态报告消息发送到所查询出的MIHF ID所标识的终端UE1。Step 1108, the MS Server sends the status report message in MIH format to the terminal UE1 identified by the queried MIHF ID.
本步骤中,状态报告消息包括:MS Server的MIHF ID(源MIHF标识)、终端的MIHF ID(目的MIHF标识)、消息的业务类型和消息的发送状态信息。如果消息发送出错,则还包括错误代码和出错原因等内容。In this step, the status report message includes: the MIHF ID (source MIHF identification) of MS Server, the MIHF ID (destination MIHF identification) of the terminal, the service type of the message and the sending status information of the message. If there is an error sending the message, it also includes the error code and the reason for the error.
图12是图10中UE 1接收短消息的流程图。如图12所示,包括以下步骤:Fig. 12 is a flowchart of UE 1 receiving a short message in Fig. 10. As shown in Figure 12, the following steps are included:
步骤1201,SMSC接收到UE3发送给UE1的MAP格式的短消息后,将该短消息发送给GMSC。Step 1201, SMSC sends the short message to GMSC after receiving the short message in MAP format sent by UE3 to UE1.
本步骤中,SMSC接收到UE3发送给UE1的短消息的流程,即UE3将短消息发送至SMSC的流程是GSM网络的现有流程,主要包括:UE3将短消息发送至MSC,MSC将短消息发送至I-WMSC,I-WMSC再将短消息发送至SMSC,这里不再详述。In this step, the process of SMSC receiving the short message sent by UE3 to UE1, that is, the process of UE3 sending the short message to SMSC is the existing process of the GSM network, mainly including: UE3 sends the short message to MSC, and MSC sends the short message Send to the I-WMSC, and the I-WMSC sends the short message to the SMSC, which will not be described in detail here.
步骤1202,GMSC利用短消息中携带的UE1的MSISDN号,从HSS/HLR查询UE1的路由信息,HSS/HLR向GMSC返回UE1当前所在的MS Server的地址。Step 1202, GMSC uses the MSISDN number of UE1 carried in the short message to query the routing information of UE1 from HSS/HLR, and HSS/HLR returns the address of the MS Server where UE1 is currently located to GMSC.
步骤1203,GMSC将短消息发送至MS Server。Step 1203, GMSC sends the short message to MS Server.
步骤1204,MS Server接收到短消息后,从自身保存的MIHF ID和MSISDN的关联信息中检索出与短消息中携带的接收端的MSISDN对应的MIHF ID,并根据消息的类型是短消息将所接收的短消息转换成MIH格式的消息。Step 1204, after the MS Server receives the short message, retrieve the MIHF ID corresponding to the MSISDN of the receiving end carried in the short message from the associated information of the MIHF ID and MSISDN saved by itself, and send the received message according to the type of the message Convert short messages into MIH format messages.
步骤1205,MS Server将格式转换后的短消息发送给所检索出的MIHFID所标识的终端UE1。Step 1205, the MS Server sends the format-converted short message to the terminal UE1 identified by the retrieved MIHFID.
步骤1206,UE1向MS Server返回MIH格式的状态报告消息。Step 1206, UE1 returns a status report message in MIH format to the MS Server.
本步骤中,UE1向MS Server返回的状态报告消息包括:终端的MIHF ID(源MIHF标识)、MS Server的MIHF ID(目的MIHF标识)、消息的业务类型和消息的发送状态信息。如果发送出错的话还包括错误代码及出错原因等信息。In this step, the status report message returned by UE1 to the MS Server includes: the MIHF ID of the terminal (source MIHF identification), the MIHF ID of the MS Server (destination MIHF identification), the service type of the message and the sending status information of the message. If there is an error in sending, it also includes information such as the error code and the cause of the error.
步骤1207,MS Server根据状态报告消息中携带的UE1的MIHF ID从自身保存的内容中查找出对应的MSISDN,根据消息的类型是短消息将状态报告消息转换成MAP格式。Step 1207, MS Server finds out the corresponding MSISDN from the content saved by itself according to the MIHF ID of UE1 carried in the status report message, and converts the status report message into MAP format according to the message type being a short message.
步骤1208,MS Server将格式转换后的状态报告消息发送至GMSC。Step 1208, MS Server sends the status report message after format conversion to GMSC.
步骤1209,GMSC将状态报告消息转发至SMSC。Step 1209, GMSC forwards the status report message to SMSC.
下面以不支持MIH协议的IP网络和支持MIH协议的网络之间实现消息业务的互通为例对图9所示的系统架构进行更进一步的说明。The system architecture shown in FIG. 9 is further described below by taking the intercommunication of message services between an IP network that does not support the MIH protocol and a network that supports the MIH protocol as an example.
图13是本发明实施例支持MIH的接入网络和IP网络之间实现消息业务互通的系统结构框图。如图13所示,该系统包括:存储转发服务器、路由信息服务器、设置于支持MIH协议的接入网络中的消息服务器MS Server、设置于IP网络中的网关、支持MIH协议的UE1和支持IP协议的UE2。FIG. 13 is a structural block diagram of a system for implementing message service interworking between an access network supporting MIH and an IP network according to an embodiment of the present invention. As shown in Figure 13, the system includes: a store-and-forward server, a routing information server, a message server MS Server set in an access network supporting the MIH protocol, a gateway set in an IP network, a UE1 supporting the MIH protocol, and an IP Protocol UE2.
在图13中,如果存储转发服务器和路由信息服务器位于支持MIH的网络中,则MS Server在转发消息时不需要进行格式转换处理,而GW需要在转发消息时在MIH格式和IP格式之间进行转换处理;如果存储转发服务器和路由信息服务器位于IP网络中,则MS Server在转发消息时在MIH格式和IP格式之间进行转换处理,而GW在转发消息时不需要进行格式转换处理;如果存储转发服务器和路由信息服务器位于GSM网络中时,则MSServer在转发消息时在MIH格式和MAP格式之间进行转换处理,GW在转发消息时在IP格式和MAP格式之间进行转换处理。下面以上述的第二种情况为例说明UE1发送和接收业务消息的流程。In Figure 13, if the store-and-forward server and routing information server are located in a network that supports MIH, then MS Server does not need to perform format conversion processing when forwarding messages, and GW needs to perform format conversion between MIH format and IP format when forwarding messages Conversion processing; if the store-and-forward server and routing information server are located in the IP network, then the MS Server performs conversion processing between the MIH format and the IP format when forwarding the message, and the GW does not need to perform format conversion processing when forwarding the message; if the store When the forwarding server and routing information server are located in the GSM network, the MSServer performs conversion processing between the MIH format and the MAP format when forwarding the message, and the GW performs conversion processing between the IP format and the MAP format when forwarding the message. The following takes the above-mentioned second case as an example to illustrate the process of UE1 sending and receiving service messages.
图14是图13中的UE1发送业务消息的流程图。如图14所示,包括以下步骤:FIG. 14 is a flow chart of UE1 in FIG. 13 sending a service message. As shown in Figure 14, the following steps are included:
步骤1401,UE1向MS Server发送MIH格式的业务消息。Step 1401, UE1 sends a service message in MIH format to MS Server.
本步骤中,UE1发送的短消息中包括:UE1的MIHF ID(源MIHF标识)、MS Server的MIHF ID(目的MIHF标识)、消息的业务类型和短消息的主体内容和消息接收方UE2的服务网络标识。由于本实施例中存储转发服务器和路由信息服务器位于IP网络中,因此UE2的服务网络标识即为UE2的IP地址。In this step, the short message sent by UE1 includes: the MIHF ID (source MIHF identification) of UE1, the MIHF ID (destination MIHF identification) of MS Server, the service type of the message and the main content of the short message and the service of the message receiver UE2 Network ID. Since the store-and-forward server and the routing information server are located in the IP network in this embodiment, the service network identifier of UE2 is the IP address of UE2.
步骤1402,MS Server接收的UE1发送的业务消息后,根据业务消息中携带的UE1的MIHF ID从自身保存的MIHF ID与IP地址的关联信息中查找出与UE1的MIHF ID对应的IP地址,根据消息的类型是短消息将所接收的MIH格式的业务消息转换成IP格式业务短消息。Step 1402, after the service message sent by UE1 received by MS Server, according to the MIHF ID of UE1 carried in the service message, find out the IP address corresponding to the MIHF ID of UE1 from the association information of the MIHF ID and IP address saved by itself, according to The type of the message is a short message. The received service message in the MIH format is converted into a service short message in the IP format.
步骤1403,MS Server将转换后的IP格式的业务消息发送至存储转发服务器,且消息中携带UE1的IP地址和UE2的IP地址。In step 1403, the MS Server sends the converted service message in IP format to the store-and-forward server, and the message carries the IP address of UE1 and the IP address of UE2.
步骤1404,存储转发服务器将所接收的业务消息根据接收方UE2的IP地址发送到目的地后向MS Server返回IP格式的状态报告消息,其中携带UE1的IP地址。Step 1404, the store-and-forward server sends the received service message to the destination according to the IP address of the recipient UE2, and then returns a status report message in IP format to the MS Server, which carries the IP address of UE1.
本步骤中,存储转发服务器将所接收的业务消息发送给UE2的流程是现有流程,主要包括:存储转发服务器将业务消息发送至GW,GW再将业务消息发送至UE2,这里不再详述。In this step, the process for the store-and-forward server to send the received service message to UE2 is an existing process, which mainly includes: the store-and-forward server sends the service message to GW, and GW then sends the service message to UE2, which will not be described in detail here .
步骤1405,MS Server接收到状态报告消息后,根据其中的IP地址查找出对应的MIHF ID,将状态报告消息转换成MIH格式。Step 1405, after receiving the status report message, the MS Server searches out the corresponding MIHF ID according to the IP address therein, and converts the status report message into MIH format.
步骤1406,MS Server将MIH格式的状态报告消息发送到所查询出的MIHF ID所标识的终端UE1。Step 1406, the MS Server sends the status report message in MIH format to the terminal UE1 identified by the queried MIHF ID.
本步骤中,状态报告消息包括:MS Server的MIHF ID(源MIHF标识)、终端的MIHF ID(目的MIHF标识)、消息的业务类型和消息的发送状态信息。如果消息发送出错,则还包括错误代码和出错原因等内容。In this step, the status report message includes: the MIHF ID (source MIHF identification) of MS Server, the MIHF ID (destination MIHF identification) of the terminal, the service type of the message and the sending status information of the message. If there is an error sending the message, it also includes the error code and the reason for the error.
图15是图13中的UE1接收业务消息的流程图。如图15所示,包括以下步骤:FIG. 15 is a flowchart of UE1 in FIG. 13 receiving a service message. As shown in Figure 15, the following steps are included:
步骤1501,存储转发服务器接收到UE2发送给UE1的IP格式的业务消息后,利用业务消息中携带的UE1的IP地址从路由信息服务器查询UE1的路由信息,路由信息服务器向存储转发服务器返回UE1当前所在的MSServer的地址。Step 1501: After the store-and-forward server receives the service message in IP format sent by UE2 to UE1, it uses the IP address of UE1 carried in the service message to query the routing information of UE1 from the routing information server, and the routing information server returns UE1's current status to the store-and-forward server. The address of the MSServer where it is located.
步骤1502,存储转发服务器将接收的业务消息发送至MS Server。Step 1502, the store and forward server sends the received service message to MS Server.
步骤1503,MS Server接收到短消息后,从自身保存的MIHF ID和IP地址的关联信息中检索出与业务消息中携带的UE1的IP地址对应的MIHFID,并将所接收的IP格式的业务消息转换成MIH格式的业务消息。Step 1503, after the MS Server receives the short message, it retrieves the MIHF ID corresponding to the IP address of UE1 carried in the service message from the associated information of the MIHF ID and IP address saved by itself, and sends the received service message in IP format Convert business messages into MIH format.
步骤1504,MS Server将格式转换后的业务消息发送给所检索出的MIHF ID所标识的终端UE1。Step 1504, the MS Server sends the format-converted service message to the terminal UE1 identified by the retrieved MIHF ID.
步骤1505,UE1向MS Server返回MIH格式的状态报告消息。Step 1505, UE1 returns a status report message in MIH format to the MS Server.
本步骤中,UE1向MS Server返回的状态报告消息包括:终端的MIHF ID(源MIHF标识)、MS Server的MIHF ID(目的MIHF标识)、消息的业务类型和消息的发送状态信息。如果发送出错的话还包括错误代码及出错原因等信息。In this step, the status report message returned by UE1 to the MS Server includes: the MIHF ID of the terminal (source MIHF identification), the MIHF ID of the MS Server (destination MIHF identification), the service type of the message and the sending status information of the message. If there is an error in sending, it also includes information such as the error code and the cause of the error.
步骤1506,MS Server根据状态报告消息中携带的UE1的MIHF ID从自身保存的内容中查找出对应的IP地址,根据消息的业务类型将状态报告消息的格式转换成IP格式的业务类型。Step 1506, MS Server finds out the corresponding IP address from the content saved by itself according to the MIHF ID of UE1 carried in the status report message, and converts the format of the status report message into the service type of IP format according to the service type of the message.
步骤1507,MS Server将格式转换后的状态报告消息发送至存储转发服务器。Step 1507, MS Server sends the status report message after format conversion to the store and forward server.
图13中的UE1通过图14和图15所示的流程,便可以在支持MIH协议的网络中实现收发业务消息。UE1 in FIG. 13 can send and receive service messages in a network supporting the MIH protocol through the processes shown in FIG. 14 and FIG. 15 .
基于上述实施例,接下来给出本发明实施例中的消息服务器和终端的结构框图。Based on the above-mentioned embodiments, a structural block diagram of a message server and a terminal in an embodiment of the present invention is given next.
图16是本发明实施例一种消息服务器的结构框图。如图16所示,消息服务器包括:媒体独立切换模块1601、格式转换模块1602和收发模块1603。Fig. 16 is a structural block diagram of a message server according to an embodiment of the present invention. As shown in FIG. 16 , the message server includes: a media
在图16中,媒体独立切换模块1601,用于将来自终端的MIH格式的业务消息发送给格式转换模块1602;将来自格式转换模块1602的MIH格式的业务消息发送给终端1603;In FIG. 16 , the media
格式转换模块1602,用于接收媒体独立切换模块1601发送的业务消息,并进行格式转换处理后发送至收发模块1603;接收收发模块1603发送的业务消息,并转换成MIH格式后发送指媒体独立切换模块1601;The
收发模块1603,用于将来自格式转换模块1602的业务消息发送给存储转发服务器;将来自存储转发服务器的业务消息发送给格式转换模块1602。The
图16所示的消息服务器还可以包括存储模块1604,用于保存终端的MIHF ID和服务网络标识的对应关系。此时,媒体独立切换模块1601,用于在接收到格式转换模块1602发送的业务消息后,根据该业务消息中携带的消息接收终端的服务网络标识从存储模块中查询出对应的MIHF ID,并将业务消息发送给与所查询出的MIHF ID对应的终端;格式转换模块1602,用于在接收到媒体独立切换模块1601发送的业务消息后,根据该业务消息中携带的终端的MIHF ID从存储模块中查询出对应的服务网络标识,根据服务网络标识或消息的业务类型确定存储转发服务器所在网络支持的消息格式,将业务消息的转换成相应格式的消息后发送至收发模块1603。The message server shown in FIG. 16 may also include a
在图16中,媒体独立切换模块1601,进一步用于在接收到终端发送的MIHF ID和服务网络标识后,发送到存储模块1604进行保存,并将所述服务网络标识通过格式转换模块1602发送到收发模块1603;收发模块1603,进一步用于将终端的服务网络标识和自身所在消息服务器的地址发送到路由信息服务器。In FIG. 16, the media
图17是本发明实施例一种终端的结构框图。如图17所示,该终端包括:媒体独立切换模块1701,用于向消息服务器发送MIH格式的业务消息,以及接收消息服务器发送的MIH格式的业务消息。Fig. 17 is a structural block diagram of a terminal according to an embodiment of the present invention. As shown in FIG. 17, the terminal includes: a media
在图17中,媒体独立切换模块1701,进一步用于向消息服务器发送自身所在终端的MIHF ID和服务网络标识。In Fig. 17, the media
综上所述,在本发明实施例中,在支持MIH协议的接入网络中设置消息服务器;该消息服务器与自身所在接入网络中的终端通过MIH协议进行业务消息传输,与存储转发服务器通过存储转发服务器所在网络所支持的协议进行业务消息传输,并将业务消息在MIH协议格式和存储转发服务器所在网络所支持的协议格式之间进行转换处理的技术方案,使得支持MIH协议的接入网络都能实现业务消息的传输。To sum up, in the embodiment of the present invention, a message server is set in the access network supporting the MIH protocol; the message server and the terminal in the access network where it is located carry out service message transmission through the MIH protocol, and the store-and-forward server through The protocol supported by the network where the store-and-forward server is located transmits business messages, and the technical solution for converting business messages between the MIH protocol format and the protocol format supported by the network where the store-and-forward server is located makes the access network that supports the MIH protocol It can realize the transmission of business information.
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围,凡在本发明的精神和原则之内所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above is only a preferred embodiment of the present invention, and is not used to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present invention shall include Within the protection scope of the present invention.
Claims (16)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008100001992A CN101483611B (en) | 2008-01-09 | 2008-01-09 | System, method and apparatus for implementing message service interconnection |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008100001992A CN101483611B (en) | 2008-01-09 | 2008-01-09 | System, method and apparatus for implementing message service interconnection |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101483611A CN101483611A (en) | 2009-07-15 |
CN101483611B true CN101483611B (en) | 2011-09-14 |
Family
ID=40880549
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2008100001992A Expired - Fee Related CN101483611B (en) | 2008-01-09 | 2008-01-09 | System, method and apparatus for implementing message service interconnection |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101483611B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102111906B (en) * | 2009-12-28 | 2015-07-22 | 中兴通讯股份有限公司 | Business transmission method and device |
KR101683292B1 (en) * | 2010-06-18 | 2016-12-07 | 삼성전자주식회사 | Apparatus and method for composing personal network using pn routing table |
CN104468648B (en) * | 2013-09-13 | 2019-01-29 | 腾讯科技(深圳)有限公司 | Data processing system and method |
CN107659380A (en) * | 2017-09-05 | 2018-02-02 | 上海歌尔泰克机器人有限公司 | Message transmission, message read method, equipment and system |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1968252A (en) * | 2006-06-29 | 2007-05-23 | 华为技术有限公司 | Media-independent link switching method and apparatus |
-
2008
- 2008-01-09 CN CN2008100001992A patent/CN101483611B/en not_active Expired - Fee Related
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1968252A (en) * | 2006-06-29 | 2007-05-23 | 华为技术有限公司 | Media-independent link switching method and apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN101483611A (en) | 2009-07-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7319857B2 (en) | Methods, systems, and computer program products for delivering messaging service messages | |
CA2505204C (en) | Method and system for improved short message services | |
JP4399599B2 (en) | Control of IP domain PLMN messaging service | |
JP5080465B2 (en) | Method and system for translating messages | |
JP6139609B2 (en) | Allocation of Internet Protocol (IP) addresses and usage during short message service (SMS) transmission | |
US7949328B2 (en) | System for delivering user-generated short-text notified multimedia messages between operator networks | |
US20070032251A1 (en) | Method and system for reporting a short message capability via an IP multimedia subsystem | |
US20140155112A1 (en) | Support of short message service in ims without msisdn | |
US6748229B1 (en) | Method and apparatus for mobile telecommunication | |
CN101090372A (en) | A short message routing control device, system and method | |
JP2008541617A (en) | Short message service encapsulation of additional service requests in IMS | |
EP1949624B1 (en) | Transparent signal relay system for packet transmission services | |
CN101998313A (en) | Method and system for handling short message as well as short message gateway and interactive function entity | |
CN101577867B (en) | Push message sending method, device and system in multimedia message service | |
CN101448217B (en) | Short message service implementation system and sending and receiving method | |
JP4599548B2 (en) | Short message gateway | |
CN101483611B (en) | System, method and apparatus for implementing message service interconnection | |
EP1855497B1 (en) | A method and system for message routing of multimedia messaging service | |
CN101119293A (en) | A system, device and method for short message routing | |
TW200922216A (en) | Wireless communication method and system for establishing a multimedia message service over a WLAN | |
CN1322772C (en) | Method for transferring short message | |
WO2011015077A1 (en) | Method, equipment and system for forwarding short message | |
US20140355586A1 (en) | Short Message Service (SMS) Over SGs | |
KR100481630B1 (en) | Method of Servicing Short Message among the Different Mobile Telecommunication Networks | |
US20240224003A1 (en) | Utilizing ipsm gateway for delivery unification and domain selection |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20110914 Termination date: 20190109 |
|
CF01 | Termination of patent right due to non-payment of annual fee |