CN102158548A - Method for accessing external services into enterprise service bus - Google Patents

Method for accessing external services into enterprise service bus Download PDF

Info

Publication number
CN102158548A
CN102158548A CN2011100493700A CN201110049370A CN102158548A CN 102158548 A CN102158548 A CN 102158548A CN 2011100493700 A CN2011100493700 A CN 2011100493700A CN 201110049370 A CN201110049370 A CN 201110049370A CN 102158548 A CN102158548 A CN 102158548A
Authority
CN
China
Prior art keywords
service
message
external
esb
external service
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2011100493700A
Other languages
Chinese (zh)
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.)
CVIC Software Engineering Co Ltd
Original Assignee
CVIC Software Engineering 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 CVIC Software Engineering Co Ltd filed Critical CVIC Software Engineering Co Ltd
Priority to CN2011100493700A priority Critical patent/CN102158548A/en
Publication of CN102158548A publication Critical patent/CN102158548A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention relates to a method for accessing external services into an enterprise service bus, comprising the following steps of: determining a message format of each external service; developing a service access member according to a member frame provided by a bus; deploying the service access member and deploying the service access member to the bus so as to provide a runtime environment when the external services are accessed; developing a service unit and carrying out normalized description on the external services; deploying the service unit; and carrying out message interaction on other endpoints in the bus and endpoints corresponding to the external services so as to finish the function of integration of application systems. By means of the method for accessing the external services into the enterprise service bus, provided by the invention, the system services are accessed into the ESB (Enterprise Service Bus) by the enterprise service bus, and the external services are unifiedly expressed, and the services can be combined and arranged by a tool after accessed, therefore, the interaction and cooperation among a plurality of systems can be realized, and the flexible interaction among applications can be realized.

Description

