Anti-spam short message device, system and method

文档序号:53236 发布日期:2021-09-28 浏览:29次 中文

阅读说明:本技术 一种反垃圾短信装置、系统及方法 (Anti-spam short message device, system and method ) 是由 强贵程 于 2021-06-25 设计创作,主要内容包括:本发明公开了一种反垃圾短信装置、系统及方法,该反垃圾短信装置包括:运营服务端用于建立短信发送端与短信接收端的通信通道,以及获取短信发送端发送的短信,运营服务端内设置有反垃圾短信模块,反垃圾短信模块用于对短信进行识别过滤,并发送过滤后的短信。通过实施本发明,在运营商服务端完成了短信的过滤,阻止了垃圾短信发送到用户,减少了网络资源的浪费和用户端存储空间的占用。(The invention discloses a device, a system and a method for preventing spam short messages, wherein the device for preventing spam short messages comprises: the operation server is used for establishing a communication channel between the short message sending end and the short message receiving end and obtaining the short messages sent by the short message sending end, an anti-spam short message module is arranged in the operation server and used for identifying and filtering the short messages and sending the filtered short messages. By implementing the invention, the short message filtering is completed at the service end of the operator, the junk short message is prevented from being sent to the user, and the waste of network resources and the occupation of the storage space of the user end are reduced.)

1. An anti-spam device, comprising: the operation of the service end is carried out,

the operation server is used for establishing a communication channel between the short message sending terminal and the short message receiving terminal and acquiring the short message sent by the short message sending terminal;

and the operation server is internally provided with an anti-spam short message module which is used for identifying and filtering the short messages and sending the filtered short messages.

2. The anti-spam message device of claim 1, wherein the anti-spam message module comprises:

the spam message identification submodule is used for identifying spam messages in the short messages based on the metadata of the short messages;

and the spam message filtering submodule is used for filtering the spam messages.

3. The anti-spam device of claim 2, wherein the spam identification sub-module is specifically configured to:

and performing characteristic analysis based on at least one of the sending end number, the receiving end number, the short message content, the ESME sending party account and the ESME receiving party account, and judging whether the short message belongs to spam short messages.

4. The anti-spam device of claim 3, wherein the spam identification sub-module is specifically configured to perform at least one of the following steps:

judging whether the prefix number of the sending end number or the receiving end number is matched with a preset spam message characteristic, and if any one of the sending end number and the receiving end number is matched with the preset spam message characteristic, judging the message is a spam message;

and judging whether the short message content contains preset spam short message content, and if so, judging that the short message is a spam short message.

5. The anti-spam device of claim 1, wherein the spam filtering sub-module is specifically configured to perform at least one of the following steps:

directly rejecting and/or sensitive short message snapshot operation is carried out on the identified spam short messages;

carrying out flow control on the identified short message sending end of the junk short message or sending a prompt for manual audit;

and sending a prompt alarm to the short message receiving terminal.

6. An anti-spam system, comprising a short message sending end, a short message receiving end and an anti-spam device as claimed in any one of claims 1-5, wherein:

the short message sending terminal is used for obtaining an operation instruction and sending a short message based on the operation instruction;

the anti-spam short message device is used for establishing a communication channel between a short message sending end and a short message receiving end, acquiring a short message sent by the short message sending end, identifying and filtering the short message, and sending the filtered short message;

the short message receiving terminal is used for receiving the filtered short message.

7. A method for preventing spam messages is characterized by comprising the following steps:

establishing a communication channel between a short message sending terminal and a short message receiving terminal, and acquiring a short message sent by the short message sending terminal;

and identifying and filtering the short messages, and sending the filtered short messages.

8. The method of claim 7, wherein the step of identifying and filtering the short messages comprises:

identifying spam short messages in the short messages based on the metadata of the short messages;

and filtering the spam messages.

9. The anti-spam method of claim 8, wherein the identifying spam messages in the text messages based on the metadata of the text messages comprises:

and performing characteristic analysis based on at least one of the sending end number, the receiving end number, the short message content, the ESME sending party account and the ESME receiving party account, and judging whether the short message belongs to spam short messages.

10. The method of claim 9, wherein the analyzing the characteristics based on the sending end number or the receiving end number and determining whether the short message belongs to spam message comprises:

and judging whether the prefix number of the sending end number or the receiving end number is matched with the preset spam message characteristics, and if any one of the sending end number and the receiving end number is matched with the preset spam message characteristics, judging that the message is a spam message.

Technical Field

The invention relates to the technical field of information processing, in particular to a device, a system and a method for preventing spam short messages.

Background

With the popularization of mobile phones, the communication mode of short messages increasingly affects our lives, and a large number of worthless short messages fill our lives while enjoying convenience. Useless spam messages already occupy network resources of operators and even directly influence user experience. The existing common short message anti-spam method is that the mobile terminal completes the interception of short messages by a system and an application program, the terminals of different manufacturers are different, and the identification and interception of spam short messages can be performed only by analyzing mobile phone short messages, which may affect the personal privacy, occupy the processing resources of the mobile terminal of a user and also occupy a large amount of network resources.

Disclosure of Invention

Therefore, the technical problem to be solved by the present invention is to overcome the defect that the existing anti-spam method occupies the processing resources and network resources of the user mobile terminal, thereby providing an anti-spam device, system and method.

According to a first aspect, an embodiment of the present invention discloses an anti-spam apparatus, including: the operation service end is used for establishing a communication channel between the short message sending end and the short message receiving end and acquiring the short message sent by the short message sending end; and the operation server is internally provided with an anti-spam short message module which is used for identifying and filtering the short messages and sending the filtered short messages.

Optionally, the anti-spam module includes: the spam message identification submodule is used for identifying spam messages in the short messages based on the metadata of the short messages; and the spam message filtering submodule is used for filtering the spam messages.

Optionally, the spam message identification sub-module is specifically configured to: and performing characteristic analysis based on at least one of the sending end number, the receiving end number, the short message content, the ESME sending party account and the ESME receiving party account, and judging whether the short message belongs to spam short messages.

Optionally, the spam identification sub-module is specifically configured to perform at least one of the following steps: judging whether the prefix number of the sending end number or the receiving end number is matched with the preset spam message characteristics, and if any one of the sending end number and the receiving end number is matched with the preset spam message characteristics, judging the message is a spam message; and judging whether the short message content contains preset spam short message content, and if so, judging that the short message is a spam short message.

Optionally, the spam filtering sub-module is specifically configured to perform at least one of the following steps: directly rejecting and/or sensitive short message snapshot operation is carried out on the identified spam short messages; carrying out flow control on the short message sending end of the identified spam short message or sending a prompt for carrying out manual audit; and sending a prompt alarm to the short message receiving terminal.

According to a second aspect, an embodiment of the present invention further discloses an anti-spam system, which includes a short message sending end, a short message receiving end, and the anti-spam apparatus according to any of the embodiments of the first aspect and the first aspect, wherein: the short message sending terminal is used for obtaining an operation instruction and sending a short message based on the operation instruction; the anti-spam short message device is used for establishing a communication channel between a short message sending end and a short message receiving end, acquiring a short message sent by the short message sending end, identifying and filtering the short message, and sending the filtered short message; the short message receiving end is used for receiving the filtered short message.

According to a third aspect, an embodiment of the present invention further discloses an anti-spam method, including: establishing a communication channel between a short message sending terminal and a short message receiving terminal, and acquiring a short message sent by the short message sending terminal; and identifying and filtering the short messages, and sending the filtered short messages.

Optionally, the process of identifying and filtering the short message includes: identifying spam short messages in the short messages based on the metadata of the short messages; and filtering the spam messages.

Optionally, the identifying spam messages in the short messages based on the metadata of the short messages includes: and performing characteristic analysis based on at least one of the sending end number, the receiving end number, the short message content, the ESME sending party account and the ESME receiving party account, and judging whether the short message belongs to spam short messages.

