IP Library › Granted Patent US 10,965,636
Granted Patent B2
US 10,965,636 · App. 16/463,557 · Granted Mar 30, 2021

Message processing method and apparatus

Inventors: Chenglu Wang (Shenzhen, CN); Haitao Zhu (Shanghai, CN); Yan Tang (Shanghai, CN)
Assignee: Huawei Technologies Co., Ltd.
H04L51/26H04L51/046H04L51/10H04L51/16H04L51/24
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,965,636
App. No.
16/463,557
Granted
Mar 30, 2021
Kind
B2
Abstract

A message processing method and apparatus The method includes determining an importance level of each application on a terminal according to a historical use feature of the respective application, determining a notification manner of a notification message of each application according to the importance level for the respective application, and displaying, when receiving a notification message, the notification message according to the notification manner corresponding to the application to which the notification message belongs.

Claims (74)

1. A method, comprising:

determining, by a terminal for each application on the terminal, an importance level of the respective application according to a historical use feature of the respective application, wherein the historical use feature of the respective application comprises a respective use duration, and determining an importance level of the respective application comprises;

sorting applications on the terminal according to the respective use duration of each application on the terminal;

dividing the applications into N first type sets in descending order of the respective use duration of each application on the terminal, wherein N is a positive integer greater than 1, and wherein serial numbers of the N first type sets are 1 to N;|

sequentially sifting out, from the first type set, identical applications that correspond to each serial number, and, for each serial number, forming an importance level set corresponding to the respective serial number, wherein a smaller serial number of a corresponding importance level set indicates a higher importance level of any applications in the corresponding importance level set;

determining, by the terminal for each application on the terminal, a notification manner of a notification message of the respective application according to the importance level of the respective application; and

in response to receiving a first notification message, displaying the first notification message according to the notification manner corresponding to the application to which the first notification message belongs.

2. The method according to claim 1 , further comprising:

determining, by the terminal for each application on the terminal, a notification time period of the respective application according to an online time or an application type of the respective application.

3. The method according to claim 2 , wherein displaying the first notification message according to the notification manner corresponding to the application to which the first notification message belongs comprises:

determining, in response to receiving the first notification message, whether a current moment is in the notification time period of the application to which the notification message belongs;

in response to determining that the current moment is in the notification time period of the application to which the notification message belongs, displaying the first notification message according to the notification manner corresponding to the application to which the notification message belongs; and

in response to determining that the current moment is not in the notification time period of the application to which the first notification message belongs, temporarily storing the first notification message, and displaying, when the current moment reaches the notification time period of the application to which the first notification message belongs, the first notification message according to the notification manner corresponding to the application to which the first notification message belongs.

4. The method according to claim 2 , wherein the respective historical use feature of each application on the terminal further comprises a respective quantity of times the corresponding application has been started or a quantity of application download times of the corresponding application; and

wherein determining, by the terminal for each application on the terminal, the importance level of the respective application according to the historical use feature of the respective application further comprises:

sorting the applications on the terminal according to the respective quantity of times the corresponding application has been started of each application of the terminal, and dividing the applications into N second type sets in descending order of the respective quantity of times the corresponding application has been started of each application of the terminal, wherein serial numbers of the N second type sets are 1 to N; and

sorting the applications according to the respective quantity of application download times of the corresponding application of each application of the terminal, and dividing the applications into N third type sets in descending order of the respective quantity of application download times of the corresponding application of each application of the terminal, wherein serial numbers of the N third type sets are 1 to N;

wherein sequentially shift out identical applications that correspond to each serial number further comprises sequentially sifting out, from the first type set, the second type set, and the third type set, identical applications that correspond to each serial number, and, for each serial number, forming an importance level set corresponding to the respective serial number, wherein a smaller serial number of a corresponding importance level set indicates a higher importance level of any applications in the corresponding importance level set.

5. The method according to claim 4 , wherein sequentially sifting out the identical applications from the first type set, the second type set, and the third type set that correspond to each serial number, and, for each serial number, forming the respective importance level set corresponding to the respective serial number comprises:

using, each time an identical application is sifted out from the first type set, the second type set, and the third type set that corresponds to one serial number, the identical application in the first type set, the second type set, and the third type set that correspond to a current serial number as an importance level set corresponding to the current serial number; and

respectively adding applications that are not sifted out from the first type set, the second type set, and the third type set that correspond to the current serial number to the first type set, the second type set, and the third type set that correspond to a next serial number.

6. The method according to claim 1 , further comprising:

after, by a terminal for each application on the terminal, the respective importance level of the respective application, receiving a change instruction entered by a user; and

changing, based on the change instruction, an importance level of a first application on the terminal that corresponds to the change instruction to a first importance level, wherein the first importance level is specified in the change instruction.

7. An apparatus, comprising a computer including a non-transitory computer-readable medium storing a program to be executed by the computer, the program including instructions for:

determining, for each application on the apparatus, an importance level the respective application according to a historical use feature of the respective application, wherein the historical use feature of the respective application comprises a respective use duration, and the instructions for determining an importance level of the respective application comprises instructions for;

sorting applications on the apparatus according to the respective use duration of each application on the apparatus;

dividing the applications into N first type sets in descending order of the respective use duration of each application on the apparatus, wherein N is a positive integer greater than 1, and wherein serial numbers of the N first type sets are 1 to N;|

sequentially sifting out, from the first type set, identical applications that correspond to each serial number, and, for each serial number, forming an importance level set corresponding to the respective serial number, wherein a smaller serial number of a corresponding importance level set indicates a higher importance level of any applications in the corresponding importance level set;

determining, for each application on the apparatus, a notification manner of a notification message of the respective application according to the importance level of the respective application; and

in response to receiving a first notification message, displaying the first notification message according to the notification manner corresponding to the application to which the first notification message belongs.

8. The apparatus according to claim 7 , wherein the program further includes instructions for:

determining, for each application on the apparatus a notification time period of the respective application according to an online time or an application type of the respective application.

9. The apparatus according to claim 8 , wherein the instructions for displaying the first notification message according to the notification manner corresponding to the application to which the first notification message belongs comprise instructions for:

determining, in response to receiving the first notification message, whether a current moment is in the notification time period of the application to which the first notification message belongs;

in response to determining that the current moment is in the notification time period of the application to which the first notification message belongs, displaying the first notification message according to the notification manner corresponding to the application to which the first notification message belongs; and

in response to determining that the current moment is not in the notification time period of the application to which the first notification message belongs, temporarily storing the first notification message, and displaying, when the current moment reaches the notification time period of the application to which the first notification message belongs, the notification message according to the notification manner corresponding to the application to which the first notification message belongs.

10. The apparatus according to claim 8 , wherein the respective historical use feature of each application on the apparatus further comprises a quantity of times the respective application has been started or a quantity of application download times of the corresponding application;

wherein the instructions for determining, for each application on the apparatus, the importance level of the respective application according to the historical use feature of the respective application, further comprise instructions for:

sorting the applications on the apparatus according to the respective quantity of times the corresponding application has been started of each application on the apparatus, and dividing the applications on the apparatus into N second type sets in descending order of the respective quantity of times the corresponding application has been started of each application on the apparatus, wherein serial numbers of the N second type sets are 1 to N; and

sorting the applications according to the respective quantity of application download times of the corresponding application of each application on the apparatus, and dividing the applications into N third type sets in descending order of the respective quantity of application download times of the corresponding application of each application on the apparatus, wherein serial numbers of the N third type sets are 1 to N;

wherein sequentially shift out identical applications that correspond to each serial number further comprises sequentially sifting out, from the first type set, the second type set, and the third type set, identical applications that correspond to each serial number, and, for each serial number, forming an importance level set corresponding to the respective serial number, wherein a smaller serial number of a corresponding importance level set indicates a higher importance level of any applications in the corresponding importance level set.

11. The apparatus according to claim 10 , wherein the instructions for sequentially sifting out the identical applications from the first type set, the second type set, and the third type set that correspond to each serial number, and, for each serial number, forming the respective importance level set corresponding to the respective serial number comprise instructions for:

using, each time an identical application is sifted out from the first type set, the second type set, and the third type set that correspond to one serial number, the identical application in the first type set, the second type set, and the third type set that corresponds to a current serial number as an importance level set corresponding to the current serial number; and

respectively adding applications that are not sifted out from the first type set, the second type set, and the third type set that correspond to the current serial number to the first type set, the second type set, and the third type set that correspond to a next serial number.

12. The apparatus according to claim 7 , wherein the program further includes instructions for;

receiving a change instruction entered by a user; and

