The invention discloses a crawler identification and interception method and
system based on service data. The crawler identification and interception method and
system based on service data comprises the following steps: S1, obtaining the service data of a whole website in real time; S2, obtaining suspicious crawler data from the service data; S3, establishing an IP white
list information
library, wherein effective IP addresses allowed to access the website are recorded in the IP white
list information
library; S4, judging whether the
IP address of the suspicious crawler data is in the IP white
list information
library, and if not, executing S5; S5, sending the
IP address of the suspicious crawler data to an anti-crawler
database; S6, synchronously receiving the
IP address of the suspicious crawler data by the anti-crawler
database; and S7, judging whether the IP address of an online access crawler is in the anti-crawler
database, and if so, intercepting the IP address of the online access crawler. By adoption of the crawler identification and interception method and
system disclosed by the invention, the IP address of the crawler can be intercepted in real time, thereby reducing the possibility that commercial pricing systems of companies are stolen by the crawler on the service.