CN105487850A - Fully automatic module integration system and method based on component factory - Google Patents

Fully automatic module integration system and method based on component factory Download PDF

Info

Publication number
CN105487850A
CN105487850A CN201510343696.2A CN201510343696A CN105487850A CN 105487850 A CN105487850 A CN 105487850A CN 201510343696 A CN201510343696 A CN 201510343696A CN 105487850 A CN105487850 A CN 105487850A
Authority
CN
China
Prior art keywords
assembly
interface
function
functional
execution
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
Application number
CN201510343696.2A
Other languages
Chinese (zh)
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.)
Harbin Antiy Technology Co Ltd
Original Assignee
Harbin Antiy Technology 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 Harbin Antiy Technology Co Ltd filed Critical Harbin Antiy Technology Co Ltd
Priority to CN201510343696.2A priority Critical patent/CN105487850A/en
Publication of CN105487850A publication Critical patent/CN105487850A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention provides a fully automatic module integration system and method based on a component factory. A software development idea is improved to a module management level; and conventional software is extracted in a mode of automatically regulating the software function via configuration. A mode of automatically regulating the software per se via configuration, i.e. the fully automatic module integration method is provided. The method comprises a series of configuration disposition work such as initialization and execution. Great obstacles brought to development by complicated interface definition and documents are avoided; meanwhile, the defect that whether a function interface is completely replaced or canceled cannot be effectively located is overcome; and the formation of effective product document management in the software issuing and updating flow process is realized.

Description

