The invention relates to the technical field of advertisement interception methods, in particular to an advertisement interception method and device and a computer readable medium, and the method specifically comprises the following steps: step 1, establishing an initial advertisement feature
library: firstly, constructing a known advertisement
feature data set through large-scale data collection, the method comprises the following steps of: establishing an initial advertisement feature
library on the basis of multi-dimensional information including advertisement URL (
Uniform Resource Locator) mode features,
HTML (
Hypertext Markup Language) tag features, CSS (
Cascading Style Sheets) style features,
JavaScript code features and content keyword features; and step 2, monitoring network traffic in real time, deploying a traffic monitoring engine between a user terminal and a network node, and realizing full-amount real-time capture of a
network data packet. According to the method, the initial advertisement feature
library is established, multi-dimensional advertisement features are collected on a large scale, scientific weights are configured, the one-sidedness of a traditional rule is avoided, and the initial recognition accuracy is improved.