针对现有基于网络编码的P2P—VoD系统仿真器缺乏通用性和可扩展性的问题,提出一种NS2下基于网络编码的P2P—VoD系统通用仿真平台NCVoDSim。在NS2典型模型基础上,进行网络编码扩展,构造Socket和接口模块支持P2P应用,设计P2P-VoD应用模块完成仿真平台设计。仿真实验表明,该仿真平台能有效完成基于网络编码的P2P-VoD系统数据调度算法仿真,具有通用性和可扩展性。
Due to the lack consideration of general and scalability in the existing simulators of Peer-to-Peer-Video-on-Demand(P2P-VoD) systems based on network coding, a general simulation platform based on NS2 is proposed. The network coding mechanism is extended on the basis of NS2. The Socket model and interface model are designed to provide P2P application. To complete the simulation platform, the P2P-VoD application models are designed and devcloped. Simulation results show that the data scheduling algorithm based on network coding can be simulated effectively with the proposed platform and the platform possesses general and scalability.