Real time data compression method and apparatus for a data recorder
First Claim
1. A real time data compression method for a data recorder that sequentially reads a plurality of sampled data points, the method comprising the steps of:
- setting the first sampled data point as a starting point X0;
sequentially examining the plurality of data points, wherein a present data point Xi being examined is determined whether it is in a predetermined tolerable error range;
wherein if the present data point Xi is in the predetermined tolerable error range, a previous data point Xi-1 is ignored;
wherein the previous data point Xi-1 and the total amount of data points accumulated from the starting point X0 to the previous data point Xi-1 are recorded, and the previous data point Xi-1 is then set as a new starting point, when (a) the present data point Xi exceeds the predetermined tolerable error range or (b) the amount of the ignored data points reaches to a first predetermined amount;
wherein during a period that the sampled data points are varied quickly, and when the amount of the continuously examined data points is less than a second predetermined amount, the total amount of the data points that exceed their respective predetermined tolerable error ranges and the value of each of these data point are recorded.
1 Assignment
0 Petitions
Accused Products
Abstract
A real time data compression method examines whether a present read-in data point is in a predicted tolerable error range. If yes, the previous data point is deemed as redundant and is ignored and after which a new data point is read in for comparing again. When a predetermined amount of data points is continuously ignored, it means the data is steady and only the final data point of these ignored ones is recorded. Otherwise, when data is varied greatly during a period, only the total amount of these varying data points and their value are recorded so the memory capacity for storing the compressed data is saved. Furthermore, the compressed data is stored in a form of a data structure in which the compressed data are expressed by multiple blocks. The block form allows increase of the efficiency of the searching process of the compressed data.
-
Citations
16 Claims
-
1. A real time data compression method for a data recorder that sequentially reads a plurality of sampled data points, the method comprising the steps of:
-
setting the first sampled data point as a starting point X0;
sequentially examining the plurality of data points, wherein a present data point Xi being examined is determined whether it is in a predetermined tolerable error range;
wherein if the present data point Xi is in the predetermined tolerable error range, a previous data point Xi-1 is ignored;
wherein the previous data point Xi-1 and the total amount of data points accumulated from the starting point X0 to the previous data point Xi-1 are recorded, and the previous data point Xi-1 is then set as a new starting point, when (a) the present data point Xi exceeds the predetermined tolerable error range or (b) the amount of the ignored data points reaches to a first predetermined amount;
wherein during a period that the sampled data points are varied quickly, and when the amount of the continuously examined data points is less than a second predetermined amount, the total amount of the data points that exceed their respective predetermined tolerable error ranges and the value of each of these data point are recorded. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. An apparatus for real time data compression applied for a data recorder, the apparatus comprising:
-
a processing unit (30) for compressing data by variable compression format based on the stability of the data;
an interface unit (40) connected to the processing unit (30) through an interface, wherein the interface unit (40) further includes a microprocessor and an A/D converter (42) that converts analog measured signals to a digital form and then transmits the digital signals to the microprocessor, whereafter the microprocessor transmits the digital signals to the processing unit (30); and
a storing unit (50) connected to the processing unit (30) through data/address bus for storing the compressed data;
wherein the interface unit (40) is adapted to connect to a measuring device and receives the analog measured signals therefrom, when the analog measured signals are converted into the form of digital, the digital signals are compressed by the processing unit (30) and then stored in the storing unit (50). - View Dependent Claims (11, 12, 13, 14, 15, 16)
-
Specification