CN105242925A - Polymorphic Module Integration Interface - Google Patents
Polymorphic Module Integration Interface Download PDFInfo
- Publication number
- CN105242925A CN105242925A CN201510635945.5A CN201510635945A CN105242925A CN 105242925 A CN105242925 A CN 105242925A CN 201510635945 A CN201510635945 A CN 201510635945A CN 105242925 A CN105242925 A CN 105242925A
- Authority
- CN
- China
- Prior art keywords
- module
- class
- information
- polymorphic
- call
- 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
Links
- 230000010354 integration Effects 0.000 title claims abstract description 17
- 238000000034 method Methods 0.000 claims abstract description 34
- 238000005538 encapsulation Methods 0.000 claims description 7
- 239000007795 chemical reaction product Substances 0.000 claims description 3
- 238000004321 preservation Methods 0.000 claims description 3
- 230000009286 beneficial effect Effects 0.000 abstract description 2
- 238000011161 development Methods 0.000 description 23
- 238000013461 design Methods 0.000 description 6
- 238000010276 construction Methods 0.000 description 3
- 230000000172 allergic effect Effects 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000009472 formulation Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 239000000047 product Substances 0.000 description 1
- 238000012827 research and development Methods 0.000 description 1
Landscapes
- Stored Programmes (AREA)
Abstract
The invention provides a polymorphic module integrated interface, which relates to the technical field of software multiplexing and comprises the calling of polymorphic modules, the integration of calling methods and module management, wherein the calling of the polymorphic modules and the integration of the calling methods are system code parts and are used for managing the calling methods of the modules, selecting the calling methods of the modules and storing final result information; the module management uses an XML file to manage the information of the designated module, including calling information, input and output information and version information. The invention is beneficial to improving the quality of software development, reducing conflicts in the software development process and improving the efficiency of software development.
Description
Technical field
The present invention relates to the field of software repeated usage, particularly relate to a kind of polymorphic module integration interface.
Background technology
Polymorphic module integration interface is the gordian technique in integrated prototype system project.The feature of this project is by multiple research and development units shared development task, and module is developed at unified development environment, can increase the difficulty of software development, even cannot develop respective modules.For the personnel that the work be responsible for is the design of main frame and the integrated work of module, because the construction cycle of this system is limited, the time of Development of Framework and Development of Module carries out simultaneously, the development result of module cannot be expected simultaneously, the exploitation carrying out framework after Development of Module completes again can not be waited until, so continue to do a scheme, make development progress unaffected.
Summary of the invention
The present invention proposes a kind of polymorphic module integration interface.The object of this Interface design solves to polymorphic module integration in actual items, and polymorphic module integration norm-setting problem.
Configuration module integrated interface and polymorphic Development of Module specification are in order to the development requirement of finished item proposed, and it use the thought of software repeated usage, improve the development efficiency of this software.The development environment that the present invention uses is that Visualstudio2012C# environment is developed.
Structural design of the present invention mainly considers that the modular design of software and exploitation are changeable with few allergic effect, with the least possible product as much as possible that puts into production, meets various requirement with method the most economic.Polymorphic module integration interface is for different development environment, and the module developed is integrated together, and completes the exploitation of software.The thought and the object-oriented factory mode that have employed software repeated usage design, and shorten the construction cycle of software, improve development efficiency and the software quality of software.
The polymorphic module integration interface of one of the present invention, comprising: polymorphic module call integrated, module management with call method,
Wherein polymorphic module to call with the integrated of call method be system code part, for administration module call method, select module call method and preserve end product information;
Module management uses an XML file, manages the information of designated module, comprises recalls information, input/output information, version information.
Concrete structure is: module call flow controls class (Ctrl_Class), for to module information and the factory class (ModelMsg_Class) of the encapsulation of information that calls, result preserves class (Save_Class) and one for preserving the XML(message.xml of module information).Ctrl_Class, for controlling whole process, comprises and reads designated module information corresponding in message.xml, calls this module and saving result to database, also comprises the feedback of error message.Have respective modules Information encapsulation method in ModelMsg_Class class, it can be resolved the module that will call and encapsulate its recalls information.In addition, also comprise the development specifications of module, this specification is that the combination exploitation development environment of unit and the integration environment of main frame are formulated, the form of enclosed mass module, recalls information management when module is called, I/O management, the constraint of development environment version and some basic software development specifications etc.
First the module I D that this control class of Ctrl_Class can will be called identifies, and sends to ModelMsg_Class; Then ModelMsg_Class parses the information of this module by built-in method, returns to Ctrl_Class class, and Ctrl_Class carries out module according to the call method that module information selects this module and calls; Finally, after the business of module executes, call Save_Class, carry out some and protect stored input and encapsulation, then pass back to the preservation carrying out result in Ctrl_Class class.
The invention has the beneficial effects as follows: polymorphic module integration interface developed the development idea of software repeated usage, the exploitation of main frame is separated with the performance history of module, do not affect each other, the exploitation of primary frame need not be waited for, and Development of Module designs after completing again, shorten the construction cycle, improve the development efficiency of software; Use OO factory mode, module call method is managed, a call method need not be write separately to calling of each module again, improve the reusability of code, simultaneously when safeguarding module call method code, becoming very convenient, improve the maintainability of software; Polymorphic Development of Module norm-setting is very important, which determine module and can be integrated into main frame, it is the common constraint of the exploitation unit of main frame and Development of Module unit, be conducive to the quality improving software development, reduce the conflict among software development process, improve the efficiency of software development, suitable environment when simultaneously this specification further comprises integrated approach and the Development of Module of software module, for later exploitation provides reference.
Accompanying drawing explanation
Fig. 1 is that polymorphic module interface performs schematic flow sheet.
Embodiment
With reference to the accompanying drawings, content of the present invention is illustrated to the realization of polymorphic module interface with the relation between involved class.
As described in summary of the invention, the present invention mainly comprises: polymorphic module call the formulation (3) with integrated (1) of call method, module management (2), polymorphic Development of Module specification.
Polymorphic module interface project organization comprises: polymorphic module call integrated, module management with call method, wherein polymorphic module to call with the integrated of call method be system code part, for administration module call method, select module call method and preserve end product information; Module management uses an XML file, manages the information of designated module, comprises recalls information, input/output information, version information etc.
Environment used in the present invention is that under Visualstudio2012.Net environment, WPF develops and implements.
When specifying polymorphic module to be called, polymorphic module integration interface will be started and call.As shown in Figure 1, the module I D that first this control class of Ctrl_Class can will be called identifies, and sends to ModelMsg_Class; Then ModelMsg_Class parses the information of this module by built-in method, returns to Ctrl_Class class, and Ctrl_Class carries out module according to the call method that module information selects this module and calls; Finally, after the business of module executes, call Save_Class, carry out some and protect stored input and encapsulation, then pass back to the preservation carrying out result in Ctrl_Class class.
Claims (3)
1. polymorphic module integration interface, is characterized in that, comprising: polymorphic module call integrated, module management with call method,
Wherein polymorphic module to call with the integrated of call method be system code part, for administration module call method, select module call method and preserve end product information;
Module management uses an XML file, manages the information of designated module, comprises recalls information, input/output information, version information.
2. polymorphic module integration interface according to claim 1, it is characterized in that, concrete structure is:
Module call flow controls class Ctrl_Class, and for module information and the factory class ModelMsg_Class of the encapsulation of information that calls, result preserves class Save_Class and for preserving the XML of module information;
Ctrl_Class, for controlling whole process, comprises and reads designated module information corresponding in message.xml, calls this module and saving result to database, also comprises the feedback of error message; Have respective modules Information encapsulation method in ModelMsg_Class class, it can be resolved the module that will call and encapsulate its recalls information.
3. polymorphic module integration interface according to claim 2, is characterized in that, the module I D that first this control class of Ctrl_Class can will be called identifies, and sends to ModelMsg_Class; Then ModelMsg_Class parses the information of this module by built-in method, returns to Ctrl_Class class, and Ctrl_Class carries out module according to the call method that module information selects this module and calls; Finally, after the business of module executes, call Save_Class, carry out some and protect stored input and encapsulation, then pass back to the preservation carrying out result in Ctrl_Class class.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510635945.5A CN105242925B (en) | 2015-09-30 | 2015-09-30 | Polymorphic Module Integration Interface |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510635945.5A CN105242925B (en) | 2015-09-30 | 2015-09-30 | Polymorphic Module Integration Interface |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105242925A true CN105242925A (en) | 2016-01-13 |
CN105242925B CN105242925B (en) | 2018-09-21 |
Family
ID=55040584
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510635945.5A Active CN105242925B (en) | 2015-09-30 | 2015-09-30 | Polymorphic Module Integration Interface |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105242925B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107592359A (en) * | 2017-09-19 | 2018-01-16 | 郑州云海信息技术有限公司 | A kind of service end response method, device and medium based on RPC agreements |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040005038A1 (en) * | 2002-07-08 | 2004-01-08 | Garbanati Linda Jean Freede | Methods and systems for verifying EMS compliance via NMS interface |
CN101339500A (en) * | 2008-05-22 | 2009-01-07 | 清华大学 | Data binding application program interface creation method based on XML mode |
CN102722368A (en) * | 2012-05-21 | 2012-10-10 | 北京广利核系统工程有限公司 | Plug-in software designing method based on document tree and message pump |
-
2015
- 2015-09-30 CN CN201510635945.5A patent/CN105242925B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040005038A1 (en) * | 2002-07-08 | 2004-01-08 | Garbanati Linda Jean Freede | Methods and systems for verifying EMS compliance via NMS interface |
CN101339500A (en) * | 2008-05-22 | 2009-01-07 | 清华大学 | Data binding application program interface creation method based on XML mode |
CN102722368A (en) * | 2012-05-21 | 2012-10-10 | 北京广利核系统工程有限公司 | Plug-in software designing method based on document tree and message pump |
Non-Patent Citations (1)
Title |
---|
古幼鹏: "嵌入式实时软件的构件化开发技术研究", 《中国优秀博硕士学位论文全文数据库 (博士) 信息科技辑》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107592359A (en) * | 2017-09-19 | 2018-01-16 | 郑州云海信息技术有限公司 | A kind of service end response method, device and medium based on RPC agreements |
Also Published As
Publication number | Publication date |
---|---|
CN105242925B (en) | 2018-09-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2019047441A1 (en) | Communication optimization method and system | |
CN104571026B (en) | Whole process metallurgy manufacturing execution system construction platform and construction method | |
CN106528070B (en) | A kind of data table generating method and equipment | |
CN103092980A (en) | Method and system of data automatic conversion and storage | |
CN101464810A (en) | Service program processing method and server | |
CN103116508B (en) | A kind of general-purpose interface of SAP system and its implementation | |
CN111240645B (en) | PaaS-based heterogeneous software integration method and system | |
CN102184489A (en) | Knowledge-based workflow management system | |
CN112307396B (en) | Platform architecture based on multi-engine data modeling calculation analysis and processing method thereof | |
CN102081656A (en) | Data acquisition and distribution system of cross-platform heterogeneous database | |
CN101562606A (en) | Open type data calling system and method | |
CN107632817A (en) | A kind of Mobile solution efficient iterative Spark frameworks | |
CN109063122A (en) | A kind of information synchronization method, related system and the equipment of ERP system and MES system | |
CN103679388A (en) | Production scheduling method and system | |
CN101604240A (en) | A kind of design method of purchase-sell-stock management system based on MVC | |
CN108255596A (en) | A kind of method and system for performing timed task | |
CN105242925A (en) | Polymorphic Module Integration Interface | |
CN107515863A (en) | The method and system that a kind of SDN clusters based on distributed data base are realized | |
WO2013104242A1 (en) | Distributing device design and model selection system and method | |
CN108875017A (en) | A kind of massive data synchronization system and method based on Sqoop technology | |
CN102207980A (en) | Data exchange method based on extensive makeup language (XML) and database (DB), and data adapter | |
CN103036668B (en) | Configuration and synchronization method between a kind of rack-mount unit card based on order line | |
CN105653334B (en) | MIS system rapid development framework based on SAAS mode | |
CN107315686A (en) | A kind of operation method of automatic test | |
CN103777998B (en) | A kind of efficient call method of built-up pattern component |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |