Research Article

An Internet of Things (IoT) Based Block Chain Technology to Enhance the Quality of Supply Chain Management (SCM)

Algorithm 1

High-priority based access based smart contract.
Input: Attribute Information and Device ID
Output: High Prioritized Information in the blocks
Information_for_Sharing//Every edge node uploads the information to be stored in blockchain
Prioritized_attribute_dataset//data set having prioritized information
Edge_storagebuffer//data set having information for future analysis
Information_for_localstorage //Every edge node stores the information in local storage
P//Whether the attribute labelled with priority = ‘high’
if P then
        Prioritized_attributedataset.add (Information_for_sharing) //Upload theimportant information to the blockchain
else
        Edge_storagebuffer.add (Information_for_local storage) //Stores the information in local storage buffer
endif
return Information_for_Sharing