CN103593188B - System and method for managing what-you-see-is-what-you-get menus of instrument - Google Patents

System and method for managing what-you-see-is-what-you-get menus of instrument Download PDF

Info

Publication number
CN103593188B
CN103593188B CN201310563979.9A CN201310563979A CN103593188B CN 103593188 B CN103593188 B CN 103593188B CN 201310563979 A CN201310563979 A CN 201310563979A CN 103593188 B CN103593188 B CN 103593188B
Authority
CN
China
Prior art keywords
menu
resource
hierarchy
attribute
concrete
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.)
Expired - Fee Related
Application number
CN201310563979.9A
Other languages
Chinese (zh)
Other versions
CN103593188A (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.)
China Electronics Technology Instruments Co Ltd CETI
Original Assignee
CETC 41 Institute
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 CETC 41 Institute filed Critical CETC 41 Institute
Priority to CN201310563979.9A priority Critical patent/CN103593188B/en
Publication of CN103593188A publication Critical patent/CN103593188A/en
Application granted granted Critical
Publication of CN103593188B publication Critical patent/CN103593188B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a system and method for managing what-you-see-is-what-you-get menus of an instrument. A visualization dragging type structure editor is in communication with a structure attribute editor, the structure attribute editor is in communication with a menu resource assembler, the menu resource assembler is in communication with a menu resource generator, the menu resource generator is in communication with a menu resource parser, the menu resource parser is in communication with the visualization dragging type structure editor, and an annular connecting structure is formed. The invention further discloses a method for managing what-you-see-is-what-you-get menus of the instrument through a management system. Menu resource data can be independently stored and freely loaded, data sharing among the menus in different types can be sufficiently achieved, the complexity is low, the redundancy rate is low, the maintaining difficulty and the maintaining cost of the menus of the instrument are reduced, the menu management efficiency is greatly improved, and the system operation performance is improved.

Description

