Claims
- 1. A method of storing data characteristic of synchronous events and asynchronous events in a data file, the method comprising:sequentially storing data values each associated with a respective one of a sequence of synchronous events; and interjecting data values each associated with a respective asynchronous event within said sequentially stored synchronous event data, wherein each asynchronous data value comprises a first portion having data indicative of a unique event and a second portion having data indicative of an asynchronous event type, and wherein the sequentially stored synchronous event data values are precluded from assuming the value of the data indicative of a unique event.
- 2. The method of claim 1, wherein each asynchronous data value further comprises data characterizing a relative time of occurrence of the respective asynchronous event.
- 3. The method of claim 2, wherein the data characterizing a relative time of occurrence comprises a value indicative of the time elapsed between the event characterized by a previously stored data value and the respective asynchronous event.
- 4. The method of claim 2, wherein the data characterizing a relative time of occurrence comprises a value indicative of the time elapsed between an initial time value stored in the data file and the respective asynchronous event.
- 5. The method of claim 2, wherein the data characterizing a relative time of occurrence comprises:a first data value identifying a number of subsequent data blocks of predetermined length employed for representing a time value; and the data blocks of predetermined length representing a time value.
- 6. The method of claim 1, wherein the asynchronous data value further comprises one or more additional data fields following the data indicative of an asynchronous event type.
- 7. The method of claim 1, further comprising the step of writing an end-of-file indicator subsequent to a last-written data value.
- 8. The method of claim 7, wherein the step of writing an end-of-file indicator comprises writing the data indicative of a unique event followed by an event type indicative of end-of-file.
- 9. The method of claim 7, wherein the steps of sequentially storing and interjecting data values comprise overwriting a previously written end-of-file indicator.
- 10. A system for storing synchronous and asynchronous data received from at least one sensor, the system comprising:a data logging device for receiving sensor data from the at least one sensor; a memory associated with the data logging device for storing at least one data file; and an interval timer for determining the time interval between the occurrence of an event associated with an instance of stored sensor data and an event associated with sensor data received by the data logging device for recording in the at least one data file, wherein the data logging device is operative to receive and store synchronous data from the at least one sensor at regular temporal intervals and to receive and store asynchronous data from the at least one sensor at irregular temporal intervals, wherein the asynchronous data comprises an event identifier field, indicative that the respective data is not synchronous data, and an event type field, indicative of the type of event associated with the respective asynchronous data, and wherein the data logging device is operative to receive and interleave synchronous and asynchronous data in a sequential fashion within the at least one data file.
- 11. The system of claim 10, wherein the asynchronous data further comprises data indicative of the time interval, determined by the interval timer, between the event associated with the last data, synchronous or asynchronous, stored in the data file and the event associated with asynchronous data received from the at least one sensor.
- 12. The system of claim 11, wherein the time interval data comprises a first part indicative of a number of data blocks necessary to store the time interval data and a second part being the time interval data.
- 13. The system of claim 10, wherein the asynchronous data further comprises one or more additional data fields for further characterizing the respective asynchronous event.
- 14. The system of claim 10, wherein the data logging device is further operative to write an end-of-file indicator subsequent to a last-stored synchronous or asynchronous data value.
- 15. The system of claim 14, wherein the end-of-file indicator comprises an event identifier field, indicative that the respective data is not synchronous data, and an event type field, indicative of end-of-file.
- 16. The system of claim 14, wherein the data logging device is further operative to overwrite a previously written end-of-file indicator when storing new synchronous or asynchronous data.
CROSS REFERENCE TO RELATED APPLICATIONS
This application claims priority to U.S. Provisional Patent Application 60/439,218, entitled “Interleaving Synchronous and Asynchronous Data in a Datafile,” filed Jan. 10, 2003.
US Referenced Citations (5)
Provisional Applications (1)
|
Number |
Date |
Country |
|
60/439218 |
Jan 2003 |
US |