Forwarding Metrology with an IoT and Blockchain Approach: The Gas Pumps Use Case

Authors

DOI:

https://doi.org/10.5753/jisa.2025.5016

Keywords:

Blockchain, Metrology, IoT, Cloud Computing, Measuring Instruments, Gas pumps

Abstract

Volumetric fraud at gas pumps is a serious and ongoing issue, leading to substantial financial losses for consumers.
Recognizing the severity of this problem, regulatory agencies in Brazil have introduced new gas pumps equipped with digital certification. This initiative is part of a broader strategy to integrate digital certification into measuring instruments, starting with gas pumps, as a proactive measure to counteract fraud. Additionally, Brazilian agencies are developing a mobile application that will allow users to access refueling data and perform their own inspections. In this context, we aim to further advance the topic by proposing a system that enhances the smart capabilities of metrology. We introduce the adoption of blockchain technology to establish consumer communities and promote metrology within IoT and cloud computing landscape. Our proposal allows users to share their refueling data, facilitating more active gas pump inspections with less dependence on regulatory agencies. We propose utilizing the user data in an evaluation system that cross-references the data and applies statistical methods to detect both volumetric fraud and fuel tampering. The system is designed to generate a ranking of gas pumps with the highest potential of being fraudulent, providing insights to both regulatory agencies and consumers. By leveraging blockchain technology, we can securely record user data and deliver the evaluation service in a transparent and decentralized manner. Finally, we apply statistical techniques to address the issue of trusting external data incorporated into the blockchain, which is commonly referred to as the oracle problem in the literature. Our simulation results demonstrate that, by using only refueling and vehicle data, we can achieve fraud detection accuracy of 89% in scenarios that closely resemble real-world conditions.

Downloads

Download data is not yet available.

References

Alsunaidi, S. J. and Alhaidari, F. A. (2019). A survey of consensus algorithms for blockchain technology. In 2019 International Conference on Computer and Information Sciences (ICCIS), pages 1-6, Sakaka, Saudi Arabia. IEEE. DOI: 10.1109/iccisci.2019.8716424.

ASMETRO-SI (2024). Inmetro inaugura a geração de objetos metrológicos 4.0. Available at: [link]. Accessed 6 January 2024.

Caldarelli, G. (2020). Understanding the blockchain oracle problem: A call for action. Information, 11(11). DOI: 10.3390/info11110509.

Christidis, K. and Devetsikiotis, M. (2016). Blockchains and smart contracts for the internet of things. IEEE Access, 4:2292-2303. DOI: 10.1109/ACCESS.2016.2566339.

Correio Braziliense (2021). Inmetro lançará certificação digital para evitar fraude em bombas de combustíveis. Available on: [link]. Accessed 29 September 2024.

de Araújo Sousa, L. E., Stopiglia, F. S., de Mello Filho, L. V. F., Guimarães, D. H. P., and de Moraes Gomes Rosa, M. T. (2021). Prototype proposal for control and inspection of gas stations. In Iano, Y., Arthur, R., Saotome, O., Kemper, G., and Borges Monteiro, A. C., editors, Proceedings of the 5th Brazilian Technology Symposium, pages 357-366, Cham. Springer International Publishing. DOI: 10.1007/978-3-030-57566-3_35.

Estadão (2024). Brasil bate recorde de venda de combustível em 2021, puxado por diesel e gasolina. Available at: [link]. Accessed 6 January 2024.

Fanton, Jean-Pierre (2019). A brief history of metrology: past, present, and future. Int. J. Metrol. Qual. Eng., 10:5. DOI: 10.1051/ijmqe/2019005.

Indio, C. (2021). Ex-vereador é preso em esquema de desvio de combustíveis no rio. Available at: [link]. Accessed 29 September 2024.

Inmetro (2020). Definição de instrumentos de medição. Available at: [link]. Accessed 29 May 2024.

Inmetro (2021). Operação petróleo real: órgãos delegados do inmetro em todo país saem em campo para combater fraudes em bombas de combustíveis. Available at: [link]. Accessed 29 September 2024.

Inmetro (2022). Portaria nº 227, de 26 de maio de 2022. Available at: [link]. Accessed 27 July 2024.