A kind of management system for instrument What You See Is What You Get menu and management method
Technical field
The present invention relates to a kind of management system for managing instrument What You See Is What You Get menu and management method.
Background technology
In instrument system, menu hierarchy is the primary structure of the whole framework of instrument system, its good man-machine interaction Mode has become as the main entrance of user operation instrument and meter.During instrument uses, due to need frequently to enter line parameter input, The operation such as pattern switching and state change, so that the menu operation mode of mouse input can not meet customer requirement, takes and generation Button and the soft menu of touch instrument more seem convenient, fast.However, board and LCD screen size has after all Limit, available instrument menu key and menu view region are also extremely limited.In the face of increasing instrument system function, therewith Bring the continuous instrument window expanding and view so that menu structure and species are various, level is intricate.
Existing instrument menu design is typically realized by 3 kinds of modes: 1) is directly existed by predefined menu structure Carry out structure attribute encapsulation and menu item attribute definition and message response in code.2) designed according to predefined menu structure A set of menu editing template, can generate ready-made menu hierarchy code and directly use.3) pass through menu template, design and generate Menu resource file, so that independent manage, is loaded in system start-up and is parsed use.
And existing instrument menu entities and management method are mainly:
By window (view) management: each instrument view/window has whole menu hierarchy structures of its correlation.
By pattern (function) management: menu hierarchy structure control its patterns all/related window/view of function, Typically it is usually used in parameter input and arrange.
The instrument menu of existing several Technology design is in the defect of several aspects:
(1) structure attribute encapsulation and menu item attribute definition are directly carried out in code by predefined menu structure And message response.This method directly carries out menu resource editor and menu mapping response in code, extremely inefficient.First, Encoding amount is big, the many repeated and redundant of resource, and especially when menu properties are more, in code editor, property location must align volume Volume, therefore, direct editing code is also extremely difficult;Second, edit code can not intuitively react the level between menu It is subordinate to structural relation, is difficult to judge between father and son's menu, be very easy to editor's error;Third, entering to the code structure editting During row modification, the menu hierarchy level due to destroying original is subordinate to structural relation, therefore, one menu item of editor is possible to When linkage changes much related menu item attribute, interpolation, deletion, the mobile, attribute of the associated menu item of modification and its mapping Relation, even more intricate, increase worker workload.Fourth, menu hierarchy coding is fixed it is impossible to meet assembly type, mould Massing, the menu structure of dynamic load, so as to be difficult maintenance and expansion, are typically necessary and define whole assembled arrangement or multiple bar The coding that part judges is completing.
(2) and according to predefined menu structure design a set of menu editing template, ready-made menu body can be generated It is that code directly uses.Although this method decreases the workload of some menu direct codings in above-mentioned (1), code mostly may be used Directly to pass through menu template generation, easy edit menu, structure is also more visible, but still existing defects.First, for intersect and Overlapping menu item still needs to generate the code repeating.Second, with template generation menu hierarchy code it is necessary to press predefined Menu structure template enters edlin, and menu item attribute and action are more fixing, and platform and language not malleable.Third, dish Single resource is not independent, once manual modification menu hierarchy code or destroy menu formwork structure it is impossible to be known by template , do not lead to change and edit and can not be normally carried out, stability and poor reliability.
(3) pass through menu template, design and generate menu resource file, so that independent manage, carry out in system start-up Load and parse use.This method is to use more technological means at present, solves most defect in above-mentioned (1) and (2), Motility is greatly improved, but still suffers from some problems.First, menu template is more fixing, even if dish can flexibly be changed Single subordinate hierarchical structure, but need to define and set up all possible menu tree structure, simply enable those in systems and can use The menu item of function, disables those disabled menu items.If system function module is more, and available function is less, just Available menu resource can be caused sparse, unnecessary menu structure is still huge, lead to readable very poor, treatment effeciency is low. Second, once generating menu resource script, needing to be fully loaded to internal memory after program starts.Due to menu item attribute templates Change, the simple menu item of a lot of function will necessarily have substantial amounts of occupy-place attribute, and unnecessary menu structure also wastes memory headroom. Third, menu resource file not packed it is easy to be modified, poor stability, unreliable, the entirety directly affecting system can By property.
In sum, whether menu hierarchy presses window (view) management or by pattern (function) management.Although it is permissible Sub-module makes each instrument view/window need not have whole menu hierarchy structures of its correlation.Can allow by window classification One menu hierarchy classification controls the related window/view of its patterns all/function (to be typically usually used in the parameter of window/view Input and setting).But common there is problems that it is necessary to define all of menu structure and responder when program loads, And can not with plug-in type when opening/closing beaten by instrument plug-in unit dynamic load/unload plug-in unit related menu.
Content of the invention
In view of above-mentioned the deficiencies in the prior art, it is an object of the invention to provide one kind is used for managing instrument What You See Is What You Get The management system of menu and management method, reduce data redudancy, improve menu management efficiency.
For solving above-mentioned technical problem, technical solution of the present invention includes:
A kind of management system for instrument What You See Is What You Get menu, wherein, it includes can for build Menu Frame Depending on changing towed Structural Editor, for setting up and editing the structure attribute editing machine of concrete menu item attribute, for will be described The attribute number of resources that the infrastructure resource data that visualization towed Structural Editor produces is produced with described structure attribute editing machine According to setting up mapping and formed the menu resource of corresponding menu hierarchy, standby for choosing preference menu system from described menu resource Menu resource maker and for parse described visualization towed Structural Editor produce menu resource data lay equal stress on The menu resource resolver that the new corresponding attribute data of Loading Menu structure is reconstructed;Described visualization towed structure editing Device and described structure attribute editing machine communication connection, described structure attribute editing machine and described menu resource communication connection, described Menu resource is led to described menu resource resolver with described menu resource maker communication connection, described menu resource maker Letter connects, and described menu resource resolver is communicated to connect with described visualization towed Structural Editor, forms an annular and connects Structure.
Described management system, wherein, described management system is also included for by the menu resource number of described management system According to the resource script transducer being converted to corresponding form and for generating the program code generator of Code Template, described visualization Towed Structural Editor, described structure attribute editing machine, described menu resource, described menu resource maker, described menu Resource is all communicated to connect with described resource script transducer, right to call described resource script transducer that data is carried out Should change;Described program code generator visualizes towed Structural Editor, described structure attribute editing machine with described respectively Communication connection.
A kind of management method using described management system, it comprises the following steps:
Build multiple Menu Frame trees of clear in structure, select the concrete menu item of corresponding Menu Frame tree, editor is concrete Menu item attribute;Multiple Menu Frame trees and multiple concrete menu item attributes are set up mapping relations, forms multiple menu hierarchy And preserve;Extract from multiple menu hierarchy and reconfigure the menu hierarchy answered in pairs needed for instrument, load and parse selected Take the Menu Frame of menu hierarchy and corresponding concrete menu item attribute, tested in different instruments, to Menu Frame with right Concrete menu item attribute should be remapped, reconstruct new menu hierarchy and preserved.
Described management method, wherein, the step of the described multiple Menu Frame trees building clear in structure specifically also includes:
Load or set up resource template storehouse, menu tree is set up according to described resource template storehouse, and determines unique menu item The node of subordinate hierarchical relationship is as the key word of corresponding menu tree;And call simulator to test described menu tree, until described Menu tree meets visualization condition, forms corresponding Menu Frame tree, and preserves corresponding Menu Frame tree.
Described management method, wherein, the described step editing concrete menu item attribute specifically also includes:
Choose the menu item of corresponding Menu Frame tree, edit menu item is grouped, and adds all menu item packet attributes, then Add Message Processing response, and determine all menu item packets and the mapping relations of corresponding Menu Frame tree, menu item is carried out Visualization loop test, preserves corresponding menu item.
Described management method, wherein, the plurality of Menu Frame tree sets up mapping pass with multiple concrete menu item attributes The step of system specifically also includes: described Menu Frame tree and concrete menu item attribute is attached mapping, according to different instrument Device chooses preferred Menu Frame tree and corresponding concrete menu item combinations of attributes, forms new menu hierarchy.
Described management method, wherein, the described step reconstructing new menu hierarchy specifically also includes: reads menu body It is resource and parses this menu hierarchy, decompose the Menu Frame tree in this menu hierarchy and concrete menu item attribute, in different instrument Tested in device, Menu Frame is remapped with corresponding concrete menu item attribute, reconstructs new menu hierarchy;If choosing Select the new menu hierarchy of dynamic load in the form of dynamic link library, then needing to encapsulate new menu hierarchy is dynamic link library.
Described management method, wherein, described management method also includes: true according to the menu index of item of currently selecting choices from menus Determine menu hierarchy, then judge menu hierarchy, to be assigned to the corresponding group of call back function pointer according to corresponding menu hierarchy Point to the responder of the concrete menu item attribute of corresponding menu hierarchy, complete call corresponds to menu hierarchy.
Described management method, wherein, the described step judging menu hierarchy specifically also includes: if the menu item chosen For board window root menu, then only need to trigger the corresponding call back function of menu item, recall corresponding menu hierarchy and show; If the menu item chosen is input and knob menu, calls and reconstruct new menu hierarchy response process, carry out relevant parameter meter Calculate and preserve, then show;If the menu item chosen is standard menu, directly invokes corresponding menu hierarchy and show.
A kind of management system for managing instrument What You See Is What You Get menu and management method that the present invention provides, can be freely Group merges the menu hierarchy that selective dynamic load needs, its subordinate level clear in structure, sets up menu hierarchy structure and realizes What You See Is What You Get, intuitively, quickly can set up menu hierarchy template, can flexibly edit and reconstruct, and so that menu resource is mapped and store Flexible and changeable, the multilingual cross-platform support of independent plug-in type, freely can dynamically press resource and load, meanwhile, menu data is only Vertical storage, adequately achieves the data sharing between dissimilar menu, and complexity is little, redundancy is low, reduce instrument dish Single maintenance difficulties and cost, and substantially increase systematic entirety energy, reduce data redudancy, and function-pattern-window The menu recombinant technique of mouthful independent assortment achieves freely recombinates between menu, menu hierarchy structure and respond packet and independence, Its durability is strong, and autgmentability is high, and the method for operation management menu hierarchy simultaneously can be with the multi-functional multi-mode of the management of easy and flexible The instrument menu of multiwindow, highly reliable, menu hierarchy module is distinct, fast response time, and easy care substantially increases menu pipe The efficiency of reason, improves system operatio performance, improves menu management efficiency.
Brief description
Fig. 1 is the structural representation of management system in the present invention;
Fig. 2 is the schematic flow sheet of management method in the present invention;
Fig. 3 is the schematic flow sheet building Menu Frame tree in the present invention;
Fig. 4 is the schematic flow sheet editing concrete menu item attribute in the present invention;
Fig. 5 is the schematic flow sheet of combination Menu Frame book and concrete menu item attribute in the present invention;
Fig. 6 is the schematic flow sheet reconstructing new menu hierarchy in the present invention;
Fig. 7 is the schematic flow sheet calling menu hierarchy in the present invention.
Specific embodiment
The invention provides a kind of management system for managing instrument What You See Is What You Get menu and management method, for making this The purpose of invention, technical scheme and effect are clearer, clear and definite, and the present invention is described in more detail below.It should be appreciated that this What place was described is embodied as example only in order to explain the present invention, is not intended to limit the present invention.
The invention provides a kind of management system for instrument What You See Is What You Get menu, as shown in Figure 1, it includes using In the visualization towed Structural Editor 1, the structure genus for setting up and editing concrete menu item attribute that build Menu Frame Property editing machine 2, for by resource data and described structure attribute editor produced by described visualization towed Structural Editor 1 Resource data produced by device 2 is set up mapping and is formed the menu resource corresponding to menu resource assembler 3 and being generated, for from described Choose the standby menu resource maker 4 of preference menu system in the menu resource that menu resource assembler 3 generates and be used for Parsing described visualization towed Structural Editor 1 data simultaneously loads the menu resource resolver 5 that corresponding data is reconstructed;Institute State visualization towed Structural Editor 1 to communicate to connect with described structure attribute editing machine 2, described structure attribute editing machine 2 and Described menu resource assembler 3 communicates to connect, and described menu resource assembler 3 is communicated to connect with described menu resource maker 4, Described menu resource maker 4 is communicated to connect with described menu resource resolver 5, described menu resource resolver 5 with described can Communicate to connect depending on changing towed Structural Editor 1, form an annular connection structure.
Further, described management system is also included for the data of described management system is converted to corresponding form Resource script transducer 6 with for generating the program code generator 7 of Code Template, described visualization towed Structural Editor 1st, described structure attribute editing machine 2, described menu resource assembler 3, described menu resource maker 4, described menu resource solution Parser 5 is all communicated to connect with described resource script transducer 6, to call described resource script transducer 6 that data is corresponded to Conversion;Described program code generator 7 visualizes towed Structural Editor 1, described structure attribute editing machine 2 with described respectively Communication connection.
Present invention also offers a kind of using the above-mentioned management method stating management system, as shown in Figure 2, it includes following Step:
Build multiple Menu Frame trees of clear in structure, select the concrete menu item of corresponding Menu Frame tree, editor is concrete Menu item attribute;Multiple Menu Frame trees and corresponding multiple concrete menu item attributes are set up mapping relations, forms multiple dishes Single mass system simultaneously preserves;Extract and reconfigure the menu hierarchy answering instrument in pairs from multiple menu hierarchy, decompose described preferred The Menu Frame of menu hierarchy and corresponding concrete menu item attribute, are tested in different instruments, to Menu Frame with corresponding Concrete menu item attribute is remapped, and reconstructs new menu hierarchy and is preserved.
Further, as shown in Figure 3, the step of the described multiple Menu Frame trees building clear in structure is specifically also wrapped Include:
Load or set up resource template storehouse, menu tree is set up according to described resource template storehouse, and determines unique menu item Node is as the key word of corresponding menu tree;And call simulator to test described menu tree, until described menu tree meets instrument Function needs, and forms corresponding Menu Frame tree, and preserves corresponding Menu Frame tree.
In another preferred embodiment of the present invention, as shown in Figure 4, the described step tool editing concrete menu item attribute Also the including of body:
Choose the menu item of corresponding Menu Frame tree, edit menu item is grouped, and adds all menu item packet attributes, then Add necessary message response on demand, and determine all menu items packets and the mapping relations of corresponding Menu Frame tree, to menu Item carries out visualizing loop test, until menu item meets instrumental function needs, then preserves corresponding menu item.
Further, as shown in Figure 5, the plurality of Menu Frame tree sets up mapping with multiple concrete menu item attributes The step of relation specifically also includes: described is attached mapping by Menu Frame tree and concrete menu item attribute, according to difference Instrument chooses preferred Menu Frame tree and concrete menu item combinations of attributes, forms new menu hierarchy.
And as shown in Figure 6, the described step reconstructing new menu hierarchy specifically also includes: read menu hierarchy simultaneously Parse this menu hierarchy, decompose the Menu Frame tree in this menu hierarchy and concrete menu item attribute, carry out in different instruments Test, is remapped with corresponding concrete menu item attribute to Menu Frame, reconstructs new menu hierarchy;If selecting with dynamic The new menu hierarchy of form dynamic load of chained library, then needing to encapsulate new menu hierarchy is dynamic link library.
In another preferred embodiment of the present invention, during using described management method, as shown in Figure 7, selected according to current The menu index of menu item determines menu hierarchy, then judges menu hierarchy, to be assigned to corresponding group according to corresponding dish The call back function pointer of single mass system points to the responder of the concrete menu item attribute of corresponding menu hierarchy, and complete call corresponds to dish Single mass system.
Further, the described step judging menu hierarchy specifically also includes: if the menu item chosen is as tool face Plate window root menu, then only need to trigger the corresponding call back function of menu item, recall corresponding menu hierarchy and show;If choosing Menu item is input and knob menu, then call and reconstruct new menu hierarchy response process, carry out relevant parameter and calculate and preserve, Then show;If the menu item chosen is standard menu, directly invokes corresponding menu hierarchy and show.
In order to the management method of the present invention is described more in detail, it is exemplified below more detailed embodiment and illustrates.
Complete the establishment of whole menu hierarchy through 4 steps:
Set up Menu Frame tree
As shown in figure 3, the first step, load resource template storehouse, because different instrument type has different board Button, needs to select a kind of instrument to be defined.If there is the resource template of this instrument, use can be loaded, otherwise, Need to redefine resource template, including the pattern of menu button, type, state etc..The resource template establishing can be protected Store away, to call next time.Second step, sets up Menu Frame tree according to resource template, and Menu Frame tree construction can be visual Change the hierarchical relationship between adjustment node, including father node, child node, the front brotgher of node, rear brotgher of node etc., but it needs to be determined that Unique menu item node index, as the keyword of this menu item, makes a look up as critical field in the entire system, determines Position and mapping.3rd step, analog meter menu system carries out visualization structure test, intuitively checks menu design effect, can It is adjusted with circulating execution second step, until completing whole Menu Frame tree construction.4th step, preserves Menu Frame tree knot Structure.Preserve the Menu Frame tree construction of foundation as needed, including menu entry index, menu item character string, parent node index, son Node index, front brotgher of node index, rear brotgher of node index.Preserve attribute field be [menuindex, menucaption、fathermenuid、childmenuid、premenuid、postmunuid].Wherein, menu entry index (menuindex) it is mapping table keyword.Structure mapping relation can preserve into text, binary system, xml script etc. as needed Resource file, each resource file can be changed after mutually parsing, and can be reloaded editor.
Edit concrete menu item attribute
As shown in figure 4, the first step, according to the Menu Frame tree construction set up, concrete menu item is selected to enter edlin, emphasis Determine that menu item is grouped, including system standard menu, system input, knob menu, board window root menu, function dish Single, control the packet such as menu, then continue and carry out menu process by group.Add other all menu item attributes, including Menu Type, Status Type, parameter type, parameter area etc. specific object.Second step, adds message response, and determines mapping relations.Need Menu response is set up to each packet, to process respectively by menu entry index in packet.3rd step, carries out visualization circulation and surveys Examination.4th step, preserves menu item resource.Wherein, the attribute field of preservation be [menuindex, menuproperty1, menuproperty2、…].
Combination menu resource
As shown in figure 5, the first step, select the above-mentioned dish set up Menu Frame tree and edit preservation in concrete menu item attribute Single frame tree construction data and concrete menu item attribute data are attached mapping.Second step, according to the pattern of instrument, function etc. Need the menu hierarchy that independent assortment completes, and preserve menu hierarchy data, wherein, the attribute field of preservation is with menu item rope Drawing (menuindex) is mapping table keyword, including the complete structure resource of all menu item association attributes fields.
Menu hierarchy reconstructs
As shown in fig. 6, the first step, read corresponding existing menu hierarchy and simultaneously parse, decompose Menu Frame tree construction and concrete Menu item attribute.Second step, presses difference in functionality needs under different instruments, carries out Menu Frame tree construction and concrete menu item belongs to Property remap, make structural remodeling data reconstruct.3rd step, reconfigures and forms new menu hierarchy, and generate new menu body Coefficient evidence.New menu hierarchy data can carry out preserving into menu resource the menu body so that under the different instrument of record and function System, but directly do not call in a program.4th step, if selecting dynamic load menu hierarchy in the form of dynamic link library, Needing to encapsulate menu hierarchy data is dynamic link library.
During management method concrete application, management menu needs the menu grouped data setting up menu manager to connect Mouthful.Menu hierarchy is divided into system standard menu [keyboard ...], system input and knob menu, board window root vegetables by group List, function menu, control menu ..., when call be updated to each group menu interface when, packet menu interface pointer can search for accordingly Menu group carry out packet transaction, then in group according to the response of the unique index of menu item to index at the menu item for numbering Reason.So, the switching between different patterns and window menu only needs to search for and be connected to corresponding interface and call phase The responder answered.
By after menu packet definition in menu data response processing module, menu data parsing foundation is currently selected choices from menus The menu index of item determines menu group, then judges Menu Type, to be assigned to corresponding group of returning according to corresponding menu group Function pointer is adjusted to point to respective menu item responder.Where it is determined that the rule of menu packet disease response is: 1) if the dish pressed Individual event is board window root menu, then only need to trigger the corresponding call back function of menu item, recall corresponding menu group simultaneously Display, and the no related data processing of menu.2) if the menu item pressed is system input and knob menu, call and reconstruct New menu hierarchy response is processed, and carries out relevant parameter and calculates and preserve, then echoes on menu.3) if the menu item pressed is System standard menu, then direct-execution system associative operation, calls updating menu when needing and updating menu.4) if the dish pressed Individual event is function menu, then use the id of the current set of menu to index corresponding functional module, then according to id in functional module process The processing routine of response response.5) if the current set of menu item is to control menu, for example select, on turn over, under the button such as turn over, then need root Judge direct index according to the id of menu to controlling menu treatment group, with processing routine indicator index corresponding processing program.
Can also be processed by the way of dummy keyboard, such as, current button is judged as dummy keyboard button, so After go to virtual system standard menu group and processed.The first step, by all keyboards be grouped, including numeral keys, system key, The virtual keys such as function key, external connection keyboard code are converted to instrument key assignments code, and set up key assignments conversion mapping table.Second step, Add packet response Processing Interface address, i.e. unique No. id of mapping menu group in key assignments conversion mapping table.3rd step, in key During disk button, search key conversion mapping table, obtain No. id that corresponding packet response is processed.4th step, according to packet response No. id lookup definition packet transaction pointer, with pointer as initial address, menu item id be the corresponding menu of offset response ring Answer program.
Certainly, only presently preferred embodiments of the present invention described above, the present invention is not limited to enumerate above-described embodiment, should When explanation, any those of ordinary skill in the art are under the teaching of this specification, all equivalent substitutes of being made, bright Aobvious variant, all falls within the essential scope of this specification, ought to be protected by the present invention.

Claims (8)

1. a kind of management system for instrument What You See Is What You Get menu is it is characterised in that it is included for building Menu Frame Visualization towed Structural Editor, for set up and edit concrete menu item attribute structure attribute editing machine, for will The attribute money that the infrastructure resource data that described visualization towed Structural Editor produces is produced with described structure attribute editing machine Source data is set up mapping and is formed the menu resource of corresponding menu hierarchy, for choosing preferred dish from described menu resource assembler The standby menu resource maker of single mass system and the menu money for parsing described visualization towed Structural Editor generation Source data the menu resource resolver that the corresponding attribute data of Loading Menu structure is reconstructed again;Described visualization pulls Formula Structural Editor and described structure attribute editing machine communication connection, described structure attribute editing machine and described menu resource assembling Device communicates to connect, and described menu resource assembler is communicated to connect with described menu resource maker, described menu resource maker Communicate to connect with described menu resource resolver, described menu resource resolver is led to described visualization towed Structural Editor Letter connects, and forms an annular connection structure, obtains the multilingual cross-platform support of independent plug-in type, can independent assortment selectivity The menu hierarchy that needs of dynamic load, loaded with freely dynamically pressing resource;
Described management system also includes the resource foot for the menu resource data of described management system is converted to corresponding form This transducer with for generating the program code generator of Code Template, described visualization towed Structural Editor, described knot Structure attribute Editor, described menu resource assembler, described menu resource maker, described menu resource resolver all with described Resource script transducer communicates to connect, to call described resource script transducer to carry out corresponding conversion to data;Described program generation Code generator is communicated to connect with described visualization towed Structural Editor, described structure attribute editing machine respectively.
2. a kind of management method using management system as claimed in claim 1, it comprises the following steps:
Build multiple Menu Frame trees of clear in structure, select the concrete menu item of corresponding Menu Frame tree, edit concrete menu Item attribute;Multiple Menu Frame trees and multiple concrete menu item attributes are set up mapping relations, forms multiple menu hierarchy and protect Deposit;Extract from multiple menu hierarchy and reconfigure the menu hierarchy answered in pairs needed for instrument, load and parse selected dish The Menu Frame of single mass system and corresponding concrete menu item attribute, are tested in different instruments, to Menu Frame and corresponding tool Body menu item attribute is remapped, and reconstructs new menu hierarchy and is preserved.
3. management method according to claim 2 is it is characterised in that multiple Menu Frame trees of described structure clear in structure Step specifically also include:
Load or set up resource template storehouse, menu tree is set up according to described resource template storehouse, and determines unique menu item subordinate The node of hierarchical relationship is as the key word of corresponding menu tree;And call simulator to test described menu tree, until described menu Tree meets visualization condition, forms corresponding Menu Frame tree, and preserves corresponding Menu Frame tree.
4. management method according to claim 2 is it is characterised in that the step of described editor concrete menu item attribute is concrete Also include:
Choose the menu item of corresponding Menu Frame tree, edit menu item is grouped, and adds all menu item packet attributes, then adds Message Processing responds, and determines all menu item packets and the mapping relations of corresponding Menu Frame tree, and menu item is carried out visually Change loop test, preserve corresponding menu item.
5. management method according to claim 2 is it is characterised in that the plurality of Menu Frame tree and multiple concrete menus The step that item attribute sets up mapping relations specifically also includes: Menu Frame tree is attached reflecting with concrete menu item attribute Penetrate, choose preferred Menu Frame tree and corresponding concrete menu item combinations of attributes according to different instruments, form new menu body System.
6. management method according to claim 2 is it is characterised in that the described step reconstructing new menu hierarchy is specific Also include: read menu hierarchy resource and parse this menu hierarchy, decompose the Menu Frame tree in this menu hierarchy and concrete dish Individual event attribute, is tested in different instruments, and Menu Frame is remapped with corresponding concrete menu item attribute, reconstruct Become new menu hierarchy;If selecting the new menu hierarchy of dynamic load in the form of dynamic link library, need to encapsulate new menu hierarchy For dynamic link library.
7. management method according to claim 2 is it is characterised in that described management method also includes: according to currently choosing The menu index of menu item determines menu hierarchy, then judges menu hierarchy, to be assigned to corresponding group according to corresponding menu The call back function pointer of system points to the responder of the concrete menu item attribute of corresponding menu hierarchy, and complete call corresponds to menu System.
8. management method according to claim 7 is it is characterised in that the step of described judgement menu hierarchy is specifically also wrapped Include: if the menu item chosen is board window root menu, only need to trigger the corresponding call back function of menu item, it is right to recall Answer menu hierarchy and show;If the menu item chosen is input and knob menu, calls and reconstruct at new menu hierarchy response Reason, carries out relevant parameter and calculates and preserve, then show;If the menu item chosen is standard menu, directly invoke corresponding dish Single mass system simultaneously shows.
CN201310563979.9A 2013-11-14 2013-11-14 System and method for managing what-you-see-is-what-you-get menus of instrument Expired - Fee Related CN103593188B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310563979.9A CN103593188B (en) 2013-11-14 2013-11-14 System and method for managing what-you-see-is-what-you-get menus of instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310563979.9A CN103593188B (en) 2013-11-14 2013-11-14 System and method for managing what-you-see-is-what-you-get menus of instrument

