摘要 |
<p>Disclosed is a method for data storage and query in a peer network: after generating a data resource identifier according to an identifier of data to be stored, storing the data to be stored into a data storage node; determining an index storage node according to search attributes of the data, and storing the data resource identifier or data identifier, as well as an index relationship of the search attributes into the index storage node; during data query, after querying the index relationship from the index storage node according to the search attributes, acquiring corresponding data through query according to the data resource identifier or data identifier therein. Also disclosed are a system and a node for data storage and query in a peer network. Through the foregoing solutions, index data can be stored in different nodes of a peer network in a distributed manner, thereby improving dispersibility of storage and query; during query, only relevant one or few nodes are queried, which contributes to high query efficiency.</p> |