CN108668003A - The method that terminal shows notification message, terminal and the device with store function - Google Patents

The method that terminal shows notification message, terminal and the device with store function Download PDF

Info

Publication number
CN108668003A
CN108668003A CN201810186515.3A CN201810186515A CN108668003A CN 108668003 A CN108668003 A CN 108668003A CN 201810186515 A CN201810186515 A CN 201810186515A CN 108668003 A CN108668003 A CN 108668003A
Authority
CN
China
Prior art keywords
application
notification message
gear
terminal
show
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
CN201810186515.3A
Other languages
Chinese (zh)
Other versions
CN108668003B (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.)
GUANGDONG MAXON COMMUNICATION CO Ltd
Shenzhen Tinno Mobile Technology Co Ltd
Shenzhen Tinno Wireless Technology Co Ltd
Original Assignee
GUANGDONG MAXON COMMUNICATION CO Ltd
Shenzhen Tinno Mobile Technology Co Ltd
Shenzhen Tinno Wireless 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 GUANGDONG MAXON COMMUNICATION CO Ltd, Shenzhen Tinno Mobile Technology Co Ltd, Shenzhen Tinno Wireless Technology Co Ltd filed Critical GUANGDONG MAXON COMMUNICATION CO Ltd
Priority to CN201810186515.3A priority Critical patent/CN108668003B/en
Publication of CN108668003A publication Critical patent/CN108668003A/en
Application granted granted Critical
Publication of CN108668003B publication Critical patent/CN108668003B/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • 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
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/224Monitoring or handling of messages providing notification on incoming messages, e.g. pushed notifications of received messages

Abstract

This application discloses a kind of method that terminal shows notification message, terminal and the device with store function.This method includes:Terminal is obtained respectively currently shows the first application of notification message and the second application of terminal notification message to be shown;The gear of the first application and the gear of the second application are obtained respectively;Notification message to be shown is shown according to the gear of the gear of the first application and the second application.In this way, it can realize effective display of terminal notification message, improve user experience.

Description

