[go: up one dir, main page]

CN104640090B - The abnormality eliminating method and device of Short Message Service Call forwarding - Google Patents

The abnormality eliminating method and device of Short Message Service Call forwarding Download PDF

Info

Publication number
CN104640090B
CN104640090B CN201310567957.XA CN201310567957A CN104640090B CN 104640090 B CN104640090 B CN 104640090B CN 201310567957 A CN201310567957 A CN 201310567957A CN 104640090 B CN104640090 B CN 104640090B
Authority
CN
China
Prior art keywords
forwarding
short message
smsc
abnormal
forwarded
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
CN201310567957.XA
Other languages
Chinese (zh)
Other versions
CN104640090A (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 CN201310567957.XA priority Critical patent/CN104640090B/en
Priority to PCT/CN2014/078343 priority patent/WO2015070587A1/en
Publication of CN104640090A publication Critical patent/CN104640090A/en
Application granted granted Critical
Publication of CN104640090B publication Critical patent/CN104640090B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]

Landscapes

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

Abstract

The invention discloses a kind of abnormality eliminating method of Short Message Service Call forwarding and devices, this method comprises: detecting Short Message Service Call forwarding exception, short message is handled according to concentration disaster tolerance processing strategie, wherein, concentrating disaster tolerance processing strategie includes at least one of: under simple mode, refusing short message or is locally continuing with short message;Under active-standby mode, in SMSC exception, by Short Message Service Call forwarding to standby forward SMSC;Under cache mode, in SMSC exception, short message is cached to local, to forward SMSC after restoring in exception, by Short Message Service Call forwarding to forward SMSC;Under active and standby and cache mode, in main forward SMSC exception, by Short Message Service Call forwarding to alternative SMSC, if alternative SMSC is abnormal, short message cache, after main forward SMSC after restoring in exception, then by Short Message Service Call forwarding to SMSC.The present invention solves the problems, such as Short Message Service Call forwarding operation system reliability, and high stability is not poor.

Description

短消息前转的异常处理方法及装置Exception handling method and device for short message forwarding

技术领域technical field

本发明涉及通信领域,具体而言,涉及一种短消息前转的异常处理方法及装置。The present invention relates to the field of communications, and in particular, to an exception processing method and device for short message forwarding.

背景技术Background technique

短消息前转业务是指短消息中心(Short Message Service Center,简称为SMSC)将接收到消息按照一定的比例或消息属性的不同前转到其他SMSC进行处理的一种业务。The short message forwarding service refers to a service in which a Short Message Service Center (Short Message Service Center, SMSC for short) forwards received messages to other SMSCs for processing according to a certain proportion or different message attributes.

相关技术中,短消息中心前转业务主要有以下几个应用场景:用户属性不同要求在不同的短消息中心才能进行正常处理;如用户开户在不同短消息中心,相关消息只有在归属的短消息中心才能正常处理。通过消息前转来实现不同短消息中心之间消息流量负荷分担;如系统出现过负荷时,将消息前转到其他短消息中心来进行负荷分担。短消息中心角色不同,需要消息在不同短消息中心之间进行前转;如有的短消息中心只负责首次终呼,终呼失败将消息前转到专门负责重试的短消息中心进行下发。In the related art, the short message center forwarding service mainly has the following application scenarios: different user attributes require different short message centers to perform normal processing; if the user opens an account in different short message centers, the relevant messages are only available in the home short message center. The center can handle it normally. Load sharing of message traffic between different short message centers is achieved through message forwarding; if the system is overloaded, messages are forwarded to other short message centers for load sharing. The role of the short message center is different, and the message needs to be forwarded between different short message centers; if some short message centers are only responsible for the first final call, if the final call fails, the message will be forwarded to the short message center specially responsible for retry for delivery. .

不同前转业务应用场景决定了前转既可发生在起呼阶段又可发生在终呼阶段;图1是根据相关技术的起呼阶段前转的流程图,如图1所示,该流程包括如下步骤:Different application scenarios of forwarding services determine that forwarding can occur in both the origination stage and the termination stage; Figure 1 is a flow chart of forwarding in the origination stage according to related technologies, as shown in Figure 1, the process includes: Follow the steps below:

步骤S102,终端用户通过SS7网络提交消息到短消息中心;Step S102, the terminal user submits the message to the short message center through the SS7 network;

步骤S104,短消息中心先根据不同前转策略来判断消息是否需要前转;Step S104, the short message center first judges whether the message needs to be forwarded according to different forwarding strategies;

步骤S106,若前转,先获取待前转实体的地址,后将消息前转出局;Step S106, if forwarding, first obtain the address of the entity to be forwarded, and then forward the message out of the office;

步骤S108,若不前转,继续在本短消息中心处理其他业务。Step S108, if not forwarding, continue to process other services in this short message center.

在消息前转过程中出现的异常主要包括:与目的SMSC的链路出现异常,如前转消息无法发送或无法接收目的SMSC的前转响应;目的SMSC业务处理出现异常,如过负荷。相关技术中,对上述前转异常处理都比较简单:要么拒绝消息,要么在本地继续处理,给用户的使用带了较为负面的影响。Abnormalities in the message forwarding process mainly include: the link with the destination SMSC is abnormal, for example, the forwarding message cannot be sent or the destination SMSC's forwarding response cannot be received; the destination SMSC service processing is abnormal, such as overload. In the related art, the above-mentioned forwarding exception processing is relatively simple: either reject the message or continue processing locally, which has a relatively negative impact on the use of the user.

目前短消息中心前转业务在国际市场应用十分广泛,不同运营商对消息前转条件、前转容灾处理都提出完全不同要求。At present, the short message center forwarding service is widely used in the international market, and different operators have completely different requirements for message forwarding conditions and forwarding disaster recovery.

针对相关技术中短消息前转业务系统可靠性不高,稳定性差的问题,至今没有提出解决方案。Aiming at the low reliability and poor stability of the short message forwarding service system in the related art, no solution has been proposed so far.

发明内容SUMMARY OF THE INVENTION

本发明提供了一种短消息前转的异常处理方法及装置,以至少解决短消息前转业务系统可靠性不高,稳定性差的问题。The present invention provides an abnormal processing method and device for short message forwarding, so as to at least solve the problems of low reliability and poor stability of the short message forwarding business system.

根据本发明的一个方面,提供了一种短消息前转的异常处理方法,该方法包括:检测到所述短消息前转异常;根据集中容灾处理策略处理所述短消息,其中,所述集中容灾处理策略包括以下至少之一:在简单模式下,拒绝所述短消息或者在本地继续处理所述短消息;在主备模式下,在主前转短消息服务中心SMSC异常时,将所述短消息前转到备前转SMSC;在缓存模式下,在前转SMSC异常时,将所述短消息缓存至本地,待所述前转SMSC从异常中恢复之后,将所述短消息前转至所述前转 SMSC;在主备和缓存模式下,在主前转SMSC异常时,将所述短消息前转至备前转 SMSC上,若所述备前转SMSC异常,则缓存所述短消息,待所述主前转SMSC从异常中恢复后,再将所述短消息前转至所述主前转SMSC。According to an aspect of the present invention, there is provided an exception processing method for short message forwarding, the method comprising: detecting that the short message is forwarded abnormally; processing the short message according to a centralized disaster recovery processing strategy, wherein the The centralized disaster recovery processing strategy includes at least one of the following: in the simple mode, reject the short message or continue to process the short message locally; in the active/standby mode, when the active forwarding short message service center SMSC is abnormal, the The short message is forwarded to the standby forwarding SMSC; in the cache mode, when the forwarding SMSC is abnormal, the short message is cached locally, and after the forwarding SMSC recovers from the abnormality, the short message is stored Forwarding to the forwarding SMSC; in the active-standby and cache mode, when the active forwarding SMSC is abnormal, the short message is forwarded to the standby-forwarding SMSC, and if the standby-forwarding SMSC is abnormal, the short message is cached For the short message, after the primary forwarding SMSC recovers from the abnormality, the short message is forwarded to the primary forwarding SMSC.

