短消息中心群集系统及其控制方法 技术领域 Short message center cluster system and control method thereof
本发明涉及通信领域的短消息中心, 具体地说, 涉及短消息中 群集 系统及其控制方法。 背景技术 The present invention relates to a short message center in the field of communications, and more particularly to a cluster system in a short message and a control method therefor. Background technique
短消息作为电信行业最重要的增值业务, 地位日渐重要, 现有的 CDMA 网络、 GSM 网络和固定电话网中都设置了短消息中心或类似产品。 在为广 大用户带来便捷服务、 为运营商带来丰厚利润的同时, 各方对短消息中心 的要求也越来越严格,其系统的安全性和健壮性已向交换机等主设备看齐, 最基本的需求就是在任何情况下都能保证短消息中心的正常运作。 As the most important value-added service in the telecom industry, short messages are becoming more and more important. Short message centers or similar products are set up in existing CDMA networks, GSM networks and fixed telephone networks. While providing convenient services for the majority of users and bringing lucrative profits to operators, the requirements of all parties for the short message center are becoming more and more strict. The security and robustness of the system have been aligned with the main equipment such as switches. The basic requirement is to ensure the normal operation of the short message center under any circumstances.
目前, 在现有各通信网上运行的短消息中心的数量已达到数千个。 这 些短消息中心之间基本上都是相互独立的, 即使两个短消息中心之间存在 相关性, 也只是简单的组合关系, 只能起到一定程度的负荷分担、 容灾备 份作用, 远远不能满足现在对短消息中心安全性和健壮性的要求。 At present, the number of short message centers running on existing communication networks has reached several thousand. These short message centers are basically independent of each other. Even if there is a correlation between the two short message centers, they are only a simple combination relationship, which can only play a certain degree of load sharing and disaster recovery backup. Can not meet the current requirements for the security and robustness of the short message center.
在计算机月 务器领域, 多台服务器之间的群集技术已经十分普及, 这 种群集技术大大地提高了整个系统的可用性,如 IBM小型机上 HACMP( High Avai labi l ity Cluster Mul ti-Process ing )技术和 Microsoft 的 MSGS ( Microsoft Clus ter Service )技术等。 In the field of computer server, clustering technology between multiple servers has become very popular. This clustering technology greatly improves the availability of the entire system, such as HACMP (High Avai laby l ity Cluster Mul ti-Processing) on IBM minicomputers. Technology and Microsoft's MSGS (Microsoft Clus ter Service) technology.
由此可设想, 如果把一个短消息中心看成是电信网络的一个网元, 那 么, 借鉴计算机服务器群集技术把多个这样的网元组合成一个有机整体, 从而使各网元之间既能相互备份、 又能相互分担业务, 这对提高电信网络 短消息业务的可靠性十分有意义。 发明内容 Therefore, if a short message center is regarded as a network element of the telecommunication network, then the computer server clustering technology is used to combine a plurality of such network elements into one organic whole, so that the network elements can be Backing up each other and sharing services with each other is very meaningful for improving the reliability of the short message service of the telecommunication network. Summary of the invention
本发明正是鉴于现有技术中的上述技术问题提出的, 其目的在于提供 一种短消息中心群集系统及其控制方法, 4吏得多个短消息中心形成一个有
机联合体, 以提高短消息业务的可靠性。 The present invention has been made in view of the above technical problems in the prior art, and an object thereof is to provide a short message center cluster system and a control method thereof, and a plurality of short message centers are formed to form one Machine complex to improve the reliability of short message services.
根据本发明的一个方面, 提出一种短消息中心群集系统, 包括: 一个群集调度中心, 用于进行群集配置和业务调度; According to an aspect of the present invention, a short message center cluster system is provided, comprising: a cluster scheduling center for performing cluster configuration and service scheduling;
至少两个短消息中心, 其中每个短消息中心除了包括接入模块和业务 处理模块外, 还包括群集结点服务器, 用于所述短消息中心组成群集的通 讯连接, 并与所述短消息中心的其它模块以及所述群集调度中心连接。 At least two short message centers, each of which includes an access node and a service processing module, and a cluster node server, wherein the short message center is used to form a clustered communication connection, and the short message is The other modules of the center are connected to the cluster dispatch center.
根据本发明的另一个方面,提供一种短消息中心群集系统的控制方法, 包括: 设置每个短消息中心的短消息接收和发送的路由相同; 监测短消息 中心的工作状况; 如果短消息中心出现异常情况, 则根据群集调度中心的 调度, 将短消息分配到群集系统中其它短消息中心处理。 According to another aspect of the present invention, a method for controlling a short message center cluster system is provided, including: setting a short message receiving and sending route of each short message center is the same; monitoring a short message center working condition; if a short message center If an abnormal situation occurs, the short message is allocated to other short message center processing in the cluster system according to the scheduling of the cluster scheduling center.
优选地, 在所述监测工作状况的步骤之前, 还包括: 在群集调度中心 配置每个短消息中心的业务数据, 包括用户号码段、 流量示忙条件、 分流 策略和容灾策略。 Preferably, before the step of monitoring the working condition, the method further includes: configuring the service data of each short message center in the cluster scheduling center, including the user number segment, the traffic indicating busy condition, the traffic distribution policy, and the disaster recovery policy.
优选地, 如果异常情况是短消息中心的业务负荷达到负荷上限, 则所 述根据群集调度中心的调度, 将短消息分配到群集系统中其它短消息中心 处理的步骤进一步包括: 将溢出的短消息提交到群集调度中心; 群集调度 中心根据短消息中心的忙闲情况和分流策略, 将收到的短消息分配到相应 的短消息中心。 Preferably, if the abnormal situation is that the traffic load of the short message center reaches the load upper limit, the step of allocating the short message to other short message center processing in the cluster system according to the scheduling of the cluster scheduling center further comprises: the short message to be overflowed Submitted to the cluster dispatch center; the cluster dispatch center allocates the received short message to the corresponding short message center according to the busy state of the short message center and the offload policy.
优选地, 如果异常情况是短消息中心的业务负荷达到负荷上限, 则所 述根据群集调度中心的调度, 将短消息分配到群集系统中其它短消息中心 处理的步驟进一步包括: 将溢出的短消息提交到该短消息中心的群集结点 服务器; 群集调度中心根据短消息中心的忙闲情况和分流策略确定接收这 些短消息的短消息中心; 上述群集结点服务器将短消息发送到相应的短消 息中心的群集结点服务器。 Preferably, if the abnormal situation is that the traffic load of the short message center reaches the load upper limit, the step of allocating the short message to other short message center processing in the cluster system according to the scheduling of the cluster scheduling center further comprises: the short message to be overflowed The cluster node server submitted to the short message center; the cluster dispatch center determines the short message center that receives the short messages according to the busy state and the offload policy of the short message center; the cluster node server sends the short message to the corresponding short message Central cluster node server.
优选地, 如果异常情况是短消息中心的非接入模块发生故障, 则所述 根据群集调度中心的调度, 将短消息分配到群集系统中其它短消息中心处 理的步骤进一步包括: 将短消息直接提交到群集调度中心; 群集调度中心 根据容灾策略, 将短消息分配到相应的短消息中心处理。
优选地, 如果异常情况是短消息中心的非接入模块发生故障, 则所述 才艮据群集调度中心的调度, 将短消息分配到群集系统中其它短消息中心处 理的步骤进一步包括: 将短消息提交到该短消息中心的群集结点服务器; 群集调度中心根据容灾策略确定接收这些短消息的短消息中心; 上述群集 结点服务器将短消息发送到相应的短消息中心的群集结点服务器。 Preferably, if the abnormal situation is that the non-access module of the short message center fails, the step of allocating the short message to other short message center processing in the cluster system according to the scheduling of the cluster scheduling center further comprises: directly sending the short message Submitted to the cluster dispatch center; the cluster dispatch center assigns short messages to the corresponding short message center according to the disaster recovery policy. Preferably, if the abnormal situation is that the non-access module of the short message center fails, the step of allocating the short message to other short message center processing in the cluster system according to the scheduling of the cluster scheduling center further comprises: The message is submitted to the cluster node server of the short message center; the cluster dispatch center determines the short message center that receives the short messages according to the disaster tolerance policy; the cluster node server sends the short message to the cluster node server of the corresponding short message center .
优选地, 如果异常情况是短消息中心发生系统级故障, 则所述根据群 集调度中心的调度, 将短消息分配到群集系统中其它短消息中心处理的步 骤进一步包括: 从外界网络发送到该短消息中心的所有短消息, 根据容灾 策略全部提交到相应的短消息中心处理。 Preferably, if the abnormal situation is a system-level fault in the short message center, the step of allocating the short message to other short message center processing in the cluster system according to the scheduling of the cluster scheduling center further comprises: sending from the external network to the short All short messages in the message center are submitted to the corresponding short message center according to the disaster recovery strategy.
优选地, 如果系统级故障是短消息中心的某一类型的接入模块发生故 障, 则所述根据群集调度中心的调度, 将短消息分配到群集系统中其它短 消息中心处理的步骤进一步包括: 将该类型接入模块对应的网络发来本短 消息中心的短消息根据容灾策略全部提交到其它正常的短消息中心; 对其 他类型接入模块对应的网络发来本短消息中心的短消息进行正常处理 , 如 果该短消息的终呼是故障接入模块对应的网络, 则短消息经过处理后通过 群集调度中心, 发送到其它正常的短消息中心进行终呼处理。 Preferably, if the system-level fault is that a certain type of access module of the short message center fails, the step of allocating the short message to other short message center processing in the cluster system according to the scheduling of the cluster scheduling center further includes: All the short messages of the short message center are sent to the other short message centers according to the disaster recovery policy. The short messages of the short message center are sent to the network corresponding to other types of access modules. Normal processing is performed. If the terminating call of the short message is the network corresponding to the faulty access module, the short message is processed and sent to the other normal short message center for terminal call processing through the cluster scheduling center.
由上可知, 本发明提供了多个短消息中心之间的群集技术, 通过在多 个短消息中心之间建立一定的协商机制, 从而形成一个有机整体, 使得群 集系统内的短消息中心可以互相^ , 短消息可以在群集内分流处理; 群 集系统内的各短消息中心实现多向分流, 一方面保护短消息中心可以经受 住大话务的冲击, 另一方面也充分有效地利用了网絡资源。 此外, 本发明 还使得群集系统内的各短消息中心有多向容灾的功能, 提高了短消息业务 的可靠性。 附图说明 As can be seen from the above, the present invention provides a clustering technology between a plurality of short message centers. By establishing a certain negotiation mechanism between a plurality of short message centers, an organic whole is formed, so that short message centers in the cluster system can mutually ^ , short messages can be offloaded within the cluster; each short message center in the cluster system achieves multi-directional shunting, on the one hand to protect the short message center can withstand the impact of large traffic, on the other hand, fully utilize the network resources . In addition, the present invention also enables the short message centers in the cluster system to have a multi-directional disaster recovery function, thereby improving the reliability of the short message service. DRAWINGS
图 1 是根据本发明的一个实施例的短消息中心群集系统的结构示意 图; 1 is a schematic structural diagram of a short message center cluster system according to an embodiment of the present invention;
图 2是根据本发明的一个实施例的短消息中心群集系统的控制方法的
流程图; 2 is a control method of a short message center cluster system according to an embodiment of the present invention. Flow chart
图 3是图 2所示实施例中短消息中心正常工作的流程示意图; 图 4是图 2所示实施例中短消息中心的负荷超载时的业务流程示意图; 图 5是图 2所示实施例中短消息中心的非接入模块发生故障时的业务 流程示意图; 3 is a schematic flowchart of a normal operation of a short message center in the embodiment shown in FIG. 2. FIG. 4 is a schematic diagram of a service flow when a short message center in the embodiment shown in FIG. 2 is overloaded; FIG. 5 is a schematic diagram of the embodiment shown in FIG. Schematic diagram of the business process when the non-access module of the short-message center fails;
图 6是图 2所示实施例中短消息中心的信令接入模块发生故障时的业 务流程示意图; 6 is a schematic diagram of a service flow when a signaling access module of a short message center fails in the embodiment shown in FIG. 2;
图 7是图 2所示实施例中短消息中心的 ESME接入模块发生故障时的业 务流程示意图。 具体实施方式 FIG. 7 is a schematic diagram of the service flow when the ESME access module of the short message center fails in the embodiment shown in FIG. 2. detailed description
下面结合附图和实施例, 对本发明的技术方案做进一步的详细描述。 图 1 是根据本发明的一个实施例的短消息中心群集系统的结构示意 图, 包括群集调度中心 101和 N个短消息中心。 群集调度中心 101用于提 供对整个系统的群集配置及业务调度管理功能, 而每个短消息中心除了包 括接入模块和业务处理模块, 还包括群集结点服务器 102。 每个短消息中 心内的群集结点服务器 102是短消息中心组成群集的通讯连接点, 均与群 集调度中心 101连接, 同时分别与短消息中心内的其它模块连接。 群集结 点服务器 102 与群集调度中心 101 以及与短消息中心的其它模块均通过 TCP/IP通讯。 由上可知, 群集调度中心 101是整个群集系统的控制部分, 群集结点 Ji 务器 102实现了短消息中心的群集组网。 The technical solution of the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a block diagram showing the structure of a short message center cluster system including a cluster dispatch center 101 and N short message centers in accordance with one embodiment of the present invention. The cluster dispatch center 101 is used to provide cluster configuration and service scheduling management functions for the entire system, and each short message center includes a cluster node server 102 in addition to the access module and the business processing module. The cluster node server 102 in each short message center is a communication connection point of the short message center to form a cluster, and is connected to the cluster scheduling center 101, and is respectively connected with other modules in the short message center. The cluster node server 102 communicates with the cluster dispatch center 101 and other modules of the short message center via TCP/IP. As can be seen from the above, the cluster scheduling center 101 is the control part of the entire cluster system, and the cluster node server 102 implements the cluster networking of the short message center.
短消息中心的接入模块与外界网络连接, 外界网络包括电信网络和外 部短消息实体 ( External Short Message Entity, 简称 ESME ) 网络, 相 应地, 短消息中心内的接入模块可以分为信令接入模块和 ESME接入模块。 The access module of the short message center is connected to the external network. The external network includes the telecommunication network and an external short message entity (ESME) network. Accordingly, the access modules in the short message center can be divided into signaling interfaces. Incoming modules and ESME access modules.
此外, 群集系统中还可以包括操作台 103, 与群集调度中心 101通过 TCP/IP连接, 用于提供必要的人机管理界面对群集系统进行配置, 并向群 集调度中心 101发出操作指令。 In addition, the cluster system may further include a console 103, which is connected to the cluster dispatch center 101 via TCP/IP, and is configured to provide a necessary human-machine management interface to configure the cluster system and issue operation instructions to the cluster dispatch center 101.
群集结点服务器 102应定时向群集调度中心 101上报所属短消息中心
的忙闲情况, 以便群集调度中心 101合理地进行业务分流。 The cluster node server 102 should periodically report the short message center to the cluster scheduling center 101. The busy condition, so that the cluster dispatch center 101 can reasonably divide the business.
在群集调度中心 101, 可预先设置短消息中心的流量示忙条件、 分流 策略和容灾策略。 流量示忙条件是通知群集调度中心 101本短消息中心忙 的系统关键资源 (如 CPU和内存) 占用的上限, 在示忙后, 群集调度中心 101 不再从其它短消息中心分配短消息到本短消息中心, 避免示忙短消息 中心过载。 分流策略是指当某短消息中心出现业务负荷达到负荷上限的情 况时, 溢出的短消息向其它短消息中心分配的比例, 如在一个由 A、 B、 C、 D四个短消息中心组成的群集系统中, 将 A短消息中心溢出的短消息流量 按照 1: 2: 3分流到 B、 C、 D三个短消息中心。 容灾策略是指在短消息中心 发生故障时, 故障短消息中心的短消息向其它短消息中心分配的比例, 如 在上面的例子中, 当 A短消息中心出现故障时, 将本属于 A短消息中心的 短消息流量按照 1: 2: 3分配到 B、 C、 D三个短消息中心处理。 In the cluster scheduling center 101, the traffic conditions of the short message center, the traffic distribution policy, and the disaster recovery policy can be set in advance. The traffic indication busy condition is an upper limit occupied by the system key resources (such as CPU and memory) that informs the cluster scheduling center 101 that the short message center is busy. After the busy state, the cluster scheduling center 101 no longer allocates short messages to other short message centers. Short message center, avoid overloading the short message center. The splitting policy refers to the proportion of short messages that are overflowed to other short message centers when a traffic load reaches the upper limit of the load in a short message center, for example, in a short message center consisting of four, A, B, C, and D. In the cluster system, the short message traffic overflowed by the A short message center is divided into three short message centers of B, C, and D according to 1:2:3. The disaster recovery policy refers to the proportion of short messages sent by the short message center to other short message centers when the short message center fails. For example, in the above example, when the A short message center fails, it belongs to A short. The short message traffic of the message center is allocated to three short message centers of B, C, and D according to 1:2:3.
进一步地, 为了降低对群集调度中心 101的性能要求, 也可以将所有 短消息中心的群集结点服务器 102互相直连, 这样分流短消息和容灾短消 息可以直接由原短消息中心的群集结点服务器 102发送到相应的短消息中 心的群集结点服务器 102, 而不经过群集调度中心 101。 此时, 群集调度中 心 101只负责群集系统的调度, 而不传递短消息。 Further, in order to reduce the performance requirements of the cluster scheduling center 101, the cluster node servers 102 of all the short message centers may be directly connected to each other, so that the shunt short message and the disaster recovery short message may be directly connected to the cluster of the original short message center. The point server 102 sends to the cluster node server 102 of the corresponding short message center without going through the cluster dispatch center 101. At this point, the cluster scheduling center 101 is only responsible for scheduling the cluster system without passing short messages.
通过以上描述可知, 采用本实施例, 可以在多个短消息中心之间建立 一定的协商机制, 使得群集系统内的短消息中心可以互相 短消息可 以在群集内分流处理。 As can be seen from the above description, with this embodiment, a certain negotiation mechanism can be established between multiple short message centers, so that short message centers in the cluster system can mutually short messages can be offloaded in the cluster.
图 2给出了才艮据本发明的一个实施例的短消息中心群集系统的控制方 法。 如图 2所示, 在步骤 201, 设置每个短消息中心的短消息接收和发送 的路由相同。 在每个群集节点短消息中心中, 对于外界网络的短消息, 设 置短消息入局(即电信网或 ESME向短消息中心提交短消息过程)和出局(即 短消息中心向电信网或 ESME投递短消息过程)的路由相同,例如 集系 统的全部号码段的用户路由指向本短消息中心。 为了方便对短消息中心的 管理, 还可以为每个短消息中心分配一个群集节点 ID。 Figure 2 illustrates a control method for a short message center cluster system in accordance with one embodiment of the present invention. As shown in FIG. 2, in step 201, the short message receiving and sending routes of each short message center are set to be the same. In each cluster node short message center, for the short message of the external network, set the short message incoming (that is, the telecommunication network or ESME submits the short message process to the short message center) and the outgoing (that is, the short message center delivers the short message to the telecommunication network or ESME) The routing of the message process is the same, for example, the user route of all the number segments of the set system points to the short message center. To facilitate the management of the short message center, you can also assign a cluster node ID to each short message center.
在群集调度中心中, 为了实现有效的调度管理, 为每个短消息中心分
配了业务数据, 包括用户号码段、 流量示忙条件、 分流策略和容灾策略。 在步驟 205, 群集调度中心监测短消息中心的工作状况, 以及时根据 短消息中心的当前情况采取相应的措施, 保证业务的正常实现。 In the cluster scheduling center, in order to achieve effective scheduling management, for each short message center The service data is included, including the user number segment, the traffic indication busy condition, the traffic distribution policy, and the disaster recovery policy. In step 205, the cluster scheduling center monitors the working status of the short message center, and takes corresponding measures according to the current situation of the short message center to ensure the normal implementation of the service.
当短消息中心正常工作时, 其业务流程如图 3所示。 为便于描述, 本 实施例中, 短消息群集系统是由两个短消息中心 A和 B群集构成。 此时, 短消息中心的短消息处理只与接入模块和业务处理模块相关。 以短消息中 心 A为例, 具体的处理流程如下: When the short message center works normally, its business process is shown in Figure 3. For convenience of description, in the present embodiment, the short message cluster system is composed of two short message centers A and B clusters. At this time, the short message processing of the short message center is only related to the access module and the service processing module. Take the short message center A as an example. The specific processing flow is as follows:
来自电信网络的短消息通过接口 2 A提交到信令接入模块 A 204, 信令 接入模块 A 204通过接口 2B向业务处理模块 A 203提交短消息。 如果该短 消息 送到电信网络用户, 则业务处理模块 A 203通过接口 2B向信令接 入模块 A 204投递短消息, 信令接入模块 A 204通过接口 2 A向电信网 递短消息。 如果该短消息是发送到 ESME用户, 则业务处理模块 A 203通过 接口 2C向 ESME接入模块 A 205投递短消息, 然后由 ESME接入模块 A 205 通过接口 2D向 ESME网络投递短消息。 The short message from the telecommunication network is submitted to the signaling access module A 204 via the interface 2 A, and the signaling access module A 204 submits the short message to the service processing module A 203 via the interface 2B. If the short message is sent to the telecommunications network subscriber, the service processing module A 203 delivers the short message to the signalling access module A 204 via the interface 2B, and the signaling access module A 204 sends the short message to the telecommunications network via the interface 2A. If the short message is sent to the ESME user, the service processing module A 203 posts the short message to the ESME access module A 205 via the interface 2C, and then the ESME access module A 205 posts the short message to the ESME network via the interface 2D.
同样, 来自 ESME网络的短消息通过接口 2D提交到 ESME接入模块 A 205, ESME接入模块 A 205通过接口 2C向业务处理模块 A 203提交短消息。 如果该短消息是发送到电信网络用户, 则业务处理模块 A 203通过接口 2B 向信令接入模块 A 204投递短消息, 信令接入模块 A 204通过接口 2A向电 信网络投递短消息。 如果该短消息是发送到 ESME用户, 则业务处理模块 A 203通过接口 2C向 ESME接入模块 A 205投递短消息, 然后由 ESME接入模 块 A 205通过接口 2D向 ESME网络投递短消息。 Similarly, the short message from the ESME network is submitted to the ESME access module A 205 via the interface 2D, and the ESME access module A 205 submits the short message to the service processing module A 203 via the interface 2C. If the short message is sent to the telecommunications network user, the service processing module A 203 delivers the short message to the signaling access module A 204 via the interface 2B, and the signaling access module A 204 delivers the short message to the telecommunication network via the interface 2A. If the short message is sent to the ESME user, the service processing module A 203 posts the short message to the ESME access module A 205 via the interface 2C, and then the ESME access module A 205 posts the short message to the ESME network via the interface 2D.
在步骤 210, 如果发现短消息中心出现异常情况, 则根据群集调度中 心的调度, 将短消息分配到群集系统中其它短消息中心处理。 In step 210, if an abnormal situation occurs in the short message center, the short message is allocated to other short message center processing in the cluster system according to the scheduling of the cluster scheduling center.
在群集系统中, 各短消息中心的业务处理模块定时向本短消息中心的 接入模块和群集结点服务器上报负荷情况和故障情况。 短消息中心出现异 常的情况, 包括以下几种: 短消息中心的业务负荷达到负荷上限; 短消息 中心的非接入模块发生故障; 短消息中心发生系统级故障。 当出现了上述 异常情况时, 群集调度中心会根据相应的策略对短消息进行处理。 图 4至
图 7给出了上述几种异常情况下短消息处理的流程图 ,下面——进行说明。 为便于说明, 实施例仍然采用由两个短消息中心 A和 B构成的短消息群集 系统。 In the cluster system, the service processing module of each short message center periodically reports the load situation and the fault condition to the access module and the cluster node server of the short message center. The abnormal situation occurs in the short message center, including the following: The service load of the short message center reaches the upper limit of the load; the non-access module of the short message center fails; the system level fault occurs in the short message center. When the above abnormal situation occurs, the cluster scheduling center processes the short message according to the corresponding policy. Figure 4 to Figure 7 shows the flow chart of short message processing in the above several abnormal situations, the following - for explanation. For ease of illustration, the embodiment still employs a short message clustering system consisting of two short message centers A and B.
当接入模块得知业务处理模块的负荷高于预定的负荷上限时, 所属的 短消息中心启动分流处理。 该短消息中心把溢出的短消息提交到群集调度 中心; 群集调度中心根据各短消息中心的忙闲情况和分流策略, 把溢出的 短消息分配到相应的短消息中心处理。 当业务处理模块的负荷 ¼^于预定负 荷上限时, 停止分流。 短消息中心的群集结点服务器定时向群集调度中心 上报本短消息中心的负荷情况, 供群集调度中心实施分流策略参考。 优选 地, 短消息中心的忙闲情况是由该短消息中心的群集结点服务器定时向群 集调度中心上才艮的。 When the access module learns that the load of the service processing module is higher than the predetermined load limit, the associated short message center starts the offload processing. The short message center submits the overflowed short message to the cluster scheduling center; the cluster scheduling center allocates the overflowed short message to the corresponding short message center according to the busy condition and the offloading policy of each short message center. When the load of the business processing module is 1⁄4^ at the predetermined load limit, the shunt is stopped. The cluster node server of the short message center periodically reports the load status of the short message center to the cluster dispatch center, and the cluster dispatch center implements the traffic split policy reference. Preferably, the busy state of the short message center is timed by the cluster node server of the short message center to the cluster scheduling center.
图 4是上述情况下的短消息分流的示意图, 具体的流程如下: 来自电信网络的短消息通过接口 2 A提交到信令接入模块 A 204, 信令 接入模块 A 204判断业务处理模块 A 203的负荷已达到预定负荷上限, 则 信令接入模块 A 204将溢出的短消息通过接口 2E直接发送给群集结点服务 器 A 102。 群集结点服务器 A 102将溢出的短消息通过接口 2H发送到群集 调度中心 101, 再由群集调度中心 101按照分流策略, 通过接口 21将溢出 的短消息发送到短消息中心 B的群集结点服务器 B 202。群集结点服务器 B 202通过接口 2K发送短消息到业务处理模块 B 207。 如果溢出的短消息是 发送到电信网络用户, 则业务处理模块 B 207通过接口 2P向信令接入模块 B 209终呼短消息, 再由信令接入模块 B 209通过接口 2R向电信网络终呼 短消息。 如果溢出的短消息是发送到 ESME 用户, 则业务处理模块 B 207 通过接口 2N向 ESME接入模块 B 208终呼短消息,再由 ESME接入模块 B 208 通过接口 2Q向 ESME网络终呼短消息。 4 is a schematic diagram of the short message splitting in the above case, and the specific process is as follows: The short message from the telecommunication network is submitted to the signaling access module A 204 through the interface 2A, and the signaling access module A 204 determines the service processing module A. If the load of 203 has reached the predetermined load limit, the signaling access module A 204 sends the overflowed short message directly to the cluster node server A 102 through the interface 2E. The cluster node server A 102 sends the overflowed short message to the cluster dispatch center 101 through the interface 2H, and then the cluster dispatch center 101 sends the overflowed short message to the cluster node server of the short message center B through the interface 21 according to the offload policy. B 202. The cluster node server B 202 sends a short message to the service processing module B 207 via the interface 2K. If the overflowed short message is sent to the telecommunication network user, the service processing module B 207 terminates the short message to the signaling access module B 209 through the interface 2P, and then the signaling access module B 209 terminates to the telecommunication network through the interface 2R. Call short message. If the overflowed short message is sent to the ESME user, the service processing module B 207 terminates the short message to the ESME access module B 208 through the interface 2N, and then the ESME access module B 208 terminates the short message to the ESME network through the interface 2Q. .
同理, 来自 ESME网络的短消息通过接口 2D提交到 ESME接入模块 A 205, ESME接入模块 A 205判断业务处理模块 A 203的负荷已达到预定负 荷上限, 则 ESME接入模块 A 204将溢出的短消息通过接口 2 G直接发送给 群集结点服务器 A 102。 群集结点服务器 A 102将溢出的短消息通过接口
2H发送到群集调度中心 101 , 再由群集调度中心 101按照分流策略, 通过 接口 21将溢出的短消息发送到短消息中心 B的群集结点服务器 B 202。 群 集结点服务器 B 202通过接口 21 [发送短消息到业务处理模块 B 207。 如果 溢出的短消息 送到电信网络用户, 则业务处理模块 B 207通过接口 2P 向信令接入模块 B 209终呼短消息, 再由信令接入模块 B 209通过接口 2R 向电信网络终呼短消息。如果溢出的短消息是发送到 ESME用户,则业务处 理模块 B 207通过接口 2N向 ESME接入模块 B 208终呼短消息, 再由 ESME 接入模块 B 208通过接口 2Q向 ESME网络终呼短消息。 Similarly, the short message from the ESME network is submitted to the ESME access module A 205 through the interface 2D, and the ESME access module A 205 determines that the load of the service processing module A 203 has reached the predetermined load upper limit, and the ESME access module A 204 will overflow. The short message is sent directly to the cluster node server A 102 through the interface 2 G. Cluster Node Server A 102 passes the overflowed short message through the interface 2H is sent to the cluster dispatch center 101, and the cluster dispatch center 101 sends the overflowed short message to the cluster node server B 202 of the short message center B through the interface 21 according to the offload policy. The cluster node server B 202 sends a short message to the service processing module B 207 via the interface 21. If the overflowed short message is sent to the telecommunication network user, the service processing module B 207 terminates the short message to the signaling access module B 209 through the interface 2P, and then the signaling access module B 209 terminates the call to the telecommunication network through the interface 2R. short message. If the overflowed short message is sent to the ESME user, the service processing module B 207 terminates the short message to the ESME access module B 208 through the interface 2N, and then the ESME access module B 208 terminates the short message to the ESME network through the interface 2Q. .
通过以上描述可知, 当短消息中心的负荷超过上限时, 采用分流处理 可以及时緩解过载短消息中心的压力, 并能及时处理溢出短消息, 避免了 短消息的积压或丢失。 According to the above description, when the load of the short message center exceeds the upper limit, the shunting process can relieve the pressure of the overloaded short message center in time, and can timely process the overflow short message, thereby avoiding the backlog or loss of the short message.
当群集系统中的一个或多个短消息中心内的非接入模块出现故障时, 该短消息中心收到外界网络的短消息后, 绕过该故障模块, 直接把短消息 提交到群集调度中心, 由群集调度中心分配到其它短消息中心处理。 图 5 给出了非接入模块故障时的业务流程示意图, 具体如下: When a non-access module in one or more short message centers in the cluster system fails, the short message center receives the short message of the external network, bypasses the fault module, and directly submits the short message to the cluster dispatch center. , assigned by the cluster dispatch center to other short message center processing. Figure 5 shows the service flow diagram when the non-access module fails. The details are as follows:
来自电信网络的短消息通过接口 2A提交到信令接入模块 A 204, 信令 接入模块 A 204发现业务处理模块 A 203出现故障, 则将全部起呼短消息 通过接口 2E直接发送给群集结点服务器 A 102。 群集结点服务器 A 102再 通过接口 2H将短消息发送到群集调度中心 101。群集调度中心 101根据容 灾策略, 将短消息通过接口 21发送到短消息中心 B的群集结点服务器 B 202,群集结点服务器 B 202通过接口 2K发送短消息到业务处理模块 B 207。 如果短消息是发送到电信网络用户, 则业务处理模块 B 207 通过接口 2P 向信令接入模块 B 209终呼短消息, 再由信令接入模块 B 209通过接口 2R 向电信网络终呼短消息。如果短消息是发送到 ESME用户,则业务处理模块 B 207通过接口 2N向 ESME接入模块 B 208终呼短消息, 再由 ESME接入模 块 B 208通过接口 2Q向 ESME网络终呼短消息。 The short message from the telecommunication network is submitted to the signaling access module A 204 through the interface 2A. When the signaling access module A 204 finds that the service processing module A 203 is faulty, all the short message is directly sent to the cluster node through the interface 2E. Point server A 102. The cluster node server A 102 then sends the short message to the cluster dispatch center 101 via interface 2H. The cluster dispatch center 101 sends the short message to the cluster node server B 202 of the short message center B through the interface 21 according to the disaster recovery policy, and the cluster node server B 202 sends the short message to the service processing module B 207 through the interface 2K. If the short message is sent to the telecommunication network user, the service processing module B 207 terminates the short message to the signaling access module B 209 through the interface 2P, and then the signaling access module B 209 terminates the short message to the telecommunication network through the interface 2R. Message. If the short message is sent to the ESME user, the service processing module B 207 terminates the short message to the ESME access module B 208 through the interface 2N, and then the ESME access module B 208 terminates the short message to the ESME network through the interface 2Q.
来自 ESME网络的短消息通过接口 2D提交到 ESME接入模块 A 205, ESME 接入模块 A 205发现业务处理模块 A 203出现故障, 则将全部起呼短消息
通过接口 2G直接发送给群集结点服务器 A 102。 群集结点服务器 A 102再 通过接口 2H将短消息发送到群集调度中心 101。群集调度中心 101根据容 灾策略, 将短消息通过接口 21发送到短消息中心 B的群集结点服务器 B 202,群集结点服务器 B 202通过接口 2K发送短消息到业务处理模块 B 207。 如果短消息是发送到电信网络用户, 则业务处理模块 B 207 通过接口 2P 向信令接入模块 B 209终呼短消息, 再由信令接入模块 B 209通过接口 2R 向电信网络终呼短消息。如果短消息是发送到 ESME用户,则业务处理模块 B 207通过接口 2N向 ESME接入模块 B 208终呼短消息, 再由 ESME接入模 块 B 208通过接口 2Q向 ESME网络终呼短消息。 The short message from the ESME network is submitted to the ESME access module A 205 through the interface 2D, and the ESME access module A 205 finds that the service processing module A 203 is faulty, and all the short message is sent. It is directly sent to the cluster node server A 102 through the interface 2G. The cluster node server A 102 then sends the short message to the cluster dispatch center 101 via the interface 2H. The cluster dispatch center 101 sends the short message to the cluster node server B 202 of the short message center B through the interface 21 according to the disaster tolerance policy, and the cluster node server B 202 sends the short message to the service processing module B 207 through the interface 2K. If the short message is sent to the telecommunication network user, the service processing module B 207 terminates the short message to the signaling access module B 209 through the interface 2P, and then the signaling access module B 209 terminates the short message to the telecommunication network through the interface 2R. Message. If the short message is sent to the ESME user, the service processing module B 207 terminates the short message to the ESME access module B 208 through the interface 2N, and then the ESME access module B 208 terminates the short message to the ESME network through the interface 2Q.
通过以上描述可知, 当短消息中心的非接入模块发生故障时, 采用上 述处理, 可以保证短消息业务的顺利实现。 According to the above description, when the non-access module of the short message center fails, the above processing can be used to ensure the smooth implementation of the short message service.
当群集系统中的一个或多个短消息中心出现系统级故障时, 发送到该 短消息中心的所有短消息根据容灾策略全部提交到其它正常的短消息中 心, 此操作可通过外界网络的^ 路由实现。 所谓系统级故障是指短消息 中心内某一类型的接入模块或全部的接入模块出现故障。 When a system-level fault occurs in one or more short message centers in the cluster system, all short messages sent to the short message center are submitted to other normal short message centers according to the disaster recovery policy. This operation can be performed through the external network. Routing implementation. The so-called system-level fault refers to the failure of a certain type of access module or all access modules in the short message center.
图 6是短消息中心内的信令接入模块发生故障时的业务流程示意图, 具体说明如下: Figure 6 is a schematic diagram of the service flow when the signaling access module in the short message center fails. The details are as follows:
如果短消息中心 A的信令接入模块 A 204发生故障, 则电信网络的信 令转接点判断到短消息中心 A的路由不可达, 启用备用路由, 将电信网络 到该短消息中心的全部短消息通过接口 2R直接发送到短消息中心 B的信令 接入模块 B 209。 信令接入模块 B 209将短消息起呼通过接口 2P发送到业 务处理模块 B 207, 如果该短消息是发送到电信网络用户, 则业务处理模 块 B 207通过接口 2P向信令接入模块 B 209投递短消息, 信令接入模块 B 209通过接口 2R向电信网^:递短消息。 如果该短消息 送到 ESME用 户, 则业务处理模块 B 209通过接口 2N向 ESME接入模块 B 208投递短消 息, 然后由 ESME接入模块 B 208通过接口 2Q向 ESME网络投递短消息。 If the signaling access module A 204 of the short message center A fails, the signaling transfer point of the telecommunication network determines that the route of the short message center A is unreachable, enables the alternate route, and connects the telecommunication network to the short message center. The short message is directly sent to the signaling access module B 209 of the short message center B through the interface 2R. The signaling access module B 209 sends the short message call to the service processing module B 207 through the interface 2P. If the short message is sent to the telecommunication network user, the service processing module B 207 sends the signaling access module B through the interface 2P. 209 delivers the short message, and the signaling access module B 209 delivers the short message to the telecommunication network through the interface 2R. If the short message is sent to the ESME user, the service processing module B 209 delivers the short message to the ESME access module B 208 via the interface 2N, and then the ESME access module B 208 posts the short message to the ESME network via the interface 2Q.
对于来自 ESME网络的短消息,通过接口 2D提交到短消息中心 A的 ESME 接入模块 A 205, ESME接入模块 A 205通过接口 2C将其提交到业务处理模
块 A 203。 如果该短消息是发送到电信网络用户, 业务处理模块 A 203判 断信令接入模块 A 204出现故障, 则将 ESME接入模块 A 205提交的到电信 网络的短消息全部通过接口 2F直接发送到群集结点服务器 A 102。 群集结 点服务器 A 102将这些短消息通过接口 2H发送到群集调度中心 101, 群集 调度中心 101根据容灾策略, 将短消息通过接口 21发送到短消息中心 B 的群集结点服务器 B 202。 群集结点服务器 B 202通过接口 2M直接向信令 接入模块 B 209终呼, 信令接入模块 B 209通过接口 2R向电信网络终呼。 如果该短消息是发送到 ESME用户, 则业务处理模块 A 203通过接口 2C向 ESME接入模块 A 205投递短消息, 然后由 ESME接入模块 A 205通过接口 2D向 ESME网络投递短消息。 For the short message from the ESME network, it is submitted to the ESME access module A 205 of the short message center A through the interface 2D, and the ESME access module A 205 submits it to the service processing mode through the interface 2C. Block A 203. If the short message is sent to the telecommunication network user, and the service processing module A 203 determines that the signaling access module A 204 is faulty, the short message to the telecommunication network submitted by the ESME access module A 205 is directly sent to the interface 2F. Cluster Node Server A 102. The cluster node server A 102 sends these short messages to the cluster dispatch center 101 through the interface 2H, and the cluster dispatch center 101 sends the short message through the interface 21 to the cluster node server B 202 of the short message center B according to the disaster tolerance policy. The cluster node server B 202 terminates the call directly to the signaling access module B 209 through the interface 2M, and the signaling access module B 209 terminates the call to the telecommunication network through the interface 2R. If the short message is sent to the ESME user, the service processing module A 203 posts the short message to the ESME access module A 205 via the interface 2C, and then the ESME access module A 205 posts the short message to the ESME network via the interface 2D.
图 7给出了短消息中心 A的 ESME接入模块 A 205发生故障时的业务流 程示意图, 具体说明如下: Figure 7 shows the service flow of the ESME access module A 205 in the short message center A when it fails. The details are as follows:
如果短消息中心 A的 ESME接入模块 A 205发生故障, 则 ESME判断到 短消息中心 A的路由不可达,启用备用路由,将 ESME网络到该短消息中心 的全部短消息通过接口 2Q直接发送到短消息中心 B的 ESME接入模块 B 208。. ESME接入模块 B 208将短消息起呼通过接口 2N发送到业务处理模块 B 207 , 如果该短消息^^送到电信网络用户, 则业务处理模块 B 207通过 接口 2P向信令接入模块 B 209投递短消息, 信令接入模块 B 209通过接口 2R向电信网络投递短消息。 如果该短消息是发送到 ESME用户, 则业务处 理模块 B 209通过接口 2N向 ESME接入模块 B 208投递短消息,然后由 ESME 接入模块 B 208通过接口 2Q向 ESME网络投递短消息。 If the ESME access module A 205 of the short message center A fails, the ESME determines that the route of the short message center A is unreachable, enables the alternate route, and sends all the short messages of the ESME network to the short message center directly through the interface 2Q. ESME Access Module B 208 of Short Message Center B. The ESME access module B 208 sends the short message call to the service processing module B 207 through the interface 2N. If the short message is sent to the telecommunication network user, the service processing module B 207 passes the interface 2P to the signaling access module. B 209 delivers the short message, and signaling access module B 209 delivers the short message to the telecommunications network via interface 2R. If the short message is sent to the ESME user, the service processing module B 209 delivers the short message to the ESME access module B 208 via the interface 2N, and then the ESME access module B 208 posts the short message to the ESME network via the interface 2Q.
对于来自电信网络的短消息,通过接口 2A提交到短消息中心 A的信令 接入模块 A 204, 信令接入模块 A 204通过接口 2B将其提交到业务处理模 块 A 203。 如果该短消息是发送到电信网络用户, 则业务处理模块 A 203 通过接口 2B向信令接入模块 A 204投递短消息,然后由信令接入模块 A 204 通过接口 2A向电信网络投递短消息。 如果该短消息是发送到 ESME用户, 业务处理模块 A 203判断 ESME接入模块 A 205出现故障, 则将信令接入模 块 A 204提交的到 ESME网络的短消息全部通过接口 2F直接发送到群集结
点服务器 A 102。 群集结点服务器 A 102将这些短消息通过接口 2H发送到 群集调度中心 101, 群集调度中心 101根据容灾策略, 将短消息通过接口 21发送到短消息中心 B的群集结点服务器 B 202。 群集结点服务器 B 202 通过接口 2J直接向 ESME接入模块 B 208终呼, ESME接入模块 B 208通过 接口 2Q向 ESME网络终呼。 For the short message from the telecommunication network, the signaling access module A 204 is submitted to the short message center A through the interface 2A, and the signaling access module A 204 submits it to the service processing module A 203 via the interface 2B. If the short message is sent to the telecommunications network user, the service processing module A 203 delivers the short message to the signaling access module A 204 via the interface 2B, and then the short message is sent by the signaling access module A 204 to the telecommunication network via the interface 2A. . If the short message is sent to the ESME user, the service processing module A 203 determines that the ESME access module A 205 is faulty, and then sends the short message to the ESME network submitted by the signaling access module A 204 to the group directly through the interface 2F. Assembly Point server A 102. The cluster node server A 102 sends these short messages to the cluster dispatch center 101 through the interface 2H, and the cluster dispatch center 101 sends the short message to the cluster node server B 202 of the short message center B through the interface 21 according to the disaster tolerance policy. The cluster node server B 202 terminates the call directly to the ESME access module B 208 through the interface 2J, and the ESME access module B 208 terminates the call to the ESME network through the interface 2Q.
如果短消息中心 A的全部接入模块发生故障, 则根据容灾策略, 发往 该短消息中心的全部短消息均通过备份路由提交到短消息中心 B的相应接 入模块中, 再进行处理。 其处理流程就是短消息在短消息中心 B中的处理 流程, 此处不再赘述。 If all the access modules of the short message center A are faulty, all the short messages sent to the short message center are submitted to the corresponding access module of the short message center B through the backup route, and then processed. The processing flow is the processing flow of the short message in the short message center B, and will not be described here.
通过以上描述可知 , 当短消息中心的某一类型接入模块 (如信令接入 模块、 ESME接入模块)或所有的接入模块发生故障时, 可以采用上述处理 将短消息发到其它短消息中心, 保证了短消息业务的实现。 The above description shows that when a certain type of access module (such as a signaling access module, an ESME access module) or all access modules of a short message center fails, the above process can be used to send short messages to other shorts. The message center guarantees the realization of the short message service.
如果群集系统中各短消息中心的群集结点服务器互相直连, 则各分流 短消息或容灾短消息可直接由群集结点服务器发送到群集结点服务器, 无 需经过群集调度中心。 If the cluster node servers of each short message center in the cluster system are directly connected to each other, each offload short message or disaster tolerant short message can be directly sent by the cluster node server to the cluster node server without going through the cluster dispatch center.
以上虽然通过示例性的实施例对本发明短消息中心群集系统及其控制 方法进行了详细的描述, 但是以上的实施例并不是穷举的, 本领域技术人 员可以在本发明的精神和范围内实现各种变化和修改。 因此, 本发明并不 限于这些实施例, 本发明的范围仅由所附权利要求为准。
Although the short message center cluster system and the control method thereof of the present invention have been described in detail through the exemplary embodiments, the above embodiments are not exhaustive, and those skilled in the art can implement the spirit and scope of the present invention. Various changes and modifications. Therefore, the invention is not to be construed as being limited by the scope of the appended claims.