CN102662666A - Method and device for creating interface menu - Google Patents

Method and device for creating interface menu Download PDF

Info

Publication number
CN102662666A
CN102662666A CN2012100909532A CN201210090953A CN102662666A CN 102662666 A CN102662666 A CN 102662666A CN 2012100909532 A CN2012100909532 A CN 2012100909532A CN 201210090953 A CN201210090953 A CN 201210090953A CN 102662666 A CN102662666 A CN 102662666A
Authority
CN
China
Prior art keywords
submenu
function
data
menu
hurdle
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
Application number
CN2012100909532A
Other languages
Chinese (zh)
Other versions
CN102662666B (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.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Qizhi Software Beijing 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 Qizhi Software Beijing Co Ltd filed Critical Qizhi Software Beijing Co Ltd
Priority to CN201210090953.2A priority Critical patent/CN102662666B/en
Publication of CN102662666A publication Critical patent/CN102662666A/en
Application granted granted Critical
Publication of CN102662666B publication Critical patent/CN102662666B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The application provides a method and a device for creating an interface menu, which aim at solving the problem of the prior art that the menu can not meet the user demand, and the user has a worse use effect. The method comprises the following steps: adding at least one menu item in a menu bar; setting at least one line of the menu item as one submenu; initiating the submenu, acquiring submenu data including function entry data and corresponding descriptor of at least one function in a function bar; setting at least one column in the submenu as one function bar; aiming at the function bar, looking up the function entry data of at least one function from the submenu data; and regulating the width of the function bar and/or the height of the submenu according to the descriptor of the function entry data looked up. By the application, the width of the function bar and/or the height of the submenu can be regulated according to the descriptor of the function entry data, and the display effect of the submenu data can be optimized.

Description

A kind of creation method of interface menu and device
Technical field
The application relates to menu technique, particularly relates to a kind of creation method and device of interface menu.
Background technology
The design of menu is a kind of technology of using always in the software of Windows with the technology of realization, all comprises menu in the software of most Windows.A menu item is the available options of row, and the user can carry out corresponding operation easily through menu.
Menu row is right after usually below header line and shows that this menu row also is called as " master menu " or " top menu " in the window of an application program.Wherein, the menu item of said top menu is pull-down menu normally, also is called " pop-up menu ".A menu item can comprise several " submenus ", promptly can define the pop-up menu of multinest, and the project on pop-up menu can another pop-up menu of access.
Usually we see in the menu item that what show in each row is that icon adds word content; What perhaps show is that word content adds shortcut; This is that size, the form of menu are fixed because when creating the menu mode menu, and promptly each row of menu item and sizes of each row are fixed; And each menu item has fixing columns in all, stipulates each row institute content displayed simultaneously.Therefore can only be when creating menu according to the menu style configuration content corresponding that sets, for example, the row of first in the menu item can only configure icons, and secondary series can only configured letters, and the font of said literal, color are also fixed.
But the development of Along with computer technology, the more and more various property of user's request, menu is more and more many, and content is more and more detailed, and form fix, single menu can not be met consumers' demand, and user's result of use is poor.For example; If in the collection menu of browser, preserve web page address; The site title of this webpage is long, because the size of each row is fixed in the menu, the situation of all titles therefore can occur can't showing in the delegation; Can make the user can't understand the effect of this web page address fully, result of use is poor.
Summary of the invention
The application provides a kind of creation method and device of interface menu, can not meet consumers' demand the problem that user's result of use is poor with menu in the solution prior art.
In order to address the above problem, the application discloses the creation method on a kind of interface menu hurdle, comprising:
In menu bar, add at least one menu item;
Submenu of at least one behavior in the said menu item is set;
The initialization submenu obtains the submenu data, and said submenu data comprise the functional entrance data and the corresponding descriptor thereof of at least one function in the function hurdle;
At least one in the said submenu is set classifies a function hurdle as;
To said function hurdle, from the submenu data, search the functional entrance data of said at least one function;
According to the descriptor of the said functional entrance data that find, the width on regulatory function hurdle and/or the height of submenu.
Preferably, the function on function hurdle comprises: display icon, display text, Show Picture and the Show Button at least one.
Preferably, the method for the height of the width on said regulatory function hurdle and/or submenu comprises:
Obtain the width and the height of at least one menu item in the menu bar;
Obtain the resolution of screen and the size of interfaces windows;
According to the adjusting ratio that presets, regulate the display mode of said at least one menu item.
Preferably, the display mode of said menu item comprises:
In menu item, load scroll bar, said at least one the submenu of roll display.
Preferably, the display mode of said menu item comprises:
In menu item, load scroll bar, said at least one the function hurdle of roll display.
Preferably, it is characterized in that the descriptor of said functional entrance data is a site title, the method for the width on then said regulatory function hurdle and/or the height of submenu comprises:
Confirm the optimization display mode of site title in advance, and preserve the corresponding configuration information of site title;
When submenu shows site title, from said site title, read corresponding optimization video data according to configuration information;
Load said optimization video data in submenu, with the width on regulatory function hurdle and/or the height of submenu.
Preferably, said submenu is used to store web page address, and the function on said at least one function hurdle is automatically login,
Then said method of from the submenu data, searching the functional entrance data of said at least one function comprises:
Search said submenu data,, then add corresponding login banner if confirm to comprise the data of automatic login;
And add login user name and password to said login banner as the functional entrance data.
Preferably, extract the web page address of storing in the inherent menu of a period of time, and recommend corresponding Internet resources through analyzing said web page address.
The function on the function hurdle in the said submenu preferably, is set in advance.
Preferably, said initialization submenu, the step of obtaining the submenu data comprises:
Send the submenu request to network side, and obtain the function column number certificate the submenu from network side;
And/or,
From the submenu data that preserve this locality, obtain the function column number certificate in the submenu.
Accordingly, disclosed herein as well is the creation apparatus on a kind of interface menu hurdle, comprising:
Add module, be used for adding at least one menu item at menu bar;
First is provided with module, is used for being provided with submenu of at least one behavior of said menu bar;
Data acquisition module is used for the initialization submenu, obtains the submenu data, and said submenu data comprise the functional entrance data and the corresponding descriptor thereof of at least one function in the function hurdle;
Second is provided with module, and what be used for being provided with said submenu at least onely classifies a function hurdle as,
The data search module is used for from the submenu data, searching the functional entrance data of said at least one function to said function hurdle;
Adjustment module is used for descriptor, the width on regulatory function hurdle and/or the height of submenu according to the said functional entrance data that find.
Preferably, the function on function hurdle comprises: display icon, display text, Show Picture and the Show Button at least one.
Preferably, said adjustment module also comprises:
First obtains submodule, is used for obtaining the width and the height of at least one menu item of menu bar;
Second obtains submodule, is used to obtain the resolution of screen and the size of interfaces windows;
Regulate submodule, be used for regulating the display mode of said at least one menu item according to the adjusting ratio that presets.
Preferably, said adjusting submodule comprises:
First display unit is used for loading scroll bar at menu item, said at least one the submenu of roll display.
Preferably, said adjusting submodule comprises:
Second display unit is used for loading scroll bar at menu item, said at least one the function hurdle of roll display.
Preferably, it is characterized in that the descriptor of said functional entrance data is a site title, said adjustment module comprises:
Preserve submodule, be used for confirming in advance the optimization display mode of site title, and preserve the corresponding configuration information of site title;
Reading submodule when being used for submenu demonstration site title, reads corresponding optimization video data according to configuration information from said site title;
Load and display sub-module, be used for loading said optimization video data to submenu, with the width on regulatory function hurdle and/or the height of submenu.
Preferably, said submenu is used to store web page address, and the function on said at least one function hurdle is automatically login, and said data search module comprises:
Search submodule, be used to search said submenu data,, then add corresponding login banner if confirm to comprise the data of automatic login;
Add submodule, be used for adding login user name and password to said login banner as the functional entrance data.
Preferably, described device also comprises:
Extract and analysis module, be used for extracting the web page address that inherent menu of a period of time is stored, and recommend corresponding Internet resources through analyzing said web page address.
Preferably, described device also comprises:
The function setting module is used for being provided with in advance the function on the function hurdle of said submenu.
Preferably, said data acquisition module comprises:
Network obtains submodule, is used for sending the submenu request to network side, and obtains the function column number certificate the submenu from network side;
This locality obtains submodule, and the submenu data that are used for preserving from this locality are obtained the function column number certificate the submenu.
Compared with prior art, the application comprises following advantage:
At first; The application adds at least one menu item in menu bar; Submenu of at least one behavior in the said menu bar is set; The initialization submenu obtains the submenu data, and said submenu data comprise the functional entrance data and the corresponding descriptor thereof of at least one function in the function hurdle.At least one in the said submenu is set classifies a function hurdle as; To said function hurdle; From the submenu data, search the functional entrance data of said at least one function, according to the descriptor of the said functional entrance data that find, the width on regulatory function hurdle and/or the height of submenu.The application can be according to the descriptor of said functional entrance data, the width on regulatory function hurdle and/or the height of submenu, the display effect of optimization submenu data.
Secondly, the size of menu and form can be provided with among the application, and the row of its menu items, columns can be provided with, and size can be provided with, and content can be provided with, and can satisfy user's various demands.And each item content that the menu that the application creates shows is clear, and user's result of use is relatively good.
Once more, the application can regulate the display mode of said at least one menu item of master menu according to the resolution of screen and the size of interfaces windows.A kind of is in menu item, to load scroll bar, and said at least one the submenu of roll display for example, if submenu is many in certain menu item, exceeded the height of screen or interfaces windows, then can take the mode of roll display.Another kind is in menu item, to load scroll bar, and said at least one the function hurdle of roll display for example, if the content on certain function hurdle is long in the menu item, can't all show, also can take the mode of roll display.The menu that the application creates can be according to the size of resolution and interfaces windows, and is intelligent, change display mode flexibly, and the user is very easy to use.
Once more; The application is when content displayed is site title in submenu; Sometimes site title is long, and the no chapter of the assorted opinion of content, and this moment can be according to the optimization display mode of confirming site title in advance; Extract data corresponding in the site title, show said site title to optimize display mode.It is long that the application has solved site title, and the problem of the no chapter of the assorted opinion of content, can be clear, succinctly, show site title to the user intuitively, and the user can understand the main contents of this website easily.
Once more, very flexible among the application to said submenu Data Acquisition method, can from network, obtain; Promptly send the submenu request to network side; And obtain the function column number certificate the submenu from network side, and perhaps directly obtain from this locality, promptly from the submenu data that preserve this locality, obtain the function column number certificate in the submenu; Can certainly both from network, obtain, obtain from this locality again.
Description of drawings
Fig. 1 is the creation method process flow diagram of the said a kind of interface menu of the application embodiment;
Fig. 2 is the creation method process flow diagram of the said a kind of interface menu of the application's preferred embodiment;
Fig. 3 is the method flow diagram of the display mode of the said adjusting menu item of the application embodiment;
Fig. 4 is the process flow diagram of the optimization display mode of the said site title of the application embodiment;
Fig. 5 is the creation apparatus structural drawing of the said a kind of interface menu of the application embodiment.
Embodiment
For above-mentioned purpose, the feature and advantage that make the application can be more obviously understandable, the application is done further detailed explanation below in conjunction with accompanying drawing and embodiment.
The design of menu is a kind of technology of using always in the software of Windows with the technology of realization, all comprises menu in the software of most Windows.
Prior art is when creating the menu mode menu, and size, the form of menu are fixed, and promptly each row of menu item and sizes of each row are fixed, and each menu item has fixing columns in all, stipulates each row institute content displayed simultaneously.
But the development of Along with computer technology, the more and more various property of user's request, menu is more and more many, and content is more and more detailed, and form fix, single menu can not be met consumers' demand, and user's result of use is poor.
The size of menu and form can be provided with among the application, and the row of its menu items, columns can be provided with, and size can be provided with, and content can be provided with, and can satisfy user's various demands.And each item content that the menu that the application creates shows is clear, and user's result of use is relatively good.Following mask body is discussed:
With reference to Fig. 1, provided the creation method process flow diagram of the said a kind of interface menu of the application embodiment.
Step 11 is added at least one menu item in menu bar;
When creating the interface menu hurdle, at first in menu bar, add at least one menu item and name respectively.
For example, master menu adds 4 menu items at the interface, respectively called after file, view, window and help.
Step 12 is provided with the submenu of at least one behavior in the said menu item;
To each menu item, can be with the delegation in the menu item as a sub-menu, said submenu is used for the particular content of display menu item, and for example, described menu item is a collection, and what then show in each submenu can be the webpage of collection.
Step 13, the initialization submenu obtains the submenu data, and said submenu data comprise the functional entrance data and the corresponding descriptor thereof of at least one function in the function hurdle;
Then can the said submenu of initialization, from database, obtain the submenu data.Wherein, said submenu data comprise the functional entrance data and the corresponding descriptor thereof of at least one function in the function hurdle.
Wherein, said functional entrance data are to realize the data of said function, and said descriptor is to describe the data of said function.For example, the submenu data are the collection data in the collection, and then the functional entrance data can be web page addresses; Can login said webpage through said web page address; Corresponding descriptor can be a web page title, can describe the function of this webpage, as login this webpage and can see the A video.
Step 14 is provided with at least one in the said submenu and classifies a function hurdle as;
To each menu item, with row in the menu item as a function hurdle, for example, the function hurdle in the collection can display web page the contents such as icon, web page title of website, place.
Step 15 to said function hurdle, is searched the functional entrance data of said at least one function from the submenu data;
After getting access to said submenu data, said submenu data can be loaded, the corresponding descriptor of function corresponding entry data and said functional entrance data can be in said function hurdle, loaded to the function corresponding hurdle.
For example, give first function hurdle value-added tax function entry data, the i.e. web page address of submenu 1: http://www.xx1.com can load corresponding descriptor, i.e. web page title: the xx1 net so accordingly in the said first function hurdle.
To said function hurdle, then from submenu, search the functional entrance data and the corresponding descriptor of said functional entrance data of a function at least.
For example, can from the function hurdle of submenu, search web page address: http://www.xx1.com and corresponding web page title: xx1 net.
Step 16, according to the descriptor of the said functional entrance data that find, the width on regulatory function hurdle and/or the height of submenu.
Then can be according to the descriptor of the said functional entrance data that find, the width on regulatory function hurdle, or the height of adjusting submenu, or the width on while regulatory function hurdle and the height of regulating submenu.For example, the first function hurdle display web page title in the submenu 1, the second function hurdle display web page icon; Usually web page title is long; Therefore can be with the ratio broad of the width adjusting on the first function hurdle, and the webpage icon is smaller usually, therefore can be with the width adjusting on the second function hurdle narrow.
In sum; The application adds at least one menu item in menu bar; Submenu of at least one behavior in the said menu bar is set; The initialization submenu obtains the submenu data, and said submenu data comprise the functional entrance data and the corresponding descriptor thereof of at least one function in the function hurdle.At least one in the said submenu is set classifies a function hurdle as; To said function hurdle; From the submenu data, search the functional entrance data of said at least one function, according to the descriptor of the said functional entrance data that find, the width on regulatory function hurdle and/or the height of submenu.The application can be according to the descriptor of said functional entrance data, the width on regulatory function hurdle and/or the height of submenu, the display effect of optimization submenu data.
Preferably, the function on said function hurdle comprises: display icon, display text, Show Picture and the Show Button at least one.
Below in conjunction with a kind of method in the practical implementation, tell about the constructive process of menu.
With reference to Fig. 2, provided the creation method process flow diagram of the said a kind of interface menu of the application's preferred embodiment.
Step 201 is created several menu items in page master menu;
The method of using can for: 1. create first menu item; 2. create second menu item; 3. create the 3rd menu item; 4. creative management menu item; 5. create the help menu item.
Can add menu pointer at UI root node pointer simultaneously, be used to identify it and be menu.
Below, be example with the 3rd menu item wherein, the constructive process of menu item is described.
Step 202 is given the name of interface master menu and menu item;
For example, give the 3rd above-mentioned menu item name, wherein said method can for, name to menu.
Step 203, the picture resource in the configuration menu;
The picture resource of the scroll bar that 1, can setup menu possibly occur, like the scroll bar background, arrow artwork etc. up and down;
2, Background that can setup menu.
Step 204, the function on each function hurdle in the choice menus item;
Each row ladies and gentlemen function hurdle in the menu item, function that can each function hurdle of setup menu item is a display icon, display text Shows Picture, the Show Button etc., for example, menu item has 5 row.
Step 205 is provided with the width on each function hurdle;
Step 206 is provided with the height of each submenu;
Each row can be provided with the height of each submenu as a sub-menu in the menu item, in the practical implementation, can each sub-menu be arranged to same height, the difference of the content that also can general layout imports, and different height is set.
Step 207, the initialization submenu, and from database, read the submenu data;
Step 208 to each function hurdle, is searched function corresponding data and loading from the submenu data.
For example, when submenu is collection at first, the initialization submenu:
Wherein, the implementation procedure of submenu is following:
1. reading of data at first will be carried out initialization to menu item according to the data that read afterwards;
2. read data, initialization:
1) if this supports login automatically, then adds the lightning icon;
2) read the webpage icon;
3) according to literal, pictorial information initialization menu items such as icon, page title, user names;
4) contextual information of setup menu item can get access to corresponding menu item according to id and account number name.
Wherein, need login through log-on message as if the website of storage, then can be when setting up the menu item of collection; A function hurdle is set for showing the lightning icon, when loading data, if the data support that detects in the database is logined automatically; Then can load the lightning icon; Otherwise the data that promptly detect in the database are not supported automatic login, then need not load the lightning icon.
Said contextual information is the pairing data of submenu, but whether the application does not limit it and show in reality is implemented.For example, can load the lightning icon when above-mentioned support is logined automatically, the log-on message that needs when wherein logining automatically is contextual information, but can in submenu, not show.
Wherein, master menu has a menu handle, and each pop-up menu also has its menu handle, and said menu handle is used to identify it and is menu.
Each menu all has three characteristics.First characteristic is what to show in the menu, and it can be character string or bitmap.Second characteristic is the menu ID that Windows sends to program in the WM_COMMAND message, or the menu handle of the pop-up menu that Windows shows when user's choice menus item.The 3rd characteristic is the attribute of menu item, comprises whether disabled, ineffective treatment or selected.
Following mask body is introduced operable method in a kind of interface menu establishment.
One, realize being used for representing the class on each row of menu item (function hurdle), such is used for representing row of menu item.In present menu interface was realized, each row can be display text, Show Picture etc., and width can freely be set.The important method that realizes is described below:
(1) setting value;
(2) set, read col width.
Two, realize menu item type, such is used to represent a menu item.Each menu item all is made up of a plurality of menu bars.The important method that realizes is described below:
(1) context of setting menu item;
(2) set user's string.
Three, realize menu class, such is used to represent a master menu.Master menu is made up of a plurality of menu items.The important method that realizes is described below:
(1) sets and reads the height of menu item;
(2) obtain the index of menu item;
(3) menu item of deletion;
(4) create a menu;
(5) increase a menu item.
Four, realize making up the struct of menu bar, adopt the mould plate technique among the C++, can make up to easy and flexible the menu item of different patterns.
In sum, the size of menu and form can be provided with among the application, and the row of its menu items, columns can be provided with, and size can be provided with, and content can be provided with, and can satisfy user's various demands.And each item content that the menu that the application creates shows is clear, and user's result of use is relatively good.
In actual use; Different user can employable different equipment; For example the display of the equipment of user's 1 use is 17 cun, and the display of the equipment that user 2 uses is 11 cun, and the application is to the size of display different problems; Designed the method that can change menu size according to size of display, specific as follows:
Preferably, the method for the height of the width on said regulatory function hurdle and/or submenu comprises:
With reference to Fig. 3, provided the method flow diagram of the display mode of the said adjusting menu item of the application embodiment.
Step 301, obtain at least one menu item in the menu bar width and the height;
According to the size of screen resolution and menu, the demonstration of adjustment menu at first, obtains the width and the height of menu.
Step 302 is obtained the resolution of screen and the size of interfaces windows;
For example, obtain the vertical resolution of screen, obtain the size of window, can certainly obtain the horizontal resolution of screen.
Step 303 according to the adjusting ratio that presets, is regulated the display mode of said at least one menu item;
Set the position of displaying interface according to specific ratio.
Step 304 loads scroll bar in menu item, said at least one the submenu of roll display;
If submenu is long in the menu item, for example, surpass the vertical resolution of screen, or surpassed the size of interface main window, just can in menu item, load scroll bar, each sub-menu of roll display.
Step 305 loads scroll bar in menu item, said at least one the function hurdle of roll display.
If the content in the menu item in certain function hurdle is long, for example, surpass the horizontal resolution of screen, or surpassed the size of interface main window, just can in menu item, load scroll bar, the content in this function hurdle of roll display.
Certainly if the function hurdle in certain sub-menu is many, each function hurdle in also can the said submenu of roll display.
In sum, the application can regulate the display mode of said at least one menu item of master menu according to the resolution of screen and the size of interfaces windows.A kind of is in menu item, to load scroll bar, and said at least one the submenu of roll display for example, if submenu is many in certain menu item, exceeded the height of screen or interfaces windows, then can take the mode of roll display.Another kind is in menu item, to load scroll bar, and said at least one the function hurdle of roll display for example, if the content on certain function hurdle is long in the menu item, can't all show, also can take the mode of roll display.The menu that the application creates can be according to the size of resolution and interfaces windows, and is intelligent, change display mode flexibly, and the user is very easy to use.
To when the store website title, the long situation of title content sometimes, the application has proposed a kind of method, and when content displayed in the submenu was site title, the mode of taking to optimize shows, and was specific as follows:
Preferably, the descriptor of said functional entrance data is a site title, and the method for the width on then said regulatory function hurdle and/or the height of submenu comprises:
With reference to Fig. 4, provided the process flow diagram of the optimization display mode of the said site title of the application embodiment.
Step 401 is confirmed the optimization display mode of site title in advance, and preserves the corresponding configuration information of site title;
Can confirm the optimization display mode of site title in advance, and preserve the corresponding configuration information of site title.
For example in showing the function hurdle of site title, add scroll bar, let long site title roll display.
And for example, can said site title be carried out division display, for example the descriptor of first function hurdle demonstration is the main web site title; Like the xx video; The descriptor that the second function hurdle shows is the website icon, and the descriptor that the 3rd function hurdle shows is first detail content, like TV play; The descriptor that the 4th function hurdle shows is second detail data, like aa-the 1st collection.
Step 402 when submenu shows site title, reads corresponding optimization video data according to configuration information from said site title;
Step 403 loads said optimization video data in submenu, with the width on regulatory function hurdle and/or the height of submenu.
When submenu shows site title, can read said configuration information, and then from said site title, read corresponding optimization video data, and be loaded in the submenu, with the width on regulatory function hurdle and/or the height of submenu according to the needs of configuration information.
For example if the width that roll display just can the preset function hurdle, demonstration then.If division display, then can come the width on regulatory function hurdle and/or the height of submenu according to the difference of the descriptor on each function hurdle.
For example:
1, the optimization display Name through investigation and the operation hundreds of home Web site that obtains using always, and save as configuration file with specific format;
2, the site title with these optimizations is loaded in the program;
3, read the content of respective field;
4, according to the rule match site title.
In sum; The application is when content displayed is site title in submenu; Sometimes site title is long, and the no chapter of the assorted opinion of content, and this moment can be according to the optimization display mode of confirming site title in advance; Extract data corresponding in the site title, show said site title to optimize display mode.It is long that the application has solved site title, and the problem of the no chapter of the assorted opinion of content, can be clear, succinctly, show site title to the user intuitively, and the user can understand the main contents of this website easily.
Preferably, said submenu is used to store web page address, and the function on said at least one function hurdle is automatically login,
In the step 15, said method of from the submenu data, searching the functional entrance data of said at least one function comprises:
Step 151 is searched said submenu data, if confirm to comprise the data of automatic login, then adds corresponding login banner;
Step 152, and add login user name and password to said login banner as the functional entrance data.
If said submenu is used to store web page address; And the function at least one function hurdle is login automatically; Then can search said submenu data; If comprise the data of automatic login in the said submenu data, then can in said function hurdle, add corresponding login banner, for example above-mentioned lightning icon.Then can be with log-on message as the functional entrance data, said log-on message such as username and password etc., can regard said login banner as said functional entrance data corresponding descriptor this moment.
Certainly; To same web page address; The user has many group log-on messages, and can use a plurality of functions hurdle to show said log-on message this moment, also can use a function hurdle to show said log-on message; Can be provided with drop-down button this moment in said function hurdle, in the corresponding submenu of said drop-down button, show every group of log-on message.
Preferably, extract the web page address of storing in the inherent menu of a period of time, and recommend corresponding Internet resources through analyzing said web page address.
The application can also extract the web page address of storing in the inherent menu of a period of time, recommends corresponding Internet resources through analyzing said web page address then.
For example, 50% web page address for shopping type website then can recommend to do shopping accordingly advertisement for the user in the said web page address, or the plug-in unit of Net silver safety etc.; If 70% is the web page address of software download class website in the web page address, then can recommend some softwares or plug-in unit etc. for the user.
The function on the function hurdle in the said submenu preferably, is set in advance.
Among the application, the number (being the columns of menu item) on function hurdle can be set independently, and select the function on each function hurdle, first function hurdle display text for example, second function hurdle display icon, the 3rd function hurdle Shows Picture etc.
Preferably, said initialization submenu, the step of obtaining the submenu data comprises:
Send the submenu request to network side, and obtain the function column number certificate the submenu from network side;
And/or,
From the submenu data that preserve this locality, obtain the function column number certificate in the submenu.
Very flexible among the application to said submenu Data Acquisition method; Can from network, obtain, promptly send the submenu request, and obtain the function column number certificate the submenu from network side to network side; Perhaps directly obtain from this locality; Promptly from the submenu data that preserve this locality, obtain the function column number certificate in the submenu, can certainly both from network, obtain, obtain from this locality again.
The application provides a kind of easy-to-use main interface menu generation technique flexibly, and this technology supports all that at each row at main interface row show, different-format shows, the combination of icon literal shows single to solve traditional Windows menu pattern, fixing defective.Simultaneously the application can also be according to exploration on display resolution ratio, the data clauses and subclauses, and information intelligents such as display position confirm that the position of menu and intelligence generate scroll bar, have solved the defective that traditional Windows menu can't be adjusted menu according to the specification of display device.Show for the website name of website in this application and carried out optimization process, can clear display, succinctly, site title intuitively, the length for heading that has solved the originating website is long, be difficult for identification, rambling defective.
Wherein a kind of implementation of interface menu is based on the interface database of DirectUI; The application realized a kind of on window dynamically, graphing and literal are used to simulate the high-level interface technology that the traditional dish single file is flexibly, can develop complicacy, menu interface changeable, attractive in appearance light, convenient, efficiently.
Wherein, DirectUI is the general designation of one type of interface realization technology, means directly and on parent window, draws (Paint on parent dc directly), and promptly subwindow is not created (windowless) with the form of window handle; Be window in logic, be plotted on the parent window.The benefit of DirectUI is can be very easily with interface and logical separation, and structure is efficient, and is gorgeous, the interface that is highly susceptible to expanding.
With reference to Fig. 5, provided the creation apparatus structural drawing of the said a kind of interface menu of the application embodiment.
Accordingly, the application also provides a kind of creation apparatus of interface menu, comprising: interpolation module 11, first is provided with module 12, data acquisition module 13, second is provided with module 14, data search module 15 and adjustment module 16, wherein:
Add module 11, be used for adding at least one menu item at menu bar;
First is provided with module 12, is used for being provided with submenu of at least one behavior of said menu bar;
Data acquisition module 13 is used for the initialization submenu, obtains the submenu data, and said submenu data comprise the functional entrance data and the corresponding descriptor thereof of at least one function in the function hurdle;
Second is provided with module 14, and what be used for being provided with said submenu at least onely classifies a function hurdle as,
Data search module 16 is used for from the submenu data, searching the functional entrance data of said at least one function to said function hurdle;
Adjustment module 17 is used for descriptor, the width on regulatory function hurdle and/or the height of submenu according to the said functional entrance data that find.
Wherein, the function on said function hurdle comprises: display icon, display text, Show Picture and the Show Button at least one.
Preferably, said adjustment module 17 comprises:
First obtains submodule 171, is used for obtaining the width and the height of at least one menu item of menu bar;
Second obtains submodule 172, is used to obtain the resolution of screen and the size of interfaces windows;
Regulate submodule 173, be used for regulating the display mode of said at least one menu item according to the adjusting ratio that presets.
Said adjusting submodule 173 comprises:
First display unit 1731 is used for loading scroll bar at menu item, said at least one the submenu of roll display.
Second display unit 1732 is used for loading scroll bar at menu item, said at least one the function hurdle of roll display.
The descriptor of said functional entrance data is a site title, and said adjustment module 17 comprises:
Preserve submodule 174, be used for confirming in advance the optimization display mode of site title, and preserve the configuration information of corresponding site title;
Reading submodule 175 when being used for submenu demonstration site title, reads corresponding optimization video data according to configuration information from said site title;
Load and display sub-module 176, be used for loading said optimization video data to submenu, with the width on regulatory function hurdle and/or the height of submenu.
Preferably, said submenu is used to store web page address, and the function on said at least one function hurdle is automatically login, and said data search module 16 comprises:
Search submodule 161, be used to search said submenu data,, then add corresponding login banner if confirm to comprise the data of automatic login;
Add submodule 162, be used for adding login user name and password to said login banner as the functional entrance data.
Preferably, described device also comprises:
Extract and analysis module 18, be used for extracting the web page address that inherent menu of a period of time is stored, and recommend corresponding Internet resources through analyzing said web page address.
Preferably, described device also comprises:
Function setting module 15 is used for being provided with in advance the function on the function hurdle of said submenu.
Preferably, said data acquisition module 13 comprises:
Network obtains submodule 131, is used for sending the submenu request to network side, and obtains the function column number certificate the submenu from network side;
This locality obtains submodule 132, and the submenu data that are used for preserving from this locality are obtained the function column number certificate the submenu.
For device embodiment, because it is similar basically with method embodiment, so description is fairly simple, relevant part gets final product referring to the part explanation of method embodiment.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, and what each embodiment stressed all is and the difference of other embodiment that identical similar part is mutually referring to getting final product between each embodiment.
The application can describe in the general context of the computer executable instructions of being carried out by computing machine, for example program module.Usually, program module comprises the routine carrying out particular task or realize particular abstract, program, object, assembly, data structure or the like.Also can in DCE, put into practice the application, in these DCEs, by through communication network connected teleprocessing equipment execute the task.In DCE, program module can be arranged in this locality and the remote computer storage medium that comprises memory device.
At last; Also need to prove; In this article; Relational terms such as first and second grades only is used for an entity or operation are made a distinction with another entity or operation, and not necessarily requires or hint relation or the order that has any this reality between these entities or the operation.And; Term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability; Thereby make and comprise that process, method, commodity or the equipment of a series of key elements not only comprise those key elements; But also comprise other key elements of clearly not listing, or also be included as this process, method, commodity or equipment intrinsic key element.Under the situation that do not having much more more restrictions, the key element that limits by statement " comprising ... ", and be not precluded within process, method, commodity or the equipment that comprises said key element and also have other identical element.
More than to the creation method and the device of a kind of interface menu that the application provided; Carried out detailed introduction; Used concrete example among this paper the application's principle and embodiment are set forth, the explanation of above embodiment just is used to help to understand the application's method and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to the application's thought, the part that on embodiment and range of application, all can change, in sum, this description should not be construed as the restriction to the application.

Claims (20)

1. the creation method on an interface menu hurdle is characterized in that, comprising:
In menu bar, add at least one menu item;
Submenu of at least one behavior in the said menu item is set;
The initialization submenu obtains the submenu data, and said submenu data comprise the functional entrance data and the corresponding descriptor thereof of at least one function in the function hurdle;
At least one in the said submenu is set classifies a function hurdle as;
To said function hurdle, from the submenu data, search the functional entrance data of said at least one function;
According to the descriptor of the said functional entrance data that find, the width on regulatory function hurdle and/or the height of submenu.
2. method according to claim 1 is characterized in that, the function on function hurdle comprises: display icon, display text, Show Picture and the Show Button at least one.
3. method according to claim 1 is characterized in that, the method for the width on said regulatory function hurdle and/or the height of submenu comprises:
Obtain the width and the height of at least one menu item in the menu bar;
Obtain the resolution of screen and the size of interfaces windows;
According to the adjusting ratio that presets, regulate the display mode of said at least one menu item.
4. method according to claim 3 is characterized in that, the display mode of said menu item comprises:
In menu item, load scroll bar, said at least one the submenu of roll display.
5. method according to claim 3 is characterized in that, the display mode of said menu item comprises:
In menu item, load scroll bar, said at least one the function hurdle of roll display.
6. according to claim 1 or 3 arbitrary described methods, it is characterized in that the descriptor of said functional entrance data is a site title, the method for the width on then said regulatory function hurdle and/or the height of submenu comprises:
Confirm the optimization display mode of site title in advance, and preserve the corresponding configuration information of site title;
When submenu shows site title, from said site title, read corresponding optimization video data according to configuration information;
Load said optimization video data in submenu, with the width on regulatory function hurdle and/or the height of submenu.
7. method according to claim 1 is characterized in that said submenu is used to store web page address, and the function on said at least one function hurdle is automatically login,
Then said method of from the submenu data, searching the functional entrance data of said at least one function comprises:
Search said submenu data,, then add corresponding login banner if confirm to comprise the data of automatic login;
And add login user name and password to said login banner as the functional entrance data.
8. method according to claim 7 is characterized in that, also comprises:
Extract the web page address of storing in the inherent menu of a period of time, and recommend corresponding Internet resources through analyzing said web page address.
9. method according to claim 1 is characterized in that, further comprises: the function that the function hurdle in the said submenu is set in advance.
10. method according to claim 1 is characterized in that, said initialization submenu, and the step of obtaining the submenu data comprises:
Send the submenu request to network side, and obtain the function column number certificate the submenu from network side;
And/or,
From the submenu data that preserve this locality, obtain the function column number certificate in the submenu.
11. the creation apparatus on an interface menu hurdle is characterized in that, comprising:
Add module, be used for adding at least one menu item at menu bar;
First is provided with module, is used for being provided with submenu of at least one behavior of said menu bar;
Data acquisition module is used for the initialization submenu, obtains the submenu data, and said submenu data comprise the functional entrance data and the corresponding descriptor thereof of at least one function in the function hurdle;
Second is provided with module, and what be used for being provided with said submenu at least onely classifies a function hurdle as,
The data search module is used for from the submenu data, searching the functional entrance data of said at least one function to said function hurdle;
Adjustment module is used for descriptor, the width on regulatory function hurdle and/or the height of submenu according to the said functional entrance data that find.
12. device according to claim 11 is characterized in that, the function on function hurdle comprises: display icon, display text, Show Picture and the Show Button at least one.
13. device according to claim 11 is characterized in that, said adjustment module also comprises:
First obtains submodule, is used for obtaining the width and the height of at least one menu item of menu bar;
Second obtains submodule, is used to obtain the resolution of screen and the size of interfaces windows;
Regulate submodule, be used for regulating the display mode of said at least one menu item according to the adjusting ratio that presets.
14. device according to claim 13 is characterized in that, said adjusting submodule comprises:
First display unit is used for loading scroll bar at menu item, said at least one the submenu of roll display.
15. device according to claim 13 is characterized in that, said adjusting submodule comprises:
Second display unit is used for loading scroll bar at menu item, said at least one the function hurdle of roll display.
16. according to claim 11 or 13 arbitrary described devices, it is characterized in that the descriptor of said functional entrance data is a site title, said adjustment module comprises:
Preserve submodule, be used for confirming in advance the optimization display mode of site title, and preserve the corresponding configuration information of site title;
Reading submodule when being used for submenu demonstration site title, reads corresponding optimization video data according to configuration information from said site title;
Load and display sub-module, be used for loading said optimization video data to submenu, with the width on regulatory function hurdle and/or the height of submenu.
17. device according to claim 11 is characterized in that, said submenu is used to store web page address, and the function on said at least one function hurdle is automatically login, and said data search module comprises:
Search submodule, be used to search said submenu data,, then add corresponding login banner if confirm to comprise the data of automatic login;
Add submodule, be used for adding login user name and password to said login banner as the functional entrance data.
18. device according to claim 17 is characterized in that, also comprises:
Extract and analysis module, be used for extracting the web page address that inherent menu of a period of time is stored, and recommend corresponding Internet resources through analyzing said web page address.
19. device according to claim 11 is characterized in that, also comprises:
The function setting module is used for being provided with in advance the function on the function hurdle of said submenu.
20. device according to claim 11 is characterized in that, said data acquisition module comprises:
Network obtains submodule, is used for sending the submenu request to network side, and obtains the function column number certificate the submenu from network side;
This locality obtains submodule, and the submenu data that are used for preserving from this locality are obtained the function column number certificate the submenu.
CN201210090953.2A 2012-03-30 2012-03-30 A kind of creation method of interface menu and device Expired - Fee Related CN102662666B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210090953.2A CN102662666B (en) 2012-03-30 2012-03-30 A kind of creation method of interface menu and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210090953.2A CN102662666B (en) 2012-03-30 2012-03-30 A kind of creation method of interface menu and device

