计算机工程与应用 ›› 2008, Vol. 44 ›› Issue (15): 76-78.

• 研发、设计、测试 • 上一篇    下一篇

一种嵌入式P2P文件共享系统

齐卫宁1,2,王劲林2   

  1. 1.中科院 研究生院,北京 100049
    2.中科院 声学所 网络与新媒体中心,北京 100080
  • 收稿日期:2007-09-06 修回日期:2007-11-02 出版日期:2008-05-21 发布日期:2008-05-21
  • 通讯作者: 齐卫宁

Embedded Peer-to-Peer file sharing system

QI Wei-ning1,2,WANG Jin-lin2   

  1. 1.Graduate School of the Chinese Academy of Sciences,Beijing 100049,China
    2.Institute of Acoustics,Chinese Academy of Sciences,Beijing 100080,China
  • Received:2007-09-06 Revised:2007-11-02 Online:2008-05-21 Published:2008-05-21
  • Contact: QI Wei-ning

摘要: 论述Windows CE嵌入式平台上一种P2P文件共享系统的实现。并针对嵌入式平台的特点,对该文件共享系统进行了优化,提出两种优化方法:充分利用内存资源和改善排队算法。前者解决嵌入式平台I/O操作速度慢的问题,后者解决嵌入式系统Socket资源受限的问题。测试结果表明,这些优化方法有效地改善了文件共享系统的性能,提高了文件下载速率。

关键词: P2P, 文件共享系统, 嵌入式系统

Abstract: A file sharing system based on Windows CE embedded platform have been realizes.The author optimized the system according to the characteristics of the specific embedded platform and proposed two kinds of optimization.The problem of slow-speed I/O operation in the embedded platform is solved by efficient utilization of the memory resource.And the problem of limited Socket numbers is solved by improving the queue algorithm.Test results show that the performances of the system have been effectively improved by using these two optimization methods.And the downloading speed of files is enhanced in the improved system.

Key words: Peer-to-Peer, file sharing system, embedded system