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

Web service configuration management method and device Download PDF

Info

Publication number
CN101980475A
CN101980475A CN 201010517853 CN201010517853A CN101980475A CN 101980475 A CN101980475 A CN 101980475A CN 201010517853 CN201010517853 CN 201010517853 CN 201010517853 A CN201010517853 A CN 201010517853A CN 101980475 A CN101980475 A CN 101980475A
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.)
Granted
Application number
CN 201010517853
Other languages
Chinese (zh)
Other versions
CN101980475B (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

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 HTML (Hypertext Markup Language) (Hyper Text Transfer Protocol, be called for short HTTP) and the Web service standard of extend markup language open protocols such as (Extensible Markup Language, abbreviation XML) arise at the historic moment.
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 many difficult problems have been brought to product vendor: for example, the scope of the Web service that different clients provide same product requirement and the technical protocol standard that Web service will be satisfied all are different, and 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 at different customer demands, the residing different I T environment of different client, be the different adaptive product of different client development, even in each stage of product operation, also need the different phase demand to product according to the client, the Web service that 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 needs to 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 invention provides a kind of Web service configuring management method and device, at present lower in order to solve to the customized development efficient of Web application product, and to based on the too high problem of different clients' different editions maintenance cost.
For achieving the above object, the invention provides a kind of Web service configuring management method, comprising:
Obtain product level configuration data and customization level configuration data, described product level configuration packet is drawn together the basic Web service function corresponding basic configuration data required with product, and described 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 described product level configuration data;
According to described customization level configuration data described 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 described final service list to be released, and the Web service of configuration successful is listed in to the tabulation of issuing service described product.
For achieving the above object, 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, described product level configuration packet is drawn together the basic Web service function corresponding basic configuration data required with product, and described 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 described product level configuration data that described data acquisition module gets access to;
Final tabulation generation module is used for according to the described customization level configuration data that described data acquisition module gets access to described initial service list to be released being upgraded, to generate final service list to be released;
The Web service configuration module is used for the described final service list to be released that generates according to described tabulation generation module the Web service function of described product is configured, 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, by 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 in the difference that faces different clients, when the Web service of Web application product is configured, only need be on the basis of product basic function configuration data, according to the customization level configuration data that the client generates product function is adjusted, and need not to change the basic function configuration module part of product, even if thereby 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, apparently, 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, 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 purpose, technical solutions and advantages of the present invention clearer, below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, 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 belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
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 of product level configuration data and the management of customization level configuration data separating is adopted in the configuration management of the Web service function that the Web application product is carried out.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 class is and the customization Web service functional requirement pairing customization configuration data of client to this Web application product to be 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 at 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 after product level configuration data and the customization level configuration data, Web service configuration management device can be in view of the above disposes accordingly to the Web service function of Web application product.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, product vendor's all basic Web service functions that provide, that need configuring product have been provided in this initial service list to be released.
Step 102 is upgraded initial service list to be released according to 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 and customization level configuration data simultaneously corresponding to the product 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, may 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, by 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 in the difference that faces different clients, when the Web service of Web application product is configured, only need be on the basis of product basic function configuration data, according to the customization level configuration data that the client generates product function is adjusted, and need not to change the basic function configuration module part of product, even if thereby 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 according to 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 are specifically as follows XML file description mode or other textual description mode.In the present invention, by 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 according to 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, write down in this final service list to be released for the client required, at the function of the final Web service of this Web application product.
Step 203, according to every 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 every Web service;
Generated after the final service list to be released, every 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 every Web service of writing down in the final service list to be released, correspondingly generate each functional unit corresponding with it respectively for every 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 by 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, at 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 class 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 by the form with functional unit, different concrete functions to single Web service separate setting, be convenient to management and function renewal or upgrading, reduced management maintenance cost simultaneously the single Web service of product to single Web service.
And in the three class 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 for being in the functional unit of ground floor in the process of carrying out the relevant Web service function, be the functional unit that directly is connected with client, 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, 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 provide the foregone conclusion substance environment for the Web service request that receives.
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 in the mode of different assemblies: carry out configured separate by the concrete function to Web service, can be convenient to of the management of Web application product more, be convenient to support the dynamic need of client especially more every 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 may 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 may 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 according to 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 and finish, in the practical application, the first version that the Web application product that this moment, configuration was finished 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 the service list to be released of generation and the current tabulation of issuing service, with generation service list to be changed;
If by 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 product level configuration data and this amended customization level configuration data, 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 according to waiting to change the data that write down in the service list.Because for waiting to change service list, wherein Ji Lu the change to the Web service function comprises following three kinds of alter modes nothing but: in current Web application product newly-increased a certain Web service function, delete a certain Web service function or the function of the Web service of a certain appointment changed.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 the same method that the Web service function of product is configured according to final service list to be released, in the Web application product, make up and generate a cover Web service Agent components corresponding with specifying newly-increased Web service, protocol processes assembly and logical mappings processing components, concrete assembly generating mode is consistent with the describing mode in the above-mentioned steps 203, does not repeat them here.
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, 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, to delete this Web service function of appointment fully in the Web application product.
And write down Web service adjustment option in the service list if wait to change, promptly need the concrete function of a certain Web service of having disposed is adjusted, adjust option according to this Web service, 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, according to the concrete configuration of waiting to change service list, this renewal operation can be carried out at three functional units, and perhaps, this renewals is operated and can also be only carried out in three functional units one of them.
Whether revise by 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, thought that the client provides second version of this Web application product, third edition basis or N version.And Web service configuration management device is to this change of Web application product, do not need to 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 reduced because the Web service change, and the modification of the entire product configuration data that brings, and this modification, present stand alone software application product supplier's product maintenance cost place 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 according to each audit log that each Web service Agent components produces, generates Web service and follows the tracks of form, and follows the tracks of tabulation according to 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 in this audit log at the relevant Web service function, write down the number of times that this Web service function is requested to call, the source of 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 the number of times which Web service is requested to call is maximum; Perhaps at every Web service, it is the most frequent to add up the number of times that each Web service which in one day is requested to 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 the every 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 and be requested least number of times or on average carry out the Web service deletion option that the longest Web service consuming time is deleted 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 corresponding to each Web service, the tracking that the Web service quality of product is carried out is handled, guaranteed the better operation of every Web service in the Web application.
The Web service configuring management method of present embodiment, by 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 in the difference that faces different clients, when the Web service of Web application product is configured, only need be on the basis of product basic function configuration data, according to the customization level configuration data that the client generates product function is adjusted, and need not to change the basic function configuration module part of product, even if thereby 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 by when the Web service function of product being configured according to configuration data, configuration data according to every Web service, each functional unit that corresponding generation is corresponding respectively with every Web service, form with assembly, different concrete functions to single Web service have carried out separating setting, be convenient to management and function renewal or upgrading to single Web service, especially more be convenient to support the dynamic need of client, reduced management maintenance cost simultaneously the single Web service of product to every Web service.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of program command, aforesaid program can be stored in the computer read/write memory medium, this program is carried out 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; Web service configuration module 14 then is used for the service list final to be released that generates according to final tabulation generation module 13 the Web service function of product is configured, 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 not repeat them here 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, by 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 in the difference that faces different clients, when the Web service of Web application product is configured, only need be on the basis of product basic function configuration data, according to the customization level configuration data that the client generates product function is adjusted, and need not to change the basic function configuration module part of product, even if thereby 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 submodule 142 is listed in Web service in.Wherein, assembly generates submodule 141 and is used for every 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 every 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, check 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 that sends 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 described 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: 183 3 submodules of submodule are adjusted in Web service deletion submodule 181, the newly-increased submodule 182 of Web service and Web service.Wherein, Web service deletion submodule 181 is used for according to the Web service deletion option of waiting to change service list, and Web service Agent components, protocol processes assembly and the logical mappings processing components corresponding with the Web service of appointment in the Web service deletion option are carried out deletion action; The newly-increased submodule 182 of Web service is used for generating Web service Agent components, protocol processes assembly and the logical mappings processing components of stating the Web service correspondence of 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 is adjusted submodule 183 and then is used for according to the Web service adjustment option of waiting to change service list, and Web service Agent components, protocol processes assembly and the logical mappings processing components corresponding with the Web service of appointment in the Web service adjustment option are adjusted 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, tracking tabulation generation module 19 is used for each audit log according to 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 the relevant Web service writes down and generates, and write down the request number of times of corresponding Web service in this audit log, the request source, carry out information such as consuming time and execution result, then comprise during the Web service of this generation is followed the tracks of and tabulated being used to indicate being requested least number of times in the scheduled time slot or on average carrying out the Web service deletion option that the longest Web service consuming time is deleted; Web service removing module 110 is used for according to following the tracks of the Web service tracking form 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 not repeat them here 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, by 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 in the difference that faces different clients, when the Web service of Web application product is configured, only need be on the basis of product basic function configuration data, according to the customization level configuration data that the client generates product function is adjusted, and need not to change the basic function configuration module part of product, even if thereby 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 by when the Web service function of product being configured according to configuration data, configuration data according to every Web service, each functional unit that corresponding generation is corresponding respectively with every Web service, form with assembly, different concrete functions to single Web service have carried out separating setting, be convenient to management and function renewal or upgrading to single Web service, especially more be convenient to support the dynamic need of client, reduced management maintenance cost simultaneously the single Web service of product to every Web service.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, 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 modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical 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, described product level configuration packet is drawn together the basic Web service function corresponding basic configuration data required with product, and described 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 described product level configuration data;
According to described customization level configuration data described 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 described final service list to be released, and the Web service of configuration successful is listed in to the tabulation of issuing service described product.
2. method according to claim 1 is characterized in that, the described Web service function of described product being configured specifically according to described final service list to be released comprises:
According to every Web service of writing down in the described 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 described every Web service;
Described Web service Agent components is used to receive corresponding Web service request, check the legitimacy of described Web service request, and after checking described Web service request legal, described Web service request is transmitted to the corresponding protocols processing components, and is used for returning response message to the client that sends described Web service request;
After described protocol processes assembly is used for the Web service request that receives carried out protocol processes, described Web service request is transmitted to corresponding described logical mappings processing components, described protocol processes comprises that security protocol handles and the things protocol processes;
Described logical mappings processing components is used for that logical mappings is carried out in the Web service request that receives to be handled, and described 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, described method also comprises:
Whether regularly detect described customization level configuration data in the running of described product revises;
Revise if detect described customization level configuration data, then, generate corresponding service list to be released according to described product level configuration data and amended customization level configuration data;
The service list described to be released of generation 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 described product is upgraded according to described, and the Web service after will upgrading is listed in to the described tabulation of issuing service.
4. method according to claim 3 is characterized in that, describedly waits to change service list and the Web service functional configuration of described product is upgraded is specifically comprised according to described:
According to the described Web service deletion option of waiting to change in the service list, described Web service Agent components, protocol processes assembly and the logical mappings processing components corresponding with the Web service of appointment in the described Web service deletion option are carried out deletion action;
According to the described 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 described Web service newly;
Adjust option according to described Web service of waiting to change in the service list, described Web service Agent components, protocol processes assembly and the logical mappings processing components corresponding with the Web service of appointment in the described Web service adjustment option are adjusted accordingly operation.
5. according to the arbitrary described method of claim 2~4, it is characterized in that:
Described Web service Agent components also is used for the running at described 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 described audit log, request;
Described method also comprises:
Each described audit log according to each described Web service Agent components generation, statistics generates Web service and follows the tracks of form, comprises at least during described Web service is followed the tracks of and tabulated being used to indicate to being requested least number of times in the scheduled time slot or on average carrying out the Web service deletion option that the longest Web service consuming time is deleted;
Follow the tracks of form pair described Web service Agent components, protocol processes assembly and the logical mappings processing components corresponding according to described Web service and carry out deletion action with the Web service of appointment.
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, described product level configuration packet is drawn together the basic Web service function corresponding basic configuration data required with product, and described 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 described product level configuration data that described data acquisition module gets access to;
Final tabulation generation module is used for according to the described customization level configuration data that described data acquisition module gets access to the described initial service list to be released that described initial list generation module generates being upgraded, to generate final service list to be released;
The Web service configuration module is used for the described final service list to be released that generates according to described final tabulation generation module the Web service function of described product is configured, and the Web service of configuration successful is listed in to issuing service tabulation.
7. device according to claim 6 is characterized in that, described Web service configuration module comprises that at least assembly generates submodule and submodule is listed in Web service in, wherein,
Described assembly generates submodule and is used for every Web service of writing down according to described 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 described every Web service;
Described Web service is listed submodule in and is used for the Web service of configuration successful is listed in to the described tabulation of issuing service;
Described Web service Agent components is used to receive corresponding Web service request, check the legitimacy of described Web service request, and after checking described Web service request legal, described Web service request is transmitted to the corresponding protocols processing components, and is used for returning response message to the client that sends described Web service request;
After described protocol processes assembly is used for the Web service request that receives carried out protocol processes, described Web service request is transmitted to corresponding described logical mappings processing components, described protocol processes comprises that security protocol handles and the things protocol processes;
Described logical mappings processing components is used for that logical mappings is carried out in the Web service request that receives to be handled, and described 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, described device also comprises:
Whether data detection module is used for revising in the running described customization level configuration of the detection regularly data of described product;
The first tabulation generation module is used for then according to described product level configuration data and amended customization level configuration data, generating corresponding service list to be released if described data detection module detects described customization level configuration data to be revised;
The secondary series table generates module, is used for the service list described to be released of the described 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 describedly waiting to change service list the Web service functional configuration of described product being upgraded according to what described secondary series table generated that module generates, and the Web service after will upgrading is listed in and tabulated to described issuing service.
9. device according to claim 8 is characterized in that, described config update module specifically comprises:
Web service deletion submodule, be used for the Web service deletion option of waiting to change service list according to described, described Web service Agent components, protocol processes assembly and the logical mappings processing components corresponding with the Web service of appointment in the described Web service deletion option are carried out deletion action;
Web service increases submodule newly, is used for waiting that according to described 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 described Web service newly;
Submodule is adjusted in Web service, be used for adjusting option, adjust accordingly operation adjusting the Web service of appointment in the option corresponding described Web service Agent components, protocol processes assembly and logical mappings processing components with described Web service according to the described Web service of waiting to change service list.
10. according to the arbitrary described device of claim 7~9, it is characterized in that described device also comprises:
Follow the tracks of the tabulation generation module, be used for each described audit log according to each described Web service Agent components generation, statistics generates Web service and follows the tracks of tabulation, described audit log by each described Web service Agent components in the running of described product, implementation status to the relevant Web service writes down and generates, the request number of times of the Web service that record is corresponding in the described audit log, the request source, carry out the information of consuming time and execution result, comprise during described Web service is followed the tracks of and tabulated being used to indicate being requested least number of times in the scheduled time slot or on average carrying out the Web service deletion option that the longest Web service consuming time is deleted;
The Web service removing module is used for following the tracks of form pair described Web service Agent components, protocol processes assembly and the logical mappings processing components corresponding with the Web service of appointment according to the described Web service that described tracking tabulation generation module generates and carries 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 true CN101980475A (en) 2011-02-23
CN101980475B 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)

