{"id":22067,"date":"2017-02-02T12:22:22","date_gmt":"2017-02-02T04:22:22","guid":{"rendered":"http:\/\/localhost\/help\/?page_id=22067"},"modified":"2024-05-30T13:02:18","modified_gmt":"2024-05-30T05:02:18","slug":"architecture","status":"publish","type":"page","link":"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-primers\/architecture\/","title":{"rendered":"Architecture"},"content":{"rendered":"\n<h2 class=\"page-subheading\">Overview<\/h2>\n<p class=\"intro-text\">IFS OI Server is designed to provide access to data from one or more different sources. Server also has extensive data modelling capabilities, for structuring and defining this data.<\/p>\n<p class=\"intro-text\">IFS OI Explorer represents this data on <em>Pages, Trends<\/em>, and the <em>Tag and Hierarchy<\/em> navigators.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2024\/05\/Snag_42fa7fe.png\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-66901\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2024\/05\/Snag_42fa7fe.png\" alt=\"\" width=\"450\" height=\"89\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2024\/05\/Snag_42fa7fe.png 577w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2024\/05\/Snag_42fa7fe-150x30.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2024\/05\/Snag_42fa7fe-48x9.png 48w\" sizes=\"auto, (max-width: 450px) 100vw, 450px\" \/><\/a><\/p>\n<p class=\"intro-text\">Server and Explorer are secured by IFS OI Security, which is also used to manage user roles and permissions for the different tasks and views.<\/p>\n<p class=\"intro-text\">\u00a0<\/p>\n<hr \/>\n<h2 class=\"page-subheading\">Overview of Server's Architecture<\/h2>\n<p class=\"intro-text\">As part of Server's configuration, <em>Datasource<\/em> connections are defined; each datasource provides a connection to an external data source (an historian or a relational database).<\/p>\n<p class=\"intro-text\">Data is returned from these datasources as <em>Tags<\/em> (from historians) or <em>Dataset<\/em> results (tabular data), from relational databases.<\/p>\n<h3>Data Modelling in Server<\/h3>\n<p class=\"intro-text\">Data can be modelled and defined in Server, to make it easier to identify, locate and use in Explorer (and other applications).<\/p>\n<p class=\"note\"><strong>Note<\/strong>: Data modelling in Server can be time-aware.<\/p>\n<p class=\"intro-text\">As a basic overview:<\/p>\n<ul class=\"intro-text\">\n<li><strong>Templates<\/strong> are modelled as logical groupings of <em>Attributes<\/em> (for example <em>temperature, pressure, weight<\/em>), and their qualifying <em>Attribute Values<\/em> (for example: <em>max, min, actual, planned<\/em>). Templates have a name and description to describe their purpose (for example, <em>Oil Producing Well, Facility, ESP Pump<\/em>).<\/li>\n<li><strong>Entities<\/strong> are used to model a physical entity (such as a well, a field, or a piece of equipment). They are given a name and description, and assigned a <em>template<\/em>, taking on the attribute and attribute value definitions of the template.<\/li>\n<li><strong>Attribute Values<\/strong> belonging to <em>Entities<\/em> are assigned values. A value can be a <em>Tag<\/em> from an historian, a calculation tag, or a fixed value, such as a decimal value.<\/li>\n<li><strong>Hierarchies<\/strong> are hierarchical (parent-child) groupings of entities, built to represent logical relationships between the physical attributes that are represented by the entities.<\/li>\n<\/ul>\n<p class=\"left-bar\">Read more about data in Server: <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/connecting-your-data\/\">Server - Connecting Your Data<\/a>.<\/p>\n<h3>Tags in Server<\/h3>\n<p class=\"intro-text\">A tag defines an item of time-series data that is retrieved from a data historian, using a datasource with a <strong>Data Type<\/strong> of <em>Tag<\/em>. The data is not stored in IFS OI Server; only the tag definition gets stored, and this is used to collect time series data items for a consuming application, such as IFS OI Explorer.<\/p>\n<h3>Calculations in Server<\/h3>\n<p class=\"intro-text\">Server has a sophisticated calculation editor, which can access all of Server's data. Multiple calculation functions are available. Server's calculations are saved as tags (but do not belong to a datasource).<\/p>\n<h3>Datasets in Server<\/h3>\n<p class=\"intro-text\">Dataset queries can be written and saved in Server, within their relevant datasources. These datasources must have the <strong>Data Type<\/strong> of <em>dataset<\/em>.<\/p>\n<p class=\"intro-text\">A dataset query fetches data (rows and columns) from its datasource's database. Often the query is parameter-driven, using variables from Explorer pages, that can be user-controlled if linked to page controls.<\/p>\n<p class=\"intro-text\">\u00a0<\/p>\n<hr \/>\n<h2 class=\"page-subheading\">Data in Explorer<\/h2>\n<p class=\"intro-text\">Explorer's purpose it to interactively display Server's data in pages (showing charts, reports, process mimics and shapes) and trends. Server's data is retrieved as follows:<\/p>\n<ul class=\"intro-text\">\n<li><strong>Tags<\/strong> (including <em>Calculations<\/em>) are listed in the <strong>Tag Navigator<\/strong>, and can be dragged from here onto pages or trends. For a trend, tag <em>values<\/em> are fetched by Server for the trend <em>Time Range<\/em>, which also uses the trend's <em>Sample Method<\/em> and <em>Sample Interval<\/em> as its method and interval for collecting the data. For page controls, such as a <em>Chart<\/em>, the tag data is collected using the page's default values for <em>Sample Method, Sample Interval, Start Time <\/em>and <em>End Time<\/em>. For a single data point (such as a <em>Data Label<\/em>) Server fetches a single data item, using <em>Time<\/em> as well as the page's default values for <em>Sample Method, Sample Interval<\/em>.<\/li>\n<li><strong>Entities<\/strong> are displayed within their respective <strong>hierarchies<\/strong>, in the <strong>Hierarchy Navigator<\/strong>. <strong>Attribute values<\/strong> can be dragged from the entities onto pages or trends. Attribute values use tags, calculations or fixed values, and Server fetches this data in the same way that it fetches tag data.<\/li>\n<li><strong>Datasets<\/strong> are available to many of the page controls (such as <em>Data Table, Chart, Label<\/em> etc.). Data is fetched from the datasource, using the dataset query defined in Server, and parameters set in Explorer, whenever a page is refreshed.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<hr \/>\n<h2 class=\"page-subheading\">Further Reading<\/h2>\n<ul class=\"intro-text\">\n<li><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/server-system-overview\/\">Server - System Overview<\/a><\/li>\n<li><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/connecting-your-data\/\">Server - Connecting Your Data<\/a><\/li>\n<li><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/overview-of-server-management\/\">Server Management Navigation Overview<\/a><\/li>\n<li><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-primers\/explorers-data\/\">Explorer's Data<\/a><\/li>\n<li><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-primers\/variables\/\">Variables in Explorer<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>IFS OI Server is designed to provide access to data from one or more different sources. Server also has extensive data modelling capabilities, for structuring and defining this data. IFS OI Explorer represents this data on Pages, Trends, and the Tag and Hierarchy navigators.<br \/>\nThis article gives an overview of Explorer and Server's architecture.<\/p>\n<p class=\"continue-reading-button\"> <a class=\"continue-reading-link\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-primers\/architecture\/\">Read more<i class=\"crycon-right-dir\"><\/i><\/a><\/p>\n","protected":false},"author":8,"featured_media":65223,"parent":7651,"menu_order":2,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":"","_members_access_role":[],"_members_access_error":""},"categories":[3],"tags":[272,20,257,674],"class_list":["post-22067","page","type-page","status-publish","has-post-thumbnail","hentry","category-primer","tag-architecture","tag-dataset","tag-datasources","tag-datatype","Product-ex"],"_links":{"self":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/22067","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/comments?post=22067"}],"version-history":[{"count":4,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/22067\/revisions"}],"predecessor-version":[{"id":66902,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/22067\/revisions\/66902"}],"up":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/7651"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/media\/65223"}],"wp:attachment":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/media?parent=22067"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/categories?post=22067"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/tags?post=22067"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}