基于云存储的嵌入式采集监控系统
发布时间:2018-10-09 11:54
【摘要】:传统数据采集系统和视频监控系统多将数据存放在空间有限的本地存储器上,存在数据丢失、人为破坏、硬件故障等隐患,可靠性较低,急切需要解决。云存储具有高可靠性、高性能、空间可扩展和可配置的优点,使用云存储能有效解决这些难题。 本文设计并实现基于云存储的嵌入式采集监控系统,将采集到的数据和图像上传到云存储系统保存,利用云存储保证数据的安全。主要完成工作如下:设计DS18B20数字温度传感器与MINI2440开发板的连接电路,编写其在Linux操作系统下的字符设备驱动程序并进行数据采集;使用V4L2采集开发板上USB摄像头图像,对常见的运动目标检测算法进行研究并使用openCV实现了背景差分法;注册成为百度开发者,创建基于百度云存储的应用并申请开通使用PCSAPI的权限,移植libcurl、openssl和zlib到开发板,使用C语言对百度PCS API进行二次封装;最后在PC和开发板上进行百度云上传时间和速度测试,并使用多线程技术将基于libcurl设计的API与数据采集和图像采集模块进行整合,将采集到的数据和图像上传到百度云存储系统中。 经测试表明,本方案是切实可行的,亦可以作为传统数据采集和视频监控的一个重要的补充功能。
[Abstract]:Traditional data acquisition systems and video surveillance systems usually store data on the local memory with limited space. There are hidden dangers such as data loss, artificial destruction, hardware failure and so on, so the reliability is low and urgent need to be solved. Cloud storage has the advantages of high reliability, high performance, expansibility and configurable space. Cloud storage can effectively solve these problems. This paper designs and implements an embedded data acquisition and monitoring system based on cloud storage, uploads the collected data and images to the cloud storage system, and uses cloud storage to ensure the security of the data. The main work is as follows: design the connection circuit between DS18B20 digital temperature sensor and MINI2440 development board, write the character device driver under the Linux operating system and collect data; use V4L2 to capture the USB camera image on the development board. The common algorithms of moving target detection are studied and the background difference method is realized by using openCV, and the developer of Baidu is registered, the application based on Baidu cloud storage is created and the permission to use PCSAPI is applied, and libcurl,openssl and zlib are transplanted to the development board. Finally, we test the time and speed of Baidu cloud upload on PC and development board, and integrate the API based on libcurl with the module of data acquisition and image acquisition by using multi-thread technology. Will collect the data and image upload to Baidu cloud storage system. The test results show that this scheme is feasible and can be used as an important supplementary function of traditional data acquisition and video surveillance.
【学位授予单位】:内蒙古大学
【学位级别】:硕士
【学位授予年份】:2014
【分类号】:TP333;TP274
本文编号:2259241
[Abstract]:Traditional data acquisition systems and video surveillance systems usually store data on the local memory with limited space. There are hidden dangers such as data loss, artificial destruction, hardware failure and so on, so the reliability is low and urgent need to be solved. Cloud storage has the advantages of high reliability, high performance, expansibility and configurable space. Cloud storage can effectively solve these problems. This paper designs and implements an embedded data acquisition and monitoring system based on cloud storage, uploads the collected data and images to the cloud storage system, and uses cloud storage to ensure the security of the data. The main work is as follows: design the connection circuit between DS18B20 digital temperature sensor and MINI2440 development board, write the character device driver under the Linux operating system and collect data; use V4L2 to capture the USB camera image on the development board. The common algorithms of moving target detection are studied and the background difference method is realized by using openCV, and the developer of Baidu is registered, the application based on Baidu cloud storage is created and the permission to use PCSAPI is applied, and libcurl,openssl and zlib are transplanted to the development board. Finally, we test the time and speed of Baidu cloud upload on PC and development board, and integrate the API based on libcurl with the module of data acquisition and image acquisition by using multi-thread technology. Will collect the data and image upload to Baidu cloud storage system. The test results show that this scheme is feasible and can be used as an important supplementary function of traditional data acquisition and video surveillance.
【学位授予单位】:内蒙古大学
【学位级别】:硕士
【学位授予年份】:2014
【分类号】:TP333;TP274
【参考文献】
相关期刊论文 前10条
1 王海涛;刘波;;云计算和关键技术问题的分析研究[J];电力系统通信;2011年10期
2 唐箭;;云存储系统的分析与应用研究[J];电脑知识与技术;2009年20期
3 周光海;郑日荣;张长春;;基于Linux的温度传感器DS18B20驱动程序设计[J];单片机与嵌入式系统应用;2010年01期
4 王飞;孔聪;;基于V4L2的Linux摄像头驱动的实现[J];电子科技;2012年02期
5 徐洪鹏;蒋廷彪;;基于Linux的温度传感器控制坐垫温度驱动程序设计[J];桂林电子科技大学学报;2013年01期
6 闫晶;;基于VC++的YUV420与RGB24之间的视频图像格式相互转换[J];电脑与信息技术;2013年02期
7 郭岱洁;张洪欣;刘振;;基于Android温度传感器驱动程序设计[J];滨州学院学报;2013年03期
8 李乔;郑啸;;云计算研究现状综述[J];计算机科学;2011年04期
9 陈康;郑纬民;;云计算:系统实例与研究现状[J];软件学报;2009年05期
10 罗军舟;金嘉晖;宋爱波;东方;;云计算:体系架构与关键技术[J];通信学报;2011年07期
,本文编号:2259241
本文链接:https://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/2259241.html