CN103345348A - Method and device for controlling display menu - Google Patents

Method and device for controlling display menu Download PDF

Info

Publication number
CN103345348A
CN103345348A CN2013102333137A CN201310233313A CN103345348A CN 103345348 A CN103345348 A CN 103345348A CN 2013102333137 A CN2013102333137 A CN 2013102333137A CN 201310233313 A CN201310233313 A CN 201310233313A CN 103345348 A CN103345348 A CN 103345348A
Authority
CN
China
Prior art keywords
menu
menu item
code
display
run time
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.)
Pending
Application number
CN2013102333137A
Other languages
Chinese (zh)
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.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology 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 Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN2013102333137A priority Critical patent/CN103345348A/en
Publication of CN103345348A publication Critical patent/CN103345348A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a method for controlling a display menu. The method includes the steps of receiving an updating instruction for updating the display menu, changing menu item data in a preset storage area correspondingly according to the updating instruction, and updating the display menu in a menu interface with a preset menu display method according to changed menu item data. The invention further discloses a corresponding device for controlling the display menu. According to the scheme, flexible operation on menu items in the menu is achieved, pertinence is strong, expansion and configuration on the menu can be achieved without changing other codes on a large scale, therefore, workload and error rates are effectively reduced, and rich individualized menu configuration schemes can be provided for users.

Description

Method and the device of control display menu
Technical field
The present invention relates to technical field of data processing, relate in particular to a kind of method and device of controlling display menu.
Background technology
The present most of electronic equipment for example menu in the intelligent television is not substantially all considered the expansibility of menu in the process of software programming.Need carry out increasing of menu item or when revising to some menu, for menu item single or that quantity is less, adopting traditional code programming to revise is to be relatively easy to, but it is very many owing to its optional items of menu quantity in some mega projects, when needing menu expanded or revise on a large scale because of new business demand, adopt the make amendment change amount of its code of traditional code programming then very big, and in modification process, also cause revising wrong generation easily because of visual fatigue, thereby, this traditional mode can not be carried out prolongable operation to menu, can't satisfy the demand that menu is constantly changed.
On the other hand, the user has demand to the configurable multiple menu that enriches pattern, and the menu of existing electronic equipment is more single, and the user can not edit according to the custom of oneself, has the inconvenience on using, and the menu scheme of prior art haves much room for improvement.
Summary of the invention
Fundamental purpose of the present invention is for a kind of method and device of controlling display menu being provided, being intended to by the expansion menu of more newly arriving to menu item in the menu, satisfying the continuous variation to the menu demand.
The invention provides a kind of method of controlling display menu, this method comprises:
The update instruction that reception is upgraded display menu, described update instruction comprise increases menu item or deletion menu item or change menu item;
According to described update instruction, in the memory block of presetting, the menu item data are carried out corresponding change;
According to the menu item data after the change, according to the menu display mode that presets update displayed menu in menu interface.
Preferably, before the step of the update instruction that described reception is upgraded display menu, also comprise:
The run time version of setup menu item correspondence and triggering code in the memory block of presetting, described run time version is used for the execution that the response user operates control, and described triggering code is used for catching the user and operates trigger event.
Preferably, described according to update instruction, the step of in the memory block of presetting the menu item data being carried out corresponding change comprises:
According to described update instruction, described run time version and the corresponding relation that triggers code are set; Realization comprises that menu item response user operates trigger event, drives to carry out corresponding instruction.
Preferably, described according to update instruction, the step of in the memory block of presetting the menu item data being carried out corresponding change comprises:
When described update instruction is when increasing instruction, in described memory block of presetting, increase the title of menu item, and the triggering code of described menu item correspondence and the run time version that triggers the code correspondence are set;
When described update instruction is delete instruction, the title of deletion menu item in described memory block of presetting, and cancellation arranges the triggering code of described menu item correspondence and the run time version that triggers the code correspondence;
When described update instruction is change directive, the title of change menu item in described memory block of presetting, and upgrade the triggering code that described menu item correspondence is set and the run time version that triggers the code correspondence.
Preferably, described step according to the menu display mode update displayed menu in menu interface that presets comprises:
The multiple classification of presets menu item, and carry out folded concealed to being subordinated to other menu item of menu class;
And preset and comprise drum-type, pivoted multiple menu dynamic Show Styles;
Preset and comprise translucent, opaque, transparent multiple menu transparency pattern;
Preset the menu icon pattern that comprises many cover menu classifications and menu item icons;
According to the menu pattern update displayed menu of selecting to arrange.
Preferably, described user operates trigger event and comprises at least: the control focus slips over event, telepilot certain menu key-press event, mouse click event.
Preferably, described in the memory block of presetting the run time version of setup menu item correspondence specifically comprise with the step that triggers code:
The editor of response code is provided, carries out processing for the response that the user finishes menu item by input equipment editor response code; Perhaps in the memory block, set in advance and store multiple possible run time version and trigger code, and by related with menu item and the described run time version of run time version and the corresponding relation that triggers code are set, carry out with the response of finishing menu item and handle.
The present invention also provides a kind of device of controlling display menu, and this device comprises:
The command reception module is used for receiving the update instruction that display menu is upgraded, and described update instruction comprises increases menu item or deletion menu item or change menu item;
The data change module is used for according to described update instruction, in the memory block of presetting the menu item data is carried out corresponding change;
The update displayed module is used for according to the menu item data after the change, according to the menu display mode that presets update displayed menu in menu interface.
Preferably, the device of control display menu also comprises:
Code arranges module, be used for run time version and triggering code in the memory block setup menu item correspondence that presets, described run time version is used for the execution that the response user operates control, described triggering code is used for catching the user and operates trigger event, and described user operates trigger event and comprises at least: the control focus slips over event, telepilot certain menu key-press event, mouse click event.
Preferably, described data change module is used for:
According to described update instruction, described run time version and the corresponding relation that triggers code are set; Realization comprises that menu item response user operates trigger event, drives to carry out corresponding instruction.
Preferably, described data change module specifically is used for:
When described update instruction is when increasing instruction, in described memory block of presetting, increase the title of menu item, and the triggering code of described menu item correspondence and the run time version that triggers the code correspondence are set;
When described update instruction is delete instruction, the title of deletion menu item in described memory block of presetting, and cancellation arranges the triggering code of described menu item correspondence and the run time version that triggers the code correspondence;
When described update instruction is change directive, the title of change menu item in described memory block of presetting, and upgrade the triggering code that described menu item correspondence is set and the run time version that triggers the code correspondence.
Preferably, described update displayed module specifically is used for:
The multiple classification of presets menu item, and carry out folded concealed to being subordinated to other menu item of menu class;
And preset and comprise drum-type, pivoted multiple menu dynamic Show Styles;
Preset and comprise translucent, opaque, transparent multiple menu transparency pattern;
Preset the menu icon pattern that comprises many cover menu classifications and menu item icons;
According to the menu pattern update displayed menu of selecting to arrange.
The present invention is by after the update instruction that display menu is upgraded that receives user's transmission, according to this update instruction, in the memory block of presetting, the menu item data are carried out corresponding change, and according to the menu item data after the change, according to the menu display mode that presets update displayed menu in menu interface, but realized dirigibility menu item in the menu is operated, and it is with strong points, need not other code of large-area change, can realize menu is expanded and configuration, thereby effectively reduce workload and error rate; And can provide rich personality menu allocation plan to the user.
Description of drawings
Fig. 1 controls the schematic flow sheet of method first embodiment of display menu for the present invention;
Fig. 2 is the schematic flow sheet of change menu item data among Fig. 1;
Fig. 3 controls the schematic flow sheet of method second embodiment of display menu for the present invention;
Fig. 4 controls the structural representation of device first embodiment of display menu for the present invention;
Fig. 5 controls the structural representation of device second embodiment of display menu for the present invention.
The realization of the object of the invention, functional characteristics and advantage will be in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explaining the present invention, and be not used in restriction the present invention.
The invention provides a kind of method of controlling display menu.Store the corresponding configuration file of display menu in the memory block of presetting in advance, this configuration file has comprised the data of all menu items in the display menu.After receiving user's update instruction, in this memory block, revise the data of menu item in the configuration file, and according to the menu display mode that presets, in menu interface, display menu is upgraded, thereby menu item in the menu is operated with realizing dirigibility.
With reference to Fig. 1, Fig. 1 controls the schematic flow sheet of method first embodiment of display menu for the present invention.
The method of the control display menu that present embodiment provides comprises:
Step S10 receives the update instruction that display menu is upgraded, and update instruction comprises increases menu item or deletion menu item or change menu item;
In the present embodiment, update instruction can comprise increases menu item instruction, the instruction of deletion menu item and the instruction of change menu item etc.; The present invention describes can receive and instruct the equipment that is configured menu can be conventional consumer-elcetronics devices, for example PC, TV, mobile phone, PAD etc.
Step S20 according to update instruction, carries out corresponding change to the menu item data in the memory block of presetting;
The memory block of presetting that proposes in the present embodiment, wherein store the data of all menu items in the display menu, the title that comprises menu item, and be used for this menu item is made the response code of carrying out response, what in addition, can store also wherein that the user sets in advance is used to indicate some renewable data such as menu item update mode, menu display mode.In the present embodiment, response code comprises for the response user to be operated the run time version of control and and be used for to catch the user and operate the trigger event triggering code.In the present embodiment, the user operates trigger event can comprise that the control focus slips over the event to the execution of the menu item in display menu corresponding operating that users such as event, telepilot certain menu key-press event and mouse click event carry out.
Preferably, in the present embodiment, can provide the editor of response code, the user is by input equipment editor response code.Because the bottom code of menu sets, can realize the response execution of menu as long as obtain the upper strata simple code that the user edit, thereby finish the processing of menu event.For example, the user need add the shutdown menu item, and the user need edit the run time version of shutdown command, yet the execution of shutdown command may have precondition, for example needs to close in advance program of moving etc.Present embodiment keeps the corresponding execution function of menu editor's dirigibility on the basis of the friendly that guarantees to provide for the user better menu editing.
With further reference to Fig. 2, Fig. 2 controls the schematic flow sheet of change menu item data in the method for display menu for the present invention.
In the present embodiment, step S20 further comprises:
Step S21 when update instruction is when increasing instruction, increases the title of menu item in the memory block of presetting, and the run time version of the triggering code of setup menu item correspondence and triggering code correspondence;
Step S22, when update instruction is delete instruction, the title of deletion menu item in the memory block of presetting, and the triggering code of cancellation setup menu item correspondence and the run time version that triggers the code correspondence;
Step S23, when update instruction is change directive, the title of change menu item in the memory block of presetting, and upgrade the triggering code of setup menu item correspondence and the run time version that triggers the code correspondence.
In display menu, increase one or more menu items as need, this moment, received update instruction was instructed for increasing, title and the corresponding data of the menu item that increases are stored in the memory block of presetting, simultaneously, the editor of response code is provided to the user, and the corresponding triggering code of menu item of reception user setting, and with this trigger code corresponding be used for the run time version that menu item is carried out in response, and set triggering code and the run time version corresponding with it are stored in the memory block.
Be delete instruction as update instruction, in the memory block of presetting, find the title of the menu item that will delete and with its deletion, cancellation arranges the triggering code of this menu item correspondence then, and the run time version corresponding with triggering code.The deletion menu item can be that physically deletion is namely directly deleted the data of menu item in the memory block; Also can delete by the mode of code interface of shielding menu item, namely in the memory block data of menu item directly be masked, the data of menu item still are stored in the memory block, just no longer show in the display menu.
During as the one or more menu item in the need changes display menu, in the memory block of presetting, find the menu item that needs change with and corresponding data, change title and other corresponding data of menu item accordingly.After the title of having changed menu item, can change the triggering code corresponding with amended menu item accordingly, simultaneously according to triggering the coding change run time version, by the menu item after the corresponding relation response execution change of the triggering code after the change and run time version; Certainly, can not do any change to triggering code yet, and the corresponding relation of the menu item after only revising run time version and changing.
Step S30 is according to the menu item data after the change, according to the menu display mode that presets update displayed menu in menu interface.
After menu item is changed operation accordingly, the menu display mode that sets in advance according to the user who stores in the memory block of presetting, and according to user-selected menu display mode update displayed menu in menu interface.The Show Styles of multiple menu in menu interface is provided in the present embodiment, and when upgrading menu, the user only need select corresponding menu display mode, then according to user's the update displayed menu in the menu interface that is chosen in.
In the present embodiment, step S30 further comprises the steps:
The multiple classification of presets menu item, and carry out folded concealed to being subordinated to other menu item of menu class;
And preset and comprise drum-type, pivoted multiple menu dynamic Show Styles;
Preset and comprise translucent, opaque, transparent multiple menu transparency pattern;
Preset the menu icon pattern that comprises many cover menu classifications and menu item icons;
According to the menu pattern update displayed menu of selecting to arrange.
Be that example describes with following several menu display modes:
One, drum-type.The method that scrolls up as employing, all menu items are the whole up distance of a mobile menu item all, after uppermost menu item disappears, second menu item originally becomes first menu item at this moment, last menu item did not occur before namely being, emerging this menu item is exactly the main achievement of this operation.As the method that adopts downward rolling also is in like manner, and at this time emerging menu item is exactly first menu item in the new menu.
Two, pivoted.This mode adopts the mode update displayed menu of page turning, is operating as the increase menu item as what menu item was carried out, and has increased a plurality of menu items, does not occur before then whenever turning over all menu items that one page occurs and all being; And, all these new menu items all are close to page up, first menu item that the next menu item that is last menu item of page up is exactly this page, and the next menu item of last menu item of this page just descends first menu item of one page.
Three, cartoon type.The mode that display menu occurs, occurs, combines together with display menu and desktop background in venetian blind type ground mode in the mode that is fade-in formula when ejecting can be set to be occurred, and the mode of multiple effect (for example occurs when refreshing with display menu, menu background is a bamboo slip used for writing on during ancient times, when the menu drum-type refreshes bamboo slip used for writing on during ancient times just scrolling is once) etc.
Four, collapsible.Can arrange a plurality of menu items, a plurality of display menu, a plurality of menu items of the same type and a plurality of display menus of the same type mode by folded concealed only is presented at first menu item or first display menu in the menu, remaining all folded concealed in the back of first menu item or first display menu.Open folding all menu items or the display menu that can see the folded concealed back when needs are checked, wherein collapsible quantity is less than the sum of whole display menu or menu item.
Further, when in numerous display menus, finding the menu item of oneself wanting fast, also provide a kind of mode by the keyword search of setup menu item to search the specific menu item in this enforcement, to save the time that display menu is checked in search, simultaneously, also can in menu interface, set the quantity of the menu item that searches that same display menu can show at most.For example, 100 menu items are arranged, show that as each display menu 5 menu items then need 20 menus at least, when need are searched certain menu item, on average need to turn over 10 display menus and just can find needed menu item, thereby, showing under the condition that allows, each display menu can be set and 20 menu items can be shown, like this, 100 menu items only need 5 display menus can show fully, when menu item of inquiry, average only need turn over 2.5 display menus just can find the menu item that will check, has improved the efficient of searching menu item greatly.
Further, because the number of the menu item that each display menu shows is different, and the size of each display menu is also different, in order to make whole display menu better appearance, but the height of adaptively modifying menu box or menu item also in this example.For example, have a display menu to have only 5 menu items, and menu box can stay the blank of a big section like this for showing 10 menu items at most in the display menu; Two kinds of settling modes preferably are provided in the present embodiment, first method is that menu box just can show 5 menu items with highly shortening to automatically, second method is that the height with each menu item is scaled original twice, make the previous display menu of 10 menu items that shows at most can show 5 menu items, and can not stay blank.
Further, also provide the multiple mode of display menu of opening to satisfy the different demands of different user in this example.Particularly, for example, place the shortcut icon of a display menu on can desktop, can eject display menu by clicking this shortcut icon; Often there is not remaining space to place the shortcut icon of display menu as desktop icons, a shortcut corresponding with opening display menu then can be set, and by to the operation of keyboard, for example click shortcut such as Ctrl+Alt+m and eject display menu rapidly; Can also be by the setting of mouse action being realized ejecting display menu, as setting mouse once ejecting a display menu to the place at the edge of display.
Further, in this example, can also the transparency of display menu be arranged, be about to menu item and be set to translucent or appropriate suitable brightly, make and when checking display menu, can also see content below the display menu.For example, when the user sees TV programme such as need use display menu, by translucent or appropriate suitable bright setting, just TV programme can not sheltered from fully.Can also obtain background when front desktop automatically by display menu, make the background of display menu the same with desktop background, display menu and desktop combine together and allow the people feel natural harmony like this.
Present embodiment is by after the update instruction that display menu is upgraded that receives user's transmission, according to this update instruction, in the memory block of presetting, the menu item data are carried out corresponding change, and according to the menu item data after the change, according to the menu display mode that presets update displayed menu in menu interface, but realized dirigibility menu item in the menu is operated, and it is with strong points, need not other code of large-area change, can realize menu is expanded and configuration, thereby effectively reduce workload and error rate; And can provide rich personality menu allocation plan to the user.
With reference to Fig. 3, Fig. 3 controls the schematic flow sheet of method second embodiment of display menu for the present invention.
Control in the present invention on the basis of method first embodiment of display menu, before execution in step S10, this method also comprises:
Step S40, the run time version of setup menu item correspondence and triggering code in the memory block of presetting, run time version is used for the execution that the response user operates control, and the triggering code is used for the seizure user and operates trigger event.
In the memory block, set in advance and store multiple possible run time version and trigger code, and default setting run time version and the corresponding relation that triggers code in advance.In the present embodiment, trigger code and can comprise that menu item response execution user operates the instruction of trigger event correspondence, when capturing after the user operates trigger event, operate trigger event according to this user and generate corresponding signal, and according to the corresponding relation that triggers code and run time version, realize that the user is operated trigger event to be responded.
According to the run time version of having stored in the memory block and triggering code, run time version and the corresponding relation that triggers code are set.In the present embodiment, trigger code and comprise the instruction encapsulation of the user being operated the trigger event correspondence, when capturing after the user operates trigger event, operate trigger event according to this user and generate corresponding instruction, and will be according to the corresponding relation that triggers code and run time version, search execution command corresponding in the run time version, respond with the instruction of the user being operated the trigger event correspondence.
By the corresponding relation that triggers code and run time version is set, realize that menu item response execution user operates the instruction of trigger event correspondence, be that the user needs only edit menu item and the corresponding relation that triggers code, and the corresponding relation of triggering code and run time version get final product.When the user passes through the control external input device, for example mouse or telepilot, generation slips over event, telepilot certain menu key-press event or mouse click event etc., and these events have been carried out specific encapsulation, make by triggering the corresponding relation of code and run time version, can search out the processing instruction of corresponding run time version, and the execution of triggering command.
Before according to update instruction the data of the menu item in the display menu being changed, the run time version corresponding with all menu items is set in the memory block of presetting and triggers code, thereby further facilitated menu item in the display menu is operated, further guaranteed with strong points, need not other code of large-area change, can realize display menu is expanded and configuration.
The present invention also provides a kind of device of controlling display menu.
With reference to Fig. 4, Fig. 4 controls the structural representation of device first embodiment of display menu for the present invention.
The device of the control display menu that present embodiment provides comprises:
Command reception module 10 is used for receiving the update instruction that display menu is upgraded, and update instruction comprises increases menu item or deletion menu item or change menu item;
Data change module 20 is used for according to update instruction, in the memory block of presetting the menu item data is carried out corresponding change;
Update displayed module 30 is used for according to the menu item data after the change, according to the menu display mode that presets update displayed menu in menu interface.
When display menu was upgraded, command reception module 10 received the update instruction that the user sends, and in the present embodiment, update instruction can comprise increases menu item instruction, the instruction of deletion menu item and the instruction of change menu item etc.; The present invention describes can receive and instruct the equipment that is configured menu can be conventional consumer-elcetronics devices, for example PC, TV, mobile phone, PAD etc.
The memory block of presetting that proposes in the present embodiment, wherein store the data of all menu items in the display menu, the title that comprises menu item, and be used for this menu item is made the response code of carrying out response, what in addition, can store also wherein that the user sets in advance is used to indicate some renewable data such as menu item update mode, menu display mode.In the present embodiment, response code comprises for the response user to be operated the run time version of control and and be used for to catch the user and operate the trigger event triggering code.In the present embodiment, the user operates trigger event can comprise that the control focus slips over the event to the execution of the menu item in display menu corresponding operating that users such as event, telepilot certain menu key-press event and mouse click event carry out.
In the present embodiment, data change module 20 can provide the editor of response code, and the user is by input equipment editor response code.Because the bottom code of menu sets, as long as obtain the response execution that upper strata simple code that the user edit can realize menu.For example, the user need add the shutdown menu item, and the user need edit the run time version of shutdown command, yet the execution of shutdown command may have precondition, for example needs to close in advance program of moving etc.Present embodiment keeps the corresponding execution function of menu editor's dirigibility on the basis of the friendly that better menu editing is provided for the user.
In the present embodiment, trigger code and comprise the instruction encapsulation of the user being operated the trigger event correspondence, when capturing after the user operates trigger event, operate trigger event according to this user and generate corresponding instruction, and will carry out corresponding relation according to triggering code and run time version, search execution command corresponding in the run time version, respond with the instruction of the user being operated the trigger event correspondence.
In the present embodiment, data change module 20 specifically is used for:
When update instruction is when increasing instruction, in the memory block of presetting, increase the title of menu item, and the run time version of the triggering code of setup menu item correspondence and triggering code correspondence;
When update instruction is delete instruction, the title of deletion menu item in the memory block of presetting, and the triggering code of cancellation setup menu item correspondence and the run time version that triggers the code correspondence;
When update instruction is change directive, the title of change menu item in the memory block of presetting, and upgrade the triggering code of setup menu item correspondence and the run time version that triggers the code correspondence.
In display menu, increase one or more menu items as need, this moment, received update instruction was instructed for increasing, data change module 20 is stored to title and the corresponding data of the menu item that increases in the memory block of presetting, simultaneously, the editor of response code is provided to the user, and the corresponding triggering code of menu item of reception user setting, and with this trigger code corresponding be used for the run time version that menu item is carried out in response, and set triggering code and the run time version corresponding with it are stored in the memory block.
Be delete instruction as update instruction, data change module 20 finds the title of the menu item that will delete in the memory block of presetting and with its deletion, cancellation arranges the triggering code of this menu item correspondence then, and the run time version corresponding with triggering code.The deletion menu item can be that physically deletion is namely directly deleted the data of menu item in the memory block; Also can delete by the mode of code interface of shielding menu item, namely in the memory block data of menu item directly be masked, the data of menu item still are stored in the memory block, just no longer show in the display menu.
During as the one or more menu item in the need changes display menu, data change module 20 in the memory block of presetting, find the menu item that needs change with and corresponding data, change title and other corresponding data of menu item accordingly.After the title of having changed menu item, can change the triggering code corresponding with amended menu item accordingly, simultaneously according to triggering the coding change run time version.By the menu item after the corresponding relation response execution change of the triggering code after the change and run time version; Certainly, can not do any change to triggering code yet, and the corresponding relation of the menu item after only revising run time version and changing.
After menu item is changed operation accordingly, the menu display mode that update displayed module 30 sets in advance according to the user who stores in the memory block of presetting, and according to user-selected menu display mode update displayed menu in menu interface.The Show Styles of multiple menu in menu interface is provided in the present embodiment, and when upgrading menu, the user only need select to dispose corresponding menu display mode, then according to user's the update displayed menu in the menu interface that is chosen in.
In the present embodiment, update displayed module 30 specifically is used for:
The multiple classification of presets menu item, and carry out folded concealed to being subordinated to other menu item of menu class;
And preset and comprise drum-type, pivoted multiple menu dynamic Show Styles;
Preset and comprise translucent, opaque, transparent multiple menu transparency pattern;
Preset the menu icon pattern that comprises many cover menu classifications and menu item icons;
According to the menu pattern update displayed menu of selecting to arrange.
Be that example describes with following several menu display modes:
One, drum-type.The method that scrolls up as employing, all menu items are the whole up distance of a mobile menu item all, after uppermost menu item disappears, second menu item originally becomes first menu item at this moment, last menu item did not occur before namely being, emerging this menu item is exactly the main achievement of this operation.As the method that adopts downward rolling also is in like manner, and at this time emerging menu item is exactly first menu item in the new menu.
Two, pivoted.This mode adopts the mode update displayed menu of page turning, is operating as the increase menu item as what menu item was carried out, and has increased a plurality of menu items, does not occur before then whenever turning over all menu items that one page occurs and all being; And, all these new menu items all are close to page up, first menu item that the next menu item that is last menu item of page up is exactly this page, and the next menu item of last menu item of this page just descends first menu item of one page.
Three, cartoon type.The mode that display menu occurs, occurs, combines together with display menu and desktop background in venetian blind type ground mode in the mode that is fade-in formula when ejecting can be set to be occurred, and the mode of multiple effect (for example occurs when refreshing with display menu, menu background is a bamboo slip used for writing on during ancient times, when the menu drum-type refreshes bamboo slip used for writing on during ancient times just scrolling is once) etc.
Four, collapsible.Can arrange a plurality of menu items, a plurality of display menu, a plurality of menu items of the same type and a plurality of display menus of the same type mode by folded concealed only is presented at first menu item or first display menu in the menu, remaining all folded concealed in the back of first menu item or first display menu.Open folding all menu items or the display menu that can see the folded concealed back when needs are checked, wherein collapsible quantity is less than the sum of whole display menu or menu item.
Further, when in numerous display menus, finding the menu item of oneself wanting fast, also provide a kind of mode by the keyword search of setup menu item to search the specific menu item in this enforcement, to save the time that display menu is checked in search, simultaneously, also can in menu interface, set the quantity of the menu item that searches that same display menu can show at most.For example, 100 menu items are arranged, show that as each display menu 5 menu items then need 20 menus at least, when need are searched certain menu item, on average need to turn over 10 display menus and just can find needed menu item, thereby, showing under the condition that allows, each display menu can be set and 20 menu items can be shown, like this, 100 menu items only need 5 display menus can show fully, when menu item of inquiry, average only need turn over 2.5 display menus just can find the menu item that will check, has improved the efficient of searching menu item greatly.
Further, because the number of the menu item that each display menu shows is different, and the size of each display menu is also different, in order to make whole display menu better appearance, but the height of adaptively modifying menu box or menu item also in this example.For example, have a display menu to have only 5 menu items, and menu box can stay the blank of a big section like this for showing 10 menu items at most in the display menu; Two kinds of settling modes preferably are provided in the present embodiment, first method is that menu box just can show 5 menu items with highly shortening to automatically, second method is that the height with each menu item is scaled original twice, make the previous display menu of 10 menu items that shows at most can show 5 menu items, and can not stay blank.
Further, also provide the multiple mode of display menu of opening to satisfy the different demands of different user in this example.Particularly, for example, place the shortcut icon of a display menu on can desktop, can eject display menu by clicking this shortcut icon; Often there is not remaining space to place the shortcut icon of display menu as desktop icons, a shortcut corresponding with opening display menu then can be set, and by to the operation of keyboard, for example click shortcut such as Ctrl+Alt+m and eject display menu rapidly; Can also be by the setting of mouse action being realized ejecting display menu, as setting mouse once ejecting a display menu to the place at the edge of display.
Further, in this example, can also the transparency of display menu be arranged, be about to menu item and be set to translucent or appropriate suitable brightly, make and when checking display menu, can also see content below the display menu.For example, when the user sees TV programme such as need use display menu, by translucent or appropriate suitable bright setting, just TV programme can not sheltered from fully.Can also obtain background when front desktop automatically by display menu, make the background of display menu the same with desktop background, display menu and desktop combine together and allow the people feel natural harmony like this.
Present embodiment is by after the update instruction that display menu is upgraded that receives user's transmission, according to this update instruction, in the memory block of presetting, the menu item data are carried out corresponding change, and according to the menu item data after the change, according to the menu display mode that presets update displayed menu in menu interface, but realized dirigibility menu item in the menu is operated, and it is with strong points, need not other code of large-area change, can realize menu is expanded and configuration, thereby effectively reduce workload and error rate; And can provide rich personality menu allocation plan to the user.
With reference to Fig. 5, Fig. 5 controls the structural representation of device second embodiment of display menu for the present invention.
Control in the present invention on the basis of device first embodiment of display menu, this device also comprises:
Code arranges module 40, is used for run time version and triggering code in the memory block setup menu item correspondence that presets, and run time version is used for the execution that the response user operates control, triggers code and operates trigger event for the seizure user.
In the present embodiment, by code module 40 is set and in the memory block, sets in advance and store multiple possible run time version and trigger code, and default setting run time version and the corresponding relation that triggers code in advance.In the present embodiment, trigger code and can comprise that menu item response execution user operates the instruction of trigger event correspondence, when capturing after the user operates trigger event, operate trigger event according to this user and generate corresponding signal, and according to the corresponding relation that triggers code and run time version, realize that the user is operated trigger event to be responded.
By the corresponding relation that triggers code and run time version is set, realize that menu item response execution user operates the instruction of trigger event correspondence, be that the user needs only edit menu item and the corresponding relation that triggers code, and the corresponding relation of triggering code and run time version get final product.When the user passes through the control external input device, for example mouse or telepilot, generation slips over event, telepilot certain menu key-press event or mouse click event etc., and these events have been carried out specific encapsulation, make by triggering the corresponding relation of code and run time version, can search out the processing instruction of corresponding run time version, and the execution of triggering command.
Before according to update instruction the data of the menu item in the display menu being changed, the run time version corresponding with all menu items is set in the memory block of presetting and triggers code, thereby further facilitated menu item in the display menu is operated, further guaranteed with strong points, need not other code of large-area change, can realize display menu is expanded and configuration.
Below only be the preferred embodiments of the present invention; be not so limit claim of the present invention; every equivalent structure or equivalent flow process conversion that utilizes instructions of the present invention and accompanying drawing content to do; or directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.

