簡易檢索 / 詳目顯示

研究生: 翁卓立
Cho-li Weng
論文名稱: 一個具有自動調整功能的網路型 DVR 之設計與實作
Design and Implementation of a Self-Adaptable Networked DVR
指導教授: 陳省隆
Hsing-Lung Chen
口試委員: 莊博任
Po-Jen Chuang
吳乾彌
Chen-Mie Wu
陳郁堂
Yie-Tarng Chen
學位類別: 碩士
Master
系所名稱: 電資學院 - 電子工程系
Department of Electronic and Computer Engineering
論文出版年: 2010
畢業學年度: 98
語文別: 中文
論文頁數: 73
中文關鍵詞: 通訊協定數位錄影系統自動調整
外文關鍵詞: internet protocol, DVR, self-adaptive
相關次數: 點閱:159下載:0
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報

在安全監控產業中,數位錄影系統(Digital Video Recorder)為相當重要的產品之
一。DVR 與傳統監控產品最主要的差別,除了儲存媒體改以硬碟為主以外,最
重要的特色為導入網路相關技術的應用,並提供了網路遠端監控的可能性。

在開發 DVR 產品時,無論採用的網路通訊協定多寡,通常都會在研發過程遭遇
一些問題。本文主要重點為描述 DDNS 的更新機制在套用至 DVR 產品時可能會
面臨的一大問題,也就是在 DVR 無法取得當地網路路由器之外部IP 位址的情況
下,可能會產生 DDNS 申請而來的 Domain Name 與實際使用的 IP 位址無法相
符,又不能正確更新的問題。除了描述此問題之外,亦提供二個可能的解決方案,
並詳加比較彼此的優缺點。若 DVR 可以自我偵測路由器外部 IP 的改變,並即
時發送 DDNS 更新封包至 DDNS 伺服器,則此自動調整功能將可以讓 DVR 在
搭配 DDNS 使用時,維持 Domain Name 與 IP Address 的對應關係。

而在說明 DDNS 與 DVR 互相搭配的問題之外,本文亦大略介紹安全監控產業相
關的產品與其特色,並說明在這些產品之中可能使用的壓縮技術或是網路相關通
訊協定。在搭配網路通訊協定進行開發的過程中,所遭遇的相關問題與實際案例
亦有提及。


DVR (Digital Video Recorder) is one of the major products in surveillance
industry. In addition to using hard disk as storage media, the major
difference between DVR and conventional recording system is the
application of network protocol. It also provides the possibility of remote
monitoring.

No matter how many network protocols have been used in DVR products,
it is for sure that some problems will occur during development. This
thesis mentions a serious problem DVR could meet if it integrates DDNS
function. When DVR is located in a LAN environment and rely on a router
to communicate with Internet, DVR may have no way to get router’s
external IP address. Since DVR needs to know the correct external IP
address to determine when it needs to send DDNS update packet, it may
not be able to send DDNS update packet at correct time if DVR does not
notice the change of router’s external IP address. This could generate
inconsistency issue between IP address and the domain name that user
retrieved from DDNS provider. If DVR could detect the change of router's
external IP, and send DDNS update packet to DDNS server at correct
timing, then this self-adaptive function can keep consistency between
domain name and external IP address.

In addition to discussing the problem with DDNS update mechanism with
DVR, the thesis also provides two possible methods to solve this issue,
and compares the advantage/disadvantage with both ways. DVR related
products are also introduced in this thesis, with brief discussion for
compress technology and network protocols that DVR related products
will use. Some of the real cases when developing DVR products with
network protocols are also mentioned and described.

