CN108848261A - The display methods of notification information, device, storage medium and terminal in notification bar - Google Patents

The display methods of notification information, device, storage medium and terminal in notification bar Download PDF

Info

Publication number
CN108848261A
CN108848261A CN201810577415.3A CN201810577415A CN108848261A CN 108848261 A CN108848261 A CN 108848261A CN 201810577415 A CN201810577415 A CN 201810577415A CN 108848261 A CN108848261 A CN 108848261A
Authority
CN
China
Prior art keywords
notification information
application
order
notification
priority parameter
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.)
Granted
Application number
CN201810577415.3A
Other languages
Chinese (zh)
Other versions
CN108848261B (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
Guangzhou Youshi Network Technology 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 Guangzhou Youshi Network Technology Co Ltd filed Critical Guangzhou Youshi Network Technology 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

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 present invention provides a kind of display methods of notification information in notification bar, includes the following steps:The notification information of application creation is received, the notification information carries order of priority parameter;The notification information is added to the notification information list of notification bar;According to the order of priority parameter, the sequence of notification information in the notification information list is updated;According to the sequence of notification information in the notification information list, notification information is shown in notification bar.The technical solution can be realized to be adjusted to using sequence of the notification information itself created in the notification information list of notification bar, and then adjusts the position being shown on the display area on screen notification column.The present invention also provides a kind of device, storage medium and terminals.

Description

The display methods of notification information, device, storage medium and terminal in notification bar
Technical field
The present invention relates to field of computer technology, specifically, the present invention relates in a kind of notification bar notification information it is aobvious Show method, apparatus, storage medium and terminal.
Background technique
With the generality of terminal and the diversity of application, notification bar set by system can receive types of applications and push away in terminal The notification information sent, and be shown on the notification bar region of terminal, facilitate user and understands in time more by the logical of application push Know information.
Conventionally, as the screen size of terminal defines the displayable notification information number of notification bar region single Amount, user, which needs to trigger notification bar operation of gliding, can just see more notification informations.But user is generally difficult under recognizing Still there are other notification informations after cunning, or be easy to ignore the notification information that can just see after downslide, and misses certain applications push Notification information.It does not only result in user and is difficult to obtain the notification information of certain applications push, also results in certain applications push Notification information exposure rate it is too low.
Summary of the invention
The present invention proposes display methods, device, storage medium and the terminal of notification information in a kind of notification bar, to solve At least one above-mentioned problem.
In a first aspect, the present invention provides a kind of display methods of notification information in notification bar, include the following steps:
The notification information of application creation is received, the notification information carries order of priority parameter;
The notification information is added to the notification information list of notification bar;
According to the order of priority parameter, the sequence of notification information in the notification information list is updated;
According to the sequence of notification information in the notification information list, notification information is shown in notification bar.
With reference to first aspect, in the first embodiment of first aspect, the order of priority parameter is set as the present invention Maximum value.
With reference to first aspect, the present invention is described to receive the logical of application creation in second of embodiment of first aspect Know information, the notification information carries order of priority parameter, includes the following steps:
The notification information of application creation is received, the notification information carries and the associated parameter of terminal attribute, the end Holding attribute includes system version;
When system version is in the first preset range, the notification information, which is carried, updates the notification information for subsequent The order of priority parameter of the sequence of list and displaying time are set as the time parameter of minimum value;
When system version is in the second preset range, the notification information, which is carried, updates the notification information for subsequent The order of priority parameter of the sequence of the list and vibration time is set as the vibrations parameter of minimum value and/or ring time is set as most The tinkle of bells parameter of small value.
With reference to first aspect, the present invention is described to receive the logical of application creation in the third embodiment of first aspect It further include step before knowing information:
Whether matched using the other application of identification operation with preset application;
If it is not, the order of priority parameter is set as maximum value;
If so, the order of priority parameter is set as Second Largest Value;
The notification information is created using according to the order of priority parameter.
With reference to first aspect, the present invention is described to receive the logical of application creation in the 4th kind of embodiment of first aspect It further include step before knowing information:
Whether matched using the other application of identification operation with preset application;
If it is not, the order of priority parameter is set as maximum value;
If so, obtain preset time period in the matching value be greater than preset threshold other application user operation records with The user operation records of this application determine user's operation frequency according to user operation records;Judge the user behaviour of the other application Whether working frequency is greater than the user's operation frequency of this application, if so, the order of priority parameter is set as Second Largest Value, otherwise, The order of priority parameter is set as maximum value;
The notification information is created using according to the order of priority parameter.
With reference to first aspect, the present invention is described to receive the logical of application creation in the 5th kind of embodiment of first aspect It further include step before knowing information:
Using the matching value of identification this application and the other application of operation;
If the matching value is less than preset threshold, the order of priority parameter is set as maximum value;
If the matching value is greater than preset threshold, the order of priority parameter is set as Second Largest Value;
The notification information is created using according to the order of priority parameter.
With reference to first aspect, the present invention is described to receive the logical of application creation in the 6th kind of embodiment of first aspect It further include step before knowing information:
Using the notification information is generated, the important level of the notification information is determined, be arranged according to the important level The order of priority parameter;
The notification information is created using according to the order of priority parameter.
Second aspect, the present invention provide a kind of display device of notification information in notification bar, comprise the following modules:
Receiving module, for receiving the notification information using creation, the notification information carries order of priority parameter;
Adding module, for the notification information to be added to the notification information list of notification bar;
Update module, for updating the row of notification information in the notification information list according to the order of priority parameter Sequence;
Display module, for showing notification information in notification bar according to the notification information list.
The third aspect, the present invention provides a kind of computer-readable storage medium, is stored thereon with computer program, described The display methods of notification information in notification bar as described in relation to the first aspect is realized when computer program is executed by processor.
Fourth aspect, the present invention provide a kind of terminal, including:One or more processors;Memory;One or more meter Calculation machine program, one or more of computer program storages are in the memory;One or more of computer programs The display methods of notification information in notification bar as described in relation to the first aspect is realized when being executed by one or more of processors.
It is different from the prior art, technical solution provided by the invention has the advantage that:
(1) it is answered in the display methods of notification information, device, storage medium and terminal in notification bar provided by the invention When used in creation notification information, it is provided with order of priority parameter, when receiving the notification information using creation, which is believed Breath is added in the notification information list of notification bar, and according to order of priority parameter, notification information in update notification information list Sequence.Wherein, the order of priority parameter being arranged when creating notification information is applied to belong to the notification information list for influencing notification bar The key parameter of sequence.The present invention is by the way that when application creates notification information, setting influences in the notification information list of notification bar The order of priority parameter of the sequence of notification information, realize to the notification information that itself is created of application notification bar notification information Sequence in list is adjusted, and then adjusts the position being shown on the display area on screen notification column.
(2) it is answered in the display methods of notification information, device, storage medium and terminal in notification bar provided by the invention The order of priority parameter entrained by the notification information of creation is set as maximum value, notifies when in the notification information list to notification bar When information is ranked up, the order of priority parameter that notification information carries is set as maximum value, and priority is higher, when other no ginsengs When number influences the priority of notification information sequence in the notification information list of notification bar, it will be arranged using the notification information created Sequence is shown in the front end in screen notification column region at first of notification information list of notification bar.It is effectively promoted Sequence of the create notification information of application in the notification information list of notification bar, and effectively improve application and create and lead to The exposure rate of information is known, so that user is easier to learn using pushed notification information.Further, in the present invention, When the parameter that the notification information carries for system is different editions, different parameters is carried, is made when application is installed in It when in the terminal of different system versions, effectively adapts to different system versions and makes corresponding optimization, so that in different uses It is more excellent using sequence of the notification information created in the notification information list of notification bar under scene, and then in screen notification Display position on the display area on column is more excellent.
The additional aspect of the present invention and advantage will be set forth in part in the description, these will become from the following description Obviously, or practice through the invention is recognized.
Detailed description of the invention
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments Obviously and it is readily appreciated that, wherein:
Fig. 1 is first method flow diagram of the embodiment of the present invention one;
Fig. 2 is first method flow diagram of the embodiment of the present invention two;
Fig. 3 is second method flow diagram of the embodiment of the present invention two;
Fig. 4 is the third method flow diagram of the embodiment of the present invention two;
Fig. 5 is the 4th method flow diagram of the embodiment of the present invention two;
Fig. 6 is first module frame chart of the embodiment of the present invention three;
Fig. 7 is second module frame chart of the embodiment of the present invention three;
Fig. 8 is the third module frame chart of the embodiment of the present invention three;
Fig. 9 is the 4th module frame chart of the embodiment of the present invention three;
Figure 10 is the 5th module frame chart of the embodiment of the present invention three;
Figure 11 is the terminal block diagram of the embodiment of the present invention five.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, and for explaining only the invention, and is not construed as limiting the claims.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singular " one " used herein, " one It is a ", " described " and "the" may also comprise plural form.It is to be further understood that being arranged used in specification of the invention Diction " comprising " refer to that there are the feature, integer, step, operation, element and/or component, but it is not excluded that in the presence of or addition Other one or more features, integer, step, operation, element, component and/or their group.It should be understood that when we claim member Part is " connected " or when " coupled " to another element, it can be directly connected or coupled to other elements, or there may also be Intermediary element.In addition, " connection " used herein or " coupling " may include being wirelessly connected or wirelessly coupling.It is used herein to arrange Diction "and/or" includes one or more associated wholes for listing item or any cell and all combinations.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all terms used herein (including technology art Language and scientific term), there is meaning identical with the general understanding of those of ordinary skill in fields of the present invention.Should also Understand, those terms such as defined in the general dictionary, it should be understood that have in the context of the prior art The consistent meaning of meaning, and unless idealization or meaning too formal otherwise will not be used by specific definitions as here To explain.
Those skilled in the art of the present technique are appreciated that " terminal " used herein above, " terminal device " both include wireless communication The equipment of number receiver, only has the equipment of the wireless signal receiver of non-emissive ability, and including receiving and emitting hardware Equipment, have on both-way communication chain road, can execute both-way communication reception and emit hardware equipment.This equipment May include:Honeycomb or other communication apparatus are shown with single line display or multi-line display or without multi-line The honeycomb of device or other communication apparatus;PCS (Personal Communications Service, person communication system), can With combine voice, data processing, fax and/or data communication capabilities;PDA (Personal Digital Assistant, it is personal Digital assistants), it may include radio frequency receiver, pager, the Internet/intranet access, web browser, notepad, day It goes through and/or GPS (Global Positioning System, global positioning system) receiver;Conventional laptop and/or palm Type computer or other equipment, have and/or the conventional laptop including radio frequency receiver and/or palmtop computer or its His equipment." terminal " used herein above, " terminal device " can be it is portable, can transport, be mounted on the vehicles (aviation, Sea-freight and/or land) in, or be suitable for and/or be configured in local runtime, and/or with distribution form, operate in the earth And/or any other position operation in space." terminal " used herein above, " terminal device " can also be communicating terminal, on Network termination, music/video playback terminal, such as can be PDA, MID (Mobile Internet Device, mobile Internet Equipment) and/or mobile phone with music/video playing function, it is also possible to the equipment such as smart television, set-top box.
Those skilled in the art of the present technique are appreciated that remote network devices used herein above comprising but be not limited to count The cloud that calculation machine, network host, single network server, multiple network server collection or multiple servers are constituted.Here, Yun Youji It is constituted in a large number of computers or network servers of cloud computing (Cloud Computing), wherein cloud computing is distributed computing One kind, a super virtual computer consisting of a loosely coupled set of computers.In the embodiment of the present invention, distal end It can be realized and be communicated by any communication modes between the network equipment, terminal device and WNS server, including but not limited to, is based on The mobile communication of 3GPP, LTE, WIMAX, based on TCP/IP, the computer network communication of udp protocol and based on bluetooth, infrared The low coverage wireless transmission method of transmission standard.
Wherein, it is given below and is related to partial words explanation of the invention:
Using:It is the application program being loaded in the terminal of operating system.
Notification bar:It is system notification bar, common function one of of the user in using terminal.When the application installed in terminal When creating a notification information, which can be sent to notification bar, and in the notification bar display area of terminal screen Display.Wherein, notification bar forms a notification information list after receiving notification information, and is carried out pair according to relevant parameter Notification information is ranked up.
With reference to the accompanying drawing to the display methods of notification information, device, storage medium in notification bar mentioned by the present invention It describes in detail with the specific embodiment of terminal.Here, illustrative embodiments and their description of the invention are for explaining this Invention, but it is not as a limitation of the invention.
Embodiment one
In conjunction with Fig. 1, the embodiment of the present invention provides a kind of display methods of notification information in notification bar, includes the following steps:
S11 receives the notification information of application creation, and the notification information carries order of priority parameter;
In embodiments of the present invention, using setting simultaneously when creation notification information for subsequent update notification information list The parameter of sequence, after the completion of creation, the notification information for carrying order of priority parameter is sent to the operation of terminal device by application System (in embodiments of the present invention, operating system is Android system, following systems), at this point, system will receive carry it is excellent The notification information of first order parameters.
Wherein, the order of priority parameter is to apply one of set relevant parameter when creating notification information, Act on the sequencer procedure of the notification information list of follow-up system notification bar.Specifically, the order of priority parameter and notice are believed The sequence order of priority ceased in notification information list is related, and shows the importance of the notification information in a program, if being System receives the notification information that multiple applications are sent, and system can determine in the notice list of notification bar according to order of priority parameter The notification information of which application can sort preceding.It preferably, can be by NotificationCompat.Builder SetPriority is configured.Preferably, it is set as maximum value using by the order of priority parameter, i.e., in setPriority It is arranged to PRIORITY_MAX.
The notification information list of notification bar is added in the notification information by S12;
Specifically, after system is received using the notification information sent, the notification information is added to notice In the notification information list on column, while storing order of priority parameter entrained by the notification information.Wherein, it is described be added to it is logical The notification information list for knowing column is to be put into notification information in the notification information pond on system current notifications column, and system notification bar leads to Know that information list includes all notification informations in notification information pond.When the notification information A that user shows system notification bar into After row processing, notification information A is discharged system in notification information pond, at this time the notification information list of the current notification bar of system In will not include notification information A.
It may be sky in the notification information pond of system notification bar, system is received using the notification information sent at this time When, notification information pond will be added, it is only in the notification information list of notification bar on the day of the notification information is then system at this time Notification information.
It may include N number of notification information in the notification information list on system current notifications column, if system receives at this time Using transmission a notification information when, will be added notification information pond, notification information pond includes N+1 notification information at this time, is It include N+1 notification information in the notification information list on system current notifications column.
S13 updates the sequence of notification information in the notification information list according to the order of priority parameter;
After notification information pond is added in the notification information by system, more by the parameter according to entrained by each notification information The sequence of notification information in the new notification information list.It is described excellent due to being carried using the notification information of creation transmission First order parameters, system will be ranked up the notification information according to the order of priority parameter, will update the notice The sequence for all notification informations for including in information list.
S14 shows notification information in notification bar according to the sequence of notification information in the notification information list.
When all notification informations for including in notification information pond of the system by current notifications column are ranked up, update notification is believed After ceasing list, notification information will be shown by the display area on terminal notification column.Wherein, in embodiments of the present invention, step S14 Show that notification information includes a variety of situations in notification bar, as shown all notification informations for including in current notification information list, Or the notification information of display current application creation.When it is eventually displayed on the notification bar of terminal screen, it is rendered as according to each Sequence of the notification information in notification information list, arranged in sequence are shown.
In the following, the embodiment of the present invention is illustrated in conjunction with table 1:
Table 1
By above-mentioned table 1 as it can be seen that the notification information a of application creation carries order of priority parameter Xa, when terminal system connects After receiving the notification information a using creation, notification information pond is added in notification information a, and will be preferential entrained by notification information a Order parameters Xa storage.At this point, due to there is new notification information that notification information pond is added, terminal system arranges update notification information The sequence of notification information in table will determine notice by preferential count parameter Xa entrained by notification information a in sequencer procedure Sequence of the information a in notification information list.Preferably, order of priority parameter Xa is maximum value in embodiments of the present invention, such as Shown in table 1, when the notification information b to n that other application is created does not have corresponding order of priority parameter or order of priority parameter When value is less than order of priority parameter Xa, notification information a will sort first in notification information list, subsequent terminal notification bar it is aobvious Show in region, notification information a shows arranged in sequence at first.
Further, in the embodiment of the present invention, the parameter that the notification information carries is associated with terminal attribute.That is, using When creating notification information, by the parameter entrained according to terminal attribute setting.Wherein, the terminal attribute includes system version This.The system version includes android system 4.1, android system 5.0, android system 8.0 etc., herein not one by one Different editions included by Android system are described, but other Android system versions adapted to are it will be also be appreciated that in the embodiment of the present invention In included range.To adapt to reference ginseng of more different system versions in the notification information list ordering of system notification bar It counts, applies the parameter set when creating notification information different in the embodiment of the present invention.
When system version is in the first preset range, the notification information, which is carried, updates the notification information for subsequent The order of priority parameter of the sequence of list and displaying time are set as the time parameter of minimum value;
That is, parameter includes order of priority parameter and time parameter when system version is in the first preset range.Wherein, The time parameter is corresponding to show the time, and when that will show that the time is set as 0 (that is, minimum value), system can will be corresponding to it Notification information is determined as newest notification information, and when carrying out notification information list ordering, by notification information sequence the One.Preferably, order of priority parameter is maximum value, and time parameter is minimum value;The system version is in the first preset range Interior be current system is 4.1 or more android system and in 5.0 or less android system.It is illustrated below with reference to the following table 2:
Table 2
When system version is in the first preset range, order of priority parameter is carried using the notification information a created Xa and time parameter Ya.After terminal system receives the notification information a using creation, notification information is added in notification information a Pond, and order of priority parameter Xa entrained by notification information a and time parameter Ya is stored.At this point, due to there is new notice letter Notification information pond is added in breath, and terminal system is by the sequence of notification information in update notification information list, in sequencer procedure, will lead to Crossing preferential count parameter Xa and time parameter Ya entrained by notification information a determines notification information a in notification information list Sequence.Preferably, order of priority parameter Xa is maximum value in embodiments of the present invention, and time parameter Ya is in the embodiment of the present invention In be minimum value.As shown in table 2, when the notification information b to n that other application is created do not have corresponding order of priority parameter or when Between parameter when or the value of order of priority parameter when being less than the value of order of priority parameter Xa and time parameter and being greater than time parameter Ya, Notification information a will sort first in notification information list, and in the display area of subsequent terminal notification bar, notification information a will be arranged Sequence is shown in first.Wherein, in embodiments of the present invention, when the current version of terminal system is in the first preset range, Time parameter is greater than order of priority parameter to the influence power of Sort Priority, illustrates in conjunction with following Table 3:
Table 3
In conjunction with table 3, it is seen that using the corresponding order of priority parameter Xa of the notification information a of a, corresponding time parameter Ya;It answers With the corresponding preferential count parameter Xb of the notification information b of b, corresponding time parameter Yb.When the parameter that notification information carries includes When order of priority parameter and time parameter, the sequence in the notification information list of system notification bar about notification information is paid the utmost attention to Time parameter, when not having time parameter or can not be ranked up using time parameter, further according to order of priority parameter to notice Information is ranked up;Or it using the order of priority parameter and time parameter as simultaneously list, is ranked up.
In embodiments of the present invention, when system version is in the first preset range, preferably by the displaying of time parameter when Between be set as 0, can be arranged at this time by the setWhen of NotificationCompat.Builder the current displaying time be 0, this Under the setting of sample, when system is ranked up notification information, the notification information of the meeting default setting time parameter is newest, and will Its Sort Priority is mentioned to highest.
When system version is in the second preset range, the notification information, which is carried, updates the notification information for subsequent The order of priority parameter of the sequence of the list and vibration time is set as the vibrations parameter of minimum value and/or ring time is set as most The tinkle of bells parameter of small value.
That is, parameter includes order of priority parameter and vibrations parameter, preferential time when system version is in the second preset range Order parameter and the tinkle of bells parameter or order of priority parameter and vibrations parameter and the tinkle of bells parameter.Wherein, the corresponding vibration of the vibrations parameter Time, when that will shake the time and be set as 0 (that is, minimum value), default opens vibrating mode, but not generates vibrating effect; The tinkle of bells parameter corresponds to ring time, and when setting 0 (that is, minimum value) for ring time, default opens bell mode, But not generate jingle bell effect.Preferably, in embodiments of the present invention, the system version is current in the second preset range System is 8.0 or more android system.Since system source code at this time is to the row of notification information in the notification information list of notification bar The system that sequence logic is different from other versions, when the notification information of application creation is not provided with notice the tinkle of bells or vibration reminding, The priority of sequence can be impacted.When being provided with vibrations parameter and/or the tinkle of bells parameter, system notification bar to notification information into When row sequence, the Sort Priority for carrying the notification information of the parameter can be improved.Preferably, order of priority parameter is maximum value, Vibrations parameter is minimum value, and the tinkle of bells parameter is minimum value;It is illustrated below with reference to the following table 4:
Table 4
When system version is in the second preset range, order of priority parameter is carried using the notification information c created Xc and vibrations parameter Zc.After terminal system receives the notification information c using creation, notification information is added in notification information c Pond, and order of priority parameter Xc entrained by notification information c and vibrations parameter Zc is stored.At this point, due to there is new notice letter Notification information pond is added in breath, and terminal system is by the sequence of notification information in update notification information list, in sequencer procedure, will lead to Crossing preferential count parameter Xc and vibrations parameter Zc entrained by notification information c determines notification information c in notification information list Sequence.Preferably, order of priority parameter Xc is maximum value in embodiments of the present invention, and vibrations parameter Zc is in the embodiment of the present invention In be minimum value.As shown in table 4, when the notification information d to n that other application is created does not have corresponding order of priority parameter or shake When dynamic parameter or when the value of order of priority parameter is less than the value of order of priority parameter Xc and vibrations parameter greater than vibrations parameter Zc, Notification information c will sort first in notification information list, and in the display area of subsequent terminal notification bar, notification information c will be arranged Sequence is shown in first.Wherein, in embodiments of the present invention, when the current version of terminal system is in the second preset range, Vibrations parameter is greater than order of priority parameter to the influence power of Sort Priority, illustrates in conjunction with following table 5:
Table 5
In conjunction with table 5, it is seen that using the corresponding order of priority parameter Xc of the notification information c of c, corresponding vibrations parameter Zc;It answers With the corresponding order of priority parameter Xd of the notification information d of d, corresponding vibrations parameter Zd.When the parameter that notification information carries includes When order of priority parameter and vibrations parameter, the sequence in the notification information list of system notification bar about notification information is paid the utmost attention to Vibrations parameter, when not having vibrations parameter or can not be ranked up using vibrations parameter, further according to order of priority parameter to notice Information is ranked up.In addition, the tinkle of bells parameter is consistent with example described in above-mentioned table 5, no longer describe herein.
In embodiments of the present invention, when system version is in the second preset range, the vibration time is preferably set as 0, this When can by the setVibrate of NotificationCompat.Builder be arranged present mode be message shake, and will shake Parameter be set as 0, under such setting, although be provided with vibrating mode, actually terminal notification column show the notice letter It will not be shaken when breath, i.e., user will not perceive vibratory sensation, and the row of notification information is effectively improved by the setting to vibrations parameter While sequence priority, interference user is avoided.It is preferred that ring time is set as 0, can pass through at this time The setSound setting present mode of NotificationCompat.Builder is bell mode, and the parameter of the tinkle of bells is set as 0, under such setting, although bell mode is provided with, when actually terminal notification column will not be rung when showing the notification information Bell, i.e. user will not perceive the tinkle of bells, while effectively improving the Sort Priority of notification information by the setting of the tinkle of bells parameter, Avoid interference user.
Embodiment two
In conjunction with Fig. 2, it is different from embodiment one, the display methods of notification information in notification bar provided in an embodiment of the present invention, It further include step before the notification information for receiving application creation:
Whether the other application of S21 application identification operation matches with preset application;
S22 is if it is not, be set as maximum value for the order of priority parameter;
S23 is if so, be set as Second Largest Value for the order of priority parameter;
S24, which is applied, creates the notification information according to the order of priority parameter.
Specifically, the other application of the application identification operation will currently be got with whether preset application matches for application The other application being currently running in system is matched with the preset application in the preset list of application of this application, and identification is currently running Other application whether matched with preset application.Wherein, preset list of application further comprises the sequence for preset application.
For example, if this application is QQ, cover in preset list of application be same source quotient application, as QQ, King's honor, danger spot are sought survival.It is assumed that the other application being currently running at this time is wechat, then the other application run with it is preset Using matching.
Further, if including sequence in preset list of application, and wechat, king's honor, QQ, danger spot is ordered as and is sought survival. At this point, will the other application that is currently running of judgement whether in the application included by preset list of application, if so, further judgement Whether sequence of the other application being currently running in preset list of application be prior to this application.It is assumed that be currently running at this time Other application is wechat, then the other application run matched with preset application (wechat is included in preset list of application, and Sequence in preset list of application is prior to QQ).
Wherein, in embodiments of the present invention, the notification information that the other application being currently running is created carries order of priority Parameter is maximum value.It is described order of priority parameter is set as Second Largest Value to be only second to value corresponding to order of priority parameter most Big value, if order of priority parameter includes 101 values of 0-100, then maximum value is 100, Second Largest Value 99.
Further, in conjunction with Fig. 3, it is different from above-described embodiment, the embodiment of the present invention receives the logical of application creation described It further include step before knowing information:
Whether the other application of S31 application identification operation matches with preset application;
S32 is if it is not, be set as maximum value for the order of priority parameter;
S33 is if so, obtain the user's operation note that the matching value in preset time period is greater than the other application of preset threshold The user operation records of record and this application, determine user's operation frequency according to user operation records;Judge the use of the other application Whether family operating frequency is greater than the user's operation frequency of this application, if so, the order of priority parameter is set as Second Largest Value, it is no Then, the order of priority parameter is set as maximum value;
S34, which is applied, creates the notification information according to the order of priority parameter.
Above-mentioned steps S21, S22, S23, S24 are different from, in the embodiment of the present invention, when the other application of application identification operation When matching with preset application, order of priority parameter is set also according to the user operation records in preset time period.In conjunction with above-mentioned example Son explanation, it is current to determine that other application wechat is matched with preset application, at this point, this application will acquire in preset time period wechat and The user operation records of QQ, and user's operation frequency is determined according to user operation records.If the user's operation frequency of QQ is big at this time In wechat, i.e. the user's operation frequency of other application is less than this application, and this application is set when creating notification information at this time Order of priority parameter is maximum value.
Further, it is different from above-described embodiment, the embodiment of the present invention is in the notification information for receiving application creation It before, further include step:
Whether matched using the other application of identification operation with preset application;
If so, the order of priority parameter is set as maximum value;
If it is not, obtain preset time period in the matching value be greater than preset threshold other application user operation records with The user operation records of this application determine user's operation frequency according to user operation records;It is grasped according to the user of the other application Working frequency determines the grade of the user's operation frequency of this application with respect to the user's operation frequency of the other users;It is set according to grade Set the order of priority parameter;
The notification information is created using according to the order of priority parameter.
Above-mentioned steps S21, S22, S23, S24 are different from, in the embodiment of the present invention, when the other application of application identification operation When being matched with preset application, also according to the determining corresponding grade of user's operation frequency of the user operation records in preset time period Order of priority parameter is set.Illustrate in conjunction with above-mentioned example, it is current to determine that other application wechat is matched with preset application, at this point, this User's operation frequency is determined using the user operation records that will acquire wechat and QQ in preset time period, and according to user operation records Rate simultaneously determines corresponding grade.If the user's operation frequency corresponding grade of QQ is higher than wechat, the i.e. user of other application at this time Operating frequency corresponding grade is less than this application, and this application order of priority parameter set when creating notification information is most at this time Big value.
Further, in conjunction with Fig. 4, it is different from above-described embodiment, the embodiment of the present invention receives the logical of application creation described It further include step before knowing information:
The matching value of S41 application identification this application and the other application of operation;
If the S42 matching value is less than preset threshold, the order of priority parameter is set as maximum value;
If the S43 matching value is greater than preset threshold, the order of priority parameter is set as Second Largest Value;
S44, which is applied, creates the notification information according to the order of priority parameter.
Wherein, include the following steps described in step S41 using the matching value of identification this application and the other application of operation:
According to application message, matching rule is determined;
According to matching rule, the matching value of the other application of application identification this application and operation is determined.
Wherein, described according to application message, determine matching rule for the setting of the every terms of information according to included by application message Weight, and be arranged using 1 or 0 as weight coefficient.Specifically, when applying when creating notification information, this application is identified first The matching value for the other application being currently running with present terminal system.Wherein matching value is advised by the matching determined according to application message Depending on then.Application message includes source identification information, security information etc..Wherein, the preset threshold is fixed preset value, such as 0.7.According in application message source identification information and security information determine matching rule, it is assumed that the power of source identification information Weight is 0.6, and the weight of security information is 0.4, then X=0.6*x1+0.4*x2;Wherein X characterize matching value, x1 characterize this application with Whether the source of other application is identical, and whether the safety coefficient of x2 characterization this application is greater than other application;Formula X=0.6*x1+ 0.4*x2 characterizes matching rule.
It illustrates:Assuming that this application A is QQ, the other application B that present terminal system is currently running is wechat.Due to micro- Believe that in the source identification information of QQ be Tencent, so x1=1, if other application B is that wechat belongs to and steps in abnormal terminals at this time The case where record, then the security system of QQ is greater than wechat, i.e., the security system of this application A is greater than other application B, so x2=1, this When matching value X=0.6*1+0.4*1=1, due to 1>0.7, i.e., at this time matching value be greater than preset threshold, using will creation notify Order of priority parameter is set as Second Largest Value when information.The embodiment provided in this step is conducive to for same source quotient Supply in application, such as QQ and wechat, Sort Priority corresponding to the notification information for preferentially being created wechat is greater than QQ institute The notification information of creation.
It further, further include step before the notification information for receiving application creation:
Using the matching value of identification this application and the other application of operation;
If the matching value is less than preset threshold, the order of priority parameter is set as maximum value;
If the matching value is greater than preset threshold, the matching value is greater than other of preset threshold in acquisition preset time period The user operation records of application and the user operation records of this application determine user's operation frequency according to user operation records;Sentence Whether the user's operation frequency for the other application of breaking is greater than the user's operation frequency of this application, if so, the order of priority is joined Number is set as Second Largest Value, otherwise, the order of priority parameter is set as maximum value;
The notification information is created using according to the order of priority parameter.
Above-mentioned steps S41, S42, S43, S44 are different from, in the embodiment of the present invention, when judging that it is default that the matching value is greater than When threshold value, order of priority parameter is set also according to the user operation records in preset time period.Illustrate in conjunction with above-mentioned example, currently Determine that the matching value of this application QQ and other application wechat is greater than preset threshold, at this point, this application will acquire in preset time period The user operation records of wechat and QQ, and user's operation frequency is determined according to user operation records.If the user's operation of QQ at this time Frequency is greater than wechat, i.e. the user's operation frequency of other application B is less than this application A, and this application is when creating notification information at this time Set order of priority parameter is maximum value.
It further, further include step before the notification information for receiving application creation:
Using the matching value of identification this application and the other application of operation;
If the matching value is less than preset threshold, the order of priority parameter is set as maximum value;
If the matching value is greater than preset threshold, the matching value is greater than other of preset threshold in acquisition preset time period The user operation records of application and the user operation records of this application determine user's operation frequency according to user operation records;Root According to the user's operation frequency of the other application, user's operation frequency of the user's operation frequency with respect to the other users of this application is determined The grade of rate;According to grade, the order of priority parameter is set;
The notification information is created using according to the order of priority parameter.
Above-mentioned steps S41, S42, S43, S44 are different from, in the embodiment of the present invention, when judging that it is default that the matching value is greater than When threshold value, join also according to the grade setting order of priority of the corresponding user's operation frequency of user operation records in preset time period Number.Illustrating in conjunction with above-mentioned example, the current matching value for determining this application QQ and other application wechat is greater than preset threshold, at this point, This application will acquire the user operation records of wechat and QQ in preset time period, and determine user's operation according to user operation records Frequency, while determining the corresponding grade of user's operation frequency.If the corresponding grade of user's operation frequency of QQ is higher than wechat at this time, That is the corresponding grade of user's operation frequency of other application B is lower than this application A, and this application is set when creating notification information at this time The order of priority parameter set is maximum value;If the corresponding grade of user's operation frequency of QQ is lower than wechat, i.e. other application B at this time The corresponding grade of user's operation frequency be higher than this application A, order of priority parameter this application A set when creating notification information Order of priority parameter set by other application B is most depending on order of priority parameter set by reference other application B, such as at this time Big value, order of priority parameter this application A set when creating notification information are Second Largest Value.
It further, further include step before the notification information for receiving application creation in conjunction with Fig. 5:
S51 application generates the notification information, determines the important level of the notification information, is set according to the important level Set the order of priority parameter;
S52, which is applied, creates the notification information according to the order of priority parameter.
Wherein, the important level is to be determined according to the content of notification information, and the content of notification information includes answering for upgrading With version, contact information etc..Wherein the important level of contact information is higher than upgrade application version.For example, current application produces Raw notification information is upgrade application version, since the important level of the notification information is lower, creates the notification information in application When, then order of priority parameter will not be set as maximum value, Second Largest Value etc. can be set as.Pass through the important level of the notification information It the order of priority parameter is set advantageously reduces the lower notification information of important level and be shown in terminal notification column display area The frequency of main positions (as the first), reduces user to the detest degree of the notification information of application push;Effectively improve important level Higher notification information is shown in the frequency of terminal notification column display area main positions (as the first), and it is important etc. to improve this application The exposure rate of the higher notification information of grade promotes user to the likability of this application.
Embodiment three
In conjunction with Fig. 6, in order to the display methods further to notification information in notification bar described in above-described embodiment one, two into Row illustrates, carries out modularization explanation to it, provides the display device of notification information in notification bar comprising with lower module:
Receiving module 61, for receiving the notification information using creation, the notification information carries order of priority parameter;
Adding module 62, for the notification information to be added to the notification information list of notification bar;
Update module 63, for updating notification information in the notification information list according to the order of priority parameter Sequence;
Display module 64 shows in notification bar and notifies for the sequence according to notification information in the notification information list Information.
Preferably, the order of priority parameter is set as maximum value.
Further, the receiving module 61 is also used to:
The notification information of application creation is received, the notification information carries and the associated parameter of terminal attribute, the end Holding attribute includes system version;
When system version is in the first preset range, the notification information, which is carried, updates the notification information for subsequent The order of priority parameter of the sequence of list and displaying time are set as the time parameter of minimum value;
When system version is in the second preset range, the notification information, which is carried, updates the notification information for subsequent The order of priority parameter of the sequence of the list and vibration time is set as the vibrations parameter of minimum value and/or ring time is set as most The tinkle of bells parameter of small value.
In conjunction with Fig. 7, the embodiment of the invention also includes with lower module:
Whether the first identification module 71, the other application for application identification operation match with preset application;
First setup module 72, for if it is not, the order of priority parameter is set as maximum value;If so, by described preferential Order parameters are set as Second Largest Value;
First creation module 73 creates the notification information according to the order of priority parameter for application.
In conjunction with Fig. 8, the embodiment of the invention also includes with lower module:
Whether the second identification module 81, the other application for application identification operation match with preset application;
Second setup module 82, for if it is not, the order of priority parameter is set as maximum value;If so, when obtaining preset Between in section the matching value be greater than preset threshold other application user operation records and this application user operation records, root User's operation frequency is determined according to user operation records;Judge whether the user's operation frequency of the other application is greater than the use of this application Otherwise family operating frequency, the order of priority parameter is set as most if so, the order of priority parameter is set as Second Largest Value Big value;
Further, the second setup module 82 is also used to preset if it is not, obtaining the matching value in preset time period and being greater than The user operation records of the other application of threshold value and the user operation records of this application determine that user grasps according to user operation records Working frequency;According to the user's operation frequency of the other application, determine the user's operation frequency of this application with respect to the other users The grade of user's operation frequency;According to grade, the order of priority parameter is set;
Second creation module 83 creates the notification information according to the order of priority parameter for application.
In conjunction with Fig. 9, the embodiment of the invention also includes with lower module:
Third identification module 91, the matching value for application identification this application and the other application of operation;
The order of priority parameter is set as most by third setup module 92 if being less than preset threshold for the matching value Big value;If the matching value be greater than preset threshold, obtain preset time period in the matching value be greater than preset threshold other answer The user operation records of user operation records and this application determine user's operation frequency according to user operation records;According to The user's operation frequency of the other application determines user's operation frequency of the user's operation frequency with respect to the other users of this application Grade;According to grade, the order of priority parameter is set;
Further, if the third setup module 92 is also used to the matching value greater than preset threshold, when obtaining preset Between in section the matching value be greater than preset threshold other application user operation records and this application user operation records, root User's operation frequency is determined according to user operation records;Judge whether the user's operation frequency of the other application is greater than the use of this application Otherwise family operating frequency, the order of priority parameter is set as most if so, the order of priority parameter is set as Second Largest Value Big value;
Further, it if the third setup module 93 is also used to the matching value greater than preset threshold, obtains preset The matching value is greater than the user operation records of the other application of preset threshold and the user operation records of this application in period, User's operation frequency is determined according to user operation records;According to the user's operation frequency of the other application, the use of this application is determined Grade of the family operating frequency with respect to the user's operation frequency of the other users;According to grade, the order of priority parameter is set;
Third creation module 93 creates the notification information according to the order of priority parameter for application.
In conjunction with Figure 10, the embodiment of the invention also includes with lower module:
4th setup module 101 generates the notification information for application, determines the important level of the notification information, According to the important level, the order of priority parameter is set;
4th creation module 102 creates the notification information according to the order of priority parameter for application.
Example IV
In the present embodiment, the present invention also provides a kind of computer-readable storage medium, it is stored thereon with computer journey Sequence realizes the display methods of notification information in notification bar described in embodiment one, two when the program is executed by processor.Wherein, The storage medium includes but is not limited to any kind of disk (including floppy disk, hard disk, CD, CD-ROM and magneto-optic disk), ROM (Read-Only Memory, read-only memory), RAM (Random AcceSS Memory, immediately memory), EPROM (EraSable Programmable Read-Only Memory, Erarable Programmable Read only Memory), EEPROM (Electrically EraSable Programmable Read-Only Memory, Electrically Erasable Programmable Read-Only Memory), Flash memory, magnetic card or light card.It is, storage medium includes the form by equipment (for example, computer) can read Any medium of storage or transmission information.It can be read-only memory, disk or CD etc..
Embodiment five
In conjunction with Figure 11, in the present embodiment, the present invention also provides a kind of terminal, the terminal includes:
One or more processors;Memory;One or more computer programs, one or more of computer programs Storage is in the memory;It is realized such as when one or more of computer programs are executed by one or more of processors The display methods of notification information in notification bar described in embodiment one, two.
As shown in figure 11, for ease of description, only parts related to embodiments of the present invention are shown, particular technique details It does not disclose, please refers to present invention method part.The terminal can be include mobile phone, tablet computer, PDA (Personal Digital Assistant, personal digital assistant), POS (Point of Sales, point-of-sale terminal), vehicle mounted electric Any terminal device such as brain, taking the terminal as an example:
Figure 11 shows the block diagram of the part-structure of mobile phone relevant to terminal provided in an embodiment of the present invention.With reference to figure 11, mobile phone includes:Radio frequency (Radio Frequency, RF) circuit 1510, memory 1520, input unit 1530, display unit 1540, sensor 1550, voicefrequency circuit 1560, Wireless Fidelity (wireless fidelity, Wi-Fi) module 1570, processor The components such as 1580 and power supply 1590.It will be understood by those skilled in the art that handset structure shown in Figure 11 is not constituted pair The restriction of mobile phone may include perhaps combining certain components or different component cloth than illustrating more or fewer components It sets.
It is specifically introduced below with reference to each component parts of the Figure 11 to mobile phone:
RF circuit 1510 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station After downlink information receives, handled to processor 1580;In addition, the data for designing uplink are sent to base station.In general, RF circuit 1510 include but is not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..In addition, RF circuit 1510 can also be logical with network and other equipment by wireless communication Letter.Any communication standard or agreement, including but not limited to global system for mobile communications (Global can be used in above-mentioned wireless communication System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA), long term evolution (Long Term Evolution, LTE), Email, short message service (Short Messaging Service, SMS) etc..
Memory 1520 can be used for storing software program and module, and processor 1580 is stored in memory by operation 1520 software program and module, thereby executing the various function application and data processing of mobile phone.Memory 1520 can be led It to include storing program area and storage data area, wherein storing program area can be needed for storage program area, at least one function Application program etc.;Storage data area, which can be stored, uses created data etc. according to mobile phone.In addition, memory 1520 can wrap High-speed random access memory is included, can also include nonvolatile memory, for example, at least disk memory, a flash memories Part or other volatile solid-state parts.
Input unit 1530 can be used for receiving the number or character information of input, and generate with the user setting of mobile phone with And the related key signals input of function control.Specifically, input unit 1530 may include touch panel 1531 and other inputs Equipment 1532.Touch panel 1531, also referred to as touch screen collect touch operation (such as the user of user on it or nearby Use the behaviour of any suitable object or attachment such as finger, stylus on touch panel 1531 or near touch panel 1531 Make), and corresponding attachment device is driven according to preset formula.Optionally, touch panel 1531 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it It is converted into contact coordinate, then gives processor 1580, and order that processor 1580 is sent can be received and executed.In addition, Touch panel 1531 can be realized using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch surface Plate 1531, input unit 1530 can also include other input equipments 1532.Specifically, other input equipments 1532 may include But in being not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. It is one or more.
Display unit 1540 can be used for showing information input by user or be supplied to user information and mobile phone it is each Kind menu.Display unit 1540 may include display panel 1541, optionally, can use liquid crystal display (Liquid Crystal Display, LCD), the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) To configure display panel 1541.Further, touch panel 1531 can cover display panel 1541, when touch panel 1531 detects After arriving touch operation on it or nearby, processor 1580 is sent to determine the type of touch event, is followed by subsequent processing device 1580 provide corresponding visual output according to the type of touch event on display panel 1541.Although in Figure 11, touch surface Plate 1531 and display panel 1541 are the input and input function for realizing mobile phone as two independent components, but certain In embodiment, can be integrated by touch panel 1531 and display panel 1541 and that realizes mobile phone output and input function.
Mobile phone may also include at least one sensor 1550, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light Light and shade adjust the brightness of display panel 1541, proximity sensor can close display panel when mobile phone is moved in one's ear 1541 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generally three axis) and add The size of speed can detect that size and the direction of gravity when static, can be used to identify application (such as the horizontal/vertical screen of mobile phone posture Switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Also as mobile phone The other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared sensor, details are not described herein.
Voicefrequency circuit 1560, loudspeaker 1561, microphone 1562 can provide the audio interface between user and mobile phone.Audio Electric signal after the audio data received conversion can be transferred to loudspeaker 1561, be converted by loudspeaker 1561 by circuit 1560 For the output of vocal print signal;On the other hand, the vocal print signal of collection is converted to electric signal by microphone 1562, by voicefrequency circuit 1560 Audio data is converted to after reception, then by after the processing of audio data output processor 1580, through RF circuit 1510 to be sent to ratio Such as another mobile phone, or audio data is exported to memory 1520 to be further processed.
Wi-Fi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronics by Wi-Fi module 1570 Mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Figure 11 is shown Wi-Fi module 1570, but it is understood that, and it is not belonging to must be configured into for mobile phone, it can according to need completely Do not change in the range of the essence of invention and omits.
Processor 1580 is the control centre of mobile phone, using the various pieces of various interfaces and connection whole mobile phone, By running or execute the software program and/or module that are stored in memory 1520, and calls and be stored in memory 1520 Interior data execute the various functions and processing data of mobile phone, to carry out integral monitoring to mobile phone.Optionally, processor 1580 may include one or more processing units;Preferably, processor 1580 can integrate application processor and modulation /demodulation processing Device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is mainly located Reason wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 1580.
Mobile phone further includes the power supply 1590 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply Management system and processor 1580 are logically contiguous, to realize management charging, electric discharge and power consumption pipe by power-supply management system The functions such as reason.
Although being not shown, mobile phone can also include camera, bluetooth module etc., and details are not described herein.
In embodiments of the present invention, processor 1080 included by the terminal, which has, executes one, two institute of the above embodiments The function of the display methods of notification information in the notification bar stated, details are not described herein.
It should be understood that although each step in the flow chart of attached drawing is successively shown according to the instruction of arrow, These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps Execution there is no stringent sequences to limit, can execute in the other order.Moreover, at least one in the flow chart of attached drawing Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps Completion is executed, but can be executed at different times, execution sequence, which is also not necessarily, successively to be carried out, but can be with other At least part of the sub-step or stage of step or other steps executes in turn or alternately.
The above is only some embodiments of the invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (10)