changing, based on the change instruction, an importance level of an application that corresponds to the change instruction to a first importance level, wherein the first importance level is specified in the change instruction.

13. A apparatus comprising:

a display;

a processor; and

a non-transitory computer-readable storage medium storing a program to be executed by the processor, the program including instructions to:

determine, for each application on the apparatus, an importance level of the respective application on the apparatus according to a historical use feature of the respective application, wherein the historical use feature of the respective application comprises a respective use duration, and the instructions for determining an importance level of the respective application comprises instructions to;

sort applications on the apparatus according to the respective use duration of each application on the apparatus;

divide the applications into N first type sets in descending order of the respective use duration of each application on the apparatus, wherein N is a positive integer greater than 1, and wherein serial numbers of the N first type sets are 1 to N;|

sequentially sift out, from the first type set, identical applications that correspond to each serial number, and, for each serial number, forming an importance level set corresponding to the respective serial number, wherein a smaller serial number of a corresponding importance level set indicates a higher importance level of any applications in the corresponding importance level set;

determine, for each application on the apparatus, a notification manner of a notification message of the respective application based on the importance level of the respective application; and

control the display, in response to receiving a first notification message, to display the first notification message according to the notification manner corresponding to the application to which the first notification message belongs.

14. The apparatus according to claim 13 , wherein the instructions to determine, for each application on the apparatus, the importance level of the respective application include instructions to determine, for each application on the apparatus, a notification time period of the respective application according to an online time or an application type of the respective application.

15. The apparatus according to claim 14 , wherein the instructions to control the display, in response to receiving the first notification message, to display the first notification message include instructions to:

determine, in response to receiving the first notification message, whether a current moment is in the notification time period of the application to which the first notification message belongs;

in response to determining that the current moment is in the notification time period of the application to which the first notification message belongs, control the display to display the first notification message according to the notification manner corresponding to the application to which the first notification message belongs; and

in response to determining that the current moment is not in the notification time period of the application to which the first notification message belongs, temporarily store the first notification message, and control, when the current moment reaches the notification time period of the application to which the first notification message belongs, the display to display the first notification message according to the notification manner corresponding to the application to which the first notification message belongs.

16. The apparatus according to claim 14 , wherein the respective historical use feature of each application on the apparatus further comprises a respective quantity of times the corresponding application has been started or a respective quantity of application download times of the corresponding application; and

wherein instructions to determine, for each application on the apparatus, the importance level of the respective application further include instructions to:

sort the applications according to the respective quantity of times the corresponding application has been started of each application on the apparatus, and divide the applications into N second type sets in descending order of the respective quantity of times the corresponding application has been started of each application on the apparatus, wherein serial numbers of the N second type sets are 1 to N; and

sort the applications according to the respective quantity of application download times of the corresponding application of each application on the apparatus, and divide the applications into N third type sets in descending order of the respective quantity of application download times of the corresponding application of each application on the apparatus, wherein serial numbers of the N third type sets are 1 to N;

wherein sequentially shift out identical applications that correspond to each serial number further comprises sequentially sift out from the first type set, the second type set, and the third type set, identical applications that correspond to each serial number, and, for each serial number, form an importance level set corresponding to the respective serial number, wherein a smaller serial number of the corresponding importance level set indicates a higher importance level of the application in the corresponding importance level set.

17. The apparatus according to claim 16 , wherein the instructions to determine, for each application on the apparatus, the importance level of the respective application include instructions to:

use, each time an identical application is sifted out from the first type set, the second type set, and the third type set that correspond to one serial number, the identical application in the first type set, the second type set, and the third type set that correspond to a current serial number as the importance level set corresponding to the current serial number; and

respectively add applications that are not sifted out from the first type set, the second type set, and the third type set that correspond to the current serial number to the first type set, the second type set, and the third type set that correspond to a next serial number.

18. The apparatus according to claim 13 , wherein the program further includes instructions for:

receiving a change instruction entered by a user; and

changing, according to the change instruction, the importance level of an application that corresponds to the change instruction to a first importance level, wherein the first importance level is specified in the change instruction.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 19, 2019
From: WANG, CHENGLU; ZHU, HAITAO; TANG, YAN
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 051049/0518 →
Priority Claims (1)
CN 201611057261.2 · Nov 26, 2016 · national
Continuity (1)
Related Publication 20190379627A1 · Dec 12, 2019