WO2013075513A1 - 短信缓存方法及系统 - Google Patents

短信缓存方法及系统 Download PDF

Info

Publication number
WO2013075513A1
WO2013075513A1 PCT/CN2012/078891 CN2012078891W WO2013075513A1 WO 2013075513 A1 WO2013075513 A1 WO 2013075513A1 CN 2012078891 W CN2012078891 W CN 2012078891W WO 2013075513 A1 WO2013075513 A1 WO 2013075513A1
Authority
WO
WIPO (PCT)
Prior art keywords
gateway
short message
cache
network element
module
Prior art date
Application number
PCT/CN2012/078891
Other languages
English (en)
French (fr)
Inventor
何玮华
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2013075513A1 publication Critical patent/WO2013075513A1/zh

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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/58Message adaptation for wireless communication

Definitions

  • the present invention relates to the field of communications, and in particular to a method and system for short message buffering.
  • a short message gateway is a key device in a short message service, and is widely used in point-to-point short message intercommunication and short message value-added service access, which brings huge profits to mobile operators. Therefore, the short message gateway often bears a high-load short message forwarding service.
  • the high degree of unbalanced traffic of the short message often causes the amount of messages sent to the neighboring network element at a certain time to exceed the maximum processing capacity of the network element, causing the network element to be busy and unable to receive, thereby providing a large-capacity short message to the short message gateway. Cache requirements.
  • the traditional SMS buffering method in the industry is to cache the short message in the memory, database or file of the SMS gateway service processing module.
  • the method of caching in the memory has high processing performance, the hardware requirements of the SMS gateway service processing module are relatively high, and as the amount of cached SMS messages becomes large, the SMS gateway system is greatly loaded, so the amount of cached messages is cached. The maximum value is limited.
  • the way to cache in the database is much different from the memory mode.
  • the reading speed of the cached SMS message is quite different, which has a great impact on the processing capacity of the service processing module.
  • the way to cache files is offline storage. Due to frequent file access, the requirements for storage I/O are very high, and the efficiency of processing in memory mode is very low.
  • Embodiments of the present invention provide a method and system for buffering a short message.
  • a method for buffering a short message including: receiving, by a short message gateway, a short message from a source network element; determining that the short message satisfies a preset cache condition; and buffering the short message to a cache gateway.
  • a short message cache system including a short message gateway and a cache gateway, wherein the short message gateway includes: a receiving module, configured to receive a short message from the source network element; and a first determining module, Set to determine that the SMS meets the pre-set cache condition; the cache module is set to cache the SMS to the cache gateway.
  • the cache gateway is used to cache the short message, thereby improving the cache capacity, reducing the load of the short message gateway, ensuring the processing efficiency of the cached short message, and improving the processing capability of the short message gateway system.
  • FIG. 1 is a flowchart of a method for buffering a short message according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of networking of a short message cache system according to a preferred embodiment of the present invention
  • FIG. 3 is a short message according to a preferred embodiment of the present invention.
  • FIG. 4 is a flow chart 2 of a short message buffering method according to a preferred embodiment of the present invention.
  • FIG. 5 is a structural block diagram of a short message buffering system according to an embodiment of the present invention
  • FIG. 6 is a block diagram of a preferred embodiment of the present invention.
  • FIG. 7 is a structural block diagram of a short message cache system according to a preferred embodiment 2 of the present invention; and
  • FIG. 8 is a structural block diagram of a short message cache system according to a preferred embodiment 3 of the present invention.
  • Step S102 The short message gateway receives the short message from the source network element.
  • Step S104 determining that the short message satisfies a preset cache condition.
  • Step S106 buffering the short message to the cache gateway.
  • the cache gateway is used to cache the short message.
  • the SMS gateway needs to configure some information, such as: gateway information of the cache gateway, cache condition (or policy), charging policy of the cache gateway, and routing information of the cache policy message to the specified cache gateway account.
  • gateway information of the cache gateway cache condition (or policy)
  • charging policy of the cache gateway charging policy of the cache gateway
  • routing information of the cache policy message routing information of the cache policy message to the specified cache gateway account.
  • the SMS gateway configures the gateway information of the cache gateway.
  • the gateway information of the cache gateway includes: an IP address and a port number of the cache gateway, a device code of the cache gateway, a username and password used by the SMS gateway to bind the cache gateway, a protocol used by the SMS gateway to communicate with the cache gateway, and a protocol version number.
  • the SMS gateway configures the cache condition.
  • the cache condition includes at least one of the following: the short message of the destination network element exceeds the processing capability of the destination network element; the short message timeout sent to the destination network element does not receive the response message; and the short message gateway has no available connection with the destination network element.
  • the SMS gateway configures the charging policy of the cache gateway.
  • the charging policy includes, but is not limited to, the following contents: whether the short message sent to the cache gateway is a bill of call and a debit to the prepaid system, and a storage directory of the bill; whether the short message received by the caching gateway is a bill and a prepaid bill System deduction, and the directory where the bills are stored.
  • the cache gateway also needs to configure some information, such as: gateway information of the SMS gateway, sending conditions (policy).
  • the gateway information of the short message gateway includes: an IP address of the short message gateway, a device code of the short message gateway, a user name and password used by the short message gateway to bind the cache gateway, a protocol used by the short message gateway to communicate with the cache gateway, and a protocol version number.
  • the sending conditions of the cache gateway configuration include, but are not limited to, the following: the short message sending time interval of the short message belonging to the destination account; and the short message sending time of the short message belonging to the destination account.
  • the cache gateway After the short message gateway caches the short message-compliant short message to the cache gateway, the cache gateway performs the following operations: checking its own cache queue according to a preset periodic timing; determining that one or more short messages in the cache queue meet the preset Send conditions; send one or more SMS messages to the SMS gateway. In the preferred embodiment, the cache gateway periodically checks whether there is a short message that satisfies the sending condition. If there is a short message that satisfies the sending condition, the cache gateway sends the short message to the short message gateway, and then the short message gateway forwards the message to the destination network element. In this way, resources can be released in time to ensure that subsequent cache operations are performed normally. Preferably, the short message is buffered to the memory of the cache gateway.
  • the short message gateway and the cache gateway are connected through a TCP/IP network.
  • a cache gateway can serve multiple SMS gateway systems at the same time. In a small-capacity multiple SMS gateway office, the hardware investment of the SMS gateway can be reduced as a whole.
  • the above method better realizes the storage and transmission of the cached short message by the short message gateway, so that the short message cache processing of the short message gateway system achieves the following objectives: (1) Increase the cache capacity, and there is no theoretical upper limit for the short message cache capacity after using the cache gateway.
  • a cache gateway is added to cache a short message, which reduces the load of the short message gateway, and reduces the system processing capability when the service processing module caches a large number of short messages.
  • 2 is a schematic diagram of networking of a short message cache system according to a preferred embodiment of the present invention. As shown in FIG.
  • the SMS gateway is connected to the network element and the network element B through a TCP/IP network. Both the gateway A and the network element B can receive/send text messages with the short message gateway.
  • the cache gateway and the short message gateway are also connected through a TCP/IP network, and the cache gateway communicates with the short message gateway through the connection, and sends and receives cached short messages.
  • the short message process corresponds to the network element A sending a short message to the short message gateway, and the short message gateway buffers the short message to the cache gateway. After the cache gateway sends the cached short message to the short message gateway, the short message gateway forwards the short message to the network element B.
  • Step S302 the short message gateway receives the short message from the network element A or the cache gateway.
  • Step S304 determining whether the current received message traffic of the network element B exceeds its processing capability.
  • Step S306 is performed if the processing capability is not exceeded, otherwise step S312 is performed.
  • step S308 it is determined whether the short message is successfully forwarded. If the forwarding is successful, step S310 is performed, otherwise step S312 is performed. Step S310, the short message is sent to complete the subsequent process. Step S312, the short message gateway determines whether the short message needs to be cached according to a cache policy configured by the system. If the caching policy is required to be cached, step S314 is performed, otherwise step S310 is performed. Step S314, the short message gateway forwards the short message to the cache gateway.
  • 4 is a flow chart 2 of a method for buffering a short message according to a preferred embodiment of the present invention. As shown in FIG.
  • Step S402 the cache gateway receives the short message sent by the short message gateway.
  • Step S404 the cache gateway stores the received short message into the memory cache queue.
  • Step S406 the cache gateway periodically checks the short message cache queue.
  • Step S408, determining whether the short message in the cache queue meets the configured sending policy. If it is found that the short message in the cache queue conforms to the sending policy, step S410 is performed, otherwise the queue is rechecked when the next period expires, and step S406 is performed.
  • Step S410 The cache gateway sends the short message that meets the sending policy to the short message gateway, and deletes the short message from the cache queue after receiving the successful receipt.
  • FIG. 5 is a structural block diagram of a short message cache system according to an embodiment of the present invention. As shown in FIG. 5, the short message gateway 52 and the cache gateway 54 are included.
  • the short message gateway 52 includes a receiving module 521, a first determining module 522, and a cache module 523.
  • the receiving module 521 is configured to receive the short message from the source network element.
  • the first determining module 522 is connected to the receiving module 521, and is configured to determine that the short message received by the receiving module 521 meets a preset cache condition; the cache module 523 And connecting to the first determining module 522, configured to cache the short message that meets the cache condition determined by the first determining module 522 to the cache gateway 54.
  • FIG. 6 is a structural block diagram of a short message cache system according to a preferred embodiment of the present invention.
  • the short message gateway 52 further includes a first configuration module 524 configured to configure gateway information of the cache gateway 54.
  • the second configuration module 525 Set to configure the charging policy of the cache gateway 54.
  • the cache module 523 includes a cache sub-module 5232 coupled to the first determination module 522 and configured to cache the short message that satisfies the cache condition to the memory of the cache gateway 54.
  • FIG. 7 is a structural block diagram of a short message cache system according to a preferred embodiment of the present invention. As shown in FIG. 7, the cache gateway 54 includes a check module 542, a second determination module 544, and a sending module 546.
  • the checking module 542 is configured to check its own cache queue according to a preset period timing; the second determining module 544 is connected to the checking module 542, and is configured to determine that one or more short messages in the buffer queue meet the preset
  • the sending module 546 is connected to the second determining module 544, and is configured to send one or more short messages that meet the preset sending condition determined by the second determining module 544 to the short message gateway 52.
  • FIG. 8 is a structural block diagram of a short message cache system according to a preferred embodiment of the present invention. As shown in FIG. 8, the cache gateway 54 further includes a third configuration module 548 configured to configure gateway information and sending conditions of the short message gateway 52.
  • the short message cache system described in the device embodiment corresponds to the foregoing method embodiment, and the specific implementation process has been described in detail in the method embodiment, and details are not described herein again.
  • the cache gateway is used to cache short messages, which improves the buffer capacity, reduces the load of the short message gateway, and ensures the processing efficiency of the cached short message, and also improves the processing capability of the short message gateway system.
  • the cache gateway is used for message buffering, which solves the problem that the short message cache of the short message gateway service processing module has an upper limit; the processing processing module avoids the system processing capability when buffering a large number of short messages; the short message is cached in the cache gateway, and not in the short message gateway service processing module.
  • Cache which reduces the processing complexity of the SMS gateway service processing module, can reduce its failure rate and improve its hardware and software processing capabilities.
  • the invention is not limited to any specific combination of hardware and software.
  • the above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明实施例公开了一种短信缓存方法及系统,该方法包括:短信网关接收到来自源网元的短信;确定短信满足预先设定的缓存条件;将短信缓存到缓存网关。本发明实施例提高了缓存容量,减轻了短信网关负荷,并保证了缓存短信的处理效率,同时也提高了短信网关系统的处理能力。

Description

短信缓存方法及系统 技术领域 本发明涉及通信领域, 具体而言, 涉及一种短信缓存方法及系统。 背景技术 短信网关是短消息业务中的一个关键设备, 广泛应用于点对点短信互通、 短信增 值业务接入, 为移动运营商带来丰厚利润, 因此短信网关经常承担着高负荷的短信转 发业务。 由于短信业务量的高度不均衡性时常导致某一段时刻发送到相邻网元的消息 量超过该网元的最大处理能力, 造成该网元繁忙而无法接收, 从而对短信网关提出了 大容量短信缓存的要求。 目前业界传统的短信缓存方式是将短信缓存在短信网关业务处理模块的内存、 数 据库或者文件中。 缓存在内存中的方法虽然处理性能高, 但是对短信网关业务处理模 块硬件要求较高, 而且随着缓存短信量的变大, 会对短信网关系统造成极大的负荷压 力, 因此其缓存短信量的最大值有限。 缓存在数据库中的方式, 对相比内存方式, 进 行缓存短信的读取速度相差很多, 对业务处理模块的处理能力上限影响很大。 缓存在 文件的方式, 属于离线存储方式, 由于频繁访问文件, 因此对存储 I/O的要求非常高, 相比内存方式处理的效率非常低。 综上所述, 短信网关缓存短信时, 缓存容量有限, 负荷重。 发明内容 本发明实施例提供了一种短信缓存方法及系统。 根据本发明实施例的一个方面, 提供了一种短信缓存方法, 包括: 短信网关接收 到来自源网元的短信; 确定上述短信满足预先设定的缓存条件; 将上述短信缓存到缓 存网关。 根据本发明实施例的另一方面, 提供了一种短信缓存系统, 包括短信网关和缓存 网关, 其中, 短信网关包括: 接收模块, 设置为接收到来自源网元的短信; 第一确定 模块, 设置为确定短信满足预先设定的缓存条件; 缓存模块, 设置为将短信缓存到缓 存网关。 通过本发明实施例, 采用缓存网关缓存短信, 提高了缓存容量, 减轻了短信网关 负荷, 并保证了缓存短信的处理效率, 同时也提高了短信网关系统的处理能力。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部分, 本发 明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不当限定。 在附图 中: 图 1是根据本发明实施例的短信缓存方法的流程图; 图 2是根据本发明优选实施例的短信缓存系统的组网示意图; 图 3是根据本发明优选实施例的短信缓存方法的流程图一; 图 4是根据本发明优选实施例的短信缓存方法的流程图二; 图 5是根据本发明实施例的短信缓存系统的结构框图; 图 6是根据本发明优选实施例一的短信缓存系统的结构框图; 图 7是根据本发明优选实施例二的短信缓存系统的结构框图; 图 8是根据本发明优选实施例三的短信缓存系统的结构框图。 具体实施方式 需要说明的是, 在不冲突的情况下, 本申请中的实施例及实施例中的特征可以相 互组合。 下面将参考附图并结合实施例来详细说明本发明。 本发明实施例提供了一种短信缓存方法, 图 1是根据本发明实施例的短信缓存方 法的流程图, 如图 1所示, 包括如下的步骤 S102至步骤 S106。 步骤 S102, 短信网关接收到来自源网元的短信。 步骤 S104, 确定短信满足预先设定的缓存条件。 步骤 S106, 将短信缓存到缓存网关。 相关技术中, 短信网关缓存短信时, 其缓存容量有限, 负荷重。 本发明实施例中, 利用缓存网关缓存短信。 因此, 提高了缓存容量, 减轻了短信网关负荷, 并保证了缓 存短信的处理效率, 同时也提高了短信网关系统的处理能力。 在步骤 S102之前, 短信网关还需要配置一些信息, 如: 缓存网关的网关信息、 缓 存条件(或策略)、缓存网关的计费策略、满足缓存策略短信到指定缓存网关账号的路 由信息。 下面分别加以介绍。
( 1 )短信网关配置缓存网关的网关信息。其中缓存网关的网关信息包括: 缓存网 关的 IP地址和端口号、缓存网关的设备代码、短信网关绑定缓存网关所用的用户名和 密码、 短信网关与缓存网关通信采用的协议及协议版本号。 (2)短信网关配置缓存条件。其中缓存条件包括以下至少之一: 目的网元的短信 流量超过目的网元的处理能力; 发往目的网元的短信超时没有收到响应消息; 短信网 关与目的网元无可用连接。
(3 ) 短信网关配置缓存网关的计费策略。 其中计费策略包括但不限于以下内容: 发往缓存网关的短信是否出话单和到预付费系统扣费, 以及话单的存放目录; 收到缓 存网关的短信是否出话单和到预付费系统扣费, 以及话单的存放目录。 另外, 缓存网关也需要配置一些信息, 如: 短信网关的网关信息、 发送条件 (策 略)。 其中短信网关的网关信息包括: 短信网关的 IP地址、 短信网关的设备代码、 短 信网关绑定缓存网关所用的用户名和密码、 短信网关与缓存网关通信采用的协议及协 议版本号。 缓存网关配置的发送条件包括但不限于以下内容: 短信归属目的账号的短信发送 时间间隔; 短信归属目的账号的短信发送次数。 在短信网关将符合缓存条件的短信缓存到缓存网关之后, 缓存网关执行的操作如 下: 按照预先设定的周期定时检查自身的缓存队列; 确定缓存队列中的一条或多条短 信满足预先设定的发送条件; 将一条或多条短信发送给短信网关。 本优选实施例中, 缓存网关定时检查是否有满足发送条件的短信, 如果有满足发送条件的短信, 缓存网 关将该短信发送给短信网关, 再由短信网关转发给目的网元。这样可以及时释放资源, 保证后续的缓存操作正常进行。 优选地, 短信缓存到缓存网关的内存。 这样缓存短信的处理效率是高。 优选地, 短信网关和缓存网关通过 TCP/IP网络连接。 一个缓存网关可以同时为多个短信网关系统服务, 在小容量多套短信网关局点, 可以从整体上降低客户对短信网关的硬件建设投资。 上述方法更好的实现了短信网关对缓存短信的存储和发送, 使对短信网关系统的 短信缓存处理达到如下目标: ( 1 ) 提高缓存容量, 使用缓存网关后短信缓存容量无理论上限。
(2)大容量缓存情况下提高缓存短信处理效率。采用缓存网关的方法中缓存短信 仍然存放在内存中, 因此缓存短信的处理效率是最高的。
(3 )提高短信网关系统业务处理模块的处理能力。使用缓存网关方式后, 缓存短 信不再需要短信网关业务处理模块进行复杂的存储、 取出以及过期判断的处理, 因此 降低了对业务处理模块的系统负荷, 提升了业务处理模块的处理能力, 也就提升了短 信网关系统的处理能力。 下面将结合实例对本发明实施例的实现过程进行详细描述。 本发明实施例新增了缓存网关来缓存短信, 减轻短信网关的负荷, 避免了在业务 处理模块进行缓存大量短信时降低系统处理能力。 图 2是根据本发明优选实施例的短信缓存系统的组网示意图, 如图 2所示, 表明 了缓存网关、 短信网关和其他网元的连接关系。 短信网关与网元 、 网元 B通过 TCP/IP网络连接, 网关 A和网元 B都可以同短 信网关收 /发短信。 缓存网关与短信网关也通过 TCP/IP 网络连接, 缓存网关通过该连 接与短信网关通信, 收发缓存短信。 本优选实施例中, 短信流程对应为网元 A发送短 信到短信网关, 短信网关将该短信缓存到缓存网关, 缓存网关发送缓存短信到短信网 关后, 短信网关转发该短信到网元 B。 图 3是根据本发明优选实施例的短信缓存方法的流程图一, 如图 3所示, 描述的 是短信网关从网元 A或者缓存网关接收短信后的短信处理流程,包括如下的步骤 S302 至步骤 S314。 步骤 S302, 短信网关收到来自网元 A或者缓存网关的短信。 步骤 S304,判断网元 B目前的接收消息流量是否超过其处理能力。如果没有超过 其处理能力则执行步骤 S306, 否则将执行步骤 S312。 步骤 S306, 短信网关路由后找到该短信的目的账号为网元 B, 短信网关向网元 B 转发该短信。 步骤 S308, 判断该短信是否成功转发, 如果转发成功, 则执行步骤 S310, 否则 执行步骤 S312。 步骤 S310, 短信发送完成后续流程。 步骤 S312, 短信网关根据系统配置的缓存策略判断该短信是否需要缓存。 如果满 足缓存策略需要缓存, 则执行步骤 S314, 否则执行步骤 S310。 步骤 S314, 短信网关转发该短信到缓存网关。 图 4是根据本发明优选实施例的短信缓存方法的流程图二, 如图 4所示, 描述的 是缓存网关从短信网关接收短消息后进行缓存短信处理的流程,包括如下的步骤 S402 至步骤 S410。 步骤 S402, 缓存网关收到短信网关发送的短信。 步骤 S404, 缓存网关将接收的短信存入内存缓存队列中。 步骤 S406, 缓存网关定时检查短信缓存队列。 步骤 S408, 判断缓存队列中的短信是否符合配置的发送策略。 如果发现缓存队列 中的短信符合发送策略, 则执行步骤 S410, 否则在下一个周期到时重新检查该队列, 执行步骤 S406。 步骤 S410, 缓存网关将符合发送策略的短信向短信网关发送, 在收到成功回执后 从缓存队列中删除该短信。 通过上述两个优选实施例, 可以看出采用该短信缓存方法可以有效实现短信网关 的大容量、 高效率短信缓存功能。 该方法同样适用于解决短信中心系统的短信缓存问 题。 上述容灾备份的举例说明较为具体, 并不能因此而认为是对本发明的专利保护范 围的限制, 本发明的专利保护范围应以所附权利要求为准。 本领域技术人员在不脱离 上述技术构思的情况下所做的所有改变或替换, 都应属于本发明专利请求保护的范围 之内。 需要说明的是, 在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的 计算机系统中执行, 并且, 虽然在流程图中示出了逻辑顺序, 但是在某些情况下, 可 以以不同于此处的顺序执行所示出或描述的步骤。 本发明实施例还提供了一种短信缓存系统, 该短信缓存系统可以用于实现上述短 信缓存方法。 图 5是根据本发明实施例的短信缓存系统的结构框图, 如图 5所示, 包 括短信网关 52和缓存网关 54。 其中, 短信网关 52包括接收模块 521、 第一确定模块 522和缓存模块 523。 具体 地, 接收模块 521, 设置为接收到来自源网元的短信; 第一确定模块 522, 连接至接收 模块 521, 设置为确定接收模块 521接收的短信满足预先设定的缓存条件; 缓存模块 523, 连接至第一确定模块 522, 设置为将第一确定模块 522确定的满足缓存条件的短 信缓存到缓存网关 54。 图 6是根据本发明优选实施例一的短信缓存系统的结构框图, 如图 6所示, 短信 网关 52还包括第一配置模块 524, 设置为配置缓存网关 54的网关信息; 第二配置模 块 525, 设置为配置缓存网关 54的计费策略。 缓存模块 523包括缓存子模块 5232, 连接至第一确定模块 522, 设置为将满足缓 存条件的短信缓存到缓存网关 54的内存。 图 7是根据本发明优选实施例二的短信缓存系统的结构框图, 如图 7所示, 缓存 网关 54包括检查模块 542,第二确定模块 544和发送模块 546。具体地,检查模块 542, 设置为按照预先设定的周期定时检查自身的缓存队列; 第二确定模块 544, 连接至检 查模块 542, 设置为确定缓存队列中的一条或多条短信满足预先设定的发送条件; 发 送模块 546,连接至第二确定模块 544, 设置为将第二确定模块 544确定的满足预先设 定的发送条件的一条或多条短信发送给短信网关 52。 图 8是根据本发明优选实施例三的短信缓存系统的结构框图, 如图 8所示, 缓存 网关 54还包括第三配置模块 548, 设置为配置短信网关 52的网关信息、 发送条件。 需要说明的是, 装置实施例中描述的短信缓存系统对应于上述的方法实施例, 其 具体的实现过程在方法实施例中已经进行过详细说明, 在此不再赘述。 综上所述, 根据本发明的上述实施例, 提供了一种短信缓存方法及系统。 通过本 发明的上述实施例, 采用缓存网关缓存短信, 提高了缓存容量, 减轻了短信网关负荷, 并保证了缓存短信的处理效率, 同时也提高了短信网关系统的处理能力。 另外, 本发 明采用缓存网关进行短信缓存, 解决了短信网关业务处理模块短信缓存存在上限的问 题; 避免了业务处理模块缓存大量短信时降低系统处理能力; 短信在缓存网关中缓存, 而不在短信网关业务处理模块缓存, 降低了短信网关业务处理模块的处理复杂度, 可 以降低其故障率并提升其软硬件处理能力。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可以用通用 的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布在多个计算装置所 组成的网络上, 可选地, 它们可以用计算装置可执行的程序代码来实现, 从而, 可以 将它们存储在存储装置中由计算装置来执行, 或者将它们分别制作成各个集成电路模 块, 或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。 这样, 本发明 不限制于任何特定的硬件和软件结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领域的技 术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则之内, 所作的 任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。

