CN104023322A - Junk short message processing method and device - Google Patents

Junk short message processing method and device Download PDF

Info

Publication number
CN104023322A
CN104023322A CN201410199323.8A CN201410199323A CN104023322A CN 104023322 A CN104023322 A CN 104023322A CN 201410199323 A CN201410199323 A CN 201410199323A CN 104023322 A CN104023322 A CN 104023322A
Authority
CN
China
Prior art keywords
note
refuse messages
short message
default
software
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
CN201410199323.8A
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.)
Conew Network Technology Beijing Co Ltd
Original Assignee
Conew Network Technology Beijing Co Ltd
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 Conew Network Technology Beijing Co Ltd filed Critical Conew Network Technology Beijing Co Ltd
Priority to CN201410199323.8A priority Critical patent/CN104023322A/en
Publication of CN104023322A publication Critical patent/CN104023322A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a junk short message processing method and device. The junk short message processing method comprises the steps that a short message is obtained, whether the short message is a junk short message or not is judged; if the short message is the junk short message, preset content is added into the short message, and the preset content is used for indicating the fact that the short message is the junk short message; the short message with the added content is saved to a system short message inbox. According to the junk short message processing method, the problem that important short messages are possibly lost after software for intercepting short messages is unloaded can be solved, and thus serious consequences and losses caused by losing of the important short messages can be avoided.

Description

