CN107707760B - Push notification processing method and mobile terminal - Google Patents

Push notification processing method and mobile terminal Download PDF

Info

Publication number
CN107707760B
CN107707760B CN201710973127.5A CN201710973127A CN107707760B CN 107707760 B CN107707760 B CN 107707760B CN 201710973127 A CN201710973127 A CN 201710973127A CN 107707760 B CN107707760 B CN 107707760B
Authority
CN
China
Prior art keywords
push notification
notification
preset
level
importance
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
Application number
CN201710973127.5A
Other languages
Chinese (zh)
Other versions
CN107707760A (en
Inventor
王振宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710973127.5A priority Critical patent/CN107707760B/en
Publication of CN107707760A publication Critical patent/CN107707760A/en
Application granted granted Critical
Publication of CN107707760B publication Critical patent/CN107707760B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality

Abstract

The invention provides a push notification processing method and a mobile terminal, and relates to the technical field of communication. The method comprises the following steps: when a push notification is received, determining the importance level of the push notification according to the receiving time of the push notification, and/or a hidden notification in a first preset time period before the receiving time, and/or a viewed notification in a second preset time period before the receiving time; determining a target reminding mode of the push notification according to the importance level of the push notification; and reminding the push notification according to the target reminding mode. The method and the device can effectively avoid the omission of important information of the user while reducing the interference of the push notification to the user.

Description

Push notification processing method and mobile terminal
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a push notification processing method and a mobile terminal.
Background
A notification bar is generally arranged above an interface of a mobile terminal such as a conventional mobile phone, and is used for displaying a notification such as a push notification to a user. A message notification pushed to the notification bar by a system or third party application, such as a high power consumption program reminder, an upgradeable application, etc., is also displayed in the notification bar. In order to meet different requirements of users, the market of application programs of mobile terminals is rapidly developing, more and more application programs are installed in the mobile terminals, and various application programs often push message notifications to a notification bar of the mobile terminal for different business purposes.
Currently, a mobile terminal allows a system or a third-party application to push a message notification to a notification bar, and a mobile terminal user can expand and view detailed contents of the message notification by pulling down the notification bar. Users often receive various message notifications when using mobile terminals, such as WeChat messages, news feeds, etc., which by default appear in the notification bar. Further, as the number of applications installed in the mobile terminal increases, the number of message notifications increases, and these message notifications are often not necessary for the user, so that the user feels a sense of incongruity. Especially when the user needs to concentrate on the transaction scenes of full-screen games, document processing and the like, frequent message notification may affect the user experience, but if all message notifications are prohibited, some important contents may be missed by the user.
Disclosure of Invention
The embodiment of the invention provides a push notification processing method and a mobile terminal, and aims to solve the problems that the existing push notification processing method is easy to cause interference to users or cause the users to miss important information.
In order to solve the technical problem, the invention is realized as follows: a push notification processing method, comprising:
when a push notification is received, determining the importance level of the push notification according to the receiving time of the push notification, and/or a hidden notification in a first preset time period before the receiving time, and/or a viewed notification in a second preset time period before the receiving time;
determining a target reminding mode of the push notification according to the importance level of the push notification;
and reminding the push notification according to the target reminding mode.
In a first aspect, an embodiment of the present invention further provides a mobile terminal, including:
the importance level determining module is used for determining the importance level of the push notification according to the receiving time of the push notification, and/or the hidden notification in a first preset time period before the receiving time, and/or the viewed notification in a second preset time period before the receiving time when the push notification is received;
the reminding mode determining module is used for determining a target reminding mode of the push notification according to the importance level of the push notification;
and the push notification reminding module is used for reminding the push notification according to the target reminding mode.
In a second aspect, an embodiment of the present invention additionally provides a mobile terminal, including: memory, a processor and a computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the push notification processing method as described above.
In the embodiment of the invention, when a push notification is received, the importance level of the push notification is determined according to the receiving time of the push notification, and/or the hidden notification in a first preset time period before the receiving time, and/or the viewed notification in a second preset time period before the receiving time; determining a target reminding mode of the push notification according to the importance level of the push notification; and reminding the push notification according to the target reminding mode. The method and the device can effectively avoid the omission of important information of the user while reducing the interference of the push notification to the user.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings 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 based on these drawings without inventive labor.
Fig. 1 is a flowchart illustrating steps of a push notification processing method according to a first embodiment of the present invention;
fig. 2 is a flowchart illustrating steps of a push notification processing method according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a mobile terminal according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a mobile terminal in a fourth embodiment of the present invention;
fig. 5 is a schematic diagram of a hardware structure of a mobile terminal in a fifth 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.
Example one
The push notification processing method provided by the embodiment of the invention is described in detail.
Referring to fig. 1, a flowchart illustrating steps of a push notification processing method according to an embodiment of the present invention is shown.
Step 110, when a push notification is received, determining an importance level of the push notification according to a receiving time of the push notification, and/or a hidden notification within a first preset time period before the receiving time, and/or a viewed notification within a second preset time period before the receiving time.
In the embodiment of the invention, in order to avoid that frequent push notifications influence user experience and avoid that a user omits important push notifications, the importance level of the push notifications can be determined first when the push notifications are received, and then the target reminding mode for the push notifications can be determined according to the importance level of the push notifications.
The importance levels of different push notifications can be determined according to the operation conditions of the user on the historical push notifications, the current requirements of the user and the like. For example, if the user views the historical push notification sent by the application program corresponding to the push notification within a preset time period before receiving the push notification, the importance level of the push notification may be set to a higher level at this time; if the received historical push notification is hidden or ignored by the user within a preset time period before the push notification is received, the importance level of the push notification can be set to a lower level at the moment; or, if it is detected that the user is currently watching a video or live broadcast, etc., the received push notification may be set to a lower level in order to avoid the received push notification from affecting the visual effect of the user; and so on. In the embodiment of the present invention, the principle and the method for determining the importance level of the push notification may be preset according to the requirement, and the embodiment of the present invention is not limited thereto.
As can be seen from the above analysis, for a user, the time of receipt of a push notification, a hidden notification by the user within a first preset time period before the push notification is received, a viewed notification by the user within a second preset time period before the push notification is received, and the like may all be related to the importance of the push notification. Therefore, in an embodiment of the present invention, the importance score of a corresponding push notification may be determined according to the time of receipt of the push notification, and/or a hidden notification within a first preset time period before the time of receipt, and/or a viewed notification within a second preset time period before the time of receipt. The receiving time refers to the time when the mobile terminal receives the corresponding push notification, the hidden notification includes the push notification ignored or hidden by the mobile terminal user, and the viewed notification includes the push notification viewed by the mobile terminal user. Of course, in the embodiment of the present invention, the importance score of the push notification may also be determined based on the use location of the application program corresponding to each push notification, the classification of the application program corresponding to the push notification by the user, and the like, which is not limited to this embodiment of the present invention. Moreover, the correspondence between the importance scores and the receiving time, the hidden notification in the first preset time period before the receiving time, the viewed notification in the second preset time period before the receiving time, the use place of the application program corresponding to the push notification, the classification of the application program corresponding to the push notification by the user, and the like may be preset according to the requirements, and the embodiment of the present invention is not limited. The first preset time period and the second preset time period may also be preset according to requirements, and the first preset time period may be the same as or different from the second preset time period, which is not limited in this embodiment of the present invention.
And 120, determining a target reminding mode of the push notification according to the importance level of the push notification.
In the embodiment of the invention, the reminding modes corresponding to the push notifications with different importance levels can be preset according to requirements. For example, for a push notification with a lower importance level, a corresponding reminding mode can be set so as to avoid interference on the user; for the push notification with higher importance level, the corresponding reminding mode can be set, and the user is required to avoid missing important information in the push notification. Then, after determining the importance level of the push notification, the target reminding manner of the push notification may be determined according to the importance level of the push notification.
For example, three importance levels may first be preset for push notifications: important, ordinary, not important. Meanwhile, different reminding modes are preset for push notifications with different importance levels, and the reminding modes can include: the method comprises the steps of switching to an application program corresponding to the push notification in a full screen mode, displaying the application program corresponding to the push notification in a floating window mode, displaying the application program corresponding to the push notification in a split screen mode, broadcasting the content of the push notification in a voice mode, not automatically popping up the push notification in an e mode and the like. And the corresponding reminding modes of different importance levels can be set as follows:
processing the push notification of the important level in a mode a;
three possible reminding modes of b, c and d are corresponding to the push notification of the common level. A default reminding mode can be set as b, namely the application program corresponding to the push notification is displayed by using the floating window in a default condition, and then the user can interact through the floating window; when the fact that the content of the push notification is less and the mobile terminal does not run the video and audio application programs currently is detected, switching to a voice broadcasting mode d; when the push notification has more contents and is difficult to show with a better effect in a floating window mode, the push notification can be switched to a split-screen display mode c;
for push notifications of unimportant levels, it can be handled in e-mode.
Then, at this time, if it is determined that the importance level of the currently received push notification is the above-mentioned importance level, it may be determined that the target alert manner of the push notification is the above-mentioned a manner.
Optionally, in an embodiment of the present invention, the step 120 further includes:
and a substep 121, determining a target reminding mode corresponding to the push notification according to the importance level.
And a substep 122, when the target reminding mode is inconsistent with the initial reminding mode of the push notification, generating a selection control in a notification bar of the mobile terminal.
In practical applications, before determining a target reminding manner of each push notification, a corresponding push notification may have a default initial reminding manner, and then after receiving the push notification, if the importance level of the push notification is consistent with the importance level of each previously received historical push notification, the reminding manner of the push notification is the default initial reminding manner, and if the importance level of the currently received push notification is changed relative to the previously received historical push notification, the corresponding target reminding manner is not consistent with the initial reminding manner, and at this time, in order to avoid the change of the importance level of the push notification, which further causes the change of the reminding manner of the currently received push notification relative to the previous historical push notification, and causes a user of the mobile terminal to be uncomfortable, in an embodiment of the present invention, when the target reminding mode of the push notification is inconsistent with the initial reminding mode of the push notification, a selection control can be generated in a notification bar of the mobile terminal, and then a user can select to keep the initial reminding mode of the push notification or adjust the reminding mode of the push notification from the initial reminding mode to the target reminding mode corresponding to the importance level of the push notification through the selection control. When the target reminding mode of the push notification is consistent with the initial reminding mode of the push notification, the mobile terminal user is not required to select the reminding mode of the push notification, so that a corresponding selection control is not generated in a notification bar of the mobile terminal.
And a substep 123, when receiving a prompt mode adjusting instruction input by the user through the selection control, adjusting the push notification prompt mode to be a target prompt mode.
When a prompt mode adjustment instruction input by a user is received through a selection control of the notification bar, the user confirms the prompt mode of the push notification needing to be adjusted at the moment, and the prompt mode of the push notification can be adjusted to be the target prompt mode corresponding to the importance level of the push notification at the moment. And if the instruction of adjusting the reminding mode input by the user through the selection control is not received, the initial reminding mode of pushing the notification can be kept. The user may input the instruction for adjusting the reminding mode through the selection control in any available mode, which is not limited in the embodiment of the present invention. In addition, in the embodiment of the present invention, the user may preset a specific manner of inputting the instruction for adjusting the reminding mode through the selection control, and the embodiment of the present invention is not limited. For example, the user can be set to input an instruction for adjusting the reminding mode by clicking the selection control, and the like.
Of course, in the embodiment of the present invention, an initial reminding mode for keeping push notification when a reminding mode keeping instruction input by the user through the selection control is received may also be set; and when a reminding mode keeping instruction input by the user through the selection control is not received, adjusting the reminding mode of the push notification to be a target reminding mode corresponding to the importance level of the push notification. The user may input the instruction of the reminder keeping mode through the selection control in any available mode, which is not limited in the embodiment of the present invention. In addition, in the embodiment of the present invention, the user may preset a specific manner of inputting the instruction of keeping the reminding mode through the selection control, and the embodiment of the present invention is not limited. For example, the user may be configured to input a keep-reminder mode instruction by clicking on the selection control, and the like.
Or, a control for receiving an instruction of adjusting the alert mode input by the user, a control for receiving an instruction of maintaining the alert mode input by the user, and the like may also be generated in the notification bar of the mobile terminal at the same time, which is not limited in the embodiment of the present invention.
And step 130, reminding the push notification according to the target reminding mode.
After the target reminding mode of the push notification is determined, the push notification can be reminded according to the corresponding target reminding mode.
Moreover, in the embodiment of the present invention, in order to facilitate the mobile terminal user to control the reminding time of the push notification, it may be further configured that when a push notification trigger instruction for the push notification is received, which is input by the user through a preset manner, the push notification is reminded according to a target reminding manner of the push notification; and if a push notification trigger instruction aiming at the push notification input by the user in a preset mode is not received, the push notification is not reminded temporarily. At this time, when a push notification trigger instruction for the currently received push notification, which is input by the user through a preset mode, is received, the push notification can be reminded according to a target reminding mode corresponding to the push notification. The preset manner may be set before the step or before any step before the step according to requirements, and the embodiment of the present invention is not limited thereto. Moreover, the preset modes for inputting the push notification trigger instruction corresponding to different target reminding modes may be different or the same, and the embodiment of the present invention is not limited thereto.
For example, for the above-mentioned reminding manners a, b, c, and d, an instruction receiving control may also be generated in the notification bar of the mobile terminal, and the mobile terminal may receive a push notification trigger instruction input by a user through the instruction receiving control, so that when a push notification trigger instruction for a certain push notification input by the user through a corresponding preset manner is received, the push notification may be processed according to a corresponding target reminding manner.
In the embodiment of the invention, when a push notification is received, the importance level of the push notification is determined according to the receiving time of the push notification, and/or the hidden notification in a first preset time period before the receiving time, and/or the viewed notification in a second preset time period before the receiving time; determining a target reminding mode of the push notification according to the importance level of the push notification; and reminding the push notification according to the target reminding mode. The method and the device can effectively avoid the omission of important information of the user while reducing the interference of the push notification to the user.
Moreover, in the embodiment of the present invention, a target reminding mode corresponding to the push notification may also be determined according to the importance level; when the target reminding mode is inconsistent with the initial reminding mode of the push notification, generating a selection control in a notification bar of the mobile terminal; and when a reminding mode adjusting instruction input by the user through the selection control is received, adjusting the push notification reminding mode to be a target reminding mode. Therefore, the phenomenon that the user is not suitable due to the fact that the reminding mode of the push notification is adjusted can be avoided, and the user can independently select and adjust the reminding mode of the push notification.
Example two
The push notification processing method provided by the embodiment of the invention is described in detail.
Referring to fig. 2, a flowchart illustrating steps of a push notification processing method according to an embodiment of the present invention is shown.
Step 210, when a push notification is received, setting an initial importance score of the push notification to be a preset numerical value.
In the embodiment of the present invention, in order to determine the importance score of the push notification, when the push notification is received, the initial importance score of the push notification may be first set to a preset value. The preset value may be set before the step or before any step before the step according to requirements, and the embodiment of the present invention is not limited thereto.
For example, in the embodiment of the present invention, if the importance score of the push notification is set to be equal to or greater than a certain value Φ, the level of the push notification may be determined as the importance level. Then, in the embodiment of the present invention, in order to prevent the user from missing important information as much as possible, the importance score of the push notification initiation may be set to Φ as described above.
Step 220, adjusting the importance score according to the receiving time of the push notification, and/or the hidden notification in a first preset time period before the receiving time, and/or the viewed notification in a second preset time period before the receiving time.
In order to further determine the actual importance score of the push notification, the initial importance score of the push notification may be adjusted according to the receiving time of the push notification, and/or the hidden notification in a first preset time period before the receiving time, and/or the viewed notification in a second preset time period before the receiving time, so as to obtain an adjusted importance parameter as the final importance score of the push notification. Wherein the hidden notification comprises a push notification that is ignored or hidden by the mobile terminal user and the viewed notification comprises a push notification that has been viewed by the mobile terminal user. Of course, in the embodiment of the present invention, the importance score of the push notification may also be adjusted based on the use location of the application program corresponding to each push notification, the classification of the application program corresponding to the push notification by the user, and the like, and the embodiment of the present invention is not limited thereto. Moreover, the correspondence between the importance scores and the receiving time, the hidden notification in the first preset time period before the receiving time, the viewed notification in the second preset time period before the receiving time, the use place of the application program corresponding to the push notification, the classification of the application program corresponding to the push notification by the user, and the like may be preset according to the requirements, and the embodiment of the present invention is not limited.
Optionally, in an embodiment of the present invention, the step 220 may further include:
a substep 221, detecting whether the receiving time of the push notification is in the high-frequency use time period of the application program to which the push notification belongs; and if the receiving time of the push notification is within the high-frequency use time period of the application program to which the push notification belongs, increasing the importance score of the push notification by a first numerical value.
In practical applications, if a user of a mobile terminal is using an application, the user will be relatively inclined to pay attention to the push notification related to the application, that is, the importance score of the push notification related to the application can be appropriately increased. Therefore, in the embodiment of the present invention, it may be detected whether the receiving time of the push notification is within the high frequency usage period of the application program to which the push notification belongs, and if the receiving time of the push notification is within the high frequency usage period of the application program to which the push notification belongs, the importance score of the push notification may be increased by a first value. The first value may be set before the step or before any step before the step according to requirements, and the embodiment of the present invention is not limited thereto.
Wherein, the high frequency usage time period of the application program can be predefined. For example, the usage time period of the application program before the current time may be counted, and if it is counted that a certain application program is used in the same time period exceeding the preset number of days, the time period may be set as the high-frequency usage time period of the application program. The preset number of days may be set before the step or before any step before the step according to the requirement, and the embodiment of the present invention is not limited. For example, for application a, the application a counts 14: 00-15: 00, then 14: 00-15: 00 as the high frequency usage period of application a.
And/or, substep 222, counting hidden notifications in a first preset time period before the receiving time, and reducing the importance score of the push notification by a second value based on the hidden notifications; wherein, if the hidden notification is continuously received, the second value is a product of a second preset value and a first preset coefficient; otherwise, the second value is a second preset value.
If the user hides or ignores the received historical push notification within a first preset time period before the receiving time of the current push notification, it can be inferred that the willingness of the user to view the push notification is low at the moment, and if the user hides or ignores the continuously received historical push notifications, the willingness of the user to view the push notification is low at the moment. Therefore, in the embodiment of the present invention, the hidden notification in the first preset time period before the receiving time of the currently received push notification may be counted, and the importance score of the push notification is reduced by the second value based on the hidden notification. Wherein, if the hidden notification is continuously received, the second value is a product of a second preset value and a first preset coefficient; otherwise, the second value is a second preset value. The second preset value and the first preset coefficient may be set before the step or before any step before the step according to requirements, which is not limited in this embodiment of the present invention, but the first preset coefficient needs to be greater than 1. Moreover, the first preset coefficient may also have a relationship with the consecutive times of the hidden notification, for example, the first preset coefficient is set to have a proportional relationship with the consecutive times of the hidden notification, and the proportional relationship may be preset according to requirements, which is not limited in the embodiment of the present invention.
For example, in a first preset time period before the receiving time of the currently received push notification, 4 hidden notifications are counted, which are push notification 1, push notification 2, push notification 3, and push notification 4, respectively, and if the push notification 1 and the push notification 2 are received continuously, the push notification 3 and the push notification 4 are not received continuously, and the push notification 3 and the push notification 4 are not received continuously with the push notification 1 or the push notification 2. Then based on push notifications 1, 3, and 4, the importance score of the currently received push notification may be decreased by m, while based on push notification 2, the importance score of the currently received push notification may be decreased by m μ, and then the importance score of the currently received push notification needs to be decreased by (3+ μ) m; however, if the above-mentioned push notifications 1, 2, and 3 are continuously received, and the push notification 4 is not continuously received with the push notification 1, the push notification 2, or the push notification 3, then the importance score of the currently received push notification may be decreased by m based on the push notifications 1 and 4, the importance score of the currently received push notification may be decreased by m μ based on the push notification 2, the importance score of the currently received push notification may be decreased by m μ based on the push notification 3, or of course, the importance score of the currently received push notification may be decreased by m μ based on the push notification 3, which is not limited in this embodiment of the present invention.
Alternatively, the first preset coefficient may be set in direct proportion to the number of the hidden notifications that are continuously received, and the embodiment of the present invention is not limited thereto. For example, if two hidden notifications, push notification 2 and push notification 3, are received consecutively, then based on the push notification 3, a first preset coefficient corresponding to a numerical value by which the importance score of the currently received push notification should be decreased is in a direct proportion to 2; and if three hidden notifications push notification 2, push notification 3 and push notification 4 are received continuously, based on the push notification 4, a first preset coefficient corresponding to a value by which the importance score of the currently received push notification should be reduced is in a direct proportion to the value 3.
And/or, substep 223, counting the viewed notifications in a second preset time period before the receiving time, and increasing the importance scores of the push notifications by a third value based on the viewed notifications; wherein, if the viewed notification and the push notification correspond to the same application program and the viewed notification is continuously received, the third value is a product of a third preset value and a second preset coefficient; otherwise, the third value is a third preset value.
And if the user views the received historical push notification within a second preset time period before the receiving time of the current push notification, it can be inferred that the willingness of the user to view the push notification is higher at the moment, and if the user views the continuously received historical push notifications for the same application program, the willingness of the user to view the push notification corresponding to the application program is higher at the moment. Therefore, in the embodiment of the present invention, the viewed notifications in the second preset time period before the receiving time of the currently received push notification may be counted, and the importance score of the currently received push notification may be increased by a third value based on the viewed notifications; if the checked notification and the currently received push notification correspond to the same application program and the checked notification is continuously received, the third value is the product of a third preset value and a second preset coefficient; otherwise, the third value is a third preset value.
The third preset value and the second preset coefficient may be set before the step or before any step before the step according to requirements, which is not limited in this embodiment of the present invention, but the second preset coefficient needs to be greater than 1. Moreover, the second preset coefficient may also have a relationship with the number of consecutive times that the notification has been viewed, for example, the second preset coefficient is set to have a proportional relationship with the number of consecutive times that the notification has been viewed, and the proportional relationship may be preset according to requirements, which is not limited in the embodiment of the present invention.
For example, in a first preset time period before the receiving time of the currently received push notification, 4 viewed notifications are counted, namely, push notification 5, push notification 6, push notification 7, and push notification 8, and if the push notification 5 and the push notification 6 are continuously received, the push notification 7 and the push notification 8 are not continuously received, and the push notification 7 and the push notification 8 are not continuously received with the push notification 5 or the push notification 6. Then based on push notifications 5, 7, and 8, the importance scores of the currently received push notifications may all be increased by n, while based on push notification 6, the importance scores of the currently received push notifications may be increased by n v, and then the importance scores of the currently received push notifications need to be increased by (3+ v) n at this time; however, if the above-mentioned push notification 5, push notification 6, push notification 7 is continuously received, and the push notification 8 is not continuously received with the push notification 5, the push notification 6, or the push notification 7, then based on the push notifications 5 and 8, the importance score of the currently received push notification may be increased by n, based on the push notification 6, the importance score of the currently received push notification may be increased by n v, based on the push notification 7, the importance score of the currently received push notification may be increased by n v, and of course, based on the push notification 7, the importance score of the currently received push notification may still be increased by n v, which is not limited in the embodiment of the present invention.
Alternatively, the second preset coefficient may be set in direct proportion to the number of viewed notifications that are continuously received, and the embodiment of the present invention is not limited thereto. For example, if two viewed notifications, namely, push notification 6 and push notification 7, are received consecutively, at this time, based on the push notification 7, a second preset coefficient corresponding to a value by which the importance score of the currently received push notification should be increased is in a direct proportion to 2; and if three viewed notifications, namely the push notification 6, the push notification 7 and the push notification 8, are received continuously, then based on the push notification 8, a second preset coefficient corresponding to a numerical value to which the importance score of the currently received push notification should be increased is in a direct proportion to 3.
Step 230, determining the importance level of the push notification according to the adjusted importance score.
After the adjusted importance score corresponding to the push notification is obtained, the importance level of the push notification may be determined according to the adjusted importance score. In the embodiment of the present invention, the value ranges of the importance scores corresponding to different importance levels may be preset according to requirements, and the embodiment of the present invention is not limited. Then, after the adjusted importance scores of the push notifications are obtained, the importance levels of the current push notifications can be determined based on the value ranges of the importance scores corresponding to the preset importance levels.
Optionally, in an embodiment of the present invention, the step 230 may further include:
and a substep 231, if the adjusted importance score is greater than or equal to a first preset score, determining that the importance level of the push notification is a first level.
In the sub-step 232, if the adjusted importance score is smaller than the first preset score and is greater than or equal to the second preset score, it is determined that the importance level of the push notification is the second level.
Sub-step 233, if the adjusted importance score is smaller than a second preset score, confirming that the importance level of the push notification is a third level.
Optionally, in the embodiment of the present invention, the importance levels of the push notification may be set to include a first level, a second level, and a third level. The value range of the importance score corresponding to the first grade is larger than or equal to a first preset score, the value range of the importance score corresponding to the second grade is smaller than the first preset score and larger than or equal to a second preset score, and the value range of the importance score corresponding to the third grade is smaller than the second preset score. The first preset score and the second preset score may be set before the step or before any step before the step according to requirements, and the embodiment of the present invention is not limited thereto. Moreover, in order to avoid the variation of the value ranges of the importance scores corresponding to different importance levels, the first preset score may be set to be larger than the second preset score. Then, if the adjusted importance score corresponding to the push notification is greater than or equal to the first preset score, the importance level of the push notification can be determined as the first level; if the adjusted importance score corresponding to the push notification is smaller than the first preset score and is greater than or equal to the second preset score, the importance level of the push notification can be confirmed to be a second level; and if the adjusted importance score corresponding to the push notification is smaller than the second preset score, the importance level of the push notification can be determined to be the third level.
Step 240, determining a target reminding mode of the push notification according to the importance level of the push notification.
Optionally, in an embodiment of the present invention, the step 240 may further include:
and a substep 241, if the importance level of the push notification is a first level, determining that the target reminding mode of the push notification is full screen switching to an application program corresponding to the push notification.
If the importance level of the push notification is determined to be the first level, it is determined that the importance of the push notification is higher, and at this time, in order to avoid that the user misses the push notification, it may be determined that the target reminding manner of the push notification is full-screen switching to the application program corresponding to the push notification. Moreover, the content of the push notification can be displayed in the application program interface corresponding to the push notification.
In sub-step 242, if the importance level of the push notification is a second level, a target reminding mode of the push notification is determined from preset reminding modes corresponding to the second level according to the content of the push notification and the currently running application program of the mobile terminal.
If the importance level of the push notification is determined to be the second level, it is determined that the importance of the push notification is higher, but the importance of the push notification is slightly lower than the first level, at this time, in order to avoid that the user misses the push notification, and simultaneously reduce the interference of the push notification to the user, a target reminding mode of the push notification can be determined and set from preset reminding modes corresponding to the second level according to the content of the push notification and the application program currently running by the mobile terminal. The preset prompting modes corresponding to the second level may be set before the step or before any step before the step according to requirements, and the corresponding relationship between each preset prompting mode and the content of the push notification and the application program currently running in the mobile terminal may also be preset according to requirements, which is not limited in the embodiment of the present invention.
Optionally, in an embodiment of the present invention, the substep 242 further may include:
and a substep 2421 of determining that the target reminding mode of the push notification is a split-screen display mode when the content of the push notification is not less than a preset space.
For the push notification at the second level, if the content of the push notification is more, in order to avoid excessive interference of the push notification to the user, the push notification may be reminded in a split-screen display manner, and therefore when the content of the push notification is not less than the preset space, it may be determined that the target reminding manner of the push notification is the split-screen display manner. The split-screen display mode may specifically be to split a display interface of the mobile terminal, display content that a mobile terminal user is running in one split screen, and display content of the push notification and/or an application program corresponding to the push notification in another split screen. The preset space may be set before the step or before any step before the step according to the requirement, and the embodiment of the present invention is not limited thereto.
Substep 2422, determining that the target reminding mode of the push notification is a voice broadcast mode when the content of the push notification is less than a preset space and the mobile terminal does not run a first application program currently; wherein the first application comprises a video application and/or an audio application.
When the content of the push notification belonging to the second level is less than the preset space and the mobile terminal does not run the first application program currently, the target reminding mode of the push notification can be determined to be a voice broadcasting mode; wherein the first application may include a video-class application and/or an audio-class application. At this time, the visual effect of the user is not disturbed, and the user does not miss the push notification. The voice broadcasting mode can be used for carrying out voice broadcasting on the content of the push notification, so that a user can know the content of the push notification in time; the voice broadcasting mode can also be used for reminding a user to check the corresponding push notification through preset voice, wherein the preset voice can be preset according to requirements, and the embodiment of the invention is not limited; and so on.
And substep 2423, determining that the target reminding mode of the push notification is the floating window display mode when the content of the push notification is less than the preset space and the mobile terminal is currently running the first application program.
And when the content of the push notification belonging to the second level is less than the preset space and the mobile terminal is currently running the first application program, in order to avoid causing audio-visual interference to the user, the push notification is not suitable for being reminded in the voice broadcast mode. Specifically, the content of the push notification may be displayed through a floating window; or displaying the application program corresponding to the push notification in a floating window, and displaying the content of the push notification in an application program interface, and the like. The position, size, appearance and other attribute parameters of the floating window can be preset according to requirements, and the embodiment of the invention is not limited.
And a substep 243, if the importance level of the push notification is a third level, setting that no push prompt is performed on the push notification.
If the importance level of the currently received push notification is determined to be the third level, which indicates that the importance of the push notification is low, the push notification may be set not to be pushed, that is, the target push mode is determined not to be reminded.
And step 250, reminding the push notification according to the target reminding mode.
In the embodiment of the invention, when a push notification is received, the importance level of the push notification is determined according to the receiving time of the push notification, and/or the hidden notification in a first preset time period before the receiving time, and/or the viewed notification in a second preset time period before the receiving time; determining a target reminding mode of the push notification according to the importance level of the push notification; and reminding the push notification according to the target reminding mode. The method and the device can effectively avoid the omission of important information of the user while reducing the interference of the push notification to the user.
Moreover, in the embodiment of the present invention, when a push notification is received, the initial importance score of the push notification may be set to a preset value; adjusting the importance score according to the receiving time of the push notification, and/or the hidden notification in a first preset time period before the receiving time, and/or the viewed notification in a second preset time period before the receiving time; and determining the importance level of the push notification according to the adjusted importance score. The accuracy and reasonableness of the importance score of the push notification can be further improved.
In addition, whether the receiving time of the push notification is within the high-frequency use time period of the application program to which the push notification belongs can be detected; if the receiving time of the push notification is within the high-frequency use time period of the application program to which the push notification belongs, increasing the importance score of the push notification by a first numerical value; and/or counting hidden notifications in a first preset time period before the receiving time, and reducing the importance scores of the push notifications by a second value based on the hidden notifications; wherein, if the hidden notification is continuously received, the second value is a product of a second preset value and a first preset coefficient; otherwise, the second value is a second preset value; and/or counting viewed notifications in a second preset time period before the receiving time, and increasing the importance scores of the push notifications by a third value based on the viewed notifications; wherein, if the viewed notification and the push notification correspond to the same application program and the viewed notification is continuously received, the third value is a product of a third preset value and a second preset coefficient; otherwise, the third value is a third preset value. The accuracy and reasonableness of the importance score of the push notification can be further improved.
Further, in the embodiment of the present invention, if the adjusted importance score is greater than or equal to a first preset score, it may be determined that the importance level of the push notification is a first level; if the adjusted importance score is smaller than a first preset score and is larger than or equal to a second preset score, confirming that the importance level of the push notification is a second level; and if the adjusted importance score is smaller than a second preset score, confirming that the importance level of the push notification is a third level. If the importance level of the push notification is a first level, determining that the target reminding mode of the push notification is switched to an application program corresponding to the push notification in a full screen mode; if the importance level of the push notification is a second level, determining a target reminding mode of the push notification from preset reminding modes corresponding to the second level according to the content of the push notification and an application program currently running by the mobile terminal; and if the importance level of the push notification is a third level, setting that push reminding is not carried out on the push notification. When the content of the push notification is not less than a preset space, determining that the target reminding mode of the push notification is a split-screen display mode; when the content of the push notification is less than a preset space and the mobile terminal does not run a first application program currently, determining that a target reminding mode of the push notification is a voice broadcasting mode; wherein the first application comprises a video application and/or an audio application; and when the content of the push notification is less than a preset space and the mobile terminal is currently running the first application program, determining that a target reminding mode of the push notification is a floating window display mode. Therefore, the interference of the pushed information to the user can be further avoided, and the user is prevented from missing important information.
EXAMPLE III
A mobile terminal according to an embodiment of the present invention is described in detail.
Referring to fig. 3, a schematic structural diagram of a mobile terminal in the embodiment of the present invention is shown.
The mobile terminal 300 of the embodiment of the present invention includes: an importance level determination module 310, a reminder manner determination module 320, and a push notification reminder module 330.
The functions of the modules and the interaction relationship between the modules are described in detail below.
An importance level determining module 310, configured to, when a push notification is received, determine an importance level of the push notification according to a receiving time of the push notification, and/or a hidden notification within a first preset time period before the receiving time, and/or a viewed notification within a second preset time period before the receiving time.
A reminding mode determining module 320, configured to determine a target reminding mode of the push notification according to the importance level of the push notification.
Optionally, in this embodiment of the present invention, the reminding mode determining module 320 further includes:
and the processing rule determining submodule is used for determining a target reminding mode corresponding to the push notification according to the importance level.
And the selection control generation sub-module is used for generating a selection control in a notification bar of the mobile terminal when the target reminding mode is inconsistent with the initial reminding mode of the push notification.
And the reminding mode determining submodule is used for adjusting the push notification reminding mode to be a target reminding mode when a reminding mode adjusting instruction input by the user through the selection control is received.
And the push notification reminding module 330 is configured to remind the push notification according to the target reminding mode.
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. 2, and is not described herein again to avoid repetition.
In the embodiment of the invention, when a push notification is received, the importance level of the push notification is determined according to the receiving time of the push notification, and/or the hidden notification in a first preset time period before the receiving time, and/or the viewed notification in a second preset time period before the receiving time; determining a target reminding mode of the push notification according to the importance level of the push notification; and reminding the push notification according to the target reminding mode. The method and the device can effectively avoid the omission of important information of the user while reducing the interference of the push notification to the user.
Moreover, in the embodiment of the present invention, a target reminding mode corresponding to the push notification may also be determined according to the importance level; when the target reminding mode is inconsistent with the initial reminding mode of the push notification, generating a selection control in a notification bar of the mobile terminal; and when a reminding mode adjusting instruction input by the user through the selection control is received, adjusting the push notification reminding mode to be a target reminding mode. Therefore, the phenomenon that the user is not suitable due to the fact that the reminding mode of the push notification is adjusted can be avoided, and the user can independently select and adjust the reminding mode of the push notification.
Example four
A mobile terminal according to an embodiment of the present invention is described in detail.
Referring to fig. 4, a schematic structural diagram of a mobile terminal in the embodiment of the present invention is shown.
The mobile terminal 400 of the embodiment of the present invention includes: an importance level determination module 410, a reminder manner determination module 420, and a push notification reminder module 430.
The functions of the modules and the interaction relationship between the modules are described in detail below.
An importance level determining module 410, configured to, when a push notification is received, determine an importance level of the push notification according to a receiving time of the push notification, and/or a hidden notification within a first preset time period before the receiving time, and/or a viewed notification within a second preset time period before the receiving time.
Optionally, in an embodiment of the present invention, the importance level determining module 410 further includes:
the initial score setting sub-module 411 is configured to, when a push notification is received, set an initial importance score of the push notification to a preset value.
A score adjusting submodule 412, configured to adjust the importance score according to a receiving time of the push notification, and/or a hidden notification in a first preset time period before the receiving time, and/or a viewed notification in a second preset time period before the receiving time.
Optionally, in an embodiment of the present invention, the score adjusting sub-module 412 further includes:
the first score adjusting unit is used for detecting whether the receiving time of the push notification is within the high-frequency use time period of the application program to which the push notification belongs; and if the receiving time of the push notification is within the high-frequency use time period of the application program to which the push notification belongs, increasing the importance score of the push notification by a first numerical value.
And/or the second score adjusting unit is used for counting hidden notifications in a first preset time period before the receiving time, and reducing the importance scores of the push notifications by a second numerical value based on the hidden notifications; wherein, if the hidden notification is continuously received, the second value is a product of a second preset value and a first preset coefficient; otherwise, the second value is a second preset value.
And/or a third score adjusting unit, configured to count viewed notifications within a second preset time period before the receiving time, and increase the importance score of the push notification by a third value based on the viewed notifications; wherein, if the viewed notification and the push notification correspond to the same application program and the viewed notification is continuously received, the third value is a product of a third preset value and a second preset coefficient; otherwise, the third value is a third preset value.
The importance level determining submodule 413 is configured to determine an importance level of the push notification according to the adjusted importance score.
Optionally, in an embodiment of the present invention, the importance level determining submodule 413 may further include:
a first importance level determining unit, configured to determine that the importance level of the push notification is a first level if the adjusted importance level is greater than or equal to a first preset level.
A second importance level determining unit, configured to determine that the importance level of the push notification is a second level if the adjusted importance level is smaller than the first preset level and is greater than or equal to a second preset level.
A third importance level determining unit, configured to determine that the importance level of the push notification is a third level if the adjusted importance level is smaller than a second preset level.
A reminding mode determining module 420, configured to determine a target reminding mode of the push notification according to the importance level of the push notification.
Optionally, in this embodiment of the present invention, the reminding mode determining module 420 further includes:
and the first reminding mode determining submodule is used for determining that the target reminding mode of the push notification is switched to the application program corresponding to the push notification in a full screen mode if the importance level of the push notification is the first level.
And a second reminding mode determining submodule, configured to determine, if the importance level of the push notification is a second level, a target reminding mode of the push notification from preset reminding modes corresponding to the second level according to the content of the push notification and an application program currently running on the mobile terminal.
Optionally, in this embodiment of the present invention, the second reminding manner determining sub-module further includes:
and the split-screen display setting unit is used for determining that the target reminding mode of the push notification is a split-screen display mode when the content of the push notification is not less than a preset space.
The voice broadcast setting unit is used for determining that the target reminding mode of the push notification is a voice broadcast mode when the content of the push notification is less than a preset space and the mobile terminal does not run a first application program currently; wherein the first application comprises a video application and/or an audio application.
And the floating window display setting unit is used for determining that the target reminding mode of the push notification is a floating window display mode when the content of the push notification is less than a preset space and the mobile terminal is currently running the first application program.
And the third reminding mode determining submodule is used for setting that the push reminding is not carried out on the push notification if the importance level of the push notification is the third level.
A push notification reminding module 430, configured to remind the push notification according to the target reminding manner.
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. 2, and is not described herein again to avoid repetition.
In the embodiment of the invention, when a push notification is received, the importance level of the push notification is determined according to the receiving time of the push notification, and/or the hidden notification in a first preset time period before the receiving time, and/or the viewed notification in a second preset time period before the receiving time; determining a target reminding mode of the push notification according to the importance level of the push notification; and reminding the push notification according to the target reminding mode. The method and the device can effectively avoid the omission of important information of the user while reducing the interference of the push notification to the user.
Moreover, in the embodiment of the present invention, when a push notification is received, the initial importance score of the push notification may be set to a preset value; adjusting the importance score according to the receiving time of the push notification, and/or the hidden notification in a first preset time period before the receiving time, and/or the viewed notification in a second preset time period before the receiving time; and determining the importance level of the push notification according to the adjusted importance score. The accuracy and reasonableness of the importance score of the push notification can be further improved.
In addition, whether the receiving time of the push notification is within the high-frequency use time period of the application program to which the push notification belongs can be detected; if the receiving time of the push notification is within the high-frequency use time period of the application program to which the push notification belongs, increasing the importance score of the push notification by a first numerical value; and/or counting hidden notifications in a first preset time period before the receiving time, and reducing the importance scores of the push notifications by a second value based on the hidden notifications; wherein, if the hidden notification is continuously received, the second value is a product of a second preset value and a first preset coefficient; otherwise, the second value is a second preset value; and/or counting viewed notifications in a second preset time period before the receiving time, and increasing the importance scores of the push notifications by a third value based on the viewed notifications; wherein, if the viewed notification and the push notification correspond to the same application program and the viewed notification is continuously received, the third value is a product of a third preset value and a second preset coefficient; otherwise, the third value is a third preset value. The accuracy and reasonableness of the importance score of the push notification can be further improved.
Further, in the embodiment of the present invention, if the adjusted importance score is greater than or equal to a first preset score, it may be determined that the importance level of the push notification is a first level; if the adjusted importance score is smaller than a first preset score and is larger than or equal to a second preset score, confirming that the importance level of the push notification is a second level; and if the adjusted importance score is smaller than a second preset score, confirming that the importance level of the push notification is a third level. If the importance level of the push notification is a first level, determining that the target reminding mode of the push notification is switched to an application program corresponding to the push notification in a full screen mode; if the importance level of the push notification is a second level, determining a target reminding mode of the push notification from preset reminding modes corresponding to the second level according to the content of the push notification and an application program currently running by the mobile terminal; and if the importance level of the push notification is a third level, setting that push reminding is not carried out on the push notification. When the content of the push notification is not less than a preset space, determining that the target reminding mode of the push notification is a split-screen display mode; when the content of the push notification is less than a preset space and the mobile terminal does not run a first application program currently, determining that a target reminding mode of the push notification is a voice broadcasting mode; wherein the first application comprises a video application and/or an audio application; and when the content of the push notification is less than a preset space and the mobile terminal is currently running the first application program, determining that a target reminding mode of the push notification is a floating window display mode. Therefore, the interference of the pushed information to the user can be further avoided, and the user is prevented from missing important information.
EXAMPLE five
Fig. 5 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention.
The mobile terminal 500 includes, but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and a power supply 511. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 5 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 radio frequency unit 501 is configured to receive a push notification;
a processor 510, configured to, when a push notification is received, determine an importance level of the push notification according to a receiving time of the push notification, and/or a hidden notification within a first preset time period before the receiving time, and/or a viewed notification within a second preset time period before the receiving time; determining a target reminding mode of the push notification according to the importance level of the push notification; and reminding the push notification according to the target reminding mode.
In the embodiment of the invention, when a push notification is received, the importance level of the push notification is determined according to the receiving time of the push notification, and/or the hidden notification in a first preset time period before the receiving time, and/or the viewed notification in a second preset time period before the receiving time; determining a target reminding mode of the push notification according to the importance level of the push notification; and reminding the push notification according to the target reminding mode. The method and the device can effectively avoid the omission of important information of the user while reducing the interference of the push notification to the user.
Moreover, in the embodiment of the present invention, when a push notification is received, the initial importance score of the push notification may be set to a preset value; adjusting the importance score according to the receiving time of the push notification, and/or the hidden notification in a first preset time period before the receiving time, and/or the viewed notification in a second preset time period before the receiving time; and determining the importance level of the push notification according to the adjusted importance score. The accuracy and reasonableness of the importance score of the push notification can be further improved.
In addition, whether the receiving time of the push notification is within the high-frequency use time period of the application program to which the push notification belongs can be detected; if the receiving time of the push notification is within the high-frequency use time period of the application program to which the push notification belongs, increasing the importance score of the push notification by a first numerical value; and/or counting hidden notifications in a first preset time period before the receiving time, and reducing the importance scores of the push notifications by a second value based on the hidden notifications; wherein, if the hidden notification is continuously received, the second value is a product of a second preset value and a first preset coefficient; otherwise, the second value is a second preset value; and/or counting viewed notifications in a second preset time period before the receiving time, and increasing the importance scores of the push notifications by a third value based on the viewed notifications; wherein, if the viewed notification and the push notification correspond to the same application program and the viewed notification is continuously received, the third value is a product of a third preset value and a second preset coefficient; otherwise, the third value is a third preset value. The accuracy and reasonableness of the importance score of the push notification can be further improved.
Further, in the embodiment of the present invention, if the adjusted importance score is greater than or equal to a first preset score, it may be determined that the importance level of the push notification is a first level; if the adjusted importance score is smaller than a first preset score and is larger than or equal to a second preset score, confirming that the importance level of the push notification is a second level; and if the adjusted importance score is smaller than a second preset score, confirming that the importance level of the push notification is a third level. If the importance level of the push notification is a first level, determining that the target reminding mode of the push notification is switched to an application program corresponding to the push notification in a full screen mode; if the importance level of the push notification is a second level, determining a target reminding mode of the push notification from preset reminding modes corresponding to the second level according to the content of the push notification and an application program currently running by the mobile terminal; and if the importance level of the push notification is a third level, setting that push reminding is not carried out on the push notification. When the content of the push notification is not less than a preset space, determining that the target reminding mode of the push notification is a split-screen display mode; when the content of the push notification is less than a preset space and the mobile terminal does not run a first application program currently, determining that a target reminding mode of the push notification is a voice broadcasting mode; wherein the first application comprises a video application and/or an audio application; and when the content of the push notification is less than a preset space and the mobile terminal is currently running the first application program, determining that a target reminding mode of the push notification is a floating window display mode. Therefore, the interference of the pushed information to the user can be further avoided, and the user is prevented from missing important information.
Thirdly, in the embodiment of the present invention, a target reminding mode corresponding to the push notification may also be determined according to the importance level; when the target reminding mode is inconsistent with the initial reminding mode of the push notification, generating a selection control in a notification bar of the mobile terminal; and when a reminding mode adjusting instruction input by the user through the selection control is received, adjusting the push notification reminding mode to be a target reminding mode. Therefore, the phenomenon that the user is not suitable due to the fact that the reminding mode of the push notification is adjusted can be avoided, and the user can independently select and adjust the reminding mode of the push notification.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 501 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 510; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 501 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 501 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 through the network module 502, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output as sound. Also, the audio output unit 503 may also provide audio output related to a specific function performed by the mobile terminal 500 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
The input unit 504 is used to receive an audio or video signal. The input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 506. The image frames processed by the graphic processor 5041 may be stored in the memory 509 (or other storage medium) or transmitted via the radio frequency unit 501 or the network module 502. The microphone 5042 may receive sounds and may be capable of processing 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 501 in case of the phone call mode.
The mobile terminal 500 also includes at least one sensor 505, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 5061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 5061 and/or a backlight when the mobile terminal 500 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 505 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 506 is used to display information input by the user or information provided to the user. The Display unit 506 may include a Display panel 5061, and the Display panel 5061 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 507 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 507 includes a touch panel 5071 and other input devices 5072. Touch panel 5071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 5071 using a finger, stylus, or any suitable object or attachment). The touch panel 5071 may include two parts of 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 510, and receives and executes commands sent by the processor 510. In addition, the touch panel 5071 may be implemented in various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 5071, the user input unit 507 may include other input devices 5072. In particular, other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 5071 may be overlaid on the display panel 5061, and when the touch panel 5071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 510 to determine the type of the touch event, and then the processor 510 provides a corresponding visual output on the display panel 5061 according to the type of the touch event. Although in fig. 5, the touch panel 5071 and the display panel 5061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 5071 and the display panel 5061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 508 is an interface through which an external device is connected to the mobile terminal 500. 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 508 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 500 or may be used to transmit data between the mobile terminal 500 and external devices.
The memory 509 may be used to store software programs as well as various data. The memory 509 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 by 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 509 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 510 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 operating or executing software programs and/or modules stored in the memory 509 and calling data stored in the memory 509, thereby performing overall monitoring of the mobile terminal. Processor 510 may include one or more processing units; preferably, the processor 510 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 will be appreciated that the modem processor described above may not be integrated into processor 510.
The mobile terminal 500 may further include a power supply 511 (e.g., a battery) for supplying power to various components, and preferably, the power supply 511 may be logically connected to the processor 510 via a power management system, so that functions of managing charging, discharging, and power consumption are performed via the power management system.
In addition, the mobile terminal 500 includes some functional modules that are not shown, and thus, are not described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, including: the processor 510, the memory 509, and a computer program stored in the memory 509 and capable of running on the processor 510, where the computer program, when executed by the processor 510, implements each process of the above-described push notification processing method embodiment, and can achieve the same technical effect, and are not described herein again to avoid repetition.
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 being executed by a processor, the computer program implements each process of the push notification processing method embodiment, 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.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (11)

1. A push notification processing method applied to a mobile terminal is characterized by comprising the following steps:
when a push notification is received, determining the importance level of the push notification according to the receiving time of the push notification, and/or a hidden notification in a first preset time period before the receiving time, and/or a viewed notification in a second preset time period before the receiving time;
determining a target reminding mode of the push notification according to the importance level of the push notification;
reminding the push notification according to the target reminding mode;
the step of determining the importance level of the push notification according to the receiving time of the push notification, and/or the hidden notification within a first preset time period before the receiving time, and/or the viewed notification within a second preset time period before the receiving time when the push notification is received, includes:
when a push notification is received, setting an initial importance score of the push notification as a preset numerical value;
adjusting the importance score according to the receiving time of the push notification, and/or the hidden notification in a first preset time period before the receiving time, and/or the viewed notification in a second preset time period before the receiving time;
determining the importance level of the push notification according to the adjusted importance score;
the step of determining a target reminding mode of the push notification according to the importance level of the push notification comprises:
determining a target reminding mode corresponding to the push notification according to the importance level;
when the target reminding mode is inconsistent with the initial reminding mode of the push notification, generating a selection control in a notification bar of the mobile terminal;
and when a reminding mode adjusting instruction input by the user through the selection control is received, adjusting the push notification reminding mode to be a target reminding mode.
2. The method according to claim 1, wherein the step of adjusting the importance score according to the receiving time of the push notification, and/or the hidden notification within a first preset time period before the receiving time, and/or the viewed notification within a second preset time period before the receiving time, comprises:
detecting whether the receiving time of the push notification is within a high-frequency use time period of an application program to which the push notification belongs; if the receiving time of the push notification is within the high-frequency use time period of the application program to which the push notification belongs, increasing the importance score of the push notification by a first numerical value;
and/or counting hidden notifications in a first preset time period before the receiving time, and reducing the importance scores of the push notifications by a second value based on the hidden notifications; wherein, if the hidden notification is continuously received, the second value is a product of a second preset value and a first preset coefficient; otherwise, the second value is a second preset value;
and/or counting viewed notifications in a second preset time period before the receiving time, and increasing the importance scores of the push notifications by a third value based on the viewed notifications; wherein, if the viewed notification and the push notification correspond to the same application program and the viewed notification is continuously received, the third value is a product of a third preset value and a second preset coefficient; otherwise, the third value is a third preset value.
3. The method of claim 1, wherein the step of determining the importance level of the push notification according to the adjusted importance score comprises:
if the adjusted importance score is larger than or equal to a first preset score, confirming that the importance level of the push notification is a first level;
if the adjusted importance score is smaller than a first preset score and is larger than or equal to a second preset score, confirming that the importance level of the push notification is a second level;
and if the adjusted importance score is smaller than a second preset score, confirming that the importance level of the push notification is a third level.
4. The method of claim 3, wherein the step of determining a target alert manner for the push notification according to the importance level of the push notification comprises:
if the importance level of the push notification is a first level, determining that the target reminding mode of the push notification is full screen switching to an application program corresponding to the push notification;
if the importance level of the push notification is a second level, determining a target reminding mode of the push notification from preset reminding modes corresponding to the second level according to the content of the push notification and an application program currently running by the mobile terminal;
and if the importance level of the push notification is a third level, setting that push reminding is not carried out on the push notification.
5. The method according to claim 4, wherein if the importance level of the push notification is a second level, the step of determining a target reminding mode of the push notification from preset reminding modes corresponding to the second level according to the content of the push notification and an application program currently running on the mobile terminal comprises:
when the content of the push notification is not less than a preset space, determining that a target reminding mode of the push notification is a split-screen display mode;
when the content of the push notification is less than a preset space and the mobile terminal does not run a first application program currently, determining that a target reminding mode of the push notification is a voice broadcasting mode; wherein the first application comprises a video application and/or an audio application;
and when the content of the push notification is less than a preset space and the mobile terminal is currently running the first application program, determining that a target reminding mode of the push notification is a floating window display mode.
6. A mobile terminal, comprising:
the importance level determining module is used for determining the importance level of the push notification according to the receiving time of the push notification, and/or the hidden notification in a first preset time period before the receiving time, and/or the viewed notification in a second preset time period before the receiving time when the push notification is received;
the reminding mode determining module is used for determining a target reminding mode of the push notification according to the importance level of the push notification;
the push notification reminding module is used for reminding the push notification according to the target reminding mode;
the importance level determination module comprises:
the initial score setting submodule is used for setting the initial importance score of the push notification to be a preset numerical value when the push notification is received;
the score adjusting submodule is used for adjusting the importance score according to the receiving time of the push notification, and/or the hidden notification in a first preset time period before the receiving time, and/or the viewed notification in a second preset time period before the receiving time;
the importance level determining submodule is used for determining the importance level of the push notification according to the adjusted importance score;
the reminding mode determining module comprises:
the processing rule determining submodule is used for determining a target reminding mode corresponding to the push notification according to the importance level;
the selection control generation sub-module is used for generating a selection control in a notification bar of the mobile terminal when the target reminding mode is inconsistent with the initial reminding mode of the push notification;
and the reminding mode determining submodule is used for adjusting the push notification reminding mode to be a target reminding mode when a reminding mode adjusting instruction input by the user through the selection control is received.
7. The mobile terminal of claim 6, wherein the score adjustment submodule comprises:
the first score adjusting unit is used for detecting whether the receiving time of the push notification is within the high-frequency use time period of the application program to which the push notification belongs; if the receiving time of the push notification is within the high-frequency use time period of the application program to which the push notification belongs, increasing the importance score of the push notification by a first numerical value;
and/or the second score adjusting unit is used for counting hidden notifications in a first preset time period before the receiving time, and reducing the importance scores of the push notifications by a second numerical value based on the hidden notifications; wherein, if the hidden notification is continuously received, the second value is a product of a second preset value and a first preset coefficient; otherwise, the second value is a second preset value;
and/or a third score adjusting unit, configured to count viewed notifications within a second preset time period before the receiving time, and increase the importance score of the push notification by a third value based on the viewed notifications; wherein, if the viewed notification and the push notification correspond to the same application program and the viewed notification is continuously received, the third value is a product of a third preset value and a second preset coefficient; otherwise, the third value is a third preset value.
8. The mobile terminal of claim 6, wherein the importance level determination submodule comprises:
a first importance level determining unit, configured to determine that the importance level of the push notification is a first level if the adjusted importance level is greater than or equal to a first preset level;
a second importance level determining unit, configured to determine that the importance level of the push notification is a second level if the adjusted importance level is smaller than a first preset level and is greater than or equal to a second preset level;
a third importance level determining unit, configured to determine that the importance level of the push notification is a third level if the adjusted importance level is smaller than a second preset level.
9. The mobile terminal of claim 8, wherein the alert mode determining module comprises:
a first reminding mode determining submodule, configured to determine that a target reminding mode of the push notification is full-screen switching to an application program corresponding to the push notification if the importance level of the push notification is a first level;
a second reminding mode determining submodule, configured to determine, if the importance level of the push notification is a second level, a target reminding mode of the push notification from preset reminding modes corresponding to the second level according to the content of the push notification and an application program currently running on the mobile terminal;
and the third reminding mode determining submodule is used for setting that the push reminding is not carried out on the push notification if the importance level of the push notification is the third level.
10. The mobile terminal of claim 9, wherein the second reminding manner determining submodule includes:
the split-screen display setting unit is used for determining that the target reminding mode of the push notification is a split-screen display mode when the content of the push notification is not less than a preset space;
the voice broadcast setting unit is used for determining that the target reminding mode of the push notification is a voice broadcast mode when the content of the push notification is less than a preset space and the mobile terminal does not run a first application program currently; wherein the first application comprises a video application and/or an audio application;
and the floating window display setting unit is used for determining that the target reminding mode of the push notification is a floating window display mode when the content of the push notification is less than a preset space and the mobile terminal is currently running the first application program.
11. A mobile terminal, comprising: memory, processor and computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the push notification processing method according to any of claims 1 to 5.
CN201710973127.5A 2017-10-18 2017-10-18 Push notification processing method and mobile terminal Active CN107707760B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710973127.5A CN107707760B (en) 2017-10-18 2017-10-18 Push notification processing method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710973127.5A CN107707760B (en) 2017-10-18 2017-10-18 Push notification processing method and mobile terminal

Publications (2)

Publication Number Publication Date
CN107707760A CN107707760A (en) 2018-02-16
CN107707760B true CN107707760B (en) 2020-09-29

Family

ID=61181653

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710973127.5A Active CN107707760B (en) 2017-10-18 2017-10-18 Push notification processing method and mobile terminal

Country Status (1)

Country Link
CN (1) CN107707760B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109660660B (en) * 2018-11-30 2021-03-23 维沃移动通信有限公司 Reminding method, mobile terminal and server
CN110138972B (en) * 2019-05-17 2021-07-27 维沃移动通信有限公司 Notification processing method and device
CN112748970B (en) * 2019-10-31 2023-11-21 华为技术有限公司 Message display method and terminal equipment
CN111654576A (en) * 2020-05-28 2020-09-11 惠州Tcl移动通信有限公司 Information display method and device, storage medium and mobile terminal
CN117917637A (en) * 2022-10-21 2024-04-23 荣耀终端有限公司 Reminding method for system upgrade and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572942A (en) * 2014-12-30 2015-04-29 小米科技有限责任公司 Push message display method and push message display device
CN106557330A (en) * 2016-11-30 2017-04-05 北京奇虎科技有限公司 Mobile terminal system informing announcement information processing method, device and mobile terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101891259B1 (en) * 2012-04-04 2018-09-28 삼성전자주식회사 Intelligent Output supporting Method for Event Information And Electro Device supporting the same
CN105094814B (en) * 2015-06-30 2019-02-22 小米科技有限责任公司 Notification message methods of exhibiting and device
CN106791083A (en) * 2016-12-19 2017-05-31 北京小米移动软件有限公司 Notification message display methods and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572942A (en) * 2014-12-30 2015-04-29 小米科技有限责任公司 Push message display method and push message display device
CN106557330A (en) * 2016-11-30 2017-04-05 北京奇虎科技有限公司 Mobile terminal system informing announcement information processing method, device and mobile terminal

Also Published As

Publication number Publication date
CN107707760A (en) 2018-02-16

Similar Documents

Publication Publication Date Title
CN109271121B (en) Application display method and mobile terminal
CN108491123B (en) Method for adjusting application program icon and mobile terminal
CN107707760B (en) Push notification processing method and mobile terminal
CN107734175B (en) Notification message prompting method and mobile terminal
CN110460907B (en) Video playing control method and terminal
CN109101147B (en) Message notification display method and terminal
CN107908382B (en) Split screen display method and mobile terminal
CN110209313B (en) Icon moving method and terminal equipment
CN111130989B (en) Information display and sending method and electronic equipment
CN108900695B (en) Display processing method, terminal equipment and computer readable storage medium
CN108881617B (en) Display switching method and mobile terminal
CN108762877B (en) Control method of mobile terminal interface and mobile terminal
CN108391008B (en) Message reminding method and mobile terminal
CN110012143B (en) Telephone receiver control method and terminal
CN109407948B (en) Interface display method and mobile terminal
CN111562896B (en) Screen projection method and electronic equipment
CN107734172B (en) Information display method and mobile terminal
CN109189303B (en) Text editing method and mobile terminal
CN108196781B (en) Interface display method and mobile terminal
CN111064654A (en) Message display method and electronic equipment
CN108270853B (en) Message processing method and mobile terminal
CN109101151B (en) Information display processing method and terminal equipment
CN109729301B (en) Message checking method and device
CN111061446A (en) Display method and electronic equipment
CN107908342B (en) Method for displaying message and mobile terminal

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