簡易檢索 / 詳目顯示

研究生: 鍾承育
Cheng-Yu Jhong
論文名稱: 透過iOS應用軟體控制與Onvif相容網路監控攝影機之研究
On the Control of Onvif Compatible IP Cameras via iOS App
指導教授: 吳傳嘉
Chwan-Chia Wu
口試委員: 黎碧煌
Bih-Hwang Lee
張俊明
Chun-Ming Chang
學位類別: 碩士
Master
系所名稱: 電資學院 - 電機工程系
Department of Electrical Engineering
論文出版年: 2016
畢業學年度: 104
語文別: 中文
論文頁數: 100
中文關鍵詞: 網路監控攝影機(IP Camera)iOS開放型網絡視頻接口論壇(ONVIF)應用程式介面(API)網路監控錄像儲存設備(NVR)
外文關鍵詞: IP Camera, iOS, ONVIF, API, NVR
相關次數: 點閱:477下載:4
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報

隨著雲端與物聯網等議題,帶動智慧家庭成主流,近幾年在歐美等成熟國家居民安全意識提升,以及網路與影像處理技術進步、產品設定步驟簡化、價格逐漸親民化等諸多因素,消費者隨時能自己設定家用監控系統,也讓網路監控攝影機(IP Camera)在家庭應用的商機跟著浮現。然而,消費者在購置與使用這些安全監控產品時,面臨不同廠商的攝影機、後端儲存設備以及應用程式之間的兼容性問題。本論文依照目前市佔最高的標準化組織ONVIF的規範內容,實作符合標準的iOS用戶端APP以及一個符合標準的儲存端系統,並能和符合標準的IP Camera互通運作。用戶端實現的功能包括發現設備、帳戶安全驗證、設備管理、影音串流、PTZ雲台控制、影音錄像的儲存和回播,並自行設計了API幫助其他開發者提高開發效率與降低困難。儲存端實現的功能包括對用戶端指令的監聽、處理與回應,以及儲存攝影機影音串流與發送串流至用戶端。


Cloud, Internet of Things and other issues led to smart-home into the mainstream. In recent years, the safety awareness of residents in Europe, America and other mature countries increased, network and image processing technology advanced, product setting procedure was simplified, and the price gradually closed to the people. Consumers can set their own home monitoring system at any time, and opportunities in home applications of IP Camera also emerge. When purchasing and using these security monitoring products, consumers face compatibility issues between cameras, back-end storage devices and applications from different vendors. According to the specifications of ONVIF, a organization for standardization that has the highest market share in the field of security monitoring, we implemented an APP for iOS clients and a system for storage server. Both can work together with ONVIF compatible IP Cameras. The functions of client side include discovery, account security, device management, audio and video streaming, PTZ control, storage and playback of audio and video recordings, and an API designed for helping other developers to improve development efficiency and reduce the difficulties. The functions of server side include listening, processing and response to the client side, as well as storing audio and video stream from cameras and sending it to the client.

摘要 I ABSTRACT II 誌謝 III 目錄 IV 圖索引 VII 表索引 X 第一章、 緒論 1 1.1 研究背景 1 1.2 研究動機及目的 5 1.3 研究內容 7 1.4 章節架構 7 第二章、 系統軟體架構介紹 8 2.1 IOS簡介 8 2.2 開發環境簡介 10 2.2.1 Objective-C 10 2.2.2 Xcode 12 2.2.3 C# 14 2.2.4 Visual Studio 16 2.3 網路服務(WEB SERVICE)簡介 17 2.3.1 SOAP 17 2.3.2 WSDL 19 2.4 ONVIF網路監控規範標準簡介 21 2.5 雲端媒體儲存簡介 23 2.5.1 FFmpeg 23 2.5.2 Live555 25 第三章、 系統設計 26 3.1 用戶端(CLIENT) 26 3.1.1 ONVIF 客戶端監控系統設計 26 3.1.2 發現設備 28 3.1.3 帳戶安全驗證 41 3.1.4 設備管理 49 3.1.5 影音串流 50 3.1.6 PTZ雲台控制 51 3.1.7 影音錄像儲存至雲端 54 3.1.8 雲端影音錄像回播 56 3.2 儲存端(SERVER) 57 3.2.1 儲存端系統架構 57 3.2.2 儲存攝影機影音媒體檔案 57 3.2.3 影音媒體轉檔 58 3.2.4 錄像影音串流至用戶端 58 第四章、 實作成果 59 4.1 用戶端(CLIENT) 59 4.1.1 ONVIF 客戶端監控系統實作 59 4.1.2 發現設備 60 4.1.3 帳戶安全驗證 66 4.1.4 設備管理 67 4.1.5 影音串流 70 4.1.6 PTZ雲台控制 73 4.1.7 影音錄像儲存至雲端 78 4.1.8 雲端影音錄像回播 81 4.2 儲存端(SERVER) 84 4.2.1 Web Service雲端系統整合 84 4.3 播放器的使用與比較 87 第五章、 結論與未來展望 93 5.1 結論 93 5.2 未來展望 94 參考文獻 95

