CN105242925B - Polymorphic Module Integration Interface - Google Patents

Polymorphic Module Integration Interface Download PDF

Info

Publication number
CN105242925B
CN105242925B CN201510635945.5A CN201510635945A CN105242925B CN 105242925 B CN105242925 B CN 105242925B CN 201510635945 A CN201510635945 A CN 201510635945A CN 105242925 B CN105242925 B CN 105242925B
Authority
CN
China
Prior art keywords
module
class
information
calling
polymorphic
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.)
Active
Application number
CN201510635945.5A
Other languages
Chinese (zh)
Other versions
CN105242925A (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 integration of calling and calling methods of a polymorphic module and module management, wherein the calling and calling method integration of the polymorphic module is a system code part and is used for managing the calling method of the module, selecting the calling method of the module and storing final result information, and an XM (extensible messaging and markup language) file is used for managing the information of a specified module and comprises the calling information, input and output information and version information.

Description

Polymorphic module integrated interface
Technical field
The present invention relates to the field of software repeated usage more particularly to a kind of polymorphic module integrated interfaces.
Background technology
Polymorphic module integrated interface is the key technology in integrated prototype system project.The characteristics of project is by more A research and development unit shared development task, and module is developed in unified development environment, can increase software development Difficulty, or even respective modules can not be developed.It is the personnel of the design of main frame and the integrated work of module for responsible work For, because the development cycle of the system is limited, the time of Development of Framework and Development of Module is carried out at the same time, while mould The development result of block cannot be expected, cannot wait until to carry out the exploitation of frame again after the completion of Development of Module, so continuing to want A scheme is done, makes development progress unaffected.
Invention content
The present invention proposes a kind of polymorphic module integrated interface.The purpose of the Interface design is right in solution actual items The integrated and polymorphic module integration specification of polymorphic module formulates problem.
Configuration module integrated interface and polymorphic Development of Module specification are proposed for the exploitation demand of finished item, it The thought for having used software repeated usage improves the development efficiency of the software.The development environment that the present invention uses is Visual 2012 C# environment of studio is developed.
It is changeable with few allergic effect that the structure design of the present invention, which is mainly in view of the modularized design of software and exploitation, to the greatest extent may be used The few product as much as possible that puts into production of energy meets various requirement in method the most economic.Polymorphic module integrated interface It is to be directed to different development environments, the module developed is integrated together, and the exploitation of software is completed.Use software repeated usage It thought and is designed towards object factory pattern, shortens the development cycle of software, improve the development efficiency and software matter of software Amount.
A kind of polymorphic module integrated interface of the present invention, including:The calling of polymorphic module and call method it is integrated, Module management,
The calling of wherein polymorphic module and the integrated of call method are system code parts, are used for the calling of management module Method, selecting module call method and preservation final result information;
Module management uses an XML file, to specifying the information of module to be managed, including it is recalls information, defeated Enter output information, version information.
Specifically structure is:Module call flow controls class(Ctrl_Class), for the letter to module information and calling The factory class of the encapsulation of breath(ModelMsg_Class), as a result preserve class(Save_Class)It is used for preserving module information with one XML(message.xml).Ctrl_Class is used to control whole process, including reads and specify module in message.xml Corresponding information calls the module and preserves result to database, further includes the feedback of error message.ModelMsg _Class There is respective modules Information encapsulation method in class, it can parse the module to be called and encapsulate its recalls information.In addition, also wrapping The development specifications of module is included, which is that the development environment of exploitation unit and the integration environment of main frame is combined to be formulated, and is wrapped The format of block module, recalls information management when module is called, I/O management, the constraint of development environment version are basic with some Software development specification etc..
The module I D marks that this control class of Ctrl_Class first can will be called, are sent to ModelMsg_Class; Then ModelMsg_Class parses the information of the module by built-in method, returns to Ctrl_Class classes, Ctrl_ The call method that Class selects the module according to module information carries out module calling;Finally, after the business of module has executed, Save_Class is called, some is carried out and protects stored input and encapsulation, then pass back to and carry out result in Ctrl_Class classes Preservation.
The beneficial effects of the invention are as follows:The development idea for having developed and used software repeated usage of polymorphic module integrated interface, The development process of the exploitation of main frame and module is detached, is not influenced between each other so that the exploitation of main frame need not wait It waits for being designed again after the completion of Development of Module, shortens the development cycle, improve the development efficiency of software;Use object-oriented Factory mode is managed module call method, without individually writing a call method to the calling of each module again, carries The high reusability of code, while when being safeguarded to module call method code, becoming very convenient, improve software can Maintainability;Polymorphic Development of Module norm-setting is very important, it determines that can module be integrated into main frame, it is out The unit of main frame and the constraint that Development of Module unit is common are sent out, is conducive to the quality for improving software development, reduces software development Conflict among process improves the efficiency of software development, while this specification further comprises the integrated approach and mould of software module Suitable environment when block is developed, reference is provided for later exploitation.
Description of the drawings
Fig. 1 is that polymorphic module interface executes flow diagram.
Specific implementation mode
With reference to the accompanying drawings, polymorphic module interface illustrated with the relationship between involved class to present disclosure It realizes.
As described in invention content, the invention mainly comprises:The calling of polymorphic module and the collection of call method At(1), module management(2), polymorphic Development of Module specification formulation(3).
Polymorphic module interface design structure includes:The calling and the integrated of call method, module management of polymorphic module, The calling of wherein polymorphic module and the integrated of call method are system code parts, call method, choosing for management module It selects module call method and preserves final result information;Module management uses an XML file, to specifying the information of module It is managed, including recalls information, input/output information, version information etc..
Environment used in the present invention is that WPF is developed and implemented under 2012 .Net environment of Visual studio.
When specified polymorphic module is called, polymorphic module integrated interface will be started and be called.Such as Fig. 1 institutes Show, the module I D marks that this control class of Ctrl_Class first can will be called are sent to ModelMsg_Class;Then ModelMsg_Class parses the information of the module by built-in method, returns to Ctrl_Class classes, Ctrl_Class The call method that the module is selected according to module information carries out module calling;Finally, it after the business of module has executed, calls Save_Class carries out some and protects stored input and encapsulation, then passes back to the guarantor for carrying out result in Ctrl_Class classes It deposits.

Claims (1)

1. polymorphic module integrated interface, including:The calling and the integrated of call method, module management of polymorphic module,
The calling of wherein polymorphic module and the integrated of call method are system code parts, are used for the called side of management module Method, selecting module call method and preservation final result information;
Module management uses an XML file, to specify module information be managed, including recalls information, input it is defeated Go out information, version information;
Concrete structure is:
Module call flow controls class Ctrl_Class, the factory class of the encapsulation for the information to module information and calling As a result ModelMsg_Class preserves class Save_Class and an XML for being used for preserving module information;
Ctrl_Class is called for controlling whole process, including the specified module corresponding information in message.xml of reading The module and preservation result further include the feedback of error message to database;There is respective modules letter in ModelMsg _ Class classes Packaging method is ceased, it can parse the module to be called and encapsulate its recalls information;It is characterized in that, Ctrl_Class first The module I D marks that this control class can will be called, are sent to ModelMsg_Class;Then ModelMsg_Class passes through Built-in method parses the information of the module, returns to Ctrl_Class classes, and Ctrl_Class is selected according to module information The call method of the module carries out module calling;Finally, after the business of module has executed, Save_Class is called, is carried out Stored input and encapsulation are protected, the preservation for carrying out result in Ctrl_Class classes is then passed back to.
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 CN105242925A (en) 2016-01-13
CN105242925B true 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)

Families Citing this family (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 (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7174555B2 (en) * 2002-07-08 2007-02-06 Sbc Properties, L.P. Methods and systems for verifying EMS compliance via NMS interface

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
嵌入式实时软件的构件化开发技术研究;古幼鹏;《中国优秀博硕士学位论文全文数据库 (博士) 信息科技辑》;20051115;3.1、3.2.1、4.3.5.3 *

Also Published As

Publication number Publication date
CN105242925A (en) 2016-01-13

Similar Documents

Publication Publication Date Title
CN106528129B (en) A kind of Web application interface generation system and method
CN103500087B (en) A kind of based on maven plug-in unit and the code generating method of freemarker template and device
CN105446740A (en) MVVM (Model-View-View Model) architecture based Web front-end presentation system
CN102495735A (en) Web end UI (user interface) component application frame system
CN103116508B (en) A kind of general-purpose interface of SAP system and its implementation
WO2019047441A1 (en) Communication optimization method and system
CN106648662A (en) Engineering cost calculation description language BCL-based report generation device and generation method
CN103218751A (en) Technological prescription document processing system of semiconductor equipment based on extensive markup language (XML)
CN104331315B (en) A kind of parsing of arbitrary levels json objects and generation method and system
CN105893591B (en) A kind of data sharing service intelligent arranging method
CN104750475B (en) A kind of satellite is in-orbit to reconstruct frame system and method
CN103927777B (en) Organization and control method of three-dimensional animation process based on Mealy finite state automatas
CN105528708A (en) Long-range clothing design system and method
CN103116503A (en) Implement method and implement device of multiple windows
CN108897551A (en) A kind of generation method and device of quoting resource relational tree
CN105242925B (en) Polymorphic Module Integration Interface
CN112307396A (en) Platform architecture based on multi-engine data modeling calculation analysis and processing method thereof
CN106599015A (en) Data service management system and method
CN102752332B (en) A kind of service activation method and device
CN102508673B (en) The system and method for fast Development and configuration platform class software
CN107515863A (en) The method and system that a kind of SDN clusters based on distributed data base are realized
CN107168700A (en) Foundational development framework based on the SQL SELECT full-automatic list WEB background management systems driven
CN101076027B (en) Method and system for transporting data between MIME accessory and corresponding database
CN101847142A (en) Web page development method based on data sheet mould encapsulation
CN106407319B (en) Product information methods of exhibiting and device

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