优选地,检测到所述短消息前转异常之前,所述方法还包括:配置前转策略,根据所述前转策略前转所述短消息,其中,所述前转策略包括以下至少之一:所述短消息的前转规则,其中,所述前转规则用于判定所述短消息是否前转;所述短消息的前转目的SMSC的选择策略,其中,所述前转目的SMSC用于判定所述短消息前转的目的SMSC。Preferably, before detecting that the short message is forwarded abnormally, the method further includes: configuring a forwarding strategy, and forwarding the short message according to the forwarding strategy, wherein the forwarding strategy includes at least one of the following : the forwarding rule of the short message, wherein the forwarding rule is used to determine whether the short message is forwarded; the selection strategy of the forwarding destination SMSC of the short message, wherein the forwarding destination SMSC uses to determine the destination SMSC for forwarding the short message.

优选地,所述前转规则包括至少一个与所述短消息的属性相应的匹配条件,其中,所述短消息的属性包括以下至少之一:主被叫号码,开户信息,起呼移动交换中心 MSC,短消息中心SC地址,短信协议标识PID。Preferably, the forwarding rule includes at least one matching condition corresponding to the attribute of the short message, wherein the attribute of the short message includes at least one of the following: calling number, account opening information, calling mobile switching center MSC, short message center SC address, short message protocol identification PID.

优选地,所述前转目的SMSC的选择策略包括根据以下至少之一选择所述前转目的SMSC:主叫、被叫、起呼MSC、国际移动用户识别码IMSI、百分比。Preferably, the selection strategy of the forwarding destination SMSC includes selecting the forwarding destination SMSC according to at least one of the following: calling, called, calling MSC, International Mobile Subscriber Identity IMSI, and percentage.

优选地,根据所述前转策略前转所述短消息包括:匹配所述短消息的属性和所述前转规则,在匹配成功的情况下,触发所述短消息的前转至所述目的SMSC。Preferably, forwarding the short message according to the forwarding policy includes: matching the attribute of the short message and the forwarding rule, and in the case of successful matching, triggering the forwarding of the short message to the destination SMSC.

优选地,所述异常状态包括以下至少之一:检测到与目的SMSC的链路出现异常;检测到业务层处理出现异常。Preferably, the abnormal state includes at least one of the following: detecting that the link with the destination SMSC is abnormal; detecting that the processing of the service layer is abnormal.

根据本发明的另一个方面,提供了一种短消息的前转装置,该装置包括:检测模块,用于检测到所述短消息前转异常;处理模块,用于根据集中容灾处理策略处理所述短消息,其中,所述集中容灾处理策略包括以下至少之一:在简单模式下,拒绝所述短消息或者在本地继续处理所述短消息;在主备模式下,在主前转短消息服务中心 SMSC异常时,将所述短消息前转到备前转SMSC;在缓存模式下,在前转SMSC异常时,将所述短消息缓存至本地,待所述前转SMSC从异常中恢复之后,将所述短消息前转至所述前转SMSC;在主备和缓存模式下,在主前转SMSC异常时,将所述短消息前转至备前转SMSC上,若所述备前转SMSC异常,则缓存所述短消息,待所述主前转SMSC从异常中恢复后,再将所述短消息前转至所述主前转SMSC。According to another aspect of the present invention, there is provided a short message forwarding device, the device includes: a detection module for detecting the short message forwarding abnormality; a processing module for processing according to a centralized disaster recovery processing strategy The short message, wherein the centralized disaster recovery processing strategy includes at least one of the following: in the simple mode, reject the short message or continue to process the short message locally; When the short message service center SMSC is abnormal, the short message is forwarded to the standby forwarding SMSC; in the cache mode, when the forwarding SMSC is abnormal, the short message is cached locally, until the forwarding SMSC is abnormal. After the middle recovery, the short message is forwarded to the forwarding SMSC; in the active-standby and cache mode, when the main forwarding SMSC is abnormal, the short message is forwarded to the standby forwarding SMSC, if all If the backup forwarding SMSC is abnormal, the short message is cached, and after the primary forwarding SMSC recovers from the abnormality, the short message is forwarded to the primary forwarding SMSC.

优选地,所述装置还包括:配置模块,用于配置前转策略;前转模块,用于根据所述前转策略前转所述短消息,其中,所述前转策略包括以下至少之一:所述短消息的前转规则,其中,所述前转规则用于判定所述短消息是否前转;所述短消息的前转目的短消息服务中心SMSC的选择策略,其中,所述前转目的SMSC用于判定所述短消息前转的目的SMSC。Preferably, the device further includes: a configuration module for configuring a forwarding strategy; a forwarding module for forwarding the short message according to the forwarding strategy, wherein the forwarding strategy includes at least one of the following : the forwarding rule of the short message, wherein the forwarding rule is used to determine whether the short message is forwarded; the selection strategy of the short message service center SMSC of the forwarding destination of the short message, wherein the forwarding The forwarding destination SMSC is used to determine the forwarding destination SMSC of the short message.

优选地,所述前转规则包括至少一个与所述短消息的属性相应的匹配条件,其中,所述短消息的属性包括以下至少之一:主被叫号码,开户信息,起呼移动交换中心 MSC,短消息中心SC地址,短信协议标识PID。Preferably, the forwarding rule includes at least one matching condition corresponding to the attribute of the short message, wherein the attribute of the short message includes at least one of the following: calling number, account opening information, calling mobile switching center MSC, short message center SC address, short message protocol identification PID.

通过本发明,采用以下方案:检测到所述短消息前转异常,根据集中容灾处理策略处理所述短消息,其中,所述集中容灾处理策略包括以下至少之一:在简单模式下,拒绝所述短消息或者在本地继续处理所述短消息;在主备模式下,在主前转短消息服务中心SMSC异常时,将所述短消息前转到备前转SMSC;在缓存模式下,在前转SMSC 异常时,将所述短消息缓存至本地,待所述前转SMSC从异常中恢复之后,将所述短消息前转至所述前转SMSC;在主备和缓存模式下,在主前转SMSC异常时,将所述短消息前转至备前转SMSC上,若所述备前转SMSC异常,则缓存所述短消息,待所述主前转SMSC从异常中恢复后,再将所述短消息前转至所述主前转SMSC,解决了短消息前转业务系统可靠性不高,稳定性差的问题,具有提高前转业务系统的稳定性和可靠性的有益效果。The present invention adopts the following scheme: detecting that the short message is forwarded abnormally, and processing the short message according to a centralized disaster recovery processing strategy, wherein the centralized disaster recovery processing strategy includes at least one of the following: in the simple mode, Reject the short message or continue to process the short message locally; in the active/standby mode, when the primary forwarding short message service center SMSC is abnormal, forward the short message to the standby forwarding SMSC; in the cache mode , when the forwarding SMSC is abnormal, the short message is cached locally, and after the forwarding SMSC recovers from the abnormality, the short message is forwarded to the forwarding SMSC; , when the primary forwarding SMSC is abnormal, forward the short message to the backup forwarding SMSC, if the backup forwarding SMSC is abnormal, cache the short message, and wait for the primary forwarding SMSC to recover from the abnormality Then, the short message is forwarded to the main forwarding SMSC, which solves the problem of low reliability and poor stability of the short message forwarding business system, and has the benefit of improving the stability and reliability of the forwarding business system. Effect.

附图说明Description of drawings

此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings described herein are used to provide a further understanding of the present invention and constitute a part of the present application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the attached image:

图1是根据相关技术的起呼阶段前转的流程图;FIG. 1 is a flow chart of forwarding in an origination phase according to the related art;

图2是根据本发明实施例的短消息前转的异常处理方法的流程图;2 is a flowchart of an exception processing method for short message forwarding according to an embodiment of the present invention;

图3是根据本发明实施例的短消息前转的异常处理装置的结构图;3 is a structural diagram of an exception processing device for short message forwarding according to an embodiment of the present invention;

图3a是根据本发明实施例的短消息前转的异常处理装置的另一结构图;3a is another structural diagram of an exception processing device for short message forwarding according to an embodiment of the present invention;

图3b是根据本发明优选实施例的短消息前转的异常处理装置的结构示意图;3b is a schematic structural diagram of an exception processing device for short message forwarding according to a preferred embodiment of the present invention;

图4是本发明优选实例的GSM短信中心灵活前转容灾系统的结构示意图;Fig. 4 is the structural representation of the flexible forwarding disaster recovery system of the GSM short message center of the preferred example of the present invention;

图5是本发明优选实例的GSM短信中心灵活前转容灾系统正常前转的流程图;Fig. 5 is the flow chart of the normal forwarding of the flexible forwarding disaster recovery system of the GSM short message center of the preferred example of the present invention;

图6是本发明优选实例的GSM短信中心灵活前转容灾系统异常前转的流程图;以及Fig. 6 is the flow chart of the abnormal forwarding of the GSM short message center flexible forwarding disaster recovery system of the preferred embodiment of the present invention; And

图7是本发明优选实例的GSM短信中心灵活前转容灾系统前转实体状态维护的流程图。FIG. 7 is a flow chart of the state maintenance of the forwarding entity of the flexible forwarding and disaster recovery system of the GSM short message center according to the preferred embodiment of the present invention.

具体实施方式Detailed ways

需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本发明。It should be noted that the embodiments in the present application and the features of the embodiments may be combined with each other in the case of no conflict. The present invention will be described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.

本实施例提供了一种短消息前转的异常处理方法,图2是根据本发明实施例的短消息的前转方法的流程图,如图2所示,该方法包括的步骤如下:This embodiment provides an exception handling method for short message forwarding. FIG. 2 is a flowchart of a short message forwarding method according to an embodiment of the present invention. As shown in FIG. 2 , the method includes the following steps:

步骤S202,检测到所述短消息前转异常;Step S202, detecting that the short message is forwarded abnormally;

步骤S204,根据集中容灾处理策略处理所述短消息。Step S204, the short message is processed according to the centralized disaster recovery processing strategy.

其中,所述集中容灾处理策略包括以下至少之一:在简单模式下,拒绝所述短消息或者在本地继续处理所述短消息;在主备模式下,在主前转短消息服务中心SMSC 异常时,将所述短消息前转到备前转SMSC;在缓存模式下,在前转SMSC异常时,将所述短消息缓存至本地,待所述前转SMSC从异常中恢复之后,将所述短消息前转至所述前转SMSC;在主备和缓存模式下,在主前转SMSC异常时,将所述短消息前转至备前转SMSC上,若所述备前转SMSC异常,则缓存所述短消息,待所述主前转 SMSC从异常中恢复后,再将所述短消息前转至所述主前转SMSC。Wherein, the centralized disaster recovery processing strategy includes at least one of the following: in the simple mode, reject the short message or continue to process the short message locally; in the active/standby mode, in the main forwarding short message service center SMSC When abnormal, the short message is forwarded to the standby forwarding SMSC; in the cache mode, when the forwarding SMSC is abnormal, the short message is cached locally, and after the forwarding SMSC recovers from the abnormality, the The short message is forwarded to the forwarding SMSC; in the active-standby and cache mode, when the main forwarding SMSC is abnormal, the short message is forwarded to the standby-forwarding SMSC, if the standby-forwarding SMSC is forwarded If abnormal, the short message is cached, and after the primary forwarding SMSC recovers from the abnormality, the short message is forwarded to the primary forwarding SMSC.

通过上述步骤,解决了短消息前转业务的标准不统一,导致的前转业务系统可靠性不高,稳定性差的问题,提高了前转业务系统的稳定性和可靠性。Through the above steps, the problems of low reliability and poor stability of the forwarding service system caused by inconsistent standards of the short message forwarding service are solved, and the stability and reliability of the forwarding service system are improved.

在本实施例的一个优选实施方式中,检测到所述短消息前转异常之前,所述方法还可以包括:配置前转策略,根据所述前转策略前转所述短消息,其中,所述前转策略包括以下至少之一:所述短消息的前转规则,其中,所述前转规则用于判定所述短消息是否前转;所述短消息的前转目的SMSC的选择策略,其中,所述前转目的 SMSC用于判定所述短消息前转的目的SMSC。通过配置前转策略,可以将短消息更准确地转发出去,有利于提高短消息的前转成功率。In a preferred implementation of this embodiment, before detecting that the short message is forwarded abnormally, the method may further include: configuring a forwarding strategy, and forwarding the short message according to the forwarding strategy, wherein the The forwarding strategy includes at least one of the following: the forwarding rule of the short message, wherein the forwarding rule is used to determine whether the short message is forwarded; the selection strategy of the SMSC of the forwarding destination of the short message, Wherein, the forwarding destination SMSC is used to determine the forwarding destination SMSC of the short message. By configuring the forwarding policy, the short message can be forwarded more accurately, which is beneficial to improve the forwarding success rate of the short message.

本实施例的一个优选实施方式中,前转规则可以包括至少一个与短消息的属性相应的匹配条件,优选的,短消息的属性可以包括以下至少之一:主被叫号码,开户信息,起呼移动交换中心MSC,短消息中心SC地址,短信协议标识PID等。优选的,前转目的SMSC的选择策略可以包括根据以下至少之一选择前转目的SMSC:主叫、被叫、起呼MSC、国际移动用户识别码IMSI、百分比。优选的,根据前转策略前转短消息包括:匹配该短消息的属性和前转规则,在匹配成功的情况下,触发该短消息的前转至目的SMSC。通过上述步骤,可以更精细地确定前转规则。In a preferred implementation of this embodiment, the forwarding rule may include at least one matching condition corresponding to the attribute of the short message. Preferably, the attribute of the short message may include at least one of the following: calling number, account opening information, origination Call the mobile switching center MSC, the SC address of the short message center, the short message protocol identification PID, etc. Preferably, the selection strategy of the forwarding destination SMSC may include selecting the forwarding destination SMSC according to at least one of the following: calling, called, originating MSC, International Mobile Subscriber Identity IMSI, and percentage. Preferably, forwarding the short message according to the forwarding policy includes: matching the attributes of the short message and the forwarding rule, and triggering the forwarding of the short message to the destination SMSC when the matching is successful. Through the above steps, the forwarding rule can be determined more finely.

