US 11,705,923 B2
Method and apparatus for storing data, and computer device and storage medium thereof
Li Lei, Shanghai (CN); Hong Zhao, Shanghai (CN); Xiaomeng Chen, Shanghai (CN); and Degang Ning, Shanghai (CN)
Assigned to ENVISION DIGITAL INTERNATIONAL PTE. LTD., Singapore (SG); and SHANGHAI ENVISION DIGITAL CO., LTD., Shanghai (CN)
Appl. No. 17/779,038
Filed by ENVISION DIGITAL INTERNATIONAL PTE. LTD., Singapore (SG); and SHANGHAI ENVISION DIGITAL CO., LTD., Shanghai (CN)
PCT Filed Nov. 20, 2020, PCT No. PCT/SG2020/050680
§ 371(c)(1), (2) Date May 23, 2022,
PCT Pub. No. WO2021/101451, PCT Pub. Date May 27, 2021.
Claims priority of application No. 201911154471.7 (CN), filed on Nov. 22, 2019.
Prior Publication US 2023/0006688 A1, Jan. 5, 2023
Int. Cl. H03M 7/24 (2006.01); H03M 7/30 (2006.01)
CPC H03M 7/24 (2013.01) [H03M 7/3059 (2013.01)] 12 Claims
OG exemplary drawing
 
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.