CN100568890C - A kind of method of automatic adjustment menu focus position - Google Patents
A kind of method of automatic adjustment menu focus position Download PDFInfo
- Publication number
- CN100568890C CN100568890C CNB2007101272037A CN200710127203A CN100568890C CN 100568890 C CN100568890 C CN 100568890C CN B2007101272037 A CNB2007101272037 A CN B2007101272037A CN 200710127203 A CN200710127203 A CN 200710127203A CN 100568890 C CN100568890 C CN 100568890C
- Authority
- CN
- China
- Prior art keywords
- menu item
- predetermined weights
- menu
- current weight
- focus
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Digital Computer Display Output (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a kind of method of automatic adjustment menu focus position, comprise configuration phase and operational phase; Described configuration phase comprises: be the initial current weight of each menu item definition, and the initial position of menu focus; The described operational phase comprises: the current weight of adjusting respective menu items according to the operated menu item of user; According to the change of the current weight of menu item, corresponding change menu focus position.After having adopted the solution of the present invention, menu focus is adjusted on the menu item that subscriber usage is the highest at no distant date automatically, user friendly operation reduces unnecessary operation.
Description
Technical field
The present invention relates to menu structure, relate in particular to a kind of method of automatic adjustment menu focus position.
Background technology
Along with the increase of mobile communication terminal device function, in following 3G business, the new function of new business emerges in an endless stream especially, and menu content is more and more, and the focal position of menu becomes one of key factor that influences equipment availability.
A key factor that influences this availability is exactly the menu function tabulation, and the user may use the priority difference to menu function because of different hobbies.With the SMS module is example; for domestic consumer; the possibility of newly-built note is bigger; therefore can make number one " newly-built " function; and, use the menu of " inbox " many for the user of frequent transmitting-receiving short message, if therefore always " newly-built " menu item is placed above the other things; for the user of frequent answer short message, need to carry out once-through operation at least so more.So, not only influence the availability of product, also influence the life-span of product because of some unnecessary operations.
In the 3G epoch in future, terminal equipment will be born lot of data and manage business, and under its other resources and the processing speed condition of limited, if increase some unnecessary operations again, not only expend system resource, and have influence on the stability of product.And can make user's complicated operationization; Rely on battery to keep the terminal equipment of operation for some, these unnecessary operation meetings cause waste to electric energy.
Summary of the invention
The problem to be solved in the present invention provides a kind of method of automatic adjustment menu focus position, can adjust menu focus position according to the height of user's frequency of usage, thereby simplifies the operation of user and relevant device, has saved device resource.
The technical solution used in the present invention is:
A kind of method of automatic adjustment menu focus position comprises configuration phase and operational phase;
Described configuration phase comprises: be the initial current weight of each menu item definition, and the initial position of menu focus;
The described operational phase comprises: the current weight of adjusting respective menu items according to the operated menu item of user, wherein, when the menu item of operation focus place, change the current weight of other menu item, when the menu item of the non-focus of operation place, change the current weight of operated menu item; According to the change of the current weight of menu item, corresponding change menu focus position.
Further, described configuration phase also comprises:
Be the initial predetermined weights of each menu item definition; The initial predetermined weights of each menu item are different, and the initial predetermined weights of each menu item equal the initial current weight of itself; The initial position of menu focus is on the menu item of predetermined weights minimum.
Further, the described operational phase specifically comprises:
A, when the menu item of the predetermined weights minimum of operation, carry out B1, otherwise carry out B2;
B1, increase the current weight of other menu item; Judge to increase in described other menu item in back whether the predetermined weights of the current weight of menu item greater than this menu item are arranged, if not then directly carry out C; If have, then these current weight are done following operation greater than the menu item of predetermined weights: make its current weight equal separately predetermined weights, carry out C then; Wherein, described last menu item is meant the menu item of predetermined weights less than the difference minimum of the predetermined weights of operated menu item and its predetermined weights and the predetermined weights of operated menu item;
B2, reduce the current weight of this menu item; Judge the current weight reduce the operated menu item in back whether less than the predetermined weights of last menu item, if be not less than then directly carry out C; If less than the predetermined weights of last menu item of clearing house actions menu item and its would make the current weight of these two menu items equal separately predetermined weights then, carry out C;
C, with the menu item of menu focus corresponding to predetermined weights minimum.
Further, described configuration phase also comprises:
Be the initial predetermined weights of each menu item definition; The initial predetermined weights of each menu item are different, and the initial predetermined weights of each menu item equal the initial current weight of itself; The initial position of menu focus is on the menu item of predetermined weights maximum.
Further, the described operational phase specifically comprises:
A, when the menu item of the predetermined weights maximum of operation, carry out b1, otherwise carry out b2;
B1, reduce the current weight of other menu item; Judge to reduce in described other menu item in the back whether predetermined weights of the current weight of menu item less than this menu item being arranged, if not then directly carry out c; If have, then these current weight are done following operation less than the menu item of predetermined weights: make its current weight equal separately predetermined weights, carry out c then; Wherein said last menu item is meant the menu item of predetermined weights greater than the difference minimum of the predetermined weights of operated menu item and its predetermined weights and the predetermined weights of operated menu item;
B2, increase the current weight of this menu item; Whether the current weight that judge to increase the operated menu item in back greater than the predetermined weights of last menu item, if be not more than then directly carry out c; If greater than the predetermined weights of last menu item of clearing house actions menu item and its would make the current weight of these two menu items equal separately predetermined weights then, carry out c;
C, with the menu item of menu focus corresponding to predetermined weights maximum.
After having adopted the solution of the present invention, menu focus is adjusted on the menu item that subscriber usage is the highest at no distant date automatically, user friendly operation reduces unnecessary operation.
Description of drawings
Fig. 1 is the concrete implementing procedure figure that adjusts menu focus position according to user operation habits automatically of the present invention.
Embodiment
Below in conjunction with drawings and Examples technical scheme of the present invention is described in detail.
Core concept of the present invention is: set predetermined weights and current weight for each menu item in advance; When menu item was operated, the current weight of this menu item was once revised in every operation; Menu focus automatic focus is to the menu item of current weight maximum (or minimum), thereby realization is according to the focusing item of user operation habits location menu focus, to reduce the user key-press number of times.Can but be not limited to set a weights variable quantity, revise current weight according to this variable quantity at every turn.
Method concrete steps of the present invention are as follows, comprise configuration phase and operational phase:
At configuration phase, the data structure of definition dynamic menu, and define and initialization according to actual menu content is initial predetermined weights and the current weight of each menu item definition, and definition weights variable quantity, and the weights variable quantity can be for just also can be for negative.The initial predetermined weights of each menu item are different, and the initial current weight of each menu item equals initial predetermined weights separately.Such as: the initial predetermined weights of menu item " information ", " multimedia " and " recreation " are set at 2,6,8 respectively, and their initial current weight promptly is respectively 2,6,8.
The initial predetermined weights that can be defaulted as the most frequent menu item of operation are set in all menu items maximum; Accordingly, with the position of menu focus menu item corresponding to predetermined weights maximum; Also just be equivalent to the menu item of menu focus position corresponding to the current weight maximum.
The initial predetermined weights that also can be defaulted as the most frequent menu item of operation are set in all menu items minimum; Accordingly, with the position of menu focus menu item corresponding to predetermined weights minimum; Also just be equivalent to the menu item of menu focus position corresponding to the current weight minimum.
In the operational phase, when the user operates a certain menu, the current weight of respective menu items to be adjusted, difference specifies the specific implementation method below in two kinds of situation according to the difference of the set positions of menu focus.
Situation one, menu focus position are arranged on the menu item of predetermined weights minimum, and the operational phase specifically comprises the steps:
A, user operate a menu item.
B, judge that whether operated menu item is the menu item of predetermined weights minimum, if then carry out B1; Otherwise carry out B2.
B1, increase the current weight of other menu item.If increase in described other menu item in back the predetermined weights of the current weight of menu item greater than this menu item are arranged, then these current weight are done following operation greater than the menu item of predetermined weights: make its current weight equal separately predetermined weights.
When entering the menu operation interface once more, the user carries out C.
B2, reduce the current weight of this menu item.If reduce the predetermined weights of the current weight of the operated menu item in back less than last menu item, the predetermined weights of clearing house actions menu item and its last menu item then make the current weight of these two menu items equal separately predetermined weights then.
When entering the menu operation interface once more, the user carries out C.
C, with the menu item of menu focus corresponding to predetermined weights minimum.
Described last menu item is meant such menu item: its predetermined weights are less than the difference minimum of the predetermined weights of operated menu item and its predetermined weights and the predetermined weights of operated menu item.Such as having three menu items, be respectively " information ", " multimedia " and " recreation ", its predetermined weights are respectively 2,6,8, and then last the menu item of " recreation " is meant " multimedia "; Last the menu item of " multimedia " is meant " information ".
When adjusting menu focus position, the menu item of described predetermined weights minimum is exactly the menu item of current weight minimum, so the menu item of menu focus corresponding to predetermined weights minimum also just is equivalent to the menu item of menu focus corresponding to the current weight minimum.
If situation two menu focus positions are arranged on the menu item of predetermined weights maximum:
A, user operate a menu item.
B, judge that whether operated menu item is the menu item of predetermined weights maximum, if then carry out b1; Otherwise carry out b2.
B1, reduce the current weight of other menu item.The predetermined weights of the current weight of menu item less than this menu item are arranged if reduce the back in described other menu item, then these current weight are done following operation less than the menu item of predetermined weights: make its current weight equal separately predetermined weights.
When entering the menu operation interface once more, the user carries out c.
B2, increase the current weight of this menu item.If increase the current weight of the operated menu item in back and be the predetermined weights greater than last menu item, the predetermined weights of clearing house actions menu item and its last menu item then make the current weight of these two menu items equal separately predetermined weights then.
When entering the menu operation interface once more, the user carries out c.
C, with the menu item of menu focus corresponding to predetermined weights maximum.
Described last menu item is meant such menu item: its predetermined weights are greater than the difference minimum of the predetermined weights of operated menu item and its predetermined weights and the predetermined weights of operated menu item.Such as having three menu items, be respectively " information ", " multimedia " and " recreation ", its predetermined weights are respectively 9,5,1, and then last the menu item of " recreation " is meant " multimedia "; Last the menu item of " multimedia " is meant " information ".
When adjusting menu focus position, the menu item of described predetermined weights maximum is exactly the menu item of current weight maximum, so the menu item of menu focus corresponding to predetermined weights maximum also just is equivalent to the menu item of menu focus corresponding to the current weight maximum.
The above-mentioned amplitude that reduces and increase the menu item current weight is described weights variable quantity, and its size is decided according to adjusting needed susceptibility; Described susceptibility is high more then with fixed big more of described weights variable quantity; If wish just to adjust when non-focus place menu item is operated the frequency slightly more than focus place menu item focus, the susceptibility height that needs is described then; If wish just to adjust when non-focus place menu item is operated the most overfocus place of frequency menu item, illustrate that then the susceptibility that needs is low.
Further be illustrated with an application example of the present invention below, as shown in Figure 1, comprise:
Configuration phase:
The first step: the data structure of definition dynamic menu.
For example: the Data Structures of definition menu is as follows:
struct?TmnuState{
Definition menu name is character types:
char*strMenuName;
The predetermined weights of definition are floating point type:
float?fltFixR;
The definition current weight is a floating point type:
float?fltVarR;
...
};
Second step: define and initialization according to actual menu content.
For example: the one-level menu sequencing following 1 of system) " information ", 2) " menu call ", 3) " multimedia ", 4) " contextual model ", 5) " setting ", 6) " schedule ", 7) " tool box ", 8) " recreation ", 9) " STK ".
1) definition
The definition menu item:
menuState?FirMenu[9];
Definition weights variable quantity;
float?fltVuite;
2) initialization
for?int?i=0,8
{
FirMenu[i].fltfixR=(float)i;
FirMenu[i].fltVarR=(float)i;
}
FirMenu[0] .strMenuName=" information ";
FirMenu[1] .strMenuName=" menu call ";
FirMenu[2] .strMenuName=" multimedia ";
FirMenu[3] .strMenuName=" contextual model ";
FirMenu[4] .strMenuName=" setting ";
FirMenu[5] .strMenuName=" schedule ";
FirMenu[6] .strMenuName=" tool box ";
FirMenu[7] .strMenuName=" recreation ";
FirMenu[8].strMenuName=”STK”;
fltVuite=-0.2;
The initial ordering of menu can be stored, recover when needed.
Should increase successively with the increase of the initial predetermined weights of each menu item in the example and current weight according to index value; The initial position of focus is on the menu item of predetermined weights minimum, and promptly index value is on 0 the menu item " information ".
Operational phase:
The user selects " affirmation " operation or digital shortcut keys:
1) when the operated menu item of user be focus place menu item, be that index value is 0 menu item in this example, then improve other menu item---be index value more than or equal to the current weight of 1 menu item, the weights variable quantity is a negative in this example, and the method that therefore improves current weight promptly deducts the weights variable quantity; If the current weight after improving is greater than predetermined weights, the current weight of then establishing these menu items equals the predetermined weights of himself.
2) when the operated menu item of user is not focus place menu item, reduce the current weight of operated menu item, promptly add the weights variable quantity in this example; If its current weight less than the predetermined weights of a last menu item, then exchanges the predetermined weights of two menu items, and make the current weight of these two menu items equal predetermined weights.
The code of realizing is as follows:
switch(FocusIdx)
{
case?0:
The processing of when first of user operation menu tabulation, carrying out be improve second and after the current weight of each menu item:
for(i=1;i<=8;i++)
{
FirMenu[i].fltVarR-=fltVuite;
If the current weight after improving then makes current weight equal its predetermined weights greater than predetermined weights.
If(FirMenu[i].fltVarR>FirMenu[i].fltFixR)
{
FirMenu[i].fltVarR=FirMenu[i].fltFixR;
}
}
break;
default:
The processing of carrying out when the menu of user's operation is not focus place menu item is the current weight that reduces the menu item correspondence:
FirMenu[FocusIdx].fltVarR+=fltVuite;
If current weight less than the predetermined weights of an adjacent last menu item, then exchanges the predetermined weights of two menu subitems, make both current weight equal the predetermined weights of self then.
If(FirMenu[FocusIdx].fltVarR<FirMenu[FocusIdx-1].fltFixR)
{
float?Tmpval;
Tmpval=FirMenu[FocusIdx-1].fltfixR;
FirMenu[FocusIdx-1].fltfixR=FirMenu[FocusIdx].fltfixR;
FirMenu[FocusIdx].fltfixR=Tmpval;
...
}
break;
}
When the user enters the menu operation interface once more, with the menu item of menu focus corresponding to predetermined weights/current weight minimum.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.
Claims (5)
1, a kind of method of automatic adjustment menu focus position comprises configuration phase and operational phase;
Described configuration phase comprises: be the initial current weight of each menu item definition, and the initial position of menu focus;
The described operational phase comprises: the current weight of adjusting respective menu items according to the operated menu item of user, wherein, when the menu item of operation focus place, change the current weight of other menu item, when the menu item of the non-focus of operation place, change the current weight of operated menu item; According to the change of the current weight of menu item, corresponding change menu focus position.
2, the method for claim 1 is characterized in that, described configuration phase also comprises:
Be the initial predetermined weights of each menu item definition; The initial predetermined weights of each menu item are different, and the initial predetermined weights of each menu item equal the initial current weight of itself; The initial position of menu focus is on the menu item of predetermined weights minimum.
3, method as claimed in claim 2 is characterized in that, the described operational phase specifically comprises:
A, when the menu item of the predetermined weights minimum of operation, carry out B1, otherwise carry out B2;
B1, increase the current weight of other menu item; Judge to increase in described other menu item in back whether the predetermined weights of the current weight of menu item greater than this menu item are arranged, if not then directly carry out C; If have, then these current weight are done following operation greater than the menu item of predetermined weights: make its current weight equal separately predetermined weights, carry out C then;
B2, reduce the current weight of this menu item; Judge the current weight reduce the operated menu item in back whether less than the predetermined weights of last menu item, if be not less than then directly carry out C; If less than the predetermined weights of last menu item of clearing house actions menu item and its would make the current weight of these two menu items equal separately predetermined weights then, carry out C; Wherein, described last menu item is meant the menu item of predetermined weights less than the difference minimum of the predetermined weights of operated menu item and its predetermined weights and the predetermined weights of operated menu item;
C, with the menu item of menu focus corresponding to predetermined weights minimum.
4, the method for claim 1 is characterized in that, described configuration phase also comprises:
Be the initial predetermined weights of each menu item definition; The initial predetermined weights of each menu item are different, and the initial predetermined weights of each menu item equal the initial current weight of itself; The initial position of menu focus is on the menu item of predetermined weights maximum.
5, method as claimed in claim 4 is characterized in that, the described operational phase specifically comprises:
A, when the menu item of the predetermined weights maximum of operation, carry out b1, otherwise carry out b2;
B1, reduce the current weight of other menu item; Judge to reduce in described other menu item in the back whether predetermined weights of the current weight of menu item less than this menu item being arranged, if not then directly carry out c; If have, then these current weight are done following operation less than the menu item of predetermined weights: make its current weight equal separately predetermined weights, carry out c then;
B2, increase the current weight of this menu item; Whether the current weight that judge to increase the operated menu item in back greater than the predetermined weights of last menu item, if be not more than then directly carry out c; If greater than the predetermined weights of last menu item of clearing house actions menu item and its would make the current weight of these two menu items equal separately predetermined weights then, carry out c; Wherein, described last menu item is meant the menu item of predetermined weights greater than the difference minimum of the predetermined weights of operated menu item and its predetermined weights and the predetermined weights of operated menu item;
C, with the menu item of menu focus corresponding to predetermined weights maximum.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2007101272037A CN100568890C (en) | 2007-06-28 | 2007-06-28 | A kind of method of automatic adjustment menu focus position |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2007101272037A CN100568890C (en) | 2007-06-28 | 2007-06-28 | A kind of method of automatic adjustment menu focus position |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101110852A CN101110852A (en) | 2008-01-23 |
CN100568890C true CN100568890C (en) | 2009-12-09 |
Family
ID=39042738
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2007101272037A Active CN100568890C (en) | 2007-06-28 | 2007-06-28 | A kind of method of automatic adjustment menu focus position |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100568890C (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101287222B (en) * | 2008-06-11 | 2011-07-27 | 华为终端有限公司 | Method and device for positioning of focal |
CN101437082B (en) * | 2008-11-27 | 2011-07-06 | 华为终端有限公司 | Method for processing menu display and communication equipment |
CN103391351B (en) * | 2012-05-07 | 2016-09-28 | 中兴通讯股份有限公司 | Realize menu individual, automatization's tissue and the method shown and mobile terminal |
CN103259927B (en) * | 2013-04-19 | 2015-05-13 | 深圳市金立通信设备有限公司 | Method for adjusting position of mobile terminal menu and mobile terminal |
CN110703964B (en) * | 2019-09-30 | 2022-06-03 | 阿波罗智联(北京)科技有限公司 | Page cursor position setting method and device, mobile terminal and server |
-
2007
- 2007-06-28 CN CNB2007101272037A patent/CN100568890C/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN101110852A (en) | 2008-01-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101977365B (en) | Method and system for indicating residual mobile phone Internet traffic | |
CN102595521A (en) | Communication operating method, portable device including dual sim card and, network system supporting the same | |
CN103248757A (en) | Method and device for message notification | |
CN104380254A (en) | A method and a terminal for quick start of an application service | |
CN102160402A (en) | Method of providing communication function for communication group, and mobile communication terminal and presence server for the same | |
CN100568890C (en) | A kind of method of automatic adjustment menu focus position | |
CN103491256B (en) | Communication processing method and terminal device | |
CN101937363A (en) | Mobile terminal operating mode switching method and mobile terminal | |
CN101202780A (en) | System and method for managing contextual model | |
CN101237256A (en) | Electronic device and NFC-control method based on other electronic device | |
CN1987764A (en) | Method for automatically regulating menu sequencing habit according to user operation | |
CN102960001A (en) | Calling method, terminal and device | |
CN101771953A (en) | Method for realizing information interaction in multi-mobile-terminal and network equipment thereof | |
CN101834943A (en) | Method and device for switching working mode of mobile terminal | |
CN104394269B (en) | Call control method and mobile terminal | |
CN106302915A (en) | The intelligent dialing method of a kind of self-assisted voice service and terminal | |
CN105262881A (en) | Communication control method and electronic equipment | |
CN102970431A (en) | Mobile phone mode switching method and mobile phone | |
CN102868819B (en) | A kind of process the method and device of communication service under common account | |
CN102263847A (en) | Mobile phone mode selection method and mode-selectable mobile phone | |
CN101370217B (en) | The method and mobile terminal of a kind of optimizing operation sequence of mobile terminal | |
CN102932533A (en) | Method and device for third party application program to call contacts | |
CN106303026A (en) | A kind of method and system realizing shutdown incoming call | |
CN103237050A (en) | Method and system for intelligent voice interaction | |
CN107995645A (en) | Method for connecting network, mobile terminal and computer-readable recording medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |