IEEE Consumer Electronics Magazine - March/April 2023 - 90

Special Section on Security, Trust and Services for AI-Empowered Sensing in the Next Generation IoT
TABLE 3. Gas cost with different number of certificates.
No. of
certificates
1
10
20
30
40
50
100
Gas limit
(units)
22,645
218,730
419,660
619,290
825,720
Gas cost
147,633
1,389,224
2,752,440
4,128,660
5,504,880
1,032,150 6,881,100
2,064,300 13,762,200
Gas price
(CGWEI)
100
1000
2000
3000
4000
5000
10,000
depending on the supply and demand of the
computational power of the blockchain network
to process smart contracts. It is observed that
the proposed architecture's operational cost
increases by increasing the number of certificates.
The gas cost of these operations has been
retrieved by deploying the smart contracts of
related transactions over the blockchain network
through the MA. This experiment uses the BlockSim
toolkit to execute the smart contract functions
and analyzes the cost required for each operation.
Figure 2 presents the total gas cost analysis of
the proposed scheme by varying the certificate
generation and verification transactions in the
blockchain network. Gas consumption is measured
in the unit of Eths. The total gas
consumption of the proposed architecture is calculated
by varying the number of certificates ranging
from 20 to 160. Here, the certificate generation
and verification transactions are executed randomly
using the BlockSim toolkit. It is observed
that the proposed architecture requires more gas
consumption for the certificate generation transactions
than the verification transactions. This is
because it requires more processing power for
calculating the hash of the generated certificate,
mapping the user details with the certificate, and
generating a new block. Thus, the gas consumption
is higher due to a large number of computations
in the certificate generation transaction
compared to the verification transaction.
The processing time refers to the time
required to initiate the transaction until the user
gets the transaction execution ID. The processing
time of the proposed scheme's transactions
is analyzed for certificate generation and
90
FIGURE 2. Total gas cost of the proposedarchitecture
formedical certificates.
verification. The processing time is calculated
between the interval of transactions requested
and executed by the blockchain network for
each set of transactions. It is analyzed that the
certificate generation transactions require more
processing time than the verification transactions
due to the calculation involved to generate
hash values for the certificates. Furthermore,
certificate generation transactions involve blockchain
nodes or miners to validate communications
over the blockchain network by solving a
back-end mathematical puzzle and placing these
transactions into a new block. Then, the block is
added to the blockchain network. Thus, the
processing time also depends on the system
configuration, the number of transactions, and
miners' availability.
Table 4 presents the smart contract cost analysis
of the proposed architecture based on the
transaction generation cost and execution cost in
terms of gas. The transaction cost denotes the
cost of requesting the transaction in the blockchain
network, and the execution cost refers to
the total cost required to execute the corresponding
smart contract transaction. The BlockSim
toolkit is utilized to randomly calculate the transaction
cost and execution cost for different smart
contract operations.
Latency represents the delay between the
transaction requests and transaction appearances
on the blockchain network. In the proposed
architecture, 200 transactions are considered
to calculate the latency. All the transactions are
IEEE Consumer Electronics Magazine

IEEE Consumer Electronics Magazine - March/April 2023

Table of Contents for the Digital Edition of IEEE Consumer Electronics Magazine - March/April 2023