[1] 安西亞, “智慧家庭不是夢! 懶人經濟萌芽”, EE Times Taiwan 電子工程專輯, 2016年5月
http://www.eettaiwan.com/news/article/20160505NT31-Smart-Home
[2] 吳秀樺, “友訊攻智慧家庭 IP Cam打先鋒”, 蘋果日報即時新聞, 2015年5月
http://www.appledaily.com.tw/realtimenews/article/new/20150501/602817
[3] 陳昱翔, “全球智慧城市風潮興起 網路攝影機商機爆發”, 新通訊元件雜誌, 2014年3月
http://www.2cm.com.tw/markettrend_content.asp?sn=1402060024
[4] 陳峪賢, “安全監控系統的發展歷程”, iThome技術文章, 2012年9月
http://www.ithome.com.tw/node/76084
[5] “SDI CCTV及IPCAM 百萬像素高畫質監視監控系統永無止盡的戰爭之成本計算”, 虹谷資訊, 2013年11月
http://www.hongku.com.tw/web/SG?command=display&pageID=40115
[6] 黄瑾, 洪丽娟, “ONVIF和PSIA——网络视频监控标准浅析”, 论文发表向导网, 2014年2月
http://www.lwfbxd.com/article-1971.html
[7] hoyjam1, “网络摄像头 接口协议 ONVIF,PSIA,CGI,ISAPI”, Lai18.com IT技术文章收藏夹, 2016年1月
http://www.lai18.com/content/2528160.html
[8] “開放網絡視頻接口論壇”, 維基百科
https://zh.wikipedia.org/wiki/%E5%BC%80%E6%94%BE%E7%BD%91%E7%BB%9C%E8%A7%86%E9%A2%91%E6%8E%A5%E5%8F%A3%E8%AE%BA%E5%9D%9B
[9] 郭正義, “網路影像監控系統的國際標準趨勢- ONVIF vs. PSIA”, 全球安防科技網, 2009年8月
http://www.asmag.com.tw/article/article_detail.aspx?aid=8103
[10] GEOFF KOHL, JOEL GRIFFIN, “Report: Majority of IP market made up of ONVIF, PSIA members”, SECURITYINFOWATCH.COM, JUL 2009
http://www.securityinfowatch.com/news/10491492/report-majority-of-ip-market-made-up-of-onvif-psia-members
[11] Ajit Dubey, “PSIA与ONVIF:如何评估两种视频监控标准”, 安防知识网, 2010年3月
http://www.asmag.com.cn/news/201003/24961.html
[12] Ronak Prajapati, “Overview of iOS Platform”, CodeRiddles
http://www.coderiddles.com/ios-platform
[13] “【iOS開發之旅】iOS系統架構”, 壹讀, 2016年1月
https://read01.com/7DmRR.html
[14] bonjouryentinglai, “Objective-C入門簡介”, WordPress, 2009年11月
https://bonjouryentinglai.wordpress.com/2009/11/18/objective-c%E5%85%A5%E9%96%80%E7%B0%A1%E4%BB%8B
[15] “Objective-C特点”, Objective-C之成魔之路专栏文章, 2011年11月
http://www.kancloud.cn/digest/objective-c-magic/100919
[16] “A General Tour of Xcode”, Designers.how
http://xcode.usefedora.com/courses/xcode/lectures/66497
[17] suiling, “Xcode概览:在工作区窗口开发您的应用程序”, CocoaChina, 2014年12月
http://www.cocoachina.com/ios/20141203/10392.html
[18] Antonio Bello, “iOS User Interfaces: Storyboards vs. NIBs vs. Custom Code”, Toptal
https://www.toptal.com/ios/ios-user-interfaces-storyboards-vs-nibs-vs-custom-code
[19] “C#”, 維基百科
https://zh.wikipedia.org/wiki/C%E2%99%AF
[20] “C#语言主要特性总结”, 脚本之家, 2015年2月
http://m.jb51.net/article/61218.htm
[21] “Microsoft Visual Studio”, 維基百科
https://zh.wikipedia.org/wiki/Microsoft_Visual_Studio
[22] ” SOAP”, 台灣Word詞條
http://www.twword.com/wiki/SOAP
[23] aisuhua, ” SOAP 介绍”, SegmentFault, 2015年9月
https://segmentfault.com/a/1190000003762279
[24] 安勃卿, ” web service 编程初步”, 安勃卿的BLOG, 2015年5月
http://anboqing.github.io/web-service-bian-cheng-chu-bu.html
[25] ”數字網絡監控系統ONVIF規範”, Armada, 2015年1月
http://www.armadainter.com/TechnologyList.aspx?t=2015&i=75
[26] ” FFmpeg 免費開源、功能強大的影音處理框架”, Magic Len, 2016年1月
https://magiclen.org/ffmpeg/
[27] jqc, ” Live555的基本介绍”, 博客, 2015年4月
http://www.cnblogs.com/jqctop1/p/4385557.html
[28] ONVIF Conformance Process Specification
http://www.onvif.org/Portals/0/documents/op/ONVIF-Conformance-Process-Specification_v3-1.pdf
[29] ONVIF Core Specification
http://www.onvif.org/specs/core/ONVIF-Core-Specification-v260.pdf
[30] ONVIF Application Programmer's Guide
http://www.onvif.org/Portals/0/documents/WhitePapers/ONVIF_WG-APG-Application_Programmer%27s_Guide.pdf
[31] Web Services Dynamic Discovery (WSDiscovery)
http://www.onvif.org/specs/external/ws-discovery/ws-discovery.pdf
[32] Albert, ” ONVIF -- WS-Discovery spec”, Albert 的筆記本, 2013年9月
http://albert-oma.blogspot.tw/2013/09/onvif-ws-discovery-spec.html
[33] Hermes, ” onvif设备搜索小结”, 天如洗 笙歌起, 2010年10月
http://zhangchenhui2010.blogspot.tw/2010/10/onvif.html
[34] 蒋金楠, ” [WCF-Discovery] WCF-Discovery的协议基础:WS-Discovery”, 博客, 2011年10月
http://www.cnblogs.com/artech/archive/2011/10/07/WS-Discovery.html
[35] ZHOU__QI123, ” WS-Discovery消息标准格式”, 百度文库, 2011年12月
http://wenku.baidu.com/view/22c975096c85ec3a87c2c5f8.html
[36] “UPnP”, 維基百科
https://zh.wikipedia.org/wiki/UPnP
[37] 于辰涛, ” UPnP协议编程实践(一)”, IBM developerWorks, 2002年6月
https://www.ibm.com/developerworks/cn/linux/other/UPnP/part1/
[38] ” UPnP基本原理以及在NAT中的应用”, 华三通信, 2012年6月
http://www.h3c.com.cn/MiniSite/Technology_Circle/Net_Reptile/The_Five/Home/Catalog/201206/747039_97665_0.htm
[39] 蔡孟甫, 曹世強, 林盈達, ” UPnP:自動化網路設定”, 國立交通大學資訊科學系, 2004年6月
[40] 张鑫, 唐友喜, ” 基于UPnP 的线路由器开发”, 电子科技大学通信抗干扰技术国家级重点实验室, 2007年4月
[41] ONVIF Streaming Specification
http://www.onvif.org/specs/stream/ONVIF-Streaming-Spec-v260.pdf
[42] ONVIF PTZ Coordinate Spaces
http://www.onvif.org/Portals/0/documents/whitepapers/ONVIF_PTZ_coordinate_spaces.pdf
[43] konstm/KMXmlParser
https://github.com/konstm/KMXmlParser
[44] fkuehne/upnpx
https://github.com/fkuehne/upnpx
[45] kolyvan/kxmovie
https://github.com/kolyvan/kxmovie
[46] Bilibili/ijkplayer
https://github.com/Bilibili/ijkplayer
[47] tbago/ijkplayer
https://github.com/tbago/ijkplayer
[48] [iOS]FFmpeg框架在iOS平台上的编译和使用
http://www.jianshu.com/p/147c03553e63
[49] ijkplayer ios项目集成(图文详细版)
http://www.jianshu.com/p/4f21af680c19
[50] 蕭冠萌, ”透過Android應用軟體控制與Onvif相容網路監控攝影機之研究”, 台灣科技大學電機所碩士論文, 2016年8月
[51] 吳雲漢, ”一個聲控智慧家庭系統之設計”, 台灣科技大學電機所碩士論文, 2016年8月
[52] 戴浩仲, ”一個智慧型恆溫器之設計”, 台灣科技大學電機所碩士論文, 2016年8月

QR CODE