1. the display methods of notification information in a kind of notification bar, which is characterized in that include the following steps:
The notification information of application creation is received, the notification information carries order of priority parameter;
The notification information is added to the notification information list of notification bar;
According to the order of priority parameter, the sequence of notification information in the notification information list is updated;
According to the sequence of notification information in the notification information list, notification information is shown in notification bar.
2. the method according to claim 1, wherein the order of priority parameter is set as maximum value.
3. the method according to claim 1, wherein the notification information for receiving application creation, the notice Information carries order of priority parameter, includes the following steps:
The notification information of application creation is received, the notification information carries and the associated parameter of terminal attribute, the terminal category Property includes system version;
When system version is in the first preset range, the notification information, which is carried, updates the notification information list for subsequent Sequence order of priority parameter and show that the time is set as the time parameter of minimum value;
When system version is in the second preset range, the notification information, which is carried, updates the notification information list for subsequent Sequence order of priority parameter and the vibration time be set as the vibrations parameter of minimum value and/or ring time is set as minimum value The tinkle of bells parameter.
4. the method according to claim 1, wherein also being wrapped before the notification information for receiving application creation Include step:
Whether matched using the other application of identification operation with preset application;
If it is not, the order of priority parameter is set as maximum value;
If so, the order of priority parameter is set as Second Largest Value;
The notification information is created using according to the order of priority parameter.
5. the method according to claim 1, wherein also being wrapped before the notification information for receiving application creation Include step:
Whether matched using the other application of identification operation with preset application;
If it is not, the order of priority parameter is set as maximum value;
If so, obtain preset time period in the matching value be greater than preset threshold other application user operation records with should User operation records determine user's operation frequency according to user operation records;Judge the user's operation frequency of the other application Whether rate is greater than the user's operation frequency of this application, if so, the order of priority parameter is set as Second Largest Value, otherwise, by institute It states order of priority parameter and is set as maximum value;
The notification information is created using according to the order of priority parameter.
6. the method according to claim 1, wherein also being wrapped before the notification information for receiving application creation Include step:
Using the matching value of identification this application and the other application of operation;
If the matching value is less than preset threshold, the order of priority parameter is set as maximum value;
If the matching value is greater than preset threshold, the order of priority parameter is set as Second Largest Value;
The notification information is created using according to the order of priority parameter.
7. the method according to claim 1, wherein also being wrapped before the notification information for receiving application creation Include step:
Using the notification information is generated, the important level of the notification information is determined, according to important level setting Order of priority parameter;
The notification information is created using according to the order of priority parameter.
8. the display device of notification information in a kind of notification bar, which is characterized in that comprise the following modules:
Receiving module, for receiving the notification information using creation, the notification information carries order of priority parameter;
Adding module, for the notification information to be added to the notification information list of notification bar;
Update module, for updating the sequence of notification information in the notification information list according to the order of priority parameter;
Display module shows notification information in notification bar for the sequence according to notification information in the notification information list.
9. a kind of computer-readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The display methods of notification information in the notification bar as described in any one of claim 1-7 is realized when being executed by processor.
10. a kind of terminal, which is characterized in that including:
One or more processors;
Memory;
One or more computer programs, one or more of computer program storages are in the memory;It is one Or multiple computer programs are realized as described in any one of claim 1-7 when being executed by one or more of processors The display methods of notification information in notification bar.
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 true CN108848261A (en) 2018-11-20
CN108848261B 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)

