CN108848261B - Display method, device, storage medium and terminal of notification information in notification bar - Google Patents

Display method, device, storage medium and terminal of notification information in notification bar Download PDF

Info

Publication number
CN108848261B
CN108848261B CN201810577415.3A CN201810577415A CN108848261B CN 108848261 B CN108848261 B CN 108848261B CN 201810577415 A CN201810577415 A CN 201810577415A CN 108848261 B CN108848261 B CN 108848261B
Authority
CN
China
Prior art keywords
notification information
application
parameter
notification
priority
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
CN201810577415.3A
Other languages
Chinese (zh)
Other versions
CN108848261A (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.)
Alibaba China Co Ltd
Original Assignee
Alibaba China 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 Alibaba China Co Ltd filed Critical Alibaba China Co Ltd
Priority to CN201810577415.3A priority Critical patent/CN108848261B/en
Publication of CN108848261A publication Critical patent/CN108848261A/en
Application granted granted Critical
Publication of CN108848261B publication Critical patent/CN108848261B/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/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides a display method of notification information in a notification bar, which comprises the following steps: receiving notification information created by an application, wherein the notification information carries a priority order parameter; adding the notification information into a notification information list of a notification bar; updating the ordering of the notification information in the notification information list according to the priority parameter; and displaying the notification information in a notification bar according to the sequence of the notification information in the notification information list. The technical scheme can realize the adjustment of the sequence of the notification information created by the application in the notification information list of the notification bar, and further adjust the position displayed on the display area of the screen notification bar. The invention also provides a device, a storage medium and a terminal.

Description

