Original title:
Server pro sběr senzorických dat a řízení aktivních prvků
Translated title:
Server for Collecting Sensor Data and Control of Active Elements
Authors:
Halaj, Jozef ; Hujňák, Ondřej (referee) ; Viktorin, Jan (advisor) Document type: Bachelor's theses
Year:
2017
Language:
cze Publisher:
Vysoké učení technické v Brně. Fakulta informačních technologií Abstract:
[cze][eng]
Bakalárska práca sa zaoberá problematikou komunikácie so vzdialenými senzormi a aktívnymi prvkami v systéme inteligentnej domácnosti s názvom BeeeOn. Práca popisuje systém BeeeOn, jeho jednotlivé časti a princíp pôvodnej nevyhovujúcej komunikácie. Pre komunikáciu s bránami BeeeOn je využitá technológia WebSocket, ktorá umožňuje komunikovať i v sieťach s obmedzeným prístupom na privilegované porty. Implementovaný server je v princípe schopný obsluhovať vysoký počet brán BeeeOn, pomocou ktorých sú vzdialené zariadenia pripojené k systému. Komunikácia je zabezpečená pomocou SSL/TLS, používa potvrdzovacie mechanizmy pre zaručenie spoľahlivosti a je jednoducho rozšíriteľná o ďalšie potrebné správy. Prináša do systému možnosť zasielania asynchrónnych príkazov na bránu BeeeOn a pripojené zariadenia. Server je implementovaný v jazyku C++. Najbežnejšie scenáre komunikácie boli otestované automatickými testami.
Bachelor's thesis aims on communication with remote sensors and active elements in the smart home system called BeeeOn. The individual parts of the BeeeOn system are described with respect to the current insufficient communication principle and implementation. For communication with BeeeOn gateways, the WebSocket technology is used. It allows communication on netwoks with a restricted access to privileged ports. The implemented server is in principle capable of serving a high number of BeeeOn gateways that works as a bridge among the server and the remote sensors. The communication is secured with SSL/TLS, it uses confirmation mechanism to guarantee reliability and it is easily extendable by other protocol messages. It enables the system to send asynchronous commands to the BeeeOn gateway and to the connected devices. The server is implemented in C++ language. The most common communication scenarios were tested by automated tests.
Keywords:
BeeeOn; C++; communication; Gateway; JSON; server; smart home; WebSocket; BeeeOn; C++; Gateway; inteligentná domácnosť; JSON; komunikácia; server; WebSocket
Institution: Brno University of Technology
(web)
Document availability information: Fulltext is available in the Brno University of Technology Digital Library. Original record: http://hdl.handle.net/11012/187259