[go: up one dir, main page]

WO2011022980A1 - Method for encoding and decoding message content uniformly and integrated short message center system - Google Patents

Method for encoding and decoding message content uniformly and integrated short message center system Download PDF

Info

Publication number
WO2011022980A1
WO2011022980A1 PCT/CN2010/072184 CN2010072184W WO2011022980A1 WO 2011022980 A1 WO2011022980 A1 WO 2011022980A1 CN 2010072184 W CN2010072184 W CN 2010072184W WO 2011022980 A1 WO2011022980 A1 WO 2011022980A1
Authority
WO
WIPO (PCT)
Prior art keywords
format
message
short message
destination terminal
encoded
Prior art date
Application number
PCT/CN2010/072184
Other languages
French (fr)
Chinese (zh)
Inventor
于春青
叶兵
孙立波
钟建
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2011022980A1 publication Critical patent/WO2011022980A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/18Information format or content conversion, e.g. adaptation by the network of the transmitted or received information for the purpose of wireless delivery to users or terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/18Service support devices; Network management devices
    • H04W88/184Messaging devices, e.g. message centre

Definitions

  • the invention relates to a method for encoding and decoding message content of short messages, in particular to a method for unified codec of message content and a comprehensive short message center system.
  • GSM Global System for Mobile communications
  • CDMA Code Division Multiple Access
  • PHS Personal Handy-phone System
  • SIP Session Initiation Protocol
  • the integrated SMS center is generated in this scenario, and the short message center of multiple networks is merged into a short message center.
  • the advantages are self-evident, but the processing process inside the integrated short message center is much more complicated than the simple SMS center. In particular, whether the short message content is correctly parsed directly affects the user's experience. How to uniformly encode and decode the code streams of different network protocol interfaces has always been a chaotic part of the integrated short message center business logic. At present, the code processing of the integrated short message center is complicated, and the different interfaces are processed according to different interfaces of GSM, CDMA, PHS and SIP, and the service has a redundant process, and there is no real integration into a unified interface processing. Summary of the invention
  • the object of the present invention is to provide a method for unified encoding and decoding of message content and a comprehensive short message center system, so that the message content of different networks in the short message center is processed by only one interface, which improves.
  • the reuse rate of business processes reduces the complexity of codecs.
  • a method for uniformly encoding and decoding message content including:
  • the integrated short message center receives the calling short message of the calling terminal, and decodes the calling short message according to the network protocol type of the calling terminal to obtain the message content;
  • the integrated short message center converts the content of the message into an encoded message of a first format, and obtains a network type of the destination terminal according to the routing information, and converts the encoded message of the first format into a network protocol type of the destination terminal. Encoded message in a second format;
  • the integrated short message center sends the encoded message of the second format to the destination terminal.
  • the first format is a short message point-to-point protocol SMPP protocol format.
  • the integrated short message center converts the content of the message into the encoded message of the first format: the integrated short message center supports character characters other than Chinese and English by adding a character set conversion interface of the SMPP protocol.
  • the method further includes: when the encoded message of the second format exceeds a predetermined length threshold, splitting the encoded message of the second format.
  • the network protocol type of the calling terminal is GSM, CDMA, PHS, SIP or SMPP;
  • the network protocol type of the destination terminal is GSM, CDMA, PHS, SIP or SMPP.
  • the integrated short message center learns the network type of the destination terminal according to the routing information: the integrated short message center obtains routing information according to the pre-configured number segment information, and then obtains the network type of the destination terminal by using the routing information.
  • the integrated short message center converts the encoded message in the first format into the encoded message in the second format supported by the network protocol type of the destination terminal:
  • the encoded message of the first format is directly used as the encoded message of the second format without performing conversion;
  • the destination terminal is configured with a desired coding mode, the desired coding mode is directly used as the second format.
  • an integrated short message center system including: a receiving module, a decoding module, an encoding module, a conversion module, and a sending module;
  • the receiving module is configured to receive a calling short message of the calling terminal
  • the decoding module is configured to decode the calling short message according to a network protocol type of the calling terminal, to obtain a message content;
  • the encoding module is configured to convert the content of the message into an encoded message of a first format, and the converting module is configured to learn, according to the routing information, a network type of the destination terminal, and convert the encoded message of the first format into a Decoding a second format encoded message supported by a network protocol type of the destination terminal;
  • the sending module is configured to send the encoded message of the second format to the destination terminal.
  • the encoding module further includes a splitting unit, configured to split the encoded message of the second format when the encoded message of the second format exceeds a predetermined length threshold.
  • the first format is an SMPP protocol format
  • the network protocol type of the calling terminal is: GSM, CDMA, PHS, SIP or SMPP;
  • the network protocol type of the destination terminal is: GSM, CDMA, PHS, SIP or SMPP.
  • the conversion module learns the network type of the destination terminal according to the routing information: the conversion module obtains routing information according to the pre-configured number segment information, and then learns the network type of the destination terminal from the routing information.
  • the converting module converts the encoded message of the first format into the encoded message of the second format supported by the network protocol type of the destination terminal:
  • the conversion module When the type of the second format supported by the network protocol type of the destination terminal includes the first format, the conversion module does not perform the conversion, and directly uses the encoded message of the first format as the encoded message of the second format. ; Alternatively, if the destination terminal is configured with a desired coding mode, the conversion module directly uses the desired coding mode as the second format.
  • the present invention unifies the processing flow of the code stream decoding and encoding in the GSM, CDMA, PHS and SIP integrated short messages by the service processor, unifies the service logic interface, and reduces the complexity of the integrated short message center processing.
  • the invention can solve the problem that the different network interfaces in the integrated short message center respectively process the message content codec, and provides strong support for the integrated short message center to adapt to various network intercommunication messages.
  • the invention reduces the complexity and difficulty of processing codec in the integrated short message center by uniformly synthesizing the code content of the short message center, improves the reuse rate of the business process, and unifies the shortness of multiple network protocol interfaces.
  • the codec processing of the message enables the intricate interworking messages between GSM, CDMA, PHS, SIP and ESME to be accurately parsed.
  • the present invention is extensible. For non-Chinese, non-English numeric text character encoding, only need to increase the character conversion interface with the SMPP protocol to support.
  • the intermediate coding mode may be other internationally common coding methods other than the SMPP protocol, such as UTF8.
  • FIG. 2 is a flow chart of the steps of the embodiment of the present invention for the SMPP format
  • FIG. 3 is a schematic diagram of the method for converting the different character sets by the integrated short message center according to an embodiment of the present invention
  • FIG. 5 is a structural diagram of the integrated short message center system and the external network element networking of the present invention
  • FIG. 6 is a diagram showing the internal organization structure of the integrated short message center system of the present invention. detailed description
  • FIG. 1 is a flow chart of steps according to an embodiment of a method of the present invention. As shown in the figure, an embodiment of the method of the present invention includes:
  • Step 101 The integrated short message center receives the calling short message of the calling terminal.
  • Step 102 The integrated short message center decodes the short message according to the network protocol type of the calling terminal to obtain a message content.
  • Step 103 The integrated short message center converts the message content into an encoded message of a first format.
  • Step 104 The integrated short message center learns the network type of the destination terminal according to the routing information, and converts the encoded message of the first format into the encoded message of the second format supported by the network protocol type of the destination terminal.
  • Step 105 The integrated short message center sends the encoded message of the second format to the target terminal.
  • the first format may be GSM, CDMA, PHS, SIP, or Short Message Peer to Peer Protocol Specification (SMPP).
  • SMPP Short Message Peer to Peer Protocol Specification
  • the following is mainly exemplified by the SMPP protocol format. Personnel can be obtained according to the following examples of the SMPP protocol format.
  • the present invention is directed to a comprehensive short message center, and proposes a unified codec method and system.
  • the short message center encodes a start message encoded by 7bit ASCII, 8bit ASCII, 8bit binary, UCS2, UTF8, GBK, GB2312-80, etc. (here, the national standard character encoding scheme is taken as an example), and the SMPP protocol is uniformly adopted in the short message center.
  • the character encoding scheme is saved, and is encoded according to a coding scheme supported by the destination user's home network during the termination call encoding. If the length of the code stream exceeds the maximum length supported by the destination network after the conversion, the single clause according to the SMPP protocol The maximum length of the information is split.
  • the unified codec processing method in which the first format is the SMPP protocol format is as follows:
  • the terminal submits a message of GSM, CDMA, PHS, SIP or SMPP protocol to the short message center.
  • the short message center decodes the message content according to the network type of the calling user, and decodes the decoded message content into the SMPP protocol code stream.
  • the GSM terminal submits a 7-bit ASCII encoded message to the CDMA terminal, and the service processor parses according to the GSM03.38 specification and then converts it into an 8-bit ASCII code of the SMPP protocol. For the start message with the serial header, it needs to be processed by the message header.
  • the short message center learns the network type of the destination user according to the routing information, and converts the code stream of the internally saved SMPP protocol into the code stream supported by the destination network.
  • the GSM terminal submits a 7-bit ASCII encoded message to the CDMA terminal, and the service processor converts the internally stored 8-bit ASCII code stream into a 7-bit ASCII code stream supported by the CDMA network.
  • the service processor converts the internally stored 8-bit ASCII code stream into a 7-bit ASCII code stream supported by the CDMA network. For the long message after the final call code, it needs to be split.
  • the SMS center can flexibly configure it. For example: The GSM terminal sends a message to CDMA, and the call origination is encoded in 7-bit ASCII. The SMS center defaults to the 7-bit ASCII coded CDMA call, and if the destination user wants to press UCS2, the SMS center can satisfy the configuration information.
  • FIG. 2 is a flow chart of the steps of the embodiment of the present invention, which is unified into the SMPP format, and is described below in conjunction with FIG. 2.
  • the message center encodes and decodes the message content. The process is as follows:
  • Step 201 Obtain a network protocol type of the calling user. Specifically, the terminal or the gateway submits the message to the integrated short message center, and the short message center obtains the network protocol type of the calling user according to the internal interface of the message, and the values include GSM, CDMA, PHS, SIP, and SMPP.
  • Step 202 Parse the code stream according to the corresponding network protocol. Specifically, the short message center decodes the entire data packet according to the type of the obtained network protocol according to the corresponding standard specification.
  • GSM decoding specification reference ETSI TS123 040 V8.4.0; CDMA decoding specification reference TIA-637-Cl [E]_C.S0015-B_v2.0_051006; SMPP reference Short Message Peer to Peer Protocol Specification v3.4 specification; PHS, SIP Refer to the specifications established by each operator.
  • Step 203 Obtain an encoding type of the source message. Specifically, the encoding scheme of the message content is obtained from the parsed data packet.
  • the values may be 7bitASCII, 8bitASCII, 8bit binary, UCS2, GBK:, UTF8.
  • DCS Data Coding Scheme
  • DCS is 7bit ASCII, 8bit ASCII, 8bit binary
  • the DCS value is 8bit ASCII and GBK.
  • the DCS values are 8bit ASCII, GBK, and UTF8.
  • Step 204 Save the user data to the SMPP protocol format. Specifically, the content of the parsed message is converted into a coding scheme corresponding to the SMPP protocol format and temporarily stored.
  • Step 205 Split the converted long message. Specifically: For converted SMPP The message content of the protocol format is split if the message is too long.
  • the agreed threshold is: UCS2 encodes a maximum of 140 bytes, and 8-bit ASCII encodes a maximum of 160 bytes.
  • the long conversion process is that GBK is converted to UCS2, and the split message does not add a message header, forming an irrelevant message.
  • Step 206 Obtain destination user routing information. Specifically, the routing information of the destination user is obtained according to the segment information configured in the short message center.
  • the routing information contains the network type of the destination user.
  • the values are GSM, CDMA, PHS, SIP, SMPP. In the implementation process, there are 25 combined processes between GSM, CDMA, PHS, SIP and ESME.
  • Step 207 Encode the user data in the terminating code stream according to the network type of the destination user. Specifically: The short message center encodes the message and terminates the call.
  • the SMS Center determines whether to perform transcoding according to whether the destination user supports the internally saved character encoding scheme.
  • the default is based on the network type of the destination user.
  • the configuration is prioritized.
  • Figure 3 shows the rules for converting different character sets into a comprehensive SMS center, as shown in the figure:
  • the short message center receives four types of message content: pure English numeric characters, binary, mixed Chinese and English characters, and other national text characters.
  • the short message center decodes the contents of the message and converts it into a stream of the SMPP protocol format.
  • Both 7bitASCII and 8bitASCII are converted to 8-bit ASCII of SMPP protocol; 8bit binary is converted to 8-bit binary of SMPP protocol; UCS2, GBK and UTF8 are both converted to UCS2.
  • the terminal call coding is performed according to the network type to which the destination user belongs and the configured desired coding scheme.
  • the short message center can be extended as long as the Unicode encoding scheme supports it.
  • FIG. 4 is a block diagram showing a logical structure of an integrated short message center system according to an embodiment of the present invention. As shown in FIG. 4, the integrated short message center provided by the embodiment of the present invention is provided.
  • the system includes:
  • the receiving module 401 is configured to receive a calling short message of the calling terminal.
  • the decoding module 402 is configured to decode the calling short message according to a network protocol type of the calling terminal, to obtain a message content;
  • the encoding module 403 is configured to convert the message content into an encoded message in a first format.
  • the converting module 404 is configured to learn, according to the routing information, a network type of the destination terminal, and convert the encoded message in the first format into the destination.
  • the sending module 405 is configured to send the encoded message of the second format to the destination terminal.
  • the encoding module 403 may further include a splitting unit, configured to perform splitting processing when the encoded message of the second format exceeds a predetermined length threshold.
  • FIG. 5 is a structural diagram of an integrated short message center system and an external network element network. As shown in FIG. 5, the integrated short message center implements message intercommunication of GSM, CDMA, PHS, SIP, and SMPP protocols. The short message center receives messages submitted from GSM, CDMA, PHS terminals.
  • FIG. 6 is an internal structure diagram of the integrated short message center system.
  • the function of the Signalling Front-end (MAP) is to convert standard signaling and internal interface messages. The messages sent and received by GSM, CDMA, and PHS terminals need to pass through this module.
  • the function of the SMPP proxy module (SMPPAGENT) is to convert the messages of the SMPP protocol with the internal interface messages.
  • the external short message entity (ESME) needs to send and receive messages. Through this module.
  • the function of the SIP gateway module (SIPGW) is to convert the SIP protocol message with the internal message.
  • the function of the SIP distribution module (SIPPROXY) is to distribute the SIP message to the SIPGW module according to a certain policy.
  • the SIP terminal and the SIP application server need to send and receive messages via the SIP terminal.
  • the role of the Service Processor Module is mainly to implement the functions of the decoding module 402, the encoding module 403, and the conversion module 404 in FIG.
  • the embodiments of the present invention have the following advantages:
  • the present invention unifies the processing flow of the code stream decoding and encoding in the GSM, CDMA, PHS and SIP integrated short messages by the service processor, unifies the service logic interface, and reduces the complexity of the integrated short message center processing.
  • the invention reduces the complexity and difficulty of processing codec in the integrated short message center by uniformly synthesizing the code content of the short message center, improves the reuse rate of the business process, and unifies the shortness of multiple network protocol interfaces.
  • the codec processing of the message enables the intricate interworking messages between GSM, CDMA, PHS, SIP and ESME to be accurately parsed.
  • the present invention is extensible. For non-Chinese, non-English numeric text character encoding, only need to increase the character conversion interface with the SMPP protocol to support.
  • the intermediate coding mode may be other internationally common coding methods other than the SMPP protocol, such as UTF8.

Landscapes

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

Abstract

A method for encoding and decoding message content uniformly is provided by the present invention, the method includes: an integrated short message center receives a calling short message from a calling terminal; the integrated short message center decodes the calling short message according to the network protocol type of the calling terminal and acquires the content of the message; the integrated short message center converts the message content to a encoded message of a first format; the integrated short message center acquires the network type of a target terminal according to the route information and converts the encoded message of the first format to a encoded message of the second format supported by the network protocol type of the target terminal; the integrated short message center transmits the encoded message of the second format to the target terminal. Accordingly, an integrated short message center system is provided by the present invention. With the present invention, within the interior of the short message center, one interface is used for the message contents from different networks, thereby improving the reusability of the service flow and reducing the complexity of the encoding and the decoding.

Description

一种消息内容统一编解码的方法和综合短信中心系统 技术领域  Method for unified codec of message content and integrated short message center system
本发明涉及短消息的消息内容的编解码方法, 特别是涉及一种消息内 容统一编解码的方法和综合短信中心系统。 背景技术  The invention relates to a method for encoding and decoding message content of short messages, in particular to a method for unified codec of message content and a comprehensive short message center system. Background technique
随着短消息业务的快速发展, 全球移动系统( Global System for Mobile communications, GSM )、码分多址( CDMA )、个人手持式电话系统( Personal Handy-phone System, PHS ),甚至会话初始协议 ( Session Initiation Protocol, SIP )短消息都已飞入寻常百姓家。 由于各种网络涉及的信令接口、 码流编 码规范各不相同, 对于一个运营商而言, 需要开设 GSM、 CDMA, PHS和 SIP多个短消息中心局点, 相应的要投入较多的人力物力资源。对于短消息 中心的生产厂家, 也增加了不少维护成本。  With the rapid development of short message services, Global System for Mobile communications (GSM), Code Division Multiple Access (CDMA), Personal Handy-phone System (PHS), and even Session Initiative Protocol ( Session Initiation Protocol, SIP) Short messages have been flown into the homes of ordinary people. Since the signaling interfaces and code stream coding specifications involved in various networks are different, for an operator, multiple short message center sites of GSM, CDMA, PHS, and SIP need to be opened, and correspondingly more human resources are required. Material resources. For the manufacturer of the short message center, a lot of maintenance costs have also been added.
综合短信中心在这种场景下产生, 将多个网络的短消息中心融合成一 套短消息中心, 其优点不言而喻, 但综合短消息中心内部的处理流程比单 纯的短信中心要复杂很多, 尤其是短消息内容是否被正确解析, 直接影响 用户的体验。 而如何将目前不同网络协议接口的码流进行统一的编解码, 一直是综合短消息中心业务逻辑较混乱的部分。 目前综合短消息中心的码 流处理较复杂, 按 GSM、 CDMA, PHS和 SIP不同接口分别处理, 业务存 在冗余流程, 没有真正的融合成统一接口处理。 发明内容  The integrated SMS center is generated in this scenario, and the short message center of multiple networks is merged into a short message center. The advantages are self-evident, but the processing process inside the integrated short message center is much more complicated than the simple SMS center. In particular, whether the short message content is correctly parsed directly affects the user's experience. How to uniformly encode and decode the code streams of different network protocol interfaces has always been a chaotic part of the integrated short message center business logic. At present, the code processing of the integrated short message center is complicated, and the different interfaces are processed according to different interfaces of GSM, CDMA, PHS and SIP, and the service has a redundant process, and there is no real integration into a unified interface processing. Summary of the invention
本发明目的是提供一种消息内容统一编解码的方法和综合短信中心系 统, 使得短信中心内部对不同网络的消息内容只按一种接口处理, 提高了 业务流程的复用率, 降低了编解码的复杂度。 The object of the present invention is to provide a method for unified encoding and decoding of message content and a comprehensive short message center system, so that the message content of different networks in the short message center is processed by only one interface, which improves. The reuse rate of business processes reduces the complexity of codecs.
为了实现上述目的, 一方面, 提供了一种消息内容统一编解码的方法, 包括:  In order to achieve the above object, in one aspect, a method for uniformly encoding and decoding message content is provided, including:
综合短信中心接收主叫终端的主叫短消息, 根据所述主叫终端的网络 协议类型, 对所述主叫短消息进行解码, 获得消息内容;  The integrated short message center receives the calling short message of the calling terminal, and decodes the calling short message according to the network protocol type of the calling terminal to obtain the message content;
所述综合短信中心将所述消息内容转换为第一格式的编码消息, 并根 据路由信息获知目的终端的网络类型, 将所述第一格式的编码消息转换为 所述目的终端的网络协议类型支持的第二格式的编码消息;  The integrated short message center converts the content of the message into an encoded message of a first format, and obtains a network type of the destination terminal according to the routing information, and converts the encoded message of the first format into a network protocol type of the destination terminal. Encoded message in a second format;
所述综合短信中心将所述第二格式的编码消息发送给所述目的终端。 所述第一格式为短消息点对点协议 SMPP协议格式。  The integrated short message center sends the encoded message of the second format to the destination terminal. The first format is a short message point-to-point protocol SMPP protocol format.
所述综合短信中心将所述消息内容转换为第一格式的编码消息为: 所 述综合短信中心通过增加 SMPP协议的字符集转换接口, 支持中文和英文 之外的文字字符。  The integrated short message center converts the content of the message into the encoded message of the first format: the integrated short message center supports character characters other than Chinese and English by adding a character set conversion interface of the SMPP protocol.
该方法还包括: 所述第二格式的编码消息超过预定的长度阔值时, 对 所述第二格式的编码消息进行拆分处理。  The method further includes: when the encoded message of the second format exceeds a predetermined length threshold, splitting the encoded message of the second format.
所述主叫终端的网络协议类型为 GSM、 CDMA, PHS、 SIP或 SMPP; 所述目的终端的网络协议类型为 GSM、 CDMA、 PHS、 SIP或 SMPP。 所述综合短信中心根据路由信息获知目的终端的网络类型为: 所述综 合短信中心根据预先配置的号段信息获得路由信息, 再由所述路由信息获 知目的终端的网络类型。  The network protocol type of the calling terminal is GSM, CDMA, PHS, SIP or SMPP; the network protocol type of the destination terminal is GSM, CDMA, PHS, SIP or SMPP. The integrated short message center learns the network type of the destination terminal according to the routing information: the integrated short message center obtains routing information according to the pre-configured number segment information, and then obtains the network type of the destination terminal by using the routing information.
所述综合短信中心将第一格式的编码消息转换为所述目的终端的网络 协议类型支持的第二格式的编码消息为:  The integrated short message center converts the encoded message in the first format into the encoded message in the second format supported by the network protocol type of the destination terminal:
所述目的终端的网络协议类型支持的第二格式的类型范围包括有所述 第一格式时, 不进行转换直接将所述第一格式的编码消息作为所述第二格 式的编码消息; 或者, 所述目的终端设定有期望的编码方式, 则直接将所述期望的编 码方式作为所述第二格式。 When the type of the second format supported by the network protocol type of the destination terminal includes the first format, the encoded message of the first format is directly used as the encoded message of the second format without performing conversion; Alternatively, if the destination terminal is configured with a desired coding mode, the desired coding mode is directly used as the second format.
另一方面, 提供了一种综合短信中心系统, 包括: 接收模块、 解码模 块、 编码模块、 转换模块和发送模块; 其中,  In another aspect, an integrated short message center system is provided, including: a receiving module, a decoding module, an encoding module, a conversion module, and a sending module;
所述接收模块, 用于接收主叫终端的主叫短消息;  The receiving module is configured to receive a calling short message of the calling terminal;
所述解码模块, 用于根据所述主叫终端的网络协议类型, 对所述主叫 短消息进行解码, 获得消息内容;  The decoding module is configured to decode the calling short message according to a network protocol type of the calling terminal, to obtain a message content;
所述编码模块, 用于将所述消息内容转换为第一格式的编码消息; 所述转换模块, 用于根据路由信息获知目的终端的网络类型, 将所述 第一格式的编码消息转换为所述目的终端的网络协议类型支持的第二格式 的编码消息;  The encoding module is configured to convert the content of the message into an encoded message of a first format, and the converting module is configured to learn, according to the routing information, a network type of the destination terminal, and convert the encoded message of the first format into a Decoding a second format encoded message supported by a network protocol type of the destination terminal;
所述发送模块, 用于将所述第二格式的编码消息发送给所述目的终端。 所述编码模块还包括拆分单元, 用于在所述第二格式的编码消息超过 预定的长度阔值时, 对所述第二格式的编码消息进行拆分处理。  The sending module is configured to send the encoded message of the second format to the destination terminal. The encoding module further includes a splitting unit, configured to split the encoded message of the second format when the encoded message of the second format exceeds a predetermined length threshold.
所述第一格式为 SMPP协议格式;  The first format is an SMPP protocol format;
所述主叫终端的网络协议类型为: GSM、 CDMA, PHS、 SIP或 SMPP; 所述目的终端的网络协议类型为: GSM、 CDMA, PHS、 SIP或 SMPP。 所述转换模块根据路由信息获知目的终端的网络类型为: 转换模块根 据预先配置的号段信息获得路由信息, 再由所述路由信息获知目的终端的 网络类型。  The network protocol type of the calling terminal is: GSM, CDMA, PHS, SIP or SMPP; the network protocol type of the destination terminal is: GSM, CDMA, PHS, SIP or SMPP. The conversion module learns the network type of the destination terminal according to the routing information: the conversion module obtains routing information according to the pre-configured number segment information, and then learns the network type of the destination terminal from the routing information.
所述转换模块将第一格式的编码消息转换为所述目的终端的网络协议 类型支持的第二格式的编码消息为:  The converting module converts the encoded message of the first format into the encoded message of the second format supported by the network protocol type of the destination terminal:
所述目的终端的网络协议类型支持的第二格式的类型范围包括有所述 第一格式时, 转换模块不进行转换, 直接将所述第一格式的编码消息作为 所述第二格式的编码消息; 或者, 所述目的终端设定有期望的编码方式, 则转换模块直接将所述 期望的编码方式作为所述第二格式。 When the type of the second format supported by the network protocol type of the destination terminal includes the first format, the conversion module does not perform the conversion, and directly uses the encoded message of the first format as the encoded message of the second format. ; Alternatively, if the destination terminal is configured with a desired coding mode, the conversion module directly uses the desired coding mode as the second format.
本发明存在以下技术效果:  The present invention has the following technical effects:
1 )本发明将业务处理机对 GSM、 CDMA, PHS和 SIP综合短信中的 码流解码和编码的处理流程统一, 统一业务逻辑接口, 并降低综合短信中 心处理的复杂度。  1) The present invention unifies the processing flow of the code stream decoding and encoding in the GSM, CDMA, PHS and SIP integrated short messages by the service processor, unifies the service logic interface, and reduces the complexity of the integrated short message center processing.
2 )本发明可以解决综合短消息中心中不同网络接口分别处理消息内容 编解码的问题, 为综合短消息中心的适配各种网络互通消息提供了有力支 持。  2) The invention can solve the problem that the different network interfaces in the integrated short message center respectively process the message content codec, and provides strong support for the integrated short message center to adapt to various network intercommunication messages.
3 )本发明通过统一综合短消息中心对消息内容的编解码, 降低了综合 短消息中心处理编解码的复杂度和难度, 提高了业务流程的复用率, 统一 了多个网络协议接口中短消息的编解码处理 , 使得 GSM , CDMA , PHS , SIP和 ESME之间错综复杂的互通消息能够准确的被解析。  3) The invention reduces the complexity and difficulty of processing codec in the integrated short message center by uniformly synthesizing the code content of the short message center, improves the reuse rate of the business process, and unifies the shortness of multiple network protocol interfaces. The codec processing of the message enables the intricate interworking messages between GSM, CDMA, PHS, SIP and ESME to be accurately parsed.
4 )本发明具有可扩展性, 对于非中文, 非英文数字的文字字符编码, 只需要增加与 SMPP协议之间的字符转换接口即可支持。 另外, 中间的编 码方式可以是非 SMPP协议的其他国际上通用的编码方式, 例如 UTF8等。 附图说明  4) The present invention is extensible. For non-Chinese, non-English numeric text character encoding, only need to increase the character conversion interface with the SMPP protocol to support. In addition, the intermediate coding mode may be other internationally common coding methods other than the SMPP protocol, such as UTF8. DRAWINGS
图 1为本发明方法实施例提供的步骤流程图;  1 is a flow chart of steps provided by an embodiment of a method according to the present invention;
图 2为本发明提供的统一为 SMPP格式的实施例的步骤流程图; 图 3是为本发明实施例提供的综合短信中心对不同字符集转换的规则; 图 4是为本发明实施例提供的综合短信中心系统的逻辑结构框图; 图 5是本发明综合短信中心系统与外部网元组网的结构图;  2 is a flow chart of the steps of the embodiment of the present invention for the SMPP format; FIG. 3 is a schematic diagram of the method for converting the different character sets by the integrated short message center according to an embodiment of the present invention; The logical structure block diagram of the integrated short message center system; FIG. 5 is a structural diagram of the integrated short message center system and the external network element networking of the present invention;
图 6是本发明综合短信中心系统内部组织结构图。 具体实施方式 6 is a diagram showing the internal organization structure of the integrated short message center system of the present invention. detailed description
为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将结合附 图对具体实施例进行详细描述。  In order to make the objects, technical solutions and advantages of the embodiments of the present invention more clear, the detailed description of the embodiments will be described below in conjunction with the accompanying drawings.
图 1 为本发明方法实施例提供的步骤流程图, 如图所示, 本发明方法 实施例包括:  FIG. 1 is a flow chart of steps according to an embodiment of a method of the present invention. As shown in the figure, an embodiment of the method of the present invention includes:
步骤 101 : 综合短信中心接收主叫终端的主叫短消息。  Step 101: The integrated short message center receives the calling short message of the calling terminal.
步骤 102: 所述综合短信中心根据所述主叫终端的网络协议类型,对所 述主叫短消息进行解码, 获得消息内容。  Step 102: The integrated short message center decodes the short message according to the network protocol type of the calling terminal to obtain a message content.
步骤 103:所述综合短信中心将所述消息内容转换为第一格式的编码消 息。  Step 103: The integrated short message center converts the message content into an encoded message of a first format.
步骤 104: 所述综合短信中心根据路由信息获知目的终端的网络类型, 将所述第一格式的编码消息转换为所述目的终端的网络协议类型支持的第 二格式的编码消息。  Step 104: The integrated short message center learns the network type of the destination terminal according to the routing information, and converts the encoded message of the first format into the encoded message of the second format supported by the network protocol type of the destination terminal.
步骤 105:所述综合短信中心将所述第二格式的编码消息发送给所述目 的终端。  Step 105: The integrated short message center sends the encoded message of the second format to the target terminal.
其中, 所述第一格式可以为 GSM、 CDMA, PHS、 SIP或短消息点对 点协议 ( Short Message Peer to Peer Protocol Specification, SMPP ), 以下主 要以 SMPP协议格式进行举例, 其它格式的方案本领域的技术人员可以根 据以下 SMPP协议格式的举例获得。  The first format may be GSM, CDMA, PHS, SIP, or Short Message Peer to Peer Protocol Specification (SMPP). The following is mainly exemplified by the SMPP protocol format. Personnel can be obtained according to the following examples of the SMPP protocol format.
本发明针对综合短消息中心, 提出了一种统一的编解码方法和系统。 短消息中心对以 7bitASCII, 8bitASCII, 8bit二进制, UCS2, UTF8, GBK, GB2312-80 等方案编码的起呼消息 (这里, 以国标字符编码方案为例进行 阐述), 在短信中心内部统一按照 SMPP协议的字符编码方案保存, 在终呼 编码时按照目的用户归属网络支持的编码方案进行编码。 如果在转换后, 码流长度超过目的网络支持的最大长度, 则根据 SMPP协议规定的单条消 息的最大长度进行拆分处理。 The present invention is directed to a comprehensive short message center, and proposes a unified codec method and system. The short message center encodes a start message encoded by 7bit ASCII, 8bit ASCII, 8bit binary, UCS2, UTF8, GBK, GB2312-80, etc. (here, the national standard character encoding scheme is taken as an example), and the SMPP protocol is uniformly adopted in the short message center. The character encoding scheme is saved, and is encoded according to a coding scheme supported by the destination user's home network during the termination call encoding. If the length of the code stream exceeds the maximum length supported by the destination network after the conversion, the single clause according to the SMPP protocol The maximum length of the information is split.
实践证明, 这种统一的编解码方法, 使得短信中心内部对不同网络的 消息内容只按一种接口处理, 提高了业务流程的复用率, 降低了编解码的 复杂度。  Practice has proved that this unified codec method enables the message content of different networks within the short message center to be processed by only one interface, which improves the reuse rate of the business process and reduces the complexity of the codec.
具体而言, 第一格式为 SMPP协议格式的统一编解码处理方法如下: Specifically, the unified codec processing method in which the first format is the SMPP protocol format is as follows:
1 )终端提交 GSM、 CDMA, PHS、 SIP或 SMPP协议的消息到短消息 中心。 1) The terminal submits a message of GSM, CDMA, PHS, SIP or SMPP protocol to the short message center.
2 )短消息中心根据主叫用户的网络类型, 釆用对应协议规范的解码方 案对消息内容解码, 并将解码后的消息内容统一转换成 SMPP协议的码流 保存。 例如: GSM终端提交 7bitASCII编码消息到 CDMA终端, 业务处理 机按照 GSM03.38规范进行解析,然后转换成 SMPP协议的 8bitASCII编码。 对于起呼消息带串接消息头的, 需要作去消息头处理。  2) The short message center decodes the message content according to the network type of the calling user, and decodes the decoded message content into the SMPP protocol code stream. For example: The GSM terminal submits a 7-bit ASCII encoded message to the CDMA terminal, and the service processor parses according to the GSM03.38 specification and then converts it into an 8-bit ASCII code of the SMPP protocol. For the start message with the serial header, it needs to be processed by the message header.
3 )短消息中心根据路由信息获知目的用户的网络类型, 再将内部保存 的 SMPP 协议的码流转换成目的网络支持的码流。 例如: GSM 终端提交 7bitASCII编码消息到 CDMA终端 , 业务处理机则将内部保存的 8bitASCII 码流转换成 CDMA网络支持的 7bitASCII码流。 对于终呼编码后超长的消 息, 需要作拆分处理。  3) The short message center learns the network type of the destination user according to the routing information, and converts the code stream of the internally saved SMPP protocol into the code stream supported by the destination network. For example, the GSM terminal submits a 7-bit ASCII encoded message to the CDMA terminal, and the service processor converts the internally stored 8-bit ASCII code stream into a 7-bit ASCII code stream supported by the CDMA network. For the long message after the final call code, it needs to be split.
4 )如果目的用户希望按照某种字符集进行编码, 短信中心可以对其作 灵活配置实现。例如: GSM终端发送消息到 CDMA,起呼提交按 7bitASCII 编码, 短信中心默认会按 CDMA的 7bitASCII编码后终呼, 若目的用户希 望按 UCS2编码, 则短信中心可以根据配置信息满足。  4) If the destination user wants to encode according to a certain character set, the SMS center can flexibly configure it. For example: The GSM terminal sends a message to CDMA, and the call origination is encoded in 7-bit ASCII. The SMS center defaults to the 7-bit ASCII coded CDMA call, and if the destination user wants to press UCS2, the SMS center can satisfy the configuration information.
5 )如果需要支持非中文非英文的其他国家的文字字符, 只需要增加与 SMPP协议的字符集转换接口即可支持。  5) If you need to support text characters in other countries other than Chinese, you only need to add the character set conversion interface with SMPP to support.
图 2为本发明提供的统一为 SMPP格式的实施例的步骤流程图, 以下 结合图 2进行说明, 如图 2所示, 短信中心对消息内容编解码的业务逻辑 流程如下: 2 is a flow chart of the steps of the embodiment of the present invention, which is unified into the SMPP format, and is described below in conjunction with FIG. 2. As shown in FIG. 2, the message center encodes and decodes the message content. The process is as follows:
步骤 201 : 获取主叫用户的网络协议类型。 具体为: 终端或网关提交消 息到综合短消息中心, 短消息中心根据消息内部接口获取主叫用户的网络 协议类型, 取值有 GSM、 CDMA, PHS、 SIP, SMPP。  Step 201: Obtain a network protocol type of the calling user. Specifically, the terminal or the gateway submits the message to the integrated short message center, and the short message center obtains the network protocol type of the calling user according to the internal interface of the message, and the values include GSM, CDMA, PHS, SIP, and SMPP.
步骤 202: 根据对应网络协议解析码流。 具体为: 短消息中心根据获取 到的网络协议类型, 根据相应的标准规范进行整个数据包的解码。 GSM的 解码规范参考 ETSI TS123 040 V8.4.0; CDMA 的解码规范参考 TIA-637-C-l [E]_C.S0015-B_v2.0_051006; SMPP参考 Short Message Peer to Peer Protocol Specification v3.4规范; PHS, SIP参考各运营商制定的规范。  Step 202: Parse the code stream according to the corresponding network protocol. Specifically, the short message center decodes the entire data packet according to the type of the obtained network protocol according to the corresponding standard specification. GSM decoding specification reference ETSI TS123 040 V8.4.0; CDMA decoding specification reference TIA-637-Cl [E]_C.S0015-B_v2.0_051006; SMPP reference Short Message Peer to Peer Protocol Specification v3.4 specification; PHS, SIP Refer to the specifications established by each operator.
步骤 203: 获取源消息的编码类型。 具体为: 从解析出的数据包中, 获 取消息内容的编码方案。 取值可能是 7bitASCII、 8bitASCII 、 8bit binary, UCS2、 GBK:、 UTF8。  Step 203: Obtain an encoding type of the source message. Specifically, the encoding scheme of the message content is obtained from the parsed data packet. The values may be 7bitASCII, 8bitASCII, 8bit binary, UCS2, GBK:, UTF8.
对于 GSM终端起呼消息, 编码方案 (Data Coding Scheme, DCS )取 值为: 7bitASCII、 8bitASCII、 UCS2。  For the GSM terminal call message, the Data Coding Scheme (DCS) takes the following values: 7bitASCII, 8bitASCII, UCS2.
对于 CDMA终端起呼消息, DCS为 7bitASCII、 8bitASCII、 8bit binary, For CDMA terminal call messages, DCS is 7bit ASCII, 8bit ASCII, 8bit binary,
UCS2。 UCS2.
对于 PHS终端起呼消息, DCS取值为 8bitASCII、 GBK。  For the PHS terminal call message, the DCS value is 8bit ASCII and GBK.
对于 SIP终端起呼消息, DCS取值为 8bitASCII、 GBK、 UTF8。  For SIP terminal call messages, the DCS values are 8bit ASCII, GBK, and UTF8.
对于 ESME起呼消息, DCS取值为 8bitASCII、 8bit binary, GBK、 UCS2。 步骤 204: 保存用户数据为 SMPP协议格式。 具体为: 将解析出的消息 内容转换成对应的 SMPP协议格式的编码方案并暂存。  For ESME call messages, the DCS values are 8bit ASCII, 8bit binary, GBK, UCS2. Step 204: Save the user data to the SMPP protocol format. Specifically, the content of the parsed message is converted into a coding scheme corresponding to the SMPP protocol format and temporarily stored.
对于 7bitASCII和 8bitASCII, 均转成 8bitASCII。  For 7bit ASCII and 8bit ASCII, both are converted to 8bit ASCII.
对于 8bit binary , 直接保存。  For 8bit binary, save directly.
对于 GBK、 UTF8、 UCS2, 均转成 UCS2。  For GBK, UTF8, UCS2, all are converted to UCS2.
步骤 205: 对转换后的超长消息进行拆分。 具体为: 对于转换后 SMPP 协议格式的消息内容, 如果消息超长则进行拆分处理。 这里, 约定的门限 是: UCS2编码最大 140字节, 8bitASCII编码最大 160字节。 Step 205: Split the converted long message. Specifically: For converted SMPP The message content of the protocol format is split if the message is too long. Here, the agreed threshold is: UCS2 encodes a maximum of 140 bytes, and 8-bit ASCII encodes a maximum of 160 bytes.
存在超长的转换过程是 GBK转换成 UCS2, 拆分后的消息不添加消息 头, 形成无关消息。  The long conversion process is that GBK is converted to UCS2, and the split message does not add a message header, forming an irrelevant message.
步骤 206: 获取目的用户路由信息。 具体为: 根据短消息中心配置的号 段信息, 获取目的用户的路由信息。 路由信息中包含了目的用户的网络类 型。 取值有 GSM、 CDMA, PHS、 SIP, SMPP。 具体实施过程中, GSM、 CDMA, PHS、 SIP和 ESME之间的组合流程有 25种。  Step 206: Obtain destination user routing information. Specifically, the routing information of the destination user is obtained according to the segment information configured in the short message center. The routing information contains the network type of the destination user. The values are GSM, CDMA, PHS, SIP, SMPP. In the implementation process, there are 25 combined processes between GSM, CDMA, PHS, SIP and ESME.
步骤 207: 根据目的用户的网络类型, 对终呼码流中的用户数据编码。 具体为: 短消息中心对消息进行编码后终呼。  Step 207: Encode the user data in the terminating code stream according to the network type of the destination user. Specifically: The short message center encodes the message and terminates the call.
短信中心内部保存的编码类型只有三种: 8bitASCII、 8bit binary, UCS。 短信中心根据目的用户是否支持内部保存的字符编码方案, 决定是否进行 编码转换。  There are only three types of encodings saved in the SMS center: 8bitASCII, 8bit binary, UCS. The SMS Center determines whether to perform transcoding according to whether the destination user supports the internally saved character encoding scheme.
如果目的用户支持这三种编码方案, 则不必作编码转换。  If the destination user supports these three coding schemes, no transcoding is necessary.
如果目的用户不支持这三种编码方案, 则需要作编码转换。  If the destination user does not support these three coding schemes, then coding conversion is required.
在作编码转换时, 默认依据目的用户的网络类型。  When coding conversion, the default is based on the network type of the destination user.
在作编码转换时, 若目的用户配置了所期望的字符编码格式, 则优先 依据配置。  In the case of transcoding, if the destination user configures the desired character encoding format, the configuration is prioritized.
图 3是综合短信中心对不同字符集转换的规则, 如图所示:  Figure 3 shows the rules for converting different character sets into a comprehensive SMS center, as shown in the figure:
首先, 短消息中心收到四种类型的消息内容: 纯英文数字字符、 二进 制、 中英文混合字符、 其他国家文字字符。  First, the short message center receives four types of message content: pure English numeric characters, binary, mixed Chinese and English characters, and other national text characters.
接着, 短消息中心将这些消息内容进行解码, 并转换成 SMPP协议格 式的码流。 7bitASCII和 8bitASCII均转换成 SMPP协议的 8bitASCII; 8bit 二进制的转换成 SMPP协议的 8bit二进制; UCS2 , GBK和 UTF8均转换成 UCS2。 最后, 根据目的用户归属的网络类型和配置的期望编码方案进行终呼 编码。 Then, the short message center decodes the contents of the message and converts it into a stream of the SMPP protocol format. Both 7bitASCII and 8bitASCII are converted to 8-bit ASCII of SMPP protocol; 8bit binary is converted to 8-bit binary of SMPP protocol; UCS2, GBK and UTF8 are both converted to UCS2. Finally, the terminal call coding is performed according to the network type to which the destination user belongs and the configured desired coding scheme.
对于其他国家的文字字符消息,只要 Unicode编码方案支持,短消息中 心就可以扩展加入。  For text character messages in other countries, the short message center can be extended as long as the Unicode encoding scheme supports it.
本发明的另一方面, 提供了一种综合短信中心系统, 图 4是为本发明 实施例提供的综合短信中心系统的逻辑结构框图; 如图 4所示, 本发明实 施例提供的综合短信中心系统包括:  In another aspect of the present invention, an integrated short message center system is provided. FIG. 4 is a block diagram showing a logical structure of an integrated short message center system according to an embodiment of the present invention. As shown in FIG. 4, the integrated short message center provided by the embodiment of the present invention is provided. The system includes:
接收模块 401 , 用于接收主叫终端的主叫短消息;  The receiving module 401 is configured to receive a calling short message of the calling terminal.
解码模块 402, 用于根据所述主叫终端的网络协议类型, 对所述主叫短 消息进行解码, 获得消息内容;  The decoding module 402 is configured to decode the calling short message according to a network protocol type of the calling terminal, to obtain a message content;
编码模块 403 , 用于将所述消息内容转换为第一格式的编码消息; 转换模块 404, 用于根据路由信息获知目的终端的网络类型, 将所述第 一格式的编码消息转换为所述目的终端的网络协议类型支持的第二格式的 编码消息;  The encoding module 403 is configured to convert the message content into an encoded message in a first format. The converting module 404 is configured to learn, according to the routing information, a network type of the destination terminal, and convert the encoded message in the first format into the destination. An encoded message of a second format supported by the network protocol type of the terminal;
发送模块 405 , 用于将所述第二格式的编码消息发送给所述目的终端。 其中, 在所述编码模块 403 中, 还可以包括拆分单元, 用于在所述第 二格式的编码消息超过预定的长度阔值时进行拆分处理。  The sending module 405 is configured to send the encoded message of the second format to the destination terminal. The encoding module 403 may further include a splitting unit, configured to perform splitting processing when the encoded message of the second format exceeds a predetermined length threshold.
图 5是综合短信中心系统与外部网元组网的结构图, 如图 5所示, 该 综合短信中心实现了 GSM、 CDMA, PHS, SIP和 SMPP协议的消息互通。 短消息中心接收来自 GSM、 CDMA、 PHS终端提交的消息。  FIG. 5 is a structural diagram of an integrated short message center system and an external network element network. As shown in FIG. 5, the integrated short message center implements message intercommunication of GSM, CDMA, PHS, SIP, and SMPP protocols. The short message center receives messages submitted from GSM, CDMA, PHS terminals.
图 6 是综合短信中心系统的内部结构图。 信令前置机 (Mobile Application Part , MAP )的功能是将标准的信令与内部接口消息进行转换, GSM、 CDMA, PHS 终端收发的消息需要经由此模块。 SMPP 代理模块 ( SMPPAGENT ) 的功能是将 SMPP协议的消息与内部接口消息进行转换, 外部短消息实体(External Short Message Entity , ESME )收发消息需要 经由此模块。 SIP 网关模块(SIPGW ) 的功能是将 SIP协议的消息与内部 消息进行转换, SIP分发模块(SIPPROXY )的功能是将 SIP消息按一定策 略分发到 SIPGW模块, SIP终端和 SIP应用服务器收发消息需要经由这两 模块, 以上这些模块, 主要是实现图 4中接收模块 401和发送模块 405的 作用。 Figure 6 is an internal structure diagram of the integrated short message center system. The function of the Signalling Front-end (MAP) is to convert standard signaling and internal interface messages. The messages sent and received by GSM, CDMA, and PHS terminals need to pass through this module. The function of the SMPP proxy module (SMPPAGENT) is to convert the messages of the SMPP protocol with the internal interface messages. The external short message entity (ESME) needs to send and receive messages. Through this module. The function of the SIP gateway module (SIPGW) is to convert the SIP protocol message with the internal message. The function of the SIP distribution module (SIPPROXY) is to distribute the SIP message to the SIPGW module according to a certain policy. The SIP terminal and the SIP application server need to send and receive messages via the SIP terminal. These two modules, the above modules, mainly implement the functions of the receiving module 401 and the transmitting module 405 in FIG.
业务处理机模块(SERV ) 的作用, 主要是实现图 4中解码模块 402、 编码模块 403和转换模块 404的作用。  The role of the Service Processor Module (SERV) is mainly to implement the functions of the decoding module 402, the encoding module 403, and the conversion module 404 in FIG.
由上可知, 本发明实施例具有以下优势:  As can be seen from the above, the embodiments of the present invention have the following advantages:
1 )本发明将业务处理机对 GSM、 CDMA, PHS和 SIP综合短信中的 码流解码和编码的处理流程统一, 统一业务逻辑接口, 并降低综合短信中 心处理的复杂度。  1) The present invention unifies the processing flow of the code stream decoding and encoding in the GSM, CDMA, PHS and SIP integrated short messages by the service processor, unifies the service logic interface, and reduces the complexity of the integrated short message center processing.
2 )通过本发明的上述方案, 可以解决综合短消息中心中, 不同网络接 口分别处理消息内容编解码的问题。 为综合短消息中心的适配各种网络互 通消息提供了有力支持。  2) Through the above solution of the present invention, it is possible to solve the problem that the different network interfaces separately process the message content codec in the integrated short message center. It provides strong support for the integration of short message centers to adapt to various network communication messages.
3 )本发明通过统一综合短消息中心对消息内容的编解码, 降低了综合 短消息中心处理编解码的复杂度和难度, 提高了业务流程的复用率, 统一 了多个网络协议接口中短消息的编解码处理 , 使得 GSM、 CDMA、 PHS、 SIP和 ESME之间错综复杂的互通消息能够准确的被解析。  3) The invention reduces the complexity and difficulty of processing codec in the integrated short message center by uniformly synthesizing the code content of the short message center, improves the reuse rate of the business process, and unifies the shortness of multiple network protocol interfaces. The codec processing of the message enables the intricate interworking messages between GSM, CDMA, PHS, SIP and ESME to be accurately parsed.
4 )本发明具有可扩展性, 对于非中文, 非英文数字的文字字符编码, 只需要增加与 SMPP协议之间的字符转换接口即可支持。 另外, 中间的编 码方式可以是非 SMPP协议的其他国际上通用的编码方式, 例如 UTF8等。  4) The present invention is extensible. For non-Chinese, non-English numeric text character encoding, only need to increase the character conversion interface with the SMPP protocol to support. In addition, the intermediate coding mode may be other internationally common coding methods other than the SMPP protocol, such as UTF8.
以上所述仅为本发明的实施例而已, 并不用于限制本发明, 对于本领 域的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和 原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保 护范围之内。  The above is only the embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims

权利要求书 Claim
1. 一种消息内容统一编解码的方法, 其特征在于, 包括:  A method for uniformly encoding and decoding a message content, comprising:
综合短信中心接收主叫终端的主叫短消息, 根据所述主叫终端的网络 协议类型, 对所述主叫短消息进行解码, 获得消息内容;  The integrated short message center receives the calling short message of the calling terminal, and decodes the calling short message according to the network protocol type of the calling terminal to obtain the message content;
所述综合短信中心将所述消息内容转换为第一格式的编码消息, 并根 据路由信息获知目的终端的网络类型, 将所述第一格式的编码消息转换为 所述目的终端的网络协议类型支持的第二格式的编码消息;  The integrated short message center converts the content of the message into an encoded message of a first format, and obtains a network type of the destination terminal according to the routing information, and converts the encoded message of the first format into a network protocol type of the destination terminal. Encoded message in a second format;
所述综合短信中心将所述第二格式的编码消息发送给所述目的终端。 The integrated short message center sends the encoded message of the second format to the destination terminal.
2. 根据权利要求 1所述的方法, 其特征在于, 所述第一格式为短消息 点对点协议 SMPP协议格式。 The method according to claim 1, wherein the first format is a short message point-to-point protocol SMPP protocol format.
3. 根据权利要求 2所述的方法, 其特征在于, 所述综合短信中心将所 述消息内容转换为第一格式的编码消息为: 所述综合短信中心通过增加 SMPP协议的字符集转换接口, 支持中文和英文之外的文字字符。  The method according to claim 2, wherein the integrated short message center converts the message content into an encoded message of a first format: the integrated short message center increases a character set conversion interface of the SMPP protocol, Support for text characters other than Chinese and English.
4. 根据权利要求 2所述的方法, 其特征在于, 该方法还包括: 所述第 二格式的编码消息超过预定的长度阔值时, 对所述第二格式的编码消息进 行拆分处理。  The method according to claim 2, wherein the method further comprises: splitting the encoded message of the second format when the encoded message of the second format exceeds a predetermined length threshold.
5. 根据权利要求 1至 4任一项所述的方法, 其特征在于, 所述主叫终 端的网络协议类型为 GSM、 CDMA, PHS、 SIP或 SMPP;  The method according to any one of claims 1 to 4, wherein the network protocol type of the calling terminal is GSM, CDMA, PHS, SIP or SMPP;
所述目的终端的网络协议类型为 GSM、 CDMA、 PHS、 SIP或 SMPP。  The network protocol type of the destination terminal is GSM, CDMA, PHS, SIP or SMPP.
6. 根据权利要求 5所述的方法, 其特征在于, 所述综合短信中心根据 路由信息获知目的终端的网络类型为: 所述综合短信中心根据预先配置的 号段信息获得路由信息, 再由所述路由信息获知目的终端的网络类型。  The method according to claim 5, wherein the integrated short message center knows the network type of the destination terminal according to the routing information: the integrated short message center obtains routing information according to the pre-configured number segment information, and then The routing information learns the network type of the destination terminal.
7. 根据权利要求 5所述的方法, 其特征在于, 所述综合短信中心将第 一格式的编码消息转换为所述目的终端的网络协议类型支持的第二格式的 编码消息为: 所述目的终端的网络协议类型支持的第二格式的类型范围包括有所述 第一格式时, 不进行转换直接将所述第一格式的编码消息作为所述第二格 式的编码消息; The method according to claim 5, wherein the integrated short message center converts the encoded message in the first format into the encoded message in the second format supported by the network protocol type of the destination terminal: When the type of the second format supported by the network protocol type of the destination terminal includes the first format, the encoded message of the first format is directly used as the encoded message of the second format without performing conversion;
或者, 所述目的终端设定有期望的编码方式, 则直接将所述期望的编 码方式作为所述第二格式。  Alternatively, if the destination terminal is configured with a desired coding mode, the desired coding mode is directly used as the second format.
8. 一种综合短信中心系统, 其特征在于, 该系统包括: 接收模块、 解 码模块、 编码模块、 转换模块和发送模块; 其中,  An integrated short message center system, the system comprising: a receiving module, a decoding module, an encoding module, a conversion module, and a sending module;
所述接收模块, 用于接收主叫终端的主叫短消息;  The receiving module is configured to receive a calling short message of the calling terminal;
所述解码模块, 用于根据所述主叫终端的网络协议类型, 对所述主叫 短消息进行解码, 获得消息内容;  The decoding module is configured to decode the calling short message according to a network protocol type of the calling terminal, to obtain a message content;
所述编码模块, 用于将所述消息内容转换为第一格式的编码消息; 所述转换模块, 用于根据路由信息获知目的终端的网络类型, 将所述 第一格式的编码消息转换为所述目的终端的网络协议类型支持的第二格式 的编码消息;  The encoding module is configured to convert the content of the message into an encoded message of a first format, and the converting module is configured to learn, according to the routing information, a network type of the destination terminal, and convert the encoded message of the first format into a Decoding a second format encoded message supported by a network protocol type of the destination terminal;
所述发送模块, 用于将所述第二格式的编码消息发送给所述目的终端。 The sending module is configured to send the encoded message of the second format to the destination terminal.
9. 根据权利要求 8所述的综合短信中心系统, 其特征在于, 所述编码 模块还包括拆分单元, 用于在所述第二格式的编码消息超过预定的长度阔 值时, 对所述第二格式的编码消息进行拆分处理。 The integrated short message center system according to claim 8, wherein the encoding module further comprises a splitting unit, configured to: when the encoded message of the second format exceeds a predetermined length threshold, The encoded message of the second format is split.
10. 根据权利要求 8或 9所述的综合短信中心系统, 其特征在于, 所述第一格式为 SMPP协议格式;  The integrated short message center system according to claim 8 or 9, wherein the first format is an SMPP protocol format;
所述主叫终端的网络协议类型为: GSM、 CDMA, PHS、 SIP或 SMPP; 所述目的终端的网络协议类型为: GSM、 CDMA, PHS、 SIP或 SMPP。  The network protocol type of the calling terminal is: GSM, CDMA, PHS, SIP or SMPP; the network protocol type of the destination terminal is: GSM, CDMA, PHS, SIP or SMPP.
11. 根据权利要求 8或 9所述的综合短信中心系统, 其特征在于, 所述 转换模块根据路由信息获知目的终端的网络类型为: 转换模块根据预先配 置的号段信息获得路由信息, 再由所述路由信息获知目的终端的网络类型。 The integrated short message center system according to claim 8 or 9, wherein the conversion module knows the network type of the destination terminal according to the routing information: the conversion module obtains routing information according to the pre-configured number segment information, and then The routing information learns the network type of the destination terminal.
12、 根据权利要求 8或 9所述的综合短信中心系统, 其特征在于, 所 述转换模块将第一格式的编码消息转换为所述目的终端的网络协议类型支 持的第二格式的编码消息为: The integrated short message center system according to claim 8 or 9, wherein the conversion module converts the encoded message of the first format into the encoded message of the second format supported by the network protocol type of the destination terminal. :
所述目的终端的网络协议类型支持的第二格式的类型范围包括有所述 第一格式时, 转换模块不进行转换, 直接将所述第一格式的编码消息作为 所述第二格式的编码消息;  When the type of the second format supported by the network protocol type of the destination terminal includes the first format, the conversion module does not perform the conversion, and directly uses the encoded message of the first format as the encoded message of the second format. ;
或者, 所述目的终端设定有期望的编码方式, 则转换模块直接将所述 期望的编码方式作为所述第二格式。  Alternatively, if the destination terminal is configured with a desired coding mode, the conversion module directly uses the desired coding mode as the second format.
PCT/CN2010/072184 2009-08-27 2010-04-26 Method for encoding and decoding message content uniformly and integrated short message center system WO2011022980A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200910090580.7 2009-08-27
CN200910090580A CN101635892A (en) 2009-08-27 2009-08-27 Method for uniformly coding and decoding message contents and integrated short message center system