Optionally, performing feature analysis based on the sending end number or the receiving end number, and determining whether the short message belongs to a spam short message, including: and judging whether the prefix number of the sending end number or the receiving end number is matched with the preset spam message characteristics, and if any one of the sending end number and the receiving end number is matched with the preset spam message characteristics, judging that the message is a spam message.

The technical scheme of the invention has the following advantages:

the invention provides an anti-spam short message device, a system and a method.A service end is used for establishing a communication channel between a short message sending end and a short message receiving end and acquiring a short message sent by the short message sending end, an anti-spam short message module is arranged in the service end and used for identifying and filtering the short message and sending the filtered short message. The method and the device finish the short message filtering at the service end of the operator, prevent the junk short messages from being sent to the user, and reduce the waste of network resources and the waste of user side processing resources.

Drawings

In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.

Fig. 1 is a block diagram of a specific example of an anti-spam apparatus according to an embodiment of the present invention;

FIG. 2 is a diagram of an embodiment of an anti-spam system according to the present invention;

fig. 3 is a logic diagram of a specific example of an anti-spam system in an embodiment of the present invention;

fig. 4 is a block diagram of a specific example of an anti-spam system according to an embodiment of the present invention;

fig. 5 is a flowchart illustrating a specific example of a method for anti-spam messages according to an embodiment of the present invention.

Detailed Description

The technical solutions of the present invention will be described clearly and completely with reference to the accompanying drawings, and it should be understood that the described embodiments are only some embodiments, but not all embodiments, of the present invention. All other embodiments, which can be obtained by a person skilled in the art based on the embodiments of the present invention without any creative effort, belong to the protection scope of the present invention.

In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicate orientations or positional relationships based on those shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed in a particular orientation, and be operated, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.

In the description of the present invention, it should be noted that unless otherwise explicitly stated or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; the two elements may be directly connected or indirectly connected through an intermediate medium, or may be communicated with each other inside the two elements, or may be wirelessly connected or wired connected. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.

In addition, the technical features related to the different embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.

The embodiment discloses an anti-spam device, which can be used in an operation service platform (center) to achieve the purpose of identifying and filtering spam messages, as shown in fig. 1, the anti-spam device comprises:

the operation server 1 is used for establishing a communication channel between a short message sending end and a short message receiving end and acquiring the short message sent by the short message sending end.

For example, the operation server may be a Short Message Service Center (SMSC) of china mobile, china unicom, china telecom, and the like, and the selection of the operation server is not limited in this embodiment, and can be determined by a person skilled in the art according to actual needs. The sending end sends the short message to the receiving end, and sends the short message to the receiving end through the operation service end, and the sending end can be a merchant, a bank, an individual user and the like.

The operation server 1 is internally provided with an anti-spam short message module 101, which is used for identifying and filtering the short messages and sending the filtered short messages.

Illustratively, the anti-spam short message module 101 may be disposed at the operation server 1, and in this embodiment, the anti-spam short message module 101 may serve as an independent system module of the operation server 1, and may be based on a stateless module in the C/S mode, and under a condition that the operation server 1 starts the anti-spam short message module 101, the short message may request the anti-spam short message module 101 to perform filtering, and after recognizing that the short message is a spam short message, generate a corresponding anti-spam action, and process the short message, for example, may directly reject delivery of the short message, or perform tagging, and the like.

In the anti-spam short message device provided by this embodiment, the operation server is configured to establish a communication channel between the short message sending terminal and the short message receiving terminal, and obtain the short message sent by the short message sending terminal, and an anti-spam short message module is disposed in the operation server and is configured to identify and filter the short message, and send the filtered short message. By the anti-spam short message device, short messages are filtered at the service end of an operator, spam short messages are prevented from being sent to users, and waste of network resources and waste of processing resources of the users are reduced.

As an optional embodiment of the present invention, as shown in fig. 2, the anti-spam module 101 includes: a spam message identification submodule 201, configured to identify spam messages in the short messages based on metadata of the short messages; and the spam message filtering submodule 202 is configured to filter the spam messages.

