Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Webpage screenshot method and device, storage medium and electronic equipment

A technology for storage media and web pages, applied in the computer field, can solve the problems of inability to guarantee the correctness of screenshots, abnormal loading, incomplete screenshots, etc.

Pending Publication Date: 2021-03-30
BEIJING GRIDSUM TECH CO LTD
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the prior art, when loading a URL to take a screenshot of a web page, it is necessary to load the entire web page and then take a screenshot, but there may be some elements in the web page, such as pictures, text content, etc., and the loading time is relatively long or The loading is abnormal, which leads to a long loading time in the webpage or the loading of abnormally loaded elements fails, so that the screenshot obtained after taking a screenshot is incomplete, and the correctness of the screenshot cannot be guaranteed

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
  • Webpage screenshot method and device, storage medium and electronic equipment
  • Webpage screenshot method and device, storage medium and electronic equipment
  • Webpage screenshot method and device, storage medium and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0047] The invention is applicable to numerous general purpose or special purpose computing device environments or configurations. For example: personal computer, server computer, handheld or portable device, tablet type device, multiprocessor device, distributed computing environment including any of the above devices or devices, etc.

[0048] The embodiment of the present invention provides a web page screenshot method, which can...

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 discloses a webpage screenshot method and device, a storage medium and electronic equipment, and is applied to the technical field of computers. The method comprises the following steps:in response to a screenshot request, calling a preset headless browser to access a target webpage, and determining each webpage element required for access; judging whether the loading request corresponding to each webpage element comprises a to-be-matched item or not; adding a matching parameter into the loading request containing the to-be-matched item, and sending the loading request added with the matching parameter to a corresponding server, so that the server returns the webpage element in response to the matching parameter, and completing loading of the webpage element; and after eachwebpage element is loaded, carrying out screenshot on the target webpage. By applying the method, the matching parameter is added to the loading request containing the to-be-matched item, so that whenthe server receives the loading request, the server responds according to the matching parameter and returns the webpage element, and the integrity and correctness of the screenshot picture are ensured after the target webpage is subjected to screenshot.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a webpage screenshot method, device, storage medium, and electronic equipment. Background technique [0002] In the process of browsing the webpage through the browser, if the user encounters the content of the webpage of interest, he usually takes a screenshot of the webpage. In the prior art, a webpage is accessed by loading a URL address, and a screenshot is taken of the webpage, so as to ensure that the entire webpage can be completely intercepted during the screenshot process. [0003] In the prior art, when loading a URL to take a screenshot of a webpage, it is necessary to load the entire webpage and then take a screenshot, but there may be some elements in the webpage, such as pictures, text content, etc., and the loading time is relatively long or The loading is abnormal, which leads to a long loading time in the webpage or the loading of abnormally loaded elements fa...

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/958G06F16/955G06F16/957
CPCG06F16/958G06F16/9574G06F16/955
Inventor 杨彪龙
Owner BEIJING GRIDSUM TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products