SYNCHRONIZING HISTORICAL ARCHIVE DATA BETWEEN PRIMARY AND SECONDARY HISTORIAN SYSTEMS
First Claim
1. A computer-implemented method of archiving data values from a real-time database in a first historian system and in a second historian system, wherein each of the first and second historian systems includes a short-term repository and a long-term archive, comprising:
- identifying one or more data values in the short-term repository of the first historian system, wherein each of the data values are stored in the respective short term-repositories of the first and second historian systems as a tag that includes a timestamp, a tag ID identifying a monitored parameter in the real-time database, and a value for the monitored parameter;
copying the tags storing the one or more identified data values from the short-term repository of the first historian system to the long-term archive of the first historian system;
upon determining that the long-term archive of the second historian system is available, copying the tags storing the one or more identified data values from the short-term repository of the first historian system to the long-term archive of the second historian system; and
upon determining that the long-term archive of the second historian system is not available, setting a flag in a mask file for each tag ID present in the tags storing the one or more identified data values.
1 Assignment
0 Petitions
Accused Products
Abstract
Techniques for operating an archival database, referred to as a historian, are disclosed. Embodiments of the invention provide techniques for synchronizing historical archive files and/or archival data between a primary and a secondary historian used to archive data values from a real-time database. The real-time database may be used to monitor the current operational state of a large industrial system, such as a pipeline. In turn, the historian may be used to archive the data stored by the real-time database. In the event that either the primary or the secondary system (or both) goes down and then comes back online at a later time, embodiments of the invention may be used to synchronize data between the primary and secondary historian systems.
-
Citations
31 Claims
-
1. A computer-implemented method of archiving data values from a real-time database in a first historian system and in a second historian system, wherein each of the first and second historian systems includes a short-term repository and a long-term archive, comprising:
-
identifying one or more data values in the short-term repository of the first historian system, wherein each of the data values are stored in the respective short term-repositories of the first and second historian systems as a tag that includes a timestamp, a tag ID identifying a monitored parameter in the real-time database, and a value for the monitored parameter; copying the tags storing the one or more identified data values from the short-term repository of the first historian system to the long-term archive of the first historian system; upon determining that the long-term archive of the second historian system is available, copying the tags storing the one or more identified data values from the short-term repository of the first historian system to the long-term archive of the second historian system; and upon determining that the long-term archive of the second historian system is not available, setting a flag in a mask file for each tag ID present in the tags storing the one or more identified data values. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A computer-readable storage medium containing a program for archiving data values from a real-time database in a first historian system and in a second historian system, wherein each of the first and second historian systems includes a short-term repository and a long-term archive, the program including instructions for performing an operation, comprising:
-
identifying one or more data values in the short-term repository of the first historian system, wherein each of the data values are stored in the respective short term-repositories of the first and second historian systems as a tag that includes a timestamp, a tag ID identifying a monitored parameter in the real-time database, and a value for the monitored parameter; copying the tags storing the one or more identified data values from the short-term repository of the first historian system to the long-term archive of the first historian system; upon determining that the long-term archive of the second historian system is available, copying the tags storing the one or more identified data values from the short-term repository of the first historian system to the long-term archive of the second historian system; and upon determining that the long-term archive of the second historian system is not available, setting a flag in a mask file for each tag ID present in the tags storing the one or more identified data values. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20)
-
-
21. A system, comprising at least one processor and further comprising:
-
a real-time database, wherein the real-time database is configured to store a current value for the plurality of monitored data values, and wherein each of the plurality of data values correspond to information reflecting an operational parameter of one or more monitored devices; and a first and second historian systems, wherein the first and second historian systems each includes a respective short-term repository and long term archive, and wherein the first historian system is configured to; identify one or more data values in the short-term repository of the first historian system, wherein each of the data values are stored in the respective short term-repositories of the first and second historian systems as a tag that includes a timestamp, a tag ID identifying a monitored parameter in the real-time database, and a value for the monitored parameter, copy the tags storing the one or more identified data values from the short-term repository of the first historian system to the long-term archive of the first historian system, upon determining that the long-term archive of the second historian system is available, copy the tags storing the one or more identified data values from the short-term repository of the first historian system to the long-term archive of the second historian system, and upon determining that the long-term archive of the second historian system is not available, set a flag in a mask file for each tag ID present in the tags storing the one or more identified data values. - View Dependent Claims (22, 23, 24, 25, 26, 27, 28, 29, 30)
-
-
31. A computer-implemented method for synchronizing a second historian system with a first historian system after a period of after a period of time where the second historian system was unavailable, wherein each of the first and second historian systems includes a short-term repository and a long-term archive, comprising:
-
accessing, by the second historian system, a mask file of the first historian system, identifying a tag ID associated with a flag in the mask file of the first historian system, wherein each data value stored in the short term-repositories of the first and second historian systems are stored as a tag that includes a timestamp, a tag ID identifying a monitored parameter in the real-time database, and a value for the monitored parameter; determining a timestamp for a most recent tag having the identified tag ID stored in the long-term archive of the second historian; identifying one or more tags in the first historian system which have the identified tag ID and also have a timestamp greater than the determined timestamp of the most recent tag in the second historian system; copying the identified one or more tags from the long-term archive of the first historian system to the long-term archive of the second historian system; and resetting the flag in the mask file of the first historian system.
-
Specification