School of Computer Science and Engineering, VIT-AP University, Amaravati 522237, India.
Department of Computer Science and Engineering, National Institute of Technology Meghalaya, Shillong 793003, India.
Sensors (Basel). 2023 Jan 6;23(2):670. doi: 10.3390/s23020670.
With the electric power grid experiencing a rapid shift to the smart grid paradigm over a deregulated energy market, Internet of Things (IoT)-based solutions are gaining prominence, and innovative peer-to-peer (P2P) energy trading at a micro level is being deployed. Such advancement, however, leaves traditional security models vulnerable and paves the path for blockchain, a distributed ledger technology (DLT), with its decentralized, open, and transparency characteristics as a viable alternative. However, due to deregulation in energy trading markets, most of the prototype resilience regarding cybersecurity attack, performance and scalability of transaction broadcasting, and its direct impact on overall performances and attacks are required to be supported, which becomes a performance bottleneck with existing blockchain solutions such as Hyperledger, Ethereum, and so on. In this paper, we design a novel permissioned Corda framework for P2P energy trading peers that not only mitigates a new class of cyberattacks, i.e., delay trading (or discard), but also disseminates the transactions in a optimized propagation time, resulting in a fair transaction distribution. Sharing transactions in a permissioned R3 Corda blockchain framework is handled by the Advanced Message Queuing Protocol (AMQP) and transport layer security (TLS). The unique contribution of this paper lies in the use of an optimized CPU and JVM heap memory scenario analysis with P2P metric in addition to a far more realistic multihosted testbed for the performance analysis. The average latencies measured are 22 ms and 51 ms for sending and receiving messages. We compare the throughput by varying different types of flow such as energy request, request + pay, transfer, multiple notary, sender, receiver, and single notary. In the proposed framework, request is an energy asset that is based on payment state and contract in the P2P energy trading module, so in request flow, only one node with no notary appears on the vault of the node.Energy request + pay flow interaction deals with two nodes, such as producer and consumer, to deal with request and transfer of asset ownership with the help of a notary. Request + repeated pay flow request, on node A and repeatedly transfers a fraction of energy asset state to another node, B, through a notary.
随着电力网格在不受管制的能源市场中快速向智能网格范式转变,基于物联网 (IoT) 的解决方案越来越受到关注,并且正在部署创新的点对点 (P2P) 微观能源交易。然而,这种进步使传统的安全模型变得脆弱,并为区块链(一种分布式账本技术 (DLT))铺平了道路,区块链具有去中心化、开放和透明的特点,是一种可行的替代方案。然而,由于能源交易市场的放松管制,大多数原型都需要支持针对网络安全攻击、交易广播的性能和可扩展性的弹性,以及其对整体性能和攻击的直接影响,这成为了现有区块链解决方案(如 Hyperledger、Ethereum 等)的性能瓶颈。在本文中,我们为 P2P 能源交易对等方设计了一种新颖的许可 Corda 框架,不仅减轻了一类新的网络攻击,即延迟交易(或丢弃),而且还优化了交易的传播时间,从而实现公平的交易分配。在许可的 R3 Corda 区块链框架中共享交易由高级消息队列协议 (AMQP) 和传输层安全 (TLS) 处理。本文的独特贡献在于使用优化的 CPU 和 JVM 堆内存场景分析以及更现实的多主机测试平台进行性能分析,此外还使用了 P2P 度量标准。测量的平均延迟分别为发送和接收消息的 22ms 和 51ms。我们通过改变不同类型的流量(如能源请求、请求+支付、传输、多个公证人、发送方、接收方和单个公证人)来比较吞吐量。在提出的框架中,请求是一种基于支付状态和合同的能源资产,因此在请求流中,只有一个没有公证人的节点出现在节点的保管库中。能源请求+支付流交互涉及两个节点,例如生产者和消费者,在公证人的帮助下处理请求和资产所有权的转让。请求+重复支付流请求,节点 A 重复多次将能源资产状态的一部分转移到另一个节点 B 通过公证人。