动态自适应的HTTP流码率渐进切换算法

2019-08-01 01:54:12涂大喜蒋宇浩徐成余林琛
计算机应用 2019年4期

涂大喜 蒋宇浩 徐成 余林琛

摘 要:针对在动态网络环境和有限缓存容量限制下用户观看视频体验质量低的问题,提出一种综合考虑带宽和缓存因素的动态自适应的HTTP流码率渐进切换(DASBS)算法。首先,利用滑动窗口分析最近下载分片得到带宽初步估值;然后,依据实时带宽波动程度和缓存状态设置双矫正因子进一步平滑带宽估值;最后,设置缓存阈值使其与当前码率建立相关关系,并利用帶宽估值和缓存动态阈值共同控制码率切换。使用libdash平台验证算法性能,DASBS在切换平滑性上优于VQCQ(Video Quality Control for QoE)算法,视频播放平均码率更高,有效提高了带宽利用率;平均码率稍低于EABS(Evolution of Adaptive Bitrate Switching)算法时,切换次数得到大幅下降,整体切换稳定性表现更优。实验结果表明,所提算法在动态网络环境中具有带宽高利用、切换平滑和切换稳定的良好表现,能够有效改善用户体验。

关键词:流媒体;码率自适应;网络带宽;缓存容量;渐进切换

中图分类号:TP391.41

文献标志码:A

文章编号:1001-9081(2019)04-1127-06

Abstract: Aiming at the problem of low quality of video viewing experience in dynamic network environment with limited cache capacity, a Dynamic Adaptive Step-wise Bitrate Switching (DASBS) algorithm for HTTP streaming considering network bandwidth and cache capacity was proposed. Firstly, a sliding window was used to analyze the recent downloaded fragments, obtaining the initial bandwidth estimation. Then, according to the real-time bandwidth fluctuation degree and cache state, two correction factors were set to further smooth the bandwidth estimation. Finally, a cache threshold was set to establish a correlation with the current bitrate, and the bandwidth estimation and the cache dynamic threshold were used to jointly control the bitrate switching. Experimental results on platform libdash show that DASBS is better than Video Quality Control for QoE (VQCQ) algorithm in switching smoothness and its average bitrate of video playback is higher, which effectively improves the bandwidth utilization. Although the average bitrate is slightly lower than that of Evolution of Adaptive Bitrate Switching (EABS) algorithm, the number of switching times is greatly reduced, improving the switching stability. The experimental results show that the proposed algorithm has high bandwidth utilization, switching smoothness and switching stability in dynamic network environment, which can effectively improve user experience.

Key words: streaming media; bitrate adaptation; network bandwidth; cache capacity; step-wise switching

0 引言

近年来,随着移动互联网和智能手机技术的迅速发展,多媒体业务在整个互联网流量中占据越来越大的比重,视频流量已经成为互联网上主要网络流量。目前,由思科可视化网络指数预测报告指出,到2020年,视频流量将会占到所有消费者流量和内容传输网络流量的82%[1]。

传统的流媒体传输技术以用户数据报协议(User Datagram Protocol, UDP)作为传输协议,流媒体报文穿透防火墙的能力较差,穿越网络地址转换(Network Address Transport, NAT)网络较为困难,并且采用特定的流媒体服务器需要额外的搭建成本[2]。……

登录APP查看全文