CN102053826A - Grading display method for menus - Google Patents

Grading display method for menus Download PDF

Info

Publication number
CN102053826A
CN102053826A CN2009102373956A CN200910237395A CN102053826A CN 102053826 A CN102053826 A CN 102053826A CN 2009102373956 A CN2009102373956 A CN 2009102373956A CN 200910237395 A CN200910237395 A CN 200910237395A CN 102053826 A CN102053826 A CN 102053826A
Authority
CN
China
Prior art keywords
menu
head
grade
menus
resource table
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
CN2009102373956A
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.)
Rigol Technologies Inc
Original Assignee
Rigol Technologies Inc
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 Rigol Technologies Inc filed Critical Rigol Technologies Inc
Priority to CN2009102373956A priority Critical patent/CN102053826A/en
Publication of CN102053826A publication Critical patent/CN102053826A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Digital Computer Display Output (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

The invention relates to a grading display method for menus. The grading display method comprises the following steps of: 1) establishing a resource table, wherein contents of each grade of menu which comprise a menu title of the grade, menu items of the grade, and a menu title of the last grade are recorded in the resource table; 2) establishing a corresponding relation between each grade of menu and key values of keys in the resource table; 3) acquiring the key value information of the keys; 4) analyzing the acquired key value information; and 5) drawing a corresponding grade of menu according to an analysis result. By the grading display method, the membership relation among the menus can be clearly displayed, so that a user can more conveniently view a route of the current operation, and misoperation is difficult to generate.

Description

