CN103020210B - A kind of oracle enterprise service bus and BAM integrated approach and device - Google Patents

A kind of oracle enterprise service bus and BAM integrated approach and device Download PDF

Info

Publication number
CN103020210B
CN103020210B CN201210523834.1A CN201210523834A CN103020210B CN 103020210 B CN103020210 B CN 103020210B CN 201210523834 A CN201210523834 A CN 201210523834A CN 103020210 B CN103020210 B CN 103020210B
Authority
CN
China
Prior art keywords
service
osb
bam
information
soap request
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.)
Expired - Fee Related
Application number
CN201210523834.1A
Other languages
Chinese (zh)
Other versions
CN103020210A (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.)
Shenzhen travel Polytron Technologies Inc
Original Assignee
SHENZHEN VISPRACTICE TECHNOLOGY Corp
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 SHENZHEN VISPRACTICE TECHNOLOGY Corp filed Critical SHENZHEN VISPRACTICE TECHNOLOGY Corp
Priority to CN201210523834.1A priority Critical patent/CN103020210B/en
Publication of CN103020210A publication Critical patent/CN103020210A/en
Application granted granted Critical
Publication of CN103020210B publication Critical patent/CN103020210B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

A kind of oracle enterprise service bus OSB and BAM BAM integrated approach, including: step 1, OSB receive the request of client simple object access protocol, use Xquery and Xpath language to obtain the service invocation information of SOAP request by pipeline;Step 2, OSB call infrastructure service and the described service invocation information got are saved in database table;Step 3, BAM create data object according to described database table, utilize described data object create represent demand represent report.The present invention also provides for a kind of OSB and BAM integrating device.By method provided by the invention and device, OSB and BAM integrated technology is removed the troublesome operation importing JCA Adpter to OSB, reduce and write XLST difficulty, improve its reusability;And client utilizes the information required for the critical field inquiry that infrastructure service returns, facilitate client misarrangement.<!--1-->

Description

A kind of oracle enterprise service bus and BAM integrated approach and device
Technical field
The present invention relates to computer realm, particularly relate to oracle enterprise service bus OSB and BAM BAM integrated approach and device in a kind of Service-Oriented Architecture Based (Service-OrientedArchitecture, SOA).
Background technology
Oracle enterprise's service bus (OracleServiceBus, OSB) is the product that traditional middleware technology is combined with the technology such as XML, Web service.OSB provides connection maincenter most basic in network, is the essential elements constructing nervous system of enterprise.The appearance of OSB changes traditional software architecture, the solution more more cheap than traditional middleware product can be provided, simultaneously it can also eliminate the technological disparity between different application, allows different application server coordinate operation, it is achieved that communication between different services and integration.Functionally seeing, OSB provides event-driven and the tupe of document guiding and distributed running fluidization air flow, and it supports content-based route and filtration, has possessed the transmittability of complex data, it is possible to provide a series of standard interface.
BAM (BusinessActivityMonitoring, BAM) provides the real time access to Professional performance index, to improve speed and the efficiency of business running.
Current OSB and BAM is integrated, and what generally take is all use JCA binding technology scheme, OracleJDeveloper was utilized to create JCAAdpter as requested before this, after having created JCAAdpter, three files can be generated, then again these three file is imported in OSB, a WSDL can be generated after having imported, corresponding business service, agency service is created then according to this WSDL, also need to hand-coding one XLST, this XLST simultaneously and be used in agency service message stream the information shown will be needed to distribute to BAM.
Existing OSB and BAM integrated technical solution has following defects that establishment imports JCAAdpter to OSB and there is troublesome operation, writes XLST every time and there is difficulty and reusability is not high.Create JCAAdpter to be required for carrying out sequence of operations every time, and also need on three files passe of generation to the server at OSB place after having created, such operation all too is loaded down with trivial details, there is also sizable difficulty according to XSD hand-coding XLST simultaneously every time, and reusability is too low.
Thus, it is necessary to provide a kind of new method, to realize removing troublesome operation in OSB and BAM Integrated Solution, improve interface message stream configuration step reusability.
Summary of the invention
It is an object of the invention to provide a kind of OSB and BAM integrated approach and device, it is possible in OSB and BAM integrated technology, remove the troublesome operation importing JCAAdpter to OSB, reduce the difficulty writing XLST, improve its reusability;And client utilizes infrastructure service to return the information required for the critical field inquiry of recalls information, facilitate client misarrangement.
For solving above technical problem, the present invention provides a kind of oracle enterprise service bus OSB and BAM BAM integrated approach, including:
Step 1, OSB receive the request of client simple object access protocol, use Xquery and Xpath language to obtain the service invocation information of SOAP request by pipeline;
Step 2, OSB call infrastructure service and the described service invocation information got are saved in database table;
Step 3, BAM create data object according to described database table, utilize described data object create represent demand represent report.
Preferably, in described step 1, specifically include:
1.1, the agency service of OSB receives client SOAP request, by asking pipeline that SOAP request is routed to business service;
1.2, SOAP request is sent to service end by service end URL by business service;
1.3, service end receives SOAP request, uses Xquery and Xpath Language Processing SOAP request, obtains the service invocation information result in SOAP request, and through business service, agency service, result is returned to client by responding pipeline.
Preferably, in the route of request pipeline, use Xquery and Xpath language to obtain the service invocation information in SOAP request by various functions, be assigned to variable after getting these information and by them simultaneously, carry out information data preservation.
Preferably, in described step 2, may further comprise: that infrastructure service also returns the critical field of recalls information.
Preferably, described step 3 specifically includes:
3.1, BAM creates data object according to described database table;
3.2, according to representing demand, BAM utilize described data object create represent demand represent report.
For solving above technical problem, the present invention also provides for a kind of oracle enterprise service bus OSB and BAM BAM device, including: receiver module, acquisition module, calling module, creation module,
Described receiver module, receives client SOAP request for OSB;
Described acquisition module, uses Xquery and Xpath language to obtain the service invocation information of SOAP request for OSB by pipeline;
Described calling module, calls infrastructure service for OSB and the described service invocation information got is saved in database table;
Described creation module, creates data object for BAM according to described database table, utilize described data object create represent demand represent report.
Compared with prior art, a kind of OSB and BAM integrated approach provided by the invention and device, by in the route of request pipeline, Xquery and Xpath language is used to obtain the service invocation information in SOAP request by various functions and be assigned to variable carry out information data preservation to getting these information, it is possible to use these information datas in responding pipeline;Infrastructure service simultaneously returns the critical field of recalls information, and client goes to inquire about in bam required information by critical field afterwards, facilitates client misarrangement;At BAM end, data object set up by those tables inserting data with infrastructure service, then according to the demand represented, creates the figure that represents miscellaneous, and creates various querying condition, reduce query context.Import JCAAdpter to OSB troublesome operation by means of the invention it is also possible to remove in OSB and BAM integrated technology, reduce hand-coding XLST difficulty, improve its reusability.
Accompanying drawing explanation
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the present invention, and the schematic description and description of the present invention is used for explaining the present invention, is not intended that inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of a kind of OSB and BAM integrated approach provided by the invention;
Fig. 2 is the structural representation of a kind of OSB and BAM integrating device provided by the invention.
Detailed description of the invention
In order to make the technical problem to be solved, technical scheme and beneficial effect clearly, understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein is only in order to explain the present invention, is not intended to limit the present invention.
Agency service is a key concept of OSB framework.Service user is connected with the back-end services of trustship via this interface.Agency service is the definition of intermediary's Web service that " service bus " realizes in this locality.Use OSB control station, can according to the transport-type defining interface of WSDL and use, Configuration Agent service;And specify message processing logic in the definition of message stream and collocation strategy.
Owing to message can be routed to multiple business service by agency service, therefore can independent of the business service with agent communication, the interface of Configuration Agent service.In this case, agency will be configured to the definition of message stream, and it is according to logical routing, and message is routed to corresponding business service, and then message data be mapped as the form that business service interface needs.
The core of agency service is " context ", and context is one group of XML variable, request stream and response flow share.New variables can be dynamically added to context, it is possible to delete variable from context.Predefined context variable comprises the information of relevant information, transmission head, safety philosophy, the metadata of current agent service, and the metadata of the primary circuit routing service called of agency service and issuing service.Context can be read by Xquery expression formula and change, and is updated by changing and suitably updating operation.
The present invention is in the message stream routed encapsulation of agency service, route use Xquery and Xpath language to Simple Object Access Protocol (SimpleObjectAccessProtocol, SOAP) message carry out various function process collect, finally these information are inserted in database table.This process is divided into the next stage:
The stage_ValidateMsgHeader stage
This stage is that at system entry end, client SOAP request is carried out preliminary authentication, to avoid invalid request, alleviates the pressure of server end, Appropriate application server end resource.Several parameter such as SOURCE_SYSTEM_ID, SOURCE_SYSTEM_NAME, USER_ID, USER_NAME of Msgheader is obtained during checking, and judge whether above parameter value exists or be whether empty, if there is no or be empty, receiving to add causes faulty operation interrupt requests to be directly returned to client, can return miscue to client simultaneously.
The stage_InputForReport stage
This stage is to collect the BAM solicited message needing to show.By Xquery and Xpath language, various function is used to obtain service invocation information and be saved in variable, otherwise these information will be lost in response pipeline, and the service invocation information of acquisition includes the address etc. of service call time, service call IP, service call.
The stage_OutputForReport stage
This stage is to be saved in variable by the service invocation information that service side returns, for instance service call success flag symbol, the service call successful information of return, call the information such as example ID, and these information is stored in database table by infrastructure service.
The stage_baminfo stage
This stage stores information in data base except to call infrastructure service after exhibition information being collected, and also receives the information that infrastructure service returns simultaneously.
The stage_ReplaceOutput stage
This stage is by the crucial ID of the information on services in record storage to data base, alternatively key ID is returned to client by making, so that client is when service call is made mistakes, details when using these crucial ID to go query calls in BAM, convenient service misarrangement.
As shown in Figure 1.The present invention provides a kind of OSB and BAM integrated approach, comprises the following steps:
Step 1, OSB receive client SOAP request, use Xquery and Xpath language to obtain the service invocation information of SOAP request by pipeline.Specifically include:
1.1, the agency service of OSB receives client SOAP request, by asking pipeline that SOAP request is routed to business service;
1.2, SOAP request is sent to service end by service end URL by business service;
1.3, service end receives SOAP request, uses Xquery and Xpath Language Processing SOAP request, obtains the service invocation information result in SOAP request, and through business service, agency service, result is returned to client by responding pipeline.
Wherein, in the route of request pipeline, Xquery and Xpath language is used to obtain the service invocation information in SOAP request by various functions, for instance to call end IP, call the information such as end time, invocation target address;Being assigned to variable after getting these information and by them simultaneously, carry out information data preservation, in order to use these information datas in response pipeline, otherwise these information datas are lost in response pipeline.
Step 2, OSB call infrastructure service and the described service invocation information got are saved in database table.Specifically include:
2.1, OSB calls infrastructure service and the described service invocation information got is stored in default database table in response pipeline.
2.2, infrastructure service returns the critical field of recalls information, facilitates client to pass through critical field and goes to inquire about in bam required information afterwards, and facilitates client misarrangement.
Step 3, BAM create data object according to described database table, utilize described data object create represent demand represent report.Specifically include:
3.1, BAM creates data object according to described database table;
3.2, according to representing demand, BAM utilize described data object create represent demand represent report, for instance create that 3D bar diagram, broken line graph, constitutional diagram, gauge table, Excel etc. are miscellaneous represents figure.Create various querying condition, for instance call end IP, allocating time, Service name etc., reduce query context by these querying conditions simultaneously.
As shown in Figure 2.The present invention provides a kind of OSB and BAM integrating device, including: receiver module 10, acquisition module 20, calling module 30, creation module 40.Wherein,
Receiver module 10, receives client SOAP request for OSB.
Acquisition module 20, uses Xquery and Xpath language to obtain the service invocation information of SOAP request for OSB by pipeline.
Calling module 30, calls infrastructure service for OSB and the described service invocation information got is saved in database table.
Creation module 40, creates data object for BAM according to described database table, utilize described data object create represent demand represent report.
A kind of OSB and BAM integrated approach provided by the invention and device, OSB is after receiving client request, by in the routed encapsulation of request pipeline, use Xquery and Xpath language obtain the service invocation information in SOAP request by various functions and be assigned to variable carry out information data preservation to getting these information, again through calling infrastructure service, these information are write in database table;Then BAM creates data object based on this database table, then sets up and represents report by recalls information with various pattern exhibitions out.By means of the invention it is also possible to remove the troublesome operation importing JCAAdpter to OSB in OSB and BAM integrated technology, reduce the difficulty of hand-coding XLST, improve its reusability.
Described above illustrate and describes a preferred embodiment of the present invention, but as previously mentioned, it is to be understood that the present invention is not limited to form disclosed herein, it is not to be taken as the eliminating to other embodiments, and can be used for other combinations various, amendment and environment, and in invention contemplated scope described herein, can be modified by the technology of above-mentioned instruction or association area or knowledge.And the change that those skilled in the art carry out and change are without departing from the spirit and scope of the present invention, then all should in the protection domain of claims of the present invention.

Claims (5)

1. an oracle enterprise service bus OSB and BAM BAM integrated approach, it is characterised in that including:
Step 1, OSB receive the request of client simple object access protocol, use Xquery and Xpath language to obtain the service invocation information of SOAP request by pipeline;
Step 2, OSB call infrastructure service and the described service invocation information got are saved in database table;
Step 3, BAM create data object according to described database table, utilize described data object create represent demand represent report.
2. the method for claim 1, it is characterised in that in described step 1, specifically include:
1.1, the agency service of OSB receives client SOAP request, by asking pipeline that SOAP request is routed to business service;
1.2, SOAP request is sent to service end by service end URL by business service;
1.3, service end receives SOAP request, uses Xquery and Xpath Language Processing SOAP request, obtains the service invocation information result in SOAP request, and through business service, agency service, result is returned to client by responding pipeline.
3. method as claimed in claim 1 or 2, it is characterized in that, in the route of request pipeline, use Xquery and Xpath language to obtain the service invocation information in SOAP request by various functions, it is assigned to variable after getting these information and by them simultaneously, carries out information data preservation.
4. the method for claim 1, it is characterised in that in described step 2, may further comprise: that infrastructure service also returns the critical field of recalls information.
5. an oracle enterprise service bus OSB and BAM BAM device, it is characterised in that including: receiver module, acquisition module, calling module, creation module,
Described receiver module, receives client SOAP request for OSB;
Described acquisition module, uses Xquery and Xpath language to obtain the service invocation information of SOAP request for OSB by pipeline;
Described calling module, calls infrastructure service for OSB and the described service invocation information got is saved in database table;
Described creation module, creates data object for BAM according to described database table, utilize described data object create represent demand represent report.
CN201210523834.1A 2012-12-07 2012-12-07 A kind of oracle enterprise service bus and BAM integrated approach and device Expired - Fee Related CN103020210B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210523834.1A CN103020210B (en) 2012-12-07 2012-12-07 A kind of oracle enterprise service bus and BAM integrated approach and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210523834.1A CN103020210B (en) 2012-12-07 2012-12-07 A kind of oracle enterprise service bus and BAM integrated approach and device

