为使基于DHT的结构化P2P网络支持语义检索,提高查全率,提出一种基于DHT和本体的搜索方法SOC(se—mantic ontology chord)。针对结构化P2P网络搜索时只能根据关键词精确匹配的缺点,改进了DHT中的资源标识符,利用本体技术进行模糊搜索,并使兴趣相似节点在逻辑上处于邻近位置,提高了P2P网络中资源检索的查全率。使用Peer-Sim模拟器进行了仿真模拟,仿真实验结果表明,随着网络规模的增加,该搜索方法相比Chord模型具有较高的查全率。
To make the DHT-based structured P2P network to support semantic retrieval, a search algorithm SO(; (semantic on- tology chord) based on DHT and ontology is proposed. Aimed at the problems of the exact matched key search in structured P2P network, this algorithm improves the resources identit~ier in the DHT, uses the ontology to conduct the fuzzy query, puts the nodes of similar interest in the neighboring position, and improves recall of the resources search in the P2P network. The results of simulation experiment which uses the PeerSim simulator indicated that this algorithm achieve higher recall than chord with the increase of nodes and data.