This Application claims priority of Taiwan Patent Application No. 103139492, filed on Nov. 14, 2014, the entirety of which is incorporated by reference herein.
1. Field of the Invention
The application relates in general to a data-access system and method for storing data and reading data, and in particular to a data-access system and method for storing data and reading data for dismantling the file into a plurality of sub-files, and further storing the sub-files to different Cloud storage providers for improving the access efficiency and security of the file.
2. Description of the Related Art
These days, due to the rapid development of the Internet, users are able to access files held by Cloud storage providers using different electronic devices. Access speed is affected by the connection status and the size of the file, due to the different characteristics of the Cloud storage providers. For example, access time might be too long when the connection status is unstable or the size of the file is too large. Otherwise, the file might be stolen when it is only stored in a single Cloud storage provider. Thus, how to access the file from the Cloud storage providers rapidly and safely is a problem which needs to be solved immediately.
An embodiment of the present invention provides a data-access system, adapted to a plurality of Cloud storage providers, including a processing module, an access module and a storage module. The processing module receives a file, and obtains a dismantling rule according to file information. The processing module further dismantles the file into a plurality of sub-files according to a storage signal and the dismantling rule. The access module detects the status of the connection of each Cloud storage providers, and the sub-files are stored to at least two of the Cloud storage providers according to the connections statuses. The storage module stores the dismantling rule and the storage records correspond to the sub-files.
Another embodiment of the present invention provides a method for storing data, adapted to a plurality of Cloud storage providers. The steps comprise: receiving a file and a storage signal; obtaining a dismantling rule according to information in the file; dismantling the file into a plurality of sub-files according to the dismantling rule; detecting the connection status of each Cloud storage provider; storing the sub-files to the Cloud storage providers randomly according to the status of the connection; and storing to a storage module the dismantling rule and a storage record corresponding to the sub-files.
Another embodiment of the present invention provides a method for reading data, adapted to a plurality of Cloud storage providers, the steps comprise: receiving a reading signal; reading a storage record of a file that corresponds to the reading signal; detecting the status of the connection of each Cloud storage provider; reading a plurality of sub-files from the Cloud storage providers according to the status of the connection and the storage record; combining the sub-files into the file according to a dismantling rule corresponding to the file; and displaying the file on a display module by an application.
The invention can be more fully understood by reading the subsequent detailed description and examples with references made to the accompanying drawings, wherein:
Further areas to which the present systems and methods can be applied will become apparent from the detailed description provided herein. It should be understood that the detailed description and specific examples, while indicating exemplary embodiments of the data-access system and method for storing data and reading data, are intended for purposes of illustration only and are not intended to limit the scope of the invention.
Please refer to
According to an embodiment of the present invention, when the processing module 110 receives the file and the storage signal, it stores the file into the plurality of Cloud storage providers 140a˜140n according to the dismantling rule. For example, the processing module 110 determines the quantity of dismantling and the quantity of copies of the files, and the quantity of sub-files stored in the Cloud storage providers 140a˜140n according to the size or the type of the file. The processing module 110 obtains an optimal dismantling rule according to a dismantling rule table stored in the storage module 130. The processing module 110 further obtains a risk score ((risk score)=(original risk score)/(quantity of dismantling)/(quantity of copies of files)/(quantity of Cloud storage providers)) according to a function, or users can determine a new risk score by resetting the parameters as described above after obtaining the risk score. In general, the larger the file size, the higher the importance. In other words, the higher the quantity of copies of the files, the quantity of dismantling and the quantity of the sub-files stored in the Cloud storage providers 140a˜140n, the lower the risk. After obtaining the parameters corresponding to the dismantling rule, the processing module 110 dismantles the file into the plurality of the sub-files according to the new risk score.
Then, the access module 120 detects the respective status of the connection of the Cloud storage providers 140a˜140n. The connection status can be regarded as the connection status between the data-access system and the Cloud storage providers 140a˜140n. After obtaining the status of the connection between the data-access system and the Cloud storage providers 140a˜140n, the access module 120 randomly stores the sub-files to at least two of the Cloud storage providers 140a˜140n according to the connection status. The storage module 120 further stores the sub-files to different Cloud storage providers 140a˜140n according to the quality of the connection status. For example, the storage module 120 stores the sub-files to three of the Cloud storage providers which have the fastest connection speed or the biggest spaces, but it is not limited thereto. After the storage module 120 stores the sub-files, the storage records corresponding to the sub-files are stored to the storage module 130 for supplying to the processing unit 110 for finding the storage address of each sub-files while the files are processed to read, browse or delete.
It should be noted that the sub-files or the process of dismantling can be encrypted by an encryption key when the processing module 110 dismantles the files to the plurality of sub-files according to the dismantling rule for reducing the risk and improving the security of the file.
According to another embodiment of the present invention, the processing module 110 combines the sub-files into the original file when it receives the reading signal. First, after receiving the reading signal, the access module 120 detects the status of the connection of the Cloud storage providers 140a˜140n. Then the access module 120 reads the sub-files from the Cloud storage providers 140a˜140n according to the status of the connection and the storage records. The access module 120 further reads the sub-files according to the quality of the status of the connection. For example, the access module 120 reads the sub-files from three of the Cloud storage providers which have the fastest connection speed or the biggest spaces. After receiving the sub-files, the processing module 110 combines the sub-files into the original file according to the dismantling rule stored in the storage module 130, and the original file will be displayed on the display module (not shown) by the application.
It should be noted that the user needs to enter the encryption key when the sub-files are encrypted and combined into the original file by the processing module 110.
Please refer to
At step S203, the processing module 110 dismantles the file into a plurality of sub-files according to the dismantling rule. At step S204, the access module 120 detects the status of the connection of the Cloud storage providers 104a˜140n. At step S205, the access module 120 randomly stores the sub-files to at least two Cloud storage providers 104a˜140n according to the status of the connection. The connection status can be regarded as the connection status between the data-access system and the Cloud storage providers 140a˜140n. For example, the processing module 110 dismantles the file into a first sub-file, a second sub-file and a third sub-file, and the quantity of the copies is “2”. Then the access module stores the sub-files to a first Cloud storage provider 140a, a second Cloud storage provider 140b and a third Cloud storage provider 140c, which means each of the Cloud storage providers includes two different sub-files. For example, the first Cloud storage provider 140a includes the first sub-file and the second sub-file, the second Cloud storage provider 140b includes the first sub-file and the third sub-file, and the third Cloud storage provider 140c includes the second sub-file and the third sub-file. As result, the access module 120 can read the sub-files from any of two Cloud storage providers and combines the sub-files to the original file when the user wants to read the file.
It should be noted that the storage module 120 further stores the sub-files to different Cloud storage providers 140a˜140n according to the quality of the connection status. For example, the storage module 120 stores the sub-files to the most three Cloud storage providers which have the fastest connection speed or the spaces, but it is not limited thereto. Finally, at step S206, the storage module stores the dismantling rule and the storage records corresponding to the sub-files.
It should be noted that the sub-files, or the process of dismantling, can be encrypted by an encryption key when the processing module 110 dismantles the files to the plurality of sub-files according to the dismantling rule for reducing the risk and improving the security of the file.
Please refer to
It should be noted that the users need to enter the encryption key when the sub-files are encrypted and proceeded to combine into the original file by the processing module 110.
As described above, an embodiment of the invention provides a data-access system and method for storing data and reading data, users can store the sub-file to different Cloud storage providers by dismantling the file into the plurality of sub-files for successfully accessing the file when the status of the connection of the Cloud storage providers are not stable. Further, the user can encrypt the sub-files during the dismantling process to improve the security of the file, and hackers cannot obtain the original file from a single Cloud storage provider.
It will be apparent to those skilled in the art that various modifications and variations can be made to the structure disclosed without departing from the scope or spirit of the invention. In view of the foregoing, it is intended that the present invention covers modifications and variations of this invention, provided they fall within the scope of the following claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
103139492 | Nov 2014 | TW | national |