Search International and National Patent Collections

1. (WO2017032240) DATA STORAGE METHOD AND APPARATUS FOR MOBILE TERMINAL

Pub. No.:    WO/2017/032240    International Application No.:    PCT/CN2016/095520
Publication Date: Fri Mar 03 00:59:59 CET 2017 International Filing Date: Wed Aug 17 01:59:59 CEST 2016
IPC: G06F 17/30
Applicants: ALIBABA GROUP HOLDING LIMITED
阿里巴巴集团控股有限公司
LIAN, Jie
廉洁
Inventors: LIAN, Jie
廉洁
Title: DATA STORAGE METHOD AND APPARATUS FOR MOBILE TERMINAL
Abstract:
A data storage method and apparatus for a mobile terminal. The method comprises: performing format conversion on original data to obtain first data in a pre-set format (S101); creating first metadata of the first data (S102); determining, according to a corresponding relationship between a key value and metadata saved in a cache, whether the first data is stored in a database (S103); if the first data is not stored in the database, saving the first data, the first metadata of the first data, and a key value of the first data into the cache (S104); and if a pre-set trigger condition is satisfied, saving the first data, the first metadata of the first data and the key value of the first data in the cache, which are not stored in the database, into the database (S105). By converting original data into data in a pre-set format and then storing the data in a database, the method can eliminate the structural difference of the data, and improve the compatibility of the data and the read-write efficiency of the data.