The menu hierarchies display packing
Technical field
The present invention relates to a kind of menu hierarchies display packing.
Background technology
In the design of all kinds of instrument and meters, usually need to see through liquid crystal and keyboard and realize man-machine interaction, when the content that need manage when total system is more, how sees through keyboard and liquid crystal and realize that effectively management is a problem.Usually can adopt menu interface to reach this purpose.Menu generally can be pointed out the function of each soft key.Here lift a kind of oscillograph (Agilent MSO7104A) and be example.The Mode/Coupling menu can appear in the Mode/Coupling key by in its front panel trigger region.Continue to press the External soft key in the menu, can show external trigger probe menu.Therefrom external trigger probe menu is the next stage menu (also can be called submenu) of Mode/Coupling menu as can be seen.If promptly want to enter into external trigger probe menu, at first must enter into the Mode/Coupling menu.
Because the button of instrument is limited, but function is more and more, and this just will inevitably cause the level of menu more and more darker.If continue to adopt the menu display mode of this not display menu membership, when the darker menu of level is operated, just might cause the unclear current operation of doing, thereby cause maloperation.
Summary of the invention
The purpose of this invention is to provide a kind of menu hierarchies display packing, it can clearly show the subordinate relation between the various menu, makes the client check the current path of doing operation more easily.
For achieving the above object, the present invention is by the following technical solutions:
A kind of menu hierarchies display packing is characterized in that may further comprise the steps:
1) set up resource table, writing down every grade of contents of menus in this resource table, every grade of contents of menus comprises the menu head of menu head at the corresponding levels, menu item at the corresponding levels and previous menu;
2) set up the corresponding relation of the key assignments of menus at different levels in the resource table and button;
3) obtain the key assignments message of button;
4) resolve the key assignments message of obtaining;
5) draw according to the menu of analysis result taking-up respective stages.
Further:
The concrete steps of described step 5) comprise:
5.1) at first according to the menu content of analysis result from resource table taking-up respective stages;
5.2) then upwards search for the menu head of each Previous Menu step by step from the corresponding levels;
5.3) the last menu head of each Previous Menu, the menu head of menu at the corresponding levels, the menu item at the corresponding levels on screen, drawn.
Described key assignments message comprises button value, touch potential and key-press status.
The present invention can clearly show the subordinate relation between the various menu, makes the user check the current path of doing operation more easily, thereby is not easy maloperation.
Description of drawings
Fig. 1 is a system applies part software composition frame chart of the present invention;
Fig. 2 is systemic-function realization flow figure of the present invention;
Fig. 3 is a menu hierarchies displayed map of the present invention;
Fig. 4 and Fig. 5 be the classification display figure of auxiliary menus, interface setup menu respectively;
Fig. 6 is the runnable interface figure of system;
Fig. 7 is the operational flow diagram of system.
Embodiment
The present invention is a kind of menu hierarchies display packing, and it may further comprise the steps:
1) set up resource table, writing down every grade of contents of menus in this resource table, every grade of contents of menus comprises the menu head of menu head at the corresponding levels, menu item at the corresponding levels and previous menu;
2) set up the corresponding relation of the key assignments of menus at different levels in the resource table and button;
3) obtain the key assignments message of button;
4) resolve the key assignments message of obtaining;
5) at first take out the menu content of respective stages from resource table, then upwards search for the menu head of each Previous Menu step by step, the last menu head of each Previous Menu, the menu head of menu at the corresponding levels, the menu item at the corresponding levels on screen, drawn from the corresponding levels according to analysis result.
Be that example is described further with a digital system of Oscillograph below.
The software block diagram of system applies part as shown in Figure 1.Comprise KeyProc (key assignments processing) module, Command (remote command parsing) module, SSM (state machine) module, Function (application function) module and GUI (interface drafting) module.Wherein:
The KeyProc module obtains key assignments and touch potential.The SSM module is to realize the core of systemic-function, and this module realizes systemic-function by the mode of administrative messag.The Funciton module realizes oscillographic every major function.The GUI module is analytical capabilities message on the one hand, realizes the drafting of screen interface on the other hand.
The implementation procedure of systemic-function as shown in Figure 2.Wherein:
1.SSM key assignments message (comprising key assignments, touch potential and key-press status etc.) systematic function message according to input.
If press below the CH1 menu first key (coupling) once, SSM can be encoded into this action the feature message of 64 of code lengths.Feature message is made up of two parts, is respectively feature message ID and zone bit.Each function all has unique feature message ID corresponding with it, and high 56 of feature message are used for distributing unique feature message ID to each feature message.Least-significant byte is a zone bit, is used for writing down that button is pressed and information such as the state of upspringing.This step is mapped button and function.
Zone bit is mainly used to represent the type of this feature message, and the screen interface that each type of message correspondence refreshes is different.Such as feature message if " button is pressed " type, the effect of having only button to press on the interface so, and do not have other variation.
2.SSM call the feature message parsing module of GUI, feature message is resolved becomes forms message.
Forms message has comprised the current set of menu, current page, also have current operated knob, current popup menu and current operated be information such as which button.The current set of menu is as an object, its in store oneself menu head, the information such as level of menu item and it self.Illustrate the associated information of the current set of menu.Menu head as this menu of Fig. 3 is " network settings ", menu item below it is respectively " Configuration Type ", " IP address " etc. and is presented at project on the menu, and it self level is three grades (above " assisting " and " interface setting " two hierarchical levels of menus is arranged).
3.GUI module is issued SSM on the one hand with the forms message that parses and is used for management system running, leaves on the other hand and oneself is used for drawing the interface.
4. if menu is the one-level menu, the level at its only in store menu head and own place.If secondary and following menu, it not only needs to preserve menu head and level, also needs to preserve the menu of its upper level simultaneously.When the menu that analyzes was three grades or level Four, it also can index first order menu according to the Previous Menu that its is preserved like this.
Illustrate performing step:
1. press the Utility key, when key is upspring, send Utility key corresponding key message.State machine receives this press key message, is converted into feature message (just press this key and need carry out which operation), and enters into this state of Utility, sends this feature message to GUI simultaneously.
2.GUI feature message is resolved to forms message (being exactly to need the interface to draw which content).The necessary information in interface is drawn in the process need search of resolving.Such as when drawing menu, which the menu that must know current place is, what the menu head is, this menu has several, and what is respectively.Present the current set of menu is Utility (as Fig. 4), and the menu head shows Utility exactly, and this menu has three, is respectively interface setting, system time and self-correcting.Finished from the keyboard to the function again to a whole set of task that shows to this.
3. the function of the F1 soft key correspondence of menu is the interface setting.Press the F1 key this moment, and SSM receives and state can be switched to after this key assignments below interface is provided with, simultaneously sending function message.The GUI module parses is the interface setting to current menu, can note the relevant information that interface is provided with this menu, can preserve its previous menu simultaneously, i.e. the Utility menu.Parsing can be plotted to the menu item of interface setting on the menu after finishing.(see figure 5)
4. continue to press the network settings key, it is identical that the process of execution is caught up with the process of stating, and the current set of menu of this moment is switched on " network settings ".Its in store its previous menu, i.e. " interface setting ".And in store its Previous Menu-" the assisting " of " interface setting " menu, retrieval so step by step, just will before the menu path of the operation that be done all note, referring to Fig. 3.
Below this digital oscilloscope system operation is simply introduced
The center section of Fig. 6 is system's runnable interface, and both sides are the button at screen two ends, and their function is corresponding with the menu that shows on the screen.Function as first button correspondence of right side is that LAN is provided with, and the function of second button correspondence is a USB device.
The button that much has symbol is arranged on the panel of instrument.These symbol direct representations the function of these buttons.By corresponding button, the menu of screen can be followed it and be switched in other words.It is Utility that the name of a button is for example arranged on the screen, presses this button, and menu can be switching to appearance shown in Figure 4.Each menu all is made up of two parts, is respectively menu head and menu item.The menu head is used for representing the allomeric function and the menu path thereof of this menu.Menu item is then represented concrete function, and it is corresponding with the button on right side.
The concrete operational scheme of system is seen Fig. 7.Herein according to the label introduction that marks among the figure.
1, pushes button.At first will resolve key assignments, which key what detection was pressed exactly is, has pressed several times.What we pressed for example here is the Utility key, has pressed once.
2, the key information that parses is corresponding with concrete function.Such as pressing the Utility button, menu to be switched to below the Utility menu exactly.
3, feature message is carried out concrete function on the one hand, offers the interface on the one hand and draws part, and the drafting at interface partly can be drawn concrete interface according to the function that sends over.
Here mainly introduce the drafting of interface menu.Menu is drawn part has one to be used for preserving the resource table of drawing the required resource of menu.Writing down the menu head of each menu and the content of menu item in this resource table.If not first order menu, it can write down the menu head of its previous menu.As shown in Figure 3, be the menu hierarchies displayed map.The current set of menu of this moment is " network settings ", and it is a Level-3 menu.Its in store oneself key element, menu head-" the interface setting " of in store its previous menu simultaneously.And " interface setting " as a second-level menu, in the time of its in store own key element, is also writing down the menu head of its Previous Menu, just " assists ".When drawing " network settings " menu, can go earlier to find in the resource table its its other resources like this, search menu head at different levels then step by step, and draw.

