CN110278329B - Notification message management method and mobile terminal - Google Patents
Notification message management method and mobile terminal Download PDFInfo
- Publication number
- CN110278329B CN110278329B CN201910531161.6A CN201910531161A CN110278329B CN 110278329 B CN110278329 B CN 110278329B CN 201910531161 A CN201910531161 A CN 201910531161A CN 110278329 B CN110278329 B CN 110278329B
- Authority
- CN
- China
- Prior art keywords
- notification message
- preset condition
- preset
- notification
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000007726 management method Methods 0.000 title claims abstract description 16
- 238000012545 processing Methods 0.000 claims abstract description 79
- 238000000034 method Methods 0.000 claims abstract description 49
- 230000008569 process Effects 0.000 claims description 24
- 238000004590 computer program Methods 0.000 claims description 13
- 238000004458 analytical method Methods 0.000 claims description 4
- 230000004044 response Effects 0.000 claims description 4
- 230000006870 function Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 8
- 230000000694 effects Effects 0.000 description 5
- 230000002411 adverse Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 238000013135 deep learning Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000036541 health Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000012163 sequencing technique Methods 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000007115 recruitment Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000010079 rubber tapping Methods 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 239000013589 supplement Substances 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/7243—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Telephone Function (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a management method of notification messages and a mobile terminal, wherein the method comprises the following steps: acquiring a notification message; sequentially judging whether the notification message is matched with at least one preset condition according to a preset matching sequence of a plurality of preset conditions; if the notification message matches a target preset condition, storing the notification message under a target grade label corresponding to the target preset condition, and executing corresponding processing according to a reminding strategy corresponding to the target grade label; wherein the target preset condition is a preset condition that is matched with the notification message for the first time among the plurality of preset conditions. The invention ensures the reasonability of the reminding processing aiming at the notification message and avoids the problem that other more important messages can not be displayed in time because part of the notification message occupies the notification bar.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a management method for notification messages and a mobile terminal.
Background
With the development of mobile terminal technology, the application types applied to the mobile terminal are more and more. In order to provide a user with a real-time message service, a notification message may pop up at a notification bar. In order to meet the use requirements, a user may install dozens of applications on the mobile terminal, and the applications generate a large amount of notification messages and remind users in a notification bar. At present, notification messages generated by an application are generally arranged and displayed according to a time sequence, so that when the number of the notification messages in a certain time period is large and even the whole notification bar is occupied, the display mode of the notification messages is not reasonable enough, and other important messages cannot be displayed in time, thereby causing adverse effects to users.
Disclosure of Invention
The invention provides a management method of notification messages and a mobile terminal, and aims to solve the problems that in the prior art, the display mode of the notification messages is not reasonable enough, and other important messages can not be displayed in time.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a method for managing notification messages, which is applied to a mobile terminal, and includes:
acquiring a notification message;
sequentially judging whether the notification message is matched with at least one preset condition according to a preset matching sequence of a plurality of preset conditions;
if the notification message matches a target preset condition, storing the notification message under a target grade label corresponding to the target preset condition, and executing corresponding processing according to a reminding strategy corresponding to the target grade label; wherein the target preset condition is a preset condition that is matched with the notification message for the first time among the plurality of preset conditions.
In a second aspect, an embodiment of the present invention further provides a mobile terminal, including:
the acquisition module is used for acquiring the notification message;
the judging module is used for sequentially judging whether the notification message is matched with at least one preset condition according to a preset matching sequence of a plurality of preset conditions;
the processing module is used for storing the notification message under a target grade label corresponding to a target preset condition if the notification message is matched with the target preset condition, and executing corresponding processing according to a reminding strategy corresponding to the target grade label; wherein the target preset condition is a preset condition that is matched with the notification message for the first time among the plurality of preset conditions.
In a third aspect, an embodiment of the present invention further provides a mobile terminal, including a processor, a memory, and a computer program stored on the memory and operable on the processor, where the computer program, when executed by the processor, implements the steps of the method for managing notification messages as described above.
In a fourth aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the method for managing notification messages as described above.
In the embodiment of the invention, whether the notification message matches at least the preset conditions is sequentially judged according to the preset matching sequence of the preset conditions, the notification message matching the target preset conditions is stored under the target grade label corresponding to the target preset conditions, and corresponding processing is executed according to the reminding strategy corresponding to the target grade label; wherein the target preset condition is a preset condition that is matched with the notification message for the first time among the plurality of preset conditions. Therefore, the level labels can be sequentially matched for the notification messages according to a plurality of preset conditions, so that the reasonability of the reminding processing for the notification messages is ensured, and the situation that other important messages cannot be displayed in time due to the fact that part of the notification messages occupy the notification bar is avoided.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
Fig. 1 shows a flow chart of a method for managing notification messages according to an embodiment of the invention;
FIG. 2 is a flowchart illustrating an embodiment of storing a notification message under a target rating label and performing corresponding processing according to a reminder policy corresponding to the target rating label;
FIG. 3 is a schematic diagram illustrating a display level tab in a system notification bar according to an embodiment of the invention;
FIG. 4 is a schematic diagram illustrating an expansion of a rating tab in a system notification bar according to an embodiment of the present invention;
FIG. 5 is one of the schematic diagrams of a notification setup interface according to an embodiment of the invention;
FIG. 6 is a second schematic diagram of a notification setup interface according to an embodiment of the invention;
FIG. 7 is a third diagram of a notification setup interface according to an embodiment of the invention;
FIG. 8 shows a block diagram of a mobile terminal of an embodiment of the invention;
fig. 9 is a schematic diagram of a hardware configuration of a mobile terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, an embodiment of the present invention provides a method for managing a notification message, which is applied to a mobile terminal, and includes:
step 11: and acquiring the notification message.
Wherein, the notification message may be an instant message, such as: the message sent by the instant messaging contact person can also be a push message, such as: the information of commodity price reduction pushed by the shopping application, the bill information pushed by the financial application, the transaction information and the like, and the type of the notification message is not particularly limited in the embodiment of the invention.
Step 12: and sequentially judging whether the notification message is matched with at least one preset condition according to a preset matching sequence of a plurality of preset conditions.
Step 13: if the notification message matches a target preset condition, storing the notification message under a target grade label corresponding to the target preset condition, and executing corresponding processing according to a reminding strategy corresponding to the target grade label; wherein the target preset condition is a preset condition that is matched with the notification message for the first time among the plurality of preset conditions.
For example: the plurality of preset conditions include: the method comprises the following steps of a first preset condition, a second preset condition, a third preset condition, a fourth preset condition and a fifth preset condition. And may be according to a matching order from the first preset condition to the fifth preset condition:
if the notification message matches the first preset condition, storing the notification message under a first grade label corresponding to the first preset condition, executing corresponding processing according to a reminding strategy corresponding to the first grade label, and ending the process;
if the notification message does not match the first preset condition and matches a second preset condition, storing the notification message under a second-level label corresponding to the second preset condition, executing corresponding processing according to a reminding strategy corresponding to the second-level label, and ending the process;
if the notification message does not match the second preset condition and matches the third preset condition, storing the notification message under a third-level label corresponding to the third preset condition, executing corresponding processing according to a reminding strategy corresponding to the third-level label, and ending the process;
if the notification message does not match the third preset condition and matches the fourth preset condition, storing the notification message under a fourth grade label corresponding to the fourth preset condition, executing corresponding processing according to a reminding strategy corresponding to the fourth grade label, and ending the process;
if the notification message does not match the fourth preset condition and matches the fifth preset condition, the notification message is stored under a fifth level label corresponding to the fifth preset condition, corresponding processing is executed according to a reminding strategy corresponding to the fifth level label, and the process is ended.
In this embodiment, whether the notification message matches at least one preset condition is sequentially determined according to a preset matching sequence of a plurality of preset conditions, the notification message matching the target preset condition is stored under a target level label corresponding to the target preset condition, and corresponding processing is executed according to a reminding strategy corresponding to the target level label; wherein the target preset condition is a preset condition that is matched with the notification message for the first time among the plurality of preset conditions. Therefore, the level labels can be sequentially matched for the notification messages according to a plurality of preset conditions, so that the reasonability of the reminding processing for the notification messages is ensured, and the situation that other important messages cannot be displayed in time due to the fact that part of the notification messages occupy the notification bar is avoided.
Optionally, as shown in fig. 2, the step 12 specifically includes:
step 121: judging whether the target application to which the notification message belongs is matched with a first preset condition or not;
step 122: if the target application matches the first preset condition, determining that the first preset condition is the target preset condition; if the target application does not match the first preset condition, judging whether the content of the notification message matches a second preset condition;
step 123: if the content of the notification message matches the second preset condition, determining that the second preset condition is the target preset condition; if the content of the notification message does not match the second preset condition, judging whether the content of the notification message matches a third preset condition;
step 124: if the content of the notification message matches the third preset condition, determining that the third preset condition is the target preset condition; if the content of the notification message does not match the third preset condition, judging whether the scene type corresponding to the notification message matches a fourth preset condition;
step 125: if the scene type corresponding to the notification message matches the fourth preset condition, determining that the fourth preset condition is the target preset condition; if the scene type corresponding to the notification message does not match the fourth preset condition, determining that the notification message matches a fifth preset condition, and determining that the fifth preset condition is the target preset condition.
Optionally, step 13 specifically includes:
if the target application to which the notification message belongs matches a first preset condition, storing the notification message under a first-level label, and executing corresponding reminding processing according to a reminding strategy corresponding to the first-level label;
if the target application does not match the first preset condition and the content of the notification message matches a second preset condition, storing the notification message under a second-level label, and executing corresponding reminding processing according to a reminding strategy corresponding to the second-level label;
if the notification text of the notification message does not match the second preset condition and the content of the notification message matches a third preset condition, storing the notification message under a third-level label, and not executing the reminding processing according to a reminding strategy corresponding to the third-level label;
if the content of the notification message does not match the third preset condition and the scene type corresponding to the notification message matches a fourth preset condition, storing the notification message under a fourth-level label, and executing corresponding reminding processing according to a reminding strategy corresponding to the fourth-level label;
if the scene type corresponding to the notification message does not match the fourth preset condition, storing the notification message under a fifth-level label, and not executing the reminding processing according to the reminding strategy corresponding to the fifth-level label.
For example: the first level label is "important notifications", and the second level label is "valid notifications"; the third registered label is "mask notice", the fourth level label is "normal notice", and the fifth level label is "marketing notice".
Alternatively, these rating labels are displayed in the order of "important notification", "effective notification", "general notification", "marketing notification", and "mask notification" in the system notification bar, as shown in fig. 3.
Specifically, in the system notification bar, the number of corresponding unread messages is displayed under each level label, so that important message omission caused by occupation of a status bar when a large number of notification messages exist is avoided.
Further, after the step 13, the method further includes:
receiving a first input for a target level label;
and responding to the first input, arranging and displaying the notification messages under the target grade label according to the descending order of the notification reading probability corresponding to the target application to which the notification messages belong.
Wherein the notification reading probability is: the ratio of the number of the notification messages corresponding to the target application that have been read to the total number of the notification messages corresponding to the target application in a first preset time period.
For example: in the system notification bar, each level label corresponds to an expansion/retraction button respectively; a user can expand a corresponding notification message under a target level label by clicking an expansion button corresponding to the target level label, as shown in fig. 4; and the display of the corresponding notification message under the target grade label can be cancelled by clicking a retraction button corresponding to the target grade label.
In this way, in the system notification bar, the ranking labels are displayed in a sorted manner, and the priority with high importance ranking is displayed, so that the phenomenon that the marketing notification occupies the system notification bar, and the important messages are missed is avoided.
Particularly, the notification messages under the labels of all levels can be sequenced and displayed according to the time for the mobile terminal to acquire the notification messages; and switching between a mode of sequencing and displaying the notification messages under the labels of all levels according to the time of the notification messages acquired by the mobile terminal and a mode of sequencing and displaying the notification messages according to the descending order of the reading probability of the notifications corresponding to the target application to which the notification messages belong according to the operation input of the user.
Optionally, when receiving a notification message with a level label of "important notification", a reminding policy corresponding to the "important notification" may be used for reminding, for example: one or a combination of screen lightening, vibration and ringing prompt; when receiving the notification message with the level label of "effective notification", the notification may be performed by using a notification policy corresponding to "effective notification", for example: one or a combination of screen lightening, vibration and ringing prompt; when receiving the notification message with the level label of "ordinary notification", the notification may be performed by using a notification policy corresponding to "ordinary notification", for example: one or a combination of screen lightening, vibration and ringing prompt; when a notification message whose level label is "normal notification" or "masked notification" is received, the reminder processing may not be performed.
In particular, the reminding policies corresponding to the level labels "important notification", "effective notification", and "general notification" may be the same or different.
In this embodiment, from the perspective of user information management efficiency, the class labels to which the notification messages belong are divided according to the validity and the importance of the notification messages, and the notification messages are sorted internally according to the notification reading probability, that is, the reading reaction of the user for the notification messages is considered in a closed loop.
The above method is explained as follows:
in the step 121, determining whether the target application to which the notification message belongs matches a first preset condition includes:
judging whether the target application is a preset application or not, or whether the notification reading probability corresponding to the target application is greater than the preset probability or not;
if the target application is the preset application or the notification reading probability is greater than the preset probability, determining that the target application matches the first preset condition; if the target application is not the preset application or the notification reading probability is smaller than or equal to the preset probability, determining that the target application does not match the first preset condition
Specifically, when the notification message is acquired, it is first determined whether a target application to which the notification message belongs meets a first preset condition, where the first preset condition is: the preset application (such as the application with higher importance degree manually configured by the user) or the notification reading probability is larger than the preset probability.
If the target application is the preset application or the notification reading probability is greater than the preset probability, determining that the target application matches the first preset condition, storing the notification message under a first grade label corresponding to the first preset condition, and executing corresponding reminding processing according to a reminding strategy corresponding to the first grade label;
and if the target application is not the preset application or the notification reading probability is less than or equal to the preset probability, determining that the target application does not match the first preset condition, and executing a step of judging whether the content of the notification message matches a second preset condition.
In particular, the user can customize the application with higher importance, that is, the user can add the application with higher importance to the configuration list, and the notification information generated by the application in the configuration list can be directly set under the first-level label and can not be influenced by other settings in any mobile terminal, so as to provide the user with efficient processing for the application with higher importance.
Wherein the notification reading probability is: the ratio of the number of the notification messages corresponding to the target application that have been read to the total number of the notification messages corresponding to the target application in a first preset time period. For example: within the last week, the notification reading probability ranks the top 20% in all applications; if yes, the notification message is stored under the first-level label and is directly displayed in the top of the system notification bar so as to play a reminding role.
Optionally, the reading probability is notified to be recorded through a buried point event, and the recorded reading probability is uploaded to a terminal database to calculate the reading probability. The record table field is [ application, date, notification generation number, user click number ], where the notification reading probability is the ratio between the user click number/notification generation number, that is, the number of notification messages corresponding to the target application that have been read, and the total number of notification messages corresponding to the target application.
Further, under the first-level label, the notification messages are displayed in an arrangement mode according to the descending order of the notification reading probability corresponding to the target application to which the notification messages belong. Therefore, the notification messages are sequenced according to the notification reading probability of the application to which the messages belong, so that the notification messages are sequenced according to the reading habits of the users, and the users can conveniently process the notification messages.
The step 122 of determining whether the content of the notification message matches a second preset condition specifically includes:
judging whether the text entity of the notification message belongs to a preset entity type;
if the text entity does not belong to the preset entity type, determining that the content of the notification message does not match the second preset condition; if the text entity belongs to the preset entity type, judging whether the content of the notification message contains a first preset keyword or not;
if the content of the notification message does not contain the first preset keyword, determining that the content of the notification message matches the second preset condition; and if the content of the notification message contains the first preset keyword, determining that the content of the notification message does not match the second preset condition.
Specifically, under the condition that the target application to which the notification message belongs does not match the first preset condition, that is, the target application is not a preset application, or the notification reading probability corresponding to the target application is not greater than the preset probability, it is determined whether the text entity of the notification message belongs to the preset text type.
If the text entity does not belong to the preset entity type, determining that the content of the notification message does not match the second preset condition, and executing judgment for judging whether the content of the notification message matches a third preset condition;
if the text entity belongs to the preset entity type, judging whether the content of the notification message contains a first preset keyword or not;
if the content of the notification message does not contain the first preset keyword, determining that the content of the notification message matches the second preset condition, storing the notification message under a second-level label, and executing corresponding reminding processing according to a reminding strategy corresponding to the second-level label;
if the content of the notification message contains the first preset keyword, determining that the content of the notification message does not match the second preset condition, and performing judgment for judging whether the content of the notification message matches a third preset condition.
For example: if the text entity belongs to entity types such as government public security, public service, hydropower service or other civil service, and the content (which can be text data, image data and the like) of the notification message does not contain keywords of types such as holiday blessing, service recommendation or other harassment information (for example, the notification message of the holiday blessing type sent by a holiday hydropower office), the notification message is stored under a second-level label, and corresponding reminding processing is executed according to a reminding strategy corresponding to the second-level label.
That is, the text entity belongs to entity types such as government public security, public service utilities, hydroelectric service or other civil services, and the content of the notification message belongs to notification type messages such as government public security, public service utilities, hydroelectric service or other civil services (for example, the notification type messages such as payment reminder of a hydroelectric power office, school course reminder, violation reminder of rule application, and the like), the notification message is stored under a second-level label, and corresponding reminding processing is executed according to a reminding strategy corresponding to the second-level label.
Or reading the card notification of the short message, storing the card notification in a second-level label, and executing corresponding reminding processing according to a reminding strategy corresponding to the second-level label.
The text entity can be determined by establishing a model, the model of the text entity can arrange the text entity information of various applications by the supplement of a web crawler and manual marking information, then the related information of the text entity is analyzed by a map to form knowledge, and the mapping rule between the text entity and the entity type is established and is fallen to the terminal for realizing on-line real-time. The preset text entity may be a text entity corresponding to each of one or more entity types.
The first preset keyword can be determined through semantic intention classification, and the semantic intention classification can be firstly deployed to a terminal server for being called and used by a user in real time through machine learning or deep learning algorithm-based offline learning intention classification through a cloud. Such as: the moral intent can be divided into 4 categories: blessing, recommending, notifying, harassing.
Further, under the second-level label, the notification messages are arranged and displayed according to the descending order of the notification reading probability corresponding to the target application to which the notification messages belong. Therefore, the notification messages are sequenced according to the notification reading probability of the application to which the messages belong, so that the notification messages are sequenced according to the reading habits of the users, and the users can conveniently process the notification messages.
The step 123 of determining whether the content of the notification message matches a third preset condition specifically includes:
judging whether the content of the notification message contains a second preset keyword or not;
if the content of the notification message contains the second preset keyword, determining that the content of the notification message matches a third preset condition; and if the content of the notification message does not contain the second preset keyword, determining that the content of the notification message does not match a third preset condition.
Specifically, if the content of the notification message includes the second preset keyword, determining that the content of the notification message matches a third preset condition, storing the notification message under a third-level label, and not executing a reminding process according to a reminding strategy corresponding to the third-level label;
if the content of the notification message does not contain the second preset keyword, determining that the content of the notification message does not match a third preset condition, and executing a step of judging whether the scene type corresponding to the notification message matches a fourth preset condition.
The second preset keyword can be set by a user in a self-defined way to be shielded, when the content of the notification message contains the keyword, the notification message is directly stored under a third-level label, and the reminding processing is not executed according to a reminding strategy corresponding to the third-level label; or performing semantic analysis according to a preset keyword category selected by a user to determine the notification message to be shielded, storing the notification message to be shielded under a third-level label, and not performing the reminding processing according to the reminding strategy corresponding to the third-level label.
In the step 124, determining whether the scene type corresponding to the notification message matches a fourth preset condition includes:
judging whether the scene type corresponding to the notification message is matched with the position type of the mobile terminal;
if the scene type is not matched with the position type, determining that the scene type corresponding to the notification message is not matched with the fourth preset condition; if the scene type is matched with the position type, judging whether the target application has a notification message to be read within a second preset time period;
if the target application has the notification message to be read within the second preset time period, determining that the scene type corresponding to the notification message matches the fourth preset condition; if the notification message to be read does not exist in the target application within a second preset time period, determining that the scene type corresponding to the notification message does not match the fourth preset condition.
The notification message to be read may be an acquired new notification message or a notification message that has not been read by the mobile terminal user.
Specifically, if the content of the notification message does not include the second preset keyword, determining a location type where the mobile terminal is located and a scene type corresponding to the notification message;
if the scene type is not matched with the position type, determining that the scene type corresponding to the notification message is not matched with the fourth preset condition, storing the notification message under a fifth-level label, and not executing the reminding processing according to a reminding strategy corresponding to the fifth-level label;
if the scene type is matched with the position type, judging whether the target application has a notification message to be read in a second preset time period;
if the target application has the notification message to be read within a second preset time period, determining that the scene type is matched with the fourth preset condition, storing the notification message under a fourth-level label, and executing corresponding reminding processing according to a reminding strategy corresponding to the fourth-level label;
if the target application does not have the notification message to be read within a second preset time period, determining that the scene type corresponding to the notification message does not match the fourth preset condition, storing the notification message in a fifth-level label, and not executing the reminding processing according to the reminding strategy corresponding to the fifth-level label.
In this embodiment, the scene type corresponding to the notification message may be determined by applying the source of the notification message and performing semantic analysis on the content of the notification message (e.g., work type, life scene, learning scene, entertainment scene, etc.), the location type may determine the location of the user (e.g., home, company, outdoor, hospital, library, campus, etc.) based on the current location of the mobile terminal, and meanwhile, may determine whether the scene type corresponding to the notification message to be notified matches the location type in combination with preset configuration information and user habits; if yes, the notification message is stored under a fourth-level label, and corresponding reminding processing is executed according to a reminding strategy corresponding to the fourth-level label.
And reminding the notification message according to the living habits and the operating habits of the user and the scene types under the current geographic position, such as: if the user has a reading habit in the non-working day time, pushing a message notification of a reading type to a fourth-level label and reminding when the current position is detected to be at home in the corresponding time period, or storing the notification message to a fifth-level label and not carrying out notification reminding; for notifications under the fifth level label, the user can read for notification messages under the fifth level label by unfolding the fifth level label.
Specifically, determining the scene type of the notification message includes:
acquiring keywords in the content of the notification message;
determining the scene type of the notification message according to the keyword;
wherein, the keywords in the content of the notification message can be determined by deep learning of a learning algorithm, such as: content of the notification message "did you eat? "eat" is the keyword, and "you", "was? "does not belong to a keyword.
Specifically, determining the location type of the mobile terminal includes:
acquiring scene factors of the mobile terminal;
determining the position type of the terminal according to the scene factors;
wherein the context factors include at least one of: geographical location, current system time, moving speed, connection status of bluetooth, time period of use, running application.
Optionally, the type of the current position of the user is determined, and whether to remind the user is pre-judged according to the contradiction scene, the association scene and the instant demand scene. For example: when the determined position type is a non-celebration occasion, the notification information of the related entertainment celebration is not pushed; when the position type is determined to be the high-speed rail station, the user can be reminded of receiving the taxi taking service reminder; when the shopping mall of the position type is determined and the dining time is set, the user can be reminded of receiving a business district recommendation reminder and the like.
The following is further explained for location types:
when the positioning information of the terminal is determined, such as: when the longitude and latitude of the position of the terminal are changed, the terminal calls a map interface to detect a Point of Interest (POI) and obtains the POI classification (such as home, company, outdoor, hospital, library, campus and the like) of the current position; based on the obtained POI classification, the POI can be subdivided into work, commute, driving, traveling, leisure, health, entertainment, rest, non-celebration scenes and the like according to the basic information (such as working units, working time, school course information and the like) stored by the user and in the terminal, the use habits, the used applications, the motion states and the like of the user aiming at the mobile terminal.
The working scene is as follows: if the POI is classified as the resident position of the office or the current position and the working period;
a commute scene: if the POI is classified into public transport facilities such as subways, bus stations and the like, the terminal sensor senses the current moving speed of the terminal, namely the non-walking speed, and the system time of the terminal is in a conventional commuting period;
a driving scene: if the POI is classified into a road and a highway, the terminal sensor senses the current moving speed of the terminal and the non-walking speed and/or the equipment connected with the terminal through Bluetooth is a vehicle-mounted terminal;
a trip scene: if the POI is classified into a high-speed rail, a railway station and an airport, and the terminal sensor senses the current moving speed of the terminal and the non-walking speed;
leisure scene: if the current position is consistent with the resident position from night to the next morning (such as 6:00), and the current time period of the system time is the active time period of the user operation terminal (such as time distribution statistics of the terminal used in the last week can obtain the offline label of the user active time period);
health scenario: such as POI classified as gym or outdoor sport and/or currently using sports-class applications;
entertainment scenes: the POI is classified into entertainment places such as leisure rooms, department stores, trade area landmarks and the like;
a rest scene: if the current position is consistent with the resident position from night to the next morning (such as 6:00), and the current time period of the system time is the non-active time period of the user operation terminal (such as time distribution statistics of the terminal used in the last week can obtain the off-line label of the user active time period);
non-celebration scenes: such as POI classified as a hospital or the like.
Further, under the fourth-level label, the notification messages are displayed in an arrangement mode according to the descending order of the notification reading probability corresponding to the target application to which the notification messages belong. Therefore, the notification messages are sequenced according to the notification reading probability of the application to which the messages belong, so that the notification messages are sequenced according to the reading habits of the users, and the users can conveniently process the notification messages.
In the embodiment, scene factors are comprehensively considered to determine the position type of the mobile terminal (namely the scene type of the user) so as to reasonably classify and remind the notification message, and the adverse effect on the user caused by pushing the notification message which is inconsistent with the situation of the user is avoided.
The step 125 specifically includes:
if the scene type corresponding to the notification message is not matched with the position type, storing the notification message under a fifth grade label, and not executing the reminding processing according to the reminding strategy corresponding to the fifth grade label.
Such as: and when the position type conflicts with configuration information preset by a user, directly carrying out no reminding on the acquired notification message, storing the notification message until the notification message is placed under a fifth-level label, and not executing reminding processing according to a reminding strategy corresponding to the fifth-level label.
Alternatively, the step 125 may further specifically include:
if the content type of the notification message is matched with the position type and the notification message to be read does not exist in the target application within a second preset time period, storing the notification message under a fifth grade label, and not executing the reminding processing according to the reminding strategy corresponding to the fifth grade label.
Such as: even if the content type of the notification message is matched with the position type, the user does not click and view other notification messages of the target application to which the notification message belongs in the last two weeks, the notification message is not stored under the fourth-level label but under the fifth-level label, and the notification processing is not executed according to the prompting strategy corresponding to the fifth-level label.
Further, before the step 13 of storing the notification message in the target level label corresponding to the target preset condition and executing corresponding processing according to the reminding policy corresponding to the target level label, the method further includes:
receiving a second input to the notification setup interface;
setting a notification item in the notification setting interface in response to the second input;
wherein the notification item comprises at least one of: the method comprises the steps of starting a message notification under a target application type, closing the message notification under the target application type, setting a notification time period corresponding to the notification message under the target application type, setting a notification level corresponding to the target application type, starting the message notification of the target application, closing the message notification of the target application, setting a notification time period corresponding to the notification message of the target application, setting a notification level corresponding to the target application, and shielding keywords.
Specifically, the notification settings of each application may be initialized in a unified manner in the notification setting interface: the method comprises a notification switch, a notification reminding time period, the notification level (importance degree) of application notification, and a shielding keyword, and can be respectively managed according to application categories or single application; in particular, when a configuration conflict between an application class and a single application, the single application obeys the configuration of the application class to which it belongs.
As in fig. 5 and 6, there is a "category management" option and an "application management" option in the notification setting interface; under the option of "category management", the notification may be set to be on or off for the message notification in the target application category, and may also be set for a notification time period corresponding to the notification message in the target application category, for example, for the notification message in the job hunting category, a time period (e.g., saturday, sunday) on a non-working day, or a non-working time (e.g., after eight nights), and the like may be selected, and a notification level of the target application category may also be set, for example: if the notification level is set to be 'important', the user can be reminded according to the highest priority; under the option of "application management", the message notification for the target application may be set to be turned on or off, and may also be set to a notification time period corresponding to the notification message for the target application, for example, for the notification message of job hunting and recruitment class, a time period other than a working day (e.g., saturday and sunday) or a non-working time (e.g., after eight nights) may be selected, and a notification level of the target application may also be set, for example: setting the notification level to 'important', the reminder can be given according to the highest priority
As shown in fig. 7, in the notification setting interface, settings can be performed for the keywords to be shielded, for example, the keywords to be shielded can be edited by user-defined mode, and the keywords can be selected from the keywords provided by the terminal. The keywords provided by the terminal can be shielding keywords marked by the user through network acquisition, or can be determined through history setting and a learning algorithm.
Further, if the user does not set the notification item in the notification setting interface in advance, the user may be prompted to set the notification item in the notification setting interface at a predetermined time within a predetermined time period (e.g., within a week after the mobile terminal is activated).
Optionally, the adjustment is performed according to a time period when the user clicks the application type notification, a click frequency, and a shielding/deleting operation, which is specifically as follows:
a notification switch: aiming at the notification messages of the target application type, if the click frequency in a preset time period is zero or the user selects the shielded notification messages, the notification message reminding under the target application type is recommended to be closed;
time period: aiming at the notification message of the target application type, if the number of times of user clicks in the time period is not less than the preset number of times (such as 3 times), recommending the time period to be the allowed time period of the notification message reminding in the target application type;
degree of importance: and aiming at the notification messages of the target application category, the notification reading probability is divided into importance levels, if the notification reading probability is in a first range, the importance is the first level, if the notification reading probability is in a second range, the importance is the second level, and so on. The informed reading probability is: the ratio of the number of the notification messages corresponding to the target application that have been read to the total number of the notification messages corresponding to the target application in a first preset time period.
In the scheme of the invention, the level labels can be sequentially matched for the notification messages according to a plurality of preset conditions so as to ensure the reasonability of the reminding processing for the notification messages, avoid the possibility that other more important messages cannot be displayed in time due to the fact that part of the notification messages occupy the notification bar, provide a uniform notification setting interface to manage the notification configuration, carry out classified notification reminding according to user scenes (position types), improve the processing efficiency of the notification messages of the users, and simultaneously avoid the adverse effect on the users when the notification messages are not consistent with the scenes where the users are located.
As shown in fig. 8, an embodiment of the present invention further provides a mobile terminal 800, which includes:
an obtaining module 810, configured to obtain a notification message;
a determining module 820, configured to sequentially determine whether the notification message matches at least one preset condition according to a preset matching order of multiple preset conditions;
a processing module 830, configured to store the notification message under a target level tag corresponding to a target preset condition if the notification message matches the target preset condition, and execute corresponding processing according to a reminding policy corresponding to the target level tag; wherein the target preset condition is a preset condition that is matched with the notification message for the first time among the plurality of preset conditions.
Wherein the determining module 820 comprises:
the first judgment submodule is used for judging whether the target application to which the notification message belongs is matched with a first preset condition or not;
a second judgment sub-module, configured to determine that the first preset condition is the target preset condition if the target application matches the first preset condition; if the target application does not match the first preset condition, judging whether the content of the notification message matches a second preset condition;
a third judging submodule, configured to determine that the second preset condition is the target preset condition if the content of the notification message matches the second preset condition; if the content of the notification message does not match the second preset condition, judging whether the content of the notification message matches a third preset condition;
a fourth judgment sub-module, configured to determine that the third preset condition is the target preset condition if the content of the notification message matches the third preset condition; if the content of the notification message does not match the third preset condition, judging whether the scene type corresponding to the notification message matches a fourth preset condition;
a fifth judging submodule, configured to determine that the fourth preset condition is the target preset condition if the scene type corresponding to the notification message matches the fourth preset condition; if the scene type corresponding to the notification message does not match the fourth preset condition, determining that the notification message matches a fifth preset condition, and determining that the fifth preset condition is the target preset condition.
Wherein the processing module 830 comprises:
the first processing sub-module is used for storing the notification message under a first-level label if a target application to which the notification message belongs matches a first preset condition, and executing corresponding reminding processing according to a reminding strategy corresponding to the first-level label;
the second processing sub-module is used for storing the notification message under a second-level label and executing corresponding reminding processing according to a reminding strategy corresponding to the second-level label if the target application does not match the first preset condition and the content of the notification message matches the second preset condition;
a third processing sub-module, configured to, if the content of the notification message does not match the second preset condition and the content of the notification message matches a third preset condition, store the notification message under a third-level tag, and not perform a reminding process according to a reminding policy corresponding to the third-level tag;
a fourth processing sub-module, configured to, if the content of the notification message does not match the third preset condition and the scene type corresponding to the notification message matches a fourth preset condition, store the notification message in a fourth-level tag, and execute corresponding reminding processing according to a reminding policy corresponding to the fourth-level tag;
and the fifth processing sub-module is configured to, if the scene type corresponding to the notification message does not match the fourth preset condition, store the notification message under a fifth-level label, and not perform the reminding process according to the reminding policy corresponding to the fifth-level label.
Wherein the first judgment sub-module includes:
the first judging unit is used for judging whether the target application is a preset application or not, or whether the notification reading probability corresponding to the target application is greater than the preset probability or not;
a first determining unit, configured to determine that the target application matches the first preset condition if the target application is the preset application or the notification reading probability is greater than the preset probability; if the target application is not the preset application or the notification reading probability is smaller than or equal to the preset probability, determining that the target application does not match the first preset condition.
Wherein the notification reading probability is: the ratio of the number of the notification messages corresponding to the target application that have been read to the total number of the notification messages corresponding to the target application in a first preset time period.
Wherein the second judgment sub-module includes:
the second judging unit is used for judging whether the text entity of the notification message belongs to a preset entity type;
a third judging unit, configured to determine that the content of the notification message does not match the second preset condition if the text entity does not belong to the preset entity type; if the text entity belongs to the preset entity type, judging whether the content of the notification message contains a first preset keyword or not;
a second determining unit, configured to determine that the content of the notification message matches the second preset condition if the content of the notification message does not include the first preset keyword; and if the content of the notification message contains the first preset keyword, determining that the content of the notification message does not match the second preset condition.
Wherein the third judging submodule includes:
the fourth judging unit is used for judging whether the content of the notification message contains a second preset keyword or not;
a third determining unit, configured to determine that the content of the notification message matches a third preset condition if the content of the notification message includes the second preset keyword; and if the content of the notification message does not contain the second preset keyword, determining that the content of the notification message does not match a third preset condition.
Wherein the fourth judgment sub-module includes:
a fifth judging unit, configured to judge whether a scene type corresponding to the notification message matches a location type of the mobile terminal;
a sixth determining unit, configured to determine that the scene type corresponding to the notification message does not match the fourth preset condition if the scene type does not match the location type; if the scene type is matched with the position type, judging whether the target application has a notification message to be read within a second preset time period;
a fourth determining unit, configured to determine that a scene type corresponding to the notification message matches the fourth preset condition if the notification message to be read exists in the target application within the second preset time period; if the notification message to be read does not exist in the target application within a second preset time period, determining that the scene type corresponding to the notification message does not match the fourth preset condition.
Wherein the mobile terminal 800 further comprises:
a first receiving module for receiving a first input for a target level tag;
and the first response module is used for responding to the first input, arranging and displaying the notification messages under the target grade label according to the descending order of the reading probability of the notifications corresponding to the target application to which the notification messages belong.
Wherein the mobile terminal 800 further comprises:
the second receiving module is used for receiving second input aiming at a notification setting interface before storing the notification message under a target level label corresponding to the target preset condition and executing corresponding processing according to a reminding strategy corresponding to the target level label;
the second response module is used for responding to the second input and setting the notification items in the notification setting interface;
wherein the notification item comprises at least one of: the method comprises the steps of starting a message notification under a target application type, closing the message notification under the target application type, setting a notification time period corresponding to the notification message under the target application type, setting a notification level corresponding to the target application type, starting the message notification of the target application, closing the message notification of the target application, setting a notification time period corresponding to the notification message of the target application, setting a notification level corresponding to the target application, and shielding keywords.
The mobile terminal provided in the embodiment of the present invention can implement each process implemented by the mobile terminal in the method embodiments of fig. 1 to fig. 7, and is not described herein again to avoid repetition.
The mobile terminal 800 in the embodiment of the present invention sequentially determines, according to a preset matching order of a plurality of preset conditions, whether the notification message matches at least one of the preset conditions, stores the notification message matching the target preset condition under a target level label corresponding to the target preset condition, and executes corresponding processing according to a reminding policy corresponding to the target level label; wherein the target preset condition is a preset condition that is matched with the notification message for the first time among the plurality of preset conditions. Therefore, the level labels can be sequentially matched for the notification messages according to a plurality of preset conditions, so that the reasonability of the reminding processing for the notification messages is ensured, and the situation that other important messages cannot be displayed in time due to the fact that part of the notification messages occupy the notification bar is avoided.
Fig. 9 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention.
The mobile terminal 900 includes, but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, a user input unit 907, an interface unit 908, a memory 909, a processor 910, and a power supply 911. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 9 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 910 is configured to obtain a notification message; sequentially judging whether the notification message is matched with at least one preset condition according to a preset matching sequence of a plurality of preset conditions; if the notification message matches a target preset condition, storing the notification message under a target grade label corresponding to the target preset condition, and executing corresponding processing according to a reminding strategy corresponding to the target grade label; wherein the target preset condition is a preset condition that is matched with the notification message for the first time among the plurality of preset conditions.
The mobile terminal 900 in the embodiment of the present invention sequentially determines, according to a preset matching order of a plurality of preset conditions, whether the notification message matches at least one of the preset conditions, stores the notification message matching the target preset condition under a target level label corresponding to the target preset condition, and executes corresponding processing according to a reminding policy corresponding to the target level label; wherein the target preset condition is a preset condition that is matched with the notification message for the first time among the plurality of preset conditions. Therefore, the level labels can be sequentially matched for the notification messages according to a plurality of preset conditions, so that the reasonability of the reminding processing for the notification messages is ensured, and the situation that other important messages cannot be displayed in time due to the fact that part of the notification messages occupy the notification bar is avoided.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 901 may be used for receiving and sending signals during a message transmission and reception process or a call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 910; in addition, the uplink data is transmitted to the base station. Generally, the radio frequency unit 901 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 901 can also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access via the network module 902, such as helping the user send and receive e-mails, browse web pages, and access streaming media.
The audio output unit 903 may convert audio data received by the radio frequency unit 901 or the network module 902 or stored in the memory 909 into an audio signal and output as sound. Also, the audio output unit 903 may also provide audio output related to a specific function performed by the mobile terminal 900 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 903 includes a speaker, a buzzer, a receiver, and the like.
The input unit 904 is used to receive audio or video signals. The input Unit 904 may include a Graphics Processing Unit (GPU) 9041 and a microphone 9042, and the Graphics processor 9041 processes image data of a still picture or video obtained by an image capturing device (such as a camera) in a video capture mode or an image capture mode. The processed image frames may be displayed on the display unit 906. The image frames processed by the graphic processor 9041 may be stored in the memory 909 (or other storage medium) or transmitted via the radio frequency unit 901 or the network module 902. The microphone 9042 can receive sounds and can process such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 901 in case of the phone call mode.
The mobile terminal 900 also includes at least one sensor 905, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 9061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 9061 and/or backlight when the mobile terminal 900 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 905 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which are not described in detail herein.
The display unit 906 is used to display information input by the user or information provided to the user. The Display unit 906 may include a Display panel 9061, and the Display panel 9061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 907 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 907 includes a touch panel 9071 and other input devices 9072. The touch panel 9071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 9071 (e.g., operations by a user on or near the touch panel 9071 using a finger, a stylus, or any other suitable object or accessory). The touch panel 9071 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 910, receives a command from the processor 910, and executes the command. In addition, the touch panel 9071 may be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 907 may include other input devices 9072 in addition to the touch panel 9071. Specifically, the other input devices 9072 may include, but are not limited to, a physical keyboard, function keys (such as a volume control key, a switch key, and the like), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 9071 may be overlaid on the display panel 9061, and when the touch panel 9071 detects a touch operation on or near the touch panel 9071, the touch panel is transmitted to the processor 910 to determine the type of the touch event, and then the processor 910 provides a corresponding visual output on the display panel 9061 according to the type of the touch event. Although in fig. 9, the touch panel 9071 and the display panel 9061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 9071 and the display panel 9061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 908 is an interface through which an external device is connected to the mobile terminal 900. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 908 may be used to receive input from external devices (e.g., data information, power, etc.) and transmit the received input to one or more elements within the mobile terminal 900 or may be used to transmit data between the mobile terminal 900 and external devices.
The memory 909 may be used to store software programs as well as various data. The memory 909 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 909 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 910 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by running or executing software programs and/or modules stored in the memory 909 and calling data stored in the memory 909, thereby performing overall monitoring of the mobile terminal. Processor 910 may include one or more processing units; preferably, the processor 910 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It is to be appreciated that the modem processor described above may not be integrated into processor 910.
The mobile terminal 900 may also include a power supply 911 (e.g., a battery) for powering the various components, and preferably, the power supply 911 is logically connected to the processor 910 through a power management system that provides power management functions to manage charging, discharging, and power consumption.
In addition, the mobile terminal 900 includes some functional modules that are not shown, and thus will not be described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, including a processor 910, a memory 909, and a computer program stored in the memory 909 and capable of running on the processor 910, where the computer program is executed by the processor 910 to implement each process of the above management method for notification messages, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned management method for notification messages, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (12)
1. A management method of notification messages is applied to a mobile terminal, and is characterized by comprising the following steps:
acquiring a notification message;
sequentially judging whether the notification message is matched with at least one preset condition according to a preset matching sequence of a plurality of preset conditions;
if the notification message matches a target preset condition, storing the notification message under a target grade label corresponding to the target preset condition, and executing corresponding processing according to a reminding strategy corresponding to the target grade label; wherein the target preset condition is a preset condition which is matched with the notification message for the first time in the plurality of preset conditions;
after the storing the notification message under the target level label corresponding to the target preset condition and executing corresponding processing according to the reminding strategy corresponding to the target level label, the method further includes:
receiving a first input for a target level label;
responding to the first input, arranging and displaying the notification messages under the target grade label according to the descending order of the notification reading probability corresponding to the target application to which the notification messages belong;
the sequentially judging whether the notification message matches at least one preset condition according to a preset matching sequence of a plurality of preset conditions includes:
judging whether the target application to which the notification message belongs is matched with a first preset condition or not;
if the target application matches the first preset condition, determining that the first preset condition is the target preset condition; if the target application does not match the first preset condition, judging whether the content of the notification message matches a second preset condition;
if the content of the notification message matches the second preset condition, determining that the second preset condition is the target preset condition; if the content of the notification message does not match the second preset condition, judging whether the content of the notification message matches a third preset condition;
if the content of the notification message matches the third preset condition, determining that the third preset condition is the target preset condition; if the content of the notification message does not match the third preset condition, judging whether the scene type corresponding to the notification message matches a fourth preset condition;
if the scene type corresponding to the notification message matches the fourth preset condition, determining that the fourth preset condition is the target preset condition; if the scene type corresponding to the notification message does not match the fourth preset condition, determining that the notification message matches a fifth preset condition, and determining that the fifth preset condition is the target preset condition;
if the notification message matches a target preset condition, storing the notification message under a target level label corresponding to the target preset condition, and executing corresponding processing according to a reminding strategy corresponding to the target level label, including:
if the target application to which the notification message belongs matches a first preset condition, storing the notification message under a first-level label, and executing corresponding reminding processing according to a reminding strategy corresponding to the first-level label;
if the target application does not match the first preset condition and the content of the notification message matches a second preset condition, storing the notification message under a second-level label, and executing corresponding reminding processing according to a reminding strategy corresponding to the second-level label;
if the content of the notification message does not match the second preset condition and the content of the notification message matches a third preset condition, storing the notification message under a third-level label, and not executing the reminding processing according to a reminding strategy corresponding to the third-level label;
if the content of the notification message does not match the third preset condition and the scene type corresponding to the notification message matches a fourth preset condition, storing the notification message under a fourth-level label, and executing corresponding reminding processing according to a reminding strategy corresponding to the fourth-level label;
if the scene type corresponding to the notification message does not match the fourth preset condition, storing the notification message under a fifth-level label, and not executing the reminding processing according to the reminding strategy corresponding to the fifth-level label;
the determining whether the scene type corresponding to the notification message matches a fourth preset condition includes:
judging whether the scene type corresponding to the notification message is matched with the position type of the mobile terminal;
if the scene type is not matched with the position type, determining that the scene type corresponding to the notification message is not matched with the fourth preset condition; if the scene type is matched with the position type, judging whether the target application has a notification message to be read within a second preset time period;
if the target application has the notification message to be read within the second preset time period, determining that the scene type corresponding to the notification message matches the fourth preset condition; if the notification message to be read does not exist in the target application within the second preset time period, determining that the scene type corresponding to the notification message does not match the fourth preset condition;
the scene type corresponding to the notification message is determined by performing semantic analysis on the content of the notification message by applying to the source of the notification message; the location type is determined based on the current location of the mobile terminal;
the determining whether the scene type corresponding to the notification message matches the location type of the mobile terminal specifically includes:
and judging whether the scene type corresponding to the notification message is matched with the position type of the mobile terminal or not by combining preset configuration information and user habits.
2. The method for managing notification messages according to claim 1, wherein the determining whether the target application to which the notification message belongs matches a first preset condition includes:
judging whether the target application is a preset application or not, or whether the notification reading probability corresponding to the target application is greater than the preset probability or not;
if the target application is the preset application or the notification reading probability is greater than the preset probability, determining that the target application matches the first preset condition; if the target application is not the preset application or the notification reading probability is smaller than or equal to the preset probability, determining that the target application does not match the first preset condition.
3. The method for managing notification messages according to claim 2, wherein the notification reading probability is: the ratio of the number of the notification messages corresponding to the target application that have been read to the total number of the notification messages corresponding to the target application in a first preset time period.
4. The method for managing notification messages according to claim 1, wherein said determining whether the content of the notification message matches a second preset condition comprises:
judging whether the text entity of the notification message belongs to a preset entity type;
if the text entity does not belong to the preset entity type, determining that the content of the notification message does not match the second preset condition; if the text entity belongs to the preset entity type, judging whether the content of the notification message contains a first preset keyword or not;
if the content of the notification message does not contain the first preset keyword, determining that the content of the notification message matches the second preset condition; and if the content of the notification message contains the first preset keyword, determining that the content of the notification message does not match the second preset condition.
5. The method for managing notification messages according to claim 1, wherein said determining whether the content of the notification message matches a third preset condition comprises:
judging whether the content of the notification message contains a second preset keyword or not;
if the content of the notification message contains the second preset keyword, determining that the content of the notification message matches a third preset condition; and if the content of the notification message does not contain the second preset keyword, determining that the content of the notification message does not match a third preset condition.
6. A mobile terminal, comprising:
the acquisition module is used for acquiring the notification message;
the judging module is used for sequentially judging whether the notification message is matched with at least one preset condition according to a preset matching sequence of a plurality of preset conditions;
the processing module is used for storing the notification message under a target grade label corresponding to a target preset condition if the notification message is matched with the target preset condition, and executing corresponding processing according to a reminding strategy corresponding to the target grade label; wherein the target preset condition is a preset condition which is matched with the notification message for the first time in the plurality of preset conditions;
a receiving module for receiving a first input for a target level tag;
the response module is used for responding to the first input, arranging and displaying the notification messages under the target grade label according to the descending order of the reading probability of the notifications corresponding to the target application to which the notification messages belong;
the judging module comprises:
the first judgment submodule is used for judging whether the target application to which the notification message belongs is matched with a first preset condition or not;
a second judgment sub-module, configured to determine that the first preset condition is the target preset condition if the target application matches the first preset condition; if the target application does not match the first preset condition, judging whether the content of the notification message matches a second preset condition;
a third judging submodule, configured to determine that the second preset condition is the target preset condition if the content of the notification message matches the second preset condition; if the content of the notification message does not match the second preset condition, judging whether the content of the notification message matches a third preset condition;
a fourth judgment sub-module, configured to determine that the third preset condition is the target preset condition if the content of the notification message matches the third preset condition; if the content of the notification message does not match the third preset condition, judging whether the scene type corresponding to the notification message matches a fourth preset condition;
a fifth judging submodule, configured to determine that the fourth preset condition is the target preset condition if the scene type corresponding to the notification message matches the fourth preset condition; if the scene type corresponding to the notification message does not match the fourth preset condition, determining that the notification message matches a fifth preset condition, and determining that the fifth preset condition is the target preset condition;
the processing module comprises:
the first processing sub-module is used for storing the notification message under a first-level label if a target application to which the notification message belongs matches a first preset condition, and executing corresponding reminding processing according to a reminding strategy corresponding to the first-level label;
the second processing sub-module is used for storing the notification message under a second-level label and executing corresponding reminding processing according to a reminding strategy corresponding to the second-level label if the target application does not match the first preset condition and the content of the notification message matches the second preset condition;
a third processing sub-module, configured to, if the content of the notification message does not match the second preset condition and the content of the notification message matches a third preset condition, store the notification message under a third-level tag, and not perform a reminding process according to a reminding policy corresponding to the third-level tag;
a fourth processing sub-module, configured to, if the content of the notification message does not match the third preset condition and the scene type corresponding to the notification message matches a fourth preset condition, store the notification message in a fourth-level tag, and execute corresponding reminding processing according to a reminding policy corresponding to the fourth-level tag;
a fifth processing sub-module, configured to, if the scene type corresponding to the notification message does not match the fourth preset condition, store the notification message under a fifth-level label, and not perform a reminding process according to a reminding policy corresponding to the fifth-level label;
the fourth judgment sub-module includes:
a fifth judging unit, configured to judge whether a scene type corresponding to the notification message matches a location type of the mobile terminal;
a sixth determining unit, configured to determine that the scene type corresponding to the notification message does not match the fourth preset condition if the scene type does not match the location type; if the scene type is matched with the position type, judging whether the target application has a notification message to be read within a second preset time period;
a fourth determining unit, configured to determine that a scene type corresponding to the notification message matches the fourth preset condition if the notification message to be read exists in the target application within the second preset time period; if the target application does not have the notification message to be read within a second preset time period, determining that the scene type corresponding to the notification message does not match the fourth preset condition;
the scene type corresponding to the notification message is determined by performing semantic analysis on the content of the notification message by applying to the source of the notification message; the location type is determined based on the current location of the mobile terminal;
the fifth judging unit is specifically configured to:
and judging whether the scene type corresponding to the notification message is matched with the position type of the mobile terminal or not by combining preset configuration information and user habits.
7. The mobile terminal of claim 6, wherein the first determining sub-module comprises:
the first judging unit is used for judging whether the target application is a preset application or not, or whether the notification reading probability corresponding to the target application is greater than the preset probability or not;
a first determining unit, configured to determine that the target application matches the first preset condition if the target application is the preset application or the notification reading probability is greater than the preset probability; if the target application is not the preset application or the notification reading probability is smaller than or equal to the preset probability, determining that the target application does not match the first preset condition.
8. The mobile terminal of claim 7, wherein the notification reading probability is: the ratio of the number of the notification messages corresponding to the target application that have been read to the total number of the notification messages corresponding to the target application in a first preset time period.
9. The mobile terminal of claim 6, wherein the second determination submodule comprises:
the second judging unit is used for judging whether the text entity of the notification message belongs to a preset entity type;
a third judging unit, configured to determine that the content of the notification message does not match the second preset condition if the text entity does not belong to the preset entity type; if the text entity belongs to the preset entity type, judging whether the content of the notification message contains a first preset keyword or not;
a second determining unit, configured to determine that the content of the notification message matches the second preset condition if the content of the notification message does not include the first preset keyword; and if the content of the notification message contains the first preset keyword, determining that the content of the notification message does not match the second preset condition.
10. The mobile terminal of claim 6, wherein the third determining sub-module comprises:
the fourth judging unit is used for judging whether the content of the notification message contains a second preset keyword or not;
a third determining unit, configured to determine that the content of the notification message matches a third preset condition if the content of the notification message includes the second preset keyword; and if the content of the notification message does not contain the second preset keyword, determining that the content of the notification message does not match a third preset condition.
11. A mobile terminal, characterized in that it comprises a processor, a memory and a computer program stored on said memory and executable on said processor, said computer program, when executed by said processor, implementing the steps of the management method of notification messages according to any one of claims 1 to 5.
12. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, carries out the steps of the method of managing notification messages according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910531161.6A CN110278329B (en) | 2019-06-19 | 2019-06-19 | Notification message management method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910531161.6A CN110278329B (en) | 2019-06-19 | 2019-06-19 | Notification message management method and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110278329A CN110278329A (en) | 2019-09-24 |
CN110278329B true CN110278329B (en) | 2021-12-10 |
Family
ID=67961072
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910531161.6A Active CN110278329B (en) | 2019-06-19 | 2019-06-19 | Notification message management method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110278329B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111813929B (en) * | 2020-05-27 | 2024-11-01 | 维沃移动通信有限公司 | Information processing method and device and electronic equipment |
CN112134987B (en) * | 2020-09-24 | 2022-04-29 | 维沃移动通信有限公司 | Information processing method and device and electronic equipment |
WO2022226700A1 (en) * | 2021-04-25 | 2022-11-03 | 深圳传音控股股份有限公司 | Control method, mobile terminal, and storage medium |
CN113885750A (en) * | 2021-09-27 | 2022-01-04 | 维沃移动通信有限公司 | Message processing method and device and electronic equipment |
CN114844984B (en) * | 2022-07-04 | 2022-10-04 | 荣耀终端有限公司 | Notification message reminding method and electronic equipment |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105515953A (en) * | 2015-12-21 | 2016-04-20 | 小米科技有限责任公司 | Notification message processing method and device as well as apparatus |
CN108449491A (en) * | 2018-03-09 | 2018-08-24 | 广东欧珀移动通信有限公司 | Information processing method, device, mobile terminal and computer readable storage medium |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105228109A (en) * | 2014-05-30 | 2016-01-06 | 中兴通讯股份有限公司 | A kind of method of smart message prompting and device |
US10678894B2 (en) * | 2016-08-24 | 2020-06-09 | Experian Information Solutions, Inc. | Disambiguation and authentication of device users |
CN107809530A (en) * | 2017-10-17 | 2018-03-16 | 华勤通讯技术有限公司 | A kind of method and terminal for generating prompting message |
CN107835235A (en) * | 2017-10-27 | 2018-03-23 | 广东欧珀移动通信有限公司 | Information push method and device |
CN108124055A (en) * | 2017-11-29 | 2018-06-05 | 努比亚技术有限公司 | Prompting message control method, flexible screen terminal and computer readable storage medium |
CN108833661B (en) * | 2018-04-20 | 2021-06-22 | 维沃移动通信有限公司 | Information display method and mobile terminal |
CN108920078A (en) * | 2018-06-27 | 2018-11-30 | 努比亚技术有限公司 | A kind of message display control method, terminal and computer readable storage medium |
-
2019
- 2019-06-19 CN CN201910531161.6A patent/CN110278329B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105515953A (en) * | 2015-12-21 | 2016-04-20 | 小米科技有限责任公司 | Notification message processing method and device as well as apparatus |
CN108449491A (en) * | 2018-03-09 | 2018-08-24 | 广东欧珀移动通信有限公司 | Information processing method, device, mobile terminal and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110278329A (en) | 2019-09-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110278329B (en) | Notification message management method and mobile terminal | |
CN106557330B (en) | Method and device for processing notification information of notification bar of mobile terminal system and mobile terminal | |
US12061938B2 (en) | Method, apparatus, and mobile terminal for associating notification messages | |
CN108347704A (en) | Information recommendation method and mobile terminal | |
CN108647957A (en) | A kind of method of payment, device and mobile terminal | |
CN108900714A (en) | A kind of reminding method and terminal | |
CN108156228A (en) | A kind of ad data method for pushing and device | |
CN108833661B (en) | Information display method and mobile terminal | |
CN108389028A (en) | The method, device and mobile terminal of stroke reminding | |
CN108595275A (en) | A kind of method and terminal of prompt message push | |
CN109358789B (en) | Notification message management method and device and mobile terminal | |
CN111064654A (en) | Message display method and electronic equipment | |
CN108205568A (en) | Method and device based on label selection data | |
CN109800105A (en) | A kind of data back up method and terminal device | |
CN105608095A (en) | Multimedia playing method and device as well as mobile terminal | |
CN109697262A (en) | A kind of information display method and device | |
CN112235609B (en) | Content item data playing method and device, computer equipment and storage medium | |
CN108304575A (en) | A kind of method and terminal of mark display | |
CN109783722A (en) | A kind of content outputting method and terminal device | |
CN110533507A (en) | A kind of order management method, mobile terminal and computer readable storage medium | |
CN108833662A (en) | Weather based reminding method, device, storage medium and terminal | |
CN111256678A (en) | Navigation method and electronic equipment | |
CN110442291A (en) | A kind of control method and mobile terminal | |
CN110113485B (en) | Information processing method and mobile terminal | |
CN113190774A (en) | Object display method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20240725 Address after: 100015 Room 101, 1st floor, unit 101, building 303, courtyard a, Jiuxianqiao North Road, Chaoyang District, Beijing Patentee after: WEIWO SOFTWARE TECHNOLOGY Co.,Ltd. Country or region after: China Address before: 523860 No. 283 BBK Avenue, Changan Town, Changan, Guangdong. Patentee before: VIVO MOBILE COMMUNICATION Co.,Ltd. Country or region before: China |
|
TR01 | Transfer of patent right |