WO2013078798A1 - 一种短消息监控方法和系统 - Google Patents

一种短消息监控方法和系统 Download PDF

Info

Publication number
WO2013078798A1
WO2013078798A1 PCT/CN2012/072760 CN2012072760W WO2013078798A1 WO 2013078798 A1 WO2013078798 A1 WO 2013078798A1 CN 2012072760 W CN2012072760 W CN 2012072760W WO 2013078798 A1 WO2013078798 A1 WO 2013078798A1
Authority
WO
WIPO (PCT)
Prior art keywords
short message
content
keyword
monitoring
rule
Prior art date
Application number
PCT/CN2012/072760
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 WO2013078798A1 publication Critical patent/WO2013078798A1/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
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/02Capturing of monitoring data
    • H04L43/028Capturing of monitoring data by filtering
    • 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/21Monitoring or handling of messages
    • H04L51/212Monitoring or handling of messages using filtering or selective blocking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic

Definitions

  • the present invention relates to the field of short message monitoring, and more particularly to a method and system for short message monitoring.
  • short message service has become a basic business of mobile communication networks and has been fully valued by operators and users.
  • the means by which operators, profit-making groups and individuals use the message center for promotion are endless; the activities of interconnection between networks are like fire; the amount of information flowing on the Internet has also grown geometrically.
  • the development of short message service while making considerable profits for operators and providing users with convenient messaging services, also provides a channel for the spread of spam messages.
  • spam messages have become more and more powerful and have become a major public nuisance. A large number of malicious messages and advertising messages make users overwhelmed, and even more so, the dissemination of illegal reactionary information can be multiplied.
  • a garbage short message monitoring system emerges as the times require, and its function is mainly to automatically discover the offending user according to the short message sent by the user, thereby restricting or prohibiting the sending of the short message. It is a relatively effective monitoring method to monitor the content of the message sent by the user and determine whether the content of the message contains the keywords set by the system.
  • garbage short message monitoring systems are used. The method.
  • spammers are constantly researching monitoring strategies and using various methods to evade system monitoring, including editing the content of the message and arranging the text content of the message in columns, such as message content. It contains "invoicing various invoices, please contact Mr. X if necessary".
  • the edited content is:
  • the technical problem to be solved by the present invention is to provide a short message monitoring method and system, which improves and supplements the existing message content-based monitoring method to solve the problem that the current message content analysis strategy is too simple to be effectively monitored.
  • an embodiment of the present invention provides a short message monitoring method, including: configuring a monitoring rule, where the monitoring rule includes keyword content;
  • the short message to be monitored when the short message satisfies the matching condition by column, the matching between the content in the short message and the keyword content in the monitoring rule is performed in a column, when determining the short message When the content matches the keyword content, it is determined that the short message violates the keyword.
  • the foregoing method may further include the following: the monitoring rule further includes a row number threshold; and the column matching condition includes: the number of rows in the short message reaches the threshold of the row number.
  • the foregoing method may further have the following feature: performing, by column, matching the content in the short message with the keyword content in the monitoring rule, including:
  • the method may further have the following feature: the satisfying the matching condition by the column means: when the content of the short message is matched and analyzed by the keyword content in the monitoring rule, determining that the short message does not violate the key word.
  • the foregoing method may further have the following features, where the method further includes:
  • the monitoring rule further includes a rule duration and a violation threshold
  • the short message of the same user's violation keyword is counted in the rule duration, and when the counting result reaches the violation threshold, the user is judged to be in violation.
  • An embodiment of the present invention further provides a short message monitoring system, including:
  • a rule definition module configured to configure a monitoring rule, where the monitoring rule includes keyword content
  • An analysis module configured to be a short message to be monitored, when the short message satisfies the column matching condition, matching and matching the content of the short message with the keyword content in the monitoring rule by a column, and determining Whether the content of the short message matches the content of the keyword.
  • the foregoing system may further have the following feature: the monitoring rule further includes a row number threshold; and the column matching condition includes: the number of rows in the short message reaches the threshold of the row number.
  • the foregoing system may further have the following feature: the analyzing module is configured to perform matching analysis on content in the short message and keyword content in the monitoring rule according to the following manner: the analyzing module The content of the short message is rearranged in the order of the columns, and the non-text content in the short message is filtered, and the filtered text content is matched and analyzed with the keyword content in the monitoring rule.
  • the analysis module is further configured to determine whether the column-matching condition is satisfied according to the following manner: the content in the short message and the keyword content in the monitoring rule are performed in a row When the matching analysis is performed, the content of the short message does not match the keyword content.
  • the foregoing system may further have the following features, where the monitoring rule further includes a rule duration and a violation threshold;
  • the analyzing module is further configured to: count a short message of the same user's violation keyword in the rule duration, and when the counting result reaches the violation threshold, determine that the user violates the rule.
  • the messages sorted by the column can be effectively monitored to prevent the spammers from exploiting the vulnerabilities of the existing system, and the messages in the message are Text content is arranged in columns and sent to evade system monitoring. Since one of the salient features of the messages sorted by column is that the message content is edited into multiple lines, based on the line-by-line monitoring of the message content, the number of newline characters contained in the message is first counted, and only A certain number of newline messages are analyzed and monitored by column, which can effectively monitor the messages sorted by column without adding excessive burden to the system.
  • FIG. 1 is a flowchart of a short message monitoring method according to an exemplary embodiment of the present invention
  • FIG. 2 is a schematic diagram of column-by-column matching according to an exemplary embodiment of the present invention
  • FIG. 3 is a block diagram showing the architecture of a short message monitoring system according to an exemplary embodiment of the present invention.
  • Monitoring rules The rules that the analysis module in the monitoring system analyzes and determines the user messages.
  • Each monitoring rule includes parameters such as rule duration, keyword content, row threshold, and violation threshold. Of course, only one or more of them may be included, for example, only the keyword content, or only the rule duration, the keyword content, and the violation threshold; in addition, other content may be included.
  • Different monitoring rules may have different rule durations, keyword contents, row number thresholds, and violation thresholds, and the types of parameters included may also be different.
  • Rule duration The monitoring duration of a monitoring rule, that is, the length of time that the system determines whether the number of short messages that the user sends a violation of the key words triggers the violation threshold.
  • Keyword content A logical combination of a single keyword or a group of keywords. If the keyword content only contains a single keyword, when the keyword is matched in the message content, the message is considered to be in violation of the keyword; if the keyword content is a logical combination of a group of keywords, when the message content meets the In logic, the message is considered to be in violation of the keyword.
  • the keyword content can be set to "(invoice I ticket) & generation open & (! address)", then when it matches "invoice” or "ticket” in the message content, and matches to "generation”, and the match is not When the address is reached, the message is considered to be in violation of the keyword.
  • Line number threshold When the number of line breaks contained in the message content reaches the threshold, the message is considered to be edited into multiple lines, and its content needs to be monitored by column.
  • Violation threshold Determine whether the user is a violation threshold. When the number of messages violating the keyword sent by a single user within a rule duration reaches the threshold, it is determined that the user violates the rules, thereby restricting or prohibiting the behavior of sending the short message.
  • the short message monitoring system provided by the embodiment of the present invention includes:
  • a rule definition module that is configured to configure at least one monitoring rule.
  • the monitoring rule includes: a keyword content, where the rule duration, the number of rows threshold, the violation threshold, and the like may also be included.
  • the keyword content may be a single keyword or a logical combination of multiple keywords (including and, or, and so on).
  • the monitoring rule may be configured with one or more rules, and different monitoring rules may be configured with different rule durations, keyword contents, row number thresholds, and violation thresholds.
  • the analysis module is configured to analyze the short message sent by the user according to the monitoring rule to determine whether the user violates the rules.
  • the method includes: matching, for monitoring, a short message, if the matching condition by the column is satisfied, performing matching analysis on the content of the short message and the keyword content in the monitoring rule according to the column, determining whether the short message violates the key word.
  • the method may further include: (1) performing keyword matching analysis on the content of the short message to determine whether the short message violates the keyword; (2) counting the number of short messages of the keyword violated by the same user within one rule duration , to determine whether the count value reaches the violation threshold. You can execute (1) and then find that the message does not violate the keyword, and then perform column-by-column matching. You can also perform the matching by column and find that the message does not violate the keyword, then execute (1); ) and match by column. When any step detects that the message violates the keyword, the message violates the keyword. This is not limited here.
  • the monitoring rule further includes a line number threshold.
  • the analyzing module determines whether the matching condition by the column is included: the number of rows in the short message reaches the threshold of the number of rows.
  • the analyzing module performs matching analysis on the content of the short message and the keyword content in the monitoring rule by the column: the analyzing module rearranges the content of the short message in the order of the column, and Filtering the non-text content in the short message, and matching the filtered content with the keyword content in the monitoring rule.
  • the analyzing module determines whether the matching condition by the column is further included: when the content of the short message is matched and analyzed by the keyword content in the monitoring rule by the row, the short message does not violate the keyword.
  • a display module configured to display a message sent by the offending user for subsequent query, Use.
  • a database management module configured to receive requests from other modules, to operate and maintain data in the database, including adding, deleting, modifying, and the like.
  • the embodiment of the invention provides a short message monitoring method, including:
  • the matching condition by column if the matching condition by column is satisfied, the content of the short message is matched and analyzed by the column in the monitoring rule to determine whether the short message violates the keyword.
  • the monitoring rule further includes a threshold of the number of rows
  • the satisfying the matching condition by column includes: the number of rows in the short message reaches the threshold of the number of rows.
  • the matching analysis between the content in the short message and the keyword content in the monitoring rule by the column includes:
  • the content of the short message is rearranged in the order of the columns, and the non-text content in the short message is filtered, and the filtered content is matched and analyzed with the keyword content in the monitoring rule.
  • the satisfying the matching condition by column further includes:
  • the monitoring rule further includes a rule duration and a violation threshold.
  • the method further includes: counting, by the same user, the short message of the same user in the rule duration, and if the violation threshold is reached, determining the user Violation of the rules.
  • Step A The rule definition module configures the monitoring rule, and can configure one or more monitoring rules, and synchronize the configured rules to the analysis module;
  • Step B The analysis module receives the user message sent by the short message center, performs keyword matching analysis on the message according to the keyword content configured in the monitoring rule, and determines whether the message violates the keyword. If not, proceed to step C, otherwise, perform step D;
  • Step C The analysis module determines whether the number of newline characters in the message reaches the threshold of the number of rows in the rule. If the threshold is reached, the keyword matching analysis is performed on the content of the message to determine whether the message violates the keyword;
  • Step D The analysis module counts the number of short messages that the same user violates the keyword within a rule duration, determines whether the count value reaches the violation threshold, and if so, determines that the user violates the rules.
  • FIG. 1 shows a flow chart of a short message monitoring method according to an exemplary embodiment of the present invention, including:
  • FIG. 3 shows an architectural schematic diagram of a short message monitoring system in accordance with an exemplary embodiment of the present invention. As can be seen in conjunction with Figure 3, the system includes:
  • a console (Human Machine Interface) 301 is configured to monitor the configuration of the rules and the like, and display the user information, that is, the console combines the functions of the rule definition module and the display module.
  • configuration data such as monitoring rules can be configured, viewed, and modified, and the monitoring results of the system can be displayed. After the console's data configuration is complete, the configuration data is synchronized to the analysis module and the database management operation module.
  • the analyzing module 302 is configured to receive the message of the short message center, monitor the message sent by the user according to the monitoring rule configured by the console, determine whether the user violates the rule, and send the determination result to the short message center. For the offending user, the message sent by the user is transmitted to the database management operation module 303 to perform the operation of inserting the database 304, so as to record the violation user message, Follow-up verification, statistics, etc.
  • the database management operation module 303 has the following functions: (1) operating the database 304, performing operations such as warehousing, querying, and modifying configuration data such as monitoring rules, and sending the result to the console 301 for display; (2) analyzing the module The violation user information sent by 302 is recorded in the database 304, thereby providing data for subsequent statistical analysis and post-query inquiry of the console 301; (3) querying and counting the illegal user information recorded in the database 304, and transmitting the result Console 301 for display.
  • the foregoing technical solution provided by the embodiments of the present invention achieves the following technical effects: keyword matching analysis is performed on the content of the message in the monitoring process, which can effectively prevent spam messages.
  • the sender is to monitor the evasion system, and the text content in the message is arranged in the form of a column and then sent.
  • the messages sorted by the column can be effectively monitored to prevent the spammers from exploiting the vulnerabilities of the existing system, and the messages in the message are Text content is arranged in columns and sent to evade system monitoring. Since one of the salient features of the messages sorted by column is that the message content is edited into multiple lines, based on the line-by-line monitoring of the message content, the number of newline characters contained in the message is first counted, and only A certain number of newline messages are analyzed and monitored by column, so that It can effectively monitor the messages sorted by column without adding excessive burden to the system.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

一种短消息监控方法,包括:配置至少一条监控规则,所述监控规则中包括关键词内容;对待监控的短消息,如果满足按列匹配条件,则按列对所述短消息中的内容与所述监控规则中的关键词内容进行匹配分析,判断所述短消息是否违反关键词。本发明还提供一种短消息监控系统。本发明可以实现按列监控短消息,更好的对短消息进行监控。

Description

一种短消息监控方法和系统
技术领域
本发明涉及短消息监控领域, 更具体地, 涉及一种短消息监控的方法和 系统。
背景技术
近年来, 短消息服务作为移动通讯网络的一种基本业务已充分受到各运 营商和广大用户的重视。 各运营商、 盈利集团和个人利用消息中心进行促销 的手段层出不穷; 各网络之间互联互通的活动如火如茶; 网上流动的消息量 也随之成几何级数增长。 短消息业务的发展, 在为运营商賺取可观的利润, 为用户提供便捷的消息通讯服务的同时, 也为垃圾短信的传播提供了渠道。 目前, 垃圾短信有着愈演愈烈之势, 已成为社会一大公害。 大量的恶意消息、 广告消息使用户不胜其烦,更有甚者还可能使非法反动信息的传播有机可乘。
鉴于此, 垃圾短消息监控系统应运而生, 其功能主要是能根据用户所发 送的短消息来自动地发现违规用户, 进而限制或禁止其发送短消息。 对用户 所发送的消息内容进行监控,判断消息内容中是否含有系统所设定的关键词, 是一种较为行之有效的监控方法, 目前市场上已商用的垃圾短消息监控系统 中也大多使用了该方法。 但垃圾短信发送者也在不断的研究监控策略, 釆用 各种方法来逃避系统的监控, 其中就包括了对消息内容进行编辑, 将消息中 的文字内容按列的形式进行排列, 例如消息内容中含有 "代开各种发票, 如 有需要请联系 X先生" , 编辑后的内容为:
"代发有 联生
开 票 需 系
各 , 要 X
种 如请先,,
这样即使监控系统已将 "代开" 、 "发票" 等设为关键词仍无法对这类 消息进行有效的监控。 发明内容
本发明要解决的技术问题是提供一种短消息监控方法和系统, 对现有的 基于消息内容的监控方法进行完善和补充, 以解决当前对消息内容分析策略 过于简单, 无法有效监控的问题。
为了解决上述问题, 本发明的实施例提供了一种短消息监控方法, 包括: 配置监控规则, 所述监控规则中包括关键词内容;
对待监控的短消息, 当所述短消息满足按列匹配条件时, 则按列对所述 短消息中的内容与所述监控规则中的关键词内容进行匹配分析, 当判断所述 短消息的内容与所述关键词内容相匹配时, 判断所述短消息违反关键词。
可选地, 上述方法还可具有以下特点, 所述监控规则中还包括行数门限; 所述按列匹配条件包括: 所述短消息中的行数达到所述行数门限。
可选地, 上述方法还可具有以下特点, 所述按列对所述短消息中的内容 与所述监控规则中的关键词内容进行匹配分析包括:
将所述短消息的内容按照列的顺序重新排列, 并过滤所述短消息中的非 文字内容, 将过滤后的文字内容与所述监控规则中的关键词内容进行匹配分 可选地, 上述方法还可具有以下特点, 所述满足按列匹配条件是指: 按行对所述短消息中的内容与所述监控规则中的关键词内容进行匹配分 析时, 判断所述短消息未违反关键词。
可选地, 上述方法还可具有以下特点, 所述方法还包括:
所述监控规则中还包括规则时长和违规门限;
对所述规则时长中同一用户的违反关键词的短消息进行计数, 当计数结 果达到所述违规门限时, 则判断所述用户违规。
本发明的实施例还提供一种短消息监控系统, 包括:
规则定义模块, 其设置为配置监控规则, 所述监控规则中包括关键词内 容; 以及 分析模块, 其设置为对待监控的短消息, 当所述短消息满足按列匹配条 件时, 按列对所述短消息中的内容与所述监控规则中的关键词内容进行匹配 分析, 判断所述短消息的内容是否与所述关键词内容相匹配。
可选地, 上述系统还可具有以下特点, 所述监控规则中还包括行数门限; 所述按列匹配条件包括: 所述短消息中的行数达到所述行数门限。
可选地, 上述系统还可具有以下特点, 所述分析模块是设置为按如下方 式按列对所述短消息中的内容与所述监控规则中的关键词内容进行匹配分 析: 所述分析模块将所述短消息的内容按照列的顺序重新排列, 并过滤所述 短消息中的非文字内容, 将过滤后的文字内容与所述监控规则中的关键词内 容进行匹配分析。
可选地, 上述系统还可具有以下特点, 所述分析模块还设置为按如下方 式判断是否满足按列匹配条件: 按行对所述短消息中的内容与所述监控规则 中的关键词内容进行匹配分析时, 所述短消息的内容不与所述关键词内容相 匹配。
可选地, 上述系统还可具有以下特点, 所述监控规则中还包括规则时长 和违规门限;
所述分析模块还设置为: 对所述规则时长中同一用户的违反关键词的短 消息进行计数, 当计数结果达到所述违规门限, 则判断所述用户违规。
上述技术方案中, 通过在监控过程中引入对消息内容按列进行关键词匹 配分析, 可对按列排序的消息进行有效的监控, 防止垃圾短信发送者利用现 有系统的漏洞, 将消息中的文字内容按列的形式进行排列后发送, 以逃避系 统的监控。 由于按列排序的消息的显著特征之一就是消息内容被编辑为多行, 所以在对消息内容进行按行监控的基础上, 先对消息中含有的换行符的数量 进行统计, 并只对含有一定数量换行符的消息进行按列分析、 监控, 这样既 可以有效的对按列排序的消息进行有效的监控, 又不至于给系统增加过多的 负担。 附图概述
图 1为根据本发明的示例性实施例的短消息监控方法的流程图; 图 2为根据本发明的示例性实施例的按列匹配示意图;
图 3为根据本发明的示例性实施例的短消息监控系统的架构示意图。
本发明的较佳实施方式
下文中将结合附图对本发明的实施例进行详细说明。 需要说明的是, 在 不冲突的情况下, 本申请中的实施例及实施例中的特征可以相互任意组合。
为了便于描述, 首先对几个名词进行解释:
1. 监控规则: 监控系统中的分析模块对用户消息进行分析判定所依据的 规则, 每条监控规则中包括规则时长、 关键词内容、 行数门限、 违规门限等 参数。 当然, 也可以只包括其中一项或多项, 比如, 只包括关键词内容, 或 者, 只包括规则时长、 关键词内容、 违规门限; 另外, 还可以包括其它内容。 不同监控规则其规则时长、 关键词内容、 行数门限、 违规门限可以不同, 其 包括的参数种类也可以不同。
2. 规则时长: 一条监控规则的监控时长, 即系统判断用户发送违反关键 词的短消息数量是否触发违规门限所依据的时间长度。
3. 关键词内容: 单个关键词或一组关键词的逻辑组合。 若关键词内容中 只包含单个关键词, 则当在消息内容中匹配到该关键词, 就认为该消息违反 关键词; 若关键词内容为一组关键词的逻辑组合, 则当消息内容符合该逻辑 时, 认为该消息违反关键词。 例如关键词内容可设置为 "(发票 I票据) &代开 & (!地址)" , 那么当在消息内容中匹配到 "发票" 或 "票据" , 且匹配到 "代 开" , 且匹配不到 "地址" 时, 认为该消息违反关键词。
4. 行数门限: 当短信内容中含有的换行符数量达到该门限值时, 则认为 该短信被编辑为多行, 需对其内容进行按列监控。
5. 违规门限: 判断用户是否为违规的门限值。 当一个规则时长内单一用 户所发送的违反关键词的消息的数量达到该门限时, 则判定该用户违规, 进 而限制或禁止其发送短信的行为。 本发明实施例提供的短消息监控系统包括:
规则定义模块, 其设置为配置至少一条监控规则。 其中, 所述监控规则 中包括: 关键词内容, 其中, 还可包括规则时长、 行数门限、 违规门限等。 所述关键词内容可以是单个关键词, 也可以是多个关键词的逻辑组合(包括 与、 或、 非等) 。 所述监控规则可配置一条或多条, 多条监控规则中可配置 不同的规则时长、 关键词内容、 行数门限、 违规门限。
分析模块, 其设置为根据监控规则对用户发送的短消息分析, 判断用户 是否违规。 包括: 用于对待监控的短消息, 如果满足按列匹配条件, 则按列 对所述短消息中的内容与所述监控规则中的关键词内容进行匹配分析, 判断 所述短消息是否违反关键词。 还可包括: ( 1 )对短消息内容按行进行关键词 匹配分析, 判断短消息是否违反关键词; (2 )对同一用户在一个规则时长内 所发送的违反关键词的短消息数量进行计数,判断计数值是否达到违规门限。 可以先执行(1 )后发现消息不违反关键词后, 再执行按列匹配; 也可以先执 行按列匹配后,发现消息不违反关键词时,再执行( 1 ); 也可以同时执行( 1 ) 和按列匹配, 其中任一步骤检测到消息违反关键词时, 则消息违反关键词。 此处对此不作限定。
其中, 所述监控规则中还包括行数门限; 所述分析模块判断是否满足按 列匹配条件包括: 所述短消息中的行数达到所述行数门限。
其中, 所述分析模块按列对所述短消息中的内容与所述监控规则中的关 键词内容进行匹配分析包括: 所述分析模块将所述短消息的内容按照列的顺 序重新排列, 并过滤所述短消息中的非文字内容, 将所述过滤后的内容与所 述监控规则中的关键词内容进行匹配分析。
所述分析模块判断是否满足按列匹配条件还包括: 按行对所述短消息中 的内容与所述监控规则中的关键词内容进行匹配分析时, 所述短消息未违反 关键词。
所述系统还包括:
显示模块, 其设置为显示所述违规用户所发送的消息, 供后续查询、 统 计使用。
数据库管理模块, 其设置为接收其他模块的请求, 操作维护数据库中的 数据, 包括添加、 删除、 修改等。
本发明实施例提供一种短消息监控方法, 包括:
配置至少一条监控规则, 所述监控规则中包括关键词内容;
对待监控的短消息, 如果满足按列匹配条件, 则按列对所述短消息中的 内容与所述监控规则中的关键词内容进行匹配分析, 判断所述短消息是否违 反关键词。
其中, 所述监控规则中还包括行数门限;
所述满足按列匹配条件包括: 所述短消息中的行数达到所述行数门限。 其中, 所述按列对所述短消息中的内容与所述监控规则中的关键词内容 进行匹配分析包括:
将所述短消息的内容按照列的顺序重新排列, 并过滤所述短消息中的非 文字内容, 将所述过滤后的内容与所述监控规则中的关键词内容进行匹配分 析。
其中, 所述满足按列匹配条件还包括:
按行对所述短消息中的内容与所述监控规则中的关键词内容进行匹配分 析时, 判断所述短消息未违反关键词。
其中, 所述监控规则中还包括规则时长和违规门限; 所述方法还包括, 对所述规则时长中同一用户违反关键词的短消息进行计数, 如果达到所述违 规门限, 则判断所述用户违规。
本发明实施例提供的一种短消息监控方法包括以下步骤:
步骤 A. 规则定义模块配置监控规则, 可配置一条或多条监控规则, 并 将所配置的规则同步给分析模块;
步骤 B. 分析模块接收短信中心发送的用户消息, 按照监控规则中所配 置的关键词内容对消息按行进行关键词匹配分析,判断消息是否违反关键词, 如果不违反, 则执行步骤 C, 否则, 执行步骤 D;
步骤 C. 分析模块判断消息中的换行符的数量是否达到规则中的行数门 限, 若达到该门限, 对消息内容按列进行关键词匹配分析, 判断消息是否违 反关键词;
步骤 D. 分析模块对同一用户在一个规则时长内违反关键词的短消息数 进行计数, 判断计数值是否达到违规门限, 若达到则判定该用户违规。
图 1示出了根据本发明的示例性实施例的短消息监控方法的流程图, 包 括:
5101 , 接收短信中心的监控请求, 从请求消息中解析出主叫号码、 消息 内容、 发送时间等信息。 执行下一步 S102。
5102 , 从上述配置的监控规则中取出一条监控规则。 取出的监控规则将 为以下匹配、 分析和判定等过程提供依据。 执行下一步 S103。
5103 , 基于监控规则按照关键词内容对消息进行匹配分析。 若关键词内 容为单个关键词, 将消息内容与关键词进行匹配即可; 若关键词内容为一组 关键词的逻辑组合, 需将消息内容与关键词进行匹配, 并按照规则内容中的 逻辑关系进行分析。 执行下一步 S104。
5104, 根据 S103中匹配分析的结果, 判定该消息是否违反关键词。 若违 反, 执行 S105; 否则, 执行 S108。
5105 , 对违反关键词的消息进行计数, 基于监控规则和消息发送时间, 计算一个规则时长内所发送的违反关键词的消息数量, 执行下一步 S106。
5106,基于监控规则,将 S105中的计算值与规则中的违规门限进行比较, 若计算值达到违规门限, 执行 S107 , 否则执行 S113。
5107 , 判定该用户违规, 并将该结果反馈给短信中心, 结束此次流程, 等待接收短信中心的监控请求触发新的流程。
S108, 基于消息内容, 计算其所包含的换行符数量, 执行下一步 S109。
S109,基于监控规则,将 S108中的计算值与规则中的行数门限进行比较, 若计算值达到行数门限, 执行 S110; 否则, 执行 S113。 5110, 对消息内容进行预处理, 可包括如下操作: ( 1 )将消息内容按照 列的顺序进行重新排列, 例如原消息内容为 Cl l C12 C13<换行 > C21 C22 C23<换行 > C31 C32 (其中 C11,C12, ... ...表示文字或其它符号, <换行 >表示 换行符), 则重新排序后的内容为 1。21。23 2。22。32 3。23 , 如图 2所示。
( 2 )由于原消息内容的列间可能以空格或其它符号作分隔, 故还可对重 新排序后的内容进行过滤, 去除其中的空格和其它符号, 只保留文字部分。 执行下一步 Sl l l。
5111 , 基于监控规则按照关键词内容对预处理后的消息进行匹配分析, 具体方法同 S103。 执行下一步 S112。
5112,根据 Si l l中匹配分析的结果,判定预处理后的消息是否违反关键 词。 若违反, 执行 S105; 否则, 执行 S113。
5113 , 判断是否还存在其它监控规则, 若存在, 执行 S102; 否则, 执行 S114。
S114, 判定该用户未违规, 并将该结果反馈给短信中心, 结束此次流程, 等待接收短信中心的监控请求触发新的流程。
图 3 示出了根据本发明的示例性实施例的短消息监控系统的架构示意 图。 结合图 3可以看出该系统包括:
控制台(人机交互界面) 301 , 其设置为监控规则等配置以及用户信息的 显示, 即该控制台结合了规则定义模块和显示模块的功能。 在该控制台上, 既可以对监控规则等配置数据进行配置、 查看和修改, 又可以将系统的监控 结果进行显示。 控制台的数据配置完成后, 将配置数据同步给分析模块和数 据库管理操作模块。
分析模块 302, 其设置为接收短消息中心的消息, 按照控制台配置的监 控规则对用户所发送的消息进行监控, 对用户是否违规做出判定, 将判定结 果发送给短信中心。 对于违规用户, 将其所发送的消息传给数据库管理操作 模块 303进行插入数据库 304操作, 目的在于对违规用户消息进行记录, 以 便后续查证、 统计等使用。
数据库管理操作模块 303 , 功能如下: ( 1 )操作数据库 304 , 对监控规 则等配置数据进行入库、 查询和修改等操作, 并将结果发送控制台 301 , 供 其展示; ( 2 )将分析模块 302所发送的违规用户信息记入数据库 304 , 从而 为后续统计分析和控制台 301 的事后查询等操作提供数据; (3 )对数据库 304中记录的违规用户信息进行查询、 统计, 并将结果发送控制台 301 , 供其 展示。
从以上的描述中可以看出, 本发明实施方式所提供的上述技术方案实现 了如下技术效果:在监控过程中引入了对消息内容按列进行关键词匹配分析, 这样可有效的防止垃圾短信的发送者为逃避系统的监控, 将消息中的文字内 容按列的形式进行排列后发送。
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序 来指令相关硬件完成, 所述程序可以存储于计算机可读存储介质中, 如只读 存储器、 磁盘或光盘等。 可选地, 上述实施例的全部或部分步骤也可以使用 一个或多个集成电路来实现。 相应地, 上述实施例中的各模块 /单元可以釆用 硬件的形式实现, 也可以釆用软件功能模块的形式实现。 本发明实施例不限 制于任何特定形式的硬件和软件的结合。
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保护 范围, 凡在本发明的精神和原则之内所作的任何修改、 等同替换和改进等, 均应包含在本发明的保护范围之内。
工业实用性
上述实施方式中, 通过在监控过程中引入对消息内容按列进行关键词匹 配分析, 可对按列排序的消息进行有效的监控, 防止垃圾短信发送者利用现 有系统的漏洞, 将消息中的文字内容按列的形式进行排列后发送, 以逃避系 统的监控。 由于按列排序的消息的显著特征之一就是消息内容被编辑为多行, 所以在对消息内容进行按行监控的基础上, 先对消息中含有的换行符的数量 进行统计, 并只对含有一定数量换行符的消息进行按列分析、 监控, 这样既 可以有效的对按列排序的消息进行有效的监控, 又不至于给系统增加过多的 负担。