A kind of ESB inserts the method for external service
Technical field
The present invention relates to application integration middleware Technology framework field, specifically is the method that a kind of ESB inserts external service.
Background technology
(Enterprise Service Bus ESB), is the product that the traditional middleware technology combines with technology such as XML, Web services to ESB.ESB provides connection maincenter the most basic in the network, is construct the neural essential elements of enterprise, also is the infrastructure that realizes the SOA framework.
The appearance of ESB has changed traditional software architecture, the solution more more cheap than traditional middleware product can be provided, simultaneously it can also eliminate the technological disparity between the different application, allows different application server coordinate operation, has realized communication and integration between the different services.On function, ESB provides the tupe of event-driven and document guiding, and distributed operational management mechanism, and it supports content-based route and filtration, has possessed the transmittability of complex data, and a series of standard interface can be provided.
The basic function of ESB comprises that service inserts, serves issue, service combination and layout, message route, protocol conversion etc., it is the basis of enterprise-level Service-Oriented Architecture Based, enterprise can highly distributed but in the framework that management is concentrated, to use and flow process based on standard, event driven service assembly.Owing to there are not characteristics such as single point failure, ESB have reliably, linear extendible, no performance bottleneck.ESB service---comprise applications/service logic and basic conversion, route, be connected, distribution service, any physical location deployment that can be from enterprise network and managing.ESB builds based on the industrywide standard that comprises XML and Web service fully, the unified application and architecture in enterprise, offer the value that IT department idea manages to obtain by characteristics such as huge profit usefulness, flexibility and quick structures, ESB has started next wave tide of economic comprehensive integrated scheme.
Traditional point-to-point application integration mode will finally cause the enterprise IT architecture spider webization, and incident is the maintenance cost of the complicated application architecture that ossifys, great number and market response speed slowly.ESB can help to simplify IT architecture (reducing quantity and the complexity of using integrated interface) as the message transmission keel of SOA framework, reduces operating cost, promotes service flexibility and market response speed, finally promotes the competitive advantage of enterprise.
At present, there is a large amount of operation systems of leaving in enterprise in using, these systems may provide Web service, EJB service, Corba service, RMI service etc., how to utilize low-cost the existing business system is integrated and can with carry out seamless integratedly in the system of building, be the subject matter that enterprise faces.ESB is as the infrastructure of carrying out system combination towards SOA, and how these system services could be linked in the ESB is to realize relatively core problem of SOA framework alternately.
Summary of the invention
The present invention is exactly for solving the interaction problems between a plurality of application systems in the process that makes up the SOA application, the method that provides a kind of ESB to insert external service is linked into system service by the ESB unification that (ESB can carry out with these services alternately among the ESB.If carry out alternately without ESB and these services, different services need be write different message formats and be carried out alternately, after ESB inserts these services, just can unify expression), and external service unified expression, can make up and layout service by instrument after service inserts, thereby realize mutual between a plurality of systems, cooperation, realization can be so that carry out mutual flexibly between using like this.
ESB provides the general interacting message framework and the componentization running environment of loose coupling, and normalization message route is the transmission of messages maincenter of ESB, is responsible for the message transmission between the bus internal services end points (i.e. Fu Wu standardization is represented).ESB comprises two kinds of service endpoints, and a kind of is the internal services end points, and a kind of is the external service end points.The service of internal services end points unique identification bus inside, it comprises the essential information of service, as service name etc.The external service end points is corresponding one by one with the internal services end points, and it comprises the essential information of external service, as address of service etc.Planningization message route can be routed to destination with request message by the information of internal services end points, also can send a message to the bus outside by the information that external terminal provides.
The present invention is when system combination, and the external service unification that needs are integrated is linked in the ESB, and dissimilar external service is unified expression in the mode of standard, and the basis of integration can be provided for dissimilar systems like this.
Specifically, the method for ESB access external service provided by the invention comprises the steps:
Determine the message format of external service: each external service, as Corba service, Web service, EJB service, own specific message format is all arranged, and the message format that these external service have standard in ESB inside inserts ESB with external service and two kinds of message formats need be changed;
Determine that according to the component framework that bus provides service inserts member, service inserts member and comprises message sending/receiving module and message conversion module; The message sending/receiving module realizes that service bus inside sends message request and receives the message response that external service sends to external service, and message conversion module realizes the standard message format of ESB inside and the conversion between the external service message format;
Deployment services inserts member, above-mentioned service is inserted component deployment in bus, with the runtime environment that provides external service to insert; Each ESB can provide a component framework and deployment framework, and deployment framework can be disposed the member bag of standard;
The exploitation service unit is with the external service description of standardizing;
Service unit is disposed, dispose and to be based on all that reference format and deployment framework realize, after deployment is finished at two end points of bus internal registration: an inner terminal and an external terminal, other end points that inner terminal is realized and bus is interior carry out interacting message, and external terminal provides the details of external service;
Other end points end points corresponding with external service in the bus carries out interacting message, to finish the integrated function of application system.
Above-mentioned interacting message is such: during the interacting message of ESB inside two kinds of roles are arranged: a kind of is service consumer, and a kind of is the ISP; Initiating the requested service end points is service consumer, and requested service endpoints is the ISP; After external service is linked into ESB, carry out following mutual:
The service consumer of ESB inside sends request to the inner terminal of external service correspondence;
Normalization message route routes requests to target endpoint, i.e. the inner terminal of external service correspondence;
Service access member connects after (logical process that external service corresponding with service end points receives after the message is finished by member) receives service request to be changed message, constructs the request message of external service and sends to external service;
After external service receives request, handle and send response message;
Service inserts member and receives external service and send the response of returning;
Service inserts member and response is converted in the ESB normalized information and sending gives service consumer.
A kind of ESB inserts the system of external service, and ESB provides the general interacting message framework and the componentization running environment of loose coupling, comprising:
Form determining unit: the message format of determining external service;
Service inserts member, and service inserts member and comprises message sending/receiving module and message conversion module; The message sending/receiving module realizes that service bus inside sends message request and receives the message response that external service sends to external service, and message conversion module realizes the standard message format of ESB inside and the conversion between the external service message format;
The normalization message router is realized the message transmission between the bus internal services end points;
The inner terminal registry is realized the inner terminal registration, and other end points that inner terminal is realized and bus is interior carry out interacting message;
The external terminal registry: realize the external terminal registration, external terminal provides the details of external service;
Service unit, with the external service description of standardizing, service unit is realized the deployment to inner endpoint registration storehouse and external terminal registry.
Described each service unit is an external service example, comprises the information of this Service Instance in the service unit.
The present invention has following advantage:
1. carry out external service integrated fast: only need develop a service for each external service and insert member, can finish access to external service.
2. be convenient to newly-built and the system that built carries out slitless connection: for legacy system, insert member by service and insert, need not to develop again, save the IT construction cost.If newly-built system with build system and carry out can realizing seamless integrated alternately.
3. have good autgmentability: the mode with member is linked into external service in the ESB, and the specific of member itself determined this method to have autgmentability.
4. provide good basis for system combination: expression is unified in various services in service bus inside, after external service inserts ESB inside, shielded the different situations of serving corresponding different type of messages and being difficult to integrate.
Description of drawings
Fig. 1 is the system architecture diagram of the embodiment of the invention;
Fig. 2 is the flow chart of the embodiment of the invention;
Fig. 3 is the flow chart of reciprocal process among Fig. 2.
Embodiment
Embodiment with indefiniteness further explains, illustrates the technical program below.
A kind of ESB inserts the method for external service, is achieved in that as shown in Figure 2
Start from step 1: the message format of determining external service: each external service, as Corba service, Web service, EJB service, own specific message format is all arranged, these external service have the message format of standard in ESB inside, external service is inserted ESB need be changed two kinds of message formats, has promptly determined the message format of external service.
Enter step 2 then: the component framework exploitation service that provides according to bus inserts member, and service inserts member and comprises message sending/receiving module and message conversion module; The message sending/receiving module realizes that service bus inside sends message request and receives the message response that external service sends to external service, and message conversion module realizes the standard message format of ESB inside and the conversion between the external service message format:.
Enter step 3 again: deployment services inserts member, and above-mentioned service is inserted component deployment in bus, so that the runtime environment of external service access to be provided:.
Enter step 4 then: the exploitation service unit, with the external service description of standardizing.
Enter step 5 again: service unit is disposed, after deployment is finished at two end points of bus internal registration: an inner terminal and an external terminal, other end points that inner terminal is realized and bus is interior carry out interacting message, and external terminal provides the details of external service.
Enter step 6 at last: other end points end points corresponding with external service in the bus carries out interacting message, to finish the integrated function of application system.
And message interaction process specifically is so as shown in Figure 3 in the step 6: during the interacting message of ESB inside two kinds of roles are arranged: a kind of is service consumer, and a kind of is the ISP; Initiating the requested service end points is service consumer, and requested service endpoints is the ISP; Normalization message route is the transmission of messages maincenter of ESB, is responsible for the message transmission between the bus internal services end points (i.e. Fu Wu standardization is represented); After external service is linked into ESB, carry out following mutual:
At first, the service consumer of ESB inside sends request to the inner terminal of external service correspondence;
The message of standardizing then route routes requests to target endpoint, i.e. the inner terminal of external service correspondence;
Service access member connects and after (logical process that external service corresponding with service end points receives after the message is finished by member) receives service request message is changed then, constructs the request message of external service and sends to external service;
After external service receives request then, handle and send response message to normalization message route;
Service inserts member and receives external service and send the response of returning then;
Service at last inserts member and response is converted in the ESB normalized information and sending gives service consumer, has finally realized the mutual of message.
Simultaneously, this example also provides a kind of ESB to insert the system of external service, and ESB provides the general interacting message framework and the componentization running environment of loose coupling, as shown in Figure 1, comprising:
Form determining unit: the message format of determining external service;
Service inserts member, and service inserts member and comprises message sending/receiving module and message conversion module; The message sending/receiving module realizes that service bus inside sends message request and receives the message response that external service sends to external service, and message conversion module realizes the standard message format of ESB inside and the conversion between the external service message format;
The normalization message router is realized the message transmission between the bus internal services end points;
The inner terminal registry is realized the inner terminal registration, and other end points that inner terminal is realized and bus is interior carry out interacting message;
The external terminal registry: realize the external terminal registration, external terminal provides the details of external service;
Service unit, with the external service description of standardizing, service unit is realized the deployment to inner endpoint registration storehouse and external terminal registry.

