TWI754627B - Method and device for processing notification messages - Google Patents
Method and device for processing notification messages Download PDFInfo
- Publication number
- TWI754627B TWI754627B TW106102492A TW106102492A TWI754627B TW I754627 B TWI754627 B TW I754627B TW 106102492 A TW106102492 A TW 106102492A TW 106102492 A TW106102492 A TW 106102492A TW I754627 B TWI754627 B TW I754627B
- Authority
- TW
- Taiwan
- Prior art keywords
- notification message
- predetermined
- message
- application
- keyword
- Prior art date
Links
Images
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
本發明提供了一種通知消息的處理實現方法和裝置,其中的方法主要包括:基於智慧電子設備作業系統的協助工具介面監測應用程式的通知消息;在監測到包含有預定關鍵字的通知消息的情況下,根據所述預定關鍵字所對應的處理方式針對所述包含有預定關鍵字的通知消息進行相應的處理。本發明提供的技術方案能夠對不同的通知消息進行不同的處理,在豐富了通知消息的處理方式的同時,還可以避免部分通知消息對使用者的打擾,提高了通知消息的智慧化處理程度。 The present invention provides a method and device for processing notification messages, wherein the method mainly includes: monitoring notification messages of an application program based on an assistant tool interface of an operating system of an intelligent electronic device; when monitoring notification messages containing predetermined keywords Next, perform corresponding processing on the notification message containing the predetermined keyword according to the processing manner corresponding to the predetermined keyword. The technical solution provided by the present invention can process different notification messages differently, and while enriching the processing methods of notification messages, it can also avoid interruption of some notification messages to users, and improve the intelligent processing degree of notification messages.
Description
本發明涉及網際網路技術領域,尤其涉及一種通知消息的處理方法以及通知消息的處理裝置。 The present invention relates to the technical field of the Internet, and in particular, to a method for processing notification messages and a device for processing notification messages.
隨著網際網路技術尤其是移動網際網路技術的迅猛發展,智慧電子設備尤其是智慧行動電話的普及程度日漸提高,且針對智慧電子設備尤其是智慧行動電話而提供的應用程式的種類也日漸豐富。 With the rapid development of Internet technology, especially mobile Internet technology, the popularity of smart electronic devices, especially smart mobile phones, is increasing day by day, and the types of applications provided for smart electronic devices, especially smart mobile phones are also increasing. rich.
在智慧電子設備中的應用程式接收到新資訊或者應用程式中的某個提醒事件被觸發等情況下,應用程式通常會產生通知消息,並針對該通知消息執行相應的通知操作,以便於提示使用者及時查看新資訊或者提示使用者關注預先安排好的事情等;一個具體的例子,在微信有新資訊時,微信會將針對該新資訊的通知消息展示在作業系統的通知欄或者鎖屏介面處,並透過聲音或者震動等方式提示使用者查看新資訊;另一個具體的例子,在當前時間滿足日曆應用程式中的提醒事件所對應的時間時,日曆應用程式中的該提醒事件被觸發,日曆應用程式會將描述該提醒 事件的通知消息顯示在鎖屏介面或者智慧電子設備的首頁,並透過聲音或者震動等方式提示使用者關注該提醒事件。 When the application in the smart electronic device receives new information or a reminder event in the application is triggered, etc., the application usually generates a notification message, and performs the corresponding notification operation for the notification message, so as to remind the user to use it. Users can check new information in time or remind users to pay attention to pre-arranged things, etc. For a specific example, when WeChat has new information, WeChat will display the notification message for the new information on the notification bar or lock screen interface of the operating system. , and prompts the user to view new information by means of sound or vibration; another specific example, when the current time meets the time corresponding to the reminder event in the calendar application, the reminder event in the calendar application is triggered, The calendar application will display a notification message describing the reminder event on the lock screen interface or the homepage of the smart electronic device, and prompt the user to pay attention to the reminder event by means of sound or vibration.
發明人在實現本發明過程中發現,雖然應用程式的種類以及應用程式的數量在不斷的豐富,然而,不同應用程式的通知消息的處理方式卻大致相同,即現有的通知消息的處理方式較單一。 During the process of implementing the present invention, the inventor found that although the types and number of applications are constantly enriched, the processing methods of notification messages of different applications are roughly the same, that is, the processing methods of the existing notification messages are relatively simple. .
本發明的目的是提供一種通知消息的處理方法和裝置。 The purpose of the present invention is to provide a notification message processing method and device.
根據本發明的一個方面,提供一種通知消息的處理方法,其中,該方法包括以下步驟:基於智慧電子設備作業系統的協助工具介面監測應用程式的通知消息;在監測到包含有預定關鍵字的通知消息的情況下,根據所述預定關鍵字所對應的處理方式針對所述包含有預定關鍵字的通知消息進行相應的處理。 According to one aspect of the present invention, a method for processing notification messages is provided, wherein the method includes the following steps: monitoring notification messages of an application program based on an assistant tool interface of an operating system of a smart electronic device; In the case of a message, corresponding processing is performed for the notification message containing the predetermined keyword according to the processing mode corresponding to the predetermined keyword.
根據本發明的另一個方面,還提供了一種通知消息的處理裝置,其中,該裝置包括:監測模組,用於基於智慧電子設備作業系統的協助工具介面監測應用程式的通知消息;處理模組,用於在監測到包含有預定關鍵字的通知消息的情況下,根據所述預定關鍵字所對應的處理方式針對所述包含有預定關鍵字的通知消息進行相應的處理。 According to another aspect of the present invention, an apparatus for processing notification messages is also provided, wherein the apparatus includes: a monitoring module for monitoring notification messages of an application program based on an assistant tool interface of an operating system of an intelligent electronic device; a processing module is used to perform corresponding processing on the notification message containing the predetermined keyword according to the processing mode corresponding to the predetermined keyword when the notification message containing the predetermined keyword is monitored.
與現有技術相比,本發明具有以下優點:本發明透過 利用基於智慧電子設備作業系統的協助工具介面來監測應用程式的通知消息,可以在不打擾作業系統正常運作的情況下,方便快捷準確的獲取到應用程式的通知消息;透過監測通知消息中是否包含有預定關鍵字,且基於各預定關鍵字預先設置相應的處理方式,這樣,本發明在監測到的包含有預定關鍵字的通知消息時,可以利用該通知消息中所包含的預定關鍵字確定出該通知消息的處理方式,從而使本發明可以對包含有預定關鍵字的通知消息進行相應的處理,進而可以使不同的通知消息對應不同的處理方式,如針對通知消息進行增強提示處理或者警示提示處理或者與通知消息所屬的應用程式進行資訊互動等。由此可知,本發明提供的技術方案能夠對不同的通知消息進行不同的處理,在豐富了通知消息的處理方式的同時,還可以避免部分通知消息對使用者的打擾,提高了通知消息的智慧化處理程度。 Compared with the prior art, the present invention has the following advantages: the present invention can monitor the notification message of the application program by using the assistant tool interface based on the operating system of the smart electronic equipment, so as to facilitate the convenient, fast and accurate operation without disturbing the normal operation of the operating system. The notification message of the application is obtained; by monitoring whether the notification message contains a predetermined keyword, and presetting the corresponding processing method based on each predetermined keyword, in this way, the present invention monitors the notification message containing the predetermined keyword when , the processing method of the notification message can be determined by using the predetermined keyword contained in the notification message, so that the present invention can perform corresponding processing on the notification message containing the predetermined keyword, and then different notification messages can correspond to different , such as enhanced prompt processing or warning prompt processing for notification messages, or information interaction with the application to which the notification message belongs. It can be seen from this that the technical solution provided by the present invention can perform different processing on different notification messages, and while enriching the processing methods of notification messages, it can also avoid the interruption of some notification messages to users, and improve the wisdom of notification messages degree of processing.
300‧‧‧監測模組 300‧‧‧Monitoring Modules
301‧‧‧第一監測子模組 301‧‧‧First monitoring sub-module
302‧‧‧第二監測子模組 302‧‧‧Second monitoring sub-module
303‧‧‧第一查找子模組 303‧‧‧First lookup submodule
304‧‧‧第一確定子模組 304‧‧‧First Determined Submodule
305‧‧‧圖像識別子模組 305‧‧‧Image recognition sub-module
306‧‧‧第二查找子模組 306‧‧‧Second search submodule
307‧‧‧第二確定子模組 307‧‧‧Second determination submodule
310‧‧‧處理模組 310‧‧‧Processing Module
311‧‧‧第一處理子模組 311‧‧‧First processing sub-module
312‧‧‧第二處理子模組 312‧‧‧Second processing sub-module
313‧‧‧第三處理子模組 313‧‧‧Third processing sub-module
314‧‧‧增強提示子模組 314‧‧‧Enhanced Prompt Submodule
315‧‧‧預警提示子模組 315‧‧‧Warning Submodule
316‧‧‧調用子模組 316‧‧‧Calling submodules
透過閱讀參照以下圖式所作的對非限制性實施例所作的詳細描述,本發明的其它特徵、目的和優點將會變得更明顯:圖1為本發明實施例一的通知消息的處理方法流程圖;圖2為本發明實施例二的通知消息的處理方法流程圖; 圖3為本發明實施例三的通知消息的處理裝置結構示意圖;圖4為本發明實施例三的監測模組的一種結構示意圖;圖5為本發明實施例三的監測模組的另一種結構示意圖;圖6為本發明實施例三的第一監測子模組的一種結構示意圖;圖7為本發明實施例三的第一監測子模組的另一種結構示意圖;圖8為本發明實施例三的處理模組的一種結構示意圖;圖9為本發明實施例三的處理模組的另一種結構示意圖。 Other features, purposes and advantages of the present invention will become more apparent by reading the detailed description of the non-limiting embodiments with reference to the following drawings: FIG. 1 is a flow chart 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 notification messages according to Embodiment 2 of the present invention; Fig. 3 is a schematic structural diagram of an apparatus for processing notification messages according to Embodiment 3 of the present invention; Fig. 4 is a monitoring module according to Embodiment 3 of the present invention Schematic diagram of the structure; FIG. 5 is another schematic structural diagram of the monitoring module according to the third embodiment of the present invention; FIG. 6 is a structural schematic diagram of the first monitoring sub-module according to the third embodiment of the present invention; FIG. 7 is the third embodiment of the present invention. Another structural schematic diagram of the first monitoring sub-module; FIG. 8 is a structural schematic diagram of a processing module according to Embodiment 3 of the present invention; FIG. 9 is another structural schematic diagram of a processing module according to Embodiment 3 of the present invention.
圖式中相同或相似的圖式標記代表相同或相似的部件。 The same or similar reference numerals in the figures represent the same or similar parts.
為使本發明的目的、技術方案和優點更加清楚,下面將結合圖式對本發明的實施例作詳細描述。 In order to make the objectives, technical solutions and advantages of the present invention clearer, the embodiments of the present invention will be described in detail below with reference to the drawings.
在更加詳細地討論示例性實施例之前應當提到的是,一些示例性實施例被描述成作為流程圖描繪的處理或方法。雖然本發明的流程圖將各項操作描述成順序的處理,但是,其中的許多操作可以被並行地、併發地或者同時實 施。此外,各項操作的順序可以被重新安排。當其操作完成時所述處理可以被終止,但是還可以具有未包括在圖式中的附加步驟。所述處理可以對應於方法、函數、規程、子常式、副程式等等。 Before discussing the exemplary embodiments in greater detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts of the present invention describe the operations as sequential processing, many of the operations may be performed in parallel, concurrently, or concurrently. Additionally, the order of operations can be rearranged. The process may be terminated when its operation is complete, but may also have additional steps not included in the figures. The processes may correspond to methods, functions, procedures, subroutines, subroutines, and the like.
所述智慧電子設備包括使用者設備與網路設備。其中,所述使用者設備包括但不限於電腦、智慧行動電話以及PDA等;所述網路設備包括但不限於單個網路伺服器、多個網路伺服器組成的伺服器組或者基於雲計算(Cloud Computing)的由大量電腦或者網路伺服器構成的雲,其中,雲計算是分散式運算的一種,由一群鬆散耦合的電腦集組成的一個超級虛擬電腦。其中,所述智慧電子設備可以接入網路並與網路中的其他智慧電子設備進行資訊互動操作。其中,所述智慧電子設備所能夠接入的網路包括但不限於網際網路、廣域網路、都會區網路、區域網路、VPN網路等。 The smart electronic equipment includes user equipment and network equipment. Wherein, the user equipment includes but is not limited to computers, smart mobile phones, PDAs, etc.; the network equipment includes but is not limited to a single network server, a server group composed of multiple network servers, or cloud computing-based (Cloud Computing) is a cloud composed of a large number of computers or network servers. Cloud computing is a kind of distributed computing, a super virtual computer composed of a group of loosely coupled computer sets. Wherein, the smart electronic device can access the network and perform information interactive operation with other smart electronic devices in the network. Wherein, 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.
需要說明的是,所述使用者設備、網路設備以及網路等僅為舉例,其他現有的或今後可能出現的智慧電子設備或者網路如可適用於本申請,也應包含在本申請保護範圍以內,並以引用方式包含於此。 It should be noted that the user equipment, network equipment, and network are only examples. If other existing or future smart electronic equipment or networks are applicable to this application, they should also be included in the protection of this application. is in scope and is incorporated herein by reference.
後面描述所討論的方法(其中一些透過流程圖示出)實施例可以透過硬體、軟體、韌體、中介軟體、微代碼、硬體描述語言或者其任意組合的形式來實施。當用軟體、韌體、中介軟體或者微代碼來實施時,用以實施必要任務的程式碼或者程式碼片段可以被儲存在機器或電腦可讀媒 體(比如儲存媒體)中。(一個或多個)處理器可以實施必要的任務。 Embodiments of the methods discussed in the following description, some of which are illustrated by flow charts, may be implemented in hardware, software, firmware, middleware, microcode, hardware description languages, or any combination thereof. When implemented in software, firmware, middleware, or microcode, the code or code segments to perform the necessary tasks may be stored in a machine- or computer-readable medium, such as a storage medium. The processor(s) may perform the necessary tasks.
這裡所公開的具體結構和功能細節僅僅是代表性的,並且是用於描述本申請的示例性實施例的目的,但是,本申請可以透過許多替換形式來具體實現,並且不應當被解釋成僅僅受限於這裡所闡述的實施例。 Specific structural and functional details disclosed herein are merely representative and for purposes of describing example embodiments of the present application, however, the present application may be embodied in many alternative forms and should not be construed as merely Limited by the embodiments set forth herein.
應當理解的是,雖然在這裡可能使用了術語“第一”、“第二”等等來描述各個單元,但是這些單元不應當受這些術語限制。使用這些術語僅僅是為了將一個單元與另一個單元進行區分。舉例來說,在不背離示例性實施例的範圍的情況下,第一單元可以被稱為第二單元,並且類似地第二單元可以被稱為第一單元。這裡所使用的術語“和/或”包括其中一個或更多所列出的相關聯專案的任意和所有組合。 It will be understood that, although the terms "first," "second," etc. may be used herein to describe various elements, these elements should not be limited by these terms. These terms are used only to distinguish one unit from another. For example, a first element could be termed a second element, and, similarly, a second element could be termed a first element, without departing from the scope of example embodiments. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
應當理解的是,當一個單元被稱為“連接”或者“耦合”到另一個單元時,其可以直接連接或者耦合到所述另一個單元,也可以存在中間單元。與此相對的,當一個單元被稱為“直接連接”或者“直接耦合”到另一個單元時,則不存在中間單元。應當按照類似的方式來解釋被用於描述單元之間的關係的其他詞語(例如,“處於...之間”相比於“直接處於...之間”,“與...鄰近”相比於“與...直接鄰近”等等)。 It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. In contrast, when an element is referred to as being "directly connected" or "directly coupled" to another element, there are no intervening elements present. Other words used to describe the relationship between elements should be interpreted in a similar fashion (eg, "between" versus "directly between", "adjacent to" compared to "directly adjacent to" etc.).
這裡所使用的術語僅僅是為了描述具體實施例,而不是意圖限制示例性實施例。除非上下文中明確地另有所 指,否則,這裡所使用的單數形式“一個”、“一項”還意圖包括複數。還應當理解的是,這裡所使用的術語“包括”和/或“包含”規定了所陳述的特徵、整數、步驟、操作、單元和/或元件的存在,而不排除存在或者添加一個或更多的其他特徵、整數、步驟、操作、單元、元件和/或其組合。 The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the exemplary embodiments. As used herein, the singular forms "a", "an" and "an" are intended to include the plural unless the context clearly dictates otherwise. It should also be understood that the terms "comprising" and/or "comprising" as used herein specify the presence of stated features, integers, steps, operations, units and/or elements, but do not preclude the presence or addition of one or more Numerous other features, integers, steps, operations, units, elements and/or combinations thereof.
還應當提到的是,在一些替換實現方式中,所提到的功能/動作可以按照不同於圖式中標示的順序發生。舉例來說,取決於所涉及的功能/動作,相繼示出的兩幅圖實際上可以基本上同時執行或者有時可以按照相反的順序來執行。 It should also be noted that, in some alternative implementations, the functions/acts noted may occur out of the order noted in the figures. For example, two figures shown in succession may, in fact, be executed substantially concurrently or may sometimes be executed in the reverse order, depending upon the functionality/acts involved.
下面結合圖式對本申請的技術方案作進一步詳細描述。 The technical solutions of the present application will be described in further detail below with reference to the drawings.
實施例一、通知消息的處理方法。 Embodiment 1, a method for processing a notification message.
圖1為本實施例的通知消息的處理方法流程圖。如圖1所示,本實施例的方法主要包括:步驟S100以及步驟S110。本實施例所記載的方法通常是在智慧電子設備中被執行的,較佳的,本實施例所記載的方法通常是在智慧行動電話以及平板電腦等智慧電子移動設備(即使用者移動設備)中執行,如本實施例所記載的方法可以設置於智慧電子設備所安裝的應用程式(如阿裡錢盾應用程式)中,從而在應用程式被啟動後,本實施例所記載的方法得以執行。 FIG. 1 is a flowchart of a method for processing a notification message according to this embodiment. As shown in FIG. 1 , the method of this embodiment mainly includes: step S100 and step S110. The method described in this embodiment is usually executed in a smart electronic device. Preferably, the method described in this embodiment is usually executed in smart electronic mobile devices (ie, user mobile devices) such as smart mobile phones and tablet computers. The method described in this embodiment can be set in an application program (such as the Aliqian Shield application program) installed in the smart electronic device, so that after the application program is activated, the method described in this embodiment can be executed.
下面對圖1中的各步驟分別進行詳細描述。 Each step in FIG. 1 will be described in detail below.
S100、基於智慧電子設備作業系統的協助工具介面監測應用程式的通知消息。 S100 , a notification message of an application program is monitored based on an assistance tool interface of an operating system of an intelligent electronic device.
具體的,本實施例中的智慧電子設備作業系統的協助工具原本用於使使用者(如部分殘障使用者,具體可以為視力有障礙的用戶等)可以無障礙的使用其智慧電子設備,例如作業系統的協助工具可以具體為朗讀智慧電子設備的使用者介面中的文字,也可以具體為放大智慧電子設備的使用者介面中的文字等等。智慧電子設備作業系統通常對外提供開放式的協助工具介面,本實施例是基於協助工具介面來實現應用程式的通知消息的監測的。 Specifically, the assistance tool of the smart electronic device operating system in this embodiment is originally used to enable users (such as some disabled users, specifically users with visual impairments, etc.) to use their smart electronic devices without obstacles, such as The assistance tool of the operating system may specifically be reading aloud the text in the user interface of the smart electronic device, or may specifically be enlarging the text in the user interface of the smart electronic device, and so on. The operating system of the smart electronic device usually provides an open assistance tool interface to the outside, and the present embodiment implements the monitoring of the notification message of the application program based on the assistance tool interface.
作為示例,本實施例中的智慧電子設備通常為基於Android(安卓)作業系統的智慧電子設備,如果其他作業系統也提供協助工具介面,則本實施例的智慧電子設備也可以為基於其他作業系統的智慧電子設備。 As an example, the smart electronic device in this embodiment is usually a smart electronic device based on the Android (Android) operating system. If other operating systems also provide assistance tool interfaces, the smart electronic device in this embodiment can also be based on other operating systems. smart electronic devices.
作為示例,本實施例在實施過程中,如果智慧電子設備的作業系統所提供的協助工具沒有處於開啟狀態,則應先執行將智慧電子設備的作業系統所提供的協助工具開啟的操作,如透過逐步的引導智慧電子設備使用者,使智慧電子設備使用者將智慧電子設備作業系統所提供的協助工具設置為開啟狀態。 As an example, during the implementation process of this embodiment, if the assistance tool provided by the operating system of the smart electronic device is not enabled, the operation of enabling the assistance tool provided by the operating system of the smart electronic device should be performed first, such as through The smart electronic device user is guided step by step, so that the smart electronic device user sets the assistance tool provided by the smart electronic device operating system to an open state.
作為示例,本實施例透過智慧電子設備作業系統的協助工具介面所監測的應用程式的通知消息可以為系統應用程式的通知消息,也可以為協力廠商應用程式的通知消息。本實施例中的系統應用程式的通知消息可以為短消息 應用程式的通知消息,如短消息應用程式在接收到新的短消息時而產生的通知消息。本實施例中的協力廠商應用程式的通知消息可以為即時通訊應用程式的通知消息,如微信應用程式在接收到新的資訊時而產生的通知消息等,本實施例中的協力廠商應用程式的通知消息也可以為應用程式用戶端的推送新資訊的通知消息,如搜狐視頻用戶端或者騰訊新聞應用程式用戶端等希望向使用者推送新視頻/新聞的資訊時而產生的通知消息。 As an example, the notification message of the application program monitored through the assistance tool interface of the operating system of the smart electronic device in this embodiment may be the notification message of the system application program or the notification message of the third-party application program. 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 program in this embodiment may be a notification message of an instant messaging application, such as a notification message generated when a WeChat application receives new information. The notification message can also be a notification message for pushing new information from the application client, such as the notification message generated when the Sohu video client or the Tencent News application client wants to push new video/news information to the user.
作為第一個示例,本實施例的基於智慧電子設備作業系統的協助工具介面監測應用程式的通知消息可以具體為:基於智慧電子設備作業系統的協助工具介面對應用程式的通知消息的消息內容進行監測,如基於智慧電子設備作業系統的協助工具介面監測應用程式的通知消息的消息內容中是否包含有關鍵字集合中的預定關鍵字。本實施例中的關鍵字集合中通常包含有一個預定關鍵字或者多個不同的預定關鍵字,且本實施例的關鍵字集合中的預定關鍵字可以是從雲伺服器處下載的預定關鍵字(如定時或者不定時的從雲伺服器處更新智慧電子設備本機存放區的關鍵字集合),也可以是智慧電子設備自訂的預定關鍵字,即智慧電子設備的使用者自行設置預定關鍵字也可以儲存於關鍵字集合中。 As a first example, the assistance tool interface based on the operating system of the smart electronic device in this embodiment monitors the notification message of the application program may specifically be: the assistance tool interface based on the operating system of the smart electronic device monitors the message content of the notification message of the application program. Monitoring, for example, based on the assistance tool interface of the operating system of the smart electronic device, monitoring whether the message content of the notification message of the application program includes a predetermined keyword in the keyword set. The keyword set in this embodiment usually includes one predetermined keyword or a plurality of different predetermined keywords, and the predetermined keyword in the keyword set in this embodiment may be a predetermined keyword downloaded from a cloud server (For example, the set of keywords in the local storage area of the smart electronic device is updated from the cloud server regularly or irregularly), or it can be a predetermined keyword customized by the smart electronic device, that is, the user of the smart electronic device sets the predetermined key by himself. Words can also be stored in keyword sets.
上述第一個示例的一個具體實現方式為:本實施例可以透過基於智慧電子設備作業系統的協助工具介面獲取到通知消息的消息內容,在該通知消息的消息內容包含有文 本資訊(如該通知消息的消息內容全部為文本資訊)的情況下,本實施例可以根據本機存放區的關鍵字集合中的預定關鍵字在該通知消息的文本資訊中進行匹配查找(在關鍵字集合中包括多個不同的預定關鍵字時,可以針對每一個預定關鍵字分別在該通知消息的文本資訊中進行匹配查找),以判斷該通知消息的文本資訊中是否存在與關鍵字集合中的預定關鍵字相匹配的資訊,在查找結果為通知消息的文本資訊中存在與關鍵字集合中的預定關鍵字相匹配的資訊時,確定出監測到包含有預定關鍵字的通知消息,否則,確定出該通知消息中沒有包含有預定關鍵字。一個更為具體的例子,設定關鍵字集合中包含有“紅包”這一預定關鍵字,本實施例在透過基於智慧電子設備作業系統的協助工具介面獲取到通知消息後,在該通知消息的消息內容包含有文本資訊的情況下,根據預定關鍵字“紅包”在該通知消息的文本資訊中進行匹配查找,以判斷該通知消息的文本資訊中是否存在與“紅包”相匹配的資訊,在查找結果為通知消息的文本資訊中存在與預定關鍵字“紅包”相匹配的資訊時,確定出監測到包含有預定關鍵字“紅包”的通知消息,否則,確定出該通知消息中沒有包含有預定關鍵字“紅包”。 A specific implementation of the above-mentioned first example is: in this embodiment, the message content of the notification message can be obtained through the assistance tool interface based on the operating system of the smart electronic device, and the message content of the notification message includes text information (such as the notification message). In the case where the message content of the message is all text information), in this embodiment, a matching search can be performed in the text information of the notification message according to a predetermined keyword in the keyword set in the local storage area (the keyword set includes multiple keywords. When there are different predetermined keywords, a matching search can be performed for each predetermined keyword in the text information of the notification message) to determine whether there is a predetermined keyword in the text information of the notification message that matches the predetermined keyword in the keyword set. Matching information, when the search result is that there is information matching the predetermined keyword in the keyword set in the text information of the notification message, it is determined that the notification message containing the predetermined keyword is monitored, otherwise, the notification message is determined. does not contain predetermined keywords. A more specific example is that the set keyword set contains the predetermined keyword "red envelope". In this embodiment, after the notification message is obtained through the assistance tool interface based on the operating system of the smart electronic device, the message of the notification message is added. In the case that the content contains text information, a matching search is performed in the text information of the notification message according to the predetermined keyword "red envelope" to determine whether there is information matching the "red envelope" in the text information of the notification message. The result is that when there is information matching the predetermined keyword "red envelope" in the text information of the notification message, it is determined that the notification message containing the predetermined keyword "red envelope" is detected; otherwise, it is determined that the notification message does not contain the predetermined keyword "red envelope". Keyword "red envelopes".
上述第一個示例的另一個具體實現方式可以為:本實施例可以透過基於智慧電子設備作業系統的協助工具介面獲取到通知消息的消息內容,在該通知消息的消息內容包含有圖片(如該通知消息的消息內容全部為圖片或者該通 知消息的消息內容部分為圖片)的情況下,本實施例可以首先針對通知消息中的圖片執行圖像識別操作,以將通知消息中的圖片轉換為文本資訊,然後,本實施例再根據本機存放區的關鍵字集合中的預定關鍵字在圖像識別所獲得的文本資訊中進行匹配查找(在關鍵字集合中包括多個不同的預定關鍵字時,本實施例可以針對每一個預定關鍵字分別在圖像識別所獲得的文本資訊中進行匹配查找),以判斷圖像識別所獲得的文本資訊中是否存在與關鍵字集合中的預定關鍵字相匹配的資訊,在查找結果為圖像識別所獲得的文本資訊中存在與關鍵字集合中的預定關鍵字相匹配的資訊時,確定出監測到包含有預定關鍵字的通知消息,否則,確定出該通知消息中沒有包含有預定關鍵字。一個更為具體的例子,設定關鍵字集合中包含有“紅包”這一預定關鍵字,本實施例在透過基於智慧電子設備作業系統的協助工具介面獲取到通知消息的消息內容後,在該通知消息的消息內容包含有圖片(即該通知消息的消息內容全部為圖片或者該通知消息的消息內容部分為圖片)的情況下,應首先針對該通知消息中的圖片執行圖像識別操作,以將通知消息中的圖片轉換為文本資訊,然後,根據預定關鍵字“紅包”在圖像識別所獲得的文本資訊中進行匹配查找,以判斷圖像識別所獲得的文本資訊中是否存在與“紅包”相匹配的資訊,在查找結果為圖像識別所獲得的文本資訊中存在與“紅包”相匹配的資訊時,確定出監測到包含有“紅包”的通知消息,否則,確定出該通知消 息中沒有包含有“紅包”。 Another specific implementation manner of the above-mentioned first example may be: in this embodiment, the message content of the notification message can be obtained through the assistance tool interface based on the operating system of the smart electronic device, and the message content of the notification message includes a picture (such as the If the message content of the notification message is all pictures or the message content part of the notification message is a picture), this embodiment may first perform an image recognition operation on the pictures in the notification message to convert the pictures in the notification message into text Then, in this embodiment, a matching search is performed in the text information obtained by image recognition according to the predetermined keywords in the keyword set in the local storage area (when the keyword set includes multiple different predetermined keywords) , in this embodiment, for each predetermined keyword, a matching search can be performed in the text information obtained by image recognition) to determine whether there is a predetermined keyword in the keyword set in the text information obtained by image recognition. Matching information, when the search result is that there is information matching the predetermined keywords in the keyword set in the text information obtained by image recognition, it is determined that a notification message containing the predetermined keywords is detected; otherwise, it is determined that The notification message does not contain a predetermined keyword. A more specific example, the set keyword set contains the predetermined keyword "red envelope". In this embodiment, after acquiring the message content of the notification message through the assistance tool interface based on the operating system of the smart electronic device, the notification If the message content of the message contains a picture (that is, the message content of the notification message is all pictures or the message content part of the notification message is a picture), the image recognition operation should be performed first for the pictures in the notification message to The picture in the notification message is converted into text information, and then, according to the predetermined keyword "red envelope", a matching search is performed in the text information obtained by image recognition to determine whether there is a "red envelope" in the text information obtained by image recognition. Matching information, when the search result is that there is information matching the "red envelope" in the text information obtained by image recognition, it is determined that the notification message containing the "red envelope" is detected; otherwise, it is determined that the notification message contains the information. No "red envelopes" are included.
需要說明的是,在本實施例透過基於智慧電子設備作業系統的協助工具介面獲取到通知消息,且該通知消息的消息內容既包含有文本資訊,又包含有圖片的情況下,本實施例可以僅針對通知消息中的文本資訊進行是否包含有預定關鍵字的判斷,也可以僅針對通知消息中的圖片進行是否包含有預定關鍵字的判斷,還可以既針對通知消息中的文本資訊進行是否包含有預定關鍵字的判斷又針對通知消息中的圖片進行是否包含有預定關鍵字的判斷,具體過程不再詳細描述。下述第二個示例、第三個示例以及第四個示例也是如此,在本實施例中同樣不再逐一詳細說明。 It should be noted that, in the case where the notification message is obtained through the assistance tool interface based on the operating system of the smart electronic device in this embodiment, and the message content of the notification message contains both text information and pictures, this embodiment can Whether the text information in the notification message contains the predetermined keyword is judged only, the picture in the notification message can be judged whether the predetermined keyword is contained, or whether the text information in the notification message contains the predetermined keyword. The determination of the presence of the predetermined keyword is also performed to determine whether the picture in the notification message contains the predetermined keyword, and the specific process will not be described in detail. The same is true for the following second example, third example, and fourth example, and will not be described in detail in this embodiment.
作為第二個示例,本實施例的基於智慧電子設備作業系統的協助工具介面監測應用程式的通知消息可以具體為:基於智慧電子設備作業系統的協助工具介面對應用程式的通知消息的消息內容以及通知消息所屬應用程式的應用程式屬性資訊進行監測,如基於智慧電子設備作業系統的協助工具介面監測應用程式的通知消息的消息內容中是否包含有關鍵字集合中的預定關鍵字以及通知消息所屬應用程式的應用程式屬性資訊是否符合預定條件(該預定條件可以稱為預定應用程式屬性條件)。本實施例中的應用程式屬性資訊可以包括:應用程式包名稱、應用程式名稱、應用程式類型(如系統應用程式或者協力廠商應用程式)、應用程式安裝後佔用的空間以及應用程式啟動後佔用的記憶體中的任意一項或者多項。本實施例中的預定應 用程式屬性條件通常是結合預定關鍵字而設置的,且通常情況下,針對一個預定關鍵字可以對應設置一個預定應用程式屬性條件,然而,在實際應用中本實施例並不排除針對一個預定關鍵字對應設置多個預定應用程式屬性條件的情況;另外,本實施例的預定應用程式屬性條件可以是從雲伺服器處下載的預定應用程式屬性條件(如定時或者不定時的從雲伺服器處更新智慧電子設備本地的預定應用程式屬性條件),也可以是智慧電子設備自訂的預定應用程式屬性條件,即智慧電子設備的使用者可以自行設置預定應用程式屬性條件。本實施例可以根據應用程式屬性資訊所包含的內容基於實際需求靈活的設置預定應用程式屬性條件,在此不再針對根據應用程式屬性資訊所包含的內容如何設置預定應用程式屬性條件進行逐一詳細的例舉說明。 As a second example, the notification message of the monitoring application program based on the assistant tool interface based on the operating system of the smart electronic device in this embodiment may be specifically: the message content of the notification message for the application program based on the assistant tool interface based on the operating system of the smart electronic device and The application attribute information of the application to which the notification message belongs is monitored, for example, based on the assistance tool interface of the operating system of the smart electronic device to monitor whether the message content of the notification message of the application program contains the predetermined keyword in the keyword set and the application to which the notification message belongs. Whether the application attribute information of the program meets a predetermined condition (the predetermined condition may be referred to as a predetermined application attribute condition). The application attribute information in this embodiment may include: application package name, application name, application type (such as a system application or a third-party application), the space occupied by the application after installation, and the space occupied after the application is started. Any one or more items in memory. The predetermined application attribute condition in this embodiment is usually set in combination with a predetermined keyword, and in general, a predetermined application attribute condition can be correspondingly set for a predetermined keyword. However, in practical applications, this embodiment does not It is not excluded that a plurality of predetermined application attribute conditions are set corresponding to a predetermined keyword; in addition, the predetermined application attribute condition of this embodiment may be a predetermined application attribute condition (such as timed or irregular) downloaded from the cloud server. It can also be a predetermined application property condition customized by the smart electronic device, that is, the user of the smart electronic device can set the predetermined application property condition by himself. In this embodiment, predetermined application property conditions can be flexibly set based on actual needs according to the content contained in the application property information, and details on how to set the predetermined application property conditions according to the content contained in the application property information will not be detailed here. Give an example.
上述第二個示例的一個具體實現方式為:本實施例可以透過基於智慧電子設備作業系統的協助工具介面獲取到通知消息的消息內容以及該通知消息所屬應用程式的應用程式屬性資訊,在該通知消息的消息內容包含有文本資訊(如通知消息的消息內容全部為文本資訊)的情況下,本實施例根據本機存放區的關鍵字集合中的預定關鍵字在該通知消息的文本資訊中進行匹配查找(在關鍵字集合中包括多個不同的預定關鍵字時,本實施可以針對每一個預定關鍵字分別在該通知消息的文本資訊中進行匹配查找),以判斷該通知消息的文本資訊中是否存在與關鍵字集合中 的預定關鍵字相匹配的資訊,在查找結果為通知消息的文本資訊中不存在與關鍵字集合中的預定關鍵字相匹配的資訊的情況下,確定出該通知消息中沒有包含有預定關鍵字;而在查找結果為通知消息的文本資訊中存在與關鍵字集合中的預定關鍵字相匹配的資訊的情況下,本實施例應繼續判斷上述獲取到的應用程式屬性資訊是否滿足通知消息包含的預定關鍵字所對應的預定應用程式屬性條件,如果獲取到的應用程式屬性資訊滿足通知消息包含的預定關鍵字所對應的預定應用程式屬性條件,則可以確定出監測到包含有預定關鍵字的通知消息且該通知消息所屬應用程式的應用程式屬性資訊符合預定應用程式屬性條件,否則,確定出雖然監測到包含有預定關鍵字的通知消息但是該通知消息所屬應用程式的應用程式屬性資訊不符合預定應用程式屬性條件。一個更為具體的例子,設定關鍵字集合中包含有“紅包”這一預定關鍵字,且設定預定關鍵字“紅包”所對應的預定應用程式屬性條件為:應用程式包名稱為“com.tencent.mm”(即微信官方規定的微信包名稱),本實施例在透過基於智慧電子設備作業系統的協助工具介面獲取到通知消息的消息內容以及通知消息所屬應用程式的應用程式屬性資訊後,在該通知消息的消息內容包含有文本資訊(如該通知消息的消息內容全部為文本資訊)的情況下,根據預定關鍵字“紅包”在該通知消息的文本資訊中進行匹配查找,以判斷該通知消息的文本資訊中是否存在與“紅包”相匹配的資訊,在查找結果為通知 消息的文本資訊中不存在與預定關鍵字“紅包”相匹配的資訊時,確定出該通知消息中沒有包含有預定關鍵字“紅包”,而在查找結果為通知消息的文本資訊中存在與預定關鍵字“紅包”相匹配的資訊時,則繼續判斷該通知消息所屬應用程式的應用程式包名稱是否為“com.tencent.mm”,如果該通知消息所屬應用程式的應用程式包名稱為“com.tencent.mm”,則確定出監測到包含有“紅包”的通知消息且該通知消息所屬應用程式的應用程式屬性資訊滿足預定應用程式屬性條件,否則,確定出雖然監測到包含有“紅包”的通知消息但是該通知消息所屬應用程式的應用程式屬性資訊不滿足預定應用程式屬性條件。 A specific implementation of the second example above is: in this embodiment, the message content of the notification message and the application attribute information of the application to which the notification message belongs can be obtained through the assistance tool interface based on the operating system of the smart electronic device. In the case where the message content of the message contains text information (for example, the message content of the notification message is all text information), this embodiment performs the processing in the text information of the notification message according to the predetermined keyword in the keyword set in the local storage area. Matching search (when the keyword set includes multiple different predetermined keywords, this implementation may perform matching search in the text information of the notification message for each predetermined keyword) to determine whether the text information of the notification message contains Whether there is information matching the predetermined keywords in the keyword set, if the search result is that there is no information matching the predetermined keywords in the keyword set in the text information of the notification message, determine the notification message does not contain a predetermined keyword; and when the search result is that there is information matching the predetermined keyword in the keyword set in the text information of the notification message, this embodiment should continue to judge the above-obtained application attributes Whether the information satisfies the predetermined application attribute condition corresponding to the predetermined keyword contained in the notification message, if the obtained application attribute information satisfies the predetermined application attribute condition corresponding to the predetermined keyword contained in the notification message, it can be determined that the monitoring A notification message containing a predetermined keyword and the application attribute information of the application to which the notification message belongs meets the predetermined application attribute conditions; otherwise, it is determined that although a notification message containing a predetermined keyword is detected, the notification message belongs to the application. The application attribute information does not meet the predetermined application attribute criteria. A more specific example, set the keyword set to include the predetermined keyword "red envelope", and set the predetermined application attribute condition corresponding to the predetermined keyword "red envelope" as follows: the application package name is "com.tencent". .mm” (that is, the WeChat package name officially specified by WeChat). In this embodiment, after obtaining the message content of the notification message and the application attribute information of the application to which the notification message belongs through the assistance tool interface based on the operating system of the smart electronic device, the If the message content of the notification message contains text information (for example, the message content of the notification message is all text information), a matching search is performed in the text information of the notification message according to the predetermined keyword "red envelope" to determine the notification message. Whether there is information matching the "red envelope" in the text information of the message, when the search result is that there is no information matching the predetermined keyword "red envelope" in the text information of the notification message, it is determined that the notification message does not contain any information The predetermined keyword "red envelope", and when the search result is that there is information matching the predetermined keyword "red envelope" in the text information of the notification message, continue to determine whether the application package name of the application to which the notification message belongs 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 containing the "red envelope" and the application to which the notification message belongs is detected. The attribute information satisfies the predetermined application attribute condition, otherwise, it is determined that although the notification message containing the "red envelope" is detected, the application attribute information of the application to which the notification message belongs does not meet the predetermined application attribute condition.
上述第二個示例的另一個具體實現方式可以為,本實施例可以透過基於智慧電子設備作業系統的協助工具介面獲取到通知消息的消息內容以及該通知消息所屬應用程式的應用程式屬性資訊,在該通知消息的消息內容包含有圖片(如該通知消息的消息內容全部為圖片或者該通知消息的消息內容部分為圖片)的情況下,本實施例可以首先針對通知消息中的圖片執行圖像識別操作,以將通知消息中的圖片轉換為文本資訊,然後,本實施例再根據本機存放區的關鍵字集合中的預定關鍵字在圖像識別所獲得的文本資訊中進行匹配查找(在關鍵字集合中包括多個不同的預定關鍵字時,本實施例可以針對每一個預定關鍵字分別在圖像識別所獲得的文本資訊中進行匹配查找),以判斷圖 像識別所獲得的文本資訊中是否存在與關鍵字集合中的預定關鍵字相匹配的資訊,在查找結果為圖像識別所獲得的文本資訊中不存在與關鍵字集合中的預定關鍵字相匹配的資訊的情況下,確定出該通知消息中沒有包含有預定關鍵字;而在查找結果為圖像識別所獲得的文本資訊中存在與關鍵字集合中的預定關鍵字相匹配的資訊的情況下,本實施例應繼續判斷上述獲取到的應用程式屬性資訊是否滿足通知消息包含的預定關鍵字所對應的預定應用程式屬性條件,如果獲取到的應用程式屬性資訊滿足通知消息包含的預定關鍵字所對應的預定應用程式屬性條件,則可以確定出監測到包含有預定關鍵字的通知消息且該通知消息所屬應用程式的應用程式屬性資訊符合預定應用程式屬性條件,否則,確定出雖然監測到包含有預定關鍵字的通知消息但是該通知消息所屬應用程式的應用程式屬性資訊不符合預定應用程式屬性條件。一個更為具體的例子,設定關鍵字集合中包含有“紅包”這一預定關鍵字,且設定預定關鍵字“紅包”所對應的預定應用程式屬性條件為:應用程式包名稱為“com.tencent.mm”(即微信官方規定的微信包名稱),本實施例在透過基於智慧電子設備作業系統的協助工具介面獲取到通知消息的消息內容以及通知消息所屬應用程式的應用程式屬性資訊後,在該通知消息的消息內容包含有圖片(如該通知消息的消息內容全部為圖片)的情況下,應首先針對該通知消息中的圖片執行圖像識別操作,以將通知消息中的圖片轉換為文本資訊,然 後,根據本機存放區的預定關鍵字“紅包”在圖像識別所獲得的文本資訊中進行匹配查找,以判斷圖像識別所獲得的文本資訊中是否存在與“紅包”相匹配的資訊,在查找結果為圖像識別所獲得的文本資訊中不存在與預定關鍵字“紅包”相匹配的資訊時,確定出該通知消息中沒有包含有預定關鍵字“紅包”,而在查找結果為圖像識別所獲得的文本資訊中存在與預定關鍵字“紅包”相匹配的資訊時,則繼續判斷該通知消息所屬應用程式的應用程式包名稱是否為“com.tencent.mm”,如果該通知消息所屬應用程式的應用程式包名稱為“com.tencent.mm”,則確定出監測到包含有“紅包”的通知消息且該通知消息所屬應用程式的應用程式屬性資訊滿足預定應用程式屬性條件,否則,確定出雖然監測到包含有“紅包”的通知消息但是該通知消息所屬應用程式的應用程式屬性資訊不滿足預定應用程式屬性條件。 Another specific implementation of the second example above may be that, in this embodiment, the message content of the notification message and the application attribute information of the application to which the notification message belongs can be obtained through the assistance tool interface based on the operating system of the smart electronic device, and In the case where the message content of the notification message contains pictures (for example, the message content of the notification message is all pictures or the message content of the notification message is partly pictures), this embodiment may first perform image recognition on the pictures in the notification message operation to convert the picture in the notification message into text information, and then, in this embodiment, a matching search is performed in the text information obtained by image recognition according to the predetermined keyword in the keyword set in the local storage area (in the key When the word set includes a plurality of different predetermined keywords, in this embodiment, the text information obtained by image recognition can be matched and searched for each predetermined keyword respectively), so as to determine whether the text information obtained by image recognition is in the text information obtained by image recognition. Whether there is information matching the predetermined keywords in the keyword set, if the search result is that there is no information matching the predetermined keywords in the keyword set in the text information obtained by image recognition, determine whether The notification message does not contain a predetermined keyword; and when the search result is that there is information matching the predetermined keyword in the keyword set in the text information obtained by image recognition, this embodiment should continue to judge the above Whether the acquired application attribute information satisfies the predetermined application attribute condition corresponding to the predetermined keyword contained in the notification message, if the acquired application attribute information satisfies the predetermined application attribute condition corresponding to the predetermined keyword contained in the notification message, Then it can be determined that a notification message containing a predetermined keyword is detected and the application attribute information of the application to which the notification message belongs meets the predetermined application attribute condition; otherwise, it is determined that although a notification message containing a predetermined keyword is detected, the The application attribute information of the application to which the notification message belongs does not meet the predetermined application attribute criteria. A more specific example, set the keyword set to include the predetermined keyword "red envelope", and set the predetermined application attribute condition corresponding to the predetermined keyword "red envelope" as follows: the application package name is "com.tencent". .mm” (that is, the WeChat package name officially specified by WeChat). In this embodiment, after obtaining the message content of the notification message and the application attribute information of the application to which the notification message belongs through the assistance tool interface based on the operating system of the smart electronic device, the If the message content of the notification message contains pictures (for example, the message content of the notification message is all pictures), an image recognition operation should first be performed on the pictures in the notification message to convert the pictures in the notification message into text. Then, according to the predetermined keyword "red envelope" in the local storage area, a matching search is performed in the text information obtained by image recognition to determine whether there is a matching "red envelope" in the text information obtained by image recognition. information, when the search result is that there is no information matching the predetermined keyword "red envelope" in the text information obtained by image recognition, it is determined that the notification message does not contain the predetermined keyword "red envelope", and in the search result When there is information matching the predetermined keyword "red envelope" in the text information obtained for image recognition, continue to judge whether the application package name of the application to which the notification message belongs is "com.tencent.mm", if the If the application package name of the application to which the notification message belongs is "com.tencent.mm", it is determined that a notification message containing a "red envelope" is detected and the application attribute information of the application to which the notification message belongs satisfies the predetermined application attribute condition , otherwise, it is determined that although a notification message containing a "red envelope" is detected, the application attribute information of the application to which the notification message belongs does not meet the predetermined application attribute condition.
作為第三個示例,本實施例的基於智慧電子設備作業系統的協助工具介面監測應用程式的通知消息可以具體為:基於智慧電子設備作業系統的協助工具介面對應用程式的通知消息的消息內容和通知消息的消息屬性資訊進行監測,如基於智慧電子設備作業系統的協助工具介面監測應用程式的通知消息的消息內容中是否包含有關鍵字集合中的預定關鍵字以及通知消息的消息屬性資訊是否符合預定條件(該預定條件可以稱為預定消息屬性條件)。本實施例中的消息屬性資訊可以包括:消息時間(如消息發送 時間或者消息接收時間等)以及消息發送方資訊中的任意一項或者兩項。本實施例中的預定消息屬性條件通常是結合預定關鍵字而設置的,且通常情況下,針對一個預定關鍵字可以對應設置一個預定消息屬性條件,然而,在實際應用中本實施例並不排除針對一個預定關鍵字對應設置多個預定消息屬性條件的情況;另外,本實施例的預定消息屬性條件可以是從雲伺服器處下載的預定消息屬性條件(如定時或不定時的從雲伺服器處更新智慧電子設備本地的預定消息屬性條件),也可以是智慧電子設備自訂的預定消息屬性條件,即智慧電子設備的使用者可以自行設置預定消息屬性條件。本實施例可以根據消息屬性資訊所包含的內容基於實際需求靈活的設置預定消息屬性條件,在此不再針對根據消息屬性資訊所包含的內容如何設置預定消息屬性條件進行逐一詳細的例舉說明。 As a third example, the notification message of the monitoring application based on the assistant tool interface based on the operating system of the smart electronic device in this embodiment may be specifically: the message content of the notification message for the application based on the assistant tool interface based on the operating system of the smart electronic device and Monitor the message attribute information of the notification message, such as monitoring whether the message content of the notification message of the application program contains the predetermined keywords in the keyword set and whether the message attribute information of the notification message conforms to the auxiliary tool interface of the operating system of the smart electronic device. A predetermined condition (the 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, etc.) and message sender information. The predetermined message attribute condition in this embodiment is usually set in combination with a predetermined keyword, and in general, a predetermined message attribute condition can be correspondingly set for a predetermined keyword. However, in practical applications, this embodiment does not exclude For a situation where multiple predetermined message attribute conditions are set corresponding to one predetermined keyword; in addition, the predetermined message attribute condition in this embodiment may be a predetermined message attribute condition downloaded from the cloud server (for example, from the cloud server periodically or irregularly) The predetermined message attribute condition locally updated on the smart electronic device) can also be a predetermined message attribute condition customized by the smart electronic device, that is, the user of the smart electronic device can set the predetermined message attribute condition by himself. In this embodiment, predetermined message attribute conditions can be flexibly set based on actual requirements according to the content contained in the message attribute information, and detailed examples of how to set the predetermined message attribute conditions according to the content contained in the message attribute information will not be exemplified here.
上述第三個示例的一個具體實現方式為:本實施例可以透過基於智慧電子設備作業系統的協助工具介面獲取到通知消息的消息內容以及該通知消息的消息屬性資訊,在該通知消息的消息內容包含有文本資訊(如通知消息的消息內容全部為文本資訊)的情況下,本實施例根據本機存放區的關鍵字集合中的預定關鍵字在該通知消息的文本資訊中進行匹配查找(在關鍵字集合中包括多個不同的預定關鍵字時,本實施可以針對每一個預定關鍵字分別在該通知消息的文本資訊中進行匹配查找),以判斷通知消息的文本資訊中是否存在與關鍵字集合中的預定關鍵字相匹配 的資訊,在查找結果為通知消息的文本資訊中不存在與關鍵字集合中的預定關鍵字相匹配的資訊的情況下,確定出該通知消息中沒有包含有預定關鍵字;而在查找結果為通知消息的文本資訊中存在與關鍵字集合中的預定關鍵字相匹配的資訊的情況下,本實施例應繼續判斷上述獲取到的消息屬性資訊是否滿足通知消息包含的預定關鍵字所對應的預定消息屬性條件,如果獲取到的消息屬性資訊滿足通知消息包含的預定關鍵字所對應的預定消息屬性條件,則可以確定出監測到包含有預定關鍵字的通知消息且該通知消息的消息屬性資訊符合預定消息屬性條件,否則,確定出雖然監測到包含有預定關鍵字的通知消息但是該通知消息的消息屬性資訊不符合預定消息屬性條件。一個更為具體的例子,設定關鍵字集合中包含有“火車票”這一預定關鍵字,且設定預定關鍵字“火車票”所對應的預定消息屬性條件為:消息發送方的號段屬於預定號段且通知消息發送時間屬於訂票高峰時段(如節假日前後的一段時日),本實施例在透過基於智慧電子設備作業系統的協助工具介面獲取到通知消息的消息內容以及通知消息的消息屬性資訊後,在該通知消息的消息內容包含有文本資訊(如該通知消息的消息內容全部為文本資訊)的情況下,根據預定關鍵字“火車票”在該通知消息的文本資訊中進行匹配查找,以判斷該通知消息的文本資訊中是否存在與“火車票”相匹配的資訊,在查找結果為通知消息的文本資訊中不存在與預定關鍵字“火車票”相匹配的資訊時, 確定出該通知消息中沒有包含有預定關鍵字“火車票”,而在查找結果為通知消息的文本資訊中存在與預定關鍵字“火車票”相匹配的資訊時,則繼續判斷該通知消息的消息發送方的號段是否屬於本機存放區的預定號段以及通知消息的消息發送時間是否屬於訂票高峰時段(本機存放區的預定號段以及訂票高峰時段可以從雲伺服器處下載,也可以由用戶自行設置),如果該通知消息的消息發送方的號段屬於本機存放區的預定號段且消息發送時間屬於訂票高峰時段,則確定出監測到包含有“火車票”的通知消息且該通知消息的消息屬性資訊滿足預定消息屬性條件,否則,確定出雖然監測到包含有“火車票”的通知消息但是該通知消息的消息屬性資訊不滿足預定消息屬性條件。 A specific implementation of the third example above is: in this embodiment, the message content of the notification message and the message attribute information of the notification message can be obtained through the assistance tool interface based on the operating system of the smart electronic device, and the message content of the notification message can be obtained in the present embodiment. In the case of including text information (for example, the message content of the notification message is all text information), this embodiment performs a matching search in the text information of the notification message according to the predetermined keyword in the keyword set in the local storage area (in When the keyword set includes a plurality of different predetermined keywords, this implementation may perform a matching search in the text information of the notification message for each predetermined keyword) to determine whether there is a keyword in the text information of the notification message. Information matching the predetermined keywords in the set, if the search result is that there is no information matching the predetermined keywords in the keyword set in the text information of the notification message, it is determined that the notification message does not contain the predetermined keyword. If the search result is that there is information matching the predetermined keywords in the keyword set in the text information of the notification message, this embodiment should continue to judge whether the acquired message attribute information satisfies the notification message contains If the obtained message attribute information satisfies the predetermined message attribute condition corresponding to the predetermined keyword contained in the notification message, it can be determined that the notification message containing the predetermined keyword is monitored and The message attribute information of the notification message complies with 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. As a more specific example, it is set that the keyword set contains the predetermined keyword "train ticket", and the predetermined message attribute condition corresponding to the predetermined keyword "train ticket" is set as follows: the number segment of the message sender belongs to the reservation. number segment and the sending time of the notification message belongs to the peak booking period (such as a period of time before and after a holiday), this embodiment obtains the message content of the notification message and the message attribute of the notification message through the assistance tool interface based on the operating system of the smart electronic device After the information, if the message content of the notification message contains text information (for example, the message content of the notification message is all text information), a matching search is performed in the text information of the notification message according to the predetermined keyword "train ticket" , to determine whether there is information matching "train ticket" in the text information of the notification message, and when the search result is that there is no information matching the predetermined keyword "train ticket" in the text information of the notification message, determine The notification message does not contain the predetermined keyword "train ticket", and when the search result is that there is information matching the predetermined keyword "train ticket" in the text information of the notification message, continue to judge the message sending of the notification message Whether the party's number segment belongs to the scheduled number segment of the local storage area and whether the message sending time of the notification message belongs to the peak booking period (the scheduled number segment and the peak booking period of the local storage area can be downloaded from the cloud server, or It can be set by the user), if the number segment of the message sender of the notification message belongs to the predetermined number segment of the local storage area and the message sending time belongs to the peak booking period, it is determined that a notification containing "train ticket" is detected. message 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 "train ticket" is detected, the message attribute information of the notification message does not meet the predetermined message attribute condition.
上述第三個示例的另一個具體實現方式可以為,本實施例可以透過基於智慧電子設備作業系統的協助工具介面獲取到通知消息的消息內容以及該通知消息的消息屬性資訊,在通知消息的消息內容包含有圖片(如該通知消息的消息內容全部為圖片或該通知消息的消息內容部分為圖片)的情況下,本實施例可以首先針對通知消息中的圖片執行圖像識別操作,以將通知消息中的圖片轉換為文本資訊,然後,本實施例再根據本機存放區的關鍵字集合中的預定關鍵字在圖像識別所獲得的文本資訊中進行匹配查找(在關鍵字集合中包括多個不同的預定關鍵字時,本實施例可以針對每一個預定關鍵字分別在圖像識別所獲得的文本資訊中進行匹配查找),以判斷圖像識別所獲得的文本 資訊中是否存在與關鍵字集合中的預定關鍵字相匹配的資訊,在查找結果為圖像識別所獲得的文本資訊中不存在與關鍵字集合中的預定關鍵字相匹配的資訊的情況下,確定出該通知消息中沒有包含有預定關鍵字;而在查找結果為圖像識別所獲得的文本資訊中存在與關鍵字集合中的預定關鍵字相匹配的資訊的情況下,本實施例應繼續判斷上述獲取到的消息屬性資訊是否滿足通知消息包含的預定關鍵字所對應的預定消息屬性條件,如果獲取到的消息屬性資訊滿足通知消息包含的預定關鍵字所對應的預定消息屬性條件,則可以確定出監測到包含有預定關鍵字的通知消息且該通知消息的消息屬性資訊符合預定消息屬性條件,否則,確定出雖然監測到包含有預定關鍵字的通知消息但是該通知消息的消息屬性資訊不符合預定消息屬性條件。一個更為具體的例子,設定關鍵字集合中包含有“火車票”這一預定關鍵字,且設定預定關鍵字“火車票”所對應的預定消息屬性條件為:消息發送方的號段屬於預定號段且通知消息發送時間屬於訂票高峰時段(如節假日前後的一段時日),本實施例在透過基於智慧電子設備作業系統的協助工具介面獲取到通知消息的消息內容以及通知消息的消息屬性資訊後,在該通知消息的消息內容包含有圖片(如該通知消息的消息內容全部為圖片)的情況下,應首先針對該通知消息中的圖片執行圖像識別操作,以將通知消息中的圖片轉換為文本資訊,然後,根據預定關鍵字“火車票”在圖像識別所獲得的文本資訊中進行匹配查 找,以判斷圖像識別所獲得的文本資訊中是否存在與“火車票”相匹配的資訊,在查找結果為圖像識別所獲得的文本資訊中不存在與預定關鍵字“火車票”相匹配的資訊時,確定出該通知消息中沒有包含有預定關鍵字“火車票”,而在查找結果為圖像識別所獲得的文本資訊中存在與預定關鍵字“火車票”相匹配的資訊時,則繼續判斷該通知消息的消息發送方的號段是否屬於本機存放區的預定號段以及通知消息的消息發送時間是否屬於訂票高峰時段(本機存放區的預定號段及訂票高峰時段可以從雲伺服器處下載,也可以由用戶自行設置),如果該通知消息的消息發送方的號段屬於本機存放區的預定號段且消息發送時間屬於訂票高峰時段,則確定出監測到包含有“火車票”的通知消息且該通知消息的消息屬性資訊滿足預定消息屬性條件,否則,確定出雖然監測到包含有“火車票”的通知消息但是該通知消息的消息屬性資訊不滿足預定消息屬性條件。 Another specific implementation manner of the third example above may be that, in this embodiment, the message content of the notification message and the message attribute information of the notification message can be obtained through the assistance tool interface based on the operating system of the smart electronic device. In the case where the content contains a picture (for example, the message content of the notification message is all pictures or the message content part of the notification message is a picture), this embodiment can first perform an image recognition operation on the picture in the notification message to notify the notification The picture in the message is converted into text information, and then, in this embodiment, a matching search is performed in the text information obtained by image recognition according to the predetermined keywords in the keyword set in the local storage area (the keyword set includes multiple When there are different predetermined keywords, in this embodiment, a matching search can be performed for each predetermined keyword in the text information obtained by image recognition), so as to determine whether there is a keyword in the text information obtained by image recognition. Information matching the predetermined keywords in the set, if the search result is that there is no information matching the predetermined keywords in the keyword set in the text information obtained by image recognition, it is determined that there is no information in the notification message. Contains predetermined keywords; and in the case where the search result is that the text information obtained by image recognition contains information that matches the predetermined keywords in the keyword set, this embodiment should continue to judge the above-obtained message attributes Whether the information satisfies the predetermined message attribute condition corresponding to the predetermined keyword contained in the notification message, if the acquired message attribute information satisfies the predetermined message attribute condition corresponding to the predetermined keyword contained in the notification message, it can be determined that the monitoring contains The notification message of the keyword 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. As a more specific example, it is set that the keyword set contains the predetermined keyword "train ticket", and the predetermined message attribute condition corresponding to the predetermined keyword "train ticket" is set as follows: the number segment of the message sender belongs to the reservation. number segment and the sending time of the notification message belongs to the peak booking period (such as a period of time before and after a holiday), this embodiment obtains the message content of the notification message and the message attribute of the notification message through the assistance tool interface based on the operating system of the smart electronic device After the information, if the message content of the notification message contains pictures (for example, the message content of the notification message is all pictures), the image recognition operation should be performed on the pictures in the notification message first, so that the The image is converted into text information, and then, according to the predetermined keyword "train ticket", a matching search is performed in the text information obtained by image recognition to determine whether there is a match with "train ticket" in the text information obtained by image recognition When the search result is that there is no information matching the predetermined keyword "train ticket" in the text information obtained by image recognition, it is determined that the notification message does not contain the predetermined keyword "train ticket", and When the search result is that there is information matching the predetermined keyword "train ticket" in the text information obtained by image recognition, continue to judge whether the number segment of the message sender of the notification message belongs to the reservation number of the local storage area Whether the segment and the message sending time of the notification message belong to the peak booking period (the scheduled number segment and the peak booking period of the local storage area 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 predetermined number segment of the local storage area and the message sending time belongs to the peak booking period, it is determined that a notification message containing "train ticket" is detected and the message attribute information of the notification message satisfies the predetermined message property. condition, otherwise, it is determined that although a notification message containing "train ticket" is detected, the message attribute information of the notification message does not satisfy the predetermined message attribute condition.
作為第四個示例,本實施例的基於智慧電子設備作業系統的協助工具介面監測應用程式的通知消息可以具體為:基於智慧電子設備作業系統的協助工具介面對應用程式的通知消息的消息內容、通知消息所屬應用程式的應用程式屬性資訊以及通知消息的消息屬性資訊進行監測,如基於智慧電子設備作業系統的協助工具介面監測應用程式的通知消息的消息內容中是否包含有關鍵字集合中的預定關鍵字以及通知消息所屬應用程式的應用程式屬性資訊和 通知消息的消息屬性資訊是否符合預定條件,且上述預定應用程式屬性條件和預定消息屬性條件可以形成本實施例的預定條件。第四個示例的具體實現方式可以是將上述第二個示例的具體實現方式以及第三個示例的具體實現方式結合起來,具體實現過程在此不再詳細說明。 As a fourth example, the notification message of the monitoring application program based on the assistant tool interface based on the operating system of the smart electronic device in this embodiment may be specifically: the message content of the notification message of the application program based on the assistant tool interface based on the operating system of the smart electronic device, Monitor the application attribute information of the application to which the notification message belongs and the message attribute information of the notification message, such as monitoring whether the message content of the notification message of the application program contains the predetermined keyword set based on the assistant tool interface of the operating system of the smart electronic device. Whether the keyword and the application attribute information of the application to which the notification message belongs and the message attribute information of the notification message meet the predetermined conditions, and the above-mentioned predetermined application attribute conditions and predetermined message attribute conditions may form the predetermined conditions of this embodiment. The specific implementation manner of the fourth example may be a combination of the specific implementation manner of the above-mentioned second example and the specific implementation manner of the third example, and the specific implementation process will not be described in detail here.
S110、在監測到包含有預定關鍵字的通知消息的情況下,根據上述預定關鍵字所對應的處理方式針對上述包含有預定關鍵字的通知消息進行相應的處理。 S110. In the case of monitoring the notification message containing the predetermined keyword, perform corresponding processing on the notification message containing the predetermined keyword according to the processing method corresponding to the predetermined keyword.
具體的,本實施例可以針對預定關鍵字設置通知消息的處理方式(預定關鍵字和相應的通知消息的處理方式可以形成一條通知消息處理規則),從而本實施例在監測到通知消息中包含有預定關鍵字的情況下,可以直接利用該通知消息包含的關鍵字所對應的通知消息的處理方式對通知消息進行相應的處理(即直接利用相應的通知消息處理規則中的通知消息的處理方式對通知消息進行相應的處理)。 Specifically, in this embodiment, a notification message processing method may be set for the predetermined keyword (the predetermined keyword and the corresponding notification message processing method may form a notification message processing rule), so that this embodiment detects that the notification message includes the following: In the case of a predetermined keyword, the notification message can be processed directly by using the processing method of the notification message corresponding to the keyword contained in the notification message (that is, directly using the processing method of the notification message in the corresponding notification message processing rule to process the notification message). The notification message is processed accordingly).
本實施例也可以針對預定關鍵字和相應的預定應用程式屬性條件設置通知消息的處理方式(預定關鍵字、預定關鍵字對應的預定應用程式屬性條件以及相應的通知消息的處理方式可以形成一條通知消息處理規則),從而本實施例在監測到通知消息中包含有預定關鍵字且通知消息所屬應用程式的應用程式屬性資訊滿足預定應用程式屬性條件的情況下,可以利用該通知消息包含的關鍵字以及所滿足的預定應用程式屬性條件所共同對應的通知消息的處理 方式對通知消息進行相應的處理(即利用相應的通知消息處理規則中的通知消息的處理方式對通知消息進行相應的處理)。 In this embodiment, a notification message processing method can also be set 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 method of the corresponding notification message can form a notification message processing rules), so this embodiment can use the keyword contained in the notification message when it is detected that the notification message contains a predetermined keyword and the application attribute information of the application to which the notification message belongs satisfies the predetermined application attribute condition and the processing method of the notification message corresponding to the predetermined application attribute condition that is satisfied, the notification message is processed correspondingly (that is, the notification message is processed correspondingly by using the processing method of the notification message in the corresponding notification message processing rule).
本實施例還可以針對預定關鍵字和相應的預定消息屬性條件設置通知消息的處理方式(預定關鍵字、預定關鍵字對應的預定消息屬性條件以及相應的通知消息的處理方式可以形成一條通知消息處理規則),從而本實施例在監測到通知消息中包含有預定關鍵字且通知消息的消息屬性資訊滿足預定消息屬性條件的情況下,可以利用該通知消息包含的關鍵字以及所滿足的預定消息屬性條件所共同對應的通知消息的處理方式對通知消息進行相應的處理(即利用相應的通知消息處理規則中的通知消息的處理方式對通知消息進行相應的處理)。 In this embodiment, a notification message processing method may also be set 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 method of the corresponding notification message can form a notification message processing method). rule), so this embodiment can use the keyword contained in the notification message and the satisfied predetermined message attribute when it is detected that the notification message contains a predetermined keyword and the message attribute information of the notification message satisfies the predetermined message attribute condition The notification message is processed correspondingly according to the processing mode of the notification message corresponding to the condition (that is, the notification message is processed correspondingly by using the processing mode of the notification message in the corresponding notification message processing rule).
本實施例還可以針對預定關鍵字以及相應的預定條件(包含有預定應用程式屬性條件和預定消息屬性條件)設置通知消息的處理方式(預定關鍵字、預定關鍵字對應的預定應用程式屬性條件、預定關鍵字對應的預定消息屬性條件以及相應的通知消息的處理方式可以形成一條通知消息處理規則),從而本實施例在監測到通知消息中包含有預定關鍵字且通知消息所屬應用程式的應用程式屬性資訊滿足預定應用程式屬性條件且通知消息的消息屬性資訊滿足預定消息屬性條件的情況下,可以利用該通知消息包含的關鍵字以及所滿足的預定條件所共同對應的通知消息的處理方式對通知消息進行相應的處理(即利用相應的通知 消息處理規則中的通知消息的處理方式對通知消息進行相應的處理)。 In this embodiment, a notification message processing method (predetermined keyword, predetermined application attribute condition corresponding to the predetermined keyword, predetermined application attribute condition corresponding to the predetermined keyword, The attribute condition of the predetermined message corresponding to the predetermined keyword and the corresponding processing method of the notification message can form a notification message processing rule), so this embodiment detects that the notification message contains the predetermined keyword and the application program to which the notification message belongs. When the attribute information satisfies the predetermined application attribute conditions and the message attribute information of the notification message satisfies the predetermined message attribute conditions, the notification message can be processed by using the keywords contained in the notification message and the processing method of the notification message corresponding to the satisfied predetermined conditions. The message is processed correspondingly (that is, the notification message is processed correspondingly by using the processing method of the notification message in the corresponding notification message processing rule).
本實施例中的針對包含有預定關鍵字的通知消息進行相應的處理可以為針對通知消息進行增強提示處理,如以彈窗方式顯示通知消息的消息內容(如顯示包含有紅包的彈窗),再如透過播放相應的音訊信號和/或者產生震動來提示用戶。 In this embodiment, the corresponding processing for the notification message containing the predetermined keyword may be an enhanced prompt processing for the notification message, such as displaying the message content of the notification message in a pop-up window (such as displaying a pop-up window containing a red envelope), Another example is to prompt the user by playing a corresponding audio signal and/or generating vibration.
本實施例中的針對包含有預定關鍵字的通知消息進行相應的處理也可以為針對通知消息進行警示提示處理,如以彈窗方式顯示警示資訊,再如透過播放相應的音訊信號和/或者產生震動來警示用戶。 In this embodiment, the corresponding processing for the notification message containing the predetermined keyword may also be the processing of the warning prompt for the notification message, such as displaying the warning information in a pop-up window, and for example, by playing the corresponding audio signal and/or generating Vibrate to alert the user.
本實施例中的針對包含有預定關鍵字的通知消息進行相應的處理還可以為針對通知消息,基於智慧電子設備作業系統的協助工具介面調用該通知消息所屬的應用程式,從而可以模擬用戶所執行的操作,如透過協助工具介面在通知消息所屬的應用程式中打開通知消息等,具體的,本實施例可以透過協助工具介面在微信應用程式中打開微信紅包,本實施例也可以透過協助工具介面打開電話應用程式的撥號介面,甚至根據通知消息處理規則中設置的電話號碼類比用戶進行撥號操作,本實施例還可以透過協助工具介面刪除火車票欺詐的通知消息等。本實施例不限制針對包含有預定關鍵字的通知消息進行相應的處理的具體處理方式。 In this embodiment, the corresponding processing for the notification message including the predetermined keyword may also be based on the assistance tool interface of the operating system of the smart electronic device to call the application to which the notification message belongs, so as to simulate the execution by the user. operation, such as opening the notification message in the application program to which the notification message belongs through the assistance tool interface, etc. Specifically, in this embodiment, the WeChat red envelope can be opened in the WeChat application program through the assistance tool interface, and in this embodiment, the assistance tool interface can also be used. Open the dialing interface of the phone application program, and even analogize the user's dialing operation according to the phone number set in the notification message processing rule. In this embodiment, the notification message of train ticket fraud can also be deleted through the assistance tool interface. This embodiment does not limit the specific processing manner of performing corresponding processing on the notification message containing the predetermined keyword.
本實施例透過在監測通知消息是否包含有預定關鍵字 的基礎上,對通知消息所屬應用程式的應用程式屬性資訊和/或通知消息的消息屬性資訊是否符合預定條件進行監測,可以有效避免針對包含有預定關鍵字的偽裝類/欺詐類通知消息的誤處理操作,如針對假“紅包”的欺詐類通知消息,本實施例在判斷出該通知消息所屬應用程式的應用程式包名稱不是“com.tencent.mm”的情況下,不會針對該通知消息進行增強提示處理,從而避免了針對包含有“紅包”這一預定關鍵字的欺詐類通知消息的誤提醒;再如針對惡意欺騙的賣火車票的欺詐類通知消息,本實施例在判斷出該通知消息的發送方號段屬於已知的欺詐號碼的號段的情況下,不會針對該通知消息進行增強提示處理,從而避免了針對包含有“火車票”這一預定關鍵字的欺詐類通知消息的誤提醒。 In this embodiment, on the basis of monitoring whether the notification message contains a predetermined keyword, the application attribute information of the application to which the notification message belongs and/or whether the message attribute information of the notification message meets the predetermined conditions can be effectively avoided. Mishandling operations for camouflaged/fraud notification messages with predetermined keywords, such as for fraudulent notification messages with fake "red envelopes", this embodiment determines that the application package name of the application to which the notification message belongs is not "com. tencent.mm”, the notification message will not be enhanced, so as to avoid false reminders for fraudulent notification messages containing the predetermined keyword “red envelope”; another example is the sale of trains for malicious fraud In this embodiment, when it is determined that the sender number segment of the notification message belongs to the number segment of a known fraudulent number, the notification message will not be enhanced to prompt processing, thereby avoiding the need for the notification message containing False alerts for fraudulent notification messages with the predetermined keyword "train ticket".
實施例二、通知消息的處理實現方法。 Embodiment 2: A method for implementing notification message processing.
圖2為本實施例的通知消息的處理方法流程圖。下面對圖1中的各步驟分別進行詳細描述。 FIG. 2 is a flowchart of a method for processing a notification message according to this embodiment. Each step in FIG. 1 will be described in detail below.
S200、在智慧電子設備的使用者介面顯示相應的說明資訊,以引導使用者前往作業系統的協助工具介面,以開啟協助工具。 S200. Display corresponding description information on the user interface of the smart electronic device to guide the user to go to the assistance tool interface of the operating system to open the assistance tool.
S210、判斷作業系統的協助工具是否開啟,如果協助工具已開啟,則到步驟S230,否則,返回步驟S200,以繼續引導使用者前往作業系統的協助主具介面。 S210: Determine whether the assistance tool of the operating system is enabled, if the assistance tool is enabled, go to step S230, otherwise, return to step S200 to continue to guide the user to the assistance master interface of the operating system.
S220、在智慧電子設備的使用者介面顯示相應的說明資訊,以引導使用者允許監測應用程式的通知消息,即以 使用者授予監測應用程式的通知消息的許可權。 S220. Display corresponding description information on the user interface of the smart electronic device to guide the user to allow the monitoring of the notification message of the application, that is, to grant the user the permission to monitor the notification message of the application.
S230、判斷用戶是否授予監測應用程式的通知消息的許可權,如果授予監測應用程式的通知消息的許可權,到步驟S240,否則,返回步驟S220,以繼續引導用戶授予監測應用程式的通知消息的許可權。 S230, determine whether the user grants the permission of the notification message of the monitoring application, if granting the permission of the notification message of the monitoring application, go to step S240, otherwise, return to step S220 to continue to guide the user to grant the notification message of the monitoring application. permission.
S240、將監測應用程式的通知消息的功能開關設置為開啟。 S240. Set the function switch of monitoring the notification message of the application to on.
S250、基於作業系統的協助工具介面監測應用程式的通知消息,如監測應用程式的通知消息的消息內容,再如監測應用程式的通知消息的消息內容以及通知消息所屬應用程式的應用程式屬性資訊,再如監測應用程式的通知消息的消息內容以及通知消息的消息屬性資訊,再如監測應用程式的通知消息的消息內容、通知消息所屬應用程式的應用程式屬性資訊以及通知消息的消息屬性資訊。 S250 , monitoring the notification message of the application program based on the operating system assistance tool interface, such as the message content of the notification message of the monitoring application program, and the message content of the notification message of the monitoring application program and the application program attribute information of the application program to which the notification message belongs, Another example is the message content of the notification message of the monitoring application and the message attribute information of the notification message, and another example is 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.
在監測到的通知消息觸發了預先設置的通知消息處理規則的情況下,到步驟S260,在監測到的通知消息沒有觸發預先設置的通知消息處理規則的情況下,繼續執行基於作業系統的協助工具介面監測應用程式的通知消息的操作。 In the case that the monitored notification message triggers the preset notification message processing rule, go to step S260, and in the case that the monitored notification message does not trigger the preset notification message processing rule, continue to execute the operating system-based assistance tool The interface monitors the operation of the notification message of the application.
上述通知消息處理規則可以具體包括:預定關鍵字以及通知消息的處理方式。針對此類通知消息處理規則而言,在監測到的通知消息的消息內容中包含有通知消息處理規則中的預定關鍵字的情況下,該通知消息處理規則被觸發。 The above notification message processing rule may specifically include: a predetermined keyword and a processing method of the notification message. For this type of notification message processing rule, when the monitored message content of the notification message contains a predetermined keyword in the notification message processing rule, the notification message processing rule is triggered.
上述通知消息處理規則也可以具體包括:預定關鍵字、針對通知消息所屬應用程式的應用程式屬性資訊而設置的預定條件以及通知消息的處理方式。針對此類通知消息處理規則而言,在監測到的通知消息的消息內容中包含有通知消息處理規則中的預定關鍵字,且監測到的通知消息所屬應用程式的應用程式屬性資訊滿足預定條件的情況下,該通知消息處理規則被觸發。 The above notification message processing rule may also specifically include: predetermined keywords, predetermined conditions set for application attribute information of the application to which the notification message belongs, and a processing method of the notification message. For this type of notification message processing rule, the message content of the monitored notification message contains the predetermined keyword in the notification message processing rule, and the application attribute information of the application to which the monitored notification message belongs meets the predetermined condition. case, the notification message processing rule is triggered.
上述通知消息處理規則也可以具體包括:預定關鍵字、針對通知消息的消息屬性資訊而設置的預定條件以及通知消息的處理方式。針對此類通知消息處理規則而言,在監測到的通知消息的消息內容中包含有通知消息處理規則中的預定關鍵字,且監測到的通知消息的消息屬性資訊滿足預定條件的情況下,該通知消息處理規則被觸發。 The above notification message processing rule may also specifically include: a predetermined keyword, a predetermined condition set for the message attribute information of the notification message, and a processing method of the notification message. For this type of notification message processing rule, if the message content of the monitored notification message contains a predetermined keyword in the notification message processing rule, and the message attribute information of the monitored notification message satisfies the predetermined condition, the Notification message processing rule is triggered.
上述通知消息處理規則還可以包括:預定關鍵字、針對通知消息所屬應用程式的應用程式屬性資訊和通知消息的消息屬性資訊而設置的預定條件以及通知消息的處理方式。針對此類通知消息處理規則而言,在監測到的通知消息的消息內容中包含有通知消息處理規則中的預定關鍵字,且監測到的通知消息所屬應用程式的應用程式屬性資訊以及通知消息的消息屬性資訊均滿足預定條件的情況下,該通知消息處理規則被觸發。 The above notification message processing rules may further include: predetermined keywords, predetermined conditions set for application attribute information of the application to which the notification message belongs and message attribute information of the notification message, and a processing method of the notification message. For this type of notification message processing rule, the message content of the monitored notification message includes the predetermined keyword in the notification message processing rule, and the application attribute information of the application to which the monitored notification message belongs and the information of the notification message The notification message processing rule is triggered when all the message attribute information satisfies the predetermined condition.
S260、根據通知消息觸發的通知消息處理規則中的通知消息處理方式對該通知消息進行相應的處理操作,如在通知消息所屬應用程式內打開該通知消息或者阿裡錢盾應 用程式彈出針對該通知消息而設置的增強提示窗等。本實施例不限制對通知消息進行相應的處理操作的具體實現方式。 S260. Perform corresponding processing operations on the notification message according to the notification message processing method 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 popping up the notification message in the Alibaba Money Shield application. And set the enhanced prompt window and so on. This embodiment does not limit the specific implementation of the corresponding processing operation on the notification message.
實施例三、通知消息的處理實現裝置。 Embodiment 3: An implementation device for processing a notification message.
本實施例中的通知消息的處理實現裝置通常設置於智慧電子設備中,如設置於基於Android作業系統的智慧電子設備中,如果其他作業系統也提供協助工具介面,則本實施例的裝置也可以設置於基於其他作業系統的智慧電子設備。本實施例的通知消息的處理實現裝置的結構如圖3-圖9所示。 The apparatus for implementing notification message processing in this embodiment is usually set in a smart electronic device, such as a smart electronic device based on the Android operating system. If other operating systems also provide an assistance tool interface, the apparatus in this embodiment can also Installed on smart electronic devices based on other operating systems. The structures of the apparatus for implementing notification message processing in this embodiment are shown in FIG. 3 to FIG. 9 .
圖3中的裝置主要包括:監測模組300以及處理模組310。 The apparatus in FIG. 3 mainly includes a monitoring module 300 and a processing module 310 .
監測模組300主要用於基於智慧電子設備作業系統的協助工具介面監測應用程式的通知消息。 The monitoring module 300 is mainly used for monitoring the notification message of the application based on the assistant tool interface of the operating system of the smart electronic device.
監測模組300主要包括:第一監測子模組301(如圖4所示),且該監測模組300還可以包括:第二監測子模組302(如圖5所示)。上述第一監測子模組301可以包括:第一查找子模組303以及第一確定子模組304(如圖6所示),且第一監測子模組301也可以包括:圖像識別子模組305、第二查找子模組306以及第二確定子模組307(如圖7所示)。 The monitoring module 300 mainly includes: a first monitoring sub-module 301 (as shown in FIG. 4 ), and the monitoring module 300 may further include: a second monitoring sub-module 302 (as shown in FIG. 5 ). The above-mentioned first monitoring sub-module 301 may include: a first search sub-module 303 and a first determination sub-module 304 (as shown in FIG. 6 ), and the first monitoring sub-module 301 may also include: an image recognition sub-module A group 305, a second search sub-module 306, and a second determination sub-module 307 (as shown in FIG. 7).
第一監測子模組301主要用於基於智慧電子設備作業系統的協助工具介面監測應用程式的通知消息的消息內容中是否包含有關鍵字集合中的預定關鍵字。 The first monitoring sub-module 301 is mainly used for monitoring whether the message content of the notification message of the application program includes a predetermined keyword in the keyword set based on the assistance tool interface of the operating system of the smart electronic device.
第二監測子模組302主要用於基於智慧電子設備作業系統的協助工具介面監測通知消息所屬應用程式的應用程式屬性資訊和/或通知消息的消息屬性資訊是否符合預定條件。 The second monitoring sub-module 302 is mainly used to monitor whether the application attribute information of the application to which the notification message belongs and/or whether the message attribute information of the notification message meets the predetermined condition based on the assistance tool interface of the operating system of the smart electronic device.
第一查找子模組303主要用於查找通知消息的消息內容中的文本資訊是否包含有關鍵字集合中的預定關鍵字。 The first search sub-module 303 is mainly used to search whether the text information in the message content of the notification message contains a predetermined keyword in the keyword set.
第一確定子模組304主要用於在查找結果為消息內容中的文本資訊包含有預定關鍵字時,確定監測到包含有預定關鍵字的通知消息。 The first determining sub-module 304 is mainly used for determining that a notification message containing the predetermined keyword is detected when the search result is that the text information in the message content contains the predetermined keyword.
圖像識別子模組305主要用於對通知消息的消息內容中的圖片進行圖像識別。 The image recognition sub-module 305 is mainly used to perform image recognition on pictures in the message content of the notification message.
第二查找子模組306主要用於查找圖像識別結果是否包含有關鍵字集合中的預定關鍵字。 The second search sub-module 306 is mainly used to search whether the image recognition result contains a predetermined keyword in the keyword set.
第二確定子模組307主要用於在查找結果為圖像識別結果包含有預定關鍵字時,確定監測到包含有預定關鍵字的通知消息。 The second determining sub-module 307 is mainly used for determining that a notification message containing the predetermined keyword is detected when the search result is that the image recognition result contains the predetermined keyword.
具體的,本實施例在實施過程中,如果智慧電子設備的作業系統所提供的協助工具沒有處於開啟狀態,則通知消息的處理實現裝置(如設置模組)應先執行將智慧電子設備的作業系統所提供的協助工具開啟的操作,如設置模組透過逐步的引導智慧電子設備使用者,使智慧電子設備使用者將智慧電子設備作業系統所提供的協助工具設置為開啟狀態。 Specifically, in the implementation process of this embodiment, if the assistance tool provided by the operating system of the smart electronic device is not in an open state, the notification message processing implementation device (such as the setting module) should first execute the operation of the smart electronic device. The operation of enabling the assistance tool provided by the system, such as the setting module, guides the user of the smart electronic device step by step, so that the user of the smart electronic device can set the assistance tool provided by the operating system of the smart electronic device to the enabled state.
作為示例,監測模組300透過智慧電子設備作業系統 的協助工具介面所監測的應用程式的通知消息可以為系統應用程式的通知消息,也可以為協力廠商應用程式的通知消息。上述系統應用程式的通知消息可以為短消息應用程式的通知消息,如短消息應用程式在接收到新的短消息時而產生的通知消息。上述協力廠商應用程式的通知消息可以為即時通訊應用程式的通知消息,如微信應用程式在接收到新的資訊時而產生的通知消息等,上述協力廠商應用程式的通知消息也可以為應用程式用戶端的推送新資訊的通知消息,如搜狐視頻用戶端或者騰訊新聞應用程式用戶端等希望向使用者推送新視頻/新聞的資訊時而產生的通知消息。 As an example, the notification message of the application program monitored by the monitoring module 300 through the assistant tool interface of the operating system of the smart electronic device may be the notification message of the system application program or the notification message of the third-party application program. 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 can be the notification message of the instant messaging application, such as the notification message generated by the WeChat application when it receives new information, etc. The notification message of the third-party application can also be the application user. The notification message that pushes new information to the client, such as the Sohu video client or the Tencent News app client, etc., is generated when the user wants to push the information of new video/news to the user.
作為第一個示例,第一監測子模組301可以基於智慧電子設備作業系統的協助工具介面監測應用程式的通知消息的消息內容中是否包含有關鍵字集合中的預定關鍵字。本實施例中的關鍵字集合中通常包含有一個預定關鍵字或者多個不同的預定關鍵字,且本實施例的關鍵字集合中的預定關鍵字可以是第一監測子模組301從雲伺服器處下載的預定關鍵字(如定時或者不定時的從雲伺服器處更新智慧電子設備本機存放區的關鍵字集合),也可以是智慧電子設備自訂的預定關鍵字,即第一監測子模組301將智慧電子設備的使用者自行設置預定關鍵字儲存於關鍵字集合中。 As a first example, the first monitoring sub-module 301 may monitor whether the message content of the notification message of the application program includes a predetermined keyword in the keyword set based on the assistance tool interface of the operating system of the smart electronic device. The keyword set in this embodiment usually includes one predetermined keyword or a plurality of different predetermined keywords, and the predetermined keyword in the keyword set in this embodiment may be the first monitoring submodule 301 from the cloud server The predetermined keyword downloaded from the server (for example, the keyword set in the local storage area of the smart electronic device is updated from the cloud server regularly or irregularly), or it can be a predetermined keyword customized by the smart electronic device, that is, the first monitoring The sub-module 301 stores the predetermined keywords set by the user of the smart electronic device in the keyword set.
上述第一個示例的一個具體實現方式為:第一監測子模組301可以透過基於智慧電子設備作業系統的協助工具 介面獲取到通知消息的消息內容,在該通知消息的消息內容包含有文本資訊(如該通知消息的消息內容全部為文本資訊)的情況下,第一查找子模組303可以根據本機存放區的關鍵字集合中的預定關鍵字在該通知消息的文本資訊中進行匹配查找(在關鍵字集合中包括多個不同的預定關鍵字時,第一查找子模組303可以針對每一個預定關鍵字分別在該通知消息的文本資訊中進行匹配查找),以判斷該通知消息的文本資訊中是否存在與關鍵字集合中的預定關鍵字相匹配的資訊,在第一查找子模組303查找結果為通知消息的文本資訊中存在與關鍵字集合中的預定關鍵字相匹配的資訊時,第一確定子模組304確定出監測到包含有預定關鍵字的通知消息,否則,第一確定子模組304確定出該通知消息中沒有包含有預定關鍵字。 A specific implementation manner of the above first example is: the first monitoring sub-module 301 can obtain the message content of the notification message through the assistance tool interface based on the operating system of the smart electronic device, and the message content of the notification message includes text information. (If the message content of the notification message is all text information), the first search sub-module 303 may perform a matching search in the text information of the notification message according to the predetermined keyword in the keyword set in the local storage area (When the keyword set includes a plurality of different predetermined keywords, the first search sub-module 303 may perform matching search for each predetermined keyword in the text information of the notification message) to determine the Whether there is information matching the predetermined keywords in the keyword set in the text information, in the first search sub-module 303, the search result is that there is information matching the predetermined keywords in the keyword set in the text information of the notification message , the first determination sub-module 304 determines that a notification message containing a predetermined keyword is detected; otherwise, the first determination sub-module 304 determines that the notification message does not contain a predetermined keyword.
上述第一個示例的另一個具體實現方式可以為:第一監測子模組301可以透過基於智慧電子設備作業系統的協助工具介面獲取到通知消息的消息內容,在該通知消息的消息內容包含有圖片(如該通知消息的消息內容全部為圖片或者該通知消息的消息內容部分為圖片)的情況下,圖像識別子模組305可以首先針對通知消息中的圖片執行圖像識別操作,以將通知消息中的圖片轉換為文本資訊,然後,第二查找子模組306再根據本機存放區的關鍵字集合中的預定關鍵字在圖像識別所獲得的文本資訊中進行匹配查找(在關鍵字集合中包括多個不同的預定關鍵字時,第二查找子模組306可以針對每一個預定關鍵字分別在圖像 識別所獲得的文本資訊中進行匹配查找),以判斷圖像識別所獲得的文本資訊中是否存在與關鍵字集合中的預定關鍵字相匹配的資訊,在第二查找子模組306查找結果為圖像識別所獲得的文本資訊中存在與關鍵字集合中的預定關鍵字相匹配的資訊時,第二確定模組307確定出監測到包含有預定關鍵字的通知消息,否則,第二確定模組307確定出該通知消息中沒有包含有預定關鍵字。 Another specific implementation manner of the above first example may be: the first monitoring sub-module 301 can obtain the message content of the notification message through the assistance tool interface based on the operating system of the smart electronic device, and the message content of the notification message includes: In the case of a picture (for example, the message content of the notification message is all pictures or the message content part of the notification message is a picture), the image recognition sub-module 305 can first perform an image recognition operation on the pictures in the notification message to notify the notification The picture in the message is converted into text information, and then, the second search sub-module 306 performs a matching search in the text information obtained by image recognition according to the predetermined keyword in the keyword set in the local storage area (in the keyword When the set includes a plurality of different predetermined keywords, the second search sub-module 306 may perform a matching search for each predetermined keyword in the text information obtained by image recognition), to determine the value obtained by image recognition. Whether there is information matching the predetermined keywords in the keyword set in the text information, in the text information obtained by the second search sub-module 306, the search result is that there is information matching the predetermined keywords in the keyword set in the text information obtained by image recognition. When the information matches, the second determining module 307 determines that a notification message containing the predetermined keyword is detected; otherwise, the second determining module 307 determines that the notification message does not contain the predetermined keyword.
作為第二個示例,第一監測子模組301和第二監測子模組302基於智慧電子設備作業系統的協助工具介面對應用程式的通知消息的消息內容以及通知消息所屬應用程式的應用程式屬性資訊進行監測,如第一監測子模組301基於智慧電子設備作業系統的協助工具介面監測應用程式的通知消息的消息內容中是否包含有關鍵字集合中的預定關鍵字以及第二監測子模組302監測通知消息所屬應用程式的應用程式屬性資訊是否符合預定條件(該預定條件可以稱為預定應用程式屬性條件)。本實施例中的應用程式屬性資訊可以包括:應用程式包名稱、應用程式名稱、應用程式類型(如系統應用程式或者協力廠商應用程式)、應用程式安裝後佔用的空間以及應用程式啟動後佔用的記憶體中的任意一項或者多項。本實施例中的預定應用程式屬性條件通常是結合預定關鍵字而設置的,且通常情況下,針對一個預定關鍵字可以對應設置一個預定應用程式屬性條件,然而,在實際應用中本實施例並不排除針對一個預定關鍵字對應設置多個預定應用程式屬性條件的情況;另 外,本實施例的預定應用程式屬性條件可以是第二監測子模組302從雲伺服器處下載的預定應用程式屬性條件(如定時或者不定時的從雲伺服器處更新智慧電子設備本地的預定應用程式屬性條件),也可以是智慧電子設備自訂的預定應用程式屬性條件,即第二監測子模組302允許智慧電子設備的使用者自行設置預定應用程式屬性條件。 As a second example, the first monitoring sub-module 301 and the second monitoring sub-module 302 are based on the assistance tool interface of the operating system of the smart electronic device, the message content of the notification message to the application and the application attribute of the application to which the notification message belongs. For example, the first monitoring sub-module 301 monitors whether the message content of the notification message of the application program includes a predetermined keyword in the keyword set and the second monitoring sub-module based on the assistance tool interface of the operating system of the smart electronic device. 302 Monitor whether the application attribute information of the application to which the notification message belongs conforms to a predetermined condition (the predetermined condition may be referred to as a predetermined application attribute condition). The application attribute information in this embodiment may include: application package name, application name, application type (such as a system application or a third-party application), the space occupied by the application after installation, and the space occupied after the application is started. Any one or more items in memory. The predetermined application attribute condition in this embodiment is usually set in combination with a predetermined keyword, and in general, a predetermined application attribute condition can be correspondingly set for a predetermined keyword. However, in practical applications, this embodiment does not It is not excluded that a plurality of predetermined application attribute conditions are set corresponding to a predetermined keyword; in addition, the predetermined application attribute condition in this embodiment may be the predetermined application attribute downloaded from the cloud server by the second monitoring sub-module 302 The condition (such as updating the local predetermined application property condition of the smart electronic device from the cloud server periodically or irregularly), or it can be the predetermined application property condition customized by the smart electronic device, that is, the second monitoring sub-module 302 allows The user of the smart electronic device sets the predetermined application property condition by himself.
第二監測子模組302所執行的具體操作如上述實施例一中的針對第二個示例的兩個具體實現方式、第三個示例和第三個示例的兩個具體實現方式以及第四個示例的描述,在此不再詳細說明。 The specific operations performed by the second monitoring sub-module 302 are the two specific implementations for the second example, the two specific implementations for the third example and the third example, and the fourth specific implementation in the first embodiment. The description of the example will not be described in detail here.
處理模組310主要用於在監測模組300監測到包含有預定關鍵字的通知消息的情況下,根據預定關鍵字所對應的處理方式針對該包含有預定關鍵字的通知消息進行相應的處理。 The processing module 310 is mainly configured to perform corresponding processing on the notification message containing the predetermined keyword according to the processing method corresponding to the predetermined keyword when the monitoring module 300 monitors the notification message containing the predetermined keyword.
處理模組310主要包括:第一處理子模組311、第二處理子模組312以及第三處理子模組313中的任意一個或者多個(如圖8所示)。另外,處理模組310也可以主要包括:增強提示子模組314、預警提示子模組315以及調用子模組316(如圖9所示)。在一個具體的實際應用中,第一處理子模組311、第二處理子模組312以及第三處理子模組313均包含有:增強提示子模組314、預警提示子模組315以及調用子模組316。 The processing module 310 mainly includes: any one or more of a first processing sub-module 311 , a second processing sub-module 312 and a third processing sub-module 313 (as shown in FIG. 8 ). In addition, the processing module 310 may also mainly include: an enhanced prompting sub-module 314, an early warning prompting sub-module 315, and a calling sub-module 316 (as shown in FIG. 9). In a specific practical application, the first processing sub-module 311, the second processing sub-module 312 and the third processing sub-module 313 all include: an enhanced prompting sub-module 314, an early warning prompting sub-module 315, and a calling Submodule 316.
第一處理子模組311主要用於在監測到通知消息中包含有預定關鍵字且應用程式屬性資訊滿足預定條件的情況 下,根據預定關鍵字和預定條件所對應的處理方式針對包含有預定關鍵字的通知消息進行相應的處理。 The first processing sub-module 311 is mainly used to detect that the notification message contains a predetermined keyword and the application attribute information satisfies a predetermined condition, according to the processing method corresponding to the predetermined keyword and the predetermined condition The notification message of the word is processed accordingly.
第二處理子模組312主要用於在監測到通知消息中包含有預定關鍵字且通知消息的消息屬性資訊滿足預定條件的情況下,根據預定關鍵字和預定條件所對應的處理方式針對包含有預定關鍵字的通知消息進行相應的處理。 The second processing sub-module 312 is mainly used for, in the case of monitoring that the notification message contains a predetermined keyword and the message attribute information of the notification message satisfies the predetermined condition, according to the processing method corresponding to the predetermined keyword and the predetermined condition The notification message of the predetermined keyword is processed accordingly.
第三處理子模組313主要用於在監測到通知消息中包含有預定關鍵字且應用程式屬性資訊和消息屬性資訊滿足預定條件的情況下,根據預定關鍵字和預定條件所對應的處理方式針對包含有預定關鍵字的通知消息進行相應的處理。 The third processing sub-module 313 is mainly used to detect that the notification message contains a predetermined keyword and the application attribute information and the message attribute information meet the predetermined conditions, according to the processing method corresponding to the predetermined keyword and the predetermined condition. The notification message containing the predetermined keyword is processed accordingly.
增強提示子模組314主要用於針對通知消息進行增強提示處理。 The enhanced prompt sub-module 314 is mainly used to perform enhanced prompt processing for notification messages.
預警提示子模組315主要用於針對通知消息進行預警提示處理。 The early warning prompt submodule 315 is mainly used to perform early warning prompt processing for the notification message.
調用子模組316主要用於針對通知消息,基於智慧電子設備作業系統的協助工具介面調用通知消息所屬的應用程式。 The calling submodule 316 is mainly used for calling the application program to which the notification message belongs based on the assistance tool interface of the operating system of the smart electronic device for the notification message.
具體的,處理模組310可以針對預定關鍵字設置通知消息的處理方式(預定關鍵字以及相應的通知消息的處理方式可以形成一條通知消息處理規則),從而處理模組310在監測模組300監測到通知消息中包含有預定關鍵字的情況下,可以直接利用該通知消息包含的關鍵字所對應的通知消息的處理方式對通知消息進行相應的處理(即處 理模組310直接利用相應的通知消息處理規則中的通知消息的處理方式對通知消息進行相應的處理)。 Specifically, the processing module 310 can set a notification message processing method for the predetermined keyword (the predetermined keyword and the corresponding notification message processing method can form a notification message processing rule), so that the processing module 310 monitors the monitoring module 300 When the notification message contains a predetermined keyword, the notification message can be processed correspondingly by directly using the processing method of the notification message corresponding to the keyword contained in the notification message (that is, the processing module 310 directly uses the corresponding notification message. The notification message processing method in the processing rule performs corresponding processing on the notification message).
處理模組310也可以針對預定關鍵字和相應的預定應用程式屬性條件設置通知消息的處理方式(預定關鍵字、預定關鍵字對應的預定應用程式屬性條件以及相應的通知消息的處理方式可以形成一條通知消息處理規則),從而第一處理子模組311在監測模組300監測到通知消息中包含有預定關鍵字且通知消息所屬應用程式的應用程式屬性資訊滿足預定應用程式屬性條件的情況下,可以利用該通知消息包含的關鍵字以及所滿足的預定應用程式屬性條件所共同對應的通知消息的處理方式對通知消息進行相應的處理(即第一處理子模組311利用相應的通知消息處理規則中的通知消息的處理方式對通知消息進行相應的處理)。 The processing module 310 can also set the processing method of the notification message for the predetermined keyword and the corresponding predetermined application property condition (the predetermined keyword, the predetermined application property condition corresponding to the predetermined keyword, and the processing method of the corresponding notification message can form a notification message processing rules), so that when the monitoring module 300 detects that the notification message contains a predetermined keyword and the application attribute information of the application to which the notification message belongs satisfies the predetermined application attribute condition, The notification message can be processed correspondingly by using the keyword contained in the notification message and the processing method of the notification message corresponding to the predetermined application property condition that is satisfied (that is, the first processing sub-module 311 uses the corresponding notification message processing rule. The notification message processing method in the notification message is processed accordingly).
處理模組310還可以針對預定關鍵字和相應的預定消息屬性條件設置通知消息的處理方式(預定關鍵字、預定關鍵字對應的預定消息屬性條件以及相應的通知消息的處理方式可以形成一條通知消息處理規則),從而第二處理子模組312在監測模組300監測到通知消息中包含有預定關鍵字且通知消息的消息屬性資訊滿足預定消息屬性條件的情況下,可以利用該通知消息包含的關鍵字以及所滿足的預定消息屬性條件所共同對應的通知消息的處理方式對通知消息進行相應的處理(即利用相應的通知消息處理規則中的通知消息的處理方式對通知消息進行相應的處 理)。 The processing module 310 can also set the processing method 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 method of the corresponding notification message can form a notification message. processing rules), so that when the monitoring module 300 detects that the notification message contains a predetermined keyword and the message attribute information of the notification message satisfies the predetermined message attribute condition, the second processing sub-module 312 can use the information contained in the notification message The keyword and the processing method of the notification message corresponding to the predetermined message attribute conditions that are satisfied together perform the corresponding processing on the notification message (that is, the notification message is processed correspondingly by using the processing method of the notification message in the corresponding notification message processing rule) .
處理模組310本實施例還可以針對預定關鍵字以及相應的預定條件(包含有預定應用程式屬性條件和預定消息屬性條件)設置通知消息的處理方式(預定關鍵字、預定關鍵字對應的預定應用程式屬性條件、預定關鍵字對應的預定消息屬性條件以及相應的通知消息的處理方式可以形成一條通知消息處理規則),從而第三處理子模組313在監測模組300監測到通知消息中包含有預定關鍵字且通知消息所屬應用程式的應用程式屬性資訊滿足預定應用程式屬性條件且通知消息的消息屬性資訊滿足預定消息屬性條件的情況下,可以利用該通知消息包含的關鍵字以及所滿足的預定條件所共同對應的通知消息的處理方式對通知消息進行相應的處理(即第三處理子模組313利用相應的通知消息處理規則中的通知消息的處理方式對通知消息進行相應的處理)。 The processing module 310 in this embodiment can also set a notification message processing method (predetermined keyword, predetermined application corresponding to the predetermined keyword) for predetermined keywords and corresponding predetermined conditions (including predetermined application attribute conditions and predetermined message attribute conditions). The program attribute condition, the predetermined message attribute condition corresponding to the predetermined keyword, and the processing method of the corresponding notification message can form a notification message processing rule), so that the third processing sub-module 313 detects that the notification message contained in the monitoring module 300 contains When a predetermined keyword and the application property information of the application to which the notification message belongs satisfies the predetermined application property condition and the message property information of the notification message satisfies the predetermined message property condition, the keyword contained in the notification message and the satisfied predetermined keyword can be used. The notification message processing method corresponding to the condition corresponds to the notification message (ie, the third processing sub-module 313 uses the notification message processing method in the corresponding notification message processing rule to perform corresponding processing on the notification message).
處理模組310中的針對包含有預定關鍵字的通知消息進行相應的處理可以為增強提示子模組314針對通知消息進行增強提示處理,如增強提示子模組314以彈窗方式顯示通知消息的消息內容(如增強提示子模組314顯示包含有紅包的彈窗),再如增強提示子模組314透過播放相應的音訊信號和/或者產生震動來提示用戶。 In the processing module 310, the corresponding processing for the notification message containing the predetermined keyword may be for the enhanced prompt sub-module 314 to perform enhanced prompt processing for the notification message. For example, the enhanced prompt sub-module 314 displays the notification message in a pop-up window. Message content (for example, the enhanced prompt sub-module 314 displays a pop-up window containing red packets), and another example is the enhanced prompt sub-module 314 to prompt the user by playing a corresponding audio signal and/or generating vibration.
處理模組310中的針對包含有預定關鍵字的通知消息進行相應的處理也可以為預警提示子模組315針對通知消息進行警示提示處理,如預警提示子模組315以彈窗方式 顯示警示資訊,再如預警提示子模組315透過播放相應的音訊信號和/或者產生震動來警示用戶。 In the processing module 310, the corresponding processing for the notification message containing the predetermined keyword may also be performed for the warning prompt sub-module 315 to perform the warning prompt processing for the notification message. For example, the early warning prompt sub-module 315 displays the warning information in a pop-up window. , another example is the warning prompt sub-module 315 to warn the user by playing a corresponding audio signal and/or generating vibration.
處理模組310中的針對包含有預定關鍵字的通知消息進行相應的處理還可以為調用子模組316針對通知消息,基於智慧電子設備作業系統的協助工具介面調用該通知消息所屬的應用程式,從而可以模擬用戶所執行的操作,如調用子模組316透過協助工具介面在通知消息所屬的應用程式中打開通知消息,具體的,調用子模組316可透過協助工具介面在微信應用程式中打開微信紅包,調用子模組316也可以透過協助工具介面打開電話應用程式的撥號介面,甚至調用子模組316根據通知消息處理規則中設置的電話號碼類比用戶進行撥號操作,調用子模組316還可以透過協助工具介面刪除火車票欺詐的通知消息等等。本實施例不限制調用子模組316針對包含有預定關鍵字的通知消息進行相應的處理的具體處理方式。 The processing module 310 performs corresponding processing on the notification message containing the predetermined keyword, and the sub-module 316 may also call the application program to which the notification message belongs based on the assistance tool interface of the operating system of the smart electronic device for the notification message, In this way, the operation performed by the user can be simulated, such as calling the submodule 316 to open the notification message in the application to which the notification message belongs through the assistance tool interface. Specifically, the calling submodule 316 can be opened in the WeChat application through the assistance tool interface. WeChat red envelope, calling sub-module 316 can also open the dialing interface of the phone application through the assistance tool interface, and even calling sub-module 316 to analogize the user to dial according to the phone number set in the notification message processing rule, calling sub-module 316 also You can delete train ticket fraud notification messages and more through the helper interface. This embodiment does not limit the specific processing manner in which the invoking sub-module 316 performs corresponding processing on the notification message containing the predetermined keyword.
需要注意的是,本發明的一部分可以被應用程式為電腦程式產品,例如電腦程式指令,當其被智慧電子設備(如智慧行動電話或者平板電腦等)執行時,透過該智慧電子設備的操作可以調用或者提供根據本發明的方法和/或技術方案。而調用本發明的方法的程式指令,可能被儲存在固定的或可移動的記錄媒體中,和/或透過廣播或者其他信號承載媒體中的資料流程而被傳輸,和/或被儲存在根據所述程式指令運行的智慧電子設備的工作記憶體中。在此,根據本發明的一個實施例包括一個裝置,該裝 置包括用於儲存電腦程式指令的記憶體和用於執行程式指令的處理器,其中,當該電腦程式指令被該處理器執行時,觸發該裝置運行基於前述根據本發明的多個實施例的方法和/或技術方案。 It should be noted that a part of the present invention can be applied as a computer program product, such as computer program instructions. When it is executed by a smart electronic device (such as a smart mobile phone or a tablet computer, etc.), the operation of the smart electronic device can be used. Invoke or provide methods and/or technical solutions according to the present invention. The program instructions for invoking the method of the present invention may be stored in fixed or removable recording media, and/or transmitted through data flow in broadcast or other signal-bearing media, and/or stored in accordance with the In the working memory of the intelligent electronic device running the program instructions. Here, one embodiment according to the present invention includes an apparatus comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein, when the computer program instructions are executed by the processor, Triggering the apparatus to operate is based on the aforementioned methods and/or technical solutions according to various embodiments of the present invention.
對於本領域技術人員而言,顯然本發明並不限於上述示範性實施例的細節,而且在不背離本發明的精神或基本特徵的情況下,能夠以其他的具體形式實現本發明。因此,無論從哪一點來看,均應將實施例看作是示範性的描述,而且是非限制性的描述,本發明的範圍由申請專利範圍而不是上述說明限定,因此,旨在將落在申請專利範圍的等同要件的含義以及範圍內的所有變化都涵括在本發明之內。不應當將申請專利範圍中的任何圖式標記視為限制所涉及的申請專利範圍。此外,顯然“包括”一詞不排除其他單元或者步驟,單數不排除複數。系統申請專利範圍中陳述的多個單元或裝置也可以由一個單元或裝置透過軟體或者硬體來實現。第一和第二等詞語用來表示名稱,而並不表示任何特定的順序。 It will be apparent to those skilled in the art that the present invention is not limited to the details of the above-described exemplary embodiments, but that the present invention may be embodied in other specific forms without departing from the spirit or essential characteristics of the invention. Therefore, the embodiments should be regarded as illustrative descriptions, and non-restrictive descriptions in all respects, and the scope of the present invention is defined by the scope of the patent application rather than the above description, and therefore, it is intended to fall within the scope of the present invention. The meaning of the equivalents of the claimed scope and all changes within the scope are included in the present invention. Any drawing reference in the patentable scope should not be construed as limiting the claimed patentable scope involved. Furthermore, it is clear that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or devices stated in the scope of the patent application for the system may also be implemented by one unit or device through software or hardware. The terms first and second are used to denote names and do not denote any particular order.
Claims (20)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW106102492A TWI754627B (en) | 2017-01-23 | 2017-01-23 | Method and device for processing notification messages |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW106102492A TWI754627B (en) | 2017-01-23 | 2017-01-23 | Method and device for processing notification messages |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201828054A TW201828054A (en) | 2018-08-01 |
TWI754627B true TWI754627B (en) | 2022-02-11 |
Family
ID=63960535
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW106102492A TWI754627B (en) | 2017-01-23 | 2017-01-23 | Method and device for processing notification messages |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI754627B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101951577A (en) * | 2010-09-27 | 2011-01-19 | 宇龙计算机通信科技(深圳)有限公司 | Short message processing method and device thereof |
CN103916829A (en) * | 2014-03-24 | 2014-07-09 | 小米科技有限责任公司 | Desktop message notifying method and device |
WO2016029425A1 (en) * | 2014-08-29 | 2016-03-03 | 华为技术有限公司 | Information notifying method, apparatus and terminal |
CN106161199A (en) * | 2015-04-27 | 2016-11-23 | 华为技术有限公司 | A kind of Content of Communication treating method and apparatus |
-
2017
- 2017-01-23 TW TW106102492A patent/TWI754627B/en active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101951577A (en) * | 2010-09-27 | 2011-01-19 | 宇龙计算机通信科技(深圳)有限公司 | Short message processing method and device thereof |
CN103916829A (en) * | 2014-03-24 | 2014-07-09 | 小米科技有限责任公司 | Desktop message notifying method and device |
WO2016029425A1 (en) * | 2014-08-29 | 2016-03-03 | 华为技术有限公司 | Information notifying method, apparatus and terminal |
CN106161199A (en) * | 2015-04-27 | 2016-11-23 | 华为技术有限公司 | A kind of Content of Communication treating method and apparatus |
Also Published As
Publication number | Publication date |
---|---|
TW201828054A (en) | 2018-08-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106940641B (en) | Notification message processing method and device | |
US10372469B2 (en) | Method and device for displaying information | |
US10990623B2 (en) | Information retrieval method, eletronic device and storage medium | |
CN107992248B (en) | Message display method and device | |
JP6169764B2 (en) | Providing executable content to computing devices based on user actions | |
US11815936B2 (en) | Providing contextually-relevant database content based on calendar data | |
CN106961384A (en) | A kind of message treatment method and electronic equipment | |
US8881065B2 (en) | Presentation mode/full-screen mode interrupting action prevention | |
US20150208219A1 (en) | Smart cache warming | |
CN105446994A (en) | Service recommendation method and device with intelligent assistant | |
WO2018120190A1 (en) | Method for indicating unread message, and terminal | |
CN108846295B (en) | Sensitive information filtering method and device, computer equipment and storage medium | |
WO2015096600A1 (en) | Document push notification method and device | |
US20070261005A1 (en) | Methods, systems, and computer program products for managing user focus change between applications | |
WO2017020482A1 (en) | Ticket information display method and device | |
WO2017166667A1 (en) | Method of pushing message on lock screen on mobile terminal, device, and electronic apparatus | |
US12032644B2 (en) | Systems and methods for displaying contextually relevant links | |
WO2017032227A1 (en) | Message prompting and processing method, apparatus, and client | |
CN108898807B (en) | Hidden alarm method, device, terminal and storage medium | |
WO2019114352A1 (en) | Method and device for application notification control, and terminal | |
CN112422735B (en) | Information prompting method and device | |
EP3023890A1 (en) | Method and device for forming group using communication history information | |
TWI754627B (en) | Method and device for processing notification messages | |
CN105450510B (en) | Friend management method, device and server for social network-i i-platform | |
WO2021022434A1 (en) | Application monitoring method and apparatus, storage medium, and electronic device |