为了实现云储存系统中高效的资源定位,首先提出了一种基于P2P网络的云存储结构,用具有小世界特性的全分布非结构化master网络取代GFS中单一master节点,并在此结构的基础上提出了基于细菌觅食算法的资源定位算法SBFA,采用计数来取代细菌觅食算法的4层循环结构,打破了迁徙、复制和趋化之间的嵌套关系.实验结果表明,SBFA算法在保持高命中率的同时有效降低了平均访问节点数.
In order to achieve the effective resource location in cloud storage system,firstly a P2Pnetwork based cloud storage structure is proposed,using the total-distributed unstructured master network which possesses the small world character to replace the single master node in GFS.And on the basis of this structure,a BFA based resource locating algorithm SBFA is put forward,which adopts counting to take the place of 4-layer cycle structure of bacterial foraging algorithm,breaking the nesting relationship among migration,reproducing and chemotaxis.The experiments results makes it clear that SBFA algorithm can effectively reduce the average visiting nodes number as well as keep the high hitting ratio.