Data processing method and apparatus, and shared storage device

US9952783B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9952783-B2
Application numberUS-201514599673-A
CountryUS
Kind codeB2
Filing dateJan 19, 2015
Priority dateJul 17, 2012
Publication dateApr 24, 2018
Grant dateApr 24, 2018

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A data processing method and apparatus, and a shared storage device, where the method includes receiving, by a shared storage device, a copy-on-write request sent by another storage device, where the copy-on-write request includes data on which copy-on-write is to be performed and a logical unit identifier and snapshot time point of the data; storing the data; and searching, according to the logical unit identifier and snapshot time point of the data, a preset shared mapping table for a corresponding entry, and storing, in the corresponding entry, mapping entry information of the data, where the mapping entry information includes the logical unit identifier and snapshot time point of the data and a storage address that is of the data and in the shared storage device, which can improve efficiency of snapshot data processing.

First claim

Opening claim text (preview).

What is claimed is: 1. A data processing method comprising: storing, by a first storage device, a first data and a third data, wherein the first data is data on which a first copy-on-write action is to be performed at a first snapshot point, wherein the third data is data on which a second copy-on-write action is to be performed at a third snapshot point, and wherein the first data is data in a first logical unit of a production volume in a second storage device corresponding to a first logical unit identifier before overwritten by the third data; receiving, by the first storage device, a first read request for reading a second data, wherein the first read request comprises the first logical unit identifier and a second snapshot time point; determining, by the first storage device, a copy-on-write action is not to be performed on the second data in the first logical unit at the second snapshot time point and the second data stored in the first logical unit at the second snapshot time point is the same as the third data of the first logical unit when the first logical unit identifier and the second snapshot time point fails to match a mapping entry information item in a mapping table and when the second copy-on-write is performed at the third snapshot time point, wherein the mapping table is used to store mapping entry information for data on which a copy-on-write action needs to be performed and the data is generated by a same production volume, wherein a first entry of the mapping table comprises a first mapping entry information and a second mapping entry information, wherein the first mapping entry information comprises the first logical unit identifier, a first snapshot time point and a first storage address of the first data in the first storage device, wherein the second mapping entry information comprises the first logical unit identifier, the third snapshot time point, and a third storage address of the third data in the first storage device, and wherein the second snapshot time point is later than the first snapshot time point and earlier than the third snapshot time point; and reading, by the first storage device, the third data from the first, storage device according to the third storage address in the second mapping entry information, wherein mapping entry information items with the first logical unit identifier in the mapping table are arranged in ascending order according to their snapshot time points, and wherein the third snapshot time point in the second mapping entry information is an earliest snapshot time point among any snapshot time points of the mapping entry information items in the first entry after the second snapshot time point. 2. The method according to claim 1 further comprising: receiving, by the first storage device, a second read request for reading the first data, wherein the second read request comprises the first logical unit identifier and the first snapshot time point of the first data; and reading, by the first storage device, the first data from the first storage device according to the first storage address in the first mapping entry information when the first mapping entry information matches the first logical unit identifier and the first snapshot time point of the first data. 3. The method according to claim 1 , further comprising: receiving, by the first storage device, a snapshot copy creation request from a third storage device for creating a snapshot copy of the third data, wherein the snapshot copy creation request comprises the third snapshot time point of the third data; acquiring, by the first storage device and from the mapping table, the second mapping entry information corresponding to the third snapshot time point of the third data; and sending, by the first storage device, the third data pointed to by the second mapping entry information to the third storage device. 4. The method according to claim 1 further comprising: receiving, by the first storage device, a snapshot disabling request for disabling snapshot data, wherein the snapshot disabling request comprises the first snapshot time point; acquiring, by the first storage device and from the mapping table, the first mapping entry information corresponding to the first snapshot time point; and disabling, by the first storage device, the first data pointed to by the first mapping entry information after a sharing is completed when the first data pointed to by the first mapping entry information is being shared, wherein the first data is shared when a mapping entry information item with the first logical unit identifier and a snapshot time point later than the first snapshot time point exists in the mapping table. 5. The method according to claim 4 , wherein the first data pointed to by the first mapping entry information is not shared when a mapping entry information item with the first logical unit identifier and a snapshot time point earlier than the first snapshot time point exists in the mapping table. 6. A storage device comprising: a first storage device configured to store copy-on-write data from a second storage device; and a processor coupled to the first storage device and configured to: store a first data and a third data, wherein the first data is data on which a first copy-on-write action is to be performed at a first snapshot point, wherein the third data is data on which a second copy-on-write action is to be performed at a third snapshot point, and wherein the first data is data in a first logical unit of a production volume in a second storage device corresponding to a first logical unit identifier before overwritten by the third data: receive a first read request for reading a second data, wherein the first read request comprises the first logical unit identifier and a second snapshot time point; and determine a copy-on-write action is not to be performed on the second data in the first logical unit at the second snapshot time point and the second data stored in the first logical unit at the second snapshot time point is the same as the third data of the first logical unit when the first logical unit identifier and the second snapshot time point fails to match a mapping entry information item in a mapping table and when the second copy-on-write is performed at the third snapshot time point, wherein the mapping table is used to store mapping entry information for data on which a copy-on-write action needs to be performed and the data is generated by a same production volume, wherein a first entry of the mapping table comprises a first mapping entry information and a second mapping entry information, wherein the first mapping entry information comprises the first logical unit identifier, a first snapshot time point, and a first storage address of the first data in the first storage device, wherein the second mapping entry information comprises the first logical unit identifier, the third snapshot time point, and a third storage address of the third data in the first storage device, and wherein the second snapshot time point is later than the first snapshot time point and earlier than the third snapshot time point; and read the third data from the first storage device according to the third storage address in the second mapping entry information when, wherein mapping entry information items with the first logical unit identifier in the mapping table are arranged in ascending order according to their snapshot time points, and wherein the third snapshot time point in the second mapping entry information is an earliest snapshot time point among any snapshot, time points of the mapping entry information items in the first entry after a second time point. 7. The storage device according to claim 6 , wherein the processor is further configured to:

Assignees

Inventors

Classifications

  • G06F3/061Primary

    Improving I/O performance · CPC title

  • Disk device · CPC title

  • G06F3/0619Primary

    in relation to data integrity, e.g. data losses, bit errors · CPC title

  • Physics · mapped topic

  • Replication mechanisms · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9952783B2 cover?
A data processing method and apparatus, and a shared storage device, where the method includes receiving, by a shared storage device, a copy-on-write request sent by another storage device, where the copy-on-write request includes data on which copy-on-write is to be performed and a logical unit identifier and snapshot time point of the data; storing the data; and searching, according to the lo…
Who is the assignee on this patent?
Huawei Tech Co Ltd
What technology area does this patent fall under?
Primary CPC classification G06F3/061. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Apr 24 2018 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).