本实施例的一个优选实施方式中,所述异常状态可以包括以下至少之一:检测到与目的SMSC的链路出现异常;检测到业务层处理出现异常。通过上述步骤,可以快速地确定异常状态。In a preferred implementation of this embodiment, the abnormal state may include at least one of the following: detecting that the link with the destination SMSC is abnormal; detecting that the processing of the service layer is abnormal. Through the above steps, the abnormal state can be quickly determined.

本实施例还提供了一种短消息前转的异常处理装置,该装置用于实现上述的方法,在上述实施例中已经进行过说明的,在此不再赘述。需要说明的是,下述装置中的模块的名称并不构成对该模块的实际限定,例如,检测模块可以表述为“用于检测到所述短消息前转异常”,以下的模块均可以在处理器中实现,例如,检测模块可以表述为“一种处理器,用于检测到所述短消息前转异常”,或者,“一种处理器,包括检测模块”等。This embodiment also provides an exception processing device for short message forwarding, which is used to implement the above method, which has been described in the above embodiment, and will not be repeated here. It should be noted that the name of the module in the following device does not constitute an actual limitation of the module. For example, the detection module can be expressed as "used to detect the abnormal forwarding of the short message", and the following modules can be found in Implemented in the processor, for example, the detection module can be expressed as "a processor for detecting the short message forwarding abnormality", or "a processor, including a detection module", etc.

图3是根据本发明实施例的短消息前转的异常处理装置的结构图,如图3所示,该装置30包括:检测模块32和处理模块34,下面对该装置进行详细说明。FIG. 3 is a structural diagram of an exception processing apparatus for short message forwarding according to an embodiment of the present invention. As shown in FIG. 3 , the apparatus 30 includes a detection module 32 and a processing module 34 , which will be described in detail below.

检测模块32,用于检测到所述短消息前转异常;A detection module 32, configured to detect that the short message is forwarded abnormally;

处理模块34,用于根据集中容灾处理策略处理所述短消息,其中,所述集中容灾处理策略包括以下至少之一:在简单模式下,拒绝所述短消息或者在本地继续处理所述短消息;在主备模式下,在主前转短消息服务中心SMSC异常时,将所述短消息前转到备前转SMSC;在缓存模式下,在前转SMSC异常时,将所述短消息缓存至本地,待所述前转SMSC从异常中恢复之后,将所述短消息前转至所述前转SMSC;在主备和缓存模式下,在主前转SMSC异常时,将所述短消息前转至备前转SMSC上,若所述备前转SMSC异常,则缓存所述短消息,待所述主前转SMSC从异常中恢复后,再将所述短消息前转至所述主前转SMSC。The processing module 34 is configured to process the short message according to a centralized disaster recovery processing strategy, wherein the centralized disaster recovery processing strategy includes at least one of the following: in a simple mode, reject the short message or continue to process the short message locally Short message; in the active/standby mode, when the primary forwarding short message service center SMSC is abnormal, the short message is forwarded to the standby forwarding SMSC; in the cache mode, when the forwarding SMSC is abnormal, the short message is forwarded to the SMSC The message is cached locally, and after the forwarding SMSC recovers from the abnormality, the short message is forwarded to the forwarding SMSC; in the active-standby and cache modes, when the primary forwarding SMSC is abnormal, the short message is forwarded to the forwarding SMSC. The short message is forwarded to the backup forwarding SMSC. If the backup forwarding SMSC is abnormal, the short message is cached, and after the primary forwarding SMSC recovers from the abnormality, the short message is forwarded to the backup forwarding SMSC. The primary forwarding SMSC.

优选地,所述装置还可以如图3a所示,还包括:配置模块36,用于配置前转策略;前转模块38,用于根据所述前转策略前转所述短消息,其中,所述前转策略包括以下至少之一:所述短消息的前转规则,其中,所述前转规则用于判定所述短消息是否前转;所述短消息的前转目的短消息服务中心SMSC的选择策略,其中,所述前转目的SMSC用于判定所述短消息前转的目的SMSC。Preferably, as shown in FIG. 3a, the apparatus may further include: a configuration module 36 for configuring a forwarding strategy; a forwarding module 38 for forwarding the short message according to the forwarding strategy, wherein, The forwarding strategy includes at least one of the following: a forwarding rule of the short message, wherein the forwarding rule is used to determine whether the short message is forwarded; the short message service center of the forwarding destination of the short message The selection strategy of the SMSC, wherein the forwarding destination SMSC is used to determine the destination SMSC for forwarding the short message.

下面结合优选实施例和实施方式对本发明进行说明。The present invention will be described below with reference to the preferred embodiments and implementations.

优选实施例1Preferred Embodiment 1

本优选实施例提供了一种新的短消息灵活前转自动容灾装置,该装置增加了多种级别的前转容灾机制。图3b是根据本发明优选实施例的短消息前转的异常处理装置的结构示意图,如图3b所示,该装置主要由以下两个模块构成:灵活前转定制模块302 和多级别容灾处理模块304,其中,灵活前转定制模块302和多级别容灾处理模块304 相当于图3a中的配置模块36和处理模块34。This preferred embodiment provides a new short message flexible forwarding automatic disaster recovery device, which adds multiple levels of forwarding disaster recovery mechanisms. Figure 3b is a schematic structural diagram of an exception processing device for short message forwarding according to a preferred embodiment of the present invention. As shown in Figure 3b, the device is mainly composed of the following two modules: a flexible forwarding customization module 302 and a multi-level disaster recovery process. Module 304, wherein the flexible forwarding customization module 302 and the multi-level disaster recovery processing module 304 are equivalent to the configuration module 36 and the processing module 34 in FIG. 3a.

灵活前转定制模块302主要用于基于用户定制的各种策略来判断消息是否前转以及前转到哪里。具体地说,其主要用于短消息的前转规则的判定和前转目的SMSC的选择。The flexible forwarding customization module 302 is mainly used for judging whether the message is forwarded and where to forward it based on various policies customized by the user. Specifically, it is mainly used for the judgment of the forwarding rule of the short message and the selection of the forwarding destination SMSC.

灵活前转定制模块302为用户提供了灵活的前转策略配置接口,利用此接口用户可以定制各种前转规则。其中每个前转规则都是由多个针对消息不同属性的匹配条件组成,消息不同属性主要包括主被叫号码及其开户信息、起呼MSC,SC Address、PID 等各种协议参数。The flexible forwarding customization module 302 provides the user with a flexible forwarding policy configuration interface, through which the user can customize various forwarding rules. Each forwarding rule is composed of multiple matching conditions for different attributes of the message. The different attributes of the message mainly include the calling and called numbers and their account opening information, calling MSC, SC Address, PID and other protocol parameters.

在判断短消息是否前转时,依次匹配各个前转规则,当短消息的属性同时满足前转规则中每一个匹配条件时,则触发前转。When judging whether the short message is forwarded, each forwarding rule is matched in sequence, and when the attributes of the short message simultaneously satisfy each matching condition in the forwarding rule, the forwarding is triggered.

灵活前转定制模块302提供了多种前转目的SMSC的选择策略。灵活前转定制模块302可以分别根据主叫、被叫、起呼MSC、IMSI、百分比对不同短消息来选择不同的目的SMSC进行前转。The flexible forwarding customization module 302 provides multiple selection strategies for the forwarding destination SMSC. The flexible forwarding customization module 302 can select different destination SMSCs to forward to different short messages according to the calling, called, calling MSC, IMSI, and percentage respectively.