Claims (12)

1. a method of controlling display menu is characterized in that, this method comprises:
The update instruction that reception is upgraded display menu, described update instruction comprise increases menu item or deletion menu item or change menu item;
According to described update instruction, in the memory block of presetting, the menu item data are carried out corresponding change;
According to the menu item data after the change, according to the menu display mode that presets update displayed menu in menu interface.
2. the method for control display menu according to claim 1 is characterized in that, before the step of the update instruction that described reception is upgraded display menu, also comprises:
The run time version of setup menu item correspondence and triggering code in the memory block of presetting, described run time version is used for the execution that the response user operates control, and described triggering code is used for catching the user and operates trigger event.
3. the method for control display menu according to claim 2 is characterized in that, and is described according to update instruction, and the step of in the memory block of presetting the menu item data being carried out corresponding change comprises:
According to described update instruction, described run time version and the corresponding relation that triggers code are set; Realization comprises that menu item response user operates trigger event, drives to carry out corresponding instruction.
4. the method for control display menu according to claim 3 is characterized in that, and is described according to update instruction, and the step of in the memory block of presetting the menu item data being carried out corresponding change comprises:
When described update instruction is when increasing instruction, in described memory block of presetting, increase the title of menu item, and the triggering code of described menu item correspondence and the run time version that triggers the code correspondence are set;
When described update instruction is delete instruction, the title of deletion menu item in described memory block of presetting, and cancellation arranges the triggering code of described menu item correspondence and the run time version that triggers the code correspondence;
When described update instruction is change directive, the title of change menu item in described memory block of presetting, and upgrade the triggering code that described menu item correspondence is set and the run time version that triggers the code correspondence.
5. the method for control display menu according to claim 2 is characterized in that, described step according to the menu display mode update displayed menu in menu interface that presets comprises:
The multiple classification of presets menu item, and carry out folded concealed to being subordinated to other menu item of menu class;
And preset and comprise drum-type, pivoted multiple menu dynamic Show Styles;
Preset and comprise translucent, opaque, transparent multiple menu transparency pattern;
Preset the menu icon pattern that comprises many cover menu classifications and menu item icons;
According to the menu pattern update displayed menu of selecting to arrange.
6. the method for control display menu according to claim 2 is characterized in that, described user operates trigger event and comprises at least: the control focus slips over event, telepilot certain menu key-press event, mouse click event.
7. the method for control display menu according to claim 6 is characterized in that, described in the memory block of presetting the run time version of setup menu item correspondence specifically comprise with the step that triggers code:
The editor of response code is provided, carries out processing for the response that the user finishes menu item by input equipment editor response code; Perhaps in the memory block, set in advance and store multiple possible run time version and trigger code, and by related with menu item and the described run time version of run time version and the corresponding relation that triggers code are set, carry out with the response of finishing menu item and handle.
8. a device of controlling display menu is characterized in that, this device comprises:
The command reception module is used for receiving the update instruction that display menu is upgraded, and described update instruction comprises increases menu item or deletion menu item or change menu item;
The data change module is used for according to described update instruction, in the memory block of presetting the menu item data is carried out corresponding change;
The update displayed module is used for according to the menu item data after the change, according to the menu display mode that presets update displayed menu in menu interface.
9. device according to claim 8 is characterized in that, also comprises:
Code arranges module, be used for run time version and triggering code in the memory block setup menu item correspondence that presets, described run time version is used for the execution that the response user operates control, described triggering code is used for catching the user and operates trigger event, and described user operates trigger event and comprises at least: the control focus slips over event, telepilot certain menu key-press event, mouse click event.
10. device according to claim 9 is characterized in that, described data change module is used for:
According to described update instruction, described run time version and the corresponding relation that triggers code are set; Realization comprises that menu item response user operates trigger event, drives to carry out corresponding instruction.
11. device according to claim 10 is characterized in that, described data change module specifically is used for:
When described update instruction is when increasing instruction, in described memory block of presetting, increase the title of menu item, and the triggering code of described menu item correspondence and the run time version that triggers the code correspondence are set;
When described update instruction is delete instruction, the title of deletion menu item in described memory block of presetting, and cancellation arranges the triggering code of described menu item correspondence and the run time version that triggers the code correspondence;
When described update instruction is change directive, the title of change menu item in described memory block of presetting, and upgrade the triggering code that described menu item correspondence is set and the run time version that triggers the code correspondence.
12. device according to claim 9 is characterized in that, described update displayed module specifically is used for:
The multiple classification of presets menu item, and carry out folded concealed to being subordinated to other menu item of menu class;
And preset and comprise drum-type, pivoted multiple menu dynamic Show Styles;
Preset and comprise translucent, opaque, transparent multiple menu transparency pattern;
Preset the menu icon pattern that comprises many cover menu classifications and menu item icons;
According to the menu pattern update displayed menu of selecting to arrange.
CN2013102333137A 2013-06-13 2013-06-13 Method and device for controlling display menu Pending CN103345348A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013102333137A CN103345348A (en) 2013-06-13 2013-06-13 Method and device for controlling display menu

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013102333137A CN103345348A (en) 2013-06-13 2013-06-13 Method and device for controlling display menu

