Cloud file processing method and apparatus
First Claim
1. A method for processing cloud files containing a target file, the method comprising:
- when the target file that a client intends to read from a cloud server is divided into a plurality of data packets;
acquiring a position of a first data packet read by the client in the target file as a reading position;
acquiring a state of a second data packet not at the reading position in the target file as a peripheral state, wherein the peripheral state is a read-completed state or an unread state; and
sending a data pre-fetch request by the client to the cloud server when the reading position and the peripheral state meet a preset condition,wherein the data pre-fetch request is used to request to read, from the cloud server, a preset amount of data packets whose peripheral states are unread states in the target file.
1 Assignment
0 Petitions
Accused Products
Abstract
Apparatuses and methods are disclosed for cloud file processing. An exemplary method may include acquiring a position of a first data packet read by the client in the target file as a reading position when a target file that a client intends to read from a cloud server is divided into a plurality of data packets. The method may also include acquiring a state of a second data packet not at the reading position in the target file as a peripheral state. The peripheral state is a read-completed state or an unread state. When the reading position and the peripheral state meet a preset condition, the method may further include sending, by the client, a data pre-fetch request to the cloud server. The data pre-fetch request is used to request to read, from the cloud server, a preset amount of data packets whose peripheral states are unread states in the target file.
-
Citations
23 Claims
-
1. A method for processing cloud files containing a target file, the method comprising:
-
when the target file that a client intends to read from a cloud server is divided into a plurality of data packets; acquiring a position of a first data packet read by the client in the target file as a reading position; acquiring a state of a second data packet not at the reading position in the target file as a peripheral state, wherein the peripheral state is a read-completed state or an unread state; and sending a data pre-fetch request by the client to the cloud server when the reading position and the peripheral state meet a preset condition, wherein the data pre-fetch request is used to request to read, from the cloud server, a preset amount of data packets whose peripheral states are unread states in the target file. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. An apparatus for processing cloud files, comprising:
-
a memory storing a set of instructions; and one or more processors configured to execute the set of instructions to cause the apparatus to perform operations including; when a target file that a client intends to read from a cloud server is divided into a plurality of data packets; acquiring a position of a first data packet read by the client in the target file as a reading position; acquiring a state of a second data packet not at the reading position in the target file as a peripheral state, wherein the peripheral state is a read-completed state or an unread state; and sending a data pre-fetch request by the client to the cloud server when the reading position and the peripheral state meet a preset condition, wherein the data pre-fetch request is used to request to read, from the cloud server, a preset amount of data packets whose peripheral states are unread states in the target file. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20, 21, 22)
-
-
23. A non-transitory computer-readable storage medium that stores a set of instructions that is executable by at least one processor of an apparatus to cause the apparatus to perform a method for processing cloud files containing a target file, the method comprising:
-
when the target file that a client intends to read from a cloud server is divided into a plurality of data packets; acquiring a position of a first data packet read by the client in the target file as a reading position; acquiring a state of a second data packet not at the reading position in the target file as a peripheral state, wherein the peripheral state is a read-completed state or an unread state; and sending a data pre-fetch request by the client to the cloud server when the reading position and the peripheral state meet a preset condition, wherein the data pre-fetch request is used to request to read, from the cloud server, a preset amount of data packets whose peripheral states are unread states in the target file.
-
Specification