Blockchain Technology: Is It a Good Candidate for Securing IoT Sensitive Medical Data?
Table 1
Protocol functions and description.
Function
Description
RegisterPublisher
This function’s role is to identify the publisher to the blockchain. A publisher registration consists of an ID and its address in the blockchain.
RegisterSubscriber
Similar to RegisterPublisher function, but for the subscriber nodes.
AddSensor
This function is available for the publisher nodes. In order to add sensors, a publisher should provide a type and an ID for the sensor.
RegisterToSensor
The Subscriber can check a publisher’s added sensor, and register to one or all sensors, depending on ID or Type.
Notify
The notify function is critical, since it advertises new data, new publishers, and new sensors.
StoreData
When new data is generated, it is stored in the decentralized storage.
GenerateHash
After storage, a hash of the pointer to the location of the data in the storage is generated, and then broadcasted to interested subscribers using the Notify function.