A kind of full-automatic module integration system and method based on factory of component
Technical field
The present invention relates to software module integration field, particularly relate to a kind of full-automatic module integration system and method based on factory of component.
Background technology
At present, modularization gos deep into each level of software programming already, but modularization is normally based upon on the basis of high cohesion, low coupling, each module has interfaces different separately, when software complexity acquires a certain degree, or during model change, complicated interface definition and document can become the considerable hurdle of research and development, simultaneously due to can not effective location functional module interface whether completely replaced or cancel, at software metric tools or more in new technological process, the effective management of product cannot be formed.
Summary of the invention
The present invention is directed to the defect that above-mentioned prior art exists, propose a kind of full-automatic module integration system and method based on factory of component, idea of software development is risen to module management layer, the mode of software function is regulated to extract by configuration robotization conventional software, a kind of a kind of mode being regulated software self by configuration robotization is proposed, i.e. full-automatic module integration method, comprises a series of configurableization disposing task such as initialization, execution.
Concrete summary of the invention comprises:
Based on a full-automatic module integration system for factory of component, comprising:
Auto-initiation unit, for
Extract all modules in configuration file in configuration management element;
By the fixing export interface of module, import assembly management unit object pointer into, make Module registers self to assembly management unit, become assembly to be used;
Each assembly pointer is obtained according to the assembly name in assembly management unit;
According to assembly pointer and functional interface name corresponding to each assembly, obtain the initialization function of each functional interface;
Perform each initialization function;
Configuration management element, for reading and writing, analysis configuration file content, and assembly name, the corresponding functional interface name of required executive module when comprising each functional realiey, and execution sequence;
Assembly management unit, for Management Unit and functional interface corresponding to assembly, its management comprises registration, unloading, inquires about;
Data Management Unit, for realizing data interaction in system implementation and data store;
Automatic load and execution unit, for according to the function that will realize, by the configuration file of configuration management element, extracts corresponding assembly and functional interface from Data Management Unit, performs corresponding assembly and functional interface according to execution sequence.
Further, described module uses unified export interface.
Further, described according to execution sequence execution corresponding assembly and functional interface, be specially: the assembly name according to corresponding assembly obtains corresponding assembly pointer, and obtain corresponding function interface pointer according to corresponding assembly pointer, obtain corresponding function interface and perform function, perform corresponding function interface and perform function.
Further, described execution corresponding function interface performs function, is also included in perform in corresponding function interface execution functional procedure to obtain necessary data from Data Management Unit, and at the end of execution, execution result is write Data Management Unit.
Further, described assembly all inherits component interface, and inherits unified functional interface, and all comprises initialization interface, executive's interface.
The invention allows for a kind of full-automatic module integration method based on factory of component, comprising:
Extract all modules in configuration file in configuration manager;
By the fixing export interface of module, import component manager pointer to object into, make Module registers self to component manager, become assembly to be used;
Each assembly pointer is obtained according to the assembly name in component manager;
According to assembly pointer and functional interface name corresponding to each assembly, obtain the initialization function of each functional interface;
Perform each initialization function;
Described configuration manager, for reading and writing, analysis configuration file content, and assembly name, the corresponding functional interface name of required executive module when comprising each functional realiey, and execution sequence;
Described component manager, for Management Unit and functional interface corresponding to assembly, its management comprises registration, unloading, inquires about;
The data interaction in database technique system implementation and data are utilized to store;
When there being functional realiey request, according to the function that will realize, by the configuration file of configuration manager, from database, extracting corresponding assembly and functional interface, performing corresponding assembly and functional interface according to execution sequence.
Further, described module uses unified export interface.
Further, described according to execution sequence execution corresponding assembly and functional interface, be specially: the assembly name according to corresponding assembly obtains corresponding assembly pointer, and obtain corresponding function interface pointer according to corresponding assembly pointer, obtain corresponding function interface and perform function, perform corresponding function interface and perform function.
Further, described execution corresponding function interface performs function, is also included in perform in corresponding function interface execution functional procedure to obtain necessary data from database, and by execution result write into Databasce at the end of execution.
Further, described assembly all inherits component interface, and inherits unified functional interface, and all comprises initialization interface, executive's interface.
The invention has the beneficial effects as follows:
The present invention by code development Idea, Promote to product module management level, be corresponding assembly by the product function module initialization realized by assembly, and safeguard, when needing when there being function to realize, by configuration file automatic acquisition for realizing assembly corresponding to this function and functional interface, and perform according to execution sequence, export interface has been unified in module initialization process, achieve module interactive maintenance, all component all inherits component interface, and inherit unified functional interface, achieve the robotization that the robotization of module integration and function perform, avoid the considerable hurdle that complicated interface defines and document brings to research and development, compensate for simultaneously can not effective location functional interface whether completely replaced or cancel deficiency, module information, module information, each functional realiey required component and functional interface, and the key message such as execution sequence is all kept in configuration file, by the same management of configuration manager, achieve at software metric tools and more form the management of effective product documentation in new technological process, the present invention also utilizes that database technology is rationally effective carries out interactive maintenance and storage to data.
Accompanying drawing explanation
In order to be illustrated more clearly in the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, the accompanying drawing that the following describes is only some embodiments recorded in the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the system construction drawing of a kind of full-automatic module integration based on factory of component of the present invention;
Fig. 2 is the method flow diagram of a kind of full-automatic module integration auto-initiation based on factory of component of the present invention;
Fig. 3 is the method flow diagram of a kind of automatic load and execution of full-automatic module integration based on factory of component of the present invention.
Embodiment
In order to make those skilled in the art person understand technical scheme in the embodiment of the present invention better, and enable above-mentioned purpose of the present invention, feature and advantage become apparent more, below in conjunction with accompanying drawing, technical scheme in the present invention is described in further detail.
The present invention gives a kind of system embodiment of the full-automatic module integration based on factory of component, as shown in Figure 1, comprising:
Auto-initiation unit 101, for
Extract all modules in configuration file in configuration management element 102;
By the fixing export interface of module, import assembly management unit 103 pointer to object into, make Module registers self to assembly management unit 103, become assembly to be used;
Each assembly pointer is obtained according to the assembly name in assembly management unit 103;
According to assembly pointer and functional interface name corresponding to each assembly, obtain the initialization function of each functional interface;
Perform each initialization function;
Configuration management element 102, for reading and writing, analysis configuration file content, and assembly name, the corresponding functional interface name of required executive module when comprising each functional realiey, and execution sequence;
Assembly management unit 103, for Management Unit and functional interface corresponding to assembly, its management comprises registration, unloading, inquires about;
Data Management Unit 104, for realizing data interaction in system implementation and data store;
Automatic load and execution unit 105, for according to the function that will realize, by the configuration file of configuration management element 102, extracts corresponding assembly and functional interface from Data Management Unit 104, performs corresponding assembly and functional interface according to execution sequence.
Preferably, described module uses unified export interface.
Preferably, described according to execution sequence execution corresponding assembly and functional interface, be specially: the assembly name according to corresponding assembly obtains corresponding assembly pointer, and obtain corresponding function interface pointer according to corresponding assembly pointer, obtain corresponding function interface and perform function, perform corresponding function interface and perform function.
Preferably, described execution corresponding function interface performs function, is also included in perform in corresponding function interface execution functional procedure to obtain necessary data from Data Management Unit, and at the end of execution, execution result is write Data Management Unit.
Preferably, described assembly all inherits component interface, and inherits unified functional interface, and all comprises initialization interface, executive's interface.
The invention allows for a kind of full-automatic module integration embodiment of the method based on factory of component, wherein auto-initiation method is as shown in Figure 2, and automatic load and execution method as shown in Figure 3, comprising:
S201: extract all modules in configuration file in configuration manager, as dll file;
S202: by the fixing export interface of module, import component manager pointer to object into, makes Module registers self to component manager, becomes assembly to be used;
S203: obtain each assembly pointer according to the assembly name in component manager;
S204: according to assembly pointer and functional interface name corresponding to each assembly, obtain the initialization function of each functional interface;
S205: perform each initialization function;
Described configuration manager, for reading and writing, analysis configuration file content, and assembly name, the corresponding functional interface name of required executive module when comprising each functional realiey, and execution sequence;
Described component manager, for Management Unit and functional interface corresponding to assembly, its management comprises registration, unloading, inquiry, registration management is used for component registration to component manager, unloading management is used for assembly and deletes from component manager, and searching and managing is used for from component manager object, inquiring about corresponding assembly by assembly name;
Utilize the data interaction in database technique system implementation and data to store, to Volume data storehouse, add Indexing Mechanism, and utilize pictorial representation to realize data statistics, to reach the object of facilitation management;
S301: when there being functional realiey request, according to the function that will realize, by the configuration file of configuration manager, extracts corresponding assembly and functional interface from database;
S302: perform corresponding assembly and functional interface according to execution sequence.
Preferably, described module uses unified export interface, realizes module automatically load with this.
Preferably, described according to execution sequence execution corresponding assembly and functional interface, be specially: the assembly name according to corresponding assembly obtains corresponding assembly pointer, and obtain corresponding function interface pointer according to corresponding assembly pointer, obtain corresponding function interface and perform function, perform corresponding function interface and perform function.
Preferably, described execution corresponding function interface performs function, is also included in perform in corresponding function interface execution functional procedure to obtain necessary data from database, and by execution result write into Databasce at the end of execution.
Preferably, described assembly all inherits component interface, realizes component interaction management, and inherit unified functional interface, realize automatic load and execution, and all comprise initialization interface, executive's interface, the accessory part interfaces such as query interface can also be increased according to actual conditions.
In this instructions, the embodiment of method adopts the mode of going forward one by one to describe, and for the embodiment of system, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.The present invention proposes a kind of full-automatic module integration system and method based on setting up factory, by code development Idea, Promote to product module management level, be corresponding assembly by the product function module initialization realized by assembly, and safeguard, when needing when there being function to realize, by configuration file automatic acquisition for realizing assembly corresponding to this function and functional interface, and perform according to execution sequence, export interface has been unified in module initialization process, achieve module interactive maintenance, all component all inherits component interface, and inherit unified functional interface, achieve the robotization that the robotization of module integration and function perform, avoid the considerable hurdle that complicated interface defines and document brings to research and development, compensate for simultaneously can not effective location functional interface whether completely replaced or cancel deficiency, module information, module information, each functional realiey required component and functional interface, and the key message such as execution sequence is all kept in configuration file, by the same management of configuration manager, achieve at software metric tools and more form the management of effective product documentation in new technological process, the present invention also utilizes that database technology is rationally effective carries out interactive maintenance and storage to data.
Although depict the present invention by embodiment, those of ordinary skill in the art know, the present invention has many distortion and change and do not depart from spirit of the present invention, and the claim appended by wishing comprises these distortion and change and do not depart from spirit of the present invention.

