CN1866204A - Software assembly architecture - Google Patents
Software assembly architecture Download PDFInfo
- Publication number
- CN1866204A CN1866204A CN 200610001320 CN200610001320A CN1866204A CN 1866204 A CN1866204 A CN 1866204A CN 200610001320 CN200610001320 CN 200610001320 CN 200610001320 A CN200610001320 A CN 200610001320A CN 1866204 A CN1866204 A CN 1866204A
- Authority
- CN
- China
- Prior art keywords
- assembly
- inlet
- interface
- module
- component
- 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
Landscapes
- Stored Programmes (AREA)
Abstract
The related software assembly frame comprises: the function assembly, the business assembly, an entry module to be used by all devices to access assemblies, a configuration file connected to the enter module to record all assembly information, and the application program. This scheme frees to OS, has well expandability, and convenient to learn and apply.
Description
Technical field
The present invention relates to software technology field, relate in particular to a kind of software assembly architecture.
Background technology
Along with the continuous development of IT technology, people have proposed higher demand to the function of software, performance, security etc., cause the scale of software and complexity to increase, and have brought difficulty and challenge also for the exploitation of software.
At this situation, people have proposed various technology and scheme.As Object-oriented Technique, component technology, component technology, middleware Technology, SOA technology etc.Various technology all have its implementation, then have as the scheme of Object-oriented Technique: C++, Java, C# etc.; Component technology has COM, JavaBean etc.
Component technology wherein be a kind of use technology very widely, it is by decomposing software with component softwareization, thereby reduces the complexity of software.
COM is exactly a kind of component technology of current proposition.It has defined a series of standard interface, and some abilities are provided respectively, has realized that some interface has just had corresponding ability.It records the information of assembly in the middle of the registration table of operating system, also some is packaged into API (application programming interfaces) with com component relevant operation and mechanism, is embedded among the operating system.The user just can move on the operating system of supporting COM as long as write out assembly according to the standard of COM.Can reduce by interface mechanism, even the coupling between the elimination com component, thereby reach software modularity, reduce the purpose of software complexity.
But, in above-mentioned COM scheme owing to used the too many thing relevant, as registration table, be embedded in the support storehouse of COM in the operating system etc. with operating system, so this technology depends on the support of operating system, can't be cross-platform, and mechanism is too complicated, uses easy inadequately.
Summary of the invention
The object of the present invention is to provide a kind of software assembly architecture, the function of each assembly provides in the mode of interface, visits each functional module and Service Component by inlet module, and the assembly scheme of this software can cross-platformly be used, and extensibility is strong.
The objective of the invention is to be achieved through the following technical solutions:
A kind of software assembly architecture comprises functional module, Service Component, inlet module, configuration file and application program; The function of described each assembly offers inlet module in the mode of interface, and each equipment is visited each assembly by inlet module; Described configuration file is connected with inlet module, and the information that is used to write down each assembly infeeds mouthful module and uses; Described application program is the inlet of whole procedure, and is mutual with inlet module.
Described functional module is a plurality of, does not take place each other directly alternately, realizes multiplexing on functional plane.
Described Service Component is that a plurality of functional modules are associated together, a kind of business that realization can be used by the user, and on service layer, realize multiplexing.
When described Service Component comprises the interface, outwards only provide the interface relevant with interface display.
For each functional module or Service Component are used in expansion, for described assembly increases corresponding interface, inside increases the corresponding information that will increase this interface correspondence.
A plurality of functional modules and/or Service Component are positioned in the module, a plurality of assembly inlets outwards are provided, the interface of respectively corresponding each assembly of each assembly inlet; Or an assembly inlet only is provided, and return a management interface by this assembly inlet, obtain the interface of each assembly again by management interface.
Described inlet module outwards provides the inlet of total each assembly of visit, is used for from configuration file securing component information, has to be used for from configuration file securing component information, has the assembly of searching, charging assembly, establishment assembly and/or unloading assembly.
Described configuration file is used to write down each functional module or Service Component information infeeds a mouthful module use.
The module information that writes down in the described configuration file comprises: the position of component identification, assembly, the inlet of access component.
Described application program is the inlet of whole procedure, and is only mutual with inlet module, and the inlet by inlet module obtains each component class interface, uses the function of each assembly again by class interface.
As seen from the above technical solution provided by the invention, the present invention provides the mode of each assembly function with interface, by inlet module visit all component, because this scheme and operating system independent can cross-platformly use; This scheme is passed through to increase corresponding interface and is realized the extension element function, and extensibility is strong, and this component architecture mechanism is simple, is easy to realization and study, uses.
Description of drawings
Fig. 1 is an embodiment of the present invention component architecture synoptic diagram.
Embodiment
Core concept of the present invention provides a kind of software assembly architecture, the function of the assembly mode with interface is provided, by inlet module visit all component, inlet module only need be obtained the position of configuration file, come out with concrete components apart, can cross-platformly use, mechanism is simple, be easy to realize and use that extensibility is strong.
The invention provides a kind of software assembly architecture, its a kind of embodiment as shown in Figure 1, this component architecture comprises functional module, Service Component, inlet module, configuration file and application program at least;
Described functional module is made up of the basic functions assembly, being used to realize basic functions, is example with the business of a kind of " calling ", and this business comprises " telephone directory ", " call record " and " calling " function, these just belong to basic function, can the composition function assembly.Do not exist between the functional module directly alternately, function ratio is more independent, and reusability is good;
Described Service Component is the assembly than the upper strata, is some functional modules are associated together, thereby realizes a kind of business that can be used by the user.For example, in last example, described functional module is organically combined, just can constitutes " calling " Service Component.Service Component generally will utilize functional module to realize its function, and just the function of calling function assembly realizes its business, and Service Component just is used to do the operations such as integration of encapsulation and information.
In Service Component, except the function of each functional module itself, Service Component also needs to utilize these functional modules to realize following function: as above routine, make a call, generate call record when calling out, the number the call record is saved in functions such as telephone directory from telephone directory, these all are to need to cooperate the function that could realize.
Separate between described each functional module, in Service Component, can be used, finish indirect interaction, functional module can be realized multiplexingly on functional plane like this, and that Service Component can be realized on service layer is multiplexing.Software is " calling " business if desired, then can directly use this Service Component to realize, if only need to use phonebook function, then the phonebook function assembly can be carried out multiplexingly, forms new Service Component by cooperating with other functional module.
Can comprise the interface in the Service Component, only need outwards provide the interface relevant with interface display this moment, owing to have the interface, built-in function can turn round automatically; Also can not comprise the interface, then need its function that provides all in the mode of interface to make each professional independent like this, make the logic of master routine very simple with extraneous mutual;
For each functional module or Service Component are used in expansion, can increase corresponding interface for described assembly, as increase the interface of a securing component information, relevant information by this interface securing component, the inlet that comprises component identification, assembly, in the windows system, show as the derivative function of dll, cooperate the application program that to read and write configuration file, can realize the automatic registration of assembly, that is, the information registering of assembly in configuration file, and is nullified, that is, the information of assembly is deleted from configuration file;
The corresponding relevant information that also can increase assembly as can increasing a component version information, and can obtain this information by " securing component information " interface, so just can provide convenience for the auto-update of assembly;
For ease of management, a plurality of compact packages can be positioned in the module.Can realize by dual mode:
1) in this module, provides a plurality of assembly inlets;
2) only provide an assembly entrance function, but return a management interface, obtain the interface of each assembly again by management interface by this inlet;
Described inlet module is the inlet of each assembly of visit, is used for from configuration file securing component information, has functions such as the assembly of searching, charging assembly, establishment assembly and unloading assembly; It outwards provides the inlet of total each assembly of visit, as long as caller imports a component identification into, this inlet module can find the module information of this component identification correspondence from configuration file, thereby know assembly path and assembly inlet, according to these information, can find and the charging assembly module that invocation component enters the mouth again, thereby create and obtain the functional interface of this assembly.
Described configuration file is used to write down the information of each assembly, infeeds mouthful module and uses, and wherein Ji Lu assembly relevant information includes but not limited to: the position of component identification, assembly, the i.e. inlet of assembly path, access component; In the windows system, if assembly is organized in the mode of dll, then this enters the mouth and is the derivative function of dll, and can obtain the class interface pointer of assembly by this function;
Described application program is the inlet of whole procedure, and is only mutual with inlet module, and the inlet by inlet module obtains each component class interface, use the function of each assembly again by class interface, general application program is only used the interface of Service Component,, only uses the service than higher level that is; Described application program generally only comprises interface portion, refers to the exe file in windows, only comprises the interface architecture part in the present embodiment.It obtains business function by making up each Service Component.
The principle of work of described component architecture is:
Business with " calling " is an example, realize by the call business assembly, application program is obtained the call business component interface by inlet module, and by calling this interface the interface of call business is joined in the interface architecture of application program, then this application program has just had the business function of " calling ".
To make a call by the telephone directory interface in " call business assembly " is example: the call business assembly obtains the interface of functional modules such as telephone directory, calling, call record by inlet module, call the telephone directory assembly function earlier and obtain telephone number, call the call component function again and make a call.
Described call business assembly can comprise following functional module: functional modules such as telephone directory assembly, call component, call record assembly, wherein the telephone directory assembly provides telephone directory assembly function interface, has to obtain the record sum, obtain function such as telephone number by index; Call component provides the call component functional interface, has by functions such as telephone number make a call; The call record assembly provides call record assembly function interface, has the interpolation call record, deletion call record, functions such as query call record.
By making up each functional module, Service Component is blended together the function in each functional module, makes between each functional module and can carry out indirect interaction, to realize more complicated function., except function, also have from telephone directory and make a call as the call business assembly with each functional module itself, can automatic metered call record during calling etc. function; And add after the interface that Service Component can have a style of one's own, and all functions portion within it realize that application program is as long as load Service Component and show, it has just had this business function, and need not be concerned about the concrete logical relation of this business function.
In sum, the present invention has set up a kind of software assembly architecture, the mode of each assembly function with interface is provided, by inlet module visit all component, because this scheme and operating system independent can cross-platformly use; This scheme is by increasing corresponding interface realization extension element function, and extensibility is strong, and this component architecture mechanism is simple, is easy to realize and the study use.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claim.
Claims (10)
1, a kind of software assembly architecture is characterized in that, comprises functional module, Service Component, inlet module, configuration file and application program; The function of described each assembly offers inlet module in the mode of interface, and each equipment is visited each assembly by inlet module; Described configuration file is connected with inlet module, and the information that is used to write down each assembly infeeds mouthful module and uses; Described application program is the inlet of whole procedure, and is mutual with inlet module.
2, a kind of software assembly architecture as claimed in claim 1 is characterized in that, described functional module is a plurality of, does not take place each other directly alternately, realizes multiplexing on functional plane.
3, a kind of software assembly architecture as claimed in claim 1 or 2 is characterized in that, described Service Component is that a plurality of functional modules are associated together, a kind of business that realization can be used by the user, and on service layer, realize multiplexing.
4, a kind of software assembly architecture as claimed in claim 1 is characterized in that, when described Service Component comprises the interface, outwards only provides the interface relevant with interface display.
5, a kind of software assembly architecture as claimed in claim 1 is characterized in that, for each functional module or Service Component are used in expansion, for described assembly increases corresponding interface, inside increases the corresponding information that will increase this interface correspondence.
6, a kind of software assembly architecture as claimed in claim 1 is characterized in that, a plurality of functional modules and/or Service Component are positioned in the module, and a plurality of assembly inlets outwards are provided, the interface of respectively corresponding each assembly of each assembly inlet; Or an assembly inlet only is provided, and return a management interface by this assembly inlet, obtain the interface of each assembly again by management interface.
7, a kind of software assembly architecture as claimed in claim 1, it is characterized in that, described inlet module outwards provides the inlet of total each assembly of visit, be used for from configuration file securing component information, have and be used for, have the assembly of searching, charging assembly, establishment assembly and/or unloading assembly from configuration file securing component information.
8, a kind of software assembly architecture as claimed in claim 1 is characterized in that, described configuration file is used to write down each functional module or Service Component information infeeds a mouthful module use.
9, a kind of software assembly architecture as claimed in claim 8 is characterized in that, the module information that writes down in the described configuration file comprises: the position of component identification, assembly, the inlet of access component.
10, a kind of software assembly architecture as claimed in claim 1, it is characterized in that described application program is the inlet of whole procedure, and is mutual with inlet module, inlet by inlet module obtains each component class interface, uses the function of each assembly again by class interface.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006100013204A CN100389386C (en) | 2006-01-17 | 2006-01-17 | Software assembly architecture |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006100013204A CN100389386C (en) | 2006-01-17 | 2006-01-17 | Software assembly architecture |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1866204A true CN1866204A (en) | 2006-11-22 |
CN100389386C CN100389386C (en) | 2008-05-21 |
Family
ID=37425232
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2006100013204A Expired - Fee Related CN100389386C (en) | 2006-01-17 | 2006-01-17 | Software assembly architecture |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100389386C (en) |
Cited By (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010139226A1 (en) * | 2009-05-31 | 2010-12-09 | 大连新中连软件集团有限公司 | Service component and application software development method and system based on the service component |
CN102854853A (en) * | 2012-08-13 | 2013-01-02 | 北京和利时系统工程有限公司 | Cross-platform lightweight distributed control system |
CN103036985A (en) * | 2012-12-14 | 2013-04-10 | 崔红保 | Method and device for resource download based on stream application |
CN101710279B (en) * | 2009-12-01 | 2013-07-31 | 中国建设银行股份有限公司 | Method and device for managing software module in IT system |
CN103748554A (en) * | 2011-07-21 | 2014-04-23 | 朗姆研究公司 | Data architecture and user interface for plasma processing related software applications |
CN104038796A (en) * | 2014-05-20 | 2014-09-10 | 江苏银河电子股份有限公司 | Intelligent set-top box-based component object model constructing method |
CN104202331A (en) * | 2014-09-15 | 2014-12-10 | 北京奇虎科技有限公司 | Client function generation method and device |
CN104572091A (en) * | 2014-12-25 | 2015-04-29 | 百度在线网络技术(北京)有限公司 | Application software realization method and device as well as computer equipment |
CN104731619A (en) * | 2015-03-26 | 2015-06-24 | 杭州初灵信息技术股份有限公司 | Method and system for loading C#application component in ICE |
CN104935561A (en) * | 2014-03-19 | 2015-09-23 | 国家电网公司 | Assembly data processing method and device thereof |
CN105893045A (en) * | 2016-03-31 | 2016-08-24 | 金电技术开发中心 | Service assembly loading method and device and service assembly running system |
CN107145353A (en) * | 2017-05-05 | 2017-09-08 | 武汉斗鱼网络科技有限公司 | Software frame and Design of Software Framework method |
CN104935561B (en) * | 2014-03-19 | 2018-06-01 | 国家电网公司 | A kind of module data treating method and apparatus |
CN108897610A (en) * | 2018-06-15 | 2018-11-27 | 上海陆家嘴国际金融资产交易市场股份有限公司 | Method for scheduling task, device, computer equipment and storage medium |
CN109587280A (en) * | 2019-01-21 | 2019-04-05 | 山东达创网络科技股份有限公司 | A kind of Business Process Management method and device |
CN109976853A (en) * | 2019-03-19 | 2019-07-05 | 西北工业大学 | A kind of software architecture of industrial robot modularization man-machine interactive system |
CN111459475A (en) * | 2020-03-30 | 2020-07-28 | 北京三快在线科技有限公司 | Interface calling method, interface docking configuration method, device, equipment and medium |
CN112068898A (en) * | 2020-09-01 | 2020-12-11 | 上海熙菱信息技术有限公司 | Configurable plug-in type service integration system and method |
CN112559027A (en) * | 2020-12-23 | 2021-03-26 | 平安银行股份有限公司 | Method, system, device and readable storage medium for creating and managing functional components |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103186374B (en) * | 2011-12-30 | 2016-06-01 | 鼎捷软件股份有限公司 | A kind of method that software system function divides and combines |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6405364B1 (en) * | 1999-08-31 | 2002-06-11 | Accenture Llp | Building techniques in a development architecture framework |
JP2005234814A (en) * | 2004-02-18 | 2005-09-02 | Fujitsu Ltd | Program, program construction method, storage medium, program construction system and terminal equipment |
-
2006
- 2006-01-17 CN CNB2006100013204A patent/CN100389386C/en not_active Expired - Fee Related
Cited By (27)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010139226A1 (en) * | 2009-05-31 | 2010-12-09 | 大连新中连软件集团有限公司 | Service component and application software development method and system based on the service component |
CN101593111B (en) * | 2009-05-31 | 2012-10-03 | 大连新中连软件集团有限公司 | Service component, method and system for developing application software based on service component |
CN101710279B (en) * | 2009-12-01 | 2013-07-31 | 中国建设银行股份有限公司 | Method and device for managing software module in IT system |
CN103748554A (en) * | 2011-07-21 | 2014-04-23 | 朗姆研究公司 | Data architecture and user interface for plasma processing related software applications |
CN103748554B (en) * | 2011-07-21 | 2017-05-10 | 朗姆研究公司 | Data architecture and user interface for plasma processing related software applications |
CN102854853A (en) * | 2012-08-13 | 2013-01-02 | 北京和利时系统工程有限公司 | Cross-platform lightweight distributed control system |
CN103036985A (en) * | 2012-12-14 | 2013-04-10 | 崔红保 | Method and device for resource download based on stream application |
CN103036985B (en) * | 2012-12-14 | 2015-11-18 | 崔红保 | A kind of resource downloading method based on stream application and device |
CN104935561A (en) * | 2014-03-19 | 2015-09-23 | 国家电网公司 | Assembly data processing method and device thereof |
CN104935561B (en) * | 2014-03-19 | 2018-06-01 | 国家电网公司 | A kind of module data treating method and apparatus |
CN104038796A (en) * | 2014-05-20 | 2014-09-10 | 江苏银河电子股份有限公司 | Intelligent set-top box-based component object model constructing method |
CN104202331A (en) * | 2014-09-15 | 2014-12-10 | 北京奇虎科技有限公司 | Client function generation method and device |
CN104202331B (en) * | 2014-09-15 | 2018-01-02 | 北京奇虎科技有限公司 | The generation method and device of client functionality |
CN104572091A (en) * | 2014-12-25 | 2015-04-29 | 百度在线网络技术(北京)有限公司 | Application software realization method and device as well as computer equipment |
CN104572091B (en) * | 2014-12-25 | 2017-11-03 | 百度在线网络技术(北京)有限公司 | Application software implementation method, device and computer equipment |
CN104731619A (en) * | 2015-03-26 | 2015-06-24 | 杭州初灵信息技术股份有限公司 | Method and system for loading C#application component in ICE |
CN105893045A (en) * | 2016-03-31 | 2016-08-24 | 金电技术开发中心 | Service assembly loading method and device and service assembly running system |
CN107145353A (en) * | 2017-05-05 | 2017-09-08 | 武汉斗鱼网络科技有限公司 | Software frame and Design of Software Framework method |
CN108897610A (en) * | 2018-06-15 | 2018-11-27 | 上海陆家嘴国际金融资产交易市场股份有限公司 | Method for scheduling task, device, computer equipment and storage medium |
CN108897610B (en) * | 2018-06-15 | 2024-04-12 | 北京兴盛公科技有限公司 | Task scheduling method, device, computer equipment and storage medium |
CN109587280A (en) * | 2019-01-21 | 2019-04-05 | 山东达创网络科技股份有限公司 | A kind of Business Process Management method and device |
CN109976853A (en) * | 2019-03-19 | 2019-07-05 | 西北工业大学 | A kind of software architecture of industrial robot modularization man-machine interactive system |
CN111459475A (en) * | 2020-03-30 | 2020-07-28 | 北京三快在线科技有限公司 | Interface calling method, interface docking configuration method, device, equipment and medium |
CN111459475B (en) * | 2020-03-30 | 2023-05-16 | 北京三快在线科技有限公司 | Interface calling method, interface docking configuration method, device, equipment and medium |
CN112068898A (en) * | 2020-09-01 | 2020-12-11 | 上海熙菱信息技术有限公司 | Configurable plug-in type service integration system and method |
CN112068898B (en) * | 2020-09-01 | 2024-04-19 | 上海熙菱信息技术有限公司 | Configurable plug-in service integration system and method |
CN112559027A (en) * | 2020-12-23 | 2021-03-26 | 平安银行股份有限公司 | Method, system, device and readable storage medium for creating and managing functional components |
Also Published As
Publication number | Publication date |
---|---|
CN100389386C (en) | 2008-05-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1866204A (en) | Software assembly architecture | |
CN100487649C (en) | Call method between chip | |
US6240422B1 (en) | Object to relational database mapping infrastructure in a customer care and billing system | |
BR0305401A (en) | Managed File System Filter Model and Architecture | |
CN100511132C (en) | Method and system for laying out and accessing modules of user interface | |
EP1634145A4 (en) | Promotion and demotion techniques to facilitate file property management between object systems | |
CN100346303C (en) | Class loading implementation method in Java operation system | |
CN1710535A (en) | GIS application system and development method thereof | |
CN106648638B (en) | A kind of optimization method and optimization system of the R.java file based on python | |
CN102681893B (en) | The cross-platform implementation method of executable program and mobile terminal | |
CN1270229C (en) | Method of realizing cross address space establishing construction member target based on dynamic core | |
US20020147971A1 (en) | Object-oriented class loading system and method | |
US20230342345A1 (en) | Database repairing method and electronic device | |
CN1339127A (en) | Data allocation for multiple applications on a microprocessor or DSP | |
CN106919391A (en) | Towards the embedded system of the customizable operating system component of smart mobile phone | |
CN1859356A (en) | Service processing device and service processing method | |
CN1889189A (en) | Partition-supporting flash storing memory device | |
CN1351299A (en) | Method and device for accessing database | |
Ostermann et al. | Independent Extensibility–an open challenge for AspectJ and Hyper/J | |
CN109284143B (en) | Dynamic loading method, device and application module plugging method | |
CN103186417B (en) | A kind of method of Service Management | |
CN102129377A (en) | File downloading method and system | |
CN1877522A (en) | Method for accomplishing embedded system based on function component | |
CN1725215A (en) | Data management system of mobile communication terminal | |
WO2000038397A1 (en) | System and method for adding services to computer telephone systems |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20080521 Termination date: 20180117 |