Claims

权 利 要 求 书
1、 一种短消息监控方法, 包括:
配置监控规则, 所述监控规则中包括关键词内容;
对待监控的短消息, 当所述短消息满足按列匹配条件时, 则按列对所述 短消息中的内容与所述监控规则中的关键词内容进行匹配分析, 当判断所述 短消息的内容与所述关键词内容相匹配时, 判断所述短消息违反关键词。
2、 如权利要求 1所述的方法, 其中,
所述监控规则中还包括行数门限;
所述按列匹配条件包括: 所述短消息中的行数达到所述行数门限。
3、 如权利要求 1所述的方法, 其中, 所述按列对所述短消息中的内容与 所述监控规则中的关键词内容进行匹配分析的步骤包括:
将所述短消息的内容按照列的顺序重新排列, 并过滤所述短消息中的非 文字内容, 将过滤后的文字内容与所述监控规则中的关键词内容进行匹配分 4、 如权利要求 1或 2所述的方法, 其中, 所述满足按列匹配条件是指: 按行对所述短消息中的内容与所述监控规则中的关键词内容进行匹配分 析时, 判断所述短消息未违反关键词。
5、 如权利要求 1所述的方法, 其还包括:
所述监控规则中还包括规则时长和违规门限;
对所述规则时长中同一用户违反关键词的短消息进行计数, 当计数结果 达到所述违规门限时, 则判断所述用户违规。
6、 一种短消息监控系统, 包括:
规则定义模块, 其设置为配置监控规则, 所述监控规则中包括关键词内 容; 以及
分析模块, 其设置为对待监控的短消息, 当所述短消息满足按列匹配条 件时, 则按列对所述短消息中的内容与所述监控规则中的关键词内容进行匹 配分析, 当判断所述短消息的内容与所述关键词内容相匹配时, 判断所述短 消息违反关键词。
7、 如权利要求 6所述的系统, 其中,
所述监控规则中还包括行数门限;
所述按列匹配条件包括: 所述短消息中的行数达到所述行数门限。
8、 如权利要求 6所述的系统, 其中, 所述分析模块是设置为按如下方式 按列对所述短消息中的内容与所述监控规则中的关键词内容进行匹配分析: 所述分析模块将所述短消息的内容按照列的顺序重新排列, 并过滤所述短消 息中的非文字内容, 将过滤后的文字内容与所述监控规则中的关键词内容进 行匹配分析。
9、 如权利要求 6或 7所述的系统, 其中, 所述分析模块还设置为按如下 方式判断是否满足按列匹配条件: 按行对所述短消息中的内容与所述监控规 则中的关键词内容进行匹配分析时, 所述短消息未违反关键词。
10、 如权利要求 6所述的系统, 其中,
所述监控规则中还包括规则时长和违规门限;
所述分析模块还设置为: 对所述规则时长中同一用户的违反关键词的短 消息进行计数, 当计数结果达到所述违规门限, 则判断所述用户违规。
PCT/CN2012/072760 2011-11-30 2012-03-22 一种短消息监控方法和系统 WO2013078798A1 (zh)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201110389513.2 2011-11-30
CN201110389513 2011-11-30
CN201210037021.1A CN102595357B (zh) 2011-11-30 2012-02-17 一种短消息监控方法和系统
CN201210037021.1 2012-02-17

Publications (1)

Publication Number Publication Date
WO2013078798A1 true WO2013078798A1 (zh) 2013-06-06

Family

ID=46483474

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/072760 WO2013078798A1 (zh) 2011-11-30 2012-03-22 一种短消息监控方法和系统

Country Status (2)

Country Link
CN (1) CN102595357B (zh)
WO (1) WO2013078798A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113344246A (zh) * 2021-05-11 2021-09-03 广东核电合营有限公司 一种核电厂监督要求优化方法
CN114866643A (zh) * 2022-05-02 2022-08-05 北京万合恒安科技有限公司 一种基于大数据的通讯数据天网监控系统

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104735048B (zh) * 2014-12-02 2019-02-12 北京奇虎科技有限公司 一种游戏中发布信息的监控方法和装置
CN104602206A (zh) * 2014-12-31 2015-05-06 上海大汉三通通信股份有限公司 一种垃圾短信识别方法与系统

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101324883A (zh) * 2008-07-31 2008-12-17 电子科技大学 一种变异关键词的提取方法
CN101938565A (zh) * 2010-09-10 2011-01-05 中兴通讯股份有限公司 短信处理方法及移动终端
CN102111723A (zh) * 2009-12-24 2011-06-29 上海粱江通信系统股份有限公司 一种分析短信消息频次与内容识别垃圾短消息用户的方法

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101304589A (zh) * 2008-04-14 2008-11-12 中国联合通信有限公司 利用短信网关发送垃圾短信的监控与过滤方法及系统

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101324883A (zh) * 2008-07-31 2008-12-17 电子科技大学 一种变异关键词的提取方法
CN102111723A (zh) * 2009-12-24 2011-06-29 上海粱江通信系统股份有限公司 一种分析短信消息频次与内容识别垃圾短消息用户的方法
CN101938565A (zh) * 2010-09-10 2011-01-05 中兴通讯股份有限公司 短信处理方法及移动终端

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113344246A (zh) * 2021-05-11 2021-09-03 广东核电合营有限公司 一种核电厂监督要求优化方法
CN114866643A (zh) * 2022-05-02 2022-08-05 北京万合恒安科技有限公司 一种基于大数据的通讯数据天网监控系统
CN114866643B (zh) * 2022-05-02 2024-01-12 西安唯海智慧安防技术有限公司 一种基于大数据的通讯数据天网监控系统