Claims (10)

1., based on a full-automatic module integration system for factory of component, it is characterized in that, comprising:
Auto-initiation unit, for
Extract all modules in configuration file in configuration management element;
By the fixing export interface of module, import assembly management unit object pointer into, make Module registers self to assembly management unit, become assembly to be used;
Each assembly pointer is obtained according to the assembly name in assembly management unit;
According to assembly pointer and functional interface name corresponding to each assembly, obtain the initialization function of each functional interface;
Perform each initialization function;
Configuration management element, for reading and writing, analysis configuration file content, and assembly name, the corresponding functional interface name of required executive module when comprising each functional realiey, and execution sequence;
Assembly management unit, for Management Unit and functional interface corresponding to assembly, its management comprises registration, unloading, inquires about;
Data Management Unit, for realizing data interaction in system implementation and data store;
Automatic load and execution unit, for according to the function that will realize, by the configuration file of configuration management element, extracts corresponding assembly and functional interface from Data Management Unit, performs corresponding assembly and functional interface according to execution sequence.
2. the system as claimed in claim 1, is characterized in that, described module uses unified export interface.
3. the system as claimed in claim 1, it is characterized in that, described according to execution sequence execution corresponding assembly and functional interface, be specially: the assembly name according to corresponding assembly obtains corresponding assembly pointer, and obtain corresponding function interface pointer according to corresponding assembly pointer, obtain corresponding function interface and perform function, perform corresponding function interface and perform function.
4. system as claimed in claim 3, it is characterized in that, described execution corresponding function interface performs function, is also included in perform in corresponding function interface execution functional procedure to obtain necessary data from Data Management Unit, and at the end of execution, execution result is write Data Management Unit.
5. the system as described in claim 1 or 3 or 4, it is characterized in that, described assembly all inherits component interface, and inherits unified functional interface, and all comprises initialization interface, executive's interface.
6., based on a full-automatic module integration method for factory of component, it is characterized in that, comprising:
Extract all modules in configuration file in configuration manager;
By the fixing export interface of module, import component manager pointer to object into, make Module registers self to component manager, become assembly to be used;
Each assembly pointer is obtained according to the assembly name in component manager;
According to assembly pointer and functional interface name corresponding to each assembly, obtain the initialization function of each functional interface;
Perform each initialization function;
Described configuration manager, for reading and writing, analysis configuration file content, and assembly name, the corresponding functional interface name of required executive module when comprising each functional realiey, and execution sequence;
Described component manager, for Management Unit and functional interface corresponding to assembly, its management comprises registration, unloading, inquires about;
The data interaction in database technique system implementation and data are utilized to store;
When there being functional realiey request, according to the function that will realize, by the configuration file of configuration manager, from database, extracting corresponding assembly and functional interface, performing corresponding assembly and functional interface according to execution sequence.
7. method as claimed in claim 6, is characterized in that, described module uses unified export interface.
8. method as claimed in claim 6, it is characterized in that, described according to execution sequence execution corresponding assembly and functional interface, be specially: the assembly name according to corresponding assembly obtains corresponding assembly pointer, and obtain corresponding function interface pointer according to corresponding assembly pointer, obtain corresponding function interface and perform function, perform corresponding function interface and perform function.
9. method as claimed in claim 8, it is characterized in that, described execution corresponding function interface performs function, is also included in perform in corresponding function interface execution functional procedure to obtain necessary data from database, and by execution result write into Databasce at the end of execution.
10. the method as described in claim 6 or 8 or 9, it is characterized in that, described assembly all inherits component interface, and inherits unified functional interface, and all comprises initialization interface, executive's interface.
CN201510343696.2A 2015-06-19 2015-06-19 Fully automatic module integration system and method based on component factory Pending CN105487850A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510343696.2A CN105487850A (en) 2015-06-19 2015-06-19 Fully automatic module integration system and method based on component factory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510343696.2A CN105487850A (en) 2015-06-19 2015-06-19 Fully automatic module integration system and method based on component factory

Publications (1)

Publication Number Publication Date
CN105487850A true CN105487850A (en) 2016-04-13

Family

ID=55674851

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510343696.2A Pending CN105487850A (en) 2015-06-19 2015-06-19 Fully automatic module integration system and method based on component factory

Country Status (1)

Country Link
CN (1) CN105487850A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108197232A (en) * 2017-12-28 2018-06-22 深圳市创梦天地科技股份有限公司 Content delivery method, server, storage medium and computer program
CN109471401A (en) * 2018-11-08 2019-03-15 金蝶软件(中国)有限公司 Data processing method and edge calculations data box
CN115829503A (en) * 2022-11-30 2023-03-21 中电金信软件有限公司 Project integration method, device and system, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1825280A (en) * 2006-03-31 2006-08-30 东北大学 Design software integrating method for gas turbine engine
CN1913524A (en) * 2005-08-11 2007-02-14 华为技术有限公司 Method of network management system interface consulation and its device
CN101840370A (en) * 2010-04-30 2010-09-22 南京德讯信息系统有限公司 Service state online detection method and system based on components
US20130282662A1 (en) * 2012-04-23 2013-10-24 Commvault Systems, Inc. Integrated snapshot interface for a data storage system
CN103645919A (en) * 2013-12-18 2014-03-19 用友软件股份有限公司 Method for extending functions of management information system through plugins
CN104536737A (en) * 2014-12-16 2015-04-22 深圳市金证科技股份有限公司 Program development framework based on assemblies

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1913524A (en) * 2005-08-11 2007-02-14 华为技术有限公司 Method of network management system interface consulation and its device
CN1825280A (en) * 2006-03-31 2006-08-30 东北大学 Design software integrating method for gas turbine engine
CN101840370A (en) * 2010-04-30 2010-09-22 南京德讯信息系统有限公司 Service state online detection method and system based on components
US20130282662A1 (en) * 2012-04-23 2013-10-24 Commvault Systems, Inc. Integrated snapshot interface for a data storage system
CN103645919A (en) * 2013-12-18 2014-03-19 用友软件股份有限公司 Method for extending functions of management information system through plugins
CN104536737A (en) * 2014-12-16 2015-04-22 深圳市金证科技股份有限公司 Program development framework based on assemblies

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108197232A (en) * 2017-12-28 2018-06-22 深圳市创梦天地科技股份有限公司 Content delivery method, server, storage medium and computer program
CN109471401A (en) * 2018-11-08 2019-03-15 金蝶软件(中国)有限公司 Data processing method and edge calculations data box
CN115829503A (en) * 2022-11-30 2023-03-21 中电金信软件有限公司 Project integration method, device and system, electronic equipment and storage medium
CN115829503B (en) * 2022-11-30 2024-04-09 中电金信软件有限公司 Project integration method, device, system, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN100429628C (en) Method for rebuilding directory structure and recovering data in NTFS volume
CN103377336A (en) Method and system for controlling computer system user rights
CN106648589B (en) System and method for online management and shared viewing of svn source code
CN102651007A (en) Method and device for managing database indexes
CN103489328A (en) Reverse car seeking method for intelligent parking lot
CN105487850A (en) Fully automatic module integration system and method based on component factory
CN112214417A (en) Function configuration method, device, equipment and storage medium
CN102521274A (en) Ibatis-based SQL script dynamic loading method
CN106021207A (en) A patent writing system and method
CN107145576B (en) Big data ETL scheduling system supporting visualization and process
CN106126279A (en) Automatically the method and system of interpolation BIM model race fileinfo
CN104462395A (en) Analyzing method for accessory vehicles
CN103778239A (en) Multi-database data management method and system
CN102521374A (en) Intelligent data aggregation method and intelligent data aggregation system based on relational online analytical processing
CN103744896A (en) Method and device for data processing
CN102262562A (en) Task processing method and system
CN104298761A (en) Implementation method for master data matching between heterogeneous software systems
CN103258047B (en) A kind of data organization method towards medicine enterprise Activity-Based Cost Control data warehouse
CN105426544B (en) Method and device for monitoring database state
CN104850947A (en) Gridded multi-service procedure unified management method and device
CN103870540A (en) Database based on structural design and analysis integration
CN108710546A (en) Data back up method and its data backup server
CN104123135A (en) Method and device for unifying background interfaces
CN103488712A (en) Automatized testing method and automatized testing system
CN101894024B (en) Model bank-based model element consistency ensuring method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160413

WD01 Invention patent application deemed withdrawn after publication