Generic P2P query protocol


A flooding network, somewhat like gnutella. When a query is received and a search of local resources finds no matches, the reply includes a simplified query that would also fail.


Query: Do you have any files containing the string "Britney Spears"?

Reply: I have no files containing the string "Bri"

Intermediate nodes could cache these query failures. Then if someone else searched for "Brian Arrows" intermediate nodes would not need to pass on the query further.

A query would include an acceptable caching latency. Eg "In the last hour, did you have no files mentioning Britney Spears". Queries with high latency would be given higher priority by intermediate nodes to discourage low latency queries.

Nice features: