Yuan - Design and Implementation On Hyperledger-Based Emission Trading System
Yuan - Design and Implementation On Hyperledger-Based Emission Trading System
fully edited. Content may change prior to final publication. Citation information: DOI
10.1109/ACCESS.2018.2888929, IEEE Access
Date of publication xxxx 00, 0000, date of current version xxxx 00, 0000.
Digital Object Identifier 10.1109/ACCESS.2017.DOI
ABSTRACT Emission trading policy provides a new approach using economic incentives to control
environmental pollution efficiently. Legal polluters can trade emission permits with each other through a
trusted trading system, which lacks security and credibility due to its centralization nowadays. Permissioned
blockchain utilize a decentralized way to store private data immutably, providing new approaches to solve
those defects of existing centralized systems. In this paper, we propose a Hyperledger-based Emission
Trading System (HyperETS) on permissioned blockchain. Using Hyperledger Fabric as the implementation
platform, HyperETS integrates fine-grained access control, distributed ledger and consensus protocol,
aiming to provide the credible trading service for polluters. We achieve the business logic by designing
particular ledger structures and smart contract in blockchain. HyperETS stores all transactions immutably in
a chain and makes it easy to share the data between organizations. Finally, several experiments are conducted
to evaluate the performances of the proposed demonstration system.
INDEX TERMS Emission Trading, Permissioned Blockchain, Smart Contract, Hyperledger Fabric
I. INTRODUCTION to data tampering and data leakage [3]. Due to these disad-
Emission trading is a large-scale attempt to use economic vantages, a new system with high confidence and security is
incentives in environmental policy [1]. It has proposed a new demanded by emission trading markets.
market-based approach to control pollution. The government To solve those issues mentioned above, the blockchain
sets an overall limit on emissions for participants so that those technology originated from Bitcoin [4] is considered as a
legal polluters can trade emission permits with each other. new approach to provide trusted service [5]. As a transparent
Authorized markets handle transactions and save the records and verifiable system, the blockchain uses a distributed and
in databases. Various organizations have adopted such a immutable approach to record all valid transactions in blocks.
trading system because of its high efficient in mitigating It provides decentralized service for participants and applies
climate change by reducing emissions of pollutants [2]. Smart Contract (SC) to achieve the business logic [6]. Thus,
A typical emission trading system needs many indepen- the systems based on blockchain have been widely accepted
dent organizations to collaborate with each other. In addition, by several applications such as Internet of Things (IoT) [7],
trusted and secured service should be provided for them. [8] and energy trading [9]. For vehicular systems [10], [11],
However, current trading systems usually use a centralized the blockchain provides a decentralized way for trust man-
architecture with traditional database to record transactions agement [12]. A blockchain-based platform for insurance
and share data between organizations, which leads to several processing has been proposed to offer fine-grained access
problems in emission trading. First of all, centralized trading control among trusted participants [13]. Moreover, many
system is governed by a single trusted center, which makes researches focus on integrating blockchain for private data
the system lack of high reliability. Secondly, data sharing accessing and data sharing [14], [15]. Nowadays, blockchain
between different organizations with independent databases has been implemented in several ways such as permis-
is inconvenient. Thirdly, traditional databases are vulnerable sionless blockchain (e.g., Ethereum [16]) and permissioned
VOLUME 4, 2016 1
2169-3536 (c) 2018 IEEE. Translations and content mining are permitted for academic research only. Personal use is also permitted, but republication/redistribution requires IEEE permission. See
http://www.ieee.org/publications_standards/publications/rights/index.html for more information.
This article has been accepted for publication in a future issue of this journal, but has not been fully edited. Content may change prior to final publication. Citation information: DOI
10.1109/ACCESS.2018.2888929, IEEE Access
2169-3536 (c) 2018 IEEE. Translations and content mining are permitted for academic research only. Personal use is also permitted, but republication/redistribution requires IEEE permission. See
http://www.ieee.org/publications_standards/publications/rights/index.html for more information.
This article has been accepted for publication in a future issue of this journal, but has not been fully edited. Content may change prior to final publication. Citation information: DOI
10.1109/ACCESS.2018.2888929, IEEE Access
VOLUME 4, 2016 3
2169-3536 (c) 2018 IEEE. Translations and content mining are permitted for academic research only. Personal use is also permitted, but republication/redistribution requires IEEE permission. See
http://www.ieee.org/publications_standards/publications/rights/index.html for more information.
This article has been accepted for publication in a future issue of this journal, but has not been fully edited. Content may change prior to final publication. Citation information: DOI
10.1109/ACCESS.2018.2888929, IEEE Access
2169-3536 (c) 2018 IEEE. Translations and content mining are permitted for academic research only. Personal use is also permitted, but republication/redistribution requires IEEE permission. See
http://www.ieee.org/publications_standards/publications/rights/index.html for more information.
This article has been accepted for publication in a future issue of this journal, but has not been fully edited. Content may change prior to final publication. Citation information: DOI
10.1109/ACCESS.2018.2888929, IEEE Access
VOLUME 4, 2016 5
2169-3536 (c) 2018 IEEE. Translations and content mining are permitted for academic research only. Personal use is also permitted, but republication/redistribution requires IEEE permission. See
http://www.ieee.org/publications_standards/publications/rights/index.html for more information.
This article has been accepted for publication in a future issue of this journal, but has not been fully edited. Content may change prior to final publication. Citation information: DOI
10.1109/ACCESS.2018.2888929, IEEE Access
server functions and provide a series of RESTful APIs. For a low median response time at beginning until the arrival
blockchain network, the server needs to interact with several rate reaches about 300 RPS. Then, the throughput increases
parts via supported SDKs. Firstly, the server has to access slowly and the median response time rises rapidly before
the Fabric CA as a client in order to enroll the admin- it reach the saturation point at about 340 RPS. After the
istrator identity and set user context. Secondly, by using saturation point, higher arrival rates may cause the lower
APIs provided by Fabric SDK, the server is able to invoke throughput due to the server bottleneck.
specific SC on target channel by assigning unique channel
ID and function arguments to requests, aiming to query and
update ledger on specified peers. The specific user context Throughput
350
set by server previously can be used to sign all the requests Median of Response Time
10000
invoked by APIs. Furthermore, all the data retrieved from
Throughput (RPS)
8000
the procedures of our HTTP server can be summarized as 250
follows, i.e.
6000
• Step 1: Using Fabric CA SDK to enroll the admin 200
identity. 4000
150
• Step 2: Starting the HTTP server to listen a specific port
and receive requests from applications. 2000
100
• Step 3: According to the diverse parameters of requests,
using Fabric SDK to invoke target SC to do some query 0
100 200 300 400 500 600 700
or update operations. Request Arrival Rate (RPS)
• Step 4: Returning data to applications in JSON format.
FIGURE 5: Throughput of Query Operation
2169-3536 (c) 2018 IEEE. Translations and content mining are permitted for academic research only. Personal use is also permitted, but republication/redistribution requires IEEE permission. See
http://www.ieee.org/publications_standards/publications/rights/index.html for more information.
This article has been accepted for publication in a future issue of this journal, but has not been fully edited. Content may change prior to final publication. Citation information: DOI
10.1109/ACCESS.2018.2888929, IEEE Access
250 ACKNOWLEDGMENT
Message Count:1
This work was supported by the China Natural Science Fund-
Message Count:2
Message Count:5 ing under the grant 61671089, and BUPT Excellent Ph.D.
200
Message Count:10 Students Foundation under grant CX2016314.
Message Count:20
Throughput (RPS)
150 REFERENCES
[1] Wei Yan and Deshan Tang, “Incentives for environmental technological
innovation in emission trading,” 2011 International Conference on Remote
100
Sensing, Environment and Transportation Engineering, Nanjing, 2011, pp.
3206-3210.
[2] J. Huang et al., “An Experimental Study on Emission Trading Behaviors
50 of Generation Companies,” in IEEE Transactions on Power Systems, vol.
30, no. 2, pp. 1076-1083, March 2015.
[3] S. Imran and I. Hyder, “Security Issues in Databases,” 2009 Second Inter-
0 national Conference on Future Information Technology and Management
0 50 100 150 200 250 300 350 Engineering, Sanya, 2009, pp. 541-545.
Request Arrival Rate (RPS)
[4] S. Nakamoto, “Bitcoin: A peer-to-peer electronic cash system,” White
(a) Impact of Message Count on Throughput Paper, 2008.
[5] YUAN Yong,WANG Fei-Yue. “Blockchain: The State of the Art and
Future Trends[J]”. Acta Automatica Sinica, 2016, 42(4): 481-494..
250
[6] Clack, Christopher & A. Bakshi, Vikram & Braine, Lee. (2016). “Smart
Block Size:8k
Contract Templates: essential requirements and design options.”
Block Size:16k
[7] S. Huh, S. Cho and S. Kim, “Managing IoT devices using blockchain plat-
200 Block Size:32k
form,” 2017 19th International Conference on Advanced Communication
Block Size:64k
Technology (ICACT), Bongpyeong, 2017, pp. 464-467.
[8] K. Christidis and M. Devetsikiotis, “Blockchains and Smart Contracts for
Throughput (RPS)
150 the Internet of Things,” in IEEE Access, vol. 4, pp. 2292-2303, 2016.
[9] N. Z. Aitzhan and D. Svetinovic, “Security and Privacy in Decentralized
Energy Trading Through Multi-Signatures, Blockchain and Anonymous
100 Messaging Streams,” in IEEE Transactions on Dependable and Secure
Computing, vol. 15, no. 5, pp. 840-852, 1 Sept.-Oct. 2018.
[10] K. Zheng, L. Hou, H. Meng, Q. Zheng, N. Lu and L. Lei, “Soft-defined
heterogeneous vehicular network: architecture and challenges,” in IEEE
50
Network, vol. 30, no. 4, pp. 72-80, July-August 2016.
[11] K. Zheng, H. Meng, P. Chatzimisios, L. Lei and X. Shen, “An SMDP-
Based Resource Allocation in Vehicular Cloud Computing Systems,” in
0 IEEE Transactions on Industrial Electronics, vol. 62, no. 12, pp. 7920-
0 50 100 150 200 250 300 350
Request Arrival Rate (RPS) 7928, Dec. 2015.
[12] Z. Yang, K. Yang, L. Lei, K. Zheng and V. C. M. Leung, “Blockchain-
(b) Impact of Block Size on Throughput based Decentralized Trust Management in Vehicular Networks,” in IEEE
Internet of Things Journal.
FIGURE 6: Throughput of Create Operation [13] M. Raikwar, S. Mazumdar, S. Ruj, S. Sen Gupta, A. Chattopadhyay and K.
Lam, “A Blockchain Framework for Insurance Processes,” 2018 9th IFIP
International Conference on New Technologies, Mobility and Security
(NTMS), Paris, 2018, pp. 1-4.
[14] X. Liang, J. Zhao, S. Shetty, J. Liu and D. Li, “Integrating blockchain for
improve the performance anymore. Moreover, it can see that data sharing and collaboration in mobile healthcare applications,” 2017
the highest throughput of HyperETS is about 200 RPS. IEEE 28th Annual International Symposium on Personal, Indoor, and
Mobile Radio Communications (PIMRC), Montreal, QC, 2017, pp. 1-5.
[15] A. Azaria, A. Ekblaw, T. Vieira and A. Lippman, “MedRec: Using
V. CONCLUSION Blockchain for Medical Data Access and Permission Management,”2016
2nd International Conference on Open and Big Data (OBD), Vienna, 2016,
In this paper we have proposed HyperETS: a emission trad- pp. 25-30.
ing system based on permissioned blockchain to solve the de- [16] Wood, Gavin. “Ethereum: A secure decentralised generalised transaction
fects of existing centralized systems. We have presented the ledger.” Ethereum project yellow paper 151 (2014): 1-32.
[17] Cachin, Christian. “Architecture of the hyperledger blockchain fabric.”
design and implementation of this system in detail, especially Workshop on Distributed Cryptocurrencies and Consensus Ledgers. Vol.
the ledger and smart contract. Extensive experiments have 310. 2016.
been conducted to evaluate the system performance. Those [18] W. Tsai, X. Bai and L. Yu, “Design Issues in Permissioned Blockchains for
Trusted Computing,” 2017 IEEE Symposium on Service-Oriented System
experiments analyze the system throughput of HTTP requests Engineering (SOSE), San Francisco, CA, 2017, pp. 153-159.
with different type of operations and different parameters [19] Qassim Nasir, Ilham A. Qasse, Manar Abu Talib, and Ali Bou Nassif,
of configuration. The results indicate that the throughput of “Performance Analysis of Hyperledger Fabric Platforms,” Security and
Communication Networks, vol. 2018, Article ID 3976093, 14 pages, 2018
query operations can reach 340 RPS while create operations
[20] Elli Androulaki, Artem Barger, Vita Bortnikov, et al,. 2018. “Hyperledger
only reach around 200 RPS due to the underlying consensus fabric: a distributed operating system for permissioned blockchains.” In
mechanism. As for the configuration, setting the appropriate Proceedings of the Thirteenth EuroSys Conference (EuroSys ’18). ACM,
parameters for ordering service has a great influence on New York, NY, USA, Article 30, 15 pages.
[21] Thakkar, Parth, Senthil Nathan, and Balaji Vishwanathan. “Performance
system performance and the specific value depends on the Benchmarking and Optimizing Hyperledger Fabric Blockchain Platform.”
real business logic. arXiv preprint arXiv:1805.11390 (2018).
VOLUME 4, 2016 7
2169-3536 (c) 2018 IEEE. Translations and content mining are permitted for academic research only. Personal use is also permitted, but republication/redistribution requires IEEE permission. See
http://www.ieee.org/publications_standards/publications/rights/index.html for more information.
This article has been accepted for publication in a future issue of this journal, but has not been fully edited. Content may change prior to final publication. Citation information: DOI
10.1109/ACCESS.2018.2888929, IEEE Access
8 VOLUME 4, 2016
2169-3536 (c) 2018 IEEE. Translations and content mining are permitted for academic research only. Personal use is also permitted, but republication/redistribution requires IEEE permission. See
http://www.ieee.org/publications_standards/publications/rights/index.html for more information.