CN110020231A - Webpage capture method and device thereof - Google Patents
Webpage capture method and device thereof Download PDFInfo
- Publication number
- CN110020231A CN110020231A CN201710610525.0A CN201710610525A CN110020231A CN 110020231 A CN110020231 A CN 110020231A CN 201710610525 A CN201710610525 A CN 201710610525A CN 110020231 A CN110020231 A CN 110020231A
- Authority
- CN
- China
- Prior art keywords
- webpage
- capture
- load
- application
- screenshot
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
- G06F16/9566—URL specific, e.g. using aliases, detecting broken or misspelled links
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Human Computer Interaction (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Disclose a kind of webpage capture method and device thereof.The described method includes: receiving webpage capture order, wherein the webpage capture order includes the address URL of webpage;The webpage is loaded using the address URL;Screenshot is carried out to the webpage.In accordance with the invention it is possible to save the waiting time of related personnel, and the safety problem as caused by jack is prevented, while related personnel being made to be intuitive to see data sheet, saves manpower.
Description
Technical field
This application involves computer software technical field, in particular to a kind of webpage capture method and device thereof.
Background technique
Currently, With the fast development of internet, more and more users are by internet processing data (for example, enterprise
Report or word document).For example, Data Analyst generates webpage about report using Internet technology, and by the net of generation
Page is pushed to mail, communications applications etc., in this way, related personnel can receive at the first time newest report.
But in the prior art, usually for example related personnel will be pushed to about the URL of the webpage of report or screenshot.?
In the case that the URL of webpage is pushed to related personnel, related personnel also needs to click URL and opens webpage, then reviews report
Table data, it is complicated for operation, not intuitive and there may be safety problem (for example, as steal chain caused by safety problem);It is inciting somebody to action
In the case that screenshot is pushed to related personnel, manual operation, waste of manpower are needed.
Summary of the invention
The main purpose of the present invention is to provide one kind, it is intended to solve above-mentioned due to push webpage URL or artificial
Various problems caused by screenshot.
The embodiment of the present application provides a kind of webpage capture method, which comprises receives webpage capture order, wherein
The webpage capture order includes the address URL of webpage;The webpage is loaded using the address URL;The webpage is carried out
Screenshot.
Another embodiment of the application provides a kind of webpage capture device, and described device includes: receiving module, receives webpage and cuts
Figure order, wherein the webpage capture order includes the address URL of webpage;Loading module loads institute using the address URL
State webpage;Screen capture module carries out screenshot to the webpage.
At least one above-mentioned technical solution that the embodiment of the present application uses is by utilizing the address URL in webpage capture order
Load and screenshot are carried out to webpage to realize that webpage capture operates, compared to the prior art that URL is pushed to related personnel, energy
The waiting time of related personnel is enough saved, and prevents the safety problem as caused by jack, while making related personnel intuitively
See data sheet.Compared to the technical solution of artificial screenshot, the artificial waiting time can be saved, and saves manpower.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present application, constitutes part of this application, this Shen
Illustrative embodiments and their description please are not constituted an undue limitation on the present application for explaining the application.In the accompanying drawings:
Fig. 1 shows the flow chart of the webpage capture method of an exemplary embodiment of the present invention;
Fig. 2 shows the scene figures of the webpage capture of an exemplary embodiment of the present invention processing;
Fig. 3 shows the block diagram of the electronic equipment of an exemplary embodiment of the present invention;
Fig. 4 shows the block diagram of the webpage capture device of an exemplary embodiment of the present invention.
Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with the application specific embodiment and
Technical scheme is clearly and completely described in corresponding attached drawing.Obviously, described embodiment is only the application one
Section Example, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not doing
Every other embodiment obtained under the premise of creative work out, shall fall in the protection scope of this application.
Before introducing the embodiment of the present application, the application is better understood in order to facilitate those skilled in the art, it is right first
Term involved in the application explains.
Webpage capture device/electronic device according to the present invention may include but be not limited to have the following any of processing module
Equipment: personal computer (PC), mobile device (such as, cellular phone, personal digital assistant (PDA), digital camera, portable
Game console, MP3 player, portable/personal multimedia player (PMP), hand-held e-book, tablet PC, portable knee
Mo(u)ld top half PC and global positioning system (GPS) navigator), intelligence TV etc..
Using (app): the software that can be directly executed in computer operating system (OS) or mobile OS by user, using can
Including the Embedded Application being stored in the storage unit of terminal or third-party application.Embedded Application, which refers to, is pre-installed in end
Application in end.For example, Embedded Application can be browser, Email, instant messenger etc..
URL: uniform resource locator (Uniform/Universal Resource Locator) is to can be from interconnection
The position of the resource obtained on the net and a kind of succinct expression of access method, are the addresses of standard resource on internet.Interconnection
Online each file has a unique URL.
Javascript: belonging to the scripting language of network, has been widely used for Web application and development, is commonly used to as webpage
Miscellaneous dynamic function is added, provides the result of browse of more smooth beauty for user.Usual JavaScript script passes through
It is embedded in the function that itself is realized in HTML.In the present invention, webpage is designed using Javascript.Namely
It says, in the present invention, the webpage being displayed on the screen is programmed using Javascript.
Nodejs: the JavaScript of server end is operated in.For writing on the javascript in html page, browse
Device acts as the role of resolver.And for needing independently operated javascript, NodeJS is exactly resolver.In the present invention
In, rear end is designed using NodeJS.That is, in the present invention, using NodeJS to shot operation and push
Operation is programmed to realize.
It is stated in detail hereinafter with reference to webpage capture method of the Fig. 1 to an exemplary embodiment of the present invention.
As shown in Figure 1, receiving webpage capture order, wherein the webpage capture order includes the URL of webpage in S110
Address.The webpage capture order is the order for carrying out screenshot to webpage, and screenshot refers to the energy intercepted by electronic equipment
The visual image being shown on screen or other display equipment.
For example, user can pre-enter the address URL for the webpage that will be intercepted.In addition, the webpage capture order
It may also include other additional informations for webpage capture.For example, the webpage capture order may include executing webpage capture
Time.By taking report as an example, user it is expected to obtain the web data about report.And 8 points of report every morning into line number according to update.
Correspondingly, the webpage capture order in addition to include webpage about the report the address URL, may also include execution webpage capture
Time, for example, 9 points of progress webpage captures of every morning.
Then, in S120, the webpage is loaded using the address URL.Specifically, can start particular browser (
Can be referred to as simulation browser), then webpage is loaded in the browser using the address URL.The browser is used for root
Webpage is shown according to user setting and screenshot is carried out to the webpage.For example, can be according to user demand by the background color of browser
It is set as blue, in another example, the time can be shown in a certain position of browser according to user demand.That is, simulation browsing
The function that device not only realizes browser can also be carry out various modifications according to webpage of the user demand to display.In addition, simulation
Browser can webpage load complete after realize webpage capture function, this is one of with the difference of common browser.It is common clear
Device of looking at need to realize the screenshot function to webpage using third party (for example, QQ screenshot etc.).
Finally, carrying out screenshot to the webpage in S130.In an alternative embodiment, it before carrying out S130 step, needs
Determine whether the webpage loads completion.Specifically, it can monitor whether the webpage loads completion by above-mentioned browser,
In, whether the webpage, which loads completion, refers to whether the webpage is completely presented on the screen, completely refers to that style sheet adds
It carries completion and dynamic data load is completed.Whether the usual webpage loads completion is determined by simulation browser, specifically
For, request included in the webpage can be set in simulation browser in advance, and simulation browser is by determining whether
Request is received entirely to judge whether webpage loads completion.It will be understood by those skilled in the art that described in judgement illustrated above
The method whether webpage loads completion is exemplary only, it is any can be used for judging the webpage whether load completion method it is equal
It is applicable to the present invention.
In this way, the operation for carrying out screenshot to the webpage of S130 can be performed after determining that webpage has loaded completion.
In an alternative embodiment, instruction can be completed according to the webpage load issued by above-mentioned browser to determine that the webpage has loaded
At then to webpage progress screenshot.
It in an alternative embodiment, can also be according to user demand to the webpage capture after carrying out screenshot to the webpage
Various operations are executed, for example, watermarking can be carried out to the webpage capture, or the picture size of the webpage capture can be changed
Deng.And webpage capture is stored in local storage or remote memory by treated.
In addition, the webpage capture order further includes the webpage capture by the information for the application being pushed to.Exist as a result,
After webpage progress screenshot further include: using the webpage capture by the information for the application being pushed to, by the net
Page screenshot is sent to the application.For example, the webpage capture order may also include the account for the mailbox that will be pushed, to institute
Webpage is stated to carry out that webpage capture can be sent to each mailbox after screenshot.It should be noted that will be pushed is identical using can be
Or it is different, for example, webpage capture can be pushed in mailbox and instant messaging application simultaneously, in addition, the application that will be pushed
It can be one or more.Skill is known to the skilled in the art according to the information of push to be pushed to corresponding account automatically
Art means, will not be described in detail herein.
In an alternative embodiment, however, it is determined that mistake occurs in the webpage load, for example, the webpage within 5 minutes predetermined times
Load does not complete also, or volume of transmitted data is almost 0 during loading, then the capable of emitting load error of the simulation browser refers to
(for example, issuing instruction load Error) is enabled, can then set according to user will push away about the corresponding information of load faulting instruction
It is sent in each application.
By taking the webpage about report as an example, Data Analyst generates the webpage about report according to businessman's demand, for example, institute
Stating in webpage includes three requests, that is, sales data, customer data and profit data, set time every morning is (for example, 10
Point) will be updated webpage about report, that is to say, that 10 points of every morning can in webpage sales data, customer data and
Profit data are updated.Then need to send updated webpage in the mailbox of related personnel.
According to an embodiment of the invention, the address URL of the webpage for the report that will be obtained can be pre-entered by user, then
In response to the webpage capture order received, simulation browser is opened, and is loaded on simulation browser using the address URL
The webpage.If simulation browser detects that the webpage is completed to three processing requested (that is, update), browsing is simulated
Device issues the webpage load completion instruction (for example, Load over) for indicating that the webpage has loaded completion, is then added according to webpage
It carries to complete to instruct and determines that load is completed, finally, carrying out screenshot to the webpage.Wherein, the simulation browser can according to
Family demand is modified the background color of report, for example, the background color of simulation browser can be revised as white by user.
The webpage capture is storable in local storage, can also be sent to according to setting in remote server to carry out
It handles in next step.In addition, user can also predefine the information for the application that will be pushed, for example, user can predefine institute
State the address of the mail of webpage capture push.Then, webpage capture can be sent in each mail.
As described above, webpage capture method of the invention by using the address URL in webpage capture order to webpage into
Row load realizes that webpage capture is operated with screenshot, compared to the prior art that URL is pushed to related personnel, can save phase
The waiting time of pass personnel, and the safety problem as caused by jack is prevented, while related personnel being made to be intuitive to see data
Report.Compared to the technical solution of artificial screenshot, the artificial waiting time can be saved, and saves manpower.Further, this hair
Screenshot can be pushed to correlation by utilizing the address URL and the pushed information of the webpage received by bright webpage capture method
Personnel, the entire process that pushes are participated in without manpower, and cost is greatly saved.In addition, during realization, using specific browsing
Device come monitor webpage whether load completion and can according to user demand change browser layout.It is vivider below with reference to Fig. 2
Ground illustrates application scenarios of the invention.
Fig. 2 shows the scene figures of the webpage capture of an exemplary embodiment of the present invention processing.As shown in Fig. 2, user
It can be pre-configured with the address URL for needing to carry out the webpage of shot operation, for example, user can utilize input unit (for example, mouse in advance
Mark, keyboard or other devices that can be used for inputting), and the information for needing the application pushed can be configured simultaneously, it should be noted that it is described to answer
With may be the same or different, even if for example, same screenshot can be pushed to the mailbox of user A and the communications applications of user B, this can
It is arranged according to user demand.
Then, electronic device 210 is for executing webpage capture processing, and specifically, electronic device 210 opens virtual browse
Device, and show webpage corresponding with the address URL on the screen using virtual browser, as shown in Fig. 2, show on the screen about
The report of sales volume.Assuming that the webpage about report only includes a request (that is, sales volume request), if virtual browser is true
It is fixed that the request is updated, then determine that the webpage has loaded completion.Then, electronic device 210 can carry out screen
Screenshot, to obtain the webpage capture about report.Electronic device 210 can store the webpage capture in memory, or
Person can upload to remote server by network.
As shown in Fig. 2, webpage capture can be also pushed to various electronic devices (for example, mobile terminal by electronic device 210
220-1, computer installation 220-2), this depends on preconfigured pushed information.
Fig. 3 shows the block diagram of the electronic equipment of an exemplary embodiment of the present invention.It should in hardware view with reference to Fig. 3
Electronic equipment includes processor, internal bus, network interface, memory and nonvolatile memory, is also possible that it certainly
Hardware required for his business.Processor from read in nonvolatile memory corresponding computer program into memory then transport
Row, the webpage capture device formed on logic level.Certainly, other than software realization mode, it is not precluded in the application
His implementation, such as logical device or the mode of software and hardware combining etc., that is to say, that the execution master of following process flow
Body is not limited to each logic unit, is also possible to hardware or logical device.
Fig. 4 shows the block diagram of the webpage capture device of an exemplary embodiment of the present invention.As shown in figure 4, the net
Page screenshot device includes receiving module 410, loading module 420 and screen capture module 430.
Receiving module 410 receives webpage capture order, wherein the webpage capture order includes the address URL of webpage.
The webpage capture order is the order for carrying out screenshot to webpage, and screenshot refers to can be shown in by electronic equipment interception
Visual image on screen or other display equipment.
Loading module 420 loads the webpage using the address URL.Optionally, loading module 420 includes starting module
(not shown) and sub- loading module (not shown), wherein starting module starts particular browser;Sub- loading module, using described
The address URL loads the webpage in the particular browser.Optionally, the browser is used to show net according to user setting
Page simultaneously carries out screenshot to the webpage.For example, blue, and example can be set by the background color of browser according to user demand
Such as, the time can be shown in a certain position of browser according to user demand.That is, simulation browser not only realizes browsing
The function of device can also be carry out various modifications according to webpage of the user demand to display.In addition, simulation browser can add in webpage
It carries and realizes webpage capture function after completing, this is one of with the difference of common browser.Common browser need to utilize third party
(for example, QQ screenshot etc.) realizes the screenshot function to webpage.
Screen capture module 430 carries out screenshot to the webpage after loading module loads the webpage.Optionally, the dress
It sets and may also include determining that 440 (not shown) of module, for determining whether the webpage loads completion.If it is determined that module 440 determines
Webpage has loaded completion, then screen capture module 430 carries out screenshot to the webpage.
Optionally, the particular browser issues webpage load and completes instruction when the webpage loads completion.
Optionally, screen capture module 430 completes instruction according to load and determines that the load of the webpage is completed and to the net
Page carries out screenshot.
Optionally, the webpage capture order further includes the webpage capture by the information for the application being pushed to.And
Optionally, the webpage capture device may include pushing module (not shown), and pushing module will be pushed away using the webpage capture
The webpage capture is pushed to the application by the information for the application being sent to.
Optionally, the webpage capture is stored in local storage or is sent in remote memory.
As described above, webpage capture device of the invention by using the address URL in webpage capture order to webpage into
Row load realizes that webpage capture is operated with screenshot, compared to the prior art that URL is pushed to related personnel, can save phase
The waiting time of pass personnel, and the safety problem as caused by jack is prevented, while related personnel being made to be intuitive to see data
Report.Compared to the technical solution of artificial screenshot, the artificial waiting time can be saved, and saves manpower.Further, this hair
Screenshot can be pushed to relevant people merely with the address URL of the webpage received and pushed information by bright webpage capture device
Member, the entire process that pushes are participated in without manpower, and cost is greatly saved.In addition, during realization, using particular browser
Come monitor webpage whether load completion and can according to user demand change browser layout.
In the 1990s, the improvement of a technology can be distinguished clearly be on hardware improvement (for example,
Improvement to circuit structures such as diode, transistor, switches) or software on improvement (improvement for method flow).So
And with the development of technology, the improvement of current many method flows can be considered as directly improving for hardware circuit.
Designer nearly all obtains corresponding hardware circuit by the way that improved method flow to be programmed into hardware circuit.Cause
This, it cannot be said that the improvement of a method flow cannot be realized with hardware entities module.For example, programmable logic device
(Programmable Logic Device, PLD) (such as field programmable gate array (Field Programmable Gate
Array, FPGA)) it is exactly such a integrated circuit, logic function determines device programming by user.By designer
Voluntarily programming comes a digital display circuit " integrated " on a piece of PLD, designs and makes without asking chip maker
Dedicated IC chip.Moreover, nowadays, substitution manually makes IC chip, this programming is also used instead mostly " is patrolled
Volume compiler (logic compiler) " software realizes that software compiler used is similar when it writes with program development,
And the source code before compiling also write by handy specific programming language, this is referred to as hardware description language
(Hardware Description Language, HDL), and HDL is also not only a kind of, but there are many kind, such as ABEL
(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description
Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL
(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby
Hardware Description Language) etc., VHDL (Very-High-Speed is most generally used at present
Integrated Circuit Hardware Description Language) and Verilog.Those skilled in the art also answer
This understands, it is only necessary to method flow slightly programming in logic and is programmed into integrated circuit with above-mentioned several hardware description languages,
The hardware circuit for realizing the logical method process can be readily available.
Controller can be implemented in any suitable manner, for example, controller can take such as microprocessor or processing
The computer for the computer readable program code (such as software or firmware) that device and storage can be executed by (micro-) processor can
Read medium, logic gate, switch, specific integrated circuit (Application Specific Integrated Circuit,
ASIC), the form of programmable logic controller (PLC) and insertion microcontroller, the example of controller includes but is not limited to following microcontroller
Device: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320 are deposited
Memory controller is also implemented as a part of the control logic of memory.It is also known in the art that in addition to
Pure computer readable program code mode is realized other than controller, can be made completely by the way that method and step is carried out programming in logic
Controller is obtained to come in fact in the form of logic gate, switch, specific integrated circuit, programmable logic controller (PLC) and insertion microcontroller etc.
Existing identical function.Therefore this controller is considered a kind of hardware component, and to including for realizing various in it
The device of function can also be considered as the structure in hardware component.Or even, it can will be regarded for realizing the device of various functions
For either the software module of implementation method can be the structure in hardware component again.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity,
Or it is realized by the product with certain function.It is a kind of typically to realize that equipment is computer.Specifically, computer for example may be used
Think personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play
It is any in device, navigation equipment, electronic mail equipment, game console, tablet computer, wearable device or these equipment
The combination of equipment.
For convenience of description, it is divided into various units when description apparatus above with function to describe respectively.Certainly, implementing this
The function of each unit can be realized in the same or multiple software and or hardware when application.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices
Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described want
There is also other identical elements in the process, method of element, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can provide as method, system or computer program product.
Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application
Form.It is deposited moreover, the application can be used to can be used in the computer that one or more wherein includes computer usable program code
The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
Formula.
The application can describe in the general context of computer-executable instructions executed by a computer, such as program
Module.Generally, program module includes routines performing specific tasks or implementing specific abstract data types, programs, objects, group
Part, data structure etc..The application can also be practiced in a distributed computing environment, in these distributed computing environments, by
Task is executed by the connected remote processing devices of communication network.In a distributed computing environment, program module can be with
In the local and remote computer storage media including storage equipment.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality
For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method
Part explanation.
The above description is only an example of the present application, is not intended to limit this application.For those skilled in the art
For, various changes and changes are possible in this application.All any modifications made within the spirit and principles of the present application are equal
Replacement, improvement etc., should be included within the scope of the claims of this application.
Claims (19)
1. a kind of webpage capture method characterized by comprising
Receive webpage capture order, wherein the webpage capture order includes the address URL of webpage;
The webpage is loaded using the address URL;
Screenshot is carried out to the webpage.
2. the method as described in claim 1, which is characterized in that further include: using the address URL load the webpage it
Afterwards, determine whether the webpage loads completion.
3. method according to claim 2, which is characterized in that carrying out screenshot to the webpage includes: if it is determined that the webpage
Load is completed, then carries out screenshot to the webpage.
4. method as claimed in claim 3, which is characterized in that loading the webpage using the address URL includes: that starting is special
Determine browser;The webpage is loaded in the particular browser using the address URL.
5. method as claimed in claim 4, which is characterized in that the particular browser is used to show net according to user setting
Page.
6. method as claimed in claim 4, which is characterized in that load the webpage using the address URL further include: described
Particular browser issues webpage load and completes instruction when the webpage loads completion.
7. method as claimed in claim 6, which is characterized in that determining whether the webpage loads completion includes: according to webpage
Load completes instruction and determines whether the load of the webpage is completed.
8. the method as described in claim 1, which is characterized in that the webpage capture order further includes that the webpage capture will be by
The information for the application being pushed to.
9. method according to claim 8, which is characterized in that after webpage progress screenshot, further includes: described in utilization
Webpage capture is pushed to the application by the information for the application being pushed to, by the webpage capture.
10. the method as described in any claim in claim 1 to claim 9, which is characterized in that the webpage is cut
Figure is stored in local storage or is sent in remote memory.
11. a kind of webpage capture device characterized by comprising
Receiving module receives webpage capture order, wherein the webpage capture order includes the address URL of webpage;
Loading module loads the webpage using the address URL;
Screen capture module carries out screenshot to the webpage.
12. device as claimed in claim 11, further includes: determining module determines after loading module loads the webpage
Whether the webpage loads completion.
13. the device as described in right will go 12, which is characterized in that loading module includes:
Starting module starts particular browser;
Sub- loading module loads the webpage using the address URL in the particular browser.
14. device as claimed in claim 13, which is characterized in that the particular browser is used to show net according to user setting
Page.
15. device as claimed in claim 14, which is characterized in that the particular browser the webpage load complete when,
It issues webpage load and completes instruction.
16. device as claimed in claim 15, which is characterized in that determining module is loaded according to webpage to be completed described in instruction determination
Whether the load of webpage is completed.
17. device as claimed in claim 11, which is characterized in that the webpage capture order further includes that the webpage capture will
The information for the application being pushed to.
18. device as claimed in claim 17, which is characterized in that further include: pushing module, it will be by using the webpage capture
The webpage capture is pushed to the application by the information for the application being pushed to.
19. the device as described in any claim in claim 9 to claim 18, which is characterized in that the webpage
Screenshot is stored in local storage or is sent in remote memory.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710610525.0A CN110020231A (en) | 2017-07-25 | 2017-07-25 | Webpage capture method and device thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710610525.0A CN110020231A (en) | 2017-07-25 | 2017-07-25 | Webpage capture method and device thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110020231A true CN110020231A (en) | 2019-07-16 |
Family
ID=67185845
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710610525.0A Pending CN110020231A (en) | 2017-07-25 | 2017-07-25 | Webpage capture method and device thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110020231A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110659092A (en) * | 2019-08-13 | 2020-01-07 | 平安国际智慧城市科技股份有限公司 | Webpage screenshot method and device, computer equipment and storage medium |
CN110737861A (en) * | 2019-10-24 | 2020-01-31 | 北京锐安科技有限公司 | webpage data processing method, device, equipment and storage medium |
CN110889072A (en) * | 2019-11-21 | 2020-03-17 | 深圳前海环融联易信息科技服务有限公司 | Screenshot method and device for removing webpage advertisements, computer equipment and storage medium |
CN110989897A (en) * | 2019-11-21 | 2020-04-10 | 深圳市富途网络科技有限公司 | Screenshot picture acquisition method and device, terminal device and storage medium |
CN111309743A (en) * | 2020-01-21 | 2020-06-19 | 深圳市云智融科技有限公司 | Report pushing method and device |
CN111399732A (en) * | 2020-03-13 | 2020-07-10 | 深圳市珍爱云信息技术有限公司 | Webpage screenshot method and device, computer equipment and storage medium |
CN113032707A (en) * | 2021-03-25 | 2021-06-25 | 成都新希望金融信息有限公司 | Method and device for generating webpage screenshot and electronic equipment |
WO2021184896A1 (en) * | 2020-03-20 | 2021-09-23 | 支付宝(杭州)信息技术有限公司 | Page screenshot method and device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103577187A (en) * | 2013-10-15 | 2014-02-12 | 中兴通讯股份有限公司 | Method and related equipment for realizing webpage screenshot |
CN106227780A (en) * | 2016-07-18 | 2016-12-14 | 中国科学院信息工程研究所 | Automatization's sectional drawing evidence collecting method of a kind of magnanimity webpage and system |
-
2017
- 2017-07-25 CN CN201710610525.0A patent/CN110020231A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103577187A (en) * | 2013-10-15 | 2014-02-12 | 中兴通讯股份有限公司 | Method and related equipment for realizing webpage screenshot |
CN106227780A (en) * | 2016-07-18 | 2016-12-14 | 中国科学院信息工程研究所 | Automatization's sectional drawing evidence collecting method of a kind of magnanimity webpage and system |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110659092A (en) * | 2019-08-13 | 2020-01-07 | 平安国际智慧城市科技股份有限公司 | Webpage screenshot method and device, computer equipment and storage medium |
CN110659092B (en) * | 2019-08-13 | 2023-05-02 | 深圳赛安特技术服务有限公司 | Webpage screenshot method and device, computer equipment and storage medium |
CN110737861A (en) * | 2019-10-24 | 2020-01-31 | 北京锐安科技有限公司 | webpage data processing method, device, equipment and storage medium |
CN110889072A (en) * | 2019-11-21 | 2020-03-17 | 深圳前海环融联易信息科技服务有限公司 | Screenshot method and device for removing webpage advertisements, computer equipment and storage medium |
CN110989897A (en) * | 2019-11-21 | 2020-04-10 | 深圳市富途网络科技有限公司 | Screenshot picture acquisition method and device, terminal device and storage medium |
CN110989897B (en) * | 2019-11-21 | 2021-12-03 | 富途网络科技(深圳)有限公司 | Screenshot picture acquisition method and device, terminal device and storage medium |
CN110889072B (en) * | 2019-11-21 | 2023-09-26 | 深圳前海环融联易信息科技服务有限公司 | Screenshot method and device for removing webpage advertisements, computer equipment and storage medium |
CN111309743A (en) * | 2020-01-21 | 2020-06-19 | 深圳市云智融科技有限公司 | Report pushing method and device |
CN111399732A (en) * | 2020-03-13 | 2020-07-10 | 深圳市珍爱云信息技术有限公司 | Webpage screenshot method and device, computer equipment and storage medium |
WO2021184896A1 (en) * | 2020-03-20 | 2021-09-23 | 支付宝(杭州)信息技术有限公司 | Page screenshot method and device |
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 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110020231A (en) | Webpage capture method and device thereof | |
US10194288B2 (en) | Sticker distribution system for messaging apps | |
TW201821966A (en) | Information presentation method and apparatus | |
CN110688829B (en) | Table generation method, device, equipment and storage medium | |
TW201941132A (en) | Information display method, apparatus and device | |
CN108549562A (en) | A kind of method and device of image load | |
CN107479868B (en) | Interface loading method, device and equipment | |
CN113157439B (en) | Resource statistics method, device and terminal | |
JP2021120867A (en) | Fusion relation network construction method, fusion relation network construction device, electronic device, storage medium and program | |
CN111338655A (en) | Installation package distribution method and system | |
CN110874172B (en) | Method, device, medium and electronic equipment for amplifying APP interface | |
WO2019196548A1 (en) | Data processing method, terminal device, and server | |
CN109710622A (en) | A kind of data-updating method, device and system | |
CN111694629A (en) | Information display method and device and electronic equipment | |
US20140195951A1 (en) | Method for managing schedule and electronic device thereof | |
CN111538667A (en) | Page testing method and device | |
CN110806834A (en) | Information processing method and device based on input method, electronic equipment and medium | |
CN113835791B (en) | Method and apparatus for presenting hierarchical relationships of view components | |
CN110618811B (en) | Information presentation method and device | |
CN112905220A (en) | Thermal restoration method, device, equipment and storage medium | |
WO2024212839A1 (en) | Card layout method and apparatus, medium and electronic device | |
CN112148744A (en) | Page display method and device, electronic equipment and computer readable medium | |
CN114997115B (en) | Document processing method, device, equipment and medium | |
CN109815116A (en) | A kind of method for testing software and equipment platform and computer readable storage medium | |
CN114201086B (en) | Information display method and device |
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 | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 40010810 Country of ref document: HK |
|
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190716 |
|
RJ01 | Rejection of invention patent application after publication |