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.