CN104038412A - Method and device for filtering spam messages - Google Patents

Method and device for filtering spam messages Download PDF

Info

Publication number
CN104038412A
CN104038412A CN201410302225.2A CN201410302225A CN104038412A CN 104038412 A CN104038412 A CN 104038412A CN 201410302225 A CN201410302225 A CN 201410302225A CN 104038412 A CN104038412 A CN 104038412A
Authority
CN
China
Prior art keywords
message
user
client
module
filtration
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN201410302225.2A
Other languages
Chinese (zh)
Inventor
韩博颖
陈冬梁
翁海斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201410302225.2A priority Critical patent/CN104038412A/en
Publication of CN104038412A publication Critical patent/CN104038412A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a method and device for filtering spam messages. The method and device are used for filtering spam messages for users of a social App. The method for filtering the spam messages comprises the steps of receiving messages sent by a second client end of the social App, judging whether a user of the second client end is a preset user capable of being screened or not, judging whether the message includes spam message key words or not when the user of the second client end is the preset user capable of being screened, and filtering the message when the message includes the spam message key words. According to the technical scheme, comprehensive screening is conducted on the user of the second client end and the spam message key words, so that the basis for filtering the message is not single any more, the condition that normal messages are mistakenly damaged is avoided, accordingly, the spam messages are effectively filtered for the user of the social App, interruptions are eliminated, and the experience degree to the social App of the user is improved.

Description

