CN103020210A - Method and device for integrating Oracle service bus (OSB) and business activity monitoring (BAM) - Google Patents

Method and device for integrating Oracle service bus (OSB) and business activity monitoring (BAM) Download PDF

Info

Publication number
CN103020210A
CN103020210A CN2012105238341A CN201210523834A CN103020210A CN 103020210 A CN103020210 A CN 103020210A CN 2012105238341 A CN2012105238341 A CN 2012105238341A CN 201210523834 A CN201210523834 A CN 201210523834A CN 103020210 A CN103020210 A CN 103020210A
Authority
CN
China
Prior art keywords
service
osb
bam
request
information
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
CN2012105238341A
Other languages
Chinese (zh)
Other versions
CN103020210B (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

Images

Abstract

The invention provides a method for integrating Oracle service bus (OSB) and business activity monitoring (BAM). The method comprises the following steps that 1, the OSB receives a simple object access protocol (SOAP) request of a client, and acquires service calling information of the SOAP request by using Xquery and Xpath languages through pipelines; 2, the OSB calls basic service to store the acquired service calling information into a database table; and 3, the BAM creates data objects according to the database table, and creates a showing report of showing requests by using the data objects. The invention further provides a device for integrating the OSB and the BAM. By the method and the device, the fussy operation of introducing the JCA (java connector architecture) Adpter into the OSB can be removed in the OSB and BAM integrating technology; the difficulty of writing XLST (extensible stylesheet language transformation) is reduced; the reusability is improved; and the client inquires the needed information by using the key words returned by the basic service, so that the client can conveniently misarrange.

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 the service bus OSB of oracle enterprise and BAM BAM integrated approach and device in a kind of Service-Oriented Architecture Based (Service-Oriented Architecture, SOA).
Background technology
Oracle enterprise's service bus (Oracle Service Bus, OSB) is the product that the traditional middleware technology is combined with technology such as XML, Web services.OSB provides connection maincenter the most basic in the network, is the essential elements of constructing nervous system of enterprise.The appearance of OSB 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, OSB provides the tupe of event-driven and document guiding, and distributed operational management mechanism, and it supports content-based routing and filtration, has possessed the transmittability of complex data, and a series of standard interface can be provided.
BAM (Business Activity Monitoring, BAM) provide the real time access to the Professional performance index, to improve speed and the efficient of professional running.
At present integrated what generally take all is use JCA binding technology scheme for OSB and BAM, utilized before this Oracle JDeveloper to create as requested JCA Adpter, after having created JCA Adpter, can generate three files, and then these three files are imported among the OSB, can generate a WSDL after having imported, then create corresponding business service, agency service according to this WSDL, also need simultaneously XLST of hand-coding, this XLST is that the information distribution that will need to show in the agency service message flow is to BAM.
There are following defective in existing OSB and BAM integrated technology scheme: create importing JCA Adpter and have troublesome operation to OSB, write XLST at every turn and exist difficulty and reusability not high.Each JCA Adpter that creates needs to carry out sequence of operations, and three File Uploads that also need after having created to generate are to the server at OSB place, such operation all too is loaded down with trivial details, also has sizable difficulty according to XSD hand-coding XLST simultaneously at every turn, and reusability is too low.
So, be necessary to provide a kind of new method, remove troublesome operation to be implemented in OSB and the BAM Integrated Solution, the raising interface message is banishd and is put the step reusability.
Summary of the invention
The object of the present invention is to provide a kind of OSB and BAM integrated approach and device, can in OSB and BAM integrated technology, remove and import JCA Adpter to the troublesome operation of OSB, reduce the difficulty of writing XLST, improve its reusability; And the critical field that client utilizes infrastructure service to return recalls information is inquired about needed information, makes things convenient for the client misarrangement.
For solving above technical matters, the invention provides a kind of service bus OSB of oracle enterprise and BAM BAM integrated approach, comprising:
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 the described service invocation information that infrastructure service will get access to and are saved in database table;
Step 3, BAM create data object according to described database table, utilize described data object to create the report that represents that represents demand.
Preferably, in the described step 1, specifically comprise:
1.1, the agency service of OSB receives client SOAP request, by the request pipeline SOAP request is routed to business service;
1.2, business service sends to service end by service end URL with SOAP request;
1.3, service end receives SOAP request, treatment S OAP request returns to client by the response pipeline through business service, agency service with the result.
Preferably, in the route of request pipeline, use Xquery and Xpath language to obtain service invocation information in the SOAP request by various functions, get access to simultaneously after these information and with them and be assigned to variable, carry out information data and preserve.
Preferably, in the described step 2, also further comprise: the critical field of recalls information is also returned in infrastructure service.
Preferably, described step 3 specifically comprises:
3.1, BAM creates data object according to described database table;
3.2, according to representing demand, BAM utilizes described data object to create the report that represents that represents demand.
For solving above technical matters, the present invention also provides a kind of service bus OSB of oracle enterprise and BAM BAM device, comprising: receiver module, and acquisition module, calling module, creation module,
Described receiver module is used for OSB and receives client SOAP request;
Described acquisition module is used for OSB and uses Xquery and Xpath language to obtain the service invocation information of SOAP request by pipeline;
Described calling module is used for OSB and calls the described service invocation information that infrastructure service will get access to and be saved in database table;
Described creation module is used for BAM and creates data object according to described database table, utilizes described data object to create the report that represents that represents demand.
Compared with prior art, a kind of OSB provided by the invention and BAM integrated approach and device, by in the route of request pipeline, use Xquery and Xpath language to obtain the service invocation information in the SOAP request by various functions and be assigned to variable and carry out information data and preserve to getting access to these information, can in the response pipeline, use these information datas; The critical field of recalls information is returned in simultaneously infrastructure service, and client is gone the needed information of inquiry among the bam by critical field afterwards, makes things convenient for the client misarrangement; At the BAM end, set up data object with those tables of infrastructure service data inserting, then according to the demand that represents, create the figure that represents miscellaneous, and create various querying conditions, dwindle query context.By method of the present invention, can in OSB and BAM integrated technology, remove and import JCA Adpter to the OSB troublesome operation, reduce hand-coding XLST difficulty, improve its reusability.
Description of drawings
Accompanying drawing described herein is used to provide a further understanding of the present invention, consists of a part of the present invention, and illustrative examples of the present invention and explanation thereof are used for explaining the present invention, do not consist of improper restriction of the present invention.In the accompanying drawings:
Fig. 1 is the process flow diagram of a kind of OSB provided by the invention and BAM integrated approach;
Fig. 2 is the structural representation of a kind of OSB provided by the invention and BAM integrating device.
Embodiment
In order to make technical matters to be solved by this invention, technical scheme and beneficial effect clearer, clear, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein 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.The service user is connected with the back-end services of trustship via this interface.Agency service is that " service bus " is in the definition of intermediary's Web service of this locality realization.Use the OSB control desk, can be according to the transport-type defining interface of WSDL and use, Configuration Agent service; And in message flow definition and collocation strategy, specify message processing logic.
Because agency service can be given the message route a plurality of business service, so can be independent of business service with agent communication, the interface of Configuration Agent service.In this case, the agency will be configured to the message flow definition, and it gives corresponding business service according to logical routing with the message route, then message data is mapped as the form that the business service interface needs.
The core of agency service is " context ", and context is one group of XML variable, is shared by request stream and response flow.Can dynamically add new variables to context, also can delete variable from context.The predefine context variable comprises the information of relevant information, transmission head, safety philosophy, the metadata of current agency service, and the agency service primary circuit routing service of calling and the metadata of issuing service.Context can be read and be changed by the Xquery expression formula, and upgrades by conversion and suitable renewal operation.
The present invention is in the message flow routed encapsulation of agency service, in route, use Xquery and Xpath language to Simple Object Access Protocol (Simple Object Access Protocol, SOAP) message is carried out various functions and is processed and compile, and at last these information is inserted in the database table.This process was divided into the next stage:
Figure BDA0000254469341
The stage_ValidateMsgHeader stage
This stage is that client SOAP request is carried out just level verification at the system entry end, to avoid invalid request, alleviates the pressure of server end, rationally utilizes the server end resource.Obtain SOURCE_SYSTEM_ID, SOURCE_SYSTEM_NAME, the several parameters such as USER_ID, USER_NAME of Msgheader during checking, and judge whether above parameter value exists or whether be empty, if there is no or be empty, receive interpolation initiation faulty operation interrupt request and directly return to client, can return miscue to client simultaneously.
Figure BDA0000254469342
The stage_InputForReport stage
This stage is to collect the solicited message that BAM need to show.By Xquery and Xpath language, use various functions to obtain service invocation information and be saved in the variable, otherwise these information will be lost in the response pipeline, and the service invocation information of obtaining comprises the address of service call time, service call IP, service call etc.
The stage_OutputForReport stage
This stage is that the service invocation information that the service side returns is saved in the variable, such as the success of the service call that returns identifier, service call successful information, call the information such as example ID, and by infrastructure service these information is stored in the database table.
Figure BDA0000254469344
The stage_baminfo stage
This stage is stored information in the database into except calling infrastructure service after exhibition information will being compiled, and also receives simultaneously the information that infrastructure service is returned.
Figure BDA0000254469345
The stage_ReplaceOutput stage
This stage is stored record into the crucial ID of the information on services in the database, by using replacement method that crucial ID is returned to client, so that when client is made mistakes at service call, the details when using these crucial ID to go query calls among the BAM, convenient service misarrangement.
As shown in Figure 1.The invention provides a kind of OSB and BAM integrated approach, may further comprise the 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 comprise:
1.1, the agency service of OSB receives client SOAP request, by the request pipeline SOAP request is routed to business service;
1.2, business service sends to service end by service end URL with SOAP request;
1.3, service end receives SOAP request, treatment S OAP request returns to client by the response pipeline through business service, agency service with the result.
Wherein, in the route of request pipeline, use Xquery and Xpath language to obtain service invocation information in the SOAP request by various functions, such as calling end IP, calling the information such as end time, invocation target address; Get access to simultaneously after these information and with them and be assigned to variable, carry out information data and preserve, in order to use these information datas in the response pipeline, otherwise these information datas are lost in the response pipeline.
Step 2, OSB call the described service invocation information that infrastructure service will get access to and are saved in database table.Specifically comprise:
2.1, OSB calls the described service invocation information that infrastructure service will get access in the pipeline in response and stores in the default database table.
2.2, infrastructure service returns the critical field of recalls information, make things convenient for client to go the needed information of inquiry among the bam by critical field afterwards, and make things convenient for the client misarrangement.
Step 3, BAM create data object according to described database table, utilize described data object to create the report that represents that represents demand.Specifically comprise:
3.1, BAM creates data object according to described database table;
3.2, according to representing demand, BAM utilizes described data object to create the report that represents that represents demand, such as creating the figures that represent miscellaneous such as 3D bar chart, broken line graph, constitutional diagram, gauging table, Excel.Create simultaneously various querying conditions, such as calling end IP, allocating time, Service name etc., dwindle query context by these querying conditions.
As shown in Figure 2.The invention provides a kind of OSB and BAM integrating device, comprising: receiver module 10, acquisition module 20, calling module 30, creation module 40.Wherein,
Receiver module 10 is used for OSB and receives client SOAP request.
Acquisition module 20 is used for OSB and uses Xquery and Xpath language to obtain the service invocation information of SOAP request by pipeline.
Calling module 30 is used for OSB and calls the described service invocation information that infrastructure service will get access to and be saved in database table.
Creation module 40 is used for BAM and creates data object according to described database table, utilizes described data object to create the report that represents that represents demand.
A kind of OSB provided by the invention and BAM integrated approach and device, OSB is after receiving client-requested, by in the routed encapsulation of request pipeline, use Xquery and Xpath language to obtain the service invocation information in the SOAP request by various functions and be assigned to variable and carry out information data and preserve to getting access to these information, by calling infrastructure service these information are write in the database table again; Then BAM creates data object take this database table as the basis, then sets up to represent report with recalls information with various pattern exhibitions out.By method of the present invention, can in OSB and BAM integrated technology, remove and import JCA Adpter to the troublesome operation of OSB, reduce the difficulty of hand-coding XLST, improve its reusability.
Above-mentioned explanation illustrates and has described a preferred embodiment of the present invention, but as previously mentioned, be to be understood that the present invention is not limited to the disclosed form of this paper, should not regard the eliminating to other embodiment as, and can be used for various other combinations, modification and environment, and can in invention contemplated scope described herein, change by technology or the knowledge of above-mentioned instruction or association area.And the change that those skilled in the art carry out and variation do not break away from the spirit and scope of the present invention, then all should be in the protection domain of claims of the present invention.

Claims (6)

1. the service bus OSB of oracle enterprise and BAM BAM integrated approach is characterized in that, comprising:
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 the described service invocation information that infrastructure service will get access to and are saved in database table;
Step 3, BAM create data object according to described database table, utilize described data object to create the report that represents that represents demand.
2. the method for claim 1 is characterized in that, in the described step 1, specifically comprises:
1.1, the agency service of OSB receives client SOAP request, by the request pipeline SOAP request is routed to business service;
1.2, business service sends to service end by service end URL with SOAP request;
1.3, service end receives SOAP request, treatment S OAP request returns to client by the response pipeline through business service, agency service with the result.
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 service invocation information in the SOAP request by various functions, get access to simultaneously after these information and with them and be assigned to variable, carry out information data and preserve.
4. the method for claim 1 is characterized in that, in the described step 2, also further comprises: the critical field of recalls information is also returned in infrastructure service.
5. the method for claim 1 is characterized in that, described step 3 specifically comprises:
3.1, BAM creates data object according to described database table;
3.2, according to representing demand, BAM utilizes described data object to create the report that represents that represents demand.
6. the service bus OSB of oracle enterprise and BAM BAM device is characterized in that, comprising: receiver module, and acquisition module, calling module, creation module,
Described receiver module is used for OSB and receives client SOAP request;
Described acquisition module is used for OSB and uses Xquery and Xpath language to obtain the service invocation information of SOAP request by pipeline;
Described calling module is used for OSB and calls the described service invocation information that infrastructure service will get access to and be saved in database table;
Described creation module is used for BAM and creates data object according to described database table, utilizes described data object to create the report that represents that represents demand.
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 true CN103020210A (en) 2013-04-03
CN103020210B 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)