Publications (2)

Publication Number Publication Date
CN103593188A CN103593188A (en) 2014-02-19
CN103593188B true CN103593188B (en) 2017-01-18

Family

ID=50083348

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310563979.9A Expired - Fee Related CN103593188B (en) 2013-11-14 2013-11-14 System and method for managing what-you-see-is-what-you-get menus of instrument

Country Status (1)

Country Link
CN (1) CN103593188B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106570077B (en) * 2016-10-17 2020-06-16 深圳市茁壮网络股份有限公司 Column arrangement method and device
CN109284152A (en) * 2017-07-21 2019-01-29 中兴通讯股份有限公司 A kind of menu visual configuration method, equipment and computer readable storage medium
CN109783694B (en) * 2019-01-30 2021-02-12 清华大学 Cross-platform large instrument shared information integration method and system based on XML
CN110806823A (en) * 2019-10-30 2020-02-18 中电科仪器仪表有限公司 Method and system for dynamically configuring menu of test instrument
CN111752666B (en) * 2020-06-30 2023-05-30 杭州海康威视数字技术股份有限公司 Window display method, device and terminal

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101645006A (en) * 2009-08-25 2010-02-10 山东中创软件商用中间件股份有限公司 Method and device for dynamically generating property page
CN101697156A (en) * 2009-10-29 2010-04-21 孟智平 Method and system for constructing chain web pages
CN101944027A (en) * 2010-09-26 2011-01-12 北京神州泰岳软件股份有限公司 User interface generation method
CN102609252A (en) * 2012-01-16 2012-07-25 中国电子科技集团公司第四十一研究所 Intelligent configuration method for logic menu resources on basis of measurement instruments
CN102799430A (en) * 2012-07-02 2012-11-28 电子科技大学 Mobile internet business-oriented off-line visual business development generator
CN102880708A (en) * 2012-09-28 2013-01-16 用友软件股份有限公司 Visual design system and method for implementing hypertext markup language (HTML) page
CN103019684A (en) * 2012-11-20 2013-04-03 北京思特奇信息技术股份有限公司 Dynamic template-based business page configuring method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101645006A (en) * 2009-08-25 2010-02-10 山东中创软件商用中间件股份有限公司 Method and device for dynamically generating property page
CN101697156A (en) * 2009-10-29 2010-04-21 孟智平 Method and system for constructing chain web pages
CN101944027A (en) * 2010-09-26 2011-01-12 北京神州泰岳软件股份有限公司 User interface generation method
CN102609252A (en) * 2012-01-16 2012-07-25 中国电子科技集团公司第四十一研究所 Intelligent configuration method for logic menu resources on basis of measurement instruments
CN102799430A (en) * 2012-07-02 2012-11-28 电子科技大学 Mobile internet business-oriented off-line visual business development generator
CN102880708A (en) * 2012-09-28 2013-01-16 用友软件股份有限公司 Visual design system and method for implementing hypertext markup language (HTML) page
CN103019684A (en) * 2012-11-20 2013-04-03 北京思特奇信息技术股份有限公司 Dynamic template-based business page configuring method

