Netinfo Security ›› 2022, Vol. 22 ›› Issue (3): 78-84.doi: 10.3969/j.issn.1671-1122.2022.03.009

Previous Articles     Next Articles

Blockchain Abnormal Transaction Detection with Privacy-preserving Based on KNN

CHEN Binjie1, WEI Fushan1,2, GU Chunxiang1,2()   

  1. 1. School of Cyberspace Security, Information Engineering University, Zhengzhou 450001, China
    2. Henan Key Laboratory of Network Cryptography Technology, Zhengzhou 450001, China
  • Received:2021-04-15 Online:2022-03-10 Published:2022-03-28
  • Contact: GU Chunxiang E-mail:gcx5209@126.com

Abstract:

With the development of blockchain, the consortium blockchain technology represented by Hyperledger has been applied widely, and its abnormal transaction detection needs have become prominent gradually. The current anomaly detection technology focuses on public blockchain, which neglects the privacy protection requirements of the consortium blockchain. In order to realize efficient anomaly detection and privacy protection of the consortium blockchain, this paper proposed a privacy-preserving abnormal transaction detection scheme based on KNN. The accounting nodes of this scheme used the matrix method to randomize the transaction data, and cloud server used KNN to test the randomized transaction data and feed back the result to accounting nodes for validation. The experimental results show that the scheme has little effect on the efficiency of the consortium blockchain, and has a good detection performance. The recall rate, precision and F1 value can reach 85.3%, 87.7% and 86.5% respectively.

Key words: blockchain, consortium blockchain, anomaly detection, privacy protection, KNN

CLC Number: