CN102075617A - Method and device thereof for preventing short messages from being automatically sent through mobile phone virus - Google Patents
Method and device thereof for preventing short messages from being automatically sent through mobile phone virus Download PDFInfo
- Publication number
- CN102075617A CN102075617A CN2010105698948A CN201010569894A CN102075617A CN 102075617 A CN102075617 A CN 102075617A CN 2010105698948 A CN2010105698948 A CN 2010105698948A CN 201010569894 A CN201010569894 A CN 201010569894A CN 102075617 A CN102075617 A CN 102075617A
- Authority
- CN
- China
- Prior art keywords
- short message
- message
- keyword
- content
- send
- 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
Links
Images
Abstract
The invention provides a method and a device thereof for preventing short messages from being automatically sent through mobile phone virus. The method comprises the following steps of: reading the content of a short message before message sending; and judging whether keywords in a preset keyword base are included in the content of the short message or not, if YES, prompting users whether to send the short message or not, and if NO, directly sending the short message. The device comprises a first reading unit and a judging unit, wherein the first reading unit is used for reading the content of the short message before the message sending, the judging unit is used for judging whether the keywords in the preset keyword base are included in the content of the short message or not, if YES, the judging unit prompts users whether to send the short message or not, and if NO, the judging unit directly sends the short message. The method and the device provided by the invention have the advantage that the short messages are prevented from being automatically sent through the mobile phone virus.
Description
?
Technical field
The present invention relates to the wireless mobile telecommunication technology field, relate in particular to a kind of method and device thereof that stops mobile phone viruses to send SMS message automatically.
Background technology
Now, mobile phone has become people's daily necessities, yet mobile phone viruses, especially corpse virus become puzzlement cellphone subscriber's a difficult problem again.Mobile phone corpse virus can allow mobile phone send SMS message automatically under the unwitting situation of user, and can allow the user who receives short message also poison under unwitting situation.As seen, mobile phone viruses has brought many telephone expenses losses to the cellphone subscriber.
Summary of the invention
For this reason, technical problem to be solved by this invention is: a kind of method and device thereof that stops mobile phone viruses to send SMS message automatically is provided, sends SMS message automatically to avoid mobile phone viruses.
So, the invention provides a kind of method that stops mobile phone viruses to send SMS message automatically, this method comprises:
Before sending SMS message, read content of short message;
Judge whether contain the keyword that presets in the crucial dictionary in the content of short message,, then point out the user whether to send this short message,, then directly send if do not have if having.
Wherein, the described content of short message that reads comprises:
Resolve short message;
Obtain the message body text, and it is stored as character string.
Wherein, describedly judge that whether containing the keyword that presets in the crucial dictionary in the content of short message comprises:
Read the keyword that presets in the crucial dictionary, and check in the described message body text whether include corresponding keyword by the string searching function.
The present invention also provides a kind of device that stops mobile phone viruses to send SMS message automatically, and this device comprises:
First reading unit is used for reading content of short message before sending SMS message;
Judging unit is used for judging whether content of short message contains the keyword that presets in the crucial dictionary, if having, then points out the user whether to send this short message, if do not have, then directly sends.
Wherein, described reading unit comprises:
Resolution unit is used to resolve short message, obtains the message body text;
Memory cell, the message body text storage that is used for described acquisition is a character string.
Wherein, described judging unit comprises:
Second reading unit is used for reading the keyword that presets crucial dictionary;
Search the unit, be used for checking by the string searching function whether described message body text includes corresponding keyword.
Device of the present invention also comprises: the keyword storage unit that is used to store keyword.
Method and device thereof that prevention mobile phone viruses of the present invention sends SMS message automatically, by before sending SMS message, content of short message is read in employing, and judge whether contain the keyword that presets in the crucial dictionary in the content of short message, if have, the mode of then pointing out the user whether to send this short message has avoided mobile phone viruses to send SMS message automatically.
Description of drawings
The method flow diagram that Fig. 1 sends SMS message automatically for the described prevention mobile phone viruses of the embodiment of the invention;
The apparatus structure schematic diagram that Fig. 2 sends SMS message automatically for the described prevention mobile phone viruses of the embodiment of the invention.
Embodiment
Below, describe the present invention in conjunction with the accompanying drawings.
As Fig. 1, present embodiment provides a kind of method that stops mobile phone viruses to send SMS message automatically, and this method comprises:
Before sending SMS message, read content of short message;
Judge whether contain the keyword that presets in the crucial dictionary in the content of short message,, then point out the user whether to send this short message,, then directly send if do not have if having.
Wherein, the described content of short message that reads comprises:
Resolve short message;
Obtain the message body text, and it is stored as character string.
Here, described short message comprises: message header (Header) and message body (Body).Figure below is a whole short message structure, wherein, last field Compressed Short Msg is a message body, and all fields of front are message header, at present all cell phone platforms can be on application layer directly parse the text of this message body, and are shown to the user and read.
Above-mentionedly judge whether contain the keyword that presets in the crucial dictionary in the content of short message, comprising:
Read the keyword that presets in the crucial dictionary, for example use the IFile_Read function to read the keyword that presets in the crucial dictionary, and by the string searching function, for example built-in function strstr () checks in the described message body text whether include corresponding keyword.
As seen, by before sending SMS message, adopt and read content of short message, and judge whether contain the keyword that presets in the crucial dictionary in the content of short message, if have, the mode of then pointing out the user whether to send this short message has avoided mobile phone viruses to send SMS message automatically.
As shown in Figure 2, present embodiment also provides a kind of device that stops mobile phone viruses to send SMS message automatically, and this device comprises:
First reading unit 10 is used for reading content of short message before sending SMS message;
Judging unit 20 is used for judging whether content of short message contains the keyword that presets in the crucial dictionary, if having, then points out the user whether to send this short message, if do not have, then directly sends.
Wherein, reading unit 10 comprises:
Resolution unit 11 is used to resolve short message, obtains the message body text;
Memory cell 12, the message body text storage that is used for resolution unit 11 is obtained is a character string.
Judging unit 20 comprises:
Second reading unit 21 is used for reading the keyword that presets crucial dictionary;
Search unit 22, be used for checking by the string searching function whether described message body text includes corresponding keyword.
Certainly, the device that stops mobile phone viruses to send SMS message automatically also comprises: be used to store the keyword storage unit 30 of keyword, crucial dictionary formed in the keyword of this cell stores.Memory cell 30 can be stored keyword with the mode that a certain mark-hold or disconnected row are separated each keyword, and keyword can be to preset before mobile phone dispatches from the factory, and also can be that the cellphone subscriber adds according to demand.When the user added keyword, by the application program interface function that the calling mobile phone platform provides, for example api function write keyword.Binary runtime environment for wireless commonly used at present just provides a kind of IFILE_Write function that is used to write keyword.
In sum, method and device thereof that the described prevention mobile phone viruses of present embodiment sends SMS message automatically, by before sending SMS message, content of short message is read in employing, and judge whether contain the keyword that presets in the crucial dictionary in the content of short message, if have, the mode of then pointing out the user whether to send this short message has avoided mobile phone viruses to send SMS message automatically.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (7)
1. a method that stops mobile phone viruses to send SMS message automatically is characterized in that, comprising:
Before sending SMS message, read content of short message;
Judge whether contain the keyword that presets in the crucial dictionary in the content of short message,, then point out the user whether to send this short message,, then directly send if do not have if having.
2. method according to claim 1 is characterized in that, the described content of short message that reads comprises:
Resolve short message;
Obtain the message body text, and it is stored as character string.
3. method according to claim 2 is characterized in that, describedly judges that whether containing the keyword that presets in the crucial dictionary in the content of short message comprises:
Read the keyword that presets in the crucial dictionary, and check in the described message body text whether include corresponding keyword by the string searching function.
4. a device that stops mobile phone viruses to send SMS message automatically is characterized in that, comprising:
First reading unit is used for reading content of short message before sending SMS message;
Judging unit is used for judging whether content of short message contains the keyword that presets in the crucial dictionary, if having, then points out the user whether to send this short message, if do not have, then directly sends.
5. device according to claim 4 is characterized in that, described reading unit comprises:
Resolution unit is used to resolve short message, obtains the message body text;
Memory cell, the message body text storage that is used for described acquisition is a character string.
6. device according to claim 4 is characterized in that, described judging unit comprises:
Second reading unit is used for reading the keyword that presets crucial dictionary;
Search the unit, be used for checking by the string searching function whether described message body text includes corresponding keyword.
7. according to claim 4 or 6 described devices, it is characterized in that, also comprise: the keyword storage unit that is used to store keyword.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010105698948A CN102075617A (en) | 2010-12-02 | 2010-12-02 | Method and device thereof for preventing short messages from being automatically sent through mobile phone virus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010105698948A CN102075617A (en) | 2010-12-02 | 2010-12-02 | Method and device thereof for preventing short messages from being automatically sent through mobile phone virus |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102075617A true CN102075617A (en) | 2011-05-25 |
Family
ID=44033954
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010105698948A Pending CN102075617A (en) | 2010-12-02 | 2010-12-02 | Method and device thereof for preventing short messages from being automatically sent through mobile phone virus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102075617A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102868812A (en) * | 2012-09-05 | 2013-01-09 | 东莞宇龙通信科技有限公司 | Terminal and information-sending control method |
CN103986817A (en) * | 2013-02-07 | 2014-08-13 | 希姆通信息技术(上海)有限公司 | Information sending method of mobile terminal, and mobile terminal |
CN106663170A (en) * | 2014-06-17 | 2017-05-10 | 日本电信电话株式会社 | Information processing system, control method, and control program |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040203589A1 (en) * | 2002-07-11 | 2004-10-14 | Wang Jiwei R. | Method and system for controlling messages in a communication network |
CN1588879A (en) * | 2004-08-12 | 2005-03-02 | 复旦大学 | Internet content filtering system and method |
CN101064878A (en) * | 2006-04-24 | 2007-10-31 | 华为技术有限公司 | Mobile terminal for realizing content filtering, system, network entity and method |
-
2010
- 2010-12-02 CN CN2010105698948A patent/CN102075617A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040203589A1 (en) * | 2002-07-11 | 2004-10-14 | Wang Jiwei R. | Method and system for controlling messages in a communication network |
CN1588879A (en) * | 2004-08-12 | 2005-03-02 | 复旦大学 | Internet content filtering system and method |
CN101064878A (en) * | 2006-04-24 | 2007-10-31 | 华为技术有限公司 | Mobile terminal for realizing content filtering, system, network entity and method |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102868812A (en) * | 2012-09-05 | 2013-01-09 | 东莞宇龙通信科技有限公司 | Terminal and information-sending control method |
CN103986817A (en) * | 2013-02-07 | 2014-08-13 | 希姆通信息技术(上海)有限公司 | Information sending method of mobile terminal, and mobile terminal |
CN106663170A (en) * | 2014-06-17 | 2017-05-10 | 日本电信电话株式会社 | Information processing system, control method, and control program |
US10248790B2 (en) | 2014-06-17 | 2019-04-02 | Nippon Telegraph And Telephone Corporation | Information processing system, controlling method, and controlling computer program |
CN106663170B (en) * | 2014-06-17 | 2019-06-25 | 日本电信电话株式会社 | Information processing system, control method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101371219B (en) | Phone to phone data exchange | |
US7881736B2 (en) | Short message service network plug-in | |
US20070184858A1 (en) | Method of attaching mobile communication tasks to a Subscriber Information Module card and mobile communication device incorporating the same | |
CN101827355A (en) | Communication method and system using virtual numbers, and mobile terminal | |
CN103095895B (en) | A kind of method and client sending mobile phone electronic business card | |
US20110263236A1 (en) | System and method for communication record logging | |
US8041342B2 (en) | Moving notification message | |
CN102685312B (en) | Mobile phone with short message cancellation function and short message cancellation realization method for mobile phone | |
CN101909118A (en) | Method for setting short message prompt tones of mobile communication terminal | |
KR20150091406A (en) | Method and devices for language determination for voice to text transcription of phone calls | |
CN101808161B (en) | Method and device for inquiring area to which phone number is attributed and type of SIM card for phone number | |
CN102075617A (en) | Method and device thereof for preventing short messages from being automatically sent through mobile phone virus | |
CN102497626B (en) | Method and system for sending and receiving single-card dual-standby service message based on short message expansion platform | |
KR20090086377A (en) | Method and device of spam message detection and processing for cellular phones | |
CN102932533A (en) | Method and device for third party application program to call contacts | |
US7616969B2 (en) | Methods and apparatus for dial string to contact matching in a wireless communication device | |
CN106792600A (en) | A kind of information processing method, mobile terminal, netscape messaging server Netscape | |
CN101917685A (en) | Short message answering system and method for mobile communication terminal | |
CN103051769A (en) | Method and system of mobile terminal for adding contact name to message | |
CN100551124C (en) | Portable terminal and the method that makes a call to ascription area fixed network telephone thereof | |
CN101998306A (en) | Mobile communication device and communication method thereof | |
US20210084454A1 (en) | Telephone base station for combining mobile and voip telephone service | |
CN101909259A (en) | Method, device and system for sending short messages | |
CN102833413A (en) | System and method for setting e-mail to automatically forward missed call and new short message through information | |
CN101022574A (en) | Method for changing MMS to speech |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20110525 |