Publications (2)

Publication Number Publication Date
CN102662666A true CN102662666A (en) 2012-09-12
CN102662666B CN102662666B (en) 2015-09-16

Family

ID=46772167

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210090953.2A Expired - Fee Related CN102662666B (en) 2012-03-30 2012-03-30 A kind of creation method of interface menu and device

Country Status (1)

Country Link
CN (1) CN102662666B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103970427A (en) * 2013-02-04 2014-08-06 腾讯科技(深圳)有限公司 Method and device for refreshing webpage
CN104020933A (en) * 2014-05-22 2014-09-03 小米科技有限责任公司 Menu displaying method and device
CN104346139A (en) * 2013-07-26 2015-02-11 镇江雅迅软件有限责任公司 Method for dynamically managing system function module in real time
CN105511736A (en) * 2015-12-04 2016-04-20 中国建设银行股份有限公司 Method and system for adjusting menus
CN106326364A (en) * 2016-08-10 2017-01-11 无锡天脉聚源传媒科技有限公司 Method and device for adding resources in micro website
CN106919596A (en) * 2015-12-25 2017-07-04 北京奇虎科技有限公司 Information recommendation method and device
CN107765955A (en) * 2016-08-15 2018-03-06 南京中兴软件有限责任公司 Drop-down menu display methods, device, component and application based on component
CN109407918A (en) * 2018-09-25 2019-03-01 苏州梦想人软件科技有限公司 The implementation method of augmented reality content multistage interactive mode
WO2021238691A1 (en) * 2020-05-25 2021-12-02 华为技术有限公司 Method and device for displaying user interface for managing storage device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1246754C (en) * 1999-08-31 2006-03-22 索尼公司 Information processing device and method, and program storage medium
CN101546248A (en) * 2009-05-05 2009-09-30 阿里巴巴集团控股有限公司 Method and device for presenting cascade option menu

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1246754C (en) * 1999-08-31 2006-03-22 索尼公司 Information processing device and method, and program storage medium
CN101546248A (en) * 2009-05-05 2009-09-30 阿里巴巴集团控股有限公司 Method and device for presenting cascade option menu

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103970427A (en) * 2013-02-04 2014-08-06 腾讯科技(深圳)有限公司 Method and device for refreshing webpage
CN103970427B (en) * 2013-02-04 2018-07-24 腾讯科技(深圳)有限公司 The method for refreshing and device of Webpage
CN104346139A (en) * 2013-07-26 2015-02-11 镇江雅迅软件有限责任公司 Method for dynamically managing system function module in real time
CN104020933A (en) * 2014-05-22 2014-09-03 小米科技有限责任公司 Menu displaying method and device
CN104020933B (en) * 2014-05-22 2017-11-07 小米科技有限责任公司 menu display method and device
CN105511736A (en) * 2015-12-04 2016-04-20 中国建设银行股份有限公司 Method and system for adjusting menus
CN106919596A (en) * 2015-12-25 2017-07-04 北京奇虎科技有限公司 Information recommendation method and device
CN106919596B (en) * 2015-12-25 2021-03-23 北京奇虎科技有限公司 Information recommendation method and device
CN106326364A (en) * 2016-08-10 2017-01-11 无锡天脉聚源传媒科技有限公司 Method and device for adding resources in micro website
CN107765955A (en) * 2016-08-15 2018-03-06 南京中兴软件有限责任公司 Drop-down menu display methods, device, component and application based on component
CN109407918A (en) * 2018-09-25 2019-03-01 苏州梦想人软件科技有限公司 The implementation method of augmented reality content multistage interactive mode
WO2021238691A1 (en) * 2020-05-25 2021-12-02 华为技术有限公司 Method and device for displaying user interface for managing storage device