Illustratively, the spam identification sub-module 201 is configured to identify metadata of the short message, where the metadata of the short message is a feature that can embody a form of a content of the short message, such as a sending end number of the short message, a receiving end number of the short message, the content of the short message, and the like. The spam message can be identified by identifying and matching several preset prefix or suffix numbers of the receiving end number and the sending end number of the message to identify sensitive characters contained in the content of the message. The embodiment does not limit the identification content and the method of the spam short message content, and a person skilled in the art can determine the identification content and the method according to actual needs.

The spam filtering sub-module 202 is configured to perform corresponding processing on the identified spam, and may directly reject the spam to the receiving end or perform manual check on the content of the short message with inaccurate identification, for example.

As an optional implementation manner of the present invention, the spam message identification sub-module 201 is specifically configured to: and performing characteristic analysis based on at least one of the sending end number, the receiving end number, the short message content, the ESME sending party account and the ESME receiving party account, and judging whether the short message belongs to spam short messages.

For example, the spam identification may be performed by identifying a receiving end number and a sending end number, and for details, reference may be made to the process of identifying metadata of the short message by the spam identification sub-module 201, which is not described herein again.

In this embodiment, a Short Message sent by a Service Provider may be filtered in a Short Message received by an ESME, where the ESME is an Extended Short Message Entity (ESME), for example, a Service Provider (SP) applies for a Short Message sending interface from a Service Provider (Service Provider) by a business-inviting bank, and the Service Provider may allocate and connect an IP port: 192.168.0.110/5000, Account cmb, and password cmb1234, the recruit will use Account: cmb, password: the cmb1234 is connected to 192.168.0.110/5000, and after connecting to the port, it can submit the short message, the submitted short message takes 95555 as the sender, the receiver is user 13600000000, at this time: the cmb is the sender ESME account, 95555 is the SMS sender number, 13600000000 is the SMS receiver.

As an optional embodiment of the present invention, the spam message identification sub-module is specifically configured to perform the following steps:

judging whether the prefix number of the sending end number or the receiving end number is matched with the preset spam message characteristics, and if any one of the sending end number and the receiving end number is matched with the preset spam message characteristics, judging the message as a spam message; alternatively, the first and second electrodes may be,

judging whether the short message content contains preset spam short message content, and if so, judging the short message to be a spam short message; alternatively, the first and second electrodes may be,

in an embodiment, in order to improve the judgment accuracy of spam messages and avoid erroneous judgment, when the prefix number of the sending end number or the receiving end number is judged to be matched with the preset spam message characteristics and the content of the message is judged to contain the preset spam message content, the message is judged to be spam messages.

Illustratively, the identification of anti-spam messages may be designed based on an anti-spam filter, for example, the spam filter rules include: prefix matching, content inclusion, size exclusion inclusion, regular expression, equal to, not equal to, and these rules are used to identify the sending end, receiving end number of the short message and the content of the short message, for example, as shown in fig. 3, the filter is designed for a specific spam filter of this embodiment, and this filter has 3 logic and conditions: the sender number starts at 86138 or at 999; the receiving end number contains 999 or 86138; the short message content meets the regular expression "(. The embodiment does not limit the number identification method of the receiving end and the sending end of the spam message and the filtering method of the message content, and the technical personnel in the field can determine the spam message according to the actual needs. The embodiment does not limit the identification method of the spam short message content, and a person skilled in the art can determine the spam short message content according to actual needs.

As an optional embodiment of the present invention, the spam filtering sub-module 202 is specifically configured to perform at least one of the following steps: directly rejecting and/or sensitive short message snapshot operation is carried out on the identified spam short messages; or, the message sending end of the identified spam message is subjected to flow control or sent to be prompted for manual audit; or sending a prompt alarm to a short message receiving terminal; or, in an embodiment, in order to improve the warning degree of spam messages and avoid that a user does not notice only one warning mode, the operation of directly rejecting and/or sensing short message snapshots can be performed, and a prompt warning is sent to a short message receiving end while the short message sending end performs flow control or sends manual audit prompt.

