The invention discloses a block chain
phishing account detection method and device based on a dynamic weight transaction subgraph, and relates to the technical field of block chain
security monitoring. The method comprises the following steps: constructing a dynamic weight transaction sub-graph network based on transaction information; obtaining a block chain
phishing account detection model, wherein the block chain
phishing account detection model comprises a first-stage graph neural network, a first-stage differentiable graph
pooling layer, a second-stage graph neural network, a second-stage differentiable graph
pooling layer, a third-stage graph neural network and a classifier module; inputting the dynamic weight transaction sub-graph network into a first-stage graph neural network, inputting an obtained first
distribution matrix into a first-stage differentiable graph
pooling layer, obtaining a first compression feature, inputting the first compression feature into a second-stage graph neural network, obtaining a second
distribution matrix, inputting the second
distribution matrix into a second-stage differentiable graph pooling layer, and inputting an obtained second compression feature into a third-stage graph neural network; and inputting the obtained global features of the graph into a classifier module to obtain a prediction result of the phishing account. By adopting the method and the device, the accuracy of block chain phishing account detection can be improved.