Return to search

Robust kommunikation med Raspberry Pi

Softhouse har utvecklat prototyper för att hämta data från och styra produkter ute i industrin medhjälp av Raspberry Pi. Tidigare har anställda på företag åkt ut i fält och hämtat data för handvilket är väldigt ineffektivt och dyrt för företagen. För att använda Raspberry Pi i liknandeprojekt och för att stärka de nuvarande systemen så behövs ett kommunikationsprotokoll för attsäkert överföra data till en central server. En viktig del är att insamlad data på Raspberry Pi intefår gå förlorad av oväntade anledningar, till exempel strömavbrott. Kapaciteten av Raspberry Piskulle även undersökas för att veta om den klarar av att köra i flera år.Som grund användes TLS1.2 med AES kryptering över en TCP-uppkoppling för att stärkasäkerheten. För att stoppa data från att gå förlorad vid oväntade händelser så läses en bit in i tagetfrån hårddisken på Raspberry Pi och inget tas bort förrän servern svarat att det tagits emot ‘ok’. För att se om Raspberry Pi skulle kunna köras ute i fält gjorde vi en del olika tester på till exempel hårddisk och temperatur. / Softhouse has developed prototypes in order to collect data from products and control them withthe Raspberry Pi. Companies have previously sent employees to manually collect data in thefields which is very inefficient and expensive for the companies. In order to use the Raspberry Piin other projects and strengthen their current systems, a communications protocol is needed tosafely transmit data to a central server. One important aspect is that collected data on theRaspberry Pi cannot be lost for unexpected reasons such as a power outage. The capacity of theRaspberry Pi needed to be reviewed in order to know if it would run for several years.As the basis we used TLS1.2 with AES encryption over a TCP-connection to strengthen thesafety. Parts of data are read from the Raspberry Pi, transmitted to the server and removed onceit gets a ‘ok’ from the server. This stops data from getting lost during unexpected events.Tests were run on the Raspberry Pi to see if it could run out in the field. For example the harddrive and temperature of the Raspberry Pi was tested.

Identiferoai:union.ndltd.org:UPSALLA1/oai:DiVA.org:lnu-47606
Date January 2015
CreatorsKällén, Patrik, Metsi, Simon
PublisherLinnéuniversitetet, Institutionen för datavetenskap (DV), Linnéuniversitetet, Institutionen för datavetenskap (DV)
Source SetsDiVA Archive at Upsalla University
LanguageSwedish
Detected LanguageSwedish
TypeStudent thesis, info:eu-repo/semantics/bachelorThesis, text
Formatapplication/pdf
Rightsinfo:eu-repo/semantics/openAccess

Page generated in 0.002 seconds