Chapter 3. System Overview

Table of Contents
3.1. System Functions
3.2. Information Flow
3.3. User Interface Models

3.1. System Functions

The Cascade Historian functions provide the following activities:

  1. Data collection: Data may arrive from supporting objects such as the Cascade DataHub or from various external sources such as user's programs.

  2. Disk storage: The Cascade Historian organizes data in the files and files on the disk.

  3. Services:

The basic interactions of the Cascade Historian with the external objects are shown in the figure below. The flows of data shown are:

Users 1 through N represent sources of data; users N+1 through M represent clients. The Cascade DataHub is a supporting object to the Cascade Historian. The Cascade Historian sends commands to the Cascade DataHub, for example, to register for a point. The Cascade DataHub then provides data on the points for which the Cascade Historian has registered. (The Cascade Historian may send the results of queries or time-based analysis to the Cascade DataHub to make these results accessible to the rest of the system.) The Cascade Historian exchanges information with the disk, such as by reading or writing files. Data from the disk may be transferred to an archive, as shown in the figure. Although the Cascade Historian itself does not provide this facility, it will detect and manage the files available to it.

3.1.1. Data Collection

3.1.2. Disk storage

3.1.2.1. Organization of files

The system provides long-term data storage on disk. A single history is stored per file which, with its monotonically-increasing time and fixed format, provides quick and efficient access to data. The directory location and filename associated with a history must be explicitly configured by the user. The file name consists of three parts:

  1. A base name, which is a string of characters.

  2. An optional file identifier.

  3. The extension portion of the filename.

The file identifier, if used, specifies one of the following modes of file naming:

Whichever mode is chosen, the use of this file identifier provides a sensible mechanism for managing the problem of archiving older data files for an on-going history. If only a single filename is provided for a history, then it becomes impossible to segment the history data (the file continues to grow as long as data of interest exists for this variable), or to combine data from multiple files into a single continuous history for analysis. The Cascade Historian automatically detects all the available files for a history (using the same file identifier mode) and transparently combines the files into a single time-series for the purpose of analysis.

The extension can be any string of characters to be appended to the filename. Common conventions include .dat or .hist, but no default extension is necessary or defined.

For example, to store data on a variable called temperature, if a user specifies the directory to be /usr/data, the base name temperature_, the identifier to be 2, and the extension to be .hist, then the initial file to be stored will have the filename /usr/data/temperature_01.hist.

3.1.3. Services

3.1.3.4. Query support

The Cascade Historian supports the following types of queries:

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.