CN102880604A - Web Service integrated method and system based on Ontology concept - Google Patents

Web Service integrated method and system based on Ontology concept Download PDF

Info

Publication number
CN102880604A
CN102880604A CN2011101926600A CN201110192660A CN102880604A CN 102880604 A CN102880604 A CN 102880604A CN 2011101926600 A CN2011101926600 A CN 2011101926600A CN 201110192660 A CN201110192660 A CN 201110192660A CN 102880604 A CN102880604 A CN 102880604A
Authority
CN
China
Prior art keywords
data type
web service
storehouse
admitted
access interface
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
CN2011101926600A
Other languages
Chinese (zh)
Other versions
CN102880604B (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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to CN201110192660.0A priority Critical patent/CN102880604B/en
Publication of CN102880604A publication Critical patent/CN102880604A/en
Application granted granted Critical
Publication of CN102880604B publication Critical patent/CN102880604B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention provides a Web Service integrated method and system based on an Ontology concept. The method comprises the steps of constructing a data type library capable of supporting an access interface based on an Ontology concept system, checking validity of data types of all newly imported interface parameters of the access interface of Web Service according to the data type library, and updating the data type library dynamically according to a checking result or an operation instruction. According to the method and system provided by the embodiment of the invention, a common data type list of the traditional Web Service integrated system is replaced by the Ontology concept system, so that the support of the Web Service integrated system to the data types of the access interface of the Web Service is raised from a 'syntax level' to a 'semantics level', and the integration of the Web Service integrated system to complicated data types (particularly structured complicated data types) of the access interface becomes possible.

Description

A kind of web service integrated approach and system based on body Ontology concept
Technical field
The present invention relates to Web (webpage) service field, relate in particular to a kind of Web Service (web service) integrated approach and system based on Ontology (body) concept.
Background technology
In today of internet high speed development, a large amount of Web Service or independence or run on the internet with cooperating with each other and the various services that comprise infrastructure, platform and software are provided separately.In some occasions, in, the mashup of Web Service combination, Business Process Integration, server end (mixed poly-), all need the combination of external web Service and integrated.In the cloud computing epoch, be in and have various different Web Service on the public cloud platform.How safely, integrated these Web Service create a new service and become of crucial importance smoothly.Under normal conditions, a paradigmatic system that relies on external web Service need to realize the function that some are new by integrated these outside Web Service.
Fig. 1 is the synoptic diagram of a traditional Web Service integrated system, as shown in Figure 1, the accessible interface of a Web Service can be abstracted into following interface prototype: TYPE_0 SERVICE_FUNCTION (TYPE_1 PARAM_1, TYPE_2 PARAM_2, ..., TYPE_N PARAM_M).Wherein, PARAM_1, PARAM_2 ..., PARAM_M (M represents M parameter) is the parameter list of an access interface; TYPE_1 ..., TYPE_N (N represents N parameter) is respectively the above-mentioned parameter corresponding parameter type of tabulating; TYPE_0 is the data return type of access interface.A traditional access interface will be supported that by this integrated system the parameter list type of this access interface must all be that this integrated system can be identified and support so.
At present, a traditional Web Service integrated system generally can be supported the data type that all are common, such as: integer, string, boolean, decimal, float...... etc.These common data types are called as the data type of " syntactic level ", and this class integrated system is commonly referred to as the Web Service integrated system of the data type of support " syntactic level ".Along with increasing sharply of Web Service kind on the internet (for example disclosed service interface with needing cryptoguard); what the data type of its Web Service service interface also became becomes increasingly abundant with various particularly a large amount of appearance of complex data type.This class complex data type is called as the data type of " semantic class ", the structure that it normally is comprised of one group of common data type parameters.A kind of more complicated data type that complex data type itself can also be comprised of complex data type.Certainly, complex data type can be regarded the parameter bag with a certain customizing messages as usually all with specific semanteme.
The inventor finds in realizing process of the present invention, on the one hand, only satisfy the Web Service integrated system of " syntactic level ", can't satisfy the type support to this complex data type, more can't import the Web Service with this complex data type structure and enter integrated system.On the other hand, have the Web Service access interface of complex data type, it is integrated to be normally used for privately owned service, because only have Accounting ﹠ Service System could directedly support such complex data type, yet this has but limited the integration capability of an open Web Service integrated system greatly.
Therefore, how making a large amount of external web Service, especially have the Web Service of complex access interface, become that it is integrated to be integrated and to be easy to, is the research direction of industry.
Introduction to technical background above should be noted that is just carried out clear, complete explanation for convenient to technical scheme of the present invention, and makes things convenient for those skilled in the art's understanding to set forth.Can not only partly carry out setting forth and thinking that technique scheme is conventionally known to one of skill in the art in background technology of the present invention because of these schemes.
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of Web Service integrated approach and system based on the ontology concept, with the integration capability of raising to external web Service service, and raises the efficiency.
According to an aspect of the present invention, provide a kind of web service integrated approach based on body Ontology concept, wherein, described method comprises:
Construction step makes up one based on the access interface the supported data type storehouse of Ontology concept system;
Check step, according to described data type storehouse, the data type of the total interface parameter of the access interface of the web service of new importing is carried out validity checking;
Step of updating according to check result or operation indication, dynamically updates described data type storehouse.
According to another aspect of the present invention, also provide a kind of web service integrated system based on body Ontology concept, wherein, described system comprises:
The access interface supported data type storehouse based on the Ontology concept system;
Inspection part, it is according to described data type storehouse, and the data type of the total interface parameter of the access interface of the web service of new importing is carried out validity checking;
Updating component, it dynamically updates described data type storehouse according to the check result of described inspection part or according to the operation indication.
The beneficial effect of the embodiment of the invention is: the method and system of the embodiment of the invention, utilize the Ontology concept system to substitute the common lists of data types of traditional Web Service integrated system, thereby so that Web Service integrated system rises to " semantic class " to the support of Web Service access interface data type from " syntactic level ", so that Web Service integrated system is to the integrated possibility that becomes of access interface complex data type (particularly structurized complex data type).In addition, " the Ontology concept system " of the access interface data type that the method and system propose also support user or keeper to the Ontology concept system dynamically append, the operation such as modification, thereby make system realize dynamic expansion support to the access interface data type.
Explanation and accompanying drawing with reference to hereinafter disclose particular implementation of the present invention in detail, and having indicated principle of the present invention can adopted mode.Should be appreciated that, embodiments of the present invention on scope not thereby be restricted.In the scope of the spirit of claims and clause, embodiments of the present invention comprise many changes, revise and are equal to.
Can in one or more other embodiment, use in identical or similar mode for the feature that a kind of embodiment is described and/or illustrated, combined with the feature in other embodiment, or the feature in alternative other embodiment.
Should emphasize that term " comprises/comprise " existence that refers to feature, whole, step or assembly when this paper uses, but not get rid of the existence of one or more further feature, whole, step or assembly or additional.
Description of drawings
With reference to following accompanying drawing a lot of aspects that the present invention may be better understood.Parts in the accompanying drawing are not proportional draftings, and just for principle of the present invention is shown.For the ease of illustrating and describe some parts of the present invention, counterpart may be exaggerated or dwindle in the accompanying drawing.The element of describing in an accompanying drawing of the present invention or a kind of embodiment and feature can combine with element and the feature shown in one or more other accompanying drawing or the embodiment.In addition, in the accompanying drawings, similarly label represents parts corresponding in several accompanying drawings, and can be used for indicating the corresponding component that uses more than in a kind of embodiment.In the accompanying drawings:
In the accompanying drawings:
Fig. 1 is the synoptic diagram of traditional Web Service integrated system;
Fig. 2 is the synoptic diagram based on the Web Service integrated system of Ontology concept of the embodiment of the invention;
Fig. 3 is the process flow diagram based on the web service integrated approach of Ontology concept that the embodiment of the invention provides;
Fig. 4 is that the web service integrated system based on the Ontology concept that the embodiment of the invention provides forms synoptic diagram.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention is clearer, below in conjunction with embodiment and accompanying drawing, the embodiment of the invention is described in further details.At this, illustrative examples of the present invention and explanation thereof are used for explanation the present invention, but not as a limitation of the invention.
With reference to the accompanying drawings preferred implementation of the present invention is described.
Fig. 2 is the synoptic diagram based on the Web Service integrated system of Ontology concept of the embodiment of the invention, as shown in Figure 2, this data type storehouse is not to store different data types in the mode of parameter type tabulation shown in Figure 1, but stores different data types in the mode of Ontology concept system.In the data type storehouse of this Ontology concept system, leaf node (black circles shown in Fig. 2) is common data type, it also is the data type of " syntactic level ", non-leaf node except root node (white circle shown in Fig. 2) also is the data type of " semantic class " for the data type of the complexity that can be supported.
In example shown in Figure 2, so that three non-leaf nodes to be arranged under this root node, it is example that each of these three non-leaf nodes respectively comprises leaf node, but present embodiment not with this as restriction.In the present embodiment, root node also can directly connect leaf node, non-leaf node except root node also can connect the non-leaf node of another one, also be, the data type of a complexity can include only common data type, also can both comprise common data type, comprise again complicated data type.
Based on Web Service integrated system shown in Figure 2, the embodiment of the invention provides a kind of Web Service integrated approach and system based on the ontology concept, below by different embodiment the method and system is described.
Embodiment 1
Support better complex data type in order to make Web Service integrated system, the embodiment of the invention has proposed the Web Service integrated approach based on the Ontology concept, namely makes the satisfied support to " semantic class " data type of Web Service integrated system.The method utilizes the Ontology concept system that the subparameter type of complex data type is classified, filed on Web Service access interface parameter type, supports simultaneously dynamic subclass to append and change.
The process flow diagram of a kind of Web Service integrated approach based on the ontology concept that Fig. 3 provides for the embodiment of the invention please refer to Fig. 3, and the method comprises:
Construction step 301: make up one based on the access interface the supported data type storehouse of Ontology concept system;
Check step 302: according to described data type storehouse, the data type of the total interface parameter of the access interface of the web service of new importing is carried out validity checking;
Step of updating 303: according to check result or operation indication, dynamically update described data type storehouse.
In step 301, the Web Service integrated system of present embodiment makes up the data type storehouse based on the access interface supported of Ontology concept system (being designated as TypeOntology_DOM).The topological structure in this data type storehouse logically is a tree structure figure who follows the Ontology concept, as shown in Figure 2.The leaf node of this structural drawing represents a data type, and this data type is a kind of common data type, such as: integer, string, boolean, decimal, float....The non-leaf node of each of this structural drawing (except root (Root) node of conceptional tree) represents the complex data type that can be supported by system.Wherein, this root node can also directly connect leaf node, and this non-leaf node also can connect the non-leaf node of another one, and the non-leaf node of this another one can also connect leaf node and/or another non-leaf node, by that analogy.
In step 302, when the Web Service integrated system of present embodiment imports at new Web Service, data type to the total interface parameter of the access interface of the Web Service of new importing is carried out validity checking, and check result is carried out the information feedback.Wherein, the data type that the Web Service that newly imports comprises comprises the data type of " syntactic level " and/or the data type of " semantic class ".
In one embodiment, the Web Service integrated system of present embodiment extracts total interface parameter and the supplemental characteristic type of the access interface of the web service of new importing, form a supplemental characteristic list of types, then travel through this supplemental characteristic list of types, whether each data type of searching in the aforementioned data typelib in this supplemental characteristic list of types exists.If finding the current data type that is admitted in this data type storehouse exists, then the Web Service integrated system of present embodiment returns correctly (True) sign to a side that imports this web service, and carry out searching of next data type, if in this data type storehouse, do not find the current data type that is admitted to, then the Web Service integrated system of present embodiment returns mistake (False) sign to a side that imports this web service, and according to predetermined policy, determine whether the current data type that is admitted to is added into described data type storehouse.
Wherein, each data type in this supplemental characteristic list of types can be the data type of " syntactic level ", also can be the data type of " semantic class ".Wherein, predetermined policy can be direct interpolation, also can be by sending invitation and determining whether to add according to the operation indication.
If predetermined policy is direct interpolation, then according to the step 302 of present embodiment, if in the data type storehouse, do not find the current data type that is admitted to, then determine the current data type that is admitted to is added into described data type storehouse.According to this validity checking result, the step 303 of present embodiment is added this data type that is admitted to described data type storehouse.
If predetermined policy is by sending invitation and determining whether to add according to the operation indication, then according to the step 302 of present embodiment, if in the data type storehouse, do not find the current data type that is admitted to, then the Web Service integrated system of present embodiment generates and whether adds the invitation of data type, and according to user or keeper's operation indication, determine whether the current data type that is admitted to is added into described data type storehouse.If user or keeper's operation is designated as "Yes", then determine the current data type that is admitted to is added into described data type storehouse.According to this validity checking result, the step 303 of present embodiment is added this data type that is admitted to described data type storehouse.If user or keeper's operation is designated as "No", then determine the current data type that is admitted to not to be added into described data type storehouse.According to this validity checking result, the step 303 of present embodiment is not added the operation of data type.
In step 303, the data type storehouse that makes up before the Web Service integrated system of present embodiment can dynamically update according to the result of validity checking, the data type storehouse that makes up before can also upgrading according to user or keeper's operation indication.
If according to the result of validity checking, determine the current data type that is admitted to is added into described data type storehouse, then the type information of the described current data type that is admitted to is at first searched and obtain to the Web Service integrated system of present embodiment from the importing file of the web service of described new importing, then adds the described current data type that is admitted to according to the type information in described data type storehouse.Wherein, for how in the data type storehouse, adding the current data type that is admitted to, and add under which node in described data type storehouse, can operate to realize according to the interpolation that the above-mentioned type information exchange is crossed existing Ontology concept system, do not repeat them here.
If upgrade described data type storehouse according to user or keeper's operation indication, then can be according to user or keeper's operation indication, to in the above-mentioned access interface the supported data type storehouse based on the Ontology concept system, realize the searching of its logic tree node, add, deletion, editor and completeness check function.
By the method for present embodiment, when a new Web Service has passed through " validity checking ", and obtained the returning when indicating of True, current new Web Service is successfully imported to the Web Service integrated system of present embodiment at last.At this moment, the Web Service integrated system of present embodiment can carry out behind the completeness check at the Web Service to this new importing, according to publishing policy the Web Service of current new importing is published to corresponding Web Service service list, carries out services selection and integrated for all users.Wherein, completeness check can be realized by step 303, not repeat them here.
The method of the embodiment of the invention is supported Web Service access interface parameter type at Web Service integrated system, realized as long as the predefined Ontology conceptional tree of systematic search system (this conceptional tree is supported dynamic expansion and modification) can determine whether the support to Web Service access interface parameter type.When Web Service integrated system is not supported new interface type, integrated system allows user (or keeper) that the Ontology concept system is carried out dynamically appending of new data type, thereby satisfies system to the support of Web Service access interface complex data type.
By the method for the embodiment of the invention, so that Web Service integrated system is to the integrated possibility that becomes of access interface complex data type (particularly structurized complex data type).The method utilizes the Ontology concept system to substitute the common lists of data types of traditional Web Service integrated system, thereby so that Web Service integrated system rises to " semantic class " to the support of Web Service access interface data type from " syntactic level "." the Ontology concept system " of the access interface data type that the method proposes support user or keeper to the Ontology concept system dynamically append, the operation such as modification, thereby make system realize dynamic expansion support to the access interface data type.
The embodiment of the invention also provides a kind of Web Service integrated system, as described in the following examples 2.Because this Web Service integrated system principle of dealing with problems is similar to the method for above-described embodiment 1, so the enforcement of this Web Service integrated system can be referring to the enforcement of the method for embodiment 1, and the repetition part repeats no more.
Embodiment 2
The embodiment of the invention also provides a kind of Web Service integrated system of supporting simultaneously " syntactic level " and " semantic class ", and this Web Service integrated system can satisfy the support to complex data type.
The composition synoptic diagram of a kind of Web Service integrated system based on the Ontology concept that Fig. 4 provides for the embodiment of the invention please refer to Fig. 4, and this system comprises:
The access interface supported data type storehouse 41 based on the Ontology concept system;
Inspection part 42, it is according to described data type storehouse 41, and the data type of the total interface parameter of the access interface of the web service of new importing is carried out validity checking;
Updating component 43, it dynamically updates described data type storehouse 41 according to the check result of described inspection part 42 or according to the operation indication.
In the present embodiment, the leaf node based on the access interface the supported data type of Ontology concept system is the syntactic level data type; The non-leaf node except root node based on the access interface the supported data type of Ontology concept system is the semantic class data type.
In one embodiment, inspection part 42 comprises:
Generation module 421, its total interface parameter and supplemental characteristic type to the access interface of the web service of described new importing is extracted, and forms a supplemental characteristic list of types;
Spider module 422, it travels through the supplemental characteristic list of types that described generation module 421 forms, and whether each data type of searching in the described supplemental characteristic list of types in described data type storehouse 41 exists.
In the present embodiment, inspection part 402 also comprises:
Feedback module 423, it is used at the lookup result of spider module 422: when finding the current data type that is admitted in described data type storehouse 41 and having existed, returning True indicates, lookup result in spider module 422 is: when not finding the current data type that is admitted in described data type storehouse 41, return False and indicate;
Processing module 424, its be used at the lookup result of spider module 422 be: when finding the current data type that is admitted in described data type storehouse 41 and having existed, make described spider module 422 carry out searching of next data type; Lookup result in spider module 422 is: when not finding the current data type that is admitted in described data type storehouse 41, according to predetermined policy, determine whether the current data type that is admitted to is added into described data type storehouse 41.
In the present embodiment, updating component 43 comprises:
Search module 431, it is used for when described processing module 424 determines that the current data type that is admitted to is added into described data type storehouse 41, searches and obtain the type information of the described current data type that is admitted to from the importing file of the web service of described new importing;
Add module 432, it is used for the type information of searching the described current data type that is admitted to that module 431 finds according to described, adds the described current data type that is admitted in described data type storehouse 41.
Wherein, present embodiment is to search module 431 to be contained in updating component 43 for example describes, and when reality was implemented, present embodiment did not limit this position of searching module 431, and for example it also can be contained in the inspection part 42, implements its function.
More than each ingredient and the function thereof of the Web Service integrated system of present embodiment had been described in detail, below by way of example the Web Service integrated system of present embodiment is described.
When the Web of present embodiment Service integrated system received a new Web Service and imports, this Web Service integrated system was carried out following process:
1) system call " inspection part " is extracted total interface parameter and the supplemental characteristic type of the access interface of new Web Service, and is formed a supplemental characteristic list of types, is designated as ImportWebServiceParamType_List;
2) " inspection part " traversal supplemental characteristic list of types ImportWebServiceParamType_List, the tree construction TypeOntology_DOM that each data type of tabulation is sent into the Ontology concept system searches;
3) if " inspection part " found that in tree construction TypeOntology_DOM the current data type that is admitted to exists, then directly return True and indicate, and directly enter the inspection of next supplemental characteristic type;
4) if " inspection part " do not find the current data type that is admitted in tree construction TypeOntology_DOM, represent that then the current data type that is admitted to is a new data type.At this moment, " inspection part " information of dishing out invites user (or keeper) the current data type to be carried out the interpolation of " Ontology concept system ";
5) if the interpolation that user (or keeper) selects to abandon current data type is invited, at this moment system abandons current new Web Service is imported;
6) if current data type is added in user (or keeper) selective reception, then " inspection part " will import the type information of searching and obtain parameter current the file (the Web Service Services XML of a standard is described document) from Web Service, and call the interpolation function of " Ontology concept system ", also namely call " updating component ", for the current data type is added new data type in " Ontology concept system ".Return True after adding successfully and indicate, and enter the inspection of next supplemental characteristic type; Aforementioned action of searching also can realize by " updating component ".
7) travel through respectively according to the method described above each data type among the complete supplemental characteristic list of types ImportWebServiceParamType_List.Only have when each data type among the supplemental characteristic list of types ImportWebServiceParamType_List produces corresponding node in " Ontology concept system ", the supplemental characteristic type that current Web Service imports just is counted as merit and finishes inspection, and returns the True sign.Otherwise returning False indicates.
When a new Web Service has passed through " inspection part ", and obtained the returning when indicating of True, current new Web Service is successfully imported to Web Service integrated system at last.At this moment, integrated system can be published to corresponding Web Service service list to the Web Service of current new importing according to strategy, carries out services selection and integrated for all users.
An above embodiment of the Web Service integrated system of present embodiment for example just, but present embodiment not with this as restriction, any variation of doing according to spirit or the purport of present embodiment all is contained in protection scope of the present invention.
The Web Service integrated system of the embodiment of the invention is supported Web Service access interface parameter type, realized as long as the predefined Ontology conceptional tree of systematic search system (this conceptional tree is supported dynamic expansion and modification) can determine whether the support to Web Service access interface parameter type.When Web Service integrated system is not supported new interface type, integrated system allows user (or keeper) that the Ontology concept system is carried out dynamically appending of new data type, thereby satisfies system to the support of Web Service access interface complex data type.
By the Web Service integrated system of the embodiment of the invention, so that Web Service integrated system is to the integrated possibility that becomes of access interface complex data type (particularly structurized complex data type).This system utilizes the Ontology concept system to substitute the common lists of data types of traditional Web Service integrated system, thereby so that Web Service integrated system rises to " semantic class " to the support of Web Service access interface data type from " syntactic level "." the Ontology concept system " of the access interface data type that this system proposes support user or keeper to the Ontology concept system dynamically append, the operation such as modification, thereby make system realize dynamic expansion support to the access interface data type.
More than describe preferred implementation of the present invention with reference to the accompanying drawings.Many feature and advantage of these embodiments are clearly according to this detailed instructionss, thus claims be intended to cover these embodiments fall into its true spirit and all these interior feature and advantage of scope.In addition, owing to those skilled in the art will find apparent that a lot of modifications and change, therefore not embodiments of the present invention to be limited to precision architecture and operation illustrated and that describe, but can contain all suitable modifications and the equivalent that falls in its scope.
Should be appreciated that each several part of the present invention can realize with hardware, software, firmware or their combination.In the above-described embodiment, a plurality of steps or method can realize with being stored in the storer and by software or firmware that suitable instruction execution system is carried out.For example, if realize with hardware, the same in another embodiment, in the following technology that can know altogether with this area each or their combination realize: have for the discrete logic of data-signal being realized the logic gates of logic function, special IC with suitable combinational logic gate circuit, programmable gate array (PGA), field programmable gate array (FPGA) etc.
Describe or frame can be understood in the process flow diagram or in this any process of otherwise describing or method, expression comprises module, fragment or the part of code of the executable instruction of the step that one or more is used for realizing specific logical function or process, and the scope of preferred implementation of the present invention comprises other realization, wherein, can be not according to order shown or that discuss, comprise according to related function by the mode of basic while or by opposite order, carry out function, this should those skilled in the art described by the present invention understand.
In process flow diagram the expression or in this logic of otherwise describing and/or step, for example, can be considered to the sequencing tabulation for the executable instruction that realizes logic function, may be embodied in any computer-readable medium, use for instruction execution system, device or equipment (such as the computer based system, comprise that the system of processor or other can and carry out the system of instruction from instruction execution system, device or equipment instruction fetch), or use in conjunction with these instruction execution systems, device or equipment.With regard to this instructions, " computer-readable medium " can be anyly can comprise, storage, communication, propagation or transmission procedure be for instruction execution system, device or equipment or the device that uses in conjunction with these instruction execution systems, device or equipment.Computer-readable medium for example can be but be not limited to electronics, magnetic, light, electromagnetism, infrared or semiconductor system, device, equipment or propagation medium.The more specifically example of computer-readable medium (non-exhaustive list) comprises following: the electrical connection section (electronic installation) with one or more wiring, portable computer diskette box (magnetic device), random access memory (RAM) (electronic installation), ROM (read-only memory) (ROM) (electronic installation), Erasable Programmable Read Only Memory EPROM (EPROM or flash memory) (electronic installation), optical fiber (electro-optical device), and portable optic disk ROM (read-only memory) (CDROM) (optical devices).In addition, computer-readable medium even can be paper or other the suitable media that to print described program thereon, because can be for example by paper or other media be carried out optical scanning, then edit, decipher or process to obtain described program in the electronics mode with other suitable method in case of necessity, then it is stored in the computer memory.
Above-mentioned explanatory note and accompanying drawing show various feature of the present invention.Should be appreciated that those of ordinary skills can prepare that suitable computer code is described above realizing and in the accompanying drawings illustrative each step and process.It is also understood that above-described various terminal, computing machine, server, network etc. can be any types, and can prepare described computer code to utilize described device to realize the present invention according to disclosure.
Particular implementation of the present invention is disclosed at this.Those of ordinary skill in the art will readily appreciate that the present invention has other application under other environment.In fact, also there are many embodiments and realization.Claims are absolutely not in order to limit the scope of the present invention to above-mentioned embodiment.In addition, arbitrarily for " be used for ... device " to quote all be the explaination that adds function for the device of describing key element and claim, and specifically use arbitrarily " be used for ... device " the key element of quoting do not wish to be understood to that device adds the element of function, even this claim has comprised the word of " device ".
Although illustrate and described the present invention for certain preferred embodiments or a plurality of embodiment, obviously, those skilled in the art can expect the modification and the modified example that are equal to when reading and understanding instructions and accompanying drawing.Especially for the various functions of being carried out by above-mentioned key element (parts, assembly, device, form etc.), unless otherwise noted, the term (comprising quoting of " device ") of wish to be used for describing these key elements corresponding to any key element of the concrete function of the described key element of execution (namely, function equivalent), even this key element structurally is different from the open structure of carrying out this function in illustrated illustrative embodiments of the present invention or a plurality of embodiment.In addition, although below in several illustrative embodiments only one or more has described specific features of the present invention, but can be as required and to any given or specifically use favourable aspect and consider, this feature is combined with one or more other features of other embodiments.
About comprising the embodiment of above a plurality of embodiment, following remarks is also disclosed.
Remarks 1, a kind of web service integrated approach based on body Ontology concept, wherein, described method comprises:
Construction step makes up one based on the access interface the supported data type storehouse of Ontology concept system;
Check step, according to described data type storehouse, the data type of the total interface parameter of the access interface of the web service of new importing is carried out validity checking;
Step of updating according to check result or operation indication, dynamically updates described data type storehouse.
Remarks 2, according to remarks 1 described method, wherein, the leaf node of the described access interface supported data type based on the Ontology concept system is the syntactic level data type; The non-leaf node except root node of the described access interface supported data type based on the Ontology concept system is the semantic class data type.
Remarks 3, according to remarks 1 described method, wherein, described inspection step comprises:
Total interface parameter and supplemental characteristic type to the access interface of the web service of described new importing are extracted, and form a supplemental characteristic list of types;
Travel through described supplemental characteristic list of types, whether each data type of searching in the described supplemental characteristic list of types in described data type storehouse exists.
Remarks 4, according to remarks 3 described methods, wherein, described inspection step also comprises:
Exist if in described data type storehouse, find the current data type that is admitted to, then return correct True and indicate, and carry out searching of next data type;
If in described data type storehouse, do not find the current data type that is admitted to, then return wrong False and indicate, and according to predetermined policy, determine whether the current data type that is admitted to is added into described data type storehouse.
Remarks 5, according to remarks 4 described methods, wherein, described predetermined policy is for directly adding or determining whether to add by transmission invitation and according to the operation indication.
Remarks 6, according to remarks 4 described methods, wherein, if determine the current data type that is admitted to is added into described data type storehouse, then described step of updating comprises:
From the importing file of the web service of described new importing, search and obtain the type information of the described current data type that is admitted to;
According to described type information, in described data type storehouse, add the described current data type that is admitted to.
Remarks 7 according to remarks 6 described methods, wherein, after the described current data type that is admitted to is added into described data type storehouse, returns True and indicates.
Remarks 8, according to each described method of remarks 1-7, wherein, described data type is the data type of syntactic level or is the data type of semantic class.
Remarks 9, according to each described method of remarks 1-7, wherein, after described step of updating, described method also comprises:
Web service to described new importing is carried out completeness check.
Remarks 10, according to remarks 9 described methods, wherein, after the web service of described new importing was carried out completeness check, described method also comprised:
Be published in web service tabulation corresponding to described publishing policy, so that the user carries out services selection and integrated according to the web service of issue plan with described new importing.
Remarks 11, a kind of web service integrated system based on body Ontology concept, wherein, described system comprises:
The access interface supported data type storehouse based on the Ontology concept system;
Inspection part, it is according to described data type storehouse, and the data type of the total interface parameter of the access interface of the web service of new importing is carried out validity checking;
Updating component, it dynamically updates described data type storehouse according to the check result of described inspection part or according to the operation indication.
Remarks 12, according to remarks 11 described systems, wherein, the leaf node of the described access interface supported data type based on the Ontology concept system is the syntactic level data type; The non-leaf node except root node of the described access interface supported data type based on the Ontology concept system is the semantic class data type.
Remarks 13, according to remarks 11 described systems, wherein, described inspection part comprises:
Generation module, its total interface parameter and supplemental characteristic type to the access interface of the web service of described new importing is extracted, and forms a supplemental characteristic list of types;
Spider module, it travels through the supplemental characteristic list of types that described generation module forms, and whether each data type of searching in the described supplemental characteristic list of types in described data type storehouse exists.
Remarks 14, according to remarks 13 described systems, wherein, described inspection part also comprises:
Feedback module, it is used at the lookup result of described spider module: when finding the current data type that is admitted in described data type storehouse and having existed, returning True indicates, lookup result in described spider module is: when not finding the current data type that is admitted in described data type storehouse, return False and indicate;
Processing module, its be used at the lookup result of described spider module be: when finding the current data type that is admitted in described data type storehouse and having existed, make described spider module carry out searching of next data type; Lookup result in described spider module is: when not finding the current data type that is admitted in described data type storehouse, according to predetermined policy, determine whether the current data type that is admitted to is added into described data type storehouse.
Remarks 15, according to remarks 14 described systems, wherein, described predetermined policy is for directly adding or determining whether to add by transmission invitation and according to the operation indication.
Remarks 16, according to remarks 14 described systems, wherein, described updating component comprises:
Search module, it is used for when described processing module determines that the current data type that is admitted to is added into described data type storehouse, searches and obtain the type information of the described current data type that is admitted to from the importing file of the web service of described new importing;
Add module, its be used for according to described search module searches to the type information of the described current data type that is admitted to, in described data type storehouse, add the described current data type that is admitted to.
Remarks 17 according to remarks 16 described systems, wherein, after the described current data type that is admitted to is added into described data type storehouse, returns True and indicates.
Remarks 18, according to each described system of remarks 11-17, wherein, described data type is the data type of syntactic level or is the data type of semantic class.
Remarks 19, according to each described system of remarks 11-17, wherein, after described step of updating, described method also comprises:
Web service to described new importing is carried out completeness check.
Remarks 20, according to remarks 19 described methods, wherein, after the web service of described new importing was carried out completeness check, described method also comprised:
Be published in web service tabulation corresponding to described publishing policy, so that the user carries out services selection and integrated according to the web service of issue plan with described new importing.

