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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