Contents
IEEE Consumer Electronics Magazine - March/April 2023 - Cover1
IEEE Consumer Electronics Magazine - March/April 2023 - Cover2
IEEE Consumer Electronics Magazine - March/April 2023 - Contents
IEEE Consumer Electronics Magazine - March/April 2023 - 2
IEEE Consumer Electronics Magazine - March/April 2023 - 3
IEEE Consumer Electronics Magazine - March/April 2023 - 4
IEEE Consumer Electronics Magazine - March/April 2023 - 5
IEEE Consumer Electronics Magazine - March/April 2023 - 6
IEEE Consumer Electronics Magazine - March/April 2023 - 7
IEEE Consumer Electronics Magazine - March/April 2023 - 8
IEEE Consumer Electronics Magazine - March/April 2023 - 9
IEEE Consumer Electronics Magazine - March/April 2023 - 10
IEEE Consumer Electronics Magazine - March/April 2023 - 11
IEEE Consumer Electronics Magazine - March/April 2023 - 12
IEEE Consumer Electronics Magazine - March/April 2023 - 13
IEEE Consumer Electronics Magazine - March/April 2023 - 14
IEEE Consumer Electronics Magazine - March/April 2023 - 15
IEEE Consumer Electronics Magazine - March/April 2023 - 16
IEEE Consumer Electronics Magazine - March/April 2023 - 17
IEEE Consumer Electronics Magazine - March/April 2023 - 18
IEEE Consumer Electronics Magazine - March/April 2023 - 19
IEEE Consumer Electronics Magazine - March/April 2023 - 20
IEEE Consumer Electronics Magazine - March/April 2023 - 21
IEEE Consumer Electronics Magazine - March/April 2023 - 22
IEEE Consumer Electronics Magazine - March/April 2023 - 23
IEEE Consumer Electronics Magazine - March/April 2023 - 24
IEEE Consumer Electronics Magazine - March/April 2023 - 25
IEEE Consumer Electronics Magazine - March/April 2023 - 26
IEEE Consumer Electronics Magazine - March/April 2023 - 27
IEEE Consumer Electronics Magazine - March/April 2023 - 28
IEEE Consumer Electronics Magazine - March/April 2023 - 29
IEEE Consumer Electronics Magazine - March/April 2023 - 30
IEEE Consumer Electronics Magazine - March/April 2023 - 31
IEEE Consumer Electronics Magazine - March/April 2023 - 32
IEEE Consumer Electronics Magazine - March/April 2023 - 33
IEEE Consumer Electronics Magazine - March/April 2023 - 34
IEEE Consumer Electronics Magazine - March/April 2023 - 35
IEEE Consumer Electronics Magazine - March/April 2023 - 36
IEEE Consumer Electronics Magazine - March/April 2023 - 37
IEEE Consumer Electronics Magazine - March/April 2023 - 38
IEEE Consumer Electronics Magazine - March/April 2023 - 39
IEEE Consumer Electronics Magazine - March/April 2023 - 40
IEEE Consumer Electronics Magazine - March/April 2023 - 41
IEEE Consumer Electronics Magazine - March/April 2023 - 42
IEEE Consumer Electronics Magazine - March/April 2023 - 43
IEEE Consumer Electronics Magazine - March/April 2023 - 44
IEEE Consumer Electronics Magazine - March/April 2023 - 45
IEEE Consumer Electronics Magazine - March/April 2023 - 46
IEEE Consumer Electronics Magazine - March/April 2023 - 47
IEEE Consumer Electronics Magazine - March/April 2023 - 48
IEEE Consumer Electronics Magazine - March/April 2023 - 49
IEEE Consumer Electronics Magazine - March/April 2023 - 50
IEEE Consumer Electronics Magazine - March/April 2023 - 51
IEEE Consumer Electronics Magazine - March/April 2023 - 52
IEEE Consumer Electronics Magazine - March/April 2023 - 53
IEEE Consumer Electronics Magazine - March/April 2023 - 54
IEEE Consumer Electronics Magazine - March/April 2023 - 55
IEEE Consumer Electronics Magazine - March/April 2023 - 56
IEEE Consumer Electronics Magazine - March/April 2023 - 57
IEEE Consumer Electronics Magazine - March/April 2023 - 58
IEEE Consumer Electronics Magazine - March/April 2023 - 59
IEEE Consumer Electronics Magazine - March/April 2023 - 60
IEEE Consumer Electronics Magazine - March/April 2023 - 61
IEEE Consumer Electronics Magazine - March/April 2023 - 62
IEEE Consumer Electronics Magazine - March/April 2023 - 63
IEEE Consumer Electronics Magazine - March/April 2023 - 64
IEEE Consumer Electronics Magazine - March/April 2023 - 65
IEEE Consumer Electronics Magazine - March/April 2023 - 66
IEEE Consumer Electronics Magazine - March/April 2023 - 67
IEEE Consumer Electronics Magazine - March/April 2023 - 68
IEEE Consumer Electronics Magazine - March/April 2023 - 69
IEEE Consumer Electronics Magazine - March/April 2023 - 70
IEEE Consumer Electronics Magazine - March/April 2023 - 71
IEEE Consumer Electronics Magazine - March/April 2023 - 72
IEEE Consumer Electronics Magazine - March/April 2023 - 73
IEEE Consumer Electronics Magazine - March/April 2023 - 74
IEEE Consumer Electronics Magazine - March/April 2023 - 75
IEEE Consumer Electronics Magazine - March/April 2023 - 76
IEEE Consumer Electronics Magazine - March/April 2023 - 77
IEEE Consumer Electronics Magazine - March/April 2023 - 78
IEEE Consumer Electronics Magazine - March/April 2023 - 79
IEEE Consumer Electronics Magazine - March/April 2023 - 80
IEEE Consumer Electronics Magazine - March/April 2023 - 81
IEEE Consumer Electronics Magazine - March/April 2023 - 82
IEEE Consumer Electronics Magazine - March/April 2023 - 83
IEEE Consumer Electronics Magazine - March/April 2023 - 84
IEEE Consumer Electronics Magazine - March/April 2023 - 85
IEEE Consumer Electronics Magazine - March/April 2023 - 86
IEEE Consumer Electronics Magazine - March/April 2023 - 87
IEEE Consumer Electronics Magazine - March/April 2023 - 88
IEEE Consumer Electronics Magazine - March/April 2023 - 89
IEEE Consumer Electronics Magazine - March/April 2023 - 90
IEEE Consumer Electronics Magazine - March/April 2023 - 91
IEEE Consumer Electronics Magazine - March/April 2023 - 92
IEEE Consumer Electronics Magazine - March/April 2023 - 93
IEEE Consumer Electronics Magazine - March/April 2023 - 94
IEEE Consumer Electronics Magazine - March/April 2023 - 95
IEEE Consumer Electronics Magazine - March/April 2023 - 96
IEEE Consumer Electronics Magazine - March/April 2023 - 97
IEEE Consumer Electronics Magazine - March/April 2023 - 98
IEEE Consumer Electronics Magazine - March/April 2023 - 99
IEEE Consumer Electronics Magazine - March/April 2023 - 100
IEEE Consumer Electronics Magazine - March/April 2023 - 101
IEEE Consumer Electronics Magazine - March/April 2023 - 102
IEEE Consumer Electronics Magazine - March/April 2023 - 103
IEEE Consumer Electronics Magazine - March/April 2023 - 104
IEEE Consumer Electronics Magazine - March/April 2023 - 105
IEEE Consumer Electronics Magazine - March/April 2023 - 106
IEEE Consumer Electronics Magazine - March/April 2023 - 107
IEEE Consumer Electronics Magazine - March/April 2023 - 108
IEEE Consumer Electronics Magazine - March/April 2023 - 109
IEEE Consumer Electronics Magazine - March/April 2023 - 110
IEEE Consumer Electronics Magazine - March/April 2023 - 111
IEEE Consumer Electronics Magazine - March/April 2023 - 112
IEEE Consumer Electronics Magazine - March/April 2023 - 113
IEEE Consumer Electronics Magazine - March/April 2023 - 114
IEEE Consumer Electronics Magazine - March/April 2023 - 115
IEEE Consumer Electronics Magazine - March/April 2023 - 116
IEEE Consumer Electronics Magazine - March/April 2023 - 117
IEEE Consumer Electronics Magazine - March/April 2023 - 118
IEEE Consumer Electronics Magazine - March/April 2023 - 119
IEEE Consumer Electronics Magazine - March/April 2023 - 120
IEEE Consumer Electronics Magazine - March/April 2023 - 121
IEEE Consumer Electronics Magazine - March/April 2023 - 122
IEEE Consumer Electronics Magazine - March/April 2023 - 123
IEEE Consumer Electronics Magazine - March/April 2023 - 124
IEEE Consumer Electronics Magazine - March/April 2023 - 125
IEEE Consumer Electronics Magazine - March/April 2023 - 126
IEEE Consumer Electronics Magazine - March/April 2023 - 127
IEEE Consumer Electronics Magazine - March/April 2023 - 128
IEEE Consumer Electronics Magazine - March/April 2023 - Cover3
IEEE Consumer Electronics Magazine - March/April 2023 - Cover4
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20240102
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20231112
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20230910
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20230708
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20230506
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20230304
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20230102
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20221112
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20220910
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20220708
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20220506
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20220304
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20220102
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20211112
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20210910
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20210708
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20210506
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20210304
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_202010
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_202009
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_202007
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_202004
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_202003
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_202001
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201910
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201909
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201907
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201905
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201903
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201901
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201811
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201809
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201807
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201805
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201803
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_july2017
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_april2017
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_january2017
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_october2016
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_july2016
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_april2016
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_january2016
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_october2015
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_july2015
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_april2015
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_january2015
https://www.nxtbookmedia.com