WO2017193997A1 - Short message filtering method and system - Google Patents

Short message filtering method and system Download PDF

Info

Publication number
WO2017193997A1
WO2017193997A1 PCT/CN2017/084140 CN2017084140W WO2017193997A1 WO 2017193997 A1 WO2017193997 A1 WO 2017193997A1 CN 2017084140 W CN2017084140 W CN 2017084140W WO 2017193997 A1 WO2017193997 A1 WO 2017193997A1
Authority
WO
WIPO (PCT)
Prior art keywords
short message
determined
content
determining
preset
Prior art date
Application number
PCT/CN2017/084140
Other languages
French (fr)
Chinese (zh)
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 WO2017193997A1 publication Critical patent/WO2017193997A1/en

Links

Images

Classifications

    • 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
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]

Definitions

  • the embodiments of the present invention relate to the field of communications technologies, and in particular, to a short message filtering method and system.
  • SMS communication is one of the main ways for people to communicate daily. While providing users with convenient communication methods, a large number of harassing text messages also bring confusion to users.
  • mode 1 mainly through the spam short message monitoring system at the operator level, and its main function is to determine whether the sending behavior of the calling number within the unit time period is reached.
  • the violation threshold determines whether the calling user belongs to the offending user, and then restricts or prohibits the calling user's short message sending function, which reduces the harassment behavior of the spam message to a certain extent.
  • the monitoring rule consisting of the number of the calling number in the unit time and the dispersion of the called number is usually used to perform the calling behavior of the calling user within a certain period of time. Monitoring, the disadvantage of this method is that the anti-harassment function cannot be set according to the will of the receiving user.
  • Manner 2 The harassment message sent by the calling party is filtered by using the value-added service system of the operator and setting the blacklist of the calling number. This method is a passive way to shield and harass text messages. Users need to frequently set and update the numbers on the blacklist. Once the sender number of a harassing message is not on the blacklist, it will be sent to the fish. The receiver brings a bad experience to the receiver. Therefore, the interception of the harassment message in this way depends on the blacklist, and the uncertainty of the sender of the message appears to be powerless, and the user needs to frequently update the blacklist, and the user experience is poor. Therefore, how to improve the pertinence of harassment SMS interception, improve the accuracy of harassing SMS interception, and harass SMS interception according to the individual wishes of users are technical problems that need to be solved in the prior art.
  • the main technical problem to be solved by the embodiments of the present invention is to provide a short message filtering method and system, which solves the problem of poor pertinence, low accuracy, and inability to harass SMS filtering according to the will of the user in the prior art. .
  • an embodiment of the present invention provides a short message filtering method, including:
  • Determining whether the short message is a harassing short message according to a preset judgment rule includes: determining whether the content of the short message satisfies the first determining condition of the preset short message content;
  • the judgment result is sent to the short message center, and the user is notified to filter the to-be-determined short message that is determined to be the harassing short message.
  • the manner of determining whether the content of the short message to be determined satisfies the first determination condition of the preset short message content includes at least one of the following two methods:
  • Semantic analysis is performed on the content of the judged short message, and the analyzed semantics are matched with the semantics of the preset suspected harassing short message, and the first judgment condition that the content of the short message to be determined satisfies the preset short message content is determined according to the matching result.
  • the determining rule further includes: a second determining condition for determining whether the sender number of the short message satisfies the preset number.
  • the second determining condition for determining whether the content of the short message to be determined meets the preset number includes: determining whether the sender number of the short message to be determined is on the blacklist of the calling number, and/or determining the sender number of the short message to be determined. Whether it is on the whitelist of calling numbers.
  • the method further includes: storing the harassment short message.
  • the method further includes: receiving a modification of the judgment rule by the user, and updating the judgment rule.
  • the method further includes: receiving an abnormal sender number transmitted by the system side, and recording the same in the blacklist of the calling number, where the abnormal sender number includes: a sender number whose sending behavior is abnormal.
  • an embodiment of the present invention further provides a short message filtering system, including
  • a receiving module configured to receive a short message to be determined sent by the short message center
  • the determining module is configured to determine, according to the preset determining rule, whether the short message is a harassing short message; the determining rule includes: determining whether the content of the short message satisfies the first determining condition of the preset short message content;
  • the sending module is configured to send the judgment result to the short message center, and notify the user to filter the short message to be determined that is determined to be the harassing short message.
  • the method further includes: the determining module includes at least one of a keyword determining submodule and a semantic determining submodule;
  • a keyword judging sub-module configured to perform content of the to-be-determined short message with a preset suspected harassing short message keyword Matching, determining, according to the matching result, whether the content of the to-be-determined short message satisfies the first determining condition of the preset short message content;
  • the semantic judgment sub-module is configured to perform semantic analysis on the content of the short message to be judged, and match the analyzed semantics with the semantics of the preset suspected harassing short message, and determine, according to the matching result, whether the content of the determined short message satisfies the preset short message content.
  • the first judgment condition is configured to perform semantic analysis on the content of the short message to be judged, and match the analyzed semantics with the semantics of the preset suspected harassing short message, and determine, according to the matching result, whether the content of the determined short message satisfies the preset short message content. The first judgment condition.
  • the determining rule used by the determining module further includes: a second determining condition that determines whether the sender number of the short message satisfies the preset number.
  • the judging module further includes a number judging sub-module, configured to determine whether the sender number of the to-be-determined short message is on the blacklist of the calling number, and/or determine whether the sender number of the to-be-determined short message is on the whitelist of the calling number. .
  • a storage module is further included for storing the harassment short message.
  • the interaction module further includes: an interaction module, configured to receive a modification of the determination rule by the user, and update the determination rule.
  • the number judging sub-module is further configured to receive the abnormal sender number transmitted by the system side, and record it in the blacklist of the calling number.
  • the abnormal sender number includes: a sender number whose sending condition is abnormal.
  • the embodiment of the present application further provides a computer readable storage medium for storing a program, wherein the program is executed to cause the short message filtering device to perform the steps in the method as described above.
  • the short message filtering method and system of the embodiment of the present invention can determine whether the short message is a harassing short message before the short message center forwards the short message to the receiving party, and in particular, the embodiment of the present invention can determine whether the content of the short message satisfies the pre-determination according to the content of the short message.
  • the first judgment condition of the set short message is used to judge the short message to be judged. It is conceivable that generally the most influential message in the harassing short message is a fraudulent short message, wherein the fraudulent content is likely to include money, bank card, winning, etc.
  • FIG. 1 is a flowchart of a short message filtering method according to Embodiment 1 of the present invention
  • FIG. 2 is a schematic block diagram of a short message filtering system according to Embodiment 2 of the present invention.
  • FIG. 3 is a schematic diagram of network deployment according to Embodiment 2 of the present invention.
  • FIG. 4 is a flowchart of a method for managing a judgment rule by using a short message filtering system according to Embodiment 2 of the present invention
  • FIG. 5 is a flowchart of a method for managing short message filtering by using a short message filtering system provided by Embodiment 2 of the present invention.
  • Embodiment 1 is a diagrammatic representation of Embodiment 1:
  • This embodiment provides a short message filtering method, including:
  • S102 Determine, according to a preset determining rule, whether the short message is a harassing short message, and the determining rule includes: determining whether the content of the short message satisfies the first determining condition of the preset short message content;
  • S103 Send the determination result to the short message center, and notify the user to filter the to-be-determined short message that is determined to be the harassing short message.
  • the method for determining whether the content of the short message to be determined satisfies the first determination condition of the preset short message content includes at least one of the following:
  • the first type matching the content of the short message to be determined with the preset keyword of the suspected harassment message, and determining, according to the matching result, whether the content of the short message to be determined satisfies the preset condition of the short message content.
  • the second type semantically analyzing the content of the determined short message, matching the analyzed semantics with the semantics of the preset suspected harassing short message, and determining, according to the matching result, whether the content of the determined short message satisfies the preset short message content determining condition.
  • the second method of the embodiment is used to perform semantic recognition and judgment on the short message that is determined to be a normal short message. Identify harassing text messages with a high degree of camouflage.
  • the keyword suspected of harassing the short message may be a frequently used word summarized from a plurality of harassing short messages, such as "Happy Camp", “Very 6+1", “Winning", “Sold” Words such as "room” and “price reduction sales”.
  • these keywords can also be classified as corresponding to different doubts.
  • the types of suspected harassing SMS messages may include: real estate, commercial advertising, fraud, pornography, etc.
  • the corresponding keywords can be set to various types of harassing text messages. word.
  • the keywords of real estate text messages may include words such as "sale of housing", “price reduction”, “XX yuan/square meter”, and keywords of commercial advertisements may include words such as "sale”, “sale only”, and "price reduction”. word.
  • the process of matching the content of the judgment message with the keyword of the presumed suspected harassment message is actually a process of determining whether a keyword suspected of harassing the message is present in the message to be determined, so the method for determining the keyword has a simple process. The advantages of easy implementation.
  • the semantics of the preset suspected harassment message may be set by referring to the setting manner of the keyword of the suspected harassment message, and the semantic correspondence of the suspected harassment message is classified into different types of suspected harassing messages.
  • the analyzed semantics match the semantics of the default suspected harassment message, the same or similar semantics can be considered as a successful match.
  • Using semantic analysis to analyze the content of harassing SMS messages is more complicated than the method of matching keywords in the first method.
  • the second method can be used. Judging the content of the short message to conduct a comprehensive analysis, and obtaining relevant semantics, the analysis of the judged short message is more comprehensive and flexible, and the suspected harassment short message can be identified to a greater extent.
  • the above-mentioned judging method is based on the content of the short message, and the sender's number of the short message is used as a basis for judging the harassing short message.
  • the determining rule of the embodiment further includes the sender of the short message to be determined. Whether the number satisfies the second judgment condition of the preset number.
  • a white list of the calling number may be set, and the sender number belongs to the calling number white.
  • the short message of the list is judged as a normal short message.
  • a blacklist of the calling number can be set, and the short message whose calling number belongs to the blacklist is determined as the harassing short message.
  • the second determining condition for determining whether the content of the short message to be determined satisfies the preset number comprises: determining whether the sender number of the short message is on the blacklist of the calling number, and/or determining whether the sender number of the short message is The calling number is on the white list.
  • the whitelist of the calling number may be implemented by the user uploading his own address book
  • the blacklist of the calling number may include the number set by the user and the abnormal transmission sent by the system side and recorded to the blacklist of the calling number.
  • the party number, the abnormal sender number includes: the sender number whose message transmission behavior is abnormal.
  • the abnormal sending behavior here indicates that the frequency, time, etc. of the sender sending the short message does not satisfy the normal situation.
  • the sender's behavior is abnormal, for example, when a certain calling party If the number of messages sent within one minute exceeds the preset threshold, the number can be sent.
  • the sending behavior is judged as an abnormal sending behavior.
  • the short message sent by the number may be a harassing short message; and the time may be further determined according to the time when the calling number is sent by the calling number, for example, a certain number is in a regular rest time in the early morning.
  • the sending behavior of the number is not a normal sending behavior, and the sent short message may be a harassing short message. Therefore, in this embodiment, the abnormal sending number is received and recorded in the blacklist of the calling number, so that the harassing short message can be more accurately determined.
  • the judging rule may reduce the accuracy of the spoofing short message filtering.
  • the embodiment may accept the modification of the judging rule by the user, and update the judging rule according to the modification of the user.
  • the determination rule can be stored and extracted and used when performing the harassment message filtering. Therefore, in this embodiment, the update determination rule is understood to replace the stored old judgment by using the modified judgment rule of the user. rule.
  • the first determining condition and the second determining condition can be used together to implement the second-level judgment of whether the short message is to be harassed, and the present embodiment does not have any order for the second-level judgment.
  • the two levels of judgment methods have at least the following combinations:
  • Method 1 The first step is to match the sender number of the short message to be judged with the number on the white list of the calling number. If the matching is successful, the short message to be determined is a normal short message, and the next level of judgment is not required. If the match fails, the next level of judgment is made;
  • the first step may be that the sender number of the short message to be determined is matched with the number on the blacklist of the calling number, and if the matching is successful, the short message to be determined is a harassing short message, and the next level of judgment is not required. If the match fails, the next level of judgment is made;
  • the second step is to determine whether the content of the short message to be determined satisfies the first judgment condition of the preset short message content, and if yes, the short message to be determined is a harassing short message, if not, then not.
  • Method 2 The first step is to determine whether the content of the short message satisfies the first judgment condition of the preset short message content, and if so, the next level of judgment is performed, otherwise, the next level of judgment is not performed;
  • the sender number of the short message to be determined is matched with the number of the calling number on the list. If the matching is successful, the short message to be determined is a normal short message. If the matching fails, the short message to be determined is a harassing short message.
  • the second step may be that the sender number of the short message to be determined is matched with the number on the blacklist of the calling number, and if the matching is successful, the short message to be determined is a harassing short message.
  • determining whether the short message to be determined is a harassing short message according to a preset determination rule
  • the determination may be based on other information of the short message, for example, determining whether the short message to be determined is a harassing short message according to information such as the sending time of the short message, the sending location, and the attribution of the sender. .
  • the short message center filters the harassment short message according to the received judgment result, that is, does not send the harassment short message to the receiver, and considering the above judgment, the erroneous short message may be harassed for the user.
  • the user needs to provide the function of querying the harassing short message.
  • the embodiment can store the harassing short message for subsequent query and use by the user.
  • the sender's number can be submitted to the system to record the blacklist of the calling number, which can achieve the purpose of not requiring the user to change the blacklist update.
  • the first determination condition may be used to classify the types of the suspected spoofing short message.
  • the short message may be classified and stored according to the type of the harassing short message.
  • the short message filtering method in this embodiment can be provided by the operator for the user, and the corresponding service can be referred to as a short message filtering service, and the service can be provided as a value-added service for the user, and the user can provide the information through the operator.
  • the account registration or online registration is used to open the account. After the activation, the SMS of the registered user needs to be harassed by the SMS. Therefore, the SMS to be determined in this embodiment may also be the recipient of the SMS filtering service. User's text message.
  • the user can perform the above-mentioned judgment rule update through the user-oriented interaction platform.
  • a custom decision rule can be entered or the judgment rule can be supplemented on the interactive platform, and the current address book can be synchronized to the system for use as a new whitelist of calling numbers.
  • the number of unread harassment messages can also be displayed on the interactive platform, prompting the user to view it in a centralized manner, and providing a possibility of saving for the misjudgment.
  • the judgment result After determining the judgment result of the to-be-determined short message by using the second-level judging method of the above-mentioned harassment short message, the judgment result needs to be transmitted to the short message center, and the control short message center performs corresponding processing on the judgment short message according to the judgment result. It can be understood that there are only two kinds of judgment results in this embodiment, one is that the short message to be judged is a harassing short message, and the other is that the short message to be determined is a normal short message.
  • the processing of the short message according to the judgment result of the short message center includes the release of the normal short message, that is, the short message center sends the normal short message to the receiving party; and the filtering of the harassing short message, that is, the short message center intercepts the harassing short message and does not send it to the recipient;
  • the embodiment may also notify the SMS center to release the harassment message, but in order to remind the user, the SMS center may be notified to add the identification information to the harassment message, indicating that it is a harassment message, reminding the user to avoid being deceived, preferably, You can also use the identification information to indicate the harassment of the text message. Types of.
  • the short message filtering method of the embodiment uses the first determining condition in the determining rule to determine the content of the short message, and can accurately determine whether the short message to be determined is a harassing short message.
  • the first type of harassing interception The method only determines the harassing short message based on the sending behavior of the sender number.
  • This embodiment has the advantages of more accurate judgment and lower false positive rate, and if the number of sending the harassing short message is reduced, the transmission frequency may be avoided.
  • the first type of interception but the judgment based on the content in the embodiment of the present invention is more difficult to avoid than the prior art. Therefore, the short message filtering method in this embodiment is more adaptable, and is based on the blacklist in the second harassment interception method. Judging the harassment message, the determination method based on the content of the short message in this embodiment has the advantage of more comprehensive judgment.
  • the use of the content of the short message to be judged based on the keyword or the semantic analysis-based judgment can improve the accuracy of the spoofing short message judgment, especially the semantic analysis, so that the method for determining the harassing short message in this embodiment is more flexible, relative to the present Technically, the judgment of adapting to more types of harassing short messages is advantageous for enhancing the practicability of the short message filtering method of this embodiment.
  • the determining rule of the embodiment further includes determining, according to the second determining condition of the number, whether the sender number of the short message is on the blacklist of the calling number, and/or determining whether the sender number of the short message is in the calling number white. On the list.
  • the calling number white list for matching, it is possible to protect the short message whose sending number is on the white list but is misjudged as the harassing short message; if the calling number blacklist is used for matching, the harassment which is not determined by the short message content judgment manner can be used. SMS is authenticated to avoid reducing the user experience.
  • the harassment message is stored for the user to query and delete, and the spoofing can be saved when the erroneous filtering occurs, the user is prevented from missing the important information, causing the user's loss, and the user can be conveniently managed to harass the message. Improve the user's sense of use.
  • Embodiment 2 is a diagrammatic representation of Embodiment 1:
  • this embodiment provides a short message filtering system 2, including:
  • the receiving module 21 is configured to receive a short message to be determined sent by the short message center;
  • the determining module 22 is configured to determine, according to the preset determining rule, whether the short message is a harassing short message, and the determining rule includes: determining whether the content of the short message meets the first determining condition of the preset short message content;
  • the sending module 23 is configured to send the determination result to the short message center, and notify the user to filter the short message to be determined that is determined to be the harassing short message.
  • the content of the harassment message can include words extracted directly from the content of the message, and according to the text message
  • the result of the semantic analysis of the content is analyzed.
  • the accuracy of the determination according to the content of the short message to be determined is high.
  • the determining module 22 includes the keyword determining sub-module 221 and the semantics. Judging at least one of the sub-modules 222:
  • the keyword determining sub-module 221 is configured to match the content of the short message to be determined with the preset suspected spoofing short message keyword, and determine, according to the matching result, whether the content of the short message to be determined satisfies the first determining condition of the preset short message content;
  • the semantic judgment sub-module 222 is configured to perform semantic analysis on the content of the short message to be determined, and match the analyzed semantics with the semantics of the preset suspected harassing short message, and determine, according to the matching result, whether the content of the short message to be determined satisfies the preset short message content. The first judgment condition.
  • the keyword judging sub-module 221 and the semantic judging sub-module 222 may be used to determine the judging message to be judged.
  • the matching may be performed by using the keyword judging sub-module 221 to determine that the content of the to-be-determined short message is not pre-determined.
  • the semantic judgment module 222 is used to perform semantic analysis on the to-be-determined short message, and the analyzed semantics are matched with the semantics of the preset suspected harassing short message, and if the matching is successful, the judgment is to be determined. If the short message is determined to be a harassing short message and the matching fails, the short message to be determined is determined to be a normal short message.
  • the advantage of the keyword judging sub-module 221 and the semantic judging sub-module 222 is that two different judging methods can be used for judging a short message to be judged, and the correctness of the judging short message is determined as the harassing short message, so that the system can Timely judgments of harassing text messages that are more and more sophisticated.
  • the keyword setting of the suspected harassing short message may be referred to the relevant part of the first embodiment.
  • the keyword determining sub-module 221 of the embodiment determines that the content of the short message is matched with the preset keyword of the suspected harassing short message.
  • the process is actually a process of judging whether a keyword suspected of harassing a short message appears in the short message to be judged. Therefore, the keyword judging sub-module 221 has the advantages of being simple, convenient, and easy to implement.
  • the semantic judgment sub-module 222 can match the semantics of the content of the short message to be determined according to the semantics of the predetermined suspected harassment message, and the same or similar semantics can be regarded as a successful match.
  • the analysis method used by the semantic judgment sub-module 222 is more complicated, considering that the words harassing the short message such as fraudulent short messages are more and more difficult to identify, the second method can be used to comprehensively analyze the content of the short message to obtain relevant semantics.
  • the analysis of the judgment message is more comprehensive and flexible, and can identify the suspected harassment message to a greater extent.
  • the determination methods adopted by the keyword determination sub-module 221 and the semantic judgment sub-module 222 are based on short messages.
  • the judgment of the content is performed, and the sender number of the short message is used as a basis for judging the harassment message.
  • the determination rule of the embodiment further includes whether the sender number of the short message satisfies the preset number. The second judgment condition.
  • the present embodiment may set the calling number white list to the sender number to belong to the calling number.
  • the whitelisted text message is judged to be a normal text message.
  • the blacklist of the calling number can be set, and the short message belonging to the blacklist is determined as the harassing short message.
  • the determining module of the embodiment further includes a number determining sub-module 223, configured to determine whether the sender number of the short message is on the blacklist of the calling number, and/or determine whether the sender number of the short message is in the white list of the calling number. on.
  • a number determining sub-module 223 configured to determine whether the sender number of the short message is on the blacklist of the calling number, and/or determine whether the sender number of the short message is in the white list of the calling number. on.
  • the whitelist of the calling number can be implemented by the user uploading his own address book.
  • the blacklist of the calling number can include the number set by the user and the abnormal sender number transmitted by the system side.
  • the abnormal sender number includes: The sender sends the sender's number whose behavior is abnormal. Therefore, preferably, the number judging sub-module 223 of the embodiment is further configured to receive the abnormal sender number transmitted by the system side, and record it in the blacklist of the calling number.
  • the abnormal sender number includes: the short message sending behavior is abnormal. The sender's number.
  • the abnormal sending behavior here indicates that the frequency, time, etc. of the sender sending the short message does not satisfy the normal situation.
  • the sending behavior of the number may be determined as an abnormal sending behavior.
  • the short message sent by the number may be a harassing short message;
  • the calling number sends the time of the short message to judge. For example, a certain number is in the morning break and other regular rest time, and the message is still sent continuously.
  • the sending behavior of the number is not a normal sending behavior, and the sent short message may be a harassing short message. Therefore, in this embodiment, the abnormal sending number is received and recorded in the blacklist of the calling number, so that the harassing short message can be more accurately determined.
  • the embodiment further includes an interaction module 24 for accepting the modification of the judging rule by the user, and updating the judging according to the modification of the user. rule.
  • the interaction module 24 can provide an interactive page for the user, and the user can perform the interaction on the interactive page.
  • the management of the judgment rule includes querying and modifying the first judgment condition and the second judgment condition, and modifying the whitelist and the blacklist of the calling number includes deleting or adding the calling number, or synchronizing the current communication of the user again. Recorded as a new whitelist of calling numbers.
  • the short message center filters the harassing short message according to the received judgment result, that is, does not send the harassing short message to the receiving party, and considering the above judgment, the harassing short message error may occur.
  • the short message filtering system 2 of the embodiment further includes a storage module 25 for storing the harassing short message for subsequent query and use by the user.
  • the storage module 25 can store the harassment message according to the type of the harassment message, and display the number of unread harassment messages on the interaction interface provided by the interaction module 24, prompting the user to view the error. The situation provides the possibility of salvation.
  • the determining module 22 may use the first determining condition and the second determining condition to implement a second-level determination of whether the short message is to be harassed, and the determining unit 22 performs the second-level judgment.
  • the order of use of the second judgment condition is not limited, and the second-level judgment method of the judgment module 22 includes:
  • Method 1 The first step, the number judgment sub-module 223 matches the sender number of the short message to be determined with the number on the white list of the calling number. If the matching is successful, the short message to be determined is a normal short message, and the second short message is not required. At the first level, if the match fails, the next level of judgment is made;
  • the number judgment sub-module 223 matches the sender number of the short message to be determined with the number on the blacklist of the calling number, and if the matching is successful, the short message to be determined is a harassing short message, and the next level of judgment is not required. If the match fails, the next level of judgment is made;
  • the keyword judging sub-module 221 matches the content of the to-be-determined short message with the preset suspected spoofing short message key, and the matching is successful, and the short-message text message is determined as the harassing short message, and the matching fails, and the short-sending short message is judged. For normal text messages.
  • the semantic judgment sub-module 222 performs semantic analysis on the content of the determined short message, and matches the analyzed semantics with the semantics of the preset suspected harassing short message, and the matching is successful, and the determined short message is determined as a harassing short message, and the matching fails.
  • the to-be-determined short message is judged as a normal short message.
  • Manner 2 The first step, the keyword determining sub-module 221 matches the content of the short message to be determined with the default suspected spoofing short message key, and the matching is successful, and the next step is judged, the matching fails, and the short message to be determined is determined to be normal. SMS.
  • the semantic judgment sub-module 222 performs semantic analysis on the content of the determined short message, and matches the analyzed semantics with the semantics of the preset suspected harassing short message, and the matching is successful, and the next step is judged, the matching fails, and the short message to be determined is determined. For normal text messages.
  • the number determining sub-module 223 matches the sender number of the short message to be determined with the number on the white list of the calling number. If the matching is successful, the short message to be determined is a normal short message. If the matching fails, the method is to be determined. The text message is judged as a harassment message.
  • the number judging sub-module 223 matches the sender number of the short message to be determined with the number on the blacklist of the calling number. If the matching is successful, the short message to be determined is a harassing short message, and if the matching fails, the short message to be determined is determined as Normal text message.
  • the determining module 22 may determine the harassing short message according to the short message content and the sender number, and may also determine according to other information of the short message, for example, according to the sending time of the short message, the sending location, the attribution of the sender, and the like.
  • the information determines whether the short message to be judged is a harassing short message.
  • the specific judgment sub-conditions can be freely set by the user according to the actual situation. For example, the user can judge the short message with the receiving time between 2:00 and 6:00 as the harassing short message.
  • the short message filtering system of the present embodiment can be provided by the operator for the user, and the corresponding service can be referred to as a short message filtering service, and the service can be provided as a value-added service for the user.
  • the short message filtering system may further include a service receiving module 26, configured to open a short message filtering service or cancel the short message filtering service for the user.
  • the specific opening mode may be that the service receiving module 26 receives the short message sent by the user, and registers the short message filtering service for the user according to the short message, or receives the registration information input by the user on the network to register the short message filtering service for the user.
  • the sending module 23 of the embodiment may further send the information of the registered user to the short message center, and control the short message center to use the short message that the registered user needs to receive as the judgment to send the short message to the short message filtering system to determine whether the message is a harassing short message.
  • FIG. 3 it is a typical network deployment diagram.
  • the short message filtering system in the figure is implemented by the short message filtering system in this embodiment, and the short message center is implemented by using an existing short message center.
  • the short message is first transmitted to the short message center through the wireless network, and the introduction of the short message filtering system in this embodiment can be inferred.
  • the SMS center After receiving the short message, the SMS center sends the short message to the short message filtering service, and then sends the short message to the short message filtering system.
  • the short message filtering system determines whether the short message is a harassing short message, and sends the judgment result to the short message center, and the short message center will The spoofing SMS filter is sent to the user B.
  • the user can initially set the judgment rule through the service acceptance module. 26, for the first determining condition, the service receiving module 26 may present the keyword of the short message to be determined provided by the system and/or the semantics of the short message to be determined for the user to select, and for the second determining condition, the service receiving module 26 may upload the user.
  • the list of contacts is set to be the white list of the calling number, and the blacklist uploaded by the user is used as the blacklist of the calling number.
  • the service acceptance module 26 can also be used for user service attribute setting.
  • the second-level judgment result of the embodiment includes the short message to be determined as a harassment short message or a normal short message.
  • the sending module 23 sends the determination result to the short message center, and the processing of the short message center according to the judgment result includes: releasing the normal short message, that is, the short message center sends the normal short message to the receiving party; or filtering the harassing short message, that is, the short message center will The spoofing SMS interception is not sent to the recipient; in addition, the sending module 23 of the embodiment may also notify the short message center to release the harassing short message, but in order to remind the user, the sending module 23 may notify the short message center to send the harassing short message.
  • the identification information is added to indicate that it is a harassment message, and the user is reminded to avoid being deceived.
  • the information indicating the type of the harassment message is added to the identification information, and the type of the harassing message is advertised to the user to prevent the user from receiving the scam. SMS spoofing.
  • the interaction module 24 can provide a web user portal webpage for the user, and the user can implement the initial setting of the determination rule by using the service acceptance module 26, and can be implemented through the web user portal webpage, the judgment rule of the embodiment, and the harassment SMS, user service attributes, etc. can be stored in the physical database.
  • the management process includes:
  • S401 The user accesses the WEB user portal webpage of the short message filtering system through the Internet, and logs in the account.
  • the WEB user portal identifies whether the user is legal.
  • the methods for authenticating include: verifying whether the user opens an account, and verifying that the user's username and password are correct. If the authentication result is legal, the process proceeds to S403 or S410; if the authentication result is illegal, the process returns to S401.
  • the user enters a judgment rule setting interface, and sets a judgment rule.
  • the setting of the determining rule includes: setting the first determining condition: the user selects the type of the short message that needs to be intercepted in the default harassing short message type provided by the system, and selects the keyword or semantic analysis to harass the short message separately. Judgment, still use the keyword and semantic analysis to analyze; set the second judgment condition: the user uploads his own address book as the white list of the calling number.
  • the service acceptance module receives the judgment rule submitted by S403 and stores it in the physical database.
  • the determining module determines, according to the first determining condition selected by the user that receives the short message, whether the short message to be determined is If the message is suspected to be harassed, if yes, go to S407, otherwise, go to S409.
  • the judging module judges whether there is a calling number of the suspected harassing short message on the white list of the calling number, and the judging short message is determined as the harassing short message, and proceeds to S408, and saves the harassing short message record to the physical database; The short message to be determined is judged as a normal short message, and the process proceeds to S409.
  • S408 Send the result of the feedback of S407 to the short message center, and notify the short message center to filter the harassing short message, and not send it to the user.
  • S409 Send the SGS and the S409 to be judged as the normal short message to the short message center, and notify the short message center to release the short message and deliver the message to the user.
  • S410 Provide a function for the user to manage the first determination condition and the second determination condition.
  • the flow of the method for performing short message filtering by using the short message filtering system of this embodiment is as follows:
  • the service acceptance module receives the judgment rule submitted by the user through the WEB user portal, and stores the rule in the physical database.
  • S503. Determine whether the content of the to-be-determined short message matches the keyword of the preset suspected harassing short message, and the matching is successful, and the process proceeds to S505, and the matching fails, and the process proceeds to S504.
  • S504 Perform semantic analysis on the content of the judgment message, determine whether the result of the analysis matches the semantic of the preset suspected harassment message, and the matching is successful, and the process proceeds to S505, and the matching fails, and the process proceeds to S506.
  • S505. Determine whether the calling number of the suspected harassing short message submitted by S503 and S504 is on the calling user white list. If yes, go to S508; otherwise, go to S506.
  • S506. Determine whether the calling number of the short message to be determined submitted by S504 and S505 is on the blacklist of the calling user. If yes, go to S507, otherwise, go to S508.
  • S507 Notifying the short message center that the short message to be determined is a harassing short message, and intercepting the short message.
  • the determining module determines whether the short message is a harassing short message according to the preset determining rule, and can achieve the purpose of identifying the harassing short message before the short message is sent to the receiving party, based on the judgment Whether the content of the short message satisfies the first judgment condition of the preset short message content Judging, the sending behavior and the blacklist-based manner of the sender based on the short message have higher judgment accuracy, and a lower false positive rate, and the user can set and modify the judgment rule, so that the embodiment of the present invention can SMS harassment interception based on the user's personal wishes, further improving the pertinence of harassment SMS filtering.
  • modules or steps of the above embodiments of the present invention can be implemented by a general computing device, which can be concentrated on a single computing device or distributed among multiple computing devices.
  • they may be implemented by program code executable by the computing device, such that they may be stored in a storage medium (ROM/RAM, disk, optical disk) by a computing device, and in some
  • the steps shown or described may be performed in an order different from that herein, or they may be separately fabricated into individual integrated circuit modules, or a plurality of the modules or steps may be implemented as a single integrated circuit module. Therefore, embodiments of the invention are not limited to any particular combination of hardware and software.
  • Each of the above modules may be implemented by one or more digital signal processors (DSPs), application specific integrated circuits (ASICs), processors, microprocessors, controllers, microcontrollers, field programmable arrays (FPGAs). Implemented by a programmable logic device or other electronic unit or any combination thereof. Some of the functions or processes described in this application embodiment may also be implemented by software executing on a processor.
  • DSPs digital signal processors
  • ASICs application specific integrated circuits
  • FPGAs field programmable arrays
  • the embodiment of the present invention further provides a short message filtering device, including:
  • a memory for storing processor executable instructions
  • processor is configured to:
  • Determining whether the content to be determined is a harassment message according to a preset judgment rule includes: determining whether the content of the to-be-determined message satisfies a first judgment condition of the preset message content;
  • the processor can also be configured to perform various steps in the above methods.
  • the method and apparatus of the present application can be applied to the field of communication technology.
  • the short message is judged whether the short message is harassed, and the short message may be judged according to whether the content of the short message satisfies the first judgment condition of the preset short message.
  • the most influential harassment message is the scam message.
  • the scam content may include words such as money, bank card, and winning. As long as these words appear in the message content, the message is the possibility of harassing the message. It is very high, so the judgment method based on the short message content has the advantages of high pertinence and high accuracy.
  • the embodiment of the present invention does not have such a disadvantage based on the content of the short message. Therefore, the solution provided by the embodiment of the present invention has high practicability and can improve the user's Experience.