Publications (2)

Publication Number Publication Date
CN103020210A CN103020210A (en) 2013-04-03
CN103020210B true CN103020210B (en) 2016-06-29

Family

ID=47968814

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210523834.1A Expired - Fee Related CN103020210B (en) 2012-12-07 2012-12-07 A kind of oracle enterprise service bus and BAM integrated approach and device

Country Status (1)

Country Link
CN (1) CN103020210B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103530135A (en) * 2013-10-31 2014-01-22 深圳中兴网信科技有限公司 Proxy service generating device and proxy service generating method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101621516A (en) * 2009-08-10 2010-01-06 浙江大学 Interactive method for enterprise service bus and external Web service
CN101794409A (en) * 2009-11-18 2010-08-04 山东浪潮齐鲁软件产业股份有限公司 Real-time data exchange model of cross-platform application system
CN102347983A (en) * 2011-08-26 2012-02-08 四川长虹电器股份有限公司 ESB (Enterprise Service Bus) system in SOA (Service-Oriented Architecture)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8886549B2 (en) * 2005-12-30 2014-11-11 Oracle International Corporation Incremental, real-time computation of aggregate expressions
US9654515B2 (en) * 2008-01-23 2017-05-16 Oracle International Corporation Service oriented architecture-based SCIM platform
US8171492B2 (en) * 2009-03-31 2012-05-01 Software Ag Systems and/or methods for end-to-end business process management, business event management, and/or business activity monitoring

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101621516A (en) * 2009-08-10 2010-01-06 浙江大学 Interactive method for enterprise service bus and external Web service
CN101794409A (en) * 2009-11-18 2010-08-04 山东浪潮齐鲁软件产业股份有限公司 Real-time data exchange model of cross-platform application system
CN102347983A (en) * 2011-08-26 2012-02-08 四川长虹电器股份有限公司 ESB (Enterprise Service Bus) system in SOA (Service-Oriented Architecture)

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
BizTalk Server 2010:业务活动监视(BAM);xuyue1987;《http://www.searchsoa.com.cn/shouwcontent_56821.htm》;20111227;第4页第4段-第6页第3小节 *
一种新的基于事件面向服务的BAM系统设计研究术;陈向东等;《计算机应用研究》;20120331;第29卷(第3期);977-980 *
基于企业服务总线的业务集成方法;孔祥瑞等;《计算机工程》;20090830;第35卷(第16期);280-282 *
面向SOA的企业服务总线研究与实现;童鑫等;《计算机应用》;20080331;第28卷(第3期);819-822 *

Also Published As

Publication number Publication date
CN103020210A (en) 2013-04-03

Similar Documents

Publication Publication Date Title
KR101004576B1 (en) Concatenation discovery web service
JP4473128B2 (en) Method and apparatus that allows associated portlets of a web portal to collaborate for synchronized content display
JP4218759B2 (en) Method and apparatus for relaying session information from portal server
US7930702B2 (en) Web services layer synchrony in relation to the business layer synchrony
CN102902780B (en) A kind of uniform resource position mark URL dynamic matching method and device
CN102262680B (en) Distributed database proxy system based on massive data access requirement
CN101098248B (en) Method and system for implementing universal network management based on configuration describing document
CN102663009B (en) Web-service integration method supporting data privatization of enterprise users
US20110022582A1 (en) Indexing of Partitioned External Data Sources
CN101609415B (en) Universal service calling system and method based on middleware
EP2778968B1 (en) Mobile telecommunication device remote access to cloud-based or virtualized database systems
CN103026355A (en) Database management system
CN101304360A (en) System and method for virtualization of user digital terminal
CN101977121A (en) Configuration file processing method, device and system
CN102130959A (en) System and method for scheduling cloud storage resource
CN101504672A (en) Method and system for dynamically configuring physical data table
CN102333108A (en) Distributed cache synchronization system and method
CN103927331A (en) Data querying method, data querying device and data querying system
CN109902114A (en) ES company-data multiplexing method, system, computer installation and storage medium
CN103761102A (en) Unified data service platform and implementation method thereof
US9652309B2 (en) Mediator with interleaved static and dynamic routing
CN105446981B (en) Map of website generation method, access method and device
CN103020210B (en) A kind of oracle enterprise service bus and BAM integrated approach and device
US20100064005A1 (en) Content acquisition processing device, content distribution system, content acquisition processing method, and its program
CN105740251B (en) Method and system for integrating different content sources in bus mode

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C53 Correction of patent for invention or patent application
CB02 Change of applicant information

Address after: 518057 Guangdong city of Shenzhen province Nanshan District South Road seven No. 002 Shenzhen Digital Technology Park B1 building 6 floor A District No. 1

Applicant after: Shenzhen Vispractice Technology Corporation

Address before: 518057, Guangdong Province, Nanshan District hi tech Zone, North Road, Lang Lang, No. 13 Thunis building, C,, C302

Applicant before: Shenzhen Vispractice Technology Corporation

C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 518057 Guangdong city of Shenzhen province Nanshan District South Road seven No. 002 Shenzhen Digital Technology Park B1 building 6 floor A District No. 1

Patentee after: Shenzhen travel Polytron Technologies Inc

Address before: 518057 Guangdong city of Shenzhen province Nanshan District South Road seven No. 002 Shenzhen Digital Technology Park B1 building 6 floor A District No. 1

Patentee before: Shenzhen Vispractice Technology Corporation

CP01 Change in the name or title of a patent holder
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160629

Termination date: 20161207

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