Also Published As

Publication number Publication date
CN103593188A (en) 2014-02-19

Similar Documents

Publication Publication Date Title
CN110007917B (en) Visual page generation and browsing method based on browser
CN106528129B (en) A kind of Web application interface generation system and method
CN103593188B (en) System and method for managing what-you-see-is-what-you-get menus of instrument
CN110989983A (en) Zero-coding application software rapid construction system
EP0880842B1 (en) A management interworking unit and a method for producing such a unit
CN107807913A (en) A kind of form design system and method based on web
CN110688117B (en) Interface designer and platform based on JavaWeb and page configuration method thereof
CN106293743A (en) A kind of mobile modeling and build Mobile solution the method realizing cross-platform issue
JP2007536640A (en) Method and apparatus for modifying process control data
CN106126569A (en) A kind of rapid data method of servicing and system
CN105426394A (en) Mobile report generation method and system based on cross-platform
US10095678B2 (en) Database user interfaces with flowsheets of a simulation system
CN108388622A (en) Api interface dynamic creation method, device, computer equipment and storage medium
CN108089861A (en) It is a kind of from SysML model conversions to the conversion method of AltaRica models
CN103927185A (en) Network topology modeling device based on energy management and guiding method thereof
CN101631262A (en) VoiceXML business integrated development system and realizing method thereof
CN110069248A (en) Call method, device, equipment and the computer readable storage medium of interface data
CN100449484C (en) Method and system for generating artificial equipment panel
CN104063231B (en) Test resource rapid access method based on HIT-TENA
CN103810292A (en) Method and device for configuring graphical interface
CN114117645B (en) Ship overall performance forecasting integrated application system
CN106250134A (en) The code automatic generation method of unicity language
KR102490941B1 (en) An online report creation system using Excel tool
CN101303646A (en) Modeling method based on electric communication field capable of performing meta language
CN109840201A (en) UI test method, device, electronic equipment and computer readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20190306

Address after: 266555 Xiangjiang 98, Huangdao District, Qingdao City, Shandong Province

Patentee after: China Electronics Technology Instrument and Meter Co., Ltd.

Address before: 266555 No. 98 Xiangjiang Road, Qingdao economic and Technological Development Zone, Shandong

Patentee before: The 41st Institute of CETC

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

Granted publication date: 20170118

Termination date: 20201114