language-icon Old Web
English
Sign In

Data storage method and device

2012 
The invention provides a data storage method and a data storage device. The data storage method comprises the following steps of: determining a data classification of data to be stored, querying, presetting extraction rules for different data classifications according to a data attribute in a source data table and a data attribute in an association data table of the source data table, and acquiring the extraction rule corresponding to the data classification of the data to be stored, wherein the preset extraction rules are used for acquiring the data of different data attributes; acquiring a plurality of groups of data to be stored relevant to the data classifications from the source data table and the association data table of the source data table according to the extraction rules corresponding to the data classifications of the data to be stored, wherein each group of data to be stored comprises data to be stored of different data attributes; and respectively storing the data to be stored in each group and the data classifications of the data to be stored into a data storage table according to different groups. By the embodiment, the search operation is simplified, and the data search efficiency is improved.
    • Correction
    • Source
    • Cite
    • Save
    • Machine Reading By IdeaReader
    0
    References
    0
    Citations
    NaN
    KQI
    []