WO2017120919A1 - Short message filtering method and mobile terminal - Google Patents

Short message filtering method and mobile terminal Download PDF

Info

Publication number
WO2017120919A1
WO2017120919A1 PCT/CN2016/071090 CN2016071090W WO2017120919A1 WO 2017120919 A1 WO2017120919 A1 WO 2017120919A1 CN 2016071090 W CN2016071090 W CN 2016071090W WO 2017120919 A1 WO2017120919 A1 WO 2017120919A1
Authority
WO
WIPO (PCT)
Prior art keywords
short message
content
preset keyword
mobile terminal
determined
Prior art date
Application number
PCT/CN2016/071090
Other languages
French (fr)
Chinese (zh)
Inventor
白宏伟
Original Assignee
白宏伟
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 白宏伟 filed Critical 白宏伟
Priority to PCT/CN2016/071090 priority Critical patent/WO2017120919A1/en
Publication of WO2017120919A1 publication Critical patent/WO2017120919A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]

Definitions

  • the present invention belongs to the field of information processing technologies, and in particular, to a short message filtering method and a mobile terminal.
  • an object of the present invention is to provide a short message filtering method and a mobile terminal, which are designed to solve the problem that when the short message to be viewed exists in the prior art, the message interface is opened and each unread text message is opened, thereby When the message is found to be spam, the user also needs to manually delete the message, which is inconvenient for the user operation. In addition, if the message is not deleted, the message is long over time, which easily occupies the storage space and causes the mobile terminal to process. The problem of slower speed.
  • the present invention is implemented as follows: a short message filtering method, and the short message filtering method includes the following steps:
  • the short message is automatically deleted
  • the short message is saved in the short message database.
  • the embodiment of the invention further provides a mobile terminal, where the mobile terminal includes:
  • a receiving module configured to receive a short message
  • a reading module configured to read the body content from the short message
  • a determining module configured to determine whether the content of the text includes a preset keyword
  • a deleting module configured to automatically delete the short message if it is determined that the content of the text includes a preset keyword
  • a saving module configured to save the short message to the short message database if it is determined that the preset content does not include the preset keyword.
  • the short message filtering method and the mobile terminal of the present invention receive a short message by reading a short message; and determining whether the text content includes a preset keyword; if it is determined If the content of the text includes a preset keyword, the short message is automatically deleted; if it is determined that the content of the text does not include a preset keyword, the short message is saved in the short message database.
  • the system will filter the short message in advance, and filter out some spam messages, so that the user does not need to enter the short message interface to view, and the user does not need to manually delete the spam message, which brings convenience to the user operation.
  • FIG. 1 is a schematic flowchart of an implementation process of a short message filtering method according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
  • figure 1 It is a schematic flowchart of the short message filtering method provided by the embodiment of the present invention. For the convenience of description, only parts related to the embodiment of the present invention are shown.
  • step S102 the body content is read from the short message
  • step S103 it is determined whether the preset content keyword is included in the body content
  • the user sets the keyword as the judgment condition in advance.
  • the keyword may include but is not limited to the following contents: 'unsubscribe reply', 'please call', 'finance', etc., however, It can be understood that the setting of the keyword can be used as a keyword according to the words and phrases commonly used in most spam messages.
  • step S104 if it is determined that the text content includes a preset keyword, the short message is automatically deleted;
  • the short message is saved in the short message database.
  • the read text content may be displayed by way of screen scrolling; or the read text content may be played by using a voice broadcast method.
  • FIG. 2 A schematic structural diagram of a mobile terminal provided by an embodiment of the present invention. For the convenience of description, only parts related to the embodiment of the present invention are shown.
  • the mobile terminal includes:
  • the receiving module 101 is configured to receive a short message.
  • the reading module 102 is configured to read the body content from the short message
  • the determining module 103 is configured to determine whether the content of the text includes a preset keyword
  • the deleting module 104 is configured to automatically delete the short message if it is determined that the content of the text includes a preset keyword
  • the short message filtering method and the mobile terminal of the present invention receive a short message by reading a short message; and determining whether the text content includes a preset keyword; If the preset content includes the preset keyword, the short message is automatically deleted; if it is determined that the text content does not include the preset keyword, the short message is saved in the short message database.
  • the system will filter the short message in advance, filter out some spam messages, so that the user does not need to enter the short message interface to view, and the user does not need to manually delete the spam message, which brings convenience to the user operation.
  • the program may be stored in a computer readable storage medium, and the storage medium may include: ROM( ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk.

Abstract

A short message filtering method and a mobile terminal, related to the technical field of information processing. The short message filtering method comprises the following steps: receiving a short message (S101); reading a text content from the short message (S102); determining whether the text content contains a preset keyword (S103); if the text content is determined as containing the preset keyword, then automatically deleting the short message (S104); and if the text content is determined as not containing the preset keyword, then saving the short message into a short message database (S105). When a short message is received, the short message is filtered in advance by a system, thus filtering out some junk short messages, obviating the need for a user to check in a short message interface, also obviating the need for the user to manually delete the junk short messages, and facilitating operation for the user.

Description

一种 短信过滤方法及移动终端 Short message filtering method and mobile terminal 技术领域Technical field
本发明属于信息处理技术领域,尤其是涉及一种短信过滤方法及移动终端。  The present invention belongs to the field of information processing technologies, and in particular, to a short message filtering method and a mobile terminal.
背景技术Background technique
在现有技术中,随着通信技术的发展,终端也变得越来越为普及,其在人们生活中所扮演的角色也变得越来越为重要。通过终端,人们不仅可以进行通讯,而且还可以进行购物或娱乐等多种活动。在日常的这些活动中,我们经常会遇到这样一个问题:就是经常收到垃圾短信,例如,推广信息或者是推销信息等,用户由于不知是什么样的短信,所以当提示有待查看的短信时,都会进入短信界面,打开每一条未读的短信,从而进行查看,当发现该短信是垃圾短信时,用户还需要手动去删除该短信,给用户操作带来不方便,另外,如果不删除,则久而久之短信多了,容易占用存储空间,导致移动终端处理速度变慢。 In the prior art, with the development of communication technologies, terminals have become more and more popular, and their roles in people's lives have become more and more important. Through the terminal, people can not only communicate, but also carry out various activities such as shopping or entertainment. In these daily activities, we often encounter such a problem: we often receive spam messages, for example, promotion information or sales information, etc., users do not know what kind of text messages, so when prompted for text messages to be viewed , will enter the SMS interface, open each unread text message to view, when the message is found to be spam messages, the user also needs to manually delete the message, which is inconvenient for the user operation, and if not deleted, The message is long over time, and it is easy to occupy the storage space, resulting in slow processing speed of the mobile terminal.
故,有必要提出一种新的技术方案,以解决上述技术问题。 Therefore, it is necessary to propose a new technical solution to solve the above technical problems.
技术问题technical problem
有鉴于此,本发明的目的在于提供一种短信过滤方法及移动终端,旨在解决现有技术中存在的当提示有待查看的短信时,都会进入短信界面,打开每一条未读的短信,从而进行查看,当发现该短信是垃圾短信时,用户还需要手动去删除该短信,给用户操作带来不方便,另外,如果不删除,则久而久之短信多了,容易占用存储空间,导致移动终端处理速度变慢的问题。 In view of the above, an object of the present invention is to provide a short message filtering method and a mobile terminal, which are designed to solve the problem that when the short message to be viewed exists in the prior art, the message interface is opened and each unread text message is opened, thereby When the message is found to be spam, the user also needs to manually delete the message, which is inconvenient for the user operation. In addition, if the message is not deleted, the message is long over time, which easily occupies the storage space and causes the mobile terminal to process. The problem of slower speed.
技术解决方案Technical solution
本发明是这样实现的:一种短信过滤方法,所述短信过滤方法,包括如下步骤: The present invention is implemented as follows: a short message filtering method, and the short message filtering method includes the following steps:
接收短消息; Receiving short messages;
从所述短消息中读取正文内容; Reading the body content from the short message;
判断所述正文内容中是否包含有预设的关键字; Determining whether the body content includes a preset keyword;
如果判断出所述正文内容中包含有预设的关键字,则自动删除所述短消息; If it is determined that the content of the text includes a preset keyword, the short message is automatically deleted;
如果判断出所述正文内容中不包含预设的关键字,则将所述短消息保存到短信数据库中。 If it is determined that the preset content does not include the preset keyword, the short message is saved in the short message database.
本发明实施例还提供了一种移动终端,所述移动终端包括: The embodiment of the invention further provides a mobile terminal, where the mobile terminal includes:
接收模块,用于接收短消息; a receiving module, configured to receive a short message;
读取模块,用于从所述短消息中读取正文内容; a reading module, configured to read the body content from the short message;
判断模块,用于判断所述正文内容中是否包含有预设的关键字; a determining module, configured to determine whether the content of the text includes a preset keyword;
删除模块,用于如果判断出所述正文内容中包含有预设的关键字,则自动删除所述短消息; a deleting module, configured to automatically delete the short message if it is determined that the content of the text includes a preset keyword;
保存模块,用于如果判断出所述正文内容中不包含预设的关键字,则将所述短消息保存到短信数据库中。 And a saving module, configured to save the short message to the short message database if it is determined that the preset content does not include the preset keyword.
有益效果Beneficial effect
相对于现有技术,本发明的短信过滤方法及移动终端,通过接收短消息;从所述短消息中读取正文内容;判断所述正文内容中是否包含有预设的关键字;如果判断出所述正文内容中包含有预设的关键字,则自动删除所述短消息;如果判断出所述正文内容中不包含预设的关键字,则将所述短消息保存到短信数据库中。本发明当接收到短信息时,系统会事先对短信息进行过滤,过滤掉一些垃圾短信,使得用户无需进入短信界面进行查看,而且不需要用户手动去删除垃圾短信,给用户操作带来方便。 Compared with the prior art, the short message filtering method and the mobile terminal of the present invention receive a short message by reading a short message; and determining whether the text content includes a preset keyword; if it is determined If the content of the text includes a preset keyword, the short message is automatically deleted; if it is determined that the content of the text does not include a preset keyword, the short message is saved in the short message database. When receiving the short message, the system will filter the short message in advance, and filter out some spam messages, so that the user does not need to enter the short message interface to view, and the user does not need to manually delete the spam message, which brings convenience to the user operation.
附图说明DRAWINGS
图 1 是本发明实施例提供的短信过滤方法的实现流程示意图; 1 is a schematic flowchart of an implementation process of a short message filtering method according to an embodiment of the present invention;
图 2 是本发明实施例提供的移动终端的结构示意图。 FIG. 2 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
本发明的实施方式Embodiments of the invention
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。 The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
图 1 是本发明实施例提供的短信过滤方法的流程示意图,为了便于说明,只示出了与本发明实施例相关的部分。 figure 1 It is a schematic flowchart of the short message filtering method provided by the embodiment of the present invention. For the convenience of description, only parts related to the embodiment of the present invention are shown.
在步骤 S101 中,接收短消息; Receiving a short message in step S101;
在步骤 S102 中,从所述短消息中读取正文内容; In step S102, the body content is read from the short message;
在步骤 S103 中,判断所述正文内容中是否包含有预设的关键字; In step S103, it is determined whether the preset content keyword is included in the body content;
在本发明实施例中,用户事先设置好作为判断条件的关键字,例如,关键字可以包括但并不限于以下内容:'退订回复'、'请致电','融资'等等,然而,可以理解的是,所述关键字的设定,可根据大多数垃圾短信常用的词句来作为关键字。 In the embodiment of the present invention, the user sets the keyword as the judgment condition in advance. For example, the keyword may include but is not limited to the following contents: 'unsubscribe reply', 'please call', 'finance', etc., however, It can be understood that the setting of the keyword can be used as a keyword according to the words and phrases commonly used in most spam messages.
在步骤 S104 中,如果判断出所述正文内容中包含有预设的关键字,则自动删除所述短消息; In step S104, if it is determined that the text content includes a preset keyword, the short message is automatically deleted;
在步骤 S105 中,如果判断出所述正文内容中不包含预设的关键字,则将所述短消息保存到短信数据库中。 At step S105 If it is determined that the preset content does not include the preset keyword, the short message is saved in the short message database.
在本发明实施例中,可以通过屏幕滚动的方式来显示读取到的正文内容;或者是,采用语音播报的方式来播放读取到的正文内容。 In the embodiment of the present invention, the read text content may be displayed by way of screen scrolling; or the read text content may be played by using a voice broadcast method.
请参阅图 2 ,为本发明实施例提供的移动终端的结构示意图。为了便于说明,仅示出了与本发明实施例相关的部分。所述移动终端包括:。 Please refer to Figure 2 A schematic structural diagram of a mobile terminal provided by an embodiment of the present invention. For the convenience of description, only parts related to the embodiment of the present invention are shown. The mobile terminal includes:
接收模块 101 ,用于接收短消息; The receiving module 101 is configured to receive a short message.
读取模块 102 ,用于从所述短消息中读取正文内容; The reading module 102 is configured to read the body content from the short message;
判断模块 103 ,用于判断所述正文内容中是否包含有预设的关键字; The determining module 103 is configured to determine whether the content of the text includes a preset keyword;
删除模块 104 ,用于如果判断出所述正文内容中包含有预设的关键字,则自动删除所述短消息; The deleting module 104 is configured to automatically delete the short message if it is determined that the content of the text includes a preset keyword;
保存模块 105 ,用于如果判断出所述正文内容中不包含预设的关键字,则将所述短消息保存到短信数据库中。 Save module 105 And if it is determined that the preset content does not include the preset keyword, the short message is saved in the short message database.
综上所述,本发明的短信过滤方法及移动终端,通过接收短消息;从所述短消息中读取正文内容;判断所述正文内容中是否包含有预设的关键字;如果判断出所述正文内容中包含有预设的关键字,则自动删除所述短消息;如果判断出所述正文内容中不包含预设的关键字,则将所述短消息保存到短信数据库中。本发明当接收到短信息时,系统会事先对短信息进行过滤,过滤掉一些垃圾短信,使得用户无需进入短信界面进行查看,而且不需要用户手动去删除垃圾短信,给用户操作带来方便 In summary, the short message filtering method and the mobile terminal of the present invention receive a short message by reading a short message; and determining whether the text content includes a preset keyword; If the preset content includes the preset keyword, the short message is automatically deleted; if it is determined that the text content does not include the preset keyword, the short message is saved in the short message database. When receiving the short message, the system will filter the short message in advance, filter out some spam messages, so that the user does not need to enter the short message interface to view, and the user does not need to manually delete the spam message, which brings convenience to the user operation.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:只读存储器( ROM , Read Only Memory )、随机存取记忆体( RAM , Random Access Memory )、磁盘或光盘等。 A person skilled in the art may understand that all or part of the various steps of the foregoing embodiments may be performed by a program to instruct related hardware. The program may be stored in a computer readable storage medium, and the storage medium may include: ROM( ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk.
以上仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。 The above are only the preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalents, and improvements made within the spirit and scope of the present invention should be included in the scope of the present invention. Inside.

Claims (2)

  1. 一种短信过滤方法,其特征在于,所述短信过滤方法,包括如下步骤: A short message filtering method, wherein the short message filtering method includes the following steps:
    接收短消息;Receiving short messages;
    从所述短消息中读取正文内容;Reading the body content from the short message;
    判断所述正文内容中是否包含有预设的关键字;Determining whether the body content includes a preset keyword;
    如果判断出所述正文内容中包含有预设的关键字,则自动删除所述短消息;If it is determined that the content of the text includes a preset keyword, the short message is automatically deleted;
    如果判断出所述正文内容中不包含预设的关键字,则将所述短消息保存到短信数据库中。If it is determined that the preset content does not include the preset keyword, the short message is saved in the short message database.
  2. 一种移动终端,其特征在于,所述移动终端包括:A mobile terminal, characterized in that the mobile terminal comprises:
    接收模块,用于接收短消息;a receiving module, configured to receive a short message;
    读取模块,用于从所述短消息中读取正文内容;a reading module, configured to read the body content from the short message;
    判断模块,用于判断所述正文内容中是否包含有预设的关键字;a determining module, configured to determine whether the content of the text includes a preset keyword;
    删除模块,用于如果判断出所述正文内容中包含有预设的关键字,则自动删除所述短消息;a deleting module, configured to automatically delete the short message if it is determined that the content of the text includes a preset keyword;
    保存模块,用于如果判断出所述正文内容中不包含预设的关键字,则将所述短消息保存到短信数据库中。And a saving module, configured to save the short message to the short message database if it is determined that the preset content does not include the preset keyword.
PCT/CN2016/071090 2016-01-15 2016-01-15 Short message filtering method and mobile terminal WO2017120919A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/071090 WO2017120919A1 (en) 2016-01-15 2016-01-15 Short message filtering method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/071090 WO2017120919A1 (en) 2016-01-15 2016-01-15 Short message filtering method and mobile terminal

Publications (1)

Publication Number Publication Date
WO2017120919A1 true WO2017120919A1 (en) 2017-07-20

Family

ID=59310681

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/071090 WO2017120919A1 (en) 2016-01-15 2016-01-15 Short message filtering method and mobile terminal

Country Status (1)

Country Link
WO (1) WO2017120919A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1520214A (en) * 2003-09-02 2004-08-11 �ź㴫 Firewall system for short message and method for building up firewall
US20060019684A1 (en) * 2004-07-22 2006-01-26 Xiao-Qin Yu Short message filter mechanism and communication device
CN101018251A (en) * 2007-01-18 2007-08-15 上海柯斯软件有限公司 SMS classified access method based on the SIM card
CN101917685A (en) * 2010-07-23 2010-12-15 深圳市五巨科技有限公司 Short message answering system and method for mobile communication terminal
CN102082876A (en) * 2011-02-28 2011-06-01 北京飞天诚信科技有限公司 Short message management method and device thereof
US20130143608A1 (en) * 2011-12-06 2013-06-06 Hon Hai Precision Industry Co., Ltd. Mobile phone for processing short messages and method thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1520214A (en) * 2003-09-02 2004-08-11 �ź㴫 Firewall system for short message and method for building up firewall
US20060019684A1 (en) * 2004-07-22 2006-01-26 Xiao-Qin Yu Short message filter mechanism and communication device
CN101018251A (en) * 2007-01-18 2007-08-15 上海柯斯软件有限公司 SMS classified access method based on the SIM card
CN101917685A (en) * 2010-07-23 2010-12-15 深圳市五巨科技有限公司 Short message answering system and method for mobile communication terminal
CN102082876A (en) * 2011-02-28 2011-06-01 北京飞天诚信科技有限公司 Short message management method and device thereof
US20130143608A1 (en) * 2011-12-06 2013-06-06 Hon Hai Precision Industry Co., Ltd. Mobile phone for processing short messages and method thereof

Similar Documents

Publication Publication Date Title
WO2017120923A1 (en) Method for processing wechat content and mobile terminal
WO2019024922A1 (en) Prompt item recording method and mobile terminal and storage equipment
WO2017120919A1 (en) Short message filtering method and mobile terminal
WO2012041096A1 (en) Method for protecting security of information of mobile phone
WO2017120920A1 (en) Method for information alert when filtering short message and mobile terminal
WO2018027617A1 (en) Method for automatically recording call on basis of keyword and recording system
WO2017120918A1 (en) Method for data transmission when filtering short message and mobile terminal
WO2017128327A1 (en) Method for stopping music, and mobile terminal
WO2017139955A1 (en) Method and system for blocking text messages
WO2017128256A1 (en) Method for pushing information when sending instant communication message, and mobile terminal
WO2017128257A1 (en) Method for sending instant communication message, and mobile terminal
WO2017128326A1 (en) Method for pushing information when automatically stopping music, and mobile terminal
WO2018023807A1 (en) Technology ownership display method during information blocking and permission system
WO2018023638A1 (en) Information push method for centralized news management, and news push system
WO2017124477A1 (en) Information prompting method during message receiving, and message system
WO2018027635A1 (en) Method for receiving message based on rule, and message system
WO2018027618A1 (en) Data acquisition method for call recording technology and recording system
WO2018023296A1 (en) Method for alerting on mobile phone application price update and alert system
WO2018032144A1 (en) Call voice prompt method and prompt system
WO2018027374A1 (en) Method for accessing reading record from computer end, and reading system
WO2017128224A1 (en) Scene mode setting method and a mobile terminal
WO2017128339A1 (en) Method of terminating alarm using voice, and mobile terminal
WO2017128235A1 (en) Method for viewing instant message, and mobile terminal
WO2018023293A1 (en) Method for alerting about price reduction of mobile phone application and alert system
WO2018023396A1 (en) Information pushing method for use with extracting verification code, and mobile telephone

Legal Events

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

Ref document number: 16884481

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16884481

Country of ref document: EP

Kind code of ref document: A1