The method that terminal shows notification message, terminal and the device with store function
Technical field
This application involves field of terminal technology, more particularly to a kind of method that terminal shows notification message, terminal and tool There is the device of store function.
Background technology
With the continuous development of terminal technology, the function of terminal is also stronger and stronger, and the application run thereon is also increasingly More, terminal by the notification message of each application by pushing to user, to realize the interaction of each application and user.
The notification message of various applications can be pushed and include in tray interface, so that user browses by terminal, such as mobile phone.
But present inventor has found in long-term R&D work, in the prior art, with terminal applies and answers With the increase of notification message, if user does not delete or hides to notification message has been displayed, can cause to notify in tray interface The spilling of message has seriously affected the usage experience of user to be easy to miss the documentary whip message of user's concern.
Invention content
The application is mainly solving the technical problems that provide a kind of method that terminal shows notification message, terminal and with depositing The device for storing up function improves user experience to realize effective display of terminal notification message.
In order to solve the above technical problems, the technical solution that the application uses is:A kind of terminal display notice is provided to disappear The method of breath, this method include:Terminal is obtained respectively currently shows that the first application of notification message and terminal notice to be shown disappear Second application of breath;The gear of the first application and the gear of the second application are obtained respectively;According to the gear and second of the first application The gear of application shows notification message to be shown.
Wherein, the gear of the first application is identical as the gear of the second application, and gear includes at least the first gear and second gear Position, the first application and the second application allow to show that the first quantity of notification message meets the following conditions in terminal:A=B/ (N1+ N2);Wherein, A, which is the first application, allows to show that the first quantity of notification message or the second application allow to show in terminal in terminal First quantity of notification message, B are the quantity for the notification message that terminal allows display, and N1 is the number of the application positioned at the first gear Amount, N2 are the quantity of the application positioned at the second gear;The above method further comprises:First is adjusted separately according to the first quantity to answer The quantity that notification message is shown in terminal is applied used in the quantity of terminal display notification message and/or second, to be shown in terminal Notification message to be shown.
Wherein, the first application includes the application positioned at the application of the first gear or positioned at the second gear, and position is applied second When the first gear, show that notification message to be shown includes according to the gear of the gear of the first application and the second application:Obtain position In the second quantity for applying the notification message currently shown in terminal of the first gear;Judge whether the second quantity permits less than terminal Perhaps third quantity of the display positioned at the notification message of the application of the first gear;If so, obtaining the second quantity and third quantity The quantity of first difference and notification message to be shown;It is poor to judge whether the quantity of notification message to be shown is less than or equal to first Value;If the quantity of notification message to be shown is less than or equal to the first difference, notification message to be shown is shown.
Wherein, show that notification message to be shown further comprises according to the gear of the gear of the first application and the second application: If the quantity of notification message to be shown is more than the first difference, the application obtained positioned at the second gear allows to show that notice disappears in terminal 4th quantity of breath, the 4th quantity meet condition:C=B/ (N1+N2) * N2, wherein C is the application permission positioned at the second gear The 4th quantity of notification message is shown in terminal;Judge whether the 4th quantity is less than and is set in existing using permission for second gear position in advance Terminal shows the 5th quantity of notification message;If the 4th quantity is less than the 5th quantity, adjustment is worked as positioned at the application of the second gear The display of the notification message of preceding display, and show notification message to be shown.
Wherein, judge the 4th quantity whether be less than in advance be set in second gear position application allow terminal show notice disappear Include before 5th quantity of breath:Judge whether the second quantity is equal to third quantity;If so, obtaining the 4th quantity.
Wherein, the first application includes the application positioned at the application of the first gear or positioned at the second gear, and position is applied second When the second gear, show that notification message to be shown includes according to the gear of the gear of the first application and the second application:Obtain the It is that the quantity of the notification messages to be shown of two applications applies the sum of quantity of notification message currently shown in terminal with second Six quantity;Judge whether the 6th quantity is less than the first quantity;If so, obtaining aobvious in terminal using allowing positioned at the second gear Show that the 4th quantity of notification message, the 4th quantity meet condition:C=B/ (N1+N2) * N2, wherein C is positioned at the second gear Using the 4th quantity for allowing to show notification message in terminal;Judge whether the 4th quantity is less than and is set in answering for second gear position in advance With the 5th quantity for allowing to show notification message in terminal;If the 4th quantity is less than the 5th quantity, the 6th quantity and the is obtained Second difference of one quantity;Judge whether the quantity of the notification message to be shown of the second application is less than or equal to the second difference;If The quantity of notification message to be shown is less than or equal to the second difference, then shows notification message to be shown.
Wherein, show that notification message to be shown further comprises according to the gear of the gear of the first application and the second application: If the quantity of the notification message to be shown of the second application is more than the second difference, acquisition is worked as positioned at applying for the first gear in terminal Second quantity of the notification message of preceding display;Judge whether the second quantity is more than the application that terminal allows display positioned at the first gear Notification message numerical lower limits value;If so, adjustment applies the notification message currently shown in terminal positioned at the first gear, And show notification message to be shown.
Wherein, the above method further comprises:When detecting that current display notification message is accessed, then increase and interviewed The integral for the corresponding application of current display notification message asked;When the application for detecting terminal is out of service, then stopping is reduced The integral of the application of operation;According to integral and the gear of preset table update application, wherein mapping table includes that integral is reflected with gear Penetrate relationship.
In order to solve the above technical problems, another technical solution that the application uses is:A kind of terminal is provided.The terminal packet Display is included, display is used for the notification message of display terminal;Processor is coupled with display, and processor for obtaining respectively Terminal currently shows the first application of notification message and the second application of terminal notification message to be shown, and obtains first respectively and answer Gear and the gear of the second application;Processor is used to control display according to the gear of the first application and the gear of the second application Device shows notification message to be shown.
In order to solve the above technical problems, another technical solution that the application uses is:It provides a kind of with store function Device.The shown device with store function is stored thereon with program data, which is characterized in that program data is performed reality Step in the existing above method.
The advantageous effect of the application is:It is different from the prior art, the method that the embodiment of the present application terminal shows notification message Including:Terminal is obtained respectively currently shows the first application of notification message and the second application of terminal notification message to be shown;Point It Huo Qu not the gear of the first application and the gear of the second application;It is shown and is waited for according to the gear of the gear of the first application and the second application Show notification message.In this way, it according to the gear of the first application of the current display notification message of terminal and can wait for Show the gear of the second application of notification message to adjust the display of current display notification message, to show message to be shown, i.e., The display of notification message can be adjusted according to the current gear of terminal applies, therefore, the application can realize that terminal notification disappears Effective display of breath improves user experience.
Description of the drawings
Fig. 1 is the flow diagram for one embodiment of method that the application terminal shows notification message;
Fig. 2 be Fig. 1 embodiment terminals show notification message method in mono- idiographic flow schematic diagrams of step S103;
Fig. 3 be Fig. 1 embodiment terminals show notification message method in another idiographic flow schematic diagrams of step S103;
Fig. 4 is the structural schematic diagram of one embodiment of the application terminal;
Fig. 5 is the structural schematic diagram for one embodiment of device that the application has store function.
Specific implementation mode
The application proposes a kind of method that terminal shows notification message first, as shown in Figure 1, Fig. 1 is that the application terminal is aobvious Show the flow diagram of one embodiment of method of notification message.The method that the application terminal shows notification message specifically includes following Step:
S101:Respectively obtain terminal currently show notification message first application and terminal notification message to be shown second Using.
Terminal is equipped with multiple applications, and can its corresponding notification message user, the application be pushed to using after being run The first application refer to having run, and the application of notification message is had been displayed in terminal, the second application of the application refers to terminal It newly runs or has run, and generate the application of notification message to be shown.Message to be shown described herein does not include hiding Notification message.
S102:The gear of the first application and the gear of the second application are obtained respectively.
The first application or the second application of the application can be single or multiple.When the first application or the second application are multiple In application, the gear each applied should be obtained respectively.Gear described herein can reflect using the significance level to user Or user's use habit, the high application of gear is high to the significance level of user or frequency of use is big, and the gear of application can basis The needs of user are configured, it is of course also possible to which the service condition to application according to user is updated.
S103:Notification message to be shown is shown according to the gear of the gear of the first application and the second application.
Specifically, the present embodiment can obtain terminal display notice according to the gear of the first application and the gear of the second application The display strategy of message, the display strategy include that current display notification message shows the aobvious of adjustable strategies and notification message to be shown Show strategy.The gear of application and the relationship of display strategy can be pre-stored in mapping table.
It is different from the prior art, the present embodiment terminal shows that the method for notification message can be logical according to the current display of terminal The gear of the second application of the gear and notification message to be shown of the first application of message is known to adjust current display notification message Display, to show message to be shown, you can to adjust the display of notification message according to the current gear of terminal applies, because This, the present embodiment can realize effective display of terminal notification message, improve user experience.
Optionally, the gear of first application of the present embodiment is identical as the gear of the second application, and the gear is including at least the One gear and the second gear, and the first application of the application and the second application permission show the first quantity of notification message in terminal Meet condition:A=B/ (N1+N2), wherein A, which is the first application, allows the first quantity or second that notification message is shown in terminal Using the first quantity for allowing to show notification message in terminal, that is to say, that each first application, which allows to show in terminal, to be notified The quantity of message and each second application allow to show that the quantity of notification message is A in terminal, and B, which is terminal, allows the logical of display Know that the quantity of message, N1 are the quantity of the application positioned at the first gear, N2 is the quantity of the application positioned at the second gear.For example, In an application scenarios, mobile phone tray interface can be allowed the quantity B of the notification message of display be limited to 20, Mei Geying It is 20/ (N1+N2) with the notification message quantity that can be shown, if originally an application shows 10 notification messages, subsequently There are 3 applications to have sent notification message again, then the notification message quantity that each application can be shown is 20/4=5 items, this is answered It will be hidden with 5 notification messages received earliest.When user wants to check that this applies transmitted all notification messages, Only need some notification message and upward sliding of the long-press application, you can show that this application sends but do not have before this There is the notification message being cancelled.
First application of the present embodiment includes the application positioned at the application of the first gear or positioned at the second gear, is answered second When with positioned at first gear, the application may be used method as shown in Figure 2 and realize that above-mentioned steps S103, Fig. 2 are Fig. 1 realities Apply mono- idiographic flow schematic diagrams of step S103 in a method for terminal display notification message.The method of the present embodiment includes following step Suddenly:
Step S201:Obtain the second quantity for applying the notification message currently shown in terminal positioned at the first gear.
Step S202:Judge whether the second quantity is less than the notification message that terminal allows display positioned at the application of the first gear Third quantity, if so, entering step S203.
When the second application of notification message to be shown is located at the first gear, the application positioned at the first gear should be first judged Current display notification message whether be more than the first gear of terminal display space (it is pre-assigned, be located at the first gear for showing Application notification message), if being not above the upper limit, illustrate that terminal the first gear display space can also be shown positioned at first grade The notification message to be shown of the application of position.
Step S203:Obtain the first difference of the second quantity and third quantity and the quantity of notification message to be shown.
Step S204:Judge whether the quantity of notification message to be shown is less than or equal to the first difference, if so, entering step Rapid S205.
Step S205:Show notification message to be shown.
When the first gear display space of terminal residual shows notification message to be shown enough, then notice to be shown is shown Message.
Optionally, the present embodiment can further include step S206- step S209 on the basis of the above embodiments, Specifically, in above-mentioned steps S204, if judging, the quantity of notification message to be shown is more than the first difference, enters step S206。
Step S206:Obtain positioned at the second gear application allow terminal show notification message the 4th quantity, the 4th Quantity meets condition:C=B/ (N1+N2) * N2, wherein C is the application permission positioned at the second gear in terminal display notification message The 4th quantity.
Step S207:Judge whether the 4th quantity is less than the application permission for being set in second gear position in advance in terminal display notice 5th quantity of message, if so, S208 is entered step, if it is not, then entering step S209.
If the not enough remaining spaces of the first gear display space show notification message to be shown, need to judge For second gear display space either with or without remaining space, which is the default difference for allowing space and practical permission space.
Step S208:The notification message that adjustment is currently shown positioned at the application of the second gear, and show that notice to be shown disappears Breath.
If the second gear display space of terminal has remaining space to show the first gear display space notification message to be shown, The display for the notification message that then adjustment is currently shown positioned at the application of the second gear, specifically, if the first gear display space has The remaining space of remaining space and the second gear display space shows notification message to be shown enough, then directly displays to be shown disappear Notification message, if the first gear display space have the remaining space of remaining space and the second gear display space it is inadequate when, it is hidden It hides part and is located at the notification message that the application of the second gear is currently shown, and show the notification message to be shown that disappears.
Step S209:Hide notification message to be shown.
If the second gear display space of terminal does not have remaining space to show notification message to be shown, hide to be shown logical Know message.
Optionally, the present embodiment can further include step S210 and step on the basis of the above embodiments S211.Specifically, in above-mentioned steps S202, if judging, the second quantity allows display answering positioned at the first gear not less than terminal The third quantity of notification message, then enter step S210.
Step S210:Judge whether the second quantity is equal to third quantity, if so, S206 is entered step, if it is not, then entering Step S211.
Step S211:Prompt display is abnormal.
Whether the current display notification message positioned at the application of the first gear, which is more than terminal, allows the upper limit shown, then illustrates First gear space then needs further to judge second gear bit space either with or without remaining space, here without remaining space It does not repeat.
Optionally, when the second application of notification message to be shown is located at the second gear, the application may be used such as Fig. 3 institutes The method shown realizes that above-mentioned steps S103, Fig. 3 are that Fig. 1 embodiment terminals show another tools of step S103 in the method for notification message Body flow diagram.The method of the present embodiment includes the following steps:
Step S301:The quantity for obtaining the notification message to be shown of the second application is applied with second and is currently shown in terminal The sum of quantity of notification message is the 6th quantity.
Step S302:Judge whether the 6th quantity is less than the first quantity, if so, S303 is entered step, if it is not, then entering Step S308.
If the sum of the quantity of the notification message to be shown of the second application and quantity of notification message for currently showing are less than the Two applications allow the first quantity A that notification message is shown in terminal, then illustrate that the second application of terminal also has remaining second gear Bit space.
Step S303:Obtain positioned at the second gear application allow terminal show notification message the 4th quantity, the 4th Quantity meets condition:C=B/ (N1+N2) * N2, wherein C is the application permission positioned at the second gear in terminal display notification message The 4th quantity.
Step S304:Judge whether the 4th quantity is less than the application permission for being set in second gear position in advance in terminal display notice 5th quantity of message, if so, S305 is entered step, if it is not, then entering step S309.
Although the second application there remains second gear bit space, also need to further judge answering positioned at the second gear Currently display allows to show whether the 4th quantity of notification message is fair less than the application for being set in second gear position in advance in terminal Perhaps the 5th quantity of notification message is shown in terminal.
Step S305:Obtain the second difference of the 6th quantity and the first quantity.
If it is pre- to allow the 4th quantity in terminal display notification message to be less than positioned at the current display of the application of the second gear Being set in the application of the second gear allows the 5th quantity that notification message is shown in terminal, then illustrates the residue of above-mentioned second application Second gear bit space can be used for showing message to be shown, the spilling without causing notification message.
Step S306:Judge whether the quantity of the notification message to be shown of the second application is less than or equal to the second difference, if It is then to enter step S307.
Step S307:Show notification message to be shown.
If the second gear bit space of the second application can show notification message to be shown, directly displays notice to be shown and disappear Breath.The message to be shown of each second application may be used above-mentioned display strategy and be shown.
Step S308:Hide notification message to be shown.
If the second of terminal applies no remaining second gear bit space, notification message to be shown is hidden.
Step S309:Notification message to be shown is shown using other display strategies.
Other display strategies include:If the current display notification message quantity for the application for being positioned at second gear is more than first Quantity A then hides the notification message of the spilling of the second application;Then judge whether the 4th quantity is less than the 5th quantity again, if so, Following step S310 is then carried out, if it is not, then carrying out step S308 (figure is not marked).
Optionally, the present embodiment can further include step S310- step S312 on the basis of the above embodiments, Specifically, in above-mentioned steps S306, if judging, the quantity of the notification message to be shown of the second application is more than the second difference, into Enter step S310.
Step S310:Obtain the second quantity for applying the notification message currently shown in terminal positioned at the first gear.
Step S311:Judge whether the second quantity is more than the notification message that terminal allows display positioned at the application of the first gear Numerical lower limits value, if so, entering step S312.If it is not, then entering step S308.
Step S312:Adjustment applies the notification message currently shown in terminal positioned at the first gear, and shows to be shown Notification message.
If the first gear display space of terminal has remaining space to show that notification message to be shown, adjustment are located at first grade The display for the notification message that the application of position is currently shown, specifically, if the remaining space and second gear of the first gear display space Position display space has remaining space to show notification message to be shown enough, then directly displays the notification message to be shown that disappears, if first The remaining space of gear display space and the second gear display space have remaining space it is inadequate when, then hidden parts are located at second gear The notification message that the application of position is currently shown, and show the notification message to be shown that disappears.
The application is it is further proposed that the method that the terminal of second embodiment shows notification message, and the method for the present embodiment is upper It states and further comprises step S601 on the basis of the method for embodiment.
Step S601:According to the first quantity A adjust separately first apply terminal show notification message quantity and second The quantity that notification message is shown in terminal is applied, to show notification message to be shown in terminal.
What the application did not limited step S601 and step S101- steps S103 executes sequence.
When terminal operating second is applied and generates notification message to be shown or exits first in application, being located at the first gear Application quantity N1 and can change positioned at the sum of the quantity N2 of application of the second gear, cause the first application and the second application to be permitted Perhaps show that the first quantity A of notification message changes in terminal, should adjust in time the first application and second apply it is aobvious in terminal Show the quantity of notification message, usually the current display notification message beyond the first quantity A is hidden, waits showing to obtain spatial display Show notification message.
Can be each of terminal application setting integral, to integrate answering in certain section in an application scenarios With corresponding gear is arranged, which can be updated the service condition of application according to user, in this way, can In real time according to the integral of the service condition of application update application, and according to the gear of integral adjustment application.
The application is it is further proposed that be managed the integral and gear of application and newer method.Specifically, at one In embodiment, size sequence can be carried out to the integral of multiple applications first, and before integral ranking 4 application is set as high-grade Position, the applications of integral ranking 5 to the 10th are set as middle gear, and integral ranking later is set as low-grade location 10.Certainly, exist In other application scene, the gear more than two or three can also be set, and the application number that each gear includes can also be it His quantity;When detecting that current display notification message is accessed, then increase corresponding with accessed current display notification message Application integral, or when the application for detecting terminal is out of service, then reduce the integral of application out of service;And according to Integral and the gear of preset table update application, wherein mapping table includes the mapping relations of integral and gear.
In above application scene, before ranking 4 application can at least show 12 notification messages, ranking the 5th to the 10th Application can at most show that 8 notification messages, ranking are then hidden in the notification message of 10 later applications.4 before ranking Application only there are one application when, which can at most show 12 notification messages, if there is 5 apply terminal show When showing notification message, each application allows the notification message quantity of display to be 20/5, before ranking 4 application can show 20/5*4 =16 notification messages.In another application scene, before ranking 4 application give notice, the application of ranking 5 to 10 is most It can show 8 notification messages, the message if preceding 4 application is not given notice, each application allows the notification message of display Quantity is then divided according to 20.
Certainly, in other embodiments, when detecting that current notifications message is actively eliminated, and eliminated after accessing, then The integral for increasing application corresponding with the currently display notification message that active is eliminated removes application, all removing application in button Or user then reduces the integral of the application when carrying out the operations such as background application cleaning notification message being caused to be removed.
Optionally, after clicking positioned at the application of low-grade location, the application of all low-grade locations can be shown, and show and each answer Newest notification message;User can click notification message to enter corresponding application;User clicks notification message and entrance If it is corresponding in application, the application integral be negative, integrate and is set as 0, after which is eliminated, integrate will not It reduces again.
Optionally, in same gear, if the number of the quantity and the application before the same integral ranking with integral application The sum of amount is more than the quantity of the preset application of the gear, then this is updated to next gear with integral application, for example, high tap position 4th has 5 with a point application, then is updated to the 5th with a point application by this 5, the 5th belongs to middle gear application.
Optionally, when application is unloaded, retain the integral of the application.When new opplication is mounted, if memory stores Have an integral of the application, and when the integral of the application is negative, then integrate and be set as 0, the integral of the application for positive number when, It is then integrated and is halved;If memory storage without the application integral, integrated be updated to the 4th and the 5th put down Mean value, and its gear is identical as the 4th.
The application is it is further proposed that a kind of terminal, as shown in figure 4, Fig. 4 is the structural representation of one embodiment of the application terminal Figure.The present embodiment terminal 401 includes display 402 and the processor 403 with the coupling of display 402, and display 402 is for showing The notification message of terminal 401;Processor 403 is for currently the first application of display notification message of acquisition terminal 401 respectively and eventually It holds the second of 401 notification messages to be shown to apply, and obtains the gear of the first application and the gear of the second application respectively;Processor 403 according to the gear of the first application and the gear control display 402 of the second application for showing notification message to be shown.
The terminal 401 of the present embodiment is additionally operable to realize above-mentioned all methods, does not repeat one by one here.
It is aobvious that the terminal 401 of the present embodiment can be that computer, mobile phone, tablet, intelligent wearable device, PAD or other are mounted with Show the terminal of device.
The application is it is further proposed that a kind of device with store function, as shown in figure 5, Fig. 5, which is the application, has storage The structural schematic diagram of one embodiment of device of function.The present embodiment has the device 501 of store function for storing above-mentioned implementation The related data 502 and program data 503 of example, wherein related data 502 includes at least the gear of above application, integral and two The mapping relations etc. of person, the method that program data 503 can be performed method described above embodiment.Related data 502 and program Data 503 have carried out detailed narration in above method embodiment, do not repeat here.
There is the present embodiment the device 501 of store function can be, but not limited to, USB flash disk, SD card, PD CD-ROM drives, movement firmly Disk, large capacity floppy drive, flash memory, multimedia memory card, server etc..
It is different from the prior art, the embodiment of the present application can be according to the first application of the current display notification message of terminal The gear of second application of gear and notification message to be shown adjusts the display of current display notification message, to be shown to show Message, you can to adjust the display of notification message according to the current gear of terminal applies, therefore, the application can realize terminal Effective display of notification message improves user experience.
If in addition, above-mentioned function is realized in the form of software function and sells or in use, can deposit as stand-alone product Storage is in a mobile terminal read/write memory medium, that is, and the application also provides a kind of storage device for the data that have program stored therein, Described program data can be performed the method to realize above-described embodiment, which can be such as USB flash disk, CD, service Device etc..That is, the application can be expressed in the form of software products comprising some instructions are used so that an intelligence Energy terminal executes all or part of step of each embodiment the method.
In the description of the present application, reference term " one embodiment ", " some embodiments ", " example ", " specific example ", Or the description of " some examples " etc. means particular features, structures, materials, or characteristics packet described in conjunction with this embodiment or example In at least one embodiment or example contained in the application.In the present specification, schematic expression of the above terms are necessarily It is directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be at any one Or it can be combined in any suitable manner in multiple embodiments or example.In addition, without conflicting with each other, those skilled in the art Member the feature of different embodiments or examples described in this specification and different embodiments or examples can be combined and Combination.
In addition, term " first ", " second " are used for description purposes only, it is not understood to indicate or imply relative importance Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or Implicitly include at least one this feature.In the description of the present application, the meaning of " plurality " is at least two, such as two, three It is a etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion Point, and the range of the preferred embodiment of the application includes other realization, wherein can not press shown or discuss suitable Sequence, include according to involved function by it is basic simultaneously in the way of or in the opposite order, to execute function, this should be by the application Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (can be personal computer, server, the network equipment or other can be from instruction execution System, device or equipment instruction fetch and the system executed instruction) it uses, or combine these instruction execution systems, device or equipment And it uses.For the purpose of this specification, " computer-readable medium " can be it is any can include, store, communicate, propagate, or transport Program is for instruction execution system, device or equipment or the device used in conjunction with these instruction execution systems, device or equipment. The more specific example (non-exhaustive list) of computer-readable medium includes following:Electrical connection with one or more wiring Portion's (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable light Disk read-only memory (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or its His suitable medium, because can be for example by carrying out optical scanner to paper or other media, then into edlin, interpretation or must It is handled with other suitable methods electronically to obtain described program when wanting, is then stored in computer storage In.
The foregoing is merely presently filed embodiments, are not intended to limit the scope of the claims of the application, every to utilize this Equivalent structure or equivalent flow shift made by application specification and accompanying drawing content, it is relevant to be applied directly or indirectly in other Technical field includes similarly in the scope of patent protection of the application..

Claims (10)

1. a kind of method that terminal shows notification message, which is characterized in that the method includes:
Obtain respectively the terminal currently show notification message first application and terminal notification message to be shown second Using;
The gear of first application and the gear of second application are obtained respectively;
The notification message to be shown is shown according to the gear of the gear of first application and second application.
2. according to the method described in claim 1, it is characterized in that, the shelves of the gear of first application and second application Position is identical, and the gear includes at least the first gear and the second gear, and first application and second application allow in institute It states terminal and shows that the first quantity of notification message meets condition:A=B/ (N1+N2);Wherein, the A is that first application is permitted Perhaps show that the first quantity of notification message or second application allow to show notification message in the terminal in the terminal First quantity, the B are the quantity for the notification message that the terminal allows display, and the N1 is answering positioned at first gear Quantity, the N2 are the quantity of the application positioned at second gear;
The method further includes:
Described first is adjusted separately according to first quantity apply show the quantity of notification message and/or described in the terminal Second applies the quantity that notification message is shown in the terminal, to show the notification message to be shown in the terminal.
3. according to the method described in claim 2, it is characterized in that, first application includes answering positioned at first gear With or positioned at second gear application, it is described second application be located at first gear when, it is described according to described first The gear of application and the gear of second application show that the notification message to be shown includes:
Obtain the second quantity for applying the notification message currently shown in the terminal positioned at first gear;
Judge whether second quantity is less than the notification message that the terminal allows display positioned at the application of first gear Third quantity;
If so, obtaining second quantity and the first difference of the third quantity and the number of the notification message to be shown Amount;
Judge whether the quantity of the notification message to be shown is less than or equal to first difference;
If the quantity of the notification message to be shown is less than or equal to first difference, show that the notice to be shown disappears Breath.
4. according to the method described in claim 3, it is characterized in that, the gear and described second according to first application The gear of application shows that the notification message to be shown further comprises:
If the quantity of the notification message to be shown is more than first difference, the application obtained positioned at second gear allows Show that the 4th quantity of notification message, the 4th quantity meet condition in the terminal:C=B/ (N1+N2) * N2, wherein institute It is the 4th quantity for allowing to show notification message in the terminal positioned at the application of second gear to state C;
Judge the 4th quantity whether be less than it is default described positioned at second gear using allowing to show in the terminal 5th quantity of notification message;
If the 4th quantity is less than the 5th quantity, what the adjustment application positioned at second gear was currently shown The display of notification message, and show the notification message to be shown.
5. according to the method described in claim 4, it is characterized in that, judging whether the 4th quantity is less than default institute described Rheme allows in the application of second gear:
Judge whether second quantity is equal to the third quantity;
If so, obtaining the 4th quantity.
6. according to the method described in claim 2, it is characterized in that, first application includes answering positioned at first gear With or positioned at second gear application, it is described second application be located at second gear when, it is described according to described first The gear of application and the gear of second application show that the notification message to be shown includes:
The quantity for obtaining the notification message to be shown of second application is applied with described second and is currently shown in the terminal The sum of quantity of notification message is the 6th quantity;
Judge whether the 6th quantity is less than first quantity;
If so, obtaining the application permission positioned at second gear in the 4th quantity of terminal display notification message, institute It states the 4th quantity and meets condition:C=B/ (N1+N2) * N2, wherein the C allows for the application positioned at second gear in institute State the 4th quantity that terminal shows notification message;
Judge the 4th quantity whether be less than it is default described positioned at second gear using allowing to show in the terminal 5th quantity of notification message;
If the 4th quantity is less than the 5th quantity, obtain the 6th quantity and first quantity second is poor Value;
Judge whether the quantity of the notification message to be shown of second application is less than or equal to second difference;
If the quantity of the notification message to be shown of second application is less than or equal to second difference, wait showing described in display Show notification message.
7. according to the method described in claim 6, it is characterized in that, the gear and described second according to first application The gear of application shows that the notification message to be shown further comprises:
If the quantity of the notification message to be shown of second application is more than second difference, obtains and be located at described first grade The second quantity for applying the notification message currently shown in the terminal of position;
Judge whether second quantity is more than the notification message that the terminal allows display positioned at the application of first gear Numerical lower limits value;
If so, adjustment is described to apply the notification message currently shown in the terminal positioned at first gear, and show The notification message to be shown.
8. according to the method described in claim 1, it is characterized in that, the method further includes:
When detecting that the current display notification message is accessed, then increase and the accessed current display notification message The integral of corresponding application;
When detecting that the application of the terminal is out of service, then the integral of the application out of service is reduced;
Update the gear of the application according to the integral and preset table, wherein the mapping table include the integral with it is described The mapping relations of gear.
9. a kind of terminal, which is characterized in that the terminal includes:
Display, the display are used to show the notification message of the terminal;
Processor is coupled with the display, and the processor currently shows notification message for obtaining the terminal respectively First application and the second application of terminal notification message to be shown, and the gear and described of first application is obtained respectively The gear of second application;The processor is used to control institute according to the gear of first application and the gear of second application It states display and shows the notification message to be shown.
10. a kind of device with store function, which is characterized in that be stored thereon with program data, which is characterized in that the journey Ordinal number is according to the step being performed in any one of realization claim 1-8 the methods.
CN201810186515.3A 2018-03-07 2018-03-07 Method for displaying notification message by terminal, terminal and device with storage function Active CN108668003B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810186515.3A CN108668003B (en) 2018-03-07 2018-03-07 Method for displaying notification message by terminal, terminal and device with storage function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810186515.3A CN108668003B (en) 2018-03-07 2018-03-07 Method for displaying notification message by terminal, terminal and device with storage function

Publications (2)

Publication Number Publication Date
CN108668003A true CN108668003A (en) 2018-10-16
CN108668003B CN108668003B (en) 2021-01-26

Family

ID=63784999

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810186515.3A Active CN108668003B (en) 2018-03-07 2018-03-07 Method for displaying notification message by terminal, terminal and device with storage function

Country Status (1)

Country Link
CN (1) CN108668003B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111340499A (en) * 2020-02-12 2020-06-26 支付宝(杭州)信息技术有限公司 Information prompting method, device, equipment and computer readable medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104035663A (en) * 2014-05-23 2014-09-10 小米科技有限责任公司 Method and device for displaying notification message
CN104484378A (en) * 2014-12-09 2015-04-01 深圳市中兴移动通信有限公司 Method, device and terminal for pushing notification messages
CN104750550A (en) * 2015-04-20 2015-07-01 上海斐讯数据通信技术有限公司 Mobile terminal application management system and method and use time record generating method
CN105786322A (en) * 2016-03-22 2016-07-20 北京金山安全软件有限公司 Application notification message display method and device and electronic equipment
CN105786313A (en) * 2016-02-25 2016-07-20 北京金山安全软件有限公司 Application notification message display method and device
CN106528791A (en) * 2016-11-08 2017-03-22 宇龙计算机通信科技(深圳)有限公司 Method and device for pushing notification messages
CN106681595A (en) * 2017-01-03 2017-05-17 珠海市魅族科技有限公司 Management method and management system for announcement messages and terminal
CN107395884A (en) * 2017-07-18 2017-11-24 维沃移动通信有限公司 A kind of display methods and mobile terminal of applicative notifications message

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104035663A (en) * 2014-05-23 2014-09-10 小米科技有限责任公司 Method and device for displaying notification message
CN104484378A (en) * 2014-12-09 2015-04-01 深圳市中兴移动通信有限公司 Method, device and terminal for pushing notification messages
CN104750550A (en) * 2015-04-20 2015-07-01 上海斐讯数据通信技术有限公司 Mobile terminal application management system and method and use time record generating method
CN105786313A (en) * 2016-02-25 2016-07-20 北京金山安全软件有限公司 Application notification message display method and device
CN105786322A (en) * 2016-03-22 2016-07-20 北京金山安全软件有限公司 Application notification message display method and device and electronic equipment
CN106528791A (en) * 2016-11-08 2017-03-22 宇龙计算机通信科技(深圳)有限公司 Method and device for pushing notification messages
CN106681595A (en) * 2017-01-03 2017-05-17 珠海市魅族科技有限公司 Management method and management system for announcement messages and terminal
CN107395884A (en) * 2017-07-18 2017-11-24 维沃移动通信有限公司 A kind of display methods and mobile terminal of applicative notifications message

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111340499A (en) * 2020-02-12 2020-06-26 支付宝(杭州)信息技术有限公司 Information prompting method, device, equipment and computer readable medium
CN111340499B (en) * 2020-02-12 2023-06-20 支付宝(杭州)信息技术有限公司 Information prompting method, device, equipment and computer readable medium

Also Published As

Publication number Publication date
CN108668003B (en) 2021-01-26

Similar Documents

Publication Publication Date Title
US11799815B2 (en) Group management method, terminal, and storage medium
JP6957632B2 (en) Notification channel for computing device notifications
WO2022001900A1 (en) Information sending method and apparatus, and electronic device
CN103562860B (en) Desktop as Immersive Application
US20190073099A1 (en) Method and device for launching application and electronic device
US8607250B2 (en) Visually indicating a calendar event among different time zones
US20190361580A1 (en) Progressive presence user interface for collaborative documents
US20200336447A1 (en) Method and device for displaying reply message
CN106453066A (en) Group session processing method and system, terminal and server
US20090125835A1 (en) Graphical user interface component that includes visual controls for expanding and collapsing information shown in a window
CN109542578A (en) A kind of display methods of list interface, device, equipment and storage medium
KR102343306B1 (en) Display control method, terminal, information-processing device, and recording medium in which program is recorded
CN106155457A (en) A kind of message prompt method and device
CN106716356A (en) Component-specific application presentation histories
US10235975B2 (en) Method and system for providing a real time content updates to a user
CN113301157A (en) Cloud mobile phone group control method, equipment and storage medium based on android system
CN114385049A (en) Message processing method, device, equipment and storage medium
CN113794795A (en) Information sharing method and device, electronic equipment and readable storage medium
CN105959474A (en) Short message editing method and terminal
CN108668003A (en) The method that terminal shows notification message, terminal and the device with store function
US11630688B2 (en) Method and apparatus for managing content across applications
CN111813296A (en) View component display method and device and terminal
CN114374663B (en) Message processing method and message processing device
CN113489833B (en) Information broadcasting method, device, equipment and storage medium
US20180343212A1 (en) Provide status message associated with work status

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant