CN-121979525-A - Intelligent graphic user interface development system and method based on handle graph
Abstract
The invention discloses an intelligent graphic user interface development system and method based on a handle graph, and relates to the technical field of computer software development. The system solves the problems of confusion of object management, low development efficiency, lag of interaction response, unsafe data transmission, insufficient integration with engineering tools and the like in the traditional GUI development by constructing a hierarchical object management system, a dual-mode development engine, an intelligent callback and event processing mechanism, a multidimensional data interaction module and a simulation linkage module. The system comprises an object hierarchy management module, a dual-mode development module, an attribute intelligent configuration module, a callback and event management module, a data interaction module and a simulation linkage module, wherein the method realizes high-efficiency, flexible and extensible GUI development through hierarchical object construction, dual-mode development adaptation, attribute dynamic configuration, callback and event binding, data safety transmission and simulation deep integration.
Inventors
- GE DINGJIA
Assignees
- 上海精鲲计算机科技有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20260130
Claims (10)
- 1. The intelligent graphic user interface development system based on the handle graphic is characterized by comprising an object hierarchy management module, a processing module and a processing module, wherein the object hierarchy management module is used for constructing and maintaining a tree graphic object hierarchy structure taking a root object as a top layer; the attribute intelligent configuration module is used for managing the common attribute and the exclusive attribute of the graphic object; the callback and event intelligent processing module is used for uniformly managing the registration and the scheduling of the callback function; The multi-dimensional data interaction module is used for providing internal data interaction, cross-interface data interaction and an external system interaction mechanism; And the engineering simulation linkage module is used for realizing the deep integration of the GUI and the engineering simulation tool.
- 2. The system of claim 1, wherein the object hierarchy management module is configured to store the object hierarchy structure object including a root object and a child object, and wherein the handle intelligent search support multi-conditional combination query by object type, attribute value or parent-child relationship.
- 3. The handle graphic-based intelligent graphical user interface development system of claim 1, wherein in the dual mode development module, a code development engine provides a development interface and a code template library supporting function chaining calls to create objects.
- 4. The handle graphic-based intelligent graphical user interface development system according to claim 1, wherein the attribute intelligent configuration module, the adaptive configuration automatically adjusts window size according to screen resolution.
- 5. The handle graphic-based intelligent graphical user interface development system according to claim 1, wherein callback and event intelligent processing modules, callback binding modes comprise code string binding, function handle binding and function handle binding with parameters.
- 6. A development method of an intelligent graphic user interface based on handle graphics is characterized by comprising the following steps of S1, initializing a root object and obtaining screen parameters, creating a graphic window as a father object, creating a child object under the father object and registering object hierarchical relations, S2, selecting a code development and adaptation step or a visual development mode to create a GUI, realizing two-way compatibility of the two modes through a mode switching adapter, S3, loading object default attributes, executing self-adaption, batch and hierarchical inheritance configuration, checking attribute legitimacy and correcting errors, S4, writing callback and event binding functions, selecting a binding mode to bind to corresponding objects, registering interaction events and setting response priority, verifying callback and event functions, S5, selecting an interaction mechanism according to a data transmission range, executing data transmission and completing safety verification, updating control simulation control display, S6, loading and analyzing a simulation model, establishing a mapping of the simulation model and the parameters, controlling simulation model, and realizing real-time simulation result linkage of GUI and external simulation process.
- 7. The graphic-based intelligent graphic user interface development system according to claim 1, wherein in step S1, the sub-objects include coordinate axes, user controls, menus and tool bars, and the handle information is stored in an index library of the object hierarchy management module.
- 8. The handle graphic-based intelligent graphical user interface development system according to claim 6, wherein in step S2, the visual development mode includes drag layout, attribute panel configuration, and automatic generation of files, and the code development mode includes function call creation objects, writing callback logic, and code optimization.
- 9. The system of claim 6, wherein in step S5, internal data interaction uses a handle structure or an application data mechanism, cross-interface interaction uses a shared memory or an encrypted file mechanism, external system interaction uses a device communication or database interaction mechanism, data verification includes type verification, range verification and integrity verification, and failure of verification triggers an alarm and interrupts delivery.
- 10. The handle graphic-based intelligent graphical user interface development system according to claim 6, wherein in step S6, simulation model loading is implemented by simload functions, and parameter mapping establishes association of controls and model parameters through a module parameter mapping table.
Description
Intelligent graphic user interface development system and method based on handle graph Technical Field The invention relates to the technical field of computer software development, in particular to an intelligent graphical user interface development system and method based on handle graphics. Background The Graphic User Interface (GUI) is a core carrier for realizing man-machine interaction in the fields of engineering computation, data processing, industrial control and the like, and in the MATLAB environment, the GUI development relies on a handle graphic technology to realize interface functions by creating graphic objects, setting object attributes and binding event response functions. However, the existing MATLAB GUI development technology has the following key problems: The object management is disordered, namely a unified hierarchical management framework is lacking in graphic objects (root objects, windows, coordinate axes, controls and the like), father-son dependency relationships among the objects are fuzzy, and when an interface contains multiple types of controls (such as buttons, menus and sliding bars), object handles are difficult to track, so that the efficiency of later maintenance and function expansion is low. The development mode is split, traditional development is divided into two modes of 'pure M file writing' and 'GUIDE visual dragging', wherein the former mode needs to write a large number of code setting object attributes and callbacks manually, the threshold is high, the file generated by the latter mode has poor compatibility with a custom code, complex logic expansion is difficult to realize, the two modes cannot be switched seamlessly, and the code multiplexing rate is low. The attribute configuration is complicated, namely the attributes (such as position, color and interaction behavior) of the graphic objects are required to be set one by one through codes or tools, the batch configuration and dynamic adaptation capability (such as automatic window size adjustment according to screen resolution) are lacked, the influence of attribute modification on the subordinate objects is difficult to accurately control, and interface layout disorder is easy to occur. The interaction response is lagged, callback functions (such as button clicking and mouse moving event response) are scattered in different files, a unified registration and scheduling mechanism is lacked, function conflict or response delay easily occurs when multiple events are concurrent, the mouse and keyboard events are coarse in resolution, and complex interactions (such as combination keys and mouse wheel scaling) cannot be accurately identified. The data transmission risk is high, the data transmission between different controls and different GUI interfaces depends on global variables or simple file storage, the risk of data leakage and tampering exists, and the data transmission process lacks a checking mechanism, so that the problems of data loss or incompatible formats are easy to occur. In the scenes of industrial control, simulation verification and the like, the GUI needs to be linked with the engineering tools such as Simulink, a data acquisition card and the like, but the prior art needs to manually write a large amount of interface codes to realize data interaction, has complicated flow and poor instantaneity, and cannot meet the integrated requirement of interface-simulation-control in engineering application. Therefore, GUI development schemes with hierarchical object management, dual-mode compatible development, intelligent attribute configuration, efficient interactive response, secure data transfer, and deep engineering integration capabilities are needed to adapt to the requirements of engineering field for GUI development for high efficiency, flexibility, and reliability. Accordingly, one skilled in the art would be able to provide a system and method for developing an intelligent graphical user interface based on handle graphics that addresses the problems set forth in the background above. Disclosure of Invention The invention provides an intelligent graphic user interface development system based on handle graphics, which comprises an object hierarchy management module, an attribute intelligent configuration module, a callback and event intelligent processing module, a multidimensional data interaction module and an engineering simulation linkage module, wherein the object hierarchy management module is used for constructing and maintaining a tree-shaped graphic object hierarchy structure taking a root object as a top layer, the attribute intelligent configuration module is used for managing common attributes and exclusive attributes of graphic objects, the callback and event intelligent processing module is used for uniformly managing registration and scheduling of callback functions, the multidimensional data interaction module is used for providing internal data interaction, cross-interface da