CN105791552A - Short message processing method, short message processing device and mobile terminal - Google Patents

Short message processing method, short message processing device and mobile terminal Download PDF

Info

Publication number
CN105791552A
CN105791552A CN201610105460.XA CN201610105460A CN105791552A CN 105791552 A CN105791552 A CN 105791552A CN 201610105460 A CN201610105460 A CN 201610105460A CN 105791552 A CN105791552 A CN 105791552A
Authority
CN
China
Prior art keywords
note
short message
termination number
intercepted
refuse messages
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.)
Granted
Application number
CN201610105460.XA
Other languages
Chinese (zh)
Other versions
CN105791552B (en
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 Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201610105460.XA priority Critical patent/CN105791552B/en
Publication of CN105791552A publication Critical patent/CN105791552A/en
Application granted granted Critical
Publication of CN105791552B publication Critical patent/CN105791552B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72436User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for text messaging, e.g. short messaging services [SMS] or e-mails
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/12Detection or prevention of fraud
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a short message processing method, a short message processing device and a mobile terminal. The short message processing method comprises the steps of obtaining a short message which is received by an operating system; judging whether the short message needs to be processed based on a preset rule; if so, judging whether the short message is set as a default short message application; and if the short message is not set as the default short message application, obtaining a short message operation authority by using an open function of the operating system, and carrying out processing, including, interception, modification and automatic response, for the short message. According to the short message processing method, the short message processing device and the mobile terminal, the short message operation authority can be obtained in a state that the short message is not set as the default short message application, so that the short message can be managed more conveniently, the user experience is improved, rubbish short messages can be intercepted efficiently, the possibility of wrong judgment can be reduced, high interception efficiently can be obtained, the security of user data is improved, and the user privacy can be protected.

Description

A kind of SMS processing method, device and mobile terminal
Technical field
The present invention relates to mobile communication technology field, particularly relate to a kind of SMS processing method, device and mobile terminal.
Background technology
At present, along with popularizing of mobile phone, mobile phone is increasingly becoming communication tool indispensable in people's life.Short message service is because its reason such as convenient, fast and cheap, generally accepted by vast Mobile Phone Consumption person and widely use, but the development along with short message service, advertisement SMS, note with the deception note of character and other illegal contents start to get more and more, refuse messages starts to perplex numerous cellphone subscribers, and user is also increasing for the complaint of refuse messages.For the puzzlement from various refuse messages, the embedded in mobile phone of many manufacturers blacklist function, it is allowed to user creates interpolation black and white lists, and the filtering rule specified according to user intercepts for the note of the number in list.In prior art, note is operated needing to obtain acquiescence note application permission by the application in smart mobile phone, user is needed manually to arrange owing to obtaining acquiescence note application permission, in-convenience in use, and when not obtaining acquiescence note application permission, then cannot realize the management function to note, have influence on the impression that note is used by user.
Summary of the invention
In view of this, the technical problem that the invention solves the problems that is to provide a kind of SMS processing method, device and mobile terminal.
A kind of SMS processing method, including: obtain the note that operating system receives;Based on note described in default rule judgment the need of process, if it is, judge whether to be set to the note application of acquiescence;If the note being not configured to acquiescence is applied, then the function by using operating system open obtains note operating right, and described note is processed, and described process includes: interception, amendment, automatic-answering back device.
According to one embodiment of present invention, further, the described function acquisition note operating right by using operating system open includes: use the SetMode method of AppOpsManager example to obtain note operating right in Android system;Wherein, described note operating right includes: inserts, revise, delete.
According to one embodiment of present invention, further, described note is carried out process include: judge whether described note is refuse messages based on refuse messages screening rule, if, then intercept described note and intercepted described note stored to intercepting note memory block, informing sending prompting and receives the notice of refuse messages.
According to one embodiment of present invention, further, including: described refuse messages screening rule includes at least one key word;The content of the described note obtained is mated with described key word, if the content of described note and at least one key word match, it is determined that described note is refuse messages and intercepts;Described key word includes: give a discount, preferential, special price, popularization.
According to one embodiment of present invention, further, described note is carried out process and includes: obtain the termination number sending described note, whether detection address list has stored described termination number;When detect described address list does not store described termination number time, detection and whether there are communications records between described termination number;When detect be absent from communications records between described termination number time, the content of described note is mated with the associated person information in described address list;Described associated person information includes: name of contact person, contact phone or contact addresses;When described Web content does not mate with described associated person information, it is determined that described note is refuse messages and intercepts.
According to one embodiment of present invention, further, whether there are communications records between described detection and described termination number and include: detecting whether to be transmitted across note to described termination number, if it is not, then determine and be absent from communications records between described termination number;Or, detect whether to dial described termination number, if it is not, then determine and be absent from communications records between described termination number;Or, whether detect the air time with described termination number more than preset time threshold, if it is not, then determine and be absent from communications records between described termination number.
According to one embodiment of present invention, further, described note is carried out process and includes: judge whether to be set to the pattern of automatically replying, if it is, automatically reply the preset SMS sender to described note.
According to one embodiment of present invention, further, including: receive the instruction of the intercepted note of display;Calculate the total number of intercepted note, and the bar number of the intercepted note that can show according to display interface each page is always shown number of pages;Paging is extracted the intercepted note of storage in local cache and is sent to described display interface process;Described display interface is pressed page and shows intercepted note.
A kind of short message processing device, including: note acquisition module, for obtaining the note that operating system receives;Short message managing module, is used for based on note described in default rule judgment the need of process, if it is, judge whether to be set to the note application of acquiescence;If the note being not configured to acquiescence is applied, then the function by using operating system open obtains note operating right, and described note is processed, and described process includes: interception, amendment, automatic-answering back device.
A kind of mobile terminal, including short message processing device as above.
The SMS processing method of the present invention, device and mobile terminal, note operating right is obtained when the note application being not configured to acquiescence, note can be operated, carry out short message managing more convenient and improve Consumer's Experience, can effective catching rubbish note, and the probability that erroneous judgement occurs can be reduced, intercepting efficiency is high.
Aspect and advantage that the present invention adds will part provide in the following description, and these will become apparent from the description below, or is recognized by the practice of the present invention.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, the accompanying drawing used required in embodiment or description of the prior art will be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings:
Fig. 1 is the flow chart of an embodiment of the SMS processing method according to the present invention;
Fig. 2 be the SMS processing method according to the present invention an embodiment in refuse messages judge flow chart;
Fig. 3 is the modular structure schematic diagram of an embodiment of the short message processing device according to the present invention.
Detailed description of the invention
Being described below in detail embodiments of the invention, 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 same or like function from start to finish.The embodiment described below with reference to accompanying drawing is illustrative of, and is only used for explaining the present invention, and is not construed as limiting the claims.
Those skilled in the art of the present technique are appreciated that unless expressly stated, and singulative used herein " ", " one ", " described " and " being somebody's turn to do " may also comprise plural form.Should be further understood that, the wording " including " used in the description of the present invention refers to there is described feature, integer, step, operation, element and/or assembly, but it is not excluded that existence or adds other features one or more, integer, step, operation, element, assembly and/or their group.It should be understood that when we claim element to be " connected " or during " coupled " to another element, it can be directly connected or coupled to other elements, or can also there is intermediary element.Additionally, " connection " used herein or " coupling " can include wireless connections or wireless couple.Wording "and/or" used herein includes one or more list the whole of item or any cell being associated and combines with whole.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, and all terms used herein (include technical term and scientific terminology), have with the those of ordinary skill in art of the present invention be commonly understood by identical meaning.It should also be understood that, those terms of definition in such as general dictionary, should be understood that there is the meaning consistent with the meaning in the context of prior art, and unless by specific definitions as here, otherwise will not explain by idealization or excessively formal implication.
Those skilled in the art of the present technique are appreciated that, " terminal " used herein above, " terminal unit " had both included the equipment of wireless signal receiver, it only possesses the equipment of wireless signal receiver of non-emissive ability, include again the equipment receiving and launching hardware, it has the reception that on bidirectional communication link, can perform two-way communication and the equipment launching hardware.This equipment may include that honeycomb or other communication equipments, and it has single line display or multi-line display or does not have honeycomb or other communication equipments of multi-line display;PCS (PersonalCommunicationsService, PCS Personal Communications System), its can combine voice, data process, fax and/or its communication ability;PDA (PersonalDigitalAssistant, personal digital assistant), it can include radio frequency receiver, pager, the Internet/intranet access, web browser, notepad, calendar and/or GPS (GlobalPositioningSystem, global positioning system) receptor;Conventional laptop and/or palmtop computer or other equipment, it has and/or includes the conventional laptop of radio frequency receiver and/or palmtop computer or other equipment." terminal " used herein above, " terminal unit " can be portable, can transport, be arranged in the vehicles (aviation, sea-freight and/or land), or it is suitable for and/or is configured at local runtime, and/or with distribution form, any other position operating in the earth and/or space is run." terminal " used herein above, " terminal unit " can also is that communication terminal, access terminals, music/video playback terminal, can be such as PDA, MID (MobileInternetDevice, mobile internet device) and/or there is the mobile phone of music/video playing function, it is also possible to it is the equipment such as intelligent television, Set Top Box.
Those skilled in the art of the present technique are appreciated that remote network devices used herein above, and it includes but not limited to the cloud that computer, network host, single network server, multiple webserver collection or multiple server are constituted.At this, cloud is made up of a large amount of computers or the webserver based on cloud computing (CloudComputing), and wherein, cloud computing is the one of Distributed Calculation, the super virtual machine being made up of a group loosely-coupled computer collection.In embodiments of the invention, any communication mode can be passed through between remote network devices, terminal unit with WNS server realize communicating, include but not limited to, based on 3GPP, LTE, WIMAX mobile communication, based on TCP/IP, udp protocol computer network communication and based on the low coverage wireless transmission method of bluetooth, infrared transmission standard.
Skilled artisan would appreciate that, " application ", " application program ", " application software " and the concept of similar statement alleged by the present invention, it is those skilled in the art known same concept, refers to and be suitable to, by series of computation machine instruction and the organic structure of related data resource, the computer software that electronics runs.Unless specified, this name itself is by programming language kind, rank, and also operating system or platform by its operation of relying is not limited.In the nature of things, this genus is not also limited by any type of terminal.
In the following embodiments, for the intelligent terminal being provided with android system, principles of the invention is carried out exemplary description, but this describes merely exemplary, the scope of the present invention is not limited to this, and principles of the invention is readily adaptable for use in the intelligent terminal being provided with other operating system (such as Linux, iOS, WindowsPhone, Symbian etc.).
Fig. 1 is the flow chart of an embodiment of the SMS processing method according to the present invention, as shown in Figure 1:
Step 101, obtains the note that operating system receives.
Step 102, based on default rule judgment note the need of process, if it is, judge whether this application program run on mobile terminals is set to the note application of acquiescence.Preset rule can be client arrange multiple rule, for instance filtering junk short messages rule, black and white lists etc., it is also possible to for server setting rule and be sent to the application program operating on mobile terminal.
Step 103, if being set to the note application of acquiescence, is then made directly the process of note.If being not configured to the note application of acquiescence, then the function by using operating system open obtains note operating right, and note is processed, and process includes: interception, amendment, automatic-answering back device etc..
The SMS processing method of the present invention can obtain note operating right when being not configured to acquiescence note application, note is operated, such as, reparation, deletion, insertion, automatic-answering back device etc. so that short message managing is more convenient and improves Consumer's Experience.
Note operating right can be obtained by the function using operating system open, it is also possible to when judging that note needs to process, obtain note operating right by the function using operating system open when mobile terminal starts application program.Generally when judging whether to carry out note process, first determine whether whether this application program is set to the note application of acquiescence.
The several operation systems of mobile terminal has opened and has obtained the function of note operating right or interface, for instance, the 3rd application has been opened multiple authority by the version after android4.4, by integrated for rights management function in systems.AppOpsManager class provides the method for amendment authority, it is possible to use reflex mechanism calls AppOpsManager, and the setMode method of recycling AppOpsManager class opens the authority of note operation to application.JAVA reflex mechanism be can the method for dynamic call object, in running status, its any one method and attribute can both be called for any one object.The SetMode method using AppOpsManager example in Android system obtains note operating right, and note operating right includes: insertion, amendment, deletion etc., it is possible to making application need not obtain acquiescence note application permission can be operated note.
SMS processing method in above-described embodiment, non-default note can be realized in Android4.4-Android5.x system and apply the functions such as the amendment to note, when acquiescence note application need not be arranged, perform the interpolation to note and operate with deletion etc., when solving realization and note associative operation function in Android4.4-5.x system, it is necessary to the problem being set to acquiescence note application.
In one embodiment, after receiving the broadcast singal started shooting, start a service, service re-registers the dynamic receiver of a note broadcast, priority is set for the highest.In service, the dynamic receiver of registration intercepts note than the System Priority of mobile phone, and closes note broadcast after intercepting note.Other existing mode can also be adopted to obtain note.When receiving note, based on default rule, note is processed, it is possible to carry out multiple process.
Such as, it is arranged on the mobile phone bodyguard application in Android4.4-Android5.x system, in service, after starting mobile phone bodyguard application, re-registers the dynamic receiver of a note broadcast, priority is set for the highest.When mobile phone bodyguard application receives note, judge whether to note is intercepted based on default filtering junk short messages rule, black and white lists etc., amendment etc. operates.Mobile phone bodyguard applies the note application judged currently without being set to acquiescence, then utilize reflex mechanism to call AppOpsManager, and the setMode method of recycling AppOpsManager class opens the authority of note operation to mobile phone bodyguard application.After the authority obtaining note operation, note is intercepted by mobile phone bodyguard application, amendment etc. operates.Or, when mobile phone bodyguard is applied in startup by the setMode method of AppOpsManager class obtain note operation authority,.
In one embodiment, according to the content of the note intercepted and captured and refuse messages screening rule set in advance, it is judged that whether note is refuse messages, if it is, intercept note and intercepted note stored to intercepting note memory block.Intercept note memory block and can be arranged in internal memory or local cache, it is also possible to storage on the server, and sends prompting in informing and receives the notice of refuse messages.The relevant information of the note intercepted can also be stored, for instance, erasing time, position etc..
If note is non-junk note, then note of letting pass, and display on the terminal device.Note through intercepting rule treatments still would be likely to occur and intercepts by mistake, after intercepting rule treatments, can carry out note again supplementing judgement, it is rational to guarantee the interception carry out note or clearance, if it is unreasonable, then the note after intercepting can be recovered, so that in time the note intercepted is recovered by mistake.
Refuse messages screening rule includes at least one key word, the content of the note of acquisition is mated with key word, if the content of note and at least one key word match, it is determined that note is refuse messages and intercepts.Key word includes: give a discount, preferential, special price, promote, carve a seal, certificates handling, invoice etc..
Such as, note includes the content of " hello: provides specialty to carve a seal/certificates handling etc. ", key word set in advance includes " carving a seal ", " certificates handling ", by the content of note and key word set in advance are mated, short message content can be obtained and two key words i.e. " carving a seal " and " certificates handling " match, thus can determine that note is refuse messages.Or when including contents such as " hello: ticket is dismissed in the long-term generation start in here " in note, short message content and key word " invoice " match, and thus can determine that note is refuse messages.
Black, the white list of note can also be set, it is judged that whether the note of reception belongs to the note of white list, is, lets pass, it is judged that whether the note of reception belongs to the note of blacklist, be just intercept, otherwise let pass.
Fig. 2 be the SMS processing method according to the present invention an embodiment in refuse messages judge flow chart, as shown in Figure 2:
Step 201, obtains the termination number sending note, whether has stored termination number in detection address list.
Step 202, when detect address list does not store termination number time, detection and whether there are communications records between termination number.
Step 203, when detect be absent from communications records between termination number time, the content of note is mated with the associated person information in address list.Associated person information includes: name of contact person, contact phone or contact addresses etc..
Step 204, when Web content does not mate with associated person information, it is determined that note is refuse messages and intercepts, and intercepted note is stored to intercepting note memory block, sends prompting and receive the notice of refuse messages in informing.
Whether there are communications records between detection and termination number and include multiple rule: detect whether to be transmitted across note to termination number, if it is not, then determine and be absent from communications records between termination number;Or, detect whether to dial termination number, if it is not, then determine and be absent from communications records between termination number;Or, whether detect the air time with termination number more than preset time threshold, if it is not, then determine and be absent from communications records etc. between termination number.
When the air time of number corresponding to note and present terminal is more than preset time threshold, determine that this number is for the conventional number of acquaintance, or the information that this note number sends is probably the information that terminal use is useful, then this note of letting pass, and point out user to be put in address list by this number.When, before receiving note, the number that present terminal number is actively corresponding with note carried out communication, then this note of letting pass.
In one embodiment, it may be judged whether be set to the pattern of automatically replying, if it is, automatically reply preset SMS to the sender of note.Such as, safe driving of vehicle pattern is set when driving, automatically reply preset SMS to caller or short message sending side, automatically replying preset SMS can be word content, it can also be recording etc. a section default, so that driver's potential safety hazard that answer short message brings in driving vehicle processes, it is ensured that the safe driving of driver.
When user needs to check intercepted note, show intercepted note by display interface.Receive the instruction of the intercepted note of display, calculate the total number of intercepted note, and the bar number of the intercepted note that can show according to display interface each page is always shown number of pages, paging is extracted the intercepted note of storage in local cache and is sent to display interface process, presses page and show intercepted note on display interface.
Extracting the intercepted note being stored in internal memory and local cache, intercepted note can be stored in internal memory and local cache simultaneously, therefore, needs to carry out duplicate removal process when extracting.Such as, judge whether the note being saved in internal memory and local cache is same note according to the attribute of note, content, if it is, only extract the note being saved in internal memory, calculate by a note.Calculate the bar number of the note extracted, according to predetermined threshold value, the bar number of the note that namely display interface each page shows, note is carried out paging, is always shown number of pages.
Such as, the total number of the different intercepted note being saved in internal memory and local cache is 300, and the note that the display interface each page of user preset shows is 30, calculates paged data one and has 10 pages.Can including showing which page at present in the idsplay order that display interface process sends, by 30 the intercepted short message sending corresponding with number of pages to display interface process, display interface shows this 30 notes, it is possible to show intercepted note by page.
Receiving the idsplay order that display interface process sends, fixed which page currently displaying of idsplay order middle finger, based on a plurality of intercepted note calculated in the paged data that extraction is corresponding with number of pages in advance.After intercepted note is extracted in paging, it is possible to carry out interprocess communication by the form of Socket or system message, by the intercepted short message sending of paging to display interface process.Owing to taking the mode of Pagination Display, it is possible to reduce the burst of data, enable a system to stable operation more.
User checks intercepted note, the intercepted note on click display interface, provides a user with the function deleting and recovering intercepted note on display interface, and the selection based on user by the deletion of intercepted note or reverts to normal note.
The SMS processing method provided in above-described embodiment, it is possible to effectively catching rubbish note, it is possible to reduce the probability that erroneous judgement occurs, intercepting efficiency is high, improves the safety of user data and can protect privacy of user.
The present invention provides a kind of short message processing device, as in figure 2 it is shown, note acquisition module 31 obtains the note that operating system receives.Short message managing module 32 based on default rule judgment note the need of process, if it is, judge whether to be set to the note application of acquiescence;If the note being not configured to acquiescence is applied, then the function by using operating system open obtains note operating right, and described note is processed, and process includes: interception, amendment, automatic-answering back device.
Implementing in reason at one, short message managing module 32 includes: authority acquiring unit 321, and authority acquiring unit 321 uses the SetMode method of AppOpsManager example to obtain note operating right in Android system.Note operating right includes: insertion, amendment, deletion etc..
Based on refuse messages screening rule, short message managing module 32 judges whether note is refuse messages, if it is, intercept note and intercepted note stored to intercepting note memory block, send prompting and receive the notice of refuse messages in informing.
Refuse messages screening rule includes at least one key word, and the content of the note of acquisition is mated by short message managing module 32 with key word, if the content of note and at least one key word match, it is determined that note is refuse messages and intercepts.
Short message managing module 32 obtains the termination number sending note, whether has stored termination number in detection address list.When detect address list does not store termination number time, whether short message managing module 32 detects exists communications records between termination number, when detect be absent from communications records between termination number time, the content of note is mated by short message managing module 32 with the associated person information in address list, when Web content does not mate with associated person information, short message managing module 32 determines that note is refuse messages and intercepts.
Short message managing module 32 detects whether to be transmitted across note to termination number, if it is not, then determine and be absent from communications records between termination number;Or, short message managing module 32 detects whether to dial termination number, if it is not, then determine and be absent from communications records between termination number;Or, whether short message managing module 32 detects the air time with termination number more than preset time threshold, if it is not, then determine and be absent from communications records between termination number.Short message managing module 32 judges whether to be set to the pattern of automatically replying, if it is, automatically reply preset SMS to the sender of note.
Command reception module 33 receives the instruction of the intercepted note of display.Intercept note extraction module 34 and calculate the total number of the intercepted note of intercepted notice, and the bar number of the intercepted note that can show according to display interface each page is always shown number of pages, paging is extracted the intercepted note of storage in local cache and is sent to display interface process.Display interface is pressed page and shows intercepted note.Interception note operation module 35 provides a user with the function deleting and recovering intercepted note on display interface, and the selection based on user by the deletion of intercepted note or reverts to normal note.
In one embodiment, the present invention provides a kind of mobile terminal, including short message processing device as above.
Embodiments provide techniques below scheme:
1. a SMS processing method, including:
Obtain the note that operating system receives;
Based on note described in default rule judgment the need of process, if it is, judge whether to be set to the note application of acquiescence;
If the note being not configured to acquiescence is applied, then the function by using operating system open obtains note operating right, and described note is processed, and described process includes: interception, amendment, automatic-answering back device.
2. the method as described in 1, the described function by using operating system open obtains note operating right and includes:
The SetMode method using AppOpsManager example in Android system obtains note operating right;
Wherein, described note operating right includes: inserts, revise, delete.
3. the method as described in 2, carries out process to described note and includes:
Judge whether described note is refuse messages based on refuse messages screening rule, if it is, intercept described note and intercepted described note stored to intercepting note memory block, informing sends prompting and receives the notice of refuse messages.
4. the method as described in 3, including:
Described refuse messages screening rule includes at least one key word;
The content of the described note obtained is mated with described key word, if the content of described note and at least one key word match, it is determined that described note is refuse messages and intercepts;
Described key word includes: give a discount, preferential, special price, popularization.
5. the method as described in 4, carries out process to described note and includes:
Obtain the termination number sending described note, whether detection address list has stored described termination number;
When detect described address list does not store described termination number time, detection and whether there are communications records between described termination number;
When detect be absent from communications records between described termination number time, the content of described note is mated with the associated person information in described address list;Described associated person information includes: name of contact person, contact phone or contact addresses;
When described Web content does not mate with described associated person information, it is determined that described note is refuse messages and intercepts.
6. whether the method as described in 5, exist communications records and include between described detection and described termination number:
Detect whether to be transmitted across note to described termination number, if it is not, then determine and be absent from communications records between described termination number;Or,
Detect whether to dial described termination number, if it is not, then determine and be absent from communications records between described termination number;Or,
Whether detect the air time with described termination number more than preset time threshold, if it is not, then determine and be absent from communications records between described termination number.
7. the method as described in 1, carries out process to described note and includes:
Judge whether to be set to the pattern of automatically replying, if it is, automatically reply the preset SMS sender to described note.
8. the method as described in 3, including:
Receive the instruction of the intercepted note of display;
Calculate the total number of intercepted note, and the bar number of the intercepted note that can show according to display interface each page is always shown number of pages;
Paging is extracted the intercepted note of storage in local cache and is sent to described display interface process;
Described display interface is pressed page and shows intercepted note.
9. the method as described in 8, including:
Providing a user with the function deleting and recovering intercepted note on described display interface, the selection based on user by the deletion of intercepted note or reverts to normal note.
10. a short message processing device, including:
Note acquisition module, for obtaining the note that operating system receives;
Short message managing module, is used for based on note described in default rule judgment the need of process, if it is, judge whether to be set to the note application of acquiescence;If the note being not configured to acquiescence is applied, then the function by using operating system open obtains note operating right, and described note is processed, and described process includes: interception, amendment, automatic-answering back device.
11. the device as described in 10, it is characterised in that:
Described short message managing module, including:
Authority acquiring unit, for using the SetMode method of AppOpsManager example to obtain note operating right in Android system;Described note operating right includes: inserts, revise, delete.
12. the device as described in 11, it is characterised in that:
Described short message managing module, it is additionally operable to judge whether described note is refuse messages based on refuse messages screening rule, if it is, intercept described note and intercepted described note stored to intercepting note memory block, informing sends prompting and receives the notice of refuse messages.
13. the device as described in 12, it is characterised in that:
Described refuse messages screening rule includes at least one key word;
The content of the described note obtained is mated by described short message managing module with described key word, if the content of described note and at least one key word match, it is determined that described note is refuse messages and intercepts;
Wherein, described key word includes: give a discount, preferential, special price, popularization.
14. the device as described in 11, it is characterised in that:
Described short message managing module obtains the termination number sending described note, whether has stored described termination number in detection address list;
When detect described address list does not store described termination number time, described short message managing module detection with described termination number between whether there are communications records;
When detect be absent from communications records between described termination number time, the content of described note is mated by described short message managing module with the associated person information in described address list;Described associated person information includes: name of contact person, contact phone or contact addresses;
When described Web content does not mate with described associated person information, described short message managing module determines that described note is refuse messages and intercepts.
15. the device as described in 14, it is characterised in that:
Described short message managing module detects whether to be transmitted across note to described termination number, if it is not, then determine and be absent from communications records between described termination number;Or,
Described short message managing module detects whether to dial described termination number, if it is not, then determine and be absent from communications records between described termination number;Or,
Whether described short message managing module detects the air time with described termination number more than preset time threshold, if it is not, then determine and be absent from communications records between described termination number.
16. the method as described in 10, it is characterised in that:
Described short message managing module judges whether to be set to the pattern of automatically replying, if it is, automatically reply the preset SMS sender to described note.
17. the device as described in 12, including:
Command reception module, for receiving the instruction of the intercepted note of display;
Intercepting note extraction module, for calculating the total number of the intercepted note of intercepted notice, and the bar number of the intercepted note that can show according to display interface each page is always shown number of pages;Paging is extracted the intercepted note of storage in local cache and is sent to described display interface process;
Wherein, described display interface is pressed page and show intercepted note.
18. the device as described in 17, including:
Interception note operation module, for providing a user with the function deleting and recovering intercepted note on described display interface, the selection based on user by the deletion of intercepted note or reverts to normal note.
19. a mobile terminal, it is characterised in that:
Including the short message processing device as described in 10 to 18 any one.
SMS processing method, device and the mobile terminal provided in above-described embodiment; note operating right can be obtained when being not configured to acquiescence note application; note is operated; carry out short message managing more convenient and improve Consumer's Experience; can effective catching rubbish note; and the probability that erroneous judgement occurs can be reduced, intercepting efficiency is high, improves the safety of user data and can protect privacy of user.
The above is only the some embodiments of the present invention; it should be pointed out that, for those skilled in the art, under the premise without departing from the principles of the invention; can also making some improvements and modifications, these improvements and modifications also should be regarded as protection scope of the present invention.

Claims (10)

1. a SMS processing method, it is characterised in that including:
Obtain the note that operating system receives;
Based on note described in default rule judgment the need of process, if it is, judge whether to be set to the note application of acquiescence;
If the note being not configured to acquiescence is applied, then the function by using operating system open obtains note operating right, and described note is processed, and described process includes: interception, amendment, automatic-answering back device.
2. the method for claim 1, it is characterised in that the described function by using operating system open obtains note operating right and includes:
The SetMode method using AppOpsManager example in Android system obtains note operating right;
Wherein, described note operating right includes: inserts, revise, delete.
3. method as claimed in claim 2, it is characterised in that described note is carried out process and includes:
Judge whether described note is refuse messages based on refuse messages screening rule, if it is, intercept described note and intercepted described note stored to intercepting note memory block, informing sends prompting and receives the notice of refuse messages.
4. method as claimed in claim 3, it is characterised in that including:
Described refuse messages screening rule includes at least one key word;
The content of the described note obtained is mated with described key word, if the content of described note and at least one key word match, it is determined that described note is refuse messages and intercepts;
Described key word includes: give a discount, preferential, special price, popularization.
5. method as claimed in claim 4, carries out process to described note and includes:
Obtain the termination number sending described note, whether detection address list has stored described termination number;
When detect described address list does not store described termination number time, detection and whether there are communications records between described termination number;
When detect be absent from communications records between described termination number time, the content of described note is mated with the associated person information in described address list;Described associated person information includes: name of contact person, contact phone or contact addresses;
When described Web content does not mate with described associated person information, it is determined that described note is refuse messages and intercepts.
6. method as claimed in claim 5, it is characterised in that whether there are communications records between described detection and described termination number and include:
Detect whether to be transmitted across note to described termination number, if it is not, then determine and be absent from communications records between described termination number;Or,
Detect whether to dial described termination number, if it is not, then determine and be absent from communications records between described termination number;Or,
Whether detect the air time with described termination number more than preset time threshold, if it is not, then determine and be absent from communications records between described termination number.
7. the method for claim 1, it is characterised in that described note is carried out process and includes:
Judge whether to be set to the pattern of automatically replying, if it is, automatically reply the preset SMS sender to described note.
8. method as claimed in claim 3, it is characterised in that including:
Receive the instruction of the intercepted note of display;
Calculate the total number of intercepted note, and the bar number of the intercepted note that can show according to display interface each page is always shown number of pages;
Paging is extracted the intercepted note of storage in local cache and is sent to described display interface process;
Described display interface is pressed page and shows intercepted note.
9. a short message processing device, it is characterised in that including:
Note acquisition module, for obtaining the note that operating system receives;
Short message managing module, is used for based on note described in default rule judgment the need of process, if it is, judge whether to be set to the note application of acquiescence;If the note being not configured to acquiescence is applied, then the function by using operating system open obtains note operating right, and described note is processed, and described process includes: interception, amendment, automatic-answering back device.
10. a mobile terminal, it is characterised in that:
Including the short message processing device as described in claim 10 to 18 any one.
CN201610105460.XA 2016-02-25 2016-02-25 A kind of SMS processing method, device and mobile terminal Active CN105791552B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610105460.XA CN105791552B (en) 2016-02-25 2016-02-25 A kind of SMS processing method, device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610105460.XA CN105791552B (en) 2016-02-25 2016-02-25 A kind of SMS processing method, device and mobile terminal

Publications (2)

Publication Number Publication Date
CN105791552A true CN105791552A (en) 2016-07-20
CN105791552B CN105791552B (en) 2019-03-12

Family

ID=56402278

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610105460.XA Active CN105791552B (en) 2016-02-25 2016-02-25 A kind of SMS processing method, device and mobile terminal

Country Status (1)

Country Link
CN (1) CN105791552B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106227610A (en) * 2016-07-25 2016-12-14 珠海市魅族科技有限公司 Electronic equipment and message treatment method thereof
CN108287863A (en) * 2017-11-30 2018-07-17 维沃移动通信有限公司 A kind of method for cleaning and device of Message Record
CN108718365A (en) * 2018-05-18 2018-10-30 Oppo(重庆)智能科技有限公司 Message treatment method, device, terminal and storage medium
CN114245323A (en) * 2021-12-15 2022-03-25 平安科技(深圳)有限公司 Message processing method and device, computer equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012174821A1 (en) * 2011-06-22 2012-12-27 中兴通讯股份有限公司 Method and system for monitoring spam short message and monitoring processing device
CN103152738A (en) * 2011-12-07 2013-06-12 腾讯科技(深圳)有限公司 Method and device of intelligent intercept
CN103929317A (en) * 2007-09-21 2014-07-16 华为技术有限公司 Method, devices and systems for controlling Push message
US20150156194A1 (en) * 2013-12-04 2015-06-04 Symantec Corporation Certificate status delivery through a local endpoint
CN105187646A (en) * 2015-09-08 2015-12-23 小米科技有限责任公司 Short message intercepting method and device
CN105306712A (en) * 2015-10-27 2016-02-03 上海斐讯数据通信技术有限公司 Management method and management system of notification message

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103929317A (en) * 2007-09-21 2014-07-16 华为技术有限公司 Method, devices and systems for controlling Push message
WO2012174821A1 (en) * 2011-06-22 2012-12-27 中兴通讯股份有限公司 Method and system for monitoring spam short message and monitoring processing device
CN103152738A (en) * 2011-12-07 2013-06-12 腾讯科技(深圳)有限公司 Method and device of intelligent intercept
US20150156194A1 (en) * 2013-12-04 2015-06-04 Symantec Corporation Certificate status delivery through a local endpoint
CN105187646A (en) * 2015-09-08 2015-12-23 小米科技有限责任公司 Short message intercepting method and device
CN105306712A (en) * 2015-10-27 2016-02-03 上海斐讯数据通信技术有限公司 Management method and management system of notification message

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106227610A (en) * 2016-07-25 2016-12-14 珠海市魅族科技有限公司 Electronic equipment and message treatment method thereof
CN108287863A (en) * 2017-11-30 2018-07-17 维沃移动通信有限公司 A kind of method for cleaning and device of Message Record
CN108287863B (en) * 2017-11-30 2020-07-21 维沃移动通信有限公司 Message record cleaning method and device
CN108718365A (en) * 2018-05-18 2018-10-30 Oppo(重庆)智能科技有限公司 Message treatment method, device, terminal and storage medium
CN114245323A (en) * 2021-12-15 2022-03-25 平安科技(深圳)有限公司 Message processing method and device, computer equipment and storage medium
CN114245323B (en) * 2021-12-15 2023-03-28 平安科技(深圳)有限公司 Message processing method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN105791552B (en) 2019-03-12

Similar Documents

Publication Publication Date Title
CN102739868B (en) The loss processing method of mobile terminal and system
CN104462509A (en) Review spam detection method and device
CN105791552A (en) Short message processing method, short message processing device and mobile terminal
CN101626368A (en) Device, method and system for preventing web page from being distorted
CN105808235A (en) Management method and device for notification bar messages of mobile terminal, and mobile terminal
CN101770669A (en) Bank automatic warning system and method thereof
CN104881601A (en) Floating window display setup, control method and device
CN104486727A (en) Mobile phone anti-theft method and system based on Android system
CN103577773A (en) Mobile equipment safety protection method and device based on Android
CN104125547A (en) Short message processing method and device
CN103218564A (en) Mobile terminal protection method and mobile terminal protection device
CN101997960A (en) High-safety two-operating system mobile phone capable of resisting hackers and being used for Internet banking
CN104244206B (en) A kind of SMS processing method, device and terminal unit
US20240031405A1 (en) Apparatus and method for protecting personal information leaked by phishing application
CN111371741A (en) Method and device for transmitting data of external network to internal network, computer equipment and storage medium
CN103701876A (en) Method and device based on shared network resources
WO2012015363A1 (en) Acquiring information from volatile memory of a mobile device
US6993330B2 (en) Method and apparatus for remotely performing tasks in a wireless personal digital assistant
CN104618382A (en) Information traceless access implementation method and device
CN102098386A (en) Unlocking method and device of terminal
CN104053137A (en) Data recovery method and device
CN106156642A (en) Data ciphering method and device
CN104394280A (en) Menu option display method and device for communication information
CN105163297A (en) Method and system of cross-operating system for receiving multimedia messages
CN101764869A (en) Method for realizing firewall of mobile phone short messages

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220729

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.