Research Article

[Retracted] Blockchain and IPFS Integrated Framework in Bilevel Fog-Cloud Network for Security and Privacy of IoMT Devices

Algorithm 2

Device registration.
Input: Patient ID
Output:
1. Checking the patient ID if it exists in the database of IPFSC
   (i) If exist, then check for the registered device in the IPFSC database
   (ii) If yes, then fetching the public address of the device
   (iii) If yes, then linking the device and patient ID together followed by device registration
2. If no, in any condition mentioned in 1, then flash an error message