CN112380478A - Webpage screenshot method and device, computer equipment and computer-readable storage medium - Google Patents

Webpage screenshot method and device, computer equipment and computer-readable storage medium Download PDF

Info

Publication number
CN112380478A
CN112380478A CN202011285898.3A CN202011285898A CN112380478A CN 112380478 A CN112380478 A CN 112380478A CN 202011285898 A CN202011285898 A CN 202011285898A CN 112380478 A CN112380478 A CN 112380478A
Authority
CN
China
Prior art keywords
screenshot
request
webpage
target
display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011285898.3A
Other languages
Chinese (zh)
Inventor
曾志鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Pension Insurance Corp
Original Assignee
Ping An Pension Insurance Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Pension Insurance Corp filed Critical Ping An Pension Insurance Corp
Priority to CN202011285898.3A priority Critical patent/CN112380478A/en
Publication of CN112380478A publication Critical patent/CN112380478A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to a webpage screenshot method, a webpage screenshot device, computer equipment and a computer readable storage medium, wherein the method comprises the following steps: acquiring a screenshot request, and verifying the screenshot request; if the screenshot request passes the verification, starting a new browsing window as a current browsing window through a pre-started browser kernel; opening a corresponding target display webpage in a current browsing window according to the screenshot request and carrying out screenshot on the target display webpage to obtain a target screenshot file; and storing the target screenshot file into a preset database, and closing the current browsing window. According to the scheme, the contents or changes of different operation data of the enterprise are displayed through different preset display webpages, the interface screenshot of the display webpage of corresponding operation data is automatically acquired through monitoring the screenshot request, manual judgment is not needed in the whole process, the labor expenditure of the enterprise is greatly reduced, and the accuracy of display information is improved.

Description