論文摘要I AbstractII 目錄III 圖表索引VI 第一章緒論1 第二章DVR簡介2 2.1、何謂DVR2 2.2、DVR的衍生機種3 2.2.1、IP Camera3 2.2.2、NVR (Network Video Recorder)5 2.2.3、混合式DVR(Hybrid DVR)6 2.2.4、影像伺服器(Video Server)7 2.3、DVR常見功能7 2.3.1、移動偵測 (Motion Detection)7 2.3.2、感應器偵測 (Sensor Detection)8 2.3.3、警報輸出 (Alarm Output)9 2.3.4、訊號遺失 (Video Loss)9 2.3.5、其他偵測功能9 2.3.6、智慧監控 (Intelligent Function)10 2.3.7、定時錄影 (Time Record)10 2.3.8、錄影排程 (Record Schedule)11 2.3.9、畫面切換12 2.3.10、遠端網路監控12 2.3.11、韌體更新14 2.3.12、影像備份15 2.3.13、事件搜尋16 2.3.14、PTZ Control17 2.4、PC Based DVR之優缺點18 2.4.1、優點18 2.4.2、缺點18 2.5、Standalone DVR之優缺點18 2.5.1、優點18 2.5.2、缺點19 2.6、DVR常見的影像壓縮格式19 2.6.1、Motion JPEG20 2.6.2、MPEG-420 2.6.3、H.26421 第三章DVR相關的網際網路通訊協定簡介與使用方式23 3.1、TCP/UDP24 3.1.1、TCP/UDP 簡介24 3.1.2、TCP 與 UDP 的比較24 3.1.3、DVR 使用 TCP/UDP 的場合25 3.2、DHCP26 3.2.1、DHCP 簡介26 3.2.2、DHCP 使用流程26 3.2.3、DVR 使用 DHCP 的時機28 3.3、PPPoE28 3.3.1、PPPoE 簡介28 3.3.2、PPPoE 的通訊過程28 3.3.3、DVR 使用 PPPoE 的時機30 3.4、HTTP30 3.4.1、全球資訊網與 HTTP30 3.4.2、靜態網頁與動態網頁31 3.4.3、網頁語言32 3.4.4、HTTP 在 DVR 的應用場合33 3.5、DNS33 3.6、DDNS(Dynamic Domain Name Service)33 3.7、ICMP35 3.8、NTP35 3.9、SMTP36 第四章具自動調整功能之 DVR 實際案例與相關網路問題探討38 4.1、DVR 的 DDNS自動調整功能38 4.1.1、DVR 使用 DDNS 自動調整功能的主要時機40 4.1.2、以 ICMP 方式進行 DDNS 自動調整功能42 4.1.3、以 HTTP 方式進行 DDNS 自動調整功能46 4.1.4、ICMP 方式與 HTTP 方式的執行速度比較53 4.2、含自動調整功能 DVR 之網路晶片的挑選55 4.3、網路晶片本身產生的問題56 4.3.1、網路連線狀態56 4.3.2、連線速率58 4.3.3、晶片限制問題59 4.4、網路型 DVR 無法連線問題的實際案例說明60 4.4.1、Socket 數量限制61 4.4.2、Socket 未正常關閉61 4.4.3、防火牆設定62 4.4.4、網路頻寬不足62 4.4.5、Default Gateway 設定63 4.4.6、DVR 與 PC 直接連接的問題63 4.4.7、DVR 網路連線中斷事件64 4.4.8、廣播式的 ICMP 封包65 4.4.9、MAC位址衝突問題66 4.4.10、DDNS更新與Web Server衝突問題67 4.4.11、Web Server 運行不穩定68 第五章結論70 第六章參考資料72 6.1、期刊部份72 6.2、書籍部份72 6.3、網站部份72

[1]楊智雄,「由電影“全民公敵”談起-我國安全監控產業概況」,產業資訊,第53期,第36 – 40頁 (2007)。
[2]TechWell, TW2815 Data Sheet Version 1.1, TechWell, San Jose, pp. 8-9 (2006)
[3]TechWell, TW2835 Data Sheet Version 1.2, TechWell, San Jose, pp. 36-41 (2006)
[4]TechWell, TW2837 Data Sheer Version 1.61, TechWell, San Jose, pp. 38-43 (2009)
[5]虹智科技,4-8-16ch Triplex DVR User Guide Version 1.8,虹智科技,台北,pp. 24、pp. 31-40、pp. 61-63 (2009)。
[6]Keith Jack, Video Demystified 4th Edition, Newnes, MA, pp. 737-759 (2005)
[7]Iain E. G. Richardson, H.264 and MPEG-4 Video Compression 1st Edition, Wiley, NJ, pp. 5-6, pp. 85-94, pp. 99-103, pp.159-198 (2003)
[8]Cradle Technologies, CradleWatch Client User Guide Version 0.0.17, Cradle Technologies, Mountain View, pp. 20 (2008)
[9]Behrouz A. Forouzan, Data Communications and Networking 4th Edition, McGraw Hill, NY, pp. 552-562, pp. 618-621, pp. 709-735, pp. 803-806, pp. 809-810, pp. 812, pp. 834-836, pp. 861-868 (2007)
[10]Behrouz A. Forouzan, TCP/IP Protocol Suite 3rd Edition, McGraw Hill, NY, pp. 62-63, pp. 84-94, pp. 102-106, pp. 115-126, pp. 212-233, pp. 260-267, pp.276-338, pp. 457-467, pp. 471-493, pp.553, pp. 561-566, pp. 599-617, pp. 685-686 (2007)
[11]W. Richard Stevens, TCP/IP Illustrated, Volume 1 1st Edition, Addison Wesley, IN, pp. 69-96, pp. 187-193, pp. 215, pp. 441-448 (1994)
[12]WIZnet, W3150A+ Datasheet Version 2.0.4, WIZnet, Seoul, pp. 26-28, pp. 37-52 (2007)
[13]WIZnet, Application Note for W3150A+ - How to connect ADSL Version 2.0, WIZnet, Seoul, pp. 2-12 (2006)
[14]WIZnet, W3150A+/W5100 Errata Sheet Version 2.0.0, WIZnet, Seoul, pp.2-3 (2008)
[15]Stream Processor Inc, SP16-G160 Data Sheet Version 0.91, Stream Processor Inc, Sunnyvale, pp. 33-38 (2007)
[16]Digital Video Recorder, http://en.wikipedia.org/wiki/Digital_video_recorder
[17]RG-58, http://en.wikipedia.org/wiki/RG-58
[18]AXIS Communications, http://www.axis.com/
[19]PoE, http://zh.wikipedia.org/zh-tw/PoE
[20]Power over Ethernet, http://en.wikipedia.org/wiki/Power_over_Ethernet
[21]Power Over Ethernet - The Definitive Resource, http://www.poweroverethernet.com/
[22]How to Install an Ethernet Jack for a Home Network – Part 3, http://www.handymanhowto.com/2010/01/16/how-to-install-an-ethernet-jack-for-a-home-network-part-3/
[23]IP-NVR Network Video Recorder System, http://www.kintronics.com/neteye/videozerver/videozerver.html
[24]Video Servers, http://www.vivotek.com/products/video_servers.php
[25]Video Surveillance, http://en.wikipedia.org/wiki/Video_server#Video_Surveillance
[26]何謂影像伺服器, http://www.acti.com/tc/support/faq-videoserver.htm#q1
[27]AXIS Video Servers, http://www.axis.com/products/video/video_server/index.htm
[28]JTAG, http://en.wikipedia.org/wiki/JTAG
[29]PTZ Camera, http://en.wikipedia.org/wiki/PTZ_camera
[30]How to Compare a PC-Based DVR and a Stand-Alone DVR, http://www.ehow.com/how_2001818_compare-pc-based.html
[31]Peacock DVR Reference Design Kit (RDK), http://www.streamprocessors.com/streamprocessors/Home/Products/ReferenceDesignKits.html
[32]Motion JPEG, http://en.wikipedia.org/wiki/Motion_JPEG
[33]MPEG-4, http://en.wikipedia.org/wiki/MPEG-4
[34]Video Compression, http://en.wikipedia.org/wiki/Video_compression
[35]H.264/MPEG-4 AVC, http://en.wikipedia.org/wiki/H.264
[36]Transmission Control Protocol, http://en.wikipedia.org/wiki/Transmission_Control_Protocol
[37]User Datagram Protocol, http://en.wikipedia.org/wiki/User_Datagram_Protocol
[38]Datagram, http://en.wikipedia.org/wiki/Datagram
[39]BOOTP, http://en.wikipedia.org/wiki/BOOTP
[40]Dynamic Host Configuration Protocol, http://en.wikipedia.org/wiki/Dynamic_Host_Configuration_Protocol
[41]Point-to-Point Protocol over Ethernet, http://en.wikipedia.org/wiki/PPPoE
[42]Echo Request/Reply: RFC-792, http://www.cs.jcu.edu.au/CIE/RFC/1122/46.htm

QR CODE