Pilvipohjainen kortinlukija

Abstract

Joukkoliikenteessä on pitkään käytetty etäluettavia älykortteja. Näiden korttien sisäiseen tallennustilaan tallennetaan käyttäjän lippujen tietoja. Kortille tallennettuja tietoja voidaan käyttää busseissa matkustusoikeuksien tarkistamiseen. Opinnäytetyön tarkoituksena oli suunnitella olemassa olevalle kortinkirjoitustoiminnallisuudelle pilvipohjainen vaihtoehto helpottamaan siirtymävaihetta id-pohjaisten matkakorttien käyttöönottamiselle. Työssä toteutettiin pilvipohjainen kortinlukija ja sen asiakaskirjasto. Työn toteutukseen käytettiin gRPC-kirjastoa yhteyden protokollana, Javascript-, Kotlin- ja C++- ohjelmointikieliä ohjelman toteutuksessa, MIFARE-tuoteperheen älykortteja ja korttien kanssa kommunikointiin APDU-viestejä ja PC/SC-rajapintaa. Opinnäytetyö aloitettiin rakentamalla pilvipohjaisesta kortinlukijasta prototyyppiratkaisu, jonka avulla tarkistettiin, että työlle asetetut vaatimukset ovat realistisesti toteutettavissa. Tämän jälkeen rakennettiin kirjaston tuotantoversio.Contactless smart cards have long been used in public transport. Information on the purchased tickets is stored to the internal storage of these cards. Information stored to these cards can be used to check travel rights when using buses. The purpose of the thesis was to design a cloudbased card reader solution which works with an existing system and facilitates transition to the online based solution. A cloud-based card reader and its client library were implemented in this thesis. The gRPC library was used as the connection protocol. Javascript-, Kotlin- and C++-programming languages were used in the implementation of the program. The MIFARE product family of smart cards for communication APDU messages and PC/SC interface were used. First a functional prototype of the cloud-based card reader was successfully built and used for testing that the requirements for the work were realistically feasible. After that, a production version was built and integrated to the existing system

Similar works

This paper was published in Theseus.

Having an issue?

Is data on this page outdated, violates copyrights or anything else? Report the problem now and we will take corresponding actions after reviewing your request.