WO2017118340A1 - 通知消息的处理方法和装置 - Google Patents

通知消息的处理方法和装置 Download PDF

Info

Publication number
WO2017118340A1
WO2017118340A1 PCT/CN2016/113447 CN2016113447W WO2017118340A1 WO 2017118340 A1 WO2017118340 A1 WO 2017118340A1 CN 2016113447 W CN2016113447 W CN 2016113447W WO 2017118340 A1 WO2017118340 A1 WO 2017118340A1
Authority
WO
WIPO (PCT)
Prior art keywords
notification message
application
message
predetermined
keyword
Prior art date
Application number
PCT/CN2016/113447
Other languages
English (en)
French (fr)
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 JP2018535043A priority Critical patent/JP2019512113A/ja
Priority to EP16883465.3A priority patent/EP3401780A4/en
Publication of WO2017118340A1 publication Critical patent/WO2017118340A1/zh
Priority to US16/026,752 priority patent/US11093303B2/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/338Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/5866Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, manually generated location and time information
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/224Monitoring or handling of messages providing notification on incoming messages, e.g. pushed notifications of received messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/53Network services using third party service providers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Definitions

  • the present invention relates to the field of Internet technologies, and in particular, to a method for processing a notification message and a processing device for the notification message.
  • the application in the smart electronic device receives new information or a certain reminder event in the application is triggered, the application usually generates a notification message, and performs a corresponding notification operation for the notification message, so as to prompt the user to view the new time in time.
  • Information or prompt the user to pay attention to pre-arranged things, etc. a specific example, when WeChat has new information, WeChat will display the notification message for the new information in the notification bar or lock screen interface of the operating system, and through the sound Or vibrating to prompt the user to view new information; another specific example, when the current time meets the time corresponding to the reminding event in the calendar application, the reminding event in the calendar application is triggered, and the calendar application will describe the reminding event.
  • the notification message is displayed on the lock screen interface or the homepage of the smart electronic device, and prompts the user to pay attention to the reminding event by means of sound or vibration.
  • the inventor has found that although the types of applications and the number of applications are constantly enriched, the processing manners of notification messages of different applications are substantially the same, that is, the existing notification messages are processed in a relatively simple manner.
  • a method for processing a notification message comprises the steps of: monitoring a notification message of an application based on an auxiliary function interface of an intelligent electronic device operating system; and monitoring a notification including a predetermined keyword
  • the processing method corresponding to the predetermined keyword is for the inclusion
  • a notification message having a predetermined keyword is processed accordingly.
  • a processing apparatus for a notification message includes: a monitoring module, configured to monitor a notification message of an application based on an auxiliary function interface of an intelligent electronic device operating system; and a processing module In the case that the notification message including the predetermined keyword is detected, the corresponding processing is performed for the notification message including the predetermined keyword according to the processing manner corresponding to the predetermined keyword.
  • the present invention can monitor the notification message of the application by using the auxiliary function interface based on the operating system of the intelligent electronic device, and can be convenient, fast and accurate without disturbing the normal operation of the operating system.
  • the processing method of the notification message may be determined by using a predetermined keyword included in the notification message, so that the present invention can perform corresponding processing on the notification message including the predetermined keyword, so that different notification messages can be correspondingly different.
  • the processing manner such as performing enhanced prompt processing or alerting prompt processing on the notification message or performing information interaction with the application to which the notification message belongs. It can be seen that the technical solution provided by the present invention can perform different processing on different notification messages, and enrich the processing manner of the notification message, and can also avoid the interruption of the partial notification message to the user, thereby improving the intelligence of the notification message.
  • the degree of processing can perform different processing on different notification messages, and enrich the processing manner of the notification message, and can also avoid the interruption of the partial notification message to the user, thereby improving the intelligence of the notification message.
  • FIG. 1 is a flowchart of a method for processing a notification message according to Embodiment 1 of the present invention
  • FIG. 2 is a flowchart of a method for processing a notification message according to Embodiment 2 of the present invention
  • FIG. 3 is a schematic structural diagram of a processing apparatus for a notification message according to Embodiment 3 of the present invention.
  • FIG. 4 is a schematic structural diagram of a monitoring module according to Embodiment 3 of the present invention.
  • FIG. 5 is a schematic structural diagram of another monitoring module according to Embodiment 3 of the present invention.
  • FIG. 6 is a schematic structural diagram of a first monitoring submodule according to Embodiment 3 of the present invention.
  • FIG. 7 is another schematic structural diagram of a first monitoring submodule according to Embodiment 3 of the present invention.
  • FIG. 8 is a schematic structural diagram of a processing module according to Embodiment 3 of the present invention.
  • FIG. 9 is another schematic structural diagram of a processing module according to Embodiment 3 of the present invention.
  • the intelligent electronic device includes a user device and a network device.
  • the user equipment includes, but is not limited to, a computer, a smart mobile phone, a PDA, and the like;
  • the network device includes, but is not limited to, a single network server, a server group composed of multiple network servers, or a cloud computing-based A cloud composed of a computer or a network server, wherein cloud computing is a type of distributed computing, a super virtual computer composed of a group of loosely coupled computers.
  • the smart electronic device can access the network and perform information interaction with other intelligent electronic devices in the network.
  • the network that the smart electronic device can access includes, but is not limited to, the Internet, a wide area network, a metropolitan area network, a local area network, a VPN network, and the like.
  • the user equipment, the network equipment, the network, and the like are only examples, and other existing or future intelligent electronic devices or networks may be applicable to the present application, and should also be included in the protection scope of the present application. And is included here by reference.
  • the methods discussed later may be implemented in the form of hardware, software, firmware, middleware, microcode, hardware description language, or any combination thereof.
  • the program code or code segments to carry out the necessary tasks can be stored in a machine or computer readable medium, such as a storage medium.
  • the processor(s) can perform the necessary tasks.
  • Embodiment 1 A method for processing a notification message.
  • FIG. 1 is a flowchart of a method for processing a notification message according to an embodiment.
  • the method in this embodiment mainly includes: step S100 and step S110.
  • the method described in this embodiment is generally performed in an intelligent electronic device.
  • the method described in this embodiment is generally performed in an intelligent electronic mobile device such as a smart mobile phone and a tablet computer (ie, a user mobile device).
  • the method as described in this embodiment can be installed in an application (such as an Ali Qiandun application) installed in the smart electronic device, so that the method described in this embodiment can be executed after the application is started.
  • an application such as an Ali Qiandun application
  • the auxiliary function interface based on the operating system of the intelligent electronic device monitors the notification message of the application.
  • the auxiliary function of the operating system of the smart electronic device in the embodiment is originally used to enable the user (such as a partially disabled user, specifically a visually impaired user, etc.) to use the smart electronic device without barriers, such as an operating system.
  • the auxiliary function may specifically read the text in the user interface of the intelligent electronic device, or may specifically enlarge the text in the user interface of the intelligent electronic device and the like.
  • the intelligent electronic device operating system generally provides an open auxiliary function interface. This embodiment is based on the auxiliary function interface to implement monitoring of the application notification message.
  • the smart electronic device in this embodiment is usually an intelligent electronic device based on an Android (Android) operating system. If other operating systems also provide an auxiliary function interface, the smart electronic device of this embodiment may also be used. For intelligent electronic devices based on other operating systems.
  • Android Android
  • the operation of turning on the auxiliary function provided by the operating system of the smart electronic device should be performed first, for example, The intelligent electronic device user is gradually guided, so that the intelligent electronic device user sets the auxiliary function provided by the intelligent electronic device operating system to the on state.
  • the notification message of the application monitored by the auxiliary function interface of the operating system of the smart electronic device may be a notification message of the system application or a notification message of the third-party application.
  • the notification message of the system application in this embodiment may be a notification message of a short message application, such as a notification message generated by the short message application when a new short message is received.
  • the notification message of the third-party application in the embodiment may be a notification message of the instant messaging application, such as a notification message generated by the WeChat application when receiving the new information, and the notification message of the third-party application in this embodiment may also be The notification message of the application terminal pushing new information, such as the Sohu video client or the Tencent news application client, etc., which is generated when the user wants to push the new video/news information to the user.
  • the notification message of the auxiliary function interface monitoring application of the smart electronic device operating system may be specifically: monitoring the message content of the notification message of the application based on the auxiliary function interface of the operating system of the intelligent electronic device, For example, whether the message content of the notification message of the application based on the auxiliary function interface of the intelligent electronic device operating system includes a predetermined keyword in the keyword set.
  • the keyword set in this embodiment usually includes a predetermined keyword or a plurality of different predetermined keywords, and the predetermined keyword in the keyword set of the embodiment may be a predetermined keyword downloaded from the cloud server ( If the keyword set stored locally by the smart electronic device is updated from the cloud server at a timed or irregular time, it may also be a predetermined keyword customized by the smart electronic device, that is, the user of the smart electronic device may set the predetermined keyword to be stored in the cloud device. In the collection of keywords.
  • the embodiment may obtain the message content of the notification message by using an auxiliary function interface of the operating system of the smart electronic device, where the message content of the notification message includes text information (such as the notification)
  • the embodiment may perform matching search in the text information of the notification message according to a predetermined keyword in the locally stored keyword set (including multiple differences in the keyword set)
  • a matching search may be performed in the text information of the notification message for each predetermined keyword to determine whether there is a matching in the text information of the notification message with a predetermined keyword in the keyword set.
  • the information when the search result is the information matching the predetermined keyword in the keyword set in the text message of the notification message, determining that the notification message including the predetermined keyword is detected, otherwise, determining that the notification message is not included Contains predetermined keywords.
  • the set keyword set contains a predetermined keyword of "red envelope”, and the embodiment is connected by an auxiliary function based on an operating system of an intelligent electronic device.
  • the embodiment may obtain the message content of the notification message by using an auxiliary function interface of the operating system of the smart electronic device, where the message content of the notification message includes a picture (such as In the case that the message content of the notification message is all a picture or the message content part of the notification message is a picture, the embodiment may first perform an image recognition operation on the picture in the notification message to convert the picture in the notification message into text information.
  • the matching search is performed in the text information obtained by the image recognition according to the predetermined keyword in the locally stored keyword set (when a plurality of different predetermined keywords are included in the keyword set, the embodiment)
  • a matching search may be performed in each of the predetermined keywords in the text information obtained by the image recognition to determine whether there is information in the text information obtained by the image recognition that matches the predetermined keyword in the keyword set.
  • the result is the presence of keywords and keywords in the text information obtained by image recognition.
  • the set keyword set includes a predetermined keyword of “red envelope”.
  • the image recognition operation should be performed on the picture in the notification message first, so that The picture in the notification message is converted into text information, and then a matching search is performed in the text information obtained by the image recognition according to the predetermined keyword "red envelope" to determine whether the text information obtained by the image recognition matches the "red envelope"
  • the information when the search result is the information matching the "red envelope” in the text information obtained by the image recognition, it is determined that the notification message including the "red envelope" is detected, otherwise, it is determined that the notification message does not include "Red envelope”.
  • the embodiment may The determination of whether or not the predetermined keyword is included in the text information in the notification message may be performed, or the determination of whether the predetermined keyword is included in the image in the notification message may be performed, and whether the text information in the notification message is included or not may be included.
  • the judgment of the predetermined keyword is further determined whether the picture in the notification message contains a predetermined keyword, and the specific process is not described in detail.
  • the second, third, and fourth examples below The same is true, and the same will not be described in detail in this embodiment.
  • the notification message of the auxiliary function interface monitoring application of the smart electronic device operating system may be specifically: message content and notification message of the notification message of the application based on the auxiliary function interface of the intelligent electronic device operating system.
  • the application attribute information of the application is monitored, such as whether the message content of the notification message of the application of the auxiliary function interface monitoring application of the intelligent electronic device operating system includes the predetermined keyword in the keyword set and the application attribute information of the application to which the notification message belongs
  • the predetermined condition is met (this predetermined condition may be referred to as a predetermined application attribute condition).
  • the application attribute information in this embodiment may include: an application package name, an application name, an application type (such as a system application or a third-party application), a space occupied after the application is installed, and any one or more of the memory occupied after the application is started. item.
  • the predetermined application attribute condition in the embodiment is generally set in combination with a predetermined keyword, and generally, a predetermined application attribute condition may be correspondingly set for a predetermined keyword.
  • the embodiment does not exclude The case where a plurality of predetermined application attribute conditions are correspondingly set for one predetermined keyword; in addition, the predetermined application attribute condition of the embodiment may be a predetermined application attribute condition downloaded from the cloud server (such as updating from the cloud server periodically or irregularly)
  • the predetermined application attribute condition locally of the smart electronic device may also be a predetermined application attribute condition customized by the smart electronic device, that is, the user of the intelligent electronic device may set the predetermined application attribute condition by itself.
  • the predetermined application attribute condition can be flexibly set according to the actual content according to the content included in the application attribute information, and the detailed description of the predetermined application attribute condition according to the content included in the application attribute information is not described herein.
  • the embodiment may obtain the message content of the notification message and the application attribute information of the application to which the notification message belongs according to the auxiliary function interface of the operating system of the intelligent electronic device, in the notification message.
  • the message content includes text information (such as the message content of the notification message is all text information)
  • the embodiment performs matching search in the text information of the notification message according to a predetermined keyword in the locally stored keyword set (in the case of When the keyword set includes a plurality of different predetermined keywords, the present implementation may perform a matching search on the text information of the notification message for each predetermined keyword to determine whether the text information of the notification message exists and the key.
  • the present embodiment should continue to determine whether the acquired application attribute information satisfies the predetermined application attribute condition corresponding to the predetermined keyword included in the notification message, if obtained.
  • the application attribute information meets the predetermined application attribute condition corresponding to the predetermined keyword included in the notification message, it may be determined that the notification message including the predetermined keyword is detected and the application attribute information of the application to which the notification message belongs meets the pre- The attribute condition is applied, otherwise, it is determined that although the notification message including the predetermined keyword is detected, the application attribute information of the application to which the notification message belongs does not meet the predetermined application attribute condition.
  • the set keyword set includes a predetermined keyword of "red envelope”, and the predetermined application attribute condition corresponding to the predetermined keyword “red envelope” is set: the application package name is "com.tencent” .mm” (ie, the WeChat officially specified WeChat package name), in this embodiment, after the message content of the notification message is acquired through the auxiliary function interface based on the intelligent electronic device operating system and the application attribute information of the application to which the notification message belongs, the notification is If the message content of the message includes text information (for example, the message content of the notification message is all text information), perform matching search in the text information of the notification message according to the predetermined keyword “red envelope” to determine the notification message.
  • the application package name is "com.tencent” .mm” (ie, the WeChat officially specified WeChat package name)
  • the notification is If the message content of the message includes text information (for example, the message content of the notification message is all text information), perform matching search in the text information of the notification message according to the predetermined keyword “red envelope” to determine
  • the message content of the notification message and the application attribute information of the application to which the notification message belongs may be obtained through the auxiliary function interface of the intelligent electronic device operating system.
  • the embodiment may first perform an image recognition operation on the picture in the notification message, Converting the picture in the notification message into text information, and then performing matching search in the text information obtained by the image recognition according to the predetermined keyword in the locally stored keyword set (including multiple in the keyword set)
  • the present embodiment may perform a matching search on the text information obtained by the image recognition for each predetermined keyword to determine whether the text information obtained by the image recognition exists in the keyword set.
  • the information that matches the predetermined keyword is found in the search result. If there is no information matching the predetermined keyword in the keyword set in the text information obtained by the recognition, it is determined that the predetermined message is not included in the notification message; and the search result is obtained by image recognition.
  • the embodiment should continue to determine whether the acquired application attribute information satisfies the predetermined application attribute condition corresponding to the predetermined keyword included in the notification message. If the obtained application attribute information satisfies the predetermined application attribute condition corresponding to the predetermined keyword included in the notification message, it may be determined that the notification message including the predetermined keyword is detected and the application attribute of the application to which the notification message belongs is determined. The information meets the predetermined application attribute condition.
  • the application attribute information of the application to which the notification message belongs does not meet the predetermined application attribute condition.
  • the set keyword set includes a predetermined keyword of "red envelope”
  • the predetermined application attribute condition corresponding to the predetermined keyword "red envelope” is set: the application package name is "com.tencent” .mm” (ie, the WeChat officially specified WeChat package name)
  • the notification is If the message content of the message includes a picture (if the message content of the notification message is all a picture), an image recognition operation should be performed on the picture in the notification message to convert the picture in the notification message into text information, and then Performing a matching search in the text information obtained by the image recognition according to the locally stored predetermined keyword "red envelope” to determine whether there is information matching the "red envelope” in the
  • the determination continues to determine that the notification message belongs to If the application package name of the application is "com.tencent.mm”, if the application package name of the application to which the notification message belongs is "com.tencent.mm”, it is determined that the notification message including the "red envelope” is detected and the notification is The application attribute information of the application to which the message belongs satisfies the predetermined application attribute condition. Otherwise, it is determined that although the notification message including the “red envelope” is detected, the application attribute information of the application to which the notification message belongs does not satisfy the predetermined application attribute condition.
  • the notification message of the auxiliary function interface monitoring application based on the intelligent electronic device operating system of the embodiment may be specifically: the message content and the notification message of the notification message of the application based on the auxiliary function interface of the intelligent electronic device operating system.
  • the message attribute information is monitored, for example, whether the message content of the notification message of the application is monitored based on the auxiliary function interface of the intelligent electronic device operating system, whether the predetermined keyword in the keyword set and the message attribute information of the notification message meet the predetermined condition ( This predetermined condition may be referred to as a predetermined message attribute condition).
  • the message attribute information in this embodiment may include any one or two items of message time (such as message sending time or message receiving time) and message sender information.
  • the predetermined message attribute condition in this embodiment is generally set in combination with a predetermined keyword, and generally, a predetermined message attribute condition may be correspondingly set for a predetermined keyword.
  • the embodiment does not exclude The case where a plurality of predetermined message attribute conditions are correspondingly set for one predetermined keyword; in addition, the predetermined message attribute condition of the embodiment may be a predetermined message attribute condition downloaded from the cloud server (such as updating from the cloud server periodically or irregularly)
  • the predetermined message attribute condition local to the intelligent electronic device may also be a predetermined predetermined message attribute condition of the smart electronic device, that is, the user of the intelligent electronic device may set the predetermined message attribute condition by itself. This embodiment can be based on the content included in the message attribute information.
  • the predetermined message attribute condition is flexibly set based on the actual requirement, and the detailed description of how to set the predetermined message attribute condition according to the content included in the message attribute information is not described here.
  • the embodiment may obtain the message content of the notification message and the message attribute information of the notification message by using the auxiliary function interface of the operating system of the intelligent electronic device, and the message content of the notification message.
  • the present embodiment performs matching search in the text information of the notification message according to a predetermined keyword in the locally stored keyword set (in the keyword)
  • the implementation may perform a matching search on the text information of the notification message for each predetermined keyword to determine whether the text information of the notification message exists in the keyword set.
  • the embodiment should continue to determine whether the acquired message attribute information satisfies the predetermined message attribute condition corresponding to the predetermined keyword included in the notification message, if the obtained message is obtained.
  • the attribute information satisfies the predetermined message attribute condition corresponding to the predetermined keyword included in the notification message, it may be determined that the notification message including the predetermined keyword is detected and the message attribute information of the notification message meets the predetermined message attribute condition; otherwise, the information is determined. Although the notification message containing the predetermined keyword is detected, the message attribute information of the notification message does not meet the predetermined message attribute condition.
  • the set keyword set includes a predetermined keyword of "train ticket”, and the predetermined message attribute condition corresponding to the predetermined keyword "train ticket” is set as: the number segment of the message sender
  • the message content and the notification message are obtained by the auxiliary function interface based on the intelligent electronic device operating system, and the notification message sending time belongs to the peak time of the ticket (such as a period of time before and after the holiday).
  • the message attribute information in the case that the message content of the notification message includes text information (if the message content of the notification message is all text information), the predetermined keyword "train ticket" is performed in the text information of the notification message.
  • the number segment of the message sender of the notification message belongs to the locally stored predetermined number segment and whether the message sending time of the notification message belongs to The ticket booking peak period (the locally stored predetermined number segment and the ticket peak period can be downloaded from the cloud server, or can be set by the user), if the message sender's number segment of the notification message belongs to the locally stored predetermined number segment and When the message is sent at the peak time of the booking, it is determined that the notification containing the "train ticket” is detected. The message and the message attribute information of the notification message satisfy the predetermined message attribute condition. Otherwise, it is determined that although the notification message including the "train ticket" is monitored, the message attribute information of the notification message does not satisfy the predetermined message attribute condition.
  • Another specific implementation manner of the foregoing third example may be that the message content of the notification message and the message attribute information of the notification message are obtained by using the auxiliary function interface of the intelligent electronic device operating system, and the message of the notification message is In the case that the content includes a picture (such as the message content of the notification message is all a picture or the message content part of the notification message is a picture), the embodiment may first perform an image recognition operation on the picture in the notification message to notify the message.
  • the picture in the image is converted into text information, and then the embodiment performs matching search in the text information obtained by the image recognition according to the predetermined keyword in the locally stored keyword set (including a plurality of different reservations in the keyword set)
  • the present embodiment may perform a matching search on the text information obtained by the image recognition for each predetermined keyword to determine whether there is a predetermined keyword in the text information obtained by the image recognition and the keyword set. Matching information obtained in the search results for image recognition In the case where the information matching the predetermined keyword in the keyword set does not exist in the text information, it is determined that the predetermined message is not included in the notification message; and the text information obtained by the image recognition is found in the text information obtained by the image recognition.
  • the embodiment should continue to determine whether the acquired message attribute information satisfies the predetermined message attribute condition corresponding to the predetermined keyword included in the notification message, if obtained If the message attribute information satisfies the predetermined message attribute condition corresponding to the predetermined keyword included in the notification message, it may be determined that the notification message including the predetermined keyword is detected and the message attribute information of the notification message meets the predetermined message attribute condition; otherwise, It is determined that although the notification message containing the predetermined keyword is detected, the message attribute information of the notification message does not meet the predetermined message attribute condition.
  • the set keyword set includes a predetermined keyword of "train ticket”, and the predetermined message attribute condition corresponding to the predetermined keyword "train ticket” is set as: the number segment of the message sender
  • the message content and the notification message are obtained by the auxiliary function interface based on the intelligent electronic device operating system, and the notification message sending time belongs to the peak time of the ticket (such as a period of time before and after the holiday).
  • the image recognition operation should be performed first on the picture in the notification message, so that the notification message is Converting the picture into text information, and then performing a matching search in the text information obtained by the image recognition according to the predetermined keyword "train ticket” to determine whether the text information obtained by the image recognition matches the "train ticket” Information, in the text information obtained by the search result for image recognition, there is no predetermined keyword When the "train ticket” matches the information, it is determined that the predetermined message "train ticket” is not included in the notification message, and the text information obtained by the search result for image recognition exists in the text message with the predetermined keyword "train ticket".
  • the matched information it is determined whether the number segment of the message sender of the notification message belongs to the local storage. Whether the predetermined number segment and the message sending time of the notification message belong to the ticket peak period (the locally stored predetermined number segment and the ticket peak period can be downloaded from the cloud server, or can be set by the user), if the message of the notification message If the sender's number segment belongs to the locally stored predetermined number segment and the message sending time belongs to the ticket peaking period, it is determined that the notification message including the "train ticket" is detected and the message attribute information of the notification message satisfies the predetermined message attribute condition. Otherwise, it is determined that although the notification message containing the "train ticket" is monitored, the message attribute information of the notification message does not satisfy the predetermined message attribute condition.
  • the notification message of the auxiliary function interface monitoring application of the smart electronic device operating system may be specifically: the message content and the notification message of the notification message of the application based on the auxiliary function interface of the intelligent electronic device operating system.
  • the application attribute information of the application and the message attribute information of the notification message are monitored, such as whether the message content of the notification message of the application function monitoring application of the intelligent electronic device operating system includes the predetermined keyword and the notification message in the keyword set. Whether the application attribute information of the belonging application and the message attribute information of the notification message meet predetermined conditions, and the predetermined application attribute condition and the predetermined message attribute condition described above may form a predetermined condition of the embodiment.
  • the specific implementation of the fourth example may be a combination of the specific implementation of the second example above and the specific implementation of the third example. The specific implementation process is not described in detail herein.
  • the processing manner of the notification message may be set for the predetermined keyword (the processing method of the predetermined keyword and the corresponding notification message may form a notification message processing rule), so that the monitoring notification message is included in the embodiment.
  • the notification message may be directly processed by using the processing manner of the notification message corresponding to the keyword included in the notification message (ie, directly processing the notification message in the corresponding notification message processing rule) The notification message is processed accordingly).
  • the embodiment may also set a processing manner of the notification message for the predetermined keyword and the corresponding predetermined application attribute condition (the predetermined keyword, the predetermined application attribute condition corresponding to the predetermined keyword, and the processing manner of the corresponding notification message may form a notification message processing. Rule), so that in the case where the monitoring notification message includes the predetermined keyword and the application attribute information of the application to which the notification message belongs meets the predetermined application attribute condition, the keyword included in the notification message and the satisfied reservation may be utilized.
  • the notification message is processed correspondingly by the processing manner of the notification message corresponding to the attribute condition (that is, the notification message is processed correspondingly by using the processing manner of the notification message in the corresponding notification message processing rule).
  • the embodiment may further set a processing manner of the notification message for the predetermined keyword and the corresponding predetermined message attribute condition (predetermined keyword, predetermined message attribute condition corresponding to the predetermined keyword, and processing method of the corresponding notification message)
  • a notification message processing rule may be formed, so that the present embodiment may use the keyword included in the notification message if the notification message includes the predetermined keyword and the message attribute information of the notification message satisfies the predetermined message attribute condition.
  • the processing manner of the notification message corresponding to the predetermined predetermined message attribute condition is processed correspondingly to the notification message (that is, the notification message is processed correspondingly by the processing manner of the notification message in the corresponding notification message processing rule).
  • the embodiment may further set a processing manner of the notification message for the predetermined keyword and the corresponding predetermined condition (including the predetermined application attribute condition and the predetermined message attribute condition) (predetermined keyword, predetermined application attribute condition corresponding to the predetermined keyword, predetermined key)
  • the predetermined message attribute condition corresponding to the word and the processing manner of the corresponding notification message may form a notification message processing rule. Therefore, in this embodiment, the monitoring notification message includes a predetermined keyword and the application attribute information of the application to which the notification message belongs meets the predetermined schedule.
  • the notification message may be processed correspondingly by using the keyword included in the notification message and the processing manner of the notification message corresponding to the satisfied predetermined condition. (ie, the notification message is processed correspondingly by the processing manner of the notification message in the corresponding notification message processing rule).
  • the corresponding processing for the notification message including the predetermined keyword in this embodiment may be an enhanced prompt processing for the notification message, such as displaying the message content of the notification message in a pop-up manner (such as displaying a pop-up window containing a red envelope).
  • Another example is to prompt the user by playing the corresponding audio signal and/or generating a vibration.
  • the corresponding processing for the notification message including the predetermined keyword may also be performed for alerting the notification message, such as displaying the warning information in a pop-up manner, and then by playing the corresponding audio signal and/or generating Vibrate to alert the user.
  • the corresponding processing for the notification message including the predetermined keyword in the embodiment may further be that, for the notification message, the application to which the notification message belongs is invoked based on the auxiliary function interface of the intelligent electronic device operating system, so that the user may be simulated.
  • the operation, for example, the notification message is opened in the application to which the notification message belongs by using the auxiliary function interface.
  • the embodiment can open the WeChat red envelope in the WeChat application through the auxiliary function interface, and the embodiment can also open the phone application through the auxiliary function interface.
  • the dialing interface simulates the user to perform the dialing operation according to the telephone number set in the notification message processing rule.
  • the notification message of the train ticket fraud can be deleted through the auxiliary function interface.
  • This embodiment does not limit the specific processing manner for performing corresponding processing on the notification message including the predetermined keyword.
  • the embodiment by monitoring whether the notification message includes the predetermined keyword, whether the application attribute information of the application to which the notification message belongs and/or the message attribute information of the notification message meets the predetermined condition, it is possible to effectively avoid the inclusion of the reservation. Mishandling of the keyword's masquerading/fraudulent notification message, such as for fake "red packets" In the case of determining that the application package name of the application to which the notification message belongs is not “com.tencent.mm”, the embodiment does not perform enhanced prompt processing on the notification message, thereby avoiding the inclusion of the notification message.
  • the embodiment determines that the sender number segment of the notification message belongs to the known In the case of the number segment of the fraudulent number, the enhanced alert processing is not performed for the notification message, thereby avoiding a false reminder for the fraudulent notification message containing the predetermined keyword of "train ticket".
  • Embodiment 2 A method for processing a notification message.
  • FIG. 2 is a flowchart of a method for processing a notification message according to an embodiment. The respective steps in Fig. 1 are described in detail below.
  • S200 Display corresponding instruction information on the user interface of the intelligent electronic device to guide the user to the auxiliary function interface of the operating system to enable the auxiliary function.
  • step S210 Determine whether the auxiliary function of the operating system is enabled. If the auxiliary function is enabled, go to step S230. Otherwise, return to step S200 to continue guiding the user to the auxiliary function interface of the operating system.
  • S220 Display corresponding description information on the user interface of the smart electronic device to guide the user to allow the notification message of the application to be monitored, that is, the user grants the authority to monitor the notification message of the application.
  • step S230 Determine whether the user grants the permission to monitor the notification message of the application. If the permission to monitor the notification message of the application is granted, go to step S240. Otherwise, return to step S220 to continue to guide the user to grant the authority to monitor the notification message of the application.
  • the operating system-based auxiliary function interface monitors the notification message of the application, such as monitoring the message content of the application notification message, and further, such as monitoring the message content of the application notification message and the application attribute information of the application to which the notification message belongs, and monitoring the application.
  • the message content of the notification message and the message attribute information of the notification message such as the message content of the notification message of the monitoring application, the application attribute information of the application to which the notification message belongs, and the message attribute information of the notification message.
  • step S260 if the monitored notification message triggers the preset notification message processing rule, the execution of the operating system-based auxiliary function is continued.
  • the interface monitors the operation of the application's notification message.
  • the foregoing notification message processing rule may specifically include: a predetermined keyword and a processing manner of the notification message.
  • the notification message processing rule in the case where the message content of the monitored notification message includes a predetermined keyword in the notification message processing rule, the notification message processing rule is triggered.
  • the notification message processing rule may specifically include: a predetermined keyword, a predetermined condition set for the application attribute information of the application to which the notification message belongs, and a processing manner of the notification message. For the notification message processing rule, if the predetermined content in the notification message processing rule is included in the message content of the monitored notification message, and the application attribute information of the application to which the monitored notification message belongs belongs to the predetermined condition, The notification message processing rule is triggered.
  • the above notification message processing rule may specifically include: a predetermined keyword, a predetermined condition set for the message attribute information of the notification message, and a processing manner of the notification message. For the notification message processing rule, if the message content of the monitored notification message includes a predetermined keyword in the notification message processing rule, and the message attribute information of the monitored notification message satisfies a predetermined condition, the The notification message processing rule is triggered.
  • the above notification message processing rule may further include: a predetermined keyword, a predetermined condition set for the application attribute information of the application to which the notification message belongs, and message attribute information of the notification message, and a processing manner of the notification message.
  • the message content of the monitored notification message includes a predetermined keyword in the notification message processing rule, and the monitored application message belongs to the application attribute information of the application and the message attribute of the notification message.
  • the notification message processing rule is triggered if the information satisfies the predetermined condition.
  • S260 Perform a corresponding processing operation on the notification message according to the notification message processing manner in the notification message processing rule triggered by the notification message, such as opening the notification message in the application to which the notification message belongs or setting up an Ali Qiandun application pop-up for the notification message. Enhanced reminder window, etc.
  • This embodiment does not limit the specific implementation manner of performing corresponding processing operations on the notification message.
  • Embodiment 3 A processing implementation device for a notification message.
  • the processing implementation device of the notification message in this embodiment is usually disposed in an intelligent electronic device, such as an intelligent electronic device based on the Android operating system. If other operating systems also provide an auxiliary function interface, the device in this embodiment may also be configured. Set up on smart electronic devices based on other operating systems.
  • the structure of the processing implementation apparatus of the notification message of this embodiment is as shown in FIGS.
  • the device in FIG. 3 mainly includes: a monitoring module 300 and a processing module 310.
  • the monitoring module 300 is mainly used to monitor the notification message of the application based on the auxiliary function interface of the intelligent electronic device operating system.
  • the monitoring module 300 mainly includes: a first monitoring sub-module 301 (shown in FIG. 4), and the monitoring module 300 further includes: a second monitoring sub-module 302 (shown in FIG. 5).
  • the first monitoring submodule 301 may include: a first locating submodule 303 and a first determining submodule 304 (as shown in FIG. 6), and the first monitoring submodule 301 may further include: an image recognizing submodule 305, and a second Finding submodule 306 and second determining submodule 307 (as shown in the figure) 7)).
  • the first monitoring sub-module 301 is mainly used to monitor whether the predetermined content in the keyword set is included in the message content of the notification message of the application based on the auxiliary function interface of the intelligent electronic device operating system.
  • the second monitoring sub-module 302 is mainly configured to monitor, according to the auxiliary function interface of the intelligent electronic device operating system, whether the application attribute information of the application to which the notification message belongs and/or the message attribute information of the notification message meets a predetermined condition.
  • the first search sub-module 303 is mainly used to find whether the text information in the message content of the notification message contains a predetermined keyword in the keyword set.
  • the first determining sub-module 304 is mainly configured to determine, when the search result is that the text information in the message content includes a predetermined keyword, to monitor the notification message including the predetermined keyword.
  • the image recognition sub-module 305 is mainly used for image recognition of a picture in a message content of a notification message.
  • the second search sub-module 306 is mainly used to find whether the image recognition result includes a predetermined keyword in the keyword set.
  • the second determining sub-module 307 is mainly configured to determine that the notification message including the predetermined keyword is detected when the search result includes the predetermined keyword as the image recognition result.
  • the processing implementation device (such as the setting module) of the notification message should first execute the operating system of the intelligent electronic device.
  • the provided auxiliary function is enabled, for example, the setting module gradually controls the intelligent electronic device user to enable the intelligent electronic device user to set the auxiliary function provided by the intelligent electronic device operating system to the on state.
  • the notification message of the application monitored by the monitoring module 300 through the auxiliary function interface of the intelligent electronic device operating system may be a notification message of the system application or a notification message of the third-party application.
  • the notification message of the above system application may be a notification message of a short message application, such as a notification message generated by the short message application when a new short message is received.
  • the notification message of the third-party application may be a notification message of the instant messaging application, such as a notification message generated by the WeChat application when receiving the new information, and the notification message of the third-party application may also be a notification of pushing the new information by the application client.
  • a message such as a Sohu video client or a Tencent news application client, that wishes to push new video/news information to the user.
  • the first monitoring sub-module 301 can monitor whether the predetermined content in the keyword set is included in the message content of the notification message of the application based on the auxiliary function interface of the intelligent electronic device operating system.
  • the keyword set in this embodiment usually includes a predetermined keyword or a plurality of different predetermined keywords, and the predetermined keyword in the keyword set of the embodiment may be the first monitoring submodule 301 from the cloud server. Downloaded predetermined keywords (such as updating the set of keywords stored locally by the smart electronic device from the cloud server at regular or irregular times), It can also be a predetermined keyword that is customized by the smart electronic device, that is, the first monitoring sub-module 301 stores the predetermined keyword of the user of the smart electronic device in the keyword set.
  • a specific implementation manner of the foregoing first example is that the first monitoring submodule 301 can obtain the message content of the notification message by using an auxiliary function interface of the intelligent electronic device operating system, where the message content of the notification message includes text information ( If the content of the message of the notification message is all text information, the first search sub-module 303 can perform a matching search in the text information of the notification message according to a predetermined keyword in the locally stored keyword set (in the keyword) When the plurality of different predetermined keywords are included in the set, the first search sub-module 303 may perform a matching search on the text information of the notification message for each predetermined keyword to determine whether the text information of the notification message exists.
  • the information matching the predetermined keyword in the keyword set when the first search sub-module 303 searches for the information that is the result of the notification message, and the information that matches the predetermined keyword in the keyword set, the first determiner The module 304 determines that the notification message containing the predetermined keyword is detected, otherwise, the first determination The sub-module 304 determines that the predetermined message is not included in the notification message.
  • the first monitoring submodule 301 may obtain the message content of the notification message by using an auxiliary function interface of the intelligent electronic device operating system, where the message content of the notification message includes an image.
  • the image recognition sub-module 305 may first perform an image recognition operation on the picture in the notification message to The picture is converted into text information, and then the second search sub-module 306 performs a matching search in the text information obtained by the image recognition according to the predetermined keyword in the locally stored keyword set (including a plurality of different in the keyword set)
  • the second search sub-module 306 may perform a matching search on the text information obtained by the image recognition for each predetermined keyword to determine whether the text information obtained by the image recognition exists in the keyword set.
  • the information of the predetermined keyword matches, in the second lookup sub-module 306
  • the second determining module 307 determines that the notification message including the predetermined keyword is detected, otherwise, the second determination Module 307 determines that the predetermined message is not included in the notification message.
  • the first monitoring sub-module 301 and the second monitoring sub-module 302 monitor the message content of the notification message of the application and the application attribute information of the application to which the notification message belongs based on the auxiliary function interface of the intelligent electronic device operating system, such as
  • the first monitoring sub-module 301 monitors whether the message content of the notification message of the application includes a predetermined keyword in the keyword set and the application of the second monitoring sub-module 302 to monitor the application to which the notification message belongs based on the auxiliary function interface of the intelligent electronic device operating system. Whether the attribute information meets a predetermined condition (this predetermined condition may be referred to as a predetermined application attribute condition).
  • the application attribute information in this embodiment may include: an application package name, an application name, The type of application (such as a system application or a third-party application), the space occupied by the application after installation, and any one or more of the memory occupied by the application after startup.
  • the predetermined application attribute condition in the embodiment is generally set in combination with a predetermined keyword, and generally, a predetermined application attribute condition may be correspondingly set for a predetermined keyword.
  • the embodiment does not exclude The case where a plurality of predetermined application attribute conditions are correspondingly set for one predetermined keyword; in addition, the predetermined application attribute condition of the embodiment may be a predetermined application attribute condition (such as timing or non-timed) that the second monitoring sub-module 302 downloads from the cloud server.
  • Updating the predetermined application attribute condition of the smart electronic device from the cloud server), or the predetermined application attribute condition customized by the smart electronic device, that is, the second monitoring sub-module 302 allows the user of the intelligent electronic device to set the predetermined application attribute condition by itself. .
  • the specific operations performed by the second monitoring sub-module 302 are as follows: two specific implementations for the second example, two specific implementations of the third and third examples, and a fourth example in the first embodiment. The description is not described in detail here.
  • the processing module 310 is mainly configured to perform corresponding processing on the notification message including the predetermined keyword according to the processing manner corresponding to the predetermined keyword, in the case that the monitoring module 300 monitors the notification message including the predetermined keyword.
  • the processing module 310 mainly includes any one or more of the first processing sub-module 311, the second processing sub-module 312, and the third processing sub-module 313 (as shown in FIG. 8).
  • the processing module 310 may also include: an enhanced prompt sub-module 314, an early warning prompt sub-module 315, and a call sub-module 316 (shown in FIG. 9).
  • the first processing sub-module 311, the second processing sub-module 312, and the third processing sub-module 313 each include an enhanced prompting sub-module 314, an early warning prompting sub-module 315, and a calling sub-module 316.
  • the first processing sub-module 311 is mainly configured to: when the monitoring notification message includes the predetermined keyword and the application attribute information satisfies the predetermined condition, the processing method corresponding to the predetermined keyword and the predetermined condition is for the predetermined keyword The notification message is processed accordingly.
  • the second processing sub-module 312 is mainly configured to: when the monitoring notification message includes a predetermined keyword and the message attribute information of the notification message satisfies a predetermined condition, the processing method corresponding to the predetermined keyword and the predetermined condition is included for the predetermined The notification message of the keyword is processed accordingly.
  • the third processing sub-module 313 is mainly configured to: when the monitoring notification message includes the predetermined keyword and the application attribute information and the message attribute information satisfy the predetermined condition, the processing method corresponding to the predetermined keyword and the predetermined condition is included The notification message of the predetermined keyword is processed accordingly.
  • the enhanced prompt sub-module 314 is mainly used for performing enhanced prompt processing on the notification message.
  • the early warning prompt sub-module 315 is mainly used for performing an alert prompt processing for the notification message.
  • the calling sub-module 316 is mainly used to invoke an application to which the notification message belongs based on the auxiliary function interface of the intelligent electronic device operating system for the notification message.
  • the processing module 310 may set a processing manner of the notification message for the predetermined keyword (the predetermined keyword and the processing manner of the corresponding notification message may form a notification message processing rule), so that the processing module 310 monitors the notification message in the monitoring module 300.
  • the notification message may be directly processed by using the processing manner of the notification message corresponding to the keyword included in the notification message (ie, the processing module 310 directly utilizes the corresponding notification message processing rule.
  • the notification message is processed in a manner corresponding to the notification message).
  • the processing module 310 may also set a processing manner of the notification message for the predetermined keyword and the corresponding predetermined application attribute condition (the predetermined keyword, the predetermined application attribute condition corresponding to the predetermined keyword, and the processing manner of the corresponding notification message may form a notification message processing. a rule), so that the first processing sub-module 311 can use the key included in the notification message if the monitoring module 300 detects that the predetermined message is included in the notification message and the application attribute information of the application to which the notification message belongs meets the predetermined application attribute condition.
  • the processing manner of the notification message corresponding to the word and the predetermined predetermined application attribute condition is processed correspondingly to the notification message (ie, the first processing sub-module 311 processes the notification message by using the processing manner of the notification message in the corresponding notification message processing rule. Carry out the corresponding processing).
  • the processing module 310 may further set a processing manner of the notification message for the predetermined keyword and the corresponding predetermined message attribute condition (the predetermined keyword, the predetermined message attribute condition corresponding to the predetermined keyword, and the processing manner of the corresponding notification message may form a notification message processing. a rule), so that the second processing sub-module 312 can use the keyword included in the notification message if the monitoring module 300 detects that the notification message includes a predetermined keyword and the message attribute information of the notification message satisfies the predetermined message attribute condition.
  • the processing manner of the notification message corresponding to the predetermined predetermined message attribute condition is processed correspondingly to the notification message (that is, the notification message is processed correspondingly by the processing manner of the notification message in the corresponding notification message processing rule).
  • the processing module 310 may further set a processing manner of the notification message for the predetermined keyword and the corresponding predetermined condition (including the predetermined application attribute condition and the predetermined message attribute condition) (a predetermined keyword, a predetermined application attribute condition corresponding to the predetermined keyword)
  • the predetermined message attribute condition corresponding to the predetermined keyword and the processing manner of the corresponding notification message may form a notification message processing rule, so that the third processing sub-module 313 monitors the notification message in the monitoring module 300 to include the predetermined keyword and notify If the application attribute information of the application to which the message belongs meets the predetermined application attribute condition and the message attribute information of the notification message satisfies the predetermined message attribute condition, the keyword included in the notification message and the notification message corresponding to the predetermined predetermined condition may be utilized.
  • the processing manner performs corresponding processing on the notification message (ie, the third processing sub-module 313 utilizes the notification message in the corresponding notification message processing rule
  • the processing method performs corresponding processing on the notification message).
  • the corresponding processing in the processing module 310 for the notification message including the predetermined keyword may be performed by the enhanced prompting sub-module 314 for the enhanced message processing of the notification message, for example, the enhanced prompting sub-module 314 displays the message content of the notification message in a pop-up manner ( If the enhanced prompt sub-module 314 displays a pop-up window containing a red envelope, the enhanced prompt sub-module 314 prompts the user by playing a corresponding audio signal and/or generating a shock.
  • the processing of the notification message in the processing module 310 for the notification message including the predetermined keyword may also be performed by the warning prompting sub-module 315 for the warning message, for example, the warning prompting sub-module 315 displays the warning information in a pop-up manner, and then The alert prompt sub-module 315 alerts the user by playing a corresponding audio signal and/or generating a shock.
  • the corresponding processing in the processing module 310 for the notification message including the predetermined keyword may also be that the calling sub-module 316 invokes the application to which the notification message belongs based on the auxiliary function interface of the intelligent electronic device operating system for the notification message, so that the application module 310 can simulate The operation performed by the user, such as the calling sub-module 316, opens the notification message in the application to which the notification message belongs through the auxiliary function interface.
  • the calling sub-module 316 can open the WeChat red envelope in the WeChat application through the auxiliary function interface, and invoke the sub-module 316.
  • the dialing interface of the phone application can also be opened through the auxiliary function interface, and even the calling submodule 316 simulates the user to perform a dialing operation according to the telephone number set in the notification message processing rule, and the calling submodule 316 can also delete the notification of the train ticket fraud through the auxiliary function interface. News and more.
  • This embodiment does not limit the specific processing manner in which the calling submodule 316 performs corresponding processing on the notification message including the predetermined keyword.
  • a part of the present invention can be applied as a computer program product, such as a computer program instruction, which can be called by an operation of the intelligent electronic device when it is executed by an intelligent electronic device (such as a smart mobile phone or a tablet computer). Or a method and/or solution according to the invention may be provided.
  • the program instructions for invoking the method of the present invention may be stored in a fixed or removable recording medium and/or transmitted by a data stream in a broadcast or other signal bearing medium, and/or stored in a The program instructions run in the working memory of the intelligent electronic device.
  • an embodiment in accordance with the present invention includes a device including a memory for storing computer program instructions and a processor for executing program instructions, wherein when the computer program instructions are executed by the processor, triggering
  • the apparatus operates based on the aforementioned methods and/or technical solutions in accordance with various embodiments of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computational Linguistics (AREA)
  • Multimedia (AREA)
  • Library & Information Science (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)
  • Debugging And Monitoring (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephone Function (AREA)

Abstract

一种通知消息的处理方法和装置,所述方法包括:基于智能电子设备操作系统的辅助功能接口监测应用的通知消息(S100);在监测到包含有预定关键词的通知消息的情况下,根据所述预定关键词所对应的处理方式针对所述包含有预定关键词的通知消息进行相应的处理(S110)。所述方法能够对不同的通知消息进行不同的处理,在丰富了通知消息的处理方式的同时,还可以避免部分通知消息对用户的打扰,提高了通知消息的智能化处理程度。

Description

通知消息的处理方法和装置
本申请要求2016年01月05日递交的申请号为201610006150.2、发明名称为“通知消息的处理方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及互联网技术领域,尤其涉及一种通知消息的处理方法以及通知消息的处理装置。
背景技术
随着互联网技术尤其是移动互联网技术的迅猛发展,智能电子设备尤其是智能移动电话的普及程度日渐提高,且针对智能电子设备尤其是智能移动电话而提供的应用的种类也日渐丰富。
在智能电子设备中的应用接收到新信息或者应用中的某个提醒事件被触发等情况下,应用通常会产生通知消息,并针对该通知消息执行相应的通知操作,以便于提示用户及时查看新信息或者提示用户关注预先安排好的事情等;一个具体的例子,在微信有新信息时,微信会将针对该新信息的通知消息展示在操作系统的通知栏或者锁屏界面处,并通过声音或者震动等方式提示用户查看新信息;另一个具体的例子,在当前时间满足日历应用中的提醒事件所对应的时间时,日历应用中的该提醒事件被触发,日历应用会将描述该提醒事件的通知消息显示在锁屏界面或者智能电子设备的首页,并通过声音或者震动等方式提示用户关注该提醒事件。
发明人在实现本发明过程中发现,虽然应用的种类以及应用的数量在不断的丰富,然而,不同应用的通知消息的处理方式却大致相同,即现有的通知消息的处理方式较单一。
发明内容
本发明的目的是提供一种通知消息的处理方法和装置。
根据本发明的一个方面,提供一种通知消息的处理方法,其中,该方法包括以下步骤:基于智能电子设备操作系统的辅助功能接口监测应用的通知消息;在监测到包含有预定关键词的通知消息的情况下,根据所述预定关键词所对应的处理方式针对所述包含 有预定关键词的通知消息进行相应的处理。
根据本发明的另一个方面,还提供了一种通知消息的处理装置,其中,该装置包括:监测模块,用于基于智能电子设备操作系统的辅助功能接口监测应用的通知消息;处理模块,用于在监测到包含有预定关键词的通知消息的情况下,根据所述预定关键词所对应的处理方式针对所述包含有预定关键词的通知消息进行相应的处理。
与现有技术相比,本发明具有以下优点:本发明通过利用基于智能电子设备操作系统的辅助功能接口来监测应用的通知消息,可以在不打扰操作系统正常运作的情况下,方便快捷准确的获取到应用的通知消息;通过监测通知消息中是否包含有预定关键词,且基于各预定关键词预先设置相应的处理方式,这样,本发明在监测到的包含有预定关键词的通知消息时,可以利用该通知消息中所包含的预定关键词确定出该通知消息的处理方式,从而使本发明可以对包含有预定关键词的通知消息进行相应的处理,进而可以使不同的通知消息对应不同的处理方式,如针对通知消息进行增强提示处理或者警示提示处理或者与通知消息所属的应用进行信息交互等。由此可知,本发明提供的技术方案能够对不同的通知消息进行不同的处理,在丰富了通知消息的处理方式的同时,还可以避免部分通知消息对用户的打扰,提高了通知消息的智能化处理程度。
附图说明
通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本发明的其它特征、目的和优点将会变得更明显:
图1为本发明实施例一的通知消息的处理方法流程图;
图2为本发明实施例二的通知消息的处理方法流程图;
图3为本发明实施例三的通知消息的处理装置结构示意图;
图4为本发明实施例三的监测模块的一种结构示意图;
图5为本发明实施例三的监测模块的另一种结构示意图;
图6为本发明实施例三的第一监测子模块的一种结构示意图;
图7为本发明实施例三的第一监测子模块的另一种结构示意图;
图8为本发明实施例三的处理模块的一种结构示意图;
图9为本发明实施例三的处理模块的另一种结构示意图。
附图中相同或相似的附图标记代表相同或相似的部件。
具体实施方式
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明的实施例作详细描述。
在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然本发明的流程图将各项操作描述成顺序的处理,但是,其中的许多操作可以被并行地、并发地或者同时实施。此外,各项操作的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。
所述智能电子设备包括用户设备与网络设备。其中,所述用户设备包括但不限于电脑、智能移动电话以及PDA等;所述网络设备包括但不限于单个网络服务器、多个网络服务器组成的服务器组或者基于云计算(Cloud Computing)的由大量计算机或者网络服务器构成的云,其中,云计算是分布式计算的一种,由一群松散耦合的计算机集组成的一个超级虚拟计算机。其中,所述智能电子设备可以接入网络并与网络中的其他智能电子设备进行信息交互操作。其中,所述智能电子设备所能够接入的网络包括但不限于互联网、广域网、城域网、局域网、VPN网络等。
需要说明的是,所述用户设备、网络设备以及网络等仅为举例,其他现有的或今后可能出现的智能电子设备或者网络如可适用于本申请,也应包含在本申请保护范围以内,并以引用方式包含于此。
后面描述所讨论的方法(其中一些通过流程图示出)实施例可以通过硬件、软件、固件、中间件、微代码、硬件描述语言或者其任意组合的形式来实施。当用软件、固件、中间件或者微代码来实施时,用以实施必要任务的程序代码或者代码段可以被存储在机器或计算机可读介质(比如存储介质)中。(一个或多个)处理器可以实施必要的任务。
这里所公开的具体结构和功能细节仅仅是代表性的,并且是用于描述本申请的示例性实施例的目的,但是,本申请可以通过许多替换形式来具体实现,并且不应当被解释成仅仅受限于这里所阐述的实施例。
应当理解的是,虽然在这里可能使用了术语“第一”、“第二”等等来描述各个单元,但是这些单元不应当受这些术语限制。使用这些术语仅仅是为了将一个单元与另一个单元进行区分。举例来说,在不背离示例性实施例的范围的情况下,第一单元可以被称为第二单元,并且类似地第二单元可以被称为第一单元。这里所使用的术语“和/或”包括其中一个或更多所列出的相关联项目的任意和所有组合。
应当理解的是,当一个单元被称为“连接”或者“耦合”到另一个单元时,其可以直接连接或者耦合到所述另一个单元,也可以存在中间单元。与此相对的,当一个单元被称为“直接连接”或者“直接耦合”到另一个单元时,则不存在中间单元。应当按照类似的方式来解释被用于描述单元之间的关系的其他词语(例如,“处于...之间”相比于“直接处于...之间”,“与...邻近”相比于“与...直接邻近”等等)。
这里所使用的术语仅仅是为了描述具体实施例,而不是意图限制示例性实施例。除非上下文中明确地另有所指,否则,这里所使用的单数形式“一个”、“一项”还意图包括复数。还应当理解的是,这里所使用的术语“包括”和/或“包含”规定了所陈述的特征、整数、步骤、操作、单元和/或组件的存在,而不排除存在或者添加一个或更多的其他特征、整数、步骤、操作、单元、组件和/或其组合。
还应当提到的是,在一些替换实现方式中,所提到的功能/动作可以按照不同于附图中标示的顺序发生。举例来说,取决于所涉及的功能/动作,相继示出的两幅图实际上可以基本上同时执行或者有时可以按照相反的顺序来执行。
下面结合附图对本申请的技术方案作进一步详细描述。
实施例一、通知消息的处理方法。
图1为本实施例的通知消息的处理方法流程图。如图1所示,本实施例的方法主要包括:步骤S100以及步骤S110。本实施例所记载的方法通常是在智能电子设备中被执行的,优选的,本实施例所记载的方法通常是在智能移动电话以及平板电脑等智能电子移动设备(即用户移动设备)中执行,如本实施例所记载的方法可以设置于智能电子设备所安装的应用(如阿里钱盾应用)中,从而在应用被启动后,本实施例所记载的方法得以执行。
下面对图1中的各步骤分别进行详细描述。
S100、基于智能电子设备操作系统的辅助功能接口监测应用的通知消息。
具体的,本实施例中的智能电子设备操作系统的辅助功能原本用于使用户(如部分残障用户,具体可以为视力有障碍的用户等)可以无障碍的使用其智能电子设备,例如操作系统的辅助功能可以具体为朗读智能电子设备的用户界面中的文字,也可以具体为放大智能电子设备的用户界面中的文字等等。智能电子设备操作系统通常对外提供开放式的辅助功能接口,本实施例是基于辅助功能接口来实现应用的通知消息的监测的。
作为示例,本实施例中的智能电子设备通常为基于Android(安卓)操作系统的智能电子设备,如果其他操作系统也提供辅助功能接口,则本实施例的智能电子设备也可以 为基于其他操作系统的智能电子设备。
作为示例,本实施例在实施过程中,如果智能电子设备的操作系统所提供的辅助功能没有处于开启状态,则应先执行将智能电子设备的操作系统所提供的辅助功能开启的操作,如通过逐步的引导智能电子设备用户,使智能电子设备用户将智能电子设备操作系统所提供的辅助功能设置为开启状态。
作为示例,本实施例通过智能电子设备操作系统的辅助功能接口所监测的应用的通知消息可以为系统应用的通知消息,也可以为第三方应用的通知消息。本实施例中的系统应用的通知消息可以为短消息应用的通知消息,如短消息应用在接收到新的短消息时而产生的通知消息。本实施例中的第三方应用的通知消息可以为即时通讯应用的通知消息,如微信应用在接收到新的信息时而产生的通知消息等,本实施例中的第三方应用的通知消息也可以为应用客户端的推送新信息的通知消息,如搜狐视频客户端或者腾讯新闻应用客户端等希望向用户推送新视频/新闻的信息时而产生的通知消息。
作为第一个示例,本实施例的基于智能电子设备操作系统的辅助功能接口监测应用的通知消息可以具体为:基于智能电子设备操作系统的辅助功能接口对应用的通知消息的消息内容进行监测,如基于智能电子设备操作系统的辅助功能接口监测应用的通知消息的消息内容中是否包含有关键词集合中的预定关键词。本实施例中的关键词集合中通常包含有一个预定关键词或者多个不同的预定关键词,且本实施例的关键词集合中的预定关键词可以是从云服务器处下载的预定关键词(如定时或者不定时的从云服务器处更新智能电子设备本地存储的关键词集合),也可以是智能电子设备自定义的预定关键词,即智能电子设备的用户自行设置预定关键词也可以存储于关键词集合中。
上述第一个示例的一个具体实现方式为:本实施例可以通过基于智能电子设备操作系统的辅助功能接口获取到通知消息的消息内容,在该通知消息的消息内容包含有文本信息(如该通知消息的消息内容全部为文本信息)的情况下,本实施例可以根据本地存储的关键词集合中的预定关键词在该通知消息的文本信息中进行匹配查找(在关键词集合中包括多个不同的预定关键词时,可以针对每一个预定关键词分别在该通知消息的文本信息中进行匹配查找),以判断该通知消息的文本信息中是否存在与关键词集合中的预定关键词相匹配的信息,在查找结果为通知消息的文本信息中存在与关键词集合中的预定关键词相匹配的信息时,确定出监测到包含有预定关键词的通知消息,否则,确定出该通知消息中没有包含有预定关键词。一个更为具体的例子,设定关键词集合中包含有“红包”这一预定关键词,本实施例在通过基于智能电子设备操作系统的辅助功能接 口获取到通知消息后,在该通知消息的消息内容包含有文本信息的情况下,根据预定关键词“红包”在该通知消息的文本信息中进行匹配查找,以判断该通知消息的文本信息中是否存在与“红包”相匹配的信息,在查找结果为通知消息的文本信息中存在与预定关键词“红包”相匹配的信息时,确定出监测到包含有预定关键词“红包”的通知消息,否则,确定出该通知消息中没有包含有预定关键词“红包”。
上述第一个示例的另一个具体实现方式可以为:本实施例可以通过基于智能电子设备操作系统的辅助功能接口获取到通知消息的消息内容,在该通知消息的消息内容包含有图片(如该通知消息的消息内容全部为图片或者该通知消息的消息内容部分为图片)的情况下,本实施例可以首先针对通知消息中的图片执行图像识别操作,以将通知消息中的图片转换为文本信息,然后,本实施例再根据本地存储的关键词集合中的预定关键词在图像识别所获得的文本信息中进行匹配查找(在关键词集合中包括多个不同的预定关键词时,本实施例可以针对每一个预定关键词分别在图像识别所获得的文本信息中进行匹配查找),以判断图像识别所获得的文本信息中是否存在与关键词集合中的预定关键词相匹配的信息,在查找结果为图像识别所获得的文本信息中存在与关键词集合中的预定关键词相匹配的信息时,确定出监测到包含有预定关键词的通知消息,否则,确定出该通知消息中没有包含有预定关键词。一个更为具体的例子,设定关键词集合中包含有“红包”这一预定关键词,本实施例在通过基于智能电子设备操作系统的辅助功能接口获取到通知消息的消息内容后,在该通知消息的消息内容包含有图片(即该通知消息的消息内容全部为图片或者该通知消息的消息内容部分为图片)的情况下,应首先针对该通知消息中的图片执行图像识别操作,以将通知消息中的图片转换为文本信息,然后,根据预定关键词“红包”在图像识别所获得的文本信息中进行匹配查找,以判断图像识别所获得的文本信息中是否存在与“红包”相匹配的信息,在查找结果为图像识别所获得的文本信息中存在与“红包”相匹配的信息时,确定出监测到包含有“红包”的通知消息,否则,确定出该通知消息中没有包含有“红包”。
需要说明的是,在本实施例通过基于智能电子设备操作系统的辅助功能接口获取到通知消息,且该通知消息的消息内容既包含有文本信息,又包含有图片的情况下,本实施例可以仅针对通知消息中的文本信息进行是否包含有预定关键词的判断,也可以仅针对通知消息中的图片进行是否包含有预定关键词的判断,还可以既针对通知消息中的文本信息进行是否包含有预定关键词的判断又针对通知消息中的图片进行是否包含有预定关键词的判断,具体过程不再详细描述。下述第二个示例、第三个示例以及第四个示例 也是如此,在本实施例中同样不再逐一详细说明。
作为第二个示例,本实施例的基于智能电子设备操作系统的辅助功能接口监测应用的通知消息可以具体为:基于智能电子设备操作系统的辅助功能接口对应用的通知消息的消息内容以及通知消息所属应用的应用属性信息进行监测,如基于智能电子设备操作系统的辅助功能接口监测应用的通知消息的消息内容中是否包含有关键词集合中的预定关键词以及通知消息所属应用的应用属性信息是否符合预定条件(该预定条件可以称为预定应用属性条件)。本实施例中的应用属性信息可以包括:应用包名称、应用名称、应用类型(如系统应用或者第三方应用)、应用安装后占用的空间以及应用启动后占用的内存中的任意一项或者多项。本实施例中的预定应用属性条件通常是结合预定关键词而设置的,且通常情况下,针对一个预定关键词可以对应设置一个预定应用属性条件,然而,在实际应用中本实施例并不排除针对一个预定关键词对应设置多个预定应用属性条件的情况;另外,本实施例的预定应用属性条件可以是从云服务器处下载的预定应用属性条件(如定时或者不定时的从云服务器处更新智能电子设备本地的预定应用属性条件),也可以是智能电子设备自定义的预定应用属性条件,即智能电子设备的用户可以自行设置预定应用属性条件。本实施例可以根据应用属性信息所包含的内容基于实际需求灵活的设置预定应用属性条件,在此不再针对根据应用属性信息所包含的内容如何设置预定应用属性条件进行逐一详细的例举说明。
上述第二个示例的一个具体实现方式为:本实施例可以通过基于智能电子设备操作系统的辅助功能接口获取到通知消息的消息内容以及该通知消息所属应用的应用属性信息,在该通知消息的消息内容包含有文本信息(如通知消息的消息内容全部为文本信息)的情况下,本实施例根据本地存储的关键词集合中的预定关键词在该通知消息的文本信息中进行匹配查找(在关键词集合中包括多个不同的预定关键词时,本实施可以针对每一个预定关键词分别在该通知消息的文本信息中进行匹配查找),以判断该通知消息的文本信息中是否存在与关键词集合中的预定关键词相匹配的信息,在查找结果为通知消息的文本信息中不存在与关键词集合中的预定关键词相匹配的信息的情况下,确定出该通知消息中没有包含有预定关键词;而在查找结果为通知消息的文本信息中存在与关键词集合中的预定关键词相匹配的信息的情况下,本实施例应继续判断上述获取到的应用属性信息是否满足通知消息包含的预定关键词所对应的预定应用属性条件,如果获取到的应用属性信息满足通知消息包含的预定关键词所对应的预定应用属性条件,则可以确定出监测到包含有预定关键词的通知消息且该通知消息所属应用的应用属性信息符合预 定应用属性条件,否则,确定出虽然监测到包含有预定关键词的通知消息但是该通知消息所属应用的应用属性信息不符合预定应用属性条件。一个更为具体的例子,设定关键词集合中包含有“红包”这一预定关键词,且设定预定关键词“红包”所对应的预定应用属性条件为:应用包名称为“com.tencent.mm”(即微信官方规定的微信包名称),本实施例在通过基于智能电子设备操作系统的辅助功能接口获取到通知消息的消息内容以及通知消息所属应用的应用属性信息后,在该通知消息的消息内容包含有文本信息(如该通知消息的消息内容全部为文本信息)的情况下,根据预定关键词“红包”在该通知消息的文本信息中进行匹配查找,以判断该通知消息的文本信息中是否存在与“红包”相匹配的信息,在查找结果为通知消息的文本信息中不存在与预定关键词“红包”相匹配的信息时,确定出该通知消息中没有包含有预定关键词“红包”,而在查找结果为通知消息的文本信息中存在与预定关键词“红包”相匹配的信息时,则继续判断该通知消息所属应用的应用包名称是否为“com.tencent.mm”,如果该通知消息所属应用的应用包名称为“com.tencent.mm”,则确定出监测到包含有“红包”的通知消息且该通知消息所属应用的应用属性信息满足预定应用属性条件,否则,确定出虽然监测到包含有“红包”的通知消息但是该通知消息所属应用的应用属性信息不满足预定应用属性条件。
上述第二个示例的另一个具体实现方式可以为,本实施例可以通过基于智能电子设备操作系统的辅助功能接口获取到通知消息的消息内容以及该通知消息所属应用的应用属性信息,在该通知消息的消息内容包含有图片(如该通知消息的消息内容全部为图片或者该通知消息的消息内容部分为图片)的情况下,本实施例可以首先针对通知消息中的图片执行图像识别操作,以将通知消息中的图片转换为文本信息,然后,本实施例再根据本地存储的关键词集合中的预定关键词在图像识别所获得的文本信息中进行匹配查找(在关键词集合中包括多个不同的预定关键词时,本实施例可以针对每一个预定关键词分别在图像识别所获得的文本信息中进行匹配查找),以判断图像识别所获得的文本信息中是否存在与关键词集合中的预定关键词相匹配的信息,在查找结果为图像识别所获得的文本信息中不存在与关键词集合中的预定关键词相匹配的信息的情况下,确定出该通知消息中没有包含有预定关键词;而在查找结果为图像识别所获得的文本信息中存在与关键词集合中的预定关键词相匹配的信息的情况下,本实施例应继续判断上述获取到的应用属性信息是否满足通知消息包含的预定关键词所对应的预定应用属性条件,如果获取到的应用属性信息满足通知消息包含的预定关键词所对应的预定应用属性条件,则可以确定出监测到包含有预定关键词的通知消息且该通知消息所属应用的应用属性信 息符合预定应用属性条件,否则,确定出虽然监测到包含有预定关键词的通知消息但是该通知消息所属应用的应用属性信息不符合预定应用属性条件。一个更为具体的例子,设定关键词集合中包含有“红包”这一预定关键词,且设定预定关键词“红包”所对应的预定应用属性条件为:应用包名称为“com.tencent.mm”(即微信官方规定的微信包名称),本实施例在通过基于智能电子设备操作系统的辅助功能接口获取到通知消息的消息内容以及通知消息所属应用的应用属性信息后,在该通知消息的消息内容包含有图片(如该通知消息的消息内容全部为图片)的情况下,应首先针对该通知消息中的图片执行图像识别操作,以将通知消息中的图片转换为文本信息,然后,根据本地存储的预定关键词“红包”在图像识别所获得的文本信息中进行匹配查找,以判断图像识别所获得的文本信息中是否存在与“红包”相匹配的信息,在查找结果为图像识别所获得的文本信息中不存在与预定关键词“红包”相匹配的信息时,确定出该通知消息中没有包含有预定关键词“红包”,而在查找结果为图像识别所获得的文本信息中存在与预定关键词“红包”相匹配的信息时,则继续判断该通知消息所属应用的应用包名称是否为“com.tencent.mm”,如果该通知消息所属应用的应用包名称为“com.tencent.mm”,则确定出监测到包含有“红包”的通知消息且该通知消息所属应用的应用属性信息满足预定应用属性条件,否则,确定出虽然监测到包含有“红包”的通知消息但是该通知消息所属应用的应用属性信息不满足预定应用属性条件。
作为第三个示例,本实施例的基于智能电子设备操作系统的辅助功能接口监测应用的通知消息可以具体为:基于智能电子设备操作系统的辅助功能接口对应用的通知消息的消息内容和通知消息的消息属性信息进行监测,如基于智能电子设备操作系统的辅助功能接口监测应用的通知消息的消息内容中是否包含有关键词集合中的预定关键词以及通知消息的消息属性信息是否符合预定条件(该预定条件可以称为预定消息属性条件)。本实施例中的消息属性信息可以包括:消息时间(如消息发送时间或者消息接收时间等)以及消息发送方信息中的任意一项或者两项。本实施例中的预定消息属性条件通常是结合预定关键词而设置的,且通常情况下,针对一个预定关键词可以对应设置一个预定消息属性条件,然而,在实际应用中本实施例并不排除针对一个预定关键词对应设置多个预定消息属性条件的情况;另外,本实施例的预定消息属性条件可以是从云服务器处下载的预定消息属性条件(如定时或不定时的从云服务器处更新智能电子设备本地的预定消息属性条件),也可以是智能电子设备自定义的预定消息属性条件,即智能电子设备的用户可以自行设置预定消息属性条件。本实施例可以根据消息属性信息所包含的内容 基于实际需求灵活的设置预定消息属性条件,在此不再针对根据消息属性信息所包含的内容如何设置预定消息属性条件进行逐一详细的例举说明。
上述第三个示例的一个具体实现方式为:本实施例可以通过基于智能电子设备操作系统的辅助功能接口获取到通知消息的消息内容以及该通知消息的消息属性信息,在该通知消息的消息内容包含有文本信息(如通知消息的消息内容全部为文本信息)的情况下,本实施例根据本地存储的关键词集合中的预定关键词在该通知消息的文本信息中进行匹配查找(在关键词集合中包括多个不同的预定关键词时,本实施可以针对每一个预定关键词分别在该通知消息的文本信息中进行匹配查找),以判断通知消息的文本信息中是否存在与关键词集合中的预定关键词相匹配的信息,在查找结果为通知消息的文本信息中不存在与关键词集合中的预定关键词相匹配的信息的情况下,确定出该通知消息中没有包含有预定关键词;而在查找结果为通知消息的文本信息中存在与关键词集合中的预定关键词相匹配的信息的情况下,本实施例应继续判断上述获取到的消息属性信息是否满足通知消息包含的预定关键词所对应的预定消息属性条件,如果获取到的消息属性信息满足通知消息包含的预定关键词所对应的预定消息属性条件,则可以确定出监测到包含有预定关键词的通知消息且该通知消息的消息属性信息符合预定消息属性条件,否则,确定出虽然监测到包含有预定关键词的通知消息但是该通知消息的消息属性信息不符合预定消息属性条件。一个更为具体的例子,设定关键词集合中包含有“火车票”这一预定关键词,且设定预定关键词“火车票”所对应的预定消息属性条件为:消息发送方的号段属于预定号段且通知消息发送时间属于订票高峰时段(如节假日前后的一段时日),本实施例在通过基于智能电子设备操作系统的辅助功能接口获取到通知消息的消息内容以及通知消息的消息属性信息后,在该通知消息的消息内容包含有文本信息(如该通知消息的消息内容全部为文本信息)的情况下,根据预定关键词“火车票”在该通知消息的文本信息中进行匹配查找,以判断该通知消息的文本信息中是否存在与“火车票”相匹配的信息,在查找结果为通知消息的文本信息中不存在与预定关键词“火车票”相匹配的信息时,确定出该通知消息中没有包含有预定关键词“火车票”,而在查找结果为通知消息的文本信息中存在与预定关键词“火车票”相匹配的信息时,则继续判断该通知消息的消息发送方的号段是否属于本地存储的预定号段以及通知消息的消息发送时间是否属于订票高峰时段(本地存储的预定号段以及订票高峰时段可以从云服务器处下载,也可以由用户自行设置),如果该通知消息的消息发送方的号段属于本地存储的预定号段且消息发送时间属于订票高峰时段,则确定出监测到包含有“火车票”的通知 消息且该通知消息的消息属性信息满足预定消息属性条件,否则,确定出虽然监测到包含有“火车票”的通知消息但是该通知消息的消息属性信息不满足预定消息属性条件。
上述第三个示例的另一个具体实现方式可以为,本实施例可以通过基于智能电子设备操作系统的辅助功能接口获取到通知消息的消息内容以及该通知消息的消息属性信息,在通知消息的消息内容包含有图片(如该通知消息的消息内容全部为图片或该通知消息的消息内容部分为图片)的情况下,本实施例可以首先针对通知消息中的图片执行图像识别操作,以将通知消息中的图片转换为文本信息,然后,本实施例再根据本地存储的关键词集合中的预定关键词在图像识别所获得的文本信息中进行匹配查找(在关键词集合中包括多个不同的预定关键词时,本实施例可以针对每一个预定关键词分别在图像识别所获得的文本信息中进行匹配查找),以判断图像识别所获得的文本信息中是否存在与关键词集合中的预定关键词相匹配的信息,在查找结果为图像识别所获得的文本信息中不存在与关键词集合中的预定关键词相匹配的信息的情况下,确定出该通知消息中没有包含有预定关键词;而在查找结果为图像识别所获得的文本信息中存在与关键词集合中的预定关键词相匹配的信息的情况下,本实施例应继续判断上述获取到的消息属性信息是否满足通知消息包含的预定关键词所对应的预定消息属性条件,如果获取到的消息属性信息满足通知消息包含的预定关键词所对应的预定消息属性条件,则可以确定出监测到包含有预定关键词的通知消息且该通知消息的消息属性信息符合预定消息属性条件,否则,确定出虽然监测到包含有预定关键词的通知消息但是该通知消息的消息属性信息不符合预定消息属性条件。一个更为具体的例子,设定关键词集合中包含有“火车票”这一预定关键词,且设定预定关键词“火车票”所对应的预定消息属性条件为:消息发送方的号段属于预定号段且通知消息发送时间属于订票高峰时段(如节假日前后的一段时日),本实施例在通过基于智能电子设备操作系统的辅助功能接口获取到通知消息的消息内容以及通知消息的消息属性信息后,在该通知消息的消息内容包含有图片(如该通知消息的消息内容全部为图片)的情况下,应首先针对该通知消息中的图片执行图像识别操作,以将通知消息中的图片转换为文本信息,然后,根据预定关键词“火车票”在图像识别所获得的文本信息中进行匹配查找,以判断图像识别所获得的文本信息中是否存在与“火车票”相匹配的信息,在查找结果为图像识别所获得的文本信息中不存在与预定关键词“火车票”相匹配的信息时,确定出该通知消息中没有包含有预定关键词“火车票”,而在查找结果为图像识别所获得的文本信息中存在与预定关键词“火车票”相匹配的信息时,则继续判断该通知消息的消息发送方的号段是否属于本地存储 的预定号段以及通知消息的消息发送时间是否属于订票高峰时段(本地存储的预定号段及订票高峰时段可以从云服务器处下载,也可以由用户自行设置),如果该通知消息的消息发送方的号段属于本地存储的预定号段且消息发送时间属于订票高峰时段,则确定出监测到包含有“火车票”的通知消息且该通知消息的消息属性信息满足预定消息属性条件,否则,确定出虽然监测到包含有“火车票”的通知消息但是该通知消息的消息属性信息不满足预定消息属性条件。
作为第四个示例,本实施例的基于智能电子设备操作系统的辅助功能接口监测应用的通知消息可以具体为:基于智能电子设备操作系统的辅助功能接口对应用的通知消息的消息内容、通知消息所属应用的应用属性信息以及通知消息的消息属性信息进行监测,如基于智能电子设备操作系统的辅助功能接口监测应用的通知消息的消息内容中是否包含有关键词集合中的预定关键词以及通知消息所属应用的应用属性信息和通知消息的消息属性信息是否符合预定条件,且上述预定应用属性条件和预定消息属性条件可以形成本实施例的预定条件。第四个示例的具体实现方式可以是将上述第二个示例的具体实现方式以及第三个示例的具体实现方式结合起来,具体实现过程在此不再详细说明。
S110、在监测到包含有预定关键词的通知消息的情况下,根据上述预定关键词所对应的处理方式针对上述包含有预定关键词的通知消息进行相应的处理。
具体的,本实施例可以针对预定关键词设置通知消息的处理方式(预定关键词和相应的通知消息的处理方式可以形成一条通知消息处理规则),从而本实施例在监测到通知消息中包含有预定关键词的情况下,可以直接利用该通知消息包含的关键词所对应的通知消息的处理方式对通知消息进行相应的处理(即直接利用相应的通知消息处理规则中的通知消息的处理方式对通知消息进行相应的处理)。
本实施例也可以针对预定关键词和相应的预定应用属性条件设置通知消息的处理方式(预定关键词、预定关键词对应的预定应用属性条件以及相应的通知消息的处理方式可以形成一条通知消息处理规则),从而本实施例在监测到通知消息中包含有预定关键词且通知消息所属应用的应用属性信息满足预定应用属性条件的情况下,可以利用该通知消息包含的关键词以及所满足的预定应用属性条件所共同对应的通知消息的处理方式对通知消息进行相应的处理(即利用相应的通知消息处理规则中的通知消息的处理方式对通知消息进行相应的处理)。
本实施例还可以针对预定关键词和相应的预定消息属性条件设置通知消息的处理方式(预定关键词、预定关键词对应的预定消息属性条件以及相应的通知消息的处理方式 可以形成一条通知消息处理规则),从而本实施例在监测到通知消息中包含有预定关键词且通知消息的消息属性信息满足预定消息属性条件的情况下,可以利用该通知消息包含的关键词以及所满足的预定消息属性条件所共同对应的通知消息的处理方式对通知消息进行相应的处理(即利用相应的通知消息处理规则中的通知消息的处理方式对通知消息进行相应的处理)。
本实施例还可以针对预定关键词以及相应的预定条件(包含有预定应用属性条件和预定消息属性条件)设置通知消息的处理方式(预定关键词、预定关键词对应的预定应用属性条件、预定关键词对应的预定消息属性条件以及相应的通知消息的处理方式可以形成一条通知消息处理规则),从而本实施例在监测到通知消息中包含有预定关键词且通知消息所属应用的应用属性信息满足预定应用属性条件且通知消息的消息属性信息满足预定消息属性条件的情况下,可以利用该通知消息包含的关键词以及所满足的预定条件所共同对应的通知消息的处理方式对通知消息进行相应的处理(即利用相应的通知消息处理规则中的通知消息的处理方式对通知消息进行相应的处理)。
本实施例中的针对包含有预定关键词的通知消息进行相应的处理可以为针对通知消息进行增强提示处理,如以弹窗方式显示通知消息的消息内容(如显示包含有红包的弹窗),再如通过播放相应的音频信号和/或者产生震动来提示用户。
本实施例中的针对包含有预定关键词的通知消息进行相应的处理也可以为针对通知消息进行警示提示处理,如以弹窗方式显示警示信息,再如通过播放相应的音频信号和/或者产生震动来警示用户。
本实施例中的针对包含有预定关键词的通知消息进行相应的处理还可以为针对通知消息,基于智能电子设备操作系统的辅助功能接口调用该通知消息所属的应用,从而可以模拟用户所执行的操作,如通过辅助功能接口在通知消息所属的应用中打开通知消息等,具体的,本实施例可以通过辅助功能接口在微信应用中打开微信红包,本实施例也可以通过辅助功能接口打开电话应用的拨号界面,甚至根据通知消息处理规则中设置的电话号码模拟用户进行拨号操作,本实施例还可以通过辅助功能接口删除火车票欺诈的通知消息等。本实施例不限制针对包含有预定关键词的通知消息进行相应的处理的具体处理方式。
本实施例通过在监测通知消息是否包含有预定关键词的基础上,对通知消息所属应用的应用属性信息和/或通知消息的消息属性信息是否符合预定条件进行监测,可以有效避免针对包含有预定关键词的伪装类/欺诈类通知消息的误处理操作,如针对假“红包” 的欺诈类通知消息,本实施例在判断出该通知消息所属应用的应用包名称不是“com.tencent.mm”的情况下,不会针对该通知消息进行增强提示处理,从而避免了针对包含有“红包”这一预定关键词的欺诈类通知消息的误提醒;再如针对恶意欺骗的卖火车票的欺诈类通知消息,本实施例在判断出该通知消息的发送方号段属于已知的欺诈号码的号段的情况下,不会针对该通知消息进行增强提示处理,从而避免了针对包含有“火车票”这一预定关键词的欺诈类通知消息的误提醒。
实施例二、通知消息的处理实现方法。
图2为本实施例的通知消息的处理方法流程图。下面对图1中的各步骤分别进行详细描述。
S200、在智能电子设备的用户界面显示相应的说明信息,以引导用户前往操作系统的辅助功能界面,以开启辅助功能。
S210、判断操作系统的辅助功能是否开启,如果辅助功能已开启,则到步骤S230,否则,返回步骤S200,以继续引导用户前往操作系统的辅助功能界面。
S220、在智能电子设备的用户界面显示相应的说明信息,以引导用户允许监测应用的通知消息,即以用户授予监测应用的通知消息的权限。
S230、判断用户是否授予监测应用的通知消息的权限,如果授予监测应用的通知消息的权限,到步骤S240,否则,返回步骤S220,以继续引导用户授予监测应用的通知消息的权限。
S240、将监测应用的通知消息的功能开关设置为开启。
S250、基于操作系统的辅助功能接口监测应用的通知消息,如监测应用的通知消息的消息内容,再如监测应用的通知消息的消息内容以及通知消息所属应用的应用属性信息,再如监测应用的通知消息的消息内容以及通知消息的消息属性信息,再如监测应用的通知消息的消息内容、通知消息所属应用的应用属性信息以及通知消息的消息属性信息。
在监测到的通知消息触发了预先设置的通知消息处理规则的情况下,到步骤S260,在监测到的通知消息没有触发预先设置的通知消息处理规则的情况下,继续执行基于操作系统的辅助功能接口监测应用的通知消息的操作。
上述通知消息处理规则可以具体包括:预定关键词以及通知消息的处理方式。针对此类通知消息处理规则而言,在监测到的通知消息的消息内容中包含有通知消息处理规则中的预定关键词的情况下,该通知消息处理规则被触发。
上述通知消息处理规则也可以具体包括:预定关键词、针对通知消息所属应用的应用属性信息而设置的预定条件以及通知消息的处理方式。针对此类通知消息处理规则而言,在监测到的通知消息的消息内容中包含有通知消息处理规则中的预定关键词,且监测到的通知消息所属应用的应用属性信息满足预定条件的情况下,该通知消息处理规则被触发。
上述通知消息处理规则也可以具体包括:预定关键词、针对通知消息的消息属性信息而设置的预定条件以及通知消息的处理方式。针对此类通知消息处理规则而言,在监测到的通知消息的消息内容中包含有通知消息处理规则中的预定关键词,且监测到的通知消息的消息属性信息满足预定条件的情况下,该通知消息处理规则被触发。
上述通知消息处理规则还可以包括:预定关键词、针对通知消息所属应用的应用属性信息和通知消息的消息属性信息而设置的预定条件以及通知消息的处理方式。针对此类通知消息处理规则而言,在监测到的通知消息的消息内容中包含有通知消息处理规则中的预定关键词,且监测到的通知消息所属应用的应用属性信息以及通知消息的消息属性信息均满足预定条件的情况下,该通知消息处理规则被触发。
S260、根据通知消息触发的通知消息处理规则中的通知消息处理方式对该通知消息进行相应的处理操作,如在通知消息所属应用内打开该通知消息或者阿里钱盾应用弹出针对该通知消息而设置的增强提示窗等。本实施例不限制对通知消息进行相应的处理操作的具体实现方式。
实施例三、通知消息的处理实现装置。
本实施例中的通知消息的处理实现装置通常设置于智能电子设备中,如设置于基于Android操作系统的智能电子设备中,如果其他操作系统也提供辅助功能接口,则本实施例的装置也可以设置于基于其他操作系统的智能电子设备。本实施例的通知消息的处理实现装置的结构如图3-图9所示。
图3中的装置主要包括:监测模块300以及处理模块310。
监测模块300主要用于基于智能电子设备操作系统的辅助功能接口监测应用的通知消息。
监测模块300主要包括:第一监测子模块301(如图4所示),且该监测模块300还可以包括:第二监测子模块302(如图5所示)。上述第一监测子模块301可以包括:第一查找子模块303以及第一确定子模块304(如图6所示),且第一监测子模块301也可以包括:图像识别子模块305、第二查找子模块306以及第二确定子模块307(如图 7所示)。
第一监测子模块301主要用于基于智能电子设备操作系统的辅助功能接口监测应用的通知消息的消息内容中是否包含有关键词集合中的预定关键词。
第二监测子模块302主要用于基于智能电子设备操作系统的辅助功能接口监测通知消息所属应用的应用属性信息和/或通知消息的消息属性信息是否符合预定条件。
第一查找子模块303主要用于查找通知消息的消息内容中的文本信息是否包含有关键词集合中的预定关键词。
第一确定子模块304主要用于在查找结果为消息内容中的文本信息包含有预定关键词时,确定监测到包含有预定关键词的通知消息。
图像识别子模块305主要用于对通知消息的消息内容中的图片进行图像识别。
第二查找子模块306主要用于查找图像识别结果是否包含有关键词集合中的预定关键词。
第二确定子模块307主要用于在查找结果为图像识别结果包含有预定关键词时,确定监测到包含有预定关键词的通知消息。
具体的,本实施例在实施过程中,如果智能电子设备的操作系统所提供的辅助功能没有处于开启状态,则通知消息的处理实现装置(如设置模块)应先执行将智能电子设备的操作系统所提供的辅助功能开启的操作,如设置模块通过逐步的引导智能电子设备用户,使智能电子设备用户将智能电子设备操作系统所提供的辅助功能设置为开启状态。
作为示例,监测模块300通过智能电子设备操作系统的辅助功能接口所监测的应用的通知消息可以为系统应用的通知消息,也可以为第三方应用的通知消息。上述系统应用的通知消息可以为短消息应用的通知消息,如短消息应用在接收到新的短消息时而产生的通知消息。上述第三方应用的通知消息可以为即时通讯应用的通知消息,如微信应用在接收到新的信息时而产生的通知消息等,上述第三方应用的通知消息也可以为应用客户端的推送新信息的通知消息,如搜狐视频客户端或者腾讯新闻应用客户端等希望向用户推送新视频/新闻的信息时而产生的通知消息。
作为第一个示例,第一监测子模块301可以基于智能电子设备操作系统的辅助功能接口监测应用的通知消息的消息内容中是否包含有关键词集合中的预定关键词。本实施例中的关键词集合中通常包含有一个预定关键词或者多个不同的预定关键词,且本实施例的关键词集合中的预定关键词可以是第一监测子模块301从云服务器处下载的预定关键词(如定时或者不定时的从云服务器处更新智能电子设备本地存储的关键词集合), 也可以是智能电子设备自定义的预定关键词,即第一监测子模块301将智能电子设备的用户自行设置预定关键词存储于关键词集合中。
上述第一个示例的一个具体实现方式为:第一监测子模块301可以通过基于智能电子设备操作系统的辅助功能接口获取到通知消息的消息内容,在该通知消息的消息内容包含有文本信息(如该通知消息的消息内容全部为文本信息)的情况下,第一查找子模块303可以根据本地存储的关键词集合中的预定关键词在该通知消息的文本信息中进行匹配查找(在关键词集合中包括多个不同的预定关键词时,第一查找子模块303可以针对每一个预定关键词分别在该通知消息的文本信息中进行匹配查找),以判断该通知消息的文本信息中是否存在与关键词集合中的预定关键词相匹配的信息,在第一查找子模块303查找结果为通知消息的文本信息中存在与关键词集合中的预定关键词相匹配的信息时,第一确定子模块304确定出监测到包含有预定关键词的通知消息,否则,第一确定子模块304确定出该通知消息中没有包含有预定关键词。
上述第一个示例的另一个具体实现方式可以为:第一监测子模块301可以通过基于智能电子设备操作系统的辅助功能接口获取到通知消息的消息内容,在该通知消息的消息内容包含有图片(如该通知消息的消息内容全部为图片或者该通知消息的消息内容部分为图片)的情况下,图像识别子模块305可以首先针对通知消息中的图片执行图像识别操作,以将通知消息中的图片转换为文本信息,然后,第二查找子模块306再根据本地存储的关键词集合中的预定关键词在图像识别所获得的文本信息中进行匹配查找(在关键词集合中包括多个不同的预定关键词时,第二查找子模块306可以针对每一个预定关键词分别在图像识别所获得的文本信息中进行匹配查找),以判断图像识别所获得的文本信息中是否存在与关键词集合中的预定关键词相匹配的信息,在第二查找子模块306查找结果为图像识别所获得的文本信息中存在与关键词集合中的预定关键词相匹配的信息时,第二确定模块307确定出监测到包含有预定关键词的通知消息,否则,第二确定模块307确定出该通知消息中没有包含有预定关键词。
作为第二个示例,第一监测子模块301和第二监测子模块302基于智能电子设备操作系统的辅助功能接口对应用的通知消息的消息内容以及通知消息所属应用的应用属性信息进行监测,如第一监测子模块301基于智能电子设备操作系统的辅助功能接口监测应用的通知消息的消息内容中是否包含有关键词集合中的预定关键词以及第二监测子模块302监测通知消息所属应用的应用属性信息是否符合预定条件(该预定条件可以称为预定应用属性条件)。本实施例中的应用属性信息可以包括:应用包名称、应用名称、 应用类型(如系统应用或者第三方应用)、应用安装后占用的空间以及应用启动后占用的内存中的任意一项或者多项。本实施例中的预定应用属性条件通常是结合预定关键词而设置的,且通常情况下,针对一个预定关键词可以对应设置一个预定应用属性条件,然而,在实际应用中本实施例并不排除针对一个预定关键词对应设置多个预定应用属性条件的情况;另外,本实施例的预定应用属性条件可以是第二监测子模块302从云服务器处下载的预定应用属性条件(如定时或者不定时的从云服务器处更新智能电子设备本地的预定应用属性条件),也可以是智能电子设备自定义的预定应用属性条件,即第二监测子模块302允许智能电子设备的用户自行设置预定应用属性条件。
第二监测子模块302所执行的具体操作如上述实施例一中的针对第二个示例的两个具体实现方式、第三个示例和第三个示例的两个具体实现方式以及第四个示例的描述,在此不再详细说明。
处理模块310主要用于在监测模块300监测到包含有预定关键词的通知消息的情况下,根据预定关键词所对应的处理方式针对该包含有预定关键词的通知消息进行相应的处理。
处理模块310主要包括:第一处理子模块311、第二处理子模块312以及第三处理子模块313中的任意一个或者多个(如图8所示)。另外,处理模块310也可以主要包括:增强提示子模块314、预警提示子模块315以及调用子模块316(如图9所示)。在一个具体的实际应用中,第一处理子模块311、第二处理子模块312以及第三处理子模块313均包含有:增强提示子模块314、预警提示子模块315以及调用子模块316。
第一处理子模块311主要用于在监测到通知消息中包含有预定关键词且应用属性信息满足预定条件的情况下,根据预定关键词和预定条件所对应的处理方式针对包含有预定关键词的通知消息进行相应的处理。
第二处理子模块312主要用于在监测到通知消息中包含有预定关键词且通知消息的消息属性信息满足预定条件的情况下,根据预定关键词和预定条件所对应的处理方式针对包含有预定关键词的通知消息进行相应的处理。
第三处理子模块313主要用于在监测到通知消息中包含有预定关键词且应用属性信息和消息属性信息满足预定条件的情况下,根据预定关键词和预定条件所对应的处理方式针对包含有预定关键词的通知消息进行相应的处理。
增强提示子模块314主要用于针对通知消息进行增强提示处理。
预警提示子模块315主要用于针对通知消息进行预警提示处理。
调用子模块316主要用于针对通知消息,基于智能电子设备操作系统的辅助功能接口调用通知消息所属的应用。
具体的,处理模块310可以针对预定关键词设置通知消息的处理方式(预定关键词以及相应的通知消息的处理方式可以形成一条通知消息处理规则),从而处理模块310在监测模块300监测到通知消息中包含有预定关键词的情况下,可以直接利用该通知消息包含的关键词所对应的通知消息的处理方式对通知消息进行相应的处理(即处理模块310直接利用相应的通知消息处理规则中的通知消息的处理方式对通知消息进行相应的处理)。
处理模块310也可以针对预定关键词和相应的预定应用属性条件设置通知消息的处理方式(预定关键词、预定关键词对应的预定应用属性条件以及相应的通知消息的处理方式可以形成一条通知消息处理规则),从而第一处理子模块311在监测模块300监测到通知消息中包含有预定关键词且通知消息所属应用的应用属性信息满足预定应用属性条件的情况下,可以利用该通知消息包含的关键词以及所满足的预定应用属性条件所共同对应的通知消息的处理方式对通知消息进行相应的处理(即第一处理子模块311利用相应的通知消息处理规则中的通知消息的处理方式对通知消息进行相应的处理)。
处理模块310还可以针对预定关键词和相应的预定消息属性条件设置通知消息的处理方式(预定关键词、预定关键词对应的预定消息属性条件以及相应的通知消息的处理方式可以形成一条通知消息处理规则),从而第二处理子模块312在监测模块300监测到通知消息中包含有预定关键词且通知消息的消息属性信息满足预定消息属性条件的情况下,可以利用该通知消息包含的关键词以及所满足的预定消息属性条件所共同对应的通知消息的处理方式对通知消息进行相应的处理(即利用相应的通知消息处理规则中的通知消息的处理方式对通知消息进行相应的处理)。
处理模块310本实施例还可以针对预定关键词以及相应的预定条件(包含有预定应用属性条件和预定消息属性条件)设置通知消息的处理方式(预定关键词、预定关键词对应的预定应用属性条件、预定关键词对应的预定消息属性条件以及相应的通知消息的处理方式可以形成一条通知消息处理规则),从而第三处理子模块313在监测模块300监测到通知消息中包含有预定关键词且通知消息所属应用的应用属性信息满足预定应用属性条件且通知消息的消息属性信息满足预定消息属性条件的情况下,可以利用该通知消息包含的关键词以及所满足的预定条件所共同对应的通知消息的处理方式对通知消息进行相应的处理(即第三处理子模块313利用相应的通知消息处理规则中的通知消息的 处理方式对通知消息进行相应的处理)。
处理模块310中的针对包含有预定关键词的通知消息进行相应的处理可以为增强提示子模块314针对通知消息进行增强提示处理,如增强提示子模块314以弹窗方式显示通知消息的消息内容(如增强提示子模块314显示包含有红包的弹窗),再如增强提示子模块314通过播放相应的音频信号和/或者产生震动来提示用户。
处理模块310中的针对包含有预定关键词的通知消息进行相应的处理也可以为预警提示子模块315针对通知消息进行警示提示处理,如预警提示子模块315以弹窗方式显示警示信息,再如预警提示子模块315通过播放相应的音频信号和/或者产生震动来警示用户。
处理模块310中的针对包含有预定关键词的通知消息进行相应的处理还可以为调用子模块316针对通知消息,基于智能电子设备操作系统的辅助功能接口调用该通知消息所属的应用,从而可以模拟用户所执行的操作,如调用子模块316通过辅助功能接口在通知消息所属的应用中打开通知消息,具体的,调用子模块316可通过辅助功能接口在微信应用中打开微信红包,调用子模块316也可以通过辅助功能接口打开电话应用的拨号界面,甚至调用子模块316根据通知消息处理规则中设置的电话号码模拟用户进行拨号操作,调用子模块316还可以通过辅助功能接口删除火车票欺诈的通知消息等等。本实施例不限制调用子模块316针对包含有预定关键词的通知消息进行相应的处理的具体处理方式。
需要注意的是,本发明的一部分可以被应用为计算机程序产品,例如计算机程序指令,当其被智能电子设备(如智能移动电话或者平板电脑等)执行时,通过该智能电子设备的操作可以调用或者提供根据本发明的方法和/或技术方案。而调用本发明的方法的程序指令,可能被存储在固定的或可移动的记录介质中,和/或通过广播或者其他信号承载媒体中的数据流而被传输,和/或被存储在根据所述程序指令运行的智能电子设备的工作存储器中。在此,根据本发明的一个实施例包括一个装置,该装置包括用于存储计算机程序指令的存储器和用于执行程序指令的处理器,其中,当该计算机程序指令被该处理器执行时,触发该装置运行基于前述根据本发明的多个实施例的方法和/或技术方案。
对于本领域技术人员而言,显然本发明并不限于上述示范性实施例的细节,而且在不背离本发明的精神或基本特征的情况下,能够以其他的具体形式实现本发明。因此,无论从哪一点来看,均应将实施例看作是示范性的描述,而且是非限制性的描述,本发明的范围由所附权利要求而不是上述说明限定,因此,旨在将落在权利要求的等同要件 的含义以及范围内的所有变化都涵括在本发明之内。不应当将权利要求中的任何附图标记视为限制所涉及的权利要求。此外,显然“包括”一词不排除其他单元或者步骤,单数不排除复数。系统权利要求中陈述的多个单元或装置也可以由一个单元或装置通过软件或者硬件来实现。第一和第二等词语用来表示名称,而并不表示任何特定的顺序。

Claims (24)

  1. 一种通知消息的处理方法,其中,所述方法包括以下步骤:
    基于智能电子设备操作系统的辅助功能接口监测应用的通知消息;
    在监测到包含有预定关键词的通知消息的情况下,根据所述预定关键词所对应的处理方式针对所述包含有预定关键词的通知消息进行相应的处理。
  2. 根据权利要求1所述的方法,其中,所述应用的通知消息包括:系统应用的通知消息或者第三方应用的通知消息。
  3. 根据权利要求2所述的方法,其中,
    所述系统应用的通知消息包括:短消息应用接收到新短消息的通知消息;
    所述第三方应用的通知消息包括:即时通讯应用接收到新信息的通知消息或者应用客户端推送新信息的通知消息。
  4. 根据权利要求1所述的方法,其中,所述基于智能电子设备操作系统的辅助功能接口监测应用的通知消息包括:
    基于智能电子设备操作系统的辅助功能接口监测应用的通知消息的消息内容中是否包含有关键词集合中的预定关键词。
  5. 根据权利要求4所述的方法,其中,所述基于智能电子设备操作系统的辅助功能接口监测应用的通知消息的消息内容中是否包含有关键词集合中的预定关键词包括:
    查找通知消息的消息内容中的文本信息是否包含有关键词集合中的预定关键词;
    在查找结果为消息内容中的文本信息包含有预定关键词时,确定监测到包含有预定关键词的通知消息。
  6. 根据权利要求4所述的方法,其中,所述基于智能电子设备操作系统的辅助功能接口监测应用的通知消息的消息内容中是否包含有关键词集合中的预定关键词包括:
    对通知消息的消息内容中的图片进行图像识别;
    查找图像识别结果是否包含有关键词集合中的预定关键词;
    在查找结果为图像识别结果包含有预定关键词时,确定监测到包含有预定关键词的通知消息。
  7. 根据权利要求4或5或6所述的方法,其中,所述关键词集合中所包含的预定关键词包括:从云服务器处下载的预定关键词和/或智能电子设备自定义的预定关键词。
  8. 根据权利要求4或5或6所述的方法,其中,所述基于智能电子设备操作系统的辅助功能接口监测应用的通知消息还包括:
    基于智能电子设备操作系统的辅助功能接口监测通知消息所属应用的应用属性信息和/或通知消息的消息属性信息是否符合预定条件。
  9. 根据权利要求8所述的方法,其中,所述应用属性信息包括:应用包名称、应用名称、应用类型、应用安装后占用的空间以及应用启动后占用的内存中的一项或者多项。
  10. 根据权利要求8所述的方法,其中,所述消息属性信息包括:消息时间以及消息发送方信息中的一项或者多项。
  11. 根据权利要求8所述的方法,其中,所述在监测到包含有预定关键词的通知消息的情况下,根据所述预定关键词所对应的处理方式针对所述包含有预定关键词的通知消息进行相应的处理包括:
    在监测到通知消息中包含有预定关键词且所述应用属性信息满足预定条件的情况下,根据所述预定关键词和所述预定条件所对应的处理方式针对所述包含有预定关键词的通知消息进行相应的处理;或者
    在监测到通知消息中包含有预定关键词且所述通知消息的消息属性信息满足预定条件的情况下,根据所述预定关键词和所述预定条件所对应的处理方式针对所述包含有预定关键词的通知消息进行相应的处理;或者
    在监测到通知消息中包含有预定关键词且所述应用属性信息和消息属性信息满足预定条件的情况下,根据所述预定关键词和所述预定条件所对应的处理方式针对所述包含有预定关键词的通知消息进行相应的处理。
  12. 根据权利要求1所述的方法,其中,所述针对所述包含有预定关键词的通知消息进行相应的处理包括下述至少之一:
    针对所述通知消息进行增强提示处理;
    针对所述通知消息进行预警提示处理;
    针对所述通知消息,基于智能电子设备操作系统的辅助功能接口调用所述通知消息所属的应用。
  13. 一种通知消息的处理实现装置,其中,所述装置包括:
    监测模块,用于基于智能电子设备操作系统的辅助功能接口监测应用的通知消息;
    处理模块,用于在监测到包含有预定关键词的通知消息的情况下,根据所述预定关键词所对应的处理方式针对所述包含有预定关键词的通知消息进行相应的处理。
  14. 根据权利要求13所述的装置,其中,所述应用的通知消息包括:系统应用的 通知消息或者第三方应用的通知消息。
  15. 根据权利要求14所述的装置,其中,
    所述系统应用的通知消息包括:短消息应用接收到新短消息的通知消息;
    所述第三方应用的通知消息包括:即时通讯应用接收到新信息的通知消息或者应用客户端推送新信息的通知消息。
  16. 根据权利要求13所述的装置,其中,所述监测模块包括:
    第一监测子模块,用于基于智能电子设备操作系统的辅助功能接口监测应用的通知消息的消息内容中是否包含有关键词集合中的预定关键词。
  17. 根据权利要求16所述的装置,其中,所述第一监测子模块包括:
    第一查找子模块,用于查找通知消息的消息内容中的文本信息是否包含有关键词集合中的预定关键词;
    第一确定子模块,用于在查找结果为消息内容中的文本信息包含有预定关键词时,确定监测到包含有预定关键词的通知消息。
  18. 根据权利要求16所述的装置,其中,所述第一监测子模块包括:
    图像识别子模块,用于对通知消息的消息内容中的图片进行图像识别;
    第二查找子模块,用于查找图像识别结果是否包含有关键词集合中的预定关键词;
    第二确定子模块,用于在查找结果为图像识别结果包含有预定关键词时,确定监测到包含有预定关键词的通知消息。
  19. 根据权利要求16或17或18所述的装置,其中,所述关键词集合中所包含的预定关键词包括:从云服务器处下载的预定关键词和/或智能电子设备自定义的预定关键词。
  20. 根据权利要求16或17或18所述的装置,其中,所述监测模块还包括:
    第二监测子模块,用于基于智能电子设备操作系统的辅助功能接口监测通知消息所属应用的应用属性信息和/或通知消息的消息属性信息是否符合预定条件。
  21. 根据权利要求20所述的装置,其中,所述应用属性信息包括:应用包名称、应用名称、应用类型、应用安装后占用的空间以及应用启动后占用的内存中的一项或者多项。
  22. 根据权利要求20所述的装置,其中,所述消息属性信息包括:消息时间以及消息发送方信息中的一项或者多项。
  23. 根据权利要求20所述的装置,其中,所述处理模块包括:
    第一处理子模块,用于在监测到通知消息中包含有预定关键词且所述应用属性信息满足预定条件的情况下,根据所述预定关键词和所述预定条件所对应的处理方式针对所述包含有预定关键词的通知消息进行相应的处理;或者
    第二处理子模块,用于在监测到通知消息中包含有预定关键词且所述通知消息的消息属性信息满足预定条件的情况下,根据所述预定关键词和所述预定条件所对应的处理方式针对所述包含有预定关键词的通知消息进行相应的处理;或者
    第三处理子模块,用于在监测到通知消息中包含有预定关键词且所述应用属性信息和消息属性信息满足预定条件的情况下,根据所述预定关键词和所述预定条件所对应的处理方式针对所述包含有预定关键词的通知消息进行相应的处理。
  24. 根据权利要求13所述的装置,其中,所述处理模块包括下述至少之一:
    增强提示子模块,用于针对所述通知消息进行增强提示处理;
    预警提示子模块,用于针对所述通知消息进行预警提示处理;
    调用子模块,用于针对所述通知消息,基于智能电子设备操作系统的辅助功能接口调用所述通知消息所属的应用。
PCT/CN2016/113447 2016-01-05 2016-12-30 通知消息的处理方法和装置 WO2017118340A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2018535043A JP2019512113A (ja) 2016-01-05 2016-12-30 通知メッセージ処理方法及び装置
EP16883465.3A EP3401780A4 (en) 2016-01-05 2016-12-30 METHOD AND APPARATUS FOR PROCESSING NOTIFICATION MESSAGES
US16/026,752 US11093303B2 (en) 2016-01-05 2018-07-03 Notification message processing method and apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610006150.2A CN106940641B (zh) 2016-01-05 2016-01-05 通知消息的处理方法和装置
CN201610006150.2 2016-01-05

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/026,752 Continuation US11093303B2 (en) 2016-01-05 2018-07-03 Notification message processing method and apparatus

Publications (1)

Publication Number Publication Date
WO2017118340A1 true WO2017118340A1 (zh) 2017-07-13

Family

ID=59274511

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/113447 WO2017118340A1 (zh) 2016-01-05 2016-12-30 通知消息的处理方法和装置

Country Status (5)

Country Link
US (1) US11093303B2 (zh)
EP (1) EP3401780A4 (zh)
JP (1) JP2019512113A (zh)
CN (1) CN106940641B (zh)
WO (1) WO2017118340A1 (zh)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107402827A (zh) * 2017-07-21 2017-11-28 深圳市金立通信设备有限公司 消息提醒管道的形成方法、终端以及计算机可读存储介质
CN108009034A (zh) * 2017-12-27 2018-05-08 掌阅科技股份有限公司 应用消息的通知方法、服务器、电子设备及存储介质
CN108762847A (zh) * 2018-05-30 2018-11-06 上海连尚网络科技有限公司 用于处理信息的方法
CN109951603B (zh) * 2019-02-25 2020-09-04 深圳市卡卓无线信息技术有限公司 增强提醒的方法及装置
US10946294B1 (en) 2019-08-30 2021-03-16 Sony Interactive Entertainment Inc. Summarizing notifications on a user display
US10946279B1 (en) 2019-08-30 2021-03-16 Sony Interactive Entertainment Inc. Context-based notifications on a user display
CN112445961B (zh) * 2019-09-05 2024-05-10 腾讯科技(深圳)有限公司 信息处理方法、装置、终端设备以及存储介质
CN111327515B (zh) * 2020-01-20 2022-06-03 Oppo广东移动通信有限公司 电子红包检测方法、电子红包检测装置及移动终端
CN112347129B (zh) * 2020-12-01 2023-03-28 歌尔科技有限公司 一种通知消息的处理方法、装置和智能穿戴设备
CN112702261B (zh) * 2020-12-30 2023-05-26 维沃移动通信有限公司 信息显示方法、装置和电子设备
CN113468023A (zh) * 2021-07-09 2021-10-01 中国电信股份有限公司 监控方法、装置、介质及电子设备
CN116709339B (zh) * 2022-10-09 2024-07-12 荣耀终端有限公司 一种应用通知消息的检测方法及电子设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103259825A (zh) * 2012-02-21 2013-08-21 腾讯科技(深圳)有限公司 消息推送方法和装置
CN104869248A (zh) * 2015-05-15 2015-08-26 广东欧珀移动通信有限公司 移动终端信息提示的方法及装置
CN104980585A (zh) * 2015-06-26 2015-10-14 小米科技有限责任公司 信息提示方法及装置
CN105120053A (zh) * 2015-06-24 2015-12-02 惠州Tcl移动通信有限公司 智能终端及其信息识别方法
CN105138229A (zh) * 2015-09-29 2015-12-09 联想(北京)有限公司 一种信息处理方法及电子设备

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8503624B2 (en) * 2005-09-28 2013-08-06 Cisco Technology, Inc. Method and apparatus to process an incoming message
US20080201434A1 (en) * 2007-02-16 2008-08-21 Microsoft Corporation Context-Sensitive Searches and Functionality for Instant Messaging Applications
US8117304B2 (en) * 2007-10-25 2012-02-14 International Business Machines Corporation Processing event notifications with an event sink
CN102708864A (zh) * 2011-03-28 2012-10-03 德信互动科技(北京)有限公司 基于对话的家用电子设备和控制方法
JP2013046151A (ja) * 2011-08-23 2013-03-04 Ricoh Co Ltd プロジェクタ、投影システム及び情報検索表示方法
US8635124B1 (en) * 2012-11-28 2014-01-21 Ebay, Inc. Message based generation of item listings
CN104572712A (zh) * 2013-10-18 2015-04-29 英业达科技有限公司 浏览多媒体文件的系统及方法
US10575039B2 (en) * 2014-02-13 2020-02-25 Piksel, Inc. Delivering media content
US9471212B2 (en) * 2014-03-10 2016-10-18 Htc Corporation Reminder generating method and a mobile electronic device using the same
US9749781B2 (en) * 2014-03-19 2017-08-29 Oath Inc. Systems and methods for optimizing message notification based on geographic location and time
CN105227995A (zh) * 2015-10-20 2016-01-06 青岛海信电器股份有限公司 电视节目互动方法和装置
KR102362868B1 (ko) * 2015-12-23 2022-02-15 삼성전자주식회사 사용자의 선호도에 따라 사용자에게 컨텐트들을 제공하는 방법 및 이를 위한 전자 장치

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103259825A (zh) * 2012-02-21 2013-08-21 腾讯科技(深圳)有限公司 消息推送方法和装置
CN104869248A (zh) * 2015-05-15 2015-08-26 广东欧珀移动通信有限公司 移动终端信息提示的方法及装置
CN105120053A (zh) * 2015-06-24 2015-12-02 惠州Tcl移动通信有限公司 智能终端及其信息识别方法
CN104980585A (zh) * 2015-06-26 2015-10-14 小米科技有限责任公司 信息提示方法及装置
CN105138229A (zh) * 2015-09-29 2015-12-09 联想(北京)有限公司 一种信息处理方法及电子设备

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3401780A4 *

Also Published As

Publication number Publication date
US20180321992A1 (en) 2018-11-08
US11093303B2 (en) 2021-08-17
CN106940641B (zh) 2021-10-22
EP3401780A4 (en) 2019-07-03
EP3401780A1 (en) 2018-11-14
JP2019512113A (ja) 2019-05-09
CN106940641A (zh) 2017-07-11

Similar Documents

Publication Publication Date Title
WO2017118340A1 (zh) 通知消息的处理方法和装置
US10372469B2 (en) Method and device for displaying information
KR100952379B1 (ko) 애플리케이션에서의 이벤트 모니터링을 위한 프로파일기반의 캡처 컴포넌트
US7418497B2 (en) Automatically infering and updating an availability status of a user
US20180373426A1 (en) Information Showing Method and Apparatus, and Electronic Device
CN108846295B (zh) 敏感信息过滤方法、装置、计算机设备及存储介质
CN106961384A (zh) 一种消息处理方法及电子设备
WO2022268177A1 (zh) 信息显示方法、装置和电子设备
US20230153520A1 (en) Message Display Method and Electronic Device
US11809380B2 (en) Information sharing method, apparatus, electronic device, and storage medium
US20180248830A1 (en) Methods for generating message notifications
WO2019144756A1 (zh) 验证短信的处理方法及系统
US11165779B2 (en) Generating a custom blacklist for a listening device based on usage
CN115037709B (zh) 信息处理方法、装置、电子设备和存储介质
WO2017128545A1 (zh) 一种消息提醒方法及装置
CN112422735B (zh) 信息提示方法及装置
CN114025116A (zh) 视频生成方法、装置、可读介质和电子设备
CN113992615A (zh) 撤回消息的显示方法、装置、电子设备及存储介质
CN105450510B (zh) 用于社交网络平台的好友管理方法、装置及服务器
CN110995706A (zh) 用于通讯应用的身份验证系统、方法、设备和存储介质
CN103809897A (zh) 终端设备及其控制方法
TWI754627B (zh) 通知消息的處理方法和裝置
WO2017008608A1 (zh) 基于云服务的移动终端安全信息获取方法、终端和存储介质、基于云服务的移动终端安全信息下发方法和服务器
WO2021022434A1 (zh) 一种应用监控方法、装置、存储介质及电子设备
CN110096874A (zh) 程序页面安全告警方法、装置、计算机设备及存储介质

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

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2018535043

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2016883465

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2016883465

Country of ref document: EP

Effective date: 20180806