CN103593188A - 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
CN103593188A
CN103593188A CN201310563979.9A CN201310563979A CN103593188A CN 103593188 A CN103593188 A CN 103593188A CN 201310563979 A CN201310563979 A CN 201310563979A CN 103593188 A CN103593188 A CN 103593188A
Authority
CN
China
Prior art keywords
menu
resource
hierarchy
concrete
item
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310563979.9A
Other languages
Chinese (zh)
Other versions
CN103593188B (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

Images

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 and management method for instrument What You See Is What You Get menu
Technical field
The present invention relates to a kind of for managing management system and the management method of instrument What You See Is What You Get menu.
Background technology
In instrument system, menu hierarchy is the primary structure of the whole framework of instrument system, and its good man-machine interaction mode has become the main entrance of user's operating instrument instrument.During instrument uses, due to needs, carry out frequently the operations such as parameter input, pattern switching and state change, make the menu operation mode of mouse input can not meet customer requirement, instead button and the soft menu of touch instrument more seem convenient, fast.Yet instrument panel and LCD screen are big or small limited after all, available instrument menu key and menu view region are also extremely limited.In the face of increasing instrument system function, bring instrument window and the view of continuous expansion thereupon, make menu structure and of a great variety, level is intricate.
Existing instrument menu design generally realizes by 3 kinds of modes: 1) by predefined menu structure, directly in code, carry out structure attribute encapsulation and menu item attribute definition and message response.2) according to predefined menu structure, design a set of menu editing template, can generate ready-made menu hierarchy code and directly use.3) by menu template, design and generate menu resource file, so that management separately loads and resolve use when system starts.
And existing instrument menu entities and management method are mainly:
By window (view), manage: each instrument view/window has its relevant whole menu hierarchy structures.
By pattern (function), manage: a relevant window/view of all its pattern/functions of menu hierarchy structure control, is generally usually used in parameter input and arranges.
The defect of the instrument menu of existing several technical design aspect several:
(1) by predefined menu structure, directly in code, carry out structure attribute encapsulation and menu item attribute definition and message response.This method is directly carried out menu resource editor and menu mapping response in code, and efficiency is extremely low.One, encoding amount is large, the many repeated and redundant of resource, especially when menu properties is many, the property location editor that must align in code editor, therefore, direct editing code is also very difficult; Its two, the level that edit code can not react between menu is intuitively subordinate to structural relation, between father and son's menu, be difficult to judgement, very easy editor makes mistakes; They are three years old, when the code structure editting is modified, owing to having destroyed original menu hierarchy level, be subordinate to structural relation, therefore, while likely linking a lot of relevant menu item attribute of change to editing a menu item, attribute and the mapping relations thereof of add, delete, mobile, modification is associated menu item, intricate especially, increase staff's workload.Its four, menu hierarchy coding is fixing, can not meet the menu structure of assembly type, modularization, dynamic load, makes it be difficult for maintenance and expansion, generally all needs the coding that defines whole assembled arrangement or multiple condition judgement to complete.
(2) according to predefined menu structure, design a set of menu editing template, can generate ready-made menu hierarchy code and directly use.The workload of some menu direct codings during although this method has reduced above-mentioned (1), code can directly generate by menu template mostly, easy edit menu, and structure is also more clear, but still has defect.One, for the code intersecting and overlapping menu item still needs generation to repeat.Its two, by template, generate menu hierarchy code, must edit by predefined menu structure template, menu item attribute and action are more fixing, and platform and language malleable not.Its three, menu resource is independent not, once manual modification menu hierarchy code or destroyed menu formwork structure, can not be identified by template, cause revising and editor can not normally carry out, stability and poor reliability.
(3) by menu template, design and generate menu resource file, so that management separately loads and resolve use when system starts.This method is to use at present more technological means, has solved most defect in above-mentioned (1) and (2), and dirigibility is greatly improved, but still has some problems.One, menu template is more fixing, even if can revise flexibly menu subordinate layer aggregated(particle) structure, but needs to define and set up all possible menu tree structure, just in system, enables the menu item of those available functions, forbids those disabled menu items.If system function module is more, and available function is less, will cause available menu resource sparse, and unnecessary menu structure is still huge, causes readability very poor, and treatment effeciency is low.Its two, once generate menu resource script, need to after program starts, all be loaded into internal memory.Due to menu item attribute templates, will inevitably there is a large amount of occupy-place attributes in a lot of simple menu items of function, and unnecessary menu structure is also wasted memory headroom.Its three, menu resource file does not have packed, be easy to be modified, poor stability, unreliable, directly affect the global reliability of system.
In sum, no matter be that menu hierarchy is managed or manages by pattern (function) by window (view).Although can make each instrument view/window needn't have its relevant whole menu hierarchy structures by sub-module.Can allow a menu hierarchy classification control window/view that all its pattern/functions are relevant (be generally usually used in the parameter input of window/view and arrange) by window classification.But the common problem existing is, must when loading, program define all menu structures and responder, and can not be with plug-in type dynamic load/unload plug-in unit related menu when the instrument plug-in unit opening/closing.
Summary of the invention
In view of above-mentioned the deficiencies in the prior art, the object of the present invention is to provide a kind ofly for managing management system and the management method of instrument What You See Is What You Get menu, reduce data redudancy, improve menu management efficiency.
For solving the problems of the technologies described above, technical solution of the present invention comprises:
A kind of management system for instrument What You See Is What You Get menu, wherein, it comprises for building the visual towed Structural Editor of Menu Frame, for setting up and edit the structure attribute editing machine of concrete menu item attribute, the attribute resource data producing with described structure attribute editing machine for the infrastructure resource data that described visual towed Structural Editor is produced is set up the menu resource that mapping forms corresponding menu hierarchy, for the menu resource data menu resource resolver that also attribute data of Loading Menu structural correspondence is reconstructed again of choosing the standby menu resource maker of preference menu system from described menu resource and producing for resolving described visual towed Structural Editor, described visual towed Structural Editor and the communication connection of described structure attribute editing machine, described structure attribute editing machine and the communication connection of described menu resource, described menu resource and the communication connection of described menu resource maker, described menu resource maker and the communication connection of described menu resource resolver, described menu resource resolver and described visual towed Structural Editor communication connection, form an annular syndeton.
Described management system, wherein, described management system also comprises resource script converter for the menu resource data of described management system being converted to corresponding form and program code maker for generating code template, described visual towed Structural Editor, described structure attribute editing machine, described menu resource, described menu resource maker, described menu resource resolver all communicate to connect with described resource script converter, to call described resource script converter, data are carried out to corresponding conversion; Described program code maker communicates to connect with described visual towed Structural Editor, described structure attribute editing machine respectively.
A management method of using described management system, it comprises the following steps:
Build a plurality of Menu Frame trees of clear in structure, select the concrete menu item of corresponding Menu Frame tree, edit concrete menu item attribute; A plurality of Menu Frame trees are set up to mapping relations with a plurality of concrete menu item attributes, form a plurality of menu hierarchy and preserve; From a plurality of menu hierarchy, extract and be reassembled into the required menu hierarchy of corresponding instrument, load and resolve the Menu Frame and corresponding concrete menu item attribute of selected menu hierarchy, in different instruments, test, Menu Frame is remapped with corresponding concrete menu item attribute, reconstitute new menu hierarchy and preserve.
Described management method, wherein, the step of a plurality of Menu Frame trees of described structure clear in structure specifically also comprises:
Load or set up resource template storehouse, according to described resource template storehouse, setting up menu tree, and determining that the node of unique menu item subordinate hierarchical relationship is as the keyword of corresponding menu tree; And call simulator and test described menu tree, until described menu tree meets visual condition, form corresponding Menu Frame tree, and preserve corresponding Menu Frame tree.
Described management method, wherein, concrete also the comprising of step of the concrete menu item attribute of described editor:
Choose the menu item of corresponding Menu Frame tree, the grouping of edit menu item, adds all menu item packet attributes, then add Message Processing response, and determine the mapping relations that all menu item groupings are set with corresponding Menu Frame, and menu item is carried out to visual loop test, preserve corresponding menu item.
Described management method, wherein, concrete also the comprising of step that described a plurality of Menu Frame tree is set up mapping relations with a plurality of concrete menu item attributes: described Menu Frame tree is connected to mapping with concrete menu item attribute, according to different instruments, choose preferred Menu Frame and set and corresponding concrete menu item combinations of attributes, form new menu hierarchy.
Described management method, wherein, described concrete also the comprising of step that reconstitutes new menu hierarchy: read menu hierarchy resource and resolve this menu hierarchy, decompose Menu Frame tree and concrete menu item attribute in this menu hierarchy, in different instruments, test, Menu Frame is remapped with corresponding concrete menu item attribute, reconstitute new menu hierarchy; If select the new menu hierarchy of form dynamic load with dynamic link library, needing to encapsulate new menu hierarchy is dynamic link library.
Described management method, wherein, described management method also comprises: according to current menu index of selecting choices from menus item, determine menu hierarchy, then judge menu hierarchy, to be assigned to the responder of the concrete menu item attribute of the corresponding menu hierarchy of the corresponding group of call back function pointed according to corresponding menu hierarchy, the corresponding menu hierarchy of complete call.
Described management method, wherein, described concrete also the comprising of step of judging menu hierarchy: if the menu item of choosing is instrument panel window root menu, only need to trigger the call back function that menu item is corresponding, recall corresponding menu hierarchy and show; If the menu item of choosing is input and knob menu, call and reconstitute new menu hierarchy response processing, carry out correlation parameter calculating preservation, then show; If the menu item of choosing is standard menu, directly calls corresponding menu hierarchy and show.
Provided by the invention a kind of for managing management system and the management method of instrument What You See Is What You Get menu, the menu hierarchy that energy independent assortment optionally dynamic load need, its subordinate layer aggregated(particle) structure is clear, set up menu hierarchy structure and realize What You See Is What You Get, can be directly perceived, Rapid Establishment menu hierarchy template, can edit flexibly and reconstruct, make menu resource mapping and store flexible and changeable, the independently multilingual cross-platform support of plug-in type, can freely dynamically by resource, load, simultaneously, menu data separate, stored, fully realized the data sharing between dissimilar menu, and complexity is little, redundance is low, instrument menu maintenance difficulties and cost have been reduced, and greatly improved entire system performance, reduced data redudancy, and the menu recombinant technique of function-pattern-window independent assortment has been realized between menu and freely having been recombinated, menu hierarchy structure and respond packet and independence, its reusability is strong, extendability is high, the method of the menu hierarchy of operation management simultaneously, the instrument menu of the multi-functional multi-mode multiwindow of management that can easy and flexible, reliability is strong, menu hierarchy module is distinct, fast response time, easy care, greatly improved the efficiency of menu management, promoted system operating performance, improved menu management efficiency.
Accompanying drawing explanation
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 that builds Menu Frame tree in the present invention;
Fig. 4 is the schematic flow sheet of the concrete menu item attribute of inediting of the present invention;
Fig. 5 is the schematic flow sheet that combines Menu Frame book and concrete menu item attribute in the present invention;
Fig. 6 is the schematic flow sheet of the new menu hierarchy of reconstruct in the present invention;
Fig. 7 is the schematic flow sheet that calls menu hierarchy in the present invention.
Embodiment
The invention provides a kind ofly for managing management system and the management method of instrument What You See Is What You Get menu, for making object of the present invention, technical scheme and effect clearer, clear and definite, below the present invention is described in more detail.Should be appreciated that specific embodiment described herein, 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 comprises for building the visual towed Structural Editor 1 of Menu Frame, for setting up and edit the structure attribute editing machine 2 of concrete menu item attribute, the resource data producing with described structure attribute editing machine 2 for the resource data that described visual towed Structural Editor 1 is produced is set up mapping and is formed the menu resource that corresponding menu resource assembler 3 generates, for the menu resource generating from described menu resource assembler 3, choose the standby menu resource maker 4 of preference menu system and for resolving described visual towed Structural Editor 1 data and loading the menu resource resolver 5 that corresponding data is reconstructed, described visual towed Structural Editor 1 and described structure attribute editing machine 2 communication connections, described structure attribute editing machine 2 and described menu resource assembler 3 communication connections, described menu resource assembler 3 and described menu resource maker 4 communication connections, described menu resource maker 4 and described menu resource resolver 5 communication connections, described menu resource resolver 5 and described visual towed Structural Editor 1 communication connection, form an annular syndeton.
Further, described management system also comprises for the data of described management system being converted to the resource script converter 6 of corresponding form and program code maker 7 for generating code template, described visual towed Structural Editor 1, described structure attribute editing machine 2, described menu resource assembler 3, described menu resource maker 4, described menu resource resolver 5 all communicate to connect with described resource script converter 6, to call 6 pairs of data of described resource script converter, carry out corresponding conversion; Described program code maker 7 communicates to connect with described visual towed Structural Editor 1, described structure attribute editing machine 2 respectively.
The present invention also provides a kind of above-mentioned management method of stating management system of using, and as shown in Figure 2, it comprises the following steps:
Build a plurality of Menu Frame trees of clear in structure, select the concrete menu item of corresponding Menu Frame tree, edit concrete menu item attribute; A plurality of Menu Frame trees are set up to mapping relations with corresponding a plurality of concrete menu item attribute, form a plurality of menu hierarchy and preserve; From a plurality of menu hierarchy, extract and be reassembled into the menu hierarchy of corresponding instrument, the Menu Frame and corresponding concrete menu item attribute that decompose described preference menu system, in different instruments, test, Menu Frame is remapped with corresponding concrete menu item attribute, reconstitute new menu hierarchy and preserve.
Further, as shown in Figure 3, the step of a plurality of Menu Frame trees of described structure clear in structure specifically also comprises:
Load or set up resource template storehouse, according to described resource template storehouse, setting up menu tree, and determining that unique menu item node is as the keyword of corresponding menu tree; And call simulator and test described menu tree, until described menu tree meets instrumental function needs, form corresponding Menu Frame tree, and preserve corresponding Menu Frame tree.
In another preferred embodiment of the present invention, as shown in Figure 4, concrete also the comprising of step of the concrete menu item attribute of described editor:
Choose the menu item of corresponding Menu Frame tree, the grouping of edit menu item, add all menu item packet attributes, then add as required necessary message response, and determine the mapping relations that all menu items groupings are set with corresponding Menu Frame, menu item is carried out to visual loop test, until menu item meets instrumental function needs, then preserve corresponding menu item.
Further, as shown in Figure 5, concrete also the comprising of step that described a plurality of Menu Frame tree is set up mapping relations with a plurality of concrete menu item attributes: described Menu Frame tree is connected to mapping with concrete menu item attribute, according to different instruments, choose preferred Menu Frame tree and concrete menu item combinations of attributes, form new menu hierarchy.
And as shown in Figure 6, described concrete also the comprising of step that reconstitutes new menu hierarchy: read menu hierarchy and resolve this menu hierarchy, decompose Menu Frame tree and concrete menu item attribute in this menu hierarchy, in different instruments, test, Menu Frame is remapped with corresponding concrete menu item attribute, reconstitute new menu hierarchy; If select the new menu hierarchy of form dynamic load with dynamic link library, needing to encapsulate new menu hierarchy is dynamic link library.
In another preferred embodiment of the present invention, while using described management method, as shown in Figure 7, according to current menu index of selecting choices from menus item, determine menu hierarchy, then judge menu hierarchy, to be assigned to the responder of the concrete menu item attribute of the corresponding menu hierarchy of the corresponding group of call back function pointed according to corresponding menu hierarchy, the corresponding menu hierarchy of complete call.
Further, described concrete also the comprising of step of judging menu hierarchy: if the menu item of choosing is instrument panel window root menu, only need to trigger the call back function that menu item is corresponding, recall corresponding menu hierarchy and show; If the menu item of choosing is input and knob menu, call and reconstitute new menu hierarchy response processing, carry out correlation parameter calculating preservation, then show; If the menu item of choosing is standard menu, directly calls corresponding menu hierarchy and show.
For more detailed explanation management method of the present invention, below enumerate more detailed embodiment and describe.
Through 4 steps, complete the establishment of whole menu hierarchy:
Set up Menu Frame tree
As shown in Figure 3, the first step, loads resource template storehouse, because different instrument types has different instrument panel buttons, need to select a kind of instrument to define.If there is the resource template of this instrument, can load use, otherwise, need to redefine resource template, comprise pattern, type, state of menu button etc.The resource template establishing can save, to call next time.Second step, according to resource template, set up Menu Frame tree, the hierarchical relationship of Menu Frame tree construction between can visual knot modification, comprise father node, child node, the front brotgher of node, the rear brotgher of node etc., but need to determine that unique menu item node index, as the key word of this menu item, searches, locates and shine upon as critical field in whole system.The 3rd step, analog meter menu system carries out visualization structure test, checks intuitively menu design effect, and the execution second step that can circulate is adjusted, until complete whole Menu Frame tree construction.The 4th step, preserves Menu Frame tree construction.Preserve as required the Menu Frame tree construction of setting up, comprise menu item index, menu item character string, parent node index, child node index, front brotgher of node index, rear brotgher of node index.The attribute field of preserving is [MenuIndex, MenuCaption, FatherMenuID, ChildMenuID, PreMenuID, PostMunuID].Wherein, menu item index (MenuIndex) is mapping table key word.Structure mapping relation can be preserved into the resource files such as text, scale-of-two, XML script as required, and each resource file can be resolved rear conversion mutually, 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 of setting up, select concrete menu item to edit, emphasis is determined menu item grouping, comprise system standard menu, system input, knob menu, instrument panel window root menu, function menu, the groupings such as Control-Menu, then continue and carry out menu processing by group.Add other all menu item attributes, comprise Menu Type, Status Type, parameter type, parameter area etc. specific object.Second step, adds message response, and definite mapping relations.Need to set up menu response to each grouping, in grouping, by menu item index, process respectively.The 3rd step, carries out visual loop test.The 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 above-mentioned Menu Frame tree construction data of preserving in setting up Menu Frame tree and editing concrete menu item attribute and specifically menu item attribute data be connected mapping.Second step, the menu hierarchy that needs independent assortment to complete according to the pattern of instrument, function etc., and preserve menu hierarchy data, wherein, the attribute field of preserving is to take menu item index (MenuIndex) as mapping table key word, comprises the complete structure resource of all menu item association attributes fields.
Menu hierarchy reconstruct
As shown in Figure 6, the first step, reads corresponding existing menu hierarchy and resolves, and decomposes Menu Frame tree construction and concrete menu item attribute.Second step is pressed difference in functionality needs under different instruments, carries out Menu Frame tree construction and remaps with concrete menu item attribute, makes structural remodeling and data reconstruction.The 3rd step, reconfigures and forms new menu hierarchy, and generate new menu hierarchy data.New menu hierarchy data can be preserved into menu resource to record the menu hierarchy under different instruments and function, but not directly at Calling.The 4th step, if select the form dynamic load menu hierarchy with dynamic link library, needing to encapsulate menu hierarchy data is dynamic link library.
In the process of the concrete application of management method, Administration menu need to be set up the menu packet data interface of menu manager.Menu hierarchy is system standard menu [keyboard by component ... ], system input and knob menu, instrument panel window root menu, function menu, Control-Menu ... when calling, be updated to while respectively organizing menu interface, grouping menu interface pointer can be searched for corresponding menu group and carry out packet transaction, and then in group, according to the unique index response of menu item, take index is the menu item processing of numbering.Like this, in different patterns and the switching between window menu, only need to search for and be connected to corresponding interface and call corresponding responder.
After menu grouping being defined in menu data response processing module, menu data is resolved according to current menu index of selecting choices from menus item and is determined menu group, then judge Menu Type, to be assigned to corresponding group according to the call back function pointed of corresponding menu group menu item responder separately.The rule of wherein judging the sick response of menu grouping as: 1) if the menu item of pressing is instrument panel window root menu, only need to trigger the call back function that menu item is corresponding, recall corresponding menu group and show, and without the relevant data processing of menu.2) if the menu item of pressing is system input and knob menu, call and reconstitute new menu hierarchy response processing, carry out correlation parameter calculating preservation, then echo is to menu.3) if the menu item of pressing is system standard menu, direct-execution system associative operation calls updating menu when needs upgrade menu.4) if the menu item of pressing is function menu, use the corresponding functional module of ID index of the current set of menu, then in functional module is processed according to the handling procedure of ID response response.5) if the current set of menu item is Control-Menu, such as selecting, on turn over, under the button such as turn over, need to judge that according to the ID of menu direct index is to Control-Menu processed group, with handling procedure indicator index corresponding processing program.
Can also adopt the mode of dummy keyboard to process, such as, current button is judged as dummy keyboard button, then forwards virtual system standard menu group to and processes.The first step, by all keyboard groupings, comprises the virtual keys such as numerical key, system key, function key, and external connection keyboard code is converted to instrument key assignments code, and sets up key assignments conversion mapping table.Second step adds grouping response Processing Interface address in key assignments conversion mapping table, unique No. ID of mapping menu group.The 3rd step, when keyboard, searches key conversion mapping table, obtains No. ID that corresponding grouping response is processed.The 4th step, according to the packet transaction pointer of searching definition for No. ID of grouping response, take pointer as start address, and menu item ID is the corresponding menu response program of offset response.
Certainly; more than explanation is only preferred embodiment of the present invention; the present invention is not limited to enumerate above-described embodiment; should be noted that; any those of ordinary skill in the art are under the instruction of this instructions; that makes is allly equal to alternative, obvious form of distortion, within all dropping on the essential scope of this instructions, ought to be subject to protection of the present invention.

Claims (9)

1. the management system for instrument What You See Is What You Get menu, it is characterized in that, it comprises for building the visual towed Structural Editor of Menu Frame, for setting up and edit the structure attribute editing machine of concrete menu item attribute, the attribute resource data producing with described structure attribute editing machine for the infrastructure resource data that described visual towed Structural Editor is produced is set up the menu resource that mapping forms corresponding menu hierarchy, for the menu resource data menu resource resolver that also attribute data of Loading Menu structural correspondence is reconstructed again of choosing the standby menu resource maker of preference menu system from described menu resource assembler and producing for resolving described visual towed Structural Editor, described visual towed Structural Editor and the communication connection of described structure attribute editing machine, described structure attribute editing machine and the communication connection of described menu resource assembler, described menu resource assembler and the communication connection of described menu resource maker, described menu resource maker and the communication connection of described menu resource resolver, described menu resource resolver and described visual towed Structural Editor communication connection, form an annular syndeton.
2. management system according to claim 1, it is characterized in that, described management system also comprises resource script converter for the menu resource data of described management system being converted to corresponding form and program code maker for generating code template, described visual towed Structural Editor, described structure attribute editing machine, described menu resource assembler, described menu resource maker, described menu resource resolver all communicate to connect with described resource script converter, to call described resource script converter, data are carried out to corresponding conversion; Described program code maker communicates to connect with described visual towed Structural Editor, described structure attribute editing machine respectively.
3. use a management method for management system as claimed in claim 1, it comprises the following steps:
Build a plurality of Menu Frame trees of clear in structure, select the concrete menu item of corresponding Menu Frame tree, edit concrete menu item attribute; A plurality of Menu Frame trees are set up to mapping relations with a plurality of concrete menu item attributes, form a plurality of menu hierarchy and preserve; From a plurality of menu hierarchy, extract and be reassembled into the required menu hierarchy of corresponding instrument, load and resolve the Menu Frame and corresponding concrete menu item attribute of selected menu hierarchy, in different instruments, test, Menu Frame is remapped with corresponding concrete menu item attribute, reconstitute new menu hierarchy and preserve.
4. management method according to claim 3, is characterized in that, the step of a plurality of Menu Frame trees of described structure clear in structure specifically also comprises:
Load or set up resource template storehouse, according to described resource template storehouse, setting up menu tree, and determining that the node of unique menu item subordinate hierarchical relationship is as the keyword of corresponding menu tree; And call simulator and test described menu tree, until described menu tree meets visual condition, form corresponding Menu Frame tree, and preserve corresponding Menu Frame tree.
5. management method according to claim 3, is characterized in that, concrete also the comprising of step of the concrete menu item attribute of described editor:
Choose the menu item of corresponding Menu Frame tree, the grouping of edit menu item, adds all menu item packet attributes, then add Message Processing response, and determine the mapping relations that all menu item groupings are set with corresponding Menu Frame, and menu item is carried out to visual loop test, preserve corresponding menu item.
6. management method according to claim 3, it is characterized in that, concrete also the comprising of step that described a plurality of Menu Frame tree is set up mapping relations with a plurality of concrete menu item attributes: described Menu Frame tree is connected to mapping with concrete menu item attribute, according to different instruments, choose preferred Menu Frame and set and corresponding concrete menu item combinations of attributes, form new menu hierarchy.
7. management method according to claim 3, it is characterized in that, described concrete also the comprising of step that reconstitutes new menu hierarchy: read menu hierarchy resource and resolve this menu hierarchy, decompose Menu Frame tree and concrete menu item attribute in this menu hierarchy, in different instruments, test, Menu Frame is remapped with corresponding concrete menu item attribute, reconstitute new menu hierarchy; If select the new menu hierarchy of form dynamic load with dynamic link library, needing to encapsulate new menu hierarchy is dynamic link library.
8. management method according to claim 3, it is characterized in that, described management method also comprises: according to current menu index of selecting choices from menus item, determine menu hierarchy, then judge menu hierarchy, to be assigned to the responder of the concrete menu item attribute of the corresponding menu hierarchy of the corresponding group of call back function pointed according to corresponding menu hierarchy, the corresponding menu hierarchy of complete call.
9. management method according to claim 8, it is characterized in that, described concrete also the comprising of step of judging menu hierarchy: if the menu item of choosing is instrument panel window root menu, only need to trigger the call back function that menu item is corresponding, recall corresponding menu hierarchy and show; If the menu item of choosing is input and knob menu, call and reconstitute new menu hierarchy response processing, carry out correlation parameter calculating preservation, then show; If the menu item of choosing is standard menu, directly calls corresponding menu hierarchy and show.
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 true CN103593188A (en) 2014-02-19
CN103593188B 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)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106570077A (en) * 2016-10-17 2017-04-19 深圳市茁壮网络股份有限公司 Column editing method and column editing device
CN109284152A (en) * 2017-07-21 2019-01-29 中兴通讯股份有限公司 A kind of menu visual configuration method, equipment and computer readable storage medium
CN109783694A (en) * 2019-01-30 2019-05-21 清华大学 Cross-platform large-scale instrument shared information integrated approach and system based on XML
CN110806823A (en) * 2019-10-30 2020-02-18 中电科仪器仪表有限公司 Method and system for dynamically configuring menu of test instrument
CN111752666A (en) * 2020-06-30 2020-10-09 杭州海康威视数字技术股份有限公司 Window display method and 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

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106570077A (en) * 2016-10-17 2017-04-19 深圳市茁壮网络股份有限公司 Column editing method and column editing device
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
CN109783694A (en) * 2019-01-30 2019-05-21 清华大学 Cross-platform large-scale instrument shared information integrated approach and system based on XML
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
CN111752666A (en) * 2020-06-30 2020-10-09 杭州海康威视数字技术股份有限公司 Window display method and device and terminal
CN111752666B (en) * 2020-06-30 2023-05-30 杭州海康威视数字技术股份有限公司 Window display method, device and terminal

Also Published As

Publication number Publication date
CN103593188B (en) 2017-01-18

Similar Documents

Publication Publication Date Title
CN106528129B (en) A kind of Web application interface generation system and method
CN110007917B (en) Visual page generation and browsing method based on browser
JP4827834B2 (en) Method and apparatus for modifying process control data
CN106293664A (en) Code generating method and device
CN104360859B (en) A kind of visual service development method and system
EP3423957A1 (en) Improved construction of database schema models for database systems and rest api's
JP2000148461A (en) Software model and existing source code synchronizing method and device
CN106648587A (en) Annotation-based Web application code generation method
CN106469140A (en) A kind of report generating system and its method
CN103593188A (en) System and method for managing what-you-see-is-what-you-get menus of instrument
CN105426394A (en) Mobile report generation method and system based on cross-platform
CN110297636A (en) A kind of automatic production of HTML page and parameter management method based on page configuration file, system and device
CN103914290A (en) Operating command processing method and device
CN103927185A (en) Network topology modeling device based on energy management and guiding method thereof
CN101146281A (en) A GUI creation model for mobile terminal
CN108446327A (en) Operation system dynamic creation method, device, computer equipment and storage medium
CN106250134B (en) The code automatic generation method of single language
CN108388623A (en) ER relationships generation method, device, computer equipment and storage medium
CN111353235A (en) Component port modeling method based on model drive and terminal
CN103810292A (en) Method and device for configuring graphical interface
CN104063231B (en) Test resource rapid access method based on HIT-TENA
CN112651711A (en) System for building collaborative design management platform based on XDB (X data base) file under BS (browser/server) architecture
CN114117645B (en) Ship overall performance forecasting integrated application system
CN110889013B (en) Data association method, device, server and storage medium based on XML
CN112100984A (en) Data conversion method and system from EBOM to SBOM

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

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

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

Granted publication date: 20170118

Termination date: 20201114

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