Claims (3)

1. menu hierarchies display packing is characterized in that may further comprise the steps:
1) set up resource table, writing down every grade of contents of menus in this resource table, every grade of contents of menus comprises the menu head of menu head at the corresponding levels, menu item at the corresponding levels and previous menu;
2) set up the corresponding relation of the key assignments of menus at different levels in the resource table and button;
3) obtain the key assignments message of button;
4) resolve the key assignments message of obtaining;
5) draw according to the menu of analysis result taking-up respective stages.
2. menu hierarchies display packing as claimed in claim 1 is characterized in that:
The concrete steps of described step 5) comprise:
5.1) at first according to the menu content of analysis result from resource table taking-up respective stages;
5.2) then upwards search for the menu head of each Previous Menu step by step from the corresponding levels;
5.3) the last menu head of each Previous Menu, the menu head of menu at the corresponding levels, the menu item at the corresponding levels on screen, drawn.
3. menu hierarchies display packing as claimed in claim 1 or 2 is characterized in that:
Described key assignments message comprises button value, touch potential and key-press status.
CN2009102373956A 2009-11-10 2009-11-10 Grading display method for menus Pending CN102053826A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009102373956A CN102053826A (en) 2009-11-10 2009-11-10 Grading display method for menus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009102373956A CN102053826A (en) 2009-11-10 2009-11-10 Grading display method for menus

Publications (1)

Publication Number Publication Date
CN102053826A true CN102053826A (en) 2011-05-11

Family

ID=43958185

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009102373956A Pending CN102053826A (en) 2009-11-10 2009-11-10 Grading display method for menus

Country Status (1)

