WO2011026336A1 - 一种实现长短信过滤的系统和方法 - Google Patents

一种实现长短信过滤的系统和方法 Download PDF

Info

Publication number
WO2011026336A1
WO2011026336A1 PCT/CN2010/072295 CN2010072295W WO2011026336A1 WO 2011026336 A1 WO2011026336 A1 WO 2011026336A1 CN 2010072295 W CN2010072295 W CN 2010072295W WO 2011026336 A1 WO2011026336 A1 WO 2011026336A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
short message
real
module
time monitoring
Prior art date
Application number
PCT/CN2010/072295
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
Family has litigation
First worldwide family litigation filed litigation Critical https://patents.darts-ip.com/?family=41673993&utm_source=google_patent&utm_medium=platform_link&utm_campaign=public_patent_search&patent=WO2011026336(A1) "Global patent litigation dataset” by Darts-ip is licensed under a Creative Commons Attribution 4.0 International License.
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to EP10813258.0A priority Critical patent/EP2458903B1/en
Priority to IN1513DEN2012 priority patent/IN2012DN01513A/en
Priority to BR112012004672-1A priority patent/BR112012004672A2/pt
Priority to US13/257,943 priority patent/US8958832B2/en
Publication of WO2011026336A1 publication Critical patent/WO2011026336A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
    • H04L63/0227Filtering policies

Definitions

  • the present invention relates to short message services in the field of mobile communications, and more particularly to a system and method for implementing long message filtering. Background technique
  • SMS has been welcomed by more and more users in the past few years and has achieved rapid development.
  • cell phone text messages are increasingly plagued by a lot of spam messages.
  • spam messages At present, there are more than 600 million mobile phone users in China, with an average of 800 million SMS messages per day, and about 8 spam messages per person per week.
  • spam messages not only seriously interfere with their normal lives, but also endanger personal privacy.
  • the proliferation of spam messages has caused huge waste of infrastructure investment such as SMS centers and increased the risk of malicious attacks on the network.
  • relevant parties are stepping up the formulation of relevant laws and regulations, operators are paying more and more attention to spam messages, and have established spam filtering systems, using technical means to filter spam messages, and strive to create a continuous, An orderly and healthy development environment.
  • SMS filtering systems typically filter text messages from SMS content, SMS traffic, and numbers. Filtering by SMS content keyword matching is one of the most basic filtering methods. For example, SMS content contains pornography, reaction and other defined keywords can be directly filtered by keyword matching. At present, a large number of short messages sent by users are long messages, and long messages are short messages with a certain number of characters (usually more than 70 Chinese characters or 160 English characters); long messages are often split into multiple messages when sent. send a text message. After the long message is split, some keywords defined by the SMS filtering system are likely to be split into multiple text messages. The current SMS filtering system filters the long messages according to the split messages, so This length Message content with keywords in the message split cannot be effectively filtered. Summary of the invention
  • a system for implementing long message filtering comprising: a network security agent module, a real-time monitoring service processing module, and a long message splicing module;
  • the network agent module is configured to send a short message from the short message center and/or the short message gateway to the real-time monitoring service processing module;
  • the real-time monitoring service processing module is configured to send the split message in the short message to the long message splicing module; filter the complete long message according to the filtering condition, and return the filtering result to the Network security agent module;
  • the long message splicing module is configured to splicing a plurality of split messages into the complete long message and sending the message to the real-time monitoring service processing module.
  • the real-time monitoring service processing module is multiple; the network security proxy module is further configured to decode short messages from the short message center and/or the short message gateway, and decode according to the user number mantissa.
  • the subsequent short message is distributed to the plurality of real-time monitoring service processing modules, and the filtering result is returned to the short message center and/or the short message gateway.
  • the system further includes a filtering condition setting module, configured to set the filtering condition, and synchronize the filtering condition to the real-time monitoring service processing module.
  • a filtering condition setting module configured to set the filtering condition, and synchronize the filtering condition to the real-time monitoring service processing module.
  • the present invention also provides a method for implementing long short message filtering, the method comprising:
  • Step 1 The network security agent module sends a short message from the short message center and/or the short message gateway to the real-time monitoring service processing module, and the real-time monitoring service processing module sends the split message in the short message to the long message splicing module.
  • Step 2 The long message splicing module splicing a plurality of split messages into a complete long message and sending the message to the real-time monitoring service processing module;
  • Step 3 The real-time monitoring service processing module filters the complete long message according to the filtering condition, and returns the filtering result to the network security agent module.
  • the method before the step 1, the method further includes: setting the filtering condition, and synchronizing the filtering condition to the real-time monitoring service processing module;
  • the method further includes the step 4, the network agent module returns the filtering result to the short message center and/or the short message gateway.
  • the step 1 specifically includes: the network security proxy module decodes the short message from the short message center and/or the short message gateway, and sends the decoded short message to the real-time monitoring service processing module;
  • the real-time monitoring service processing module sends the split message in the decoded short message to the long message splicing module;
  • the real-time monitoring service processing module is multiple.
  • the sending, by the network security proxy module, the decoded short message specifically includes: the network security proxy module will decode the decoded short message according to the user number mantissa. Distributed to the plurality of real-time monitoring service processing modules.
  • the step 2 specifically includes: the long message splicing module buffering the multiple split messages, if all split messages belonging to the same long message have been cached, All split messages belonging to the same long message are spliced into the complete long message and sent to the real-time monitoring service processing module.
  • the step 1 further includes: the real-time monitoring service processing module filtering the non-split message in the decoded short message according to the filtering condition, and returning the filtering result to the The network security agent module is transferred to perform step four.
  • each split message in the real-time monitoring service processing module corresponds to one session; in the second step, the complete long message is sent to the real-time monitoring service processing module.
  • the method includes: returning the complete long message to the complete long message The first session of the first split message corresponds to the first session.
  • the step 3 includes: the real-time monitoring service processing module returns the filtering result to the long message splicing module, and the long message splicing module returns the filtering result to the same belonging a session corresponding to all split messages except the first split message in the complete long message;
  • the returning the filtering result to the short message center and/or the short message gateway specifically includes: returning the filtering result as a filtering result of all the split messages belonging to the complete long message to The short message center and/or the short message gateway.
  • the short message filtering method and system of the invention can not only filter the common message according to the normal process, but also effectively filter all the keywords in the long message by adding a long message splicing module and cooperation with other modules, thus solving the problem.
  • the existing system often has the defect that the message content containing the keyword in the long message splitting part cannot be effectively filtered.
  • FIG. 1 is a flow chart of steps of a method for implementing long message filtering according to the present invention
  • FIG. 3 is a flowchart of a long message filtering interaction of a long message split into three short messages according to the present invention
  • FIG. 4 is a structural diagram of a short message filtering system according to the present invention. detailed description
  • Step 1 The network security agent module sends a short message from the short message center and/or the short message gateway to the real-time monitoring service processing module, where the real-time monitoring service processing module splits the short message The sub-message is sent to the long message splicing module;
  • Step 2 The long message splicing module splicing a plurality of split messages into a complete long message and sending the message to the real-time monitoring service processing module;
  • Step 3 The real-time monitoring service processing module filters the complete long message according to the filtering condition, and returns the filtering result to the network security agent module.
  • Step 4 The network agent module returns the filtering result to the short message center and/or the short message gateway.
  • FIG. 1 is a flow chart of steps of a method for implementing long message filtering according to the present invention. As shown in the figure, the method includes the following steps:
  • Step 101 The network security proxy module decodes the short message from the short message center and/or the short message gateway, and sends the decoded short message to the real-time monitoring service processing module.
  • Step 102 The real-time monitoring service processing module sends the split message in the decoded short message to the long message splicing module.
  • Step 103 The long message splicing module splices a plurality of split messages into a complete long message and sends the message to the real-time monitoring service processing module.
  • Step 104 The real-time monitoring service processing module filters the complete long message according to the filtering condition, and returns the filtering result to the network security agent module.
  • Step 105 The network agent module returns the filtering result to the short message center and/or the short message gateway.
  • the filtering condition may be preset or may be changed. Therefore, before the step 101, the filtering condition setting module may further set the filtering condition, and synchronize the filtering condition to the real-time monitoring service processing. Module.
  • FIG. 1 depicts the detailed flow of SMS filtering in the SMS filtering system.
  • the specific process includes the following steps:
  • Step 201 The user sets a short message filtering condition by using a filtering condition setting module.
  • the filtering condition may include setting of a short message content keyword.
  • Step 202 After the filtering condition is set, the filtering condition setting module synchronizes the filtering condition to the plurality of real-time monitoring service processing modules. In this way, multiple real-time monitoring service processing modules work in the same way for load sharing.
  • Step 203 The short message center or the short message gateway sends a short message to the network security agent module.
  • Step 204 The network security proxy module decodes the Short Message Peer to Peer (SMPP) protocol format message, and modulates and distributes the decoded message to the real-time monitoring service processing module by using the user number mantissa.
  • SMPP Short Message Peer to Peer
  • Step 205 The real-time monitoring service processing module determines whether the message is a long message according to the decoded message, and if it is a long message, proceeds to step 206, otherwise proceeds to step 207.
  • Step 206 The long message splicing module caches the split long message, and determines whether all the sub-messages of the long message that has been split have been collected. If it has been collected, it is spliced into a complete long message and forwarded to the real-time monitoring service. The module is processed and proceeds to step 207, otherwise it continues to wait for the next message to be cached.
  • Step 207 The real-time monitoring service processing module filters the short message according to the filtering condition, and returns the filtering result to the network security proxy module.
  • Step 208 The network security proxy module finally returns the short message filtering result to the short message center or the short message gateway.
  • a long short message is split into three short messages A, ⁇ , C, which are sent to the short message filtering system via the short message center, and FIG. 3 details the interaction process of the long short message filtering module, and the specific process includes The following steps:
  • Step 301 The short message center sends a short message to the network security agent module, and the network security agent module distributes the short message to the real-time monitoring service processing module, and the real-time monitoring service processing module determines that the message is a long message application session one, and the message and the session information are Forward to the long SMS splicing module.
  • the long message splicing module obtains the unique identifier of the long message to which the short message A belongs by analyzing the short message content. (referenceid), the total number of messages after the long message is split is 3, the serial number of this message in the long message is 1, and then the (source number, destination number, referenceid) is used as the key value, and the message and session number 1 are stored in the message. In the hash table.
  • Step 302 The short message center sends a short message B to the network security agent module, and the network security agent module distributes the short message to the real-time monitoring service processing module, and the real-time monitoring service processing module determines that the message is the long message application session 2, and the message and the session information are Forward to the long SMS splicing module.
  • the long message splicing module obtains the long message identifier referenceid of the short message B by analyzing the short message content, and the total number of messages after the long message is split is 3, the serial number of the message in the long message is 2, and then (source number, destination number, referenceid For the key value, store this message and session number 2 in the hash table.
  • Step 303 The short message center sends a short message C to the network security agent module, and the network security agent module distributes the short message to the real-time monitoring service processing module, and the real-time monitoring service processing module determines that the message is a long message application session three, and the message and the session information are Forward to the long SMS splicing module.
  • the long message splicing module obtains the long message identifier referenceid of the short message C by analyzing the short message content, and the total number of messages after the long message is split is 3, the serial number of the message in the long message is 3, and then (source number, destination number, referenceid For the key value, store this message and session number 3 in the hash table.
  • Step 304 The long short message splicing module finds that three messages A, B, and C with the same key value are received, and the serial number is 1, 2, 3, and the total number of messages is 3 after the corresponding long message is split. After receiving a complete long message, the messages A, B, and C are spliced into a complete long message and sent to the real-time monitoring service processing module session 1.
  • Step 305 The real-time monitoring service processing module session filters a pair of long short messages to obtain a filtering result, and returns the filtering result as a filtering result of the short message A to the short message center through the network security proxy module, and forwards the filtering result to the long short message splicing module.
  • Step 306 After receiving the filtering result, the long SMS splicing module returns the filtering result to the real-time monitoring service processing module session 2, and the session 2 returns the filtering result as the filtering result of the short message B to the short message center through the network security proxy module.
  • the long message splicing module returns the filtering result to the real-time monitoring service processing module session 3.
  • the third session returns the filtering result as the filtering result of the short message C to the short message center through the network security agent module.
  • the network security proxy module obtains the sent short message in real time, and after SMPP decoding, distributes the message according to the number of digits to the real-time monitoring service processing module.
  • the real-time monitoring service processing module firstly analyzes whether the message is a long message according to the decoding, and if not the long message, directly authenticates the message according to the filtering condition and returns the result to the short message center or the short message gateway through the network security proxy module; if it is split
  • the long message requests a new session to save the message related information, and forwards the message and the session information to the long message splicing module, so that a long message split may correspond to multiple sessions of the real-time monitoring service processing module, and the long message splicing module buffers
  • the message and the session information if the number of messages in which a long message is split is found, is spliced into a complete long message and sent to the first session of the long message corresponding to the real-time monitoring service processing module,
  • FIG. 4 is a structural diagram of the short message filtering system of the present invention, which includes: a network security agent module, a real-time monitoring service processing module, and a long message splicing
  • the module may also include a filter condition setting module.
  • Network security agent module used to connect the system to one or more short message centers and short messages
  • the gateway receives the short message sent by the short message center or the short message gateway, distributes the short message to the real-time monitoring service processing module, and returns the real-time monitoring service processing module processing result to the short message center or the short message gateway.
  • the real-time monitoring service processing module is configured to authenticate the short message according to the short message filtering condition.
  • the real-time monitoring service processing module can be deployed as multiple module load sharing in order to meet the requirements of multiple short message center accesses.
  • the long message splicing module is used for splitting and splicing the message, and transmitting the splicing result to the real-time monitoring service processing module.
  • a filter condition setting module is configured to save the set filter condition and synchronize the filter condition to the real-time monitoring service processing module.
  • the filter conditions include the settings of the SMS content keyword.
  • the network security agent module is connected to the short message center and the short message gateway through the SMPP protocol.
  • the embodiments of the present invention have the following advantages:
  • the short message filtering method and system of the invention can not only filter the common message according to the normal process, but also effectively filter all the keywords in the long message by adding a long message splicing module and cooperation with other modules, thus solving the problem.
  • the existing system often has the defect that the message content containing the keyword in the long message splitting part cannot be effectively filtered.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)
  • Information Transfer Between Computers (AREA)
  • Mobile Radio Communication Systems (AREA)

Description

一种实现长短信过滤的系统和方法 技术领域
本发明涉及移动通信领域中的短消息业务, 尤其涉及一种实现长短信 过滤的系统和方法。 背景技术
短信作为一种方便快捷的联络形式, 在过去几年受到越来越多用户的 欢迎, 并取得突飞猛进的发展。 但与电子邮件一样, 手机短信也日益受到 大量垃圾短信的困扰。 目前, 我国手机用户超过 6亿, 平均每天的短信发 送量高达 8亿条, 每人每周收到的垃圾短信大约 8条。 对于移动用户来说, 垃圾短信不仅严重干扰了其正常生活, 而且危害到个人隐私。 对于运营商 来说, 垃圾短信的泛滥造成了短信中心等基础设施投资的巨大浪费, 并增 加了网络遭到恶意攻击的危险。 为此, 有关方面正在加紧制定有关的法律 法规, 运营商也对垃圾短信愈来愈重视, 纷纷建立了垃圾短信过滤系统, 釆用技术手段过滤垃圾短信, 努力为短信业务的发展创造一个持续、 有序、 健康的发展环境。
垃圾短信过滤系统通常从短信内容, 短信流量以及号码等方面对短信 进行过滤。 其中通过对短信内容关键字匹配过滤是最基本的过滤手段之一, 比如短信内容含有色情, 反动以及其它定义的关键字可通过关键字匹配予 于直接过滤。 目前用户发送的短信中有相当一部分为长短信, 长短信即字 符数超过一定数目 (通常超过 70个汉字或者 160个英文字符) 的短消息; 长短信在发送时往往会被拆分成多条短信发送。 长短信被拆分后, 短信过 滤系统定义的一些关键字很有可能被分割到了多条短信中, 而目前的短信 过滤系统对长短信是按拆分后的消息分别进行过滤处理的, 因此对这种长 消息拆分处含有关键字的消息内容不能进行有效的过滤。 发明内容
本发明的目的是提供一种实现长短信过滤的系统和方法, 能够对长消 息中的所有关键字进行有效过滤, 解决现有技术中无法对拆分后的长短信 进行有效过滤的问题。
为了实现上述目的, 一方面, 提供了一种实现长短信过滤的系统, 该 系统包括: 网安代理模块、 实时监控业务处理模块和长消息拼接模块; 其 中,
所述网安代理模块, 用于将来自短信中心和 /或短信网关的短消息发送 给所述实时监控业务处理模块;
所述实时监控业务处理模块, 用于将所述短消息中的拆分消息发送给 所述长消息拼接模块; 根据过滤条件对完整的长消息进行过滤, 并将所述 过滤结果返回给所述网安代理模块;
所述长消息拼接模块, 用于将多个拆分消息拼接成所述完整的长消息 并发送给所述实时监控业务处理模块。
优选地, 上述的系统中, 所述实时监控业务处理模块为多个; 所述网 安代理模块,进一步用于将来自短信中心和 /或短信网关的短消息进行解码, 根据用户号码尾数将解码后的短消息分发给所述多个实时监控业务处理模 块, 将所述过滤结果返回给所述短信中心和 /或短信网关。
优选地, 上述的系统中, 该系统还包括过滤条件设置模块, 用于设置 所述过滤条件, 并将所述过滤条件同步给所述实时监控业务处理模块。
本发明还提供一种实现长短信过滤的方法, 该方法包括:
步骤一、 网安代理模块将来自短信中心和 /或短信网关的短消息发送给 实时监控业务处理模块, 所述实时监控业务处理模块将所述短消息中的拆 分消息发送给长消息拼接模块; 步骤二、 所述长消息拼接模块将多个拆分消息拼接成完整的长消息并 发送给所述实时监控业务处理模块;
步骤三、 所述实时监控业务处理模块根据过滤条件对所述完整的长消 息进行过滤, 并将过滤结果返回给所述网安代理模块。
优选地, 上述的方法中, 所述步骤一之前, 该方法还包括: 设置所述 过滤条件, 并将所述过滤条件同步给所述实时监控业务处理模块;
所述步骤三之后, 该方法还包括步骤四、 所述网安代理模块将所述过 滤结果返回给所述短信中心和 /或短信网关。
优选地, 上述的方法中, 所述步骤一具体包括: 网安代理模块将来自 短信中心和 /或短信网关的短消息进行解码, 将解码后的短消息发送给实时 监控业务处理模块; 所述实时监控业务处理模块将所述解码后的短消息中 的拆分消息发送给长消息拼接模块;
所述实时监控业务处理模块为多个; 所述步骤一中, 所述网安代理模 块发送所述解码后的短消息具体包括: 所述网安代理模块根据用户号码尾 数将解码后的短消息分发给所述多个实时监控业务处理模块。
优选地, 上述的方法中, 所述步骤二具体包括: 所述长消息拼接模块 緩存所述多个拆分消息, 如果属于同一个长消息的所有拆分消息都已经被 緩存, 则将所述属于同一个长消息的所有拆分消息拼接成所述完整的长消 息并发送给所述实时监控业务处理模块。
优选地, 上述的方法中, 所述步骤一还包括: 所述实时监控业务处理 模块将所述解码后的短消息中的非拆分消息根据所述过滤条件进行过滤, 将过滤结果返回给所述网安代理模块, 转入执行所述步骤四。
优选地, 上述的方法中, 所述实时监控业务处理模块中每个拆分消息 都对应一个会话; 所述步骤二中,, 将所述完整的长消息发送给所述实时监 控业务处理模块具体包括: 将所述完整的长消息返回给所述完整的长消息 的首条拆分消息所对应的首会话。
优选地, 上述的方法中, 所述步骤三中还包括: 所述实时监控业务处 理模块将过滤结果返回给所述长消息拼接模块, 所述长消息拼接模块将所 述过滤结果返回给同属于所述完整的长消息中的首条拆分消息之外的所有 拆分消息所对应的会话;
所述步骤四中, 将所述过滤结果返回给所述短信中心和 /或短信网关具 体包括: 将所述过滤结果作为同属于所述完整的长消息中的所有拆分消息 的过滤结果返回给所述短信中心和 /或短信网关。
本发明至少存在以下技术效果:
本发明短信过滤方法和系统不但能按正常流程对普通消息进行过滤, 而且通过增加长短信拼接模块以及和其它模块间的配合, 实现了对长消息 中的所有关键字进行有效过滤, 因此解决了现有系统对长短信拆分处含有 关键字的消息内容往往不能进行有效过滤的缺陷。 附图说明
图 1为本发明实现长短信过滤的方法的步骤流程图;
图 2为本发明短信过滤的详细流程图;
图 3为本发明对一条被拆分为 3条短信的长短信过滤交互的流程图; 图 4为本发明短信过滤系统的结构图。 具体实施方式
为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将结合附 图对具体实施例进行详细描述。
本发明实施例的实现长短信过滤的方法, 包括如下步骤:
步骤一, 网安代理模块将来自短信中心和 /或短信网关的短消息发送给 实时监控业务处理模块, 所述实时监控业务处理模块将所述短消息中的拆 分消息发送给长消息拼接模块;
步骤二, 所述长消息拼接模块将多个拆分消息拼接成完整的长消息并 发送给所述实时监控业务处理模块;
步骤三, 所述实时监控业务处理模块根据过滤条件对所述完整的长消 息进行过滤, 并将过滤结果返回给所述网安代理模块。
在所述步骤三之后, 还可以包括: 步骤四, 所述网安代理模块将所述 过滤结果返回给所述短信中心和 /或短信网关。
图 1 为本发明实现长短信过滤的方法的步骤流程图, 如图所示, 方法 包括如下步骤:
步骤 101 , 网安代理模块将来自短信中心和 /或短信网关的短消息进行 解码, 将解码后的短消息发送给实时监控业务处理模块。
步骤 102,所述实时监控业务处理模块将所述解码后的短消息中的拆分 消息发送给长消息拼接模块。
步骤 103 ,所述长消息拼接模块将多个拆分消息拼接成完整的长消息并 发送给所述实时监控业务处理模块;
步骤 104,所述实时监控业务处理模块根据过滤条件对所述完整的长消 息进行过滤, 并将过滤结果返回给所述网安代理模块。
步骤 105 , 所述网安代理模块将所述过滤结果返回给所述短信中心和 / 或短信网关。
其中, 过滤条件可以是预置的, 也可以更改, 因此在所述步骤 101 之 前, 还可以包括: 过滤条件设置模块设置所述过滤条件, 并将所述过滤条 件同步给所述实时监控业务处理模块。
图 2描述了短信过滤系统进行短信过滤的详细流程, 具体流程包括如 下步骤:
步骤 201 , 用户通过过滤条件设置模块设置短信过滤条件。 这里, 所述过滤条件可以包括短信内容关键字的设置。
步骤 202, 过滤条件设置完成后, 过滤条件设置模块将过滤条件同步给 多个实时监控业务处理模块。 这样多个实时监控业务处理模块以相同方式 工作进行负荷分担。
步骤 203 , 短信中心或短信网关下发短消息给网安代理模块。
步骤 204, 网安代理模块解码短消息点对点( SMPP, Short Message Peer to Peer )协议格式消息, 并且通过用户号码尾数取模分发解码后的消息给实 时监控业务处理模块。
步骤 205 ,实时监控业务处理模块根据解码后的消息判断消息是否为长 消息, 如果是长消息则进入步骤 206, 否则进入步骤 207。
步骤 206, 长消息拼接模块緩存被拆分的长消息, 并且判断被拆分的一 条长消息的所有分消息是否已经收齐,如果已经收齐则拼接成一条完整的长 消息转发给实时监控业务处理模块并且进入步骤 207 ,否则继续等待緩存下 一条消息。
步骤 207, 实时监控业务处理模块根据过滤条件对短消息进行过滤, 并 将过滤结果返回给网安代理模块。
步骤 208,网安代理模块最终将短信过滤结果返回给短信中心或短信网 关。
更进一步地, £设有一条长短信被拆分成 3条短信 A, Β, C, 经短信 中心下发到短信过滤系统, 图 3详细描述了对该长短信过滤模块交互过程, 具体流程包括如下步骤:
步骤 301 , 短信中心下发短信 Α给网安代理模块, 网安代理模块分发 短信给实时监控业务处理模块, 实时监控业务处理模块判断该消息为长消 息申请会话一, 并将该消息和会话信息转发给长短信拼接模块。 长短信拼 接模块通过分析短信内容, 得到短信 A 所属长消息的唯一标识 ( referenceid ), 长消息被拆分后消息总条数 3 , 本条消息在长消息中的序号 1,然后以 (源号码, 目的号码, referenceid ) 为键值, 存储本条消息以及会 话号 1在哈希 (hash )表中。
步骤 302, 短信中心下发短信 B给网安代理模块, 网安代理模块分发 短信给实时监控业务处理模块, 实时监控业务处理模块判断该消息为长消 息申请会话二, 并将该消息和会话信息转发给长短信拼接模块。 长短信拼 接模块通过分析短信内容, 得到短信 B所属长消息标识 referenceid, 长消 息被拆分后消息总条数 3 , 本条消息在长消息中的序号 2, 然后以(源号码, 目的号码, referenceid)为键值, 存储本条消息以及会话号 2在 hash表中。
步骤 303 , 短信中心下发短信 C给网安代理模块, 网安代理模块分发 短信给实时监控业务处理模块, 实时监控业务处理模块判断该消息为长消 息申请会话三, 并将该消息和会话信息转发给长短信拼接模块。 长短信拼 接模块通过分析短信内容, 得到短信 C所属长消息标识 referenceid, 长消 息被拆分后消息总条数 3 , 本条消息在长消息中的序号 3 , 然后以(源号码, 目的号码, referenceid)为键值,存储本条消息以及会话号 3在 hash表中。
步骤 304, 长短信拼接模块发现接收了 3条键值相同的消息 A, B, C, 序号为 1、 2、 3 , 并且对应的长消息被拆分后消息总条数为 3 , 得出已经收 到一条完整的长短信, 于是将消息 A、 B、 C拼接成一条完整的长短信发送 给实时监控业务处理模块会话一。
步骤 305 ,实时监控业务处理模块会话一对长短信进行过滤得到过滤结 果, 并将过滤结果作为短信 A的过滤结果通过网安代理模块返回给短信中 心, 同时将过滤结果转发给长短信拼接模块。
步骤 306, 长短信拼接模块接收到过滤结果后, 向实时监控业务处理模 块会话二返回过滤结果, 会话二将过滤结果作为短信 B的过滤结果通过网 安代理模块返回给短信中心。 步骤 307,同时长短信拼接模块将过滤结果返回给实时监控业务处理模 块会话三, 会话三将过滤结果作为短信 C的过滤结果通过网安代理模块返 回给短信中心。
最终, 既实现了对长短信的有效监控, 短信中心又能获得 3条一致的 过滤结果响应。 值得注意的是, 短信中心下发 3 条短信的次序可能会有变 化, 但以上处理方法依然适用。
可见, 本发明方法中, 网安代理模块实时获取发送的短消息, 经 SMPP 解码后根据号码尾数分发消息给实时监控业务处理模块。 实时监控业务处 理模块首先根据解码分析消息是否为长消息,如果不是长消息则直接根据过 滤条件对消息进行鉴权并通过网安代理模块返回结果给短消息中心或短消 息网关; 如果是拆分的长消息则申请一个新会话保存消息相关信息, 并将 消息以及会话信息转发给长短信拼接模块, 这样一条长消息拆分后可能对 应实时监控业务处理模块多个会话, 长短信拼接模块緩存收到的消息以及 会话信息, 如果发现一条长短信被拆分的消息条数已经收齐, 则拼接成一 条完整的长消息发送给实时监控业务处理模块所对应的该长消息的首会 话, 实时监控业务处理模块对该长消息进行鉴权, 并同时将鉴权结果返回 给网安代理模块和长短信拼接模块, 长短信拼接模块收到鉴权结果后向实 时监控业务处理模块所对应的该长消息的其它会话分别返回该鉴权结果, 最后其它会话将鉴权结果也返回给网安代理模块。 通过这种方法最终既实 现了长短信的有效过滤, 又确保短消息中心或短消息网关对每条拆分的消 息都能得到鉴权响应。
为了实现对长短信的过滤, 本发明实施例还提供一种长短信过滤系统, 图 4为本发明短信过滤系统的结构图, 其中包括: 网安代理模块, 实时监 控业务处理模块和长短信拼接模块, 还可以包括过滤条件设置模块。
网安代理模块, 用于将系统接入到一个或多个短消息中心以及短消息 网关, 接收短消息中心或短消息网关下发的短消息, 分发短消息给实时监 控业务处理模块, 并返回实时监控业务处理模块处理结果给短消息中心或 短消息网关。
实时监控业务处理模块, 用于根据短消息过滤条件对短消息进行鉴权。 为了满足多个短消息中心接入大业务量要求, 实时监控业务处理模块可以 部署为多个模块负荷分担。
长短信拼接模块, 用于拆分消息的緩存与拼接, 并将拼接结果传给实 时监控业务处理模块。
过滤条件设置模块, 用于保存设置的过滤条件并将过滤条件同步给实 时监控业务处理模块。 其中过滤条件包括了短信内容关键字的设置。
以上系统所有内部模块间釆用基于 TCP/IP或进程间的通讯机制进行通 讯。 网安代理模块和短消息中心以及短消息网关之间通过 SMPP协议连接。
由上可知, 本发明实施例具有以下优势:
本发明短信过滤方法和系统不但能按正常流程对普通消息进行过滤, 而且通过增加长短信拼接模块以及和其它模块间的配合, 实现了对长消息 中的所有关键字进行有效过滤, 因此解决了现有系统对长短信拆分处含有 关键字的消息内容往往不能进行有效过滤的缺陷。
以上所述仅是本发明的优选实施方式, 应当指出, 对于本技术领域的 普通技术人员来说, 在不脱离本发明原理的前提下, 还可以做出若干改进 和润饰, 这些改进和润饰也应视为本发明的保护范围。

Claims

权利要求书
1、 一种实现长短信过滤的系统, 其特征在于, 该系统包括网安代理模 块、 实时监控业务处理模块和长消息拼接模块; 其中,
所述网安代理模块, 用于将来自短信中心和 /或短信网关的短消息发送 给所述实时监控业务处理模块;
所述实时监控业务处理模块, 用于将所述短消息中的拆分消息发送给 所述长消息拼接模块; 根据过滤条件对完整的长消息进行过滤, 并将所述 过滤结果返回给所述网安代理模块;
所述长消息拼接模块, 用于将多个拆分消息拼接成所述完整的长消息 并发送给所述实时监控业务处理模块。
2、 根据权利要求 1所述的系统, 其特征在于, 所述实时监控业务处理 模块为多个; 所述网安代理模块, 进一步用于将来自短信中心和 /或短信网 关的短消息进行解码, 根据用户号码尾数将解码后的短消息分发给所述多 个实时监控业务处理模块, 将所述过滤结果返回给所述短信中心和 /或短信 网关。
3、 根据权利要求 1或 2所述的系统, 其特征在于, 该系统还包括过滤 条件设置模块, 用于设置所述过滤条件, 并将所述过滤条件同步给所述实 时监控业务处理模块。
4、 一种实现长短信过滤的方法, 其特征在于, 该方法包括: 步骤一、 网安代理模块将来自短信中心和 /或短信网关的短消息发送给 实时监控业务处理模块, 所述实时监控业务处理模块将所述短消息中的拆 分消息发送给长消息拼接模块;
步骤二、 所述长消息拼接模块将多个拆分消息拼接成完整的长消息并 发送给所述实时监控业务处理模块;
步骤三、 所述实时监控业务处理模块根据过滤条件对所述完整的长消 息进行过滤, 并将过滤结果返回给所述网安代理模块。
5、 根据权利要求 4所述的方法, 其特征在于, 所述步骤一之前, 该方 法还包括: 设置所述过滤条件, 并将所述过滤条件同步给所述实时监控业 务处理模块;
所述步骤三之后, 该方法还包括: 步骤四、 所述网安代理模块将所述 过滤结果返回给所述短信中心和 /或短信网关。
6、 根据权利要求 4或 5所述的方法, 其特征在于, 所述步骤一具体包 括: 网安代理模块将来自短信中心和 /或短信网关的短消息进行解码, 将解 码后的短消息发送给实时监控业务处理模块; 所述实时监控业务处理模块 将解码后的短消息中的拆分消息发送给长消息拼接模块;
所述实时监控业务处理模块为多个; 所述步骤一中, 所述网安代理模 块发送所述解码后的短消息具体包括: 所述网安代理模块根据用户号码尾 数将解码后的短消息分发给所述多个实时监控业务处理模块。
7、 根据权利要求 6所述的方法, 其特征在于, 所述步骤二具体包括: 所述长消息拼接模块緩存所述多个拆分消息 , 如果属于同一个长消息的所 有拆分消息都已经被緩存, 则将所述属于同一个长消息的所有拆分消息拼 接成所述完整的长消息并发送给所述实时监控业务处理模块。
8、 根据权利要求 6所述的方法, 其特征在于, 所述步骤一还包括: 所 述实时监控业务处理模块将所述解码后的短消息中的非拆分消息根据所述 过滤条件进行过滤, 将过滤结果返回给所述网安代理模块, 转入执行所述 步骤四。
9、 根据权利要求 6所述的方法, 其特征在于, 所述实时监控业务处理 模块中每个拆分消息对应一个会话;
所述步骤二中 , 将所述完整的长消息发送给所述实时监控业务处理模 块具体包括: 将所述完整的长消息返回给所述完整的长消息的首条拆分消 息所对应的首会话。
10、 根据权利要求 9所述的方法, 其特征在于, 所述步骤三中还包括: 所述实时监控业务处理模块将过滤结果返回给所述长消息拼接模块, 所述 长消息拼接模块将所述过滤结果返回给同属于所述完整的长消息中的首条 拆分消息之外的所有拆分消息所对应的会话;
所述步骤四中, 将所述过滤结果返回给所述短信中心和 /或短信网关具 体包括: 将所述过滤结果作为同属于所述完整的长消息中的所有拆分消息 的过滤结果返回给所述短信中心和 /或短信网关。
PCT/CN2010/072295 2009-09-04 2010-04-28 一种实现长短信过滤的系统和方法 WO2011026336A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
EP10813258.0A EP2458903B1 (en) 2009-09-04 2010-04-28 System and method for filtering long short message
IN1513DEN2012 IN2012DN01513A (zh) 2009-09-04 2010-04-28
BR112012004672-1A BR112012004672A2 (pt) 2009-09-04 2010-04-28 Sistema para filtrar uma mensagem curta longa e método para filtrar uma mensagem curta longa
US13/257,943 US8958832B2 (en) 2009-09-04 2010-04-28 System and method for filtering long short message

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2009100920188A CN101651934B (zh) 2009-09-04 2009-09-04 一种实现长短信过滤的方法和系统
CN200910092018.8 2009-09-04

Publications (1)

Publication Number Publication Date
WO2011026336A1 true WO2011026336A1 (zh) 2011-03-10

Family

ID=41673993

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/072295 WO2011026336A1 (zh) 2009-09-04 2010-04-28 一种实现长短信过滤的系统和方法

Country Status (6)

Country Link
US (1) US8958832B2 (zh)
EP (1) EP2458903B1 (zh)
CN (1) CN101651934B (zh)
BR (1) BR112012004672A2 (zh)
IN (1) IN2012DN01513A (zh)
WO (1) WO2011026336A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102231873A (zh) * 2011-06-22 2011-11-02 中兴通讯股份有限公司 垃圾短信监控方法、系统和监控处理装置

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101651934B (zh) 2009-09-04 2012-01-25 中兴通讯股份有限公司 一种实现长短信过滤的方法和系统
CN102172055B (zh) * 2011-04-22 2013-08-07 华为技术有限公司 短消息的处理方法、装置和系统
CN102860049A (zh) * 2011-04-27 2013-01-02 华为技术有限公司 一种短信处理方法、相关设备及系统
US20130227352A1 (en) * 2012-02-24 2013-08-29 Commvault Systems, Inc. Log monitoring
US9503414B1 (en) * 2014-03-10 2016-11-22 Bume Box, Inc. Apparatus and method for coordinating live computer network events
US9906485B1 (en) * 2014-03-10 2018-02-27 Bume Box, Inc. Apparatus and method for coordinating live computer network events
CN104065725A (zh) * 2014-06-25 2014-09-24 北京思特奇信息技术股份有限公司 基于http超文本传送协议的系统实时监控方法及系统
CN104967979B (zh) * 2015-06-29 2018-12-07 努比亚技术有限公司 短信拦截方法和装置
CN107562765A (zh) * 2016-07-01 2018-01-09 中兴通讯股份有限公司 一种信息处理方法及装置
CN106358164A (zh) * 2016-09-05 2017-01-25 中国联合网络通信集团有限公司 一种超长短信的接收方法和接收终端
CN107870765B (zh) * 2016-09-26 2021-08-31 平安科技(深圳)有限公司 报文拼接方法及终端
CN111092803A (zh) * 2018-10-23 2020-05-01 阿里巴巴集团控股有限公司 一种消息处理方法、设备、系统及存储介质
CN111225347A (zh) * 2018-11-23 2020-06-02 中兴通讯股份有限公司 长消息的处理方法、装置、终端及可读存储介质
CN112969151B (zh) * 2021-04-30 2022-03-29 中国银行股份有限公司 一种短信监控方法、装置及设备
CN114567855B (zh) * 2022-03-09 2023-07-14 北京神州泰岳软件股份有限公司 一种长短信处理方法、装置和电子设备

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101001413A (zh) * 2007-01-08 2007-07-18 宇龙计算机通信科技(深圳)有限公司 Cdma网络长短信传输方法
CN100450204C (zh) * 2005-11-17 2009-01-07 中兴通讯股份有限公司 一种短消息防火墙系统及其实现短消息过滤的方法
CN101651934A (zh) * 2009-09-04 2010-02-17 中兴通讯股份有限公司 一种实现长短信过滤的方法和系统

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100532274B1 (ko) 1999-09-08 2005-11-29 삼성전자주식회사 디지털 휴대용 단말기의 장문 메시지 송수신장치 및 그 방법
US20040203581A1 (en) 2002-10-07 2004-10-14 Msafe Ltd. Method system and device for monitoring data pushed to a wireless communication device
CN100525484C (zh) * 2006-03-29 2009-08-05 华为技术有限公司 Cdma电路域实现超长短消息发送的方法
US7630727B2 (en) * 2006-06-29 2009-12-08 Alcatel-Lucent Usa Inc. MAP message processing for SMS spam filtering

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100450204C (zh) * 2005-11-17 2009-01-07 中兴通讯股份有限公司 一种短消息防火墙系统及其实现短消息过滤的方法
CN101001413A (zh) * 2007-01-08 2007-07-18 宇龙计算机通信科技(深圳)有限公司 Cdma网络长短信传输方法
CN101651934A (zh) * 2009-09-04 2010-02-17 中兴通讯股份有限公司 一种实现长短信过滤的方法和系统

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102231873A (zh) * 2011-06-22 2011-11-02 中兴通讯股份有限公司 垃圾短信监控方法、系统和监控处理装置

Also Published As

Publication number Publication date
EP2458903A1 (en) 2012-05-30
BR112012004672A2 (pt) 2021-08-31
IN2012DN01513A (zh) 2015-06-05
CN101651934A (zh) 2010-02-17
EP2458903A4 (en) 2012-06-06
CN101651934B (zh) 2012-01-25
US8958832B2 (en) 2015-02-17
EP2458903B1 (en) 2014-07-09
US20120142381A1 (en) 2012-06-07

Similar Documents

Publication Publication Date Title
WO2011026336A1 (zh) 一种实现长短信过滤的系统和方法
US10305904B2 (en) Facilitating secure network traffic by an application delivery controller
RU2769216C2 (ru) Динамическая защищенная коммуникационная сеть и протокол
KR101361726B1 (ko) 콘택 센터 애플리케이션들에 단문 메시지 서비스 메시징을 통합하기 위한 시스템 및 방법들
WO2023165150A1 (zh) 一种通信方法、装置、卫星融合网关及可读存储介质
EP2710776B1 (en) Anonymous signalling
WO2014019497A1 (zh) 一种实时通信方法、终端设备、实时通信服务器及系统
CN102868728B (zh) 在vdi环境下基于虚拟通道的网络代理方法
JP2006500827A (ja) グループ通信ネットワークでマルチメディアを提供する通信マネージャ
US20070245411A1 (en) Methods, systems and computer program products for single sign on authentication
CN101594359A (zh) 防御传输控制协议同步洪泛攻击方法及传输控制协议代理
WO2013056628A1 (zh) 实现心跳机制的方法、应用服务器、网络数据库及系统
CA2534506C (en) System and method for delivering private network features to a public network
WO2016050109A1 (zh) 一种通信方法、云管理服务器及虚拟交换机
CN1270484C (zh) 从信息服务器向移动终端推送信息的系统及方法
CN109495854B (zh) 一种基于FreeSwitch的移动终端App离线SIP呼叫功能的实现方法
CN102355713B (zh) 语音通信中的呼叫方法及移动终端
WO2013159492A1 (zh) 信息上报与下载的方法及系统
WO2021135493A1 (zh) 一种家庭网关访问方法、装置、系统处理器及存储介质
WO2009079933A1 (fr) Procédé et dispositif de traitement de message
CN1996960B (zh) 一种即时通信消息的过滤方法及即时通信系统
WO2010054561A1 (zh) 一种媒体流代理方法、语音交换机及通信系统
WO2012174823A1 (zh) 一种短信处理方法、装置及系统
CN1581869A (zh) 一种基于双重身份的多方通信方法
CN106936718B (zh) PPPoE报文传输方法和PPPoE服务器

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: 10813258

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 13257943

Country of ref document: US

REEP Request for entry into the european phase

Ref document number: 2010813258

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 1513/DELNP/2012

Country of ref document: IN

Ref document number: 2010813258

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE

REG Reference to national code

Ref country code: BR

Ref legal event code: B01A

Ref document number: 112012004672

Country of ref document: BR

ENP Entry into the national phase

Ref document number: 112012004672

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20120301