摘要 |
Embodiments of the present invention provide a file reading method, storage device, and reading system, which relates to the field of file reading. The method includes: receiving, by a storage device, a first read request sent by a client, where to-be-read data requested by the first read request is a part of the file; reading, from a cache, data that is of the to-be-read data and located in the cache, and reading, from a first storage medium, data that is of the to-be-read data and not located in the cache; and pre-reading, from the first storage medium, data in at least one of the containers, and storing the pre-read data into the cache, where the pre-read container includes at least one unread file segment of the file. The storage device includes: a receive module, a reading module, and a pre-reading module. The reading system includes: a user equipment and the foregoing storage device. According to the present invention, a time overhead in reading data is reduced, and no additional hardware expenditure is required, thereby reducing hardware costs. |