Summary of the invention
In view of this, the object of the present invention is to provide kind of a mobile terminal notification message reminding method, device and mobile terminal, realize and learn all notification messages that are blocked and point out user in the aspect of Android system.
For achieving the above object, the present invention has following technical scheme:
First aspect, the invention provides a kind of mobile terminal notification message reminding method, and described method comprises:
Receiving notice message, and according to the priority of application program, described notification message is forwarded to application program to broadcast in order;
Judge whether described orderly broadcast is interrupted; Interrupt broadcast in order when application program, this notification message is stored in the first list; Described storage notification message comprises content, sender's information and the transmitting time of storing notification message;
Point out the notification message of storing in described the first list according to default implied condition.
In the possible implementation of the first of first aspect, describedly judge whether described orderly broadcast is interrupted and be specially:
The application program that participates in broadcast is in order monitored, received and for continuing to transmit the application program of notification message, think that orderly broadcast is interrupted when existing.
In the possible implementation of the second of first aspect, the default implied condition of described basis points out the notification message of storing in described the first list to be specially:
Default very first time threshold value; Within judging very first time threshold value, whether the notification message being blocked is prompted;
If this notification message is prompted, this notification message is stored in the second list;
Contrast described the first list and described the second list, point out in described the first list exist and described the second list in non-existent notification message.
In the third possible implementation of first aspect, the default implied condition of described basis points out the notification message of storing in described the first list to be specially:
Default the second time threshold; Judge within the second time threshold, whether the notification message being blocked is prompted;
If this notification message is not prompted, this notification message is stored in the 3rd list;
Point out simultaneous notification message in described the first list and described the 3rd list.
In the 4th kind of possible implementation of first aspect, the default implied condition of described basis points out the notification message of storing in described the first list to be specially:
Point out the notification message of all storages in described the first list.
Second aspect, the invention provides a kind of mobile terminal notification message suggestion device, and described device comprises:
Receiver module, for receiving notice message, and according to the priority of application program, is forwarded to application program to broadcast in order by described notification message;
Control module, for judging whether described orderly broadcast is interrupted; Interrupt broadcast in order when application program, this notification message is stored in the first list; Described storage notification message comprises content, sender's information and the transmitting time of storing notification message;
Reminding module, for the notification message of pointing out described the first list to store according to default implied condition.
In the possible implementation of the first of second aspect, described control module specifically comprises:
Monitoring unit, for the application program that participates in broadcast is in order monitored, receives and for continuing to transmit the application program of notification message, thinks that orderly broadcast is interrupted when existing;
List cell, in the time that application program is interrupted orderly broadcast, is stored in this notification message in the first list; Described storage notification message comprises content, sender's information and the transmitting time of storing notification message.
In the possible implementation of the second of second aspect, described control module also comprises:
The first default unit, for default very first time threshold value;
Described list cell also for, within judging very first time threshold value, whether the notification message being blocked is prompted; If this notification message is prompted, this notification message is stored in the second list;
Described reminding module points out the notification message of storing in described the first list to be specially according to default implied condition; Contrast described the first list and described the second list, point out in described the first list exist and described the second list in non-existent notification message.
In the third possible implementation of second aspect, described control module also comprises:
The second default unit, for default the second time threshold;
Described list cell also for, judge within the second time threshold, whether the notification message being blocked is prompted; If this notification message is not prompted, this notification message is stored in the 3rd list;
Described reminding module points out the notification message of storing in described the first list to be specially according to default implied condition; Point out simultaneous notification message in described the first list and described the 3rd list.
In the 4th kind of possible implementation of second aspect, described reminding module points out the notification message of storing in described the first list to be specially according to default implied condition:
Point out the notification message of all storages in described the first list.
As seen through the above technical solutions, the beneficial effect that the present invention exists is: monitor the orderly broadcast of all notification messages in the aspect of system, and all notification messages that are blocked are stored in the first list; Thus, even if meet with the malicious intercepted that does not send interception prompting to user, still can utilize the storage of the first list to point out to user; Thereby the situation of having avoided notification message that malicious intercepted causes to lose.
Embodiment
For making object, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
The term using is in embodiments of the present invention only for describing the object of specific embodiment, but not is intended to limit the present invention." one ", " described " and " being somebody's turn to do " of the singulative using in the embodiment of the present invention and appended claims are also intended to comprise most forms, unless context clearly represents other implications.It is also understood that term "and/or" used herein refer to and comprise one or more projects of listing that are associated any or all may combine.
Depend on linguistic context, as used in this word " if " can be construed as into " ... time " or " when ... time " or " in response to determine " or " in response to detecting ".Similarly, depend on linguistic context, phrase " if determining " or " if detecting (the conditioned disjunction event of statement) " can be construed as " when definite " or " in response to determining " or " in the time detecting (the conditioned disjunction event of statement) " or " in response to detecting (the conditioned disjunction event of statement) ".
Orderly broadcast in Android system is exactly that, after terminal receives a notification message (comprising note, incoming call etc.), the order according to priority is successively obtained notification message by some application programs with receiving notice message authority in simple terms.Whether the application program that priority is high first obtains this notification message, and determine by this notification message going down, if transmitted, priority time high application program obtains this notification message, by that analogy.Or after certain application program obtains this notification message, also can determine not continue to transmit this short breath, namely interrupt orderly broadcast; Follow-up other application programs no longer can obtain this notification message, and terminal is also no longer to for pointing out this notification message, and this is so-called notification message interception namely.
As a rule, after interception notification message, application program need to send an interception prompting to user, informs that this notification message of user is blocked, and avoids the loss of notification message.If otherwise application program does not send interception prompting, just user has no way of learning that in fact terminal received the notification message being blocked, depending on be malicious intercepted.
Most application programs for the terminal optimized management of Android possess notification message interception function, and these application programs will be according to demand from setting priority, decide from the order that obtains notification message in orderly broadcast.And also existential specification system in industry, the setting of constraint applies program to self priority.In Android system, described priority represents with digital form, and numerical value more illustrates that priority is higher; In the standard system of present stage, stipulate, application program should be within 1000 to-1000 interval from the number range of setting priority.
But under actual conditions, owing to there is relevant leak in Android system, make this standard system not obligate power at all, be easy to be broken.Various application programs are for the acquisition notification message of trying to be the first in orderly broadcast, all can heighten as far as possible the numerical value of self priority; It is of common occurrence that numerical priority value is greater than 1000 application program, even some application program directly numerical priority value be set to theoretical maximum (being the maximum 2147483647 of int type).
The fighting for of notification message in visible orderly broadcast, and even the problem that again and again occurs of malicious intercepted, all because Android application program market is too huge and chaotic causing.That is to say, if want to improve the problems referred to above by constraint and the management of application program aspect, also unrealistic.But, described notification message interception function is the function in application program aspect eventually, in any case the support that the realization of this function also cannot separating system aspect.The present invention, based on this thought, from the aspect of Android system, monitors orderly broadcast all in terminal, learns the interception situation of application program for notification message, then provides prompting according to corresponding mechanism to user.
Shown in Figure 1, be a specific embodiment of the method for the invention, described method comprises:
Step 101, receiving notice message, and according to the priority of application program, described notification message is forwarded to application program to broadcast in order.
Based on the feature of Android system, system level will receive notification message prior to all application programs; That is to say, the program that no matter whether is employed is tackled, and this notification message all can be received by the system.And then system contrasts the priority of each application program, described notification message is forwarded to the application program that priority is the highest, start the flow process of broadcast in order.
Step 102, judge whether described orderly broadcast is interrupted; Interrupt broadcast in order when application program, this notification message is stored in the first list; Described storage notification message comprises content, sender's information and the transmitting time of storing notification message.
In this step, system is monitored the application program that participates in broadcast in order, receives and for continuing to transmit the application program of notification message, thinks that orderly broadcast is interrupted when existing.
If the notification message of broadcast is obtained and is not blocked by each application program successively in order, finally must will be prompted to user, make user know the reception of notification message; This is the old process of terminal receiving notice message.
If on the contrary in the process of broadcast in order, certain application program has been interrupted orderly broadcast, just illustrates that this application program carried out the function of notification message interception.In this case, may be because this application program judges that this notification message is rubbish notification message, has carried out interception function normally; Also may be because application program is malicious application, carry out the notification message interception of malice; May be even that mistake is tackled normal notification message as rubbish notification message due to the mistake of this application program judgement.
In this step, whether each application program of system monitoring, for the processing of orderly broadcast, is learned timely and is had application program to interrupt orderly broadcast.No matter application program is because which kind of reason is carried out notification message interception function, as long as broadcast is interrupted in order, the notification message that is about to be blocked stores in the middle of the first list.This also just means, described the first list storage the notification message being all blocked.
In the present embodiment, described the first list can be a Hash table.In addition, described the first list storage notification message, comprises content, sender's information and the transmitting time of storing notification message.
Step 103, point out the notification message of storing in described the first list according to default implied condition.
Aforementioned known, the notification message being blocked since all is all stored in described the first list, so so-calledly must be also contained in the first list by the notification message of malicious intercepted.So implied condition only need be set, so as all or part of notification message of storing in prompting the first list, the situation that just can avoid some notification message not known by user because of abnormal interception.
Certainly, how on earth screen the notification message in described the first list of prompting, mode is not unique, does not do in the present embodiment concrete restriction.But can be clear and definite, no matter point out in which way the notification message in described the first list, be all included under the overall technical architecture of method described in the present embodiment.
Described in Fig. 2, be apparatus of the present invention specific embodiment, described device, in order to realize the method flow shown in Fig. 1, specifically comprises following:
Receiver module 201, for receiving notice message, and according to the priority of application program, is forwarded to application program to broadcast in order by described notification message.
Control module 202, for judging whether described orderly broadcast is interrupted; Interrupt broadcast in order when application program, this notification message is stored in the first list; Described storage notification message comprises content, sender's information and the transmitting time of storing notification message.
It should be noted that, described control module 202 is the functional modules that are structured in Android system aspect.In the prior art, Android system just can be broadcasted in order by an ArrayList store and management, in other words for Android system itself, can realize thus prior to all application programs and learn whole notification messages that terminal receives.
In the present embodiment, build described control module according to this characteristic of Android system, make described control module to learn all orderly broadcast from system level, and monitoring application program is for the processing of orderly broadcast.
Reminding module 203, for the notification message of pointing out described the first list to store according to default implied condition.
Method shown in Fig. 1~2 and device embodiment, basic embodiment of the present invention, as seen through the above technical solutions, the beneficial effect that Fig. 1~2 illustrated embodiment exists is: monitor the orderly broadcast of all notification messages in the aspect of system, and all notification messages that are blocked are stored in the first list; Thus, even if meet with the malicious intercepted that does not send interception prompting to user, still can utilize the storage of the first list to point out to user; Thereby the situation of having avoided notification message that malicious intercepted causes to lose.
Method is as shown in Figure 1 only a basic embodiment of the method for the invention.Shown in Fig. 1, in method, described implied condition is not made to concrete description and restriction.In fact, described implied condition can be set flexibly for different user demands.Specifically by concrete disclosing in following some embodiment:
Shown in Figure 3, be another specific embodiment of the method for the invention, in the present embodiment, described method comprises:
Step 301, receiving notice message, and according to the priority of application program, described notification message is forwarded to application program to broadcast in order.
Step 302, judge whether described orderly broadcast is interrupted; Interrupt broadcast in order when application program, this notification message is stored in the first list; Described storage notification message comprises content, sender's information and the transmitting time of storing notification message.
Step 303, default very first time threshold value; Within judging very first time threshold value, whether the notification message being blocked is prompted; If this notification message is prompted, this notification message is stored in the second list.
Step 304, contrast described the first list and described the second list, point out in described the first list, exist and described the second list in non-existent notification message.
Owing to the object of the invention is to avoid the notification message that malicious intercepted notification message causes to lose, so in the present embodiment, only the notification message that belongs to malicious intercepted in described the first list is prompted to user.And whether the notification message that judgement is blocked belongs to malicious intercepted, after interception notification message, whether send interception prompting according to application program and determine.
So in the present embodiment, after control module stores in the first list by the notification message being blocked, default very first time threshold value, orderly broadcast application is interrupted in monitoring, whether within very first time threshold value, send out interception prompting, to notify this application program of user to tackle this notification message.If sent, illustrate that this notification message interception belongs to normal interception, control module stores this notification message in the second list into; What in visible the second list, store is the notification message that all quilts are normally tackled.Otherwise, if after notification message is blocked, exceeded very first time threshold value and be not prompted, should be regarded as malicious intercepted.
In described the first list, store all notification messages that are blocked, in described the second list, stored the notification message that all quilts are normally tackled, can say that the second list is a subclass of the first list; Also can infer, in the first list, comprise and the second list in the notification message that do not comprise, be exactly the notification message that application program does not send interception prompting after interception, so-called by the notification message of malicious intercepted.
In the present embodiment, described contrast the first list and the second list, and point out in described the first list exist and described the second list in non-existent notification message; Be user and pointed out allly by the notification message of malicious intercepted, make the notification message that terminal is accepted be unlikely to not known by user because of malicious intercepted.
Described the second list can be Hash table.
Shown in Figure 4, be another specific embodiment of the method for the invention.In the present embodiment, described method comprises:
Step 401, receiving notice message, and according to the priority of application program, described notification message is forwarded to application program to broadcast in order.
Step 402, judge whether described orderly broadcast is interrupted; Interrupt broadcast in order when application program, this notification message is stored in the first list; Described storage notification message comprises content, sender's information and the transmitting time of storing notification message.
Step 403, default the second time threshold; Judge within the second time threshold, whether the notification message being blocked is prompted; If this notification message is not prompted, this notification message is stored in the 3rd list.
Step 404, point out simultaneous notification message in described the first list and described the 3rd list.
In the present embodiment, point out the mode of notification message in the first list to user, there is similar effect with method shown in Fig. 3, but just contrary in specific implementation thinking.
So in the present embodiment, after the notification message being blocked stores in the first list, default the second time threshold, orderly broadcast application is interrupted in monitoring, whether within very first time threshold value, send out interception prompting, to notify this application program of user to tackle this notification message.But be different from method shown in Fig. 3, select in the present embodiment the notification message not being prompted to be stored in the 3rd list.
That is to say, if certain application program is after interrupting broadcasting in order in the present embodiment, the time that does not send described interception prompting exceedes the second time threshold, thinks malicious intercepted.And then all notification messages by malicious intercepted are stored in to the 3rd list.
So also belonging in the 3rd list is a subset of the first list.In the present embodiment, point out simultaneous notification message in the first list and the 3rd list, be user and pointed out allly by the notification message of malicious intercepted, make the notification message that terminal is accepted be unlikely to not known by user because of malicious intercepted.
Described the 3rd list can be Hash table.
Shown in Figure 5, be another specific embodiment of the method for the invention.Described in Fig. 5, method specifically comprises:
Step 501, receiving notice message, and according to the priority of application program, described notification message is forwarded to application program to broadcast in order.
Step 502, judge whether described orderly broadcast is interrupted; Interrupt broadcast in order when application program, this notification message is stored in the first list; Described storage notification message comprises content, sender's information and the transmitting time of storing notification message.
Step 503, point out the notification message of all storages in described the first list.
In the present embodiment, no longer screen which notification message in the first list and belong to by the notification message of malicious intercepted, but directly point out the notification message of all storages in the first list; The notification message that makes equally terminal accept is unlikely to not known by user because of malicious intercepted.
Three embodiments of the method described in corresponding diagram 3~5, have following mobile terminal notification message suggestion device embodiment, for method described in above-mentioned three embodiment of realizing of correspondence, and shown in Figure 6 being specially:
Receiver module 601, for receiving notice message, and according to the priority of application program, is forwarded to application program to broadcast in order by described notification message.
Control module 602, for judging whether described orderly broadcast is interrupted; Interrupt broadcast in order when application program, this notification message is stored in the first list; Described storage notification message comprises content, sender's information and the transmitting time of storing notification message.
Described control module 602 specifically comprises:
Monitoring unit 621, for the application program that participates in broadcast is in order monitored, receives and for continuing to transmit the application program of notification message, thinks that orderly broadcast is interrupted when existing;
List cell 622, in the time that application program is interrupted orderly broadcast, is stored in this notification message in the first list; Described storage notification message comprises content, sender's information and the transmitting time of storing notification message.
And described control module 602 can comprise the first default unit 623 and/or the second default unit 624, is specially:
The first default unit 623, for default very first time threshold value.Within described list cell judges very first time threshold value, whether the notification message being blocked is prompted; If this notification message is prompted, this notification message is stored in the second list.
The second default unit 624, for default the second time threshold.Described list cell judges within the second time threshold, and whether the notification message being blocked is prompted; If this notification message is not prompted, this notification message is stored in the 3rd list.
Reminding module 603, for contrasting described the first list and described the second list, point out in described the first list exist and described the second list in non-existent notification message;
And/or point out simultaneous notification message in described the first list and described the 3rd list;
And/or point out the notification message of all storages in described the first list.
Method shown in Fig. 3~6 installs in embodiment, utilizes three kinds of diverse ways from the first list, choose notification message and point out to user.The beneficial effect that above three embodiment exist is: make the method for the invention overall technical architecture more complete, flexibility is stronger, open more abundant.
From another angle, in the present invention, can also according to demand, point out the notification message in described the first list with different condition triggering systems.In embodiment more than the present invention, preferably coupling system is pointed out the trigger mechanism of corresponding notification message in other words, specifically comprises following:
Steps A, default the 3rd time threshold, interrupt reaching described the 3rd time threshold when orderly broadcast, points out notification message.
In this step, it is relatively real-time pointing out corresponding notification message.Interrupt when orderly broadcast, the storage in described the first list, the second list and/or the 3rd list completes, and the broadcast some time delays of interruption (i.e. the 3rd time threshold) afterwards, are pointed out corresponding notification message in order.Generally speaking, described the 3rd time threshold should be slightly larger than very first time threshold value and the second time threshold.
Step B, preset time period, according to time cycle prompting notification message.
In this step, it is periodic pointing out corresponding notification message.For example, can be one hour in the setup times cycle, per hour to once corresponding notification message of user's prompting.
Step C, according to prompt command prompting notification message.
In this step, pointing out corresponding notification message is to trigger according to user's operational order.That is to say, when user wishes to check while whether existing by the notification message of malicious intercepted, send a prompt command by system; System is according to the corresponding notification message of this command cue.
The trigger condition of above three kinds of prompting notification messages, can be used as preferred version, single or being attached in the method shown in Fig. 2~6 simultaneously.The beneficial effect that above preferred version exists is: make the method for the invention overall technical architecture more complete, flexibility is stronger, open more abundant.
In addition, be a specific embodiment of mobile terminal of the present invention, described mobile terminal is with the method prompting notification message described in previous embodiment, and described mobile terminal comprises:
Touch-screen display;
One or more processors;
Memory, and one or more program; Described one or more program is stored in described memory, and is configured to be carried out by described one or more processors; Described one or more program comprises:
Receiving notice message, and according to the priority of application program, described notification message is forwarded to application program to broadcast in order; Judge whether described orderly broadcast is interrupted; Interrupt broadcast in order when application program, this notification message is stored in the first list; Described storage notification message comprises content, sender's information and the transmitting time of storing notification message; Point out the notification message of storing in described the first list according to default implied condition.
In the present embodiment, the beneficial effect that described mobile terminal exists is: monitor the orderly broadcast of all notification messages in the aspect of system, and all notification messages that are blocked are stored in the first list; Thus, even if meet with the malicious intercepted that does not send interception prompting to user, still can utilize the storage of the first list to point out to user; Thereby the situation of having avoided notification message that malicious intercepted causes to lose.
As seen through the above description of the embodiments, those skilled in the art can be well understood to the mode that all or part of step in above-described embodiment method can add essential general hardware platform by software and realizes.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., comprise that some instructions (can be personal computers in order to make a computer equipment, server, or network communication equipments such as media gateway, etc.) method described in some part of each embodiment of the present invention or embodiment carried out.
It should be noted that, each embodiment in this specification all adopts the mode of going forward one by one to describe, between each embodiment identical similar part mutually referring to, what each embodiment stressed is and the difference of other embodiment.Especially,, for equipment and system embodiment, because it is substantially similar in appearance to embodiment of the method, so describe fairly simplely, relevant part is referring to the part explanation of embodiment of the method.Equipment and system embodiment described above is only schematic, can or can not also wherein physically to separate as the unit of separating component explanation, the parts that show as unit can be or can not be also physical locations, can be positioned at a place, or also can be distributed in multiple network element.Can select according to the actual needs some or all of module wherein to realize the object of the present embodiment scheme.Those of ordinary skills, in the situation that not paying creative work, are appreciated that and implement.
The foregoing is only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.All any modifications of doing within the spirit and principles in the present invention, be equal to replacement, improvement etc., be all included in protection scope of the present invention.