Cited By (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 (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060265558A1 (en) * 2005-05-17 2006-11-23 Shuji Fujino Information processing method and system
CN101026793A (en) * 2007-02-02 2007-08-29 华为技术有限公司 Method and device for realizing short message prompt
US7987431B2 (en) * 1999-10-29 2011-07-26 Surfcast, Inc. System and method for simultaneous display of multiple information sources
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
CN105631322A (en) * 2015-12-25 2016-06-01 北京奇虎科技有限公司 Method and device for managing notification bar without ROOT
CN107370888A (en) * 2017-08-31 2017-11-21 江西博瑞彤芸科技有限公司 The display methods of announcement information
CN107491315A (en) * 2017-08-31 2017-12-19 广东欧珀移动通信有限公司 Message prompt method, device and terminal

Patent Citations (9)

* 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
US20060265558A1 (en) * 2005-05-17 2006-11-23 Shuji Fujino Information processing method and system
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
CN105631322A (en) * 2015-12-25 2016-06-01 北京奇虎科技有限公司 Method and device for managing notification bar without ROOT
CN107370888A (en) * 2017-08-31 2017-11-21 江西博瑞彤芸科技有限公司 The display methods of announcement information
CN107491315A (en) * 2017-08-31 2017-12-19 广东欧珀移动通信有限公司 Message prompt method, device and terminal

Cited By (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

Also Published As

Publication number Publication date
CN108848261B (en) 2021-04-02

Similar Documents

Publication Publication Date Title
CN104093123B (en) The information-pushing method of application program, device and system, mobile terminal
CN106598529A (en) Method and device for sub-screen display of mobile terminal, and mobile terminal
CN104935955B (en) A kind of methods, devices and systems transmitting live video stream
CN106371964B (en) Method and device for prompting message
CN103313139A (en) History display method and device and electronic device
CN107767839A (en) Brightness adjusting method and related product
CN108519886A (en) A kind of APK application installation packages configuration method, server, system and storage medium
CN109284144A (en) A kind of fast application processing method and mobile terminal
CN106797336A (en) The method and apparatus of history chat record displaying
CN106101764A (en) A kind of methods, devices and systems showing video data
CN108536490A (en) A kind of application program launching method, mobile terminal and computer storage media
CN106775680A (en) Suspend processing method, device and the mobile terminal for notifying
CN106303605B (en) A kind of methods, devices and systems to send a notification message
CN108009031B (en) Application program control method and mobile terminal
CN109324866A (en) Using the processing method of footmark, device, computer readable storage medium and terminal
CN106792014B (en) A kind of method, apparatus and system of recommendation of audio
CN110110253A (en) A kind of advertisement placement method, device and terminal device
CN106874045A (en) A kind of startup method of application program, device and mobile terminal
KR20190117753A (en) Message notification method and terminal
CN106339391B (en) Webpage display method and terminal equipment
CN108810274A (en) Using startup method, apparatus, storage medium and the terminal of miscellaneous function
CN105095161B (en) Method and device for displaying rich text information
CN108615158A (en) Risk checking method, device, mobile terminal and storage medium
CN108520760A (en) A kind of audio signal processing method and terminal
CN112003983A (en) Adaptive vibration system, terminal, method, and computer-readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
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.

GR01 Patent grant
GR01 Patent grant