CN104994486B - A kind of point-to-point note receiving/transmission method and system - Google Patents
A kind of point-to-point note receiving/transmission method and system Download PDFInfo
- Publication number
- CN104994486B CN104994486B CN201510351634.6A CN201510351634A CN104994486B CN 104994486 B CN104994486 B CN 104994486B CN 201510351634 A CN201510351634 A CN 201510351634A CN 104994486 B CN104994486 B CN 104994486B
- Authority
- CN
- China
- Prior art keywords
- message
- signaling gateway
- data packet
- short message
- receiver
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 24
- 230000005540 biological transmission Effects 0.000 title description 3
- 230000011664 signaling Effects 0.000 claims abstract description 123
- 238000013507 mapping Methods 0.000 claims description 19
- 238000012545 processing Methods 0.000 claims description 15
- 238000012546 transfer Methods 0.000 abstract description 5
- 239000002699 waste material Substances 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 11
- 230000008569 process Effects 0.000 description 8
- 230000004044 response Effects 0.000 description 4
- 230000003993 interaction Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/12—Messaging; Mailboxes; Announcements
- H04W4/14—Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/18—Information 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
- H04W4/185—Information 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 by embedding added-value information into content, e.g. geo-tagging
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/16—Gateway arrangements
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本发明公开了一种点对点短信收发方法及系统,包括:集中调度中心接收发送方归属区域的信令网关发送的携带短信上行消息的通用格式数据包;集中调度中心根据解析通用格式数据包得到的短信上行消息,获取接收方归属区域的信令网关地址,确定短信下行消息,并封装携带短信下行消息至通用格式数据包;集中调度中心发送携带短信下行消息的通用格式数据包至接收方归属区域的信令网关,通过接收方归属区域的信令网关将通用格式数据包携带的短信下行消息发送至接收方。本发明公开的点对点短信收发方法及系统,能够解决现有技术中由于各区域短信中心的信令网关和调度中心合设导致的资源浪费、互通性差及信令转接次数较多等问题。
The invention discloses a method and system for sending and receiving point-to-point short messages. SMS uplink message, obtain the signaling gateway address of the receiver's home area, determine the SMS downlink message, and encapsulate the SMS downlink message into a general-format data packet; the centralized dispatching center sends the general-format data packet carrying the SMS downlink message to the receiver's home area The signaling gateway in the receiver's home area sends the SMS downlink message carried in the general format data packet to the receiver. The method and system for sending and receiving point-to-point short messages disclosed by the present invention can solve the problems in the prior art such as waste of resources, poor interoperability, and high number of signaling transfers caused by the combined establishment of signaling gateways and dispatching centers in various regional short message centers.
Description
技术领域technical field
本发明涉及短信通信领域,尤其涉及一种点对点短信收发方法及系统。The invention relates to the field of short message communication, in particular to a method and system for sending and receiving point-to-point short messages.
背景技术Background technique
于现有技术中,各省同时在短信中心部署信令网关和调度中心,信令网关负责处理短信中心与移动交换中心(MSC,Mobile Switch Center)、归属位置寄存器(HLR,HomeLocation Register)之间的信令交互,并完成移动台(MS,Mobile Station)与短信中心之间信息交互所必需的信令接入与转换功能。调度中心负责进行短信调度以及短信的存储转发,负责业务鉴权、计费,并提供对外接口等。In the prior art, each province deploys a signaling gateway and a dispatch center in the SMS center at the same time, and the signaling gateway is responsible for processing the communication between the SMS center and the Mobile Switch Center (MSC, Mobile Switch Center) and the Home Location Register (HLR, HomeLocation Register). Signaling interaction, and complete the signaling access and conversion functions necessary for information interaction between the mobile station (MS, Mobile Station) and the SMS center. The dispatching center is responsible for dispatching short messages and storing and forwarding short messages, responsible for business authentication, billing, and providing external interfaces.
图1为现有技术中点对点短信收发的示意图。如图1所示,短信中心分省部署,当A省用户(发送方)向B省用户(接收方)发送短信时,点对点短信收发过程分为短信上行和短信下行两个过程。其中,图1中的箭头方向为短信收发过程的流程示意。FIG. 1 is a schematic diagram of sending and receiving point-to-point short messages in the prior art. As shown in Figure 1, SMS centers are deployed in different provinces. When a user in province A (sender) sends a short message to a user in province B (receiver), the process of sending and receiving point-to-point short messages is divided into two processes: uplink and downlink. Wherein, the direction of the arrow in FIG. 1 is a flow diagram of the process of sending and receiving short messages.
在短信上行过程中,发送方通过A省的MSC/拜访位置寄存器(VLR,Visit LocationRegister)将上行短信提交到A省信令网关,A省信令网关完成信令处理,将上行短信转化成私有协议的信息提交到A省短信中心的调度中心进行业务处理。During the uplink process of short messages, the sender submits the uplink short message to the signaling gateway of province A through the MSC/visit location register (VLR, Visit Location Register) of province A, and the signaling gateway of province A completes the signaling processing and converts the uplink short message into private The information of the agreement is submitted to the dispatching center of the short message center of province A for business processing.
在短信下行过程中,A省调度中心完成业务处理之后,将下行短信转到A省信令网关,开始短信下发流程。A省信令网关根据接收方的移动用户码(MSISDN,MobileSubscriber International ISDN/PSTN number),通过信令网全局名(GT,global title)路由至接收方归属省(B省)的HLR查询接收方当前所在MSC/VLR,B省HLR返回接收方当前MSC号码、接收方位置信息,A省信令网关根据B省HLR返回的路由信息通过B省MSC将下行短信发送给接收方。During the downlink process of short messages, after the dispatching center of province A completes the business processing, it transfers the downlink short messages to the signaling gateway of province A, and starts the short message sending process. The signaling gateway of province A routes to the HLR of the province to which the receiver belongs (province B) to query the receiver through the global name of the signaling network (GT, global title) according to the mobile subscriber code (MSISDN, MobileSubscriber International ISDN/PSTN number) of the receiver The current MSC/VLR, the HLR in province B returns the current MSC number and location information of the receiver, and the signaling gateway in province A sends the downlink SMS to the receiver through the MSC in province B according to the routing information returned by the HLR in province B.
在现有技术中,运营商现有的短信中心采用分省部署模式,各省有一套或多套短信中心,且短信中心的信令网关和调度中心合设。现有方案存在以下缺点:第一、部分省或区域的短信业务量低,会导致运营商在这些地域部署独立的短消息中心的利用率低,从而导致资源的浪费,增加运营商成本;第二、短信中心的信令网关和调度中心之间采用私有协议传输消息,造成不同厂商的信令网关和调度中心无法互联互通;第三、发送方调度中心完成业务处理之后,需要将消息发回发送方信令网关,由发送方信令网关通过信令网至接收方归属省的HLR查询路由,从而导致需要多次信令转接。In the prior art, the existing SMS center of the operator adopts a provincial deployment mode, and each province has one or more sets of SMS centers, and the signaling gateway and the dispatching center of the SMS center are jointly established. The existing solutions have the following disadvantages: first, the short message traffic in some provinces or regions is low, which will lead to low utilization rates of operators deploying independent short message centers in these regions, resulting in waste of resources and increased operator costs; 2. The signaling gateway of the SMS center and the dispatching center use a private protocol to transmit messages, causing the signaling gateways and dispatching centers of different manufacturers to be unable to communicate with each other; The signaling gateway of the sender, from which the signaling gateway of the sender queries the route to the HLR of the province where the receiver belongs through the signaling network, resulting in the need for multiple signaling transfers.
发明内容Contents of the invention
为了解决上述技术问题,本发明提供一种点对点短信收发方法及系统,用来解决现有技术中由于各区域短信中心的信令网关和调度中心合设导致的资源浪费、互通性差及信令转接次数较多等问题。In order to solve the above technical problems, the present invention provides a method and system for sending and receiving point-to-point short messages, which are used to solve the waste of resources, poor interoperability and signaling transfer in the prior art due to the joint establishment of signaling gateways and dispatching centers in various regional short message centers. Problems such as high number of calls.
为了达到上述技术目的,本发明提供一种点对点短信收发方法,包括:集中调度中心接收发送方归属区域的信令网关发送的携带短信上行消息的通用格式数据包,其中,所述短信上行消息由发送方发送至所述发送方归属区域的信令网关;所述集中调度中心根据解析所述通用格式数据包得到的短信上行消息,获取接收方归属区域的信令网关的地址,确定短信下行消息,并封装短信下行消息至通用格式数据包;所述集中调度中心发送携带短信下行消息的通用格式数据包至接收方归属区域的信令网关,通过所述接收方归属区域的信令网关将所述通用格式数据包携带的短信下行消息发送至接收方。In order to achieve the above-mentioned technical purpose, the present invention provides a method for sending and receiving point-to-point short messages, including: the centralized dispatching center receives a general-format data packet carrying short message uplink messages sent by the signaling gateway in the sender's home area, wherein the short message uplink messages are sent by The sender sends to the signaling gateway of the sender's home area; the centralized dispatching center obtains the address of the signaling gateway of the receiver's home area according to the SMS uplink message obtained by parsing the general format data packet, and determines the SMS downlink message , and encapsulate the short message downlink message into a general format data packet; the centralized dispatching center sends the general format data packet carrying the short message downlink message to the signaling gateway of the receiver's home area, and the signaling gateway of the receiver's home area transmits the Send the short message downlink message carried by the general format data packet to the receiver.
进一步地,所述短信上行消息包括消息标识、短信内容、发送方的MSISDN、接收方的MSISDN、发送方归属区域的信令网关对应的短信中心号码。Further, the short message uplink message includes a message identifier, short message content, MSISDN of the sender, MSISDN of the receiver, and a short message center number corresponding to a signaling gateway in the sender's home area.
进一步地,所述短信下行消息包括消息标识、短信内容、发送方的MSISDN、接收方的MSISDN。Further, the short message downlink message includes a message identifier, content of the short message, MSISDN of the sender, and MSISDN of the receiver.
进一步地,所述集中调度中心接收发送方归属区域的信令网关发送的携带短信上行消息的通用格式数据包之前,还包括:Further, before the centralized dispatching center receives the general-format data packet carrying the SMS uplink message sent by the signaling gateway in the sender's home area, it also includes:
所述集中调度中心存储MSISDN和信令网关的地址的映射关系表;The centralized dispatching center stores the mapping relationship table of the MSISDN and the address of the signaling gateway;
所述集中调度中心根据解析所述通用格式数据包得到的短信上行消息,获取接收方归属区域的信令网关的地址包括:所述集中调度中心解析接收到的所述通用格式数据包得到短信上行消息,从所述短信上行消息获取接收方的MSISDN,参照所述MSISDN和信令网关的地址的映射关系表,确定接收方归属区域的信令网关的地址。The centralized dispatching center obtains the address of the signaling gateway of the receiver's home area according to the SMS uplink message obtained by parsing the general format data packet, including: the centralized dispatching center parses the received general format data packet to obtain the short message uplink message message, obtain the MSISDN of the recipient from the uplink message of the short message, and refer to the mapping relationship table between the MSISDN and the address of the signaling gateway to determine the address of the signaling gateway in the area to which the recipient belongs.
进一步地,所述通用格式数据包为通用格式的网络协议(IP,Internet Protocol)数据包。Further, the general format data packet is a general format Internet Protocol (IP, Internet Protocol) data packet.
本发明还提供一种点对点短信收发系统,设置于集中调度中心,包括:接收模块,用于接收发送方归属区域的信令网关发送的携带短信上行消息的通用格式数据包,其中,所述短信上行消息由发送方发送至所述发送方归属区域的信令网关;解析处理模块,用于根据解析所述通用格式数据包得到的短信上行消息,获取接收方归属区域的信令网关的地址,确定短信下行消息,并封装短信下行消息至通用格式数据包;发送模块,用于发送携带短信下行消息的通用格式数据包至接收方归属区域的信令网关,通过所述接收方归属区域的信令网关将所述通用格式数据包携带的短信下行消息发送至接收方。The present invention also provides a point-to-point short message sending and receiving system, which is set in a centralized dispatching center and includes: a receiving module for receiving a general-format data packet carrying a short message uplink message sent by a signaling gateway in the sender's home area, wherein the short message The uplink message is sent by the sender to the signaling gateway of the sender's home area; the analysis processing module is used to obtain the address of the signaling gateway of the receiver's home area according to the short message uplink message obtained by parsing the general format data packet, Determine the short message downlink message, and encapsulate the short message downlink message into a general format data packet; the sending module is used to send the general format data packet carrying the short message downlink message to the signaling gateway of the receiver's home area, through the signaling gateway of the receiver's home area Instructing the gateway to send the short message downlink message carried by the common format data packet to the receiver.
进一步地,所述短信上行消息包括消息标识、短信内容、发送发的MSISDN、接收方的MSISDN、发送方归属区域的信令网关对应的短信中心号码。Further, the uplink message of the short message includes the message identifier, the content of the short message, the MSISDN of the sender, the MSISDN of the receiver, and the number of the short message center corresponding to the signaling gateway of the sender's home area.
进一步地,所述短信下行消息包括消息标识、短信内容、发送方的MSISDN、接收方的MSISDN。Further, the short message downlink message includes a message identifier, content of the short message, MSISDN of the sender, and MSISDN of the receiver.
进一步地,上述系统还包括:存储模块,用于存储MSISDN和信令网关的地址的映射关系表,Further, the above system also includes: a storage module, configured to store a mapping relationship table between the MSISDN and the address of the signaling gateway,
所述解析处理模块,用于根据解析所述通用格式数据包得到的短信上行消息,获取接收方归属区域的信令网关的地址包括:解析接收到的所述通用格式数据包得到短信上行消息,从所述短信上行消息获取接收方的MSISDN,参照所述MSISDN和信令网关的地址的映射关系表,确定接收方归属区域的信令网关的地址。The parsing processing module is used to obtain the address of the signaling gateway of the receiver's home area according to the SMS uplink message obtained by parsing the general format data packet, including: parsing the received general format data packet to obtain the SMS uplink message, Obtaining the MSISDN of the receiver from the uplink message of the short message, referring to the mapping relationship table between the MSISDN and the address of the signaling gateway, and determining the address of the signaling gateway in the area to which the receiver belongs.
进一步地,所述通用格式数据包为通用格式的IP数据包。Further, the common format data packet is a common format IP data packet.
在本发明中,集中调度中心接收发送方归属区域的信令网关发送的携带短信上行消息的通用格式数据包,其中,短信上行消息由发送方发送至发送方归属区域的信令网关;集中调度中心根据解析通用格式数据包得到的短信上行消息,获取接收方归属区域的信令网关的地址,确定短信下行消息,并封装短信下行消息至通用格式数据包;集中调度中心发送携带短信下行消息的通用格式数据包至接收方归属区域的信令网关,通过接收方归属区域的信令网关将通用格式数据包携带的短信下行消息发送至接收方。如此,通过将分散部署的调度中心集中建设,从而减低了运营和维护成本。另外,集中调度中心与信令网关之间采用通用格式数据包实现消息交互,从而解决了现有技术中不同厂商的信令网关和调度中心无法互联互通的问题。而且,在短信下发过程中,集中调度中心直接将短信转发至接收方归属区域的信令网关,由接收方归属区域的信令网关至当地HLR查询路由,从而减少了短信下发信令的转接次数。In the present invention, the centralized dispatching center receives the general format data packet carrying the short message uplink message sent by the signaling gateway of the sender's home area, wherein the short message uplink message is sent by the sender to the signaling gateway of the sender's home area; centralized scheduling The center obtains the address of the signaling gateway in the area to which the receiver belongs according to the uplink message of the SMS obtained by analyzing the data packet in the common format, determines the downlink message of the SMS, and encapsulates the downlink message of the SMS into a data packet in the general format; the centralized dispatching center sends the downlink message carrying the SMS The common format data packet is sent to the signaling gateway of the receiver's home area, and the SMS downlink message carried by the common format data package is sent to the receiver through the signaling gateway of the receiver's home area. In this way, the operating and maintenance costs are reduced by centralizing the construction of the dispatching centers deployed in a distributed manner. In addition, the centralized dispatching center and the signaling gateway adopt a common format data packet to realize message interaction, thus solving the problem in the prior art that the signaling gateways and dispatching centers of different manufacturers cannot be interconnected. Moreover, in the process of sending short messages, the centralized dispatching center directly forwards the short messages to the signaling gateway in the receiver's home area, and the signaling gateway in the receiver's home area goes to the local HLR to inquire about the route, thereby reducing the burden of sending short messages. Number of transfers.
附图说明Description of drawings
图1为现有技术中点对点短信收发的示意图;Fig. 1 is the schematic diagram of sending and receiving of point-to-point short messages in the prior art;
图2为本发明实施例提供的点对点短信收发方法的流程图;Fig. 2 is the flowchart of the method for sending and receiving point-to-point short messages provided by the embodiment of the present invention;
图3为本发明实施例提供的点对点短信收发的示意图;FIG. 3 is a schematic diagram of sending and receiving point-to-point short messages provided by an embodiment of the present invention;
图4为本发明实施例提供的通用格式的IP数据包的示意图;FIG. 4 is a schematic diagram of an IP data packet in a general format provided by an embodiment of the present invention;
图5为图4中选项的格式示意图;Fig. 5 is a schematic diagram of the format of the options in Fig. 4;
图6为本发明实施例提供的点对点短信收发系统的示意图。FIG. 6 is a schematic diagram of a point-to-point short message sending and receiving system provided by an embodiment of the present invention.
具体实施方式Detailed ways
以下结合附图对本发明的实施例进行详细说明,应当理解,以下所说明的实施例仅用于说明和解释本发明,并不用于限定本发明。The embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be understood that the embodiments described below are only used to illustrate and explain the present invention, and are not intended to limit the present invention.
图2为本发明实施例提供的点对点短信收发方法的流程图。如图2所示,本发明实施例提供的点对点短信收发方法包括以下步骤:Fig. 2 is a flowchart of a method for sending and receiving a point-to-point short message provided by an embodiment of the present invention. As shown in Figure 2, the point-to-point short message sending and receiving method provided by the embodiment of the present invention includes the following steps:
步骤11:集中调度中心接收发送方归属区域的信令网关发送的携带短信上行消息的通用格式数据包。其中,短信上行消息由发送方发送至发送方归属区域的信令网关。Step 11: The centralized dispatching center receives the common-format data packet carrying the SMS uplink message sent by the signaling gateway in the sender's home area. Wherein, the short message uplink message is sent by the sender to the signaling gateway in the area to which the sender belongs.
于此,短信上行消息包括消息标识(ID)、短信内容、发送方的MSISDN、接收方的MSISDN、发送方归属区域的信令网关对应的短信中心号码。Herein, the uplink message of the short message includes a message identifier (ID), content of the short message, MSISDN of the sender, MSISDN of the receiver, and a short message center number corresponding to the signaling gateway of the sender's home area.
步骤12:集中调度中心根据解析通用格式数据包得到的短信上行消息,获取接收方归属区域的信令网关的地址,确定短信下行消息,并封装短信下行消息至通用格式数据包。Step 12: The centralized dispatching center obtains the address of the signaling gateway in the area to which the receiver belongs according to the uplink message of the SMS obtained by parsing the data packet in the general format, determines the downlink message of the SMS, and encapsulates the downlink message of the SMS into a data packet in the general format.
其中,短信下行消息包括消息标识、短信内容、发送方的MSISDN、接收方的MSISDN。Wherein, the downlink message of the short message includes the message identifier, the content of the short message, the MSISDN of the sender, and the MSISDN of the receiver.
于一实施例中,步骤11之前,该方法还包括:集中调度中心存储MSISDN和信令网关的地址的映射关系表。此时,步骤12包括:集中调度中心解析接收到的通用格式数据包得到短信上行消息,从短信上行消息获取接收方的MSISDN,参照MSISDN和信令网关的地址的映射关系表,确定接收方归属区域的信令网关的地址。In an embodiment, before step 11, the method further includes: the centralized dispatching center stores a mapping relationship table between the MSISDN and the address of the signaling gateway. At this point, step 12 includes: the centralized dispatching center parses the received general-format data packet to obtain an uplink SMS message, obtains the receiver's MSISDN from the SMS uplink message, and determines the receiver's attribution with reference to the mapping relationship table between the MSISDN and the address of the signaling gateway. The address of the zone's signaling gateway.
步骤13:集中调度中心发送携带短信下行消息的通用格式数据包至接收方归属区域的信令网关,通过接收方归属区域的信令网关将通用格式数据包携带的短信下行消息发送至接收方。Step 13: The centralized dispatching center sends the common-format data packet carrying the SMS downlink message to the signaling gateway of the recipient's home area, and sends the SMS downlink message carried by the general-format data packet to the receiver through the signaling gateway of the receiver's home area.
其中,通用格式数据包为通用格式的网络协议(IP,Internet Protocol)数据包。Wherein, the general format data packet is a general format Internet Protocol (IP, Internet Protocol) data packet.
图3为本发明实施例提供的点对点短信收发的示意图。如图3所示,当A省用户(发送方)向B省用户(接收方)发送短信时,包括以下步骤:FIG. 3 is a schematic diagram of point-to-point short message sending and receiving provided by an embodiment of the present invention. As shown in Figure 3, when a user in province A (sender) sends a short message to a user in province B (receiver), the following steps are included:
步骤S1:发送方根据发送方归属区域的信令网关对应的短信中心号码将短信上行消息发送至A省的MSC/VLR。具体而言,发送方终端的通用集成电路卡(UICC,UniversalIntegrated Circuit Card)里保存有发送方归属区域的短信中心号码。发送方终端从UICC读出短信中心号码,根据该短信中心号码将短信上行消息发送至归属区域(即A省)的MSC/VLR。Step S1: The sender sends the SMS uplink message to the MSC/VLR in province A according to the SMS center number corresponding to the signaling gateway in the sender's home area. Specifically, the universal integrated circuit card (UICC, Universal Integrated Circuit Card) of the sender's terminal stores the SMS center number of the sender's home area. The sender terminal reads out the SMS center number from the UICC, and sends the SMS uplink message to the MSC/VLR in the home area (ie province A) according to the SMS center number.
步骤S2:A省的MSC/VLR将短信上行消息提交至A省信令网关。Step S2: The MSC/VLR in province A submits the uplink SMS message to the signaling gateway of province A.
步骤S3:A省信令网关完成信令处理之后,将短信上行消息通过网络协议(IP,Internet Protocol)承载网以通用协议转发至集中调度中心。Step S3: After finishing the signaling processing, the signaling gateway of province A forwards the uplink message of the short message to the centralized dispatching center through the Internet Protocol (IP, Internet Protocol) bearer network with a common protocol.
具体而言,A省信令网关完成信令处理后,将短信上行消息包含的信息封装至通用格式IP数据包的相应字段,将携带短信上行消息的通用格式IP数据包转发给集中调度中心。Specifically, after completing the signaling processing, the signaling gateway of province A encapsulates the information contained in the uplink SMS message into the corresponding fields of the IP data packet in common format, and forwards the IP data packet in common format carrying the uplink SMS message to the centralized dispatching center.
于此,图4为本发明实施例提供的通用格式的IP数据包的示意图。如图4所示,IP数据包例如包括版本(指IP协议的版本)、首部长度、区分服务、总长度、标识、标志、片偏移、生存时间、协议、首部检验和、源地址、目的地址、选项、填充及数据。Here, FIG. 4 is a schematic diagram of an IP data packet in a common format provided by an embodiment of the present invention. As shown in Figure 4, the IP packet includes, for example, version (referring to the version of the IP protocol), header length, differentiated services, total length, identification, flag, slice offset, time-to-live, protocol, header checksum, source address, purpose address, options, padding and data.
图5为图4中选项的格式示意图。其中,选项字段长度可变。选项例如包括选项码、选项类型、选项长度、选项内容及填充。于本实施例中,各区域信令网关与集中调度中心之间交互的消息通过携带在选项字段内进行传输。举例而言,短信上行消息包含的信息封装在选项字段。各区域信令网关与集中调度中心根据通用协议解析IP数据包,获取选项字段的内容,从而得到相应的信息。然而,本发明对此并不限定。于其他实施例中,各区域信令网关与集中调度中心之间交互的消息也可以通过携带在数据字段进行传输。FIG. 5 is a schematic diagram of the format of the options in FIG. 4 . Wherein, the length of the option field is variable. Options include, for example, option code, option type, option length, option content, and padding. In this embodiment, the messages exchanged between the regional signaling gateways and the centralized dispatching center are carried in the option field for transmission. For example, the information contained in the SMS uplink message is encapsulated in the option field. The regional signaling gateways and the centralized dispatching center analyze the IP data packets according to the common protocol, obtain the content of the option field, and obtain the corresponding information. However, the present invention is not limited thereto. In other embodiments, the messages exchanged between the regional signaling gateways and the centralized dispatching center may also be carried in the data field for transmission.
于此,当集中调度中心接收A省信令网关发送的携带短信上行消息的通用格式IP数据包后,会向A省信令网关发送携带短信上行消息响应的通用格式IP数据包。其中,短信上行消息例如包括消息标识(ID)、短信内容、发送方的MSISDN、接收方的MSISDN、发送方归属区域的信令网关对应的短信中心号码。短信上行消息响应例如包括消息ID、成功标识或错误标识。Here, when the centralized dispatching center receives the general-format IP data packet carrying the SMS uplink message sent by the signaling gateway of A province, it will send the general-format IP data packet carrying the SMS uplink message response to the A province signaling gateway. Wherein, the uplink message of the short message includes, for example, a message identifier (ID), content of the short message, the MSISDN of the sender, the MSISDN of the receiver, and the SMS center number corresponding to the signaling gateway of the sender's home area. The short message uplink message response includes, for example, a message ID, a success identifier or an error identifier.
步骤S4:集中调度中心从接到的通用格式的IP数据包中解析得到短信上行消息,完成短信业务处理(如鉴权、计费、优先级等)后,确定短信下行消息,并将短信下行消息封装至通用格式的IP数据包,同时,通过查找获取接收方归属区域的信令网关的地址,将封装后的IP数据包转发到接收方归属区域的信令网关(即B省信令网关)。Step S4: The centralized dispatching center analyzes and obtains the uplink message of the short message from the received IP data packet in the general format, and after completing the business processing of the short message (such as authentication, billing, priority, etc.), determines the downlink message of the short message, and sends the short message downlink The message is encapsulated into an IP data packet in a common format. At the same time, by searching for the address of the signaling gateway in the area to which the recipient belongs, the encapsulated IP data packet is forwarded to the signaling gateway in the area to which the recipient belongs (that is, the signaling gateway in province B). ).
于此,当B省信令网关接收集中调度中心发送的携带短信下行消息的通用格式IP数据包后,会向集中调度中心发送携带短信下行消息响应的通用格式IP数据包。Here, when the signaling gateway of province B receives the general-format IP data packet carrying the SMS downlink message sent by the centralized dispatching center, it will send the general-format IP data packet carrying the SMS downlink message response to the centralized dispatching center.
于此,短信下行消息例如包括消息ID、短信内容、发送方MSISDN、接收方MSISDN、短信优先级、发送方归属区域的信令网关对应的短信中心号码、是否有后续短信的标识等。短信下行消息响应例如包括消息ID、成功标识或错误标识。Here, the SMS downlink message includes, for example, message ID, SMS content, MSISDN of the sender, MSISDN of the receiver, SMS priority, SMS center number corresponding to the signaling gateway in the sender's home area, whether there is a follow-up SMS identifier, etc. The short message downlink message response includes, for example, a message ID, a success identifier or an error identifier.
于此,集中调度中心存储MSISDN和信令网关的地址的映射关系表(如表1)。Here, the centralized dispatching center stores a mapping relationship table (such as Table 1) between the MSISDN and the address of the signaling gateway.
表1Table 1
在表1中记录有两类映射关系,一类是根据MSISDN号段查询对应归属区域的信令网关的IP地址,另一类是根据具体的MSISDN查询归属区域的信令网关的IP地址。本发明对此并不限定。另外,通过设置“该映射关系是否激活”可以实现类似黑名单的功能。There are two types of mapping relationships recorded in Table 1, one is to query the IP address of the signaling gateway of the corresponding home area according to the MSISDN number segment, and the other is to query the IP address of the signaling gateway of the home area according to the specific MSISDN. The present invention is not limited thereto. In addition, a function similar to a blacklist can be realized by setting "whether the mapping relationship is active".
具体而言,集中调度中心根据短信上行消息获取接收方的MSISDN,通过查询表1,获得接收方归属区域的信令网关的地址(如B省信令网关的地址),集中调度中心根据短信上行消息及完成的短信业务处理,确定短信下行消息的内容,并封装短信下行消息至通用格式的IP数据包,将IP数据包直接发到B省信令网关,由B省信令网关完成后续短信下发流程。Specifically, the centralized dispatching center obtains the recipient's MSISDN according to the SMS uplink message, and obtains the address of the signaling gateway in the area to which the recipient belongs (such as the address of the signaling gateway of province B) by querying Table 1. Message and completed SMS business processing, determine the content of the SMS downlink message, and encapsulate the SMS downlink message into an IP data packet in a common format, and send the IP data packet directly to the signaling gateway of province B, and the signaling gateway of province B completes the subsequent SMS Delivery process.
步骤S5:B省信令网关至B省HLR查询接收方当前所在MSC/VLR,B省HLR返回接收方当前MSC号码、接收方位置信息。Step S5: The signaling gateway in province B queries the MSC/VLR where the recipient is currently located to the HLR in province B, and the HLR in province B returns the current MSC number and location information of the recipient.
步骤S6:B省信令网关根据B省HLR返回的路由信息下发短信下行消息至B省的MSC。Step S6: The signaling gateway of province B sends an SMS downlink message to the MSC in province B according to the routing information returned by the HLR of province B.
步骤S7:B省MSC将短信下行消息下发给接收方。Step S7: The MSC in province B sends the SMS downlink message to the recipient.
图6为本发明实施例提供的点对点短信收发系统的示意图。如图6所示,本发明实施例提供的点对点短信收发系统,设置于集中调度中心,包括:接收模块,用于接收发送方归属区域的信令网关发送的携带短信上行消息的通用格式数据包,其中,短信上行消息由发送方发送至发送方归属区域的信令网关;解析处理模块,用于根据解析所述通用格式数据包得到的短信上行消息,获取接收方归属区域的信令网关的地址,确定短信下行消息,并封装短信下行消息至通用格式数据包;发送模块,用于发送携带短信下行消息的通用格式数据包至接收方归属区域的信令网关,通过所述接收方归属区域的信令网关将通用格式数据包携带的短信下行消息发送至接收方。FIG. 6 is a schematic diagram of a point-to-point short message sending and receiving system provided by an embodiment of the present invention. As shown in Figure 6, the point-to-point short message sending and receiving system provided by the embodiment of the present invention is set in the centralized dispatching center, including: a receiving module, which is used to receive the general format data packet carrying the short message uplink message sent by the signaling gateway in the sender's home area , wherein, the short message uplink message is sent by the sender to the signaling gateway of the sender's home area; the analysis processing module is used to obtain the signaling gateway of the receiver's home area according to the short message uplink message obtained by parsing the general format data packet The address is to determine the downlink message of the short message, and encapsulate the downlink message of the short message into a general format data packet; the sending module is used to send the general format data packet carrying the downlink message of the short message to the signaling gateway of the receiver's home area, and pass the receiver's home area The signaling gateway sends the SMS downlink message carried by the common format data packet to the receiver.
其中,短信上行消息包括消息标识、短信内容、发送发的MSISDN、接收方的MSISDN、发送方归属区域的信令网关对应的短信中心号码。Wherein, the uplink message of the short message includes the message identifier, the content of the short message, the MSISDN of the sender, the MSISDN of the receiver, and the number of the short message center corresponding to the signaling gateway in the area to which the sender belongs.
其中,短信下行消息包括消息标识、短信内容、发送方的MSISDN、接收方的MSISDN。Wherein, the downlink message of the short message includes the message identifier, the content of the short message, the MSISDN of the sender, and the MSISDN of the receiver.
于一实施例中,上述系统还包括:存储模块,用于存储MSISDN和信令网关的地址的映射关系表。解析处理模块,用于根据解析所述通用格式数据包得到的短信上行消息,获取接收方归属区域的信令网关的地址包括:解析接收到的所述通用格式数据包得到短信上行消息,从所述短信上行消息获取接收方的MSISDN,参照所述MSISDN和信令网关的地址的映射关系表,确定接收方归属区域的信令网关的地址。In an embodiment, the above system further includes: a storage module, configured to store a mapping table of the MSISDN and the address of the signaling gateway. The parsing processing module is used to obtain the address of the signaling gateway of the receiver's home area according to the SMS uplink message obtained by parsing the general format data packet, including: parsing the received general format data packet to obtain the SMS uplink message, from the The short message uplink message obtains the MSISDN of the recipient, and refers to the mapping relationship table between the MSISDN and the address of the signaling gateway to determine the address of the signaling gateway in the area to which the recipient belongs.
其中,通用格式数据包为通用格式的IP数据包。Wherein, the common format data packet is an IP data packet of common format.
此外,上述系统的具体处理流程同上述方法所述,故于此不再赘述。In addition, the specific processing flow of the above system is the same as that of the above method, so it will not be repeated here.
以上显示和描述了本发明的基本原理和主要特征和本发明的优点。本发明不受上述实施例的限制,上述实施例和说明书中描述的只是说明本发明的原理,在不脱离本发明精神和范围的前提下,本发明还会有各种变化和改进,这些变化和改进都落入要求保护的本发明范围内。The basic principles and main features of the present invention and the advantages of the present invention have been shown and described above. The present invention is not limited by the above-mentioned embodiments, and what described in the above-mentioned embodiments and the description only illustrates the principle of the present invention, and without departing from the spirit and scope of the present invention, the present invention also has various changes and improvements, these changes All modifications and improvements are within the scope of the claimed invention.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510351634.6A CN104994486B (en) | 2015-06-23 | 2015-06-23 | A kind of point-to-point note receiving/transmission method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510351634.6A CN104994486B (en) | 2015-06-23 | 2015-06-23 | A kind of point-to-point note receiving/transmission method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104994486A CN104994486A (en) | 2015-10-21 |
CN104994486B true CN104994486B (en) | 2018-09-11 |
Family
ID=54306221
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510351634.6A Active CN104994486B (en) | 2015-06-23 | 2015-06-23 | A kind of point-to-point note receiving/transmission method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104994486B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110611891B (en) * | 2019-08-29 | 2022-05-20 | 深圳市梦网科技发展有限公司 | Short message sending method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5920822A (en) * | 1996-01-18 | 1999-07-06 | Telefonaktiebolaget Lm Ericsson (Publ) | Formatting of short message service messages in a cellular telephone network |
CN1859624A (en) * | 2006-02-27 | 2006-11-08 | 华为技术有限公司 | Message route method and system for multimedia message service |
CN101938719A (en) * | 2010-09-03 | 2011-01-05 | 中兴通讯股份有限公司 | Method for coding and decoding short messages (SMS), device and terminal |
CN103139731A (en) * | 2011-11-23 | 2013-06-05 | 华为软件技术有限公司 | Method, device and system of message interconnection |
CN103533505A (en) * | 2012-07-05 | 2014-01-22 | 中国移动通信集团江苏有限公司 | Short message sending method, short message sending server, short message sending system and mobile terminal |
-
2015
- 2015-06-23 CN CN201510351634.6A patent/CN104994486B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5920822A (en) * | 1996-01-18 | 1999-07-06 | Telefonaktiebolaget Lm Ericsson (Publ) | Formatting of short message service messages in a cellular telephone network |
CN1859624A (en) * | 2006-02-27 | 2006-11-08 | 华为技术有限公司 | Message route method and system for multimedia message service |
CN101938719A (en) * | 2010-09-03 | 2011-01-05 | 中兴通讯股份有限公司 | Method for coding and decoding short messages (SMS), device and terminal |
CN103139731A (en) * | 2011-11-23 | 2013-06-05 | 华为软件技术有限公司 | Method, device and system of message interconnection |
CN103533505A (en) * | 2012-07-05 | 2014-01-22 | 中国移动通信集团江苏有限公司 | Short message sending method, short message sending server, short message sending system and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN104994486A (en) | 2015-10-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10136269B2 (en) | Mobility management entity having mobile switching center functionality | |
US9867111B2 (en) | Methods, network control nodes and communication devices for routing signalling requests in a communication system | |
KR101641542B1 (en) | Method And System For Message Transmission | |
KR101976124B1 (en) | A method for transmitting small and rare communication data between a plurality of object-internet communication devices and a mobile communication network on the other hand, a system for transmitting small and rare communication data, a device for transmitting small and rare communication data, Communication devices Mobile communication networks, user equipment, programs and computer program products | |
CN100444689C (en) | Mobile communication system and mobile station | |
CN102340826A (en) | Data transmission method and device | |
CN101998313A (en) | Method and system for handling short message as well as short message gateway and interactive function entity | |
WO2013166913A1 (en) | Uplink/downlink transmission method for small amount of data, and corresponding terminal and mobility management unit | |
CN102149190B (en) | Registration method and system of machine type communications (MTC) equipment | |
US20130196698A1 (en) | Method and apparatus for transmitting an soap message in a mobile communication system | |
WO2012151963A1 (en) | Method and system for handling valid time in trigger information | |
CN103181126A (en) | Delivery report for text messages in SIP communications | |
WO2006031627B1 (en) | Methods, systems, and computer program products for automatically provisioning intelligent network (in) platforms, including home location registers (hlrs), and routing nodes with prepaid mobile subscriber information | |
JP2016528751A (en) | Data transmission method, apparatus, and system | |
EP1855497B1 (en) | A method and system for message routing of multimedia messaging service | |
CN102025599B (en) | Method and system of initiating communication, forwarding information and data message and route configuration | |
CN103079184B (en) | Method for sending trigger message under network congestion state | |
CN104994486B (en) | A kind of point-to-point note receiving/transmission method and system | |
US20190082499A1 (en) | Communication system, relaying apparatus, control method, and program | |
CN101483611B (en) | System, method and apparatus for implementing message service interconnection | |
CN1322772C (en) | Method for transferring short message | |
CN100388812C (en) | A method of transmitting messages using an internet protocol-based message transport protocol | |
CN102647768B (en) | Message transmitting method and device based on LTE-LAN(long term evolution-local area network) | |
US20040022220A1 (en) | Method for logging an end terminal in a packet data network | |
US7426389B2 (en) | Method and apparatus for implementing direct routing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |