CN106293420B - Application prompt information display method and device - Google Patents
Application prompt information display method and device Download PDFInfo
- Publication number
- CN106293420B CN106293420B CN201610602148.1A CN201610602148A CN106293420B CN 106293420 B CN106293420 B CN 106293420B CN 201610602148 A CN201610602148 A CN 201610602148A CN 106293420 B CN106293420 B CN 106293420B
- Authority
- CN
- China
- Prior art keywords
- application
- priority
- electronic equipment
- prompt information
- weight
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses an application prompt information display method, which comprises the following steps: acquiring prompt information of an application installed on the electronic equipment; judging whether the electronic equipment is shaken or not according to an acceleration value output by an acceleration sensor of the electronic equipment; when the electronic equipment is shaken, sorting the prompt messages according to the priority weight preset by each application; and controlling the electronic equipment to display the sorted prompt information. The invention also discloses an application prompt information display device. The technical scheme provided by the invention aims to improve the convenience of the operation of the electronic equipment.
Description
Technical Field
The invention relates to the technical field of terminal information processing, in particular to an application prompt information display method and device.
Background
Along with the development of science and technology, more and more APP applications of electronic equipment are provided, each APP application can send prompt information to the electronic equipment at random, and the information can be displayed in a display module of the electronic equipment. Most of the existing electronic equipment sequences the received application prompting information according to the time sequence, and when a large amount of application prompting information is accumulated in a display module of the electronic equipment, a user needs to check and find interesting prompting information one by one, so that the operation is complex, and the use by the user is inconvenient.
Disclosure of Invention
The invention mainly aims to provide an application prompt information display method and device, aiming at improving the convenience of operation of electronic equipment.
In order to achieve the above object, the present invention provides an application prompt information display method, including the steps of:
acquiring prompt information of an application installed on the electronic equipment;
judging whether the electronic equipment is shaken or not according to an acceleration value output by an acceleration sensor of the electronic equipment;
when the electronic equipment is shaken, sorting the prompt messages according to the priority weight preset by each application;
and controlling the electronic equipment to display the sorted prompt information.
Preferably, the step of judging whether the electronic device is shaken or not according to an acceleration value output from an acceleration sensor of the electronic device includes:
acquiring acceleration values of the acceleration sensor every other first preset time;
obtaining an average value of the maximum value and the minimum value according to the obtained acceleration values every second time length, and sequentially extracting the acceleration values larger than the average value; the second duration is greater than the first duration;
and when the difference value of two adjacent acceleration values in the extracted acceleration values is larger than a preset value, judging that the electronic equipment is shaken.
Preferably, the type of the prompt message includes a picture type and a text type.
Preferably, when the type of the prompt message is a picture type, the step of sorting the prompt messages according to the application preset priority weights when the electronic device is shaken further includes:
when the electronic equipment is shaken, acquiring the priority weight of the application corresponding to the current prompt information and the definition weight of the picture;
calculating the priority of the current prompt message according to the priority weight and the definition weight of the picture;
and sequencing the current prompt information according to the priority.
Preferably, when the type of the prompt message is a text type, the step of sorting the prompt messages according to the priority weights preset by the applications when the electronic device is shaken further includes:
when the electronic equipment is shaken, acquiring the priority weight of the application corresponding to the current prompt information and the character length weight of the text;
calculating the priority of the current prompt message according to the priority weight and the character length weight of the text;
and sequencing the current prompt information according to the priority.
In addition, to achieve the above object, the present invention provides an application prompt information display apparatus, including:
the acquisition module is used for acquiring prompt information of an application installed on the electronic equipment;
the judging module is used for judging whether the electronic equipment is shaken or not according to an acceleration value output by an acceleration sensor of the electronic equipment;
the sorting module is used for sorting the prompt information according to the priority weight preset by each application when the electronic equipment is shaken;
and the display module is used for controlling the electronic equipment to display the sorted prompt information.
Preferably, the judging module includes:
the acquisition unit is used for acquiring the acceleration value of the acceleration sensor every other first preset time length;
the extraction unit is used for obtaining an average value of the maximum value and the minimum value according to the obtained acceleration values every second time length, and extracting the acceleration values larger than the average value in sequence; the second duration is greater than the first duration;
and the judging unit is used for judging that the electronic equipment is shaken when judging that the difference value of two adjacent acceleration values is larger than a preset value in the extracted acceleration values.
Preferably, the type of the prompt message includes a picture type and a text type.
Preferably, when the type of the prompt message is a picture type, the sorting module includes:
the first acquisition unit is used for acquiring the priority weight of the application corresponding to the current prompt information and the definition weight of the picture when the electronic equipment is shaken;
the first calculation unit is used for calculating the priority of the current prompt message according to the priority weight and the definition weight of the picture;
and the first sequencing unit is used for sequencing the current prompt information according to the priority.
Preferably, when the type of the prompt message is a text type, the sorting module includes:
the second acquisition unit is used for acquiring the priority weight of the application corresponding to the current prompt information and the character length weight of the text when the electronic equipment is shaken;
the second calculation unit is used for calculating the priority of the current prompt message according to the priority weight and the character length weight of the text;
and the second sequencing unit is used for sequencing the current prompt information according to the priority.
According to the technical scheme provided by the invention, after the prompt information of the application installed on the electronic equipment is acquired, whether the electronic equipment is shaken or not is judged according to the acceleration value output by the acceleration sensor of the electronic equipment; when the electronic equipment is shaken, sorting the prompt messages according to the priority preset by each application; and further controlling the electronic equipment to display the sorted prompt information. Through the priority sequencing of the application prompt messages, the prompt messages of common applications or the prompt messages of the applications appointed by a client can be preferentially displayed on the electronic equipment, so that the user does not need to read and search a large amount of prompt messages one by one, the use by the user is facilitated, and the intelligent degree of the electronic equipment is improved.
Drawings
FIG. 1 is a flowchart illustrating a first embodiment of a method for displaying application prompt information according to the present invention;
FIG. 2 is a flowchart illustrating a detailed process of determining whether an electronic device is shaken according to a second embodiment of the method for displaying prompt information of the present invention;
FIG. 3 is a detailed flowchart of the prompt information sorting step in the first embodiment of the prompt information display method according to the third embodiment of the present invention;
FIG. 4 is a detailed flowchart of the prompt information sorting step in the second embodiment of the prompt information display method according to the third embodiment of the present invention;
FIG. 5 is a functional block diagram of a first embodiment of an apparatus for displaying application prompt information according to the present invention;
FIG. 6 is a schematic diagram of a detailed functional module of a determination module in a second embodiment of an apparatus for displaying application prompt information according to the present invention;
FIG. 7 is a diagram illustrating a detailed functional block diagram of a sorting module in the first embodiment of the apparatus for displaying application prompt information according to the present invention;
fig. 8 is a schematic diagram of a detailed functional module of a sorting module in a second embodiment of a third embodiment of an application prompt information display apparatus according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The invention provides an application prompt information display method, and referring to fig. 1, in an embodiment, the application prompt information display method includes the following steps:
step S10: acquiring prompt information of an application installed on the electronic equipment;
in this embodiment, the prompt information of the application installed in the electronic device is obtained, that is, the information push technology is a technology that the server actively sends information to the client based on a client-server mechanism, so that the information actively searches for the client.
It is understood that, an electronic device will usually have a plurality of applications installed, and the electronic device will receive prompt information of the installed applications periodically or aperiodically to remind the user of the latest update, customization information, program upgrade, etc. of the applications, so as to increase the activity of the applications. In this embodiment, the electronic device may be an intelligent device such as a mobile phone and a tablet computer.
Step S20: judging whether the electronic equipment is shaken or not according to an acceleration value output by an acceleration sensor of the electronic equipment;
in particular, the acceleration sensor is a three-axis acceleration sensor, i.e. the acceleration values of the acceleration sensor comprise acceleration values in the X-axis, the Y-axis and the Z-axis. When at least one acceleration value of the X axis, the Y axis and the Z axis of the acceleration sensor changes, the acceleration value acquired in a specific time is effectively calculated and selected through a specific function algorithm so as to judge whether the electronic equipment is shaken or not.
It should be noted that the specific function algorithm may be one or a combination of several of various function algorithms for summing, differencing, integrating, and averaging acceleration values acquired within a specific time; the specific time comprises at least one specific time length, and in addition, the step can further comprise presetting and storing a specific acceleration value, wherein the specific acceleration value is used for being compared with the acceleration value obtained through the specific function algorithm to obtain an effective acceleration value, and the effective acceleration value is used for judging whether the electronic equipment is shaken or not.
Step S30: when the electronic equipment is shaken, sorting the prompt messages according to the priority weight preset by each application;
specifically, when the electronic device is judged to be shaken, the prompt messages are sorted according to the priority weight of each application preset by the electronic device. It can be understood that the priority may be determined by various methods, for example, the priority may be determined according to the size of the access amount, the length of the access time, the format size of the prompt message, and the like of each application, and the prompt message may be sorted by the priority preset by the above methods.
Step S40: and controlling the electronic equipment to display the sorted prompt information.
It can be understood that, existing electronic devices generally perform a unified management mechanism for pushing prompt information of each application, in which each application may delegate an information management system provided by an operating system of the electronic device to complete pushing of information. At this time, the prompt information pushed by each application, that is, the prompt information pushed by the operating system of each application requesting the electronic device to the user, is usually displayed on a specific display interface of the electronic device, so that the user can view and process the prompt information at the first time.
For example, in one embodiment, the specific display interface is a main interface of the electronic device (generally used to display system programs in the electronic device and icons of each installed application), and when receiving a pushed prompt message of an application, the prompt message is displayed on the main interface of the electronic device, so that a user can directly view and process the message.
In another embodiment, the specific display interface is a lock screen state interface (an interface displayed to a user before the screen is activated but the unlocking operation is performed) of the electronic device, and when a prompt message of a certain application is received, the prompt message can be displayed in the lock screen state interface of the electronic device. It can be understood that the prompt message displayed on the lock screen status interface is usually displayed in the form of a message summary list, and after the user performs an unlocking operation on the screen, the message can be directly displayed on the main interface of the electronic device, so that the user can conveniently view and process the message.
The application prompt information display method provided by the invention comprises the steps of judging whether the electronic equipment is shaken or not according to an acceleration value output by an acceleration sensor of the electronic equipment after obtaining prompt information of an application installed on the electronic equipment; when the electronic equipment is shaken, sorting the prompt messages according to the priority preset by each application; and further controlling the electronic equipment to display the sorted prompt information. Through the priority sequencing of the application prompt messages, the prompt messages of common applications or the prompt messages of the applications appointed by a client can be preferentially displayed on the electronic equipment, so that the user does not need to read and search a large amount of prompt messages one by one, the use by the user is facilitated, and the intelligent degree of the electronic equipment is improved.
Further, referring to fig. 2, based on the foregoing embodiment, in this embodiment, the foregoing step S20 includes:
step S21, acquiring the acceleration value of the acceleration sensor every other first preset time length;
step S22, obtaining an average value of the maximum value and the minimum value according to the obtained acceleration values every second time length, and sequentially extracting the acceleration values larger than the average value; the second duration is greater than the first duration;
and step S23, when the difference value of two adjacent acceleration values in the extracted acceleration values is judged to be larger than a preset value, the electronic equipment is judged to be shaken.
In this embodiment, the first preset time period is 100ms, that is, acceleration values of an X axis, a Y axis, and a Z axis of the acceleration sensor are obtained every 100ms, and are stored in the first storage area.
Specifically, an average value of a maximum value and a minimum value is obtained every second time according to the acceleration values stored in the first storage area, the acceleration values in the first storage area are compared with the average value, the acceleration values larger than the average value are sequentially extracted, and the acceleration values are stored in the second storage area.
It will be appreciated that the second duration is greater than the first duration, i.e. the second duration is greater than 100 ms.
In this embodiment, the preset value is 1 and is stored in the second storage area, the difference value between two adjacent acceleration values is sequentially extracted according to the acceleration values stored in the second storage area, and when it is determined that the difference value between two adjacent acceleration values is greater than 1 in the extracted acceleration values, it is determined that the electronic device is shaken; and when the difference value of two adjacent acceleration values is not larger than 1 in the extracted acceleration values, judging that the electronic equipment is not shaken.
It should be noted that the type of the prompt message may have various forms, such as a picture type or a text type, and specifically, the present embodiment will further describe different types of the prompt message through the following three implementation manners.
In the first embodiment, if the type of the prompt message is a picture type, please refer to fig. 3, step S30 includes:
step S311, when the electronic equipment is shaken, acquiring the priority weight of the application corresponding to the current prompt information and the definition weight of the picture;
step S312, calculating the priority of the current prompt message according to the priority weight and the definition weight of the picture;
and step 313, sorting the current prompt information according to the priority.
The priority weight may be obtained according to data such as the maximum access amount in each application installed in the electronic device or the maximum access time in each application. In this embodiment, the priority weight is obtained according to data with the largest access amount in each application installed in the electronic device, and the preference degree of the user for each application is determined according to the access record of the user, so as to set the priority level displayed by each application; i.e. the highest access by the application and the clearer picture. Specifically, the method comprises the following steps:
pic _ Resolution (x1) ═ 5// app 1, reminding a clear preview message for 4K pictures;
pic _ Resolution (x2) ═ 4// application 2, remind picture high definition preview message;
(ii) people with Touch _ Num (x1) of 5// application 1 and click rate over 1 hundred million;
weight _ Num (x1) ═ Pic _ Resolution (x1) × Touch _ Num (x1) ═ 5 ═ 25// apply 1, remind 4K pictures, automatically generate priority 25;
weight _ Num (x2) ═ Pic _ Resolution (x2) × Touch _ Num (x1) ═ 4 × 5 ═ 20// application 2, the high definition preview message automatically generates priority 20;
the picture prompt information of the application 1 is automatically and preferentially displayed.
In the second embodiment, the present embodiment is different from the first embodiment in that: when the type of the prompt information is a text type, please refer to fig. 4, the step S30 includes:
step S321, when the electronic device is shaken, acquiring a priority weight of an application corresponding to the current prompt information and a character length weight of a text;
step S322, calculating the priority of the current prompt message according to the priority weight and the character length weight of the text;
and step S323, sorting the current prompt information according to the priority.
It should be noted that the priority can be obtained according to data such as the access amount and the access time of each application cloud server character installed in the electronic device.
In this embodiment, the priority is obtained according to the data of the character access amount of each application cloud server, that is, the larger the access amount of the application is, the larger the weight is; the character length weight of the obtained text is determined in such a way that the longer the length of the obtained text characters is, the smaller the weight is; the priority level of each application, i.e., the priority ranking with a larger product, is judged by multiplying the priority weight set in the above manner by the character length weight of the acquired text. Specifically, the method comprises the following steps:
people with a click rate access rate of more than 1 hundred million, with Cloud _ Text _ Weight (x1) being 5// application 1;
person with click rate access rate of less than 5 million, while Cloud _ Text _ Weight (x2) is 4// application 2;
cloud _ Text _ left (x1) ═ 2// application 1, Text 1, character length exceeds 500;
cloud _ Text _ left (x2) ═ 3// application 2, Text 2, character length less than 200;
text _ Weight (x1) ═ Cloud _ Text _ left (x1) × Cloud _ Text _ Weight (x1) ═ 5 × 2 ═ 10// Text priority Weight of application 1: 10;
text _ Weight (x1) ═ Cloud _ Text _ left (x2) × Cloud _ Text _ Weight (x2) ═ 4 × 3 ═ 12// Text priority weights for application 2: 12;
the text prompt information of application 2 is automatically preferentially displayed.
In the third embodiment, the present embodiment is different from the first and second embodiments in that: the type of the prompt message comprises a picture type and a text type, and when the electronic equipment is shaken, the priority weight of the application corresponding to the current prompt message, the definition weight of the picture and the character length weight of the text are obtained; calculating the priority of the current prompt message according to the priority weight, the definition weight of the picture and the character length weight of the text; and sequencing the current prompt information according to the priority.
It should be noted that, in this embodiment, the methods provided in the first embodiment and the second embodiment are referred to for determining the priority weight, the sharpness weight of the picture, and the character length weight of the text, and are not repeated here.
Referring to fig. 5, in an embodiment, the application prompt information display apparatus provided by the present invention includes:
the acquisition module 10 is used for acquiring prompt information of an application installed on the electronic equipment;
the obtaining module 10 obtains the prompt information of the application installed on the electronic device, that is, an information pushing technology, which is a technology based on a client-server mechanism and is used by a server to actively send information to a client, so that the information is actively searched for the client.
It is understood that, an electronic device will usually have a plurality of applications installed, and the electronic device will receive push information of the installed applications periodically or aperiodically to remind a user of latest updates, customization information, program upgrades, and the like of the applications, so as to improve the liveness of the applications. In this embodiment, the electronic device may be an intelligent device such as a mobile phone and a tablet computer.
The judging module 20 is configured to judge whether the electronic device is shaken according to an acceleration value output by an acceleration sensor of the electronic device;
in particular, the acceleration sensor is a three-axis acceleration sensor, i.e. the acceleration values of the acceleration sensor comprise acceleration values in the X-axis, the Y-axis and the Z-axis. When at least one acceleration value of the X axis, the Y axis and the Z axis of the acceleration sensor changes, the acceleration value acquired in a specific time is effectively calculated and selected through a specific function algorithm so as to judge whether the electronic equipment is shaken or not.
It should be noted that the specific function algorithm may be one or a combination of several of various function algorithms for summing, differencing, integrating, and averaging acceleration values acquired within a specific time; the specific time comprises at least one specific time length, and in addition, the step can further comprise presetting and storing a specific acceleration value, wherein the specific acceleration value is used for being compared with the acceleration value obtained through the specific function algorithm to obtain an effective acceleration value, and the effective acceleration value is used for judging whether the electronic equipment is shaken or not.
The sorting module 30 is configured to sort the prompt messages according to a priority weight preset by each application when the electronic device is shaken;
specifically, when the electronic device is judged to be shaken, the prompt messages are sorted according to the priority of each application installed on the electronic device. It can be understood that the priority may be determined by a plurality of determination methods, for example, the determination method may be determined according to the size of the access amount, the length of the access time, the format size of the prompt message, and the like of each application, and the prompt message is further sorted by the priority preset by the above methods.
And the display module 40 is used for controlling the electronic equipment to display the sorted prompt information.
It can be understood that, existing electronic devices generally perform a unified management mechanism for information push of each application, in which each application may delegate an information management system provided by an operating system of the electronic device to complete information push. At this time, the information pushed by each application, that is, the information pushed by each application requesting the operating system of the electronic device to the user, is usually displayed on a specific display interface of the electronic device, so that the user can view and process the information in the first time.
For example, in one embodiment, the specific display interface is a main interface of the electronic device (generally used to display system programs in the electronic device and icons of each installed application), and when push information of a certain application is received, the push information is displayed on the main interface of the electronic device, so that the user can view and process the push information directly.
In another embodiment, the specific display interface is a lock screen state interface (an interface displayed to a user before the screen is activated but the unlocking operation is performed) of the electronic device, and when a push message of a certain application is received, the push message can be displayed in the lock screen state interface of the electronic device. It can be understood that the pushed information displayed on the screen locking state interface is usually displayed in the form of an information summary list, and after the user performs an unlocking operation on the screen, the information can be directly displayed on the main interface of the electronic device, so that the user can conveniently view and process the pushed information.
The application prompt information display device provided by the invention judges whether the electronic equipment is shaken or not according to the acceleration value output by the acceleration sensor of the electronic equipment after acquiring the prompt information of the application installed on the electronic equipment; when the electronic equipment is shaken, sorting the prompt messages according to the priority preset by each application; and further controlling the electronic equipment to display the sorted prompt information. Through the priority sequencing of the application prompt messages, the prompt messages of common applications or the prompt messages of the applications appointed by a client can be preferentially displayed on the electronic equipment, so that the user does not need to read and search a large amount of prompt messages one by one, the use by the user is facilitated, and the intelligent degree of the electronic equipment is improved.
Further, referring to fig. 6, based on the foregoing embodiment, in this embodiment, the determining module of the application prompting information display device includes:
the acquiring unit 21 is used for acquiring the acceleration value of the acceleration sensor every other first preset time length;
the extracting unit 22 is configured to obtain an average value of the maximum value and the minimum value according to the obtained acceleration values every second time period, and sequentially extract acceleration values larger than the average value; the second duration is greater than the first duration;
and the judging unit 23 is used for judging that the electronic equipment is shaken when the difference value of two adjacent acceleration values in the extracted acceleration values is judged to be larger than a preset value.
In this embodiment, the first preset time period is 100ms, that is, acceleration values of an X axis, a Y axis, and a Z axis of the acceleration sensor are obtained every 100ms, and are stored in the first storage area.
Specifically, an average value of a maximum value and a minimum value is obtained every second time according to the acceleration values stored in the first storage area, the acceleration values in the first storage area are compared with the average value, the acceleration values larger than the average value are sequentially extracted, and the acceleration values are stored in the second storage area.
It will be appreciated that the second duration is greater than the first duration, i.e. the second duration is greater than 100 ms.
In this embodiment, the preset value is 1 and is stored in the second storage area, the difference value between two adjacent acceleration values is sequentially extracted according to the acceleration values stored in the second storage area, and when it is determined that the difference value between two adjacent acceleration values is greater than 1 in the extracted acceleration values, it is determined that the electronic device is shaken; and when the difference value of two adjacent acceleration values is not larger than 1 in the extracted acceleration values, judging that the electronic equipment is not shaken.
It should be noted that the type of the prompt message may have various forms, such as a picture type or a text type, and specifically, the present embodiment will further describe different types of the prompt message through the following two implementation manners.
In the first embodiment, when the type of the prompt message is a picture type, referring to fig. 7, the sorting module 30 includes:
a first obtaining unit 311, configured to obtain, when the electronic device is shaken, a priority weight of an application corresponding to the current prompt information and a sharpness weight of a picture;
a first calculating unit 312, configured to calculate a priority of the current prompt information according to the priority weight and a sharpness weight of the picture;
and the first sequencing unit 313 is used for sequencing the current prompt information according to the priority.
The priority weight may be obtained according to data such as the maximum access amount in each application installed in the electronic device or the maximum access time in each application. In this embodiment, the priority weight is obtained according to data with the largest access amount in each application installed in the electronic device, and the preference degree of the user for each application is determined according to the access record of the user, so as to set the priority level displayed by each application; i.e. the highest access by the application and the clearer picture. Specifically, the method comprises the following steps:
pic _ Resolution (x1) ═ 5// app 1, reminding a clear preview message for 4K pictures;
pic _ Resolution (x2) ═ 4// application 2, remind picture high definition preview message;
(ii) people with Touch _ Num (x1) of 5// application 1 and click rate over 1 hundred million;
weight _ Num (x1) ═ Pic _ Resolution (x1) × Touch _ Num (x1) ═ 5 ═ 25// apply 1, remind 4K pictures, automatically generate priority 25;
weight _ Num (x2) ═ Pic _ Resolution (x2) × Touch _ Num (x1) ═ 4 × 5 ═ 20// application 2, the high definition preview message automatically generates priority 20;
the picture prompt information of the application 1 is automatically and preferentially displayed.
In the second embodiment, the present embodiment is different from the first embodiment in that: referring to fig. 8, when the type of the prompt message is a text type, the sorting module 30 includes:
a second obtaining unit 321, configured to obtain, when the electronic device is shaken, a priority weight of an application corresponding to the current prompt information and a character length weight of the text;
a second calculating unit 322, configured to calculate a priority of the current prompt information according to the priority weight and a character length weight of a text;
and a second sorting unit 323, configured to perform sorting processing on the current prompt information according to the priority.
It should be noted that the priority can be obtained according to data such as the access amount and the access time of each application cloud server character installed in the electronic device.
In this embodiment, the priority is obtained according to the data of the character access amount of each application cloud server, that is, the larger the access amount of the application is, the larger the weight is; the character length weight of the obtained text is determined in such a way that the longer the length of the obtained text characters is, the smaller the weight is; the priority level of each application, i.e., the priority ranking with a larger product, is judged by multiplying the priority weight set in the above manner by the character length weight of the acquired text. Specifically, the method comprises the following steps:
people with a click rate access rate of more than 1 hundred million, with Cloud _ Text _ Weight (x1) being 5// application 1;
person with click rate access rate of less than 5 million, while Cloud _ Text _ Weight (x2) is 4// application 2;
cloud _ Text _ left (x1) ═ 2// application 1, Text 1, character length exceeds 500;
cloud _ Text _ left (x2) ═ 3// application 2, Text 2, character length less than 200;
text _ Weight (x1) ═ Cloud _ Text _ left (x1) × Cloud _ Text _ Weight (x1) ═ 5 × 2 ═ 10// Text priority Weight of application 1: 10;
text _ Weight (x1) ═ Cloud _ Text _ left (x2) × Cloud _ Text _ Weight (x2) ═ 4 × 3 ═ 12// Text priority weights for application 2: 12;
the text prompt information of application 2 is automatically preferentially displayed.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (8)
1. An application prompt information display method is characterized by comprising the following steps:
acquiring prompt information of an application installed on the electronic equipment;
judging whether the electronic equipment is shaken or not according to an acceleration value output by an acceleration sensor of the electronic equipment;
when the electronic equipment is shaken, sorting the prompt messages according to the priority weight preset by each application;
controlling the electronic equipment to display the sorted prompt information, wherein the type of the prompt information comprises a picture type;
when the electronic device is shaken, the step of sorting the prompt messages according to the priority weights preset by the applications comprises the following steps:
when the electronic equipment is shaken, acquiring the priority weight of the application corresponding to the current prompt information and the definition weight of the picture;
calculating the priority of the current prompt message according to the priority weight and the definition weight of the picture;
and sequencing the current prompt information according to the priority.
2. The application prompting information display method according to claim 1, wherein the step of judging whether the electronic device is shaken or not based on an acceleration value output from an acceleration sensor of the electronic device includes:
acquiring acceleration values of the acceleration sensor every other first preset time;
obtaining an average value of the maximum value and the minimum value according to the obtained acceleration values every second time length, and sequentially extracting the acceleration values larger than the average value; the second time length is greater than the first preset time length;
and when the difference value of two adjacent acceleration values in the extracted acceleration values is larger than a preset value, judging that the electronic equipment is shaken.
3. The application hint information display method of claim 2 wherein the types of hints information further comprise text types.
4. The method for displaying application prompt information according to claim 3, wherein when the type of the prompt information is a text type, the step of sorting the prompt information according to the priority weight preset by each application when the electronic device is shaken further comprises:
when the electronic equipment is shaken, acquiring the priority weight of the application corresponding to the current prompt information and the character length weight of the text;
calculating the priority of the current prompt message according to the priority weight and the character length weight of the text;
and sequencing the current prompt information according to the priority.
5. An application presentation information display device, characterized by comprising:
the acquisition module is used for acquiring prompt information of an application installed on the electronic equipment;
the judging module is used for judging whether the electronic equipment is shaken or not according to an acceleration value output by an acceleration sensor of the electronic equipment;
the sorting module is used for sorting the prompt information according to the priority weight preset by each application when the electronic equipment is shaken;
the display module is used for controlling the electronic equipment to display the sorted prompt information, and the type of the prompt information comprises a picture type;
wherein the sorting module comprises:
the first acquisition unit is used for acquiring the priority weight of the application corresponding to the current prompt information and the definition weight of the picture when the electronic equipment is shaken;
the first calculation unit is used for calculating the priority of the current prompt message according to the priority weight and the definition weight of the picture;
and the first sequencing unit is used for sequencing the current prompt information according to the priority.
6. The application prompting information display device of claim 5, wherein the judging module comprises:
the acquisition unit is used for acquiring the acceleration value of the acceleration sensor every other first preset time length;
the extraction unit is used for obtaining an average value of the maximum value and the minimum value according to the obtained acceleration values every second preset time length, and sequentially extracting the acceleration values larger than the average value; the second preset time length is longer than the first preset time length;
and the judging unit is used for judging that the electronic equipment is shaken when judging that the difference value of two adjacent acceleration values is larger than a preset value in the extracted acceleration values.
7. The application hint information display device of claim 6 wherein the types of hints information further comprise text types.
8. The application hint information display device of claim 7, wherein when the type of hint information is a text type, the ranking module comprises:
the second acquisition unit is used for acquiring the priority weight of the application corresponding to the current prompt information and the character length weight of the text when the electronic equipment is shaken;
the second calculation unit is used for calculating the priority of the current prompt message according to the priority weight and the character length weight of the text;
and the second sequencing unit is used for sequencing the current prompt information according to the priority.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610602148.1A CN106293420B (en) | 2016-07-27 | 2016-07-27 | Application prompt information display method and device |
PCT/CN2016/095910 WO2018018680A1 (en) | 2016-07-27 | 2016-08-18 | Display method and apparatus for application prompt information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610602148.1A CN106293420B (en) | 2016-07-27 | 2016-07-27 | Application prompt information display method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106293420A CN106293420A (en) | 2017-01-04 |
CN106293420B true CN106293420B (en) | 2019-12-27 |
Family
ID=57662740
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610602148.1A Active CN106293420B (en) | 2016-07-27 | 2016-07-27 | Application prompt information display method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106293420B (en) |
WO (1) | WO2018018680A1 (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107247539A (en) * | 2017-06-16 | 2017-10-13 | 珠海市魅族科技有限公司 | A kind of information displaying method and device, computer installation and readable storage medium storing program for executing |
CN108390997A (en) * | 2018-01-26 | 2018-08-10 | 维沃移动通信有限公司 | A kind of display methods and mobile terminal of unread message |
CN108877732A (en) * | 2018-06-29 | 2018-11-23 | 厦门直播星电子科技有限公司 | A kind of method for realizing that screen shows jitter compensation on motion carrier |
CN113159838A (en) * | 2021-04-09 | 2021-07-23 | 上海掌门科技有限公司 | Method, apparatus, medium, and program product for pushing target presentation information |
CN117193682B (en) * | 2022-05-31 | 2024-05-03 | 广州星际悦动股份有限公司 | Display control method, display control device, storage medium and oral care system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102968247A (en) * | 2012-11-29 | 2013-03-13 | 广东欧珀移动通信有限公司 | Method and mobile terminal for realizing automatic alignment and sorting of desktop icons by shaking |
CN103678406A (en) * | 2012-09-24 | 2014-03-26 | 腾讯科技(深圳)有限公司 | Method for sorting browser bookmarks and mobile terminal |
CN104765853A (en) * | 2015-04-20 | 2015-07-08 | 无锡天脉聚源传媒科技有限公司 | Search processing method and device |
CN104764491A (en) * | 2015-04-08 | 2015-07-08 | 深圳市康康网络技术有限公司 | Equipment use state recognizing method and electronic equipment |
CN105228116A (en) * | 2015-10-27 | 2016-01-06 | 努比亚技术有限公司 | A kind of intelligent prompt device, method and mobile terminal distinguishing information priorities |
CN105511727A (en) * | 2015-12-14 | 2016-04-20 | 魅族科技(中国)有限公司 | Message processing method and device |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8707201B1 (en) * | 2012-06-27 | 2014-04-22 | Google Inc. | Systems and methods for prioritizing notifications on mobile devices |
KR101457632B1 (en) * | 2012-12-20 | 2014-11-10 | 주식회사 팬택 | Mobile electronic device having program notification function and program notification method thereof |
CN103118168B (en) * | 2012-12-26 | 2017-06-20 | 魅族科技(中国)有限公司 | The display control method and terminal of a kind of unprocessed information |
CN104572942A (en) * | 2014-12-30 | 2015-04-29 | 小米科技有限责任公司 | Push message display method and push message display device |
CN104503884B (en) * | 2014-12-30 | 2018-10-16 | 中科创达软件股份有限公司 | A kind of reminding method and system of untreated message |
CN105763952A (en) * | 2016-01-29 | 2016-07-13 | 浪潮软件集团有限公司 | Information prompting method and device |
-
2016
- 2016-07-27 CN CN201610602148.1A patent/CN106293420B/en active Active
- 2016-08-18 WO PCT/CN2016/095910 patent/WO2018018680A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103678406A (en) * | 2012-09-24 | 2014-03-26 | 腾讯科技(深圳)有限公司 | Method for sorting browser bookmarks and mobile terminal |
CN102968247A (en) * | 2012-11-29 | 2013-03-13 | 广东欧珀移动通信有限公司 | Method and mobile terminal for realizing automatic alignment and sorting of desktop icons by shaking |
CN104764491A (en) * | 2015-04-08 | 2015-07-08 | 深圳市康康网络技术有限公司 | Equipment use state recognizing method and electronic equipment |
CN104765853A (en) * | 2015-04-20 | 2015-07-08 | 无锡天脉聚源传媒科技有限公司 | Search processing method and device |
CN105228116A (en) * | 2015-10-27 | 2016-01-06 | 努比亚技术有限公司 | A kind of intelligent prompt device, method and mobile terminal distinguishing information priorities |
CN105511727A (en) * | 2015-12-14 | 2016-04-20 | 魅族科技(中国)有限公司 | Message processing method and device |
Also Published As
Publication number | Publication date |
---|---|
CN106293420A (en) | 2017-01-04 |
WO2018018680A1 (en) | 2018-02-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106293420B (en) | Application prompt information display method and device | |
US20140373178A1 (en) | Method, Apparatus and Server for User Verification | |
CN111770351B (en) | Live broadcast message display method and device | |
JP2016521391A (en) | Contextual local image recognition dataset | |
CN111901896A (en) | Information sharing method, information sharing device, electronic equipment and storage medium | |
CN103414765B (en) | Method, device and system for shunting information in graphic code | |
CN107992429B (en) | Memory object reference relation determining method and device | |
CN107908561B (en) | Virtual reality software performance test method and system | |
EP2972952A1 (en) | Real world analytics visualization | |
CN111182156B (en) | Application prompt message processing method and device on mobile terminal | |
CN111400132A (en) | Automatic monitoring method and system for on-shelf APP | |
CN111651106A (en) | Unread message prompting method, unread message prompting device, unread message prompting equipment and readable storage medium | |
CN111665945A (en) | Tour information display method and device | |
CN113157214B (en) | Remote sensing image display method, device, equipment and storage medium | |
CN112241502A (en) | Page loading detection method and device | |
JP2020098409A (en) | Image processing apparatus, image processing method, and image processing program | |
CN112044061B (en) | Game picture processing method and device, electronic equipment and storage medium | |
CN106998476B (en) | Video viewing method and device based on geographic information system | |
CN106970942B (en) | Method and terminal for actively defending yellow-related content | |
CN112333537A (en) | Video integration method and device and computer readable storage medium | |
CN109889614B (en) | Information pushing method and device | |
CN112348077A (en) | Image recognition method, device, equipment and computer readable storage medium | |
CN111639977A (en) | Information pushing method and device, computer equipment and storage medium | |
CN110163657B (en) | Insurance product recommendation method and related equipment based on manifold learning algorithm | |
CN109675312B (en) | Game item list display method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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 |