CN101571801A - Service expansion system and method - Google Patents
Service expansion system and method Download PDFInfo
- Publication number
- CN101571801A CN101571801A CNA2008103013845A CN200810301384A CN101571801A CN 101571801 A CN101571801 A CN 101571801A CN A2008103013845 A CNA2008103013845 A CN A2008103013845A CN 200810301384 A CN200810301384 A CN 200810301384A CN 101571801 A CN101571801 A CN 101571801A
- Authority
- CN
- China
- Prior art keywords
- expansion
- business
- function methods
- expansion function
- module
- 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
Links
Images
Abstract
The invention discloses a service expansion method, which comprises the following steps: judging whether services of an application system required to be expanded exist in a client computer; if the services of the application system required to be expanded do not exist in the client computer, providing a compiling environment for a user to compile expansion function methods of the services required to be expanded, and linking the expansion function methods compiled by the user into dynamic library files; copying the dynamic library files under paths specified by the user; endowing the paths of the dynamic library files with variables specified by the user; establishing a rule of a model of expansion services; setting types of objects needing calling the expansion function methods in the application system; specifying the established expansion service model rule onto all the objects of the application system needing calling the expansion service methods; and executing the objects and calling the expansion function methods. In addition, the invention also provides a service expansion system.
Description
Technical field
The present invention relates to a kind of service expansion system and method.
Background technology
All systems for present use, when we need be to these system's what's news or the existing function of add-on system when (as the many functional methods that are used for operating Oracle be present in the oci.dll living document under the Oracle installation path), the solution that we use always is new program of exploitation, in program newly developed developed or the existing dynamic library file of operating system (as oci.dll) or the functional method of having packed include, test described program newly developed, dispose this program of developing in goal systems, in system, call the program of having developed then.
We can finish the what's new of system through above step, but the functional method or the existing functional method of operating system that need routine call newly developed to develop, so not only the mistake that may bring owing to the exploitation new procedures influences the normal operation of all systems, and when in a plurality of systems, needing to increase same function newly, increase Developmental Engineer's task greatly, when can not improving the software repeated usage rate, also caused waste of manpower resource.
Summary of the invention
In view of above content, be necessary to provide a kind of service expansion system, comprise client computer, this client computer comprises a plurality of application systems, each application system comprises a plurality of object objects, this client computer comprises professional expanding element, and this business expanding element comprises: judge module is used for judging whether client computer exists the business of the required expansion of described application system; Write module, be used for if there is not the business of the required expansion of described application system in client computer, provide one to write the expansion function methods that environment confession user writes the business of required expansion, the expansion function methods that also is used for the user is write is linked into dynamic library file; Replication module is used for described dynamic library file is copied under the specified path of user; Module is set, is used for the specified variable to the user is composed in the path of described dynamic library file; Creation module is used to create the rule of described model of activating business; The described module that is provided with also is used for being provided with the type that described application system needs to call the object object of described expansion function methods; Designated module, all that are used for the good model rule of activating business of set up is assigned to this application system need be called the object object of this method of activating business; And execution module, be used to carry out described object object and call described expansion function methods.
In addition, also be necessary to provide a kind of professional extended method, this method comprises the steps: to judge the business that whether has the required expansion of described application system in the client computer; If there is not the business of the required expansion of described application system in the client computer, provides one to write the expansion function methods that environment confession user writes the business of required expansion, and the expansion function methods that the user write is linked into dynamic library file; Described dynamic library file is copied under the specified path of user; The specified variable to the user is composed in the path of described dynamic library file; Create the rule of described model of activating business; The type of the object object that needs to call described expansion function methods in the described application system is set; All that the good model rule of activating business of set up are assigned to this application system need be called on the object object of this method of activating business; And carry out described object object and call described expansion function methods.
Compared to prior art, described service expansion system and method, the expansion function methods that can need call by modelling in application system, saved the manpower that new procedures that exploitation calls outside expansion function methods need expend, also avoided owing to exploitation and the error that test new procedures lock brings influence the normal operation of former application system, and realized the multiplexing of software.
Description of drawings
Fig. 1 is the hardware structure figure of service expansion system preferred embodiment of the present invention.
Fig. 2 is the functional block diagram of professional expanding element 3 among Fig. 1.
Fig. 3 is the operation process chart of the professional extended method preferred embodiment of the present invention.
Embodiment
As shown in Figure 1, be the hardware structure figure of service expansion system preferred embodiment of the present invention.This system comprises client computer 1, include a plurality of application systems 2 and professional expanding element 3 in this client computer 1, comprise a plurality of object object (not shown)s in each application system 2, the object object that this business expanding element 3 is used for that the needs of described a plurality of application systems 2 are activated business carries out the business expansion, the business of described expansion comprises the function that itself exists in the operating system of client computer 1, for example: restart computer function etc.This business also comprises 1 function that does not have of client computer, for example: if this application system is a product data management system, comprise a plurality of object objects in the described product data management system, described object object comprises: part, data collection etc., when this product data management system is created part, need additional list that is used to illustrate these part details, and this part details list does not exist in client computer 1, then needs to activate business for this part.In the present embodiment, activating business with an application system 2 is that example describes the present invention.
As shown in Figure 2, be the functional block diagram of professional expanding element 3 among Fig. 1.This system comprises: judge module 10, write module 12, replication module 14, module 16 be set, creation module 18, designated module 20, generation module 22 and execution module 24.
Write that module 12 is used for if there is not the business of the required expansion of object object that will carry out in the described application system 2 in client computer 1, provide one to write the expansion function methods that environment confession user writes the business of required expansion, and the expansion function methods that is used for the user is write is linked into dynamic library file.In the present embodiment, because the list of described part details is not in described client computer 1, the then described module 12 of writing provides one to write environment, writes the expansion function methods that needs to add this list for the user, and be linked into dynamic library file, as the AttachForm.dll file.
C:\dll\AttachForm.dll。If there is the business of described application system 2 required expansions in the client computer 1, then this replication module 14 is used for directly the dynamic library file of this expansion function methods of this client computer 1 is copied under the specified path of user.
The described module 16 that is provided with also is used to set the required parameter of importing into when calling outside expansion function methods, sets described parameter and comprises the type of setting described parameter and the source of parameter.Described parameter type comprises: single and a plurality of.This is provided with module 16 and also is used to be provided with the type that described application system 2 is called the object object of described expansion function methods.Particularly, this is provided with module 16 needs to select to trigger the described object object that needs expansion function methods in these application systems 2, the time point when described expansion function methods is called in the action type of object object and selection when selecting to call described expansion function methods.In the present embodiment, described object object comprises: part and data collection etc.The action type of described object object comprises: preservation, deletion and establishment etc.
Designated module 20 be used for the good model rule of activating business of set up is assigned to this application system 2 all need call the object object of this method of activating business.
As shown in Figure 3, be the operation process chart of the professional extended method preferred embodiment of the present invention.
Step S30, judge module 10 judge the business that whether has the required expansion of object object that described application system 2 will carry out in the client computer 1.In the present embodiment, with application system 2 is that product data management system is that example describes, the object object that this product data management system need be carried out is for creating a part, and when creating this part, need the business of expansion add-on parts details list, this judge module 10 judges whether there is this business in the client computer 1.
Step S32, if there is not the business of the required expansion of object object that will carry out in the described application system 2 in the client computer 1, writing module 12 provides to write the expansion function methods that environment confession user writes the business of required expansion, and the expansion function methods that the user write is linked into dynamic library file.In the present embodiment, because the list of described part details is not in described client computer 1, the then described module 12 of writing provides one to write environment, writes the expansion function methods that needs to add this list for the user, and be linked into dynamic library file, as the AttachForm.dll file.
Step S34, replication module 14 copies to described dynamic library file under the specified path of user, as:
C:\dll\AttachForm.dll。If there is the business of described application system 2 required expansions in the client computer 1, then this replication module 14 directly copies to the dynamic library file of this expansion function methods in this client computer 1 under the specified path of user.
Step S36, module 16 is set the specified variable to the user is composed in the path of described dynamic library file, this road is not through needing to add library name, as: C: dll, when calling described expansion function methods, read this variable and understand the path of described dynamic library file, thereby find described replication module 14 to copy to dynamic library file under this path.
Step S38, creation module 18 is created the model rule of the business of described expansion.This model rule be with described functional method be one to one, this model rule name must be identical with the title of expansion function methods, otherwise application system 2 can't find corresponding expansion function methods when calling.Because in the present embodiment, additional functional method does not exist in this described client computer 1, then the expansion type of this expansion function methods is outside expansion type.
Step S40, the described module 16 of being provided with is set the required parameter of importing into when calling outside expansion function methods, sets described parameter and comprises the type of setting described parameter and the source of parameter.Described parameter type comprises: single and a plurality of.
Step S42 is provided with module 16 type of calling the object object of described expansion function methods in the described application system 2 is set.Particularly, this is provided with the object object that module 16 needs to select to trigger in these application systems 2 described expansion function methods, the time point when described expansion function methods is called in the action type of object object and selection when selecting to call described expansion function methods.In the present embodiment, described object object comprises: part and data collection etc.The action type of described object object comprises: preservation, deletion and establishment etc.
Step S44, designated module 20 the good model rule of activating business of set up is assigned to this application system 2 all need call on the object object of this method of activating business.
Step S46, generation module 22 generates the description document of described expansion function methods, and this form of describing document is the xml form.This is described document and comprises: the method name of describing expansion function methods, parameter name, the information such as path of its library file of library file title at place, describe every details of the model rule of activating business of the correspondence of described expansion function methods in this application system 2, and describe the information such as object object of calling described expansion function methods.
Step S48, execution module 24 is carried out described object object and is called described expansion function methods.
It should be noted last that, above embodiment is only unrestricted in order to technical scheme of the present invention to be described, although the present invention is had been described in detail with reference to preferred embodiment, those of ordinary skill in the art is to be understood that, can make amendment or be equal to replacement technical scheme of the present invention, and not break away from the spirit and scope of technical solution of the present invention.
Claims (8)
1. a service expansion system comprises client computer, and this client computer comprises a plurality of application systems, each application system comprises a plurality of object objects, it is characterized in that this client computer also comprises professional expanding element, this business expanding element comprises:
Judge module is used for judging whether client computer exists the business of the required expansion of described application system;
Write module, be used for if there is not the business of the required expansion of described application system in client computer, provide one to write the expansion function methods that environment confession user writes the business of required expansion, the expansion function methods that also is used for the user is write is linked into dynamic library file;
Replication module is used for described dynamic library file is copied under the specified path of user;
Module is set, is used for the specified variable to the user is composed in the path of described dynamic library file;
Creation module is used to create the rule of described model of activating business;
The described module that is provided with also is used for being provided with the type that described application system needs to call the object object of described expansion function methods;
Designated module, all that are used for the good model rule of activating business of set up is assigned to this application system need be called the object object of this method of activating business; And
Execution module is used to carry out described object object and calls described expansion function methods.
2. service expansion system as claimed in claim 1 is characterized in that, the described module that is provided with also is used to set the required parameter of importing into when calling outside expansion function methods.
3. service expansion system as claimed in claim 1 is characterized in that, described professional expanding element also comprises: generation module is used to generate the description document of described expansion function methods.
4. service expansion system as claimed in claim 1 is characterized in that, the rule of the described model of activating business be with the method for described expanded function one to one, the title of this model rule of activating business is identical with the title of expansion function methods.
5. a professional extended method is characterized in that, this method comprises the steps:
Judge the business that whether has the required expansion of application system in the client computer;
If there is not the business of the required expansion of application system in the client computer, provides one to write the expansion function methods that environment confession user writes the business of required expansion, and the expansion function methods that the user write is linked into dynamic library file;
Described dynamic library file is copied under the specified path of user;
The specified variable to the user is composed in the path of described dynamic library file;
Create the rule of described model of activating business;
The type of the object object that needs to call described expansion function methods in the described application system is set;
All that the good model rule of activating business of set up are assigned to this application system need be called on the object object of this method of activating business; And
Carry out described object object and call described expansion function methods.
6. professional extended method as claimed in claim 5 is characterized in that, also comprises before the rule of the described model of activating business of step establishment: set the required parameter of importing into when calling outside expansion function methods.
7. professional extended method as claimed in claim 5 is characterized in that, also comprises before step is carried out described object object and called described expansion function methods: the description document that generates described expansion function methods.
8. professional extended method as claimed in claim 5 is characterized in that, the rule of the described model of activating business be with the method for described expanded function one to one, the title of this model rule of activating business is identical with the title of expansion function methods.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2008103013845A CN101571801A (en) | 2008-04-28 | 2008-04-28 | Service expansion system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2008103013845A CN101571801A (en) | 2008-04-28 | 2008-04-28 | Service expansion system and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101571801A true CN101571801A (en) | 2009-11-04 |
Family
ID=41231164
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNA2008103013845A Pending CN101571801A (en) | 2008-04-28 | 2008-04-28 | Service expansion system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101571801A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102402433A (en) * | 2010-09-30 | 2012-04-04 | 微软公司 | Model, operation and implementation separation |
CN103455337A (en) * | 2013-09-12 | 2013-12-18 | 四川长虹电器股份有限公司 | Method for using dynamic library under Android development environment |
CN103645928A (en) * | 2013-12-06 | 2014-03-19 | 浪潮(北京)电子信息产业有限公司 | Software function module processing method and system |
CN103971225A (en) * | 2014-05-07 | 2014-08-06 | 北京邮电大学 | Workflow dynamic expanding method and system |
CN112114778A (en) * | 2020-07-03 | 2020-12-22 | 上海金融期货信息技术有限公司 | Cross-platform dynamic library algorithm management system supporting horizontal extension |
-
2008
- 2008-04-28 CN CNA2008103013845A patent/CN101571801A/en active Pending
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102402433A (en) * | 2010-09-30 | 2012-04-04 | 微软公司 | Model, operation and implementation separation |
CN102402433B (en) * | 2010-09-30 | 2015-09-09 | 微软技术许可有限责任公司 | The separation of model, operation and realization |
CN103455337A (en) * | 2013-09-12 | 2013-12-18 | 四川长虹电器股份有限公司 | Method for using dynamic library under Android development environment |
CN103645928A (en) * | 2013-12-06 | 2014-03-19 | 浪潮(北京)电子信息产业有限公司 | Software function module processing method and system |
CN103971225A (en) * | 2014-05-07 | 2014-08-06 | 北京邮电大学 | Workflow dynamic expanding method and system |
CN112114778A (en) * | 2020-07-03 | 2020-12-22 | 上海金融期货信息技术有限公司 | Cross-platform dynamic library algorithm management system supporting horizontal extension |
CN112114778B (en) * | 2020-07-03 | 2024-04-02 | 上海金融期货信息技术有限公司 | Cross-platform dynamic library algorithm management system supporting horizontal expansion |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5007046B2 (en) | Maintaining component-based software products | |
US8996349B2 (en) | Synchronizing an abstract model and source code | |
US7926051B2 (en) | Automatic parallel non-dependent component deployment | |
CN1467632B (en) | Image-based software installation system and method | |
US20060020937A1 (en) | System and method for extraction and creation of application meta-information within a software application repository | |
JP2010521726A (en) | Method, system, and computer program for distributing customized software products | |
US8266588B2 (en) | Creating projects in a rational application developer workspace | |
CA2601937A1 (en) | Implementing data-compatibility-based version scheme | |
CN104484169A (en) | Android software user interface generating method and system and Android application system | |
CN108228170B (en) | Embedded software component customization assembling method | |
JP2010250378A (en) | Software development support apparatus, system, function extension method for software development support apparatus and program | |
CN101571801A (en) | Service expansion system and method | |
US20220350593A1 (en) | Adaptive hot reload for class changes | |
US20040177355A1 (en) | Build and install for software applications | |
EP2342635A1 (en) | Method and apparatus for updating a software image | |
Stevens | Connecting software build with maintaining consistency between models: towards sound, optimal, and flexible building from megamodels | |
JP2006520973A (en) | System and method for determining when an EJB compiler needs to be run | |
CN109558121A (en) | Development approach, device, equipment and the storage medium of interface drive program | |
CN100456238C (en) | Method and apparatus for realizing distributed object persistence and compiling unit | |
EP2250555A2 (en) | Dynamic intermediate language modification and replacement | |
CN109298883A (en) | A kind of automatically generate component file method and electronic equipment under teaching platform | |
US7389515B1 (en) | Application deflation system and method | |
Şavga et al. | Practical refactoring-based framework upgrade | |
CN111737964A (en) | Form dynamic processing method, equipment and medium | |
US20230359547A1 (en) | Targeted Testing for Modular Software Applications |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Open date: 20091104 |