Webpage screenshot method and device, computer equipment and computer-readable storage medium
Technical Field
The present invention relates to the field of web page screenshot, and more particularly, to a web page screenshot method, apparatus, computer device, and computer-readable storage medium.
Background
In the era of internet technology explosion, various data are generated on the network every day, and different data have different meanings behind. For a large enterprise, the operation activities of the enterprise at all times generate a large amount of operation data, and the data is closely related to the life activities of the enterprise. Enterprise managers can know the operation state and development trend of enterprises at any time through different operation data so as to make relevant decisions.
In the existing scheme, when an enterprise system detects the relevant change of corresponding operation data, the enterprise system needs to summarize and process the operation data and then inform relevant managers, the process of summarizing and processing the operation data is time-consuming and labor-consuming, and the waiting time of the relevant managers is long; in addition, the summarized result is displayed in a pure data character form, the current situation of the enterprise is not intuitive enough, and related managers cannot directly know the operation condition of the related aspects of the enterprise according to the processed display result.
In another current scheme, can also carry out the operation show of enterprise through the Web page based on operation data and according to specific UI effect, during the use, the Web page takes the operation data that need show, and carry out the operation show of enterprise according to specific UI effect, can reach fine show visual effect, but this scheme needs managers to open the control page every day and monitor the Web page of show usefulness, this scheme needs relevant managers to put into a large amount of efforts to monitor relevant Web, and obtain the information that needs fast from the Web page, miss information easily, the untimely problem of operation feedback appears easily.
The information disclosed in this background section is only for enhancement of understanding of the general background of the invention and should not be taken as an acknowledgement or any form of suggestion that this information forms the prior art already known to a person skilled in the art.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a webpage screenshot method, a webpage screenshot device, a webpage screenshot computer device and a webpage screenshot computer-readable storage medium.
In order to achieve the purpose, the invention adopts the following technical scheme:
in a first aspect, the present invention provides a method for screenshot in a web page, which includes the following steps:
acquiring a screenshot request, and verifying the screenshot request;
if the screenshot request passes the verification, starting a new browsing window as a current browsing window through a pre-started browser kernel;
opening a corresponding target display webpage in a current browsing window according to the screenshot request and carrying out screenshot on the target display webpage to obtain a target screenshot file;
and storing the target screenshot file into a preset database, and closing the current browsing window.
In a second aspect, the present invention provides a web page screenshot device, which includes:
the acquisition and verification unit is used for acquiring a screenshot request and verifying the screenshot request;
the pre-starting unit is used for starting a new browsing window as a current browsing window through a pre-started browser kernel if the screenshot request passes the verification;
the automatic screenshot unit is used for opening a corresponding target display webpage in a current browsing window according to the screenshot request and screenshot the target display webpage to obtain a target screenshot file;
and the file storage unit is used for storing the target screenshot file into a preset database and closing the current browsing window.
In a third aspect, the present invention provides a computer device, where the computer device includes a memory and a processor, where the memory stores a computer program, and the processor implements the above-mentioned web screenshot method when executing the computer program.
In a fourth aspect, the present invention provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program can implement the method for screenshot in a web page as described above.
Compared with the prior art, the invention has the beneficial effects that: according to the method, the required data for displaying different display web pages, such as the content or change of different operation data of a display enterprise, are preset, and the screenshot request is monitored, so that the interface screenshot of the display web page is automatically acquired, manual judgment is not needed in the whole process, the labor expenditure of the enterprise is greatly reduced, and the accuracy of display information is improved; meanwhile, the browser kernel is started in advance, when a screenshot request is received, only a new browsing window needs to be opened for the service, the method is convenient and fast, the waiting time of a requester is reduced, and therefore the use experience is improved.
The invention is further described below with reference to the accompanying drawings and specific embodiments.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic view of an application scenario of a web page screenshot method provided in an embodiment of the present invention;
fig. 2 is a schematic flowchart of a web page screenshot method provided in an embodiment of the present invention;
FIG. 3 is a schematic view of a sub-flow of a web page screenshot method provided in an embodiment of the present invention;
FIG. 4 is a schematic view of a sub-flow of a web page screenshot method provided in an embodiment of the present invention;
FIG. 5 is a schematic partial flowchart of a method for screenshot in a web page according to an embodiment of the present invention;
FIG. 6 is a schematic view of a sub-flow of a web page screenshot method provided in an embodiment of the present invention;
FIG. 7 is a schematic view of a sub-flow of a method for screenshot in a web page according to an embodiment of the present invention;
fig. 8 is a schematic flowchart of a web page screenshot method according to another embodiment of the present invention;
FIG. 9 is a schematic block diagram of a web page screenshot apparatus provided in an embodiment of the present invention;
fig. 10 is a schematic block diagram of a verification obtaining unit of the web page screenshot device according to the embodiment of the present invention;
fig. 11 is a schematic block diagram of a verification obtaining unit of the web page screenshot device according to another embodiment of the present invention;
FIG. 12 is a schematic block diagram of an automatic screenshot unit of a web screenshot device provided in an embodiment of the present invention;
fig. 13 is a schematic block diagram of a loading login module of the web page screenshot device according to the embodiment of the present invention;
FIG. 14 is a schematic block diagram of a web page screenshot apparatus according to another embodiment of the present invention;
FIG. 15 is a schematic block diagram of a computer device provided by an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
Referring to fig. 1 and fig. 2, fig. 1 is a schematic view of an application scenario of a web page screenshot method according to an embodiment of the present invention. Fig. 2 is a schematic flowchart of a method for screenshot in a web page according to an embodiment of the present invention. The webpage screenshot method is applied to a server, the server and a terminal perform data interaction, the server obtains a screenshot request, automatically opens a target display webpage according to the screenshot request, captures a rendered target display webpage display interface after rendering according to preset rendering parameters, outputs a target screenshot file with a specific format, and stores and/or sends the target screenshot file back to the terminal, so that a requester can visually check the target screenshot file, manual judgment is not needed in the whole process, and automatic visual display of enterprise operation data is achieved.
Fig. 2 is a schematic flowchart of a method for screenshot in a web page according to an embodiment of the present invention. As shown in fig. 2, the method includes the following steps S110 to S140.
And S110, acquiring a screenshot request and verifying the screenshot request.
In this embodiment, the method is started according to the screenshot request, after the server side obtains the screenshot request, validity verification is performed based on the obtained screenshot request, and after the verification is passed, subsequent webpage screenshot is performed according to the screenshot request.
The screenshot request comprises information such as a target display webpage address, display webpage login information, a display webpage screenshot range, display webpage display parameters and a screenshot output format. Specifically, the screenshot request is verified, so that the condition that information such as a target display webpage address and display webpage login information carried in the screenshot request is not in accordance with requirements can be avoided, and finally, contents irrelevant to enterprise operation are intercepted, and server resources and time of relevant personnel are wasted. Specifically, the verification process at least comprises security verification of whether the target display webpage address exists in a preset white list or not, whether the display webpage login information has the right to login the target display webpage or not and the like.
Referring to fig. 3, in an embodiment, step S110 includes steps S111 and S112.
And S111, monitoring a preset trigger event.
And S112, if the preset trigger event is monitored to be triggered, acquiring a screenshot request associated with the trigger event in advance.
In this embodiment, the server may also monitor a preset trigger event, and when the preset trigger event is triggered, automatically obtain a screenshot request associated with the trigger event in advance, open a corresponding display webpage according to the screenshot request, and capture a screenshot of related content. The trigger events of the scheme comprise timing trigger events and conditional trigger events. The timed trigger event automatically triggers a preset screenshot request when the current time reaches the trigger time point by setting a trigger time point, for example, setting 9 pm night as the trigger time point, so that the timed trigger event can be automatically triggered at 9 pm every day, the server can acquire the corresponding screenshot request, and the operating data display content of an enterprise can be regularly acquired by setting the timed trigger event, thereby avoiding omission caused by artificial monitoring; the conditional trigger event can be automatically triggered when the operation data meets the trigger condition, for example, the trigger condition can be preset to be that the single-month performance of an enterprise exceeds a specified amount, after the trigger condition is monitored to be met, the server acquires a corresponding screenshot request, further acquires and stores a corresponding webpage screenshot according to the screenshot request, and by setting the conditional trigger event, when the related operation data of the enterprise changes, the operation data can be timely stored, so that the subsequent related personnel can call the operation data, and omission is avoided.
The screenshot requests of the timing trigger event and the conditional trigger event are set correspondingly at the beginning according to different trigger events, and are called directly when the events are triggered, so that the method is convenient and fast.
Referring to FIG. 4, in another embodiment, step S110 includes steps S113-S115.
S113, receiving a data request from a requester, and analyzing the data request to obtain a request type of the data request.
And S114, judging whether the request type of the data request is consistent with the request type of the screenshot request.
And S115, if the request type of the data request is consistent with the request type of the screenshot request, taking the data request from the requester as the screenshot request.
And S116, if the request type of the data request is not consistent with the request type of the screenshot request, taking the data request from the requester as a common request.
In this embodiment, according to different service types, a requesting party may send different types of data requests to a server through a terminal, each data request includes respective request type information, and a corresponding screenshot request may be found from all data requests based on the request type information. The server analyzes the received data request to obtain the request type of the data request, and further judges whether the request type of the data request is consistent with the request type of the screenshot request, if so, the data request is taken as the screenshot request, and a subsequent process is carried out; if the data request is inconsistent with the webpage screenshot request, the data request does not belong to the screenshot request, the webpage screenshot is not triggered, and the data request from the requester is treated as a common request. By comparing the request type of the data request with the request type of the screenshot request, the screenshot request can be quickly screened out from all the data requests from the terminal, the screenshot request obtaining efficiency is improved, and the webpage screenshot efficiency is improved.
Specifically, when sending the screenshot request, the relevant manager can freely edit the screenshot request on the terminal according to actual needs and then send the screenshot request to the server, the screenshot request is high in editability, and the webpage screenshot freedom degree is high.
In another embodiment, it should be appreciated that the server may include both the means for obtaining the screenshot request by listening for the trigger event and the means for determining the screenshot request based on the request type of the data request and obtaining both the screenshot request.
And S120, if the screenshot request passes the verification, starting a new browsing window as the current browsing window through a pre-started browser kernel.
In this embodiment, the screenshot request includes a target display webpage address, display webpage login information, a display webpage screenshot range, display webpage display parameters, and a screenshot output format. The screenshot request is verified, so that the condition that information such as the target display webpage address and the display webpage login information carried in the screenshot request does not meet the requirements can be avoided, the content irrelevant to enterprise operation is finally intercepted, and server resources and time of relevant personnel are wasted. According to the scheme, after the verification is passed, a new browsing window is directly opened through a pre-started browser kernel to serve as a current browsing window, and the current browsing window is used for loading a target display webpage to perform further screenshot. The browser kernel is started in advance, so that the browser kernel does not need to be started every time a screenshot request is received, and the waiting time of a requester can be reduced.
Referring to FIG. 5, in another embodiment, before step S120, steps S120a-S120d are included.
S120, 120a, starting the browser kernel in advance.
S120b, the handle of the browser kernel is associated to a global variable.
S120c, judging whether the browser kernel is in a closed state according to the global variable.
And S120d, if the browser kernel is in a closed state, restarting the browser kernel and re-associating the browser kernel to the global variable.
In the embodiment, the browser kernel is started in advance, the browser kernel handle is associated to the global variable, whether the browser kernel is in a closed state or not is judged according to the global variable, when the browser kernel is crashed/closed, the browser kernel is immediately restarted and is associated to the global variable again, the browser kernel is ensured to be always in an open state, direct calling can be carried out according to a screenshot request, the browser kernel does not need to be waited to be opened in the whole process, and the method is more efficient.
S130, opening a corresponding target display webpage in the current browsing window according to the screenshot request and carrying out screenshot on the target display webpage to obtain a target screenshot file.
In this embodiment, different display web pages have different display contents, different display effect requirements, different ranges to be intercepted, and different format requirements of the finally output target screenshot file, and when actual interception is performed, interception needs to be performed according to the pertinence of information included in the screenshot request, so that the accuracy of the final screenshot content is improved, and the operation data and changes of the enterprise are better displayed to managers. The screenshot request comprises information such as a target display webpage address, display webpage login information, a display webpage screenshot range, display webpage display parameters and a screenshot output format. Based on information such as the address of the target display webpage, the login information of the display webpage, the screenshot range of the display webpage, the display parameters of the display webpage, the output format of the screenshot and the like, the target display webpage can be loaded and opened in the current browsing window, and the screenshot can be further captured on the display interface of the target display webpage.
Referring to FIG. 6, in one embodiment, step S130 includes steps S131-S134.
S131, injecting the target display webpage address into a current browsing window to load a target display webpage, and logging in the target display webpage according to the display webpage login information after the target display webpage is loaded.
In this embodiment, the address of the target display webpage is automatically input into the opened current browsing window to automatically load the target display webpage, and after the target display webpage is normally opened, the display webpage login information is input into the login frame of the current target display webpage to automatically log in, so that non-enterprise personnel can be prevented from directly acquiring enterprise data, and the data security is improved. In another embodiment, the display webpage login information can also be an electronic key, and the target display webpage is directly opened and logged in by checking the login authority of the electronic key if the display webpage has the login authority.
However, when a web page is loaded, the condition that the memory of the browser overflows due to abnormal web page codes to cause browser crash easily occurs, and the target display web page at this time cannot be loaded and opened normally. Thus, referring to FIG. 7, in one embodiment, step S131 includes steps S1311-S1316.
S1311, whether loading of the target display webpage is completed is judged.
S1312, if the target display webpage is not loaded completely, obtaining the loading time of the current loading of the target display webpage.
S1313, judging whether the loading time exceeds a loading time threshold.
And S1314, if the loading time exceeds the loading time threshold, repeatedly loading the target display webpage within the preset abnormal polling time.
S1315, if the target display webpage is loaded within the preset abnormal polling time, the step of logging in the target display webpage according to the display webpage login information after the target display webpage is loaded is executed.
S1316, if the target display webpage is not loaded in the preset abnormal polling time, generating an error prompt message.
S1317, if the loading time does not exceed the loading time threshold, continuing loading the target display webpage.
In this embodiment, in the process of loading and opening the target display webpage, the target display webpage can be loaded quickly under normal conditions, but the target display webpage is loaded too slowly or cannot be loaded, and webpage screenshot cannot be completed due to abnormal target display webpage loading, so that accurate judgment of a requester on the enterprise operation condition is influenced. According to the scheme, whether the target display webpage is abnormally loaded or not is determined by obtaining the loading time of the current loading of the target display webpage and judging whether the loading time exceeds a loading time threshold or not, when the target display webpage is loaded too slowly or the target display webpage cannot be opened due to temporary network abnormality, and the loading time of the target display webpage exceeds a preset loading time threshold, the target display webpage is tried to be opened for multiple times within preset abnormal polling time through a polling mechanism until the target webpage is opened by polling, the polling is finished, and the target display webpage is logged in according to the display webpage login information after the target display webpage is loaded; when the abnormal polling time is over, the target display webpage is not loaded completely, error prompt information is generated, and the error prompt information can be stored or directly sent back to a request party; and when the loading time does not exceed the loading time threshold, continuing loading the target display webpage until the loading time is exhausted or the target display webpage completes normal loading within the loading time threshold. The loading time threshold is set to trigger an abnormal polling mechanism, and the target display webpage is continuously loaded for multiple times within the abnormal polling time, so that the loading success rate of the target display webpage is improved.
S132, rendering the display interface of the target display webpage according to the display webpage display parameters to obtain the rendered display interface.
In this embodiment, the display modes of different display webpages are different, some display webpages need to be displayed in dark colors, some display webpages need to be displayed in bright colors, and the target display webpages can be rendered into a required display form according to requirements through display webpage display parameters, so that the display method has customization.
And S133, intercepting the rendered display interface according to the display webpage screenshot range to obtain an initial screenshot.
In this embodiment, the display layouts of the display webpages of different business data are different, the range to be intercepted is different, the required display content can be quickly intercepted from the display interface of the target display webpage through the display webpage screenshot range, and an initial screenshot is obtained.
And S134, carrying out format conversion on the initial screenshot according to the screenshot output format to obtain a target screenshot file in a corresponding format.
In this embodiment, the web page screenshot is performed based on the screenshot request, the screenshot request includes a definition of a screenshot output format, and the format conversion is performed on the initial screenshot based on the screenshot output format to obtain a target screenshot file meeting the requirements.
And S140, storing the target screenshot file into a preset database, and closing the current browsing window.
In this embodiment, after the target screenshot file is intercepted, the server stores the target screenshot file in a preset database, and closes a current browsing window, and in addition, the server can also return the target screenshot file to the requester in a binary stream, and the requester can directly look up the corresponding target screenshot file through the terminal, so that the specific situation or change of corresponding operation data of an enterprise can be quickly and accurately known, wherein the binary stream can realize stable transmission of a large file.
According to the webpage screenshot method, the screenshot request is monitored, so that the interface screenshot of the displayed webpage of the corresponding operation data is automatically acquired, manual judgment is not needed in the whole process, the labor expenditure of an enterprise is greatly reduced, and the accuracy of the displayed information is improved; meanwhile, the format of the screenshot file can be output in a user-defined mode, and a related display file is generated based on the screenshot file and can be called and checked by related managers subsequently; the browser kernel is started in advance, when a screenshot request is received, only a new browsing window needs to be opened for the service, convenience and rapidness are realized, the waiting time of a requester is reduced, and the use experience is improved; and opening the target display webpage for multiple times through a polling mechanism, and quickly feeding back when the target display webpage cannot be opened, so that the problem can be quickly found out and solved.
Fig. 8 is a flowchart illustrating a web page screenshot method according to another embodiment of the present invention. As shown in fig. 8, a method for screenshot in this embodiment includes steps S210-S250. Steps S220 to S250 are similar to steps S110 to S140 in the above embodiments, and are not described herein again. The added step S210 in the present embodiment is explained in detail below.
S210, creating a display webpage, associating different types of preset data with the corresponding display webpage in advance, and arranging a plurality of display modules on a display interface of the display webpage to display different characteristics of the preset data.
The enterprise operation activities at every moment generate a large amount of operation data which are closely related to the life activities of the enterprise, and enterprise related management personnel can know the operation state and the development trend of the enterprise at any time through different operation data so as to make related decisions. The operation data that different enterprises need to monitor or pay attention to is different, and in the case of insurance companies, the operation data of the insurance companies includes market size data, new customer volume data, employee performance achievement rate data, loss rate data, customer figure data and work team data, and further includes more detailed data under each operation data, for example, the work team data includes data of worker's position income, monthly performance and team performance. The change of the different types of operation data represents the change of the operation condition of the enterprise in a specific time period, for example, if the data of the newly added customer volume is reduced, the success rate of business development of the enterprise is reduced, and the product or market strategy needs to be modified to ensure that the newly added customer volume is kept at a stable level.
In this embodiment, different types of preset data are pre-associated with corresponding display webpages, the preset data are operation data of an enterprise in this embodiment, and a display interface of the display webpage is pre-provided with a plurality of display modules for displaying different display modes, so as to visually display different characteristics of the pre-associated preset data. Specifically, the characteristics of the preset data at least include data content, data change trend and data comparison result. The display module is used for displaying data content, data change trend and data comparison results. The data content display is to directly display the corresponding operation data in a data text form so that related managers can directly obtain the corresponding operation data content; data change trend display, which is to visually display the change of the operation data in a certain time period in the form of a graph, a table or a coordinate system, for example, a pie chart, a coordinate system, a histogram and the like can be used for visual display; the data comparison result comprises a data same-ratio comparison result, a data ring ratio comparison result and the like, the data comparison result display is used for comparing the same type of operation data in different time or different space, and the comparison result is displayed graphically or in a text mode.
Fig. 9 is a schematic block diagram of a web page screenshot device provided in an embodiment of the present invention. As shown in fig. 9, the present invention further provides a web page screenshot device corresponding to the above web page screenshot method. The webpage screenshot device comprises a unit for executing the webpage screenshot method, and can be configured in a desktop computer, a tablet computer, a portable computer and other terminals. Specifically, referring to fig. 9, the apparatus for capturing a webpage includes an acquisition checking unit 10, a pre-starting unit 20, an automatic screenshot unit 30, and a file saving unit 40.
And the acquisition and verification unit 10 is used for acquiring the screenshot request and verifying the screenshot request.
In this embodiment, the method is started according to the screenshot request, after the server side obtains the screenshot request, validity verification is performed based on the obtained screenshot request, and after the verification is passed, subsequent webpage screenshot is performed according to the screenshot request.
The screenshot request comprises information such as a target display webpage address, display webpage login information, a display webpage screenshot range, display webpage display parameters and a screenshot output format. Specifically, the screenshot request is verified, so that the condition that information such as a target display webpage address and display webpage login information carried in the screenshot request is not in accordance with requirements can be avoided, and finally, contents irrelevant to enterprise operation are intercepted, and server resources and time of relevant personnel are wasted. Specifically, the verification process at least comprises security verification of whether the target display webpage address exists in a preset white list or not, whether the display webpage login information has the right to login the target display webpage or not and the like.
Referring to fig. 10, in an embodiment, the acquisition check unit 10 includes an event listening module 11 and a request acquisition module 12.
And the event monitoring module 11 is configured to monitor a preset trigger event.
The request obtaining module 12 is configured to obtain a screenshot request pre-associated with a preset trigger event when it is monitored that the preset trigger event is triggered.
In this embodiment, the server may also monitor a preset trigger event, and when the preset trigger event is triggered, automatically obtain a screenshot request associated with the trigger event in advance, open a corresponding display webpage according to the screenshot request, and capture a screenshot of related content. The trigger events of the scheme comprise timing trigger events and conditional trigger events. The timed trigger event automatically triggers a preset screenshot request when the current time reaches the trigger time point by setting a trigger time point, for example, setting 9 pm night as the trigger time point, so that the timed trigger event can be automatically triggered at 9 pm every day, the server can acquire the corresponding screenshot request, and the operating data display content of an enterprise can be regularly acquired by setting the timed trigger event, thereby avoiding omission caused by artificial monitoring; the conditional trigger event can be automatically triggered when the operation data meets the trigger condition, for example, the trigger condition can be preset to be that the single-month performance of an enterprise exceeds a specified amount, after the trigger condition is monitored to be met, the server acquires a corresponding screenshot request, further acquires and stores a corresponding webpage screenshot according to the screenshot request, and by setting the conditional trigger event, when the related operation data of the enterprise changes, the operation data can be timely stored, so that the subsequent related personnel can call the operation data, and omission is avoided.
The screenshot requests of the timing trigger event and the conditional trigger event are set correspondingly at the beginning according to different trigger events, and are called directly when the events are triggered, so that the method is convenient and fast.
Referring to fig. 11, in one embodiment, the acquisition check unit 10 includes a request parsing module 13, a type judgment module 14, and a request determination module 15.
The request parsing module 13 is configured to receive a data request from a requester, and parse the data request to obtain a request type of the data request.
And the type judging module 14 is configured to judge whether a request type of the data request is consistent with a request type of the screenshot request.
And the request determining module 15 is configured to, when the request type of the data request is consistent with the request type to which the screenshot request belongs, use the data request from the requesting party as the screenshot request.
In this embodiment, according to different service types, a requesting party may send different types of data requests to a server through a terminal, each data request includes respective request type information, and a corresponding screenshot request may be found from all data requests based on the request type information. The server analyzes the received data request to obtain the request type of the data request, and further judges whether the request type of the data request is consistent with the request type of the screenshot request, if so, the data request is taken as the screenshot request, and a subsequent process is carried out; if the data request is inconsistent with the webpage screenshot request, the data request does not belong to the screenshot request, the webpage screenshot is not triggered, and the data request from the requester is treated as a common request. By comparing the request type of the data request with the request type of the screenshot request, the screenshot request can be quickly screened out from all the data requests from the terminal, the screenshot request obtaining efficiency is improved, and the webpage screenshot efficiency is improved.
Specifically, when sending the screenshot request, the relevant manager can freely edit the screenshot request on the terminal according to actual needs and then send the screenshot request to the server, the screenshot request is high in editability, and the webpage screenshot freedom degree is high.
In another embodiment, it should be appreciated that the server may include both the means for obtaining the screenshot request by listening for the trigger event and the means for determining the screenshot request based on the request type of the data request and obtaining both the screenshot request.
And the pre-starting unit 20 is configured to, if the screenshot request is verified, start a new browsing window as the current browsing window through a pre-started browser kernel.
In this embodiment, the screenshot request includes a target display webpage address, display webpage login information, a display webpage screenshot range, display webpage display parameters, and a screenshot output format. The screenshot request is verified, so that the condition that information such as the target display webpage address and the display webpage login information carried in the screenshot request does not meet the requirements can be avoided, the content irrelevant to enterprise operation is finally intercepted, and server resources and time of relevant personnel are wasted. According to the scheme, after the verification is passed, a new browsing window is directly opened through a pre-started browser kernel to serve as a current browsing window, and the current browsing window is used for loading a target display webpage to perform further screenshot. The browser kernel is started in advance, so that the browser kernel does not need to be started every time a screenshot request is received, and the waiting time of a requester can be reduced.
And the automatic screenshot unit 30 is configured to open a corresponding target display webpage in the current browsing window according to the screenshot request and perform screenshot on the target display webpage to obtain a target screenshot file.
In this embodiment, different display web pages have different display contents, different display effect requirements, different ranges to be intercepted, and different format requirements of the finally output target screenshot file, and when actual interception is performed, interception needs to be performed according to the pertinence of information included in the screenshot request, so that the accuracy of the final screenshot content is improved, and the operation data and changes of the enterprise are better displayed to managers. The screenshot request comprises information such as a target display webpage address, display webpage login information, a display webpage screenshot range, display webpage display parameters and a screenshot output format. Based on information such as the address of the target display webpage, the login information of the display webpage, the screenshot range of the display webpage, the display parameters of the display webpage, the output format of the screenshot and the like, the target display webpage can be loaded and opened in the current browsing window, and the screenshot can be further captured on the display interface of the target display webpage.
Referring to FIG. 12, in one embodiment, the auto-capture unit 30 includes a load log-in module 31, a display rendering module 32, an interface intercept module 33, and a format conversion module 34.
And the loading and logging-in module 31 is configured to inject the target display webpage address into the current browsing window to load the target display webpage, and log in the target display webpage according to the display webpage logging-in information after the target display webpage is loaded.
In this embodiment, the address of the target display webpage is automatically input into the opened current browsing window to automatically load the target display webpage, and after the target display webpage is normally opened, the display webpage login information is input into the login frame of the current target display webpage to automatically log in, so that non-enterprise personnel can be prevented from directly acquiring enterprise data, and the data security is improved. In another embodiment, the display webpage login information can also be an electronic key, and the target display webpage is directly opened and logged in by checking the login authority of the electronic key if the display webpage has the login authority.
However, when a web page is loaded, the condition that the memory of the browser overflows due to abnormal web page codes to cause browser crash easily occurs, and the target display web page at this time cannot be loaded and opened normally. Referring to fig. 13, in an embodiment, the load log-in module 31 includes a load judgment sub-module 311, a time acquisition sub-module 312, a threshold judgment sub-module 313, a polling load sub-module 314, a web log-in sub-module 315, and an error generation sub-module 316.
The loading judgment sub-module 311 is configured to judge whether loading of the target display webpage is completed;
the time obtaining sub-module 312 is configured to, when the loading of the target display webpage is not completed, obtain the loading time of the current loading of the target display webpage.
And the threshold judgment submodule 313 is configured to judge whether the loading time exceeds a loading time threshold.
And the polling loading submodule 314 is configured to repeatedly load the target display webpage within a preset abnormal polling time when the loading time exceeds the loading time threshold.
The web page login sub-module 315 is configured to, when the target display web page is loaded within the preset abnormal polling time, log in the target display web page according to the display web page login information after the target display web page is loaded.
And the error generation submodule 316 is configured to generate an error prompt message when the target display webpage is not loaded within the preset abnormal polling time.
In this embodiment, in the process of loading and opening the target display webpage, the target display webpage can be loaded quickly under normal conditions, but the target display webpage is loaded too slowly or cannot be loaded, and webpage screenshot cannot be completed due to abnormal target display webpage loading, so that accurate judgment of a requester on the enterprise operation condition is influenced. According to the scheme, whether the target display webpage is abnormally loaded or not is determined by obtaining the loading time of the current loading of the target display webpage and judging whether the loading time exceeds a loading time threshold or not, when the target display webpage is loaded too slowly or the target display webpage cannot be opened due to temporary network abnormality, and the loading time of the target display webpage exceeds a preset loading time threshold, the target display webpage is tried to be opened for multiple times within preset abnormal polling time through a polling mechanism until the target webpage is opened by polling, the polling is finished, and the target display webpage is logged in according to the display webpage login information after the target display webpage is loaded; when the abnormal polling time is over, the target display webpage is not loaded completely, error prompt information is generated, and the error prompt information can be stored or directly sent back to a request party; and when the loading time does not exceed the loading time threshold, continuing loading the target display webpage until the loading time is exhausted or the target display webpage completes normal loading within the loading time threshold. The loading time threshold is set to trigger an abnormal polling mechanism, and the target display webpage is continuously loaded for multiple times within the abnormal polling time, so that the loading success rate of the target display webpage is improved.
And the display rendering module 32 is configured to render the display interface of the target display webpage according to the display webpage display parameter to obtain a rendered display interface.
In this embodiment, the display modes of different display webpages are different, some display webpages need to be displayed in dark colors, some display webpages need to be displayed in bright colors, and the target display webpages can be rendered into a required display form according to requirements through display webpage display parameters, so that the display method has customization.
And the interface intercepting module 33 is configured to intercept the rendered display interface according to the display webpage screenshot range to obtain an initial screenshot.
In this embodiment, the display layouts of the display webpages of different business data are different, the range to be intercepted is different, the required display content can be quickly intercepted from the display interface of the target display webpage through the display webpage screenshot range, and an initial screenshot is obtained.
And the format conversion module 34 is configured to perform format conversion on the initial screenshot according to the screenshot output format to obtain a target screenshot file in a corresponding format.
In this embodiment, the web page screenshot is performed based on the screenshot request, the screenshot request includes a definition of a screenshot output format, and the format conversion is performed on the initial screenshot based on the screenshot output format to obtain a target screenshot file meeting the requirements.
And the file saving unit 40 is configured to save the target screenshot file into a preset database, and close the current browsing window.
In this embodiment, after the target screenshot file is intercepted, the server stores the target screenshot file in a preset database, and closes a current browsing window, and in addition, the server can also return the target screenshot file to the requester in a binary stream, and the requester can directly look up the corresponding target screenshot file through the terminal, so that the specific situation or change of corresponding operation data of an enterprise can be quickly and accurately known, wherein the binary stream can realize stable transmission of a large file.
According to the webpage screenshot device, the screenshot request is monitored, so that the interface screenshot of the displayed webpage corresponding to the operation data is automatically acquired, manual judgment is not needed in the whole process, the labor expenditure of an enterprise is greatly reduced, and the accuracy of displayed information is improved; meanwhile, the format of the screenshot file can be output in a user-defined mode, and a related display file is generated based on the screenshot file and can be called and checked by related managers subsequently; the browser kernel is started in advance, when a screenshot request is received, only a new browsing window needs to be opened for the service, convenience and rapidness are realized, the waiting time of a requester is reduced, and the use experience is improved; and opening the target display webpage for multiple times through a polling mechanism, and quickly feeding back when the target display webpage cannot be opened, so that the problem can be quickly found out and solved.
Fig. 14 is a schematic block diagram of a web page screenshot device according to another embodiment of the present invention. As shown in fig. 14, a screenshot device of this embodiment is added with a presentation creating unit 50 and a start holding unit 60 on the basis of the foregoing embodiment.
The display creating unit 50 is configured to create a display webpage, pre-associate different types of preset data with the corresponding display webpage, and set a plurality of display modules on a display interface of the display webpage to display different characteristics of the preset data.
In the embodiment, the operation activities of the enterprise at every moment generate a large amount of operation data, the data are closely related to the life activities of the enterprise, and enterprise-related managers can know the operation state and the development trend of the enterprise at any time through different operation data so as to make relevant decisions. The operation data that different enterprises need to monitor or pay attention to is different, and in the case of insurance companies, the operation data of the insurance companies includes market size data, new customer volume data, employee performance achievement rate data, loss rate data, customer figure data and work team data, and further includes more detailed data under each operation data, for example, the work team data includes data of worker's position income, monthly performance and team performance. The change of the different types of operation data represents the change of the operation condition of the enterprise in a specific time period, for example, if the data of the newly added customer volume is reduced, the success rate of business development of the enterprise is reduced, and the product or market strategy needs to be modified to ensure that the newly added customer volume is kept at a stable level.
In this embodiment, different types of preset data are pre-associated with corresponding display webpages, the preset data are operation data of an enterprise in this embodiment, and a display interface of the display webpage is pre-provided with a plurality of display modules for displaying different display modes, so as to visually display different characteristics of the pre-associated preset data. Specifically, the characteristics of the preset data at least include data content, data change trend and data comparison result. The display module is used for displaying data content, data change trend and data comparison results. The data content display is to directly display the corresponding operation data in a data text form so that related managers can directly obtain the corresponding operation data content; data change trend display, which is to visually display the change of the operation data in a certain time period in the form of a graph, a table or a coordinate system, for example, a pie chart, a coordinate system, a histogram and the like can be used for visual display; the data comparison result comprises a data same-ratio comparison result, a data ring ratio comparison result and the like, the data comparison result display is used for comparing the same type of operation data in different time or different space, and the comparison result is displayed graphically or in a text mode.
The start holding unit 60 is configured to start a browser kernel in advance, associate a handle of the browser kernel to a global variable, determine whether the browser kernel is in a closed state according to the global variable, and restart the browser kernel and re-associate the browser kernel to the global variable when the browser kernel is in the closed state.
In the embodiment, the browser kernel is started in advance, the browser kernel handle is associated to the global variable, whether the browser kernel is in a closed state or not is judged according to the global variable, when the browser kernel is crashed/closed, the browser kernel is immediately restarted and is associated to the global variable again, the browser kernel is ensured to be always in an open state, direct calling can be carried out according to a screenshot request, the browser kernel does not need to be waited to be opened in the whole process, and the method is more efficient.
It should be noted that, as can be clearly understood by those skilled in the art, the specific implementation process of the above-mentioned web page screenshot device and each unit may refer to the corresponding description in the foregoing method embodiment, and for convenience and brevity of description, no further description is provided here.
Referring to fig. 15, fig. 15 is a schematic block diagram of a computer device according to an embodiment of the present application. The computer device 500 may be a terminal or a server, where the terminal may be an electronic device with a communication function, such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a personal digital assistant, and a wearable device. The server may be an independent server or a server cluster composed of a plurality of servers.
Referring to fig. 15, the computer device 500 includes a processor 502, memory, and a network interface 505 connected by a system bus 501, where the memory may include a non-volatile storage medium 503 and an internal memory 504.
The non-volatile storage medium 503 may store an operating system 5031 and a computer program 5032. The computer programs 5032 include program instructions that, when executed, cause the processor 502 to perform a method of screenshot.
The processor 502 is used to provide computing and control capabilities to support the operation of the overall computer device 500.
The internal memory 504 provides an environment for the operation of the computer program 5032 in the non-volatile storage medium 503, and when the computer program 5032 is executed by the processor 502, the processor 502 can execute a web screenshot method.
The network interface 505 is used for network communication with other devices. Those skilled in the art will appreciate that the architecture shown in fig. 15 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing device 500 to which the disclosed aspects apply, as a particular computing device 500 may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
Wherein the processor 502 is adapted to run a computer program 5032 stored in the memory.
It should be understood that in the embodiment of the present Application, the Processor 502 may be a Central Processing Unit (CPU), and the Processor 502 may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It will be understood by those skilled in the art that all or part of the flow of the method implementing the above embodiments may be implemented by a computer program instructing associated hardware. The computer program includes program instructions, and the computer program may be stored in a storage medium, which is a computer-readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the flow steps of the embodiments of the method described above.
Accordingly, the present invention also provides a computer-readable storage medium.
The storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk, which can store various computer readable storage media.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative. For example, the division of each unit is only one logic function division, and there may be another division manner in actual implementation. For example, various elements or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs. The units in the device of the embodiment of the invention can be merged, divided and deleted according to actual needs. In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a terminal, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A webpage screenshot method is characterized by comprising the following steps:
acquiring a screenshot request, and verifying the screenshot request;
if the screenshot request passes the verification, starting a new browsing window as a current browsing window through a pre-started browser kernel;
opening a corresponding target display webpage in a current browsing window according to the screenshot request and carrying out screenshot on the target display webpage to obtain a target screenshot file;
and storing the target screenshot file into a preset database, and closing the current browsing window.
2. The method for web page screenshot according to claim 1, wherein the step of obtaining the screenshot request is preceded by:
creating a display webpage, pre-associating different types of preset data to the corresponding display webpage, and arranging a plurality of display modules on a display interface of the display webpage to display different characteristics of the preset data.
3. The method for web page screenshot according to claim 1, wherein the step of obtaining the screenshot request includes:
monitoring a preset trigger event;
and if the preset trigger event is monitored to be triggered, acquiring a screenshot request associated with the trigger event in advance.
4. The method for web page screenshot according to claim 1, wherein the step of obtaining the screenshot request includes:
receiving a data request from a requester, and analyzing the data request to acquire a request type of the data request;
judging whether the request type of the data request is consistent with the request type of the screenshot request;
and if the request type of the data request is consistent with the request type of the screenshot request, taking the data request from the requester as the screenshot request.
5. The method for screenshot in a web page according to claim 1, wherein the screenshot request includes a target show web page address, show web page login information, show web page screenshot range, show web page display parameters, and screenshot output format;
the step of opening a corresponding target display webpage in a current browsing window according to the screenshot request and carrying out screenshot on the target display webpage to obtain a target screenshot file comprises the following steps:
injecting the target display webpage address into a current browsing window to load a target display webpage, and logging in the target display webpage according to the display webpage login information after the target display webpage is loaded;
rendering the display interface of the target display webpage according to the display webpage display parameters to obtain a rendered display interface;
intercepting the rendered display interface according to the display webpage screenshot range to obtain an initial screenshot;
and carrying out format conversion on the initial screenshot according to the screenshot output format to obtain a target screenshot file in a corresponding format.
6. The method for capturing webpage screen shot according to claim 5, wherein before the step of opening a new browse window as the current browse window through a pre-started browser kernel, the method comprises:
starting a browser kernel in advance;
associating the handle of the browser kernel to a global variable;
judging whether the browser kernel is in a closed state or not according to the global variable;
and if the browser kernel is in a closed state, restarting the browser kernel and re-associating the browser kernel to the global variable.
7. The method for capturing webpage of claim 6, wherein the step of injecting the address of the target webpage into the current browsing window to load the target webpage comprises:
judging whether the target display webpage is loaded completely;
if the target display webpage is not loaded, acquiring the loading time of the current loading of the target display webpage;
judging whether the loading time exceeds a loading time threshold value;
if the loading time exceeds the loading time threshold, repeatedly loading the target display webpage within the preset abnormal polling time;
if the target display webpage is loaded within the preset abnormal polling time, executing the step of logging in the target display webpage according to the display webpage login information after the target display webpage is loaded;
and if the target display webpage is not loaded within the preset abnormal polling time, generating error prompt information.
8. A web page screen capture apparatus, comprising:
the acquisition and verification unit is used for acquiring a screenshot request and verifying the screenshot request;
the pre-starting unit is used for starting a new browsing window as a current browsing window through a pre-started browser kernel if the screenshot request passes the verification;
the automatic screenshot unit is used for opening a corresponding target display webpage in a current browsing window according to the screenshot request and screenshot the target display webpage to obtain a target screenshot file;
and the file storage unit is used for storing the target screenshot file into a preset database and closing the current browsing window.
9. A computer device comprising a memory having stored thereon a computer program and a processor that, when executed, implements the method of web page screenshot of any of claims 1-7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, implements the method for web page screenshot according to any one of claims 1 to 7.
CN202011285898.3A 2020-11-17 2020-11-17 Webpage screenshot method and device, computer equipment and computer-readable storage medium Pending CN112380478A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011285898.3A CN112380478A (en) 2020-11-17 2020-11-17 Webpage screenshot method and device, computer equipment and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011285898.3A CN112380478A (en) 2020-11-17 2020-11-17 Webpage screenshot method and device, computer equipment and computer-readable storage medium

Publications (1)

Publication Number Publication Date
CN112380478A true CN112380478A (en) 2021-02-19

Family

ID=74585716

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011285898.3A Pending CN112380478A (en) 2020-11-17 2020-11-17 Webpage screenshot method and device, computer equipment and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN112380478A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113032707A (en) * 2021-03-25 2021-06-25 成都新希望金融信息有限公司 Method and device for generating webpage screenshot and electronic equipment
CN113254817A (en) * 2021-04-24 2021-08-13 中电长城网际系统应用广东有限公司 Method for automatically logging in third-party system to obtain page screenshot

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104536729A (en) * 2014-11-28 2015-04-22 北京奇虎科技有限公司 Method and device for achieving image capture on browser page
CN106557484A (en) * 2015-09-25 2017-04-05 北京国双科技有限公司 The update method and device of webpage thermodynamic Background
CN107644018A (en) * 2016-07-20 2018-01-30 平安科技(深圳)有限公司 picture loading method and device
CN109614562A (en) * 2018-11-27 2019-04-12 平安科技(深圳)有限公司 Mail display methods, device, computer equipment and storage medium
CN109696837A (en) * 2017-10-23 2019-04-30 北新集团建材股份有限公司 A kind of plasterboard process data monitoring and recording system and its recording method
CN109885446A (en) * 2018-12-25 2019-06-14 北京互金新融科技有限公司 Determine that Website page shows the method and device of state
CN110659092A (en) * 2019-08-13 2020-01-07 平安国际智慧城市科技股份有限公司 Webpage screenshot method and device, computer equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104536729A (en) * 2014-11-28 2015-04-22 北京奇虎科技有限公司 Method and device for achieving image capture on browser page
CN106557484A (en) * 2015-09-25 2017-04-05 北京国双科技有限公司 The update method and device of webpage thermodynamic Background
CN107644018A (en) * 2016-07-20 2018-01-30 平安科技(深圳)有限公司 picture loading method and device
CN109696837A (en) * 2017-10-23 2019-04-30 北新集团建材股份有限公司 A kind of plasterboard process data monitoring and recording system and its recording method
CN109614562A (en) * 2018-11-27 2019-04-12 平安科技(深圳)有限公司 Mail display methods, device, computer equipment and storage medium
CN109885446A (en) * 2018-12-25 2019-06-14 北京互金新融科技有限公司 Determine that Website page shows the method and device of state
CN110659092A (en) * 2019-08-13 2020-01-07 平安国际智慧城市科技股份有限公司 Webpage screenshot method and device, computer equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113032707A (en) * 2021-03-25 2021-06-25 成都新希望金融信息有限公司 Method and device for generating webpage screenshot and electronic equipment
CN113032707B (en) * 2021-03-25 2023-01-31 成都新希望金融信息有限公司 Method and device for generating webpage screenshot and electronic equipment
CN113254817A (en) * 2021-04-24 2021-08-13 中电长城网际系统应用广东有限公司 Method for automatically logging in third-party system to obtain page screenshot

