When the Blockchain Technology meets the Internet of Things
In this ever-growing world of technology, we are staring to hear how the Internet of Things (IoT) is bound to change our homes, our offices and our cities. There are numerous reports about this incredible new trend. Most of these reports, include the current state of IoT and also interesting forecasts for the future impact on the world’s economy and society. It looks promising to say the least.
In recent studies and debates, experts have identified some challenges in achieving this future, which could be narrowed down to the following:
Scalability – despite the growing number of SaaS / Cloud services, today’s Internet of billions of Things won’t scale to the Internet of hundreds of billions of Things because of slow adoption, costs and the complexity of most IoT solutions, reports the IBM Institute of Business Value; • lack of standardization and protocolization – taking out of the picture size and design, so far, no effort has been put into creating a single communication standard and there is no emergence of a global software solution / protocol (the ultimate global protocol as pictured by Vinay Gupta ); • the absence of a secure and private solution; • and finally, the non-existence of a perfect cloud/web service with 100% uptime – if we look back, every major SaaS/cloud service has had its problems, from botnets attacking CloudFlare to big outages causing Skype calls services to go down, we’ve seen it all.
What could be the solution to these difficulties?
Most, if not all of these challenges in expanding the Internet of Things can be addressed by technological breakthroughs, such as distributed consensus in computer science, advancements in cryptography and advancements in peer to peer network technologies.
Enter the Blockchain. It’s an immutable record of digital events (transfer of value and/or state) shared peer to peer between different parties. It can only be updated by consensus of a majority of the participants in the system and, once entered, information can never be erased. It is constantly growing, as miners add new blocks of data to it (every few seconds or every 10 minutes, depending of the blockchain) to record the most recent events. The blocks are added in a linear, chronological order and each full node (i.e. computing device connected to the network using the mining client for validation) has a copy of the Blockchain, which is downloaded automatically upon joining.
The validation process (or, in blockchain terminology, the mining process) is somehow difficult, as in it needs a lot of energy as Proof of Work (PoW), therefore, for a bad actor to distrupt the network, it requires at least a little more than the entire computing power of the network, making it unfeasible to destroy.
The Blockchain technology – previously used in digital currencies such as Bitcoin – has certainly caused a storm in the world of finance and banking (or, more simply, FinTech). Innovative start-ups are already applying this technology to cut down the cost of transferring money. Big investment funds, alongside major banking giants, are investing hundreds of millions in such breakthrough projects. The perfect example of how this is changing the banking industry is the announcement that 22 major banks are joining a consortium to form a common framework for using blockchain technology (the R3 blockchain consortium).
As it stands, the Blockchain has the potential to help surpass the obstacles in achieving the desired growth in the Internet of Things, due to the following properties:
- it is truly scalable, as it can scale the same way a torrent can to hundreds of thousands of peers;
- it has the potential to standardize the entire network;
- the security is built-in: the fact that the blockchain is distributed across tens of thousands of computers means that hacking it is almost impossible or unfeasible (in fact, this is one of the main reasons why we see such a big hype in the banking industry over the applications of this technology);
- it is transparent, as the cryptographic public address of the sender and receiver of every event is recorded, and everything is available for inspection;
- it can also offer great improvement in terms of privacy, as users are pseudonymous and can perform transactions instantly without the need for any personal authentication.
- and, finally, it has no down-time and it’s immune to censorship as no single authority has general control over it (due to its de-centralised structure). If the database of an institution or a cloud system goes down, users will be unable to perform data transactions with it, which, in many cases, can have serious consequences. With blockchain, users can have continuous, open access, without any potential risk of interruption.
A new paradigm in designing IoT-enabled applications can emerge from the more advanced smart blockchain technologies that are being developed. Perhaps this space too is going to be tranformed, like in the case of the FinTech environment. There are quite a few projects/organizations that promise to do just that. Among them, the most notable are the following:
- Ethereum - Ethereum is an extremely complex project. It focuses on the development time and security of small applications, and the ability of different applications to interact very efficiently. Ethereum does this by building what is, essentially, the ultimate abstract foundational layer: a blockchain with a built-in Turing-complete programming language, allowing anyone to write smart contracts and decentralized applications ÐAPPs or decentralized autonomous organizations (ÐAOs) where they can create their own arbitrary rules for ownership, transaction formats and state transition functions.
- Eris Industries - Eris is a free software that allows anyone to build their own secure, low-cost, run-anywhere data infrastructure using blockchain and smart contract technology.
- Expanse EXP - Expanse is a decentralized cryptographic information, application, and contract platform. It is among the first of such to be fairly distributed, democratically controlled, and community managed. Through the use of smart contracts and decentralized blockchain technology, it is run not by any one individual or group, but by the users of Expanse itself.
In conclusion, whether the IoT+Blockchain solution will win over the IoT+Cloud solution is yet to be decided. Certainly, the few start-ups that are currently testing this field are not enough to create the network effect needed for most companies to join in using the same idea, but history is full of unpredictable events. Indeed, the Internet itself could be noted as one of them. We now have grown used to this this ubiquitous technology and tend to forget its humble beginnings, yet the very medium that we are using to read this article is an example of network effect that has completely transformed the telecommunications industry. The blockchain is indeed promising and it is also definitely worth engineers’ attention – a particular subject deserving consideration being the best hardware options for embedding it in different IoT applications.
In the hope of promoting openness and encouraging further innovation, RS Components will be the main sponsor of the first IoT + Blockchain Hackathon in London next month, taking place on the 7th of November. More details about this exciting event can be found here.
CommentsAdd a comment
November 24, 2015 18:34
November 10, 2015 16:11
Yes, the idea is great but it terms of which device would implement the Blockchain it is hard to say at this stage because this technology looks like the early days of the Internet, the killer application are to be discovered. I guess it all comes down to the size of the smart device , some technical specs such as CPU/memory/connection. As far as I know there just a few categorizations: Light Peer Devices (light wallet included), Standard Peer Devices (Optimized/pruned Wallet included) and Peer Exchange Devices (Full Wallet included & market enabling functionalities). Perhaps this is what determines witch devices to implement.
You are right, a solution like this must be built in each building at the same time to get the full security benefits to avoid the period of time when the network is weak but the alternative is to hook-up every smart device to the main Ethereum network or even better, the Bitcoin network (it is mature enough to support almost anything) and where there are enough smart devices that need to work separately on their own chain, switch somehow to a new private chain only for that specific class of devices. The only down-side for using the first Entereum network ( --networkid "1" ) is the fact that you have to pay for Ether (a little bit pricey and otherwise hard to mine).
> the advantage of using low-powered processors with small amounts of memory to implement IoT at nearly all levels could be lost
Not necessary because as I said, you can create light nodes or nodes with pruned chains... even if it is impossible to do this on a low-powered processor, the main advantage for a normal processors is the decentralization nature of the network vs a network that is fully centralized.
Interestingly enough, there are alternative way to do this: instead of Proof of Work (PoW) consensus use Proof of Stake (PoS). It looks like PoS can help reduce costs of electricity by 41% vs PoW although it is unknown if PoS is reliable in the long run.
Feel free to read the full study by IBM Institute for Business Value here: http://www.slideshare.net/_hd/ibm-adept (must read)
November 9, 2015 21:26
Ericfoxcroft, it takes a fair bit to get your head around when first introduced to the concept.
Take a look at how bitcoin works, be prepared for a bit of a mind explosion but there are some good articles around that try and make some sense of it.
I guess if it was easy to comprehend it anybody could do it ;-)
November 9, 2015 15:41
This looks like a potentially useful idea at first glance but I have some concerns. Which devices would implement the blockchain? What range of sites and services would share a blockchain? If it was just to be a central, mains-powered hub device in each building or zone that might be feasible but to get the full security benefits, surely, it would need to be all devices, unless the end devices were secured by some other means. How would the overhead of processing blockchain transactions impact on battery powered devices?
If it was to be used on a blockchain-per-estate basis it might be manageable but if it was adopted widely, with one blockchain crossing many products and providers worldwide then the advantage of using low-powered processors with small amounts of memory to implement IoT at nearly all levels could be lost.
I'd like to see some realistic scenarios and calculations of the processor load/storage/bandwidth requirements of implementing blockchain in IoT systems before I was convinced.
November 8, 2015 05:08
November 3, 2015 12:46