[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN109819409B - Short message sending method, device, equipment and computer storage medium - Google Patents

Short message sending method, device, equipment and computer storage medium Download PDF

Info

Publication number
CN109819409B
CN109819409B CN201711175419.0A CN201711175419A CN109819409B CN 109819409 B CN109819409 B CN 109819409B CN 201711175419 A CN201711175419 A CN 201711175419A CN 109819409 B CN109819409 B CN 109819409B
Authority
CN
China
Prior art keywords
short message
routing
request
sending
route
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201711175419.0A
Other languages
Chinese (zh)
Other versions
CN109819409A (en
Inventor
周业娟
耿长剑
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201711175419.0A priority Critical patent/CN109819409B/en
Publication of CN109819409A publication Critical patent/CN109819409A/en
Application granted granted Critical
Publication of CN109819409B publication Critical patent/CN109819409B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明实施例提供了一种短消息发送方法,应用于短消息服务中心,所述方法包括:接收短消息发送请求,所述短消息发送请求携带有待发送的短消息;根据预先配置的第一路由重定向规则,确定需要对发送所述短消息时使用的路由信息进行路由重定向时,发送第一路由重定向请求,并接收与所述第一路由重定向请求对应的第一路由请求结果;根据所述第一路由请求结果,发送所述短消息。本发明实施例还公开了一种短消息发送装置、设备和计算机可读存储介质。

Figure 201711175419

An embodiment of the present invention provides a method for sending a short message, which is applied to a short message service center. The method includes: receiving a request for sending a short message, where the request for sending a short message carries a short message to be sent; Route redirection rules, when it is determined that route redirection needs to be performed on the routing information used when sending the short message, send a first route redirection request, and receive a first route request result corresponding to the first route redirection request ; send the short message according to the result of the first routing request. The embodiments of the present invention also disclose a short message sending apparatus, a device and a computer-readable storage medium.

Figure 201711175419

Description

一种短消息发送方法、装置、设备和计算机存储介质A kind of short message sending method, apparatus, equipment and computer storage medium

技术领域technical field

本发明涉及数据通信领域,涉及一种短消息发送方法、装置、设备和计算机存储介质,可以在短消息服务中心通过路由重定向获取短消息路由信息。The invention relates to the field of data communication, and relates to a short message sending method, device, equipment and computer storage medium, which can obtain short message routing information through route redirection in a short message service center.

背景技术Background technique

作为基本电信业务,传统短消息(Short Messaging Service,SMS)有着广泛的应用;近年来,虽然无线通信网络逐步向长期演进(Long Term Evolution,LTE)网络发展,但是SMS业务依然不可或缺。As a basic telecommunication service, traditional short message (Short Messaging Service, SMS) has a wide range of applications; in recent years, although the wireless communication network is gradually developing to the Long Term Evolution (Long Term Evolution, LTE) network, the SMS service is still indispensable.

通常地,短消息本地路由请求可以直接由信令转接点(Signalling TransferPoint,简称STP)处理;对于国际互通消息(国际互通短信业务),通常会引入SMS集线器(HUB)网元,用于处理短消息服务中心发出国际短信时的路由请求及终呼消息;短消息服务中心根据被叫号码作为路由查询全局码(GT号码)并发送路由请求,其中,发出路由查询请求后,可以通过STP或SMS HUB进一步获取路由信息。Usually, the short message local routing request can be directly processed by the Signaling Transfer Point (STP for short); for the international interworking message (international interworking short message service), an SMS hub (HUB) network element is usually introduced for processing The short message service center sends a routing request and a final call message when an international short message is sent; the short message service center uses the called number as a routing query global code (GT number) and sends a routing request. SMS HUB further obtains routing information.

随着国际互通短信业务的开展,在一些国家,能够通过STP直接接收国际互通短信业务的请求路由信息(Sending Routing Information,SRI)和终呼消息;在另外一些国家,能够通过STP直接接收国际互通短信业务的SRI,但是只有部分运营商的网络能够直接接收来自短消息服务中心(Short Message Service Cent,简称SMSC)的国际终呼消息,这些国家的其它运营商网络依然需要通过SMS HUB进行短消息的投递,这样就对STP或SMS HUB提出了更高的要求;例如,需要STP在处理国际号码路由请求后,能够根据被叫终端的国际移动用户识别码(International Mobile Subscriber Identification Number,IMSI)确定将路由请求重新改投SMS HUB,以便于获得路由和进行后续消息投递。这种通过STP进行业务逻辑的处理过程,对无线通信网络的核心网网元的操作影响大,并且灵活性较低。With the development of the international intercommunication short message service, in some countries, the request routing information (Sending Routing Information, SRI) and termination message of the international intercommunication short message service can be directly received through STP; in other countries, the international intercommunication can be directly received through STP The SRI of the SMS service, but only some operators' networks can directly receive the international final call message from the Short Message Service Center (Short Message Service Center, SMSC), and other operator networks in these countries still need to send short messages through the SMS HUB. This puts higher requirements on the STP or SMS HUB; for example, after processing the international number routing request, the STP needs to be able to determine according to the International Mobile Subscriber Identification Number (IMSI) of the called terminal. Redirect the routing request to the SMS HUB to facilitate routing and subsequent message delivery. This processing of service logic through STP has a great influence on the operation of the core network element of the wireless communication network, and has low flexibility.

发明内容SUMMARY OF THE INVENTION

为解决现有存在的技术问题,本发明实施例提供一种短消息发送方法、装置、设备和计算机存储介质,能够在短消息服务中心确定是否进行路由重定向,并在需要进行路由重定向时,获取路由请求结果;之后,基于路由请求结果进行短消息的投递;可以看出,本发明实施例的短消息发送方法主要通过短消息服务中心确定短消息路由,降低了发送短消息对STP或SMS HUB的要求;另外,由于短消息服务中心可以根据路由请求结果进行短消息的投递,使得短消息的投递过程较为灵活。In order to solve the existing technical problems, the embodiments of the present invention provide a short message sending method, device, equipment and computer storage medium, which can determine whether to perform route redirection in the short message service center, and when the route redirection needs to be performed. , obtain the route request result; then, deliver the short message based on the route request result; it can be seen that the short message sending method of the embodiment of the present invention mainly determines the short message route through the short message service center, which reduces the cost of sending short messages to STP or STP. SMS HUB requirements; in addition, because the short message service center can deliver the short message according to the routing request result, the delivery process of the short message is more flexible.

为达到上述目的,本发明实施例的技术方案是这样实现的:In order to achieve the above-mentioned purpose, the technical scheme of the embodiment of the present invention is realized as follows:

本发明实施例提供的一种短消息发送方法,应用于短消息服务中心,所述方法包括:A method for sending a short message provided by an embodiment of the present invention is applied to a short message service center, and the method includes:

接收短消息发送请求,所述短消息发送请求携带有待发送的短消息;receiving a short message sending request, where the short message sending request carries a short message to be sent;

根据预先配置的第一路由重定向规则,确定需要对发送所述短消息时使用的路由信息进行路由重定向时,发送第一路由重定向请求,并接收与所述第一路由重定向请求对应的第一路由请求结果;According to the preconfigured first route redirection rule, when it is determined that route redirection needs to be performed on the route information used when sending the short message, a first route redirection request is sent, and a first route redirection request corresponding to the first route redirection request is received. The result of the first routing request;

根据所述第一路由请求结果,发送所述短消息。The short message is sent according to the first routing request result.

本发明实施例提供的一种短消息发送设备,应用于短消息服务中心,所述设备包括:存储器和处理器;其中,A short message sending device provided by an embodiment of the present invention is applied to a short message service center, and the device includes: a memory and a processor; wherein,

所述存储器用于存储计算机程序;the memory is used to store computer programs;

所述处理器用于执行所述存储器中存储的计算机程序,以实现以下步骤:The processor is configured to execute a computer program stored in the memory to achieve the following steps:

接收短消息发送请求,所述短消息发送请求携带有待发送的短消息;receiving a short message sending request, where the short message sending request carries a short message to be sent;

根据预先配置的第一路由重定向规则,确定需要对发送所述短消息时使用的路由信息进行路由重定向时,发送第一路由重定向请求,并接收与所述第一路由重定向请求对应的第一路由请求结果;According to the preconfigured first route redirection rule, when it is determined that route redirection needs to be performed on the route information used when sending the short message, a first route redirection request is sent, and a first route redirection request corresponding to the first route redirection request is received The result of the first routing request;

根据所述第一路由请求结果,发送所述短消息。The short message is sent according to the first routing request result.

本发明实施例提供的一种短消息发送装置,应用于短消息服务中心,所述装置包括:接收模块和发送模块;其中,An apparatus for sending a short message provided by an embodiment of the present invention is applied to a short message service center, and the apparatus includes: a receiving module and a sending module; wherein,

接收模块,用于接收短消息发送请求,所述短消息发送请求携带有待发送的短消息;a receiving module, configured to receive a short message sending request, where the short message sending request carries a short message to be sent;

发送模块,用于在根据预先配置的第一路由重定向规则,确定需要对发送所述短消息时使用的路由信息进行路由重定向时,发送第一路由重定向请求;A sending module, configured to send a first route redirection request when it is determined according to a preconfigured first route redirection rule that route redirection needs to be performed on the routing information used when sending the short message;

所述接收模块,还用于接收与所述第一路由重定向请求对应的第一路由请求结果;The receiving module is further configured to receive a first routing request result corresponding to the first routing redirection request;

所述发送模块,还用于根据所述第一路由请求结果,发送所述短消息。The sending module is further configured to send the short message according to the first routing request result.

本发明实施例提供的一种计算机存储介质,其上存储有计算机程序,其特征在于,该计算机程序被处理器执行时实现上述任意一种短消息发送方法的的步骤。A computer storage medium provided by an embodiment of the present invention stores a computer program thereon, and is characterized in that, when the computer program is executed by a processor, the steps of any of the above short message sending methods are implemented.

本发明实施例提供的一种短消息发送方法、装置、设备和计算机存储介质,应用于短消息服务中心,首先,接收短消息发送请求,所述短消息发送请求携带有待发送的短消息;然后,根据预先配置的第一路由重定向规则,确定需要对发送所述短消息时使用的路由信息进行路由重定向时,发送第一路由重定向请求,并接收与所述第一路由重定向请求对应的第一路由请求结果;最后,根据所述第一路由请求结果,发送所述短消息。如此,可以看出,本发明实施例能够在在不改动STP等外围网元的情况下,由短消息服务中心进行灵活的路由重定向处理,提高国际运营商之间进行互通的灵活性;也就是说,减少对核心网元STP改动操作的不灵活性,有利于快速开展短信业务。A short message sending method, device, device, and computer storage medium provided by the embodiments of the present invention are applied to a short message service center. First, a short message sending request is received, and the short message sending request carries a short message to be sent; then , according to the preconfigured first route redirection rule, when it is determined that route redirection needs to be performed on the routing information used when sending the short message, send a first route redirection request, and receive and receive the first route redirection request The corresponding first route request result; finally, according to the first route request result, the short message is sent. In this way, it can be seen that the embodiment of the present invention can perform flexible route redirection processing by the short message service center without changing peripheral network elements such as STP, thereby improving the flexibility of intercommunication between international operators; That is to say, reducing the inflexibility of the operation of changing the STP of the core network element is conducive to the rapid development of the short message service.

附图说明Description of drawings

图1为本发明实施例的短消息发送方法的流程示意图一;1 is a schematic flowchart 1 of a method for sending a short message according to an embodiment of the present invention;

图2为本发明实施例的短消息服务中心的结构示意图;2 is a schematic structural diagram of a short message service center according to an embodiment of the present invention;

图3为本发明实施例的短消息发送方法的流程示意图二;3 is a second schematic flowchart of a method for sending a short message according to an embodiment of the present invention;

图4为本发明应用实施例的短消息发送方法的流程示意图一;4 is a schematic flow chart 1 of a method for sending a short message according to an application embodiment of the present invention;

图5为本发明应用实施例的短消息发送方法的流程示意图二;5 is a second schematic flowchart of a method for sending a short message according to an application embodiment of the present invention;

图6为本发明应用实施例的短消息发送方法的流程示意图三;6 is a third schematic flowchart of a method for sending a short message according to an application embodiment of the present invention;

图7为本发明应用实施例的短消息发送方法的流程示意图四;7 is a fourth schematic flowchart of a method for sending a short message according to an application embodiment of the present invention;

图8为本发明实施例的短消息发送装置的的组成结构示意图;8 is a schematic diagram of a composition structure of a short message sending apparatus according to an embodiment of the present invention;

图9为本发明实施例的的短消息发送设备的硬件结构示意图。FIG. 9 is a schematic diagram of a hardware structure of a short message sending device according to an embodiment of the present invention.

具体实施方式Detailed ways

以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.

第一实施例first embodiment

本发明第一实施例记载了一种短消息发送方法,可以应用于短消息服务中心(Short Message Service Cent,SMSC);图1为本发明实施例的短消息发送方法的流程示意图一,如图1所示,该方法可以包括:The first embodiment of the present invention describes a method for sending a short message, which can be applied to a short message service center (Short Message Service Cent, SMSC). 1, the method may include:

步骤101:接收短消息发送请求,所述短消息发送请求携带有待发送的短消息;Step 101: Receive a short message sending request, where the short message sending request carries a short message to be sent;

在实际实施时,可以由主叫终端(MO)将短消息发送请求发送至SMSC,SMSC在收到短消息发送请求时,可以回复相应的响应消息(MOACK消息)。In actual implementation, the calling terminal (MO) may send the short message sending request to the SMSC, and the SMSC may reply with a corresponding response message (MOACK message) when receiving the short message sending request.

进一步地,在接收到短消息发送请求后,短消息服务中心还可以查询发送所述短消息时使用的路由信息,示例性地,可以根据被叫号码作为路由查询GT码,以确定发送所述短消息时使用的路由信息。Further, after receiving the short message sending request, the short message service center can also query the routing information used when sending the short message. Routing information to use when shorting messages.

步骤102:根据预先配置的第一路由重定向规则,确定需要对发送所述短消息时使用的路由信息进行路由重定向时,发送第一路由重定向请求,并接收与所述第一路由重定向请求对应的第一路由请求结果;Step 102: According to the preconfigured first route redirection rule, when it is determined that route redirection needs to be performed on the routing information used when sending the short message, send a first route redirection request, and receive a redirection request with the first route. The first route request result corresponding to the directional request;

这里,对于预先配置的第一路由重定向规则的实现方式,在一种可选的实施例中,可以根据路由参数,判断是否需要对发送所述短消息时使用的路由信息进行路由重定向,其中,所述路由参数包括以下至少一项:所述短消息对应的主叫终端的标识信息、所述短消息对应的被叫终端的标识信息、所述短消息服务中心的地址(Sercvice Centre Address,SCAddress)信息。Here, for the implementation of the preconfigured first route redirection rule, in an optional embodiment, it may be determined whether route redirection needs to be performed on the route information used when sending the short message according to the route parameter, The routing parameter includes at least one of the following: identification information of the calling terminal corresponding to the short message, identification information of the called terminal corresponding to the short message, and the address of the short message service center (Service Centre Address). , SCAddress) information.

可选地,所述短消息对应的主叫终端的标识信息可以是移动台国际用户识别码(Mobile Subscriber International ISDN number,MSISDN)、IMSI或其他参数,ISDN(Integrated Service Digital Network)的中文为综合业务数字网;所述短消息对应的被叫终端的标识信息也可以是MSISDN、IMSI或其他参数。Optionally, the identity information of the calling terminal corresponding to the short message may be a Mobile Subscriber International ISDN number (MSISDN), an IMSI or other parameters, and the Chinese for ISDN (Integrated Service Digital Network) is integrated. Service digital network; the identity information of the called terminal corresponding to the short message may also be MSISDN, IMSI or other parameters.

可以理解的是,在发送第一路由重定向请求时,需要重新查询GT码。It can be understood that, when sending the first route redirection request, the GT code needs to be queried again.

在实际实施时,短消息服务中心可以向STP或SMS HUB发送第一路由重定向请求,STP或SMS HUB对第一路由重定向请求进行处理,生成与第一路由重定向请求对应的第一路由请求结果,并将第一路由请求结果发送至短消息服务中心。In actual implementation, the short message service center may send a first route redirection request to the STP or SMS HUB, and the STP or SMS HUB processes the first route redirection request to generate a first route corresponding to the first route redirection request request result, and send the first route request result to the short message service center.

需要指出的是,如果根据预先配置的第一路由重定向规则,确定不需要对发送所述短消息时使用的路由信息进行路由重定向,则使用默认的路由信息(查询得到的路由信息)进行短消息的发送。It should be pointed out that, if it is determined according to the preconfigured first routing redirection rule that routing redirection is not required for the routing information used when sending the short message, the default routing information (routing information obtained by query) is used to perform routing redirection. Sending of short messages.

步骤103:根据所述第一路由请求结果,发送所述短消息。Step 103: Send the short message according to the first routing request result.

可选地,当短消息服务中心接收的第一路由请求结果携带发送短消息使用的路由信息时,根据所述第一路由请求结果携带的所述路由信息,发送短消息。Optionally, when the first routing request result received by the short message service center carries the routing information used for sending the short message, the short message is sent according to the routing information carried in the first routing request result.

例如,所述第一路由请求结果携带的所述路由信息指示短消息服务中心直接将短消息发送至拜访移动业务交换中心(Visitor Mobile Switching Center,VMSC),则短消息服务中心直接将短消息发送至拜访移动业务交换中心;如果第一路由请求结果携带的路由信息指示短消息服务中心将短消息通过STP或SMS HUB发送至VMSC,则短消息服务中心将短消息通过STP或SMS HUB发送至VMSC;之后,由VMSC将短消息发送至被叫终端(MT)。For example, the routing information carried in the first routing request result instructs the short message service center to directly send the short message to a Visitor Mobile Switching Center (Visitor Mobile Switching Center, VMSC), then the short message service center directly sends the short message To the visiting mobile service switching center; if the routing information carried by the first routing request result instructs the short message service center to send the short message to the VMSC through STP or SMS HUB, then the short message service center sends the short message to the VMSC through STP or SMS HUB ; After that, the VMSC sends the short message to the called terminal (MT).

可选地,可以根据第一路由请求结果、以及预先配置的第二路由重定向规则,确定需要对发送所述短消息时使用的路由信息再次进行路由重定向时,发送第二路由重定向请求,并接收与所述第二路由重定向请求对应的第二路由请求结果;Optionally, according to the result of the first routing request and the preconfigured second routing redirection rule, when it is determined that the routing information used when sending the short message needs to be redirected by routing again, the second routing redirection request is sent. , and receive a second routing request result corresponding to the second routing redirection request;

根据所述第二路由请求结果,发送所述短消息。The short message is sent according to the second routing request result.

这里,对于预先配置的第二路由重定向规则的实现方式,在一种可选的实施例中,可以根据路由参数,判断是否需要对发送所述短消息时使用的路由信息再次进行路由重定向,其中,所述路由参数包括所述第一路由请求结果,所述路由参数还包括以下至少一项:所述短消息对应的主叫终端的标识信息、所述短消息对应的被叫终端的标识信息、所述短消息服务中心的地址信息。Here, for the implementation of the preconfigured second routing redirection rule, in an optional embodiment, it may be determined whether routing redirection needs to be performed again on the routing information used when sending the short message according to routing parameters , wherein the routing parameter includes the first routing request result, and the routing parameter further includes at least one of the following: identification information of the calling terminal corresponding to the short message, identification information of the called terminal corresponding to the short message Identification information, address information of the short message service center.

可以理解的是,在发送第二路由重定向请求时,需要重新查询GT码。It can be understood that, when sending the second route redirection request, the GT code needs to be queried again.

在实际实施时,短消息服务中心可以向STP或SMS HUB发送第二路由重定向请求;可选地,可以基于预先配置的第二路由重定向规则以及第一路由请求结果,判断向STP发送第二路由重定向请求,还是向SMS HUB发送第二路由重定向请求;例如,在示例1中,如果短消息服务中心向STP发送第一路由重定向请求,且第一路由重定向请求指示路由重定向失败或者指示需要再次进行路由重定向时,那么短消息服务中心向SMS HUB发送第二路由重定向请求;在示例2中,如果短消息服务中心向SMS HUB发送第一路由重定向请求,且第一路由重定向请求指示路由重定向失败或者指示需要再次进行路由重定向时,那么短消息服务中心向STP发送第二路由重定向请求。In actual implementation, the short message service center may send the second route redirection request to the STP or SMS HUB; optionally, based on the preconfigured second route redirection rule and the result of the first route request, it may determine to send the second route redirection request to the STP. The second route redirection request is to send the second route redirection request to the SMS HUB; for example, in Example 1, if the short message service center sends the first route redirection request to the STP, and the first route redirection request indicates that the route is redirected When the orientation fails or indicates that the route redirection needs to be performed again, the short message service center sends a second route redirection request to the SMS HUB; in Example 2, if the short message service center sends the first route redirection request to the SMS HUB, and When the first route redirection request indicates that route redirection fails or indicates that route redirection needs to be performed again, the short message service center sends a second route redirection request to the STP.

当STP或SMS HUB接收到第二路由重定向请求后,对第二路由重定向请求进行处理,生成与第二路由重定向请求对应的第二路由请求结果,并将第二路由请求结果发送至短消息服务中心。After receiving the second route redirection request, the STP or SMS HUB processes the second route redirection request, generates a second route request result corresponding to the second route redirection request, and sends the second route request result to Short Message Service Center.

需要指出的是,如果根据预先配置的第二路由重定向规则和第一路由请求结果,确定不需要对发送所述短消息时使用的路由信息再次进行路由重定向时,则可以第一路由请求结果携带的所述路由信息,发送短消息。It should be pointed out that if, according to the preconfigured second routing redirection rules and the first routing request result, it is determined that routing redirection is not required for the routing information used when sending the short message, the first routing request can be used. The routing information carried in the result is sent as a short message.

可选地,当短消息服务中心接收到第二路由请求结果后,如果短消息服务中心接收的第二路由请求结果携带发送短消息使用的路由信息时,根据所述第二路由请求结果携带的所述路由信息,发送短消息。Optionally, after the short message service center receives the second route request result, if the second route request result received by the short message service center carries the routing information used for sending the short message, according to the second route request result carried by the short message service center. For the routing information, send a short message.

例如,第二路由请求结果携带的所述路由信息指示短消息服务中心直接将短消息发送至VMSC,则短消息服务中心直接将短消息发送至VMSC;如果第一路由请求结果携带的路由信息指示短消息服务中心将短消息通过STP或SMSHUB发送至VMSC,则短消息服务中心将短消息通过STP或SMS HUB发送至VMSC;之后,由VMSC将短消息发送至被叫终端(MT)。For example, the routing information carried in the second routing request result indicates that the short message service center directly sends the short message to the VMSC, and the short message service center directly sends the short message to the VMSC; if the routing information carried in the first routing request result indicates that The short message service center sends the short message to the VMSC through STP or SMSHUB, and the short message service center sends the short message to the VMSC through STP or SMS HUB; after that, the VMSC sends the short message to the called terminal (MT).

本发明实施例中,当VMSC接收到短消息后,可以直接向SMSC发送相应的响应消息(MTACK消息)。In this embodiment of the present invention, after receiving the short message, the VMSC may directly send a corresponding response message (MTACK message) to the SMSC.

图2为本发明实施例的短消息服务中心的结构示意图,如图2所示,短消息服务中心可以包括:消息接收单元201、路由重定向单元202、消息路由单元203和消息投递单元204;其中,FIG. 2 is a schematic structural diagram of a short message service center according to an embodiment of the present invention. As shown in FIG. 2 , the short message service center may include: a message receiving unit 201, a routing redirection unit 202, a message routing unit 203, and a message delivery unit 204; in,

消息接收单元201,用于接收短消息发送请求,也就是说,接收处理短消息提交请求;消息接收单元的实现方式可以参照步骤101所述,这里不再详述。The message receiving unit 201 is configured to receive a short message sending request, that is to say, receive and process a short message submission request; the implementation of the message receiving unit may refer to the description in step 101, which will not be described in detail here.

路由重定向单元202,用于根据预先配置的第一路由重定向规则,判断是否需要对发送所述短消息时使用的路由信息进行路由重定向;以及用于根据第一路由请求结果、以及预先配置的第二路由重定向规则,判断是否需要对发送所述短消息时使用的路由信息再次进行路由重定向。The route redirection unit 202 is configured to determine whether it is necessary to perform route redirection on the route information used when sending the short message according to the preconfigured first route redirection rule; The configured second routing redirection rule determines whether routing redirection needs to be performed again on the routing information used when sending the short message.

消息路由单元203,用于需要进行路由重定向或者需要再次进行路由重定向时,发送相应的路由重定向请求,并接收相应的路由请求结果;消息路由单元还可以对接收的路由请求结果进行处理,例如,根据接收的路由请求结果确定短消息的发送路径或最终消息路由地址等。The message routing unit 203 is used to send a corresponding routing redirection request and receive a corresponding routing request result when the routing redirection needs to be performed or the routing redirection needs to be performed again; the message routing unit can also process the received routing request result. , for example, determining the sending path of the short message or the final message routing address, etc. according to the received routing request result.

消息投递单元204,用于消息路由单元的处理结果,发送短消息。The message delivery unit 204 is used for the processing result of the message routing unit to send a short message.

路由重定向单元、消息路由单元和消息投递单元的实现方式已经可以参照步骤102和步骤103所述,这里不再详述。The implementation of the routing redirection unit, the message routing unit, and the message delivery unit can already be described with reference to steps 102 and 103, and will not be described in detail here.

图3为本发明实施例的短消息发送方法的流程示意图二,如图3所示,该方法可以包括:FIG. 3 is a second schematic flowchart of a method for sending a short message according to an embodiment of the present invention. As shown in FIG. 3 , the method may include:

步骤301:获取并分析路由参数,判断是否需要首次进行路由重定向;如果是,则执行步骤304,如果否,则执行步骤302:;Step 301: obtain and analyze the routing parameters, and determine whether it is necessary to perform route redirection for the first time; if so, execute step 304; if not, execute step 302:;

这里,对于判断是否需要首次进行路由重定向的实现方式,可以根据预先配置的第一路由重定向规则,判断是否需要对发送所述短消息时使用的路由信息进行路由重定向。Here, for the implementation manner of judging whether the route redirection needs to be performed for the first time, it can be determined whether route redirection needs to be performed on the route information used when sending the short message according to the preconfigured first route redirection rule.

步骤302:由消息路由单元发送第一路由重定向请求,并接收第一路由请求结果。Step 302: The message routing unit sends a first route redirection request, and receives the first route request result.

步骤303:对第一路由请求结果和路由参数进行分析,判断是否需要再次进行路由重定向;如果是,则执行步骤304,如果否,则执行步骤305。Step 303: Analyze the first routing request result and routing parameters to determine whether it is necessary to perform routing redirection again; if yes, go to Step 304, if not, go to Step 305.

这里,对于判断是否需要再次进行路由重定向的实现方式,可以根据第一路由请求结果、以及预先配置的第二路由重定向规则,判断是否需要对发送所述短消息时使用的路由信息再次进行路由重定向。Here, for the implementation of judging whether it is necessary to perform routing redirection again, it can be determined whether it is necessary to perform routing information used in sending the short message again according to the result of the first routing request and the preconfigured second routing redirection rule. Route redirection.

步骤304:发送路由重定向请求,并接收相应的路由请求结果。Step 304: Send a route redirection request, and receive a corresponding route request result.

步骤305:由消息路由单元对接收的路由请求结果进行处理。Step 305: The received routing request result is processed by the message routing unit.

步骤306:根据消息路由单元对接收的路由请求结果的处理结果,发送短消息。Step 306: Send a short message according to the processing result of the received routing request result by the message routing unit.

应用本发明第一实施例的短消息发送方法,能够在在不改动STP等外围网元的情况下,由短消息服务中心进行灵活的路由重定向处理,提高国际运营商之间进行互通的灵活性;也就是说,减少对核心网元STP改动操作的不灵活性,有利于快速开展短信业务。By applying the short message sending method of the first embodiment of the present invention, the short message service center can perform flexible route redirection processing without changing peripheral network elements such as STP, and improve the flexibility of intercommunication between international operators. In other words, it reduces the inflexibility of the operation of changing the STP of the core network element, which is conducive to the rapid development of short message services.

下面通过几个应用实施例进一步说明本发明的实现方式。The implementation of the present invention is further described below through several application examples.

第二实施例Second Embodiment

本发明第二实施例可以应用于对本地短消息(非国际互通消息)的发送,图4为本发明应用实施例的短消息发送方法的流程示意图一,如图4所示,该方法可以包括:The second embodiment of the present invention can be applied to the sending of local short messages (non-international interworking messages). FIG. 4 is a schematic flowchart 1 of a method for sending short messages according to an application embodiment of the present invention. As shown in FIG. 4 , the method may include: :

步骤401:SMSC在接收到短消息发送请求(图4中所示的MO)后,回复MOACK消息。Step 401: After receiving the short message sending request (MO shown in FIG. 4), the SMSC replies with a MOACK message.

步骤402:SMSC根据预先配置的第一路由重定向规则,判断是否需要对发送所述短消息时使用的路由信息进行路由重定向;在确定需要对发送所述短消息时使用的路由信息进行路由重定向时,向STP发送第一路由重定向请求(图4中所示的SRI)。Step 402: The SMSC judges, according to the preconfigured first routing redirection rule, whether it is necessary to perform route redirection on the routing information used when sending the short message; when it is determined that the routing information used when sending the short message needs to be routed When redirected, a first route redirect request (SRI shown in Figure 4) is sent to the STP.

步骤403:STP向SMSC回复第一路由请求结果(图4中的SRIACK)。Step 403: The STP replies the first route request result (SRIACK in FIG. 4 ) to the SMSC.

步骤404:SMSC根据第一路由请求结果,向VMSC发送短消息(图4中的MT)。Step 404: The SMSC sends a short message (MT in FIG. 4) to the VMSC according to the result of the first route request.

步骤405:VMSC向SMSC回复MTACK消息。Step 405: The VMSC replies an MTACK message to the SMSC.

第三实施例Third Embodiment

本发明第三实施例可以应用于对国际互通消息的发送,图5为本发明应用实施例的短消息发送方法的流程示意图二,如图5所示,该方法可以包括:The third embodiment of the present invention can be applied to the sending of international intercommunication messages. FIG. 5 is a second flowchart of a method for sending a short message according to an application embodiment of the present invention. As shown in FIG. 5 , the method may include:

步骤501:SMSC在接收到短消息发送请求(图5中所示的MO)后,回复MOACK消息。Step 501: After receiving the short message sending request (MO shown in FIG. 5), the SMSC replies with a MOACK message.

步骤502:SMSC根据预先配置的第一路由重定向规则,判断是否需要对发送所述短消息时使用的路由信息进行路由重定向;在确定需要对发送所述短消息时使用的路由信息进行路由重定向时,向SMS HUB发送第一路由重定向请求(图5中所示的SRI)。Step 502: The SMSC judges, according to the preconfigured first routing redirection rule, whether it is necessary to perform routing redirection on the routing information used when sending the short message; when it is determined that the routing information used when sending the short message needs to be routed During redirection, a first route redirection request (SRI shown in FIG. 5 ) is sent to the SMS HUB.

步骤503:SMS HUB向SMSC回复第一路由请求结果(图5中的SRIACK)。Step 503: The SMS HUB replies to the SMSC with the first route request result (SRIACK in FIG. 5).

步骤504:SMSC根据第一路由请求结果,将短消息(图5中的MT)发送至SMS HUB,SMSHUB将短消息发送至VMSC。Step 504: The SMSC sends the short message (MT in FIG. 5) to the SMS HUB according to the first routing request result, and the SMSHUB sends the short message to the VMSC.

步骤505:VMSC回复MTACK消息。Step 505: The VMSC replies with an MTACK message.

具体地,VMSC向SMS HUB发送MTACK消息,之后,SMS HUB将MTACK消息发送至SMSC。Specifically, the VMSC sends an MTACK message to the SMS HUB, and then the SMS HUB sends the MTACK message to the SMSC.

第四实施例Fourth Embodiment

本发明第四实施例可以应用于对国际互通消息的发送,图6为本发明应用实施例的短消息发送方法的流程示意图三,如图6所示,该方法可以包括:The fourth embodiment of the present invention can be applied to the sending of international interworking messages. FIG. 6 is a schematic flowchart of a third method for sending a short message according to an application embodiment of the present invention. As shown in FIG. 6 , the method may include:

步骤601:SMSC在接收到短消息发送请求(图6中所示的MO)后,回复MOACK消息。Step 601: After receiving the short message sending request (MO shown in FIG. 6), the SMSC replies with a MOACK message.

步骤602:SMSC根据预先配置的第一路由重定向规则,判断是否需要对发送所述短消息时使用的路由信息进行路由重定向;在确定需要对发送所述短消息时使用的路由信息进行路由重定向时,向SMS HUB发送第一路由重定向请求(图6中所示的SRI)。Step 602: The SMSC judges, according to the preconfigured first routing redirection rule, whether it is necessary to perform routing redirection on the routing information used when sending the short message; when it is determined that the routing information used when sending the short message needs to be routed During redirection, a first route redirection request (SRI shown in FIG. 6 ) is sent to the SMS HUB.

步骤603:SMS HUB向SMSC回复第一路由请求结果(图6中的SRIACK)。Step 603: The SMS HUB replies to the SMSC with the first route request result (SRIACK in FIG. 6).

步骤604:SMSC根据根据第一路由请求结果、以及预先配置的第二路由重定向规则,判断是否需要对发送所述短消息时使用的路由信息再次进行路由重定向;在确定需要对发送所述短消息时使用的路由信息再次进行路由重定向时,向STP发送第二路由重定向请求(图6中所示的SRI)。Step 604: The SMSC judges, according to the first routing request result and the preconfigured second routing redirection rule, whether it is necessary to perform routing redirection again on the routing information used when sending the short message; When the routing information used in the short message performs routing redirection again, a second routing redirection request (SRI shown in FIG. 6 ) is sent to the STP.

步骤605:STP向SMSC回复第二路由请求结果(图6中的SRIACK)。Step 605: The STP replies the second route request result (SRIACK in FIG. 6 ) to the SMSC.

步骤606:SMSC根据第二路由请求结果,将短消息(图6中的MT)发送至STP,STP将短消息发送至VMSC。Step 606: The SMSC sends the short message (MT in FIG. 6) to the STP according to the second routing request result, and the STP sends the short message to the VMSC.

步骤607:VMSC回复MTACK消息。Step 607: The VMSC replies with an MTACK message.

具体地,VMSC向STP发送MTACK消息,之后,STP将MTACK消息发送至SMSC。Specifically, the VMSC sends the MTACK message to the STP, and then the STP sends the MTACK message to the SMSC.

第五实施例Fifth Embodiment

本发明第五实施例可以应用于对国际互通消息的发送,图7为本发明应用实施例的短消息发送方法的流程示意图四,如图7所示,该方法可以包括:The fifth embodiment of the present invention can be applied to the sending of international intercommunication messages. FIG. 7 is a fourth schematic flowchart of a method for sending a short message according to an application embodiment of the present invention. As shown in FIG. 7 , the method may include:

步骤701:SMSC在接收到短消息发送请求(图7中所示的MO)后,回复MOACK消息。Step 701: After receiving the short message sending request (MO shown in FIG. 7), the SMSC replies with a MOACK message.

步骤702:SMSC根据预先配置的第一路由重定向规则,判断是否需要对发送所述短消息时使用的路由信息进行路由重定向;在确定需要对发送所述短消息时使用的路由信息进行路由重定向时,向STP发送第一路由重定向请求(图7中所示的SRI)。Step 702: The SMSC judges, according to the preconfigured first route redirection rule, whether it is necessary to perform route redirection on the routing information used when sending the short message; when it is determined that the routing information used when sending the short message needs to be routed When redirected, a first route redirect request (SRI shown in FIG. 7 ) is sent to the STP.

步骤703:STP向SMSC回复第一路由请求结果(图7中的SRIACK)。Step 703: The STP replies the first route request result (SRIACK in FIG. 7 ) to the SMSC.

步骤704:SMSC根据根据第一路由请求结果、以及预先配置的第二路由重定向规则,判断是否需要对发送所述短消息时使用的路由信息再次进行路由重定向;在确定需要对发送所述短消息时使用的路由信息再次进行路由重定向时,向SMS HUB发送第二路由重定向请求(图7中所示的SRI)。Step 704: The SMSC judges, according to the first routing request result and the preconfigured second routing redirection rule, whether it is necessary to perform routing redirection again on the routing information used when sending the short message; When the routing information used in the short message performs routing redirection again, a second routing redirection request (SRI shown in FIG. 7 ) is sent to the SMS HUB.

步骤705:SMS HUB向SMSC回复第二路由请求结果(图7中的SRIACK)。Step 705: The SMS HUB replies to the SMSC with the second route request result (SRIACK in FIG. 7).

步骤706:SMSC根据第二路由请求结果,将短消息(图7中的MT)发送至SMS HUB,SMSHUB将短消息发送至VMSC。Step 706: The SMSC sends the short message (MT in FIG. 7) to the SMS HUB according to the second routing request result, and the SMSHUB sends the short message to the VMSC.

步骤707:VMSC回复MTACK消息。Step 707: The VMSC replies with an MTACK message.

具体地,VMSC向SMS HUB发送MTACK消息,之后,SMS HUB将MTACK消息发送至SMSC。Specifically, the VMSC sends an MTACK message to the SMS HUB, and then the SMS HUB sends the MTACK message to the SMSC.

第六实施例Sixth Embodiment

在本发明前述实施例的基础上,本发明第六实施例提出了一种短消息发送装置,可以应用于短消息服务中心。On the basis of the foregoing embodiments of the present invention, a sixth embodiment of the present invention provides a short message sending apparatus, which can be applied to a short message service center.

图8为本发明实施例的短消息发送装置的的组成结构示意图,如图8所示,该装置可以包括:接收模块801和发送模块802;其中,FIG. 8 is a schematic diagram of the composition and structure of a short message sending apparatus according to an embodiment of the present invention. As shown in FIG. 8 , the apparatus may include: a receiving module 801 and a sending module 802; wherein,

接收模块801,用于接收短消息发送请求,所述短消息发送请求携带有待发送的短消息;A receiving module 801, configured to receive a short message sending request, where the short message sending request carries a short message to be sent;

发送模块802,用于在根据预先配置的第一路由重定向规则,确定需要对发送所述短消息时使用的路由信息进行路由重定向时,发送第一路由重定向请求;The sending module 802 is configured to send a first route redirection request when it is determined according to a preconfigured first route redirection rule that route redirection needs to be performed on the route information used when sending the short message;

所述接收模块801,还用于接收与所述第一路由重定向请求对应的第一路由请求结果;The receiving module 801 is further configured to receive a first routing request result corresponding to the first routing redirection request;

所述发送模块802,还用于根据所述第一路由请求结果,发送所述短消息。The sending module 802 is further configured to send the short message according to the result of the first routing request.

可选地,所述预先配置的第一路由重定向规则包括:Optionally, the preconfigured first route redirection rule includes:

根据路由参数,判断是否需要对发送所述短消息时使用的路由信息进行路由重定向,其中,所述路由参数包括以下至少一项:所述短消息对应的主叫终端的标识信息、所述短消息对应的被叫终端的标识信息、所述短消息服务中心的地址信息。According to routing parameters, it is determined whether routing redirection needs to be performed on the routing information used when sending the short message, wherein the routing parameters include at least one of the following: identification information of the calling terminal corresponding to the short message, the The identification information of the called terminal corresponding to the short message, and the address information of the short message service center.

可选地,所述发送模块802,具体用于根据第一路由请求结果、以及预先配置的第二路由重定向规则,确定需要对发送所述短消息时使用的路由信息再次进行路由重定向时,发送第二路由重定向请求,Optionally, the sending module 802 is specifically configured to determine, according to the result of the first routing request and the preconfigured second routing redirection rule, when the routing information used when sending the short message needs to be redirected by routing again. , send the second route redirect request,

所述接收模块801,还用于接收与所述第二路由重定向请求对应的第二路由请求结果;The receiving module 801 is further configured to receive a second routing request result corresponding to the second routing redirection request;

所述发送模块802,还用于根据所述第二路由请求结果,发送所述短消息。The sending module 802 is further configured to send the short message according to the second routing request result.

可选地,所述预先配置的第二路由重定向规则,包括:Optionally, the preconfigured second route redirection rule includes:

根据路由参数,判断是否需要对发送所述短消息时使用的路由信息再次进行路由重定向,其中,所述路由参数包括所述第一路由请求结果,所述路由参数还包括以下至少一项:所述短消息对应的主叫终端的标识信息、所述短消息对应的被叫终端的标识信息、所述短消息服务中心的地址信息。According to the routing parameter, it is determined whether the routing information used when sending the short message needs to be redirected again, wherein the routing parameter includes the first routing request result, and the routing parameter also includes at least one of the following: The identification information of the calling terminal corresponding to the short message, the identification information of the called terminal corresponding to the short message, and the address information of the short message service center.

可选地,所述发送模块802,还用于将所述短消息发送至VMSC。Optionally, the sending module 802 is further configured to send the short message to the VMSC.

另外,在本实施例中的各功能模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。In addition, each functional module in this embodiment may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware, or can be implemented in the form of software function modules.

所述集成的单元如果以软件功能模块的形式实现并非作为独立的产品进行销售或使用时,可以存储在一个计算机可读取存储介质中,基于这样的理解,本实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或processor(处理器)执行本实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is implemented in the form of a software function module and is not sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this embodiment is essentially or The part that contributes to the prior art or the whole or part of the technical solution can be embodied in the form of a software product, the computer software product is stored in a storage medium, and includes several instructions for making a computer device (which can be It is a personal computer, a server, or a network device, etc.) or a processor (processor) that executes all or part of the steps of the method described in this embodiment. The aforementioned storage medium includes: U disk, removable hard disk, Read Only Memory (ROM, Read Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes.

具体来讲,本实施例中的一种短消息发送方法对应的计算机程序指令可以被存储在光盘,硬盘,U盘等存储介质上,当存储介质中的与一种短消息发送方法对应的计算机程序指令被一电子设备读取或被执行时,实现前述实施例的任意一种短消息发送方法的步骤。Specifically, a computer program instruction corresponding to a method for sending short messages in this embodiment may be stored on a storage medium such as an optical disk, a hard disk, a U disk, etc. When the computer program corresponding to a method for sending short messages in the storage medium When the program instructions are read or executed by an electronic device, the steps of any one of the short message sending methods in the foregoing embodiments are implemented.

基于前述实施例相同的技术构思,参见图9,其示出了本发明实施例提供的一种位于短消息服务中心的短消息发送设备90,可以包括:存储器901、处理器902和总线903;其中,Based on the same technical concept as the foregoing embodiments, see FIG. 9 , which shows a short message sending device 90 located in a short message service center provided by an embodiment of the present invention, which may include: a memory 901, a processor 902, and a bus 903; in,

所述总线903用于连接所述存储器901、处理器902和这些器件之间的相互通信;The bus 903 is used to connect the memory 901, the processor 902 and the mutual communication between these devices;

所述存储器901,用于存储计算机程序和数据;The memory 901 is used to store computer programs and data;

所述处理器902,用于执行所述存储器中存储的计算机程序,以实现前述实施例任意一种短消息发送方法的步骤。The processor 902 is configured to execute the computer program stored in the memory to implement the steps of any one of the methods for sending short messages in the foregoing embodiments.

在实际应用中,上述存储器901可以是易失性存储器(volatile memory),例如随机存取存储器(RAM,Random-Access Memory);或者非易失性存储器(non-volatilememory),例如只读存储器(ROM,Read-Only Memory),快闪存储器(flash memory),硬盘(HDD,Hard Disk Drive)或固态硬盘(SSD,Solid-State Drive);或者上述种类的存储器的组合,并向处理器902提供指令和数据。In practical applications, the above-mentioned memory 901 may be a volatile memory (volatile memory), such as a random access memory (RAM, Random-Access Memory); or a non-volatile memory (non-volatile memory), such as a read-only memory ( ROM, Read-Only Memory), flash memory (flash memory), hard disk (HDD, Hard Disk Drive) or solid-state hard disk (SSD, Solid-State Drive); or a combination of the above types of memory, and provide the processor 902 instructions and data.

上述处理器902可以为特定用途集成电路(ASIC,Application SpecificIntegrated Circuit)、数字信号处理器(DSP,Digital Signal Processor)、数字信号处理装置(DSPD,Digital Signal Processing Device)、可编程逻辑装置(PLD,ProgrammableLogic Device)、现场可编程门阵列(FPGA,Field Programmable Gate Array)、中央处理器(CPU,Central Processing Unit)、控制器、微控制器、微处理器中的至少一种。可以理解地,对于不同的设备,用于实现上述第一处理器功能的电子器件还可以为其它,本发明实施例不作具体限定。The processor 902 may be an application specific integrated circuit (ASIC, Application Specific Integrated Circuit), a digital signal processor (DSP, Digital Signal Processor), a digital signal processing device (DSPD, Digital Signal Processing Device), a programmable logic device (PLD, At least one of a ProgrammableLogic Device), a Field Programmable Gate Array (FPGA, Field Programmable Gate Array), a Central Processing Unit (CPU, Central Processing Unit), a controller, a microcontroller, and a microprocessor. It can be understood that, for different devices, the electronic device used to implement the function of the first processor may also be other, which is not specifically limited in this embodiment of the present invention.

本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media having computer-usable program code embodied therein, including but not limited to disk storage, optical storage, and the like.

本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.

以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention.

Claims (11)

1.一种短消息发送方法,其特征在于,应用于短消息服务中心,所述方法包括:1. a short message sending method, is characterized in that, is applied to short message service center, described method comprises: 接收短消息发送请求,所述短消息发送请求携带有待发送的短消息;receiving a short message sending request, where the short message sending request carries a short message to be sent; 根据预先配置的第一路由重定向规则,确定需要对发送所述短消息时使用的路由信息进行路由重定向时,发送第一路由重定向请求发送至STP或SMS HUB,以使所述STP或所述SMS HUB对所述第一路由重定向请求进行处理,以生成与所述第一路由重定向请求对应的第一路由请求结果,并接收所述STP或所述SMS HUB发送的所述第一路由请求结果;According to the preconfigured first route redirection rule, when it is determined that route redirection needs to be performed on the route information used in sending the short message, a first route redirection request is sent to the STP or SMS HUB, so that the STP or SMS HUB The SMS HUB processes the first route redirection request to generate a first route request result corresponding to the first route redirection request, and receives the first route request sent by the STP or the SMS HUB. a routing request result; 根据所述第一路由请求结果,发送所述短消息;sending the short message according to the first routing request result; 其中,根据所述第一路由请求结果,发送所述短消息,包括:Wherein, sending the short message according to the first routing request result includes: 根据所述第一路由请求结果携带的所述路由信息将所述短消息发送至拜访移动业务交换中心VMSC,或者,根据所述第一路由请求结果携带的所述路由信息将所述短消息通过所述STP或所述SMS HUB发送至所述VMSC,以使所述VMSC将所述短消息发送至被叫终端。The short message is sent to the visited mobile service switching center VMSC according to the routing information carried in the first routing request result, or the short message is sent through the VMSC according to the routing information carried in the first routing request result. The STP or the SMS HUB is sent to the VMSC, so that the VMSC sends the short message to the called terminal. 2.根据权利要求1所述的方法,其特征在于,所述预先配置的第一路由重定向规则包括:2. The method according to claim 1, wherein the preconfigured first route redirection rule comprises: 根据路由参数,判断是否需要对发送所述短消息时使用的路由信息进行路由重定向,其中,所述路由参数包括以下至少一项:所述短消息对应的主叫终端的标识信息、所述短消息对应的被叫终端的标识信息、所述短消息服务中心的地址信息。According to routing parameters, it is determined whether routing redirection needs to be performed on the routing information used when sending the short message, wherein the routing parameters include at least one of the following: identification information of the calling terminal corresponding to the short message, the The identification information of the called terminal corresponding to the short message, and the address information of the short message service center. 3.根据权利要求1所述的方法,其特征在于,所述根据所述第一路由请求结果,发送所述短消息,包括:3. The method according to claim 1, wherein the sending the short message according to the first routing request result comprises: 根据第一路由请求结果、以及预先配置的第二路由重定向规则,确定需要对发送所述短消息时使用的路由信息再次进行路由重定向时,发送第二路由重定向请求,并接收与所述第二路由重定向请求对应的第二路由请求结果;According to the result of the first routing request and the preconfigured second routing redirection rule, when it is determined that the routing information used for sending the short message needs to be redirected again, the second routing redirection request is sent, and the the second route request result corresponding to the second route redirection request; 根据所述第二路由请求结果,发送所述短消息。The short message is sent according to the second routing request result. 4.根据权利要求3所述的方法,其特征在于,所述预先配置的第二路由重定向规则,包括:4. The method according to claim 3, wherein the preconfigured second route redirection rule comprises: 根据路由参数,判断是否需要对发送所述短消息时使用的路由信息再次进行路由重定向,其中,所述路由参数包括所述第一路由请求结果,所述路由参数还包括以下至少一项:所述短消息对应的主叫终端的标识信息、所述短消息对应的被叫终端的标识信息、所述短消息服务中心的地址信息。According to the routing parameter, it is determined whether the routing information used when sending the short message needs to be redirected again, wherein the routing parameter includes the first routing request result, and the routing parameter also includes at least one of the following: The identification information of the calling terminal corresponding to the short message, the identification information of the called terminal corresponding to the short message, and the address information of the short message service center. 5.根据权利要求1至4任一项所述的方法,其特征在于,所述发送所述短消息,包括:将所述短消息发送至拜访移动业务交换中心VMSC。The method according to any one of claims 1 to 4, wherein the sending the short message comprises: sending the short message to a visited mobile service switching center VMSC. 6.一种短消息发送设备,其特征在于,应用于短消息服务中心,所述设备包括:存储器和处理器;其中,6. A short message sending device, characterized in that, applied to a short message service center, the device comprising: a memory and a processor; wherein, 所述存储器用于存储计算机程序;the memory is used to store computer programs; 所述处理器用于执行所述存储器中存储的计算机程序,以实现以下步骤:The processor is configured to execute a computer program stored in the memory to achieve the following steps: 接收短消息发送请求,所述短消息发送请求携带有待发送的短消息;receiving a short message sending request, where the short message sending request carries a short message to be sent; 根据预先配置的第一路由重定向规则,确定需要对发送所述短消息时使用的路由信息进行路由重定向时,发送第一路由重定向请求发送至STP或SMS HUB,以使所述STP或所述SMS HUB对所述第一路由重定向请求进行处理,以生成与所述第一路由重定向请求对应的第一路由请求结果,并接收所述STP或所述SMS HUB发送的所述第一路由请求结果;According to the preconfigured first route redirection rule, when it is determined that route redirection needs to be performed on the route information used in sending the short message, a first route redirection request is sent to the STP or SMS HUB, so that the STP or SMS HUB The SMS HUB processes the first route redirection request to generate a first route request result corresponding to the first route redirection request, and receives the first route request sent by the STP or the SMS HUB. a routing request result; 根据所述第一路由请求结果,发送所述短消息;sending the short message according to the first routing request result; 其中,根据所述第一路由请求结果,发送所述短消息,包括:Wherein, sending the short message according to the first routing request result includes: 根据所述第一路由请求结果携带的所述路由信息将所述短消息发送至拜访移动业务交换中心VMSC,或者,根据所述第一路由请求结果携带的所述路由信息将所述短消息通过所述STP或所述SMS HUB发送至所述VMSC,以使所述VMSC将所述短消息发送至被叫终端。Send the short message to the visited mobile service switching center VMSC according to the routing information carried in the first routing request result, or send the short message through the routing information carried in the first routing request result The STP or the SMS HUB is sent to the VMSC, so that the VMSC sends the short message to the called terminal. 7.根据权利要求6所述的设备,其特征在于,所述预先配置的第一路由重定向规则包括:7. The device according to claim 6, wherein the preconfigured first route redirection rule comprises: 根据路由参数,判断是否需要对发送所述短消息时使用的路由信息进行路由重定向,其中,所述路由参数包括以下至少一项:所述短消息对应的主叫终端的标识信息、所述短消息对应的被叫终端的标识信息、所述短消息服务中心的地址信息。According to routing parameters, it is determined whether routing redirection is required for routing information used when sending the short message, wherein the routing parameters include at least one of the following: identification information of the calling terminal corresponding to the short message, the The identification information of the called terminal corresponding to the short message, and the address information of the short message service center. 8.根据权利要求6所述的设备,其特征在于,所述处理器还用于执行所述存储器中存储的计算机程序,以实现以下步骤:8. The device according to claim 6, wherein the processor is further configured to execute a computer program stored in the memory to realize the following steps: 在根据第一路由请求结果、以及预先配置的第二路由重定向规则,确定需要对发送所述短消息时使用的路由信息再次进行路由重定向时,发送第二路由重定向请求,并接收与所述第二路由重定向请求对应的第二路由请求结果;When it is determined, according to the result of the first routing request and the preconfigured second routing redirection rule, that routing redirection needs to be performed again on the routing information used in sending the short message, a second routing redirection request is sent, and a second routing redirection request is received, and the second route request result corresponding to the second route redirection request; 根据所述第二路由请求结果,发送所述短消息。The short message is sent according to the second routing request result. 9.根据权利要求8所述的设备,其特征在于,所述预先配置的第二路由重定向规则,包括:9. The device according to claim 8, wherein the preconfigured second route redirection rule comprises: 根据路由参数,判断是否需要对发送所述短消息时使用的路由信息再次进行路由重定向,其中,所述路由参数包括所述第一路由请求结果,所述路由参数还包括以下至少一项:所述短消息对应的主叫终端的标识信息、所述短消息对应的被叫终端的标识信息、所述短消息服务中心的地址信息。According to the routing parameter, it is determined whether the routing information used when sending the short message needs to be redirected again, wherein the routing parameter includes the first routing request result, and the routing parameter also includes at least one of the following: The identification information of the calling terminal corresponding to the short message, the identification information of the called terminal corresponding to the short message, and the address information of the short message service center. 10.一种短消息发送装置,其特征在于,应用于短消息服务中心,所述装置包括:接收模块和发送模块;其中,10. An apparatus for sending short messages, characterized in that, when applied to a short message service center, the apparatus comprises: a receiving module and a sending module; wherein, 接收模块,用于接收短消息发送请求,所述短消息发送请求携带有待发送的短消息;a receiving module, configured to receive a short message sending request, where the short message sending request carries a short message to be sent; 发送模块,用于在根据预先配置的第一路由重定向规则,确定需要对发送所述短消息时使用的路由信息进行路由重定向时,发送第一路由重定向请求至STP或SMS HUB,以使所述STP或所述SMS HUB对所述第一路由重定向请求进行处理,以生成与所述第一路由重定向请求对应的第一路由请求结果;The sending module is configured to send a first route redirection request to the STP or SMS HUB when it is determined according to the preconfigured first route redirection rule that route redirection needs to be performed on the routing information used when sending the short message, to causing the STP or the SMS HUB to process the first route redirection request to generate a first route request result corresponding to the first route redirection request; 所述接收模块,还用于接收所述STP或所述SMS HUB发送的与所述第一路由重定向请求对应的第一路由请求结果;The receiving module is further configured to receive a first routing request result corresponding to the first routing redirection request sent by the STP or the SMS HUB; 所述发送模块,还用于根据所述第一路由请求结果,发送所述短消息;The sending module is further configured to send the short message according to the first routing request result; 其中,根据所述第一路由请求结果,发送所述短消息,包括:Wherein, sending the short message according to the first routing request result includes: 根据所述第一路由请求结果携带的所述路由信息将所述短消息发送至拜访移动业务交换中心VMSC,或者,根据所述第一路由请求结果携带的所述路由信息将所述短消息通过所述STP或所述SMS HUB发送至所述VMSC,以使所述VMSC将所述短消息发送至被叫终端。The short message is sent to the visited mobile service switching center VMSC according to the routing information carried in the first routing request result, or the short message is sent through the VMSC according to the routing information carried in the first routing request result. The STP or the SMS HUB is sent to the VMSC, so that the VMSC sends the short message to the called terminal. 11.一种计算机存储介质,其上存储有计算机程序,其特征在于,该计算机程序被处理器执行时实现权利要求1至5任一项所述的方法的步骤。11. A computer storage medium on which a computer program is stored, characterized in that, when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
CN201711175419.0A 2017-11-22 2017-11-22 Short message sending method, device, equipment and computer storage medium Expired - Fee Related CN109819409B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711175419.0A CN109819409B (en) 2017-11-22 2017-11-22 Short message sending method, device, equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711175419.0A CN109819409B (en) 2017-11-22 2017-11-22 Short message sending method, device, equipment and computer storage medium

Publications (2)

Publication Number Publication Date
CN109819409A CN109819409A (en) 2019-05-28
CN109819409B true CN109819409B (en) 2022-03-04

Family

ID=66599806

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711175419.0A Expired - Fee Related CN109819409B (en) 2017-11-22 2017-11-22 Short message sending method, device, equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN109819409B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116264670B (en) * 2021-12-14 2025-02-18 中国电信国际有限公司 Short message transmission method and device, storage medium and electronic device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SE524801C2 (en) * 2002-10-23 2004-10-05 Mobile Arts Ab SMS messaging service for mobile telecommunication system, uses flags for conditional or unconditional directing of message to one or more different types of destination
CN101695155A (en) * 2009-10-23 2010-04-14 中兴通讯股份有限公司 Method and system for controlling internetwork short message final calling
CN101715176A (en) * 2009-11-04 2010-05-26 中兴通讯股份有限公司 Short message router, short message monitoring system and short message monitoring method
CN101855869A (en) * 2007-11-13 2010-10-06 朗讯科技公司 Method and apparatus for providing short message redirection service
CN102300230A (en) * 2011-09-22 2011-12-28 华为技术有限公司 Method, device and system for realizing monitoring of Internet information
CN102480703A (en) * 2010-11-26 2012-05-30 比亚迪股份有限公司 Method for filtering unknown international short message

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060136560A1 (en) * 2004-12-06 2006-06-22 Roamware Inc. Scalable message forwarding
EP1788780A3 (en) * 2005-11-17 2013-06-26 Markport Limited A message interworking gateway
EP2061284B1 (en) * 2007-11-15 2013-12-04 Deutsche Telekom AG Method and System providing a short message (SMS) forwarding unconditional service

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SE524801C2 (en) * 2002-10-23 2004-10-05 Mobile Arts Ab SMS messaging service for mobile telecommunication system, uses flags for conditional or unconditional directing of message to one or more different types of destination
CN101855869A (en) * 2007-11-13 2010-10-06 朗讯科技公司 Method and apparatus for providing short message redirection service
CN101695155A (en) * 2009-10-23 2010-04-14 中兴通讯股份有限公司 Method and system for controlling internetwork short message final calling
CN101715176A (en) * 2009-11-04 2010-05-26 中兴通讯股份有限公司 Short message router, short message monitoring system and short message monitoring method
CN102480703A (en) * 2010-11-26 2012-05-30 比亚迪股份有限公司 Method for filtering unknown international short message
CN102300230A (en) * 2011-09-22 2011-12-28 华为技术有限公司 Method, device and system for realizing monitoring of Internet information

Also Published As

Publication number Publication date
CN109819409A (en) 2019-05-28

Similar Documents

Publication Publication Date Title
CN111264069B (en) Method and apparatus for a terminal registered via multiple access networks
US20160255567A1 (en) Methods, network control nodes and communication devices for routing signalling requests in a communication system
CN109246769B (en) PDU session establishment method and device
JP2017516407A (en) Method for updating RPLMN information and user equipment
EP3185598B1 (en) Application registration method and apparatus
US8792882B2 (en) Method and apparatus for non-native short message service communications
CN107534851B (en) Method, network proxy and system for facilitating multi-line mobile services
US10051463B2 (en) Methods and subscriber data storage nodes for handling signaling requests in a communication system
CN109819409B (en) Short message sending method, device, equipment and computer storage medium
CN101213848A (en) System and method for implementing Internet mobile number portability
CN113422772B (en) Private network terminal access processing method, device and electronic equipment
US9154944B2 (en) Method, network entity, telecommunications network and computer program product for handling subscription data in a telecommunications network
EP3373621A1 (en) Roaming solution
CN106470408B (en) A kind of international roaming short message protecting method, device and system
US8768351B2 (en) Circuit-switched call delivery
CN109818909B (en) Call processing method and device
CN102300230A (en) Method, device and system for realizing monitoring of Internet information
CN109428963A (en) A kind of method and apparatus of communication
CN103416092A (en) Call connection method, device and system
CN110876138B (en) Method and platform for realizing different system double-number service
US20160164926A1 (en) Method and apparatus for inbound roaming over cellular voice channel
CN104754545A (en) A self-owned service access method, device and system
CN114900794B (en) Communication method, device, system and storage medium
CN102137359A (en) Value added service processing method, short message center, value added service platform and system
CN104254057A (en) Short message transmission method, system and equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20220304

CF01 Termination of patent right due to non-payment of annual fee