Filter method and the device of rubbish message
Technical field
The disclosure relates to social application, relates in particular to a kind of method and device that filters rubbish message.
Background technology
In social activity application, user often receives the rubbish message of some similar advertisements, harassing and wrecking and swindle etc., makes user in social process, feel puzzlement.
In correlation technique, only in mail and note, can filter rubbish message, the method of filtering, for by whether the rubbish keyword refining the keywords database providing from Internet information center is provided in identification message, while comprising rubbish keyword in message, is filtered this message.Thisly simply by keyword, filter the method for rubbish message and be not suitable in social application.
In social activity application, in MSN, owing to all there being the possibility connecting each other between user and user, above-mentioned message between user is carried out to simple refuse messages identification, filter according to single, can be easy to accidentally injure the message that normal users sends, cause the mistake of normal messages to be filtered, thereby affect the normal social functions of social application software.Therefore, existing rubbish message filtering technique cannot directly apply to MSN, cannot in social application platform, carry out the filtration of message.
Summary of the invention
For overcoming the problem existing in correlation technique, disclosure embodiment provides method and the device that filters rubbish message, in order to solve the problem for the user filtering rubbish message of social application.
According to the first aspect of disclosure embodiment, a kind of method of filtering rubbish message is provided, comprising:
Receive the message that described social the second client of applying is sent;
Whether the user who judges described the second client is to preset to screen user;
When the user of described the second client is for default can screen user time, judge in described message, whether to comprise rubbish message keyword;
While comprising described rubbish message keyword in described message, filter described message.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: the first client of social application is by analyzing whether the user of the second client is to preset to screen user, when the user of the second client can screen user for presetting, judge in the message that the second client sends and whether contain rubbish message keyword, the message screening of rubbish message keyword will be included, like this, by first filtering out the user who has more the tendency that sends rubbish message, only for this part user, carry out the screening of rubbish message keyword, make filter message according to no longer single, make the filtration of rubbish message have more specific aim, avoided accidentally injuring the situation of normal messages, thereby be effectively the user filtering rubbish message of social application, get rid of and disturb, promote the Experience Degree of user to social activity application.
Optionally, describedly default can screen user and comprise at least one user in following user:
With the user of described the first client contact frequency lower than the user of predeterminated frequency;
By the user of the non-good friend's linking function messaging in described social application, described non-good friend's linking function is the function that two users of non-good friend realize contact;
Use analog machine to send the user of message;
According to user property, send the user of message.
In possibility, targetedly the user of the second client is screened, and then more effectively filter rubbish message.
Optionally, described rubbish message keyword comprises the arbitrary keyword in following keyword:
The rubbish message keyword extracting from the message of the user report of described the first client;
The rubbish message keyword extracting from the message of transmission times higher than preset times in Preset Time section;
The user-defined rubbish message keyword of described the first client.
Optionally, described while comprising described rubbish message keyword in described message, after filtering described message, described method also comprises:
Store the message of described filtration.
In possibility, by the message of stored filter, user can further be deleted or recovery operation to the message of filtering.
Optionally, described method also comprises:
When the user who receives described the first client is during to the recovery operation of the message of described filtration, recover the message of described filtration; Or
When the user who receives described the first client is during to the deletion action of the message of described filtration or when the storage duration of the message of described filtration surpasses default duration, delete the message of described filtration.
In possibility, user can further delete or recovery operation the message of filtering.
Optionally, the described user when receiving described the first client to the recovery operation of the message of described filtration after, recover the message of described filtration, comprising:
Obtain the timestamp of the message of described filtration, the user that described timestamp comprises described the first client receives the time of described message;
By the message recovery of described filtration to the position in message flow corresponding to described timestamp.
In possibility, according to entrained timestamp in the message of filtering, message is returned to the relevant position in message flow in chronological order, facilitate user to check.
Optionally, described method also comprises:
Send the prompting of the message that has described filtration.
In possibility, the message of filtering to user reminding, makes the user can be to not have the message of processing in time further to operate.
Optionally, when the user of described the second client can screen user for presetting, described method also comprises:
According to the user profile of described the second client, obtain the filterability value of the history message of described the second client transmission;
When described filterability value is during higher than default rate value, filter the message that described the second client sends.
In possibility, the filterability value of the history message sending according to the user of the second client, judges whether to filter the message that the second client sends, thereby is effectively the user filtering rubbish message of the first client, for user clears away interference, promote the Experience Degree of user to social activity application.
Optionally, the user who judges described the second client be whether default can screen user before, described method also comprises:
According to the user profile of described the second client, obtain described the second client user hour of log-on and enliven the time;
According to the user's of described the second client hour of log-on and enliven the time, analyze the user's of described the second client liveness;
When described liveness is less than default liveness, carries out the described user who judges described the second client and be whether and defaultly can screen user.
In possibility, according to user's liveness, screen user, can prevent the mistake of normal messages to filter.
According to the second aspect of disclosure embodiment, a kind of device that filters rubbish message is provided, comprising:
Receiver module, the message of sending for receiving the second client of described social application;
The first judge module, for judging that the user who sends described second client of message to described receiver module defaultly can screen user;
The second judge module, for default can screen user time, judges in described message, whether to comprise rubbish message keyword for the user that judges described the second client when described the first judge module;
The first filtering module, for when described the second judge module judges that described message comprises described rubbish message keyword, filters described message.
Optionally, described device also comprises:
Memory module, the message of filtering for storing described the first filtering module.
Optionally, described device also comprises:
Recover module, for the user when receiving described the first client, during to the recovery operation of the message of described the first filtering module filtration, recover the message of described filtration;
Removing module, surpasses while presetting duration during the deletion action of the message of described the first filtering module being filtered for the user when receiving described the first client or when the storage duration of the message of described filtration, deletes the message of described filtration.
Optionally, described recovery module comprises:
The first acquiring unit, for obtaining the timestamp of the message of described filtration, the user that described timestamp comprises described the first client receives the time of described message;
Recovery unit, for the position of message flow corresponding to described timestamp that the message recovery of described filtration is obtained to described the first acquiring unit.
Optionally, described device also comprises:
Prompting module, for sending the prompting of the message that has described the first filtering module filtration.
Optionally, described device also comprises:
The first acquisition module, in the time of can screening user, obtains the filterability value of the history message sending to described second client of described receiver module transmission message for the user when described the second client for presetting;
The second filtering module, during higher than default rate value, filters the message that described the second client sends for the described filterability value obtained when described the first acquisition module.
Optionally, described device also comprises:
The second acquisition module, for obtain to described receiver module send message described the second client user hour of log-on and enliven the time;
Analysis module, for the user's of described the second client of obtaining according to described the second acquisition module hour of log-on and enliven the time, analyzes the user's of described the second client liveness;
Whether control module, while being less than default liveness for analyzing described liveness when described analysis module, controlling user that described the first judge module judges described the second client and be and defaultly can screen user.
According to the third aspect of disclosure embodiment, a kind of device that filters rubbish message is provided, comprising:
Processor;
Memory for storage of processor executable instruction;
Wherein, described processor is configured to:
Receive the message that described social the second client of applying is sent;
Whether the user who judges described the second client is to preset to screen user;
When the user of described the second client is for default can screen user time, judge in described message, whether to comprise rubbish message keyword;
While comprising described rubbish message keyword in described message, filter described message.
Should be understood that, it is only exemplary and explanatory that above general description and details are hereinafter described, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing is herein merged in specification and forms the part of this specification, shows embodiment according to the invention, and is used from and explains principle of the present invention with specification one.
Fig. 1 is according to a kind of flow chart that filters the method for rubbish message shown in an exemplary embodiment;
Fig. 2 is according to a kind of flow chart that filters the method for rubbish message shown in an exemplary embodiment;
Fig. 3 is according to the interface schematic diagram of dustbin in a kind of social application shown in an exemplary embodiment;
Fig. 4 is the messaging list schematic diagram of storing according in dustbin in a kind of social application shown in an exemplary embodiment;
Fig. 5 is the schematic diagram of display operation option while clicking the message of filtration according to user in a kind of social application shown in an exemplary embodiment;
Fig. 6 deletes the operation chart of the message of filtration according to user in a kind of social application shown in an exemplary embodiment;
Fig. 7 deletes the operation chart of the message of filtration according to user in a kind of social application shown in an exemplary embodiment;
Fig. 8 recovers the operation chart of the message of filtration according to user in a kind of social application shown in an exemplary embodiment;
Fig. 9 recovers the operation chart of the message of filtration according to user in a kind of social application shown in an exemplary embodiment;
Figure 10 is according to emptying the operation chart of the message of filtration in a kind of social application shown in an exemplary embodiment;
Figure 11 is according to emptying the operation chart of the message of filtration in a kind of social application shown in an exemplary embodiment;
Figure 12 is according to the interface display figure of dustbin in a kind of social application shown in an exemplary embodiment;
Figure 13 is according to the interface display figure of rubbish message is set in a kind of social application shown in an exemplary embodiment;
Figure 14 is according to a kind of block diagram that filters the device of rubbish message shown in an exemplary embodiment;
Figure 15 is according to the structured flowchart of the recovery module shown in an exemplary embodiment;
Figure 16 is according to the block diagram of a kind of device shown in an exemplary embodiment.
Embodiment
Here will at length to exemplary embodiment, describe, its example shown in the accompanying drawings.When description below relates to accompanying drawing, unless separately there is expression, the same numbers in different accompanying drawings represents same or analogous key element.Execution mode described in following exemplary embodiment does not represent all execution modes consistent with the present invention.On the contrary, they are only the examples with apparatus and method as consistent in some aspects that described in detail in appended claims, of the present invention.
Fig. 1 is according to a kind of flow chart that filters the method for rubbish message shown in an exemplary embodiment, as shown in Figure 1, filter the method for rubbish message for first client of social activity application, in the first client of MSN, the method comprises the following steps:
Step S11, receives the message that social the second client of applying is sent;
Step S12, judges whether the user of the second client is to preset to screen user;
Step S13, when the user of the second client is for default can screen user time, judges in above-mentioned message, whether to comprise rubbish message keyword;
Step S14, while comprising rubbish message keyword in above-mentioned message, filters above-mentioned message.
In the technical scheme of disclosure embodiment, the first client of social application is by analyzing whether the user of the second client is to preset to screen user, when the user of the second client can screen user for presetting, judge in the message that the second client sends and whether contain rubbish message keyword, the message screening of rubbish message keyword will be included, like this, by first filtering out the user who has more the tendency that sends rubbish message, only for this part user, carry out the screening of rubbish message keyword, make filter message according to no longer single, make the filtration of rubbish message have more specific aim, avoided accidentally injuring the situation of normal messages, thereby be effectively the user filtering rubbish message of social application, get rid of and disturb, promote the Experience Degree of user to social activity application.
In one embodiment, in step S12, by the user types of the user of the first client and the second client is carried out to refinement, the user of receipt message carries out refinement with the user types that sends message, judges whether the user of the second client is to preset to screen user.
The user of the first client is the user of receipt message, can be refined as following several: the first is single chat user, mainly for use shake hands, near the weak received rubbish message of crowd that is related to social functions such as.The second is little paper slip user, mainly for the user who is related to social functions a little less than using.The third is group chat user, mainly for group's any active ues or have more interest group or near group user.
The user of the second client sends the user of message, can be refined as following several: the first is brush user, and the profit of take is object, a large amount of message that hinders user to experience social application of issue.The second is the user that specific aim is thrown in advertisement, according to the attributes such as user tag, the region user of releasing advertisements targetedly.The third is individual's harassing and wrecking property user, mainly for send the user of message by relationship function a little less than some.Above-mentioned weak relationship function refers generally between non-good friend's relation, be used for realizing the function of contact, such as little paper slip function, handshake function etc.
In one embodiment, with reference to kind subdivision to the user of the user of above-mentioned the first client and the second client, can arrange and defaultly can screen user and comprise at least one user in following user:
(1) with the user of the first client contact frequency lower than the user of predeterminated frequency; In the user of the first client of above-mentioned refinement and the user types of the second client, a little less than using in single chat user, be related to the user of social functions, little paper slip user or individual's harassing and wrecking property user, conventionally to contact frequency lower with the user of another client, thus can be defined as with the user of the first client contact frequency lower than the user of predeterminated frequency;
(2) user of the non-good friend's linking function messaging in applying by social activity, non-good friend's linking function is the function that two users of non-good friend realize contact; Non-good friend's linking function is the weak relationship function in above-mentioned refinement user types, for example little paper slip function, and in the user types of above-mentioned refinement, the user of the non-good friend's linking function messaging during little paper slip user is and applies by social activity;
(3) use analog machine to send the user of message; For example, use a large amount of users of obstruction of analog machine issue to experience the message of social application, in the user types of above-mentioned refinement, brush user is the user who uses analog machine to send message;
(4) according to user property, send the user of message; For example, according to attributes such as user's label, regions, send targetedly Taobao, part-time advertisement, deceptive information etc., in the user types of above-mentioned refinement, in group chat user, according to group's attribute, send the user of message, the user of specific aim input advertisement and individual's harassing and wrecking property user can be defined as sending according to user property the user of message.
In addition, the user who determines the second client, be whether default can screen user time, can be by obtaining the user profile of the second client the message of sending from the second client, thus according to the user profile of the second client, the user who analyzes the second client defaultly can screen user.
In one embodiment, above-mentioned rubbish message keyword can comprise the arbitrary keyword in following keyword:
(1) the rubbish message keyword extracting from the message of the user report of the first client; When the message receiving as the user of the first client belongs to rubbish message, can report rubbish message, server is analyzed the message of reporting of user, and extracts rubbish message keyword wherein, is stored in rubbish message keywords database.
(2) the rubbish message keyword extracting from the message of transmission times higher than preset times in Preset Time section; If in a period of time section, the user of the first client repeats to receive a certain message, this message is likely rubbish message, and server is the number of repetition in Preset Time section according to the message receiving, and from the message that repeats to receive, extracts rubbish message keyword.Wherein, Preset Time section and preset times can be set as required, for example, Preset Time section is made as 2 days, preset times is made as 5 times, concerning the user of the first client, when the number of times that repeated to receive when a certain message within 2 days surpasses 5 times, server will extract rubbish message keyword from this repetition message, is stored in rubbish message keywords database.
The user-defined rubbish message keyword of (3) first clients; The user of the first client can customize rubbish message keyword, is stored in rubbish message keywords database.
In addition, the keyword of rubbish message keywords database for dividing the relevant offices such as the mode of word algorithm and Internet information center to refine according to waste advertisements, comprises advertising words, illegal word etc.
After step S14, after filtering out rubbish message, said method also can comprise:
The message of stored filter.
In the dustbin of social activity application, make user to carry out deletion action or recovery operation to the message of filtering the message stores of filtering.When message is filtered by mistake, user can recover by wrong message of filtering from dustbin.
In one embodiment, the message of filtration is stored in the dustbin of social application, and the message not being filtered is presented in the message flow of social application, and concrete steps can be embodied as following flow process, as shown in Figure 2:
Step S21, receives the message that social the second client of applying is sent;
Step S22, obtains the user profile of the second client;
Step S23, judges whether the user of the second client is to preset to screen user; If the user of the second client can screen user for default, perform step S24; If the user of the second client can not screen user for default, perform step S27;
Step S24, judges in message, whether to comprise rubbish message keyword; If comprise rubbish message keyword in message, perform step S25; If do not comprise rubbish message keyword in message, perform step S27;
Step S25, filter message;
Wherein, filter message can be for not presenting immediately this message, or this message is not put into normal message conversation record, and the disclosure does not limit this.
Step S26, in the dustbin that the message stores of filtering is applied in social activity;
Optionally, the message of filtration can be deleted immediately.In order to meet user, likely check the demand of rubbish message, also can be further by the message stores of filtering ponds in dustbin.Like this, user can check in dustbin that the rubbish message having filtered is historical, also can select the rubbish message in dustbin to return in normal message conversation record.
Step S27, is shown to message the user of the first client.
If do not comprise rubbish message keyword in message, can for example can present to immediately user with reference to the processing mode of user message in correlation technique according to normal Message Processing, or put into message conversation record, the present embodiment does not limit this.
After the message of stored filter, can the message of the filtration of storing in dustbin be recovered or be deleted according to user's indication, now, said method also can comprise:
When the user who receives the first client is during to the recovery operation of the message of filtering, recover the message of filtering; Or, when the user who receives the first client is during to the deletion action of the message of filtering or when the storage duration of the message of filtering surpasses default duration, delete the message of filtration.User can operate the message of storing in shown dustbin by the display interface of terminal, thus the message of deleting or recovering to filter.
By specific embodiment, interface display and recovery operation or the deletion action of user on display interface in terminal is described below.
In one embodiment, the social activity application X of take is merely example, as shown in Figure 3, at X, chat in application, on terminal interface, show successively rubbish message box, discovery feature, greeting function and received other users' of user that X chats message (for example user 1, user 2, user 3 send to active user's message).In rubbish message box, the message after stored filter, when user clicks rubbish message box, the messaging list of the filtration of storing in deployable demonstration rubbish message box, as shown in Figure 4.User opens after rubbish message box by click action, will show the user 4 of filtration and the messaging list that user 5 sends, and below user's name, also can show the content of filtered message.
For the message in the dustbin showing on display interface, user can the setting action corresponding with recovery operation or deletion action.For example, when user clicks the message in dustbin, the option of show needle to this message, comprises this message of deletion, recovers this message and recovery and reply this message.The schematic diagram that Figure 5 shows that display operation option when user in an embodiment clicks the message of filtration, as shown in Figure 5, the rubbish message box during the X of still take chats is example.In rubbish message box, store the message that user 4 and user 5 send, when user clicks the user 4 in list, can the option of operation of show needle to this message below screen.In option of operation, when user clicks " deleting this message ", the message that user 4 sends will be deleted; When user clicks " recovering this message ", the message that user 4 sends will be restored in messaging list, for user, checks or replys; When user clicks " recover and reply this message ", the message that user 3 sends will be restored in messaging list, and meanwhile, user can directly reply this message.
In addition, user also can be recovered or delete the message of the filtration of storing in rubbish message box by the operation horizontally slipping.As shown in Figure 6, when user's finger slides left according to the direction of arrow shown in figure, in list, user 5 right side just there will be " deletion " option, as shown in Figure 7, user continues slide left or click " deletion " option, can delete the message that user 5 sends.Correspondingly, as shown in Figure 8, when user's finger slides to the right according to the direction of arrow shown in figure, in list, user 5 left side just there will be " recovery " option, as shown in Figure 9, user continues slip to the right or clicks " recovery " option in left side, can recover the message that user 5 sends.
In one embodiment, when the storage duration of the message of filtering surpasses default duration, system can be deleted the message of the filtration of storage automatically, default duration can be set as required, for example be set as 30 days, the message stores duration filtering in dustbin surpassed after 30 days, and system will be deleted this message automatically.For example, user can empty operation to the message of the filtration of storing in dustbin.As shown in figure 10, the rubbish message box during the X of still take chats is example, stores the message that user 4 and user 5 send in rubbish message box, enters rubbish message box, shows user 4 and user's 5 messaging list, and the option that empties rubbish message.When user clicks after " emptying rubbish message " option, display interface can show the option that whether empties all rubbish messages, comprises " cancellation " option and " determining " option, as shown in figure 11.When user clicks after " determining " option, will empty all rubbish messages, rubbish message box is empty.
The step of the message that above-mentioned recovery is filtered may be embodied as: obtain the timestamp of the message of filtration, the user that timestamp comprises the first client receives the time of message; By the message recovery filtering to the position in message flow corresponding to timestamp.According to entrained timestamp in the message of filtering, message is returned to the relevant position in message flow in chronological order, facilitate user to check.
In one embodiment, after the message of the second client transmission is filtered and is stored in dustbin, also can send to the user of the first client the prompting that has the message of filtering.In dustbin, user can arrange the mode of prompting as required, for example, is set to, according to default frequency, the user of the first client is sent to prompting, and default frequency can be set by the user, as every other day reminded once.For example, user can be by arranging function setting in the dustbin showing in terminal, rubbish message box during the X of still take chats is example, as shown in figure 12, upper right side at rubbish message box, show " setting " option, user can be by clicking " setting " option, to reminding operation to arrange.As shown in figure 13, when user clicks after " setting " option, will enter function is set, the option of several modes of display alarm operation on screen, comprise " interception message, remind once every day ", " interception message, does not remind " and " forbidding this plug-in unit " option.If user selects " interception message, remind once every day " option, after message is filtered, be stored in rubbish message box, system can be sent every 24 hours the prompting that once has the message of filtering to user; If user selects " interception message, does not remind " option, after message is filtered, be stored in rubbish message box, to user, do not send the prompting that has the message of filtering; If user selects " forbidding this plug-in unit " option, the function of filter message is not enabled, and all message that user receives all can be stored in message flow.
In one embodiment, said method, after execution of step S11-S12, can continue to perform step S13-14 and complete the filtration to rubbish message; Can also be after execution of step S11-S12, when the user of the second client can screen user for presetting, the filterability value of the history message sending according to the user of the second client judges whether to need filter message, and concrete implementation step is as follows:
Steps A 1, obtains the filterability value of the history message that the user of the second client sends;
Steps A 2, when filterability value is during higher than default rate value, filters the message that the user of the second client sends.
Wherein, default rate value can be set as required, for example, will preset rate value and be set as 50%, when the filterability value of the history message sending as the user of the second client surpasses 50%, directly filters out the message that this user sends.
According to above-mentioned implementation step, judge whether filter message, the filterability value of the history message sending according to the user of the second client, judge whether to filter the message that the second client sends, thereby be effectively the user filtering rubbish message of the first client, for user clears away interference, promote the Experience Degree of user to social activity application.
In one embodiment, said method, before execution of step S12, can directly perform step user that S12 judges the second client and be whether and defaultly can screen user, thereby complete the filtration to rubbish message, also can increase again other Rule of judgment, when Rule of judgment meets, judge whether the user of the second client is to preset to screen user.For example, analyze the user's of the second client liveness, when liveness is less than default liveness, then judge whether the user of the second client is to preset to screen user.Specifically can be embodied as following steps:
Step B1, obtain the second client user hour of log-on and enliven the time;
Step B2, according to the user's of the second client hour of log-on and enliven the time, analyzes the user's of the second client liveness;
Step B3, when liveness is less than default liveness, carries out and judges whether the user of the second client is to preset to screen user.
In this embodiment, according to user's liveness, screen user, can prevent the mistake of normal messages to filter.
Wherein, the user's of the second client liveness is analyzed according to user's hour of log-on and the time of enlivening, the time of enlivening can specifically be divided into day enlivens the time or week is enlivened the time, when according to day, the time of enlivening is analyzed, day liveness that can analysis user, Main Basis is user's size of message of every day, when according to week, the time of enlivening is analyzed, all liveness that can analysis user, Main Basis is user's size of message weekly.
Figure 14 is according to a kind of device block diagram that filters rubbish message shown in an exemplary embodiment.With reference to Figure 14, this device comprises:
Receiver module 141, the message of sending for receiving the second client of social application;
The first judge module 142, for judging that the user who sends the second client of message to receiver module 141 defaultly can screen user;
The second judge module 143, for default can screen user time, judges in message, whether to comprise rubbish message keyword for the user when first judge module 142 judgement the second clients;
The first filtering module 144, for when the second judge module 143 judgement message comprise rubbish message keyword, filter message;
Memory module 145, the message of filtering for storing the first filtering module 144;
Recover module 146, for when receiving the recovery operation of the message that the user of the first client filters the first filtering module 144, recover the message of filtration;
Removing module 147, during the deletion action of the message of the first filtering module 144 being filtered for the user when receiving the first client or when the storage duration of the message of filtering surpasses default duration, deletes the message of filtration;
Prompting module 148, for sending the prompting of the message that has the first filtering module 144 filtrations;
The first acquisition module 149, in the time of can screening user, obtains the filterability value of the history message sending to the second client of receiver module 141 transmission message for the user when described the second client for presetting;
The second filtering module 1410, during higher than default rate value, filters the message that the second client sends for the filterability value obtained when the first acquisition module 149;
The second acquisition module 1411, for obtain to receiver module 141 send message the second client user hour of log-on and enliven the time;
Analysis module 1412, for the user's of the second client of obtaining according to the second acquisition module 1411 hour of log-on and enliven the time, analyzes the user's of the second client liveness;
Control module 1413, while being less than default liveness for analyzing liveness when analysis module 1412, control the first judge module 142 judges whether the user of the second client is to preset to screen user.
In one embodiment, as shown in figure 15, recover module 146 and also can comprise:
The first acquiring unit 1461, for obtaining the timestamp of the message of filtration, the user that timestamp comprises the first client receives the time of message;
Recovery unit 1462, for the position of message flow corresponding to timestamp that the message recovery of filtration is obtained to the first acquiring unit 1461.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations have been described in detail in the embodiment of relevant the method, will not elaborate explanation herein.
Figure 16 be according to shown in an exemplary embodiment a kind of for filter rubbish message the block diagram of device 800.For example, device 800 can be mobile phone, computer, digital broadcast terminal, information receiving and transmitting equipment, game console, flat-panel devices, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Figure 16, device 800 can comprise following one or more assembly: processing components 802, memory 804, power supply module 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of I/O (I/O), sensor cluster 814, and communications component 816.
The integrated operation of processing components 802 common control device 800, such as with demonstration, call, data communication, the operation that camera operation and record operation are associated.Treatment element 802 can comprise that one or more processors 820 carry out instruction, to complete all or part of step of above-mentioned method.In addition, processing components 802 can comprise one or more modules, is convenient to mutual between processing components 802 and other assemblies.For example, processing unit 802 can comprise multi-media module, to facilitate mutual between multimedia groupware 808 and processing components 802.
Memory 804 is configured to store various types of data to be supported in the operation of equipment 800.The example of these data comprises for any application program of operation on device 800 or the instruction of method, contact data, telephone book data, message, picture, video etc.Memory 804 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.
Electric power assembly 806 provides electric power for installing 800 various assemblies.Electric power assembly 806 can comprise power-supply management system, one or more power supplys, and other and the assembly that generates, manages and distribute electric power to be associated for device 800.
Multimedia groupware 808 is included in the screen that an output interface is provided between described device 800 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises that one or more touch sensors are with the gesture on sensing touch, slip and touch panel.Described touch sensor is the border of sensing touch or sliding action not only, but also detects duration and the pressure relevant to described touch or slide.In certain embodiments, multimedia groupware 808 comprises a front-facing camera and/or post-positioned pick-up head.When equipment 800 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 810 is configured to output and/or input audio signal.For example, audio-frequency assembly 810 comprises a microphone (MIC), and when device 800 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The audio signal receiving can be further stored in memory 804 or be sent via communications component 816.In certain embodiments, audio-frequency assembly 810 also comprises a loud speaker, for output audio signal.
I/O interface 812 is for providing interface between processing components 802 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor cluster 814 comprises one or more transducers, is used to device 800 that the state estimation of various aspects is provided.For example, sensor cluster 814 can detect the opening/closing state of equipment 800, the relative positioning of assembly, for example described assembly is display and the keypad of device 800, the position of all right checkout gear 800 of sensor cluster 814 or 800 1 assemblies of device changes, user is with device 800 existence that contact or do not have the variations in temperature of device 800 orientation or acceleration/deceleration and device 800.Sensor cluster 814 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor cluster 814 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor cluster 814 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communications component 816 is configured to be convenient to the communication of wired or wireless mode between device 800 and other equipment.Device 800 wireless networks that can access based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communication component 816 receives broadcast singal or the broadcast related information from external broadcasting management system via broadcast channel.In one exemplary embodiment, described communication component 816 also comprises near-field communication (NFC) module, to promote junction service.For example, can be based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 800 can be realized by one or more application specific integrated circuits (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components, for carrying out said method.
In the exemplary embodiment, also provide a kind of non-provisional computer-readable recording medium that comprises instruction, for example, comprised the memory 804 of instruction, above-mentioned instruction can have been carried out said method by the processor 820 of device 800.For example, described non-provisional computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage equipment etc.
A non-provisional computer-readable recording medium, when the instruction in described storage medium is carried out by the processor of mobile terminal, makes mobile terminal can carry out a kind of method of filtering rubbish message, and described method comprises:
Receive the message that described social the second client of applying is sent;
Whether the user who judges described the second client is to preset to screen user;
When the user of described the second client is for default can screen user time, judge in described message, whether to comprise rubbish message keyword;
While comprising described rubbish message keyword in described message, filter described message.
Describedly default can screen user and comprise at least one user in following user:
With the user of described the first client contact frequency lower than the user of predeterminated frequency;
By the user of the non-good friend's linking function messaging in described social application, described non-good friend's linking function is the function that two users of non-good friend realize contact;
Use analog machine to send the user of message;
According to user property, send the user of message.
Described rubbish message keyword comprises the arbitrary keyword in following keyword:
The rubbish message keyword extracting from the message of the user report of described the first client;
The rubbish message keyword extracting from the message of transmission times higher than preset times in Preset Time section;
The user-defined rubbish message keyword of described the first client.
Described while comprising described rubbish message keyword in described message, after filtering described message, described method also comprises:
Store the message of described filtration.
Described method also comprises:
When the user who receives described the first client is during to the recovery operation of the message of described filtration, recover the message of described filtration; Or
When the user who receives described the first client is during to the deletion action of the message of described filtration or when the storage duration of the message of described filtration surpasses default duration, delete the message of described filtration.
The described user when receiving described the first client to the recovery operation of the message of described filtration after, recover the message of described filtration, comprising:
Obtain the timestamp of the message of described filtration, the user that described timestamp comprises described the first client receives the time of described message;
By the message recovery of described filtration to the position in message flow corresponding to described timestamp.
Described method also comprises:
Send the prompting of the message that has described filtration.
When the user of described the second client can screen user for presetting, described method also comprises:
Obtain the filterability value of the history message of described the second client transmission;
When described filterability value is during higher than default rate value, filter the message that described the second client sends.
The user who judges described the second client be whether default can screen user before, described method also comprises:
Obtain described the second client user hour of log-on and enliven the time;
According to the user's of described the second client hour of log-on and enliven the time, analyze the user's of described the second client liveness;
When described liveness is less than default liveness, carries out the described user who judges described the second client and be whether and defaultly can screen user.
Those skilled in the art, considering specification and putting into practice after invention disclosed herein, will easily expect other embodiment of the present invention.The application is intended to contain any modification of the present invention, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present invention and comprised undocumented common practise or the conventional techniques means in the art of the disclosure.Specification and embodiment are only regarded as exemplary, and true scope of the present invention and spirit are pointed out by claim below.
Should be understood that, the present invention is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various modifications and change not departing from its scope.Scope of the present invention is only limited by appended claim.

Claims (17)

1. filter a method for rubbish message, the first client for social activity application, is characterized in that, comprising:
Receive the message that described social the second client of applying is sent;
Whether the user who judges described the second client is to preset to screen user;
When the user of described the second client is for default can screen user time, judge in described message, whether to comprise rubbish message keyword;
While comprising described rubbish message keyword in described message, filter described message.
2. method according to claim 1, is characterized in that,
Describedly default can screen user and comprise at least one user in following user:
With the user of described the first client contact frequency lower than the user of predeterminated frequency;
By the user of the non-good friend's linking function messaging in described social application, described non-good friend's linking function is the function that two users of non-good friend realize contact;
Use analog machine to send the user of message;
According to user property, send the user of message.
3. method according to claim 1, is characterized in that, described rubbish message keyword comprises the arbitrary keyword in following keyword:
The rubbish message keyword extracting from the message of the user report of described the first client;
The rubbish message keyword extracting from the message of transmission times higher than preset times in Preset Time section;
The user-defined rubbish message keyword of described the first client.
4. method according to claim 1, is characterized in that, described while comprising described rubbish message keyword in described message, after filtering described message, described method also comprises:
Store the message of described filtration.
5. method according to claim 4, is characterized in that, described method also comprises:
When the user who receives described the first client is during to the recovery operation of the message of described filtration, recover the message of described filtration; Or
When the user who receives described the first client is during to the deletion action of the message of described filtration or when the storage duration of the message of described filtration surpasses default duration, delete the message of described filtration.
6. method according to claim 5, is characterized in that, the described user when receiving described the first client to the recovery operation of the message of described filtration after, recover the message of described filtration, comprising:
Obtain the timestamp of the message of described filtration, the user that described timestamp comprises described the first client receives the time of described message;
By the message recovery of described filtration to the position in message flow corresponding to described timestamp.
7. method according to claim 1, is characterized in that, described method also comprises:
Send the prompting of the message that has described filtration.
8. method according to claim 1, is characterized in that, when the user of described the second client can screen user for presetting, described method also comprises:
Obtain the filterability value of the history message of described the second client transmission;
When described filterability value is during higher than default rate value, filter the message that described the second client sends.
9. method according to claim 1, is characterized in that, the user who judges described the second client be whether default can screen user before, described method also comprises:
Obtain described the second client user hour of log-on and enliven the time;
According to the user's of described the second client hour of log-on and enliven the time, analyze the user's of described the second client liveness;
When described liveness is less than default liveness, carries out the described user who judges described the second client and be whether and defaultly can screen user.
10. filter a device for rubbish message, the first client for social activity application, is characterized in that, comprising:
Receiver module, the message of sending for receiving the second client of described social application;
The first judge module, for judging that the user who sends described second client of message to described receiver module defaultly can screen user;
The second judge module, for default can screen user time, judges in described message, whether to comprise rubbish message keyword for the user that judges described the second client when described the first judge module;
The first filtering module, for when described the second judge module judges that described message comprises described rubbish message keyword, filters described message.
11. devices according to claim 10, is characterized in that, described device also comprises:
Memory module, the message of filtering for storing described the first filtering module.
12. devices according to claim 11, is characterized in that, described device also comprises:
Recover module, for the user when receiving described the first client, during to the recovery operation of the message of described the first filtering module filtration, recover the message of described filtration;
Removing module, surpasses while presetting duration during the deletion action of the message of described the first filtering module being filtered for the user when receiving described the first client or when the storage duration of the message of described filtration, deletes the message of described filtration.
13. devices according to claim 12, is characterized in that, described recovery module comprises:
The first acquiring unit, for obtaining the timestamp of the message of described filtration, the user that described timestamp comprises described the first client receives the time of described message;
Recovery unit, for the position of message flow corresponding to described timestamp that the message recovery of described filtration is obtained to described the first acquiring unit.
14. devices according to claim 10, is characterized in that, described device also comprises:
Prompting module, for sending the prompting of the message that has described the first filtering module filtration.
15. devices according to claim 10, is characterized in that, described device also comprises:
The first acquisition module, in the time of can screening user, obtains the filterability value of the history message sending to described second client of described receiver module transmission message for the user when described the second client for presetting;
The second filtering module, during higher than default rate value, filters the message that described the second client sends for the described filterability value obtained when described the first acquisition module.
16. devices according to claim 10, is characterized in that, described device also comprises:
The second acquisition module, for obtain to described receiver module send message described the second client user hour of log-on and enliven the time;
Analysis module, for the user's of described the second client of obtaining according to described the second acquisition module hour of log-on and enliven the time, analyzes the user's of described the second client liveness;
Whether control module, while being less than default liveness for analyzing described liveness when described analysis module, controlling user that described the first judge module judges described the second client and be and defaultly can screen user.
17. 1 kinds of devices that filter rubbish message, is characterized in that, comprising:
Processor;
Memory for storage of processor executable instruction;
Wherein, described processor is configured to:
Receive the message that described social the second client of applying is sent;
Whether the user who judges described the second client is to preset to screen user;
When the user of described the second client is for default can screen user time, judge in described message, whether to comprise rubbish message keyword;
While comprising described rubbish message keyword in described message, filter described message.
CN201410302225.2A 2014-06-27 2014-06-27 Method and device for filtering spam messages Pending CN104038412A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410302225.2A CN104038412A (en) 2014-06-27 2014-06-27 Method and device for filtering spam messages

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410302225.2A CN104038412A (en) 2014-06-27 2014-06-27 Method and device for filtering spam messages

Publications (1)

Publication Number Publication Date
CN104038412A true CN104038412A (en) 2014-09-10

Family

ID=51469006

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410302225.2A Pending CN104038412A (en) 2014-06-27 2014-06-27 Method and device for filtering spam messages

Country Status (1)

Country Link
CN (1) CN104038412A (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105307176A (en) * 2015-11-10 2016-02-03 中国科学院信息工程研究所 Routing method for robustness information in mobile social opportunity network
CN105450508A (en) * 2015-12-03 2016-03-30 小米科技有限责任公司 Message reminding method, device and system
CN105490824A (en) * 2015-12-09 2016-04-13 厦门光趣投资管理有限公司 Game server and mass message filtering method
CN105516944A (en) * 2015-12-21 2016-04-20 小米科技有限责任公司 Short message canceling method and device
CN105553826A (en) * 2015-12-18 2016-05-04 阿里巴巴集团控股有限公司 Message display method and device
CN105677316A (en) * 2015-12-24 2016-06-15 小米科技有限责任公司 Message notification filtering method and apparatus
CN106126530A (en) * 2016-06-15 2016-11-16 腾讯科技(深圳)有限公司 A kind of message content methods of exhibiting, system and terminal
CN106599207A (en) * 2016-12-15 2017-04-26 北京小米移动软件有限公司 Picture filtering method and device
CN107518756A (en) * 2016-06-21 2017-12-29 佛山市顺德区美的电热电器制造有限公司 The control method and device of cooking appliance
CN108319582A (en) * 2017-12-29 2018-07-24 北京城市网邻信息技术有限公司 Processing method, device and the server of text message
CN108764607A (en) * 2018-04-09 2018-11-06 中国平安人寿保险股份有限公司 User month data reinspection method, apparatus, equipment and storage medium
CN110086935A (en) * 2019-04-26 2019-08-02 维沃移动通信有限公司 Message treatment method and mobile terminal
CN111475076A (en) * 2020-04-03 2020-07-31 广东科徕尼智能科技有限公司 Method, device and storage medium for deleting scene in user interface
CN111652752A (en) * 2020-06-05 2020-09-11 佛山市木记信息技术有限公司 Social information management method, terminal device and readable storage medium
CN112686767A (en) * 2020-12-31 2021-04-20 上海掌门科技有限公司 User management method, device and storage medium
CN113300939A (en) * 2021-04-26 2021-08-24 国家计算机网络与信息安全管理中心 Development method of instant messaging software interactive robot

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101068154A (en) * 2006-07-27 2007-11-07 腾讯科技(深圳)有限公司 Junk information filtering method and device
CN101166160A (en) * 2006-10-20 2008-04-23 阿里巴巴公司 A method and system for filtering instant communication rubbish information
CN102594716A (en) * 2011-01-17 2012-07-18 阿里巴巴集团控股有限公司 Method, system and device for transmitting instant communication message

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101068154A (en) * 2006-07-27 2007-11-07 腾讯科技(深圳)有限公司 Junk information filtering method and device
CN101166160A (en) * 2006-10-20 2008-04-23 阿里巴巴公司 A method and system for filtering instant communication rubbish information
CN102594716A (en) * 2011-01-17 2012-07-18 阿里巴巴集团控股有限公司 Method, system and device for transmitting instant communication message

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105307176B (en) * 2015-11-10 2019-03-08 中国科学院信息工程研究所 Robustness message routing method in a kind of mobile social opportunistic network
CN105307176A (en) * 2015-11-10 2016-02-03 中国科学院信息工程研究所 Routing method for robustness information in mobile social opportunity network
CN105450508A (en) * 2015-12-03 2016-03-30 小米科技有限责任公司 Message reminding method, device and system
CN105490824A (en) * 2015-12-09 2016-04-13 厦门光趣投资管理有限公司 Game server and mass message filtering method
WO2017101726A1 (en) * 2015-12-18 2017-06-22 阿里巴巴集团控股有限公司 Method and device for message display
CN105553826A (en) * 2015-12-18 2016-05-04 阿里巴巴集团控股有限公司 Message display method and device
CN105516944A (en) * 2015-12-21 2016-04-20 小米科技有限责任公司 Short message canceling method and device
CN105677316A (en) * 2015-12-24 2016-06-15 小米科技有限责任公司 Message notification filtering method and apparatus
CN106126530A (en) * 2016-06-15 2016-11-16 腾讯科技(深圳)有限公司 A kind of message content methods of exhibiting, system and terminal
CN106126530B (en) * 2016-06-15 2019-01-22 腾讯科技(深圳)有限公司 A kind of message content methods of exhibiting, system and terminal
CN107518756A (en) * 2016-06-21 2017-12-29 佛山市顺德区美的电热电器制造有限公司 The control method and device of cooking appliance
CN107518756B (en) * 2016-06-21 2022-03-01 佛山市顺德区美的电热电器制造有限公司 Control method and device of cooking appliance
CN106599207A (en) * 2016-12-15 2017-04-26 北京小米移动软件有限公司 Picture filtering method and device
CN108319582A (en) * 2017-12-29 2018-07-24 北京城市网邻信息技术有限公司 Processing method, device and the server of text message
CN108764607A (en) * 2018-04-09 2018-11-06 中国平安人寿保险股份有限公司 User month data reinspection method, apparatus, equipment and storage medium
CN108764607B (en) * 2018-04-09 2022-04-15 中国平安人寿保险股份有限公司 User monthly data review method, device, equipment and storage medium
CN110086935A (en) * 2019-04-26 2019-08-02 维沃移动通信有限公司 Message treatment method and mobile terminal
CN111475076A (en) * 2020-04-03 2020-07-31 广东科徕尼智能科技有限公司 Method, device and storage medium for deleting scene in user interface
CN111652752A (en) * 2020-06-05 2020-09-11 佛山市木记信息技术有限公司 Social information management method, terminal device and readable storage medium
CN112686767A (en) * 2020-12-31 2021-04-20 上海掌门科技有限公司 User management method, device and storage medium
CN113300939A (en) * 2021-04-26 2021-08-24 国家计算机网络与信息安全管理中心 Development method of instant messaging software interactive robot

Similar Documents

Publication Publication Date Title
CN104038412A (en) Method and device for filtering spam messages
CN104036037A (en) Method and device for processing junk user
CN104598093A (en) Method and device for prompting message during screen locking
CN104035558A (en) Terminal device control method and device
CN104850995A (en) Operation executing method and device
CN105224349A (en) The deletion reminding method of application program and device
CN104933170A (en) Information exhibition method and device
CN105262672A (en) Intra-group anti-harassment method and device
CN105162937A (en) Incoming call information processing method and device
CN106204097A (en) Information-pushing method, device and mobile terminal
CN104156204B (en) Set up the method and device of calendar entry
CN105049269A (en) Information feedback method and device
CN104156848A (en) Schedule management method and schedule management device
CN106060257A (en) Method and device for viewing relevant information of contact
CN106919629A (en) The method and device of information sifting is realized in group chat
CN106325670A (en) Message prompting method and device
CN105162984A (en) Telephone number identification method and device
CN105162784A (en) Verification information input processing method and device
CN106021077A (en) Warning method and device of terminal
CN104899501A (en) Dialog list display method and device and terminal
CN106792041A (en) Content share method and device
CN105515871A (en) Method and device for recording log
CN104463640B (en) The recommendation display methods and device of Intelligent hardware commodity
CN103973884A (en) Information display method, device and terminal
CN106453774A (en) Method and apparatus for displaying contact information

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20140910

RJ01 Rejection of invention patent application after publication