CN101980475B - Web service configuration management method and device - Google Patents

Web service configuration management method and device Download PDF

Info

Publication number
CN101980475B
CN101980475B CN2010105178534A CN201010517853A CN101980475B CN 101980475 B CN101980475 B CN 101980475B CN 2010105178534 A CN2010105178534 A CN 2010105178534A CN 201010517853 A CN201010517853 A CN 201010517853A CN 101980475 B CN101980475 B CN 101980475B
Authority
CN
China
Prior art keywords
web service
service
product
configuration data
list
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
CN2010105178534A
Other languages
Chinese (zh)
Other versions
CN101980475A (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.)
Beijing Zhigu Tech Co Ltd
Original Assignee
Beijing Star Net Ruijie Networks 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 Beijing Star Net Ruijie Networks Co Ltd filed Critical Beijing Star Net Ruijie Networks Co Ltd
Priority to CN2010105178534A priority Critical patent/CN101980475B/en
Publication of CN101980475A publication Critical patent/CN101980475A/en
Application granted granted Critical
Publication of CN101980475B publication Critical patent/CN101980475B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention provides a web service configuration management method and a web service configuration management device. The method comprises: acquiring product grade configuration data and customization grade configuration data, wherein the product grade configuration data comprise basic configuration data corresponding to the basic Web service function required by the products and the customization grade configuration data comprise configuration data corresponding to a customized Web service function; creating an initial to-be-released service list according to the product grade configuration data, and updating the initial to-be-released service list according to the customization grade configuration data to create the final to-be-released service list; and configuring the Web service function of the products according to to-be-released service list, and listing the successfully configured Web service in the released service list. The method and the device improve the efficiency of the development and regulation of the Web service functions of the products, reduce the maintenance cost of a plurality of client products and make management convenient.

Description

