高麗麗 崔麗珍 胡海東
摘 要: 國(guó)內(nèi)的無(wú)線門(mén)鈴主要是無(wú)線貓眼可視門(mén)鈴,雖然也是使用2.4 GHz的無(wú)線傳輸技術(shù),但專(zhuān)門(mén)的視頻顯示器攜帶起來(lái)不方便。少數(shù)幾家公司的WiFi門(mén)鈴系統(tǒng)除了昂貴的售價(jià)外,還沒(méi)有遠(yuǎn)程控制門(mén)鎖的功能。針對(duì)上述缺陷設(shè)計(jì)基于云服務(wù)的智能門(mén)鈴系統(tǒng)。通過(guò)WiFi技術(shù)將門(mén)外的視頻傳輸?shù)骄哂邪沧科脚_(tái)的智能機(jī)上,并通過(guò)手機(jī)客戶(hù)端控制門(mén)禁的狀態(tài)(打開(kāi)或關(guān)閉門(mén)禁)和查看到訪者的視頻,同時(shí)可以設(shè)置定時(shí)拍照功能,將照片上傳到云端YeeLink上,同時(shí)具有TI的SmartConfig、實(shí)時(shí)時(shí)間顯示和截屏保存的功能。結(jié)果表明,該系統(tǒng)達(dá)到了家庭的智能化和提高了家庭的安全性,節(jié)約時(shí)間并且方便。
關(guān)鍵詞: 無(wú)線門(mén)鈴; 智能門(mén)鈴; 云服務(wù); WiFi; 手機(jī)客戶(hù)端; 視頻顯示
中圖分類(lèi)號(hào): TN915.5?34 文獻(xiàn)標(biāo)識(shí)碼: A 文章編號(hào): 1004?373X(2018)14?0106?04
Design of intelligent doorbell system based on cloud service
GAO Lili, CUI Lizhen, HU Haidong
(School of Information Engineering, Inner Mongolia University of Science & Technology, Baotou 014010, China)
Abstract: The domestic wireless doorbells are mainly wireless cat eye visual doorbells, for which the 2.4 GHz wireless transmission technology is used, but the specialized video displayer is inconvenient to carry around. The WiFi doorbell systems of a few companies not only have expensive prices, but also lack the function of remote control of the door lock. Therefore, an intelligent doorbell system based on cloud service is designed. The WiFi technology is used to transmit the video outside the door to the smartphone with the Android platform, and on the mobile phone client, the status (open or closed) of the door is controlled and the visitor′s video is viewed. The timed photographing function is set, and photos are uploaded to the cloud terminal YeeLink. The system also has functions of TI′s SmartConfig, real time display, and screenshot storage. The results show that the system can achieve home intelligentization, improve home security, save time, and bring convenience.
Keywords: wireless doorbell; intelligent doorbell; cloud service; WiFi; mobile phone client; video display
0 引 言
科技的快速發(fā)展和社會(huì)的不斷進(jìn)步要求人們的生活更加的美好和便捷,這樣才符合事物的發(fā)展規(guī)律。門(mén)鈴作為人們生活中常見(jiàn)的家庭必備,其發(fā)展也是非常快的,從門(mén)鈴的功能變得越來(lái)越齊全、外觀越來(lái)越人性化、價(jià)格快速的融合市場(chǎng)需求[1]。同時(shí),與20世紀(jì)的門(mén)鈴功能和門(mén)禁的重要性相比,現(xiàn)代的門(mén)禁不僅僅是個(gè)封鎖一個(gè)空間的作用,向門(mén)禁增加網(wǎng)絡(luò)信息化和智能化是大勢(shì)所趨。目前的門(mén)鈴系統(tǒng)是百花齊放,有簡(jiǎn)單的叮咚或音樂(lè)的電子門(mén)鈴、有可以通過(guò)網(wǎng)線連接的視頻門(mén)鈴、有專(zhuān)門(mén)的視頻播放器的無(wú)線視頻門(mén)鈴、基于WiFi的無(wú)線視頻門(mén)鈴[2?4]等。目前利用WiFi技術(shù)的門(mén)鈴系統(tǒng)比較成熟的且有完善成品的是總部位于美國(guó)的doorbot產(chǎn)品。國(guó)內(nèi)的無(wú)線門(mén)鈴主要是無(wú)線貓眼可視門(mén)鈴,雖然也是使用2.4 GHz的無(wú)線傳輸技術(shù),但專(zhuān)門(mén)的視頻顯示器攜帶起來(lái)不方便。少數(shù)幾家公司的WiFi門(mén)鈴系統(tǒng)除了昂貴的售價(jià)外,并沒(méi)有遠(yuǎn)程控制門(mén)鎖的功能。針對(duì)上述缺陷, 本智能門(mén)鈴系統(tǒng)基于云服務(wù),使用無(wú)線傳輸視頻和控制門(mén)鎖,監(jiān)控不需要有固定的地點(diǎn),并可隨時(shí)接待家庭訪客。
1 系統(tǒng)總體設(shè)計(jì)
如圖1所示。每個(gè)部分通過(guò)WiFi結(jié)合在一起,通過(guò)TCP或UDP協(xié)議建立通信鏈路,在其上傳輸指令或承載數(shù)據(jù)[5?6]。視頻采集的驅(qū)動(dòng)MCU?BeagleBone Black與門(mén)鎖控制的驅(qū)動(dòng)MCU?TM4C123在系統(tǒng)中充當(dāng)云服務(wù)器的作用,手機(jī)APP作為客戶(hù)端訪問(wèn)BeagleBone Black中的Web地址獲取實(shí)時(shí)視頻流,與CC3000的Server Socket建立連接,把本地采集的語(yǔ)音信號(hào)、視頻信號(hào)(分別通過(guò)耳麥和USB 攝像頭采集)實(shí)時(shí)地傳給手機(jī)客戶(hù)端(具有安卓平臺(tái)的智能機(jī)),同時(shí)手機(jī)客戶(hù)端也可以把語(yǔ)音信號(hào)、控制信號(hào)實(shí)時(shí)地傳給BeagleBone Black。音樂(lè)門(mén)鈴的設(shè)計(jì)是一個(gè)獨(dú)立的模塊,通過(guò)外部的按鈕觸發(fā)KD9300芯片發(fā)出叮咚的聲音作為門(mén)鈴最原始的功能[7?8]。