Claims

权 利 要 求 书
1. 一种短信缓存方法, 包括:
短信网关接收到来自源网元的短信;
确定所述短信满足预先设定的缓存条件;
将所述短信缓存到缓存网关。
2. 根据权利要求 1所述的方法,其中,在短信网关接收到来自源网元的短信之前, 包括: 配置所述缓存网关的网关信息。
3. 根据权利要求 2所述的方法, 其中, 所述缓存网关的网关信息包括: 所述缓存 网关的 IP地址和端口号、所述缓存网关的设备代码、所述短信网关绑定所述缓 存网关所用的用户名和密码、 所述短信网关与所述缓存网关通信采用的协议及 协议版本号。
4. 根据权利要求 2所述的方法,其中,在短信网关接收到来自源网元的短信之前, 还包括: 配置所述缓存网关的计费策略,其中所述计费策略包括以下至少之一: 发往所述缓存网关的短信是否出话单和到预付费系统扣费, 以及话单的存 放目录,
收到所述缓存网关的短信是否出话单和到预付费系统扣费, 以及话单的存 放目录。
5. 根据权利要求 1所述的方法, 其中, 在将所述短信缓存到缓存网关之后, 还包 括:
所述缓存网关按照预先设定的周期定时检查自身的缓存队列; 确定所述缓存队列中的一条或多条短信满足预先设定的发送条件; 将所述一条或多条短信发送给所述短信网关。
6. 根据权利要求 1至 5中任一项所述的方法, 其中, 将所述短信缓存到缓存网关 包括: 将所述短信缓存到所述缓存网关的内存。 根据权利要求 1至 5中任一项所述的方法, 其中, 所述缓存条件包括以下至少 之一: 目的网元的短信流量超过所述目的网元的处理能力;
发往所述目的网元的所述短信超时没有收到响应消息;
所述短信网关与所述目的网元无可用连接。
8. 根据权利要求 1至 5中任一项所述的方法, 其中, 所述发送条件包括以下至少 之一:
短信归属目的账号的短信发送时间间隔;
短信归属目的账号的短信发送次数。
9. 根据权利要求 1至 5中任一项所述的方法, 其中, 所述短信网关和所述缓存网 关通过传输控制协议 /因特网协议 TCP/IP网络连接。
10. 一种短信缓存系统, 包括: 短信网关和缓存网关, 其中, 所述短信网关包括: 接收模块, 设置为接收到来自源网元的短信;
第一确定模块, 设置为确定所述短信满足预先设定的缓存条件; 缓存模块, 设置为将所述短信缓存到缓存网关。
11. 根据权利要求 10所述的系统, 其中, 所述短信网关还包括:
第一配置模块, 设置为配置所述缓存网关的网关信息;
第二配置模块, 设置为配置所述缓存网关的计费策略。
12. 根据权利要求 10所述的系统, 其中, 所述缓存网关包括: 检查模块, 设置为按照预先设定的周期定时检查自身的缓存队列; 第二确定模块, 设置为确定所述缓存队列中的一条或多条短信满足预先设 定的发送条件;
发送模块, 设置为将所述一条或多条短信发送给所述短信网关。
PCT/CN2012/078891 2011-11-21 2012-07-19 短信缓存方法及系统 WO2013075513A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110371504.0 2011-11-21
CN2011103715040A CN103124400A (zh) 2011-11-21 2011-11-21 短信缓存方法及系统