多级别容灾处理模块304提供了多级别容灾处理机制,该机制可以包括下述模式中的一种或多种的组合:The multi-level disaster recovery processing module 304 provides a multi-level disaster recovery processing mechanism, and the mechanism may include one or a combination of the following modes:

简单模式:根据系统配置对前转失败的短消息要么拒绝,要么在本地继续处理。Simple mode: According to the system configuration, the short message that fails to be forwarded is either rejected or continues to be processed locally.

主备模式:主前转SMSC异常时,将后续短消息前转到备前转SMSC上。Active/standby mode: When the active forwarding SMSC is abnormal, the subsequent short messages will be forwarded to the standby forwarding SMSC.

缓存模式:前转SMSC异常时,先将短消息缓存到本地,待前转SMSC从异常中恢复后,再将缓存的短消息进行前转。Cache mode: When the forwarding SMSC is abnormal, the short message is first cached locally, and the cached short message is forwarded after the forwarding SMSC recovers from the abnormality.

主备+缓存模式:主前转SMSC异常,优先将短消息前转到备前转SMSC上;若备前转SMSC也同样异常,则缓存待前转的短消息,待主前转SMSC从异常中恢复后,再将短消息进行前转。Active/standby+cache mode: if the active forwarding SMSC is abnormal, the short message will be forwarded to the standby forwarding SMSC first. After recovery, the short message will be forwarded.

本优选实施例为用户提供了灵活定制前转业务以及多种级别的容灾处理策略,提高了系统可靠性与稳定性,为用户提供了灵活的、安全的,可靠的前转容灾处理系统,为用户更快、更好地部署短消息前转业务提供保障。This preferred embodiment provides users with flexible customized forwarding services and various levels of disaster recovery processing strategies, improves system reliability and stability, and provides users with a flexible, safe, and reliable forwarding disaster recovery processing system , to ensure faster and better deployment of short message forwarding services for users.

优选实施例2Preferred Embodiment 2

图4是本发明优选实例的GSM短信中心灵活前转容灾装置的结构示意图,如图4 所示,该系统40包括前转判定模块42、前转实体选择模块44和容灾处理模块46,其中,前转判定模块42、前转实体选择模块44相当于图4中的前转模块32,容灾处理模块46相当于图4中的检测模块32和处理模块34。下面对该装置进行详细说明:Fig. 4 is the structural schematic diagram of the flexible forwarding disaster recovery device of the GSM short message center of the preferred embodiment of the present invention, as shown in Fig. 4, the system 40 comprises a forwarding determination module 42, a forwarding entity selection module 44 and a disaster recovery processing module 46, The forwarding determination module 42 and the forwarding entity selection module 44 are equivalent to the forwarding module 32 in FIG. 4 , and the disaster recovery processing module 46 is equivalent to the detection module 32 and the processing module 34 in FIG. 4 . The device is described in detail below:

前转判定模块42,用于基于用户配置的多个前转规则,对短消息是否前转进行判定;The forwarding determination module 42 is used to determine whether the short message is forwarded based on a plurality of forwarding rules configured by the user;

前转实体选择模块44,用于基于用户配置的前转实体选择策略,来选择待前转的短消息的目的SMSC;The forwarding entity selection module 44 is used to select the purpose SMSC of the short message to be forwarded based on the forwarding entity selection strategy configured by the user;

容灾处理模块46:基于用户配置的容灾策略进行异常处理。具体地说,用于根据集中容灾处理策略处理所述短消息,其中,所述集中容灾处理策略包括以下至少之一:在简单模式下,拒绝所述短消息或者在本地继续处理所述短消息;在主备模式下,在主前转短消息服务中心SMSC异常时,将所述短消息前转到备前转SMSC;在缓存模式下,在前转SMSC异常时,将所述短消息缓存至本地,待所述前转SMSC从异常中恢复之后,将所述短消息前转至所述前转SMSC;在主备和缓存模式下,在主前转SMSC 异常时,将所述短消息前转至备前转SMSC上,若所述备前转SMSC异常,则缓存所述短消息,待所述主前转SMSC从异常中恢复后,再将所述短消息前转至所述主前转 SMSC。Disaster recovery processing module 46: Perform exception processing based on the disaster recovery strategy configured by the user. Specifically, it is used to process the short message according to a centralized disaster recovery processing strategy, wherein the centralized disaster recovery processing strategy includes at least one of the following: in a simple mode, reject the short message or continue to process the short message locally Short message; in the active/standby mode, when the primary forwarding short message service center SMSC is abnormal, the short message is forwarded to the standby forwarding SMSC; in the cache mode, when the forwarding SMSC is abnormal, the short message is forwarded to the SMSC The message is cached locally, and after the forwarding SMSC recovers from the abnormality, the short message is forwarded to the forwarding SMSC; in the active-standby and cache modes, when the active forwarding SMSC is abnormal, the short message is forwarded to the forwarding SMSC. The short message is forwarded to the backup forwarding SMSC. If the backup forwarding SMSC is abnormal, the short message is cached, and after the primary forwarding SMSC recovers from the abnormality, the short message is forwarded to the backup forwarding SMSC. The primary forwarding SMSC.

通过上述装置,为用户提供了GSM短信中心灵活前转容灾系统,提高了系统可靠性与稳定性,为用户提供了灵活的、安全的,可靠的前转容灾处理系统,为用户更快、更好地部署短消息前转业务提供保障。Through the above device, the flexible forwarding disaster recovery system of the GSM short message center is provided for the user, the reliability and stability of the system are improved, the flexible, safe and reliable forwarding disaster recovery processing system is provided for the user, and the user is faster , Better deploy short message forwarding service to provide guarantee.

优选实施例3Preferred Embodiment 3

图5是本发明优选实例的GSM短信中心灵活前转容灾系统正常前转的流程图,如图5所示,该GSM短信中心灵活前转容灾系统正常前转的流程图包括如下步骤:Fig. 5 is the flow chart of the normal forwarding of the flexible forwarding disaster recovery system of the GSM short message center of the preferred embodiment of the present invention, as shown in Fig. 5, the flow chart of the normal forwarding of the GSM short message center flexible forwarding disaster recovery system comprises the following steps:

步骤S502,GSM核心网侧提交前转请求消息(MO_FORWARD)到SMSC1;Step S502, the GSM core network side submits a forwarding request message (MO_FORWARD) to SMSC1;

步骤S504,SMSC1逐条匹配各个前转规则,判断短消息是否需要进行前转;匹配规则时,系统将短消息不同属性与前转规则中的每个属性匹配条件进行比对,待所有匹配条件都满足时,则触发规则,若不需要前转,则在本地继续处理其他业务;Step S504, SMSC1 matches each forwarding rule one by one, and judges whether the short message needs to be forwarded; when matching the rules, the system compares different attributes of the short message with each attribute matching condition in the forwarding rule, and waits for all matching conditions to be satisfied. When it is satisfied, the rule will be triggered, and if no forwarding is required, other services will continue to be processed locally;

步骤S506,根据不同选择策略获取待前转SMSC地址;若获取SMSC地址失败,终止消息处理;Step S506, obtaining the SMSC address to be forwarded according to different selection strategies; if obtaining the SMSC address fails, terminate the message processing;