Publications (1)

Publication Number Publication Date
WO2011022980A1 true WO2011022980A1 (en) 2011-03-03

Family

ID=41594911

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/072184 WO2011022980A1 (en) 2009-08-27 2010-04-26 Method for encoding and decoding message content uniformly and integrated short message center system

Country Status (2)

Country Link
CN (1) CN101635892A (en)
WO (1) WO2011022980A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101635892A (en) * 2009-08-27 2010-01-27 中兴通讯股份有限公司 Method for uniformly coding and decoding message contents and integrated short message center system
CN101848435A (en) * 2010-03-25 2010-09-29 中兴通讯股份有限公司 Short message signaling-forwarding method and short message signaling system No. 7 router
CN103428657B (en) * 2012-05-24 2019-02-05 中兴通讯股份有限公司 A short message center system and its WAPPUSH message processing method
CN102970661A (en) * 2012-11-20 2013-03-13 中兴通讯股份有限公司 Method and device for code conversion of short messages
CN109120502B (en) * 2017-06-26 2022-05-20 中兴通讯股份有限公司 Communication method, device, system and storage medium for multi-service convergence platform
CN110140366B (en) * 2017-10-09 2021-05-11 华为技术有限公司 Method and terminal for sending long short message
CN118075701B (en) * 2024-02-29 2024-10-22 海南神州希望网络有限公司 Implementation method for splitting and recombining long short messages for processing multiple coding formats

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002045344A2 (en) * 2000-11-30 2002-06-06 Message Machines, Inc. Systems and methods for routing messages to communications devices
CN1501672A (en) * 2002-11-15 2004-06-02 深圳市中兴通讯股份有限公司 Method of switchingin multiple short message protocols on short message platform of stationary network
CN101115228A (en) * 2007-08-26 2008-01-30 上海华为技术有限公司 Short message processing method and system
CN101635892A (en) * 2009-08-27 2010-01-27 中兴通讯股份有限公司 Method for uniformly coding and decoding message contents and integrated short message center system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002045344A2 (en) * 2000-11-30 2002-06-06 Message Machines, Inc. Systems and methods for routing messages to communications devices
CN1501672A (en) * 2002-11-15 2004-06-02 深圳市中兴通讯股份有限公司 Method of switchingin multiple short message protocols on short message platform of stationary network
CN101115228A (en) * 2007-08-26 2008-01-30 上海华为技术有限公司 Short message processing method and system
CN101635892A (en) * 2009-08-27 2010-01-27 中兴通讯股份有限公司 Method for uniformly coding and decoding message contents and integrated short message center system