For example, the operation on the identified spam messages may be that, for example, the message sent by the sending end conforms to the characteristics of spam messages, the delivery of the message is prevented, and the system retains the prevented message information; or the flow control is carried out on the sending end of the identified spam short message, the sending rate of the sending end is controlled, for example, the sending rate of the short message sent by certain ESME (SP) is limited, and the system can be effectively prevented from being impacted by the spam short message from the SP; or sensitive short message content reminding is carried out on the identified spam short messages, when the short messages are considered to contain sensitive or fraud short message characteristics, alarm short messages can be sent to a receiving end, and then snapshot storage is carried out; or the identified short message content is judged inaccurately and manual review intervention is needed, after manual review, the anti-spam system can be informed to reject the spam short message or can send the spam short message in a mode of inputting an instruction, when the manual review is overtime or excessive, the system rejects or delivers the spam short message to a receiving end according to default operation, and the operation on the spam short message in the embodiment can be one or more of the operations. The reject mode and the check mode of the spam messages are not limited in the embodiment, and can be determined by a person skilled in the art according to actual needs.

The embodiment also discloses an anti-spam system, as shown in fig. 4, the system includes a short message sending end, a short message receiving end and an anti-spam device, wherein: the short message sending terminal is used for acquiring an operation instruction and sending a short message based on the operation instruction; the anti-spam short message device is used for establishing a communication channel between a short message sending end and a short message receiving end, acquiring a short message sent by the short message sending end, identifying and filtering the short message, and sending the filtered short message, and in practical application, the anti-spam short message device can be the anti-spam short message device in any embodiment; the short message receiving terminal is used for receiving the filtered short message.

The anti-spam short message system provided by the invention comprises a short message sending end, a short message receiving end and an anti-spam short message device according to any one of the above embodiments, wherein: the short message sending terminal is used for obtaining an operation instruction and sending a short message based on the operation instruction; the anti-spam short message device is used for establishing a communication channel between a short message sending end and a short message receiving end, acquiring the short messages sent by the short message sending end, identifying and filtering the short messages and sending the filtered short messages; the short message receiving terminal is used for receiving the filtered short message. The application finishes the short message filtering in the service of the operator, prevents the junk short messages from being sent to the user, and reduces the waste of network resources and the occupation of processing space of the user side.

The embodiment also discloses a method for preventing spam messages, as shown in fig. 5, including:

step S501: establishing a communication channel between a short message sending end and a short message receiving end, and acquiring the short message sent by the short message sending end. For details, reference may be made to the process of operating the server 1 according to any of the above device embodiments, and details are not described herein again.

Step S502: and identifying and filtering the short messages, and sending the filtered short messages. For details, reference may be made to the process of identifying and filtering spam messages described in any of the above device embodiments, which is not described herein;

the anti-spam short message method provided by the invention establishes a communication channel between a short message sending end and a short message receiving end, and obtains a short message sent by the short message sending end; and identifying and filtering the short messages, and sending the filtered short messages. The method and the device finish the short message filtering in the service of the operator, prevent the junk short messages from being sent to the user, and reduce the waste of network resources and the occupation of the storage space of the user side.

As an optional implementation manner of the present invention, the process of identifying and filtering the short message includes: identifying spam short messages in the short messages based on the metadata of the short messages; and filtering the spam messages. For example, the details are given in the above-mentioned device contents and will not be described here.

As an optional embodiment of the present invention, identifying spam messages in a short message based on metadata of the short message includes: and performing characteristic analysis based on at least one of the sending end number, the receiving end number, the short message content, the ESME sending party account and the ESME receiving party account, and judging whether the short message belongs to spam short messages. For exemplary purposes, details are found in the above apparatus, and are not described herein.

As an optional embodiment of the present invention, performing feature analysis based on a sending end number or a receiving end number, and determining whether a short message belongs to a spam short message includes: and judging whether the prefix number of the sending end number or the receiving end number is matched with the preset spam message characteristics, and if any one of the sending end number and the receiving end number is matched with the preset spam message characteristics, judging the message as a spam message. For exemplary purposes, details are found in the above apparatus, and are not described herein.

Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations fall within the scope defined by the appended claims.

12页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:被动授权控制方法、装置及系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!