| Literature DB >> 34202173 |
Mohd Majid Akhtar1, Danish Raza Rizvi1, Mohd Abdul Ahad2, Salil S Kanhere3, Mohammad Amjad1, Giuseppe Coviello4.
Abstract
A potential rise in interest in the Internet of Things in the upcoming years is expected in the fields of healthcare, supply chain, logistics, industries, smart cities, smart homes, cyber physical systems, etc. This paper discloses the fusion of the Internet of Things (IoT) with the so-called "distributed ledger technology" (DLT). IoT sensors like temperature sensors, motion sensors, GPS or connected devices convey the activity of the environment. Sensor information acquired by such IoT devices are then stored in a blockchain. Data on a blockchain remains immutable however its scalability still remains a challenging issue and thus represents a hindrance for its mass adoption in the IoT. Here a communication system based on IOTA and DLT is discussed with a systematic architecture for IoT devices and a future machine-to-machine (M2M) economy. The data communication between IoT devices is analyzed using multiple use cases such as sending DHT-11 sensor data to the IOTA tangle. The value communication is analyzed using a novel "micro-payment enabled over the top" (MP-OTT) streaming platform that is based on the "pay-as-you-go" and "consumption based" models to showcase IOTA value transactions. In this paper, we propose an enhancement to the classical "masked authenticated message" (MAM) communication protocol and two architectures called dual signature masked authenticated message (DSMAM) and index-based address value transaction (IBAVT). Further, we provided an empirical analysis and discussion of the proposed techniques. The implemented solution provides better address management with secured sharing and communication of IoT data, complete access control over the ownership of data and high scalability in terms of number of transactions that can be handled.Entities:
Keywords: DLT; IOTA; IoT; blockchain; communication; privacy; scalability; security
Year: 2021 PMID: 34202173 PMCID: PMC8271827 DOI: 10.3390/s21134354
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Summary and analysis of related research works on blockchain and IoT.
| Ref. No. | Focus Area | Key Features | Remarks |
|---|---|---|---|
| [ | Focus on the | Used smart contracts on Ethereum and through those users get access (swarm URL) to view data present on a decentralized storage SWARM. | Eliminates unreliable data providers. Uses a controlled environment for data sharing. |
| [ | Focus on architectural frameworks like | Presented a model of a block-based IoT architecture in which an overlay network is used along with cloud storage. | Several attacks and authentication properties are taken into consideration with respect to constrained IoT devices with a number of clusters in the network. |
| Worked on removing proof of work in their proposed blockchain framework for IoT. They used Smart Home miner and an overlay network along with it. | They analyzed and evaluated the system based on energy consumption and time overhead. | ||
| [ | Focus on | Presents a poposal for authentication and integrity for the Industrial Internet of Things (IIoT) that mitigate cyber-attacks using ECDSA signature algorithms between parties. | Based on DLT among several nodes, metrics are analyzed for different amount of node validators. Along with it, secure multi-party computation (SMPC) is used for grounded policy rules. |
| [ | Focus on the | Used Ethereum Blockchain and three smart contracts for meter contracts for energy reading and another device is used as controller for air conditioners. | System is well synchronized as smart contracts are used but it is not fit for time-critical applications due to the long delays in transaction confirmation. |
| [ | Provided | Used Ethereum Blockchain using Solidity and Web3 JavaScript library for API’s to communicate | Extensive detailed architecture consisting of management hubs, managers, agent nodes, etc. |
| The blockchain used is Ethereum and some modification is done to reduce the code size for light clients. | For performance and testing, the Wireshark benchmark tool is used to calculate the network bandwidth. | ||
| [ | Focus on the | Used Ethereum as well as Monax along with a decentralized storage inter-planetary file system (IPFS). | Uses smart contracts on Ethereum and through that users get access (IPFS Image URL) to view data present on the IPFS. Presents a method for saving log files of blockchain in the full node that should be send to the IoT devices for synchronization |
| [ | Did a | Presented a theoretical model and practical comparison of DLT for IoT | Addressed key notions and techniques of different blockchain and DLT approaches for IoT with their uses and limitations. |
| [ | Focus on | They distinguished the network based on the size of blocks, number of IoT devices and the device location and then evaluation is performed. | Used a Bitcoin simulator to give metrics about the efficiency and throughout. |
| [ | Focus on | They addressed scalability and reliability issues. | Presented the state-of-the-art of current blockchain for IoT solutions and the future trends. |
| Used the public blockchain of Ripple Chain and ECA (based on keccak) as the signature algorithm | Settlement time observed was 3–5 s offering high TPS, although, it uses the same channel for both data and value and requires transaction fees which makes it unsuitable for IoT applications. |
Analysis of related research works on blockchain and M2M economy.
| Ref. No. | Key Discussions |
|---|---|
| [ | A blockchain-based P2P marketplace is created where the users can make transactions securely without any intermediary being involved. |
| [ | Security issues in communications of CPS are highlighted and how blockchain technology can overcome such issues is discussed. To validate their claim a case study is also presented. |
| [ | A novel charging and billing mechanism is proposed using the DLT- and IOTA-based micropayments. The proof-of-concept implementation was also provided. |
| [ | A blockchain-based platform for the V2X economy named “Chorus” has been proposed which allows the entities of a V2X network to make transactions and other types of interactions in a P2P manner. |
| [ | Provides a basic description and knowhow about IOTA Tangle. The description involves opportunities, issue and challenges in its implementation and widespread usage. |
| [ | Discusses the importance of blockchain in reducing the trust tax. Specifically, in areas of supply chain for verifying the trustworthiness of steps involved and the authenticity of the final products, some kind of hidden cost is involved. |
| [ | A protocol is discussed that reduces the transaction fees by aggregating multiple small value transactions into one larger transaction resulting into a single fee being applied. It measures the feasibility of using Bitcoin for an IoT (Raspberry Pi)-enabled machine to machine economy (smart cable and smart socket). They involve various setup modes such as standby mode, payed mode and lockout mode. |
| [ | It provides an in-depth analysis of three aspects, namely benchmark performance comparison of multiple blockchain solutions with LN, integration of LN with the IoT ecosystem and it develops a novel payment algorithm designed for fee reduction. In their experimental period, LN out-performed sidechain and Bitcoin in IoT settings. |
| [ | Their work focuses on three classifications of cryptocurrency solutions for machine to machine and consumer IoT. First classification is integration of IoT devices with major blockchain platforms such as Bitcoin and Ethereum where leverage of direct or light clients is discussed in comparison to full nodes. The second and third classification are a payment channel network (PCN) and newer IoT cryptocurrency proposals, respectively. PCN uses Lightning Network which is an off-chain transaction network solving scalability issues. |
| [ | Lightning Network (LN) solves the issue of scalability but is not feasible to run it on IoT devices, hence the authors have demonstrated a 3-of-3 multisignature LN channel (i.e., the IoT device, the LN gateway and a bridge LN node) instead of a 2-of-2 LN channel. With their result, they showcased toll gate charge paymenta using their protocol for different vehicle speeds with a payment sending time of 2.55 s. |
| [ | It solves the problem of transaction failures in the off-chain payments that could arise due to attacks or the absence of any node in the payment channel network between sender and receiver having multiple hops. Additionally, this paper also considers multi-path channels in the PCN to improve efficiency and robustness. If a payment is successful from one path leading to the receiver then the other paths will be invalidated. |
Figure 1Architecture of the IOTA Platform.
Figure 2IOTA ‘Tangle’ versus Blockchain.
Figure 3Network of IOTA nodes.
Figure 4Accessing the Hornet node using SSH via Terminal.
Figure 5Flowchart for finding the Tryte Alphabet.
Figure 6Address generation from seeds.
Figure 7Proposed Architecture of DLT for IoT.
Figure 8Setup of Hardware infrastructure.
System and software specification.
| Name of Software/Requirement | Purpose or Version |
|---|---|
| Node End-Point | Ubuntu 18.04, 6 Cores CPU, 16 GB RAM, 400 GB SSD (VPS) |
| Browser | Google Chrome |
| IDE | Visual Code Studio Editor |
| Language Used for Development | JavaScript |
| NodeJs and NPM | v12.16.2 and 6.14.4 respectively |
| IoT Devices used | Arduino Uno, ESP8266, Raspberry pi 3b |
| Sensor module used | DHT 11 (Digital Temperature Humidity) Sensor |
Figure 9Sequence diagram for secured communication.
Figure 10Attaching the first message payload to the Tangle.
Figure 11Attaching the rest of the message payload to the Tangle.
Figure 12Fetching of the first message payload using a public key and root in ‘public’ mode.
Figure 13Fetching the rest of the message payload using a ‘public key’ and ‘root’ in ‘public’ mode.
Figure 14IoT sensor data visualizer app.
Figure 15IoT data saved in a .csv file.
Figure 16Transaction flow in PoC of MP-OTT.
Figure 17MP-OTT platform dashboard.
Figure 18IOTA’s payment shown on website of comnet.thetangle.org.
Latency achieved in IBAVT.
| Best Case | Average Case | Worst Case | |
|---|---|---|---|
| Latency (in ms) | 4931 | 5341 | 6097 |
Figure 19Comparison of latency between our proposed IBAVT and classical IOTA value transactions.
Figure 20TPS versus Confirmation Rate.
Result of the community spam test observed at our hornet node.
| No. of Spamtest Instances | TPS | CTPS | Confirmation Rate |
|---|---|---|---|
| 1 | 65.10 | 69 | 105.99 |
| 2 | 28 | 28 | 100.00 |
| 3 | 30.2 | 30.7 | 101.66 |
| 4 | 140 | 139 | 99.29 |
| 5 | 102 | 127 | 124.51 |
| 6 | 82 | 86 | 104.88 |
| 7 | 623.2 | 483.5 | 77.58 |
| 8 | 670 | 471 | 70.30 |
| 9 | 316 | 662 | 209.49 |
| 10 | 191 | 432 | 226.18 |
| 11 | 227 | 227 | 100.00 |
| 12 | 171 | 173.3 | 101.35 |
| 13 | 68 | 249.8 | 367.35 |
| 14 | 382.9 | 243.8 | 63.67 |
| 15 | 245.7 | 243.8 | 99.23 |
| 16 | 945.9 | 63 | 6.66 |
| 17 | 755 | 0 | 0.00 |
| 18 | 617 | 0 | 0.00 |
| 19 | 637 | 613 | 96.23 |
| 20 | 421 | 336 | 79.81 |
| 21 | 1019.4 | 912 | 89.46 |
| 22 | 907 | 813 | 89.64 |
| 23 | 143.6 | 147 | 102.37 |
| 24 | 141 | 136 | 96.45 |
Performance comparison based on defined parameters.
| Scheme | S | EC | CTPS | RO/C | SS | DI | AC | FE | TCC | DN | I/M |
|---|---|---|---|---|---|---|---|---|---|---|---|
| [ | ✓ | ✓ | ✘ | ✓ | ECDSA | ✓ | ✓ | ✘ | ✘ | ✓ | ✘ |
| [ | ✓ | ✓ | ✓ | ✓ | ECDSA | ✓ | ✓ | ✓ | ✓ | ✓ | ✘ |
| [ | ✘ | ✘ | ✓ | ✘ | ECA | ✓ | ✓ | ✘ | ✓ | ✓ | ✘ |
| [ | ✘ | ✘ | ✘ | ✘ | RSA | ✓ | ✓ | ✘ | ✘ | ✓ | ✘ |
| [ | ✘ | ✓ | ✘ | ✘ | ECDSA | ✓ | ✓ | ✘ | ✘ | ✓ | ✘ |
| [ | ✓ | ✓ | ✘ | ✘ | AES/DES | ✓ | ✓ | ✘ | ✘ | ✓ | ✘ |
| [ | ✓ | ✓ | ✓ | ✘ | ECDSA | ✓ | ✓ | ✘ | ✘ | ✓ | ✘ |
|
|
|
|
|
|
|
|
|
|
|
|
|
(S: Scalability; EC: Energy Consumption; CTPS: Confirmed Transaction per Second; RO/C: Reduced Overhead/Complexity; SS: Signature Scheme; DI: Data Integrity; AC: Access Control; FE: Fee-less Environment; TCC: Time Critical Computing; DN: Decentralized Nature; I/M: Interoperability/Modularity).
Some notable Ed25519 features.
| Feature | Remarks |
|---|---|
| Fast signing and verification | A quad-core 2.4 GHz Westmere (i3, i7, i9) signs 109,000 messages per second. |
| Fast Key Generation | /dev/urandom under Linux costs about 6000 cycles |
| High security level | Similar difficulty to break NIST P-256, RSA with 3000-bit keys, strong 128-bit block ciphers, etc |
| Collision resilience | Hash functions don’t let collisions break the system |
| No secret branch condition or caching | The operation of this is completely predictable. There is no chance of CPU caching or side channel attacks. |
| Small keys and signature | Public keys are usually 32 bytes and signatures are 64 bytes. |
Figure 21Comparison of latency between IOTA MAM and our proposed DSMAM.
Latency comparison between classical IOTA MAM and DSMAM.
| Classical IOTA MAM | DSMAM | |||||
|---|---|---|---|---|---|---|
| Mode | Best | Average | Worst | Best | Average | Worst |
| Public | 3628 | 3716 | 5815 | 3741 | 3980 | 6604 |
| Private | 3662 | 3952 | 7232 | 3550 | 3875 | 6922 |
| Restricted | 3698 | 3682 | 7031 | 3645 | 3906 | 6851 |
Figure 22Problem of re-using used addresses.
Performance output against research objectives.
| Property | Output |
|---|---|
| CTPS/throughput | 30–100 TPS (average case), 1100 TPS (best case) |
| Latency | 5341 ms (5.3 s as average case) for value transactions and 3920 ms (3.9 s as average case) for data transactions. Best fit for time-critical IoT applications. |
| Network bandwidth | Up to VPS capability and at our VPS node, it was 400 Mbit/s |
| Size of network for scalability | Always high as it is directly proportional to more devices joining the network and increase in new tips. |
| Energy consumption for low power IoT devices | Low energy is required as remote PoW is enabled |
| Security | Free from man-in-the-middle attacks, and DDoS attacks. Feature like access control, security, data integrity, confidentiality all are preserved in the system. |
| Complexity (implementation) | Easy to develop, not as complex as Hyperledger Fabric-based IoT solutions |