CN107391714A - A kind of screenshot method, capture server, sectional drawing service system and medium - Google Patents

A kind of screenshot method, capture server, sectional drawing service system and medium Download PDF

Info

Publication number
CN107391714A
CN107391714A CN201710635951.XA CN201710635951A CN107391714A CN 107391714 A CN107391714 A CN 107391714A CN 201710635951 A CN201710635951 A CN 201710635951A CN 107391714 A CN107391714 A CN 107391714A
Authority
CN
China
Prior art keywords
sectional drawing
webpage
server
website information
information
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
CN201710635951.XA
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.)
Beijing Ruian Technology Co Ltd
Original Assignee
Beijing Ruian Technology Co Ltd
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 Beijing Ruian Technology Co Ltd filed Critical Beijing Ruian Technology Co Ltd
Priority to CN201710635951.XA priority Critical patent/CN107391714A/en
Publication of CN107391714A publication Critical patent/CN107391714A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; 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/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9566URL specific, e.g. using aliases, detecting broken or misspelled links
    • GPHYSICS
    • G06COMPUTING; CALCULATING; 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

Abstract

The embodiment of the invention discloses a kind of screenshot method, capture server, sectional drawing service system and medium.This method includes:The website information for treating sectional drawing webpage is obtained, and the website information is input in browser;According to the website information, treat whether sectional drawing webpage needs login username and password described in judgement;When being, it is described treat to input in sectional drawing webpage pre-stored treat the corresponding username and password of sectional drawing webpage with described;Start the sectional drawing interface of the browser, sectional drawing webpage is treated described in interception.The embodiment of the present invention improves sectional drawing efficiency and accuracy rate, realizes the automation of sectional drawing.

Description