Web service configuring management method and device
Technical field
The present invention relates to the Web service technology, relate in particular to a kind of Web service configuring management method and device, belong to communication technical field.
Background technology
Along with wide application of information technology; Community organizations such as government, enterprise and school have disposed various information successively and have used; Because different information is used and is structured on the different soft and hard part platform, brought technical problem therefore for interconnecting between different application.In order to solve the problem that interconnects between the isomery application; Based on HTTP (Hyper Text Transfer Protocol; Be called for short HTTP) arise at the historic moment with the Web service standard of extend markup language open protocols such as (Extensible Markup Language, abbreviation XML).
For the supplier of software application product independently, the software application product of its exploitation all can provide certain Web service, so that carry out alternately with other products of this client.But for the customer; Because client's information technology (Information Technology; Abbreviation IT) environment is complicated and changeable; This will cause different clients to all differences of the demand of Web application product in Web service; Thereby brought many difficult problems to product vendor: for example, the scope of the Web service that different clients provide same product requirement and Web service the technical protocol standard that will satisfy all be different, What is more, and some client also requires product can support this client's proprietary protocol; Secondly, for same client, it also is constantly to change in the different phase of using product for the scope of the Web service that product provided and the demand of agreement support; Once more, required parameter, the success of execution and the data format that failure information is adopted are carried out in the Web service of product, for the client who is in different platform, also exist than big-difference.
Thereby for the real IT environment coupling operation that realizes Web application product and client; To satisfy the different demands of different clients to the Web application product; The supplier of Web application product then need be directed against the different residing different I T environment of customer demand, different client; Be the different adaptive product of different client development, even in each stage of product operation, also need be according to the different phase demand of client to product; Web service to product provided is adjusted, with more newly-generated new product version.And in the practical application, because the Web service number of protocols is numerous, exploitation Web service itself is not easy yet, thereby for a plurality of product versions that generate are safeguarded that the supplier of product then need provide more work and maintenance cost.How can improve the Web service development efficiency of product; Especially can improve the development efficiency that Web service is customized; And reduce maintenance cost, become the problem that current independent utility software vendor presses for solution many covers version of Web application product.
Summary of the invention
The present invention provides a kind of Web service configuring management method and device, and is at present lower to the customized development efficient of Web application product in order to solve, and to based on the too high problem of different clients' different editions maintenance cost.
For realizing above-mentioned purpose, the present invention provides a kind of Web service configuring management method, comprising:
Obtain product level configuration data and customization level configuration data; Said product level configuration packet is drawn together the basic Web service function corresponding basic configuration data required with product, and said customization level configuration packet is drawn together the configuration data corresponding with the Web service function of customization;
Generate corresponding service list initial to be released according to said product level configuration data;
Based on said customization level configuration data said initial service list to be released is upgraded, to generate final service list to be released;
Be configured according to the Web service function of said final service list to be released, and the Web service of configuration successful is listed in to the tabulation of issuing service said product.
For realizing above-mentioned purpose, the present invention also provides a kind of Web service configuration management device, comprising:
Data acquisition module; Be used to obtain product level configuration data and customization level configuration data; Said product level configuration packet is drawn together the basic Web service function corresponding basic configuration data required with product, and said customization level configuration packet is drawn together the configuration data corresponding with the Web service function of customization;
The initial list generation module is used for generating corresponding service list initial to be released according to the said product level configuration data that said data acquisition module gets access to;
Final tabulation generation module is used for according to the said customization level configuration data that said data acquisition module gets access to said initial service list to be released being upgraded, to generate final service list to be released;
The Web service configuration module, the said final service list to be released that is used for generating according to said tabulation generation module is configured the Web service function of said product, and the Web service of configuration successful is listed in to issuing service tabulation.
Web service configuring management method provided by the invention and device; Through the Web application product being carried out in the process of initial development; The basic function configuration data of product is separated management with customization level configuration data, thereby customize demand, when the Web service of Web application product is configured in the difference that is facing different clients; Only need be on the basis of product basic function configuration data; Customization level configuration data according to the client generates are adjusted product function, and need not to change the basic function configuration module part of product, thereby even if feasible difference customization demand corresponding to a plurality of clients; Product vendor also only needs on the basis of same basic version, product to be developed; Greatly improved the efficient of the Web service function of product being developed adjustment, reduced maintenance cost, be convenient to management a plurality of client's products.
Description of drawings
In order to be illustrated more clearly in the present invention or technical scheme of the prior art; To do one to the accompanying drawing of required use in embodiment or the description of the Prior Art below introduces simply; Obviously, the accompanying drawing in describing below is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work property, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the flow chart of Web service configuring management method embodiment one of the present invention;
Fig. 2 is the flow chart of Web service configuring management method embodiment two of the present invention;
Fig. 3 is the structural representation of Web service configuration management device embodiment one of the present invention;
Fig. 4 is the structural representation of Web service configuration management device embodiment two of the present invention.
Embodiment
For making the object of the invention, technical scheme and advantage clearer; To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention carried out clear, intactly description, obviously; Described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
Fig. 1 is the flow chart of Web service configuring management method embodiment one of the present invention, and as shown in Figure 1, present embodiment specifically comprises the steps:
Step 100; Obtain product level configuration data and customization level configuration data; Wherein product level configuration packet is drawn together the basic Web service function corresponding basic configuration data required with product, and customization level configuration packet is drawn together the configuration data corresponding with the Web service function of customization;
In the Web service configuring management method of the present invention, the mode that the configuration management of the Web service function that the Web application product is carried out adopts product level configuration data and customization level configuration data separating to manage.Particularly; In the present invention; Product vendor is divided into two big classifications to the configuration data that the Web application product is configured time institute's foundation: the first kind is the basic Web service function corresponding basic configuration data required with this Web application product, is called product level configuration data in the present invention; Second type is and the customization Web service functional requirement pairing customization configuration data of client to this Web application product, is called customization level configuration data in the present invention.
Wherein, product level configuration data are provided by product vendor, and in Products Development in earlier stage, product vendor generates this product level configuration data according to the required basic Web service functional development that possesses of this product; Customization level configuration data are then provided by the client; Because for the client of product demand side; Each client to the demand of the concrete Web service of Web application product with all differences; Thereby according to self different Web service demand to the Web application product, each client can generate corresponding different customization level configuration data in view of the above, and is sent in the Web service configuration management device of product vendor.In these customization level configuration data, the client can be defined in the new Web service function of increase in the product, perhaps a certain basic Web service function that product possessed is adjusted, even is specified the basic Web service function that possesses in the deletion product.And when product vendor develops the Web application product to a certain client, its Web service configuration management device will read out product level configuration data simultaneously and dispose data with this client's corresponding client customization level from configuration database.
Step 101 generates corresponding service list initial to be released according to product level configuration data;
Read product level configuration data and customization level and dispose after the data, Web service configuration management device can be in view of the above disposes the Web service function of Web application product accordingly.Particularly; Before being configured; Web service configuration management device at first will be according to the product level configuration data that read out; Make up the corresponding service list initial to be released of generation and product level configuration data, write down product vendor's all basic Web service functions that provide, that need configuring product in this initial service list to be released.
Step 102 is upgraded initial service list to be released based on customization level configuration data, to generate final service list to be released;
Further; Web service configuration management device upgrades the service list initial to be released that generates according to the customization level configuration data that read; Specifically refer to content according to customization level configuration data; The Web service of newly-increased appointment in initial service list to be released; The existing Web service of appointment is made amendment or deleted, thereby, generate the service list final to be released that disposes data simultaneously corresponding to product level configuration data and customization level based on renewal to initial service list to be released.This final service list to be released has write down the initial development phase of corresponding client at product, the initial demand of the Web service function that should possess this Web application product.
Step 103 is configured according to the Web service function of final service list to be released to product, and the Web service of configuration successful is listed in to the tabulation of issuing service.
According to the service list final to be released that generates, Web service configuration management device can be correspondingly be configured the Web service function of product, so that the Web application product after the configuration can possess the relevant Web service function.Particularly; In final service list to be released, possibly record a plurality of Web services; And after whenever in the Web application product, having disposed a Web service; Web service configuration management device is all listed the Web service of configuration successful in to the tabulation of issuing service, in the issuing service tabulation current Web service configuration situation of product is being carried out corresponding record.
The Web service configuring management method of present embodiment; Through the Web application product being carried out in the process of initial development; The basic function configuration data of product is separated management with customization level configuration data, thereby customize demand, when the Web service of Web application product is configured in the difference that is facing different clients; Only need be on the basis of product basic function configuration data; Customization level configuration data according to the client generates are adjusted product function, and need not to change the basic function configuration module part of product, thereby even if feasible difference customization demand corresponding to a plurality of clients; Product vendor also only needs on the basis of same basic version, product to be developed; Greatly improved the efficient of the Web service function of product being developed adjustment, reduced maintenance cost, be convenient to management a plurality of client's products.
Fig. 2 is the flow chart of Web service configuration management embodiment two of the present invention, and as shown in Figure 2, present embodiment specifically comprises the steps:
Step 200 is obtained product level configuration data and customization level configuration data;
Step 201 generates corresponding service list initial to be released according to product level configuration data;
Step 202 is upgraded initial service list to be released based on customization level configuration data, to generate final service list to be released;
The above-mentioned steps of present embodiment is carried out in the initial configuration stage of Web application product or when product moves for the first time; Specifically refer in the initial configuration stage of Web application product or after the first operation of product; Web service configuration management device in the product is with all product configuration files under automatic scan and the load operating environment; The customization level configuration data that comprise the product level configuration data of the basic Web service function that comprises the Web application product and comprise the personalized Web service function of customization, these configuration datas specifically can be XML file description mode or other textual description mode.In the present invention; Through the basic Web service function of product is separated management with customization level Web service function; Make client's customization content together to safeguard with product version; And need not the basic Web service functional configuration data of product are changed, reduced the management cost of branch's version.
After Web service configuration management device gets access to above-mentioned configuration data; At first generate initial service list to be released according to product level configuration data construct; The basic Web service of having write down the Web application product in this initial service list to be released is by product vendor is provided.On this basis, Web service configuration management device upgrades the service list initial to be released that generates based on the customization level configuration data that get access to, to generate final service list to be released.Particularly; Make up in the customization level configuration data that generate in demand according to the client; The client can revise the basic Web service function of the product that product vendor provided according to the needs of self: for example if having the unwanted Web service of a certain client in the basic Web service; In customization level configuration data, the client can specify this Web service is deleted; Perhaps, though disposed a certain Web service that the client needs in the basic Web service function, the concrete configuration mode of this Web service does not also meet requirement of client, and the client also can adjust the function of this Web service in customization level configuration data.In a word, after having generated this final service list to be released, what write down in this final service list to be released is client's function required, that be directed against the final Web service of this Web application product.
Step 203, according to each item Web service of writing down in the final service list to be released, each Web service Agent components, protocol processes assembly and logical mappings processing components that corresponding generation is corresponding respectively with each item Web service;
Generated after the final service list to be released, each item Web service of this final service list record to be released of Web service configuration management device basis is configured the Web service function of Web product.Particularly; The concrete mode of this configuration can for: Web service configuration management device is according to each item Web service of writing down in the final service list to be released; Correspondingly generate each functional unit corresponding with it respectively for each item Web service, each functional unit is used to carry out and respond the various Web service requests relevant with corresponding Web service.And in the present embodiment; The concrete structure generative process of Web service functional unit can for: Web service configuration management device through code generator, generate and the corresponding source program code of final service list to be released according to predefined template; After having generated source program code, Web service configuration management device calls compiler and produces predefined executable a plurality of target elements.
Particularly; In the present embodiment; To every Web service of writing down in the final service list to be released, Web service configuration management device all will generate three functional units of Web service Agent components, protocol processes assembly and logical mappings processing components accordingly for every Web service.Three types of functional units are carried out the dissimilar service function relevant with corresponding Web service separately; And in this enforcement; Web service configuration management device is through the form with functional unit; Different concrete functions to single Web service separate setting, are convenient to management and function renewal or upgrading to single Web service, have reduced the management maintenance cost to the single Web service of product simultaneously.
And in three types of functional units that generate, the types of functionality assembly all has the function that need carry out separately.Particularly; The Web service Agent components is the functional unit that directly is connected with client for being in the functional unit of ground floor in the process of carrying out the relevant Web service function, and the effect of this assembly is: receive the Web service request of the correspondence of client transmission; And check the legitimacy of this Web service request; And when checking the Web service request that receives legal, this Web service request is transmitted to and its corresponding protocols processing components, simultaneously; This Web service Agent components also is used for after this Web service request is complete, returns response message to the client of this Web service request of transmission.
The protocol processes assembly is the functional unit of the second layer, and the effect of this assembly is to carry out the function relevant with the protocol processes of corresponding Web service, specifically comprises security protocol processing and things protocol processes function.Wherein, Security protocol is handled and is mainly referred to the detection of level of security is carried out in the Web service request that receives; If it is other that the Web service corresponding with this protocol processes assembly is provided with particular level of security; The Web service request that only meets this level of security just can be called, and this protocol processes assembly then can detect the Web service request that receives and whether meet this level of security, the processing that whether should continue this Web service request with decision; The things protocol processes then mainly refers to for the Web service request that receives the foregone conclusion substance environment is provided.
The logical mappings processing components is the 3rd layer a functional unit, and the effect of this assembly is to carry out with the logical mappings of corresponding Web service handles relevant function, comprises that specifically invocation pattern is handled, data map is handled and the routine access processing capacity.Wherein, the invocation pattern processing capacity specifically comprises the function that the return value that is used to respond the Web service request is handled, and for example returns null value or exceptional value to client; And the data map processing capacity specifically comprises the function that the data of being called in the Web service request implementation are changed, for example to conversion of data form etc.; Present the access process function and then specifically refer in the implementation of Web service request, to the concrete logic function means of relevant appointment or the function that equipment calls.
Three functional units cooperatively interact; Overlap the corresponding Web service request of functional unit with complete with this; And in the present embodiment; Web service configuration management device is protocol processes function, logical mappings processing capacity with the purpose that the Web service agent functionality separates with the mode of different assemblies: the concrete function through to Web service carries out configured separate; Can be convenient to of the management of Web application product more, be convenient to support the dynamic need of client especially more each item Web service to single Web service.In the time of for example need adjusting the function of a certain Web service as if the client; Adjustment demand according to the client; The function that Web service configuration management device possibly only need be changed certain assembly corresponding with this Web service gets final product; And when the function of a certain Web service was upgraded, Web service configuration management device possibly only need be upgraded and this Web service corresponding protocols processing components or logical mappings processing components.
Step 204 is listed the Web service of configuration successful in to issuing service tabulation;
Generated the every cover functional unit corresponding with every Web service based on final service list to be released after, the Web service configuration management device Web service of configuration successful is listed in to issuing service tabulation, with the successful configuration of record Web service.Particularly; In final service list to be released, may record a plurality of Web services; Whenever after in the Web application product, having disposed a Web service; Web service configuration management device is all listed the Web service of configuration successful in to the tabulation of issuing service, in the issuing service tabulation current Web service configuration situation of product is being carried out corresponding record.At this moment, the client to this Web application product desired all Web services all dispose completion, in the practical application, the first version that the Web application product that this moment configuration is accomplished can provide for the client for product vendor.
Whether step 205 regularly detects customization level configuration data and revises in the running of product;
And in the running of product; If the client need adjust or change or when upgrading the Web service function of this Web application product; Because in the present invention; Web service configuration management device has carried out separating management to the basic Web service function of Web application product with customization level service function, thereby if need the Web service function of product is adjusted, the configuration data that the client only need serve relevant Web in customization level configuration data upgrades and gets final product.So for Web service configuration management device; In the present embodiment; In order to know in time whether the client upgrades customization level configuration data, Web service configuration management device needs termly whether each customization level configuration data to be taken place to revise to detect.
Step 206 is revised if detect customization level configuration data, then according to product level configuration data and amended customization level configuration data, generates corresponding service list to be released;
Step 207 compares service list to be released that generates and the current tabulation of issuing service, with generation service list to be changed;
If through detecting; Web service configuration management device knows that modification has taken place certain customization level configuration data; Web service configuration management device can be according to the amended customization level configuration data of product level configuration data and this; Regenerate corresponding service list to be released, this service list to be released is compared with the service list final to be released that generates in the initial configuration stage, and certain variation has taken place.Service list to be released that Web service configuration management device will generate this moment and the current tabulation of issuing service compare; And then can generate service list accordingly to be changed according to both differences, this is waited to change the Web service function that has write down this customization of client in the service list and disposes with respect to the difference between the current Web service function that has disposed of product.
Step 208, according to waiting that changing service list upgrades the Web service functional configuration of product, and the Web service after will upgrading is listed in to issuing service tabulation;
After generation was waited to change service list, Web service configuration management device can upgrade the Web service function of the current configuration of product based on waiting to change data recorded in the service list.Because for waiting to change service list, wherein the change to the Web service function of record comprises following three kinds of alter modes nothing but: newly-increased a certain Web service function, a certain Web service function of deletion or the function of the Web service of a certain appointment changed in current Web application product.Thereby correspondingly; For Web service configuration management device, also specifically comprise: the functional unit that the newly-increased functional unit corresponding with a certain Web service, deletion and a certain Web service are corresponding and adjusting with the corresponding functional unit of a certain Web service of appointment according to waiting to change the renewal that service list carries out the Web service function of the current configuration of product.
Particularly; If wait to change and write down the newly-increased option of Web service in the service list; Promptly specifying needs newly-increased a certain Web service; According to the newly-increased option of this Web service, Web service configuration management device will according to above-mentioned steps 203 in according to final service list to be released to the same method that the Web service function of product is configured, in the Web application product, make up generate with specify newly-increased Web service corresponding one overlap Web service Agent components, protocol processes assembly and logical mappings processing components; Concrete assembly generating mode is consistent with the describing mode in the above-mentioned steps 203, repeats no more at this.
And write down Web service deletion option in the service list if wait to change; Promptly specifying needs a certain Web service of deletion; According to this Web service deletion option; Web service configuration management device then will be correspondingly in the Web service function that has disposed, and Web service Agent components, protocol processes assembly and logical mappings processing components that will be corresponding with the Web service of this appointment be deleted, in the Web application product, to delete this Web service function of appointment fully.
And write down Web service adjustment option in the service list if wait to change; Promptly need adjust the concrete function of a certain Web service of having disposed; According to this Web service adjustment option; Web service configuration management device then will correspondingly upgrade Web service Agent components, protocol processes assembly or the logical mappings processing components corresponding with the Web service of appointment in the Web service function that has disposed.Particularly, based on the concrete configuration of waiting to change service list, this renewal operation can be carried out to three functional units, perhaps, this renewals operation can also only be directed against in three functional units one of them carry out.
Whether revise through in the running of product, detecting customization level configuration data termly; And after detecting modification; Compare with the current tabulation of issuing service, generate corresponding service list to be changed, and then according to waiting that changing service list upgrades the Web service functional configuration of product; In the present embodiment; Web service configuration management device can customize the level configuration according to the client easily dynamically, dynamically the Web service function of product is adjusted thereupon, thinks that the client provides second version, third edition basis or the N version of this Web application product.And Web service configuration management device is to this change of Web application product; Need not change original basic configuration file of product and program, only need on customization level configuration data, the Web service function to be changed accordingly, greatly reduce because the Web service change; And the modification of the entire product configuration data that brings; And this modification, stand alone software application product supplier's product maintenance cost belongs at present exactly, thereby the present invention has greatly reduced the maintenance cost to a plurality of client's products; Improve the efficient of the Web service function of product being developed adjustment, and be convenient to management.
Step 209 based on each audit log that each Web service Agent components produces, generates Web service and follows the tracks of tabulation, and follows the tracks of tabulation based on the Web service that generates the function corresponding assembly is carried out deletion action.
Further preferably; In the running of the Web of present embodiment application product; For every Web service function, in the implementation of every Web service, the Web service Agent components corresponding with this Web service also specifically calls implementation status with this Web service of track record.In the present embodiment promptly, the Web service Agent components can also be used for the running at product, the implementation status of relevant Web service is carried out record, to generate corresponding audit log.Can be directed against the relevant Web service function in this audit log, write down this Web service function by the source of the number of times of request call, each request, the time consuming time that each request is carried out, and to the information such as execution result of request.
According to each audit log information that writes down in each Web service Agent components; Web service configuration management device can be added up in the running that is informed in this Web application product; The invoked concrete condition of each Web service: be unit for example with fixing a period of time (week or one month); Statistics is in all Web services, and which Web service is maximum by the number of times of request call; Perhaps to each item Web service, to add up each Web service which in one day the most frequent by the number of times of request call time period; Or for all Web services, add up which Web service is performed in all Web service consuming time at most, response waits the most slowly.
Thereby according to these information that count; Web service configuration management device can generate in view of the above uses the Web service tracking tabulation of regulating to each item Web service function in the product; Follow the tracks of in the tabulation in this Web service; Web service configuration management device can be provided with minimum or on average carry out the Web service deletion option that the longest Web service consuming time deletes by request number of times to what be detected in the scheduled time slot; Perhaps can also be according to the execution result of each Web service, the Web deletion option that is provided for indicating Web service that execution result is always failed to delete.After having generated Web service tracking tabulation; Web service configuration management device is followed the tracks of tabulation according to this Web service that generates; To with the Web application product in specify the corresponding functional unit of Web service; Specifically refer to relevant Web service broker assembly, protocol processes assembly and logical mappings processing components are deleted; Thereby realized according to audit log,, guaranteed the better operation of each item Web service in the Web application the tracking processing that the Web service quality of product is carried out corresponding to each Web service.
The Web service configuring management method of present embodiment; Through the Web application product being carried out in the process of initial development; The basic function configuration data of product is separated management with customization level configuration data, thereby customize demand, when the Web service of Web application product is configured in the difference that is facing different clients; Only need be on the basis of product basic function configuration data; Customization level configuration data according to the client generates are adjusted product function, and need not to change the basic function configuration module part of product, thereby even if feasible difference customization demand corresponding to a plurality of clients; Product vendor also only needs on the basis of same basic version, product to be developed; Greatly improved the efficient of the Web service function of product being developed adjustment, reduced maintenance cost, be convenient to management a plurality of client's products.
Further; In the present embodiment also through when the Web service function of product being configured according to configuration data; According to the configuration data of each item Web service, each functional unit that corresponding generation is corresponding respectively with each item Web service is with the form of assembly; Different concrete functions to single Web service have carried out separating setting; Be convenient to management and function renewal or upgrading, be convenient to support the dynamic need of client especially more, reduced management maintenance cost simultaneously the single Web service of product to each item Web service to single Web service.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be accomplished through the relevant hardware of program command; Aforesaid program can be stored in the computer read/write memory medium; This program the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
Fig. 3 is the structural representation of Web service configuration management device embodiment one of the present invention; As shown in Figure 3, the Web service configuration management device of present embodiment comprises at least: data acquisition module 11, initial list generation module 12, final 14 4 modules of generation module 13 and Web service configuration module of tabulating.
Wherein, Data acquisition module 11 is used to obtain product level configuration data and customization level configuration data; This product level configuration packet is drawn together the basic Web service function corresponding basic configuration data required with product, and customization level configuration packet is drawn together the configuration data corresponding with the Web service function of customization; The product level configuration data that initial list generation module 12 is used for getting access to according to data acquisition module 11 generate corresponding service list initial to be released; The customization level configuration data that final tabulation generation module 13 is used for getting access to according to data acquisition module 11 are upgraded the service list initial to be released that initial list generation module 12 generates, to generate final service list to be released; The service list final to be released that Web service configuration module 14 then is used for generating according to final tabulation generation module 13 is configured the Web service function of product, and the Web service of configuration successful is listed in to issuing service tabulation.
Particularly, the related concrete course of work of all modules in the Web service configuration management device of present embodiment can repeat no more at this with reference to the related content of the related related embodiment exposure of above-mentioned Web service configuring management method.
The Web service configuration management device of present embodiment; Through the Web application product being carried out in the process of initial development; The basic function configuration data of product is separated management with customization level configuration data, thereby customize demand, when the Web service of Web application product is configured in the difference that is facing different clients; Only need be on the basis of product basic function configuration data; Customization level configuration data according to the client generates are adjusted product function, and need not to change the basic function configuration module part of product, thereby even if feasible difference customization demand corresponding to a plurality of clients; Product vendor also only needs on the basis of same basic version, product to be developed; Greatly improved the efficient of the Web service function of product being developed adjustment, reduced maintenance cost, be convenient to management a plurality of client's products.
Fig. 4 is the structural representation of Web service configuration management device embodiment two of the present invention; As shown in Figure 4; On the basis of a last embodiment; In the Web service configuration management device of present embodiment, Web service configuration module 14 can comprise at least: assembly generates submodule 141 and lists submodule 142 in Web service.Wherein, assembly generates submodule 141 and is used for each item Web service of writing down according to final service list to be released, and corresponding generation is distinguished corresponding each Web service Agent components, protocol processes assembly and logical mappings processing components with each item Web service; Web service is listed submodule 142 in and then is used for the just Web service of configuration successful and lists in to the tabulation of issuing service.
Particularly; Generate in each functional unit of submodule 141 generations at assembly; The Web service Agent components is used to receive corresponding Web service request, checks the legitimacy of this Web service request, and after checking the Web service request legal; Legal Web service request is transmitted to the corresponding protocols processing components, and is used for returning response message to the client of sending the Web service request; After the protocol processes assembly is used for the Web service request that receives carried out protocol processes, this Web service request is transmitted to corresponding logical mappings processing components, this protocol processes comprises that security protocol handles and the things protocol processes; The logical mappings processing components is used for that then logical mappings is carried out in the Web service request that receives to be handled, and said logical mappings is handled and comprised that invocation pattern is handled, data map is handled and routine access is handled.
Further, in the present embodiment, Web service configuration management device can also comprise: data detection module 15, the first tabulation generation module 16, secondary series table generate module 17 and config update module 18.
Wherein, whether data detection module 15 is used for revising in the running detection customization regularly level configuration data of product; The first tabulation generation module 16 is used for detecting customization level configuration data as if data detection module 15 to be revised, and then disposes the service list to be released that data generate correspondence according to product level configuration data and amended customization level; The secondary series table generates module 17 and is used for the service list to be released of the first tabulation generation module, 16 generations and the current tabulation of issuing service are compared, with generation service list to be changed; Config update module 18 then is used for waiting that according to what the secondary series table generated that module 17 generates changing service list upgrades the Web service functional configuration of product, and the Web service after will upgrading is listed in to during issuing service is tabulated.
Further, in above-mentioned config update module 18, can also comprise: Web service deletion submodule 181, the newly-increased submodule 182 of Web service and Web service adjustment submodule 183 3 sub-module.Wherein, Web service deletion submodule 181 is used for according to the Web service deletion option of waiting to change service list, to Web service deletion option in corresponding Web service Agent components, protocol processes assembly and the logical mappings processing components of Web service of appointment carry out deletion action; The newly-increased submodule 182 of Web service is used for generating corresponding Web service Agent components, protocol processes assembly and the logical mappings processing components of Web service of stating appointment in the newly-increased option of Web service according to the newly-increased option of Web service of waiting to change service list; Web service adjustment submodule 183 then is used for according to the Web service adjustment option of waiting to change service list, to Web service adjustment option in corresponding Web service Agent components, protocol processes assembly and the logical mappings processing components of Web service of appointment adjust accordingly operation.
Further, in the Web service configuration management device of present embodiment, can also comprise and follow the tracks of tabulation generation module 19 and Web service removing module 110.Wherein, Follow the tracks of tabulation generation module 19 and be used for each audit log based on each Web service Agent components generation; Statistics generates Web service and follows the tracks of tabulation; This audit log by each Web service Agent components in the running of product; Implementation status to relevant Web service writes down and generates, and write down in this audit log corresponding Web service request number of times, request source, carry out information such as consuming time and execution result, then comprise during the Web service of this generations is followed the tracks of and tabulated being used to indicate to minimum or on average carry out the Web service that the longest Web service consuming time deletes and delete option in the scheduled time slot by request number of times; Web service removing module 110 is used for based on following the tracks of the Web service tracking tabulation that tabulation generation module 19 generates Web service Agent components, protocol processes assembly and the logical mappings processing components corresponding with the Web service of appointment being carried out deletion action.
Particularly, the related concrete course of work of all modules in the Web service configuration management device of present embodiment can repeat no more at this with reference to the related content of the related related embodiment exposure of above-mentioned Web service configuring management method equally.
The Web service configuration management device of present embodiment; Through the Web application product being carried out in the process of initial development; The basic function configuration data of product is separated management with customization level configuration data, thereby customize demand, when the Web service of Web application product is configured in the difference that is facing different clients; Only need be on the basis of product basic function configuration data; Customization level configuration data according to the client generates are adjusted product function, and need not to change the basic function configuration module part of product, thereby even if feasible difference customization demand corresponding to a plurality of clients; Product vendor also only needs on the basis of same basic version, product to be developed; Greatly improved the efficient of the Web service function of product being developed adjustment, reduced maintenance cost, be convenient to management a plurality of client's products.
Further; In the present embodiment also through when the Web service function of product being configured according to configuration data; According to the configuration data of each item Web service, each functional unit that corresponding generation is corresponding respectively with each item Web service is with the form of assembly; Different concrete functions to single Web service have carried out separating setting; Be convenient to management and function renewal or upgrading, be convenient to support the dynamic need of client especially more, reduced management maintenance cost simultaneously the single Web service of product to each item Web service to single Web service.
What should explain at last is: above embodiment is only in order to explaining technical scheme of the present invention, but not to its restriction; Although with reference to previous embodiment the present invention has been carried out detailed explanation, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these are revised or replacement, do not make the spirit and the scope of the essence disengaging various embodiments of the present invention technical scheme of relevant art scheme.