Also Published As

Publication number Publication date
CN102662666B (en) 2015-09-16

Similar Documents

Publication Publication Date Title
CN102662666A (en) Method and device for creating interface menu
US10956531B2 (en) Dynamic generation of mobile web experience
US9720562B2 (en) Method of providing virtual reality based three-dimensional interface for web object searches and real-time metadata representations and web search system using the three-dimensional interface
US10261659B2 (en) Orbit visualization for displaying hierarchical data
US8711148B2 (en) Method and system for generating and displaying an interactive dynamic selective view of multiply connected objects
CN103034517B (en) Browser controls tool loads method and apparatus
US20080028337A1 (en) User interface elements for hierarchical selection of items
US10542123B2 (en) System and method for generating and monitoring feedback of a published webpage as implemented on a remote client
US20180191798A1 (en) Methods and systems for server-side rendering of native content for presentation
US20120297324A1 (en) Navigation Control Availability
CN103034518B (en) The method and browser of loading browser control instrument
CN106339414A (en) Webpage rendering method and device
CN104462490A (en) Display method for list details
CN106933629B (en) Method for loading browser plug-in icon and browser
US20150020004A1 (en) Simplified website creation, configuration, and customization system
CN102163193A (en) Hyperlink map information system
CN104899212B (en) Web page display method, server and system
CN111782106A (en) Method, device, electronic equipment and readable medium for displaying page menu bar
US20140189478A1 (en) Web browsers for mobile and small screen devices
CN104133608A (en) Method and device for opening new tab
CN108874829A (en) Processing method, device, smart machine and the computer storage medium of webpage
KR101397178B1 (en) System for supporting a customizing of program module
CN104462410B (en) Web page selection processing method and processing device
KR102031732B1 (en) Apparatus and methods of supporting fast web scrolling
US9864739B1 (en) Automatic layout of graphical user interface screens from object data

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: BEIJING QIHU TECHNOLOGY CO., LTD.

Free format text: FORMER OWNER: QIZHI SOFTWARE (BEIJING) CO., LTD.

Effective date: 20121030

Owner name: QIZHI SOFTWARE (BEIJING) CO., LTD.

Effective date: 20121030

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 100016 CHAOYANG, BEIJING TO: 100088 XICHENG, BEIJING

TA01 Transfer of patent application right

Effective date of registration: 20121030

Address after: 100088 Beijing city Xicheng District xinjiekouwai Street 28, block D room 112 (Desheng Park)

Applicant after: Beijing Qihu Technology Co., Ltd.

Applicant after: Qizhi Software (Beijing) Co., Ltd.

Address before: The 4 layer 100016 unit of Beijing city Chaoyang District Jiuxianqiao Road No. 14 Building C

Applicant before: Qizhi Software (Beijing) Co., Ltd.

C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150916

Termination date: 20210330

CF01 Termination of patent right due to non-payment of annual fee