End devices identities in an IoT BC network


Nikos Karamolegkos
 

Hello,

I want to build a smart building IoT BC network and I am working to the network architecture. At this point I have built the IoT infrastructure and I am looking to integrate the BC idea. Specifically, the end devices (EDs) are equipped with sensors (these device can not run fabric) and the data are transmitted via 802.15.4 to IoT GW (raspberry) which sends them to the DB. In order to integrate the BC concept I am thinking to use a fabric client app in the IoT GW which will send (update) the date to ledger. Is this a good approach? I was wondering how the EDs  can prove their identity through the GW in order to match with the information defined in smart-contract? I can use fabric-ca to create ED identities but these identities would be in the IoT GWs which will match the ED ID with the fabric identity (through the client app running in GWs). Is this the best I can do?

Also, in the BC network would be users which will have access to the sensor data written by the EDs. As I have understood these user will be fabric client application too with specific right policies (read &/or write). Should I make a different organization for them?

I have experience in IoT but not in BC so any idea, example, application or use case are welcome in order to design my BC architecture.

Thank you for your time,

--
Nikos Karamolegkos
R & D engineer at ICS-FORTH
Telecommunications and Networks Lab (TNL)


Chris Gabriel
 

Hi Nikos,

I have done this within my company and I prefer to issue identities to the end devices as we would the users.  We do not use an intermediate DB as we use our Fabric blockchain network instead, but there are many ways to do this.  I call our stack the BEAN stack (Blockchain, Express, Angular, and Node).

In our case, the IoT sensor input is autonomous after checking for signal quality and identity credentials as it passes though the gateway (we use Node-Red on RaspberryPi in the demo) and can trigger transactions in the smart contract.  I have posted a demo video that shows how this works on YouTube.  I hope this helps.

Chris



On Apr 27, 2021, at 5:00 AM, Nikos Karamolegkos <nkaram@...> wrote:

Hello,

I want to build a smart building IoT BC network and I am working to the network architecture. At this point I have built the IoT infrastructure and I am looking to integrate the BC idea. Specifically, the end devices (EDs) are equipped with sensors (these device can not run fabric) and the data are transmitted via 802.15.4 to IoT GW (raspberry) which sends them to the DB. In order to integrate the BC concept I am thinking to use a fabric client app in the IoT GW which will send (update) the date to ledger. Is this a good approach? I was wondering how the EDs  can prove their identity through the GW in order to match with the information defined in smart-contract? I can use fabric-ca to create ED identities but these identities would be in the IoT GWs which will match the ED ID with the fabric identity (through the client app running in GWs). Is this the best I can do?

Also, in the BC network would be users which will have access to the sensor data written by the EDs. As I have understood these user will be fabric client application too with specific right policies (read &/or write). Should I make a different organization for them?

I have experience in IoT but not in BC so any idea, example, application or use case are welcome in order to design my BC architecture.

Thank you for your time,

--
Nikos Karamolegkos
R & D engineer at ICS-FORTH
Telecommunications and Networks Lab (TNL)