步骤S508,判断待前转SMSC是否异常,若异常则进行异常处理流程;Step S508, judge whether the SMSC to be forwarded is abnormal, and if it is abnormal, carry out the abnormal processing flow;

步骤S510,将短消息通过核心网前转到SMSC2;Step S510, the short message is forwarded to SMSC2 through the core network;

步骤S512,SMSC2回复前转响应;Step S512, SMSC2 replies with a forwarding response;

步骤S514,SMSC1向核心网回复MO起呼响应。Step S514, SMSC1 replies the MO origination response to the core network.

通过上述步骤,本优选实施例为用户提供了GSM短信中心灵活前转容灾系统正常前转处理方法,提高了系统可靠性与稳定性,为用户提供了灵活的、安全的,可靠的前转容灾处理系统,为用户更快、更好地部署短消息前转业务提供保障。Through the above steps, this preferred embodiment provides the user with a normal forwarding processing method for the flexible forwarding and disaster recovery system of the GSM short message center, improves the reliability and stability of the system, and provides the user with a flexible, safe, and reliable forwarding The disaster recovery processing system provides guarantee for users to deploy the short message forwarding service faster and better.

优选实施例4Preferred Embodiment 4

图6是本发明优选实例的GSM短信中心灵活前转容灾系统异常前转的流程图,如图6所示,该流程包括如下步骤:Fig. 6 is the flow chart of the abnormal forwarding of the GSM short message center flexible forwarding and disaster recovery system of the preferred embodiment of the present invention, as shown in Fig. 6, the flow chart comprises the following steps:

步骤S602,判断待前转SMSC2是否异常。Step S602, it is judged whether the SMSC2 to be forwarded is abnormal.

SMSC1基于本地维护的目的前转SMSC状态,判断待前转的SMSC2是否异常。如果SMSC2异常,执行步骤S604,否则执行步骤S612。The SMSC1 forwards the status of the SMSC based on the purpose of local maintenance, and determines whether the SMSC2 to be forwarded is abnormal. If the SMSC2 is abnormal, step S604 is performed; otherwise, step S612 is performed.

步骤S604,判断是否启用简单模式。Step S604, it is determined whether the simple mode is enabled.

如果启用简单模式,则执行步骤S614,否则执行步骤S606。If the simple mode is enabled, step S614 is performed, otherwise, step S606 is performed.

步骤S606,判断是否启用主备模式。Step S606, it is determined whether the active/standby mode is enabled.

如果启用主备模式,则执行步骤S616,否则执行步骤S608。If the active/standby mode is enabled, step S616 is performed; otherwise, step S608 is performed.

步骤S608,判断是否启用缓存模式。Step S608, it is determined whether the cache mode is enabled.

如果启用缓存模式,则执行步骤S610,否则执行步骤S620。If the cache mode is enabled, step S610 is performed, otherwise, step S620 is performed.

步骤S610,缓存短消息,回复起呼响应。In step S610, the short message is cached and a call origination response is replied.

缓存待前转的短消息,回复起呼响应。待目的SMSC正常时,再前转缓存的短消息。Cache short messages to be forwarded, and reply to the origination response. When the destination SMSC is normal, the cached short message is forwarded.

步骤S612,将短消息从SMSC1前转到SMSC2。Step S612, forward the short message from SMSC1 to SMSC2.

步骤S614,拒绝或本地继续处理该短消息。Step S614, reject or continue to process the short message locally.

步骤S616,判断备选SMSC是否异常。Step S616, it is judged whether the candidate SMSC is abnormal.

如果备选SMSC异常,执行步骤S608,否则执行步骤S620。If the candidate SMSC is abnormal, step S608 is performed; otherwise, step S620 is performed.

步骤S618,将短消息前转至备选SMSC3。Step S618, forward the short message to the alternative SMSC3.

步骤S620,终止短消息处理。Step S620, terminating the short message processing.

通过上述步骤,本优选实施例为用户提供了GSM短信中心灵活前转容灾系统异常前转的处理方法,提高了系统可靠性与稳定性,为用户提供了灵活的、安全的,可靠的前转容灾处理系统,为用户更快、更好地部署短消息前转业务提供保障。Through the above steps, this preferred embodiment provides the user with a method for handling abnormal forwarding of the GSM short message center flexible forwarding disaster recovery system, improves the reliability and stability of the system, and provides users with a flexible, safe, and reliable forwarding system. The disaster recovery processing system provides guarantee for users to deploy the short message forwarding service faster and better.

优选实施例5Preferred Embodiment 5

本优选实施例为满足不同容灾策略需求,系统需要实时维护前转目的SMSC状态信息,不同的异常状态要求不同的判定条件,例如,当与目的SMSC的链路出现异常时,当前转无法正常发送或无法接收到目的SMSC的前转响应且响应超时次数(可配)到达一定的数目为判决条件。当业务层处理出现异常时,根据目的前转SMSC返回的错误码来判定业务处理是否存在异常,系统支持异常错误码可配置。In this preferred embodiment, in order to meet the requirements of different disaster recovery strategies, the system needs to maintain the status information of the forwarding destination SMSC in real time, and different abnormal states require different judgment conditions. For example, when the link with the destination SMSC is abnormal, the forwarding cannot be normal. The judgment condition is that the forwarding response of the destination SMSC is sent or cannot be received and the number of response timeouts (configurable) reaches a certain number. When an abnormality occurs in the business layer processing, it is determined whether there is an abnormality in the business processing according to the error code returned by the destination forwarding SMSC. The system supports the configuration of the abnormal error code.

本优选实施例中,异常状态的恢复包括:目的SMSC状态异常时,本短消息中心会定时构造探测消息前转到对端,直到对端从异常中恢复,为防止探测消息对目的用户产生影响,这里构造的探测消息是一条的沉默短消息。In this preferred embodiment, the recovery of the abnormal state includes: when the state of the destination SMSC is abnormal, the short message center will periodically construct a detection message and forward it to the opposite end until the opposite end recovers from the abnormality, in order to prevent the detection message from affecting the destination user , the probe message constructed here is a silent short message.

图7是本发明优选实例的GSM短信中心灵活前转容灾系统前转实体状态维护的流程图,如图7所示,GSM短信中心灵活前转容灾系统前转实体状态维护的流程图包括如下步骤:Fig. 7 is the flow chart of the forwarding entity state maintenance of the GSM short message center flexible forwarding disaster recovery system of the preferred example of the present invention, as shown in Fig. 7, the flow chart of the forwarding entity state maintenance of the GSM short message center flexible forwarding disaster recovery system includes: Follow the steps below:

步骤S702,检测到前转异常。Step S702, abnormal forwarding is detected.

检测到前转消息发送失败、或前转响应超时次数达到一定门限(可配)、或前转响应错误码。It is detected that the forwarding message fails to be sent, or the number of forwarding response timeouts reaches a certain threshold (configurable), or the forwarding response error code.

步骤S704,判断前转SMSC是否异常;Step S704, judging whether the forwarding SMSC is abnormal;

根据检测到的前转消息发送失败、或前转响应超时次数达到一定门限(可配)、或前转响应错误码,判断目的SMSC即前转SMSC是否异常。若异常,则执行步骤S706,否则,执行步骤S708。According to the detected failure to send the forwarding message, or the time-out times of the forwarding response reaching a certain threshold (configurable), or the forwarding response error code, it is determined whether the destination SMSC, that is, the forwarding SMSC is abnormal. If abnormal, go to step S706, otherwise go to step S708.