Claims (10)

1. web service integrated approach based on body Ontology concept, wherein, described method comprises:
Construction step makes up one based on the access interface the supported data type storehouse of Ontology concept system;
Check step, according to described data type storehouse, the data type of the total interface parameter of the access interface of the web service of new importing is carried out validity checking;
Step of updating according to check result or operation indication, dynamically updates described data type storehouse.
2. method according to claim 1, wherein, the leaf node of the described access interface supported data type based on the Ontology concept system is the syntactic level data type; The non-leaf node except root node of the described access interface supported data type based on the Ontology concept system is the semantic class data type.
3. method according to claim 1, wherein, described inspection step comprises:
Total interface parameter and supplemental characteristic type to the access interface of the web service of described new importing are extracted, and form a supplemental characteristic list of types;
Travel through described supplemental characteristic list of types, whether each data type of searching in the described supplemental characteristic list of types in described data type storehouse exists.
4. method according to claim 3, wherein, described inspection step also comprises:
Exist if in described data type storehouse, find the current data type that is admitted to, then return correct True and indicate, and carry out searching of next data type;
If in described data type storehouse, do not find the current data type that is admitted to, then return wrong False and indicate, and according to predetermined policy, determine whether the current data type that is admitted to is added into described data type storehouse.
5. method according to claim 4, wherein, if determine the current data type that is admitted to is added into described data type storehouse, then described step of updating comprises:
From the importing file of the web service of described new importing, search and obtain the type information of the described current data type that is admitted to;
According to described type information, in described data type storehouse, add the described current data type that is admitted to.
6. web service integrated system based on body Ontology concept, wherein, described system comprises:
The access interface supported data type storehouse based on the Ontology concept system;
Inspection part, it is according to described data type storehouse, and the data type of the total interface parameter of the access interface of the web service of new importing is carried out validity checking;
Updating component, it dynamically updates described data type storehouse according to the check result of described inspection part or according to the operation indication.
7. system according to claim 6, wherein, the leaf node of the described access interface supported data type based on the Ontology concept system is the syntactic level data type; The non-leaf node except root node of the described access interface supported data type based on the Ontology concept system is the semantic class data type.
8. system according to claim 6, wherein, described inspection part comprises:
Generation module, its total interface parameter and supplemental characteristic type to the access interface of the web service of described new importing is extracted, and forms a supplemental characteristic list of types;
Spider module, it travels through the supplemental characteristic list of types that described generation module forms, and whether each data type of searching in the described supplemental characteristic list of types in described data type storehouse exists.
9. system according to claim 8, wherein, described inspection part also comprises:
Feedback module, it is used at the lookup result of described spider module: when finding the current data type that is admitted in described data type storehouse and having existed, returning True indicates, lookup result in described spider module is: when not finding the current data type that is admitted in described data type storehouse, return False and indicate;
Processing module, its be used at the lookup result of described spider module be: when finding the current data type that is admitted in described data type storehouse and having existed, make described spider module carry out searching of next data type; Lookup result in described spider module is: when not finding the current data type that is admitted in described data type storehouse, according to predetermined policy, determine whether the current data type that is admitted to is added into described data type storehouse.
10. system according to claim 9, wherein, described updating component comprises:
Search module, it is used for when described processing module determines that the current data type that is admitted to is added into described data type storehouse, searches and obtain the type information of the described current data type that is admitted to from the importing file of the web service of described new importing;
Add module, its be used for according to described search module searches to the type information of the described current data type that is admitted to, in described data type storehouse, add the described current data type that is admitted to.
CN201110192660.0A 2011-07-11 2011-07-11 Web Service integrated method and system based on Ontology concept Expired - Fee Related CN102880604B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110192660.0A CN102880604B (en) 2011-07-11 2011-07-11 Web Service integrated method and system based on Ontology concept

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110192660.0A CN102880604B (en) 2011-07-11 2011-07-11 Web Service integrated method and system based on Ontology concept

