SophiNode模型在P2P系统的基础上实现了分布式电子商务的应用。文章研究了其中的服务广告转发问题。为了提高服务发现的速度、完整性并降低系统开销,通过对现实生活中流言的散布过程的研究,提出了服务广告转发机制中的两个关键技术:转发概率和转发权值。转发概率与广告的广泛程度成反比,因此稀有的广告可以被迅速传播,而大众化的广告将被忽略。转发权值决定了广告将被转发的邻居节点数。通过仿真实验,验证了基于流言散布模型的服务广告转发机制的有效性,同时能够明显提高服务发现的效率而保持稳定的系统开销,而且还能够在有效时间内发现更多的服务。
SophiNode uses P2P infrastructure to realize a decentralized E-Commerce application.And service advertisement forwarding is an interesting topic in SophiNode.We discuss speed,scope and overhead feature of a service discovery system,and put forward a Rumor-Spreading model to improve these features.We try to simulate rumor-spreading process of human life,and avoid unnecessary duplicated advertisement overhead.Two key concepts are adopted:Forwarding Probability and Forwarding Weight.The former is in inverse proportion with service advertisement popularity;so that popular advertisements are filtered while rare advertisements are wildly spread,The later helps to determine the Next Hop when forwarding an advertisement.Our simulation shows that after Rumor-Spreading model is adopted,speed and scope feature of service query is improved while overhead feature keeps steady.