Landscapes

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

Abstract

Disclosed are a short message filtering method and system able to use a pre-set determination rule to determine whether a short message to be determined is a harassment short message, the determination rule comprising a first determination condition of whether the content of the short message to be determined satisfies pre-set short message content. Hence, the method and system provided in the embodiments of the present invention can realise the determination of a harassment short message based on the content of the short message to be determined. With regard to determining a harassment short message only based on a sending behaviour of a sender number or only based on a blacklist in the prior art, the method and system have the advantages of more accurate determination and lower error judgement rate, and a harassment short message with a higher camouflage level can be identified by performing judgement based on the content of a short message, thereby enhancing the adaptability of the method and system, and enabling the method and system to have the advantages of more comprehensive judgement. After a harassment short message is determined, a short message centre is notified to perform filtering, able to prevent a user from receiving the harassment short message and beneficial to further improving the user experience.

Description

一种短信过滤方法和系统Short message filtering method and system 技术领域Technical field
本发明实施例涉及通信技术领域,具体涉及一种短信过滤方法和系统。The embodiments of the present invention relate to the field of communications technologies, and in particular, to a short message filtering method and system.
背景技术Background technique
短信沟通作为人们日常沟通的主要方式之一,为用户提供便利沟通方式的同时,大量的骚扰短信也给用户带来了困惑。SMS communication is one of the main ways for people to communicate daily. While providing users with convenient communication methods, a large number of harassing text messages also bring confusion to users.
现有技术中,对骚扰短信的管控,有两种实现方式:方式一:主要通过运营商层面的垃圾短信监控系统进行管控,其主要功能是根据主叫号码在单位时长内的发送行为是否达到违规门限来判断主叫用户是否属于违规用户,进而限制或禁止主叫用户的短信发送功能,在一定程度上减少了垃圾短信的骚扰行为。在此种骚扰短信的管控方式中,通常是使用主叫号码在单位时间内的起呼次数和被叫号码的离散度等组成的监控规则,对主叫用户在一定时长内的起呼行为进行监控,此方式的缺点是不能根据接收用户个体的意愿进行设置防骚扰的功能。In the prior art, there are two implementation modes for the control of harassing short messages: mode 1: mainly through the spam short message monitoring system at the operator level, and its main function is to determine whether the sending behavior of the calling number within the unit time period is reached. The violation threshold determines whether the calling user belongs to the offending user, and then restricts or prohibits the calling user's short message sending function, which reduces the harassment behavior of the spam message to a certain extent. In the control method of the harassing short message, the monitoring rule consisting of the number of the calling number in the unit time and the dispersion of the called number is usually used to perform the calling behavior of the calling user within a certain period of time. Monitoring, the disadvantage of this method is that the anti-harassment function cannot be set according to the will of the receiving user.
方式二:通过利用运营商的增值业务系统,设置主叫号码黑名单的方式,来过滤主叫方发送的骚扰短信。这种方式是一种被动式的屏蔽骚扰短信的方式,用户需要频繁的设置和更新黑名单上的号码,一旦某个骚扰短信的发送方号码不在黑名单之上,就会成为漏网之鱼发送给接收方,给接收方带来不良体验。所以此种方式对于的骚扰短信的拦截依赖于黑名单,针对短信发送方的不确定性显得无能为力,且需要用户频繁更新黑名单,用户体验较差。所以,如何提高骚扰短信拦截的针对性、提高骚扰短信拦截的准确度以及根据用户个体意愿进行骚扰短信拦截是现有技术急需解决的技术问题。Manner 2: The harassment message sent by the calling party is filtered by using the value-added service system of the operator and setting the blacklist of the calling number. This method is a passive way to shield and harass text messages. Users need to frequently set and update the numbers on the blacklist. Once the sender number of a harassing message is not on the blacklist, it will be sent to the fish. The receiver brings a bad experience to the receiver. Therefore, the interception of the harassment message in this way depends on the blacklist, and the uncertainty of the sender of the message appears to be powerless, and the user needs to frequently update the blacklist, and the user experience is poor. Therefore, how to improve the pertinence of harassment SMS interception, improve the accuracy of harassing SMS interception, and harass SMS interception according to the individual wishes of users are technical problems that need to be solved in the prior art.
发明内容Summary of the invention
本发明实施例要解决的主要技术问题是,提供一种短信过滤方法和系统,解决现有技术中骚扰短信判断的针对性差、准确度低,以及不能根据用户个体的意愿进行骚扰短信过滤的问题。The main technical problem to be solved by the embodiments of the present invention is to provide a short message filtering method and system, which solves the problem of poor pertinence, low accuracy, and inability to harass SMS filtering according to the will of the user in the prior art. .
为解决上述技术问题,本发明实施例提供一种短信过滤方法,包括: To solve the above technical problem, an embodiment of the present invention provides a short message filtering method, including:
接收短信中心发送的待判断短信;Receiving a short message to be determined sent by the short message center;
根据预设的判断规则对待判断短信进行是否为骚扰短信的判断;判断规则包括:待判断短信的内容是否满足预设的短信内容的第一判断条件;Determining whether the short message is a harassing short message according to a preset judgment rule; the determining rule includes: determining whether the content of the short message satisfies the first determining condition of the preset short message content;
将判断结果发送给短信中心,通知其对判断为骚扰短信的待判断短信进行过滤处理。The judgment result is sent to the short message center, and the user is notified to filter the to-be-determined short message that is determined to be the harassing short message.
进一步地,判断待判断短信的内容是否满足预设的短信内容的第一判断条件的方式包括以下两种方式中的至少一种:Further, the manner of determining whether the content of the short message to be determined satisfies the first determination condition of the preset short message content includes at least one of the following two methods:
将待判断短信的内容与预设的疑似骚扰短信关键字进行匹配,根据匹配结果判断待判断短信的内容是否满足预设的短信内容的第一判断条件;Matching the content of the short message to be determined with the preset suspected spoofing short message keyword, and determining, according to the matching result, whether the content of the short message to be determined satisfies the first determining condition of the preset short message content;
对待判断短信的内容进行语义分析,将分析出的语义与预设的疑似骚扰短信的语义进行匹配,根据匹配结果判断待判断短信的内容是否满足预设的短信内容的第一判断条件。Semantic analysis is performed on the content of the judged short message, and the analyzed semantics are matched with the semantics of the preset suspected harassing short message, and the first judgment condition that the content of the short message to be determined satisfies the preset short message content is determined according to the matching result.
进一步地,判断规则还包括:待判断短信的发送方号码是否满足预设的号码的第二判断条件。Further, the determining rule further includes: a second determining condition for determining whether the sender number of the short message satisfies the preset number.
进一步地,判断待判断短信的内容是否满足预设的号码的第二判断条件包括:判断待判断短信的发送方号码是否在主叫号码黑名单上,和/或判断待判断短信的发送方号码是否在主叫号码白名单上。Further, the second determining condition for determining whether the content of the short message to be determined meets the preset number includes: determining whether the sender number of the short message to be determined is on the blacklist of the calling number, and/or determining the sender number of the short message to be determined. Whether it is on the whitelist of calling numbers.
进一步地,还包括:对骚扰短信进行存储。Further, the method further includes: storing the harassment short message.
进一步地,还包括:接收用户对判断规则的修改,并更新判断规则。Further, the method further includes: receiving a modification of the judgment rule by the user, and updating the judgment rule.
进一步地,还包括:接收系统侧传送的异常发送方号码,并将其记录到主叫号码黑名单中,异常发送方号码包括:短信发送行为不正常的发送方号码。Further, the method further includes: receiving an abnormal sender number transmitted by the system side, and recording the same in the blacklist of the calling number, where the abnormal sender number includes: a sender number whose sending behavior is abnormal.
为解决上述的技术问题,本发明实施例还提供一种短信过滤系统,包括To solve the above technical problem, an embodiment of the present invention further provides a short message filtering system, including
接收模块,用于接收短信中心发送的待判断短信;a receiving module, configured to receive a short message to be determined sent by the short message center;
判断模块,用于根据预设的判断规则对待判断短信进行是否为骚扰短信的判断;判断规则包括:待判断短信的内容是否满足预设的短信内容的第一判断条件;The determining module is configured to determine, according to the preset determining rule, whether the short message is a harassing short message; the determining rule includes: determining whether the content of the short message satisfies the first determining condition of the preset short message content;
发送模块,用于将判断结果发送给短信中心,通知其对判断为骚扰短信的待判断短信进行过滤处理。The sending module is configured to send the judgment result to the short message center, and notify the user to filter the short message to be determined that is determined to be the harassing short message.
进一步地,还包括:判断模块包括关键字判断子模块和语义判断子模块中的至少一个;Further, the method further includes: the determining module includes at least one of a keyword determining submodule and a semantic determining submodule;
关键字判断子模块,用于将待判断短信的内容与预设的疑似骚扰短信关键字进行 匹配,根据匹配结果判断待判断短信的内容是否满足预设的短信内容的第一判断条件;a keyword judging sub-module, configured to perform content of the to-be-determined short message with a preset suspected harassing short message keyword Matching, determining, according to the matching result, whether the content of the to-be-determined short message satisfies the first determining condition of the preset short message content;
语义判断子模块,用于对待判断短信的内容进行语义分析,将分析出的语义与预设的疑似骚扰短信的语义进行匹配,根据匹配结果判断待判断短信的内容是否满足预设的短信内容的第一判断条件。The semantic judgment sub-module is configured to perform semantic analysis on the content of the short message to be judged, and match the analyzed semantics with the semantics of the preset suspected harassing short message, and determine, according to the matching result, whether the content of the determined short message satisfies the preset short message content. The first judgment condition.
进一步地,判断模块使用的判断规则还包括:待判断短信的发送方号码是否满足预设的号码的第二判断条件。Further, the determining rule used by the determining module further includes: a second determining condition that determines whether the sender number of the short message satisfies the preset number.
进一步地,判断模块还包括号码判断子模块,用于判断待判断短信的发送方号码是否在主叫号码黑名单上,和/或判断待判断短信的发送方号码是否在主叫号码白名单上。Further, the judging module further includes a number judging sub-module, configured to determine whether the sender number of the to-be-determined short message is on the blacklist of the calling number, and/or determine whether the sender number of the to-be-determined short message is on the whitelist of the calling number. .
进一步地,还包括存储模块,用于对骚扰短信进行存储。Further, a storage module is further included for storing the harassment short message.
进一步地,还包括,交互模块,用于接收用户对判断规则的修改,并更新判断规则。Further, the interaction module further includes: an interaction module, configured to receive a modification of the determination rule by the user, and update the determination rule.
进一步地,号码判断子模块还用于接收系统侧传送的异常发送方号码,并将其记录到主叫号码黑名单中,异常发送方号码包括:短信发送行为不正常的发送方号码。Further, the number judging sub-module is further configured to receive the abnormal sender number transmitted by the system side, and record it in the blacklist of the calling number. The abnormal sender number includes: a sender number whose sending condition is abnormal.
本申请实施例还提供一种计算机可读存储介质,用于存储程序,其中所述程序被执行时使得短信过滤装置执行如上所述方法中的步骤。The embodiment of the present application further provides a computer readable storage medium for storing a program, wherein the program is executed to cause the short message filtering device to perform the steps in the method as described above.
采用本发明实施例的短信过滤方法和系统,可以在短信中心将短信转发到接收方之前,对短信进行是否为骚扰短信的判断,尤其是本发明实施例可以根据待判断短信的内容是否满足预设的短信的第一判断条件来对该待判断短信进行判断,可以想到的,一般而言骚扰短信中影响最大的是诈骗类的短信,其中诈骗内容很有可能包括钱、银行卡、中奖等字眼,只要短信内容中出现这些字眼,该短信为骚扰短信的可能性就很高,所以基于短信内容的判断方式具有高针对性和高准确性的优点,在现有技术的第一种骚扰短信应对方式中,当某个正常号码在单位时间内群发的短信数量较多时,即使其不是骚扰号码,也很可能被误判,但是本发明实施例基于短信内容就不会有这种缺点,所以本发明实施例提供的方案具有较高的实用性,能提升用户的体验。The short message filtering method and system of the embodiment of the present invention can determine whether the short message is a harassing short message before the short message center forwards the short message to the receiving party, and in particular, the embodiment of the present invention can determine whether the content of the short message satisfies the pre-determination according to the content of the short message. The first judgment condition of the set short message is used to judge the short message to be judged. It is conceivable that generally the most influential message in the harassing short message is a fraudulent short message, wherein the fraudulent content is likely to include money, bank card, winning, etc. Words, as long as these words appear in the content of the message, the possibility that the message is harassing the message is very high, so the judgment method based on the content of the message has the advantages of high pertinence and high accuracy, and the first type of harassing message in the prior art In the coping mode, when a normal number has a large number of short messages sent in a unit time, even if it is not a harassment number, it is likely to be misjudged. However, the embodiment of the present invention does not have such a disadvantage based on the content of the short message, so The solution provided by the embodiment of the invention has high practicability and can enhance the user experience.
附图说明DRAWINGS
图1为本发明实施例一提供的一种短信过滤方法的流程图;FIG. 1 is a flowchart of a short message filtering method according to Embodiment 1 of the present invention;
图2为本发明实施例二提供的一种短信过滤系统的模块示意图; 2 is a schematic block diagram of a short message filtering system according to Embodiment 2 of the present invention;
图3为本发明实施例二提供的一种网络部署示意图;FIG. 3 is a schematic diagram of network deployment according to Embodiment 2 of the present invention; FIG.
图4为利用本发明实施例二提供的短信过滤系统管理判断规则的方法的流程图;4 is a flowchart of a method for managing a judgment rule by using a short message filtering system according to Embodiment 2 of the present invention;
图5为利用本发明实施例二提供的短信过滤系统管理进行短信过滤的方法的流程图。FIG. 5 is a flowchart of a method for managing short message filtering by using a short message filtering system provided by Embodiment 2 of the present invention.
具体实施方式detailed description
下面通过具体实施方式结合附图对本发明实施例作进一步详细说明。The embodiments of the present invention are further described in detail below with reference to the accompanying drawings.
实施例一:Embodiment 1:
本实施例提出了一种短信过滤方法,包括:This embodiment provides a short message filtering method, including:
S101、接收短信中心发送的待判断短信;S101. Receive a short message to be determined sent by the short message center.
S102、根据预设的判断规则对待判断短信进行是否为骚扰短信的判断;判断规则包括:待判断短信的内容是否满足预设的短信内容的第一判断条件;S102. Determine, according to a preset determining rule, whether the short message is a harassing short message, and the determining rule includes: determining whether the content of the short message satisfies the first determining condition of the preset short message content;
S103、将判断结果发送给短信中心,通知其对判断为骚扰短信的待判断短信进行过滤处理。S103: Send the determination result to the short message center, and notify the user to filter the to-be-determined short message that is determined to be the harassing short message.
考虑到骚扰短信的内容可以包括直接从短信内容中提取的字词,以及根据短信的内容进行语义分析得到的分析结果,为了使得本实施例中,根据待判断短信的内容进行的判断的准确率高,优选的,本实施例中,判断待判断短信的内容是否满足预设的短信内容的第一判断条件的方法至少包括以下中的一种:Considering that the content of the harassment message may include a word directly extracted from the short message content, and an analysis result obtained by semantic analysis according to the content of the short message, in order to make the accuracy of the judgment according to the content of the short message to be determined in the embodiment Preferably, in this embodiment, the method for determining whether the content of the short message to be determined satisfies the first determination condition of the preset short message content includes at least one of the following:
第一种:将待判断短信的内容与预设的疑似骚扰短信的关键字进行匹配,根据匹配结果判断待判断短信的内容是否满足预设的短信内容判断条件。The first type: matching the content of the short message to be determined with the preset keyword of the suspected harassment message, and determining, according to the matching result, whether the content of the short message to be determined satisfies the preset condition of the short message content.
第二种:对待判断短信的内容进行语义分析,将分析出的语义与预设的疑似骚扰短信的语义进行匹配,根据匹配结果判断待判断短信的内容是否满足预设的短信内容判断条件。The second type: semantically analyzing the content of the determined short message, matching the analyzed semantics with the semantics of the preset suspected harassing short message, and determining, according to the matching result, whether the content of the determined short message satisfies the preset short message content determining condition.
上述的两种方法可以配合使用,例如在利用第一种方法判断某短信属于正常短信后,再利用本实施例的第二种方法对该被判断为正常短信的短信进行一次语义识别和判断,识别出伪装程度高的骚扰短信。The above two methods can be used together. For example, after the first method is used to determine that a short message belongs to a normal short message, the second method of the embodiment is used to perform semantic recognition and judgment on the short message that is determined to be a normal short message. Identify harassing text messages with a high degree of camouflage.
在第一种方法中,疑似骚扰短信的关键字可以是从多个骚扰短信中总结出的使用频率高的字词,例如“快乐大本营”、“非常6+1”、“中奖”、“售房”、“降价销售”等词语。优选地,在本实施例中,还可以将这些关键字归类为对应于不同的疑 似骚扰短信类型的关键字,疑似骚扰短信的类型具体可以包括:房产类、商业广告类、诈骗类、涉黄类等等,对应的关键字可以设置为各类骚扰短信中使用频率高的字词。例如房产类短信的关键字可以包括“售房”、“降价”、“XX元/平方米”等词语,商业广告类的关键字可以包括“售”、“仅售”、“降价”等字词。对待判断短信的内容与预设的疑似骚扰短信的关键字进行匹配的过程,实际上就是判断待判断短信中是否出现疑似骚扰短信的关键字的过程,所以利用关键字的判断方法具有过程简单、容易实现的优点。In the first method, the keyword suspected of harassing the short message may be a frequently used word summarized from a plurality of harassing short messages, such as "Happy Camp", "Very 6+1", "Winning", "Sold" Words such as "room" and "price reduction sales". Preferably, in this embodiment, these keywords can also be classified as corresponding to different doubts. Similar to harassing SMS type keywords, the types of suspected harassing SMS messages may include: real estate, commercial advertising, fraud, pornography, etc. The corresponding keywords can be set to various types of harassing text messages. word. For example, the keywords of real estate text messages may include words such as "sale of housing", "price reduction", "XX yuan/square meter", and keywords of commercial advertisements may include words such as "sale", "sale only", and "price reduction". word. The process of matching the content of the judgment message with the keyword of the presumed suspected harassment message is actually a process of determining whether a keyword suspected of harassing the message is present in the message to be determined, so the method for determining the keyword has a simple process. The advantages of easy implementation.
在第二种方法中,预设的疑似骚扰短信的语义可以参考上述的疑似骚扰短信的关键字的设置方式进行设置,也将疑似骚扰短信的语义对应分属于不同的疑似骚扰短信的类型,将分析出的语义与预设的疑似骚扰短信的语义进行匹配时,出现相同或相似的语义都可以视为匹配成功。使用语义分析对骚扰短信的内容进行分析虽然比第一种方法中利用关键字进行匹配的方法复杂,但是考虑到诈骗短信等骚扰短信的字词越来越难以鉴别,采用第二种方式可以对待判断短信的内容进行全面分析,得到相关的语义,对待判断短信的分析更全面,更灵活,能更大程度上将疑似骚扰短信鉴别出来。In the second method, the semantics of the preset suspected harassment message may be set by referring to the setting manner of the keyword of the suspected harassment message, and the semantic correspondence of the suspected harassment message is classified into different types of suspected harassing messages. When the analyzed semantics match the semantics of the default suspected harassment message, the same or similar semantics can be considered as a successful match. Using semantic analysis to analyze the content of harassing SMS messages is more complicated than the method of matching keywords in the first method. However, considering the harassment of text messages such as scams, it is more and more difficult to identify the words, and the second method can be used. Judging the content of the short message to conduct a comprehensive analysis, and obtaining relevant semantics, the analysis of the judged short message is more comprehensive and flexible, and the suspected harassment short message can be identified to a greater extent.
上述的判断方法均是基于短信的内容进行的判断,考虑到短信的发送方号码是可以用来对骚扰短信进行判断的依据,优选的,本实施例的判断规则还包括待判断短信的发送方号码是否满足预设的号码的第二判断条件。The above-mentioned judging method is based on the content of the short message, and the sender's number of the short message is used as a basis for judging the harassing short message. Preferably, the determining rule of the embodiment further includes the sender of the short message to be determined. Whether the number satisfies the second judgment condition of the preset number.
同时考虑到根据上述的内容判断方式进行判断可能出现误判的情况,为了应对该情况以及提高本实施例的判断准确性,可以设置一主叫号码白名单,将发送方号码属于主叫号码白名单的短信判断为正常短信;考虑到现如今的短信伪装越来越高级,本实施例中,可以设置一主叫号码黑名单,将主叫号码属于该黑名单的短信判断为骚扰短信。所以,优选的,判断待判断短信的内容是否满足预设的号码的第二判断条件包括:判断短信的发送方号码是否在主叫号码黑名单上,和/或判断短信的发送方号码是否在主叫号码白名单上。At the same time, considering that the content judgment method may be misjudged according to the above content judgment manner, in order to cope with the situation and improve the judgment accuracy of the embodiment, a white list of the calling number may be set, and the sender number belongs to the calling number white. The short message of the list is judged as a normal short message. Considering that the current short message masquerading is more advanced, in this embodiment, a blacklist of the calling number can be set, and the short message whose calling number belongs to the blacklist is determined as the harassing short message. Therefore, preferably, the second determining condition for determining whether the content of the short message to be determined satisfies the preset number comprises: determining whether the sender number of the short message is on the blacklist of the calling number, and/or determining whether the sender number of the short message is The calling number is on the white list.
在本实施例中,主叫号码白名单可以由用户上传自身的通信录实现,主叫号码黑名单可以包括由用户设置的号码和由系统侧传送的并记录到主叫号码黑名单的异常发送方号码,异常发送方号码包括:短信发送行为不正常的发送方号码。In this embodiment, the whitelist of the calling number may be implemented by the user uploading his own address book, and the blacklist of the calling number may include the number set by the user and the abnormal transmission sent by the system side and recorded to the blacklist of the calling number. The party number, the abnormal sender number includes: the sender number whose message transmission behavior is abnormal.
这里的发送行为不正常表示发送方发送短信的频率、时间等不满足正常情况,根据主叫号码在单位时间内的发送短信的次数可以判断发送方的行为是否不正常,例如当某个主叫号码在一分钟之内发送短信的次数超过预设门限值时,可以将该号码的发 送行为判断为不正常发送行为,此时,该号码发送的短信可能就是骚扰短信;还可以进一步地根据该主叫号码发送短信的时间来进行判断,例如,某个号码在凌晨等常规休息时间,还在不停地发送短信,该号码的发送行为不是正常发送行为,发出的短信可能就是骚扰短信。所以在本实施例中,接收并记录异常发送号码到主叫号码黑名单中,可以更准确地判断出骚扰短信。The abnormal sending behavior here indicates that the frequency, time, etc. of the sender sending the short message does not satisfy the normal situation. According to the number of times the calling number sends the short message in the unit time, it can be judged whether the sender's behavior is abnormal, for example, when a certain calling party If the number of messages sent within one minute exceeds the preset threshold, the number can be sent. The sending behavior is judged as an abnormal sending behavior. At this time, the short message sent by the number may be a harassing short message; and the time may be further determined according to the time when the calling number is sent by the calling number, for example, a certain number is in a regular rest time in the early morning. The message is still being sent continuously, the sending behavior of the number is not a normal sending behavior, and the sent short message may be a harassing short message. Therefore, in this embodiment, the abnormal sending number is received and recorded in the blacklist of the calling number, so that the harassing short message can be more accurately determined.
考虑到随着时间的推移,用户的通讯录和用户确定的黑名单号码会随之改变,以及骚扰短信的种类会增加,疑似骚扰短信的关键字或语义也随之增加,再使用原有的判断规则,可能导致骚扰短信过滤准确性降低,为了适应用户的需求,优选的,本实施例可以接受用户对判断规则的修改,并根据用户的修改,来更新该判断规则。Considering that over time, the user's address book and user-defined blacklist numbers will change, and the types of harassing text messages will increase, and the keywords or semantics of suspected harassing text messages will increase, and the original The judging rule may reduce the accuracy of the spoofing short message filtering. In order to meet the needs of the user, preferably, the embodiment may accept the modification of the judging rule by the user, and update the judging rule according to the modification of the user.
可以理解的是,本实施例可以将判断规则存储起来,在进行骚扰短信过滤时进行提取和使用,所以本实施例中,更新判断规则理解为利用用户修改后的判断规则替换存储的旧的判断规则。It can be understood that, in this embodiment, the determination rule can be stored and extracted and used when performing the harassment message filtering. Therefore, in this embodiment, the update determination rule is understood to replace the stored old judgment by using the modified judgment rule of the user. rule.
可以想到的是,本实施例中第一判断条件和第二判断条件可以配合使用,实现对待判断短信进行是否为骚扰短信的二级判断,本实施例对于二级判断的先后顺序等没有任何的限定,所以这两级判断方法至少有以下的组合方式:It is conceivable that, in this embodiment, the first determining condition and the second determining condition can be used together to implement the second-level judgment of whether the short message is to be harassed, and the present embodiment does not have any order for the second-level judgment. Limited, so the two levels of judgment methods have at least the following combinations:
方式一:第一步、将待判断短信的发送方号码与主叫号码白名单上的号码进行匹配,若匹配成功,则该待判断短信是正常短信,不需要再进行下一级的判断,若匹配失败,则进行下一级的判断;Method 1: The first step is to match the sender number of the short message to be judged with the number on the white list of the calling number. If the matching is successful, the short message to be determined is a normal short message, and the next level of judgment is not required. If the match fails, the next level of judgment is made;
上述第一步还可以是,将待判断短信的发送方号码与主叫号码黑名单上的号码进行匹配,匹配成功,则该待判断短信是骚扰短信,不需要再进行下一级的判断,若匹配失败,则进行下一级的判断;The first step may be that the sender number of the short message to be determined is matched with the number on the blacklist of the calling number, and if the matching is successful, the short message to be determined is a harassing short message, and the next level of judgment is not required. If the match fails, the next level of judgment is made;
第二步、判断待判断短信的内容是否满足预设的短信内容的第一判断条件,若是,则该待判断短信是骚扰短信,否,则不是。The second step is to determine whether the content of the short message to be determined satisfies the first judgment condition of the preset short message content, and if yes, the short message to be determined is a harassing short message, if not, then not.
方式二:第一步、待判断短信的内容是否满足预设的短信内容的第一判断条件,若是,则进行下一级的判断,否,则不进行下一级的判断;Method 2: The first step is to determine whether the content of the short message satisfies the first judgment condition of the preset short message content, and if so, the next level of judgment is performed, otherwise, the next level of judgment is not performed;
第二步、将待判断短信的发送方号码与主叫号码把名单上的号码进行匹配,若匹配成功,则该待判断短信是正常短信,若匹配失败,则该待判断短信是骚扰短信。In the second step, the sender number of the short message to be determined is matched with the number of the calling number on the list. If the matching is successful, the short message to be determined is a normal short message. If the matching fails, the short message to be determined is a harassing short message.
上述第二步还可以是,将待判断短信的发送方号码与主叫号码黑名单上的号码进行匹配,匹配成功,则该待判断短信是骚扰短信。The second step may be that the sender number of the short message to be determined is matched with the number on the blacklist of the calling number, and if the matching is successful, the short message to be determined is a harassing short message.
在本实施例中,根据预设的判断规则判断待判断短信是否为骚扰短信的实现方式 除了上述的基于短信内容和基于号码的方式之外,还可以根据短信的其他信息进行判断,例如,根据短信的发送时间、发送地点、发送方的归属地等信息判断待判断短信是否为骚扰短信。In this embodiment, determining whether the short message to be determined is a harassing short message according to a preset determination rule In addition to the above-mentioned short message content-based and number-based methods, the determination may be based on other information of the short message, for example, determining whether the short message to be determined is a harassing short message according to information such as the sending time of the short message, the sending location, and the attribution of the sender. .
在上述的步骤S103中,短信中心根据接收到的判断结果会对骚扰短信进行过滤,即不将骚扰短信发送给接收方,考虑到通过上述的判断,可能出现骚扰短信误判的情况,为了用户的利益考虑,需要为用户提供查询骚扰短信的功能,优选的,本实施例可以对骚扰短信进行存储,供用户的后续查询和使用。In the above step S103, the short message center filters the harassment short message according to the received judgment result, that is, does not send the harassment short message to the receiver, and considering the above judgment, the erroneous short message may be harassed for the user. For the benefit consideration, the user needs to provide the function of querying the harassing short message. Preferably, the embodiment can store the harassing short message for subsequent query and use by the user.
当用户在查看骚扰短信时,若发现某短信的确为骚扰短信,可以其发送方号码提交到系统中记录到主叫号码黑名单中,可以达到无需用户特意更改实现黑名单更新的目的。When the user is viewing the harassment message, if the message is found to be a harassment message, the sender's number can be submitted to the system to record the blacklist of the calling number, which can achieve the purpose of not requiring the user to change the blacklist update.
考虑到本实施例中,第一判断条件可以将疑似骚扰短信的种类分为多种,本实施例的骚扰短信在存储时,可以将该短信根据骚扰短信的类型进行分类存储。In the embodiment, the first determination condition may be used to classify the types of the suspected spoofing short message. When the harassing short message of the embodiment is stored, the short message may be classified and stored according to the type of the harassing short message.
可以想到的是,本实施例的短信过滤方法可以由运营商为用户提供,对应的业务可以称之为短信过滤业务,该业务可以作为一种增值业务为用户提供,用户可以通过运营商提供的短信注册或网上注册等方式进行该业务的开户,开通之后,只要是注册用户的短信都需要进行骚扰短信的判断,所以本实施例的待判断短信也可以是接收方为注册了短信过滤业务的用户的短信。It is conceivable that the short message filtering method in this embodiment can be provided by the operator for the user, and the corresponding service can be referred to as a short message filtering service, and the service can be provided as a value-added service for the user, and the user can provide the information through the operator. The account registration or online registration is used to open the account. After the activation, the SMS of the registered user needs to be harassed by the SMS. Therefore, the SMS to be determined in this embodiment may also be the recipient of the SMS filtering service. User's text message.
优选的,用户可以通过面向用户的交互平台进行上述的判断规则更新。例如,在交互平台上可以输入自行订制的判断规则或在交互平台补充判断规则,以及将当前的通讯录同步到系统中作为新的主叫号码白名单使用。考虑到骚扰短信的查看方便,在该交互平台上还可以显示未读的骚扰短信的数量,提示用户集中进行查看,为误判断的情况提供挽救的可能。Preferably, the user can perform the above-mentioned judgment rule update through the user-oriented interaction platform. For example, on the interactive platform, a custom decision rule can be entered or the judgment rule can be supplemented on the interactive platform, and the current address book can be synchronized to the system for use as a new whitelist of calling numbers. Considering the convenience of viewing the harassment message, the number of unread harassment messages can also be displayed on the interactive platform, prompting the user to view it in a centralized manner, and providing a possibility of saving for the misjudgment.
在利用上述的骚扰短信的二级判断方法判断得到待判断短信的判断结果后,需要将判断结果传给短信中心,控制短信中心根据该判断结果对待判断短信进行相应的处理。可以理解的是本实施例的判断结果只有两种,一是待判断短信为骚扰短信,二是待判断短信为正常短信。短信中心根据判断结果对待判断短信的处理包括对正常短信放行,即短信中心将正常短信发送给接收方;以及,对骚扰短信进行过滤,即短信中心将骚扰短信拦截,不发给收件人;除此之外,本实施例也可以通知短信中心将骚扰短信放行,但是为了提醒用户,可以通知短信中心在骚扰短信中添加标识信息,表明其是骚扰短信,提醒用户避免当受骗,优选地,还可以利用标识信息表示骚扰短信的 类型。After determining the judgment result of the to-be-determined short message by using the second-level judging method of the above-mentioned harassment short message, the judgment result needs to be transmitted to the short message center, and the control short message center performs corresponding processing on the judgment short message according to the judgment result. It can be understood that there are only two kinds of judgment results in this embodiment, one is that the short message to be judged is a harassing short message, and the other is that the short message to be determined is a normal short message. The processing of the short message according to the judgment result of the short message center includes the release of the normal short message, that is, the short message center sends the normal short message to the receiving party; and the filtering of the harassing short message, that is, the short message center intercepts the harassing short message and does not send it to the recipient; In addition, the embodiment may also notify the SMS center to release the harassment message, but in order to remind the user, the SMS center may be notified to add the identification information to the harassment message, indicating that it is a harassment message, reminding the user to avoid being deceived, preferably, You can also use the identification information to indicate the harassment of the text message. Types of.
采用本实施例的短信过滤方法,利用判断规则中的第一判断条件对待判断短信的内容进行判断,可以准确地判断待判断短信是否为骚扰短信,相对于现有技术中,第一种骚扰拦截方式只基于发送方号码的发送行为判断骚扰短信,本实施例具有判断更准确,误判率更低的优点,且如果发送骚扰短信的号码将发送频率降低,很可能可以避过现有技术中第一种拦截方式,但是本发明实施例基于内容进行判断比现有技术更难以避开,所以本实施例的短信过滤方法的适应性更强,相对于第二种骚扰拦截方式中基于黑名单判断骚扰短信,本实施例基于短信内容的判断方式具有判断更全面的优点。The short message filtering method of the embodiment uses the first determining condition in the determining rule to determine the content of the short message, and can accurately determine whether the short message to be determined is a harassing short message. Compared with the prior art, the first type of harassing interception The method only determines the harassing short message based on the sending behavior of the sender number. This embodiment has the advantages of more accurate judgment and lower false positive rate, and if the number of sending the harassing short message is reduced, the transmission frequency may be avoided. The first type of interception, but the judgment based on the content in the embodiment of the present invention is more difficult to avoid than the prior art. Therefore, the short message filtering method in this embodiment is more adaptable, and is based on the blacklist in the second harassment interception method. Judging the harassment message, the determination method based on the content of the short message in this embodiment has the advantage of more comprehensive judgment.
进一步地,利用待判断短信的内容进行基于关键字或基于语义分析的判断,可以提高骚扰短信判断的准确性,尤其是语义分析,使得本实施例的骚扰短信的判断方法更灵活,相对于现有技术而言,适应于更多类型的骚扰短信的判断,有利于增强本实施例的短信过滤方法的实用性。Further, the use of the content of the short message to be judged based on the keyword or the semantic analysis-based judgment can improve the accuracy of the spoofing short message judgment, especially the semantic analysis, so that the method for determining the harassing short message in this embodiment is more flexible, relative to the present Technically, the judgment of adapting to more types of harassing short messages is advantageous for enhancing the practicability of the short message filtering method of this embodiment.
进一步地,本实施例的判断规则还包括基于号码的第二判断条件,可以判断短信的发送方号码是否在主叫号码黑名单上,和/或判断短信的发送方号码是否在主叫号码白名单上。利用主叫号码白名单进行匹配,可以对发送号码在白名单上但被误判为骚扰短信的短信进行保护;利用主叫号码黑名单进行匹配,可以对利用短信内容判断方式没判断出的骚扰短信进行鉴别,避免其降低用户体验。Further, the determining rule of the embodiment further includes determining, according to the second determining condition of the number, whether the sender number of the short message is on the blacklist of the calling number, and/or determining whether the sender number of the short message is in the calling number white. On the list. By using the calling number white list for matching, it is possible to protect the short message whose sending number is on the white list but is misjudged as the harassing short message; if the calling number blacklist is used for matching, the harassment which is not determined by the short message content judgment manner can be used. SMS is authenticated to avoid reducing the user experience.
进一步地,在判断出骚扰短信后,将骚扰短信存储供用户查询和删除,可以在出现误过滤时,进行挽救,避免用户错过重要信息,造成用户的损失,还可以便于用户管理骚扰短信,进一步提升用户的使用感。Further, after the harassment message is determined, the harassment message is stored for the user to query and delete, and the spoofing can be saved when the erroneous filtering occurs, the user is prevented from missing the important information, causing the user's loss, and the user can be conveniently managed to harass the message. Improve the user's sense of use.
实施例二:Embodiment 2:
参见图2,本实施例提供一种短信过滤系统2,包括:Referring to FIG. 2, this embodiment provides a short message filtering system 2, including:
接收模块21,用于接收短信中心发送的待判断短信;The receiving module 21 is configured to receive a short message to be determined sent by the short message center;
判断模块22,用于根据预设的判断规则对待判断短信进行是否为骚扰短信的判断;判断规则包括:待判断短信的内容是否满足预设的短信内容的第一判断条件;The determining module 22 is configured to determine, according to the preset determining rule, whether the short message is a harassing short message, and the determining rule includes: determining whether the content of the short message meets the first determining condition of the preset short message content;
发送模块23,用于将判断结果发送给短信中心,通知其对判断为骚扰短信的待判断短信进行过滤处理。The sending module 23 is configured to send the determination result to the short message center, and notify the user to filter the short message to be determined that is determined to be the harassing short message.
考虑到骚扰短信的内容可以包括直接从短信内容中提取的字词,以及根据短信的 内容进行语义分析得到的分析结果,为了使得本实施例中,根据待判断短信的内容进行的判断的准确率高,优选的,本实施例中,判断模块22包括关键字判断子模块221和语义判断子模块222中的至少一个:Considering that the content of the harassment message can include words extracted directly from the content of the message, and according to the text message The result of the semantic analysis of the content is analyzed. In this embodiment, the accuracy of the determination according to the content of the short message to be determined is high. Preferably, in this embodiment, the determining module 22 includes the keyword determining sub-module 221 and the semantics. Judging at least one of the sub-modules 222:
关键字判断子模块221,用于将将待判断短信的内容与预设的疑似骚扰短信关键字进行匹配,根据匹配结果判断待判断短信的内容是否满足预设的短信内容的第一判断条件;The keyword determining sub-module 221 is configured to match the content of the short message to be determined with the preset suspected spoofing short message keyword, and determine, according to the matching result, whether the content of the short message to be determined satisfies the first determining condition of the preset short message content;
语义判断子模块222,用于待判断短信的内容进行语义分析,将分析出的语义与预设的疑似骚扰短信的语义进行匹配,根据匹配结果判断待判断短信的内容是否满足预设的短信内容的第一判断条件。The semantic judgment sub-module 222 is configured to perform semantic analysis on the content of the short message to be determined, and match the analyzed semantics with the semantics of the preset suspected harassing short message, and determine, according to the matching result, whether the content of the short message to be determined satisfies the preset short message content. The first judgment condition.
在本实施例中,可以利用上述关键字判断子模块221和语义判断子模块222配合对待判断短信进行判断,配合的方式可以是当利用关键字判断子模块221判断待判断短信的内容中没有预设的疑似骚扰短信的关键字时,再利用语义判断模块222对该待判断短信进行语义分析,将分析出的语义与预设的疑似骚扰短信的语义进行匹配,匹配成功,则将该待判断短信判断为骚扰短信,匹配失败,则该待判断短信判断为正常短信。In this embodiment, the keyword judging sub-module 221 and the semantic judging sub-module 222 may be used to determine the judging message to be judged. The matching may be performed by using the keyword judging sub-module 221 to determine that the content of the to-be-determined short message is not pre-determined. When the keyword suspected of harassing the short message is set, the semantic judgment module 222 is used to perform semantic analysis on the to-be-determined short message, and the analyzed semantics are matched with the semantics of the preset suspected harassing short message, and if the matching is successful, the judgment is to be determined. If the short message is determined to be a harassing short message and the matching fails, the short message to be determined is determined to be a normal short message.
关键字判断子模块221和语义判断子模块222配合使用的优点是,可以对一个待判断短信采用两种不同的判断方法进行判断,增加待判断短信判断为骚扰短信的正确性,使本系统能及时判断出伪装越来越高级的骚扰短信。The advantage of the keyword judging sub-module 221 and the semantic judging sub-module 222 is that two different judging methods can be used for judging a short message to be judged, and the correctness of the judging short message is determined as the harassing short message, so that the system can Timely judgments of harassing text messages that are more and more sophisticated.
在本实施例中,对疑似骚扰短信的关键字设置可以参考实施例一的相关部分,本实施例的关键字判断子模块221对待判断短信的内容与预设的疑似骚扰短信的关键字进行匹配的过程,实际上就是判断待判断短信中是否出现疑似骚扰短信的关键字的过程,所以关键字判断子模块221,采用的判断方法具有简单方便、易实现的优点。In this embodiment, the keyword setting of the suspected harassing short message may be referred to the relevant part of the first embodiment. The keyword determining sub-module 221 of the embodiment determines that the content of the short message is matched with the preset keyword of the suspected harassing short message. The process is actually a process of judging whether a keyword suspected of harassing a short message appears in the short message to be judged. Therefore, the keyword judging sub-module 221 has the advantages of being simple, convenient, and easy to implement.
同样的,对于本实施例的疑似骚扰短信的语义的设置可以参考实施例一的疑似骚扰短信的关键字的设置。语义判断子模块222将根据待判断短信的内容分析出的语义与预设的疑似骚扰短信的语义进行匹配时,只要出现相同或相似的语义都可以视为匹配成功。虽然语义判断子模块222使用的分析方式较为复杂一点,但是考虑到诈骗短信等骚扰短信的字词越来越难以鉴别,采用第二种方式可以对待判断短信的内容进行全面分析,得到相关的语义,对待判断短信的分析更全面,更灵活,能更大程度上将疑似骚扰短信鉴别出来。Similarly, for the setting of the semantics of the suspected harassing short message of the embodiment, reference may be made to the setting of the keyword of the suspected harassing short message of the first embodiment. The semantic judgment sub-module 222 can match the semantics of the content of the short message to be determined according to the semantics of the predetermined suspected harassment message, and the same or similar semantics can be regarded as a successful match. Although the analysis method used by the semantic judgment sub-module 222 is more complicated, considering that the words harassing the short message such as fraudulent short messages are more and more difficult to identify, the second method can be used to comprehensively analyze the content of the short message to obtain relevant semantics. The analysis of the judgment message is more comprehensive and flexible, and can identify the suspected harassment message to a greater extent.
上述关键字判断子模块221和语义判断子模块222采用的判断方法均是基于短信 的内容进行的判断,考虑到短信的发送方号码是可以用来对骚扰短信进行判断的依据,优选的,本实施例的判断规则还包括待判断短信的发送方号码是否满足预设的号码的第二判断条件。The determination methods adopted by the keyword determination sub-module 221 and the semantic judgment sub-module 222 are based on short messages. The judgment of the content is performed, and the sender number of the short message is used as a basis for judging the harassment message. Preferably, the determination rule of the embodiment further includes whether the sender number of the short message satisfies the preset number. The second judgment condition.
同时考虑到根据上述的内容判断方式进行判断可能出现误判的情况,为了应对该情况以及提高本实施例的判断准确性,本实施例可以设置主叫号码白名单将发送方号码属于主叫号码白名单的短信判断为正常短信。考虑到节约判断时间和应对现如今伪装越来越高级的短信,本实施例中,可以设置主叫号码黑名单,将主叫号码属于该黑名单的短信判断为骚扰短信。At the same time, in consideration of the above-mentioned content judgment manner, it may be determined that a misjudgment may occur. In order to cope with the situation and improve the judgment accuracy of the embodiment, the present embodiment may set the calling number white list to the sender number to belong to the calling number. The whitelisted text message is judged to be a normal text message. In the embodiment, the blacklist of the calling number can be set, and the short message belonging to the blacklist is determined as the harassing short message.
优选的,本实施例的判断模块还包括号码判断子模块223,用于判断短信的发送方号码是否在主叫号码黑名单上,和/或判断短信的发送方号码是否在主叫号码白名单上。Preferably, the determining module of the embodiment further includes a number determining sub-module 223, configured to determine whether the sender number of the short message is on the blacklist of the calling number, and/or determine whether the sender number of the short message is in the white list of the calling number. on.
在本实施例中,主叫号码白名单可以由用户上传自身的通信录实现,主叫号码黑名单可以包括由用户设置的号码和由系统侧传送的异常发送方号码,异常发送方号码包括:短信发送行为不正常的发送方号码。所以,优选的,本实施例的号码判断子模块223还用于接收系统侧传送的异常发送方号码,并将其记录到主叫号码黑名单中,异常发送方号码包括:短信发送行为不正常的发送方号码。In this embodiment, the whitelist of the calling number can be implemented by the user uploading his own address book. The blacklist of the calling number can include the number set by the user and the abnormal sender number transmitted by the system side. The abnormal sender number includes: The sender sends the sender's number whose behavior is abnormal. Therefore, preferably, the number judging sub-module 223 of the embodiment is further configured to receive the abnormal sender number transmitted by the system side, and record it in the blacklist of the calling number. The abnormal sender number includes: the short message sending behavior is abnormal. The sender's number.
这里的发送行为不正常表示发送方发送短信的频率、时间等不满足正常情况,根据主叫号码在单位时间内的发送短信的次数可以判断发送方的行为是否不正常,例如当某个主叫号码在一分钟之内发送短信的次数超过预设门限值时,可以将该号码的发送行为判断为不正常发送行为,此时,该号码发送的短信可能就是骚扰短信;还可以进一步地根据该主叫号码发送短信的时间来进行判断,例如,某个号码在凌晨等常规休息时间,还在不停地发送短信,该号码的发送行为不是正常发送行为,发出的短信可能就是骚扰短信。所以在本实施例中,接收并记录异常发送号码到主叫号码黑名单中,可以更准确地判断出骚扰短信。The abnormal sending behavior here indicates that the frequency, time, etc. of the sender sending the short message does not satisfy the normal situation. According to the number of times the calling number sends the short message in the unit time, it can be judged whether the sender's behavior is abnormal, for example, when a certain calling party If the number of times the number of the short message is sent within one minute exceeds the preset threshold, the sending behavior of the number may be determined as an abnormal sending behavior. At this time, the short message sent by the number may be a harassing short message; The calling number sends the time of the short message to judge. For example, a certain number is in the morning break and other regular rest time, and the message is still sent continuously. The sending behavior of the number is not a normal sending behavior, and the sent short message may be a harassing short message. Therefore, in this embodiment, the abnormal sending number is received and recorded in the blacklist of the calling number, so that the harassing short message can be more accurately determined.
考虑到随着时间的推移,用户的通讯录和用户确定的黑名单号码会随之改变,以及骚扰短信的种类会增加,疑似骚扰短信的关键字或语义也随之增加,再使用原有的判断规则,可能导致骚扰短信过滤准确性降低,为了适应用户的需求,优选的,本实施例还包括交互模块24,用于接受用户对判断规则的修改,并根据用户的修改,来更新该判断规则。Considering that over time, the user's address book and user-defined blacklist numbers will change, and the types of harassing text messages will increase, and the keywords or semantics of suspected harassing text messages will increase, and the original The judging rule may reduce the accuracy of the spoofing message filtering. In order to meet the needs of the user, the embodiment further includes an interaction module 24 for accepting the modification of the judging rule by the user, and updating the judging according to the modification of the user. rule.
优选的,交互模块24可以为用户提供交互页面,用户可以在该交互页面上进行 对判断规则的管理,包括对第一判断条件和第二判断条件的查询和修改等,对主叫号码白名单和黑名单的修改包括删除或添加主叫号码,或是再次同步用户当前的通信录作为新的主叫号码白名单。Preferably, the interaction module 24 can provide an interactive page for the user, and the user can perform the interaction on the interactive page. The management of the judgment rule includes querying and modifying the first judgment condition and the second judgment condition, and modifying the whitelist and the blacklist of the calling number includes deleting or adding the calling number, or synchronizing the current communication of the user again. Recorded as a new whitelist of calling numbers.
在发送模块23将判断结果发送至短信中心后,短信中心根据接收到的判断结果会对骚扰短信进行过滤,即不将骚扰短信发送给接收方,考虑到通过上述的判断,可能出现骚扰短信误判的情况,为了不给用户造成更大的损失,为用户提供挽救的机会,为用户提供查询骚扰短信的功能是很有必要的。基于这点考虑,优选的,本实施例的短信过滤系统2还包括存储模块25,用于对骚扰短信进行存储,供用户的后续查询和使用。同时,在存储的时候,存储模块25可以将骚扰短信根据骚扰短信的类型分类存储,并在交互模块24提供的交互界面上显示未读的骚扰短信的数量,提示用户集中进行查看,为误判断的情况提供挽救的可能。After the sending module 23 sends the judgment result to the short message center, the short message center filters the harassing short message according to the received judgment result, that is, does not send the harassing short message to the receiving party, and considering the above judgment, the harassing short message error may occur. In the case of judgment, in order not to cause greater losses to the user, it is necessary to provide the user with the opportunity to save and provide the user with the function of querying the harassing short message. Based on this consideration, preferably, the short message filtering system 2 of the embodiment further includes a storage module 25 for storing the harassing short message for subsequent query and use by the user. At the same time, the storage module 25 can store the harassment message according to the type of the harassment message, and display the number of unread harassment messages on the interaction interface provided by the interaction module 24, prompting the user to view the error. The situation provides the possibility of salvation.
在本实施例中,判断模块22可以将第一判断条件和第二判断条件配合使用,实现对待判断短信进行是否为骚扰短信的二级判断,判断模块22进行二级判断时,第一判断条件和第二判断条件的使用先后顺序没有限定,判断模块22的二级判断方法包括:In this embodiment, the determining module 22 may use the first determining condition and the second determining condition to implement a second-level determination of whether the short message is to be harassed, and the determining unit 22 performs the second-level judgment. The order of use of the second judgment condition is not limited, and the second-level judgment method of the judgment module 22 includes:
方式一:第一步、号码判断子模块223将待判断短信的发送方号码与主叫号码白名单上的号码进行匹配,若匹配成功,则该待判断短信是正常短信,不需要再进行下一级的判断,若匹配失败,则进行下一级的判断;Method 1: The first step, the number judgment sub-module 223 matches the sender number of the short message to be determined with the number on the white list of the calling number. If the matching is successful, the short message to be determined is a normal short message, and the second short message is not required. At the first level, if the match fails, the next level of judgment is made;
或是号码判断子模块223,将待判断短信的发送方号码与主叫号码黑名单上的号码进行匹配,匹配成功,则该待判断短信是骚扰短信,不需要再进行下一级的判断,若匹配失败,则进行下一级的判断;Or the number judgment sub-module 223 matches the sender number of the short message to be determined with the number on the blacklist of the calling number, and if the matching is successful, the short message to be determined is a harassing short message, and the next level of judgment is not required. If the match fails, the next level of judgment is made;
第二步、关键字判断子模块221将待判断短信的内容与预设的疑似骚扰短信关键字进行匹配,匹配成功,将该待判断短信判断为骚扰短信,匹配失败,将该待判断短信判断为正常短信。In the second step, the keyword judging sub-module 221 matches the content of the to-be-determined short message with the preset suspected spoofing short message key, and the matching is successful, and the short-message text message is determined as the harassing short message, and the matching fails, and the short-sending short message is judged. For normal text messages.
或,语义判断子模块222对待判断短信的内容进行语义分析,将分析出的语义与预设的疑似骚扰短信的语义进行匹配,匹配成功,将该待判断短信判断为骚扰短信,匹配失败,将该待判断短信判断为正常短信。Alternatively, the semantic judgment sub-module 222 performs semantic analysis on the content of the determined short message, and matches the analyzed semantics with the semantics of the preset suspected harassing short message, and the matching is successful, and the determined short message is determined as a harassing short message, and the matching fails. The to-be-determined short message is judged as a normal short message.
方式二:第一步、关键字判断子模块221将待判断短信的内容与预设的疑似骚扰短信关键字进行匹配,匹配成功,进行下一步判断,匹配失败,将该待判断短信判断为正常短信。 Manner 2: The first step, the keyword determining sub-module 221 matches the content of the short message to be determined with the default suspected spoofing short message key, and the matching is successful, and the next step is judged, the matching fails, and the short message to be determined is determined to be normal. SMS.
或,语义判断子模块222对待判断短信的内容进行语义分析,将分析出的语义与预设的疑似骚扰短信的语义进行匹配,匹配成功,进行下一步判断,匹配失败,将该待判断短信判断为正常短信。Alternatively, the semantic judgment sub-module 222 performs semantic analysis on the content of the determined short message, and matches the analyzed semantics with the semantics of the preset suspected harassing short message, and the matching is successful, and the next step is judged, the matching fails, and the short message to be determined is determined. For normal text messages.
第二步、号码判断子模块223将待判断短信的发送方号码与主叫号码白名单上的号码进行匹配,若匹配成功,则该待判断短信是正常短信,若匹配失败,则该待判断短信判断为骚扰短信。In the second step, the number determining sub-module 223 matches the sender number of the short message to be determined with the number on the white list of the calling number. If the matching is successful, the short message to be determined is a normal short message. If the matching fails, the method is to be determined. The text message is judged as a harassment message.
或,号码判断子模块223将待判断短信的发送方号码与主叫号码黑名单上的号码进行匹配,匹配成功,则该待判断短信是骚扰短信,匹配失败,则将该待判断短信判断为正常短信。Or, the number judging sub-module 223 matches the sender number of the short message to be determined with the number on the blacklist of the calling number. If the matching is successful, the short message to be determined is a harassing short message, and if the matching fails, the short message to be determined is determined as Normal text message.
在本实施例中,判断模块22除了根据短信内容和发送方号码判断骚扰短信之外,还可以根据短信的其他信息进行判断,例如,根据短信的发送时间、发送地点、发送方的归属地等信息判断待判断短信是否为骚扰短信。具体的判断子条件,可以根据实际情况由用户自由设定,例如用户可以将接收时间在2:00-6:00的短信都判断为骚扰短信。In this embodiment, the determining module 22 may determine the harassing short message according to the short message content and the sender number, and may also determine according to other information of the short message, for example, according to the sending time of the short message, the sending location, the attribution of the sender, and the like. The information determines whether the short message to be judged is a harassing short message. The specific judgment sub-conditions can be freely set by the user according to the actual situation. For example, the user can judge the short message with the receiving time between 2:00 and 6:00 as the harassing short message.
可以想到的是,本实施例的短信过滤系统可以由运营商为用户提供,对应的业务可以称之为短信过滤业务,该业务可以作为一种增值业务为用户提供。在本实施例中,短信过滤系统还可以包括业务受理模块26,用于负责为用户开通短信过滤业务或者注销短信过滤业务。具体的开通方式可以是,业务受理模块26接收用户发送的短信,并根据该短信为用户注册短信过滤业务,或接收用户在网上输入的注册信息为用户注册短信过滤业务。本实施例的发送模块23还可以将注册用户的信息发送给短信中心,控制短信中心将注册用户需要接收的短信作为待判断短信发送给短信过滤系统进行是否为骚扰短信的判断。It is conceivable that the short message filtering system of the present embodiment can be provided by the operator for the user, and the corresponding service can be referred to as a short message filtering service, and the service can be provided as a value-added service for the user. In this embodiment, the short message filtering system may further include a service receiving module 26, configured to open a short message filtering service or cancel the short message filtering service for the user. The specific opening mode may be that the service receiving module 26 receives the short message sent by the user, and registers the short message filtering service for the user according to the short message, or receives the registration information input by the user on the network to register the short message filtering service for the user. The sending module 23 of the embodiment may further send the information of the registered user to the short message center, and control the short message center to use the short message that the registered user needs to receive as the judgment to send the short message to the short message filtering system to determine whether the message is a harassing short message.
参见图3,是一种典型的网络部署示意图,图中的短信过滤系统采用本实施例的短信过滤系统实现,短信中心采用现有的短信中心实现。根据图3中的网络部署示意图,可以看出,在用户A发送短信给用户B的过程中,先是通过无线网络将短信传送到短信中心,结合本实施例的短信过滤系统的介绍可以推测出,短信中心接收到短信后,若短信的接收方注册了短信过滤业务,则将该短信发送给短信过滤系统,短信过滤系统判断该短信是否为骚扰短信,将判断结果发送给短信中心,短信中心将骚扰短信过滤,将正常短信下发给用户B。Referring to FIG. 3, it is a typical network deployment diagram. The short message filtering system in the figure is implemented by the short message filtering system in this embodiment, and the short message center is implemented by using an existing short message center. According to the network deployment diagram in FIG. 3, it can be seen that in the process of sending the short message to the user B by the user A, the short message is first transmitted to the short message center through the wireless network, and the introduction of the short message filtering system in this embodiment can be inferred. After receiving the short message, the SMS center sends the short message to the short message filtering service, and then sends the short message to the short message filtering system. The short message filtering system determines whether the short message is a harassing short message, and sends the judgment result to the short message center, and the short message center will The spoofing SMS filter is sent to the user B.
在本实施例中,在注册之后,用户对判断规则的初次设置可以通过业务受理模块 26进行,对于第一判断条件,业务受理模块26可以呈现系统提供的待判断短信的关键字和/或待判断短信的语义供用户选择,对于第二判断条件,业务受理模块26可以将用户上传的通讯录名单设置为主叫号码白名单,将用户上传的黑名单作为主叫号码黑名单使用。在本实施例中,业务受理模块26还可以用于用户业务属性设置。In this embodiment, after the registration, the user can initially set the judgment rule through the service acceptance module. 26, for the first determining condition, the service receiving module 26 may present the keyword of the short message to be determined provided by the system and/or the semantics of the short message to be determined for the user to select, and for the second determining condition, the service receiving module 26 may upload the user. The list of contacts is set to be the white list of the calling number, and the blacklist uploaded by the user is used as the blacklist of the calling number. In this embodiment, the service acceptance module 26 can also be used for user service attribute setting.
可以理解的是,本实施例的二级判断结果包括待判断短信为骚扰短信,或正常短信。发送模块23将判断结果发送给短信中心,短信中心根据判断结果对待判断短信的处理包括对正常短信放行,即短信中心将正常短信发送给接收方;或,对骚扰短信进行过滤,即短信中心将骚扰短信拦截,不发给收件人;除此之外,本实施例的发送模块23也可以通知短信中心将骚扰短信放行,但是为了提醒用户,发送模块23可以通知短信中心在下发的骚扰短信中添加标识信息,表明其是骚扰短信,提醒用户避免当受骗,优选地,还可以在标识信息中添加表示骚扰短信的类型的信息,将骚扰短信的类型告之用户,避免用户收到诈骗类短信的欺骗。It can be understood that the second-level judgment result of the embodiment includes the short message to be determined as a harassment short message or a normal short message. The sending module 23 sends the determination result to the short message center, and the processing of the short message center according to the judgment result includes: releasing the normal short message, that is, the short message center sends the normal short message to the receiving party; or filtering the harassing short message, that is, the short message center will The spoofing SMS interception is not sent to the recipient; in addition, the sending module 23 of the embodiment may also notify the short message center to release the harassing short message, but in order to remind the user, the sending module 23 may notify the short message center to send the harassing short message. The identification information is added to indicate that it is a harassment message, and the user is reminded to avoid being deceived. Preferably, the information indicating the type of the harassment message is added to the identification information, and the type of the harassing message is advertised to the user to prevent the user from receiving the scam. SMS spoofing.
在本实施例中,交互模块24可以为用户提供web用户门户网页,用户利用业务受理模块26实现判断规则的初始设置等功能,可以通过该web用户门户网页实现,本实施例的判断规则,骚扰短信、用户业务属性等可以存储在物理数据库中。In this embodiment, the interaction module 24 can provide a web user portal webpage for the user, and the user can implement the initial setting of the determination rule by using the service acceptance module 26, and can be implemented through the web user portal webpage, the judgment rule of the embodiment, and the harassment SMS, user service attributes, etc. can be stored in the physical database.
下面结合图4,对用户使用本实施例的短信过滤系统管理判断规则的方法进行说明。参见图4,管理流程包括:A method for the user to use the short message filtering system of the present embodiment to manage the determination rule will be described below with reference to FIG. Referring to Figure 4, the management process includes:
S401、用户通过Internet访问短信过滤系统的WEB用户门户网页,登录账号。S401: The user accesses the WEB user portal webpage of the short message filtering system through the Internet, and logs in the account.
S402、WEB用户门户鉴定用户是否合法。S402. The WEB user portal identifies whether the user is legal.
鉴定合法的方式包括:校验用户是否开户,以及校验用户的用户名、密码是否正确等。,如果鉴定结果为合法,则进入S403或S410;如果鉴定结果为非法,则仍然返S401。The methods for authenticating include: verifying whether the user opens an account, and verifying that the user's username and password are correct. If the authentication result is legal, the process proceeds to S403 or S410; if the authentication result is illegal, the process returns to S401.
S403、用户进入判断规则设置界面,设置判断规则。S403. The user enters a judgment rule setting interface, and sets a judgment rule.
在步骤S403中,判断规则的设置包括,对第一判断条件的设置:用户在系统提供的默认骚扰短信类型中选择自己需要拦截的短信类型和,选择单独采用关键字或语义分析进行骚扰短信的判断,还是采用关键字和语义分析配合进行分析;对第二判断条件的设置:用户上传自身的通讯录作为主叫号码白名单使用。In step S403, the setting of the determining rule includes: setting the first determining condition: the user selects the type of the short message that needs to be intercepted in the default harassing short message type provided by the system, and selects the keyword or semantic analysis to harass the short message separately. Judgment, still use the keyword and semantic analysis to analyze; set the second judgment condition: the user uploads his own address book as the white list of the calling number.
S404、业务受理模块接收S403提交的判断规则,存放入物理数据库中。S404. The service acceptance module receives the judgment rule submitted by S403 and stores it in the physical database.
S405、接收短信中心发送的待判断短信。S405. Receive a short message to be determined sent by the short message center.
S406、判断模块根据接收短信的用户选择的第一判断条件判断待判断短信是否为 疑似骚扰短信,是,则进入S407,否,则进入S409。S406. The determining module determines, according to the first determining condition selected by the user that receives the short message, whether the short message to be determined is If the message is suspected to be harassed, if yes, go to S407, otherwise, go to S409.
S407、判断模块判断主叫号码白名单上是否存在疑似骚扰短信的主叫号码,是,将该待判断短信判断为骚扰短信,进入S408,同时把骚扰短信记录保存到物理数据库;否,则将该待判断短信判断为正常短信,进入S409。S407. The judging module judges whether there is a calling number of the suspected harassing short message on the white list of the calling number, and the judging short message is determined as the harassing short message, and proceeds to S408, and saves the harassing short message record to the physical database; The short message to be determined is judged as a normal short message, and the process proceeds to S409.
S408、发送S407反馈的结果给短信中心,通知短信中心对骚扰短信进行过滤,不下发到用户。S408: Send the result of the feedback of S407 to the short message center, and notify the short message center to filter the harassing short message, and not send it to the user.
S409、发送S406和S409反馈的待判断短信为正常短信的判断结果给短信中心,通知短信中心对该短信进行放行,下发到用户。S409: Send the SGS and the S409 to be judged as the normal short message to the short message center, and notify the short message center to release the short message and deliver the message to the user.
S410、提供用户管理第一判断条件和第二判断条件的功能。S410. Provide a function for the user to manage the first determination condition and the second determination condition.
S411、根据用户对第一判断条件和第二判断条件的修改更新数据库中的第一判断条件和第二判断条件,更新后进入S405。S411. Update the first judgment condition and the second judgment condition in the database according to the modification of the first judgment condition and the second judgment condition by the user, and then go to S405 after the update.
S412、用户通过WEB用户门户查询或删除过滤的骚扰短信,更新物理数据库,然后进入S405。S412. The user queries or deletes the filtered harassment message through the WEB user portal, updates the physical database, and then proceeds to S405.
参见图5,利用本实施例的短信过滤系统进行短信过滤的方法的流程如下:Referring to FIG. 5, the flow of the method for performing short message filtering by using the short message filtering system of this embodiment is as follows:
S501、业务受理模块接收用户通过WEB用户门户提交的判断规则,存入物理数据库中。S501. The service acceptance module receives the judgment rule submitted by the user through the WEB user portal, and stores the rule in the physical database.
S502、接收短信中心发送的待判断短信。S502. Receive a short message to be determined sent by the short message center.
S503、判断待判断短信的内容与预设的疑似骚扰短信的关键字是否匹配,匹配成功,进入S505,匹配失败,进入S504。S503. Determine whether the content of the to-be-determined short message matches the keyword of the preset suspected harassing short message, and the matching is successful, and the process proceeds to S505, and the matching fails, and the process proceeds to S504.
S504、对待判断短信的内容进行语义分析,判断分析得到的结果与预设的疑似骚扰短信的语义是否匹配,匹配成功,进入S505,匹配失败,进入S506。S504: Perform semantic analysis on the content of the judgment message, determine whether the result of the analysis matches the semantic of the preset suspected harassment message, and the matching is successful, and the process proceeds to S505, and the matching fails, and the process proceeds to S506.
S505、判断S503和S504提交的疑似骚扰短信的主叫号码是否在主叫用户白名单上,是,进入S508;否,则进入S506。S505. Determine whether the calling number of the suspected harassing short message submitted by S503 and S504 is on the calling user white list. If yes, go to S508; otherwise, go to S506.
S506、判断S504和S505提交的待判断短信的主叫号码是否在主叫用户黑名单上,是,则进入S507,否,进入S508。S506. Determine whether the calling number of the short message to be determined submitted by S504 and S505 is on the blacklist of the calling user. If yes, go to S507, otherwise, go to S508.
S507、通知短信中心该待判断短信为骚扰短信,对其进行拦截。S507: Notifying the short message center that the short message to be determined is a harassing short message, and intercepting the short message.
S508、通知短信中心该待判断短信为正常短信,下发该短信。S508. Notify the short message center that the short message to be determined is a normal short message, and the short message is sent.
采用本实施例的短信过滤系统,利用判断模块根据预设的判断规则对待判断短信进行是否为骚扰短信的判断,可以达到在短信送达接收方前,将骚扰短信识别出来的目的,基于待判断短信的内容是否满足预设的短信内容的第一判断条件对待判断短信 进行判断,相对于基于短信的发送方的发送行为和基于黑名单的方式具有更高的判断准确性,和更低的误判率,同时用户可以设置和修改判断规则,使得本发明实施例可以根据用户的个人意愿进行短信骚扰拦截,进一步提高骚扰短信过滤的针对性。According to the short message filtering system of the embodiment, the determining module determines whether the short message is a harassing short message according to the preset determining rule, and can achieve the purpose of identifying the harassing short message before the short message is sent to the receiving party, based on the judgment Whether the content of the short message satisfies the first judgment condition of the preset short message content Judging, the sending behavior and the blacklist-based manner of the sender based on the short message have higher judgment accuracy, and a lower false positive rate, and the user can set and modify the judgment rule, so that the embodiment of the present invention can SMS harassment interception based on the user's personal wishes, further improving the pertinence of harassment SMS filtering.
显然,本领域的技术人员应该明白,上述本发明实施例的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储介质(ROM/RAM、磁碟、光盘)中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。所以,本发明实施例不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that the modules or steps of the above embodiments of the present invention can be implemented by a general computing device, which can be concentrated on a single computing device or distributed among multiple computing devices. On the network, optionally, they may be implemented by program code executable by the computing device, such that they may be stored in a storage medium (ROM/RAM, disk, optical disk) by a computing device, and in some In this case, the steps shown or described may be performed in an order different from that herein, or they may be separately fabricated into individual integrated circuit modules, or a plurality of the modules or steps may be implemented as a single integrated circuit module. Therefore, embodiments of the invention are not limited to any particular combination of hardware and software.
上述装置中的各个模块或单元可以通过一个或多个数字信号处理器(DSP)、专用集成电路(ASIC)、处理器、微处理器、控制器、微控制器、现场可编程阵列(FPGA)、可编程逻辑器件或其他电子单元或其任意组合来实现。在本申请实施例中描述的一些功能或处理也可以通过在处理器上执行的软件来实现。Each of the above modules may be implemented by one or more digital signal processors (DSPs), application specific integrated circuits (ASICs), processors, microprocessors, controllers, microcontrollers, field programmable arrays (FPGAs). Implemented by a programmable logic device or other electronic unit or any combination thereof. Some of the functions or processes described in this application embodiment may also be implemented by software executing on a processor.
例如,本发明实施例还提供了一种短信过滤装置,包括:For example, the embodiment of the present invention further provides a short message filtering device, including:
处理器;processor;
用于存储处理器可执行指令的存储器;a memory for storing processor executable instructions;
其中,所述处理器被配置为:Wherein the processor is configured to:
接收短信中心发送的待判断短信;Receiving a short message to be determined sent by the short message center;
根据预设的判断规则对所述待判断短信进行是否为骚扰短信的判断;所述判断规则包括:所述待判断短信的内容是否满足预设的短信内容的第一判断条件;Determining whether the content to be determined is a harassment message according to a preset judgment rule; the determining rule includes: determining whether the content of the to-be-determined message satisfies a first judgment condition of the preset message content;
将判断结果发送给所述短信中心,通知其对判断为骚扰短信的所述待判断短信进行过滤处理。Sending the judgment result to the short message center, and informing it to perform filtering processing on the to-be-determined short message that is determined to be a harassing short message.
该处理器还可以被配置为执行上述方法中的各个步骤。The processor can also be configured to perform various steps in the above methods.
以上内容是结合具体的实施方式对本发明实施例所作的进一步详细说明,不能认定本发明实施例的具体实施只局限于这些说明。对于本技术领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干简单推演或替换,都应当视为属于本发明的保护范围。The above is a detailed description of the embodiments of the present invention in conjunction with the specific embodiments, and the specific implementation of the embodiments of the present invention is not limited to the description. It will be apparent to those skilled in the art that a number of simple derivations or substitutions may be made without departing from the spirit and scope of the invention.
工业实用性Industrial applicability
本申请的方法和装置可以应用于通信技术领域。采用本申请的技术方案,可以在 短信中心将短信转发到接收方之前,对短信进行是否为骚扰短信的判断,尤其是可以根据待判断短信的内容是否满足预设的短信的第一判断条件来对该待判断短信进行判断,可以想到的,一般而言骚扰短信中影响最大的是诈骗类的短信,其中诈骗内容很有可能包括钱、银行卡、中奖等字眼,只要短信内容中出现这些字眼,该短信为骚扰短信的可能性就很高,所以基于短信内容的判断方式具有高针对性和高准确性的优点,在现有技术的第一种骚扰短信应对方式中,当某个正常号码在单位时间内群发的短信数量较多时,即使其不是骚扰号码,也很可能被误判,但是本发明实施例基于短信内容就不会有这种缺点,所以本发明实施例提供的方案具有较高的实用性,能提升用户的体验。 The method and apparatus of the present application can be applied to the field of communication technology. Using the technical solution of the present application, Before the short message center forwards the short message to the receiving party, the short message is judged whether the short message is harassed, and the short message may be judged according to whether the content of the short message satisfies the first judgment condition of the preset short message. In general, the most influential harassment message is the scam message. The scam content may include words such as money, bank card, and winning. As long as these words appear in the message content, the message is the possibility of harassing the message. It is very high, so the judgment method based on the short message content has the advantages of high pertinence and high accuracy. In the first type of harassment short message coping mode in the prior art, when a normal number is sent in a group time, the number of short messages is compared. For a long time, even if it is not a nuisance number, it is likely to be misjudged. However, the embodiment of the present invention does not have such a disadvantage based on the content of the short message. Therefore, the solution provided by the embodiment of the present invention has high practicability and can improve the user's Experience.