Claims (10)

1. a Web service configuring management method is characterized in that, comprising:
Obtain product level configuration data and customization level configuration data; Said product level configuration packet is drawn together the basic Web service function corresponding basic configuration data required with product, and said customization level configuration packet is drawn together the configuration data corresponding with the Web service function of customization;
Generate corresponding service list initial to be released according to said product level configuration data;
Based on said customization level configuration data said initial service list to be released is upgraded, to generate final service list to be released;
Be configured according to the Web service function of said final service list to be released, and the Web service of configuration successful is listed in to the tabulation of issuing service said product.
2. method according to claim 1 is characterized in that, the said Web service function of said product being configured specifically according to said final service list to be released comprises:
According to each item Web service of writing down in the said final service list to be released, each Web service Agent components, protocol processes assembly and logical mappings processing components that corresponding generation is corresponding respectively with said each item Web service;
Said Web service Agent components is used to receive corresponding Web service request; Check the legitimacy of said Web service request; And after checking said Web service request legal; Said Web service request is transmitted to the corresponding protocols processing components, and is used for returning response message to the client of sending said Web service request;
After said protocol processes assembly is used for the Web service request that receives carried out protocol processes, said Web service request is transmitted to corresponding said logical mappings processing components, said protocol processes comprises that security protocol handles and the things protocol processes;
Said logical mappings processing components is used for that logical mappings is carried out in the Web service request that receives to be handled, and said logical mappings is handled and comprised that invocation pattern is handled, data map is handled and routine access is handled.
3. method according to claim 2 is characterized in that, said method also comprises:
Whether in the running of said product, regularly detect said customization level configuration data revises;
Revise if detect said customization level configuration data, then, generate corresponding service list to be released according to said product level configuration data and amended customization level configuration data;
Service list said to be released that generates and the current tabulation of issuing service are compared, with generation service list to be changed;
Wait to change service list the Web service functional configuration of said product is upgraded according to said, and the Web service after will upgrading is listed in to the said tabulation of issuing service.
4. method according to claim 3 is characterized in that, saidly waits to change service list and the Web service functional configuration of said product is upgraded is specifically comprised according to said:
According to the said Web service deletion option of waiting to change in the service list, to said Web service deletion option in corresponding said Web service Agent components, protocol processes assembly and the logical mappings processing components of Web service of appointment carry out deletion action;
According to the said newly-increased option of waiting to change in the service list of Web service, generate corresponding Web service Agent components, protocol processes assembly and the logical mappings processing components of Web service that increases appointment in the option with said Web service newly;
According to the said Web service adjustment option of waiting to change in the service list, to said Web service adjustment option in corresponding said Web service Agent components, protocol processes assembly and the logical mappings processing components of Web service of appointment adjust accordingly operation.
5. according to the arbitrary described method of claim 2~4, it is characterized in that:
Said Web service Agent components also is used for the running at said product; Implementation status to the relevant Web service is carried out record; To generate corresponding audit log, the information of consuming time and execution result is originated, is carried out in the request number of times of the Web service that record is corresponding in the said audit log, request;
Said method also comprises:
Each said audit log based on each said Web service Agent components generation; Statistics generates Web service and follows the tracks of tabulation, and said Web service is followed the tracks of and comprised at least in the tabulation and be used to indicate to minimum or on average carry out the Web service deletion option that the longest Web service consuming time is deleted by request number of times in the scheduled time slot;
Follow the tracks of tabulation according to said Web service said Web service Agent components, protocol processes assembly and the logical mappings processing components corresponding with the Web service of appointment are carried out deletion action.
6. a Web service configuration management device is characterized in that, comprising:
Data acquisition module; Be used to obtain product level configuration data and customization level configuration data; Said product level configuration packet is drawn together the basic Web service function corresponding basic configuration data required with product, and said customization level configuration packet is drawn together the configuration data corresponding with the Web service function of customization;
The initial list generation module is used for generating corresponding service list initial to be released according to the said product level configuration data that said data acquisition module gets access to;
Final tabulation generation module is used for according to the said customization level configuration data that said data acquisition module gets access to the said initial service list to be released that said initial list generation module generates being upgraded, to generate final service list to be released;
The Web service configuration module, the said final service list to be released that is used for generating according to said final tabulation generation module is configured the Web service function of said product, and the Web service of configuration successful is listed in to issuing service tabulation.
7. device according to claim 6 is characterized in that, said Web service configuration module comprises that at least assembly generates submodule and submodule is listed in Web service in, wherein,
Said assembly generates submodule and is used for each item Web service of writing down according to said final service list to be released, and corresponding generation is distinguished corresponding each Web service Agent components, protocol processes assembly and logical mappings processing components with said each item Web service;
Said Web service is listed submodule in and is used for the Web service of configuration successful is listed in to the said tabulation of issuing service;
Said Web service Agent components is used to receive corresponding Web service request; Check the legitimacy of said Web service request; And after checking said Web service request legal; Said Web service request is transmitted to the corresponding protocols processing components, and is used for returning response message to the client of sending said Web service request;
After said protocol processes assembly is used for the Web service request that receives carried out protocol processes, said Web service request is transmitted to corresponding said logical mappings processing components, said protocol processes comprises that security protocol handles and the things protocol processes;
Said logical mappings processing components is used for that logical mappings is carried out in the Web service request that receives to be handled, and said logical mappings is handled and comprised that invocation pattern is handled, data map is handled and routine access is handled.
8. device according to claim 7 is characterized in that, said device also comprises:
Whether data detection module is used for revising in the running said customization level configuration of the detection regularly data of said product;
The first tabulation generation module is used for then based on said product level configuration data and amended customization level configuration data, generating corresponding service list to be released if said data detection module detects said customization level configuration data to be revised;
The secondary series table generates module, is used for the service list said to be released of the said first tabulation generation module generation and the current tabulation of issuing service are compared, with generation service list to be changed;
The config update module is used for saidly waiting to change service list the Web service functional configuration of said product being upgraded according to what said secondary series table generated that module generates, and the Web service after will upgrading is listed in and tabulated to said issuing service.
9. device according to claim 8 is characterized in that, said config update module specifically comprises:
Web service deletion submodule; Be used for the Web service deletion option of waiting to change service list based on said, to said Web service deletion option in corresponding said Web service Agent components, protocol processes assembly and the logical mappings processing components of Web service of appointment carry out deletion action;
Web service increases submodule newly, is used for waiting that according to said the Web service of changing service list increases option newly, generates corresponding Web service Agent components, protocol processes assembly and the logical mappings processing components of Web service that increases appointment in the option with said Web service newly;
Web service adjustment submodule; Be used for the Web service adjustment option of waiting to change service list according to said, to said Web service adjustment option in corresponding said Web service Agent components, protocol processes assembly and the logical mappings processing components of Web service of appointment adjust accordingly operation.
10. according to the arbitrary described device of claim 7~9, it is characterized in that said device also comprises:
Follow the tracks of the tabulation generation module; Be used for each audit log based on each said Web service Agent components generation; Statistics generates Web service and follows the tracks of tabulation; Said audit log by each said Web service Agent components in the running of said product; Implementation status to relevant Web service writes down and generates, and the request number of times of the Web service that record is corresponding in the said audit log, request source, carries out the information of consuming time and execution result, and said Web service is followed the tracks of and comprised in the tabulation and be used to indicate to minimum or on average carry out the Web service deletion option that the longest Web service consuming time is deleted by request number of times in the scheduled time slot;
The Web service removing module is used for following the tracks of tabulation according to the said Web service that said tracking tabulation generation module generates said Web service Agent components, protocol processes assembly and the logical mappings processing components corresponding with the Web service of appointment is carried out deletion action.
CN2010105178534A 2010-10-18 2010-10-18 Web service configuration management method and device Active CN101980475B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010105178534A CN101980475B (en) 2010-10-18 2010-10-18 Web service configuration management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010105178534A CN101980475B (en) 2010-10-18 2010-10-18 Web service configuration management method and device

Publications (2)

Publication Number Publication Date
CN101980475A CN101980475A (en) 2011-02-23
CN101980475B true CN101980475B (en) 2012-07-25

Family

ID=43600959

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010105178534A Active CN101980475B (en) 2010-10-18 2010-10-18 Web service configuration management method and device

Country Status (1)

Country Link
CN (1) CN101980475B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104144210A (en) * 2014-07-09 2014-11-12 中电科华云信息技术有限公司 Method and system for automatically building data service
CN104243560A (en) * 2014-09-02 2014-12-24 赵军富 WEB service system on mobile device
CN107679937B (en) * 2017-09-18 2021-01-01 中国工商银行股份有限公司 Method, system, storage medium and device for customizing service function
CN112199113A (en) * 2020-10-28 2021-01-08 重庆撼地大数据有限公司 Software service access control method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6199077B1 (en) * 1998-12-08 2001-03-06 Yodlee.Com, Inc. Server-side web summary generation and presentation
US20020143898A1 (en) * 2001-03-27 2002-10-03 Mansfield Michael A. System and method for providing personalized customer support
CN101119387B (en) * 2007-09-10 2012-11-14 北京网秦天下科技有限公司 Method and system with convenience to customize, configure and transfer handset software service
CN101853160A (en) * 2010-05-18 2010-10-06 上海动量软件技术有限公司 Platform system and method for realizing framework configuration based on cloud components in computer software system

Also Published As

Publication number Publication date
CN101980475A (en) 2011-02-23

Similar Documents

Publication Publication Date Title
CA2777443C (en) Automated enterprise software development
US7451201B2 (en) Policy driven autonomic computing-specifying relationships
US9471611B2 (en) Distributed scalable policy based content management
CN101621405B (en) Distributed type management monitoring system, monitoring method and establishing method thereof
US7533173B2 (en) Policy driven automation - specifying equivalent resources
US7062516B2 (en) Methods, systems, and articles of manufacture for implementing a runtime logging service storage infrastructure
CN100545851C (en) The remote system administration of utility command row environment
CN102279750B (en) Iterative code generation method based on domain knowledge sharing
JP2008536210A (en) Module application for mobile data systems
US8381222B2 (en) Policy driven automation—specifying equivalent resources
CN1591445A (en) Generic method for defining resource configuration profiles in provisioning systems
CN102682052A (en) Filtering queried data on data stores
CN104517181B (en) Enterprise content management system and method for nuclear power station
CN102364894A (en) Issuing method for configuration data file and network management equipment
CN101980475B (en) Web service configuration management method and device
CN102710593A (en) Method, device and system for publishing message in graph mashup
US20030140126A1 (en) Method of deployment for concurrent execution of multiple versions of an integration model
CN103946794A (en) Cross-reference and priority claim to related applications
US8127271B2 (en) Method and system for accessing a resource implemented in a computer network
US9235437B2 (en) Method and integration component for integrating OSGi environments into a Service-oriented Architecture
CN112099803B (en) Incremental deployment method and system of ERP system
US11082306B2 (en) System and method of provisioning, upgrading and tracking solutions in a multi tenanted platform
CN112631763A (en) Program changing method and device of host program
CN114327770A (en) Container cluster management system and method
CN104081381A (en) A conceptual services implementation platform

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
ASS Succession or assignment of patent right

Owner name: BEIJING Z-GOOD TECHNOLOGY SERVICE CO., LTD.

Free format text: FORMER OWNER: BEIJING XINGWANG RUIJIE NETWORK TECHNOLOGIES CO., LTD.

Effective date: 20150120

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 100036 HAIDIAN, BEIJING TO: 100085 HAIDIAN, BEIJING

TR01 Transfer of patent right

Effective date of registration: 20150120

Address after: 100085 Beijing city Haidian District No. 33 Xiaoying Road 1 1F06 room

Patentee after: BEIJING ZHIGU TECHNOLOGY SERVICES CO., LTD.

Address before: 100036 Beijing Haidian District City 33 Fuxing Road Cuiwei East 1106

Patentee before: Beijing Xingwang Ruijie Network Technologies Co., Ltd.

EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20110223

Assignee: Beijing Xingwang Ruijie Network Technologies Co., Ltd.

Assignor: BEIJING ZHIGU TECHNOLOGY SERVICES CO., LTD.

Contract record no.: 2015990000068

Denomination of invention: Web service configuration management method and device

Granted publication date: 20120725

License type: Common License

Record date: 20150213