Cited By (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 (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070162500A1 (en) * 2005-12-30 2007-07-12 Oracle International Corporation Incremental, real-time computation of aggregate expressions
US20090187919A1 (en) * 2008-01-23 2009-07-23 Oracle International Corporation Service oriented architecture-based scim platform
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
CN101853437A (en) * 2009-03-31 2010-10-06 软件Ag公司 The system and/or the method for end to end services workflow management, business event management and/or BAM
CN102347983A (en) * 2011-08-26 2012-02-08 四川长虹电器股份有限公司 ESB (Enterprise Service Bus) system in SOA (Service-Oriented Architecture)

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070162500A1 (en) * 2005-12-30 2007-07-12 Oracle International Corporation Incremental, real-time computation of aggregate expressions
US20090187919A1 (en) * 2008-01-23 2009-07-23 Oracle International Corporation Service oriented architecture-based scim platform
CN101853437A (en) * 2009-03-31 2010-10-06 软件Ag公司 The system and/or the method for end to end services workflow management, business event management and/or BAM
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
XUYUE1987: "BizTalk Server 2010:业务活动监视(BAM)", 《HTTP://WWW.SEARCHSOA.COM.CN/SHOUWCONTENT_56821.HTM》, 27 December 2011 (2011-12-27) *
孔祥瑞等: "基于企业服务总线的业务集成方法", 《计算机工程》, vol. 35, no. 16, 30 August 2009 (2009-08-30), pages 280 - 282 *
童鑫等: "面向SOA的企业服务总线研究与实现", 《计算机应用》, vol. 28, no. 3, 31 March 2008 (2008-03-31), pages 819 - 822 *
陈向东等: "一种新的基于事件面向服务的BAM系统设计研究术", 《计算机应用研究》, vol. 29, no. 3, 31 March 2012 (2012-03-31), pages 977 - 980 *

Cited By (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

Also Published As

Publication number Publication date
CN103020210B (en) 2016-06-29

Similar Documents

Publication Publication Date Title
CN102164186B (en) Method and system for realizing cloud search service
CN103049271B (en) The method and apparatus of the description document of automatic generation api interface
CN100547583C (en) Database automatically and the method that dynamically provides
CN102262680B (en) Distributed database proxy system based on massive data access requirement
CN102591724B (en) Method and device for information interaction
CN102902780B (en) A kind of uniform resource position mark URL dynamic matching method and device
CN104778211A (en) Method, client, server and system for refreshing partial page modules
CN102663009B (en) Web-service integration method supporting data privatization of enterprise users
CN103209223A (en) Distributed application conversation information sharing method and system and application server
CN102333108A (en) Distributed cache synchronization system and method
CN101686173A (en) Method, system and apparatus of service negotiation
CN102130959A (en) System and method for scheduling cloud storage resource
EP2778968B1 (en) Mobile telecommunication device remote access to cloud-based or virtualized database systems
CN102262674A (en) Data synchronization method and system for distributed memory database
US20130091416A1 (en) Method for establishing a relationship between semantic data and the running of a widget
CN101576922B (en) Access system and access method
CN109902114A (en) ES company-data multiplexing method, system, computer installation and storage medium
CN103530135A (en) Proxy service generating device and proxy service generating method
CN102761443A (en) Collocation method and device of command lines
CN110321120A (en) Data processing method, data processing equipment and computer readable storage medium
CN112650545A (en) Configuration management system, method and storage medium
CN100470546C (en) Data center server, data service system and data query method
CN103501341A (en) Method and device for establishing Web service
CN102316128A (en) A kind ofly be used to generate network service method and device
CN104731804B (en) A kind of method and device for establishing general polling frame

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C53 Correction of patent of 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
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

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

Granted publication date: 20160629

Termination date: 20161207