Claims (15)

  1. 一种短信过滤方法,其中,包括:A short message filtering method, which includes:
    接收短信中心发送的待判断短信;Receiving a short message to be determined sent by the short message center;
    根据预设的判断规则对所述待判断短信进行是否为骚扰短信的判断;所述判断规则包括:所述待判断短信的内容是否满足预设的短信内容的第一判断条件;Determining whether the content to be determined is a harassment message according to a preset judgment rule; the determining rule includes: determining whether the content of the to-be-determined message satisfies a first judgment condition of the preset message content;
    将判断结果发送给所述短信中心,通知其对判断为骚扰短信的所述待判断短信进行过滤处理。Sending the judgment result to the short message center, and informing it to perform filtering processing on the to-be-determined short message that is determined to be a harassing short message.
  2. 如权利要求1所述的短信过滤方法,其中,判断所述待判断短信的内容是否满足预设的短信内容的第一判断条件的方式包括以下两种方式中的至少一种:The method of filtering the short message according to claim 1, wherein the manner of determining whether the content of the short message to be determined satisfies the first determining condition of the preset short message content comprises at least one of the following two methods:
    将所述待判断短信的内容与预设的疑似骚扰短信关键字进行匹配,根据匹配结果判断所述待判断短信的内容是否满足预设的短信内容的第一判断条件;Matching the content of the to-be-determined short message with the preset suspected spoofing short message keyword, and determining, according to the matching result, whether the content of the to-be-determined short message satisfies the first determining condition of the preset short message content;
    对所述待判断短信的内容进行语义分析,将分析出的语义与预设的疑似骚扰短信的语义进行匹配,根据匹配结果判断所述待判断短信的内容是否满足预设的短信内容的第一判断条件。Performing semantic analysis on the content of the to-be-determined short message, and matching the analyzed semantics with the semantics of the preset suspected harassing short message, and determining, according to the matching result, whether the content of the to-be-determined short message satisfies the first content of the preset short message content. Analyzing conditions.
  3. 如权利要求1所述的短信过滤方法,其中,所述判断规则还包括:所述待判断短信的发送方号码是否满足预设的号码的第二判断条件。The short message filtering method according to claim 1, wherein the determining rule further comprises: a second determining condition that the sender number of the short message to be determined satisfies a preset number.
  4. 如权利要求3所述的短信过滤方法,其中,判断所述待判断短信的内容是否满足预设的号码的第二判断条件包括:判断所述待判断短信的发送方号码是否在主叫号码黑名单上,和/或判断所述待判断短信的发送方号码是否在主叫号码白名单上。The short message filtering method according to claim 3, wherein determining whether the content of the to-be-determined short message satisfies a preset number comprises determining whether the sender number of the to-be-determined short message is in the calling number black On the list, and/or determining whether the sender number of the to-be-determined short message is on the calling number white list.
  5. 如权利要求1-4任一项所述的短信过滤方法,其中,还包括:对所述骚扰短信进行存储。The short message filtering method according to any one of claims 1 to 4, further comprising: storing the harassment short message.
  6. 如权利要求1-4任一项所述的短信过滤方法,其中,还包括:接收用户对所述判断规则的修改,并更新所述判断规则。The short message filtering method according to any one of claims 1 to 4, further comprising: receiving a modification of the determination rule by the user, and updating the determination rule.
  7. 如权利要求4所述的短信过滤方法,其中,还包括:接收系统侧传送的异常发送方号码,并将其记录到所述主叫号码黑名单中,所述异常发送方号码包括:短信发送行为不正常的发送方号码。The short message filtering method according to claim 4, further comprising: receiving an abnormal sender number transmitted by the system side, and recording the same in the blacklist of the calling number, wherein the abnormal sender number includes: sending a short message The sender's number that is not behaving properly.
  8. 一种短信过滤系统,其中,包括A short message filtering system, including
    接收模块,设置为接收短信中心发送的待判断短信;a receiving module, configured to receive a short message to be determined sent by the short message center;
    判断模块,设置为根据预设的判断规则对所述待判断短信进行是否为骚扰短信的判断;所述判断规则包括:所述待判断短信的内容是否满足预设的短信内容的第 一判断条件;The determining module is configured to determine, according to the preset determining rule, whether the short message to be determined is a harassing short message; the determining rule includes: whether the content of the short message to be determined meets the preset short message content a judgment condition;
    发送模块,设置为将判断结果发送给所述短信中心,通知其对判断为骚扰短信的所述待判断短信进行过滤处理。The sending module is configured to send the determination result to the short message center, and notify the user to filter the to-be-determined short message that is determined to be the harassing short message.
  9. 如权利要求8所述的短信过滤系统,其中,还包括:所述判断模块包括关键字判断子模块和语义判断子模块中的至少一个;The short message filtering system according to claim 8, further comprising: said determining module comprising at least one of a keyword determining sub-module and a semantic determining sub-module;
    所述关键字判断子模块,设置为将所述待判断短信的内容与预设的疑似骚扰短信关键字进行匹配,根据匹配结果判断所述待判断短信的内容是否满足预设的短信内容的第一判断条件;The keyword determining sub-module is configured to match the content of the to-be-determined short message with a preset suspected harassing short message keyword, and determine, according to the matching result, whether the content of the to-be-determined short message satisfies the preset short message content. a judgment condition;
    所述语义判断子模块,设置为对所述待判断短信的内容进行语义分析,将分析出的语义与预设的疑似骚扰短信的语义进行匹配,根据匹配结果判断所述待判断短信的内容是否满足预设的短信内容的第一判断条件。The semantic judgment sub-module is configured to perform semantic analysis on the content of the to-be-determined short message, and match the analyzed semantics with the semantics of the preset suspected harassing short message, and determine, according to the matching result, whether the content of the to-be-determined short message is The first judgment condition that satisfies the preset short message content.
  10. 如权利要求8所述的短信过滤系统,其中,所述判断模块使用的所述判断规则还包括:所述待判断短信的发送方号码是否满足预设的号码的第二判断条件。The short message filtering system of claim 8, wherein the determining rule used by the determining module further comprises: a second determining condition that the sender number of the short message to be determined satisfies a preset number.
  11. 如权利要求10所述的短信过滤系统,其中,所述判断模块还包括号码判断子模块,设置为判断所述待判断短信的发送方号码是否在主叫号码黑名单上,和/或判断所述待判断短信的发送方号码是否在主叫号码白名单上。The short message filtering system according to claim 10, wherein the determining module further comprises a number determining sub-module, configured to determine whether the sender number of the to-be-determined short message is on the blacklist of the calling number, and/or determine the location It is determined whether the sender number of the short message is on the white list of the calling number.
  12. 如权利要求8-11任一项所述的短信过滤系统,其中,还包括存储模块,设置为对所述骚扰短信进行存储。The short message filtering system according to any one of claims 8 to 11, further comprising a storage module configured to store the harassment short message.
  13. 如权利要求8-11任一项所述的短信过滤系统,其中,还包括,交互模块,设置为接收用户对所述判断规则的修改,并更新所述判断规则。The short message filtering system according to any one of claims 8-11, further comprising: an interaction module, configured to receive a modification of the determination rule by the user, and update the determination rule.
  14. 如权利要求11所述的短信过滤系统,其中,所述号码判断子模块还设置为接收系统侧传送的异常发送方号码,并将其记录到所述主叫号码黑名单中,所述异常发送方号码包括:短信发送行为不正常的发送方号码。The short message filtering system according to claim 11, wherein the number judging sub-module is further configured to receive an abnormal sender number transmitted by the system side, and record it in the blacklist of the calling number, the abnormal sending The party number includes: the sender number whose message transmission behavior is abnormal.
  15. 一种计算机可读存储介质,用于存储程序,其中所述程序被执行时使得短信过滤装置执行如权利要求1到7中任一方法中的步骤。 A computer readable storage medium for storing a program, wherein the program is executed such that the short message filtering device performs the steps of the method of any one of claims 1 to 7.
PCT/CN2017/084140 2016-05-12 2017-05-12 Short message filtering method and system WO2017193997A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610316155.5A CN107370655A (en) 2016-05-12 2016-05-12 A kind of method for filtering short message and system
CN201610316155.5 2016-05-12

Publications (1)

Publication Number Publication Date
WO2017193997A1 true WO2017193997A1 (en) 2017-11-16

Family

ID=60266676

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/084140 WO2017193997A1 (en) 2016-05-12 2017-05-12 Short message filtering method and system

Country Status (2)

Country Link
CN (1) CN107370655A (en)
WO (1) WO2017193997A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111417122A (en) * 2020-03-25 2020-07-14 杭州迪普科技股份有限公司 Attack prevention method and device
CN113344599A (en) * 2021-06-30 2021-09-03 中国光大银行股份有限公司 Fraud short message identification method and system
CN114900804A (en) * 2022-04-11 2022-08-12 珠海高凌信息科技股份有限公司 Short message management and control system, method, device and storage medium
WO2022256601A1 (en) * 2021-06-03 2022-12-08 Twitter, Inc. Messaging system
CN115589590A (en) * 2022-10-27 2023-01-10 上海创蓝云智信息科技股份有限公司 System, method, electronic equipment and storage medium for efficiently filtering short message blacklist
CN117041978A (en) * 2023-10-08 2023-11-10 北京国都互联科技有限公司 Method for monitoring short message sending content in real time

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108810829B (en) * 2018-04-19 2021-12-14 奇安信科技集团股份有限公司 Multimedia message interception processing method and device
CN109040104A (en) * 2018-08-28 2018-12-18 浪潮软件集团有限公司 Distributed attack blocking method for receipt short messages
CN113840246A (en) * 2020-06-23 2021-12-24 深圳艾派网络科技股份有限公司 Junk short message filtering method and system and computer readable storage medium
CN113453231A (en) * 2021-06-25 2021-09-28 亚信创新技术(南京)有限公司 Anti-spam short message device, system and method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101888445A (en) * 2010-04-30 2010-11-17 南京邮电大学 Integrated method for filtering short message by introducing query software
US20110179026A1 (en) * 2010-01-21 2011-07-21 Erik Van Mulligen Related Concept Selection Using Semantic and Contextual Relationships
CN102480702A (en) * 2010-11-24 2012-05-30 腾讯科技(深圳)有限公司 Short message intercepting method and system
CN103716798A (en) * 2013-12-30 2014-04-09 中国联合网络通信集团有限公司 Short message processing method, device and system
CN103796184A (en) * 2012-10-30 2014-05-14 中国电信股份有限公司 Spam short message recognition method and system
CN104883671A (en) * 2014-02-27 2015-09-02 珠海市君天电子科技有限公司 Junk message determining method and system
CN105472586A (en) * 2015-12-22 2016-04-06 安徽一拓通信科技集团股份有限公司 Spam message monitoring system and method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102547709A (en) * 2010-12-23 2012-07-04 康佳集团股份有限公司 Method and mobile phone for identifying fraud short messages
CN102231873A (en) * 2011-06-22 2011-11-02 中兴通讯股份有限公司 Method and system for monitoring garbage message and monitor processing apparatus

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110179026A1 (en) * 2010-01-21 2011-07-21 Erik Van Mulligen Related Concept Selection Using Semantic and Contextual Relationships
CN101888445A (en) * 2010-04-30 2010-11-17 南京邮电大学 Integrated method for filtering short message by introducing query software
CN102480702A (en) * 2010-11-24 2012-05-30 腾讯科技(深圳)有限公司 Short message intercepting method and system
CN103796184A (en) * 2012-10-30 2014-05-14 中国电信股份有限公司 Spam short message recognition method and system
CN103716798A (en) * 2013-12-30 2014-04-09 中国联合网络通信集团有限公司 Short message processing method, device and system
CN104883671A (en) * 2014-02-27 2015-09-02 珠海市君天电子科技有限公司 Junk message determining method and system
CN105472586A (en) * 2015-12-22 2016-04-06 安徽一拓通信科技集团股份有限公司 Spam message monitoring system and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
MA, NAN: "Research on content based spam short messages identifying", MASTER'S DISSERTATION OF BEIJING UNIVERSITYY OF POSTS AND TELECOMMUNICATIONS, 25 December 2013 (2013-12-25) *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111417122A (en) * 2020-03-25 2020-07-14 杭州迪普科技股份有限公司 Attack prevention method and device
CN111417122B (en) * 2020-03-25 2024-03-01 杭州迪普科技股份有限公司 Attack prevention method and device
WO2022256601A1 (en) * 2021-06-03 2022-12-08 Twitter, Inc. Messaging system
CN113344599A (en) * 2021-06-30 2021-09-03 中国光大银行股份有限公司 Fraud short message identification method and system
CN113344599B (en) * 2021-06-30 2024-06-11 中国光大银行股份有限公司 Fraud short message identification method and system
CN114900804A (en) * 2022-04-11 2022-08-12 珠海高凌信息科技股份有限公司 Short message management and control system, method, device and storage medium
CN114900804B (en) * 2022-04-11 2023-11-03 珠海高凌信息科技股份有限公司 Short message management and control system, method, device and storage medium
CN115589590A (en) * 2022-10-27 2023-01-10 上海创蓝云智信息科技股份有限公司 System, method, electronic equipment and storage medium for efficiently filtering short message blacklist
CN117041978A (en) * 2023-10-08 2023-11-10 北京国都互联科技有限公司 Method for monitoring short message sending content in real time
CN117041978B (en) * 2023-10-08 2023-12-29 北京国都互联科技有限公司 Method for monitoring short message sending content in real time

