STORING METHOD AND APPARATUS FOR DATA AQUISITION
First Claim
1. A storing method for data acquisition, comprising the following steps:
- acquiring a collected data, and acquiring a generation time and a collection time for the collected data;
obtaining an offset by computing a difference between the generation time and the collection time; and
acquiring a default offset threshold, and determining whether the offset being less than the default offset threshold;
if so, acquiring a centralized storage directory corresponding to the collected data, acquiring a generation time sub-directory corresponding to the generation time under the centralized storage directory, acquiring an offset sub-directory corresponding to the offset under the generation time sub-directory and storing the collected data in the offset sub-directory.
1 Assignment
0 Petitions
Accused Products
Abstract
Disclosed is a storing method for data acquisition, including: acquiring a collected data, and acquiring a generation time and a collection time for the collected data; obtaining an offset by computing a difference between the generation time and the collection time; and acquiring a default offset threshold, and determining whether the offset being less than the default offset threshold; if so, acquiring a centralized storage directory corresponding to the collected data, acquiring a generation time sub-directory corresponding to the generation time under the centralized storage directory, acquiring an offset sub-directory corresponding to the offset under the generation time sub-directory and storing the collected data in the offset sub-directory. The invention also provides a storing apparatus for data acquisition. The storing method and apparatus for data acquisition improve the data access efficiency.
4 Citations
14 Claims
-
1. A storing method for data acquisition, comprising the following steps:
-
acquiring a collected data, and acquiring a generation time and a collection time for the collected data; obtaining an offset by computing a difference between the generation time and the collection time; and acquiring a default offset threshold, and determining whether the offset being less than the default offset threshold;
if so, acquiring a centralized storage directory corresponding to the collected data, acquiring a generation time sub-directory corresponding to the generation time under the centralized storage directory, acquiring an offset sub-directory corresponding to the offset under the generation time sub-directory and storing the collected data in the offset sub-directory. - View Dependent Claims (2, 3, 4, 5, 6, 13, 14)
-
-
7. A storing apparatus for data acquisition, comprising:
-
a data receiving module, for acquiring a collected data, and acquiring a generation time and a collection time for the collected data; an offset computing module, for obtaining an offset by computing a difference between the generation time and the collection time; and a data storing module, for acquiring a default offset threshold, and determining whether the offset being less than the default offset threshold;
if so, acquiring a centralized storage directory corresponding to the collected data, acquiring a generation time sub-directory corresponding to the generation time under the centralized storage directory, acquiring an offset sub-directory corresponding to the offset under the generation time sub-directory and storing the collected data in the offset sub-directory. - View Dependent Claims (8, 9, 10, 11, 12)
-
Specification