步骤S706,更新前转SMSC异常状态。Step S706, updating the abnormal state of the forwarding SMSC.

步骤S708,判断是否存在缓存短消息。Step S708, it is judged whether there is a cached short message.

若前转响应正常,更新前转SMSC状态,同时检查各目的SMSC下是否有缓存消息;若存在,则执行步骤S710,否则,结束本流程。If the forwarding response is normal, the status of the forwarding SMSC is updated, and at the same time, it is checked whether there is a cached message under each destination SMSC; if there is, step S710 is performed; otherwise, the process ends.

步骤S710,前转缓存短消息。Step S710, forward buffering the short message.

步骤S712,检测到到达定时时间。In step S712, the arrival time is detected.

本步骤与步骤S702的执行,可以同时进行,也可以先后进行,二者是并列的流程。The execution of this step and step S702 may be performed simultaneously or sequentially, and the two are parallel processes.

步骤S714,判断前转SMSC是否异常。Step S714, it is judged whether the forwarding SMSC is abnormal.

如果存在异常,需定时探测异常SMSC直到恢复正常为止,执行步骤S716,否则,执行步骤S712。If there is an abnormality, the abnormal SMSC needs to be detected regularly until it returns to normal, and then step S716 is performed; otherwise, step S712 is performed.

步骤S716,构造沉默短信探测消息,并前转至异常SMSC。Step S716, construct a silent short message detection message, and forward to the abnormal SMSC.

通过上述步骤,本优选实施例为用户提供了GSM短信中心灵活前转容灾系统前转实体状态维护方法,提高了系统可靠性与稳定性,为用户提供了灵活的、安全的,可靠的前转容灾处理系统,为用户更快、更好地部署短消息前转业务提供保障。Through the above steps, this preferred embodiment provides the user with a method for maintaining the state of the forwarding entity of the flexible forwarding and disaster recovery system of the GSM short message center, improves the reliability and stability of the system, and provides users with a flexible, safe, and reliable forwarding system. The disaster recovery processing system provides guarantee for users to deploy the short message forwarding service faster and better.

显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that the above-mentioned modules or steps of the present invention can be implemented by a general-purpose computing device, and they can be centralized on a single computing device or distributed in a network composed of multiple computing devices Alternatively, they can be implemented with program codes executable by a computing device, so that they can be stored in a storage device and executed by the computing device, or they can be made into individual integrated circuit modules, or they can be integrated into The multiple modules or steps are fabricated into a single integrated circuit module. As such, the present invention is not limited to any particular combination of hardware and software.

以上仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.

Claims (8)

1.一种短消息前转的异常处理方法,其特征在于,包括:1. an exception handling method of short message forwarding, is characterized in that, comprises: 短消息服务中心SMSC检测到与前转SMSC之间的所述短消息前转异常,其中,所述异常包括以下至少之一:与所述前转SMSC的链路出现异常,业务层处理出现异常;The short message service center SMSC detects that the short message forwarding is abnormal with the forwarding SMSC, wherein the abnormality includes at least one of the following: the link with the forwarding SMSC is abnormal, and the service layer processing is abnormal ; 根据集中容灾处理策略处理所述短消息,其中,所述集中容灾处理策略包括以下至少之一:The short message is processed according to a centralized disaster recovery processing strategy, wherein the centralized disaster recovery processing strategy includes at least one of the following: 在简单模式下,拒绝所述短消息或者在本地继续处理所述短消息;In the simple mode, reject the short message or continue processing the short message locally; 在主备模式下,在主前转SMSC异常时,将所述短消息前转到备前转SMSC;In the active/standby mode, when the active forwarding SMSC is abnormal, the short message is forwarded to the standby forwarding SMSC; 在缓存模式下,在前转SMSC异常时,将所述短消息缓存至本地,待所述前转SMSC从异常中恢复之后,将所述短消息前转至所述前转SMSC;In the cache mode, when the forwarding SMSC is abnormal, the short message is cached locally, and after the forwarding SMSC is recovered from the abnormality, the short message is forwarded to the forwarding SMSC; 在主备和缓存模式下,在主前转SMSC异常时,将所述短消息前转至备前转SMSC上,若所述备前转SMSC异常,则缓存所述短消息,待所述主前转SMSC从异常中恢复后,再将所述短消息前转至所述主前转SMSC。In the active-standby and cache mode, when the active forwarding SMSC is abnormal, the short message is forwarded to the standby forwarding SMSC. If the standby forwarding SMSC is abnormal, the short message is cached, and the main After the forwarding SMSC recovers from the abnormality, the short message is forwarded to the primary forwarding SMSC. 2.根据权利要求1所述的方法,其特征在于,检测到所述短消息前转异常之前,所述方法还包括:配置前转策略,根据所述前转策略前转所述短消息,其中,所述前转策略包括以下至少之一:2 . The method according to claim 1 , wherein, before detecting that the short message is forwarded abnormally, the method further comprises: configuring a forwarding strategy, and forwarding the short message according to the forwarding strategy, 2 . Wherein, the forwarding strategy includes at least one of the following: 所述短消息的前转规则,其中,所述前转规则用于判定所述短消息是否前转;The forwarding rule of the short message, wherein the forwarding rule is used to determine whether the short message is forwarded; 所述短消息的前转目的SMSC的选择策略,其中,所述前转目的SMSC用于判定所述短消息前转的目的SMSC。The selection strategy of the short message forwarding destination SMSC, wherein the forwarding destination SMSC is used to determine the short message forwarding destination SMSC. 3.根据权利要求2所述的方法,其特征在于,所述前转规则包括至少一个与所述短消息的属性相应的匹配条件,其中,所述短消息的属性包括以下至少之一:主被叫号码,开户信息,起呼移动交换中心MSC,短消息中心SC地址,短信协议标识PID。3. The method according to claim 2, wherein the forwarding rule includes at least one matching condition corresponding to the attribute of the short message, wherein the attribute of the short message includes at least one of the following: main Called number, account opening information, calling mobile switching center MSC, short message center SC address, short message protocol identification PID. 4.根据权利要求2所述的方法,其特征在于,所述前转目的SMSC的选择策略包括根据以下至少之一选择所述前转目的SMSC:主叫、被叫、起呼MSC、国际移动用户识别码IMSI、百分比。4. The method according to claim 2, wherein the selection strategy of the forwarding destination SMSC comprises selecting the forwarding destination SMSC according to at least one of the following: calling, called, calling MSC, international mobile User ID IMSI, percentage. 5.根据权利要求4所述的方法,其特征在于,根据所述前转策略前转所述短消息包括:匹配所述短消息的属性和所述前转规则,在匹配成功的情况下,触发所述短消息的前转至所述目的SMSC。5. The method according to claim 4, wherein forwarding the short message according to the forwarding policy comprises: matching an attribute of the short message and the forwarding rule, and in the case of successful matching, Trigger forwarding of the short message to the destination SMSC. 6.一种短消息前转的异常处理装置,其特征在于,包括:6. An exception handling device for short message forwarding, characterized in that, comprising: 检测模块,用于检测到与前转短消息服务中心SMSC之间的所述短消息前转异常,其中,所述异常包括以下至少之一:与所述前转SMSC的链路出现异常,业务层处理出现异常;A detection module, configured to detect that the short message forwarding is abnormal with the short message forwarding service center SMSC, wherein the abnormality includes at least one of the following: the link with the forwarding SMSC is abnormal, the service An exception occurred in layer processing; 处理模块,用于根据集中容灾处理策略处理所述短消息,其中,所述集中容灾处理策略包括以下至少之一:A processing module, configured to process the short message according to a centralized disaster recovery processing strategy, wherein the centralized disaster recovery processing strategy includes at least one of the following: 在简单模式下,拒绝所述短消息或者在本地继续处理所述短消息;In the simple mode, reject the short message or continue processing the short message locally; 在主备模式下,在主前转SMSC异常时,将所述短消息前转到备前转SMSC;In the active/standby mode, when the active forwarding SMSC is abnormal, the short message is forwarded to the standby forwarding SMSC; 在缓存模式下,在前转SMSC异常时,将所述短消息缓存至本地,待所述前转SMSC从异常中恢复之后,将所述短消息前转至所述前转SMSC;In the cache mode, when the forwarding SMSC is abnormal, the short message is cached locally, and after the forwarding SMSC is recovered from the abnormality, the short message is forwarded to the forwarding SMSC; 在主备和缓存模式下,在主前转SMSC异常时,将所述短消息前转至备前转SMSC上,若所述备前转SMSC异常,则缓存所述短消息,待所述主前转SMSC从异常中恢复后,再将所述短消息前转至所述主前转SMSC。In active-standby and cache mode, when the active-forwarding SMSC is abnormal, the short message is forwarded to the standby-forwarding SMSC. After the forwarding SMSC recovers from the abnormality, the short message is forwarded to the primary forwarding SMSC. 7.根据权利要求6所述的装置,其特征在于,所述装置还包括:7. The apparatus of claim 6, wherein the apparatus further comprises: 配置模块,用于配置前转策略;The configuration module is used to configure the forwarding policy; 前转模块,用于根据所述前转策略前转所述短消息,其中,所述前转策略包括以下至少之一:所述短消息的前转规则,其中,所述前转规则用于判定所述短消息是否前转;所述短消息的前转目的短消息服务中心SMSC的选择策略,其中,所述前转目的SMSC用于判定所述短消息前转的目的SMSC。A forwarding module, configured to forward the short message according to the forwarding strategy, wherein the forwarding strategy includes at least one of the following: a forwarding rule for the short message, wherein the forwarding rule is used for Determine whether the short message is forwarded; the selection strategy of the short message service center SMSC for the forwarding destination of the short message, wherein the forwarding destination SMSC is used to determine the destination SMSC for forwarding the short message. 8.根据权利要求7所述的装置,其特征在于,所述前转规则包括至少一个与所述短消息的属性相应的匹配条件,其中,所述短消息的属性包括以下至少之一:主被叫号码,开户信息,起呼移动交换中心MSC,短消息中心SC地址,短信协议标识PID。8 . The apparatus according to claim 7 , wherein the forwarding rule includes at least one matching condition corresponding to an attribute of the short message, wherein the attribute of the short message includes at least one of the following: main Called number, account opening information, calling mobile switching center MSC, short message center SC address, short message protocol identification PID.
CN201310567957.XA 2013-11-14 2013-11-14 The abnormality eliminating method and device of Short Message Service Call forwarding Expired - Fee Related CN104640090B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310567957.XA CN104640090B (en) 2013-11-14 2013-11-14 The abnormality eliminating method and device of Short Message Service Call forwarding
PCT/CN2014/078343 WO2015070587A1 (en) 2013-11-14 2014-05-23 Exception processing method and device for forwarding of short message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310567957.XA CN104640090B (en) 2013-11-14 2013-11-14 The abnormality eliminating method and device of Short Message Service Call forwarding

