Dynamic webpage screenshot method, terminal equipment and storage medium

A technology for dynamic webpages and target webpages, applied in the computer field, can solve problems such as incomplete screenshots, inability to adapt to page height, time-consuming long page screenshots, etc., to achieve the effect of speeding up work efficiency, ensuring reliability and authenticity

Pending Publication Date: 2021-12-17
XIAMEN MEIYA PICO INFORMATION
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] 1. For different types of web pages, the height of the page cannot be adapted
[0006] 2. Batch processing of different types o

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
  • Dynamic webpage screenshot method, terminal equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0033] Example 1:

[0034] Because when the browser rendering the page, outside the viewport for resources such as pictures, take a lazy loading strategy, and so render the content when the viewport is about to enter, will render timely loading, it is often necessary to scroll through the entire page to finish Make sure that all resources are fully loaded rendering is complete, bring a lot of wear and tear on the time period.

[0035] In order to reduce the loss of time, embodiments of the present invention provides a method of Theme dynamic page, the browser emulation function is provided to support the height of the viewport, the viewport is theoretically just sufficient height, and the total amount of the loaded content page load , designed specifically for the kind of overall page rendering, you can load the fastest rendering the complete page. And for that part of the show is designed to fit the page loads scroll trigger presented, for example, taken at the same time combined...

Example Embodiment

[0064] Example 2:

[0065] The present invention also provides a dynamic web screen cross-sectional terminal device including a memory, a processor, and a computer program stored in the memory and can run on the processor, the processor implements the present invention. The steps in the above method embodiment are described above.

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

The invention relates to a dynamic webpage screenshot method, terminal equipment and a storage medium, and the method comprises the steps: calling a simulation function interface of a browser, and setting the viewport height as the highest screenshot height of the browser; loading the target webpage until all webpage resources are loaded, and setting the viewport height as the default height of the browser page; scrolling the target webpage to an actual height by using a scroll bar, waiting for rated time until webpage resources are completely loaded, and calling a development tool protocol interface to obtain a current page height of the target webpage; when the current page height is greater than the actual height, setting the actual height as the current page height, and carrying out rolling again; otherwise, setting the viewport height as the actual height of the target webpage; and calling a development tool protocol interface to store the target webpage as a picture. Complete batch screenshot can be quickly performed on most of different webpages, the reliability and authenticity of electronic evidences are guaranteed, and the working efficiency of law enforcement officers is improved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a dynamic web page screenshot method, a terminal device and a storage medium. Background technique [0002] In recent years, illegal infringements involving webpages have emerged one after another, and webpage screenshots are an important piece of evidence. How to ensure the integrity of screenshots while taking into account the speed of screenshots is a pain point. For a web page, the layout forms are changeable, and the content and interaction presented by the web page are heterogeneous environments that are constantly changing and dynamically changing. The mainstream web page content presentation methods are mainly divided into overall presentation or partial presentation combined with scrolling trigger loading presentation. However, how to quickly and accurately obtain the interception height in a heterogeneous environment is a challenge. [0003] At present, in the proce...

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
IPC IPC(8): G06F9/451G06F3/0484G06F3/0485
CPCG06F9/451G06F3/04855G06F3/0484
Inventor 李栋梁杜新胜吴松洋黄志炜
Owner XIAMEN MEIYA PICO INFORMATION
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products