{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,10,12]],"date-time":"2025-10-12T03:47:51Z","timestamp":1760240871015,"version":"build-2065373602"},"reference-count":39,"publisher":"MDPI AG","issue":"20","license":[{"start":{"date-parts":[[2019,10,16]],"date-time":"2019-10-16T00:00:00Z","timestamp":1571184000000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"DOI":"10.13039\/501100002322","name":"Coordena\u00e7\u00e3o de Aperfei\u00e7oamento de Pessoal de N\u00edvel Superior","doi-asserted-by":"publisher","award":["001"],"award-info":[{"award-number":["001"]}],"id":[{"id":"10.13039\/501100002322","id-type":"DOI","asserted-by":"publisher"}]},{"name":"Project co-financedwith Junta Castilla y Le\u00f3n, Consejer\u00eda de Educaci\u00f3n and FEDER funds","award":["TARGET. 463AC03."],"award-info":[{"award-number":["TARGET. 463AC03."]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Sensors"],"abstract":"<jats:p>With the popularization of the Internet-of-Things, various applications have emerged to make life easier. These applications generate a large amount of user data. Analyzing the data obtained from these applications, one can infer personal information about each user. Considering this, it is clear that ensuring privacy in this type of application is essential. To guarantee privacy various solutions exist, one of them is UbiPri middleware. This paper presents a decentralized implementation of UbiPri middleware using the Ethereum blockchain. Smart contracts were used in conjunction with a communication gateway and a distributed storage service to ensure users privacy. The results obtained show that the implementation of this work ensures privacy at different levels, data storage security, and performance regarding scalability in the Internet of Things environments.<\/jats:p>","DOI":"10.3390\/s19204483","type":"journal-article","created":{"date-parts":[[2019,10,17]],"date-time":"2019-10-17T04:46:06Z","timestamp":1571287566000},"page":"4483","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":11,"title":["PRICHAIN: A Partially Decentralized Implementation of UbiPri Middleware Using Blockchain"],"prefix":"10.3390","volume":"19","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-0425-7829","authenticated-orcid":false,"given":"Iago","family":"Sestrem Och\u00f4a","sequence":"first","affiliation":[{"name":"Laboratory of Embedded and Distributed Systems-LEDS, University of Vale do Itaja\u00ed, Itaja\u00ed-SC 88302-901, Brazil"},{"name":"Departamento de Inform\u00e1tica e Redes de Computadores, Instituto Federal Catarinense (IFC), Brusque 88354-300, Brazil"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-9981-4586","authenticated-orcid":false,"given":"Luis Augusto","family":"Silva","sequence":"additional","affiliation":[{"name":"Laboratory of Embedded and Distributed Systems-LEDS, University of Vale do Itaja\u00ed, Itaja\u00ed-SC 88302-901, Brazil"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-3769-0503","authenticated-orcid":false,"given":"Gabriel","family":"de Mello","sequence":"additional","affiliation":[{"name":"Laboratory of Embedded and Distributed Systems-LEDS, University of Vale do Itaja\u00ed, Itaja\u00ed-SC 88302-901, Brazil"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-7995-0695","authenticated-orcid":false,"given":"Bruno","family":"Alves da Silva","sequence":"additional","affiliation":[{"name":"Laboratory of Embedded and Distributed Systems-LEDS, University of Vale do Itaja\u00ed, Itaja\u00ed-SC 88302-901, Brazil"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-9461-7922","authenticated-orcid":false,"given":"Juan Francisco","family":"de Paz","sequence":"additional","affiliation":[{"name":"Expert Systems and Applications Lab, Faculty of Science, University of Salamanca, Plaza de los Ca\u00eddos s\/n, 37008 Salamanca, Spain"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-6536-2251","authenticated-orcid":false,"given":"Gabriel","family":"Villarrubia Gonz\u00e1lez","sequence":"additional","affiliation":[{"name":"Expert Systems and Applications Lab, Faculty of Science, University of Salamanca, Plaza de los Ca\u00eddos s\/n, 37008 Salamanca, Spain"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-3195-3168","authenticated-orcid":false,"given":"Nuno M.","family":"Garcia","sequence":"additional","affiliation":[{"name":"Departamento de Inform\u00e1tica, Universidade da Beira Interior, 6201-001 Covilh\u00e3, Portugal"},{"name":"Instituto de Telecomunica\u00e7\u00f5es, Universidade da Beira Interior, 6201-001 Covilh\u00e3, Portugal"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-0446-9271","authenticated-orcid":false,"given":"Valderi","family":"Reis Quietinho Leithardt","sequence":"additional","affiliation":[{"name":"Laboratory of Embedded and Distributed Systems-LEDS, University of Vale do Itaja\u00ed, Itaja\u00ed-SC 88302-901, Brazil"},{"name":"Departamento de Inform\u00e1tica, Universidade da Beira Interior, 6201-001 Covilh\u00e3, Portugal"},{"name":"COPELABS, Universidade Lus\u00f3fona de Humanidades e Tecnologias, 1749-024 Lisboa, Portugal"}]}],"member":"1968","published-online":{"date-parts":[[2019,10,16]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","unstructured":"Jayakumar, H., Lee, K., Lee, W.S., Raha, A., Kim, Y., and Raghunathan, V. (2014, January 11\u201313). Powering the Internet of Things. Proceedings of the 2014 IEEE\/ACM International Symposium on Low Power Electronics and Design (ISLPED), La Jolla, CA, USA.","DOI":"10.1145\/2627369.2631644"},{"key":"ref_2","unstructured":"Banafa, A. (2019, June 23). Three Major Challenges Facing IoT. Available online: https:\/\/iot.ieee.org\/newsletter\/march-2017\/three-major-challenges-facing-iot.html."},{"key":"ref_3","doi-asserted-by":"crossref","first-page":"2583","DOI":"10.1109\/JIOT.2018.2872028","article-title":"An Open Internet of Things System Architecture Based on Software-Defined Device","volume":"6","author":"Hu","year":"2019","journal-title":"IEEE Internet Things J."},{"key":"ref_4","doi-asserted-by":"crossref","unstructured":"Sinaeepourfard, A., Krogstie, J., Petersen, S.A., and Ahlers, D. (2019, January 15\u201318). F2c2C-DM: A Fog-to-cloudlet-to-Cloud Data Management Architecture in Smart City. Proceedings of the 2019 IEEE 5th World Forum on Internet of Things (WF-IoT), Limerick, Ireland.","DOI":"10.1109\/WF-IoT.2019.8767226"},{"key":"ref_5","doi-asserted-by":"crossref","unstructured":"Han, J., Park, W., Lee, I., Roh, H., and Kim, S. (2017, January 8\u201311). Home-to-home communications for smart community with Internet of Things. Proceedings of the 2017 14th IEEE Annual Consumer Communications Networking Conference (CCNC), Las Vegas, NV, USA.","DOI":"10.1109\/CCNC.2017.7983222"},{"key":"ref_6","doi-asserted-by":"crossref","unstructured":"Silva, L.A., Leithardt, V.R.Q., Rolim, C.O., Gonz\u00e1lez, G.V., Geyer, C.F.R., and Silva, J.S. (2019). PRISER: Managing Notification in Multiples Devices with Data Privacy Support. Sensors, 19.","DOI":"10.3390\/s19143098"},{"key":"ref_7","unstructured":"Nakamoto, S. (2019, October 14). Bitcoin: A Peer-to-Peer Electronic Cash System. Available online: https:\/\/bitcoin.org\/bitcoin.pdf."},{"key":"ref_8","unstructured":"Buterin, V. (2019, July 05). Ethereum: A Next-Generation Smart Contract and Decentralized Application Platform. Available online: https:\/\/github.com\/ethereum\/wiki\/wiki\/White-Paper."},{"key":"ref_9","doi-asserted-by":"crossref","unstructured":"Ranganthan, V.P., Dantu, R., Paul, A., Mears, P., and Morozov, K. (2018, January 18\u201320). A Decentralized Marketplace Application on the Ethereum Blockchain. Proceedings of the 2018 IEEE 4th International Conference on Collaboration and Internet Computing (CIC), Philadelphia, PA, USA.","DOI":"10.1109\/CIC.2018.00023"},{"key":"ref_10","doi-asserted-by":"crossref","unstructured":"Yavuz, E., Ko\u00e7, A.K., \u00c7abuk, U.C., and Dalk\u0131l\u0131\u00e7, G. (2018, January 22\u201325). Towards secure e-voting using ethereum blockchain. Proceedings of the 2018 6th International Symposium on Digital Forensic and Security (ISDFS), Antalya, Turkey.","DOI":"10.1109\/ISDFS.2018.8355340"},{"key":"ref_11","doi-asserted-by":"crossref","unstructured":"Pop, C., Antal, M., Cioara, T., Anghel, I., Sera, D., Salomie, I., Raveduto, G., Ziu, D., Croce, V., and Bertoncini, M. (2019). Blockchain-Based Scalable and Tamper-Evident Solution for Registering Energy Data. Sensors, 19.","DOI":"10.3390\/s19143033"},{"key":"ref_12","doi-asserted-by":"crossref","unstructured":"Xu, Q., Song, Z., Mong Goh, R.S., and Li, Y. (2018, January 11\u201313). Building an Ethereum and IPFS-Based Decentralized Social Network System. Proceedings of the 2018 IEEE 24th International Conference on Parallel and Distributed Systems (ICPADS), Singapore.","DOI":"10.1109\/PADSW.2018.8645058"},{"key":"ref_13","doi-asserted-by":"crossref","unstructured":"Xu, Q., He, Z., Li, Z., and Xiao, M. (2018, January 11\u201313). Building an Ethereum-Based Decentralized Smart Home System. Proceedings of the 2018 IEEE 24th International Conference on Parallel and Distributed Systems (ICPADS), Singapore.","DOI":"10.1109\/PADSW.2018.8644880"},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"66792","DOI":"10.1109\/ACCESS.2019.2917555","article-title":"Blockchain for Secure EHRs Sharing of Mobile Cloud Based E-Health Systems","volume":"7","author":"Nguyen","year":"2019","journal-title":"IEEE Access"},{"key":"ref_15","doi-asserted-by":"crossref","unstructured":"Piattini, M., Rupino da Cunha, P., Garc\u00eda Rodr\u00edguez de Guzm\u00e1n, I., and P\u00e9rez-Castillo, R. (2019). FakeChain: A Blockchain Architecture to Ensure Trust in Social Media Networks. Quality of Information and Communications Technology, Springer International Publishing.","DOI":"10.1007\/978-3-030-29238-6"},{"key":"ref_16","doi-asserted-by":"crossref","unstructured":"Alsunaidi, S.J., and Alhaidari, F.A. (2019, January 3\u20134). A Survey of Consensus Algorithms for Blockchain Technology. Proceedings of the 2019 International Conference on Computer and Information Sciences (ICCIS), Sakaka, Saudi Arabia.","DOI":"10.1109\/ICCISci.2019.8716424"},{"key":"ref_17","doi-asserted-by":"crossref","unstructured":"Bach, L.M., Mihaljevic, B., and Zagar, M. (2018, January 21\u201325). Comparative analysis of blockchain consensus algorithms. Proceedings of the 2018 41st International Convention on Information and Communication Technology, Electronics and Microelectronics (MIPRO), Opatija, Croatia.","DOI":"10.23919\/MIPRO.2018.8400278"},{"key":"ref_18","doi-asserted-by":"crossref","unstructured":"Jiang, Y., and Ding, S. (2018, January 7\u201310). A High Performance Consensus Algorithm for Consortium Blockchain. Proceedings of the 2018 IEEE 4th International Conference on Computer and Communications (ICCC), Chengdu, China.","DOI":"10.1109\/CompComm.2018.8781067"},{"key":"ref_19","doi-asserted-by":"crossref","unstructured":"Rouhani, S., and Deters, R. (2017, January 24\u201326). Performance analysis of ethereum transactions in private blockchain. Proceedings of the 2017 8th IEEE International Conference on Software Engineering and Service Science (ICSESS), Beijing, China.","DOI":"10.1109\/ICSESS.2017.8342866"},{"key":"ref_20","doi-asserted-by":"crossref","unstructured":"Xu, X., Weber, I., Staples, M., Zhu, L., Bosch, J., Bass, L., Pautasso, C., and Rimba, P. (2017, January 3\u20137). A Taxonomy of Blockchain-Based Systems for Architecture Design. Proceedings of the 2017 IEEE International Conference on Software Architecture (ICSA), Gothenburg, Sweden.","DOI":"10.1109\/ICSA.2017.33"},{"key":"ref_21","doi-asserted-by":"crossref","unstructured":"Androulaki, E., Barger, A., Bortnikov, V., Cachin, C., Christidis, K., De Caro, A., Enyeart, D., Ferris, C., Laventman, G., and Manevich, Y. (2018, January 23\u201326). Hyperledger Fabric: A Distributed Operating System for Permissioned Blockchains. Proceedings of the Thirteenth EuroSys Conference, EuroSys \u201918, Porto, Portugal.","DOI":"10.1145\/3190508.3190538"},{"key":"ref_22","unstructured":"Alexander, R. (2018). IOTA\u2014Introduction to the Tangle Technology: Everything You Need to Know about the Revolutionary Blockchain Alternative, Independently Published."},{"key":"ref_23","unstructured":"Takashima, I. (2018). Ripple: The Ultimate Guide to the World of Ripple XRP, Ripple Investing, Ripple Coin, Ripple Cryptocurrency, Cryptocurrency, CreateSpace Independent Publishing Platform."},{"key":"ref_24","doi-asserted-by":"crossref","unstructured":"Dannen, C. (2017). Introducing Ethereum and Solidity: Foundations of Cryptocurrency and Blockchain Programming for Beginners, Apress. [1st ed.].","DOI":"10.1007\/978-1-4842-2535-6"},{"key":"ref_25","doi-asserted-by":"crossref","unstructured":"Mohanta, B.K., Panda, S.S., and Jena, D. (2018, January 10\u201312). An Overview of Smart Contract and Use Cases in Blockchain Technology. Proceedings of the 2018 9th International Conference on Computing, Communication and Networking Technologies (ICCCNT), Bangalore, India.","DOI":"10.1109\/ICCCNT.2018.8494045"},{"key":"ref_26","doi-asserted-by":"crossref","unstructured":"Saraf, C., and Sabadra, S. (2018, January 11\u201312). Blockchain platforms: A compendium. Proceedings of the 2018 IEEE International Conference on Innovative Research and Development (ICIRD), Bangkok, Thailand.","DOI":"10.1109\/ICIRD.2018.8376323"},{"key":"ref_27","unstructured":"EthStats (2019, June 30). Ethereum Statistics. Available online: https:\/\/ethstats.net\/."},{"key":"ref_28","unstructured":"Leithardt, V.R.Q. (2015). UbiPri: Middleware Para Controle e Gerenciamento de Privacidade em Ambientes Ub\u00edquos. [Ph.D. Thesis, UFRGS\u2014Universidade Federal do Rio Grande do Sul]. Available online: https:\/\/lume.ufrgs.br\/handle\/10183\/147774."},{"key":"ref_29","unstructured":"Leithardt, V., Borges, G., Rossetto, A., Rolim, C., Geyer, C., Correia, L., Nunes, D., and S\u00e1 Silva, J. (2013). A Privacy Taxonomy for the Management of Ubiquitous Environments. J. Commun. Comput., 10."},{"key":"ref_30","doi-asserted-by":"crossref","unstructured":"Cha, S., Tsai, T., Peng, W., Huang, T., and Hsu, T. (2017, January 24\u201327). Privacy-aware and blockchain connected gateways for users to access legacy IoT devices. Proceedings of the 2017 IEEE 6th Global Conference on Consumer Electronics (GCCE), Nagoya, Japan.","DOI":"10.1109\/GCCE.2017.8229327"},{"key":"ref_31","doi-asserted-by":"crossref","unstructured":"Azbeg, K., Ouchetto, O., Andaloussi, S.J., Fetjah, L., and Sekkaki, A. (2018, January 26\u201328). Blockchain and IoT for Security and Privacy: A Platform for Diabetes Self-management. Proceedings of the 2018 4th International Conference on Cloud Computing Technologies and Applications (Cloudtech), Brussels, Belgium.","DOI":"10.1109\/CloudTech.2018.8713343"},{"key":"ref_32","doi-asserted-by":"crossref","unstructured":"Ali, M.S., Dolui, K., and Antonelli, F. (2017, January 22\u201325). IoT Data Privacy via Blockchains and IPFS. Proceedings of the Seventh International Conference on the Internet of Things, IoT \u201917, Linz, Austria.","DOI":"10.1145\/3131542.3131563"},{"key":"ref_33","doi-asserted-by":"crossref","unstructured":"Dang, T.L.N., and Nguyen, M.S. (2018, January 27\u201329). An Approach to Data Privacy in Smart Home using Blockchain Technology. Proceedings of the 2018 International Conference on Advanced Computing and Applications (ACOMP), Ho Chi Minh City, Vietnam.","DOI":"10.1109\/ACOMP.2018.00017"},{"key":"ref_34","unstructured":"Hacid, H., Cellary, W., Wang, H., Paik, H.Y., and Zhou, R. (2018). Towards an End-to-End IoT Data Privacy-Preserving Framework Using Blockchain Technology. Web Information Systems Engineering\u2014WISE 2018, Springer International Publishing."},{"key":"ref_35","doi-asserted-by":"crossref","first-page":"747","DOI":"10.1016\/j.future.2019.07.030","article-title":"Trust management in a blockchain based fog computing platform with trustless smart oracles","volume":"101","author":"Kochovski","year":"2019","journal-title":"Future Gener. Comput. Syst."},{"key":"ref_36","doi-asserted-by":"crossref","first-page":"420","DOI":"10.1016\/j.future.2019.06.025","article-title":"Privacy aware decentralized access control system","volume":"101","author":"Shafeeq","year":"2019","journal-title":"Future Gener. Comput. Syst."},{"key":"ref_37","doi-asserted-by":"crossref","first-page":"408","DOI":"10.1016\/j.future.2018.11.046","article-title":"A blockchain-based location privacy-preserving crowdsensing system","volume":"94","author":"Yang","year":"2019","journal-title":"Future Gener. Comput. Syst."},{"key":"ref_38","doi-asserted-by":"crossref","unstructured":"Dwivedi, A.D., Srivastava, G., Dhar, S., and Singh, R. (2019). A Decentralized Privacy-Preserving Healthcare Blockchain for IoT. Sensors, 19.","DOI":"10.3390\/s19020326"},{"key":"ref_39","doi-asserted-by":"crossref","unstructured":"Och\u00f4a, I., Calbusch, L., Viecelli, K., De Paz, J., Leithardt, V., and Zeferino, C. (2019, January 26\u201328). Privacy in the Internet of Things: A Study to Protect User\u2019s Data in LPR Systems Using Blockchain. Proceedings of the 2019 17th Annual Conference on Privacy, Security and Trust (PST), Fredericton, NB, Canada.","DOI":"10.1109\/PST47121.2019.8949076"}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/19\/20\/4483\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,11]],"date-time":"2025-10-11T13:26:47Z","timestamp":1760189207000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/19\/20\/4483"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2019,10,16]]},"references-count":39,"journal-issue":{"issue":"20","published-online":{"date-parts":[[2019,10]]}},"alternative-id":["s19204483"],"URL":"https:\/\/doi.org\/10.3390\/s19204483","relation":{},"ISSN":["1424-8220"],"issn-type":[{"type":"electronic","value":"1424-8220"}],"subject":[],"published":{"date-parts":[[2019,10,16]]}}}