Abstract
In the current surveillance video processing systems, the video processing algorithms and the physical resources are highly coupled, and a video stream is usually used as a basic task scheduling unit. With the expansion of the scale of the system, the traditional systems will cause the large resource fragments that cannot be utilized adequately. In this paper, we propose a novel online surveillance video processing system architecture that combines the distributed Kafka message queue and Spark computing framework. Our system decouples the video stream collection and the video stream processing, and further decouples the video processing tasks and the physical resources. This loosely coupled architecture can quickly recover the failed tasks without data loss for the large-scale video surveillance, and can provide the more scalable distributed computing ability. In addition, a fine-grained online video task management method, which uses the cached video data blocks as the scheduling units, is proposed to increase the resource utilization. Experimental results show that our system has the higher resource utilization and the higher task capacity compared with the traditional systems.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsReferences
Zhao, X.M., Ma, H.D., Zhang, H.T., Tang, Y., Fu, G.P.: Metadata extraction and correction for large-scale traffic surveillance videos. In: Proceedings of IEEE Big Data 2014, pp. 412–420 (2014)
Yang, X., Zhang, H., Ma, H., Li, W., Fu, G., Tang, Y.: Multi-resource allocation for virtual machine placement in video surveillance cloud. In: Zu, Q., Hu, B. (eds.) HCC 2016. LNCS, vol. 9567, pp. 544–555. Springer, Heidelberg (2016). doi:10.1007/978-3-319-31854-7_49
Zhang, W., Xu, L., Duan, P., Gong, W., Liu, X., Lu, Q.: Towards a high speed video cloud based on batch processing integrated with fast processing. In: Proceedings of IIKI 2014, pp. 28–33 (2014)
Benfold, B., Reid, I.: Stable multi-target tracking in real-time surveillance video. In: Proceedings of CVPR 2011, pp. 3457–3464 (2011)
Chowdhury, A., Tripathy, S.: Detection of human presence in a surveillance video using fuzzy approach. In: Proceedings of SPIN 2014, pp. 216–219 (2014)
Hossain, M., Hassan, M., Qurishi, M., Alghamdi, A.: Resource allocation for service composition in cloud based video surveillance platform. In: Proceedings of IEEE ICME Workshops 2012, pp. 408–412 (2012)
Zhao, X.M., Ma, H.D., Zhang, H.T., Tang, Y., Kou, Y.: HVPI: extending Hadoop to support video analytic applications. In: Proceedings of IEEE Cloud 2015, pp. 789–796 (2015)
Hu, R., Jiang, J., Liu, G., Wang, L.: KSwSVR: a new load forecasting method for efficient resources provisioning in cloud. In: Proceedings of IEEE 10th SCC, pp. 120–127 (2013)
Zhao, H., Pan, M., Liu, X., Li, X., Fang, Y.: Exploring fine-grained resource rental planning in cloud computing. IEEE Trans. Cloud Comput. 3(3), 304–317 (2015)
Dean, J., Ghemawat, S.: MapReduce: simplified data processing on large clusters. Commun. ACM 51(1), 107–113 (2008)
Apache Storm. http://storm.apache.org/
Zaharia, M., Chowdhury, M., Franklin, M., Shenker, S., Stoica, I.: Spark: cluster computing with working sets. In: Proceedings of HotCloud 2010 (2010)
Ryu, C., Lee, D., Jang, M., Kim, C., Seo, E.: Extensible video processing framework in Apache Hadoop. In: Proceedings of IEEE 5th CloudCom 2013, vol. 2, pp. 305–310 (2013)
Wang, H., Zheng, X., Bo, X.: Large-scale human action recognition with Spark. In: Proceedings of MMSP 2015 (2015)
Apache Kafka: A high-throughput distributed messaging system. http://Kafka.apache.org/
Xuggler. http://www.xuggle.com/xuggler/
Zaharia, M., Chowdhury, M., Das, T., et al.: Resilient distributed datasets: a fault-tolerant abstraction for in-memory cluster computing. In: Proceedings of NSDI 2012 (2012)
ZooKeeper. http://zookeeper.apache.org/
Acknowledgment
This work is supported by the National High Technology Research and Development Program of China (No. 2014AA015101); National Natural Science Foundation of China (No. 61300013); Doctoral Program Foundation of Institutions of Higher Education of China (No. 20130005120011); Asia Foresight Program under NSFC Grant No. 61411146001.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2016 Springer International Publishing Switzerland
About this paper
Cite this paper
Zhang, H., Yan, J., Kou, Y. (2016). Efficient Online Surveillance Video Processing Based on Spark Framework. In: Wang, Y., Yu, G., Zhang, Y., Han, Z., Wang, G. (eds) Big Data Computing and Communications. BigCom 2016. Lecture Notes in Computer Science(), vol 9784. Springer, Cham. https://doi.org/10.1007/978-3-319-42553-5_26
Download citation
DOI: https://doi.org/10.1007/978-3-319-42553-5_26
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-42552-8
Online ISBN: 978-3-319-42553-5
eBook Packages: Computer ScienceComputer Science (R0)