CN103543901B - The method and apparatus generating menu - Google Patents

The method and apparatus generating menu Download PDF

Info

Publication number
CN103543901B
CN103543901B CN201310567674.5A CN201310567674A CN103543901B CN 103543901 B CN103543901 B CN 103543901B CN 201310567674 A CN201310567674 A CN 201310567674A CN 103543901 B CN103543901 B CN 103543901B
Authority
CN
China
Prior art keywords
menu
traffic item
operations
item
icon
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
Application number
CN201310567674.5A
Other languages
Chinese (zh)
Other versions
CN103543901A (en
Inventor
姚世勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310567674.5A priority Critical patent/CN103543901B/en
Publication of CN103543901A publication Critical patent/CN103543901A/en
Priority to PCT/CN2014/086778 priority patent/WO2015070671A1/en
Application granted granted Critical
Publication of CN103543901B publication Critical patent/CN103543901B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction 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 present invention provides a kind of method and apparatus generating menu, and wherein method includes: obtains the current clock value of user terminal, and according to the time period divided in advance, obtains the current slot at current clock value place;According to current slot, obtain in this time period, the number of operations of at least one traffic item that user terminal uses;Generate menu, wherein, menu at least including, user's number of operations in current slot meets the traffic item of preset rules.According to the method and apparatus generating menu of invention, by generating different menus within the different time periods, it is possible to meet being actually needed of user, improve Consumer's Experience, facilitate the operation of user.

Description

The method and apparatus generating menu
Technical field
The present invention relates to communication terminal technology, particularly relate to a kind of method and apparatus generating menu.
Background technology
Along with being widely popularized of intelligent terminal, the user of intelligent terminal is used to get more and more.In prior art, Can show main menu on the main screen of intelligent terminal, this main menu includes that at least one user often makes The icon of traffic item, with user-friendly.
In practice, the main menu of this intelligent terminal is static, i.e. according to the mode of fixing layout, It is arranged the icon of each traffic item.Once main menu generates, in use each traffic item in main menu The layout of icon will not change.But in real life, the traffic item that user is commonly used Can difference over time and different, such that the number of the traffic item required for user is more, and When static main menu can not accommodate the icon of all of traffic item, it is more likely that can cause a user to into Enter a certain business required for the deepest secondary menu level could activate, this can to user bring the biggest not Just.
Summary of the invention
The present invention provides a kind of method and apparatus generating menu, to solve prior art due to static master Menu can not can not accommodate the problem that the icon of all of traffic item is made troubles to the use of user.
First aspect of the present invention provides a kind of method generating menu, including:
Obtain the current clock value of described user terminal, and according to the time period divided in advance, obtain described The current slot at current clock value place;
According to described current slot, obtain in the described time period, described user terminal uses at least one The number of operations of individual traffic item;
Generate menu, wherein, described menu at least includes user's number of operations in current slot Meet the traffic item of preset rules.
In the implementation that the first is possible, according to first aspect, including:
Described traffic item is arranged from high to low according to the size of number of operations, and obtains top n industry Business item is as traffic item to be adjusted, and described N is the integer more than or equal to 1, and N is that described user sets The number of the icon of the traffic item accommodated in standby menu template;
When judging that described traffic item to be adjusted is not in the default menu of described subscriber equipment, by described The icon of traffic item to be adjusted adds in described default menu, or replaces with described traffic item icon to be adjusted Change the icon of existing traffic item in default menu, to generate described menu.
In the implementation that the second is possible, according to first aspect, the described icon by described traffic item It is arranged on the predeterminated position of the menu template of described user terminal, generates described menu and include:
According to described number of operations, described number of operations is met the icon of the traffic item of preset rules, if Put the relevant position of menu template at described user terminal.
In the implementation that the third is possible, in conjunction with first aspect or implementation that the first is possible or The implementation that the second is possible, before described generation menu, also includes:
The layout of the menu that the icon of the prediction described traffic item to be adjusted of employing generates according to preset rules and institute In stating the described current slot prestored, the layout of the last menu generated is the most consistent;
When predicting the outcome as time no, perform to generate the operation of menu;
When predicting the outcome as being, the screen of described user terminal shows in described current slot The nearly menu once generated.
In the 4th kind of possible implementation, according to the implementation that the third is possible, adopt when doping Layout with the icon of described traffic item to be adjusted, according to the menu of preset rules generation is deposited in advance with described After the layout of the last menu generated is inconsistent in the described current slot of storage, and performing life Before becoming the operation of menu, also include:
Obtain described according to the figure in the menu generated with described the last time in the menu of preset rules generation The different traffic item to be judged of cursor position;
According to traffic item to be judged described in the descending or ascending arrangement of number of operations;
Determine whether that the difference of number of operations of adjacent two traffic item is more than the first predetermined threshold value;
When judged result is for being, perform to generate the operation of menu;
When judged result is no, the screen of described user terminal shows in described current slot The nearly menu once generated.
In the 5th kind of possible implementation, in conjunction with first aspect, after generating menu, also include:
Empty the record of the number of operations of traffic item, and by the updating menu generated for presetting menu.
In the 6th kind of mode in the cards, according to the 5th kind of possible implementation, generating menu Before, also include:
The number of times of described default menu is updated in obtaining the described object time section with current clock value as terminal Record;
Judge that described renewal presets the number of times of menu whether more than or equal to the second predetermined threshold value, when judging knot When fruit is for being, the last generation in showing described current slot on the screen of described user terminal Menu, when judged result is no, performs to generate the operation of menu.
Second aspect present invention provides a kind of device generating menu, including:
First acquiring unit, for obtaining the current clock value of described user terminal, and according to dividing in advance Time period, obtain the current slot at described current clock value place;
Second acquisition unit, for according to described current slot, obtains in the described time period, described use The number of operations of at least one traffic item that family terminal uses;
Described signal generating unit, is used for generating menu, wherein, at least includes that user is currently in described menu Number of operations in time period meets the traffic item of preset rules.
In the implementation that the first is possible, according to second aspect, described signal generating unit specifically for:
Described traffic item is arranged from high to low according to the size of number of operations, and obtains top n industry Business item is as traffic item to be adjusted, and described N is the integer more than or equal to 1, and N is that described user sets The number of the icon of the traffic item that can accommodate in standby menu template;
Judge described business to be adjusted whether in the default menu of described subscriber equipment, described when judging When traffic item to be adjusted is not in the default menu of described subscriber equipment, by the figure of described traffic item to be adjusted Mark adds in described default menu, or replaces in default menu with described traffic item icon to be adjusted There is the icon of traffic item, to generate described menu.In the implementation that the second is possible, according to second Aspect, described signal generating unit specifically for:
According to described number of operations, the icon of described traffic item to be adjusted is arranged on described user terminal The predeterminated position of menu template, generates described menu.
In the implementation that the third is possible, in conjunction with second aspect, it is characterised in that also include:
Predicting unit, for predicting the icon using described traffic item to be adjusted, generating according to preset rules Menu layout and the described described current slot prestored in the cloth of the last menu generated Office is the most consistent, when predicting the outcome as time no, triggers described signal generating unit, when predicting the outcome as being, The last menu generated in showing described current slot on the screen of described user terminal.
In the 4th kind of possible implementation, according to the implementation that the third is possible, described generation list Unit is additionally operable to:
Obtain described according to the figure in the menu generated with described the last time in the menu of preset rules generation The different traffic item to be judged of cursor position;
According to traffic item to be judged described in the descending or ascending arrangement of number of operations;
Determine whether that the difference of number of operations of adjacent two traffic item is more than the first predetermined threshold value;
When judged result is for being, perform to generate the operation of menu;
When judged result is no, the screen of described user terminal shows in described current slot The nearly menu once generated.
In the 5th kind of possible implementation, in conjunction with first aspect or implementation that the first is possible extremely 4th kind of possible implementation, also includes:
Empty unit, for emptying the record of the number of operations of traffic item, and by the updating menu of generation be Preset menu.
In the 6th kind of mode in the cards, according to the 5th kind of possible implementation, also include:
Judging unit, updates described in obtaining the described object time section with current clock value as terminal Preset the record of number of times of menu, and judge that described renewal presets the number of times of menu whether more than or equal to the Two predetermined threshold value, when judged result is for being, the screen of described user terminal shows described current time Between the last menu generated in section, when judged result is no, trigger described signal generating unit.
As shown from the above technical solution, the method and apparatus generating menu that the present invention provides, by not Different menus is generated, it is possible to meet being actually needed of user, improve Consumer's Experience in the same time period, Facilitate the operation of user.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to reality Execute the required accompanying drawing used in example or description of the prior art to be briefly described, it should be apparent that under, Accompanying drawing during face describes is some embodiments of the present invention, for those of ordinary skill in the art, On the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of the method generating menu according to one embodiment of the invention;
Fig. 2 A is the schematic flow sheet of the method generating menu according to another embodiment of the present invention;
Fig. 2 B and the position view that Fig. 2 C is the icon according to the traffic item shown in number of operations;
Fig. 3 is the structural representation of the device generating menu according to further embodiment of this invention;
Fig. 4 is the structural representation of the device generating menu according to yet another embodiment of the invention;
Fig. 5 is the structural representation of the device generating menu according to another embodiment of the present invention.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with this Accompanying drawing in bright embodiment, is clearly and completely described the technical scheme in the embodiment of the present invention, Obviously, described embodiment is a part of embodiment of the present invention rather than whole embodiments.Based on Embodiment in the present invention, those of ordinary skill in the art are obtained under not making creative work premise The every other embodiment obtained, broadly falls into the scope of protection of the invention.
According to statistics, in one day, the use of traffic item is understood difference over time and has been become by user Change.Such as, operationally between in section, use the traffic items such as " address list ", " short message ", " PDF " Number is more, on one's own time in section, uses the traffic items such as " QQ ", " novel reader ", " wechat " Number of times is more.In following embodiment, first the time is divided time period, each industry in adding up each time period The access times of business item, and generate menu according to the access times of each traffic item or judge whether to generate newly Menu.
Embodiment one
The present embodiment provides a kind of method generating menu, and the method is applicable to various user terminal (User Equipment, UE), it is particularly suited for intelligent terminal.The execution of the method generating menu of the present embodiment Main body is to generate the device of menu, and the device of this generation menu can be integrated in user terminal.
As it is shown in figure 1, be the schematic flow sheet of the method generating menu according to the present embodiment.
Step 101, obtains the current clock value of user terminal, and according to the time period divided in advance, obtains Take the current slot at current clock value place.
All having clock unit in user terminal, it is used for showing the time.Specifically, can be at user terminal During start or user terminal from holding state enter non-standby state time, generate menu device perform obtain Take the operation of the current clock value of this user terminal.
User can divide M time period in advance according to use habit, and M is whole more than or equal to 2 Number.The device generating menu can add up each time period according to this most ready-portioned M time period The traffic item of interior use and the number of operations of each traffic item.Generate the device of menu when getting current After clock value, it is judged as its which belonging time period, 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, according to current slot, in obtaining this time period, this user terminal uses at least The number of operations of one traffic item.
Generate the device of menu and obtain the traffic item added up in this time period and behaviour corresponding to each traffic item Make number of times.Concrete it may be that use a certain traffic item each time, just by operation corresponding for this traffic item time Number adds 1, and the time period affiliated when corresponding record uses this traffic item.
Step 103, generates menu.
Wherein, this menu at least including, user's number of operations in current slot meets preset rules Traffic item.
Specifically, this step may include that
Traffic item is arranged from high to low according to the size of number of operations, and obtains top n traffic item As traffic item to be adjusted, N is the integer more than or equal to 1, and the menu template that N is subscriber equipment In the number of the icon of traffic item that can accommodate, and judge business to be adjusted whether pre-at subscriber equipment If in menu, when judging that traffic item to be adjusted is not in the default menu of subscriber equipment, by be adjusted The icon of traffic item adds to be preset in menu, or replaces in default menu with traffic item icon to be adjusted The icon of existing traffic item, to generate menu.
This step can also perform in the following manner: according to described number of operations, by described number of operations Meet the icon of the traffic item of preset rules, be arranged on the relevant position of the menu template of described user terminal.
Owing to the interface of menu is generally limited to the screen of user terminal, the most each menu is only capable of arrange The icon of N number of traffic item.The menu template of the present embodiment can be blank menu, is i.e. not provided with industry The menu of the icon of business item, it is also possible to using the menu generated the last in current slot as menu mould Plate, specifically can be set according to actual needs.
The default menu of the present embodiment can be the last menu that user is used, it is also possible to be root According to being actually needed the menu of setting, specifically can be set according to actual conditions.Generate the device of menu First obtain and preset each traffic item in menu, compare with traffic item to be adjusted and make comparisons, if each to be adjusted Traffic item is i.e. to preset each traffic item in menu, can select not generate new menu, but uses pre- If menu, and show this default menu on the screen of the user terminal.If traffic item to be adjusted has industry Business item is not in default menu, it is believed that the use habit of current slot user there occurs change, Need the menu using menu template generation new, i.e. use the menu of new layout.
It is pointed out that when the menu generated the last in current slot is as menu template, Preset the icon of traffic item on each position of this menu template, generate the device of menu by be adjusted Before traffic item is arranged on the relevant position of menu template, can compare with pre-set business item, if Both are consistent, then use the icon of the traffic item preset in menu template, to alleviate the device generating menu Burden.This is because, " comparison " operation pertains only to simple logical operation, data volume is little, speed Hurry up, and " replacement " operation, relate to the access of peripheral hardware, the moving of big data quantity, the brush of output equipment New management, speed is slow, complicated and system loading is big.Therefore, the comparison behaviour that operand is less is first used First compare the icon of traffic item, judge whether to the icon of replacement traffic item further according to comparative result Operation, it is possible to reduce the burden of user terminal as much as possible.
The menu of the present embodiment can be the main menu of user terminal, it is also possible to be the secondary menu of user terminal.
According to the method generating menu of the present embodiment, by generating different dishes within the different time periods Single, it is possible to meet being actually needed of user, improve Consumer's Experience, facilitate the operation of user.
Embodiment two
The present embodiment provides a kind of method generating menu based on embodiment one.
As shown in Figure 2 A, for the schematic flow sheet generating menu according to the present embodiment.
Step 201, obtains the current clock value of user terminal, and according to the time period divided in advance, obtains Take the current slot at current clock value place.
Specifically, when the user terminal is switched on or non-standby state is proceeded to from holding state when user terminal Time, the device generating menu can obtain the current clock value of user terminal.
Time of one day can be the time period according to following regular partition by user:
First time period: 8:00~12:00;
Second time period: 12:01~14:00;
3rd time period: 14:01~18:00;
4th time period: 18:01~8:00.
Assume that current clock value is 9:00, then the time period divided in advance at current clock value place is first Time period, it is assumed that current clock value is 14:00, then the time period at current clock value place was the second time Section, by that analogy.
Step 202, according to the current slot divided in advance at current clock value place, obtains this time The number of operations of at least one traffic item that user terminal uses in section.
Each traffic item, when being used 1 time, generates the device of menu just in the operation that this traffic item is corresponding Add 1 on number of times.The identification information of the traffic item used in each time period and the operation of this traffic item Number of times can record in the device generating menu, it is also possible to individually stores, if this generation menu Device can get.
It is assumed that in first time period, the number of operations of " QQ " traffic item is 2, in the 4th time period, The number of operations of " QQ " traffic item is 30, and in remaining time period, the number of operations of " QQ " traffic item is 0.Assume that current clock value is 9:00, then the number of operations of " QQ " traffic item got is 2.
Step 203, arranges according to the size of number of operations from high to low by traffic item, and obtains front N Individual traffic item is as traffic item to be adjusted, and N is the integer more than or equal to 1, and N is subscriber equipment The number of the icon of the traffic item that can accommodate in menu template.
Using the menu generated the last in current slot as menu template in the present embodiment.
Step 204, it is judged that business to be adjusted, whether in the default menu of subscriber equipment, works as judged result During for traffic item to be adjusted in the default menu of subscriber equipment, perform step 205, when judged result is When traffic item to be adjusted is not in the default menu of subscriber equipment, perform step 208.
The present embodiment is using the menu generated the last in current slot as default menu.
Step 205, it was predicted that the icon that uses traffic item to be adjusted, the menu generated according to preset rules The layout of the layout menu that generate the last with in the current slot prestored is the most consistent, when in advance When surveying result for being, perform step 207, when predicting the outcome as time no, perform step 206.
This step is a prediction steps.I.e. generate the device of menu to adjust according to preset rules and acquired waiting The number of operations of whole traffic item, it was predicted that the layout of the menu generated, then by the layout of this prediction with work as The layout being newly generated menu once in the front time period compares, if each traffic item to be adjusted Icon is all consistent, then explanation uses traffic item to be adjusted icon, the menu that generates according to preset rules The layout of the layout menu that generate the last with in the current slot prestored is consistent, is otherwise Inconsistent.
The preset rules of the present embodiment can carry out multiple setting according to actual needs, and concrete example is:
The icon of traffic items most for number of operations is arranged on the centre of menu, it follows that according to operation Number of times is descending, successively the icon of traffic item is arranged respectively menu left, right, left front, Before the right side.As shown in fig. 2 b and fig. 2 c, the position being designated 1 is the most traffic item of number of operations The position of icon.
Step 206, obtains in the menu according to preset rules generation the last raw with in current slot Become menu in the different traffic item to be judged of picture mark position, according to number of operations descending or Ascending arrange traffic item to be judged, and determine whether the number of operations of adjacent two traffic item Difference is more than the first predetermined threshold value, when judged result is for being, performs step 208, when judged result is Time no, perform step 207.
This first predetermined threshold value can be set according to actual needs, such as 3 times, 5 times or 10 times. For concrete example, it is assumed that the picture mark position doping traffic item A and traffic item B generates with the last Menu in picture mark position inconsistent, then traffic item A and traffic item B is traffic item to be judged, industry The number of operations of business item A is 20, and the number of operations of business B is 21, and the first predetermined threshold value is 3, then may be used To find out that the difference of the number of operations of traffic item A and traffic item B, then will be current less than the first predetermined threshold value The menu that in time period, the last menu generated need to generate as this, and at the screen of user terminal On show.
Step 207, the last menu generated in showing current slot on the screen of the user terminal.
Step 208, generates menu.
The concrete operations mode of this generation menu may is that
The icon of traffic item to be adjusted is added and presets in menu, or replace with traffic item icon to be adjusted The icon of the existing traffic item in default menu, to generate menu.
Generate the device of menu can first judge traffic item to be adjusted whether with the predeterminated position in default menu The traffic item at place is consistent, when judged result is no, uses the icon of traffic item to be adjusted to replace corresponding positions Put the icon at place, when judged result is for being, can select directly to use original icon on this position, To avoid repeating.
The step of this generation menu can also be:
According to number of operations, number of operations is met the icon of the traffic item of preset rules, is arranged on user The relevant position of the menu template of terminal.
Alternatively, after generating menu, the method generating menu of the present embodiment also includes:
Empty the record of the number of operations of traffic item, by the updating menu generated for presetting menu.
After generating new menu, i.e. original number of operations can be emptied, recalculate, so that The record of the number of operations obtaining traffic item more conforms to the custom that user is current.
Alternatively, before generating menu, also include:
The record of the number of times presetting menu is updated in obtaining the object time section with current clock value as terminal;
Judge whether the number of times updating default menu is more than or equal to the second predetermined threshold value, when judged result is When being, in showing current slot on the screen of the user terminal, the last menu generated, works as judgement When result is no, perform to generate the operation of menu.
This step is the burden excessively frequently brought to the device generating menu to prevent menu from refreshing, can To be placed on the current clock value obtaining user terminal and to generate any position between menu according to preset rules Put.Second predetermined threshold value can be set according to actual needs, such as 10 times or 100 times.During target Between section can be set according to actual needs.Such as 2 hours or 5 hours.Assume present clock Value is for 14:00, and object time section is 2 hours, then generate the device of menu and obtain 12:00~14: The number of times updating default menu within 00, the number of times of the menu i.e. generated.The device generating menu is permissible Record updates each time presets menu number of times and corresponding time.This step can in above-mentioned steps 201~ Between step 208 either step.
According to the method generating menu of the present embodiment, not only by generating difference within the different time periods Menu to meet being actually needed of user, and by judging the relevant position of new menu generated Icon the most consistent with menu template and reduce the operation of device that generates menu as far as possible, save money Source.
Embodiment three
The method generating menu, based on embodiment one and embodiment two, is done concrete example explanation by the present embodiment.
In the present embodiment, user terminal is started shooting, it is assumed that the current clock value of user terminal is 18:56, then Traffic item acquired in the present clock section at this current clock value place is as shown in table 1.
Table 1
Number of operations
QQ 10
PDF 1
Music player 2
Wechat 12
Novel browser 8
Each traffic item is arranged from big to small by the device generating menu according to number of operations, is followed successively by " micro- Letter ", " QQ ", " novel browser ", " music player " and " PDF ".Due to institute in menu The icon of the traffic item that can accommodate is 3, then the device generating menu chooses front 3 traffic items as treating Adjust traffic item, be respectively " wechat ", " QQ " and " novel browser ".
The device of generation menu is the traffic item in the last menu generated in searching this current slot, Judge that all traffic items are the most consistent.It follows that the device generating menu predicts this 3 business to be adjusted Item generates, according to preset rules, the menu whether layout of menu generates with the last time in this current slot Layout consistent, it is judged that the position of " wechat " and " QQ " need exchange.
It follows that the difference generating the device number of operations that compares " wechat " and " QQ " of menu is 2, the first predetermined threshold value in the present embodiment is 3, then generate the device of menu and judge that this difference is less than the One predetermined threshold value, so, before generating the device employing of menu, in the time period, the last menu generated is made For this menu, and show on the screen of the user terminal.
One of ordinary skill in the art will appreciate that: realize all or part of step of said method embodiment Can be completed by the hardware that programmed instruction is relevant, aforesaid program can be stored in a computer-readable Taking in storage medium, this program upon execution, performs to include the step of said method embodiment;And it is aforementioned Storage medium include: the various media that can store program code such as ROM, RAM, magnetic disc or CD.
Embodiment four
The present embodiment provides a kind of device generating menu, for performing the side generating menu of embodiment one Method.
As it is shown on figure 3, the device of this generation menu includes the first acquiring unit 301, second acquisition unit 302 and signal generating unit 303.
Wherein, the first acquiring unit 301 is used for obtaining the current clock value of user terminal, and according in advance The time period divided, obtain the current slot at current clock value place;Second acquisition unit 302 is used for The current slot got according to the first acquiring unit 301, in obtaining this time period, user terminal makes The number of operations of at least one traffic item;Signal generating unit 303 is used for generating menu, wherein, and this dish List at least including, user's number of operations in current slot meets the traffic item of preset rules.
The concrete operation method of the device generating menu of the present embodiment is consistent with embodiment one, at this no longer Repeat.
According to the method generating menu of the present embodiment, by generating different dishes within the different time periods Single, it is possible to meet being actually needed of user, improve Consumer's Experience, facilitate the operation of user.
Embodiment five
The device generating menu of embodiment four is done supplementary notes further by the present embodiment.
Alternatively, the signal generating unit 303 in the present embodiment specifically for:
Traffic item is arranged from high to low according to the size of number of operations, and obtains top n traffic item As traffic item to be adjusted, N is the integer more than or equal to 1, and the menu template that N is subscriber equipment In the number of the icon of traffic item that can accommodate;
Judge that business to be adjusted is whether in the default menu of subscriber equipment;
When judging that traffic item to be adjusted is not in the default menu of subscriber equipment, by traffic item to be adjusted Icon add and preset in menu, or replace the existing industry in default menu with traffic item icon to be adjusted The icon of business item, to generate menu.
Alternatively, the icon of traffic item to be adjusted, for according to number of operations, is set by this signal generating unit 303 Put the predeterminated position of menu template at user terminal, generate menu.
As shown in Figure 4, the device generating menu of the present embodiment can also include predicting unit 401, should Predicting unit 401 is used for predicting the icon using traffic item to be adjusted, the menu generated according to preset rules The layout of the layout menu that generate the last with in the current slot prestored the most consistent, when Predict the outcome as time no, trigger signal generating unit 303, when predicting the outcome as being, at the screen of user terminal The last menu generated in showing current slot on curtain.
Alternatively, signal generating unit 303 is additionally operable to:
Obtain the picture mark position in the menu generated in the menu according to preset rules generation with the last time not The same traffic item to be judged;
Traffic item to be judged is arranged according to number of operations is descending or ascending;
Determine whether that the difference of number of operations of adjacent two traffic item is more than the first predetermined threshold value;
When judged result is for being, perform to generate the operation of menu;
When judged result is no, the last raw in showing current slot on the screen of the user terminal The menu become.
Alternatively, the device generating menu of the present embodiment also includes emptying unit 402, and this empties unit 402 for emptying the record of the number of operations of traffic item, and by the updating menu generated for presetting menu.
Alternatively, can also include judging unit 403 in the present embodiment, this judging unit 403 is used for:
The record of the number of times presetting menu is updated in obtaining the object time section with current clock value as terminal;
Judge whether the number of times updating default menu is more than or equal to the second predetermined threshold value, when judged result is When being, in showing current slot on the screen of the user terminal, the last menu generated, works as judgement When result is no, trigger signal generating unit 303.
According to the device generating menu of the present embodiment, not only by generating difference within the different time periods Menu to meet being actually needed of user, and by judging the relevant position of new menu generated Icon the most consistent with menu template and reduce the operation of device that generates menu as far as possible, save money Source.
Embodiment six
The present embodiment provides another kind to generate the device of menu, for performing the above method generating menu.
As it is shown in figure 5, be the structural representation of the device generating menu according to the present embodiment.This generation The device 500 of menu includes at least one processor 501, communication bus 502, memory 503 and extremely A few communication interface 504.
Wherein, communication bus 502 is used for realizing the connection between said modules and communicating, communication interface 504 For being connected with the network equipment and communicating.This bus can be ISA(Industry Standard Architecture, industry standard architecture) bus, PCI(Peripheral Component, outward Portion's apparatus interconnection) bus or EISA(Extended Industry Standard Architecture, Extended industry-standard architecture) bus etc..Bus can be one or more physical circuit, when being many Address bus, data/address bus, control bus etc. can be divided into during bar physical circuit.
Wherein, memory 503 is used for storing executable program code, and wherein, processor 501 is by reading In access to memory 503, the executable program code of storage runs the journey corresponding with executable program code Sequence, for:
Obtain the current clock value of user terminal, and according to the time period divided in advance, obtain present clock The current slot at value place;
According to current slot, obtain in this time period, at least one traffic item that user terminal uses Number of operations;
Generate menu, wherein, menu at least including, user's number of operations in current slot meets The traffic item of preset rules.
Alternatively, processor 501 is transported by reading the executable program code of storage in memory 503 The program that row is corresponding with executable program code, for when generating menu, specifically may is that business Item arranges from high to low according to the size of number of operations, and obtains top n traffic item as to be adjusted Traffic item, N is the integer more than or equal to 1, and can accommodate in the menu template that N is subscriber equipment The number of icon of traffic item;
Judge that business to be adjusted is whether in the default menu of subscriber equipment;
When judging that traffic item to be adjusted is not in the default menu of subscriber equipment, by traffic item to be adjusted Icon add and preset in menu, or replace the existing industry in default menu with traffic item icon to be adjusted The icon of business item, to generate menu.
Alternatively, processor 501 is transported by reading the executable program code of storage in memory 503 The program that row is corresponding with executable program code, for when generating menu, specifically may is that according to behaviour Make number of times, number of operations is met the icon of the traffic item of preset rules, be arranged on the menu of user terminal The relevant position of template, generates menu.
Alternatively, processor 501 comes also by reading the executable program code of storage in memory 503 Run the program corresponding with executable program code, for before generating menu, also include:
Prediction uses the layout of menu that the icon of traffic item to be adjusted generates according to preset rules and deposits in advance In the current slot of storage, the layout of the last menu generated is the most consistent;
When predicting the outcome as time no, perform to generate the operation of menu;
When predicting the outcome as being, the last raw in showing current slot on the screen of the user terminal The menu become.
Alternatively, when the menu doping the icon using traffic item to be adjusted, generate according to preset rules Layout and the current slot prestored in the layout of the last menu generated inconsistent after, And before performing the operation of generation menu, processor 501 can also be deposited by reading in memory 503 The executable program code of storage runs the program corresponding with executable program code, for:
Obtain the picture mark position in the menu generated in the menu according to preset rules generation with the last time not The same traffic item to be judged;
Traffic item to be judged is arranged according to number of operations is descending or ascending;
Determine whether that the difference of number of operations of adjacent two traffic item is more than the first predetermined threshold value;
When judged result is for being, perform to generate the operation of menu;
When judged result is no, the last raw in showing current slot on the screen of the user terminal The menu become.
Alternatively, when, after generating menu, processor 501 can also be by reading in memory 503 The executable program code of storage runs the program corresponding with executable program code, for:
Empty the record of the number of operations of traffic item, and by the updating menu generated for presetting menu.
Alternatively, before generating menu, processor 501 can also be deposited by reading in memory 503 The executable program code of storage runs the program corresponding with executable program code, for:
The record of the number of times presetting menu is updated in obtaining the object time section with current clock value as terminal;
Judge whether the number of times updating default menu is more than or equal to the second predetermined threshold value, when judged result is When being, in showing current slot on the screen of the user terminal, the last menu generated, works as judgement When result is no, perform to generate the operation of menu.
According to the device 500 generating menu of the present embodiment, by generating difference within the different time periods Menu, it is possible to meet being actually needed of user, improve Consumer's Experience, facilitate the operation of user.
Last it is noted that above example is only in order to illustrate technical scheme, rather than to it Limit;Although the present invention being described in detail with reference to previous embodiment, the ordinary skill of this area Personnel it is understood that the technical scheme described in foregoing embodiments still can be modified by it, or Person carries out equivalent to wherein portion of techniques feature;And these amendments or replacement, do not make corresponding skill The essence of art scheme departs from the scope of various embodiments of the present invention technical scheme.

Claims (10)

1. the method generating menu, it is characterised in that including:
Obtain the current clock value of user terminal, and according to the time period divided in advance, obtain described currently The current slot at clock value place;
According to described current slot, in obtaining described current slot, described user terminal uses extremely The number of operations of a few traffic item;
Generate menu, wherein, described menu at least includes user's operation in described current slot Number of times meets the traffic item of preset rules;
Wherein, before described generation menu, also include:
If traffic item to be adjusted is in the default menu of described user terminal, it was predicted that use described industry to be adjusted Business item icon, according to preset rules generate menu layout with described prestore described current time Between in section the layout of the last menu generated the most consistent;
When predicting the outcome as time no, perform to generate the operation of menu;
When predicting the outcome as being, the screen of described user terminal shows in described current slot The nearly menu once generated;
Wherein, when the dish doping the icon using described traffic item to be adjusted, generate according to preset rules The layout of the menu that single layout and the last time in the described described current slot prestored generate is not After Yi Zhi, and before performing the operation of generation menu, also include:
Obtain described according to the figure in the menu generated with described the last time in the menu of preset rules generation The different traffic item to be judged of cursor position;
According to traffic item to be judged described in the descending or ascending arrangement of number of operations;
Determine whether that the difference of number of operations of adjacent two traffic item is more than the first predetermined threshold value;
When judged result is for being, perform to generate the operation of menu;
When judged result is no, the screen of described user terminal shows in described current slot The nearly menu once generated.
The method of generation menu the most according to claim 1, it is characterised in that described generation menu Including:
Described traffic item is arranged from high to low according to the size of number of operations, and obtains top n industry Business item is as described traffic item to be adjusted, and described N is the integer more than or equal to 1, and N is described use The number of the icon of the traffic item accommodated in the menu template of family terminal;
Judge that described traffic item to be adjusted is whether in the default menu of described subscriber equipment;
When judging that described traffic item to be adjusted is not in the default menu of described subscriber equipment, by described The icon of traffic item to be adjusted adds in described default menu, or replaces with described traffic item icon to be adjusted Change the icon of existing traffic item in default menu, to generate described menu.
The method of generation menu the most according to claim 1, it is characterised in that described generation menu, Including:
According to described number of operations, described number of operations is met the icon of the traffic item of preset rules, if Put the relevant position of menu template at described user terminal.
4. according to the method generating menu according to any one of claims 1 to 3, it is characterised in that After generating menu, also include:
Empty the record of the number of operations of traffic item, and by the updating menu generated for presetting menu.
The method of generation menu the most according to claim 1, it is characterised in that generate menu it Before, also include:
The number of times of described default menu is updated in obtaining the object time section with described current clock value as terminal Record;
Judge that described renewal presets the number of times of menu whether more than or equal to the second predetermined threshold value, when judging knot When fruit is for being, the last generation in showing described current slot on the screen of described user terminal Menu, when judged result is no, performs to generate the operation of menu.
6. the device generating menu, it is characterised in that including:
First acquiring unit, for obtaining the current clock value of user terminal, and according to divide in advance time Between section, obtain the current slot at described current clock value place;
Second acquisition unit, for according to described current slot, obtains in described current slot, institute State the number of operations of at least one traffic item that user terminal uses;
Described signal generating unit, is used for generating menu, wherein, at least includes that user is described in described menu Number of operations in current slot meets the traffic item of preset rules;
Wherein, the device of described generation menu, also include:
Predicting unit, if for traffic item to be adjusted in the default menu of described user terminal, it was predicted that adopt Layout with the icon of described traffic item to be adjusted, according to the menu of preset rules generation is deposited in advance with described In the described current slot of storage, the layout of the last menu generated is the most consistent, when predict the outcome for Time no, trigger described signal generating unit, when predicting the outcome as being, aobvious on the screen of described user terminal The last menu generated in showing described current slot;
Described signal generating unit is additionally operable to:
Obtain described according to the figure in the menu generated with described the last time in the menu of preset rules generation The different traffic item to be judged of cursor position;
According to traffic item to be judged described in the descending or ascending arrangement of number of operations;
Determine whether that the difference of number of operations of adjacent two traffic item is more than the first predetermined threshold value;
When judged result is for being, perform to generate the operation of menu;
When judged result is no, the screen of described user terminal shows in described current slot The nearly menu once generated.
The device of generation menu the most according to claim 6, it is characterised in that described signal generating unit Specifically for:
Described traffic item is arranged from high to low according to the size of number of operations, and obtains top n industry Business item is as described traffic item to be adjusted, and described N is the integer more than or equal to 1, and N is described use The number of the icon of the traffic item that can accommodate in the menu template of family terminal;
Judge described traffic item to be adjusted whether in the default menu of described subscriber equipment, when judging State traffic item to be adjusted not in the default menu of described subscriber equipment time, by described traffic item to be adjusted Icon adds in described default menu, or replaces in default menu with described traffic item icon to be adjusted The icon of existing traffic item, to generate described menu.
The device of generation menu the most according to claim 6, it is characterised in that described signal generating unit Specifically for:
According to described number of operations, the icon of described traffic item to be adjusted is arranged on described user terminal The predeterminated position of menu template, generates described menu.
9. according to the device generating menu according to any one of claim 6~8, it is characterised in that Also include:
Empty unit, for emptying the record of the number of operations of traffic item, and by the updating menu of generation be Preset menu.
The device of generation menu the most according to claim 9, it is characterised in that also include:
Judging unit, updates described presetting in obtaining the object time section with described current clock value as terminal The record of the number of times of menu, and whether judge that the number of times of menu is preset in described renewal the most pre-more than or equal to second If threshold value, when judged result is for being, the screen of described user terminal shows described current slot The interior the last menu generated, when judged result is no, triggers described signal generating unit.
CN201310567674.5A 2013-11-14 2013-11-14 The method and apparatus generating menu Active CN103543901B (en)

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 CN103543901A (en) 2014-01-29
CN103543901B true 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)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103543901B (en) * 2013-11-14 2016-09-07 华为技术有限公司 The method and apparatus generating menu
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
CN113064538B (en) * 2020-01-02 2024-03-05 佛山市云米电器科技有限公司 Equipment parameter setting method, intelligent refrigerator and computer readable storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
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 (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100800870B1 (en) * 2006-09-05 2008-02-04 삼성전자주식회사 Method for displaying dynamic menu
KR20110051375A (en) * 2009-11-10 2011-05-18 삼성메디슨 주식회사 Medical diagnostic apparatus and menu display method
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

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
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

Also Published As

Publication number Publication date
CN103543901A (en) 2014-01-29
WO2015070671A1 (en) 2015-05-21

Similar Documents

Publication Publication Date Title
CN103543901B (en) The method and apparatus generating menu
US11182213B2 (en) Application program management method and device
CN105094920B (en) A kind of game rendering intent and device
CN105740078B (en) Memory management method, device and terminal
CN103399781B (en) Cloud Server and virtual machine management method thereof
CN106681933A (en) Memory management method and terminal
CN110096528A (en) The method, apparatus and system of formation sequence in a kind of distributed system
CN109857548A (en) Memory space optimization method, device, computer equipment and storage medium
CN106528290A (en) Resource scheduling method for mobile terminal and mobile terminal
CN109753443A (en) A kind of data processing method, device and electronic equipment
CN104423887B (en) Mobile device EMS memory management process and system
CN108345644A (en) A kind of method and device of data processing
CN107590144A (en) A kind of file memory method and terminal
CN109254839A (en) It determines the method in task triggered time, construct the method and system of task timer
CN105847446A (en) Network data obtaining method, device and system
CN110443529A (en) Resource regulating method, device, equipment and computer readable storage medium
CN106503543A (en) A kind of method and apparatus of management application program
CN106201490A (en) The method and device that a kind of optimization application is run
CN104375896A (en) Information processing method and electronic equipment
CN106202374A (en) A kind of data processing method and device
CN106201714A (en) A kind of ODEX optimization method and system
CN103118156A (en) Alarm clock setting method and corresponding device
CN106896890A (en) Electric quantity for electronic equipment management method and device
CN107527228A (en) A kind of method and device for sending electronic ticket
CN108428002A (en) A kind of is to wait for the method and apparatus that restocking machine determines seat in the plane

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