CN103744584A - Method for switching type information in notification bar, device and mobile terminal - Google Patents

Method for switching type information in notification bar, device and mobile terminal Download PDF

Info

Publication number
CN103744584A
CN103744584A CN201410040034.3A CN201410040034A CN103744584A CN 103744584 A CN103744584 A CN 103744584A CN 201410040034 A CN201410040034 A CN 201410040034A CN 103744584 A CN103744584 A CN 103744584A
Authority
CN
China
Prior art keywords
button
informing
type information
user
current
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.)
Pending
Application number
CN201410040034.3A
Other languages
Chinese (zh)
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.)
Shell Internet Beijing Security Technology Co Ltd
Original Assignee
Shell Internet Beijing Security 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 Shell Internet Beijing Security Technology Co Ltd filed Critical Shell Internet Beijing Security Technology Co Ltd
Priority to CN201410040034.3A priority Critical patent/CN103744584A/en
Publication of CN103744584A publication Critical patent/CN103744584A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a method for switching type information in notification bar, a device and a mobile terminal. The method comprises the following steps: respectively constructing a counter for counting the triggered number of corresponding button for each button in the notification bar; constructing the mapping relationship between the type information of each button in the notification bar and the corresponding counter number; acquiring a triggered request of a current button, executing function corresponding to the current button according to the triggered request, acquiring the type information of the current button according to the counter number of the current button and the mapping relationship between the type information and the counter number, and displaying the corresponding type information on a corresponding region of the current button. The method provided by the invention can execute the corresponding function of the current button and acquire the type information of the current button after obtaining the triggered request of the current button, and can display the corresponding type information in the corresponding region of the current button at the same, thereby realizing carousel of different functions of the button and improving the user experience. In addition, the method is simple to implement.

Description

