×

Data processing method and apparatus

  • US 9,952,778 B2
  • Filed: 05/04/2017
  • Issued: 04/24/2018
  • Est. Priority Date: 11/05/2014
  • Status: Active Grant
First Claim
Patent Images

1. A data processing method, which is applied to a partition management device that manages storage disks in a cluster by current partitions, the method comprising:

  • storing, by the partition management device, a partition view that maps an ID of a current partition to an address of a storage disk;

    obtaining a key from key-value data that comprises a value and the key corresponding to the value, and calculating, according to the key, an ID of a final partition that corresponds to the key-value data, wherein the key-value data comprises a value and the key corresponding to the value;

    calculating an ID of the current partition that corresponds with the IDs of the final partition, wherein the ID of current partition corresponds with a plurality of IDs of final partitions, wherein a total quantity of current partitions is less than a total quantity of final partitions;

    searching the partition view to obtain an address of a storage disk that is corresponding to the ID of the current partition; and

    generating a key-value packet by using the address of the storage disk as a destination address, and sending the key-value packet to the storage disk, wherein the key-value packet carries the key-value data.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×