Inmetro (2024a). Metrologia legal - definição e objetivo. Available at: [link]. Accessed 13 May 2024.

Inmetro (2024b). Portaria nº 264. Available at: [link]. Accessed 5 January 2024.

Inmetro (2024c). Protocolo de comunicação serial para verificação de integridade de software em instrumentos de medição. Available at: [link]. Accessed 1 May 2024.

Khan, J. Y. and Yuce, M. R. (2019). Internet of Things (IoT): Systems and Applications. Jenny Stanford. Book.

Kitchenham, B. and Charters, S. (2007). Guidelines for performing systematic literature reviews in software engineering. 2. Available online [link].

Melo, W. S., Tarelho, L. V., Rodrigues, B. A., Bessani, A. N., and Carmo, L. F. (2021). Field surveillance of fuel dispensers using iot-based metering and blockchains. Journal of Network and Computer Applications, 175:102914. DOI: 10.1016/j.jnca.2020.102914.

Melo Junior, W., Bessani, A., Neves, N., Santin, A., and Carmo, L. (2019). Using blockchains to implement distributed measuring systems. IEEE Transactions on Instrumentation and Measurement, 68:1503-1514. DOI: 10.1109/TIM.2019.2898013.

Nakamoto, S. (2008). Bitcoin: A peer-to-peer electronic cash system. Available on: [link]. Accessed 29 May 2024.

Oyama, J. (2019). Chip para fraudar abastecimento em posto é acionado por controle remoto. Available on: [link]. Accessed 23 May 2025.

Peduzzi, P. (2021). Celulares podem ajudar no combate a fraudes em bombas de combustíveis. Available on: [link]. Accessed 29 September 2024.

Peters, D., Yurchenko, A., Melo Junior, W., Shirono, K., Usuda, T., Seifert, J.-P., and Thiel, F. (2020). IT Security for Measuring Instruments: Confidential Checking of Software Functionality, pages 701-720. DOI: 10.1007/978-3-030-39445-5_51.

Reijsbergen, D., Maw, A., Dinh, T. T. A., Li, W.-T., and Yuen, C. (2022). Securing smart grids through an incentive mechanism for blockchain-based data sharing. DOI: 10.1145/3508398.3511504.

Rodrigues Filho, B. A. and Gonçalves, R. F. (2015). Legal metrology, the economy and society: A systematic literature review. Measurement, 69:155-163. DOI: 10.1016/j.measurement.2015.03.028.

Singh, J., Sinha, A., Goli, P., Subramanian, V., Shukla, S., and Vyas, O. (2022). Insider attack mitigation in a smart metering infrastructure using reputation score and blockchain technology. International Journal of Information Security, 21. DOI: 10.1007/s10207-021-00561-8.

Singh, Y., Datta, A., Shandilya, S., and Shandilya, S. K. (2023). Securing advanced metering infrastructure using blockchain for effective energy trading. pages 27-38. DOI: 10.1007/978-3-031-34222-6_3.

Singhal, D., Ahuja, L., and Seth, D. A. (2023). Posmeter: proof-of-stake blockchain for enhanced smart meter data security. International Journal of Information Technology. DOI: 10.1007/s41870-023-01653-5.

Tahir Bokhari, S., Bakhshi, T., Aftab, T., and Nadir, I. (2019). Exploring blockchain-secured data validation in smart meter readings. DOI: 10.1109/INMIC48123.2019.9022772.

Tripathy, B. K. and Anuradha, J. (2018). Internet of Things (IoT): Technologies, Applications, Challenges, and Solutions. CRC Press. Book.

Xu, X. et al. (2017). A taxonomy of blockchain-based systems for architecture design. In 2017 IEEE International Conference on Software Architecture (ICSA), pages 243-252, Gothenburg, Sweden. IEEE. DOI: 10.1109/icsa.2017.33.

Downloads

Published

2025-05-24

How to Cite

de Oliveira, G. E., Taglialenha, P. H. de S. T., Fabiane, L. F., Idalino, T. B., Vigil, M., & Martina, J. E. (2025). Forwarding Metrology with an IoT and Blockchain Approach: The Gas Pumps Use Case. Journal of Internet Services and Applications, 16(1), 253–267. https://doi.org/10.5753/jisa.2025.5016

Issue

Section

Research article