Plug-in software designing method based on document tree and message pump

A software design, plug-in technology, applied in the direction of program control devices, etc., can solve the problems of not satisfying the open-closed principle, no separation of document data, and inability to reflect, so as to improve scalability and maintainability, and simplify communication Speed, the effect of speeding up the speed of communication

Active Publication Date: 2012-10-10
CHINA TECHENERGY +1
View PDF1 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] 1. There are some advantages in adopting flat management documents, but it depends too much on specific classes, it is not easy to abstract a unified document interface, and the scalability is poor; for example, in the above example, the root node of a certain software is not Solution but Others, then a lot of software changes are required;
[0009] 2. Failure to separate document management from document data (such as name, description information), which violates the Single Responsibility Principle (SRP) of the software;
[0010] 3. For data with a hierarchical relationship (such as folders in the project and folders in the folders), it cannot be reflected in the data structure;
[0011] 4. This flat management is not convenient for files to be split when loading and merged when saving;
[0012] 5. The tree structure is less efficient when traversing locally
[0016] 1. Views are divided into two categories, which are managed by a unified platform (DefaultWorkbench). It is difficult to expand special views other than panel and document views, and does not meet the Open-Closed Principle (OCP);
[0017] 2. The framework and documents are glued together, which is not easy for software maintenance and expansion

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Plug-in software designing method based on document tree and message pump
  • Plug-in software designing method based on document tree and message pump
  • Plug-in software designing method based on document tree and message pump

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] What the disclosed method of the present invention establishes is an interactive software, adopts kernel-plug-in type development technology, based on the software architecture of MVC (model, view and control), innovatively uses technologies such as document tree, message pump and framework management , solving the design challenges of document management, inter-module communication, and view management.

[0042] In this solution, the software is divided into multiple plug-ins according to the functional modules. Each plug-in is divided into model layer, view layer, and control layer. Under normal circumstances, a plug-in includes one or more sub-function modules, and the data of each sub-function module The management part is extracted as the management document of the plugin.

[0043] The present invention processes the content in the management document in the form of a document tree, extracts the data management part of each plug-in sub-function module in the softwa...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a plug-in software designing method based on a document tree and a message pump. The method comprises the following steps of: splitting software into a plurality of plug-ins according to functions, wherein each plug-in corresponds to one or more functional modules and is divided into a model layer, a view layer and a control layer; and extracting data and documents in the model layers of all the plug-ins to form a management document with a tree structure. By the method, communication between the modules is quickened and simplified, and extensibility and maintainability of a system are improved. On the aspect of view management of the plug-ins, views are uniformly managed by adopting a framework container; and by the method, as long as the document data of a new plug-in are derived from the same base class, the document can be connected to the document tree, so that extension of the software functions is facilitated.

Description

technical field [0001] The invention relates to the field of computer software design, in particular to an enhanced management method for software reuse on a computer. Background technique [0002] With the industrialization of software, software reuse has evolved from a general-purpose class library to a domain-oriented application framework. The application framework emphasizes the reusability of software design and the scalability of the system, so as to shorten the development cycle of large-scale application software systems and improve the development quality. In the face of this development trend, a brand-new, open, and highly scalable architecture system is ready to emerge, that is, plug-in software design, which divides software by functional blocks. [0003] Interactive software usually adopts the layered approach of MVC (Model)-View (view)-Controller (controller) in software architecture design, and Event (event) causes Controller to change Model or View, or both...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/44
Inventor 余佳张智慧张浩王建忠张保乾齐敏冀建伟
Owner CHINA TECHENERGY
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products