Publications (2)

Publication Number Publication Date
CN102880604A true CN102880604A (en) 2013-01-16
CN102880604B CN102880604B (en) 2015-07-15

Family

ID=47481933

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110192660.0A Expired - Fee Related CN102880604B (en) 2011-07-11 2011-07-11 Web Service integrated method and system based on Ontology concept

Country Status (1)

Country Link
CN (1) CN102880604B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030055868A1 (en) * 2001-09-19 2003-03-20 International Business Machines Corporation Building distributed software services as aggregations of other services
US20030055624A1 (en) * 2001-09-19 2003-03-20 International Business Machines Corporation Dynamic, real-time integration of software resources through services of a content framework
CN101398858A (en) * 2008-11-07 2009-04-01 西安交通大学 Web service semantic extracting method based on noumenon learning

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030055868A1 (en) * 2001-09-19 2003-03-20 International Business Machines Corporation Building distributed software services as aggregations of other services
US20030055624A1 (en) * 2001-09-19 2003-03-20 International Business Machines Corporation Dynamic, real-time integration of software resources through services of a content framework
CN101398858A (en) * 2008-11-07 2009-04-01 西安交通大学 Web service semantic extracting method based on noumenon learning

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
龚波: "一种基于本体的数据集成用户接口方法研究", 《中国优秀硕士学位论文全文数据库电子期刊》 *