Country Link
CN (1) CN102053826A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104737114A (en) * 2012-03-20 2015-06-24 谷歌股份有限公司 Multi-axis interface for a touch-screen enabled wearable device
CN106598570A (en) * 2016-11-15 2017-04-26 积成电子股份有限公司 Construction and display method of multilevel menu in embedded system
CN108958071A (en) * 2018-06-07 2018-12-07 中兴高能技术有限责任公司 Pole piece roller compression machine control method, device and computer readable storage medium
CN109117049A (en) * 2018-07-10 2019-01-01 长沙国通电力科技有限公司 A kind of protective relaying device and its press keys setup method and system
CN112987997A (en) * 2019-12-18 2021-06-18 深圳Tcl新技术有限公司 User interface menu path finding method and computer equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060042839A (en) * 2004-11-10 2006-05-15 엘지전자 주식회사 Method for executing menu of mobile communication device
CN101365080A (en) * 2007-08-09 2009-02-11 海尔集团公司 OSD menu displaying method
CN101408839A (en) * 2007-10-12 2009-04-15 康佳集团股份有限公司 Method for implementing menu

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060042839A (en) * 2004-11-10 2006-05-15 엘지전자 주식회사 Method for executing menu of mobile communication device
CN101365080A (en) * 2007-08-09 2009-02-11 海尔集团公司 OSD menu displaying method
CN101408839A (en) * 2007-10-12 2009-04-15 康佳集团股份有限公司 Method for implementing menu

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104737114A (en) * 2012-03-20 2015-06-24 谷歌股份有限公司 Multi-axis interface for a touch-screen enabled wearable device
CN104737114B (en) * 2012-03-20 2018-12-18 谷歌有限责任公司 Polyaxial interface used in the wearable device of touch screen can be enabled
CN106598570A (en) * 2016-11-15 2017-04-26 积成电子股份有限公司 Construction and display method of multilevel menu in embedded system
CN108958071A (en) * 2018-06-07 2018-12-07 中兴高能技术有限责任公司 Pole piece roller compression machine control method, device and computer readable storage medium
CN109117049A (en) * 2018-07-10 2019-01-01 长沙国通电力科技有限公司 A kind of protective relaying device and its press keys setup method and system
CN112987997A (en) * 2019-12-18 2021-06-18 深圳Tcl新技术有限公司 User interface menu path finding method and computer equipment
CN112987997B (en) * 2019-12-18 2023-05-26 深圳Tcl新技术有限公司 Path finding method of user interface menu and computer equipment

Similar Documents

Publication Publication Date Title
CN102053826A (en) Grading display method for menus
CN102012945B (en) User-oriented database management system
CN101261545B (en) Terminal equipment input method and device
CN101727270B (en) Method for constructing soft keyboard, device for inputting character information and method thereof
US20030001885A1 (en) Method of generating a dynamic editable table in a web page
CN103927028B (en) Method for realizing side key function of electromagnetic touch pen
CN101772760A (en) Database management program and database management device
CN105069013A (en) Control method and device for providing input interface in search interface
CN109408502A (en) A kind of data standard processing method, device and its storage medium
CN101477441A (en) Method for displaying and inputting symbol in mobile terminal
CN106375810B (en) Automatic switching method and system for input method of smart television
CN110806823A (en) Method and system for dynamically configuring menu of test instrument
CN109030981A (en) A kind of electronic measuring instrument based on two dimensional code uses help system and method
Thimbleby Analysis and simulation of user interfaces
CN101102290A (en) Interface switching method and device of multiple objects in instant communication tool
CN106844071A (en) A kind of method and apparatus for obtaining input data
JP4078356B2 (en) GUI application operation explanation word creation device, GUI application operation explanation word creation method and program
CN106210346A (en) A kind of video calling information processing method and mobile terminal
JPWO2014112025A1 (en) Screen change device, screen change method, and screen change program
CN102243624A (en) Several new functions of spreadsheet
KR101170478B1 (en) Method for analysing log data
KR101045850B1 (en) Device for providing digital timeline through the website
CN103631588A (en) Menu configuration method based on modular instrument
CN102594734A (en) Method, terminal and system for starting instant communication interactive interface
KR102099362B1 (en) Device and method for a data preparation using a micro service

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20110511