×

Data storage method and apparatus

  • US 10,331,642 B2
  • Filed: 01/20/2017
  • Issued: 06/25/2019
  • Est. Priority Date: 08/29/2013
  • Status: Active Grant
First Claim
Patent Images

1. A data storage method for a database in a computer system, comprising:

  • configuring, by the computer system, an identifier column comprising row identifiers for data records of two data objects, each row identifier identifying one of the data records, wherein the two data objects have a same column attribute, the identifier column associated with a format to represent the row identifiers, the format specified by a first field followed by a second field, the first filed for storing a value corresponding to the same column attribute, and the second filed for storing a data object identifier identifying one of the two data objects;

    storing, by the computer system, the data records of the two data objects in a data table of the database, wherein the data table includes the identifier column, wherein a row of the data table includes a row identifier of the identifier column, the row identifier identifying one of the data records, each column attribute of the two data objects corresponds to one column attribute of the data table, wherein the row identifiers are used for a primary index of each data record in the data table;

    constructing, by the computer system according to the format of the identifier column, query information for querying the data table in response to a data request, wherein the query information comprises the same column attribute; and

    exporting, by the computer system, a data record whose primary index comprises the same column attribute.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×