Also Published As

Publication number Publication date
CN102880604B (en) 2015-07-15

Similar Documents

Publication Publication Date Title
US10936556B2 (en) Generating a schema of a Not-only-Structured-Query-Language database
CN109634598A (en) A kind of page display method, device, equipment and storage medium
US8433687B1 (en) Off-line indexing for client-based software development tools
He et al. Model approach to grammatical evolution: deep-structured analyzing of model and representation
US10552127B2 (en) Method and system for developing relation-context specific software applications
CN102929867A (en) Technology used for automatically translating a document
US20110078104A1 (en) Method and apparatus of constraint verification in distributed information spaces
EP2021918A1 (en) A generic interface for deep embedding of expression trees in programming languages
US8990138B2 (en) Automated verification of hypotheses using ontologies
CN111666100B (en) Software framework generation method and device, electronic equipment and storage medium
CN115599386A (en) Code generation method, device, equipment and storage medium
Jekjantuk et al. Modelling and reasoning in metamodelling enabled ontologies
CN101794223B (en) Design method of WADE service message architecture
CN102541544A (en) Method, device and system for processing tree control
CN109508249A (en) Collapse processing method, apparatus and electronic equipment
KR20070047675A (en) Method and apparatus for constructing representations of objects and entities
Zhao et al. Pattern-based design evolution using graph transformation
CN113094776A (en) Method and system for constructing visual component model data and electronic equipment
CN101055521B (en) Mapping rule visualized generation method and system
CN110308907A (en) Data transfer device, device, storage medium and electronic equipment
CN102880604B (en) Web Service integrated method and system based on Ontology concept
Arora et al. Mobile agent‐based regression test case generation using model and formal specifications
CN115292313A (en) Pseudo-column implementation method and device, electronic equipment and storage medium
US11068468B2 (en) Extensible validation framework
CN114115908A (en) Instruction set generation method, program analysis method, device 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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150715

Termination date: 20180711

CF01 Termination of patent right due to non-payment of annual fee