Method for a source storage device sending data to a backup storage device for storage, and storage device
First Claim
1. A method for a source storage device to send data to a backup storage device over multiple backup time periods, wherein each backup time period is assigned a period ID, wherein the source storage device includes a processor and a cache;
- the method being performed by the processor and comprising;
receiving multiple write data requests in a current backup time period, wherein each write data request includes data;
reading a first period ID recorded in a period ID table, wherein the first period ID corresponds to the current backup time period;
modifying each of the write data requests received in the current backup time period by attaching the first period ID to the data of said each write data request;
writing each of the modified write data requests into the cache, wherein the cache storing write data requests each having an attached period ID corresponding to a backup time period in which said each write data request stored in the cache is received by the source storage device;
determining that a backup task corresponding to the current backup time period is triggered, wherein the triggering of the backup task moves the source device into a next backup time period;
identifying a second period ID, wherein the second period ID corresponds to a previous backup time period up to which data of write data requests received by the source storage device have been duplicated to the backup storage device;
obtaining from the cache data of write data requests stored in the cache that are received after the backup time period corresponding to the second period ID and up to the current backup time period; and
sending the obtained data to the backup storage device.
2 Assignments
0 Petitions
Accused Products
Abstract
In a backup method, a source storage device sends data to a backup storage device. The source storage device contains a processor and a cache. The processor receives a write data request which includes target data. And then, the processor reads a first period ID recorded in a period ID table, wherein the first period ID is corresponding to a first period. Next, the processor modifies the write data request by attaching the first period ID to the target data and writes the modified write data request into the cache. After a backup task corresponding to the first period is triggered, the processor identifies a second period ID. The second period ID corresponds to a previous period up to which data received by the source storage device have been duplicated to the backup storage device. And then, the processor obtains data received after the period corresponding to the second period ID and up to the first period and sends the obtained data to the backup storage device.
29 Citations
4 Claims
-
1. A method for a source storage device to send data to a backup storage device over multiple backup time periods, wherein each backup time period is assigned a period ID, wherein the source storage device includes a processor and a cache;
- the method being performed by the processor and comprising;
receiving multiple write data requests in a current backup time period, wherein each write data request includes data; reading a first period ID recorded in a period ID table, wherein the first period ID corresponds to the current backup time period; modifying each of the write data requests received in the current backup time period by attaching the first period ID to the data of said each write data request; writing each of the modified write data requests into the cache, wherein the cache storing write data requests each having an attached period ID corresponding to a backup time period in which said each write data request stored in the cache is received by the source storage device; determining that a backup task corresponding to the current backup time period is triggered, wherein the triggering of the backup task moves the source device into a next backup time period; identifying a second period ID, wherein the second period ID corresponds to a previous backup time period up to which data of write data requests received by the source storage device have been duplicated to the backup storage device; obtaining from the cache data of write data requests stored in the cache that are received after the backup time period corresponding to the second period ID and up to the current backup time period; and sending the obtained data to the backup storage device. - View Dependent Claims (2)
- the method being performed by the processor and comprising;
-
3. A storage device for sending data to a backup storage device over multiple backup time periods, wherein each backup time period is assigned a period ID, wherein the storage device comprises a processor and a cache;
-
wherein the processor is configured to; receive multiple write data requests in a current backup time period, wherein each write data request includes data; read a first period ID recorded in a period ID table, wherein the first period ID corresponds to the current backup time period; modify each of the write data requests receiving in the current backup time period by attaching the first period ID to the data of said each write data request; write each of the modified write data requests into the cache, wherein the cache storing write data requests each having an attached period ID corresponding to a backup time period in which said each write data request stored in the cache is received by the source storage device; determine that a backup task corresponding to the current backup time period is triggered, wherein the triggering of the backup task moves the source device into a next backup time period; identify a second period ID, wherein the second period ID corresponds to a previous backup time period up to which data received by the source storage device have been duplicated to the backup storage device; obtain from the cache data of write data requests stored in the cache that are received after the backup time period corresponding to the second period ID and up to the current backup time period; and send the obtained data to the backup storage device. - View Dependent Claims (4)
-
Specification