Publications (2)

Publication Number Publication Date
CN104640090A CN104640090A (en) 2015-05-20
CN104640090B true CN104640090B (en) 2019-06-25

Family

ID=53056708

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310567957.XA Expired - Fee Related CN104640090B (en) 2013-11-14 2013-11-14 The abnormality eliminating method and device of Short Message Service Call forwarding

Country Status (2)

Country Link
CN (1) CN104640090B (en)
WO (1) WO2015070587A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1453979A (en) * 2002-04-23 2003-11-05 华为技术有限公司 Short message system
KR20090029482A (en) * 2007-09-18 2009-03-23 주식회사 케이티프리텔 Short message service system and its providing method
CN102143563A (en) * 2010-07-30 2011-08-03 华为技术有限公司 Control method, equipment and systems of short message center cluster
CN102638777A (en) * 2011-02-15 2012-08-15 中兴通讯股份有限公司 SMS (Short Message Service) sending method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1855970A (en) * 2005-04-28 2006-11-01 华为技术有限公司 Forward converting method for short message
CN100461887C (en) * 2006-02-10 2009-02-11 华为技术有限公司 Method and system for realizing short message forward transfer
CN102075889A (en) * 2011-01-27 2011-05-25 上海禹为通信技术有限公司 System and method for realizing short message forward
CN102685698B (en) * 2012-05-28 2015-08-05 陈文凯 Realize a method for cross operator data SMS forward, Apparatus and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1453979A (en) * 2002-04-23 2003-11-05 华为技术有限公司 Short message system
KR20090029482A (en) * 2007-09-18 2009-03-23 주식회사 케이티프리텔 Short message service system and its providing method
CN102143563A (en) * 2010-07-30 2011-08-03 华为技术有限公司 Control method, equipment and systems of short message center cluster
CN102638777A (en) * 2011-02-15 2012-08-15 中兴通讯股份有限公司 SMS (Short Message Service) sending method and device

Also Published As

Publication number Publication date
WO2015070587A1 (en) 2015-05-21
CN104640090A (en) 2015-05-20

Similar Documents

Publication Publication Date Title
US10389801B2 (en) Service request processing method, related apparatus, and system
US8914449B2 (en) Push messaging platform with high scalability and high availability
WO2021135448A1 (en) Service invocation method, apparatus, device, and medium
JP2008547329A (en) Session maintenance in wireless networks
WO2020119328A1 (en) Data transmission method, apparatus and device, and storage medium
US10623405B2 (en) Communication system, access authentication method and system based on communication system
EP2582093B1 (en) Method for detecting message loop, routing agent apparatus and networking system
CN101616383A (en) Short message routing method, system and network element interconnected with international gateway
JP2016517643A (en) Data transmission method, apparatus and system
US9848019B2 (en) Failover for mobile devices
US20140087682A1 (en) Short message sending method for multi-mode terminal and multi-mode terminal
WO2012003672A1 (en) Method, system and device for realizing short message service
KR20100093389A (en) Apparatus and method for managementing path between nodes in mobile communication system
CN101977396B (en) System and method for realizing network element service switching in multimedia messaging service
US20250024318A1 (en) Method for processing message, electronic device and storage medium
CN106657187A (en) Message processing method and apparatus thereof
CN104640090B (en) The abnormality eliminating method and device of Short Message Service Call forwarding
CN106331202A (en) Dynamic host configuration protocol DHCP server management method and device
WO2012027940A1 (en) Short-message processing method and short-message center
WO2015158058A1 (en) Method and system for implementing call saving and recovery
CN108234358A (en) A kind of multicast message transmission method, device and machine readable storage medium
CN108206823B (en) A method, system and network device for processing messages
WO2010043184A1 (en) Method, system and apparatus for restricting calls from calling user
CN104363579A (en) Online application implementing method and device
CN116669108A (en) Message sending method, message sending device and storage medium

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190625