Also Published As

Publication number Publication date
CN102595357A (zh) 2012-07-18
CN102595357B (zh) 2018-05-18

Similar Documents

Publication Publication Date Title
US9608961B2 (en) Firewall policy management
JP6385896B2 (ja) 無線装置でコンテンツ変換を管理する装置および方法
KR101010302B1 (ko) Irc 및 http 봇넷 보안 관제를 위한 관리 시스템 및 그 방법
EP2779572B1 (en) System and method for monitoring authentication attempts
US7503070B1 (en) Methods and systems for enabling analysis of communication content while preserving confidentiality
US8667121B2 (en) System and method for managing data and policies
CN107733863B (zh) 一种分布式hadoop环境下的日志调试方法和装置
US20080195713A1 (en) Method and system for transmitting an electronic message
WO2017193997A1 (zh) 一种短信过滤方法和系统
EP1956776B1 (en) Method and system for transmitting an electronic message
WO2010145182A1 (zh) 短消息监控方法和系统
CN102231888A (zh) 一种监控方法和装置
JP4903386B2 (ja) 事前選択されたデータに関し探索可能な情報コンテンツ
WO2013078798A1 (zh) 一种短消息监控方法和系统
KR20210083936A (ko) 사이버 위협정보 수집 시스템
CN103888919A (zh) 短消息监控方法及装置
CN101460938B (zh) 同步消息管理系统及方法
CN110362993A (zh) 恶意进程识别方法、终端、服务器、系统及存储介质
WO2016037489A1 (zh) Rcs垃圾消息的监控方法、装置及系统
WO2011127692A1 (zh) 一种短消息监控装置及方法
CN112507304A (zh) 一种用于退役军人的信息化管理系统
WO2005018152A1 (fr) Systeme et procede pour la surveillance intelligente de centres de messages
CN106330473A (zh) 网关管理方法及装置
CN114024861A (zh) 一种结合内容审计的用户上网行为审计的方法及系统
CN110351267B (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: 12853268

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

Country of ref document: EP

Kind code of ref document: A1