In informing, carry out method, device and the mobile terminal of type information switching
Technical field
The present invention relates to field of computer technology, relate in particular to a kind of method, device and mobile terminal that carries out type information switching in informing.
Background technology
Fast development along with mobile terminal technology, various mobile terminals are very universal, on the screen of mobile terminal, be provided with a viewing area, this viewing area is referred to as informing, and carry button such as battery button, data that informing generally includes terminal system connect button and bluetooth button etc.
The mobile terminal of systems more than Android 4.1 versions can add various function buttons in informing, such as the button of calling back, note button etc.After above-mentioned functions button is clicked, can trigger a method, in the method, can comprise a Boolean type (be or no) parameter, thereby by this parameter, realize the switching function of corresponding button.
But, in realizing process of the present invention, inventor finds that prior art at least exists following problem: the button in informing can only have a function, battery doctor's the function of unlatching battery saving mode of take is example, as shown in Figure 1, button only has a kind of controlled attribute, [open battery saving mode] or [closing battery saving mode], therefore, a lot of application programs (APP) can only abandon using the function of informing button.
Summary of the invention
The present invention is intended at least one of solve the problems of the technologies described above.
For this reason, first object of the present invention is to propose a kind of method of carrying out type information switching in informing.The method has realized the carousel of button difference in functionality, and the button having solved in existing informing can only, with the defect of a function, improve user and use probability and the Experience Degree of various buttons in informing, and realize simple.
Second object of the present invention is to propose a kind of device that carries out type information switching in informing.
The 3rd object of the present invention is to propose a kind of mobile terminal.
To achieve these goals, first aspect present invention embodiment carries out the method for type information switching in informing, comprises the following steps:
For each button in informing is set up respectively a counter, counter is for adding up the number of times that is triggered of corresponding button;
Set up the type information of each button in informing and the mapping relations of corresponding counter values; And
Obtain the request of being triggered of current button, according to the request of being triggered, carry out function corresponding to current button, according to the mapping relations of the counter values of current button and type information and counter values, obtain the type information of current button, and show corresponding type information on region corresponding to current button.
The embodiment of the present invention in informing, carry out the method for type information switching, for each button in informing is set up respectively a counter and is set up the type information of each button and the mapping relations of corresponding counter values, and the function that the current button of execution is corresponding after the request of being triggered that obtains current button and the type information that obtains current button, on region corresponding to current button, show corresponding type information simultaneously, thereby realized the carousel of button difference in functionality, the button having solved in existing informing can only be with the defect of a function, probability and Experience Degree that user uses various buttons in informing have been improved, and realize simple.
To achieve these goals, second aspect present invention embodiment carries out the device of type information switching in informing, comprising: counter is set up module, mapping relations are set up module and processing module.
The embodiment of the present invention in informing, carry out the device of type information switching, by counter, setting up module is that each button in informing is set up respectively a counter, by map information, set up module and set up the type information of each button and the mapping relations of corresponding counter values, by processing module, obtain the rear function corresponding to current button of carrying out of the request of being triggered of current button, and set up module and mapping relations are set up the type information that module obtains current button according to counter, on region corresponding to current button, show that corresponding type information realizes the carousel of button difference in functionality simultaneously, the button having solved in existing informing can only be with the defect of a function, probability and Experience Degree that user uses various buttons in informing have been improved, and realize simple.
To achieve these goals, the mobile terminal of third aspect present invention embodiment, comprising: housing, processor, storer, circuit board and power circuit, and wherein, circuit board is placed in the interior volume that housing surrounds, and processor and storer are arranged on circuit board; Power circuit, is used to each circuit or the device power supply of mobile terminal; Storer is for stores executable programs code; Processor moves the program corresponding with executable program code by the executable program code of storing in read memory, for:
For each button in informing is set up respectively a counter, counter is for adding up the number of times that is triggered of corresponding button; Set up the type information of each button in informing and the mapping relations of corresponding counter values; And the request of being triggered that obtains current button, according to the request of being triggered, carry out function corresponding to current button, according to the mapping relations of the counter values of current button and type information and counter values, obtain the type information of current button, and show corresponding type information on region corresponding to current button.
The mobile terminal of the embodiment of the present invention, for each button in informing is set up respectively a counter and is set up the type information of each button and the mapping relations of corresponding counter values, and the function that the current button of execution is corresponding after the request of being triggered that obtains current button and the type information that obtains current button, on region corresponding to current button, show that corresponding type information realizes the carousel of button difference in functionality simultaneously, the button having solved in existing informing can only be with the defect of a function, probability and Experience Degree that user uses various buttons in informing have been improved, and realize simple.
The aspect that the present invention is additional and advantage in the following description part provide, and part will become obviously from the following description, or recognize by practice of the present invention.
Accompanying drawing explanation
Above-mentioned and/or the additional aspect of the present invention and advantage will become from the following description of the accompanying drawings of embodiments and obviously and easily understand, wherein,
Fig. 1 is the schematic diagram of button in existing informing;
Fig. 2 carries out the process flow diagram of the method for type information switching according to an embodiment of the invention in informing;
Fig. 3 is the switching schematic diagram of battery button in informing according to an embodiment of the invention;
Fig. 4 a is the process flow diagram of the handoff procedure of message the Show Button in informing according to an embodiment of the invention;
Fig. 4 b is the switching schematic diagram of message the Show Button in informing according to an embodiment of the invention;
Fig. 5 a is the process flow diagram of the handoff procedure of information the Show Button in informing according to an embodiment of the invention;
Fig. 5 b is the switching schematic diagram of information the Show Button in informing according to an embodiment of the invention;
Fig. 6 a is the process flow diagram of opening fast according to an embodiment of the invention the implementation procedure of conventional application;
Fig. 6 b is the schematic diagram of opening fast according to an embodiment of the invention conventional application;
Fig. 7 carries out the structural representation of the device of type information switching according to an embodiment of the invention in informing.
Embodiment
Describe embodiments of the invention below in detail, the example of embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or has the element of identical or similar functions from start to finish.Below by the embodiment being described with reference to the drawings, be exemplary, only for explaining the present invention, and can not be interpreted as limitation of the present invention.On the contrary, embodiments of the invention comprise spirit and all changes within the scope of intension, modification and the equivalent that falls into additional claims.
In description of the invention, term " first ", " second " etc. are only for describing object, and can not be interpreted as indication or hint relative importance.In description of the invention, unless otherwise clearly defined and limited, term " is connected ", " connection " should be interpreted broadly, and for example, can be to be fixedly connected with, and can be also to removably connect, or connects integratedly; Can be mechanical connection, can be to be also electrically connected to; Can be to be directly connected, also can indirectly be connected by intermediary.For the ordinary skill in the art, can concrete condition understand above-mentioned term concrete meaning in the present invention.In addition,, in description of the invention, except as otherwise noted, the implication of " a plurality of " is two or more.
In process flow diagram or any process of otherwise describing at this or method describe and can be understood to, represent to comprise that one or more is for realizing module, fragment or the part of code of executable instruction of the step of specific logical function or process, and the scope of the preferred embodiment of the present invention comprises other realization, wherein can be not according to order shown or that discuss, comprise according to related function by the mode of basic while or by contrary order, carry out function, this should be understood by embodiments of the invention person of ordinary skill in the field.
The method, device and the mobile terminal that in informing, carry out type information switching of the embodiment of the present invention are described below with reference to accompanying drawing.
Fig. 2 carries out the process flow diagram of the method for type information switching according to an embodiment of the invention in informing.The method can be applicable to have on the mobile terminal of Android system or other system.
The method of as shown in Figure 2, carrying out type information switching in informing comprises the following steps:
S201, for each button in informing is set up respectively a counter, counter is for adding up the number of times that is triggered of corresponding button;
Wherein, informing is presented at mobile terminal screen foremost all the time, and with the variation of interface of mobile terminal, does not change.Button in informing both can comprise that system carried button and also can comprise that the button newly increasing is user-defined various function button, such as message the Show Button etc.
In order to increase new button in informing, can realize in the following way: receive button editor signal, according to button editor signal, in informing, show corresponding button.
Above-mentioned informing can be system or trigger event of the set button area of user response click event for example, switches to open mode when clicking for the first time, again clicks and switches to closed condition.Utilize this click event to switch in order a plurality of functions of button, realize the carousel of a push button function, thereby make a button realize opening or closing of a plurality of functions.
In order to make the button in informing can practical function carousel, need to set up respectively a counter for each button in informing, this counter is for adding up the number of times that is triggered of corresponding button.
S202, sets up the type information of each button in informing and the mapping relations of corresponding counter values;
In the present embodiment, except setting up respectively a counter for each button in informing, also need to set up the type information of each button and the mapping relations of corresponding counter values.
The system of take below carries button battery button as example, describes the type information of battery button and the mapping relations of corresponding counter values, as shown in table 1.
The type information of table 1 battery button and the mapping relations of corresponding counter values
The type information of battery button Counter values
Originate mode 3k
Battery saving mode 3k+1
Ultra electric power-saving mode 3k+2
Wherein, k=0,1,2 ...
S203, obtain the request of being triggered of current button, according to the request of being triggered, carry out function corresponding to current button, according to the mapping relations of the counter values of current button and type information and counter values, obtain the type information of current button, and show corresponding type information on region corresponding to current button.
When current button is triggered, mobile terminal system obtains the request of being triggered of current button, according to this request of being triggered, carry out function corresponding to current button, simultaneously, according to the counter values of current button and mapping relations, obtain the type information of current button, and show corresponding type information on region corresponding to current button.
As shown in Figure 3, mobile phone is at first in originate mode, and user is after clicking the battery button that shows [being switched to battery saving mode], and system just switches to battery saving mode, and at this moment battery button is just shown as [being switched to ultra electric power-saving mode]; If user clicks battery button again, system just switches to ultra electric power-saving mode so, battery button is just shown as [being switched to originate mode], as can be seen here, the opening and closing of these three patterns, only need a button just can realize, and compare with existing informing button, arrange flexibly, and there is polytype information.
In addition, can also in informing, increase shortcut, for example, open the shortcut of different APP.The process that increases these shortcuts is: receive editor's control signal of shortcut, according to editor's control signal, show the shortcut after user edits in informing.
Further, can also increase corresponding switching controls key for above-mentioned shortcut and button, concrete implementation procedure is: the editor's signal that receives the switching controls key corresponding with described shortcut or described user-defined function button; According to described editor's signal, in described informing, show described switching controls key; Receive the trigger request of user to described switching controls key, according to described trigger request and current function corresponding to described shortcut, switch, or switch according to described trigger request and current function corresponding to described user-defined function button.And described switching controls key can comprise forward direction switching controls key and/or Backward handoff operating key.
Above-mentioned method of carrying out type information switching in informing, for each button in informing is set up respectively a counter and is set up the type information of each button and the mapping relations of corresponding counter values, and the function that the current button of execution is corresponding after the request of being triggered that obtains current button and the type information that obtains current button, on region corresponding to current button, show corresponding type information simultaneously, thereby realized the carousel of button difference in functionality, the button having solved in existing informing can only be with the defect of a function, probability and Experience Degree that user uses various buttons in informing have been improved, and realize simple.
Fig. 4 a is the process flow diagram of the handoff procedure of message the Show Button in informing according to an embodiment of the invention.This embodiment be take message the Show Button and technical scheme of the present invention is described in detail as example.
As shown in Fig. 4 a, the handoff procedure of this message the Show Button comprises the following steps:
S400, receipt message the Show Button editor signal, according to this message the Show Button editor signal display message the Show Button in informing.
Wherein, message the Show Button is user-defined button, and step S400 is optional step, even in informing, successfully adds message the Show Button, does not need to carry out this step.
S401, for the message the Show Button in informing is set up a counter, this counter is for the number of times that is triggered of statistical message the Show Button.
In order to make message the Show Button in informing can realize the carousel of different messages, need to set up a counter for message the Show Button, to add up its number of times that is triggered.
S402, sets up the type information of message the Show Button and the mapping relations of corresponding counter values.
Except needs, for message the Show Button, set up a counter, also need to set up the type information of message the Show Button and the mapping relations of corresponding counter values, as shown in table 2.
The type information of table 2 message the Show Button and the mapping relations of corresponding counter values
The type information of message the Show Button Counter values
Short message 3k
Micro-letter message 3k+1
News messages 3k+2
Wherein, k=0,1,2 ...
S403, obtain the request of being triggered of message the Show Button, according to the request of being triggered, carry out function corresponding to message the Show Button, according to the mapping relations of the counter values of message the Show Button and type information and counter values, obtain the type information of message the Show Button, and show corresponding type information on region corresponding to message the Show Button.
When message the Show Button is triggered, terminal system obtains the request of being triggered of message the Show Button, according to this request of being triggered, carry out function corresponding to message the Show Button, simultaneously, according to the counter values of message the Show Button and mapping relations, obtain the type information of message the Show Button, and show corresponding type information on region corresponding to message the Show Button.
As shown in Figure 4 b, user is after clicking the message the Show Button that shows [seeing fast micro-letter message], and system is just opened micro-letter, and at this moment message the Show Button is just shown as [seeing fast news messages]; If user clicks message the Show Button again, system just switches to and opens news so, message the Show Button is just shown as [seeing fast short message], if user clicks message the Show Button again, system just switches to and opens note so, and at this moment message the Show Button is just shown as [seeing fast micro-letter message], as can be seen here, the opening and closing of these three kinds of message, only need a button just can realize, and arrange flexibly.
As can be seen here, user can increase custom button as required in informing, the technical scheme that adopts the embodiment of the present invention to provide can realize the carousel of custom button, for example user can the micro-letter message of fast browsing, news messages, short message, call reminding etc., to find information own interested or that pay close attention to, then according to the information that finds, carry out subsequent operation, such as calling back etc. to household or important client according to call reminding, thereby brought convenience to user's operation.
Fig. 5 a is the process flow diagram of the handoff procedure of information the Show Button in informing according to an embodiment of the invention.This embodiment be take information the Show Button and technical scheme of the present invention is described in detail as example.
As shown in Figure 5 a, the handoff procedure of this information the Show Button comprises the following steps:
S500, receives information the Show Button editor signal, according to this information the Show Button editor signal, shows information the Show Button in informing.
Wherein, information the Show Button is user-defined button, and step S500 is optional step, even in informing, successfully adds information the Show Button, does not need to carry out this step.
S501, for the information the Show Button in informing is set up a counter, this counter is for the number of times that is triggered of statistical information the Show Button.
In order to make information the Show Button in informing can realize the carousel of different messages, need to set up a counter for information the Show Button, to add up its number of times that is triggered.
S502, sets up the type information of information the Show Button and the mapping relations of corresponding counter values.
Except needs, for information the Show Button, set up a counter, also need to set up the type information of information the Show Button and the mapping relations of corresponding counter values, as shown in table 3.
The type information of table 3 information the Show Button and the mapping relations of corresponding counter values
The type information of information the Show Button Counter values
News daily 3k
Entertainment news 3k+1
Sports news 3k+2
Wherein, k=0,1,2 ...
S503, the request of being triggered of acquired information the Show Button, according to function corresponding to request execution information the Show Button that be triggered, according to the type information of mapping relations acquired information the Show Button of the counter values of information the Show Button and type information and counter values, and show corresponding type information on region corresponding to information the Show Button.
As shown in Figure 5 b, user is after clicking the information the Show Button that shows [seeing fast entertainment news], and system is just opened entertainment news, and at this moment information the Show Button is just shown as [seeing fast sports news]; If user is click information the Show Button again, system just switches to and opens sports news so, information the Show Button is just shown as [seeing fast news daily], if user is click information the Show Button again, system just switches to and opens news daily so, and at this moment information the Show Button is just shown as [seeing fast entertainment news], as can be seen here, the opening and closing of these three kinds of news, only need a button just can realize, and arrange flexibly.
In addition, user is when watching entertainment news, find that an entertainment news is relevant to the partial content in the news daily of watching before, now user need to be switched to news daily by forward direction switching controls key, after finishing watching news daily, need to be again switched to entertainment news by Backward handoff operating key, therefore, need to increase forward and backward switching controls key in this embodiment, concrete implementation procedure can be referring to subsequent step S504.
S504, receives editor's signal of the forward and backward switching controls key corresponding with information the Show Button, according to this editor's signal, shows forward and backward switching controls key in informing.
In the present embodiment, switching controls key comprises forward direction switching controls key and Backward handoff operating key, and as shown in Figure 5 b, left arrow represents forward direction switching controls key, and right arrow represents Backward handoff operating key.
S505, receives the trigger request of user to forward direction switching controls key, according to trigger request and information the Show Button, switches accordingly when the news type of front opening.
System is after receiving the trigger request of forward direction switching controls key, can awareness information the Show Button when the i.e. order of the news type corresponding with table 3 of the order of the news type of front opening and the news type opened thereof, thereby the news type of opening before can obtaining, therefore, can open the news of corresponding types.
For example, what current informing showed is sports news, and user clicks after forward direction switching controls key, can switch to entertainment news.
S506, receives the trigger request of user to Backward handoff operating key, according to trigger request and information the Show Button, switches accordingly when the news type of front opening.
Backward handoff operating key to realize principle identical with forward direction switching controls key, do not repeat herein.If what current informing showed is entertainment news, user clicks after Backward handoff operating key, can switch to sports news.
As can be seen here, user can increase custom button and switching controls key as required in informing, the technical scheme that adopts the embodiment of the present invention to provide can realize the carousel of custom button, for example user can view (sites) in turn news daily, entertainment news and sports news etc., can also realize and watch the front and back between dissimilar news in process to switch by switching controls key, thereby bring great convenience to user's operation, to user, bring good experience.
In order to increase the function of informing, for example can open fast conventional APP, the embodiment of the present invention can also increase shortcut in informing, and as shown in Figure 6 a, the implementation procedure of opening fast conventional APP comprises the following steps:
Editor's control signal of S601, reception shortcut.
Shortcut is in this embodiment for opening fast the shortcut of conventional application.
S602, according to this editor's control signal, in informing, show accordingly shortcut.
Above-mentioned steps S601-602 is optional step, if there has been this shortcut in informing, just need to perform step S601-602.
Editor's signal of the switching controls key that S603, reception are corresponding with shortcut shows switching controls key according to editor's signal in informing, and this switching controls key comprises forward direction switching controls key and Backward handoff operating key.
As shown in Figure 6 b, left arrow represents forward direction switching controls key, and right arrow represents Backward handoff operating key.
S604, the trigger request of reception user to forward direction switching controls key, switch according to trigger request and current function corresponding to shortcut.
As shown in Figure 6 b, by clicking left and right arrow, can be switched to other application, for example, the shortcut of conventional application is opened in click fast can open QQ fast, then clicks right arrow, can be switched to news APP, now click again this shortcut, just can open news APP, etc.
As can be seen here, by increase shortcut and forward and backward switching controls key in informing, and by working in coordination between them, can realize and open fast a lot of conventional application, operation is very easy.
In order to realize above-described embodiment, the present invention also proposes a kind of device that carries out type information switching in informing.
Fig. 7 carries out the structural representation of the device of type information switching according to an embodiment of the invention in informing.
As shown in Figure 7, the device that carries out type information switching in informing comprises: counter is set up module 710, mapping relations are set up module 720 and processing module 730, wherein:
Counter is set up module 710 and is used to each button in informing to set up respectively a counter, and this counter is for adding up the number of times that is triggered of corresponding button; Mapping relations are set up module 720 for setting up the type information of each button and the mapping relations of corresponding counter values of informing; Processing module 730 is for obtaining the request of being triggered of current button, according to the request of being triggered, carry out function corresponding to current button, according to the mapping relations of the counter values of current button and type information and counter values, obtain the type information of current button, and show corresponding type information on region corresponding to current button.
Wherein, informing is presented at mobile terminal screen foremost all the time, and with the variation of interface of mobile terminal, does not change.Button in informing both can comprise that system carried button and also can comprise that the button newly increasing is user-defined various function button, such as message the Show Button etc.
In order to increase new button in informing, this device can also comprise: receiver module 740 and display module 750, wherein:
Receiver module 740 is for receiving editor's control signal of user-defined function button; Display module 750 is for showing accordingly user-defined function button according to editor's control signal at informing.
Above-mentioned informing can be system or trigger event of the set button area of user response click event for example, switches to open mode when clicking for the first time, again clicks and switches to closed condition.Utilize this click event to switch in order a plurality of functions of button, realize the carousel of a push button function, thereby make a button realize opening or closing of a plurality of functions.
In addition, can also in informing, increase shortcut, now, receiver module 740 is for receiving editor's control signal of shortcut; Display module 750 is for showing accordingly shortcut according to editor's control signal at informing.
Further, for the function of shortcut or the execution of user-defined function button is switched, above-mentioned receiver module 740 is also for receiving editor's signal of the switching controls key corresponding with shortcut or user-defined function button; Display module 750 is also for showing switching controls key according to editor's signal at informing, and this switching controls key comprises forward direction switching controls key and Backward handoff operating key; Processing module 730, also for receiving the trigger request of user to switching controls key, is switched according to trigger request and current function corresponding to shortcut, and concrete handoff procedure and effect can, referring to Fig. 6 a and Fig. 6 b, not repeat herein; Can switch according to trigger request and current function corresponding to user-defined function button, concrete handoff procedure and effect can, referring to Fig. 5 a and Fig. 5 b, not repeat herein yet.
Utilize the device shown in Fig. 7 can realize the pattern switching that mobile terminal system carries button, concrete handoff procedure can be referring to Fig. 3; The function that can also realize user-defined button is switched, and concrete handoff procedure can, referring to Fig. 5 b, not repeat herein.
The above-mentioned device that carries out type information switching in informing, by counter, setting up module is that each button in informing is set up respectively a counter, by map information, set up module and set up the type information of each button and the mapping relations of corresponding counter values, by processing module, obtain the rear function corresponding to current button of carrying out of the request of being triggered of current button, and set up module and mapping relations are set up the type information that module obtains current button according to counter, on region corresponding to current button, show that corresponding type information realizes the carousel of button difference in functionality simultaneously, the button having solved in existing informing can only be with the defect of a function, probability and Experience Degree that user uses various buttons in informing have been improved, and realize simple.
In order to realize above-described embodiment, the present invention also proposes a kind of mobile terminal.
This mobile terminal comprises housing, processor, storer, circuit board and power circuit, and wherein, described circuit board is placed in the interior volume that described housing surrounds, and described processor and described storer are arranged on described circuit board; Described power circuit, is used to each circuit or the device power supply of described mobile terminal; Described storer is for stores executable programs code; Described processor moves the program corresponding with described executable program code by reading the executable program code of storing in described storer, for carrying out following steps:
S201 ', for each button in informing is set up respectively a counter, counter is for adding up the number of times that is triggered of corresponding button;
Wherein, informing is presented at mobile terminal screen foremost all the time, and with the variation of interface of mobile terminal, does not change.Button in informing both can comprise that system carried button and also can comprise that the button newly increasing is user-defined various function button, such as message the Show Button etc.
In order to increase new button in informing, can realize in the following way: receive button editor signal, according to button editor signal, in informing, show corresponding button.
Above-mentioned informing can be system or trigger event of the set button area of user response click event for example, switches to open mode when clicking for the first time, again clicks and switches to closed condition.Utilize this click event to switch in order a plurality of functions of button, realize the carousel of a push button function, thereby make a button realize opening or closing of a plurality of functions.
In order to make the button in informing can practical function carousel, need to set up respectively a counter for each button in informing, this counter is for adding up the number of times that is triggered of corresponding button.
S202 ', sets up the type information of each button in informing and the mapping relations of corresponding counter values;
In the present embodiment, except setting up respectively a counter for each button in informing, also need to set up the type information of each button and the mapping relations of corresponding counter values.
The system of take below carries button battery button as example, describes the type information of battery button and the mapping relations of corresponding counter values, as shown in table 4.
The type information of table 4 battery button and the mapping relations of corresponding counter values
The type information of battery button Counter values
Originate mode 3k
Battery saving mode 3k+1
Ultra electric power-saving mode 3k+2
Wherein, k=0,1,2 ...
S203 ', obtain the request of being triggered of current button, according to the request of being triggered, carry out function corresponding to current button, according to the mapping relations of the counter values of current button and type information and counter values, obtain the type information of current button, and show corresponding type information on region corresponding to current button.
When current button is triggered, processor obtains the request of being triggered of current button, according to this request of being triggered, carry out function corresponding to current button, simultaneously, according to the counter values of current button and mapping relations, obtain the type information of current button, and show corresponding type information on region corresponding to current button.
As shown in Figure 3, mobile phone is at first in originate mode, and user is after clicking the battery button that shows [being switched to battery saving mode], and system just switches to battery saving mode, and at this moment battery button is just shown as [being switched to ultra electric power-saving mode]; If user clicks battery button again, system just switches to ultra electric power-saving mode so, battery button is just shown as [being switched to originate mode], as can be seen here, the opening and closing of these three patterns, only need a button just can realize, and compare with existing informing button, arrange flexibly, and there is polytype information.
In addition, can also in informing, increase shortcut, for example, open the shortcut of different APP.The process that increases these shortcuts is: receive editor's control signal of shortcut, according to editor's control signal, show the shortcut after user edits in informing.
Further, this processor can also increase corresponding switching controls key for above-mentioned shortcut and button, and concrete implementation procedure is: the editor's signal that receives the switching controls key corresponding with described shortcut or described user-defined function button; According to described editor's signal, in described informing, show described switching controls key; Receive the trigger request of user to described switching controls key, according to described trigger request and current function corresponding to described shortcut, switch, or switch according to described trigger request and current function corresponding to described user-defined function button.And described switching controls key can comprise forward direction switching controls key and/or Backward handoff operating key.
Above-mentioned processor carries out handoff procedure and the effect of button can be referring to Fig. 4 a-4b and Fig. 5 a-5b, and handoff procedure and the effect of carrying out shortcut can, referring to Fig. 6 a-6b, not repeat herein.
Above-mentioned mobile terminal, for each button in informing is set up respectively a counter and is set up the type information of each button and the mapping relations of corresponding counter values, and the function that the current button of execution is corresponding after the request of being triggered that obtains current button and the type information that obtains current button, on region corresponding to current button, show that corresponding type information realizes the carousel of button difference in functionality simultaneously, the button having solved in existing informing can only be with the defect of a function, probability and Experience Degree that user uses various buttons in informing have been improved, and realize simple.
Should be appreciated that each several part of the present invention can realize with hardware, software, firmware or their combination.In the above-described embodiment, a plurality of steps or method can realize with being stored in storer and by software or the firmware of suitable instruction execution system execution.For example, if realized with hardware, the same in another embodiment, can realize by any one in following technology well known in the art or their combination: have for data-signal being realized to the discrete logic of the logic gates of logic function, the special IC with suitable combinational logic gate circuit, programmable gate array (PGA), field programmable gate array (FPGA) etc.
In the description of this instructions, the description of reference term " embodiment ", " some embodiment ", " example ", " concrete example " or " some examples " etc. means to be contained at least one embodiment of the present invention or example in conjunction with specific features, structure, material or the feature of this embodiment or example description.In this manual, the schematic statement of above-mentioned term is not necessarily referred to identical embodiment or example.And the specific features of description, structure, material or feature can be with suitable mode combinations in any one or more embodiment or example.
Although illustrated and described embodiments of the invention, those having ordinary skill in the art will appreciate that: in the situation that not departing from principle of the present invention and aim, can carry out multiple variation, modification, replacement and modification to these embodiment, scope of the present invention is limited by claim and equivalent thereof.

Claims (15)

1. in informing, carry out a method for type information switching, it is characterized in that, comprising:
For each button in informing is set up respectively a counter, described counter is for adding up the number of times that is triggered of corresponding button;
Set up the type information of each button in described informing and the mapping relations of corresponding counter values; And
Obtain the request of being triggered of current button, according to the described request of being triggered, carry out function corresponding to described current button, according to the mapping relations of the counter values of current button and described type information and counter values, obtain the type information of described current button, and show corresponding type information on region corresponding to described current button.
2. method according to claim 1, is characterized in that, the button in described informing comprises that system carries button and user-defined function button.
3. method according to claim 1, is characterized in that, described method also comprises:
Receive editor's control signal of shortcut and/or user-defined function button;
According to described editor's control signal, in described informing, show accordingly described shortcut and/or described user-defined function button.
4. method according to claim 3, is characterized in that, described according to described editor's control signal, in described informing, show accordingly described shortcut and/or described user-defined function button after, described method also comprises:
Receive editor's signal of the switching controls key corresponding with described shortcut or described user-defined function button;
According to described editor's signal, in described informing, show described switching controls key;
Receive the trigger request of user to described switching controls key, according to described trigger request and current function corresponding to described shortcut, switch, or switch according to described trigger request and current function corresponding to described user-defined function button.
5. method according to claim 4, is characterized in that, described switching controls key comprises forward direction switching controls key and/or Backward handoff operating key.
6. in informing, carry out a device for type information switching, it is characterized in that, comprising:
Counter is set up module, is used to each button in informing to set up respectively a counter, and described counter is for adding up the number of times that is triggered of corresponding button;
Mapping relations are set up module, for setting up the type information of each button and the mapping relations of corresponding counter values of described informing; And
Processing module, for obtaining the request of being triggered of current button, according to the described request of being triggered, carry out function corresponding to described current button, according to the mapping relations of the counter values of current button and described type information and counter values, obtain the type information of described current button, and show corresponding type information on region corresponding to described current button.
7. device according to claim 6, is characterized in that, the button in described informing comprises that system carries button and user-defined function button.
8. device according to claim 6, is characterized in that, described device also comprises:
Receiver module, for receiving editor's control signal of shortcut and/or user-defined function button;
Display module, for showing accordingly described shortcut and/or described user-defined function button according to described editor's control signal at described informing.
9. device according to claim 8, it is characterized in that, described receiver module, also for: after described display module shows described shortcut and/or described user-defined function button, receive editor's signal of the switching controls key corresponding with described shortcut or described user-defined function button;
Described display module, also for showing described switching controls key according to described editor's signal at described informing;
Described processing module, also for receiving the trigger request of user to described switching controls key, according to described trigger request and current function corresponding to described shortcut, switch, or switch according to described trigger request and current function corresponding to described user-defined function button.
10. device according to claim 9, is characterized in that, described switching controls key comprises forward direction switching controls key and/or Backward handoff operating key.
11. 1 kinds of mobile terminals, is characterized in that, comprise housing, processor, storer, circuit board and power circuit, wherein,
Described circuit board is placed in the interior volume that described housing surrounds, and described processor and described storer are arranged on described circuit board;
Described power circuit, is used to each circuit or the device power supply of described mobile terminal;
Described storer is for stores executable programs code;
Described processor moves the program corresponding with described executable program code by reading the executable program code of storing in described storer, for:
For each button in informing is set up respectively a counter, described counter is for adding up the number of times that is triggered of corresponding button;
Set up the type information of each button in described informing and the mapping relations of corresponding counter values; And
Obtain the request of being triggered of current button, according to the described request of being triggered, carry out function corresponding to described current button, according to the mapping relations of the counter values of current button and described type information and counter values, obtain the type information of described current button, and show corresponding type information on region corresponding to described current button.
12. mobile terminals according to claim 11, is characterized in that, the button in described informing comprises that system carries button and user-defined function button.
13. mobile terminals according to claim 11, is characterized in that, described processor is further used for:
Receive editor's control signal of shortcut and/or user-defined function button;
According to described editor's control signal, in described informing, show accordingly described shortcut and/or described user-defined function button.
14. mobile terminals according to claim 13, is characterized in that, described according to described editor's control signal, in described informing, show accordingly described shortcut and/or described user-defined function button after, described processor is further used for:
The editor's signal that receives the switching controls key corresponding with described shortcut or described user-defined function button shows described switching controls key according to described editor's signal in described informing;
Receive the trigger request of user to described switching controls key, according to described trigger request and current function corresponding to described shortcut, switch, or switch according to described trigger request and current function corresponding to described user-defined function button.
15. mobile terminals according to claim 14, is characterized in that, described switching controls key comprises forward direction switching controls key and/or Backward handoff operating key.
CN201410040034.3A 2014-01-27 2014-01-27 Method for switching type information in notification bar, device and mobile terminal Pending CN103744584A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410040034.3A CN103744584A (en) 2014-01-27 2014-01-27 Method for switching type information in notification bar, device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410040034.3A CN103744584A (en) 2014-01-27 2014-01-27 Method for switching type information in notification bar, device and mobile terminal

Publications (1)

Publication Number Publication Date
CN103744584A true CN103744584A (en) 2014-04-23

Family

ID=50501606

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410040034.3A Pending CN103744584A (en) 2014-01-27 2014-01-27 Method for switching type information in notification bar, device and mobile terminal

Country Status (1)

Country Link
CN (1) CN103744584A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104331246A (en) * 2014-11-19 2015-02-04 广州三星通信技术研究有限公司 Device and method for split screen display in terminal
CN105843535A (en) * 2016-03-18 2016-08-10 深圳市万普拉斯科技有限公司 Control method and control panel, and terminal
CN105867772A (en) * 2016-04-14 2016-08-17 深圳天珑无线科技有限公司 Method and device for quickly closing application notice and user equipment
CN105912195A (en) * 2016-04-01 2016-08-31 厦门美柚信息科技有限公司 Information display method and device
CN106385351A (en) * 2016-10-13 2017-02-08 北京小米移动软件有限公司 Control method and device of intelligent household equipment
CN110032292A (en) * 2018-01-11 2019-07-19 和硕联合科技股份有限公司 Electronic device and its control mode touch mode switching method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060224989A1 (en) * 2005-04-01 2006-10-05 Microsoft Corporation Method and apparatus for application window grouping and management
CN102203716A (en) * 2011-05-13 2011-09-28 华为终端有限公司 Renewing method of key displaying way and wireless handheld device thereof
US20120260217A1 (en) * 2011-04-11 2012-10-11 Microsoft Corporation Three-dimensional icons for organizing, invoking, and using applications
CN102799347A (en) * 2012-06-05 2012-11-28 北京小米科技有限责任公司 User interface interaction method and device for touch screen device, and touch screen device
CN103150081A (en) * 2013-02-25 2013-06-12 广东欧珀移动通信有限公司 Method for creating user-defined shortcut icon in notification bar of mobile terminal, and device thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060224989A1 (en) * 2005-04-01 2006-10-05 Microsoft Corporation Method and apparatus for application window grouping and management
US20120260217A1 (en) * 2011-04-11 2012-10-11 Microsoft Corporation Three-dimensional icons for organizing, invoking, and using applications
CN102203716A (en) * 2011-05-13 2011-09-28 华为终端有限公司 Renewing method of key displaying way and wireless handheld device thereof
CN102799347A (en) * 2012-06-05 2012-11-28 北京小米科技有限责任公司 User interface interaction method and device for touch screen device, and touch screen device
CN103150081A (en) * 2013-02-25 2013-06-12 广东欧珀移动通信有限公司 Method for creating user-defined shortcut icon in notification bar of mobile terminal, and device thereof

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104331246A (en) * 2014-11-19 2015-02-04 广州三星通信技术研究有限公司 Device and method for split screen display in terminal
CN105843535A (en) * 2016-03-18 2016-08-10 深圳市万普拉斯科技有限公司 Control method and control panel, and terminal
CN105843535B (en) * 2016-03-18 2019-10-01 深圳市万普拉斯科技有限公司 A kind of control method and terminal of control panel
CN105912195A (en) * 2016-04-01 2016-08-31 厦门美柚信息科技有限公司 Information display method and device
CN105867772A (en) * 2016-04-14 2016-08-17 深圳天珑无线科技有限公司 Method and device for quickly closing application notice and user equipment
CN106385351A (en) * 2016-10-13 2017-02-08 北京小米移动软件有限公司 Control method and device of intelligent household equipment
CN106385351B (en) * 2016-10-13 2019-12-13 北京小米移动软件有限公司 Control method and device of intelligent household equipment
CN110032292A (en) * 2018-01-11 2019-07-19 和硕联合科技股份有限公司 Electronic device and its control mode touch mode switching method

Similar Documents

Publication Publication Date Title
CN103744584A (en) Method for switching type information in notification bar, device and mobile terminal
EP3579104B1 (en) Method and apparatus for establishing an application prediction model, storage medium and terminal
CN115357178B (en) Control method applied to screen-throwing scene and related equipment
EP4187890A1 (en) Unread message display method and apparatus, and electronic device and storage medium
CN104035663A (en) Method and device for displaying notification message
CN102981723B (en) Unlocking method and unlocking device for mobile terminal and mobile terminal
JP2017517996A (en) Application message display method, apparatus, terminal, program, and recording medium
CN110673769A (en) Information processing method and electronic equipment
KR20170019725A (en) Electronic device and method for controlling output of notification thereof
CN106210231B (en) A kind of method and mobile terminal of information processing
CN104346256A (en) Method and device for acquiring power consumption information of application program and mobile terminal
CN104182196A (en) Multi-screen display method and mobile terminal
CN111796734B (en) Application program management method, management device, electronic device and storage medium
CN104598238A (en) Shielding method of application push message and intelligent terminal
CN106959797B (en) A kind of setting method and mobile terminal notifying footmark
CN110597974B (en) Instant messaging method and device, computer equipment and terminal equipment
CN107015797A (en) Application integrating display methods and application integrating display device
CN104168385A (en) Double card switchover method and device
CN104731478A (en) Single-hand operation method and device of intelligent terminal
CN104156245A (en) List updating method and device
CN107562262B (en) Method for responding touch operation, terminal and computer readable storage medium
CN112087364B (en) Session list display method, device and storage medium
CN105260269A (en) Backup method and device as well as terminal for chatting records
CN108337376A (en) Pair screen method for information display, mobile terminal and storage medium
CN106528326B (en) A kind of switching method and mobile terminal of baseband chip software

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20140423