Presentation is loading. Please wait.

Presentation is loading. Please wait.

© 2008 OSIsoft, Inc. | Company Confidential Data Access Ray Verhoeff Bodo Bachmann.

Similar presentations


Presentation on theme: "© 2008 OSIsoft, Inc. | Company Confidential Data Access Ray Verhoeff Bodo Bachmann."— Presentation transcript:

1

2 © 2008 OSIsoft, Inc. | Company Confidential Data Access Ray Verhoeff Bodo Bachmann

3 3 © 2008 OSIsoft, Inc. | Company Confidential Agenda The data access “surface area” –PI AF & RtBaseline Services –OPC –SQL-based data access Data Access RtBaseline Services for Thin Clients OPC ODBC & JDBC OLE DB

4 4 © 2008 OSIsoft, Inc. | Company Confidential “Surface Area” Collection of all techniques for accessing all or part of the PI System –PI SDK –PI API* –AF SDK Including AN SDK –OPC Both COM-based and OPC UA –SQL-based access OLE DB ODBC JDBC

5 5 © 2008 OSIsoft, Inc. | Company Confidential RtBaseline Services Data Access for OSIsoft Thin Client Applications PI Server RtWebParts RtReports RtPortal iViews RtBaselineRtPortal Internet Explorer Thin Client RtWebParts RtBaseline Services* Transactional, Web service, and other data Thin Client RtReports Generator Data HTML

6 6 © 2008 OSIsoft, Inc. | Company Confidential Roadmap Object model –Add full-fidelity PI data access to AF SDK Service model –Access to PI System data In: path (tag or Element.Attribute) Out: data (timeseries or other)

7 7 © 2008 OSIsoft, Inc. | Company Confidential Data Access through the AF SDK AFElement AFAttribute AFAttributes GetValue(…) GetValues(…)* GetValue(…) GetValues(…) …and add Events

8 8 © 2008 OSIsoft, Inc. | Company Confidential AF SDK Data Access with RtBLS RtBaseline provides: –Access to many data sources –Connection pooling –User session management –Data caching AF will use Data References based on RtBaseline Services AF Data Reference RtBaseline Services

9 9 © 2008 OSIsoft, Inc. | Company Confidential OSIsoft and OPC OPC COM-based standard –DA and HDA Servers What is the OPC Foundation doing next? –OPC Unified Architecture (UA)!

10 10 © 2008 OSIsoft, Inc. | Company Confidential Why a new OPC architecture? Organize data around Nodes and Relationships Unified API for different classes of data access Browse & Search to aid in discovery Extensibility for supporting complex data structures Mitigate security threats Standards-based, flexible transport –Binary/TCP –XML/SOAP Cross-platform interoperability

11 11 © 2008 OSIsoft, Inc. | Company Confidential OPC UA Topics Address Space Relationships “Information Model” Profiles Transport Security

12 12 © 2008 OSIsoft, Inc. | Company Confidential OPC UA Address Space “Set of objects and relationships exposed by an OPC UA Server” Nodes: –Have Attributes, which have values –Minimum: Node name Node type Node id All objects are nodes, not all nodes are objects

13 13 © 2008 OSIsoft, Inc. | Company Confidential OPC UA Relationships All Nodes exist at least in a hierarchy Nodes may have references to each other –Allows rendering of network relationships Server may show subsets called Views –Views are also hierarchies –Client can browse available Views –Default View is entire hierarchy

14 14 © 2008 OSIsoft, Inc. | Company Confidential Mapping OSIsoft’s Technology into OPC UA Analysis Framework Information Modeling OSIsoft Technology OPC UA Technology Real-time and Historical data Data Access and Historical Access PI Notifications, Analytics Events, A&C, Programs High Availability, PI Security Redundancy, UA Security

15 15 © 2008 OSIsoft, Inc. | Company Confidential OPC UA Information Model Definition: –Specific design of Nodes and Relationships to support the data access requirements of an industry domain –For example, in upstream oil & gas: Well Tubing Casing

16 16 © 2008 OSIsoft, Inc. | Company Confidential Collaboration and Partnership Collaboration with ISA (S88, S95, S99) Collaboration with MIMOSA Partnership with ISA Partnership with PRODML Collaboration with IEC Collaboration with OAGi Collaboration with EDDL Collaboration with FDT Collaboration with PLCOpen Partnership/Collaboration with automation.com Collaboration with MS MUG & NAMUR Partnership with OPCconnect.com

17 17 © 2008 OSIsoft, Inc. | Company Confidential OPC UA Profiles Client can obtain from Server exact features supported Profiles define: –Security model –Support for levels of DA, HDA, A&E –Transport

18 18 © 2008 OSIsoft, Inc. | Company Confidential OPC UA Transport Actual transport not specified by OPC Transport Profiles: –SOAP or TCP/IP Payload Profiles: –XML or Binary

19 19 © 2008 OSIsoft, Inc. | Company Confidential OPC UA Security Client and Server hold X.509 v3 Certificates How they are obtained is not defined by UA GetSecurityPolicies to exchange certificates RequestSecurityToken to create secure session

20 20 © 2008 OSIsoft, Inc. | Company Confidential OPC UA Security Requirements –authentication –integrity –confidentiality –authorization –non-repudiation –availability

21 21 © 2008 OSIsoft, Inc. | Company Confidential OPC UA Security Threat Types Message flooding Eavesdropping Message spoofing Message alteration Message replay Malformed messages Server profiling Session hijacking Rogue Client or Server Compromising user credentials

22 22 © 2008 OSIsoft, Inc. | Company Confidential OPC UA Transport Profiles Message Encoding: 1.UA XML = XML Schema + WSDL 2.UA Binary = OPC Binary Schema Transport: 1.HTTP/HTTPS 2.TCP/IP UA Stack Profiles: 1.XML Web Service (XML or UA Binary) 2.Native Binary (UA Binary, UA Secure Conversation, UA TCP) 3.Native Binary with SOAP/HTTP Message Encoding LayerUA XML UA Binary Message Transport Layer SOAP 1.2 HTTP/HTTPS SOAP 1.2 HTTP/HTTPS UA TCP TCP/IP Secure Channel Layer WS Secure ConversationUA Secure Conversation XML Web ServicesNative Binary

23 23 © 2008 OSIsoft, Inc. | Company Confidential 23 What OPC UA can offer? Flexible architecture that can encompass other data models Unified approach to well established OPC data specifications: –Data Access (DA), Historical Data Access (HDA) –Alarms & Events (A&E) Framework is built with Service Oriented Architecture –Service model architecture and implementation provides platform independence Able to use Web Services as transport Built with security in mind Aimed at different level applications –from device level to Enterprise level

24 24 © 2008 OSIsoft, Inc. | Company Confidential OPC UA Server for PI System The PI System AF Server Event Frames PI Server Subsystems Internal Data Access Services PI Notifications XML via HTTP/HTTPS UA - WCF Client 1 Windows Binary via HTTP/HTTPS UA - Java Client 2 Linux XML/Binary via HTTP/HTTPS OPC-COM with UA Proxy Client 3 Windows UA - ANSI C Client 4 Embedded OS Binary via UA TCP Replication and Management Services

25 25 © 2008 OSIsoft, Inc. | Company Confidential SQL based Data Access

26 26 © 2008 OSIsoft, Inc. | Company Confidential Data Access - Overview WebServices (i.e. RtBaseline Services) – Provide Data to Web Applications OLEDB – Data Access via SQL Queries ODBC – Data Access via SQL Queries OPC DA/HDA/UA – Data Access to the PI System via OPC Standard PI Data is available via common standards Data Access RtBaseline Services for Thin Clients OLEDB OPC ODBC

27 27 © 2008 OSIsoft, Inc. | Company Confidential Data Access Via PI OLEDB PI OLEDB provider allows applications (OLE DB consumers) working with PI data through SQL queries: renew PI OLEDB Architecture introduce JDBC support „PI System“ OLE DB Consumer PI OLEDB Provider SQL Engine Client Application SQL Queries PI Server OLE DB/ COM

28 28 © 2008 OSIsoft, Inc. | Company Confidential Data structured and organized by Assets Spans multiple PI Systems Incorporates non time series Data Honeywell ABB … … Time Series Data Sources OPC Interface OPC Interface XML Interface XML Interface Modbus Interface Modbus Interface SNMP Interface SNMP Interface Generic Interfaces Honeywell Interface Honeywell Interface ABB Interface ABB Interface Delta-V Interface Delta-V Interface Rockwell Interface Rockwell Interface Vendor Specific Interfaces PI Server 1 Delta-V Rockwell Other Non Time Series Data Sources … … SCM RDBMS MES AF Asset-Equipment Centric access to the Data Honeywell ABB … … Time Series Data Sources OPC Interface OPC Interface XML Interface XML Interface Modbus Interface Modbus Interface SNMP Interface SNMP Interface Generic Interfaces Honeywell Interface Honeywell Interface ABB Interface ABB Interface Delta-V Interface Delta-V Interface Rockwell Interface Rockwell Interface Vendor Specific Interfaces PI Server 2 Delta-V Rockwell Other „Meta“-Data Time Series Data AF in the PI System

29 29 © 2008 OSIsoft, Inc. | Company Confidential New Architecture Multi-standard and multi-platform architecture One connection allows querying multiple data sources Standard implementation separated from SQL functionality Prepared for heterogenious query engine PI Servers AF Database JDBC New SQL Standards Third party data source Consumer / Client OLE DB Network PI SQL DAS Network Consumer / Client ODBC (possible)

30 30 © 2008 OSIsoft, Inc. | Company Confidential PI DAS New Resource Management PI SQL DAS Deployment options for example: 1x PI SQL DAS for Web Farm 1x PI SQL DAS for Reporting 1x PI SQL DAS for Clients PI Servers AF Database Third party data source JDBC Consumer / Client OLE DB Network PI SQL DAS Network Paging Protects server from huge data requests Decreases memory requirements Caching Smart memory management

31 31 © 2008 OSIsoft, Inc. | Company Confidential Demo Linux (ubuntu7.10) DBVisualizer allows to access and explore any jdbc Driver PI JDBC (Bridge) talking to PI OLEDB

32 32 © 2008 OSIsoft, Inc. | Company Confidential PI Servers JDBC C++ Library Multi-Platform Network PI SQL DAS protocol WCF C++ RDSA WCF Client Application PI JDBC PI JDBC Bridge v1 Windows + Linux 32bit requires PI OLEDB meant to support Java server apps PI JDBC Bridge Architecture Details PI OLEDB RDSA

33 33 © 2008 OSIsoft, Inc. | Company Confidential Demo

34 34 © 2008 OSIsoft, Inc. | Company Confidential PI Servers Consumer Network PI SQL DAS PI System OLEDB v1 Architecture AF SDK AF Server Windows based Linked to AF SDK Access via AF Server AF Server Third party data source PISysOLEDB

35 35 © 2008 OSIsoft, Inc. | Company Confidential Development Roadmap - PI SQL DAS PISysOLEDB v1 –OLE DB w. integrated PI SQL DAS –Mainly AF tables –Read-only »Release schedule ~ Q2/2009 PI SQL DAS v2 –Server side PI SQL DAS –JDBC (Linux supported) –Event Frames »Release ~ 2010

36 36 © 2008 OSIsoft, Inc. | Company Confidential Examples: GoTo Expo - Data Access: PI OLEDB, PISysOLEDB, JDBC Bridge Learning Labs / Tutorials TitleLocationRemark PI OLEDB BasicsDEVNET, PIPC\OLEDB\Tutorials Getting Started Creating SSRS Reports with PI OLEDBDEVNET, PIPC\OLEDB\Tutorials Integration with MS SQL Server 2005 Reporting Services (SSRS) Building a PI OLEDB/SQL Web ServiceDEVNET, PIPC\OLEDB\Tutorials Create a Web Service for executing PI OLEDB queries utilizing Visual Studio.NET 2003; Also includes Client ADO.NET Programming via PI OLEDBDEVNET, PIPC\OLEDB\Tutorials Create an ADO.NET client for PI OLEDB, utilizing Visual Studio.NET 2003 Complementing RtWebParts with PI OLEDB DEVNET, PIPC\OLEDB\Tutorials RtWebParts accessing PI Batches and Calculations via PI OLEDB DataSets Remote Execution of PI SQL Queries from a SQL Server 2005 Stored Procedure (CLR), (Query PI OLEDB Web Service) DEVNET, PIPC\OLEDB\Tutorials CLR Stored Procedure developed in Visual Studio 2005 PI OLEDB based SSIS Package for PI Annotated Data Replication PIPC\OLEDB\Tutorials\Annotation Replication Integration with MS SQL Server 2005 Integration Services (SSIS) MDB–BDB TutorialPIPC\OLEDB\Doc PIOLEDB Manual, Appendix B Relational Model for PI Batches and PI Module Database; How to Query PI Batches

37 37 © 2008 OSIsoft, Inc. | Company Confidential


Download ppt "© 2008 OSIsoft, Inc. | Company Confidential Data Access Ray Verhoeff Bodo Bachmann."

Similar presentations


Ads by Google