CN103543901A - Method and device for generating menus - Google Patents
Method and device for generating menus Download PDFInfo
- Publication number
- CN103543901A CN103543901A CN201310567674.5A CN201310567674A CN103543901A CN 103543901 A CN103543901 A CN 103543901A CN 201310567674 A CN201310567674 A CN 201310567674A CN 103543901 A CN103543901 A CN 103543901A
- Authority
- CN
- China
- Prior art keywords
- menu
- traffic item
- generating
- operations
- generation
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0482—Interaction with lists of selectable items, e.g. menus
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Telephone Function (AREA)
Abstract
The invention provides a method and device for generating menus. The method comprises the steps of obtaining a current clock value of a user terminal, obtaining a current time period where the current clock value is located according to time periods which are divided in advance, obtaining the number of operation times of at least one service item used by the user terminal within the current time period according to the current time period, and generating the menus, wherein the menus at least comprise service items that the number of the operation times of the user meets preset rules within the current time period. According to the method and device for generating the menus, due to the fact that the different menus are generated within the different time periods, the actual requirements of the user can be met, user experience is improved, and the user operation is facilitated.
Description
Technical field
The present invention relates to communication terminal technology, relate in particular to a kind of method and apparatus that generates menu.
Background technology
Along with the extensive popularization of intelligent terminal, use the user of intelligent terminal more and more.In prior art, can on the main screen of intelligent terminal, show master menu, this master menu comprises the icon of the traffic item that at least one user often uses, with user-friendly.
In practice, the master menu of this intelligent terminal is static, according to the fixing mode of layout, has arranged the icon of each traffic item.Once master menu generates, in use in master menu, the layout of the icon of each traffic item can not change.But in real life, the traffic item that user often uses can be different along with the difference of time, can make like this number of the needed traffic item of user more, and when static master menu can not hold the icon of all traffic items, probably can make user will enter very dark inferior menu level and could activate needed a certain business, this can bring very large inconvenience to user.
Summary of the invention
The invention provides a kind of method and apparatus that generates menu, to solve prior art because static master menu can not be able to not hold the problem that the icon of all traffic items is made troubles to user's use.
First aspect of the present invention provides a kind of method that generates menu, comprising:
Obtain the present clock value of described user terminal, and according to the time period of dividing in advance, obtain the current slot at described present clock value place;
According to described current slot, the number of operations of at least one traffic item that obtain in the described time period, described user terminal is used;
Generate menu, wherein, in described menu, at least comprise that the number of operations of user in current slot meets the traffic item of preset rules.
In the possible implementation of the first, according to first aspect, comprising:
Described traffic item is arranged from high to low according to the size of number of operations, and obtain top n traffic item as traffic item to be adjusted, described N is more than or equal to 1 integer, and the number of the icon of the traffic item holding in the N menu template that is described subscriber equipment;
When judging described traffic item to be adjusted not in the default menu at described subscriber equipment time, the icon of described traffic item to be adjusted is added in described default menu, or with the icon of the existing traffic item in the default menu of described traffic item icon replacing to be adjusted, to generate described menu.
In the possible implementation of the second, according to first aspect, the described icon by described traffic item is arranged on the predeterminated position of the menu template of described user terminal, generates described menu and comprises:
According to described number of operations, described number of operations is met to the icon of the traffic item of preset rules, be arranged on the relevant position of the menu template of described user terminal.
In the third possible implementation, in conjunction with first aspect or possible implementation or the possible implementation of the second of the first, before described generation menu, also comprise:
Whether prediction adopts the icon of described traffic item to be adjusted consistent with the layout of the last menu generating in described pre-stored described current slot according to the layout of the menu of preset rules generation;
When predicting the outcome when no, carry out the operation that generates menu;
When predicting the outcome when being, on the screen of described user terminal, show the last menu generating in described current slot.
In the 4th kind of possible implementation, the implementation possible according to the third, when dope adopt the icon of described traffic item to be adjusted, in the layout of the menu that generates according to preset rules and described pre-stored described current slot the layout of the menu of the last generation inconsistent after, and before carrying out the operation that generates menu, also comprise:
Obtain the different respectively traffic item to be judged of picture mark position in the menu generating with described the last time in the described menu generating according to preset rules;
According to traffic item to be judged described in the descending or ascending arrangement of number of operations;
The difference that judges whether the number of operations of two adjacent traffic items is greater than the first predetermined threshold value;
When judgment result is that while being, carry out the operation that generates menu;
When the determination result is NO, on the screen of described user terminal, show the last menu generating in described current slot.
In the 5th kind of possible implementation, in conjunction with first aspect, after generating menu, also comprise:
Empty the record of the number of operations of traffic item, and be default menu by the updating menu generating.
In the 6th kind of mode in the cards, according to the 5th kind of possible implementation, before generating menu, also comprise:
In the object time section that the present clock value of take described in obtaining is terminal, upgrade the record of the number of times of described default menu;
Whether the number of times that judges the default menu of described renewal is more than or equal to the second predetermined threshold value, when judgment result is that while being, on the screen of described user terminal, show the last menu generating in described current slot, when the determination result is NO, carry out the operation that generates menu.
Second aspect present invention provides a kind of device that generates menu, comprising:
The first acquiring unit, for obtaining the present clock value of described user terminal, and according to the time period of dividing in advance, obtains the current slot at described present clock value place;
Second acquisition unit, for according to described current slot, obtains the number of operations of at least one traffic item of interior, described user terminal use of described time period;
Described generation unit, for generating menu, wherein, at least comprises in described menu that the number of operations of user in current slot meets the traffic item of preset rules.
In the possible implementation of the first, according to second aspect, described generation unit specifically for:
Described traffic item is arranged from high to low according to the size of number of operations, and obtain top n traffic item as traffic item to be adjusted, described N is more than or equal to 1 integer, and the number of the icon of the traffic item that can hold in the N menu template that is described subscriber equipment;
Judge that described business to be adjusted is whether in the default menu of described subscriber equipment, when judging described traffic item to be adjusted not in the default menu at described subscriber equipment time, the icon of described traffic item to be adjusted is added in described default menu, or with the icon of the existing traffic item in the default menu of described traffic item icon replacing to be adjusted, to generate described menu.In the possible implementation of the second, according to second aspect, described generation unit specifically for:
According to described number of operations, the icon of described traffic item to be adjusted is arranged on to the predeterminated position of the menu template of described user terminal, generate described menu.
In the third possible implementation, in conjunction with second aspect, it is characterized in that, also comprise:
Predicting unit, for predicting, adopt the icon of described traffic item to be adjusted, whether the layout of the menu that generates according to preset rules is consistent with the layout of the menu of the last generation in described pre-stored described current slot, when predicting the outcome when no, trigger described generation unit, when predicting the outcome when being, on the screen of described user terminal, show the last menu generating in described current slot.
In the 4th kind of possible implementation, the implementation possible according to the third, described generation unit also for:
Obtain the different respectively traffic item to be judged of picture mark position in the menu generating with described the last time in the described menu generating according to preset rules;
According to traffic item to be judged described in the descending or ascending arrangement of number of operations;
The difference that judges whether the number of operations of two adjacent traffic items is greater than the first predetermined threshold value;
When judgment result is that while being, carry out the operation that generates menu;
When the determination result is NO, on the screen of described user terminal, show the last menu generating in described current slot.
In the 5th kind of possible implementation, in conjunction with first aspect or the possible four kinds of possible implementations of implementation to the of the first, also comprise:
Emptying unit, for emptying the record of the number of operations of traffic item, and is default menu by the updating menu generating.
In the 6th kind of mode in the cards, according to the 5th kind of possible implementation, also comprise:
Judging unit, for obtain described take upgrade the record of the number of times of described default menu in the object time section that present clock value is terminal, and whether the number of times that judges the default menu of described renewal is more than or equal to the second predetermined threshold value, when judgment result is that while being, on the screen of described user terminal, show the last menu generating in described current slot, when the determination result is NO, trigger described generation unit.
As shown from the above technical solution, the method and apparatus of generation menu provided by the invention, by generate different menus within the different time periods, can meet user's actual needs, has promoted user's experience, has facilitated user's operation.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is for generating according to an embodiment of the invention the schematic flow sheet of the method for menu;
Fig. 2 A is for generating according to another embodiment of the present invention the schematic flow sheet of the method for menu;
Fig. 2 B and Fig. 2 C are according to the position view of the icon of the traffic item shown in number of operations;
Fig. 3 is according to the structural representation of the device of the generation menu of further embodiment of this invention;
Fig. 4 is the structural representation of the device of generation menu according to yet another embodiment of the invention;
Fig. 5 is for generating according to another embodiment of the present invention the structural representation of the device of menu.
Embodiment
For making object, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
According to statistics, in one day, user changes along with the difference of time to some extent to the use meeting of traffic item.For example, in working time section, use the traffic item number of times such as " address list ", " short message ", " PDF " more, in section, use the traffic item number of times such as " QQ ", " novel reader ", " micro-letter " more on one's own time.In following embodiment, first to time division time section, add up the access times of each traffic item in each time period, and generate menu or judge whether to generate new menu according to the access times of each traffic item.
Embodiment mono-
The present embodiment provides a kind of method that generates menu, and the method is applicable to various user terminals (User Equipment, UE), is particularly useful for intelligent terminal.The executive agent of the method for the generation menu of the present embodiment is for generating the device of menu, and the device of this generation menu can be integrated in user terminal.
As shown in Figure 1, for according to the schematic flow sheet of the method for the generation menu of the present embodiment.
Step 101, obtains the present clock value of user terminal, and according to the time period of dividing in advance, obtains the current slot at present clock value place.
In user terminal, all have clock unit, it is for displaying time.Particularly, can be when user terminal to be started shooting or when user terminal enters non-holding state from holding state, the device that generates menu is carried out the operation of the present clock value of obtaining this user terminal.
User can divide M time period in advance according to use habit, and M is more than or equal to 2 integer.The device that generates menu can, according to this ready-portioned M time period in advance, be added up the traffic item of use in each time period and the number of operations of each traffic item.Generate the device of menu after getting present clock value, just judge which time period it belongs to, and using the affiliated time period as current slot.
User terminal in the present embodiment can be specifically mobile phone, IPAD, notebook computer etc.
Step 102, the number of operations of at least one traffic item that according to current slot, obtain in this time period, this user terminal is used.
The device that generates menu obtains traffic item and number of operations corresponding to each traffic item of adding up in this time period.Can be specifically, use each time a certain traffic item, just number of operations corresponding to this traffic item be added to 1, and the time period of corresponding record under while using this traffic item.
Wherein, in this menu, at least comprise that the number of operations of user in current slot meets the traffic item of preset rules.
Particularly, this step can comprise:
Traffic item is arranged from high to low according to the size of number of operations, and obtain top n traffic item as traffic item to be adjusted, N is more than or equal to 1 integer, and the number of the icon of the traffic item that can hold in the menu template that N is subscriber equipment, and judge that business to be adjusted is whether in the default menu of subscriber equipment, when judging traffic item to be adjusted not in the default menu at subscriber equipment time, the icon of traffic item to be adjusted is added in default menu, or the icon with the existing traffic item in the default menu of traffic item icon replacing to be adjusted, to generate menu.
This step can also be carried out in the following manner: according to described number of operations, described number of operations is met to the icon of the traffic item of preset rules, be arranged on the relevant position of the menu template of described user terminal.
Because the interface of menu is generally limited to the screen of user terminal, so the icon of N traffic item only can be set in each menu.The menu template of the present embodiment can be blank menu, is not provided with the menu of the icon of traffic item, also can in current slot, as menu template, specifically can set according to actual needs by the last menu generating.
The default menu of the present embodiment can be the last menu that user uses, and can be also the menu of setting according to actual needs, specifically can set according to actual conditions.First the device that generates menu obtains each traffic item in default menu, relatively make comparisons with traffic item to be adjusted, if each traffic item to be adjusted is each traffic item in default menu, can select not generate new menu, but adopt default menu, and on the screen of user terminal, show this default menu.If have traffic item in traffic item to be adjusted not in default menu, can think that variation has occurred current slot user's use habit, need to adopt menu template to generate new menu, adopt the menu of new layout.
It is to be noted, when usining in current slot that the last menu generating is as menu template, on each position of this menu template, preset the icon of traffic item, generated the device of menu before traffic item to be adjusted is arranged on to the relevant position of menu template, can with default traffic item more once, if both are consistent, adopt the icon of traffic item default in menu template, to alleviate the burden of the device that generates menu.This be due to, " comparison " operation only relates to simple logical operation, data volume is little, speed is fast, and " replacements " operation, relate to peripheral hardware the moving of access, big data quantity, output device refresh management, speed is slow, complexity and system loading large.Therefore, first adopt the first icon of traffic item relatively of compare operation that operand is less, then according to comparative result, judge whether to replace the operation of the icon of traffic item, can reduce as much as possible the burden of user terminal.
The menu of the present embodiment can be the master menu of user terminal, can be also the inferior menu of user terminal.
According to the method for the generation menu of the present embodiment, by generate different menus within the different time periods, can meet user's actual needs, promoted user's experience, facilitated user's operation.
Embodiment bis-
The present embodiment provides a kind of method that generates menu based on embodiment mono-.
As shown in Figure 2 A, for according to the schematic flow sheet of the generation menu of the present embodiment.
Step 201, obtains the present clock value of user terminal, and according to the time period of dividing in advance, obtains the current slot at present clock value place.
Particularly, when user terminal is started shooting or when user terminal proceeds to non-holding state from holding state, the device that generates menu can obtain the present clock value of user terminal.
User can be the time period according to following regular partition by the time of one day:
Very first time section: 8:00~12:00;
The second time period: 12:01~14:00;
The 3rd time period: 14:01~18:00;
The 4th time period: 18:01~8:00.
Suppose that present clock value is 9:00, the time period of dividing in advance at present clock value place is very first time section, supposes that present clock value is 14:00, and the time period at present clock value place was the second time period, by that analogy.
Step 202, according to the current slot of dividing in advance at present clock value place, obtains the number of operations of at least one traffic item that in this time period, user terminal is used.
Each traffic item is when being used 1 time, and the device that generates menu just adds 1 on number of operations corresponding to this traffic item.The identification information of traffic item using in each time period and the number of operations of this traffic item can be recorded in the device that generates menu, also can store separately, as long as the device of this generation menu can get.
Suppose, in very first time section, the number of operations of " QQ " traffic item is in 2, the four time periods, and the number of operations of " QQ " traffic item is 30, and in all the other time periods, the number of operations of " QQ " traffic item is 0.Suppose that present clock value is 9:00, the number of operations of " QQ " traffic item getting is 2.
Step 203, traffic item is arranged from high to low according to the size of number of operations, and obtaining top n traffic item as traffic item to be adjusted, N is more than or equal to 1 integer, and the number of the icon of the traffic item that can hold in the N menu template that is subscriber equipment.
In the present embodiment, using the last menu generating in current slot as menu template.
Step 204, judge that business to be adjusted whether in the default menu of subscriber equipment, in the time of in judgment result is that the default menu of traffic item to be adjusted at subscriber equipment, performs step 205, when judgment result is that traffic item to be adjusted is not in the default menu at subscriber equipment, perform step 208.
The present embodiment is usingd in current slot the last menu generating as default menu.
Step 205, whether the layout of the icon of prediction employing traffic item to be adjusted, the menu generating according to preset rules is consistent with the layout of the last menu generating in pre-stored current slot, when predicting the outcome when being, execution step 207, when predicting the outcome when no, perform step 206.
This step is a prediction steps.The device that generates menu is according to the number of operations of preset rules and the traffic item to be adjusted that obtains, the layout of the menu that prediction generates, then the layout that generates recently menu once in the layout of this prediction and current slot is compared, if the icon of each traffic item to be adjusted is all consistent, explanation adopts the icon of traffic item to be adjusted, the layout of the menu that generates according to preset rules is consistent with the layout of the menu of the last generation in pre-stored current slot, otherwise is inconsistent.
The preset rules of the present embodiment can be carried out multiple setting according to actual needs, and concrete example is:
The icon of the maximum traffic item of number of operations is arranged on to the centre of menu, next, descending according to number of operations, successively the icon of traffic item is arranged respectively to left, right, left front, right front at menu.As shown in Fig. 2 B and Fig. 2 C, be designated the position that 1 position is the icon of the traffic item that number of operations is maximum.
Step 206, obtain in the menu generating according to preset rules with current slot in the different respectively traffic item to be judged of picture mark position in the last menu generating, according to number of operations is descending or ascending, arrange traffic item to be judged, and the difference that judges whether the number of operations of two adjacent traffic items is greater than the first predetermined threshold value, when judgment result is that while being, execution step 208, when the determination result is NO, performs step 207.
This first predetermined threshold value can be set according to actual needs, for example 3 times, 5 times or 10 times.Concrete example, suppose that the picture mark position doping in the picture mark position of traffic item A and traffic item B and the menu of the last generation is inconsistent, traffic item A and traffic item B are traffic item to be judged, the number of operations of traffic item A is 20, the number of operations of business B is 21, the first predetermined threshold value is 3, the difference that can find out the number of operations of traffic item A and traffic item B is less than the first predetermined threshold value, the menu that the last menu generating need generate as this in current slot, and show on the screen of user terminal.
Step 207 shows the last menu generating in current slot on the screen of user terminal.
Step 208, generates menu.
The concrete operations mode of this generation menu can be:
The icon of traffic item to be adjusted is added in default menu, or with traffic item icon replacing to be adjusted, preset the icon of the existing traffic item in menu, to generate menu.
The device that generates menu can first judge that traffic item to be adjusted is whether consistent with the traffic item of predetermined position in default menu, when the determination result is NO, adopt the icon of the icon replacing corresponding position of traffic item to be adjusted, when judgment result is that while being, can select directly to adopt original icon on this position, to avoid repetitive operation.
The step of this generation menu can also be:
According to number of operations, number of operations is met to the icon of the traffic item of preset rules, be arranged on the relevant position of the menu template of user terminal.
Alternatively, after generating menu, the method for the generation menu of the present embodiment also comprises:
Emptying the record of the number of operations of traffic item, is default menu by the updating menu generating.
After generating new menu, original number of operations can be emptied, recalculate, so that the record of the number of operations of traffic item meets the current custom of user more.
Alternatively, before generating menu, also comprise:
Obtain take and upgrade the record of the number of times of default menu in the object time section that present clock value is terminal;
Whether the number of times that default menu is upgraded in judgement is more than or equal to the second predetermined threshold value, when judgment result is that while being, shows the last menu generating in current slot on the screen of user terminal, when the determination result is NO, carries out the operation that generates menu.
This step is in order to prevent that menu from refreshing the burden that the too frequent device to generating menu brings, and can be placed on and obtain the present clock value of user terminal and generate the optional position between menu according to preset rules.The second predetermined threshold value can be set according to actual needs, for example 10 times or 100 times.Object time section can be set according to actual needs.For example 2 hours or 5 hours.Suppose that present clock value is 14:00, object time section is 2 hours, and the device that generates menu obtains the number of times of the default menu of renewal within 12:00~14:00, the number of times of the menu generating.The device that generates menu can record and upgrade each time default menu number of times and corresponding time.This step can be between the arbitrary step of above-mentioned steps 201~step 208.
According to the method for the generation menu of the present embodiment, not only by generating different menus to meet user's actual needs within the different time periods, and whether the icon of the relevant position of the new menu generating by judgement reduces the operation of the device that generates menu, saving resource with consistent the trying one's best in menu template.
Embodiment tri-
The present embodiment, based on embodiment mono-and embodiment bis-, is done concrete example explanation to generating the method for menu.
In the present embodiment, user terminal start, the present clock value of supposing user terminal is 18:56, the traffic item obtaining in the present clock section at this current clock value place is as shown in table 1.
Table 1
? | Number of operations |
10 | |
|
1 |
|
2 |
Micro-letter | 12 |
Novel browser | 8 |
The device that generates menu is arranged each traffic item from big to small according to number of operations, is followed successively by " micro-letter ", " QQ ", " novel browser ", " music player " and " PDF ".Because the icon of the traffic item that can hold in menu is 3, the device that generates menu is chosen front 3 traffic items as traffic item to be adjusted, is respectively " micro-letter ", " QQ " and " novel browser ".
The device that generates menu is searched the traffic item in the last menu generating in this current slot, judges all traffic items all consistent.Next, the device that generates menu predicts that whether these 3 traffic items to be adjusted are consistent with the layout of the last menu generating in this current slot according to the layout of preset rules generation menu, and the position of judging " micro-letter " and " QQ " needs transposing.
Next, the difference that the device of generation menu compares the number of operations of " micro-letter " and " QQ " is 2, the first predetermined threshold value in the present embodiment is 3, the device that generates menu is judged this difference and is less than the first predetermined threshold value, like this, the device that generates menu adopts the interior the last menu generating of front time period as this menu, and is presented on the screen of user terminal.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can complete by the relevant hardware of programmed instruction, aforesaid program can be stored in a computer read/write memory medium, this program, when carrying out, is carried out the step that comprises said method embodiment; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CDs.
Embodiment tetra-
The present embodiment provides a kind of device that generates menu, for carrying out the method for the generation menu of embodiment mono-.
As shown in Figure 3, the device of this generation menu comprises the first acquiring unit 301, second acquisition unit 302 and generation unit 303.
Wherein, the first acquiring unit 301 is for obtaining the present clock value of user terminal, and according to the time period of dividing in advance, obtains the current slot at present clock value place; The current slot of second acquisition unit 302 for getting according to the first acquiring unit 301, the number of operations of at least one traffic item that obtain in this time period, user terminal is used; Generation unit 303, for generating menu, wherein, at least comprises in this menu that the number of operations of user in current slot meets the traffic item of preset rules.
The concrete operation method of the device of the generation menu of the present embodiment is consistent with embodiment mono-, does not repeat them here.
According to the method for the generation menu of the present embodiment, by generate different menus within the different time periods, can meet user's actual needs, promoted user's experience, facilitated user's operation.
Embodiment five
The present embodiment is done further supplementary notes to the device of the generation menu of embodiment tetra-.
Alternatively, the generation unit in the present embodiment 303 specifically for:
Traffic item is arranged from high to low according to the size of number of operations, and obtained top n traffic item as traffic item to be adjusted, N is more than or equal to 1 integer, and the number of the icon of the traffic item that can hold in the N menu template that is subscriber equipment;
Judge that business to be adjusted is whether in the default menu of subscriber equipment;
When judging traffic item to be adjusted not in the default menu at subscriber equipment time, the icon of traffic item to be adjusted is added in default menu, or with traffic item icon replacing to be adjusted, preset the icon of the existing traffic item in menu, to generate menu.
Alternatively, this generation unit 303, for according to number of operations, is arranged on the icon of traffic item to be adjusted the predeterminated position of the menu template of user terminal, generates menu.
As shown in Figure 4, the device of the generation menu of the present embodiment can also comprise predicting unit 401, this predicting unit 401 for predicting, adopts the icon of traffic item to be adjusted, whether the layout of the menu that generates according to preset rules is consistent with the layout of the menu of the last generation in pre-stored current slot, when predicting the outcome when no, trigger generation unit 303, when predicting the outcome when being, on the screen of user terminal, show the last menu generating in current slot.
Alternatively, generation unit 303 also for:
Obtain the different respectively traffic item to be judged of picture mark position in the menu generating with the last time in the menu generating according to preset rules;
According to number of operations is descending or ascending, arrange traffic item to be judged;
The difference that judges whether the number of operations of two adjacent traffic items is greater than the first predetermined threshold value;
When judgment result is that while being, carry out the operation that generates menu;
When the determination result is NO, on the screen of user terminal, show the last menu generating in current slot.
Alternatively, the device of the generation menu of the present embodiment also comprises and empties unit 402, and this empties unit 402 for emptying the record of the number of operations of traffic item, and is default menu by the updating menu generating.
Alternatively, in the present embodiment, can also comprise judging unit 403, this judging unit 403 for:
Obtain take and upgrade the record of the number of times of default menu in the object time section that present clock value is terminal;
Whether the number of times that default menu is upgraded in judgement is more than or equal to the second predetermined threshold value, when judgment result is that while being, shows the last menu generating in current slot on the screen of user terminal, when the determination result is NO, triggers generation unit 303.
According to the device of the generation menu of the present embodiment, not only by generating different menus to meet user's actual needs within the different time periods, and whether the icon of the relevant position of the new menu generating by judgement reduces the operation of the device that generates menu, saving resource with consistent the trying one's best in menu template.
Embodiment six
The present embodiment provides the another kind of device that generates menu, for carrying out the method for above generation menu.
As shown in Figure 5, for according to the structural representation of the device of the generation menu of the present embodiment.The device 500 of this generation menu comprises at least one processor 501, communication bus 502, storer 503 and at least one communication interface 504.
Wherein, communication bus 502 is for realizing connection the communication between said modules, and communication interface 504 is for being connected with the network equipment and communicating by letter.This bus can be ISA(Industry Standard Architecture, industry standard architecture) bus, PCI(Peripheral Component, peripheral component interconnect) bus or EISA(Extended Industry Standard Architecture, extended industry-standard architecture) bus etc.Bus can be one or more physical circuit, when being many physical circuits, can be divided into address bus, data bus, control bus etc.
Wherein, storer 503 is for stores executable programs code, and wherein, processor 501 moves the program corresponding with executable program code by the executable program code of storage in read memory 503, for:
Obtain the present clock value of user terminal, and according to the time period of dividing in advance, obtain the current slot at present clock value place;
According to current slot, the number of operations of at least one traffic item that obtain in this time period, user terminal is used;
Generate menu, wherein, in menu, at least comprise that the number of operations of user in current slot meets the traffic item of preset rules.
Alternatively, processor 501 moves the program corresponding with executable program code by the executable program code of storage in read memory 503, during for generation menu, can be specifically: traffic item is arranged from high to low according to the size of number of operations, and obtain top n traffic item as traffic item to be adjusted, N is more than or equal to 1 integer, and the number of the icon of the traffic item that can hold in the N menu template that is subscriber equipment;
Judge that business to be adjusted is whether in the default menu of subscriber equipment;
When judging traffic item to be adjusted not in the default menu at subscriber equipment time, the icon of traffic item to be adjusted is added in default menu, or with traffic item icon replacing to be adjusted, preset the icon of the existing traffic item in menu, to generate menu.
Alternatively, processor 501 moves the program corresponding with executable program code by the executable program code of storage in read memory 503, during for generation menu, can be specifically: according to number of operations, number of operations is met to the icon of the traffic item of preset rules, be arranged on the relevant position of the menu template of user terminal, generate menu.
Alternatively, processor 501 also moves the program corresponding with executable program code by the executable program code of storage in read memory 503, for before generating menu, also comprises:
Whether the layout of the menu that the icon of prediction employing traffic item to be adjusted generates according to preset rules is consistent with the layout of the last menu generating in pre-stored current slot;
When predicting the outcome when no, carry out the operation that generates menu;
When predicting the outcome when being, on the screen of user terminal, show the last menu generating in current slot.
Alternatively, when dope adopt the icon of traffic item to be adjusted, in the layout of the menu that generates according to preset rules and pre-stored current slot the layout of the menu of the last generation inconsistent after, and before carrying out the operation that generates menu, processor 501 can also move the program corresponding with executable program code by the executable program code of storage in read memory 503, for:
Obtain the different respectively traffic item to be judged of picture mark position in the menu generating with the last time in the menu generating according to preset rules;
According to number of operations is descending or ascending, arrange traffic item to be judged;
The difference that judges whether the number of operations of two adjacent traffic items is greater than the first predetermined threshold value;
When judgment result is that while being, carry out the operation that generates menu;
When the determination result is NO, on the screen of user terminal, show the last menu generating in current slot.
Alternatively, after generating menu, processor 501 can also move the program corresponding with executable program code by the executable program code of storage in read memory 503, for:
Empty the record of the number of operations of traffic item, and be default menu by the updating menu generating.
Alternatively, before generating menu, processor 501 can also move the program corresponding with executable program code by the executable program code of storage in read memory 503, for:
Obtain take and upgrade the record of the number of times of default menu in the object time section that present clock value is terminal;
Whether the number of times that default menu is upgraded in judgement is more than or equal to the second predetermined threshold value, when judgment result is that while being, shows the last menu generating in current slot on the screen of user terminal, when the determination result is NO, carries out the operation that generates menu.
According to the device 500 of the generation menu of the present embodiment, by generate different menus within the different time periods, can meet user's actual needs, promoted user's experience, facilitated user's operation.
Finally it should be noted that: above embodiment only, in order to technical scheme of the present invention to be described, is not intended to limit; Although the present invention is had been described in detail with reference to previous embodiment, those of ordinary skill in the art is to be understood that: its technical scheme that still can record aforementioned each embodiment is modified, or part technical characterictic is wherein equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.
Claims (14)
1. a method that generates menu, is characterized in that, comprising:
Obtain the present clock value of described user terminal, and according to the time period of dividing in advance, obtain the current slot at described present clock value place;
According to described current slot, the number of operations of at least one traffic item that obtain in the described time period, described user terminal is used;
Generate menu, wherein, in described menu, at least comprise that the number of operations of user in current slot meets the traffic item of preset rules.
2. the method for generation menu according to claim 1, is characterized in that, described generation menu comprises:
Described traffic item is arranged from high to low according to the size of number of operations, and obtain top n traffic item as traffic item to be adjusted, described N is more than or equal to 1 integer, and the number of the icon of the traffic item holding in the N menu template that is described subscriber equipment;
Judge that described business to be adjusted is whether in the default menu of described subscriber equipment;
When judging described traffic item to be adjusted not in the default menu at described subscriber equipment time, the icon of described traffic item to be adjusted is added in described default menu, or with the icon of the existing traffic item in the default menu of described traffic item icon replacing to be adjusted, to generate described menu.
3. the method for generation menu according to claim 1, is characterized in that, described generation menu, comprising:
According to described number of operations, described number of operations is met to the icon of the traffic item of preset rules, be arranged on the relevant position of the menu template of described user terminal.
4. the method for generation menu according to claim 1, is characterized in that, before described generation menu, also comprises:
Whether the layout of the icon of the described traffic item to be adjusted of prediction employing, the menu generating according to preset rules is consistent with the layout of the last menu generating in described pre-stored described current slot;
When predicting the outcome when no, carry out the operation that generates menu;
When predicting the outcome when being, on the screen of described user terminal, show the last menu generating in described current slot.
5. the method for generation menu according to claim 4, it is characterized in that, when dope adopt the icon of described traffic item to be adjusted, in the layout of the menu that generates according to preset rules and described pre-stored described current slot the layout of the menu of the last generation inconsistent after, and before carrying out the operation that generates menu, also comprise:
Obtain the different respectively traffic item to be judged of picture mark position in the menu generating with described the last time in the described menu generating according to preset rules;
According to traffic item to be judged described in the descending or ascending arrangement of number of operations;
The difference that judges whether the number of operations of two adjacent traffic items is greater than the first predetermined threshold value;
When judgment result is that while being, carry out the operation that generates menu;
When the determination result is NO, on the screen of described user terminal, show the last menu generating in described current slot.
6. according to the method for the generation menu described in any one in claim 1~5, it is characterized in that, after generating menu, also comprise:
Empty the record of the number of operations of traffic item, and be default menu by the updating menu generating.
7. the method for generation menu according to claim 1, is characterized in that, before generating menu, also comprises:
In the object time section that the present clock value of take described in obtaining is terminal, upgrade the record of the number of times of described default menu;
Whether the number of times that judges the default menu of described renewal is more than or equal to the second predetermined threshold value, when judgment result is that while being, on the screen of described user terminal, show the last menu generating in described current slot, when the determination result is NO, carry out the operation that generates menu.
8. a device that generates menu, is characterized in that, comprising:
The first acquiring unit, for obtaining the present clock value of described user terminal, and according to the time period of dividing in advance, obtains the current slot at described present clock value place;
Second acquisition unit, for according to described current slot, obtains the number of operations of at least one traffic item of interior, described user terminal use of described time period;
Described generation unit, for generating menu, wherein, at least comprises in described menu that the number of operations of user in current slot meets the traffic item of preset rules.
9. the device of generation menu according to claim 8, is characterized in that, described generation unit specifically for:
Described traffic item is arranged from high to low according to the size of number of operations, and obtain top n traffic item as traffic item to be adjusted, described N is more than or equal to 1 integer, and the number of the icon of the traffic item that can hold in the N menu template that is described subscriber equipment;
Judge that described business to be adjusted is whether in the default menu of described subscriber equipment, when judging described traffic item to be adjusted not in the default menu at described subscriber equipment time, the icon of described traffic item to be adjusted is added in described default menu, or with the icon of the existing traffic item in the default menu of described traffic item icon replacing to be adjusted, to generate described menu.
10. the device of generation menu according to claim 8, is characterized in that, described generation unit specifically for:
According to described number of operations, the icon of described traffic item to be adjusted is arranged on to the predeterminated position of the menu template of described user terminal, generate described menu.
The device of 11. generation menus according to claim 8, is characterized in that, also comprises:
Predicting unit, for predicting, adopt the icon of described traffic item to be adjusted, whether the layout of the menu that generates according to preset rules is consistent with the layout of the menu of the last generation in described pre-stored described current slot, when predicting the outcome when no, trigger described generation unit, when predicting the outcome when being, on the screen of described user terminal, show the last menu generating in described current slot.
The device of 12. generation menus according to claim 11, is characterized in that, described generation unit also for:
Obtain the different respectively traffic item to be judged of picture mark position in the menu generating with described the last time in the described menu generating according to preset rules;
According to traffic item to be judged described in the descending or ascending arrangement of number of operations;
The difference that judges whether the number of operations of two adjacent traffic items is greater than the first predetermined threshold value;
When judgment result is that while being, carry out the operation that generates menu;
When the determination result is NO, on the screen of described user terminal, show the last menu generating in described current slot.
The device of the generation menu in 13. according to Claim 8~12 described in any one, is characterized in that, also comprises:
Emptying unit, for emptying the record of the number of operations of traffic item, and is default menu by the updating menu generating.
The device of 14. generation menus according to claim 13, is characterized in that, also comprises:
Judging unit, for obtain described take upgrade the record of the number of times of described default menu in the object time section that present clock value is terminal, and whether the number of times that judges the default menu of described renewal is more than or equal to the second predetermined threshold value, when judgment result is that while being, on the screen of described user terminal, show the last menu generating in described current slot, when the determination result is NO, trigger described generation unit.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310567674.5A CN103543901B (en) | 2013-11-14 | 2013-11-14 | The method and apparatus generating menu |
PCT/CN2014/086778 WO2015070671A1 (en) | 2013-11-14 | 2014-09-18 | Method and device for generating menu |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310567674.5A CN103543901B (en) | 2013-11-14 | 2013-11-14 | The method and apparatus generating menu |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103543901A true CN103543901A (en) | 2014-01-29 |
CN103543901B CN103543901B (en) | 2016-09-07 |
Family
ID=49967413
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310567674.5A Active CN103543901B (en) | 2013-11-14 | 2013-11-14 | The method and apparatus generating menu |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN103543901B (en) |
WO (1) | WO2015070671A1 (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104410912A (en) * | 2014-11-19 | 2015-03-11 | 深圳市九洲电器有限公司 | Refreshing method and refreshing system for electronic program grid (EPG) |
WO2015070671A1 (en) * | 2013-11-14 | 2015-05-21 | 华为技术有限公司 | Method and device for generating menu |
CN106161490A (en) * | 2015-03-23 | 2016-11-23 | 珠海金山网络游戏科技有限公司 | A kind of user's online behavior state update method, Apparatus and system |
CN106708874A (en) * | 2015-11-16 | 2017-05-24 | 百度在线网络技术(北京)有限公司 | Method and device for adjusting arrangement of searching categories in searching page |
CN109491275A (en) * | 2017-09-11 | 2019-03-19 | 佛山市顺德区美的电热电器制造有限公司 | The sort method of cooking apparatus and the feature list for cooking apparatus |
CN113064538A (en) * | 2020-01-02 | 2021-07-02 | 佛山市云米电器科技有限公司 | Equipment parameter setting method, intelligent refrigerator and computer readable storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100800870B1 (en) * | 2006-09-05 | 2008-02-04 | 삼성전자주식회사 | Method for displaying dynamic menu |
CN101150810A (en) * | 2007-10-10 | 2008-03-26 | 叶志宝 | A mobile phone device for dynamically ranking and displaying menu and its method |
CN101651870A (en) * | 2008-08-13 | 2010-02-17 | 深圳富泰宏精密工业有限公司 | Mobile phone realizing function menu dynamic sequencing, system and method |
CN101727278A (en) * | 2009-12-18 | 2010-06-09 | 深圳华为通信技术有限公司 | Method and terminal for arranging menu |
CN102004607A (en) * | 2010-11-16 | 2011-04-06 | 中兴通讯股份有限公司 | Menu display method and system |
KR20110051375A (en) * | 2009-11-10 | 2011-05-18 | 삼성메디슨 주식회사 | Medical diagnostic apparatus and menu display method |
CN102073453A (en) * | 2010-12-24 | 2011-05-25 | 东莞宇龙通信科技有限公司 | Mobile terminal and application icon display method |
CN102866831A (en) * | 2012-08-30 | 2013-01-09 | 广东欧珀移动通信有限公司 | Method and device and mobile terminal for adjusting desktop icons |
CN103019761A (en) * | 2011-07-22 | 2013-04-03 | 三星电子株式会社 | Method of arranging user interface objects in a portable terminal and an apparatus thereof |
CN103309661A (en) * | 2013-05-27 | 2013-09-18 | 深圳市金立通信设备有限公司 | Method and terminal for controlling interface application icons |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103543901B (en) * | 2013-11-14 | 2016-09-07 | 华为技术有限公司 | The method and apparatus generating menu |
CN103631486A (en) * | 2013-11-27 | 2014-03-12 | 中国科学院深圳先进技术研究院 | Method, system and mobile terminal for regulating screen display application program menus |
-
2013
- 2013-11-14 CN CN201310567674.5A patent/CN103543901B/en active Active
-
2014
- 2014-09-18 WO PCT/CN2014/086778 patent/WO2015070671A1/en active Application Filing
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100800870B1 (en) * | 2006-09-05 | 2008-02-04 | 삼성전자주식회사 | Method for displaying dynamic menu |
CN101150810A (en) * | 2007-10-10 | 2008-03-26 | 叶志宝 | A mobile phone device for dynamically ranking and displaying menu and its method |
CN101651870A (en) * | 2008-08-13 | 2010-02-17 | 深圳富泰宏精密工业有限公司 | Mobile phone realizing function menu dynamic sequencing, system and method |
KR20110051375A (en) * | 2009-11-10 | 2011-05-18 | 삼성메디슨 주식회사 | Medical diagnostic apparatus and menu display method |
CN101727278A (en) * | 2009-12-18 | 2010-06-09 | 深圳华为通信技术有限公司 | Method and terminal for arranging menu |
CN102004607A (en) * | 2010-11-16 | 2011-04-06 | 中兴通讯股份有限公司 | Menu display method and system |
CN102073453A (en) * | 2010-12-24 | 2011-05-25 | 东莞宇龙通信科技有限公司 | Mobile terminal and application icon display method |
CN103019761A (en) * | 2011-07-22 | 2013-04-03 | 三星电子株式会社 | Method of arranging user interface objects in a portable terminal and an apparatus thereof |
CN102866831A (en) * | 2012-08-30 | 2013-01-09 | 广东欧珀移动通信有限公司 | Method and device and mobile terminal for adjusting desktop icons |
CN103309661A (en) * | 2013-05-27 | 2013-09-18 | 深圳市金立通信设备有限公司 | Method and terminal for controlling interface application icons |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015070671A1 (en) * | 2013-11-14 | 2015-05-21 | 华为技术有限公司 | Method and device for generating menu |
CN104410912A (en) * | 2014-11-19 | 2015-03-11 | 深圳市九洲电器有限公司 | Refreshing method and refreshing system for electronic program grid (EPG) |
CN104410912B (en) * | 2014-11-19 | 2018-03-16 | 深圳市九洲电器有限公司 | Electronic program guides method for refreshing and system |
CN106161490A (en) * | 2015-03-23 | 2016-11-23 | 珠海金山网络游戏科技有限公司 | A kind of user's online behavior state update method, Apparatus and system |
CN106708874A (en) * | 2015-11-16 | 2017-05-24 | 百度在线网络技术(北京)有限公司 | Method and device for adjusting arrangement of searching categories in searching page |
CN109491275A (en) * | 2017-09-11 | 2019-03-19 | 佛山市顺德区美的电热电器制造有限公司 | The sort method of cooking apparatus and the feature list for cooking apparatus |
CN113064538A (en) * | 2020-01-02 | 2021-07-02 | 佛山市云米电器科技有限公司 | Equipment parameter setting method, intelligent refrigerator and computer readable storage medium |
CN113064538B (en) * | 2020-01-02 | 2024-03-05 | 佛山市云米电器科技有限公司 | Equipment parameter setting method, intelligent refrigerator and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN103543901B (en) | 2016-09-07 |
WO2015070671A1 (en) | 2015-05-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103543901A (en) | Method and device for generating menus | |
CN110502340A (en) | A kind of resource dynamic regulation method, device, equipment and storage medium | |
CN105740078B (en) | Memory management method, device and terminal | |
CN104238897A (en) | Menu item displaying method and device | |
CN104008061A (en) | Internal memory recovery method and device | |
CN102087575A (en) | Electronic device and method for dynamic arrangement of icons | |
CN104423887B (en) | Mobile device EMS memory management process and system | |
CN102508649A (en) | Electronic device with function of automatically sequencing icons and sequencing method | |
CN104571819A (en) | Application program management method and application program management device | |
KR20130021625A (en) | Operating method and portable device supporting the same | |
CN103902575A (en) | Pictorial information loading method and related device | |
CN103473343A (en) | File management method, device and terminal | |
CN106598379A (en) | Method and device for managing application program | |
CN105159673A (en) | Method and device for setting control style | |
CN104659881A (en) | Charging method and device for mobile terminal | |
CN103870319A (en) | Method and device for information processing and electronic device | |
CN109558325A (en) | Time delay statistical method and device and computer readable storage medium | |
CN104375896A (en) | Information processing method and electronic equipment | |
CN104809416A (en) | display screen shielding method, electronic device and computer program product | |
CN111736825B (en) | Information display method, device, equipment and storage medium | |
CN105117168A (en) | Information processing method and electronic equipment | |
CN109753353A (en) | Resources of virtual machine distribution method, device and electronic equipment | |
CN103927197A (en) | Method And Apparatus For Executing Application Program In Electronic Device | |
US20160342306A1 (en) | Electronic device and method for changing application icon | |
CN115269077A (en) | Picture display method, module, mobile terminal and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |