Method, System And Server For Issuing Directory Tree Data And Client
First Claim
1. A method for issuing directory tree data, comprising:
- pre-storing, by a directory tree server and a client, Identities (IDs) of data blocks obtained by dividing directory tree data according to an agreed protocol, and generating validity IDs for the data blocks according to the agreed protocol;
receiving, by the directory tree server, an ID and a validity ID of a data block that the client requests to download, and querying for a validity ID of a data block having the same ID at a directory tree server side;
if the validity ID of the data block having the same ID at the directory tree server side is the same as the validity ID received from the client, issuing, by the directory tree server, a matching success message to the client;
otherwise, issuing, by the directory tree server, a matching failure message and the data block at the directory tree server side having the same ID to the client.
1 Assignment
0 Petitions
Accused Products
Abstract
A method, system, and server for issuing directory tree data and a client. The method includes: pre-storing Identities (IDs) for data blocks obtained by dividing directory tree data according to an agreed protocol, and generating and storing validity IDs for the data blocks according to the agreed protocol; receiving, by a directory tree server, an ID and a validity ID of a data block that the client requests to download, and querying for a validity ID of a data block having the same ID at a directory tree server side. If the validity ID of the data block having the same ID at the directory tree server side is the same as the validity ID received from the client, issuing a matching success message to the client; otherwise, issuing, a matching failure message and the data block at the directory tree server side having the same ID to the client.
28 Citations
15 Claims
-
1. A method for issuing directory tree data, comprising:
-
pre-storing, by a directory tree server and a client, Identities (IDs) of data blocks obtained by dividing directory tree data according to an agreed protocol, and generating validity IDs for the data blocks according to the agreed protocol; receiving, by the directory tree server, an ID and a validity ID of a data block that the client requests to download, and querying for a validity ID of a data block having the same ID at a directory tree server side; if the validity ID of the data block having the same ID at the directory tree server side is the same as the validity ID received from the client, issuing, by the directory tree server, a matching success message to the client; otherwise, issuing, by the directory tree server, a matching failure message and the data block at the directory tree server side having the same ID to the client.
-
-
2. A method for issuing directory tree data, comprising:
-
pre-storing, by a directory tree server, Identities (IDs) of data blocks obtained by dividing directory tree data according to an agreed protocol, generating and storing validity IDs of the data blocks according to the agreed protocol; generating, by a client, an ID and a validity ID of a data block requested to be downloaded according to the agreed protocol, and transmitting the ID and the validity ID to the directory tree server; receiving, by the directory tree server, the ID and the validity ID transmitted by the client, and querying for a validity ID of a data block having the same ID at a directory tree server side; if the validity ID of the data block having the same ID at the directory tree server side is the same as the validity ID transmitted by the client, issuing, by the directory tree server, a matching success message to the client; otherwise, issuing, by the directory tree server, a matching failure message and the data block having the same ID at the directory tree server side to the client. - View Dependent Claims (3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A system for issuing directory tree data, comprising:
- a directory tree server and a client;
whereinthe directory tree server is adapted to pre-store Identities (IDs) of data blocks obtained by dividing directory tree data according to an agreed protocol between the directory tree server and the client, generate validity IDs for the data blocks at a directory tree server side according to the agreed protocol, receive an ID and a validity ID of a data block that the client requests to download, query for a validity ID of a data block having the same ID at the directory tree server side, issue a matching success message to the client if the validity ID at the directory tree server is the same as the validity ID received from the client, and issue a matching failure message and the data block having the same ID at the directory tree server side to the client if the validity ID at the directory tree server is different from the validity ID received from the client; and the client is adapted to pre-store or generate the ID and the validity ID of the data block requested to be downloaded according to the agreed protocol between the client and the directory tree server, and transmit the ID and the validity ID of the data block to the directory tree server, receive the matching success message, or the matching failure message and the data block having the same ID at the directory tree server side.
- a directory tree server and a client;
-
12. A server, comprising:
- an Identity (ID) generating unit, a matching unit and an issuing unit;
whereinthe ID generating unit is adapted to generate IDs and validity IDs for data blocks at a server side according to an agreed protocol between the server and a client, and store the IDs and validity IDs; the matching unit is adapted to receive an ID and a validity ID of a local data block of the client, query for a validity ID of a data block having the same ID at the server side, issue a matching success indication to the issuing unit if the validity ID of the data block having the same ID at the server side is the same as the validity ID received from the client, and issue a matching failure indication to the issuing unit if the validity ID of the data block having the same ID at the server side is different from the validity ID received from the client; and the issuing unit is adapted to issue a matching success message after receiving the matching success indication, and issue a matching failure message and the data block having the same ID at the server side after receiving matching failure indication.
- an Identity (ID) generating unit, a matching unit and an issuing unit;
-
13. A client, comprising:
- an Identity (ID) generating unit, a transmitting unit, an updating unit and a local data storing unit;
whereinthe ID generating unit is adapted to generate and store an ID and a validity ID of a data block requested to be downloaded according to an agreed protocol between the client and a directory tree server; the transmitting unit is adapted to transmit the ID and the validity ID of the data block requested to be downloaded to the directory tree server; the updating unit is adapted to keep a local data block having the ID unchanged after receiving a matching success message, updates the local data block having the ID with a data block having the same ID at a directory tree server side after receiving a matching failure message and the data block having the same ID at the directory tree server side; and the local data storing unit is adapted to store the local data block of the client. - View Dependent Claims (14, 15)
- an Identity (ID) generating unit, a transmitting unit, an updating unit and a local data storing unit;
Specification