Skip to main content
Fig. 5 | EURASIP Journal on Wireless Communications and Networking

Fig. 5

From: An access control model for the Internet of Things based on zero-knowledge token and blockchain

Fig. 5

Total time cost. The experimental results: It can be seen that at the beginning of the experiment, due to the need for the consensus time of blockchain and the generation time of zero-knowledge proof, the running time of BZBAC is much longer than that of Attribute-Based Access Control. However, with the increase in the number of tests, ABAC has been in a state of linear growth. Since BZBAC has completed the generation of ZKToken, subsequent access time is only spent on the verification of ZKToken, so the growth of running time is relatively flat. Although ABAC has a lower cumulative time consumption than BZBAC for previous visits, it gradually has a higher time consumption than BZBAC after the 19th of this access. Thus, the BZBAC model can improve access efficiency and reduce time cost in the case of multiple accesses. If only a few visits are made, the time cost of this model is still relatively high due to the need for trust setting. However, considering reality, users will often visit the same device multiple times rather than just several times. Also, compared with the time required for each visit, users are more inclined to prepare for the subsequent quick access by setting the first time for a longer time. Therefore, in general, the accumulated time cost of BZBAC is reduced and the user's experience effect is improved

Back to article page