计算机工程

• 专栏 • 上一篇    下一篇

面向视频监控系统的数据网关负载均衡策略

沈翼洲,蒋荣欣   

  1. (浙江大学数字技术及仪器研究所,杭州 310027)
  • 收稿日期:2014-11-17 出版日期:2015-10-15 发布日期:2015-10-15
  • 作者简介:沈翼洲(1989-),男,硕士研究生,主研方向:网络视频监控系统,Linux软件开发;蒋荣欣,副研究员。
  • 基金项目:
    国家“863”计划基金资助项目“相控阵三维声学摄像声纳信号处理系统”(2010AA09Z104)。

Load Balancing Strategy of Data Gateway for Video Surveillance System

SHEN Yizhou,JIANG Rongxin   

  1. (Institute of Advanced Digital Technology and Instrumentation,Zhejiang University,Hangzhou 310027,China)
  • Received:2014-11-17 Online:2015-10-15 Published:2015-10-15

摘要: 在当前网络视频监控系统中,数据网关与摄像机采用手动关联方式,进行大规模实时转码时易使单点负载过高。针对该问题,提出一种基于负载均衡策略的自适应关联方式。设计设备休眠和迁移机制,每台网关记录设备闲置时间,将超时设备投入休眠以降低自身负载。网关调度器周期性获取各网关负载,通过引入负载预警区和二次指数平滑模型预测负载,将过载判断时机提前。过载网关根据最近调用结束优先原则结合设备活跃度选择设备进行迁移,从而间接实现负载转移。实验结果表明,在4台网关36组轮切测试环境下,该方式较手动关联可缩短42.9%的实况开始平均响应时间。

关键词: 视频监控系统, 数据网关, 实时转码, 负载均衡, 设备休眠, 设备迁移

Abstract: In the current network video surveillance systems,it is easy to make some gateways overload that binding gateway with camera manually under large-scale real-time transcoding.In view of this problem,an adaptive binding mode based on load balancing strategy is proposed.This mode consists of two mechanisms which are device sleeping and device migration.Gateway reduces load by itself through putting overtime idle device into sleeping state.Gateway dispatcher gets every gateway’s load timely and advances overload judging time by importing alarm region and double exponential smoothing model to predict load.Overload gateway migrates device by last-call-finish-first principle with device active degree to realize load transfer indirectly.Under the testing environment of 4 gateways and 36 patrol groups,the experimental result indicates that,compared with manual-binding mode,the proposed mode can shorten live start averageresponse time by 42.9%.

Key words: video surveillance system, data gateway, real-time transcoding, load balancing, device sleeping, device migration

中图分类号: