1 research outputs found

    Upgrading data service to data server with publisher-consumer model

    Get PDF
    The data server, which is the topic of this thesis, will be a central part of a PSVSP software suite that the company offers. The purpose of the data server is to allow safe transmitting of messages and information to customers in an untrustworthy and weak quality network, and to separate these customers from each other. These customers may have long physical distance in between them and they may be connected to separate networks. In order to succeed in its task, the data server should be a distributed program. Additional advantages can be gained by utilizing both the publisher-consumer model and peer-to-peer networking. In this way, one customer need not know the other, even if they are sending messages to each other. Utilizing encryption for enhancing safety of information can pose problems when utilizing distributed programming in the publisher-consumer concept. However, by using asymmetric encryption methods to encrypt on a hop-by-hop basis these methods can still be used together. The data server has to also allow changes to the structure of the information it transmits. A separate Translator module is used for this purpose, and it can transform information from a newer to an older format. With the help of this module, the customer which uses the information need not be changed when the producer of this information changes the format of information to a different structure. This leads to better maintainability, as small changes to the layout of the information need not be replicated to multiple locations or programs.Tämän työn aiheena oleva datapalvelin tulee olemaan keskeinen osa yrityksen PSVSP- ohjelmistoperheen uudistettua ydintä. Datapalvelimen tehtävänä on mahdollistaa viestien tietoturvallinen välittäminen siihen liittyneille asiakasmoduuleille epäluotettavassa ja turvattomassa verkossa, sekä erottaa nämä asiakkaat toisistaan. Asiakkaat voivat sijaita fyysisesti pitkienkin matkojen päässä toisistaan ja olla erillisissä verkoissa kytkeytyneinä. Tehtävän suorittamiseksi datapalvelin kannattaa toteuttaa hajautettuna järjestelmänä. Lisäetuja saavutetaan hyödyntämällä tilaaja–julkaisija-mallin etuja sekä toteuttamalla vertaisverkkomainen rakenne datapalvelimen eri yksiköiden välille. Näin datapalvelimen asiakkaiden ei tarvitse tietää toisistaan, vaikka niiden välillä kulkisikin viestejä. Salausten käyttäminen tietoturvan parantamiseen voi aiheuttaa ongelmia yritettäessä hyödyntää sekä hajautusta että tilaaja–julkaisija-mallia. Jos kuitenkin käytetään epäsymmetrisiä salausmenetelmiä ja salataan hajautetun verkon eri yksiköiden välinen liikenne jokaisen välin yli erikseen, voidaan molempia hyödyntää yhdessä. Datapalvelimen tulee lisäksi mahdollistaa viestien rakenteen muuttuminen tarpeen mukaan. Tämä tapahtuu erillisen tulkki-moduulin toimesta, joka voi vaihtaa tiedon muotoa vanhempaan rakenteeseen. Tämän erillisen moduulin avulla jonkin tiedon tarvitsijaa ei tarvitse muuttaa, mikäli kyseisen tiedon tuottaja muuttaa sen muotoa. Tämä johtaa parempaan ylläpidettävyyteen, kun pienet muutokset eivät vaadi muutoksia useisiin eri paikkoihin. /Kir1
    corecore