The processing method of refuse messages and device
Technical field
The present invention relates to mobile communication technology field, relate in particular to a kind of processing method and device of refuse messages.
Background technology
Refuse messages on mobile phone is harassing and wrecking user's common phenomenon.For fear of the harassing and wrecking of refuse messages, third party software can be set on mobile phone, this third party software monitoring system is received the broadcast of note, when receiving after a note, this note is intercepted and captured, and carried out content judgement, if after judging note and being refuse messages, note is put in the dustbin carrying, in the short message inbox of system, does not have this note.User can enter the note of checking software intercepting and capturing in the dustbin of third party software.
But, under this mode, if judged by accident, intercept the dustbin of software by normal note, and user unloads after this software, will cause the loss of the normal note of being intercepted and captured, if what lose is important note, will cause serious consequence, cause each side loss.
Summary of the invention
The present invention is intended to solve at least to a certain extent one of technical problem in correlation technique.
For this reason, one object of the present invention is to propose a kind of processing method of refuse messages, the method can be avoided because unloading is for tackling the loss problem of the important note that may cause after the software of note, and then avoids important note to lose the serious consequence and the loss that cause.
Another object of the present invention is to propose a kind of processing unit of refuse messages.
For achieving the above object, the processing method of the refuse messages that first aspect present invention embodiment proposes, comprising: obtain note, and judge whether described note is refuse messages; If described note is refuse messages, in described note, add preset content, described preset content is used for showing that described note is refuse messages; The note of adding after preset content is saved to system short message inbox.
The processing method of the refuse messages that first aspect present invention embodiment proposes, by add preset content in refuse messages, and the refuse messages adding after preset content is saved in to system short message inbox, can identify refuse messages on the one hand, on the other hand because be not or not refuse messages is saved in to the software for tackling note, can avoid unloading for tackling the loss problem of the important note that may cause after the software of note, and then avoid important note to lose the serious consequence and the loss that cause, can complete the mark of the refuse messages to identifying, and can ensure to receive the complete of note.In addition, because the refuse messages identifying is not kept at the software for tackling note, this software storage refuse messages that needn't take up room, can save the resource that software takies.
For achieving the above object, the processing unit of the refuse messages that second aspect present invention embodiment proposes, comprising: acquisition module, for obtaining note, and judges whether described note is refuse messages; Add module, if be refuse messages for described note, in described note, add preset content, described preset content is used for showing that described note is refuse messages; Preserve module, for the note of adding after preset content is saved to system short message inbox.
The processing unit of the refuse messages that second aspect present invention embodiment proposes, by add preset content in refuse messages, and the refuse messages adding after preset content is saved in to system short message inbox, can identify refuse messages on the one hand, on the other hand because be not or not refuse messages is saved in to the software for tackling note, can avoid unloading for tackling the loss problem of the important note that may cause after the software of note, and then avoid important note to lose the serious consequence and the loss that cause, can complete the mark of the refuse messages to identifying, and can ensure to receive the complete of note.In addition, because the refuse messages identifying is not kept at the software for tackling note, this software storage refuse messages that needn't take up room, can save the resource that software takies.
For achieving the above object, the mobile device that third aspect present invention embodiment proposes, comprising: housing, processor, memory, circuit board and power circuit, wherein, circuit board is placed in the interior volume that housing surrounds, and processor and memory are arranged on circuit board; Power circuit, is used to each circuit or the device power supply of mobile device; Memory is for stores executable programs code; Processor moves the program corresponding with executable program code by the executable program code of storing in read memory, for carrying out following steps: obtain note, and judge whether described note is refuse messages; If described note is refuse messages, in described note, add preset content, described preset content is used for showing that described note is refuse messages; The note of adding after preset content is saved to system short message inbox.
The mobile device that third aspect present invention embodiment proposes, by add preset content in refuse messages, and the refuse messages adding after preset content is saved in to system short message inbox, can identify refuse messages on the one hand, on the other hand because be not or not refuse messages is saved in to the software for tackling note, can avoid unloading for tackling the loss problem of the important note that may cause after the software of note, and then avoid important note to lose the serious consequence and the loss that cause, can complete the mark of the refuse messages to identifying, and can ensure to receive the complete of note.In addition, because the refuse messages identifying is not kept at the software for tackling note, this software storage refuse messages that needn't take up room, can save the resource that software takies.
The aspect that the present invention is additional and advantage in the following description part provide, and part will become obviously from the following description, or recognize by practice of the present invention.
Brief description of the drawings
The present invention above-mentioned and/or additional aspect and advantage will become from the following description of the accompanying drawings of embodiments obviously and easily and understand, wherein:
Fig. 1 is the schematic flow sheet of the processing method of the refuse messages of one embodiment of the invention proposition;
Fig. 2 is the schematic flow sheet of the processing method of the refuse messages of another embodiment of the present invention proposition;
Fig. 3 is the schematic flow sheet of the processing method to refuse messages of another embodiment of the present invention proposition;
Fig. 4 is the structural representation of the processing unit of the refuse messages of another embodiment of the present invention proposition;
Fig. 5 is the structural representation of the processing unit of the refuse messages of another embodiment of the present invention proposition.
Embodiment
Describe embodiments of the invention below in detail, the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or has the element of identical or similar functions from start to finish.Be exemplary below by the embodiment being described with reference to the drawings, only for explaining the present invention, and can not be interpreted as limitation of the present invention.On the contrary, embodiments of the invention comprise all changes, amendment and the equivalent within the scope of spirit and the intension that falls into additional claims.
Fig. 1 is the schematic flow sheet of the processing method of the refuse messages of one embodiment of the invention proposition, and the method comprises:
S11: obtain note, and judge whether described note is refuse messages.
Wherein, the executive agent of the present embodiment can be mounted in third-party software on mobile device, for example, and mobile phone poison despot.
The note that this software can receive system is tackled, to obtain note; Or,
This software also can obtain note from other application of system, for example, obtain for the software of tackling note from system short message inbox or from other.
Getting after note, the content of note can mated with default refuse messages rule, if coupling, judging note is refuse messages.For example, comprising the note of acting on behalf content in can preset content is refuse messages, when the content of the note of obtaining comprises while acting on behalf certificate, can determine that this note is refuse messages so.When the note of obtaining does not match default refuse messages rule, determine that note is not refuse messages.
S12: if described note is refuse messages, add preset content in described note, described preset content is used for showing that described note is refuse messages.
Wherein, preset content can be default prefix, add the content before note to, and/or preset content is default suffix, adds note content below to.
The embodiment of the present invention is to add prefix as example, and for example, preset content can be " mobile phone poison despot You are prompted with, the doubtful harassing and wrecking type of this note note ".
In addition, preset content can be with default format identification (FID), and default form comprises at least one in following: default color, default font, default word size.
For example, in note, not only add above-mentioned prefix, and above-mentioned prefix can be by red mark, to facilitate user's explicit recognition.
S13: the note of adding after preset content is saved to system short message inbox.
Identical with normal reception note, last note is saved to system short message inbox, instead of in third party software.
On the other hand, in the time judging that note is not refuse messages, can not modify and directly be saved to system short message inbox note.
The present embodiment by adding preset content in refuse messages, and the refuse messages adding after preset content is saved in to system short message inbox, can identify refuse messages on the one hand, on the other hand because be not or not refuse messages is saved in to the software for tackling note, can avoid unloading for tackling the loss problem of the important note that may cause after the software of note, and then avoid important note to lose the serious consequence and the loss that cause, the mark of the refuse messages to identifying can be completed, and the complete of note can be ensured to receive.In addition, because the refuse messages identifying is not kept at the software for tackling note, this software storage refuse messages that needn't take up room, can save the resource that software takies.
Fig. 2 is the schematic flow sheet of the processing method of the refuse messages of another embodiment of the present invention proposition, and the method comprises:
S21: the note that intercepting system receives.
Wherein, the executive agent of the present embodiment is third party software, and this third party software is the software for tackling note, for example mobile phone poison despot.
It is orderly broadcast that Android receives the broadcast of note, and system can be according to priority transmission broadcast, and radio receiver has the authority of interrupting broadcast, can cause receiver below not receive note broadcast.In order to ensure that this third party software can receive note broadcast, can set in advance limit priority, the note receiving with intercepting system.Limit priority is set can be comprised: when all third party softwares are all that while adopting the mode of static registration to register note broadcast, the third party software of the present embodiment can arrange the highest priority.Or, the third party software of the present embodiment can adopt the mode of dynamic registration, and other third party softwares adopt the mode of static registration, because the mode of dynamic registration has the priority higher than the mode of static registration, therefore, can ensure the preferential intercepting system note of third party software of the present embodiment.Or, the third party software of the present embodiment adopts start from the mode opening, and specifically can adopt the mode of static registration to register start broadcast, to start shooting from opening, and the mode that adopts dynamic registration after start is automatically registered note broadcast, with preferential intercepting system note.
S22: judge whether this note is refuse messages, if so, carries out S23, otherwise carry out S24.
Wherein, the content of the note of reception and default matched rule can be compared, in the time of coupling, be shown to be refuse messages, otherwise be not refuse messages.For example, default matched rule is when comprising in short message content that specialty carves a seal or the content such as charg`e d'affaires is shown to be refuse messages, when receiving when " specialty carve a seal/act on behalf bank's flowing water/certificates handling (ticket is dismissed in generation start) " this note, the note that can identify reception is refuse messages.
S23: add default prefix in the refuse messages identifying.
For example, default prefix is mobile phone poison despot You are prompted with, the doubtful harassing and wrecking note of this note, taking above-mentioned refuse messages as example, the short message content adding after default prefix can be: mobile phone poison despot You are prompted with, the doubtful harassing and wrecking note of this note: the specialty bank's flowing water/certificates handling (ticket is dismissed in generation start) that carves a seal/act on behalf.
Distinguish for more obvious and normal short message, above-mentioned prefix can be used red font.
S24: will add the refuse messages of default prefix, or the non-refuse messages receiving is saved in system short message inbox.
For example, if the note of interception is not refuse messages, directly this note is saved in to system short message inbox.Or, if the note of interception is refuse messages, be saved in system short message inbox after adding default prefix in the content of this note.
The refuse messages identifying due to third party software may be erroneous judgement, refuse messages is saved in to system short message inbox and can ensures to receive the complete of note, avoids unloading the important note of losing erroneous judgement after third party software, avoids associated loss.
S25: prompting user intercepts refuse messages, and deletion and/or restore funcitons are provided.
Wherein, can be in the informing of third party software display reminding message, this prompting message is used for pointing out user to intercept refuse messages, for example, shows " intercepting a new refuse messages ".
User is according to this prompting message, can enter the refuse messages list of third party software, when user clicks in refuse messages list, third party software can scan the note in system short message inbox, find out the note that comprises default prefix and be shown to user, corresponding every note that comprises default prefix can provide deletes and/or restore funcitons, for example, in the time that user clicks deleted entry, can delete corresponding note, or, in the time that user clicks recovery item, can recover corresponding note, the default prefix that is about to add is deleted, recover the short message content of primary reception.
The present embodiment is by adding the refuse messages of interception preset content and be saved in system short message inbox, the loss problem of the important note that may cause can avoid refuse messages to be saved in third party software time.Refuse messages after treatment is saved in system short message inbox by the present embodiment, the space of preserving refuse messages can needn't be set in third party software, saving resource.The present embodiment, by limit priority is set, can ensure the note that preferential intercepting system receives, and avoids being tackled by other software, to ensure the processing to receiving note.
Fig. 3 is the schematic flow sheet of the processing method to refuse messages of another embodiment of the present invention proposition, and the method comprises:
S31: obtain note from other application of system.
For example, other the software with interception SMS is also installed in system, and the third party software of the embodiment of the present invention is installed more late or not in running status, can from other have the software of SMS interception function, obtain note and adopt the matched rule of the present embodiment software to rejudge.
Or, also can from system short message inbox, obtain note, determine whether refuse messages with the matched rule according to self.For example, the software of the embodiment of the present invention is to install first, can point out scanning input system short message inbox, to identify refuse messages.
Wherein, the interface that can provide according to other application obtains note from other application, or, according to user's mandate, for example, for the software of the embodiment of the present invention arranges root authority, can obtain note from other application.
S32: judge whether this note is refuse messages, if so, carries out S33, otherwise carry out S34.
Wherein, the content of the note of reception and default matched rule can be compared, in the time of coupling, be shown to be refuse messages, otherwise be not refuse messages.For example, default matched rule is when comprising in short message content that specialty carves a seal or the content such as charg`e d'affaires is shown to be refuse messages, when receiving when " specialty carve a seal/act on behalf bank's flowing water/certificates handling (ticket is dismissed in generation start) " this note, the note that can identify reception is refuse messages.
S33: add default prefix in the refuse messages identifying.
For example, default prefix is mobile phone poison despot You are prompted with, the doubtful harassing and wrecking note of this note, taking above-mentioned refuse messages as example, the short message content adding after default prefix can be: mobile phone poison despot You are prompted with, the doubtful harassing and wrecking note of this note: the specialty bank's flowing water/certificates handling (ticket is dismissed in generation start) that carves a seal/act on behalf.
Distinguish for more obvious and normal short message, above-mentioned prefix can be used red font.
S34: will add the refuse messages of default prefix, or the non-refuse messages obtaining is saved in system short message inbox.
For example, if the note of obtaining is not refuse messages, directly this note is saved in to system short message inbox.Or, if the note of obtaining is refuse messages, be saved in system short message inbox after adding default prefix in the content of this note.
The refuse messages identifying due to third party software may be erroneous judgement, refuse messages is saved in to system short message inbox and can ensures to receive the complete of note, avoids unloading the important note of losing erroneous judgement after third party software, avoids associated loss.
Further, when after the software upgrading or user's driver sweep of the embodiment of the present invention, can also carry out following flow process:
S35: while again scanning, according to whether having added preset content, the note in system short message inbox is processed.
For example, preset content is default prefix, the note of having added default prefix in system short message inbox is no longer mated with default matched rule, and only mate with default matched rule there is no to add the note of presetting prefix, to identify whether as refuse messages.
The present embodiment is by adding the refuse messages of interception preset content and be saved in system short message inbox, the loss problem of the important note that may cause can avoid refuse messages to be saved in third party software time.Refuse messages after treatment is saved in system short message inbox by the present embodiment, the space of preserving refuse messages can needn't be set in third party software, saving resource.The present embodiment, by according to preset content, the note in system short message inbox being processed, no longer mates with preset matching rule the note of adding preset content, can improve sweep speed.
Fig. 4 is the structural representation of the processing unit of the refuse messages of another embodiment of the present invention proposition, and this device 40 comprises acquisition module 41, adds module 42 and preserves module 43.
Acquisition module 41 is for obtaining note, and judges whether described note is refuse messages;
The note that described acquisition module 41 receives specifically for: intercepting system.
Further, described acquisition module 41 specifically for: according to default limit priority, intercepting system receive note.
Described acquisition module 41 specifically for: from system other application obtain note.
It is orderly broadcast that Android receives the broadcast of note, and system can be according to priority transmission broadcast, and radio receiver has the authority of interrupting broadcast, can cause receiver below not receive note broadcast.In order to ensure that this third party software can receive note broadcast, can set in advance limit priority, the note receiving with intercepting system.Limit priority is set can be comprised: when all third party softwares are all that while adopting the mode of static registration to register note broadcast, the third party software of the present embodiment can arrange the highest priority.Or, the third party software of the present embodiment can adopt the mode of dynamic registration, and other third party softwares adopt the mode of static registration, because the mode of dynamic registration has the priority higher than the mode of static registration, therefore, can ensure the preferential intercepting system note of third party software of the present embodiment.Or, the third party software of the present embodiment adopts start from the mode opening, and specifically can adopt the mode of static registration to register start broadcast, to start shooting from opening, and the mode that adopts dynamic registration after start is automatically registered note broadcast, with preferential intercepting system note.
Further, described acquisition module 41 specifically for: from the short message inbox of system, obtain note; Or other that install from system obtain note for the software of tackling note.
Further, described acquisition module 41 specifically for: by the described interface that other provide for tackling the software of note, obtain note; Or the root root authority arranging by user, obtains note from described other for the software of tackling note.
For example, other the software with interception SMS is also installed in system, and the third party software of the embodiment of the present invention is installed more late or not in running status, can from other have the software of SMS interception function, obtain note and adopt the matched rule of the present embodiment software to rejudge.
Further, described acquisition module 41 specifically for: obtain the note that does not comprise preset content in the short message inbox of system.
For example, preset content is default prefix, the note of having added default prefix in system short message inbox is no longer mated with default matched rule, and only mate with default matched rule there is no to add the note of presetting prefix, to identify whether as refuse messages.
Or, also can from system short message inbox, obtain note, determine whether refuse messages with the matched rule according to self.For example, the software of the embodiment of the present invention is to install first, can point out scanning input system short message inbox, to identify refuse messages.
Wherein, the content of the note of reception and default matched rule can be compared, in the time of coupling, be shown to be refuse messages, otherwise be not refuse messages.For example, default matched rule is when comprising in short message content that specialty carves a seal or the content such as charg`e d'affaires is shown to be refuse messages, when receiving when " specialty carve a seal/act on behalf bank's flowing water/certificates handling (ticket is dismissed in generation start) " this note, the note that can identify reception is refuse messages.
If adding module 42 is refuse messages for described note, in described note, add preset content, described preset content is used for showing that described note is refuse messages;
The described preset content that described interpolation module 42 is added comprises: default prefix, and/or, default suffix.
Further, the default format identification (FID) for described preset content that described interpolation module 42 is added.
Further, described default form comprises at least one in following: default color, default font, default word size.
For example, default prefix is mobile phone poison despot You are prompted with, the doubtful harassing and wrecking note of this note, taking above-mentioned refuse messages as example, the short message content adding after default prefix can be: mobile phone poison despot You are prompted with, the doubtful harassing and wrecking note of this note: the specialty bank's flowing water/certificates handling (ticket is dismissed in generation start) that carves a seal/act on behalf.
Distinguish for more obvious and normal short message, above-mentioned prefix can be used red font.
Preserve module 43 for the note of adding after preset content is saved to system short message inbox.
For example, if the note of interception is not refuse messages, directly this note is saved in to system short message inbox.Or, if the note of interception is refuse messages, be saved in system short message inbox after adding default prefix in the content of this note.
The refuse messages identifying due to third party software may be erroneous judgement, refuse messages is saved in to system short message inbox and can ensures to receive the complete of note, avoids unloading the important note of losing erroneous judgement after third party software, avoids associated loss.
Referring to Fig. 5, the device of the present embodiment can also comprise processing module 44, and processing module 44 is for reading the first note, and described the first note is the note that is added with described preset content; Delete and/or recover option for described the first note provides, so that user deletes and/or recovery operation described the first note.
Wherein, can be in the informing of third party software display reminding message, this prompting message is used for pointing out user to intercept refuse messages, for example, shows " intercepting a new refuse messages ".
User is according to this prompting message, can enter the refuse messages list of third party software, when user clicks in refuse messages list, third party software can scan the note in system short message inbox, find out the note that comprises default prefix and be shown to user, corresponding every note that comprises default prefix can provide deletes and/or restore funcitons, for example, in the time that user clicks deleted entry, can delete corresponding note, or, in the time that user clicks recovery item, can recover corresponding note, the default prefix that is about to add is deleted, recover the short message content of primary reception.
The present embodiment is by adding the refuse messages of interception preset content and be saved in system short message inbox, the loss problem of the important note that may cause can avoid refuse messages to be saved in third party software time.Refuse messages after treatment is saved in system short message inbox by the present embodiment, the space of preserving refuse messages can needn't be set in third party software, saving resource.The present embodiment, by limit priority is set, can ensure the note that preferential intercepting system receives, and avoids being tackled by other software, to ensure the processing to receiving note.
The embodiment of the present invention also provides a kind of mobile device, and this mobile device comprises housing, processor, memory, circuit board and power circuit, and wherein, circuit board is placed in the interior volume that housing surrounds, and processor and memory are arranged on circuit board; Power circuit, is used to each circuit or the device power supply of mobile device; Memory is for stores executable programs code; Processor moves the program corresponding with executable program code by the executable program code of storing in read memory, for carrying out following steps:
S11 ': obtain note, and judge whether described note is refuse messages.
Wherein, the executive agent of the present embodiment can be mounted in third-party software on mobile device, for example, and mobile phone poison despot.
The note that this software can receive system is tackled, to obtain note; Or,
This software also can obtain note from other application of system, for example, obtain for the software of tackling note from system short message inbox or from other.
Getting after note, the content of note can mated with default refuse messages rule, if coupling, judging note is refuse messages.For example, comprising the note of acting on behalf content in can preset content is refuse messages, when the content of the note of obtaining comprises while acting on behalf certificate, can determine that this note is refuse messages so.When the note of obtaining does not match default refuse messages rule, determine that note is not refuse messages.
S12 ': if described note is refuse messages, add preset content in described note, described preset content is used for showing that described note is refuse messages.
Wherein, preset content can be default prefix, add the content before note to, and/or preset content is default suffix, adds note content below to.
The embodiment of the present invention is to add prefix as example, and for example, preset content can be " mobile phone poison despot You are prompted with, the doubtful harassing and wrecking type of this note note ".
In addition, preset content can be with default format identification (FID), and default form comprises at least one in following: default color, default font, default word size.
For example, in note, not only add above-mentioned prefix, and above-mentioned prefix can be by red mark, to facilitate user's explicit recognition.
S13 ': the note of adding after preset content is saved to system short message inbox.
Identical with normal reception note, last note is saved to system short message inbox, instead of in third party software.
On the other hand, in the time judging that note is not refuse messages, can not modify and directly be saved to system short message inbox note.
The present embodiment by adding preset content in refuse messages, and the refuse messages adding after preset content is saved in to system short message inbox, can identify refuse messages on the one hand, on the other hand because be not or not refuse messages is saved in to the software for tackling note, can avoid unloading for tackling the loss problem of the important note that may cause after the software of note, and then avoid important note to lose the serious consequence and the loss that cause, the mark of the refuse messages to identifying can be completed, and the complete of note can be ensured to receive.In addition, because the refuse messages identifying is not kept at the software for tackling note, this software storage refuse messages that needn't take up room, can save the resource that software takies.
In another embodiment, processor moves the program corresponding with executable program code by the executable program code of storing in read memory, for carrying out following steps:
S21 ': the note that intercepting system receives.
Wherein, the executive agent of the present embodiment is third party software, and this third party software is the software for tackling note, for example mobile phone poison despot.
It is orderly broadcast that Android receives the broadcast of note, and system can be according to priority transmission broadcast, and radio receiver has the authority of interrupting broadcast, can cause receiver below not receive note broadcast.In order to ensure that this third party software can receive note broadcast, can set in advance limit priority, the note receiving with intercepting system.Limit priority is set can be comprised: when all third party softwares are all that while adopting the mode of static registration to register note broadcast, the third party software of the present embodiment can arrange the highest priority.Or, the third party software of the present embodiment can adopt the mode of dynamic registration, and other third party softwares adopt the mode of static registration, because the mode of dynamic registration has the priority higher than the mode of static registration, therefore, can ensure the preferential intercepting system note of third party software of the present embodiment.Or, the third party software of the present embodiment adopts start from the mode opening, and specifically can adopt the mode of static registration to register start broadcast, to start shooting from opening, and the mode that adopts dynamic registration after start is automatically registered note broadcast, with preferential intercepting system note.
S22 ': judge whether this note is refuse messages, if so, carries out S23 ', otherwise carry out S24 '.
Wherein, the content of the note of reception and default matched rule can be compared, in the time of coupling, be shown to be refuse messages, otherwise be not refuse messages.For example, default matched rule is when comprising in short message content that specialty carves a seal or the content such as charg`e d'affaires is shown to be refuse messages, when receiving when " specialty carve a seal/act on behalf bank's flowing water/certificates handling (ticket is dismissed in generation start) " this note, the note that can identify reception is refuse messages.
S23 ': add default prefix in the refuse messages identifying.
For example, default prefix is mobile phone poison despot You are prompted with, the doubtful harassing and wrecking note of this note, taking above-mentioned refuse messages as example, the short message content adding after default prefix can be: mobile phone poison despot You are prompted with, the doubtful harassing and wrecking note of this note: the specialty bank's flowing water/certificates handling (ticket is dismissed in generation start) that carves a seal/act on behalf.
Distinguish for more obvious and normal short message, above-mentioned prefix can be used red font.
S24 ': will add the refuse messages of default prefix, or the non-refuse messages receiving is saved in system short message inbox.
For example, if the note of interception is not refuse messages, directly this note is saved in to system short message inbox.Or, if the note of interception is refuse messages, be saved in system short message inbox after adding default prefix in the content of this note.
The refuse messages identifying due to third party software may be erroneous judgement, refuse messages is saved in to system short message inbox and can ensures to receive the complete of note, avoids unloading the important note of losing erroneous judgement after third party software, avoids associated loss.
S25 ': prompting user intercepts refuse messages, and deletion and/or restore funcitons are provided.
Wherein, can be in the informing of third party software display reminding message, this prompting message is used for pointing out user to intercept refuse messages, for example, shows " intercepting a new refuse messages ".
User is according to this prompting message, can enter the refuse messages list of third party software, when user clicks in refuse messages list, third party software can scan the note in system short message inbox, find out the note that comprises default prefix and be shown to user, corresponding every note that comprises default prefix can provide deletes and/or restore funcitons, for example, in the time that user clicks deleted entry, can delete corresponding note, or, in the time that user clicks recovery item, can recover corresponding note, the default prefix that is about to add is deleted, recover the short message content of primary reception.
The present embodiment is by adding the refuse messages of interception preset content and be saved in system short message inbox, the loss problem of the important note that may cause can avoid refuse messages to be saved in third party software time.Refuse messages after treatment is saved in system short message inbox by the present embodiment, the space of preserving refuse messages can needn't be set in third party software, saving resource.The present embodiment, by limit priority is set, can ensure the note that preferential intercepting system receives, and avoids being tackled by other software, to ensure the processing to receiving note.
In another embodiment, processor moves the program corresponding with executable program code by the executable program code of storing in read memory, for carrying out following steps:
S31 ': obtain note from other application of system.
For example, other the software with interception SMS is also installed in system, and the third party software of the embodiment of the present invention is installed more late or not in running status, can from other have the software of SMS interception function, obtain note and adopt the matched rule of the present embodiment software to rejudge.
Or, also can from system short message inbox, obtain note, determine whether refuse messages with the matched rule according to self.For example, the software of the embodiment of the present invention is to install first, can point out scanning input system short message inbox, to identify refuse messages.
Wherein, the interface that can provide according to other application obtains note from other application, or, according to user's mandate, for example, for the software of the embodiment of the present invention arranges root authority, can obtain note from other application.
S32 ': judge whether this note is refuse messages, if so, carries out S33 ', otherwise carry out S34 '.
Wherein, the content of the note of reception and default matched rule can be compared, in the time of coupling, be shown to be refuse messages, otherwise be not refuse messages.For example, default matched rule is when comprising in short message content that specialty carves a seal or the content such as charg`e d'affaires is shown to be refuse messages, when receiving when " specialty carve a seal/act on behalf bank's flowing water/certificates handling (ticket is dismissed in generation start) " this note, the note that can identify reception is refuse messages.
S33 ': add default prefix in the refuse messages identifying.
For example, default prefix is mobile phone poison despot You are prompted with, the doubtful harassing and wrecking note of this note, taking above-mentioned refuse messages as example, the short message content adding after default prefix can be: mobile phone poison despot You are prompted with, the doubtful harassing and wrecking note of this note: the specialty bank's flowing water/certificates handling (ticket is dismissed in generation start) that carves a seal/act on behalf.
Distinguish for more obvious and normal short message, above-mentioned prefix can be used red font.
S34 ': will add the refuse messages of default prefix, or the non-refuse messages obtaining is saved in system short message inbox.
For example, if the note of obtaining is not refuse messages, directly this note is saved in to system short message inbox.Or, if the note of obtaining is refuse messages, be saved in system short message inbox after adding default prefix in the content of this note.
The refuse messages identifying due to third party software may be erroneous judgement, refuse messages is saved in to system short message inbox and can ensures to receive the complete of note, avoids unloading the important note of losing erroneous judgement after third party software, avoids associated loss.
Further, when after the software upgrading or user's driver sweep of the embodiment of the present invention, can also carry out following flow process:
S35 ': while again scanning, according to whether having added preset content, the note in system short message inbox is processed.
For example, preset content is default prefix, the note of having added default prefix in system short message inbox is no longer mated with default matched rule, and only mate with default matched rule there is no to add the note of presetting prefix, to identify whether as refuse messages.
The present embodiment is by adding the refuse messages of interception preset content and be saved in system short message inbox, the loss problem of the important note that may cause can avoid refuse messages to be saved in third party software time.Refuse messages after treatment is saved in system short message inbox by the present embodiment, the space of preserving refuse messages can needn't be set in third party software, saving resource.The present embodiment, by according to preset content, the note in system short message inbox being processed, no longer mates with preset matching rule the note of adding preset content, can improve sweep speed.
It should be noted that, in description of the invention, term " first ", " second " etc. are only for describing object, and can not be interpreted as instruction or hint relative importance.In addition,, in description of the invention, except as otherwise noted, the implication of " multiple " is two or more.
Any process of otherwise describing in flow chart or at this or method are described and can be understood to, represent to comprise that one or more is for realizing module, fragment or the part of code of executable instruction of step of specific logical function or process, and the scope of the preferred embodiment of the present invention comprises other realization, wherein can be not according to order shown or that discuss, comprise according to related function by the mode of basic while or by contrary order, carry out function, this should be understood by embodiments of the invention person of ordinary skill in the field.
Should be appreciated that each several part of the present invention can realize with hardware, software, firmware or their combination.In the above-described embodiment, multiple steps or method can realize with being stored in software or the firmware carried out in memory and by suitable instruction execution system.For example, if realized with hardware, the same in another embodiment, can realize by any one in following technology well known in the art or their combination: there is the discrete logic for data-signal being realized to the logic gates of logic function, there is the application-specific integrated circuit (ASIC) of suitable combinational logic gate circuit, programmable gate array (PGA), field programmable gate array (FPGA) etc.
Those skilled in the art are appreciated that realizing all or part of step that above-described embodiment method carries is can carry out the hardware that instruction is relevant by program to complete, described program can be stored in a kind of computer-readable recording medium, this program, in the time carrying out, comprises step of embodiment of the method one or a combination set of.
In addition, the each functional unit in each embodiment of the present invention can be integrated in a processing module, can be also that the independent physics of unit exists, and also can be integrated in a module two or more unit.Above-mentioned integrated module both can adopt the form of hardware to realize, and also can adopt the form of software function module to realize.If described integrated module realizes and during as production marketing independently or use, also can be stored in a computer read/write memory medium using the form of software function module.
The above-mentioned storage medium of mentioning can be read-only memory, disk or CD etc.
In the description of this specification, the description of reference term " embodiment ", " some embodiment ", " example ", " concrete example " or " some examples " etc. means to be contained at least one embodiment of the present invention or example in conjunction with specific features, structure, material or the feature of this embodiment or example description.In this manual, the schematic statement of above-mentioned term is not necessarily referred to identical embodiment or example.And specific features, structure, material or the feature of description can be with suitable mode combination in any one or more embodiment or example.
Although illustrated and described embodiments of the invention above, be understandable that, above-described embodiment is exemplary, can not be interpreted as limitation of the present invention, and those of ordinary skill in the art can change above-described embodiment within the scope of the invention, amendment, replacement and modification.

Claims (22)

1. a processing method for refuse messages, is characterized in that, comprising:
Obtain note, and judge whether described note is refuse messages;
If described note is refuse messages, in described note, add preset content, described preset content is used for showing that described note is refuse messages;
The note of adding after preset content is saved to system short message inbox.
2. method according to claim 1, is characterized in that, described preset content comprises:
Default prefix, and/or, default suffix.
3. method according to claim 1, is characterized in that, default format identification (FID) for described preset content.
4. method according to claim 3, is characterized in that, described default form comprises at least one in following:
Default color, default font, default word size.
5. according to the method described in claim 1 to 4 any one, it is characterized in that, described in obtain note, comprising:
The note that intercepting system receives.
6. method according to claim 5, is characterized in that, the note that described intercepting system receives, comprising:
According to default limit priority, the note that intercepting system receives.
7. according to the method described in claim 1 to 4 any one, it is characterized in that, described in obtain note, comprising:
From other application of system, obtain note.
8. method according to claim 7, is characterized in that, described from system, other obtain note applying, and comprising:
From the short message inbox of system, obtain note; Or,
Other that install from system obtain note for the software of tackling note.
9. method according to claim 8, is characterized in that, described install from system other obtain note for the software of tackling note, comprising:
By the described interface that other provide for tackling the software of note, obtain note; Or,
The root root authority arranging by user, obtains note from described other for the software of tackling note.
10. method according to claim 8, is characterized in that, describedly from the short message inbox of system, obtains note, comprising:
Obtain the note that does not comprise preset content in the short message inbox of system.
11. according to the method described in claim 1 to 4 any one, it is characterized in that, also comprises:
Read the first note, described the first note is the note that is added with described preset content;
Delete and/or recover option for described the first note provides, so that user deletes and/or recovery operation described the first note.
The processing unit of 12. 1 kinds of refuse messages, is characterized in that, comprising:
Acquisition module, for obtaining note, and judges whether described note is refuse messages;
Add module, if be refuse messages for described note, in described note, add preset content, described preset content is used for showing that described note is refuse messages;
Preserve module, for the note of adding after preset content is saved to system short message inbox.
13. devices according to claim 12, is characterized in that, the described preset content that described interpolation module is added comprises:
Default prefix, and/or, default suffix.
14. devices according to claim 12, is characterized in that, default format identification (FID) for the described preset content that described interpolation module is added.
15. devices according to claim 14, is characterized in that, described default form comprises at least one in following:
Default color, default font, default word size.
16. according to claim 12 to the device described in 15 any one, it is characterized in that, described acquisition module specifically for:
The note that intercepting system receives.
17. devices according to claim 16, is characterized in that, described acquisition module specifically for:
According to default limit priority, the note that intercepting system receives.
18. according to claim 12 to the device described in 15 any one, it is characterized in that, described acquisition module specifically for:
From other application of system, obtain note.
19. devices according to claim 18, is characterized in that, described acquisition module specifically for:
From the short message inbox of system, obtain note; Or,
Other that install from system obtain note for the software of tackling note.
20. devices according to claim 19, is characterized in that, described acquisition module specifically for:
By the described interface that other provide for tackling the software of note, obtain note; Or,
The root root authority arranging by user, obtains note from described other for the software of tackling note.
21. devices according to claim 19, is characterized in that, described acquisition module specifically for:
Obtain the note that does not comprise preset content in the short message inbox of system.
22. according to claim 12 to the device described in 15 any one, it is characterized in that, also comprises:
Processing module, for reading the first note, described the first note is the note that is added with described preset content; Delete and/or recover option for described the first note provides, so that user deletes and/or recovery operation described the first note.
CN201410199323.8A 2014-05-12 2014-05-12 Junk short message processing method and device Pending CN104023322A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410199323.8A CN104023322A (en) 2014-05-12 2014-05-12 Junk short message processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410199323.8A CN104023322A (en) 2014-05-12 2014-05-12 Junk short message processing method and device

Publications (1)

Publication Number Publication Date
CN104023322A true CN104023322A (en) 2014-09-03

Family

ID=51439850

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410199323.8A Pending CN104023322A (en) 2014-05-12 2014-05-12 Junk short message processing method and device

Country Status (1)

Country Link
CN (1) CN104023322A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015184883A1 (en) * 2014-12-04 2015-12-10 中兴通讯股份有限公司 Short message processing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217749A (en) * 2008-01-21 2008-07-09 中兴通讯股份有限公司 A processing method and corresponding device of mobile terminal
CN101938565A (en) * 2010-09-10 2011-01-05 中兴通讯股份有限公司 Short message processing method and mobile terminal
CN102480702A (en) * 2010-11-24 2012-05-30 腾讯科技(深圳)有限公司 Short message intercepting method and system
CN105101182A (en) * 2014-04-18 2015-11-25 可牛网络技术(北京)有限公司 Method and device for processing short message

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217749A (en) * 2008-01-21 2008-07-09 中兴通讯股份有限公司 A processing method and corresponding device of mobile terminal
CN101938565A (en) * 2010-09-10 2011-01-05 中兴通讯股份有限公司 Short message processing method and mobile terminal
CN102480702A (en) * 2010-11-24 2012-05-30 腾讯科技(深圳)有限公司 Short message intercepting method and system
CN105101182A (en) * 2014-04-18 2015-11-25 可牛网络技术(北京)有限公司 Method and device for processing short message

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015184883A1 (en) * 2014-12-04 2015-12-10 中兴通讯股份有限公司 Short message processing method and device

Similar Documents

Publication Publication Date Title
EP3200487B1 (en) Message processing method and apparatus
US11337042B2 (en) Short message processing method and apparatus, and electronic device
US20140179272A1 (en) Automatic archiving of an application on a mobile device
CN109446234B (en) Data processing method and device and electronic equipment
US20160044498A1 (en) Host device coupled to a mobile phone and method of operating the same
CN105988805B (en) Application program management method and mobile terminal
US9747449B2 (en) Method and device for preventing application in an operating system from being uninstalled
CN102378136B (en) Short message processing method and device
CN105892796A (en) System updating method and device of smart mobile phone
CN107734495B (en) Information processing method, device, storage medium and terminal
CN102750477B (en) Method and system for controlling closing of terminal
WO2014190802A1 (en) Method,system and terminal device for scanning virus
CN104021218A (en) Information display method and device
CN105426761A (en) Identification method for illegal application and mobile terminal
CN103645918A (en) Software upgrading method and device for industrial endoscope
CN104021342A (en) Method and device for processing application program
WO2016019793A1 (en) Information monitoring method and apparatus and mobile terminal
CN105468433A (en) Method and system for acquiring disc data of virtual machines
CN111258613B (en) Firmware upgrading method, device, electronic equipment and storage medium
US20200183789A1 (en) Installation file processing method and device, and server
CN104133703A (en) Method and device for determining software not used frequently
US9928134B2 (en) Method and apparatus for repairing dynamic link library file
CN104023322A (en) Junk short message processing method and device
CN106919812B (en) Application process authority management method and device
WO2020103059A1 (en) Data processing method and apparatus, electronic device and storage medium

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

RJ01 Rejection of invention patent application after publication