Publications (1)

Publication Number Publication Date
WO2013075513A1 true WO2013075513A1 (zh) 2013-05-30

Family

ID=48455219

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/078891 WO2013075513A1 (zh) 2011-11-21 2012-07-19 短信缓存方法及系统

Country Status (2)

Country Link
CN (1) CN103124400A (zh)
WO (1) WO2013075513A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108810832A (zh) * 2018-04-20 2018-11-13 广州市玄武无线科技股份有限公司 短信下发方法、装置与计算机可读存储介质

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106341301A (zh) * 2015-07-08 2017-01-18 中兴通讯股份有限公司 消息推送方法及装置
CN108834086B (zh) * 2018-06-25 2021-05-11 平安科技(深圳)有限公司 短信发送的方法、装置、计算机设备和存储介质
CN111010676B (zh) * 2019-12-13 2020-11-17 广州市玄武无线科技股份有限公司 一种短信缓存方法、装置及系统
CN112512016A (zh) * 2021-02-05 2021-03-16 智道网联科技(北京)有限公司 基于智慧交通的数据传输方法、装置、系统及存储介质

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1968447A (zh) * 2006-11-27 2007-05-23 华为技术有限公司 短消息中心系统及其消息存储及转移方法
CN101674611A (zh) * 2009-09-16 2010-03-17 中兴通讯股份有限公司 一种短消息中心过负荷控制的方法和系统

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200805992A (en) * 2006-07-04 2008-01-16 Benq Corp Method and apparatus for barring short message
CN101588402B (zh) * 2008-05-20 2012-02-29 中兴通讯股份有限公司 一种移动终端短消息的接收存储管理方法
CN101674537A (zh) * 2008-09-09 2010-03-17 中兴通讯股份有限公司 短信/彩信业务综合接入网关、系统及其实现方法
CN101547414B (zh) * 2009-04-20 2011-11-30 中兴通讯股份有限公司 短信计费系统及方法
CN102056108B (zh) * 2010-12-09 2013-06-05 北京握奇数据系统有限公司 一种缓存短消息的方法、装置及电信智能卡

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1968447A (zh) * 2006-11-27 2007-05-23 华为技术有限公司 短消息中心系统及其消息存储及转移方法
CN101674611A (zh) * 2009-09-16 2010-03-17 中兴通讯股份有限公司 一种短消息中心过负荷控制的方法和系统

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108810832A (zh) * 2018-04-20 2018-11-13 广州市玄武无线科技股份有限公司 短信下发方法、装置与计算机可读存储介质
CN108810832B (zh) * 2018-04-20 2020-08-18 广州市玄武无线科技股份有限公司 短信下发方法、装置与计算机可读存储介质