Also Published As

Publication number Publication date
CN107370655A (en) 2017-11-21

Similar Documents

Publication Publication Date Title
WO2017193997A1 (en) Short message filtering method and system
US11595336B2 (en) Detecting of business email compromise
US11997115B1 (en) Message platform for automated threat simulation, reporting, detection, and remediation
US10911467B2 (en) Targeted attack protection from malicious links in messages using predictive sandboxing
US9912687B1 (en) Advanced processing of electronic messages with attachments in a cybersecurity system
US10027701B1 (en) Method and system for reducing reporting of non-malicious electronic messages in a cybersecurity system
EP2779572B1 (en) System and method for monitoring authentication attempts
US8141132B2 (en) Determining an invalid request
US20190132273A1 (en) Analysis and reporting of suspicious email
WO2016082568A1 (en) Short message safe processing method and apparatus
CA2478299A1 (en) Systems and methods for enhancing electronic communication security
US11563757B2 (en) System and method for email account takeover detection and remediation utilizing AI models
CN109802915B (en) Telecommunication fraud detection processing method and device
US11765116B2 (en) Method for electronic impersonation detection and remediation
US20160119376A1 (en) System and method for filtering electronic messages
Iqbal et al. Study on the effectiveness of spam detection technologies
US10158639B1 (en) Data scrubbing via template generation and matching
KR102200253B1 (en) System and method for detecting fraud usage of message
Liu et al. Detecting and characterizing SMS spearphishing attacks
Androulidakis et al. Fimess: filtering mobile external sms spam
CN110061981A (en) A kind of attack detection method and device
CN104038491B (en) A kind of information intercepting method, apparatus and system
WO2021050990A1 (en) Data analytics tool
WO2013078798A1 (en) Method and system for monitoring a short message
CN106911660B (en) Information management method and device

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 17795615

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 17795615

Country of ref document: EP

Kind code of ref document: A1