A kind of anti-crawler method, server and client
A server and client technology, applied in the field of information security, can solve problems such as website information leakage, achieve the effect of improving security performance and avoiding leakage
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0060] figure 1 It is a schematic flowchart of an anti-crawler method provided in the embodiment of this application. The method is applied to a server, and the method can be as follows.
[0061] Step 102: Perform random processing on the original data according to preset random rules to obtain random data corresponding to the original data.
[0062] Step 104: Determine an out-of-order identifier corresponding to a preset out-of-order rule.
[0063] Wherein, the out-of-order identifier is used to convert the out-of-order data into the original data when the client performs web page display
[0064] In the embodiment of the present application, before the original data is processed out of order according to the preset out-of-order rules to obtain the out-of-order data corresponding to the original data, it also includes:
[0065] Randomly generate preset out-of-order rules according to the original data;
[0066] A preset out-of-sequence rule is randomly generated for a certa...
Embodiment 2
[0090] On the client side opposite to the server, in order to allow normal access to the webpage, when rendering the webpage source code obtained from the server, it is necessary to convert the out-of-order data contained in the webpage source code into the original data in order to obtain the target webpage for the user Browse normally.
[0091] figure 2 It is a schematic flowchart of another anti-crawler method provided in the embodiment of this application. The method is applied to the client, and the method can be as follows.
[0092] Step 201: Send a web page access request for accessing a target web page to a server.
[0093] Step 202: Receive the web page source code corresponding to the target web page returned by the server.
[0094] When the client wants to access the target webpage, it can send a webpage access request for accessing the target webpage to the server according to the link address of the target webpage. After receiving the webpage access request, ...
Embodiment 3
[0110] image 3 It is a schematic structural diagram of an electronic device provided in an embodiment of the present application. Such as image 3As shown, at the hardware level, the electronic device includes a processor, and optionally also includes an internal bus, a network interface, and a memory. Wherein, the memory may include a memory, such as a high-speed random-access memory (Random-Access Memory, RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory. Of course, the electronic device may also include hardware required by other services.
[0111] The processor, the network interface and the memory can be connected to each other through an internal bus, which can be an ISA (Industry Standard Architecture, industry standard architecture) bus, a PCI (Peripheral Component Interconnect, peripheral component interconnection standard) bus or an EISA (Extended Industry StandardArchitecture, extended industry standard arch...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