Also Published As

Publication number Publication date
CN103124400A (zh) 2013-05-29

Similar Documents

Publication Publication Date Title
US8732810B2 (en) IP push platform and connection protocol in a push notification framework
CN104811459A (zh) 用于消息服务的处理方法、装置及系统、消息服务系统
EP3352431B1 (en) Network load balance processing system, method, and apparatus
CN102571587B (zh) 报文转发方法和设备
WO2013075513A1 (zh) 短信缓存方法及系统
EP2216955B1 (en) Network interface device
WO2014180407A1 (zh) 推送方法及装置
CN104639578A (zh) 多协议栈负载均衡方法及装置
EP2432155B1 (en) Call list transmission processing method and system of charging system
CN101547210A (zh) 一种tcp连接的处理方法和装置
US9197575B2 (en) Handling of snapshot messages as a result of delivery failure in a two-way push connection
US8892745B2 (en) Redirection of a request for information
WO2011160462A1 (zh) 一种处理在线业务日志的计费服务器及方法
WO2020119328A1 (zh) 数据传输方法、装置、设备及存储介质
WO2012155440A1 (zh) 一种基于超文本传输协议的业务请求处理方法及装置
US20070291782A1 (en) Acknowledgement filtering
CN113553184A (zh) 一种实现负载均衡的方法、装置、电子设备和可读存储介质
WO2011044786A1 (zh) 一种统一消息调度系统、业务消息通知方法及系统
CN106131162B (zh) 一种基于iocp机制实现网络服务代理的方法
WO2014101133A1 (zh) 分流方法、设备和系统
CN103067981B (zh) 一种内容缓存旁路方法及系统
CN108200221A (zh) 一种网络地址转换环境中转换规则同步方法及装置
KR101322213B1 (ko) P2p 오버레이 네트워크 상에서 무선 노드의 기능을처리하는 프록싱 처리 방법 및 서버
CN113973091A (zh) 一种报文处理方法、网络设备以及相关设备
CN110557369A (zh) 基于国产操作系统内核态的高速数据处理平台

Legal Events

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

Ref document number: 12850854

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12850854

Country of ref document: EP

Kind code of ref document: A1