CN105242925A - Polymorphic Module Integration Interface - Google Patents

Polymorphic Module Integration Interface Download PDF

Info

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
Application number
CN201510635945.5A
Other languages
Chinese (zh)
Other versions
CN105242925B (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.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information Industry Co Ltd
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 Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN201510635945.5A priority Critical patent/CN105242925B/en
Publication of CN105242925A publication Critical patent/CN105242925A/en
Application granted granted Critical
Publication of CN105242925B publication Critical patent/CN105242925B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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

Polymorphic module integration interface
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.
CN201510635945.5A 2015-09-30 2015-09-30 Polymorphic Module Integration Interface Active CN105242925B (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
Title
古幼鹏: "嵌入式实时软件的构件化开发技术研究", 《中国优秀博硕士学位论文全文数据库 (博士) 信息科技辑》 *

Cited By (1)

* Cited by examiner, † Cited by third party
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
CN103605498B (en) The multithreading of mono-thread tasks performs method and system
CN103092980A (en) Method and system of data automatic conversion and storage
CN101464810A (en) Service program processing method and server
CN106528070B (en) A kind of data table generating method and equipment
US8046373B2 (en) Structured parallel data intensive computing
CN103116508B (en) A kind of general-purpose interface of SAP system and its implementation
CN103679388B (en) Production scheduling method and production scheduling system
CN111240645B (en) PaaS-based heterogeneous software integration method and system
CN102081656A (en) Data acquisition and distribution system of cross-platform heterogeneous database
CN101562606A (en) Open type data calling system and method
CN102855173B (en) A kind of software performance testing method and device
CN107632817A (en) A kind of Mobile solution efficient iterative Spark frameworks
CN112307396B (en) Platform architecture based on multi-engine data modeling calculation analysis and processing method thereof
CN109063122A (en) A kind of information synchronization method, related system and the equipment of ERP system and MES 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
CN107092413A (en) A kind of visible controls corners processing method and system
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
CN102609562A (en) Type selection system and type selection method for distributing machine design
CN102207980A (en) Data exchange method based on extensive makeup language (XML) and database (DB), and data adapter
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