The invention provides an anti-crawler
data query method and device as well as a
client and a
server, relating to the field of
internet communication technology. The anti-crawler
data query method is applied to the
client, and comprises the following steps: communicating with the
server to obtain the
service time of the
server; issuing an
encryption string and a
timestamp when accessing a server interface each time, and simultaneously marking an operation
system and a unique equipment identifier of the
client for the server to perform
verification, wherein the
encryption string is a key, a formatted
timestamp and application keywords that are encrypted by using MD5; setting a
unique key value of the client to a
web page control for an
HTML5 end to verify the
web page control; and supplying the
encryption string and the
timestamp to the
HTML5 end to ensure that the
HTML5 end carries the encryption string and the timestamp to request services from the server to further achieve
data query. Thereby, non-login users can query data freely, the phenomenon that a large amount of data is crawled by abnormal users can also be prevented, the pressure of operation and maintenance
layers can be reduced, and junk data of interface
layers can be reduced.