Similar Documents

Publication Publication Date Title
WO2018120722A1 (en) Asynchronous interface testing method, terminal, device, system, and storage medium
CN109766253B (en) Performance data sending method and device, computer equipment and storage medium
US9076072B2 (en) System and method for web page rendering test automation suite
US20210081524A1 (en) Systems and methods of establishing secure passwords using real-time dynamic feedback.
CN111193609B (en) Application abnormity feedback method and device and application abnormity monitoring system
WO2020233251A1 (en) Data management method and device
CN112380478A (en) Webpage screenshot method and device, computer equipment and computer-readable storage medium
WO2021129335A1 (en) Operation monitoring method and apparatus, operation analysis method and apparatus
CN110610376A (en) Behavior data response method and device, computer equipment and storage medium
CN110764894A (en) Timed task management method, device, equipment and storage medium
US10915510B2 (en) Method and apparatus of collecting and reporting database application incompatibilities
CN113220540A (en) Service management method, device, computer equipment and storage medium
CN112565244B (en) Active risk monitoring method, system and equipment for website projects
CN111897843A (en) Configuration method and device of data transfer strategy of Internet of things and computer equipment
CN115563156A (en) Method, device and equipment for checking stream data information and storage medium
CN115328734A (en) Cross-service log processing method and device and server
CN113395234B (en) Method and device for detecting flow hijacking of popularization information
CN114841815A (en) Transaction analysis method and device, electronic equipment and computer-readable storage medium
CN110633165B (en) Fault processing method, device, system server and computer readable storage medium
CN112069027A (en) Interface data processing method and device, electronic equipment and storage medium
WO2019100655A1 (en) Method and apparatus for constructing invoice requisition anomalies, computer device and storage medium
CN110969430A (en) Method and device for identifying suspicious user, computer equipment and storage medium
CN110569093A (en) Method for managing desktop application program and realizing plug-in based on embedded browser
CN112734360B (en) End-to-end business process management method, device, equipment and storage medium
CN114090936B (en) Method and device for acquiring cookie data from any system, analyzing and storing cookie data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination