|国家预印本平台
首页|基于WebRTC和TCP的文件传输系统的研究与实现

基于WebRTC和TCP的文件传输系统的研究与实现

Research and Implementation of Multimedia Communication System for Web Users

中文摘要英文摘要

在互联网技术日新月异的时代,随着web浏览器的能力不断扩展和强大,人们可以通过浏览器使用多种富媒体应用,如音视频通信、可视化动画效果等。HTML5标准作为下一代的HTML标准目前已被大多现代浏览器所支持,其中WebRTC(Web实时通信,Web Real-Time Communication)由一组标准、协议和JavaScript API组成,用于实现浏览器之间(端到端)的音频、视频及数据共享,无需下载安装任何插件。本文研究并设计实现了兼容联通和非联通网段内的文件传输系统,相同网段内采用基于WebRTC技术的点对点数据直连传输,避免中心服务器中转带来的网络资源浪费;跨网段的传输采用基于TCP协议的socket传输,保证传输的可用性和高效性。本文的最后测试并验证了系统的传输效率,对域内和域间的情况加以比较分析。

With the rapid development of Internet technologies, the capabilities of web browsers are becoming more powerful, which enable that users using various rich media applications such as audio and video communication and visual animations. The HTML5 standard as the next-generation HTML is currently supported by most modern browsers. WebRTC (Web Real-Time Communication) consists of a set of standards, protocols, and JavaScript APIs for implementing browsers ( end-to-end audio, video and data sharing, no need to download and install any plugins. This paper studies and designs a file transmission system compatible with unicom and non-unicom network segments. The peer-to-peer direct transmission based on WebRTC technology is used in the same network segment to avoid waste of network resources caused by central server transit. The transmission of cross-network segments adopts socket transmission based on TCP protocol in order to ensure the availability and efficiency of transmission.At the end of the paper, the transmission efficiency of the system is tested and verified, and the unicom and non-unicom domain conditions are compared and analyzed.

双锴、单筱涵

通信无线通信计算技术、计算机技术

文件传输WebRTCP协议

File transferWebRTCTCP protocol

双锴,单筱涵.基于WebRTC和TCP的文件传输系统的研究与实现[EB/OL].(2019-01-04)[2025-08-23].http://www.paper.edu.cn/releasepaper/content/201901-31.点此复制

评论