A kind of screenshot method, capture server, sectional drawing service system and medium
Technical field
The present embodiments relate to Internet technology, more particularly to a kind of screenshot method, capture server, sectional drawing service system System and medium.
Background technology
Today's society is the epoch of information, and information is rapid by transmission on Internet.It can be touched by internet people The panoramic information of all trades and professions, being no lack of has illegal harmful information.Thus, ensure the peace of information propagated in internet Seem entirely increasingly important.
It is existing to be directed to the illegal harmful information propagated in internet site, by the way of artificial sectional drawing.Received in system After recording illegal information, the website is immediately entered manually and carries out sectional drawing.Carried out again in system after sectional drawing Pass.
The existing sectional drawing mode taken of illegal harmful information being directed in website, because using artificial mode, Sectional drawing efficiency is very low, can not meet the needs of office automatic, and the requirement to manpower is higher, can not meet a large amount of website need Want the situation of sectional drawing.
The content of the invention
The embodiment of the present invention provides a kind of screenshot method, capture server, sectional drawing service system and medium, and solution is currently adopted The problem of sectional drawing mode sectional drawing efficiency manually is low.
In a first aspect, the embodiments of the invention provide a kind of screenshot method, this method includes:
The website information for treating sectional drawing webpage is obtained, and the website information is input in browser;
According to the website information, treat whether sectional drawing webpage needs login username and password described in judgement;
When being, it is described treat to input in sectional drawing webpage it is pre-stored with the corresponding user name of sectional drawing webpage and close treated Code;
Start the sectional drawing interface of the browser, sectional drawing webpage is treated described in interception.
Further, after sectional drawing webpage is treated described in the interception, in addition to:Send be truncated to described and treat sectional drawing net The picture of page.
Further, after sectional drawing webpage is treated described in the interception, in addition to:
When intercepting failure, network configuration and/or browser are changed;
The website information for performing and obtaining and treating sectional drawing webpage is returned, and the website information is input to the behaviour in browser Make.
Wherein, the website information comprises at least:URL information.
Second aspect, the embodiment of the present invention additionally provide a kind of capture server, and the server includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are by one or more of computing devices so that one or more of processing Device realizes any screenshot method provided such as any embodiment of the present invention.
The third aspect, the embodiment of the present invention additionally provide a kind of sectional drawing service system, and the system comprises at least:Database takes The capture server that business device and any embodiment of the present invention provide;
Wherein, the database server, the website information of sectional drawing webpage is treated for storing.
Further, the system also includes:
Shot image information extracts server, and the website information of sectional drawing webpage is treated for extracting;
Website information push server, the network address for the treating sectional drawing webpage letter for extracting server for receiving shot image information and sending Breath, and the website information is sent to the database server.
Further, the system also includes:
Apache Server, for receiving and preserving the interception picture of capture server transmission.
Further, the system also includes:
Fire wall, configure between the database server and the capture server, for Network Security Service and Management.
Fourth aspect, the embodiment of the present invention additionally provide a kind of computer-readable recording medium, are stored thereon with computer Program, any screenshot method provided such as any embodiment of the present invention is realized when the program is executed by processor.
The embodiment of the present invention is by the way that the website information for treating sectional drawing webpage is input in browser, when treating sectional drawing webpage needs When login username and password, pre-stored username and password is inputted, ensures being normally carried out for sectional drawing, starts cutting for browser Figure interface, interception treat sectional drawing webpage, without artificial sectional drawing, improve sectional drawing efficiency and accuracy rate, realize the automation of sectional drawing.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, make required in being described below to embodiment Accompanying drawing does one and simply introduced, it should be apparent that, drawings in the following description are some embodiments of the present invention, for this For the those of ordinary skill of field, on the premise of not paying creative work, it can also be obtained according to these accompanying drawings other Accompanying drawing.
Fig. 1 is a kind of flow chart for screenshot method that the embodiment of the present invention one provides;
Fig. 2 is a kind of structured flowchart for capture server that the embodiment of the present invention two provides;
Fig. 3 is a kind of structured flowchart for sectional drawing service system that the embodiment of the present invention three provides.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, hereinafter with reference to attached in the embodiment of the present invention Figure, technical scheme is clearly and completely described by embodiment, it is clear that described embodiment is the present invention one Section Example, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not doing Go out under the premise of creative work the every other embodiment obtained, belong to the scope of protection of the invention.
Embodiment one
Fig. 1 is a kind of flow chart for screenshot method that the embodiment of the present invention one provides.The technical scheme of the present embodiment can be with Situation suitable for carrying out sectional drawing to webpage.This method specifically includes following operation:
The website information of sectional drawing webpage is treated in S110, acquisition, and the website information is input in browser.
It for example can be the webpage containing harmful information or user arbitrary content institute interested to treat sectional drawing webpage Webpage.The identification technology based on keyword can be provided with for the harmful information in internet and identifies harmful information, work as identification During to harmful information, website information corresponding to harmful information is recorded.Website information is, for example, webpage corresponding to the harmful information URL information.Website information can also include website domain name and webpage network address.Website information, which is input in browser, to beat Open and treat sectional drawing webpage.
S120, according to the website information, treat whether sectional drawing webpage needs login username and password described in judgement.
According to website information, judge whether the website information needs login username and password.Specifically, can basis The information of Cookie and Session records judges.Cookie and Session is the Session tracking technology commonly used in Web programs, is used To track the whole session of user.Wherein, by determining user identity in client records information, Session passes through Cookie User identity is determined in server end record information.So it can determine to wait to cut according to the Cookie and Session information recorded Whether figure webpage needs login username and password.
S130, when being, it is described treat to input in sectional drawing webpage pre-stored treat the corresponding user of sectional drawing webpage with described Name and password.
When needing login username and password, in a manner of simulation is manually entered, automatically enters and treat sectional drawing webpage with this The corresponding username and password prestored, height also process of the protoplast in true operation computer.When not needing login user When name and password, S140 is directly performed.
S140, the sectional drawing interface for starting the browser, sectional drawing webpage is treated described in interception.
The sectional drawing interface of browser is called, automatic interception treats sectional drawing webpage, obtains the picture for the whole webpage being truncated to, can To realize cross-platform deployment.
Preferably, after sectional drawing webpage is treated described in the interception, in addition to:Send be truncated to described and treat sectional drawing webpage Picture.
Preferably, after sectional drawing webpage is treated described in the interception, in addition to:
When intercepting failure, network configuration and/or browser are changed;
The website information for performing and obtaining and treating sectional drawing webpage is returned, and the website information is input to the behaviour in browser Make.
When no picture generates, it is possible to determine that sectional drawing fails, and can perform S110-S140 again.When performing again still So during interception failure, network configuration and/or browser can be changed, re-executes S110-S140.Thus avoid due to browser Or the situation of sectional drawing failure caused by netconfig problem.
The present embodiment is by the way that the website information for treating sectional drawing webpage is input in browser, when treating that sectional drawing webpage needs to log in During username and password, pre-stored username and password is inputted, ensures being normally carried out for sectional drawing, the sectional drawing for starting browser connects Mouthful, sectional drawing webpage is treated in interception, without artificial sectional drawing, is improved sectional drawing efficiency and accuracy rate, is realized the automation of sectional drawing.
Embodiment two
Fig. 2 is a kind of structured flowchart for capture server that the embodiment of the present invention two provides.Fig. 2 is the embodiment of the present invention two The structural representation of a kind of capture server provided, as shown in Fig. 2 the server includes processor 20, memory 21, input Device 22 and output device 23;The quantity of processor 20 can be one or more in server, with a processor 20 in Fig. 2 Exemplified by;Processor 20, memory 21, input unit 22 and output device 23 in server can pass through bus or other modes Connect, in Fig. 2 exemplified by being connected by bus.
Memory 21 is used as a kind of computer-readable recording medium, and journey is can perform available for storage software program, computer Sequence and module, programmed instruction/module as corresponding to the screenshot method in the embodiment of the present invention.Processor 20 is stored by running Software program, instruction and module in memory 21, so as to perform the various function application of equipment and data processing, i.e., Realize above-mentioned screenshot method.
Specifically, capture server can include:Log in capture server, no login capture server and twice-screenshot Server.Wherein, capture server is logged in, needs what is logged in treat sectional drawing webpage for intercepting;Without capture server is logged in, it is used for What interception need not log in treats sectional drawing webpage;Twice-screenshot server, for logging in capture server or being taken without sectional drawing is logged in During the sectional drawing failure of business device, network configuration and/or browser are changed, carries out sectional drawing again.In the present embodiment, capture server is in In public network environment, to ensure to treat that the URL of sectional drawing webpage can be accessed, the program of sectional drawing needs and from execution, public network environment The requirement to bandwidth can be met.
Memory 21 can mainly include storing program area and storage data field, wherein, storing program area can store operation system Application program needed for system, at least one function;Storage data field can store uses created data etc. according to terminal.This Outside, memory 21 can include high-speed random access memory, can also include nonvolatile memory, for example, at least a magnetic Disk storage device, flush memory device or other non-volatile solid state memory parts.In some instances, memory 21 can be further Including network connection to equipment can be passed through relative to the remotely located memory of processor 20, these remote memories.It is above-mentioned The example of network includes but is not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
Input unit 22 can be used for the numeral or character information for receiving input, and produce and equipment/terminal/server The key signals input that user is set and function control is relevant.Output device 23 may include the display devices such as display screen.
Embodiment three
Fig. 3 is a kind of structured flowchart for sectional drawing service system that the embodiment of the present invention three provides.The system comprises at least:Number According to storehouse server 310 and the capture server 320 such as any embodiment of the present invention offer;Wherein, the database server 310, the website information of sectional drawing webpage is treated for storing.
Further, the system also includes:
Shot image information extracts server 330, and the website information of sectional drawing webpage is treated for extracting;
Website information push server 340, the net for treating sectional drawing webpage for extracting server for receiving shot image information and sending Location information, and the website information is sent to the database server.When website information is URL information, network address letter It is url data push server to cease push server.
Further, the system also includes:
Apache Server 350, for receiving and preserving the interception picture of capture server transmission.
Further, the system also includes:
Fire wall 360, configure between the database server 310 and the capture server 320, pacify for network Full service and management.Fire wall 360 can also configure extracts server 330 and website information push server in shot image information Between 340 and database server 310.
The sectional drawing service system that the present embodiment provides, including database server and capture server, improve sectional drawing effect Rate and accuracy rate, realize the automation of sectional drawing.
Example IV
The embodiment of the present invention four also provides a kind of storage medium for including computer executable instructions, and the computer can be held Row instruction is used to perform a kind of screenshot method when being performed by computer processor, and this method includes:
The website information for treating sectional drawing webpage is obtained, and the website information is input in browser;
According to the website information, treat whether sectional drawing webpage needs login username and password described in judgement;
When being, it is described treat to input in sectional drawing webpage it is pre-stored with the corresponding user name of sectional drawing webpage and close treated Code;
Start the sectional drawing interface of the browser, sectional drawing webpage is treated described in interception.
Certainly, a kind of storage medium for including computer executable instructions that the embodiment of the present invention is provided, its computer The method operation that executable instruction is not limited to the described above, can also carry out the screenshot method that any embodiment of the present invention is provided In associative operation.
By the description above with respect to embodiment, it is apparent to those skilled in the art that, the present invention It can be realized by software and required common hardware, naturally it is also possible to realized by hardware, but the former is more in many cases Good embodiment.Based on such understanding, what technical scheme substantially contributed to prior art in other words Part can be embodied in the form of software product, and the computer software product can be stored in computer-readable recording medium In, floppy disk, read-only storage (Read-Only Memory, ROM), random access memory (Random such as computer Access Memory, RAM), flash memory (FLASH), hard disk or CD etc., including some instructions are causing a computer to set Standby (can be personal computer, server, or network equipment etc.) performs the method described in each embodiment of the present invention.
Pay attention to, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes, Readjust and substitute without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also Other more equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.

Claims (10)

  1. A kind of 1. screenshot method, it is characterised in that including:
    The website information for treating sectional drawing webpage is obtained, and the website information is input in browser;
    According to the website information, treat whether sectional drawing webpage needs login username and password described in judgement;
    When being, it is described treat to input in sectional drawing webpage pre-stored treat the corresponding username and password of sectional drawing webpage with described;
    Start the sectional drawing interface of the browser, sectional drawing webpage is treated described in interception.
  2. 2. according to the method for claim 1, it is characterised in that after sectional drawing webpage is treated described in the interception, in addition to: Send the picture for treating sectional drawing webpage being truncated to.
  3. 3. according to the method for claim 1, it is characterised in that after sectional drawing webpage is treated described in the interception, in addition to:
    When intercepting failure, network configuration and/or browser are changed;
    The website information for performing and obtaining and treating sectional drawing webpage is returned, and the website information is input to the operation in browser.
  4. 4. according to the method for claim 1, it is characterised in that the website information comprises at least:URL information.
  5. A kind of 5. capture server, it is characterised in that including:
    One or more processors;
    Storage device, for storing one or more programs,
    When one or more of programs are by one or more of computing devices so that one or more of processors are real The now screenshot method as described in any in claim 1-4.
  6. 6. a kind of sectional drawing service system, it is characterised in that comprise at least:Database server and as claimed in claim 5 Capture server;
    Wherein, the database server, the website information of sectional drawing webpage is treated for storing.
  7. 7. system according to claim 6, it is characterised in that also include:
    Shot image information extracts server, and the website information of sectional drawing webpage is treated for extracting;
    Website information push server, the website information for treating sectional drawing webpage for extracting server for receiving shot image information and sending, And the website information is sent to the database server.
  8. 8. system according to claim 6, it is characterised in that also include:
    Apache Server, for receiving and preserving the interception picture of capture server transmission.
  9. 9. system according to claim 6, it is characterised in that also include:
    Fire wall, configure between the database server and the capture server, for Network Security Service and management.
  10. 10. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is by processor The screenshot method as described in any in claim 1-4 is realized during execution.
CN201710635951.XA 2017-07-27 2017-07-27 A kind of screenshot method, capture server, sectional drawing service system and medium Pending CN107391714A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710635951.XA CN107391714A (en) 2017-07-27 2017-07-27 A kind of screenshot method, capture server, sectional drawing service system and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710635951.XA CN107391714A (en) 2017-07-27 2017-07-27 A kind of screenshot method, capture server, sectional drawing service system and medium

Publications (1)

Publication Number Publication Date
CN107391714A true CN107391714A (en) 2017-11-24

Family

ID=60342398

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710635951.XA Pending CN107391714A (en) 2017-07-27 2017-07-27 A kind of screenshot method, capture server, sectional drawing service system and medium

Country Status (1)

Country Link
CN (1) CN107391714A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108551521A (en) * 2018-03-16 2018-09-18 维沃移动通信有限公司 A kind of log-on message reminding method and mobile terminal
CN110737861A (en) * 2019-10-24 2020-01-31 北京锐安科技有限公司 webpage data processing method, device, equipment and storage medium
CN111079166A (en) * 2019-12-19 2020-04-28 深圳市图美电子技术有限公司 Safe network storage device capable of effectively preventing data leakage

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101071438A (en) * 2007-03-26 2007-11-14 腾讯科技(深圳)有限公司 Capture server, distribution server, method and system for generating webpage capture
CN102932197A (en) * 2011-08-11 2013-02-13 阿里巴巴集团控股有限公司 Testing method and system
CN103514090A (en) * 2012-06-26 2014-01-15 腾讯科技(深圳)有限公司 Method and device for testing browser
CN103577187A (en) * 2013-10-15 2014-02-12 中兴通讯股份有限公司 Method and related equipment for realizing webpage screenshot
CN107784031A (en) * 2016-08-31 2018-03-09 北京国双科技有限公司 A kind of method and device of multiple web pages sectional drawing

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101071438A (en) * 2007-03-26 2007-11-14 腾讯科技(深圳)有限公司 Capture server, distribution server, method and system for generating webpage capture
CN102932197A (en) * 2011-08-11 2013-02-13 阿里巴巴集团控股有限公司 Testing method and system
CN103514090A (en) * 2012-06-26 2014-01-15 腾讯科技(深圳)有限公司 Method and device for testing browser
CN103577187A (en) * 2013-10-15 2014-02-12 中兴通讯股份有限公司 Method and related equipment for realizing webpage screenshot
CN107784031A (en) * 2016-08-31 2018-03-09 北京国双科技有限公司 A kind of method and device of multiple web pages sectional drawing

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108551521A (en) * 2018-03-16 2018-09-18 维沃移动通信有限公司 A kind of log-on message reminding method and mobile terminal
CN108551521B (en) * 2018-03-16 2020-03-31 维沃移动通信有限公司 Login information prompting method and mobile terminal
CN110737861A (en) * 2019-10-24 2020-01-31 北京锐安科技有限公司 webpage data processing method, device, equipment and storage medium
CN111079166A (en) * 2019-12-19 2020-04-28 深圳市图美电子技术有限公司 Safe network storage device capable of effectively preventing data leakage

Similar Documents

Publication Publication Date Title
US9923900B2 (en) Online privacy management system with enhanced automatic information detection
US9553918B1 (en) Stateful and stateless cookie operations servers
US10079854B1 (en) Client-side protective script to mitigate server loading
US9219787B1 (en) Stateless cookie operations server
CN104601601B (en) The detection method and device of web crawlers
CN109743315A (en) For Activity recognition method, apparatus, equipment and the readable storage medium storing program for executing of website
CN106156133A (en) Method that control table substance is submitted to again, Apparatus and system
CN107391714A (en) A kind of screenshot method, capture server, sectional drawing service system and medium
CN105827608A (en) Distributed API service abnormal user identification analysis method and reverse agent service gateway
CN105635073A (en) Access control method and device and network access equipment
CN110287660A (en) Access right control method, device, equipment and storage medium
CN109241733A (en) Crawler Activity recognition method and device based on web access log
CN105991634A (en) Access control method and apparatus
CN108924159A (en) The verification method and device in a kind of message characteristic identification library
CN109413153A (en) Data crawling method, device, computer equipment and storage medium
CN106411819A (en) Method and apparatus for recognizing proxy Internet protocol address
WO2014151539A1 (en) Online privacy management
US20160381160A1 (en) System and Computer Implemented Method of Personal Monitoring
CN108322420A (en) The detection method and device of backdoor file
CN108322427A (en) A kind of method and apparatus carrying out air control to access request
CN106202368A (en) Prestrain method and apparatus
CN106919595A (en) A kind of method, device and electronic equipment mapped for Cookie
CN109981533A (en) A kind of ddos attack detection method, device, electronic equipment and storage medium
CN111404937B (en) Method and device for detecting server vulnerability
CN107147648A (en) Processing method, client, server and the system of resource request

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171124