The application discloses a traffic collection method based on a multi-
wireless access point scene, utilizes a PC terminal to control a mobile terminal to generate interference traffic by using an automatic script based on Python and Appium; the traffic collection and
feature extraction code is embedded in all routers to complete feature file extraction; all routers synchronize the feature files to the PC terminal in real time through rsync, the PC terminal cleans and marks the feature files obtained by all routers by using mobile terminal and simulator information, and inserts the feature files into a feature
database; the mobile terminal captures
original data packets, new routers obtain the
original data packets through a mirror mode, and then send the
original data packets to a transfer
server; the transfer
server writes a comparison script to analyze the differences between the mobile terminal pcap and the new
router pcap, and finally realizes extraction of network traffic in an interference scene, so that data of rich multi-scene applications is facilitated.