CN105320517A - Web service based adapter middleware system and method - Google Patents
Web service based adapter middleware system and method Download PDFInfo
- Publication number
- CN105320517A CN105320517A CN201410836608.8A CN201410836608A CN105320517A CN 105320517 A CN105320517 A CN 105320517A CN 201410836608 A CN201410836608 A CN 201410836608A CN 105320517 A CN105320517 A CN 105320517A
- Authority
- CN
- China
- Prior art keywords
- service
- module
- cos
- adapter
- encapsulates
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Information Transfer Between Computers (AREA)
- Stored Programmes (AREA)
Abstract
The present invention relates to a web service based adapter middleware method. The method comprises the following steps: a service adapter setting module specifying a target service type to a service encapsulating module; a service access module converting a source service to an atomic service and outputting the atomic service to a service parsing module; the service parsing module performing service parsing according to matched service type, and obtaining source data and outputting the source data to the service encapsulating module; and the service encapsulating module querying a service type library according to the target service type to obtain a service model corresponding to the target service type, and performing service encapsulating to obtain a target atomic service and output the target atomic service to a service publishing module for publishing. The system comprises the service adapter setting module, the service type library, the service access module, the service parsing module, the service encapsulating module and the service publishing module. The web service based adapter middleware system provided by the present invention employs a configurable technology and has good extensibility and versatility. Under the condition of not changing an architecture of the system, free conversion of multiple types of services can be implemented.
Description
Technical field
The invention belongs to Web middleware field, especially relate to adapter middleware system and the method for sing on web service.
Background technology
Along with the develop rapidly of SOA, middleware Technology obtains and uses widely.Use service to communicate in a network, be often subject to different service encapsulates form different, and cannot correctly call and resolve.Therefore for the interactive mode of service, there is a kind of problem of can not ignore.
First, the equipment on each network can provide service to present networks, and its service can be resolved by parsing client supporting in network.But the communication for service of heterogeneous networks equipment room is often subject to the restriction of service interface, directly parsing cannot be called.
Secondly, web services is of a great variety, cannot proper communication between dissimilar service.Its self-discovery mechanism of dissimilar service, data interactive mode, Data Analysis mode all property of there are differences.All propose the data model based on SOA framework in different field, make the data model based on service have received very large restriction.
The web services of main flow can be divided into towards the large class of the Web service of commercial affairs, customer-oriented Web service, device oriented Web service and system-oriented Web service four on the market.Its direction stressed of different Web services.The all public protocol requirements of Web service use open standard agreement to be described, to transmit and to exchange.These standard agreements are all completely free protocol specifications, to be realized by wherein any one party.
So in order to solve in network because of cannot communication issue between the service that causes of COS difference, network is built have adaption function service adapter middleware system be significant.
Summary of the invention
The technical matters that the present invention asks for solution is for the deficiency in above-mentioned existing service technology, propose adapter middleware system and its implementation of the service of a kind of sing on web, it is novel in design, be applied to and solve service compatibility problem in network, there is applicability widely, use middleware Technology on the basis not changing use-pattern, to carry out adaptive flexibly, reduce costs on the basis that can retain existing service, and the service interface of extensible universal.
In order to solve the problems of the technologies described above, the technical solution used in the present invention is: based on the adapter middleware method of web services, comprise the following steps:
Service adapter arranges module intended target COS to service encapsulates module;
Service access module converts source service to atomic service and exports service parsing module to;
Atomic service is mated by service parsing module in COS storehouse, carrying out service parsing, obtaining source data to service encapsulates module according to mating the COS obtained;
Service encapsulates module obtains service model corresponding to destination service type according to destination service type queries COS storehouse, and source data is carried out service encapsulates according to service model, obtains target atoms service and exports service release module to;
Target atoms service is issued by service release module.
Described service encapsulates module obtains service model corresponding to destination service type according to destination service type queries COS storehouse, and source data is carried out service encapsulates according to service model comprises the following steps:
Data modeling module acquisition service adapter arranges the destination service type that module is specified, and obtains service model be sent to service definition module according to destination service type queries COS storehouse;
Service definition module reads the source data that service parsing module exports, and receives the service model objective definition atomic service of data modeling module.
Based on the adapter middleware system of web services, comprising:
Service adapter arranges module and is used to specify destination service type to service encapsulates module;
Service access module is used for converting source service to atomic service and exports service parsing module to;
Service parsing module is used for atomic service to mate in COS storehouse, obtains according to coupling
COS is carried out service and is resolved, and obtains source data to service encapsulates module;
Service encapsulates module is used for obtaining service model corresponding to destination service type according to destination service type queries COS storehouse, and source data is carried out service encapsulates according to service model, obtains target atoms service and exports service release module to;
Service release module is used for target atoms service to issue.
Described service encapsulates module comprises:
Data modeling module arranges for obtaining service adapter the destination service type that module specifies, and obtains service model be sent to service definition module according to destination service type queries COS storehouse;
The source data that service definition module exports for reading service parsing module, and receive the service model objective definition atomic service of data modeling module
The present invention is compared with the prior art has advantage:
1, the present invention has good interactivity and extendability, and transforms Web service according to the form in the COS storehouse of statistics.Along with serving the perfect of class libraries, the function of service adapter can be expanded easily, simplifies the reciprocal process between service.
2, the present invention adopts middleware Technology, makes system to rely on conventional network resources, carries out multiplexing functions, saves the expense because service adapter process causes.
3, the present invention adopts configurable technology, is with good expansibility, multi-functional.When the framework of invariant system own, freely changing of many services can be realized.
Accompanying drawing explanation
Fig. 1 is the structural representation of the adapter middleware method based on web services;
Fig. 2 is the process flow diagram of the adapter middleware method based on web services.
Embodiment
For making object of the present invention, technical scheme and a little clearly, clearly, once developing simultaneously with reference to accompanying drawing, the present invention is described in more detail for embodiment.
See Fig. 1, the adapter middleware system of sing on web service, mainly comprises service adapter and arranges module, COS storehouse, access module, service parsing module, service encapsulates module and service release module.
Described service adapter arranges module, is used for the constrained input COS of configuration service adapter middleware system.Described service adapter arranges module, is also responsible for the management of maintenance service adapter middleware system.
The management of described maintenance service adapter middleware system, comprises system initialization and arranges and system update function.
The compatible communication of described service access module.Described service access module, is used for, according to the access service type determined after the coupling of COS storehouse, carrying out service call and obtaining data source.Source service can be mated by described service calling module.
Described COS storehouse, is used for depositing known COS.The type will be used for mating with the service of counting.Current access service type is determined by Service Matching.
Described service parsing module, is used for resolving the data model in the service of source, thus obtains concrete data model.
Described service encapsulates module, be used for resolve after data model carry out destination service form serviceization encapsulation.In described service class libraries, choose output type.And according to the service model of specified services in COS storehouse, the data model obtained in service parsing module is carried out service encapsulates.
Described service comprises service register module and service calling module in issuing.
Described service register module refers to that service needs to register in network segment server, and service can be called in the network segment.
Described service calling module refers to can carry out service call by the client in server, obtains data gateway data, and can carry out data transmission to data gateway.
See Fig. 2, the adapter middleware system of sing on web service, its concrete steps performed are:
Step S1: obtain source service list from service access module;
Step S2: according to known identification source, service model storehouse COS, and carry out service call according to the COS determined;
Step S3: carry out service and resolve, obtain source service data model;
Step S4: intended target COS in module is set at service adapter, and serviceization encapsulation is carried out to the data model after resolving;
Step S5: by service release module, the service after secondary encapsulation is issued.
Require in the present embodiment to guarantee that source service is in consolidated network environment with adapter middleware system.
When user is when calling source service, erection source COS is technical grade service OPCUA, destination service type is standards service WSDL, when its source COS is not mated with user's required service type, needs to carry out COS conversion by service adapter middleware system.
First, the adapter middleware system based on WEB service is placed in OPCUA network, according to the OPCUA service standard model in service model storehouse, Service Matching is carried out to source service.In the process that the service of realization is resolved, obtain OPCUA service list by adapter middleware system according to original equipment URL, and resolve OPCUA service and obtain the data model that services package contains, and leave in memory module.In this step, undertaken automatically reading and resolving by service adapter middleware system active connection source service.
Then by the data model after parsing, change according to the destination service type required in middleware system.In the present embodiment, destination service type is chosen to be WSDL standards service.In service library, choose WSDL service, according to WSDL model, serviceization encapsulation is carried out to data model, generate new WSDL service list.By the encapsulation of this model, user can be resolved by WSDL service client.
In sum, the present invention has good interactivity and extendability, and through the service adapter middleware system of sing on web, user does not need to consider its COS.Along with serving the perfect of class libraries, the function of service adapter can be expanded easily, simplifies the reciprocal process between service.Adopt middleware Technology, make system to rely on conventional network resources, carry out multiplexing functions, save the expense because service adapter process causes.
Claims (4)
1., based on the adapter middleware method of web services, it is characterized in that comprising the following steps:
Service adapter arranges module intended target COS to service encapsulates module;
Service access module converts source service to atomic service and exports service parsing module to;
Atomic service is mated by service parsing module in COS storehouse, carrying out service parsing, obtaining source data to service encapsulates module according to mating the COS obtained;
Service encapsulates module obtains service model corresponding to destination service type according to destination service type queries COS storehouse, and source data is carried out service encapsulates according to service model, obtains target atoms service and exports service release module to;
Target atoms service is issued by service release module.
2. the adapter middleware method based on web services according to claim 1, it is characterized in that, described service encapsulates module obtains service model corresponding to destination service type according to destination service type queries COS storehouse, and source data is carried out service encapsulates according to service model comprises the following steps:
Data modeling module acquisition service adapter arranges the destination service type that module is specified, and obtains service model be sent to service definition module according to destination service type queries COS storehouse;
Service definition module reads the source data that service parsing module exports, and receives the service model objective definition atomic service of data modeling module.
3., based on the adapter middleware system of web services, it is characterized in that comprising:
Service adapter arranges module and is used to specify destination service type to service encapsulates module;
Service access module is used for converting source service to atomic service and exports service parsing module to;
Service parsing module is used for atomic service to mate in COS storehouse, carrying out service parsing, obtaining source data to service encapsulates module according to mating the COS obtained;
Service encapsulates module is used for obtaining service model corresponding to destination service type according to destination service type queries COS storehouse, and source data is carried out service encapsulates according to service model, obtains target atoms service and exports service release module to;
Service release module is used for target atoms service to issue.
4. the adapter middleware system based on web services according to claim 3, is characterized in that described service encapsulates module comprises:
Data modeling module arranges for obtaining service adapter the destination service type that module specifies, and obtains service model be sent to service definition module according to destination service type queries COS storehouse;
The source data that service definition module exports for reading service parsing module, and receive the service model objective definition atomic service of data modeling module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410836608.8A CN105320517B (en) | 2014-12-29 | 2014-12-29 | Adapter middleware system and method based on web services |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410836608.8A CN105320517B (en) | 2014-12-29 | 2014-12-29 | Adapter middleware system and method based on web services |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105320517A true CN105320517A (en) | 2016-02-10 |
CN105320517B CN105320517B (en) | 2018-05-15 |
Family
ID=55247949
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410836608.8A Expired - Fee Related CN105320517B (en) | 2014-12-29 | 2014-12-29 | Adapter middleware system and method based on web services |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105320517B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107864302A (en) * | 2017-11-22 | 2018-03-30 | 泰康保险集团股份有限公司 | Telemarketing method of servicing, apparatus and system |
CN111698308A (en) * | 2020-06-05 | 2020-09-22 | 电子科技大学 | Service model and distributed data communication method based on SOA and DDS |
CN114930790A (en) * | 2020-08-17 | 2022-08-19 | 谷歌有限责任公司 | System service sharing between endpoint devices for increasing endpoint device capabilities |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7328282B2 (en) * | 2003-10-23 | 2008-02-05 | International Business Machines Corporation | Aspect oriented web service invocation |
CN101981897A (en) * | 2007-12-21 | 2011-02-23 | Abb研究有限公司 | Method and device for communicating according to the standard protocol OPC UA in a client/server system |
CN102118719A (en) * | 2009-12-30 | 2011-07-06 | 北京邮电大学 | Mobile intelligent information service system, adaptation converting device and method |
CN103699391A (en) * | 2013-12-30 | 2014-04-02 | 天津大学 | Web service transformation method from traditional web services to multi-dimensional semantic models |
-
2014
- 2014-12-29 CN CN201410836608.8A patent/CN105320517B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7328282B2 (en) * | 2003-10-23 | 2008-02-05 | International Business Machines Corporation | Aspect oriented web service invocation |
CN101981897A (en) * | 2007-12-21 | 2011-02-23 | Abb研究有限公司 | Method and device for communicating according to the standard protocol OPC UA in a client/server system |
CN102118719A (en) * | 2009-12-30 | 2011-07-06 | 北京邮电大学 | Mobile intelligent information service system, adaptation converting device and method |
CN103699391A (en) * | 2013-12-30 | 2014-04-02 | 天津大学 | Web service transformation method from traditional web services to multi-dimensional semantic models |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107864302A (en) * | 2017-11-22 | 2018-03-30 | 泰康保险集团股份有限公司 | Telemarketing method of servicing, apparatus and system |
CN107864302B (en) * | 2017-11-22 | 2020-09-08 | 泰康保险集团股份有限公司 | Telephone sales service method, device and system |
CN111698308A (en) * | 2020-06-05 | 2020-09-22 | 电子科技大学 | Service model and distributed data communication method based on SOA and DDS |
CN114930790A (en) * | 2020-08-17 | 2022-08-19 | 谷歌有限责任公司 | System service sharing between endpoint devices for increasing endpoint device capabilities |
Also Published As
Publication number | Publication date |
---|---|
CN105320517B (en) | 2018-05-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3399715B1 (en) | Protocol conversion method, platform, and protocol conversion gateway | |
CN109412877B (en) | Network capacity open system based on UTN network | |
CN105245445A (en) | Internet of things gateway | |
CN108370614A (en) | Method for converting protocol and device | |
CN105282019B (en) | Data gateway based on service can configure method and system | |
CN102546442A (en) | Communication protocol conversion technology | |
CN111064726B (en) | Method and system for realizing data conversion between GOOSE protocol and HDLC protocol | |
CN103220285A (en) | Access system based on RESTful interface in ubiquitous service environment | |
CN103997539A (en) | Radar operation state collecting and distributing system and method based on web service | |
CN105320517A (en) | Web service based adapter middleware system and method | |
CN103338267A (en) | SIP and Web service combined value added service platform for mobile intelligent community | |
CN101383786B (en) | Method for implementing data interchange between optical network terminal and customer terminal using household gateway | |
CN103873271A (en) | Gateway EoC terminal, and management system and management method thereof | |
CN106534286A (en) | System and method of connecting mesh network device to cloud user | |
KR101881025B1 (en) | Wireless modem and metering server for remote metering | |
CN104243198A (en) | Network management method and system based on network configuration protocol | |
CN102404356B (en) | Long-distance function call transmission adapter and data reading method thereof | |
KR101804886B1 (en) | Relay server | |
KR20190103520A (en) | The method for applying OCF standard of Non-IP devices | |
CN101577601A (en) | Device for interconnecting signaling among PCM equipment and application method | |
CN112887364B (en) | System and method for cloud video cross-network data synchronization and message distribution | |
CN101938308A (en) | SDH equipment and method for transmitting ECC information in network consisting of same | |
CN101662391B (en) | SNMPv3-based cluster management method of Ethernet switches | |
CN101465783A (en) | Connection method, device and connection network bridge for isomery household network appliances | |
CN102170439A (en) | Application service expansion system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180515 Termination date: 20211229 |
|
CF01 | Termination of patent right due to non-payment of annual fee |