Cited By (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
CN107679937A (en) * 2017-09-18 2018-02-09 中国工商银行股份有限公司 Customize method, system, storage medium and the equipment of service function
CN112199113A (en) * 2020-10-28 2021-01-08 重庆撼地大数据有限公司 Software service access control method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1353838A (en) * 1999-06-01 2002-06-12 约德李.Com.公司 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
CN101119387A (en) * 2007-09-10 2008-02-06 北京网秦天下科技有限公司 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

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1353838A (en) * 1999-06-01 2002-06-12 约德李.Com.公司 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
CN101119387A (en) * 2007-09-10 2008-02-06 北京网秦天下科技有限公司 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

Cited By (5)

* 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
CN107679937A (en) * 2017-09-18 2018-02-09 中国工商银行股份有限公司 Customize method, system, storage medium and the equipment of service function
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

Also Published As

Publication number Publication date
CN101980475B (en) 2012-07-25

Similar Documents

Publication Publication Date Title
US7062516B2 (en) Methods, systems, and articles of manufacture for implementing a runtime logging service storage infrastructure
EP2021937B1 (en) Techniques to perform gradual upgrades
CN102782650B (en) For the method and system of the configuration of system management agent in managing distributed environment
US8694465B2 (en) System and method for context sensitive mobile data and software update
US8875306B2 (en) Customization restrictions for multi-layer XML customization
US7310653B2 (en) Method, system, and product for maintaining software objects during database upgrade
CN100518167C (en) Method and system for managing service state data
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
CN104517181B (en) Enterprise content management system and method for nuclear power station
CN101621405A (en) Distributed type management monitoring system, monitoring method and establishing method thereof
JPWO2010116676A1 (en) Service providing apparatus, service providing system, data processing method of service providing apparatus, and computer program
CN102656557A (en) Automated enterprise software development
CN101727475B (en) Method, device and system for acquiring database access process
CN101980475B (en) Web service configuration management method and device
US8893108B1 (en) Method and system for context-based software updates
CN101277301B (en) Method, device and system for invocation of distributed system interface
WO2003073291A1 (en) System and method for dynamic activation of enterprise java beans
CN111147291B (en) Service maintenance method and device
US20060015867A1 (en) Business productivity pack
CN113837870B (en) Financial risk data approval method and device
US9059992B2 (en) Distributed mobile enterprise application platform
CN104081381A (en) A conceptual services implementation platform
CN113326052A (en) Method and device for upgrading service component, computer equipment and storage medium

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