Publications (1)

Publication Number Publication Date
CN103345348A true CN103345348A (en) 2013-10-09

Family

ID=49280150

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013102333137A Pending CN103345348A (en) 2013-06-13 2013-06-13 Method and device for controlling display menu

Country Status (1)

Country Link
CN (1) CN103345348A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015066871A1 (en) * 2013-11-07 2015-05-14 Nokia Technologies Oy Method and apparatus for adaptive menu item placement
CN105426058A (en) * 2015-11-03 2016-03-23 上海斐讯数据通信技术有限公司 Menu bar custom setting supporting system and method for setting menu bar in custom manner
CN106453284A (en) * 2016-09-27 2017-02-22 北京金山安全软件有限公司 Live broadcast label updating method and device and terminal equipment
CN106445314A (en) * 2016-09-07 2017-02-22 广东欧珀移动通信有限公司 Display interface refreshing method and apparatus
CN107302723A (en) * 2017-06-30 2017-10-27 环球智达科技(北京)有限公司 System for editing navigation column
CN107621916A (en) * 2016-07-14 2018-01-23 中兴通讯股份有限公司 Menu character string amending method and device
CN108089860A (en) * 2017-12-28 2018-05-29 大唐软件技术股份有限公司 A kind of menu selector and pop-up menu generation control method and device
CN109117133A (en) * 2018-07-04 2019-01-01 广州视源电子科技股份有限公司 Configuration method, device, electronic equipment and the readable storage medium storing program for executing of menu
CN110399071A (en) * 2019-07-31 2019-11-01 中国南方电网有限责任公司 Menu self adaptation display methods, device, storage medium and terminal device
WO2020125541A1 (en) * 2018-12-17 2020-06-25 天扬精密科技股份有限公司 Apparatus and method for menu having diversified option names
CN111427491A (en) * 2020-03-02 2020-07-17 青岛聚好联科技有限公司 Method and device for configuring system background menu button
CN114138363A (en) * 2021-11-27 2022-03-04 深圳市元征科技股份有限公司 Program data calling method, device, equipment and storage medium
CN116010015A (en) * 2023-03-27 2023-04-25 西安热工研究院有限公司 Method, device, equipment and storage medium for generating right key menu of monitoring picture

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100525490C (en) * 2004-11-23 2009-08-05 乐金电子(中国)研究开发中心有限公司 Mobile communication with settable dynamic manu and manu-setting method
KR20100032560A (en) * 2008-09-18 2010-03-26 성균관대학교산학협력단 Method for configurating user-defined menu and apparatus for having function for configuration of user-defined menu
US20100205559A1 (en) * 2009-02-11 2010-08-12 Greg Rose Quick-launch desktop application
CN102143401A (en) * 2011-01-13 2011-08-03 博视联(苏州)信息科技有限公司 Personalized customization method for function menu of Internet protocol television
CN102404526A (en) * 2011-12-06 2012-04-04 深圳Tcl新技术有限公司 Display control method and terminal for 3D menu
CN102662649A (en) * 2012-03-06 2012-09-12 惠州Tcl移动通信有限公司 Method and apparatus for customizing function menu of application programs

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100525490C (en) * 2004-11-23 2009-08-05 乐金电子(中国)研究开发中心有限公司 Mobile communication with settable dynamic manu and manu-setting method
KR20100032560A (en) * 2008-09-18 2010-03-26 성균관대학교산학협력단 Method for configurating user-defined menu and apparatus for having function for configuration of user-defined menu
US20100205559A1 (en) * 2009-02-11 2010-08-12 Greg Rose Quick-launch desktop application
CN102143401A (en) * 2011-01-13 2011-08-03 博视联(苏州)信息科技有限公司 Personalized customization method for function menu of Internet protocol television
CN102404526A (en) * 2011-12-06 2012-04-04 深圳Tcl新技术有限公司 Display control method and terminal for 3D menu
CN102662649A (en) * 2012-03-06 2012-09-12 惠州Tcl移动通信有限公司 Method and apparatus for customizing function menu of application programs

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015066871A1 (en) * 2013-11-07 2015-05-14 Nokia Technologies Oy Method and apparatus for adaptive menu item placement
CN105426058A (en) * 2015-11-03 2016-03-23 上海斐讯数据通信技术有限公司 Menu bar custom setting supporting system and method for setting menu bar in custom manner
CN107621916B (en) * 2016-07-14 2020-12-08 中兴通讯股份有限公司 Menu character string modification method and device
CN107621916A (en) * 2016-07-14 2018-01-23 中兴通讯股份有限公司 Menu character string amending method and device
CN106445314A (en) * 2016-09-07 2017-02-22 广东欧珀移动通信有限公司 Display interface refreshing method and apparatus
CN106453284A (en) * 2016-09-27 2017-02-22 北京金山安全软件有限公司 Live broadcast label updating method and device and terminal equipment
CN107302723A (en) * 2017-06-30 2017-10-27 环球智达科技(北京)有限公司 System for editing navigation column
CN108089860A (en) * 2017-12-28 2018-05-29 大唐软件技术股份有限公司 A kind of menu selector and pop-up menu generation control method and device
CN109117133A (en) * 2018-07-04 2019-01-01 广州视源电子科技股份有限公司 Configuration method, device, electronic equipment and the readable storage medium storing program for executing of menu
WO2020125541A1 (en) * 2018-12-17 2020-06-25 天扬精密科技股份有限公司 Apparatus and method for menu having diversified option names
CN110399071A (en) * 2019-07-31 2019-11-01 中国南方电网有限责任公司 Menu self adaptation display methods, device, storage medium and terminal device
CN110399071B (en) * 2019-07-31 2022-12-27 中国南方电网有限责任公司 Menu self-adaption display method and device, storage medium and terminal equipment
CN111427491A (en) * 2020-03-02 2020-07-17 青岛聚好联科技有限公司 Method and device for configuring system background menu button
CN114138363A (en) * 2021-11-27 2022-03-04 深圳市元征科技股份有限公司 Program data calling method, device, equipment and storage medium
CN116010015A (en) * 2023-03-27 2023-04-25 西安热工研究院有限公司 Method, device, equipment and storage medium for generating right key menu of monitoring picture

