摘要 |
One embodiment provides a system which facilitates collection synchronization of data between a local and a remote node by using an exact match name. During operation, a local node receives an advertisement corresponding to a remote manifest at a remote node. A manifest represents a collection of a content object at a node. In some embodiments, a manifest corresponds to a root hash value which identifies the content objects of the collection. The local node determines that a local manifest and the remote manifest both indicate the same collection of content objects. Then, the local node determines whether the content of the collections are different by comparing the root hash value of the local manifest with the root hash value of the remote manifest. In response to determining that the root hash values of the manifests are different, the local node retrieves the remote manifest by sending a request for the remote manifest. The local node determines which content objects identified in the remote manifest are different from the content objects identified in the local manifest. The local node transmits a set of interests for the content objects which are different, and receives the requested set of content objects, thereby facilitating synchronization of content objects associated with the manifests at both the local and remote node. |