Display method, device, storage medium and terminal of notification information in notification bar
Technical Field
The invention relates to the technical field of computers, in particular to a method and a device for displaying notification information in a notification bar, a storage medium and a terminal.
Background
With the universality of the terminal and the diversity of applications, the notification bar arranged on the system on the terminal can receive the notification information pushed by various applications and is displayed on the notification bar area of the terminal, so that a user can know more notification information pushed by the applications in time.
In the prior art, since the screen size of the terminal limits the number of notification information that can be displayed in a notification bar area at a time, a user needs to trigger a slide-down operation on the notification bar to see more notification information. However, it is generally difficult for the user to know that there is still other notification information after the slide-down, or the user may easily ignore the notification information that can be seen after the slide-down, and some notification information pushed by the application is missed. This not only makes it difficult for the user to obtain the notification information of the partial application push, but also causes the exposure rate of the notification information of the partial application push to be too low.
Disclosure of Invention
The invention provides a display method, a display device, a storage medium and a terminal of notification information in a notification bar, which are used for solving at least one problem.
In a first aspect, the present invention provides a method for displaying notification information in a notification bar, including the steps of:
receiving notification information created by an application, wherein the notification information carries a priority order parameter;
adding the notification information into a notification information list of a notification bar;
updating the ordering of the notification information in the notification information list according to the priority parameter;
and displaying the notification information in a notification bar according to the sequence of the notification information in the notification information list.
With reference to the first aspect, in a first implementation manner of the first aspect, the prioritization parameter is set to a maximum value.
With reference to the first aspect, in a second implementation manner of the first aspect, the receiving notification information created by an application, where the notification information carries a priority parameter, includes the following steps:
receiving notification information created by an application, wherein the notification information carries parameters related to terminal attributes, and the terminal attributes comprise system versions;
when the system version is in a first preset range, the notification information carries a priority order parameter for subsequently updating the sequence of the notification information list and a time parameter with the display time set as the minimum value;
when the system version is within a second preset range, the notification information carries a priority parameter for subsequently updating the ordering of the notification information list, a vibration parameter with vibration time set as a minimum value, and/or a ring parameter with ring time set as a minimum value.
With reference to the first aspect, in a third implementation manner of the first aspect, before the receiving notification information created by an application, the method further includes:
the application identifies whether other running applications are matched with preset applications;
if not, setting the priority order parameter as a maximum value;
if yes, setting the priority parameter to be a second large value;
the application creates the notification information according to the prioritization parameters.
With reference to the first aspect, in a fourth implementation manner of the first aspect, before the receiving notification information created by an application, the method further includes:
the application identifies whether other running applications are matched with preset applications;
if not, setting the priority order parameter as a maximum value;
if yes, acquiring user operation records of other applications and the user operation record of the application, of which the matching value is greater than a preset threshold value within a preset time period, and determining user operation frequency according to the user operation records; judging whether the user operation frequency of the other applications is greater than the user operation frequency of the application, if so, setting the priority parameter to be a second maximum value, otherwise, setting the priority parameter to be a maximum value;
the application creates the notification information according to the prioritization parameters.
With reference to the first aspect, in a fifth implementation manner of the first aspect, before the receiving notification information created by the application, the method further includes:
the application identifies a matching value of the application and other running applications;
if the matching value is smaller than a preset threshold value, setting the priority order parameter as a maximum value;
if the matching value is larger than a preset threshold value, setting the priority order parameter as a second large value;
the application creates the notification information according to the prioritization parameters.
With reference to the first aspect, in a sixth implementation manner of the first aspect, before the receiving notification information created by the application, the method further includes:
the application generates the notification information, determines the importance level of the notification information, and sets the priority order parameter according to the importance level;
the application creates the notification information according to the prioritization parameters.
In a second aspect, the present invention provides a display device for notification information in a notification bar, including the following modules:
the receiving module is used for receiving notification information created by an application, and the notification information carries a priority order parameter;
the adding module is used for adding the notification information into a notification information list of a notification bar;
the updating module is used for updating the ordering of the notification information in the notification information list according to the priority parameter;
and the display module is used for displaying the notification information in the notification bar according to the notification information list.
In a third aspect, the present invention provides a computer-readable storage medium on which a computer program is stored, the computer program, when executed by a processor, implementing the method for displaying notification information in a notification bar according to the first aspect.
In a fourth aspect, the present invention provides a terminal, comprising: one or more processors; a memory; one or more computer programs, stored in the memory; the one or more computer programs, when executed by the one or more processors, implement a method of displaying notification information in a notification bar as described in the first aspect.
Different from the prior art, the technical scheme provided by the invention has the following advantages:
(1) in the method, the device, the storage medium and the terminal for displaying the notification information in the notification bar, which are provided by the invention, the application is provided with the priority parameter when creating the notification information, the notification information is added into the notification information list of the notification bar when receiving the notification information created by the application, and the ordering of the notification information in the notification information list is updated according to the priority parameter. Wherein the priority parameter set by the application when creating the notification information belongs to a key parameter that affects the notification information list ordering of the notification bar. The invention realizes the adjustment of the sequence of the notification information created by the application in the notification information list of the notification bar by setting the priority parameter influencing the sequence of the notification information in the notification information list of the notification bar when the application creates the notification information, thereby adjusting the position displayed on the display area of the screen notification bar.
(2) In the method, the device, the storage medium and the terminal for displaying the notification information in the notification bar, the priority parameter carried by the notification information created by the application is set to be the maximum value, when the notification information in the notification information list of the notification bar is sequenced, the priority parameter carried by the notification information is set to be the maximum value, the priority is higher, and when no other parameter influences the priority of the notification information sequencing in the notification information list of the notification bar, the notification information created by the application is sequenced at the first position of the notification information list of the notification bar and is displayed at the forefront of the screen notification bar area. The method and the device effectively improve the sequencing of the notification information created by the application in the notification information list of the notification bar, and effectively improve the exposure rate of the notification information created by the application, so that a user can more easily know the notification information pushed by the application. Furthermore, in the present invention, the parameters carried by the notification information carry different parameters for different versions of the system, and when the application is installed on a terminal using different system versions, the application effectively adapts to the different system versions to perform corresponding optimization, so that the notification information created by the application is better ordered in the notification information list of the notification bar in different usage scenarios, and further, the display position on the display area of the screen notification bar is better.
Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a flow chart of a first method according to a first embodiment of the present invention;
FIG. 2 is a flow chart of a first method according to a second embodiment of the present invention;
FIG. 3 is a flow chart of a second method according to a second embodiment of the present invention;
FIG. 4 is a flow chart of a third method according to a second embodiment of the present invention;
FIG. 5 is a flow chart of a fourth method according to a second embodiment of the present invention;
FIG. 6 is a first block diagram of a third embodiment of the present invention;
FIG. 7 is a second block diagram of a third embodiment of the present invention;
FIG. 8 is a block diagram of a third module of the third embodiment of the present invention;
FIG. 9 is a block diagram of a fourth module of the third embodiment of the present invention;
FIG. 10 is a block diagram of a fifth module of the third embodiment of the present invention;
fig. 11 is a block diagram of a terminal according to a fifth embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative only and should not be construed as limiting the invention.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
As will be understood by those skilled in the art, a "terminal" as used herein includes both devices that include a wireless signal receiver, which are devices having only a wireless signal receiver without transmit capability, and devices that include receive and transmit hardware, which have devices capable of performing two-way communication over a two-way communication link. Such a device may include: a cellular or other communication device having a single line display or a multi-line display or a cellular or other communication device without a multi-line display; PCS (Personal Communications Service), which may combine voice, data processing, facsimile and/or data Communications capabilities; a PDA (Personal Digital Assistant), which may include a radio frequency receiver, a pager, internet/intranet access, a web browser, a notepad, a calendar and/or a GPS (Global Positioning System) receiver; a conventional laptop and/or palmtop computer or other device having and/or including a radio frequency receiver. As used herein, a "terminal" or "terminal device" may be portable, transportable, installed in a vehicle (aeronautical, maritime, and/or land-based), or situated and/or configured to operate locally and/or in a distributed fashion at any other location(s) on earth and/or in space. As used herein, the "terminal Device" may also be a communication terminal, a web terminal, a music/video playing terminal, such as a PDA, an MID (Mobile Internet Device) and/or a Mobile phone with music/video playing function, or a smart tv, a set-top box, etc.
As will be appreciated by those skilled in the art, a remote network device, as used herein, includes, but is not limited to, a computer, a network host, a single network server, a collection of multiple network servers, or a cloud of multiple servers. Here, the Cloud is composed of a large number of computers or network servers based on Cloud Computing (Cloud Computing), which is a kind of distributed Computing, a super virtual computer composed of a group of loosely coupled computer sets. In the embodiment of the present invention, the communication between the remote network device, the terminal device and the WNS server may be implemented by any communication method, including but not limited to, mobile communication based on 3GPP, LTE, and WIMAX, computer network communication based on TCP/IP and UDP protocols, and short-distance wireless transmission based on bluetooth and infrared transmission standards.
Wherein the following partial word explanations are given in relation to the invention:
the application comprises the following steps: is an application program loaded on a terminal of an operating system.
A notification bar: the system notification bar is one of common functions when a user uses the terminal. When an application installed in a terminal creates a notification message, it sends the notification message to a notification bar and displays it in a notification bar display area of a terminal screen. The notification bar forms a notification information list after receiving the notification information and sorts the notification information according to related parameters.
The following describes in detail specific embodiments of a method, an apparatus, a storage medium, and a terminal for displaying notification information in a notification bar according to the present invention with reference to the accompanying drawings. The exemplary embodiments and descriptions of the present invention are provided to explain the present invention and not to limit the present invention.
Example one
With reference to fig. 1, an embodiment of the present invention provides a method for displaying notification information in a notification bar, including the following steps:
s11, receiving notification information created by the application, wherein the notification information carries a priority order parameter;
in the embodiment of the present invention, when the application creates the notification information, a parameter for subsequently updating the ordering of the notification information list is set, and after the creation is completed, the application sends the notification information carrying the priority parameter to an operating system of the terminal device (in the embodiment of the present invention, the operating system is an android system, which is described below), and at this time, the system receives the notification information carrying the priority parameter.
The priority order parameter is one of corresponding parameters set by the application when the notification information is created, and the priority order parameter is acted on the sorting process of the notification information list of the subsequent system notification bar. Specifically, the priority parameter is related to the priority of the notification information in the notification information list, and indicates the importance of the notification information in the program, and if the system receives the notification information sent by a plurality of applications, the system decides which application's notification information can be ranked in the notification list of the notification bar according to the priority parameter. Preferably, it can be set by setpreference in notificationcomportat. Preferably, the application sets the prioritization parameter to a maximum value, i.e. to PRIORITY _ MAX in setPriority.
S12 adding the notification information into a notification information list of a notification bar;
specifically, after receiving the notification information sent by the application, the system adds the notification information to a notification information list of a notification bar, and stores the priority order parameters carried by the notification information. The notification information list added to the notification bar is to put the notification information into a notification information pool of the current notification bar of the system, and the notification information list of the system notification bar comprises all the notification information in the notification information pool. When the user processes the notification information A displayed in the system notification bar, the system discharges the notification information A in the notification information pool, and the notification information A is not included in the notification information list of the current notification bar of the system.
The notification information pool of the system notification bar may be empty, and at this time, the system will join the notification information pool when receiving the notification information sent by the application, and at this time, the notification information is only notification information in a notification information list of the system notification bar on the same day.
The notification information list of the current notification bar of the system may include N pieces of notification information, and at this time, if the system receives one piece of notification information sent by the application, the system will join the notification information pool, where the notification information pool includes N +1 pieces of notification information, and the notification information list of the current notification bar of the system includes N +1 pieces of notification information.
S13, updating the ordering of the notification information in the notification information list according to the priority parameter;
and after the system adds the notification information into a notification information pool, updating the ordering of the notification information in the notification information list according to the parameters carried by each notification information. Because the notification information sent by the application creation carries the priority parameter, the system sorts the notification information according to the priority parameter, and updates the sorting of all notification information included in the notification information list.
S14 displays the notification information in the notification bar according to the order of the notification information in the notification information list.
When the system sequences all notification information included in the notification information pool of the current notification bar, and updates the notification information list, the notification information is displayed through the display area of the terminal notification bar. In the embodiment of the present invention, the step S14 of displaying notification information in the notification bar includes various situations, such as displaying all notification information included in the current notification information list, or displaying notification information created by the current application. When finally displayed on the notification bar of the terminal screen, the notification information is displayed in sequence according to the sequence of the notification information in the notification information list.
Examples of the invention are illustrated below with reference to table 1:
Figure 770925DEST_PATH_IMAGE001
TABLE 1
As can be seen from table 1, the notification information a created by the application carries the priority parameter Xa, and when the terminal system receives the notification information a created by the application, the notification information a is added to the notification information pool, and the priority parameter Xa carried by the notification information a is stored. At this time, since new notification information is added into the notification information pool, the terminal system will update the ordering of the notification information in the notification information list, and in the ordering process, the ordering of the notification information a in the notification information list will be determined by the priority parameter Xa carried by the notification information a. Preferably, the priority parameter Xa is the maximum value in the embodiment of the present invention, as shown in table 1, when the notification information b to n created by other applications has no corresponding priority parameter or the value of the priority parameter is smaller than the priority parameter Xa, the notification information a will be ranked first in the notification information list, and the notification information a will be displayed first in order in the display area of the subsequent terminal notification bar.
Further, in the embodiment of the present invention, the parameters carried by the notification information are associated with the terminal attribute. That is, when creating the notification information, the application sets the carried parameters according to the terminal attributes. Wherein the terminal attribute comprises a system version. The system versions include an Android system 4.1, an Android system 5.0, an Android system 8.0 and the like, and different versions included in the Android system are not described herein, but other suitable Android system versions are understood to be within the scope included in the embodiments of the present invention. In order to adapt to more reference parameters of different system versions in the notification information list sorting of the system notification bar, the parameters set when the notification information is created are different in the embodiment of the invention.
When the system version is in a first preset range, the notification information carries a priority order parameter for subsequently updating the sequence of the notification information list and a time parameter with the display time set as the minimum value;
that is, when the system version is within the first preset range, the parameters include a priority parameter and a time parameter. The time parameter corresponds to the presentation time, and when the presentation time is set to 0 (i.e., the minimum value), the system determines the notification information corresponding to the time parameter to be the latest notification information, and when the notification information list is sorted, sorts the notification information in the first place. Preferably, the priority parameter is a maximum value, and the time parameter is a minimum value; the system version is more than 4.1 of the current system and less than 5.0 of the current system in a first preset range. The following is illustrated in conjunction with table 2 below:
Figure 634976DEST_PATH_IMAGE002
TABLE 2
When the system version is within the first preset range, the notification information a created by the application carries a priority parameter Xa and a time parameter Ya. And after the terminal system receives the notification information a created by the application, adding the notification information a into a notification information pool, and storing the priority parameter Xa and the time parameter Ya carried by the notification information a. At this time, since new notification information is added to the notification information pool, the terminal system updates the ranking of the notification information in the notification information list, and in the ranking process, the ranking of the notification information a in the notification information list is determined through the priority parameter Xa and the time parameter Ya carried by the notification information a. Preferably, the prioritization parameter Xa is a maximum value in the embodiment of the present invention, and the time parameter Ya is a minimum value in the embodiment of the present invention. As shown in table 2, when the notification information b to n created by other applications does not have corresponding priority parameter or time parameter, or the value of the priority parameter is smaller than the priority parameter Xa and the value of the time parameter is greater than the time parameter Ya, the notification information a will be ranked first in the notification information list, and in the display area of the subsequent terminal notification bar, the notification information a will be displayed ranked first. In the embodiment of the present invention, when the current version of the terminal system is within the first preset range, the influence of the time parameter on the priority of the ranking is greater than the priority parameter, which is exemplified by combining the following table 3:
Figure 714927DEST_PATH_IMAGE003
TABLE 3
With reference to table 3, it can be seen that the priority parameter Xa corresponding to the notification information a of the application a and the time parameter Ya corresponding to the notification information a of the application a are obtained; and applying a priority parameter Xb corresponding to the notification information b of the b and a corresponding time parameter Yb. When the parameters carried by the notification information comprise a priority parameter and a time parameter, the time parameter is prioritized in the notification information list of the system notification bar with respect to the ordering of the notification information, and when the time parameter does not exist or cannot be adopted for ordering, the notification information is ordered according to the priority parameter; or taking the priority order parameter and the time parameter as parallel items to be sorted.
In the embodiment of the present invention, when the system version is within the first preset range, it is preferable to set the presentation time of the time parameter to 0, and at this time, the current presentation time may be set to 0 by setWhen of notificationcomplet.
When the system version is within a second preset range, the notification information carries a priority parameter for subsequently updating the ordering of the notification information list, a vibration parameter with vibration time set as a minimum value, and/or a ring parameter with ring time set as a minimum value.
That is, when the system version is within the second preset range, the parameters include a priority order parameter and a vibration parameter, a priority order parameter and a ringtone parameter, or a priority order parameter and a vibration parameter and a ringtone parameter. The vibration parameter corresponds to vibration time, and when the vibration time is set to be 0 (namely, the minimum value), a vibration mode is started by default but a vibration effect cannot be generated; the ring parameter corresponds to a ring time, and when the ring time is set to 0 (i.e., a minimum value), a ring mode is turned on by default, but a ring effect is not generated. Preferably, in the embodiment of the present invention, the system version is within a second preset range, where the current system is an Android system 8.0 or more. At this time, the ordering logic of the system source codes to the notification information in the notification information list of the notification bar is different from that of other versions of systems, so that when the notification information created by the application is not provided with a notification ring or a vibration reminder, the ordering priority is affected. When the vibration parameters and/or the ring parameters are set, the system notification bar can improve the priority of the notification information carrying the parameters when the notification information is sequenced. Preferably, the priority parameter is a maximum value, the vibration parameter is a minimum value, and the ring parameter is a minimum value; the following is illustrated in conjunction with table 4 below:
Figure 616018DEST_PATH_IMAGE004
TABLE 4
When the system version is within the second preset range, the notification information c created by the application carries the priority order parameter Xc and the vibration parameter Zc. And after the terminal system receives the notification information c created by the application, adding the notification information c into a notification information pool, and storing the priority parameter Xc and the vibration parameter Zc carried by the notification information c. At this time, since new notification information is added into the notification information pool, the terminal system updates the ranking of the notification information in the notification information list, and in the ranking process, the ranking of the notification information c in the notification information list is determined by the priority number parameter Xc and the vibration parameter Zc carried by the notification information c. Preferably, the prioritization parameter Xc is a maximum value in the present embodiment, and the shock parameter Zc is a minimum value in the present embodiment. As shown in table 4, when the notification information d to n created by other applications does not have corresponding priority parameter or vibration parameter, or the value of the priority parameter is smaller than the priority parameter Xc and the value of the vibration parameter is greater than the vibration parameter Zc, the notification information c is sorted first in the notification information list, and the notification information c is sorted first in the display area of the subsequent terminal notification bar. In the embodiment of the present invention, when the current version of the terminal system is within the second preset range, the influence of the vibration parameter on the priority of the sorting is greater than the priority parameter, which is illustrated in combination with the following table 5:
Figure 148631DEST_PATH_IMAGE005
TABLE 5
With reference to table 5, it can be seen that the notification information c of the application c corresponds to the priority parameter Xc and the corresponding vibration parameter Zc; and applying the priority parameter Xd corresponding to the notification information d of the d and the corresponding vibration parameter Zd. When the parameters carried by the notification information comprise a priority order parameter and a vibration parameter, the vibration parameter is prioritized in the notification information list of the system notification bar with respect to the ordering of the notification information, and when the vibration parameter does not exist or cannot be adopted for ordering, the notification information is ordered according to the priority order parameter. Otherwise, the ring parameters are consistent with the example described in table 5 above and will not be described here.
In the embodiment of the present invention, when the system version is within the second preset range, it is preferable to set the vibration time to 0, and at this time, the current mode may be set to message vibration by setVibrate of notifiationcomplet. Preferably, the ring time is set to 0, at this time, the current mode may be set to the ring mode through setSound of notifiationcomplet.
Example two
With reference to fig. 2, different from the first embodiment, the method for displaying notification information in a notification bar according to the first embodiment of the present invention further includes, before receiving notification information created by an application, the steps of:
the S21 application identifies whether the other running applications match the preset application;
if not, S22 setting the priority parameter as the maximum value;
if S23 is true, setting the priority parameter to a second maximum value;
the S24 application creates the notification information according to the prioritization parameters.
Specifically, the application identifies whether the other running applications are matched with the preset applications, that is, the application matches the other currently running applications currently acquired in the system with the preset applications in the preset application list of the application, and identifies whether the other currently running applications are matched with the preset applications. Wherein the preset application list further comprises an ordering for the preset applications.
For example, if the application is QQ, applications of the same source, such as QQ, royal glory, absolutely required for life, etc., are covered in the preset application list. Assuming that the other application being run at this time is WeChat, the other application being run matches the preset application.
Further, if the preset application list comprises the sequence, the sequence is WeChat, Royal of King, QQ and absolute survival. At this time, it is determined whether other running applications are in the applications included in the preset application list, and if so, it is further determined whether the other running applications are prioritized over the current application in the preset application list. Assuming that the other application being run at this time is WeChat, the other application being run matches the preset application (WeChat is included in the preset application list and sorted in the preset application list prior to QQ).
In the embodiment of the present invention, the notification information created by other running applications carries the priority parameter as the maximum value. Setting the priority parameter to the second largest value means that the value corresponding to the priority parameter is next to the largest value, and if the priority parameter includes 101 values from 0 to 100, the largest value is 100, and the second largest value is 99.
Further, with reference to fig. 3, different from the above embodiment, before the receiving notification information created by the application, the embodiment of the present invention further includes the steps of:
the S31 application identifies whether the other running applications match the preset application;
if not, S32 setting the priority parameter as the maximum value;
s33, if yes, obtaining user operation records of other applications and user operation records of the application, wherein the matching value is larger than a preset threshold value in a preset time period, and determining user operation frequency according to the user operation records; judging whether the user operation frequency of the other applications is greater than the user operation frequency of the application, if so, setting the priority parameter to be a second maximum value, otherwise, setting the priority parameter to be a maximum value;
the S34 application creates the notification information according to the prioritization parameters.
Unlike the above steps S21, S22, S23, S24, in the embodiment of the present invention, when the application identifies that the running other application matches the preset application, the priority parameter is also set according to the user operation record within the preset time period. By combining the above example, it is currently determined that the WeChat of the other application matches the preset application, at this time, the application will obtain the user operation records of the WeChat and the QQ within the preset time period, and determine the user operation frequency according to the user operation records. If the user operation frequency of the QQ is greater than the WeChat, that is, the user operation frequency of the other application is less than the application, the priority order parameter set by the application when creating the notification information is the maximum value.
Further, different from the above embodiment, the embodiment of the present invention further includes, before the receiving the notification information created by the application, the steps of:
the application identifies whether other running applications are matched with preset applications;
if yes, setting the priority order parameter as a maximum value;
if not, acquiring user operation records of other applications and the user operation record of the application, of which the matching value is greater than a preset threshold value within a preset time period, and determining the user operation frequency according to the user operation records; determining the grade of the user operation frequency of the application relative to the user operation frequencies of other users according to the user operation frequencies of the other applications; setting the priority parameter according to the grade;
the application creates the notification information according to the prioritization parameters.
Unlike the above steps S21, S22, S23, and S24, in the embodiment of the present invention, when the application identifies that the other running applications match the preset application, the priority parameter is further set according to the level corresponding to the user operation frequency determined by the user operation record in the preset time period. By combining the above example, it is currently determined that the WeChat of the other application is matched with the preset application, at this time, the application acquires the user operation records of the WeChat and the QQ within the preset time period, and determines the user operation frequency and determines the corresponding level according to the user operation records. If the user operation frequency corresponding level of the QQ is higher than the WeChat level at this time, that is, the user operation frequency corresponding level of the other application is lower than that of the present application, the priority order parameter set by the present application when creating the notification information is the maximum value at this time.
Further, with reference to fig. 4, different from the above embodiment, before the receiving notification information created by the application, the embodiment of the present invention further includes the steps of:
the S41 application identifies the matching value of the application and other running applications;
s42, if the matching value is smaller than a preset threshold value, setting the priority order parameter as a maximum value;
s43, if the matching value is larger than the preset threshold value, setting the priority parameter as a second big value;
the S44 application creates the notification information according to the prioritization parameters.
The step S41 of identifying the matching value between the application and the other running applications includes the following steps:
determining a matching rule according to the application information;
and determining a matching value of the application for identifying the application and other running applications according to the matching rule.
Wherein, according to the application information, the matching rule is determined to set weight according to each item of information included in the application information, and set with 1 or 0 as a weight coefficient. Specifically, when an application creates notification information, first, a matching value of the application with other applications currently running on the terminal system is identified. Wherein the matching value is determined by a matching rule determined according to the application information. The application information includes source identification information, security information, and the like. Wherein the preset threshold is a fixed preset value, such as 0.7. If the source identification information and the security information in the application information are adopted to determine the matching rule, assuming that the weight of the source identification information is 0.6 and the weight of the security information is 0.4, then X =0.6 × 1+0.4 × 2; wherein X represents a matching value, X1 represents whether the source of the application is the same as that of other applications, and X2 represents whether the safety coefficient of the application is greater than that of other applications; the formula X =0.6 × 1+0.4 × 2 characterizes the matching rule.
For example, the following steps are carried out: suppose that the application A is QQ and the other application B which is running at the current terminal system is WeChat. Since the source identification information of the WeChat QQ is flight information, X1=1, if the WeChat is registered in the abnormal terminal by the other application B, the safety system of the QQ is larger than the WeChat, that is, the safety system of the application A is larger than the other application B, X2=1, the matching value X =0.6 +0.4 + 1=1, and the application sets the priority parameter to the second largest value when creating the notification information because 1>0.7, that is, the matching value is larger than the preset threshold value. The embodiment provided in this step is advantageous in that when the applications are supplied by the same source, such as the QQ and the wechat, the priority of the notification information created by the wechat is preferably higher than the priority of the notification information created by the QQ.
Further, before the receiving the notification information created by the application, the method further includes the steps of:
the application identifies a matching value of the application and other running applications;
if the matching value is smaller than a preset threshold value, setting the priority order parameter as a maximum value;
if the matching value is larger than a preset threshold value, acquiring user operation records of other applications and the user operation record of the application, of which the matching value is larger than the preset threshold value, in a preset time period, and determining user operation frequency according to the user operation records; judging whether the user operation frequency of the other applications is greater than the user operation frequency of the application, if so, setting the priority parameter to be a second maximum value, otherwise, setting the priority parameter to be a maximum value;
the application creates the notification information according to the prioritization parameters.
Unlike the above steps S41, S42, S43, and S44, in the embodiment of the present invention, when the matching value is determined to be greater than the preset threshold, the priority parameter is further set according to the user operation record within the preset time period. By combining the above example, it is currently determined that the matching value of the application QQ and other application wechat is greater than the preset threshold, at this time, the application will obtain the user operation records of the wechat and the QQ within the preset time period, and determine the user operation frequency according to the user operation records. If the user operation frequency of the QQ is greater than the WeChat, that is, the user operation frequency of the other application B is less than that of the application a, the priority order parameter set by the application when creating the notification information is the maximum value.
Further, before the receiving the notification information created by the application, the method further comprises the steps of:
the application identifies a matching value of the application and other running applications;
if the matching value is smaller than a preset threshold value, setting the priority order parameter as a maximum value;
if the matching value is larger than a preset threshold value, acquiring user operation records of other applications and the user operation record of the application, of which the matching value is larger than the preset threshold value, in a preset time period, and determining user operation frequency according to the user operation records; determining the grade of the user operation frequency of the application relative to the user operation frequencies of other users according to the user operation frequencies of the other applications; setting the priority parameter according to the grade;
the application creates the notification information according to the prioritization parameters.
Unlike the above steps S41, S42, S43, and S44, in the embodiment of the present invention, when the matching value is determined to be greater than the preset threshold, the priority parameter is further set according to the level of the user operation frequency corresponding to the user operation record in the preset time period. By combining the above example, it is currently determined that the matching value of the application QQ and other application WeChat is greater than the preset threshold, at this time, the application will obtain the user operation records of WeChat and QQ within the preset time period, determine the user operation frequency according to the user operation records, and determine the level corresponding to the user operation frequency at the same time. If the level corresponding to the user operation frequency of the QQ is higher than the WeChat level at the moment, namely the level corresponding to the user operation frequency of the other application B is lower than that of the application A, the priority order parameter set by the application during the creation of the notification information is the maximum value at the moment; if the level corresponding to the user operation frequency of the QQ is lower than the WeChat, that is, the level corresponding to the user operation frequency of the other application B is higher than that of the application a, the priority parameter set by the application a when creating the notification information is determined with reference to the priority parameter set by the other application B, for example, the priority parameter set by the other application B is the maximum value at this time, and the priority parameter set by the application a when creating the notification information is the second maximum value.
Further, in conjunction with fig. 5, before the receiving the notification information created by the application, the method further includes the steps of:
s51 application generates the notification information, determines the importance level of the notification information, and sets the priority parameter according to the importance level;
the S52 application creates the notification information according to the prioritization parameters.
The importance level is determined according to the content of the notification information, and the content of the notification information comprises an upgraded application version, contact information and the like. Wherein the importance level of the contact information is higher than the upgrade application version. For example, the notification information generated by the current application is an upgraded application version, and since the importance level of the notification information is low, the priority parameter is not set to the maximum value when the application creates the notification information, and may be set to the second largest value. The priority order parameter is set according to the importance level of the notification information, so that the frequency of displaying the notification information with lower importance level at the main position (such as the first position) of the display area of the notification bar of the terminal is reduced, and the aversion degree of a user to the notification information pushed by the application is reduced; the frequency of displaying the notification information with higher importance level in the main position (such as the first position) of the display area of the terminal notification bar is effectively improved, the exposure rate of the notification information with higher importance level of the application is improved, and the user's good sensitivity to the application is improved.
EXAMPLE III
In order to further explain the display method of the notification information in the notification bar in the first and second embodiments, the display device of the notification information in the notification bar is provided with the following modules:
a receiving module 61, configured to receive notification information created by an application, where the notification information carries a priority parameter;
an adding module 62, configured to add the notification information to a notification information list of a notification bar;
an updating module 63, configured to update the ordering of the notification information in the notification information list according to the priority parameter;
and the display module 64 is used for displaying the notification information in the notification bar according to the sequence of the notification information in the notification information list.
Preferably, the prioritization parameter is set to a maximum value.
Further, the receiving module 61 is further configured to:
receiving notification information created by an application, wherein the notification information carries parameters related to terminal attributes, and the terminal attributes comprise system versions;
when the system version is in a first preset range, the notification information carries a priority order parameter for subsequently updating the sequence of the notification information list and a time parameter with the display time set as the minimum value;
when the system version is within a second preset range, the notification information carries a priority parameter for subsequently updating the ordering of the notification information list, a vibration parameter with vibration time set as a minimum value, and/or a ring parameter with ring time set as a minimum value.
With reference to fig. 7, the embodiment of the present invention further includes the following modules:
a first identification module 71, configured to identify, by the application, whether the other running applications match the preset application;
a first setting module 72, configured to set the priority parameter to a maximum value if no; if yes, setting the priority parameter to be a second large value;
a first creating module 73, configured to apply creation of the notification information according to the prioritization parameter.
With reference to fig. 8, the embodiment of the present invention further includes the following modules:
a second identification module 81, configured to identify whether other running applications match a preset application;
a second setting module 82, configured to set the priority parameter to a maximum value if no; if yes, acquiring user operation records of other applications and the user operation record of the application, of which the matching value is greater than a preset threshold value within a preset time period, and determining user operation frequency according to the user operation records; judging whether the user operation frequency of the other applications is greater than the user operation frequency of the application, if so, setting the priority parameter to be a second maximum value, otherwise, setting the priority parameter to be a maximum value;
further, the second setting module 82 is further configured to, if not, obtain user operation records of other applications and user operation records of the application, where the matching value is greater than the preset threshold value in a preset time period, and determine a user operation frequency according to the user operation records; determining the grade of the user operation frequency of the application relative to the user operation frequencies of other users according to the user operation frequencies of the other applications; setting the priority parameter according to the grade;
a second creating module 83, configured to create the notification information according to the priority parameter by the application.
With reference to fig. 9, the embodiment of the present invention further includes the following modules:
a third identifying module 91, configured to identify, by the application, a matching value of the application with another running application;
a third setting module 92, configured to set the priority parameter to a maximum value if the matching value is smaller than a preset threshold; if the matching value is larger than a preset threshold value, acquiring user operation records of other applications and the user operation record of the application, of which the matching value is larger than the preset threshold value, in a preset time period, and determining user operation frequency according to the user operation records; determining the grade of the user operation frequency of the application relative to the user operation frequencies of other users according to the user operation frequencies of the other applications; setting the priority parameter according to the grade;
further, the third setting module 92 is further configured to, if the matching value is greater than a preset threshold, obtain user operation records of other applications and a user operation record of the application, where the matching value is greater than the preset threshold in a preset time period, and determine a user operation frequency according to the user operation records; judging whether the user operation frequency of the other applications is greater than the user operation frequency of the application, if so, setting the priority parameter to be a second maximum value, otherwise, setting the priority parameter to be a maximum value;
furthermore, the third setting module 92 is further configured to, if the matching value is greater than a preset threshold, obtain user operation records of other applications and a user operation record of the application, where the matching value is greater than the preset threshold, within a preset time period, and determine a user operation frequency according to the user operation records; determining the grade of the user operation frequency of the application relative to the user operation frequencies of other users according to the user operation frequencies of the other applications; setting the priority parameter according to the grade;
a third creating module 93, configured to create the notification information according to the priority parameter by the application.
With reference to fig. 10, the embodiment of the present invention further includes the following modules:
a fourth setting module 101, configured to generate the notification information, determine an importance level of the notification information, and set the priority parameter according to the importance level;
a fourth creating module 102, configured to create the notification information according to the priority parameter by the application.
Example four
In this embodiment, the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for displaying notification information in the notification bar according to the first and second embodiments. The storage medium includes, but is not limited to, any type of disk including floppy disks, hard disks, optical disks, CD-ROMs, and magneto-optical disks, ROMs (Read-Only memories), RAMs (Random AcceSS memories), EPROMs (EraSable Programmable Read-Only memories), EEPROMs (Electrically EraSable Programmable Read-Only memories), flash memories, magnetic cards, or optical cards. That is, a storage medium includes any medium that stores or transmits information in a form readable by a device (e.g., a computer). Which may be a read-only memory, magnetic or optical disk, or the like.
EXAMPLE five
With reference to fig. 11, in this embodiment, the present invention further provides a terminal, where the terminal includes:
one or more processors; a memory; one or more computer programs, stored in the memory; the one or more computer programs, when executed by the one or more processors, implement the method for displaying notification information in the notification bar according to embodiments one and two.
As shown in fig. 11, for convenience of illustration, only the portion related to the embodiment of the present invention is shown, and the detailed technical details are not disclosed, please refer to the method portion of the embodiment of the present invention. The terminal may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, etc., taking the terminal as the mobile phone as an example:
fig. 11 is a block diagram showing a partial structure of a cellular phone related to a terminal provided by an embodiment of the present invention. Referring to fig. 11, the cellular phone includes: radio Frequency (RF) circuitry 1510, memory 1520, input unit 1530, display unit 1540, sensor 1550, audio circuitry 1560, wireless fidelity (Wi-Fi) module 1570, processor 1580, and power supply 1590. Those skilled in the art will appreciate that the handset configuration shown in fig. 11 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile phone in detail with reference to fig. 11:
the RF circuit 1510 may be configured to receive and transmit signals during information transmission and reception or during a call, and in particular, receive downlink information of a base station and then process the received downlink information to the processor 1580; in addition, the data for designing uplink is transmitted to the base station. In general, RF circuit 1510 includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, RF circuit 1510 may also communicate with networks and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
The memory 1520 may be used to store software programs and modules, and the processor 1580 performs various functional applications and data processing of the cellular phone by operating the software programs and modules stored in the memory 1520. The memory 1520 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the mobile phone, and the like. Further, the memory 1520 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 input unit 1530 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. Specifically, the input unit 1530 may include a touch panel 1531 and other input devices 1532. The touch panel 1531, also referred to as a touch screen, can collect touch operations of a user (e.g., operations of the user on or near the touch panel 1531 using any suitable object or accessory such as a finger or a stylus) and drive corresponding connection devices according to a preset program. Alternatively, the touch panel 1531 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, and sends the touch point coordinates to the processor 1580, and can receive and execute commands sent by the processor 1580. In addition, the touch panel 1531 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 1530 may include other input devices 1532 in addition to the touch panel 1531. In particular, other input devices 1532 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 1540 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. The Display unit 1540 may include a Display panel 1541, and optionally, the Display panel 1541 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch panel 1531 may cover the display panel 1541, and when the touch panel 1531 detects a touch operation on or near the touch panel 1531, the touch operation is transmitted to the processor 1580 to determine the type of the touch event, and then the processor 1580 provides a corresponding visual output on the display panel 1541 according to the type of the touch event. Although in fig. 11, the touch panel 1531 and the display panel 1541 are two separate components to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 1531 and the display panel 1541 may be integrated to implement the input and output functions of the mobile phone.
The handset can also include at least one sensor 1550, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 1541 according to the brightness of ambient light and a proximity sensor that turns off the display panel 1541 and/or the backlight when the mobile phone 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), can detect the magnitude and direction of gravity when the mobile phone is stationary, can be used for applications of recognizing the gesture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and tapping) and the like, and can also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor and the like, which are not described herein again.
Audio circuitry 1560, speaker 1561, and microphone 1562 may provide an audio interface between a user and a cell phone. The audio circuit 1560 may transmit the electrical signal converted from the received audio data to the speaker 1561, and convert the electrical signal into a voiceprint signal by the speaker 1561 and output the voiceprint signal; on the other hand, the microphone 1562 converts the collected voiceprint signals to electrical signals, which are received by the audio circuit 1560 and converted to audio data, which are processed by the audio data output processor 1580 and passed through the RF circuit 1510 for transmission to, for example, another cell phone, or for output to the memory 1520 for further processing.
Wi-Fi belongs to short-distance wireless transmission technology, and a mobile phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through a Wi-Fi module 1570, and provides wireless broadband internet access for the user. Although fig. 11 shows a Wi-Fi module 1570, it is understood that it does not belong to the essential constitution of the handset and can be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 1580 is a control center of the mobile phone, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 1520 and calling data stored in the memory 1520, thereby integrally monitoring the mobile phone. Optionally, the processor 1580 may include one or more processing units; preferably, the processor 1580 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, and the like, and a modem processor, which mainly handles wireless communications. It is to be appreciated that the modem processor may not be integrated into the processor 1580.
The handset also includes a power supply 1590 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 1580 via a power management system to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown, the mobile phone may further include a camera, a bluetooth module, etc., which are not described herein.
In this embodiment of the present invention, the processor 1080 included in the terminal has a function of executing the display method of the notification information in the notification bar in the first and second embodiments, which is not described herein again.
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least a portion of the steps in the flow chart of the figure may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
The foregoing is only a partial embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (10)

1. A method for displaying notification information in a notification bar is characterized by comprising the following steps:
receiving notification information created by an application, wherein the notification information carries parameters set according to terminal attributes, and when a system version included in the terminal attributes is within a first preset range, the parameters include a priority order parameter and a time parameter;
adding the notification information into a notification information list of a notification bar;
updating the ordering of the notification information in the notification information list according to the priority parameter and the time parameter;
and displaying the notification information in a notification bar according to the sequence of the notification information in the notification information list.
2. The method of claim 1, wherein the prioritization parameter is set to a maximum value.
3. The method according to claim 1, wherein the receiving notification information created by the application, the notification information carrying parameters set according to terminal attributes, and when the system version included in the terminal attributes is within a first preset range, the parameters including a priority parameter and a time parameter, comprises the following steps:
receiving notification information created by an application, wherein the notification information carries parameters related to terminal attributes, and the terminal attributes comprise system versions;
when the system version is in a first preset range, the notification information carries a priority order parameter for subsequently updating the sequence of the notification information list and a time parameter with the display time set as the minimum value;
when the system version is within a second preset range, the notification information carries a priority parameter for subsequently updating the ordering of the notification information list, a vibration parameter with vibration time set as a minimum value, and/or a ring parameter with ring time set as a minimum value.
4. The method according to claim 1, wherein before receiving the notification information created by the application, the method further comprises the steps of:
the application identifies whether other running applications are matched with preset applications;
if not, setting the priority order parameter as a maximum value;
if yes, setting the priority parameter to be a second large value;
the application creates the notification information according to the prioritization parameters.
5. The method according to claim 1, wherein before receiving the notification information created by the application, the method further comprises the steps of:
the application identifies whether other running applications are matched with preset applications;
if not, setting the priority order parameter as a maximum value;
if yes, acquiring user operation records of other applications and the user operation record of the application, of which the matching value is greater than a preset threshold value in a preset time period, and determining user operation frequency according to the user operation records; judging whether the user operation frequency of the other applications is greater than the user operation frequency of the application, if so, setting the priority parameter to be a second maximum value, otherwise, setting the priority parameter to be a maximum value;
the application creates the notification information according to the prioritization parameters.
6. The method according to claim 1, wherein before receiving the notification information created by the application, the method further comprises the steps of:
the application identifies a matching value of the application and other running applications;
if the matching value is smaller than a preset threshold value, setting the priority order parameter as a maximum value;
if the matching value is larger than a preset threshold value, setting the priority order parameter as a second large value;
the application creates the notification information according to the prioritization parameters.
7. The method according to claim 1, wherein before receiving the notification information created by the application, the method further comprises the steps of:
the application generates the notification information, determines the importance level of the notification information, and sets the priority order parameter according to the importance level;
the application creates the notification information according to the prioritization parameters.
8. A display device for displaying notification information in a notification bar, comprising:
the terminal comprises a receiving module, a sending module and a receiving module, wherein the receiving module is used for receiving notification information created by application, the notification information carries parameters set according to terminal attributes, and when the system version included by the terminal attributes is within a first preset range, the parameters include a priority order parameter and a time parameter;
the adding module is used for adding the notification information into a notification information list of a notification bar;
the updating module is used for updating the ordering of the notification information in the notification information list according to the priority order parameter and the time parameter;
and the display module is used for displaying the notification information in the notification bar according to the sequence of the notification information in the notification information list.
9. A computer-readable storage medium on which a computer program is stored, the computer program, when being executed by a processor, implementing a method of displaying notification information in a notification bar according to any one of claims 1 to 7.
10. A terminal for displaying notification information in a notification bar, comprising:
one or more processors;
a memory;
one or more computer programs, stored in the memory; the one or more computer programs, when executed by the one or more processors, implement a method of displaying notification information in a notification bar as recited in any of claims 1-7.
CN201810577415.3A 2018-06-05 2018-06-05 Display method, device, storage medium and terminal of notification information in notification bar Active CN108848261B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810577415.3A CN108848261B (en) 2018-06-05 2018-06-05 Display method, device, storage medium and terminal of notification information in notification bar

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810577415.3A CN108848261B (en) 2018-06-05 2018-06-05 Display method, device, storage medium and terminal of notification information in notification bar

Publications (2)

Publication Number Publication Date
CN108848261A CN108848261A (en) 2018-11-20
CN108848261B true CN108848261B (en) 2021-04-02

Family

ID=64210526

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810577415.3A Active CN108848261B (en) 2018-06-05 2018-06-05 Display method, device, storage medium and terminal of notification information in notification bar

Country Status (1)

Country Link
CN (1) CN108848261B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111064654A (en) * 2019-11-19 2020-04-24 维沃移动通信有限公司 Message display method and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026793A (en) * 2007-02-02 2007-08-29 华为技术有限公司 Method and device for realizing short message prompt
CN103648084A (en) * 2013-12-05 2014-03-19 百度在线网络技术(北京)有限公司 Method and system for message displaying at message notification board
CN104407827A (en) * 2014-10-31 2015-03-11 广东欧珀移动通信有限公司 Method for displaying messages in notification bar and mobile terminal
CN105227774A (en) * 2015-10-16 2016-01-06 央视国际网络无锡有限公司 A kind of prompting mode of mobile phone application PUSH message and device
CN107370888A (en) * 2017-08-31 2017-11-21 江西博瑞彤芸科技有限公司 The display methods of announcement information

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7987431B2 (en) * 1999-10-29 2011-07-26 Surfcast, Inc. System and method for simultaneous display of multiple information sources
JP4568168B2 (en) * 2005-05-17 2010-10-27 株式会社日立製作所 Information processing method and system
CN105631322A (en) * 2015-12-25 2016-06-01 北京奇虎科技有限公司 Method and device for managing notification bar without ROOT
CN107491315B (en) * 2017-08-31 2020-02-11 Oppo广东移动通信有限公司 Message prompting method, device and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026793A (en) * 2007-02-02 2007-08-29 华为技术有限公司 Method and device for realizing short message prompt
CN103648084A (en) * 2013-12-05 2014-03-19 百度在线网络技术(北京)有限公司 Method and system for message displaying at message notification board
CN104407827A (en) * 2014-10-31 2015-03-11 广东欧珀移动通信有限公司 Method for displaying messages in notification bar and mobile terminal
CN105227774A (en) * 2015-10-16 2016-01-06 央视国际网络无锡有限公司 A kind of prompting mode of mobile phone application PUSH message and device
CN107370888A (en) * 2017-08-31 2017-11-21 江西博瑞彤芸科技有限公司 The display methods of announcement information