Similar Documents

Publication Publication Date Title
CN103345348A (en) Method and device for controlling display menu
CN103399703B (en) The control method of the system bar of subscriber equipment and subscriber equipment
US20210342058A1 (en) System and method for controlling errors in a system with a plurality of user-controlled devices using a network-controlled overlay
KR101363560B1 (en) Mobile device and method for controlling the operation of the mobile device
CN103081365B (en) Mobile terminal and for control its table data output method based on multi-touch
KR102133410B1 (en) Operating Method of Multi-Tasking and Electronic Device supporting the same
CN104216752A (en) Window-based information loading method and device
CN112148170B (en) Desktop element adjusting method and device and electronic equipment
CN103713847A (en) System bar control method of user equipment and user equipment
CN105224276A (en) A kind of multi-screen display method and electronic equipment
CN105653265A (en) Application switching method and device as well as terminal equipment
KR20090107638A (en) Mobile terminal able to control widget type wallpaper and method for wallpaper control using the same
CN103559046A (en) Method and device for starting functions of terminal, and terminal equipment
EP2561427A1 (en) Virtual keyboard with strip of auxiliary keys
CN104750440A (en) Multi-screen window management method, electronic device and computer program product
CN106325465B (en) A kind of control method that screen is shown and mobile terminal
KR102280474B1 (en) Method and apparatus for operating of electronic device
CN102736903A (en) Method and device for managing widgets based on intelligent terminal desktop
CN106357918A (en) Method for adjusting screen brightness and mobile terminal
CN103902184A (en) Electronic equipment, and method and device for controlling electronic equipment
CN105677351A (en) Multi-window compatible display method and device
CN104267867A (en) Content input method and device
CN103136373B (en) Catalogue jump method and device
US20220334686A1 (en) Intuitive display of intelligent snap assist recommendations
CN104461258B (en) For operating computer method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20131009

RJ01 Rejection of invention patent application after publication