CPC H03M 7/24 (2013.01) [H03M 7/3059 (2013.01)] | 12 Claims |
1. A method for storing data, comprising:
acquiring data to be stored;
converting the data to be stored from an initial data type to a selected one of a plurality of target data types depending on the data, a data length corresponding to the selected target data type being less than that corresponding to the initial data type;
converting the data to be stored of the target data type to binary data;
storing the binary data to a database configured to store data converted to any of the plurality of target data types; and
compressing the binary data in the database by a lossless data compression algorithm;
wherein the plurality of target data types includes at least any two of an integer type, a double-precision floating-point type and a single-precision floating-point type.
|