摘要 |
<p>Disclosed are a file sharing system, a method for achieving file sharing, and a file index service device. The method comprises: a file-sharing storage device storing a file block which at least could be accessed by two clients; a file index service device establishing a file system for each client where a file index corresponding to the file block that the client could access is set; establishing a correlation between each file index and a file block name, storing the correlation in a file index database; reading a corresponding file index from the file system of the client upon receiving a file reading request sent by the client; reading a corresponding file block according to the file index and sending the file data in the corresponding file block to the client. The system, the method for achieving file sharing, and the file index service device in the present invention ensure that each client has an independent file system, and achieve sharing the same file block among a plurality of clients.</p> |