# US 2012/0239627 A1 · Data storage apparatus and data storage method

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2012/0239627 A1
- Document ID: US20120239627A1
- Status: Published application
- Kind: A1
- Application number: 13/421,739
- Filed: 2012-03-15
- Published: 2012-09-20
- Earliest claimed: 2011-03-18
- Assignees: NEC Corporation
- Inventors: Yoshinori NYUUNOYA
- Web page: https://patentgrep.com/patent/US20120239627A1

## CPC

- H03M 7/3059: {Digital compression and data reduction techniques where the original information is represented by a subset or similar information, e.g. lossy compression}
- H03M 7/3064: {Segmenting}
- H03M: CODING; DECODING; CODE CONVERSION IN GENERAL (using fluidic means F15C4/00; optical analogue/digital converters G02F7/00; coding, decoding or code conversion, specially adapted for particular applications, see the relevant subclasses, e.g. G01D, G01R, G06F, G06T, G09G, G10L, G11B, G11C, H04B, H04L, H04M, H04N; ciphering or deciphering for cryptography or other purposes involving the need for secrecy G09C)

## Abstract

A data storage apparatus of the present invention includes a data collector that collects time-series data and a sampler that calculates, for each piece of the data, a plurality of change indices indicating change in each piece of the data and determines whether or not the piece of data is to be sampled.

## Claims

### Claim 1

A data storage apparatus comprising:
a data collector that collects time-series data; and
a sampler that calculates a plurality of change indices indicating a change in each piece of the data and determines, on the basis of the result of the calculation, whether or not the piece of the data is to be sampled.

### Claim 2 (depends on 1)

The data storage apparatus according to claim 1,
wherein said sampler performs calculation on the data one after another to calculate as the change indices of a current piece of the data on which the calculation is performed, the rates of change of the current piece of data and a next piece of data, a difference between the rate of change of the current piece of data and the rate of change of a previous piece of data, and a variance of a predetermined number of pieces of data in the vicinity of the current piece of data.

### Claim 3 (depends on 2)

The data storage apparatus according to claim 2, wherein said sampler determines that the current piece of data is to be sampled when the ratio of change of the current piece of data is outside a predetermined range, the difference between the rate of change of the current piece of data and the rate of change of the previous piece of data is outside a predetermined range, and the variance of the current piece of data is outside a predetermined range.

### Claim 4 (depends on 1)

The data storage apparatus according to claim 1, further comprising:
a data compressor that compresses the data and stores the compressed data on a storage medium; and
a data restorer that restores data stored on the storage medium;
wherein when the sum of the number of pieces of data sampled by said sampler and the number of pieces of data stored on the storage medium is greater than a predetermined threshold, said data compressor causes said data restorer to restore data stored on the storage medium, merges adjacent pieces of data in a set of data including the sampled data and the restored data together by using a statistical index until the sum of the number of pieces of data stored on the storage medium decreases to a value less than or equal to the threshold, and recompresses the merged data and stores the recompressed data on the storage medium.

### Claim 5 (depends on 4)

The data storage apparatus according to claim 4, wherein:
said data restorer restores data stored on the storage medium as first data and restores second data obtained by calculation based on the first data; and
said data compressor groups the set of data so that the first data and the second data obtained by the calculation based on the first data are grouped into one group, and repeats, for each pair of adjacent two groups, a first operation of calculating a variance of data in the two groups as the statistical index and a second operation of selecting a pair that has the smallest variance from among the pairs of adjacent two groups and merging the data in the selected pair of groups until the sum of the number of pieces of data stored on the storage medium decreases to a value less than or equal to the threshold.

### Claim 6

A data storage method performed by a data storage apparatus comprising:
collecting time-series data; and
sampling the time series data by calculating a plurality of change indices indicating a change in each piece of the data and determining, on the basis of the result of the calculation, whether or not the piece of the data is to be sampled.

### Claim 7 (depends on 6)

The data storage method according to claim 6, wherein said sampling performs calculation on the data one after another to calculate as the change indices of a current piece of the data on which the calculation is performed, the rates of change of the current piece of data and a next piece of data, a difference between the rate of change of the current piece of data and the rate of change of a previous piece of data, and a variance of a predetermined number of pieces of data in the vicinity of the current piece of data.

### Claim 8 (depends on 7)

The data storage method according to claim 7, wherein said sampling determines that the current piece of data is to be sampled when the ratio of change of the current piece of data is outside a predetermined range, the difference between the rate of change of the current piece of data and the rate of change of the previous piece of data is outside a predetermined range, and the variance of the current piece of data is outside a predetermined range.

### Claim 9 (depends on 6)

The data storage method according to claim 6, further comprising:
when the sum of the number of pieces of data sampled and the number of pieces of data stored on the storage medium is greater than a predetermined threshold,
restoring data stored on the storage medium;
merging adjacent pieces of data in a set of data including the sampled data and the restored data together by using a statistical index until the sum of the number of pieces of data stored on the storage medium decreases to a value less than or equal to the threshold; and
recompressing the merged data and storing the recompressed data on the storage medium.

### Claim 10 (depends on 9)

The data storage method according to claim 9, wherein:
said restoring restores data stored on the storage medium as first data and restores second data obtained by calculation based on the first data; and
said merging groups the set of data so that the first data and the second data obtained by the calculation based on the first data are grouped into one group, and repeats, for each pair of adjacent two groups, a first operation of calculating a variance of data in the two groups as the statistical index and a second operation of selecting a pair that has the smallest variance from among the pairs of adjacent two groups and merging the data in the selected pair of groups until the sum of the number of pieces of data stored on the storage medium decreases to a value less than or equal to the threshold.