Also Published As

Publication number Publication date
CN101635892A (en) 2010-01-27

Similar Documents

Publication Publication Date Title
WO2011022980A1 (en) Method for encoding and decoding message content uniformly and integrated short message center system
US7830894B2 (en) Communications
JP4282904B2 (en) Voice packet communication method and apparatus
EP2822262B1 (en) Mechanism of dynamic signaling of encoder capabilities
CN101562910B (en) Voice data transmission method as well as system and media gateway
WO2009030079A1 (en) Method and system of sending and receiving a short message in a trunking communication system
JP3650800B2 (en) Sending speech between terminals on different networks
WO2015117407A1 (en) Processing method and device for terminal information
JP4988039B2 (en) Apparatus and associated method for configuring an IMS service for use in a circuit switched device
CN103688558A (en) Interface between 3GPP network and 3GPP2 network for WAP text messaging
CN103871415B (en) Realize the method, system and TFO conversion equipments of different systems voice intercommunication
WO2013182079A1 (en) Short message transcoding method and device
EP2071857B1 (en) Method and system for realizing short message service by NGN terminal
CN101018198A (en) IP address information transmission method and mobile switching center
CN118474086A (en) Communication method and device, computer readable storage medium and computer program product
CN100579105C (en) Method and device for data stream processing
US6785276B1 (en) System for tandem free operation in packet based communication
CN101076019B (en) Method for transmitting long information based on USSD protocol
CN107517202B (en) Binary sending and receiving method of SIP signaling
CN101765148A (en) Data transmission method, equipment and system
CN102595498B (en) Within a wireless communication network to uploading, the method and system of down-transmitting data process
KR100956793B1 (en) A message format change method and message server for providing message interoperability.
CN101415249B (en) Method, system and apparatus for negotiating data business signaling of session initialization protocol
CN209402738U (en) A kind of gateway and police digital cluster system
WO2011116592A1 (en) Method for forwarding short message signaling and short message signaling system number 7 router

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 10811145

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 10811145

Country of ref document: EP

Kind code of ref document: A1