The present invention discloses an illegal
Android application detection method based on a
user interface conversion graph and an electronic device, comprising: dynamically analyzing an
Android application to be detected to obtain a
dynamic user interface conversion graph; statically analyzing the
Android application to be detected to obtain a static
user interface conversion graph and
metadata of the Android application to be detected; establishing a mapping between the static
user interface conversion graph and the
dynamic user interface conversion graph, aligning and fusing the static user interface conversion graph and the
dynamic user interface conversion graph to obtain a
hybrid user interface conversion graph; performing link prediction on the
hybrid user interface conversion graph to update the user interface conversion graph; inputting the
metadata of the Android application to be detected into an
encoder for encoding, splicing the
metadata feature vector obtained by encoding and the updated user interface conversion graph to obtain a
hybrid feature graph; inputting the hybrid feature graph into a graph neural network for
label prediction to obtain a category corresponding to the Android application to be detected.