Unlock instant, AI-driven research and patent intelligence for your innovation.

Page display method and device, electronic equipment and readable storage medium

A technology of electronic equipment and storage media, which is applied in the network field and can solve problems such as the inability to effectively prevent dynamic crawlers

Active Publication Date: 2019-11-26
HANHAI INFORMATION TECH SHANGHAI
View PDF14 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] It can be seen that the current anti-web crawler technology cannot effectively prevent dynamic crawlers from

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Page display method and device, electronic equipment and readable storage medium
  • Page display method and device, electronic equipment and readable storage medium
  • Page display method and device, electronic equipment and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0029] refer to figure 1 , which shows a flow chart of the steps of the page presentation method in one embodiment of the present disclosure, including:

[0030] Step 101, determine the target text in the page to be displayed;

[0031] Step 102, writing the target text into a background picture in a preset format;

[0032] Step 103, recording the first coordinate of the target text in the background picture in the cascading style sheet corresponding to the page; and

[0033] Step 104. During the process of displaying the page, locate the target text in the background picture according to the first coordinates of the target text in the background picture recorded in the Cascading Style Sheet.

[0034] The page presentation method provided by the embodiments of the present disclosure can be used to prevent static crawlers and dynamic crawlers from crawling web page content in a website, so as to reduce leakage of page information. The page in the embodiment of the present dis...

Embodiment 2

[0073] refer to figure 2 , which shows a structural diagram of a page display device in an embodiment of the present disclosure, the details are as follows.

[0074] Text determination module 201, configured to determine the target text in the page to be displayed;

[0075] Picture writing module 202, is used for writing described target text in the background picture of preset format;

[0076] A style update module 203, configured to record the first coordinates of the target text in the background image in the cascading style sheet corresponding to the page; and

[0077] The target positioning module 204 is configured to locate all objects in the background picture according to the first coordinates of the target text recorded in the cascading style sheet in the background picture during the process of displaying the page Describe the target text.

[0078] Optionally, the device may also include:

[0079] A first encoding module, configured to encode the target text int...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

Embodiments of the invention provide a page display method and apparatus, an electronic device and a readable storage medium. The method comprises the steps of determining a target text in a to-be-displayed page; writing the target text into a background picture in a preset format; recording a first coordinate of the target text in the background picture in a cascading style sheet corresponding tothe page; and in the process of displaying the page, positioning the target text in the background picture according to the first coordinates, recorded in the cascading style sheet, of the target text in the background picture. According to the embodiment of the invention, the difficulty of obtaining the page information can be increased, and the page information leakage is reduced.

Description

technical field [0001] The embodiments of the present disclosure relate to the field of network technology, and in particular to a page display method, device, electronic equipment and readable storage medium. Background technique [0002] A web crawler is a program or script that automatically extracts page content from the Internet according to certain rules. With the abuse of web crawlers, there are too many content plagiarized from each other on the Internet, resulting in unprotected original content. Therefore, in order to protect original content on the Internet, various anti-web crawler technologies have emerged. [0003] For example, it is possible to prevent web crawlers from obtaining valid data in the page by adding JavaScript (JS for short) codes to the page and performing JS rendering on the page. However, web crawlers include static crawlers and dynamic crawlers, and static crawlers cannot parse JS codes. Therefore, this method can effectively prevent static ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/958
CPCG06F16/986
Inventor 吴长松马鹏举
Owner HANHAI INFORMATION TECH SHANGHAI