Also Published As

Publication number Publication date
CN108848261A (en) 2018-11-20

Similar Documents

Publication Publication Date Title
CN107948748B (en) Method, device, mobile terminal and computer storage medium for recommending videos
CN110168483B (en) Shortcut menu for displaying different applications on different screens
US11579946B2 (en) Method for managing multiple operating systems in a terminal
CN104699973A (en) Method and device for controlling logic of questionnaires
CN109428871B (en) Defense strategy determination method and device
CN106203228A (en) Two-dimensional code information transmission method, device and equipment
CN112997471B (en) Audio channel switching method and device, readable storage medium and electronic equipment
CN108322897B (en) Card package meal combination method and device
CN106506815A (en) A kind of application enables method and relevant device
KR102239616B1 (en) Message notification method and terminal
CN107046595A (en) Announcement information processing method, device and mobile terminal
CN110099434B (en) Power adjustment method, terminal equipment and computer readable storage medium
CN103383701A (en) Information retrieving method, device and terminal
CN109309659B (en) Mobile terminal and method and device for logging in application of mobile terminal
CN107329547B (en) Temperature control method and device and mobile terminal
CN108848261B (en) Display method, device, storage medium and terminal of notification information in notification bar
CN107220073A (en) A kind of information updating method and user equipment
CN106201536A (en) The replacing options of a kind of application icon and terminal unit
CN108108207B (en) Advertisement display method and device
CN108513005B (en) Contact person information processing method and device, electronic equipment and storage medium
CN115315008A (en) Base station positioning channel configuration method, equipment and computer readable storage medium
CN109151154B (en) Power consumption control method and mobile terminal
CN106487649A (en) The prompting control method of group message and terminal unit
CN108446345B (en) Data searching method and mobile terminal
CN106845247B (en) Method and device for synchronizing android system setting on mobile terminal 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
TA01 Transfer of patent application right

Effective date of registration: 20200423

Address after: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: Alibaba (China) Co.,Ltd.

Address before: 510640 Guangdong city of Guangzhou province Whampoa Tianhe District Road No. 163 Xiping Yun Lu Yun Ping square B radio tower 15 layer self unit 02

Applicant before: GUANGZHOU UC NETWORK TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant