CN103777957A - Design method and system of model library with expandability - Google Patents
Design method and system of model library with expandability Download PDFInfo
- Publication number
- CN103777957A CN103777957A CN201410040425.5A CN201410040425A CN103777957A CN 103777957 A CN103777957 A CN 103777957A CN 201410040425 A CN201410040425 A CN 201410040425A CN 103777957 A CN103777957 A CN 103777957A
- Authority
- CN
- China
- Prior art keywords
- model
- management
- bank
- library
- configuration
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The invention discloses a design method of a model library with expandability. The method comprises steps as follows: a dynamic link library is generated, and a model management operation function is realized; and a file type of a model library management model is described, configuration components of the model library are defined so as to realize dynamitic model library management configuration. The invention further provides a design system of the model library with expandability. According to the method and the system, an XML (extensive markup language) text file is used for describing various model management modules capable of being loaded dynamically, so that the model library which can be configured dynamically and meets requirements is formed. The method and the system are suitable for separated development and maintenance of model management function modules. At the same time, the programming amount of the model library can be decreased, a foundation framework of the model library can be recycled, and dynamic loading and plug and play of components of different model management modules are realized. Adaptive modification work when a new model is added to the model library is reduced, and the reliability of the model library and the implementation working efficiency are improved.
Description
Technical field
The present invention relates to a kind of model bank method for designing and system.More specifically, relate to a kind of model bank method for designing and system thereof with extensibility.
Background technology
Order model base system general platform is one and is independent of that concrete application is classified to model and the software systems of maintenance support model generation, storage, inquiry, operation and analytical applications.The various models that gather together have logically formed model bank, and the module of various computing machines and program provide software support for system.Model bank is in fact a kind of computer system, and it is used to provide model and stores and expression pattern.In whole system, also need software systems, its Main Function is, with rational memory module, operations such as also having renewal is searched for, accesses, moves, synthesized to the various models in model bank.The software systems of function are exactly " model base management system " like this.Domestic consumer just can be convenient to use model base management system model is carried out to various management uses.People wish can similar database system management data administrative model like that easily.Model-base management system concept adapts to this needs and proposes.But model is more than data complexity, therefore at present the design and development of model-base management system or one have the work of suitable difficulty.Traditional model bank is made up of underlying database, model bank administration module, database interface etc., and implementation step is the kind of first determining model, and model is classified, and has completed after the exploitation of model, and all models are carried out to integrated uniting and adjustment.Traditional model bank implementation method exists major defect to be: model bank is generally only applicable to the particular model of specific field, in the time facing the problem of other application, must carry out larger modification to system again even needs again to develop, and starts anew to set up very complicated, the very time-consuming work beyond doubt of a model-base management system.The exploitation of model bank must be unified integrated, and can not expand after completing, and the adaptability revision workload that will carry out in the time having new model to add model bank is huge, and reliability and realize work efficiency be difficult to promote
Therefore, need to provide a kind of model bank method for designing and system thereof with extensibility, the demand expanding to meet model bank exploitation.
Summary of the invention
First technical matters that the present invention will solve is to provide a kind of model bank method for designing and system thereof with extensibility, to solve conventional model stock in poor expandability, and realizes ineffective problem.
For solving above-mentioned first technical matters, the present invention adopts following technical proposals:
A model bank method for designing with extensibility, is characterized in that, the method comprises the steps:
Generate dynamic link library, realize model management operating function;
The file type of descriptive model library management model, and the configuration in Definition Model storehouse composition, with implementation model library management dynamic-configuration;
According to the file type of the dynamic link library of described generation and described model bank administrative model, determine the model dynamic link library that needs dynamic load, to realize the resource transfer to dynamic link library.
Preferably, described model management is the basic management function of implementation model on the basis of C/C++ language.
Preferably, described basic management function comprises the interpolation, deletion, modification, the query manipulation that connect underlying database and model parameter.
Preferably, the file type of described Definition Model library management model further comprises
Adopt the fundamental type of XML file layout descriptive model library management model;
Add the descriptor of model by interface, after preserving, XML file is described in generation model storehouse.
Preferably, the configuration element of described model bank comprises: the type of model name, model description, model, the description of dynamic link library and main dialog box generate class title.
A model bank design system with extensibility, this system comprises
For generating the model management module of dynamic link library, to realize the basic management operating function to model;
Form and generate the model bank configuration describing module of respective profiles for the configuration in Definition Model storehouse, with the dynamic-configuration of implementation model library management;
Model bank basic framework module, configure for the dynamic link library and the model bank that generate according to model management module the model bank dynamic-configuration file that describing module generates, determine the model dynamic link library that needs dynamic load, to realize calling various resources in dynamic link library.
Preferably, described model management module is the basic management function of implementation model on the basis of C/C++ language, and it comprises the interpolation, deletion, modification, the query manipulation that connect underlying database and model parameter.
Preferably, described model bank configuration describing module adopts the base class of XML file layout descriptive model library management model, and model bank managerial personnel add the configuration descriptor to model by interface, and after preserving, XML file is described in generation model storehouse.
Preferably, the element of described configuration descriptor comprises: the description of model name, model description, dynamic link library and main dialog box generate class title.
Beneficial effect of the present invention is as follows:
The invention provides dynamically configurable, extendible model bank method for designing of one, by using XML text to describe the various model management modules that capable of dynamic loads, form model bank capable of dynamic configuration, that adapt with demand.Be applicable to the independent development and maintenance of model management functional module.The programming amount that can reduce model bank simultaneously, has realized the reusable of model bank basic framework, has realized dynamic load and the plug and play of different model management modular assemblies.Reduce the adaptability revision work that will carry out when new model adds model bank, improved the reliability of model bank and the work efficiency of realization.
Accompanying drawing explanation
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is described in further detail.
Fig. 1 illustrates a kind of service implementation method schematic diagram of model component.
Embodiment
In order to be illustrated more clearly in the present invention, below in conjunction with preferred embodiments and drawings, the present invention is described further.Parts similar in accompanying drawing represent with identical Reference numeral.It will be appreciated by those skilled in the art that specifically described content is illustrative and nonrestrictive below, should not limit the scope of the invention with this.
The invention discloses a kind of model bank method for designing with extensibility, the method comprises the steps: step 1: generate dynamic link library dll by model management module, realize the basic management operating function to every class model; Model management module is on the basis of C/C++ language, to have realized the basic management function of model, comprises the operation such as interpolation, deletion, modification, inquiry that connects underlying database and model parameter.For the main dialog box of demonstration of every kind of model, must correspondingly generate the class based on CFormView type; Function below must realizing in every seed category module:
CModelView: in model management module, main dialog box generates the class name of class
Complete the encapsulation of the laggard Mobile state chained library of above step.
Step 2: configure describing module by model bank, adopt the base class of XML file layout descriptive model library management model, with the dynamic-configuration of implementation model library management.
The configuration composition in model bank configuration describing module Definition Model storehouse, XML file is described in generation model storehouse.The element that configuration is described comprises: model name: the unique identification of model, and adopt ASCII character to represent, be no more than 32 characters; Model description: the supplemental instruction of model, adopt ASCII character to represent, be no more than 128 characters; The type of model: the explanation of types of models, adopt ASCII character to represent, be no more than 32 characters;
The description of dynamic link library: the title of the dynamic link library corresponding with model, adopt ASCII character to represent, be no more than 128 characters; Main dialog box generates class title: in the dynamic link library corresponding with model, main dialog box generates the class name of class.
Step 3: the dynamic link library dll generating with model management module, the model bank dynamic-configuration XML description document generating with model bank configuration describing module is input, determine the model dynamic link library that needs dynamic load by model bank basic framework module, to realize calling various resources in dynamic link library dll.Model bank basic framework module is on the basis of C/C++ language, to have realized the basic framework function of model bank, the basic interface and the menu option that comprise model bank management, the function of reading model storehouse configuration describing document, and the dll of model management module generation is called, main the demonstration of every kind of model dialog box is loaded into basic framework.
Also comprise a kind of model bank design system with extensibility, it is characterized in that: this system comprises: model management module, model bank configuration describing module and model bank basic framework module; Described by model management module generation dynamic link library dll, realize the basic management operating function to every class model; Configure describing module by model bank, adopt the base class of XML file layout descriptive model library management model, with the dynamic-configuration of implementation model library management; The dynamic link library dll generating with model management module, the model bank dynamic-configuration XML description document generating with model bank configuration describing module is input, determine the model management dynamic link library that needs dynamic load by model bank basic framework module, to realize the calling of various management functions in dynamic link library dll, the function of implementation model storehouse integrated management.Wherein said model management module is on the basis of C/C++ language, to realize the basic management function to every model I, and it comprises the interpolation, deletion, modification, the query manipulation that connect underlying database and model parameter.The configuration composition in described model bank configuration describing module Definition Model storehouse, model bank managerial personnel add the configuration descriptor to every model I successively by interface, and after preserving, XML file is described in the configuration of generation model storehouse.Model bank basic framework module, describe XML file capable of dynamic by the configuration of stress model storehouse and determine the types of models that model bank is managed, load the dll that comprises accordingly model management function simultaneously, all model management functions can be loaded into model basic framework, realize the integrated management to all models.
The present invention is by using XML text to describe the various model management modules that capable of dynamic loads, and forms model bank capable of dynamic configuration, that adapt with demand.Be applicable to the independent development and maintenance of model management functional module.The programming amount that can reduce model bank simultaneously, has realized the reusable of model bank basic framework, has realized dynamic load and the plug and play of different model management modular assemblies.Reduce the adaptability revision work that will carry out when new model adds model bank, improved the reliability of model bank and the work efficiency of realization.
Obviously; the above embodiment of the present invention is only for example of the present invention is clearly described; and be not the restriction to embodiments of the present invention; for those of ordinary skill in the field; can also make other changes in different forms on the basis of the above description; here cannot give all embodiments exhaustively, everyly belong to apparent variation or the still row in protection scope of the present invention of variation that technical scheme of the present invention extends out.
Claims (9)
1. a model bank method for designing with extensibility, is characterized in that, the method comprises the steps:
Generate dynamic link library, realize model management operating function;
The file type of descriptive model library management model, and the configuration in Definition Model storehouse composition, with implementation model library management dynamic-configuration;
According to the file type of the dynamic link library of described generation and described model bank administrative model, determine the model dynamic link library that needs dynamic load, to realize the resource transfer to dynamic link library.
2. the model bank method for designing with extensibility according to claim 1, is characterized in that: described model management is the basic management function of implementation model on the basis of C/C++ language.
3. the model bank method for designing with extensibility according to claim 2, is characterized in that: described basic management function comprises the interpolation, deletion, modification, the query manipulation that connect underlying database and model parameter.
4. the model bank method for designing with extensibility according to claim 1, is characterized in that:
The file type of described Definition Model library management model further comprises
Adopt the fundamental type of XML file layout descriptive model library management model;
Add the descriptor of model by interface, after preserving, XML file is described in generation model storehouse.
5. the model bank method for designing with extensibility according to claim 1, is characterized in that: the configuration element of described model bank comprises: the type of model name, model description, model, the description of dynamic link library and main dialog box generate class title.
6. a model bank design system with extensibility, is characterized in that: this system comprises
For generating the model management module of dynamic link library, to realize the basic management operating function to model;
Form and generate the model bank configuration describing module of respective profiles for the configuration in Definition Model storehouse, with the dynamic-configuration of implementation model library management;
Model bank basic framework module, configure for the dynamic link library and the model bank that generate according to model management module the model bank dynamic-configuration file that describing module generates, determine the model dynamic link library that needs dynamic load, to realize calling various resources in dynamic link library.
7. the model bank design system with extensibility according to claim 6, it is characterized in that: described model management module is the basic management function of implementation model on the basis of C/C++ language, it comprises the interpolation, deletion, modification, the query manipulation that connect underlying database and model parameter.
8. the model bank design system with extensibility according to claim 6, it is characterized in that: described model bank configuration describing module adopts the base class of XML file layout descriptive model library management model, model bank managerial personnel add the configuration descriptor to model by interface, and after preserving, XML file is described in generation model storehouse.
9. the model bank design system with extensibility according to claim 6, is characterized in that: the element of described configuration descriptor comprises: the description of model name, model description, dynamic link library and main dialog box generate class title.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410040425.5A CN103777957A (en) | 2014-01-27 | 2014-01-27 | Design method and system of model library with expandability |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410040425.5A CN103777957A (en) | 2014-01-27 | 2014-01-27 | Design method and system of model library with expandability |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103777957A true CN103777957A (en) | 2014-05-07 |
Family
ID=50570239
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410040425.5A Pending CN103777957A (en) | 2014-01-27 | 2014-01-27 | Design method and system of model library with expandability |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103777957A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106156186A (en) * | 2015-04-21 | 2016-11-23 | 阿里巴巴集团控股有限公司 | A kind of data model managing device, server and data processing method |
CN110688539A (en) * | 2019-09-30 | 2020-01-14 | 北京九章云极科技有限公司 | Model management system and method |
-
2014
- 2014-01-27 CN CN201410040425.5A patent/CN103777957A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106156186A (en) * | 2015-04-21 | 2016-11-23 | 阿里巴巴集团控股有限公司 | A kind of data model managing device, server and data processing method |
CN110688539A (en) * | 2019-09-30 | 2020-01-14 | 北京九章云极科技有限公司 | Model management system and method |
CN110688539B (en) * | 2019-09-30 | 2020-08-14 | 北京九章云极科技有限公司 | Model management system and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9043346B2 (en) | Method of providing data included in building information modeling data file, recording medium therefor, system using the method, and method of providing data using building information modeling server | |
CN104537069B (en) | A kind of document configuration and application system and its method | |
CN102033848B (en) | SOA-based three-dimensional design system integrating method and system | |
CN108269071A (en) | The method that buildings model is shared cloud platform and project management is carried out using platform | |
CN104571026A (en) | Platform and method for establishing whole-process metallurgical manufacturing execution system | |
US20150066977A1 (en) | Method and system for managing digital resources | |
CN106648587A (en) | Annotation-based Web application code generation method | |
CN103914307A (en) | Interactive-interface fast implementation method based on reusable library | |
CN105573774B (en) | Application Parameters management and configuration method | |
CN102722368B (en) | Plug-in software designing method based on document tree and message pump | |
CN102650995A (en) | Multi-dimensional data analyzing model generating system and method | |
CN102646040A (en) | Software generating method and device based on functional piece and functional piece tree | |
CN102221998A (en) | Method for extending EJB container in component running support platform | |
CN105468793A (en) | Automated management method for simulation model data | |
CN103577402A (en) | Task adding, modifying and management method and task management system | |
CN105278991A (en) | Construction method of cloud application deployment and configuration model | |
CN104063231A (en) | Test resource rapid access method based on HIT-TENA | |
CN107085641A (en) | A kind of quick positioning copper sheet void method in Allegro softwares | |
CN104572832A (en) | Requirement meta model construction method and device | |
CN103777957A (en) | Design method and system of model library with expandability | |
CN104063219A (en) | Form development method and system for WEB system | |
CN102314495A (en) | Method for maintaining database object | |
CN102779036B (en) | For the Software tool of automatic technology | |
CN103294480B (en) | Mesh row data transformations is the method for data list | |
CN104199675A (en) | System capable of quick system development based on database parameter utilization |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20140507 |