SYSTEM AND METHOD FOR STORING A DATA FILE BACKUP

Information

  • Patent Application
  • 20070162523
  • Publication Number
    20070162523
  • Date Filed
    September 15, 2006
    18 years ago
  • Date Published
    July 12, 2007
    17 years ago
Abstract
A method for storing a data file copy is provided. The method includes the steps of: (a) dividing a duplicate of a data file stored in a mother node into a plurality of data pieces and storing each data piece in a child node of the mother node; (b) determining whether the data file in the mother node is destroyed when accessed by a user; and (c) merging all the data pieces stored in the child nodes to rebuild the data file, if the data file is destroyed. A related system is also disclosed.
Description

BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is a schematic diagram illustrating a system for storing a data file backup according to a preferred embodiment;



FIG. 2 is a flowchart of a preferred method for storing a data file backup by utilizing the system of FIG. 1;



FIG. 3 is a detailed description of one step in FIG. 2, namely dividing a duplicate of the data file into several data pieces and storing each data piece in a corresponding child node; and



FIG. 4 is a detailed description of another step in FIG. 2, namely merging all the data pieces stored in the child nodes to rebuild the data file in the root node.


Claims
  • 1. A system for storing a data file backup, the system comprising at least one server, the server comprising a data file accessing module for dividing a duplicate of a data file stored in a mother node into a plurality of data pieces, storing the data pieces into a plurality of child nodes of the mother node, and merging the data pieces in the child nodes to rebuild the data file in the mother node when the data file is destroyed.
  • 2. The system as claimed in claim 1, wherein the child nodes are different storage spaces in the server.
  • 3. The system as claimed in claim 1, wherein the child nodes are different storage spaces in different servers.
  • 4. The system as claimed in claim 1, wherein the server further comprises a configuration file for specifying a corresponding identification of each child node of the mother node.
  • 5. The system as claimed in claim 1, wherein the server further comprises a configuration file for specifying a corresponding address of each child node of the mother node.
  • 6. A computer-based method for storing a data file backup, comprising the steps of: dividing a duplicate of a data file stored in a mother node into a plurality of data pieces and storing each data piece in a corresponding child node of the mother node;determining whether the data file in the mother node is destroyed when accessed by a user; andmerging all the data pieces stored in the child nodes to rebuild the data file, if the data file is destroyed.
  • 7. The method as claimed in claim 6, wherein the dividing and storing step comprises the steps of: (a) storing the data file in the mother node through an application programming interface;(b) obtaining an initial checksum of the data file through the application programming interface;(c) determining whether the mother node has child nodes;(d) dividing a duplicate of the data file into a plurality of data pieces, if the mother node has child nodes;(e) storing each data piece in a corresponding child node through the application interface; and(f) repeating the steps (b) to (e) to each child node.
  • 8. The method as claimed in claim 7, wherein the merging step comprises the steps of: (j) determining whether the mother node in which the data file is stored has child nodes;(k) obtaining a current checksum of each data piece in each child node through the application programming interface, if the mother node has child nodes;(l) determining whether the current checksum of each data piece is identical with a corresponding initial checksum of the data piece; and(m) merging all the data pieces to rebuild the destroyed data file, if the current checksum of each data piece is identical with its initial checksum.
  • 9. The method as claimed in claim 8, wherein the merging step further comprises the step of: returning to the step (j), if the current checksum of any data piece is different from its initial checksum.
  • 10. The method as claimed in claim 8, further comprising the step of: displaying exception through the application programming interface, if the mother node in which the data file is stored has no child nodes.
Priority Claims (1)
Number Date Country Kind
200610032944.2 Jan 2006 CN national