Medical data record from the patient is private data that is very confidential and secure. Securing medical data records using blockchain can prevent unauthorized parties from seeing or changing the data. However, it has a drawback in creating a block known as a mining process that takes a long time and uses enormous resources. We proposed a lightweight blockchain framework for medical record data integrity in using resources that reduce the computational. Based on the work, to build a lightweight blockchain application, the Python programming language is used. The Flask micro web server is applied in illustrating the blockchain data, while the MIT App Inventor creates an Android application to read data from IoT devices. The IoT Implementation of this work has successfully been tested to retrieve data and store it in a blockchain framework. The lightweight blockchain discussed in this paper is a mining technique using leading-zero as a difficulty level factor while ensuring data integrity and security when creating a block. We compared the block-time generation required to make a block on this system with the block-time generation on the existing network such as Bitcoin, Ethereum, Dogelite, and Litecoin. From the difficulty level of one to five, the experiment results, the block-time obtained from 0.0012677 seconds to 34.5919193 seconds. Overall for a low level of difficulty has a faster duration than the existing network. Only at the fifth difficulty level appears to have a longer processing time than Ethereum, but still quicker.
|Number of pages||13|
|Journal||Journal of Applied Science and Engineering (Taiwan)|
|Publication status||Published - 5 Apr 2022|
- Internet of Things
- Lightweight Blockchain
- Medical Record
- Sleep Apnea