Claims (4)

1. the method for an ESB access external service is characterized in that comprising the steps:
Determine the message format of external service;
Determine that according to the component framework that bus provides service inserts member, service inserts member and comprises message sending/receiving module and message conversion module; The message sending/receiving module realizes that service bus inside sends message request and receives the message response that external service sends to external service, and message conversion module realizes the standard message format of ESB inside and the conversion between the external service message format;
Deployment services inserts member, above-mentioned service is inserted component deployment in bus, with the runtime environment that provides external service to insert;
Determine service unit, with the external service description of standardizing;
Service unit is disposed, disposed and to finish the back at two end points of bus internal registration: an inner terminal and an external terminal, inner terminal are realized carrying out interacting message with interior other end points of bus, and external terminal provides the details of external service;
Other end points end points corresponding with external service in the bus carries out interacting message, to finish the integrated function of application system.
2. ESB according to claim 1 inserts the method for external service, it is characterized in that: above-mentioned interacting message is such: during the interacting message of ESB inside two kinds of roles are arranged: a kind of is service consumer, and a kind of is the ISP; Initiating the requested service end points is service consumer, and requested service endpoints is the ISP; After external service is linked into ESB, carry out following mutual:
The service consumer of ESB inside sends request to the inner terminal of external service correspondence;
Normalization message route routes requests to target endpoint, i.e. the inner terminal of external service correspondence;
Service inserts after member receives service request to be changed message, constructs the request message of external service and sends to external service;
After external service receives request, handle and send response message;
Service inserts member and receives external service and send the response of returning;
Service inserts member and response is converted in the ESB normalized information and sending gives service consumer.
3. an ESB inserts the system of external service, and ESB provides the general interacting message framework and the componentization running environment of loose coupling, it is characterized in that comprising:
Form determining unit: the message format of determining external service;
Service inserts member, and service inserts member and comprises message sending/receiving module and message conversion module; The message sending/receiving module realizes that service bus inside sends message request and receives the message response that external service sends to external service, and message conversion module realizes the standard message format of ESB inside and the conversion between the external service message format;
The normalization message router is realized the message transmission between the bus internal services end points;
The inner terminal registry is realized the inner terminal registration, and other end points that inner terminal is realized and bus is interior carry out interacting message;
The external terminal registry: realize the external terminal registration, external terminal provides the details of external service;
Service unit, with the external service description of standardizing, service unit is realized the deployment to inner endpoint registration storehouse and external terminal registry.
4. ESB according to claim 3 inserts the system of external service, and it is characterized in that: described each service unit is an external service example, comprises the information of this Service Instance in the service unit.
CN2011100493700A 2011-03-02 2011-03-02 Method for accessing external services into enterprise service bus Pending CN102158548A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011100493700A CN102158548A (en) 2011-03-02 2011-03-02 Method for accessing external services into enterprise service bus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011100493700A CN102158548A (en) 2011-03-02 2011-03-02 Method for accessing external services into enterprise service bus

Publications (1)

Publication Number Publication Date
CN102158548A true CN102158548A (en) 2011-08-17

Family

ID=44439724

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011100493700A Pending CN102158548A (en) 2011-03-02 2011-03-02 Method for accessing external services into enterprise service bus

Country Status (1)

Country Link
CN (1) CN102158548A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102387075A (en) * 2011-10-18 2012-03-21 成都康赛电子科大信息技术有限责任公司 Dynamic service routing method and device for enterprise service bus
CN103200207A (en) * 2012-01-07 2013-07-10 湖南省电力勘测设计院 Implementation method of cross-isolation integration data exchange bus
CN103530135A (en) * 2013-10-31 2014-01-22 深圳中兴网信科技有限公司 Proxy service generating device and proxy service generating method
CN103763394B (en) * 2014-02-10 2017-05-31 赛特斯信息科技股份有限公司 Realize that EJB is accessed and recalled the system and method for ESB
WO2019109957A1 (en) * 2017-12-08 2019-06-13 深圳壹账通智能科技有限公司 Esb-based service providing method, apparatus and device, and readable storage medium
CN111163166A (en) * 2019-12-30 2020-05-15 广州银行股份有限公司 Enterprise service bus system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009034005A1 (en) * 2007-09-13 2009-03-19 International Business Machines Corporation Protocol for enabling dynamic and hierarchical interconnection of autonomous federations of enterprise service
CN101621516A (en) * 2009-08-10 2010-01-06 浙江大学 Interactive method for enterprise service bus and external Web service

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009034005A1 (en) * 2007-09-13 2009-03-19 International Business Machines Corporation Protocol for enabling dynamic and hierarchical interconnection of autonomous federations of enterprise service
CN101621516A (en) * 2009-08-10 2010-01-06 浙江大学 Interactive method for enterprise service bus and external Web service

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102387075A (en) * 2011-10-18 2012-03-21 成都康赛电子科大信息技术有限责任公司 Dynamic service routing method and device for enterprise service bus
CN102387075B (en) * 2011-10-18 2014-07-09 成都康赛信息技术有限公司 Dynamic service routing method and device for enterprise service bus
CN103200207A (en) * 2012-01-07 2013-07-10 湖南省电力勘测设计院 Implementation method of cross-isolation integration data exchange bus
CN103200207B (en) * 2012-01-07 2017-02-01 中国能源建设集团湖南省电力设计院有限公司 Implementation method of cross-isolation integration data exchange bus
CN103530135A (en) * 2013-10-31 2014-01-22 深圳中兴网信科技有限公司 Proxy service generating device and proxy service generating method
CN103763394B (en) * 2014-02-10 2017-05-31 赛特斯信息科技股份有限公司 Realize that EJB is accessed and recalled the system and method for ESB
WO2019109957A1 (en) * 2017-12-08 2019-06-13 深圳壹账通智能科技有限公司 Esb-based service providing method, apparatus and device, and readable storage medium
CN111163166A (en) * 2019-12-30 2020-05-15 广州银行股份有限公司 Enterprise service bus system
CN111163166B (en) * 2019-12-30 2022-03-22 广州银行股份有限公司 Enterprise service bus system

Similar Documents

Publication Publication Date Title
CN108449418B (en) Hybrid cloud platform management system and method
CN101299754B (en) End user control configuration system with dynamic user interface
Yu et al. A microservice based reference architecture model in the context of enterprise architecture
CN102158548A (en) Method for accessing external services into enterprise service bus
CN105183452B (en) Spring AOP-based remote protocol service system for monitoring power distribution equipment
WO2015188781A1 (en) Information processing method, device and system
JP2010231759A (en) Mobile terminal device including mobile cloud platform
KR100880536B1 (en) Open framework system for heterogeneous computing and service integration
CN105204812A (en) Plugin-based multi-interface display control system and integrating method thereof
Boyd et al. Building Real-time Mobile Solutions with MQTT and IBM MessageSight
CN102790708A (en) Equipment service adaptation method used in household network
CN102523242B (en) Goal state communication in computer clusters
CN102375894B (en) Method for managing different types of file systems
CN101459609A (en) Enterprise service bus implementing method
WO2022222901A1 (en) System architecture for implementing dds communication on basis of autosar, communication method, and device
CN104320441A (en) Method of sharing information between wireless communication systems
CN110086759A (en) A kind of method and apparatus for realizing message transmission between heterogeneous system
Yan et al. Researching and Designing the Architecture of E-government Based on SOA
CN102843432B (en) Network communication system applicable to sharing and synchronous updating of data at multiple clients
CN105812241A (en) Enterprise application integration method and system based on Spring Integration
EP1198101A1 (en) Provisioning mechanism for a service gateway
CN103529816B (en) A kind of upper computer control system based on Qt
CN101339520A (en) Method for accessing EJB into enterprise service bus
CN101795237A (en) Workflow integration method and device based on data exchange
CN103064688A (en) Workflow universal service method and 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
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110817