CN104346462B - Preserve the method, apparatus and browser client of web page element - Google Patents

Preserve the method, apparatus and browser client of web page element Download PDF

Info

Publication number
CN104346462B
CN104346462B CN201410643666.9A CN201410643666A CN104346462B CN 104346462 B CN104346462 B CN 104346462B CN 201410643666 A CN201410643666 A CN 201410643666A CN 104346462 B CN104346462 B CN 104346462B
Authority
CN
China
Prior art keywords
web page
module
server
information
download
Prior art date
Application number
CN201410643666.9A
Other languages
Chinese (zh)
Other versions
CN104346462A (en
Inventor
田新超
尹青建
李运双
Original Assignee
北京奇虎科技有限公司
奇智软件(北京)有限公司
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 北京奇虎科技有限公司, 奇智软件(北京)有限公司 filed Critical 北京奇虎科技有限公司
Priority to CN201410643666.9A priority Critical patent/CN104346462B/en
Publication of CN104346462A publication Critical patent/CN104346462A/en
Application granted granted Critical
Publication of CN104346462B publication Critical patent/CN104346462B/en

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/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The present invention discloses a kind of method, apparatus and browser client for preserving web page element, and this method includes:Recognize the first kind web page element in current loading webpage;The first collection threshold marker of the first kind web page element is loaded in browser client;Receive the triggering information for the described first collection threshold marker;At least web page element in first kind web page element is uploaded into server side corresponding to browser client in browser client to be preserved.Technique according to the invention scheme, the quick identification to certain types of web page element on webpage can be realized, and side that (user) named web page element in particular type web page element in current web page can be uploaded onto the server is preserved, and realizes the cloud storage of particular type web page element.

Description

Preserve the method, apparatus and browser client of web page element

Technical field

The present invention relates to technical field of information processing, and in particular to it is a kind of preserve web page element method, apparatus and browse Device client.

Background technology

It is a kind of most common side for effectively obtaining various information and data by browser access in Internet technology Formula.And in the prior art, realize that the cloud storage of internet storage, cloud disk technology also progressively grow up, and extend personal storage Space, the time, number can be safely stored whenever and wherever possible by turning into easily personal network's hard disk, professional storage instrument, people According to and capsule information.It is more convenient for traditional entity disk, user need not be the entity magnetic of storage capsule information Disk is taken with oneself, but equally the information oneself stored can be easily read from high in the clouds by internet.

But in the prior art, only provide and webpage is stored in the local function of browser client, be also not implemented to webpage On various types of web page elements high in the clouds storage, picture, video, file etc., also, also can't very advantageously Particular type web page element is quickly recognized to come, and selective side of uploading onto the server is preserved, and causes Consumer's Experience It is poor.

It is, therefore, desirable to provide rapidly certain types of web page element in webpage can be identified, and it is uploaded to clothes The scheme that business device side is preserved.

The content of the invention

In view of the above problems, it is proposed that the present invention so as to provide one kind overcome above mentioned problem or at least in part solve on State method, corresponding device and the browser client of the preservation web page element of problem.

According to an aspect of the invention, there is provided a kind of method for preserving web page element, including:Recognize current loading First kind web page element in webpage;Loaded in browser client the first of the first kind web page element collect into Mouth mark;Receive the triggering information for the described first collection threshold marker;By first kind net in browser client An at least web page element in page element uploads to server side corresponding to browser client and preserved.

Alternatively, in method of the present invention, the first collection entrance mark of the first kind web page element is loaded Note further shows the description information of the first kind web page element.

Alternatively, in method of the present invention, the description information includes element type, in the current web page Position, the source address and element description information and quantity of element.

Alternatively, in method of the present invention, the element type include picture, video, download file link, Or web page interlinkage.

Alternatively, in method of the present invention, at least web page element in first kind web page element is uploaded Carrying out preservation to server side corresponding to browser client includes:The first kind web page element is loaded in display window A wherein at least web page element is selected to be preserved in the thumbnail of caching figure;The security attribute of each web page element The scan operation of safety can be carried out before being preserved, security sweep is carried out in itself for link, file data, and provides scanning Result.

Alternatively, in method of the present invention, the type of the first kind web page element is more than for picture pixels The picture of 400X300 pixels.

Alternatively, in method of the present invention, receive the triggering information and further comprise:Obtain current page Sectional drawing, and on the sectional drawing ejection loading one display window;Scroll bar operation is performed on backstage, travels through the current page, To collect first kind web page element;And the breviary of the caching figure of the first kind web page element is loaded in the display window Figure.

Alternatively, in method of the present invention, first kind web page element in current loading webpage is recognized Step further comprises:The Second Type web page element in current loading webpage is recognized, wherein Second Type web page element can To be video, download the link or web page interlinkage of file.

Alternatively, in method of the present invention, wherein Second Type web page element is video, receives the triggering Information further comprises:Obtain the sectional drawing of current page, and one display window of ejection loading on the sectional drawing;Rolling is performed on backstage Dynamic bar operation, travels through the current page, to collect Second Type web page element;And load second class in the display window The description information of type web page element, wherein the description information of the Second Type web page element includes:Word description or video The thumbnail of sectional drawing.

Alternatively, in method of the present invention, wherein Second Type web page element is the link for downloading file, is received Further comprise to the triggering information:Obtain the sectional drawing of current page, and one display window of ejection loading on the sectional drawing; Backstage performs scroll bar operation, the current page is traveled through, to collect Second Type web page element;And loaded in the display window The description information of the Second Type web page element or the title for downloading file.

Alternatively, in method of the present invention, wherein Second Type web page element is web page interlinkage, is received described Triggering information further comprises:Obtain the sectional drawing of current page, and one display window of ejection loading on the sectional drawing;Holding from the background Row scroll bar operation, the current page is traveled through, to collect Second Type web page element;And in display window loading described the The description information of two types of web pages elements, the description information of Second Type web page element include:The thumbnail or webpage of webpage Heading message or webpage SNAPSHOT INFO.

Alternatively, in method of the present invention, at least web page element in first kind web page element is uploaded Preserved to server side corresponding to browser client, in addition to:User according to current browser client identifies letter Breath signs in server side, and it further comprises:Detect whether the browser client has the legal Token of login user Mark, if the legal token marks then to be write direct to the cookie file of network address corresponding to the server side In, when signing in server side, effective Token for being written in Cookie files mark is sent to server side please Seek carry out register.

Alternatively, in method of the present invention, at least web page element in first kind web page element is uploaded Preserved to server side corresponding to browser client, in addition to:Download request information is uploaded into the server side, Wherein described download request information comprises at least the URL information of first kind web page element, is somebody's turn to do so that the server side uses URL information downloads the first kind web page element offline.

Alternatively, in method of the present invention, the server side downloads the first kind using the URL information The step of web page element, including:The first kind web page element is judged according to the URL information of the first kind web page element Download protocol type;Downloaded using the download server corresponding with the download protocol type, and according to the URL information The first kind web page element.

Alternatively, in method of the present invention, in addition to:Judge the first kind web page element for seed BT texts Part;The browser client parses the BT files and obtains the URL information in its description information, and by the URL information Reach the server side;Or the BT files are uploaded to the server side by the browser client, so as to the clothes Business device side parses the BT files and obtains the URL information in its description information;Or the browser client is directly by described in The BT files are uploaded to the server side by BT file downloads to local.

Alternatively, in method of the present invention, the download request information is being uploaded into the server side Before step, in addition to:Calculate the identification information of the download request information and upload to the server side, the server Whether lateral root is locally stored with the resource of corresponding first kind web page element, the institute if having according to the identification information judgment received State server side and the first kind web page element is directly dumped into the browser client.

Alternatively, in method of the present invention, in addition to:Before offline download, in the browser client Side is performed without the download under cookie file, and the offline download in download server side is carried out if downloading successfully, if under Carry failure then download of the progress in browser clients side.

Alternatively, in method of the present invention, the first collection threshold marker is fixed positioned at the ground of the webpage The side on location column.

Alternatively, in method of the present invention, the first kind web page element is loaded in browser client Second collection threshold marker, it is described second collection threshold marker be positioned at the webpage address field lower section.

According to an aspect of the invention, there is provided a kind of browser client, including:Interface assembly, it is configured to institute State browser client and draw interactive interface, receive input and/or output display and the information of user mutual;Networking component, It is configured to the network request initiated by interface assembly triggering, recognizes the first kind webpage member in current loading webpage Element;Kernel component, it is configured to handle the first kind web page element that the networking component recognizes, and parsing is browsing after rendering Page display area loads the first collection threshold marker of the first kind web page element in device;Download component, its is further Including:Module is triggered, for receiving the triggering information for the described first collection threshold marker;Module is stored, for by the An at least web page element in one type web page element uploads to server side corresponding to browser client and preserved.

Alternatively, in browser client of the present invention, the download component also includes:Information module, is used for The description information of the first kind web page element is shown in the first collection threshold marker.

Alternatively, in browser client of the present invention, the description information includes element type, worked as described The source address and element description information and quantity of position, element in preceding webpage.

Alternatively, in browser client of the present invention, the element type includes picture, video, lower published article The link or web page interlinkage of part.

Alternatively, in browser client of the present invention, the download component also includes:Module is selected, is used for Loaded in the display window in the thumbnail of the caching figure of the first kind web page element and select a wherein at least web page element Preserved;Safe module, the scanning behaviour of safety is carried out before preserving for the security attribute to each web page element Make, carry out security sweep in itself for link, file data, and provide the result of scanning.

Alternatively, in browser client of the present invention, the type of the first kind web page element is picture picture Element is more than the picture of 400X300 pixels.

Alternatively, in browser client of the present invention, the download component also includes:Module is obtained, is used for The sectional drawing of current page is obtained, wherein the kernel component ejects one display window of loading on the sectional drawing;Module is collected, is used for Scroll bar operation is performed on backstage, the current page is traveled through, to collect first kind web page element;Wherein described kernel component The thumbnail of the caching figure of the first kind web page element is loaded in the display window.

Alternatively, in browser client of the present invention, the networking component further recognizes current loading Second Type web page element in webpage, wherein Second Type web page element include video, the link for downloading file or webpage Link.

Alternatively, in browser client of the present invention, wherein Second Type web page element is video, under described Carrying component also includes:Module is obtained, for obtaining the sectional drawing of current page, is added wherein the kernel component ejects on the sectional drawing Carry a display window;Module is collected, for performing scroll bar operation on backstage, the current page is traveled through, to collect the second class Type web page element;Wherein described kernel component loads the description information of the Second Type web page element in the display window, its Described in the description information of Second Type web page element include:The thumbnail of word description or video interception.

Alternatively, in browser client of the present invention, wherein Second Type web page element is to download file Link, the download component also include:Module is obtained, for obtaining the sectional drawing of current page, wherein the kernel component is at this One display window of ejection loading on sectional drawing;Module is collected, for performing scroll bar operation on backstage, travels through the current page, To collect Second Type web page element;Wherein described kernel component loads the Second Type web page element in the display window Description information or the title for downloading file.

Alternatively, in browser client of the present invention, wherein Second Type web page element is web page interlinkage, institute Stating download component also includes:Module is obtained, for obtaining the sectional drawing of current page, wherein kernel component bullet on the sectional drawing Go out one display window of loading;Module is collected, for performing scroll bar operation on backstage, the current page is traveled through, to collect the Two types of web pages elements;Wherein described kernel component loads the description letter of the Second Type web page element in the display window Breath, the description information of Second Type web page element include:The thumbnail of the webpage either heading message of webpage or webpage it is fast According to information.

Alternatively, in browser client of the present invention, the download component also includes:Module is logged in, is used for User identity information according to current browser client signs in server side, and the login module is further used for:Detection The legal the Token whether browser client has login user is identified, if then identifying the legal token direct Write in the cookie file of network address corresponding to the server side, when signing in server side, be written to described Effective Token marks in Cookie files are sent to server side request and carry out register.

Alternatively, in browser client of the present invention, the download component also includes:Module is uploaded, is used for Download request information is uploaded into the server side, wherein the download request information comprises at least first kind web page element URL information so that the server side downloads the first kind web page element offline using the URL information.

Alternatively, in browser client of the present invention, the server side is according to the first kind webpage The URL information of element judges the download protocol type of the first kind web page element, and use and the download protocol type Corresponding download server, the first kind web page element is downloaded according to the URL information.

Alternatively, in browser client of the present invention, the download component also includes:Judge module, be used for Judge the first kind web page element for seed BT files;Module is handled, for parsing the BT files and obtaining its description URL information in information, and the URL information is uploaded to the server side;Or the BT files are uploaded to the service Device side, so that the server side parses the BT files and obtains the URL information in its description information;Or the browser visitor The BT files to local, and are uploaded to the server side by family end directly by the BT file downloads.

Alternatively, in browser client of the present invention, the download component also includes:Module is calculated, is used for Calculate the identification information of the download request information and upload to the server side, the server side is according to the mark received Know the resource that information judges first kind web page element corresponding to local whether be stored with, the server side directly will if having The first kind web page element dumps to the browser client.

Alternatively, in browser client of the present invention, the download component also includes:Download and perform module, For before offline download, the download under being performed in the browser clients side without cookie file, if downloaded successfully The offline download in download server side is then carried out, the download in browser clients side is carried out if failed download.

Alternatively, in browser client of the present invention, the first collection threshold marker is to fix to be located to be somebody's turn to do The side of the address field of webpage.

Alternatively, in browser client of the present invention, the kernel component loads in browser client Second collection threshold marker of the first kind web page element, the second collection threshold marker is positioned at the address of the webpage The lower section on column.

A kind of device for preserving web page element is additionally provided according to an aspect of the present invention, including:One identification module, is used In recognizing the first kind web page element in current loading webpage;One loading module, it loads institute in browser client State the first collection threshold marker of first kind web page element;Information module, for receiving for the described first collection entrance The triggering information of mark;Module is preserved, by least web page element in first kind web page element in browser client Server side corresponding to browser client is uploaded to be preserved.

Alternatively, in device of the present invention, described information module is further used for:Threshold marker is collected first Show the description information of the first kind web page element.

Alternatively, in device of the present invention, the description information includes element type, in the current web page Position, the source address and element description information and quantity of element.

Alternatively, in device of the present invention, the element type include picture, video, download file link, Or web page interlinkage.

Alternatively, in device of the present invention, the preservation module includes:Module is selected, in display window Load and select a wherein at least web page element to be preserved in the thumbnail of the caching figure of the first kind web page element;Safety Module, the scan operation of safety is carried out before preserving for the security attribute to each web page element, for link, text Number of packages carries out security sweep according to itself, and provides the result of scanning.

Alternatively, in device of the present invention, the type of the first kind web page element is more than for picture pixels The picture of 400X300 pixels.

Alternatively, in device of the present invention, described information module includes:First obtains module, works as obtaining The sectional drawing of the preceding page, one display window of ejection loading on the sectional drawing;First collects module, for performing scroll bar behaviour on backstage Make, the current page is traveled through, to collect first kind web page element;First loading module, for being loaded in the display window The thumbnail of the caching figure of the first kind web page element.

Alternatively, in device of the present invention, the identification module is further used for:Recognize current loading webpage In Second Type web page element, wherein Second Type web page element can be video, download file link or webpage chain Connect.

Alternatively, in device of the present invention, wherein Second Type web page element is video, and described information module is also Including:Second obtains module, for obtaining the sectional drawing of current page, one display window of ejection loading on the sectional drawing;Second searches Collect module, for performing scroll bar operation on backstage, the current page is traveled through, to collect Second Type web page element;Second Module is loaded, for loading the description information of the Second Type web page element in the display window, wherein the Second Type The description information of web page element includes:The thumbnail of word description or video interception.

Alternatively, in device of the present invention, wherein Second Type web page element is the link for downloading file, described Information module also includes:Second obtains module, for obtaining the sectional drawing of current page, one display window of ejection loading on the sectional drawing Mouthful;Second collects module, for performing scroll bar operation on backstage, the current page is traveled through, to collect Second Type webpage Element;Second loading module, for loading description information or the download of the Second Type web page element in the display window The title of file.

Alternatively, in device of the present invention, wherein Second Type web page element is web page interlinkage, described information mould Group also includes:Second obtains module, for obtaining the sectional drawing of current page, one display window of ejection loading on the sectional drawing;The Two collect module, for performing scroll bar operation on backstage, the current page are traveled through, to collect Second Type web page element; Second loading module, for loading the description information of the Second Type web page element, Second Type webpage in the display window The description information of element includes:The thumbnail of the webpage either SNAPSHOT INFO of the heading message of webpage or webpage.

Alternatively, in device of the present invention, the preservation module also includes:Module is logged in, for according to current The user identity information of browser client signs in server side, and the login module is further used for:Browsed described in detection The legal Token whether device client has login user is identified, if then writing direct the legal token marks described In the cookie file of network address corresponding to server side, when signing in server side, the Cookie texts are written to Effective Token marks in part are sent to server side request and carry out register.

Alternatively, in device of the present invention, the preservation module also includes:Module is uploaded, please for that will download Information is asked to upload to the server side, wherein the URL that the download request information comprises at least first kind web page element believes Breath, so that the server side downloads the first kind web page element offline using the URL information.

Alternatively, in device of the present invention, the server side is according to the URL of the first kind web page element Under information judges the download protocol type of the first kind web page element, and use is corresponding with the download protocol type Server is carried, the first kind web page element is downloaded according to the URL information.

Alternatively, in device of the present invention, the preservation module also includes:Judge module, it is described for judging First kind web page element is seed BT files;Module is handled, for parsing the BT files and obtaining in its description information URL information, and the URL information is uploaded to the server side;Or the BT files are uploaded to the server side, so as to The server side parses the BT files and obtains the URL information in its description information;Or the browser client is direct By the BT file downloads to local, and the BT files are uploaded to the server side.

Alternatively, in device of the present invention, the preservation module also includes:Module is calculated, it is described for calculating The identification information of download request information simultaneously uploads to the server side, and the server side is sentenced according to the identification information received Whether disconnected local is stored with the resource of corresponding first kind web page element, and the server side is directly by the first kind if having Type web page element dumps to the browser client.

Alternatively, in device of the present invention, the preservation module also includes:Download perform module, for from Before line is downloaded, the download under being performed in the browser clients side without cookie file, carried out if downloading successfully The offline download of download server side, the download in browser clients side is carried out if failed download.

Alternatively, in device of the present invention, the first collection threshold marker is fixed positioned at the ground of the webpage The side on location column.

Alternatively, in device of the present invention, the loading module is further used for:Add in browser client The second collection threshold marker of the first kind web page element is carried, the second collection threshold marker is positioned at the ground of the webpage The lower section on location column.

According to the technical scheme of the preservation web page element of the present invention, can realize to certain types of web page element on webpage Quick identification, also, in browser client loading for the collection entrance of certain types of web page element that recognizes Mark, and after the triggering information to collecting threshold marker is received, by (using in particular type web page element in current web page Family) named web page element side of uploading onto the server preserved, realize the cloud storage of particular type web page element.

Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention, And can be practiced according to the content of specification, and in order to allow above and other objects of the present invention, feature and advantage can Become apparent, below especially exemplified by the embodiment of the present invention.

Brief description of the drawings

By reading the detailed description of hereafter preferred embodiment, it is various other the advantages of and benefit it is common for this area Technical staff will be clear understanding.Accompanying drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention Limitation.And in whole accompanying drawing, identical part is denoted by the same reference numerals.In the accompanying drawings:

Fig. 1 shows the flow chart of the method for preservation web page element according to an embodiment of the invention;

Fig. 2A shows the browser clients of the loading according to an embodiment of the invention first collection threshold marker The schematic diagram of end window mouth;

Fig. 2 B show the browser visitor of the loading in accordance with another embodiment of the present invention first collection threshold marker The schematic diagram of family end window mouth;

Fig. 2 C show the loading in accordance with another embodiment of the present invention first collection threshold marker and the second collection The schematic diagram of the browser client window of threshold marker;

Fig. 3 shows that the triggering according to an embodiment of the invention received for the described first collection threshold marker is believed The flow chart of the step of breath, wherein, the type of first kind web page element is picture of the picture pixels greatly with 400X300 pixels;

Fig. 4 A show according to an embodiment of the invention in the display window loading first kind web page element Caching figure thumbnail when schematic diagram;

Fig. 4 B show the slow of the first kind web page element in loading current web page according to an embodiment of the invention Deposit the display window of the description information of Second Type web page element in the display window and loading current web page of the thumbnail of figure Schematic diagram;

Fig. 5 shows browser client according to an embodiment of the invention;And

Fig. 6 shows the block diagram of the device of preservation web page element according to an embodiment of the invention.

Embodiment

The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in accompanying drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here Limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure Completely it is communicated to those skilled in the art.

As shown in figure 1, Fig. 1 is the flow chart of the method for preservation web page element according to an embodiment of the invention.

At step S110, the first kind web page element in current loading webpage is recognized.

Specifically, the type of the first kind web page element can be configured in advance, i.e. preset the first kind The element type of type web page element, wherein, the element type can include:Picture, video, the link for downloading file, webpage Link etc..For example, when user opens a webpage, the first kind web page element that the webpage is included is identified.

At step S120, the first collection entrance mark of the first kind web page element is loaded in browser client Note.

Wherein, the first collection threshold marker for loading the first kind web page element further shows the first kind The description information of web page element, to prompt user to be preserved to first kind web page element.The description information can be with The source address and element description information and quantity of position, element including element type, in the current web page.For example, the The element type of one type web page element is picture, and the picture number recognized in current loading webpage is 16, then this first Element type " picture " and picture number " 16 " are shown in collection threshold marker.

According to one embodiment of present invention, the first collection threshold marker can be located at browser window tab bar Lower section, with reference to figure 2A, Fig. 2A shows the of the loading in accordance with another embodiment of the present invention first kind web page element The schematic diagram of the browser client window of one collection threshold marker, as shown in Figure 2 A, according to one embodiment of present invention, should First collection threshold marker is located at the lower section of browser window tab bar, and covers the top of currently displayed loading webpage, and And the description information of the first kind web page element currently recognized is also further shown on the first collection threshold marker, That is, " 16 big figure " in Fig. 2A.

According to another embodiment of the invention, the first collection threshold marker can be fixed positioned at the address of the webpage The side on column.Such as refer to shown in Fig. 2 B, Fig. 2 B show the loading first kind according to an embodiment of the invention The schematic diagram of the browser client window of first collection threshold marker of web page element, as shown in Figure 2 B, according to the present invention's One embodiment, the first collection threshold marker are located on the right side of the address field of the webpage, wherein in the first collection threshold marker On have one " cloud " mark, also, this first collection threshold marker on also further show currently recognize first The description information of types of web pages element, i.e. " 16 big figure " in Fig. 2 B, represent element type " big figure " and quantity " 16 ".

Alternatively, based on this, second that the first kind web page element can also be loaded in browser client is received Threshold marker is hidden, the second collection threshold marker is the lower section of the address field positioned at the webpage, for example, referring to Fig. 2 C, schemed 2C shows the first collection threshold marker and the of the loading according to an embodiment of the invention first kind web page element The schematic diagram of the browser client window of two collection threshold markers, wherein, the first collection threshold marker is located at the webpage On the right side of address field, the second collection threshold marker can be located at the lower section of the tab bar below address field, and cover to be shown in and work as The top of preceding loading webpage, and wherein, the second collection threshold marker can further show the first kind webpage The description information of element.

It should be understood that the position of the first collection threshold marker and the second collection threshold marker is not limited to above-described embodiment Described in position, as required, it is heretofore described first collection threshold marker and second collection threshold marker can add Load is shown in any appropriate position in browser window.

At step S130, the triggering information for the described first collection threshold marker is received.

Specifically, for the triggering information of the described first collection threshold marker, such as can be to utilize touch-control focus pair The click of first collection threshold marker, so as to receive the triggering information for the first collection threshold marker.Touch-control focus is for example Can be the operational controls of user, for example, by the cursor of mouse control, pass through touch point that Touch Screen controls etc..First Collect threshold marker when being activated (for example, mouse-over first collection threshold marker on or mouse click on first collect into During mouth mark), from having different display effects before being activated, for example, the first collection threshold marker shows for dead color before activation, First collection threshold marker of state of activation is to highlight display.

Next, at step 140, by least webpage member in first kind web page element in browser client Element uploads to server side corresponding to browser client and preserved.

In other words, after receiving for the triggering information of the described first collection threshold marker, by first kind net An at least web page element in page element uploads to server side corresponding to browser client and preserved.Wherein, described An at least web page element in one type web page element can be browser client be selected in first kind web page element to A few web page element.

According to one embodiment of present invention, at least web page element in first kind web page element is uploaded to and browsed The step of server side corresponding to device client is preserved can include:The first kind webpage member is loaded in display window A wherein at least web page element is selected to be preserved in the thumbnail of the caching figure of element.

Specifically, can when receiving the triggering information for the described first collection threshold marker at step S130 The thumbnail of the caching figure of first kind web page element described in a display window loaded and displayed is loaded with browser window front end, and A selection wherein at least web page element is preserved.More specifically, it for example can be to use to select a wherein at least web page element The web page element that family selects in display window according to the thumbnail of the caching figure of the first kind web page element of display, from And the selection of user is received, and the web page element side of uploading onto the server that user selects is preserved.

Wherein, if the type of first kind web page element is picture, the caching figure of the first kind web page element is figure The caching figure of piece;If the type of first kind web page element is video, the caching figure of the first kind web page element is video Description information caching figure or video interception caching figure;If the type of first kind web page element links to download file, Then the caching figure of the first kind web page element is the caching figure downloaded the description information of file or download the title of file;If The type of first kind web page element is the link of webpage, then the caching figure of the first kind web page element is the caching figure of webpage Or the heading message of webpage or the caching figure of SNAPSHOT INFO.The security attribute of each web page element can protected Security sweep operation is carried out before depositing, to ensure the security of the picture of collection, link, file, also, for link, number of files Security sweep is carried out according to itself, and provides the result of (display) scanning.

According to one embodiment of present invention, at least web page element in first kind web page element is uploaded to and browsed Server side corresponding to device client is preserved, in addition to:User identity information according to current browser client logs in The step of to server side.That is, in the case where browser clients end subscriber signs in server side, according to user's An at least web page element in the first kind web page element of selection is uploaded to clothes corresponding to browser client by identification information Business device side is preserved.

Specifically, the step of user identity information according to current browser client signs in server side can enter one Step includes following sub-step:

First, the legal Token whether detect the browser client has login user is identified, if then by described in Legal Token marks are write direct in the Cookie files of network address corresponding to the server side.

Then, when signing in server side, the effective Token marks being written in the Cookie files are sent to Server side request carries out register.In other words, the effective Token marks being written in the Cookie files are with stepping on Record request is sent collectively to server side request and carries out register.

It should be noted that the login user legal Token mark can be server-assignment to the unique of user Identification information, such as the identification information with the account information unique match of user.It should be appreciated that legal Token marks in the present invention Know not limited to this.

The method that preservation web page element according to embodiments of the present invention is described above in association with Fig. 1, Fig. 2A, Fig. 2 B, Fig. 2 C Idiographic flow.With reference to the preservation webpage member of Fig. 1, Fig. 3, Fig. 4 A, Fig. 4 B description according to another embodiment of the invention The idiographic flow of the method for element.

As shown in figure 1, at step S110, the first kind web page element in current loading webpage is recognized.

Wherein, the type of the first kind web page element is the picture that picture pixels are more than 400X300 pixels, recognizes and works as The step of first kind web page element in preceding loading webpage, further comprises:Recognize the Second Type in current loading webpage Web page element, wherein Second Type web page element can be video, the link or web page interlinkage of downloading file.In other words, exist When recognizing the first kind web page element in current loading webpage, the Second Type webpage in current loading webpage is also identified Element.

At step S120, the first collection entrance mark of the first kind web page element is loaded in browser client Note.

Wherein, the first collection threshold marker of the first kind web page element further shows the first kind webpage The description information of element and the Second Type web page element.The description information can include element type, work as described The source address and element description information and quantity of position, element in preceding webpage.

Alternatively, the second collection entrance mark of the Second Type web page element can also be loaded in browser client Note, the second collection threshold marker can further show the description information of the Second Type web page element.Described Two collection threshold markers can be located at the lower section of the address field of the webpage, such as can be located under the tab bar below address field Side, and cover the top of currently displayed loading webpage.

It should be understood that the first collection threshold marker of the first kind web page element and the Second Type web page element The position of the second collection threshold marker be not limited to position described in above-described embodiment, it is as required, heretofore described First collection threshold marker and second collection threshold marker can with loaded and displayed in browser window any appropriate position.

At step S130, the triggering information for the described first collection threshold marker is received.

Wherein, the triggering information for the described first collection threshold marker received, such as can be burnt using touch-control O'clock to first collection threshold marker click.Touch-control focus can for example be the operational controls of user, such as pass through mouse control Cursor, pass through touch point etc. that Touch Screen controls.

With reference to figure 3, Fig. 3 shows according to an embodiment of the invention receive for the described first collection threshold marker Triggering information the step of flow chart.As shown in figure 3, step S130 may further include step S310~S330.

Step S310, obtain the sectional drawing of current page, and one display window of ejection loading on the sectional drawing.

Specifically, the sectional drawing of the current page of acquisition can be covered in browser content area, i.e. covering current web page The viewing area in addition to web page tag being shown on screen.Wherein, the sectional drawing sectional drawing of current page is covered in browser Content regions, and in one display window of ejection loading on the sectional drawing, in addition to the display window, browser window other parts are all located In inoperable state.

Step S320, scroll bar operation is performed on backstage, travels through the current page, to collect first kind webpage member Element.

Step S330, the thumbnail of the caching figure of the first kind web page element is loaded in the display window.Reference chart 4A, Fig. 4 A show the schematic diagram when the display window loads the thumbnail of the caching figure of the first kind web page element. That is, the contracting of the caching figure for the first kind web page element collected in display window loading by performing step S320 Sketch map.Also, user can choose in the thumbnail of the caching figure of the first kind web page element of loading and oneself preserve Web page element, to treat subsequently to upload onto the server, side is preserved.

As it was previously stated, the step of recognizing the first kind web page element in current loading webpage (step S110) can enter One step includes:The step of recognizing the Second Type web page element in current loading webpage, wherein Second Type web page element can To be video, download the link or web page interlinkage of file, then the triggering information for the described first collection threshold marker is received The step of can further include step in following embodiment.

According to one embodiment of present invention, wherein Second Type web page element can be video, then receives described touch The step of photos and sending messages, may further include:Obtain the sectional drawing of current page, and one display window of ejection loading on the sectional drawing; Scroll bar operation is performed on backstage, the current page is traveled through, to collect Second Type web page element;And add in the display window The description information of the Second Type web page element is carried, wherein the description information of the Second Type web page element includes:Word Description or the thumbnail of video interception.

According to another embodiment of the invention, wherein Second Type web page element can be the link for downloading file, then The step of receiving the triggering information may further include:The sectional drawing of current page is obtained, and ejection adds on the sectional drawing Carry a display window;Scroll bar operation is performed on backstage, the current page is traveled through, to collect Second Type web page element;And The description information of the Second Type web page element is loaded in the display window or downloads the title of file.

According to still a further embodiment, wherein Second Type web page element can be web page interlinkage, then receives The step of triggering information, may further include:The sectional drawing of current page is obtained, and ejection loading one is aobvious on the sectional drawing Show window;Scroll bar operation is performed on backstage, the current page is traveled through, to collect Second Type web page element;It is and aobvious at this Show that window loads the description information of the Second Type web page element, wherein, the description information of the Second Type web page element Including:The thumbnail of the webpage either SNAPSHOT INFO of the heading message of webpage or webpage.

It should be noted that the caching figure of the first kind web page element in the loading current web page can be loaded simultaneously The display window of the description information of Second Type web page element in the display window of thumbnail and the loading current web page, its In, the description of the display window and loading Second Type web page element of the thumbnail of the caching figure of loading first kind web page element Information display window can be shown in browser window side by side, and what can also be forward lapped is shown in browser window, when During overlapping display, it is preferable that the window of loading first kind web page element is shown in screen front end, and completely or partially covers The display window of the loading Second Type web page element is covered, refers to Fig. 4 B, Fig. 4 B are shown according to one embodiment of the invention Loading current web page in first kind web page element caching figure thumbnail display window and loading current web page in The schematic diagram of the display window of the description information of Second Type web page element, it can be seen that in figure 4b, two display window oral areas Divide and be overlappingly shown in browser window, wherein, the display window of the thumbnail of the caching figure of loading first kind web page element Mouth is in the front end of browser window.

At step 140, at least web page element in first kind web page element is uploaded in browser client Preserved to server side corresponding to browser client.

In other words, after receiving for the triggering information of the described first collection threshold marker, by first kind net An at least web page element in page element uploads to server side corresponding to browser client and preserved.Wherein, described An at least web page element in one type web page element can be browser client be selected in first kind web page element to A few web page element, is specifically as follows the first kind web page element that user loads in the window of the loaded and displayed At least hypertonic sketch map selected in the thumbnail of caching figure.

Alternatively, at least web page element in first kind web page element is uploaded in browser client and browsed The step of server side corresponding to device client is preserved can further include:By in Second Type web page element extremely A few web page element uploads to server side corresponding to browser client and preserved.Wherein, the Second Type webpage member An at least web page element in element can be at least one webpage member that browser client selects in Second Type web page element Element.It is specifically as follows in the description information for the Second Type web page element that user loads in the window of the loaded and displayed and selects That selects is at least one.

According to one embodiment of present invention, at least web page element in first kind web page element is uploaded to and browsed The step of server side corresponding to device client is preserved (step S140), it can also include:Download request information is uploaded To the server side, wherein the download request information comprises at least the URL information of first kind web page element, so that described Server side downloads the first kind web page element offline using the URL information.That is, uploaded not directly to server The web page element, but the URL information of the first kind web page element is uploaded onto the server side, so that server side was using should URL information downloads the first kind web page element offline.

Wherein, the step of server side downloads the first kind web page element using the URL information can enter one Step includes:The download protocol class of the first kind web page element is judged according to the URL information of the first kind web page element Type;The first kind is downloaded using the download server corresponding with the download protocol type, and according to the URL information Web page element.

Based on this, the method for the preservation web page element can also comprise the following steps:Judge the first kind webpage member Element is seed BT files;The browser client parses the BT files and obtains the URL information in its description information, and will The URL information is uploaded to the server side;Or the BT files are uploaded to the server side by the browser client, So that the server side parses the BT files and obtains the URL information in its description information;Or the browser client Directly by the BT file downloads to local, and the BT files are uploaded to the server side.

Alternatively, before the step of download request information is uploaded into the server side, can also include with Lower step:Calculate the identification information of the download request information and upload to the server side, the server side is according to connecing Whether the identification information judgment received is locally stored with the resource of corresponding first kind web page element, the server if having The first kind web page element is directly dumped to the browser client by side.

Specifically, MD5 algorithms (Message Digest Algorithm 5) can be utilized to the first kind in download request information The URL information of web page element is calculated, and obtains identification information (that is, the first kind web page element of download request information Identification information) and side of uploading onto the server.Server is according to the identification information and the first kind webpage for being stored in server side The identification information (the MD5 values that wherein, the identification information is the URL of first kind web page element) of the resource of element is compared Afterwards, determine whether server side is stored with the resource of corresponding first kind web page element, directly by first kind net if having Browser client local side is arrived in the quick unloading of resource (second biography) of page element;Otherwise, server is according to first kind webpage member The URL of element, downloaded offline from data server where the resource of the first kind web page element.

Alternatively, before offline download, i.e. use the URL information of first kind web page element in the server side Before downloading the first kind web page element offline, under under browser clients side execution is without cookie file Carry, the offline download in download server side is carried out if downloading successfully, is carried out if failed download in browser clients The download of side.In other words, before server side download offline, in browser clients side, advanced row is without cookie Download environment simulation (simulating the request once), to determine whether offline download can succeed, wherein, if without under cookie Download success, then carry out download server side offline download, if without the failed download under cookie, can not carry out The offline download of first server side, can only be downloaded in client-side.

The present invention also provides a kind of browser client.

As shown in figure 5, browser client 500 provided by the invention includes:It is interface assembly 510, networking component 510, interior Nuclear component 530, download component 540, it further comprises:Trigger module 541, storage module 542.

Wherein, interface assembly 510, it is configured to the browser client and draws interactive interface, receives input and/or defeated Go out display and the information of user mutual;Networking component 520, it is configurable to please by the network that interface assembly triggering is initiated Ask, recognize the first kind web page element in current loading webpage;Kernel component 530, it is configurable to handle the net The first kind web page element that network component recognition arrives, parsing render after in a browser page display area load the first kind First collection threshold marker of type web page element;Module 541 is triggered, can be used for receiving for the described first collection entrance mark The triggering information of note;Module 542 is stored, can be used for uploading at least web page element in first kind web page element clear Server side corresponding to device client of looking at is preserved.

In order to more specifically describe the present invention browser client each component, below we entered using instantiation Row description.

For example, it is that interface assembly 510 configures the browser client and draws interaction when user opens browser client Interface, when user opens a webpage, networking component 520 triggers the network request initiated by interface assembly, recognizes and works as First kind web page element in preceding loading webpage, the type of the first kind web page element can be configured in advance, i.e. The element type of first kind web page element is preset, wherein, the element type can include:Picture, video, lower published article The link of part, web page interlinkage etc..Kernel component 530 renders the first kind web page element parsing that networking component 520 recognizes Page display area loads the first collection threshold marker of the first kind web page element in a browser afterwards, to prompt user First kind web page element can be preserved, the first collection threshold marker for example can be with loaded and displayed in browser address The side on column, when user uses touch-control focus (such as by the cursor of mouse control, the touch point controlled by Touch Screen) When clicking on the first collection threshold marker, triggering module 541 receives the triggering information for the first collection threshold marker, deposits An at least web page element in first kind web page element is uploaded to server side corresponding to browser client by storage module 542 Preserved.Wherein, at least web page element in first kind web page element can be browser client in first kind net At least one web page element selected in page element, that is to say, that the web page element that storage module 542 selects browser client Side of uploading onto the server is preserved.

In the browser client 500 according to the present invention, download component 540 can also include:Information module, for First collection threshold marker shows the description information of the first kind web page element.Wherein, the description information includes element Type, the position in the current web page, the source address of element and element description information and quantity.

Alternatively, in browser client 500, download component 540 can also include:Select module and safe module.

Wherein, module is selected, the thumbnail of the caching figure for loading the first kind web page element in display window A middle selection wherein at least web page element is preserved;Safe module, entering for the security attribute to each web page element Row carries out the scan operation of safety before preserving, carry out security sweep in itself for link, file data, and provide the knot of scanning Fruit.Specifically, when receiving the triggering information for the described first collection threshold marker, it may browse through device window front end and add The thumbnail of the caching figure of first kind web page element described in a display window loaded and displayed is carried, and selects a wherein at least webpage Element is preserved.More specifically, it for example can be user's basis in display window to select a wherein at least web page element The web page element of the thumbnail selection of the caching figure of the first kind web page element of display, so as to receive the choosing of user Select, and the web page element side of uploading onto the server that user selects is preserved.

Alternatively, the kernel component 530 can also load the first kind web page element in browser client The second collection threshold marker, the second collection threshold marker is the lower section of the address field positioned at the webpage, for example, it can be with The lower section of tab bar below address field, and the top of currently displayed loading webpage is covered, and wherein, second receipts The description information of the first kind web page element can further be shown by hiding threshold marker.

Alternatively, the type of the first kind web page element is the picture that picture pixels are more than 400X300 pixels.Then clear Look in device client 500, download component 540 can also include:Obtain module and collect module.

Wherein, the sectional drawing that module can be used for obtaining current page is obtained, wherein the kernel component 530 is on the sectional drawing Ejection one display window of loading;Collect module to can be used for performing scroll bar operation on backstage, the current page is traveled through, to search Collect first kind web page element;Then wherein described kernel component 530 loads the first kind web page element in the display window Caching figure thumbnail.

Alternatively, in browser client 500, the networking component is configured to recognize current loading net Second Type web page element in page, wherein Second Type web page element can be video, the link for downloading file or webpage Link.

According to one embodiment of present invention, Second Type web page element is video, then download component 540 can also wrap Include:Obtain module and collect module.

Wherein, the sectional drawing that module can be used for obtaining current page is obtained, wherein the kernel component 530 is on the sectional drawing Ejection one display window of loading;Collect module to can be used for performing scroll bar operation on backstage, the current page is traveled through, to search Collect Second Type web page element;Wherein described kernel component 530 loads the Second Type web page element in the display window Description information, wherein the description information of the Second Type web page element includes:The thumbnail of word description or video interception.

According to another embodiment of the invention, Second Type web page element be download file link, download component 540 It can also include:Obtain module and collect module.

Wherein, the sectional drawing that module can be used for obtaining current page is obtained, wherein the kernel component 530 is on the sectional drawing Ejection one display window of loading;Collect module to can be used for performing scroll bar operation on backstage, the current page is traveled through, to search Collect Second Type web page element;Wherein described kernel component 530 loads the Second Type web page element in the display window Description information or the title for downloading file.

According to still a further embodiment, Second Type web page element is web page interlinkage, and download component 540 can be with Including:Obtain module and collect module.

Wherein, the sectional drawing that module can be used for obtaining current page is obtained, wherein the kernel component 530 is on the sectional drawing Ejection one display window of loading;Collect module to can be used for performing scroll bar operation on backstage, the current page is traveled through, to search Collect Second Type web page element;Wherein described kernel component 530 loads the Second Type web page element in the display window Description information, the description information of Second Type web page element include:The heading message or net of the thumbnail of webpage either webpage The SNAPSHOT INFO of page.

It should be noted that the caching figure of the first kind web page element in the loading current web page can be loaded simultaneously The display window of the description information of Second Type web page element in the display window of thumbnail and the loading current web page, its In, the description of the display window and loading Second Type web page element of the thumbnail of the caching figure of loading first kind web page element Information display window can be shown in browser window side by side, and what can also be forward lapped is shown in browser window, when During overlapping display, it is preferable that the window of loading first kind web page element is shown in screen front end, and completely or partially covers Cover the display window of the loading Second Type web page element.

According to one embodiment of present invention, in browser client 500, download component 540 can also include:Log in Module, sign in server side for the user identity information according to current browser client.The login module is further For:The legal Token whether detect the browser client has login user is identified, if then will be described legal Token marks are write direct in the cookie file of network address corresponding to the server side, when signing in server side, The effective Token marks being written in the Cookie files are sent to server side request and carry out register.

Alternatively, in browser client 500, download component 540 can also include:Module is uploaded, for that will download Solicited message uploads to the server side, wherein the download request information comprises at least the URL of first kind web page element Information, so that the server side downloads the first kind web page element offline using the URL information.It is that is, not straight Connect to server and upload the web page element, but upload module and the URL information of the first kind web page element is uploaded into service Device side, so that server side downloads the first kind web page element offline using the URL information.

Wherein, the server side judges the first kind net according to the URL information of the first kind web page element The download protocol type of page element, and the download server corresponding with the download protocol type is used, believed according to the URL Breath downloads the first kind web page element.

Based on this, download component 540 can also include:Judge module and processing module.

Wherein, module is judged, for judging the first kind web page element for seed BT files;Module is handled, is used for Parse the BT files and obtain the URL information in its description information, and the URL information is uploaded to the server side;Or The BT files are uploaded to the server side, so that the server side parses the BT files and obtains its description information In URL information;Or the browser client directly by the BT file downloads to local, and the BT files are uploaded to The server side.

Alternatively, in browser client 500, download component 540 also includes:Calculate module, for calculate it is described under Carry the identification information of solicited message and upload to the server side, the server side is according to the identification information judgment received The local resource for whether being stored with corresponding first kind web page element, the server side is directly by the first kind if having Web page element dumps to the browser client.

Specifically, the URL information of the first kind web page element in download request information can be carried out using MD5 algorithms Calculate, obtain the identification information (that is, the identification information of the first kind web page element) of download request information and upload to service Device side.Server is according to the identification information and the identification information of the resource for the first kind web page element for being stored in server side After (the MD5 values that wherein identification information is the URL of first kind web page element) is compared, determine whether server side stores There is the resource of corresponding first kind web page element, directly by the resource of the first kind web page element quick unloading (second if having Pass) arrive browser client local side;Otherwise, server is according to the URL of first kind web page element, from the first kind webpage Data server where the resource of element is downloaded offline.

Alternatively, in browser client 500, download component 540 also includes:Download and perform module, for offline Before download, the download under being performed in the browser clients side without cookie file, carried out if downloading successfully under The offline download of server side is carried, the download in browser clients side is carried out if failed download.In other words, download is held Row module is before server side download offline, download environment simulation of the advanced row without cookie in browser clients side (simulating the request once), to determine whether offline download can succeed, wherein, if successful without the download under cookie, The offline download in download server side is carried out, if without the failed download under cookie, first server side can not be carried out Offline download, can only be downloaded in client-side.

Present invention also offers a kind of device for preserving web page element.As shown in fig. 6, Fig. 6 is implemented according to the present invention one The structured flowchart of the device 600 of the preservation web page element of example.

According to the present invention, the device 600 of web page element is preserved, can be included:Identify module 610, loading module 620, letter Cease module 630 and preserve module 640.

Wherein, identification module 610 can be used for recognizing the first kind web page element in current loading webpage;Load mould Group 620, it can load the first collection threshold marker of the first kind web page element in browser client;Information mould Group 630 can be used for receiving the triggering information for the described first collection threshold marker;And preserve module 640 and can be used for At least web page element in first kind web page element is uploaded to corresponding to browser client in browser client Server side is preserved.

In the device 600 according to the preservation web page element of the present invention, described information module 630 can be further used for First collection threshold marker shows the description information of the first kind web page element.

In the device 600 according to the preservation web page element of the present invention, the description information includes element type, described The source address and element description information and quantity of position, element in current web page.

In the device 600 according to the preservation web page element of the present invention, the element type includes picture, video, download The link or web page interlinkage of file.

In the device 600 according to the preservation web page element of the present invention, the preservation module 640 can also include:Selection Module and safe module.

Wherein, selection module can be used for the breviary that the caching figure of the first kind web page element is loaded in display window A wherein at least web page element is selected to be preserved in figure;Safe module can be used for the security attribute to each web page element The scan operation of safety is carried out before being preserved, security sweep is carried out in itself for link, file data, and provides scanning As a result.

According to one embodiment of present invention, in the device 600 of the preservation web page element, the first kind web page element Type can be picture pixels be more than 400X300 pixels picture.

In the device 600 of the preservation web page element, information module 630 can also include:First acquisition module, first are searched Collect module and the first loading module.

Wherein, the first acquisition module can be used for the sectional drawing for obtaining current page, the display of ejection loading one on the sectional drawing Window;First collection module can be used for performing scroll bar operation on backstage, the current page be traveled through, to collect the first kind Web page element;First loading module can be used for the contracting that the caching figure of the first kind web page element is loaded in the display window Sketch map.

In the device 600 according to the preservation web page element of the present invention, the identification module 610 is further used for:Identification To the Second Type web page element in current loading webpage, wherein Second Type web page element can be video, download file Link or web page interlinkage.

According to one embodiment of present invention, in the device 600 of the preservation web page element, Second Type web page element is Video, described information module 630 can also include:Second obtains module, the second collection module and the second loading module.

Wherein, the second acquisition module can be used for the sectional drawing for obtaining current page, the display of ejection loading one on the sectional drawing Window;Second collection module can be used for performing scroll bar operation on backstage, the current page be traveled through, to collect Second Type Web page element;Second loading module can be used for the description information that the Second Type web page element is loaded in the display window, The description information of wherein described Second Type web page element includes:The thumbnail of word description or video interception.

According to another embodiment of the invention, in the device 600 of the preservation web page element, Second Type web page element It is the link for downloading file, described information module 630 can also include:Win the second place and obtain module, the second collection module and second Load module.

Wherein, the second acquisition module can be used for the sectional drawing for obtaining current page, the display of ejection loading one on the sectional drawing Window;Second collects module, for performing scroll bar operation on backstage, the current page is traveled through, to collect Second Type net Page element;Second loading module, for loaded in the display window Second Type web page element description information or under The title of published article part.

According to still a further embodiment, in the device 600 of the preservation web page element, Second Type web page element It is web page interlinkage, described information module 630 can also include:Second obtains module, the second collection module and the second loading module.

Wherein, the second acquisition module can be used for the sectional drawing for obtaining current page, the display of ejection loading one on the sectional drawing Window;Second collection module can be used for performing scroll bar operation on backstage, the current page be traveled through, to collect Second Type Web page element;Second loading module, for loading the description information of the Second Type web page element in the display window, second The description information of types of web pages element includes:The thumbnail of the webpage either SNAPSHOT INFO of the heading message of webpage or webpage.

In the device 600 according to the preservation web page element of the present invention, the preservation module 640 can also include:Log in Module, for signing in server side according to the user identity information of current browser client, the login module can enter One step is used for:The legal Token whether detect the browser client has login user is identified, if then will be described legal Token marks are write direct in the cookie file of network address corresponding to the server side, when signing in server side, The effective Token marks being written in the Cookie files are sent to server side request and carry out register.

In the device 600 according to the preservation web page element of the present invention, the preservation module 640 can also include:Upload Module, for download request information to be uploaded into the server side, wherein the download request information comprises at least the first kind The URL information of type web page element, so that the server side downloads the first kind webpage member offline using the URL information Element.

In the device 600 according to the preservation web page element of the present invention, the server side is according to the first kind net The URL information of page element judges the download protocol type of the first kind web page element, and use and the download protocol class The corresponding download server of type, the first kind web page element is downloaded according to the URL information.

In the device 600 according to the preservation web page element of the present invention, the preservation module 640 can also include:Judge Module and processing module.

Wherein, judge that module can be used for judging the first kind web page element for seed BT files;Handling module can For parsing the BT files and obtaining the URL information in its description information, and the URL information is uploaded to the server Side;Or the BT files are uploaded to the server side, retouched so that the server side parses the BT files and obtains it State the URL information in information;Or the browser client directly by the BT file downloads to local, and by the BT files It is uploaded to the server side.

In the device 600 according to the preservation web page element of the present invention, the preservation module 640 can also include:Calculate Module, it can be used for calculating the identification information of the download request information and upload to the server side, the server side Whether corresponding to being locally stored with according to the identification information judgment received the resource of first kind web page element, described if having The first kind web page element is directly dumped to the browser client by server side.

In the device 600 according to the preservation web page element of the present invention, the preservation module 640 can also include:Download Module is performed, can be used for before offline download, the download under being performed in the browser clients side without cookie file, The offline download in download server side is carried out if downloading successfully, is carried out if failed download in browser clients side Download.

According to one embodiment of present invention, in the device 600 of the preservation web page element, the first collection entrance mark Note is the side of the fixed address field positioned at the webpage.

In the 600 of the preservation web page element, the loading module is further used for loading institute in browser client The second collection threshold marker of first kind web page element is stated, the second collection threshold marker is the address field positioned at the webpage Lower section.

The method shown in earlier figures 1 to Fig. 4 B is essentially corresponded to by the function that the device of the present embodiment is realized to implement Example, therefore not detailed part in the description of the present embodiment, may refer to the related description in previous embodiment, will not be described here.

Algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment provided herein. Various general-purpose systems can also be used together with teaching based on this.As described above, required by constructing this kind of system Structure be obvious.In addition, the present invention is not also directed to any certain programmed language.It should be understood that it can utilize various Programming language realizes the content of invention described herein, and the description done above to language-specific is to disclose this hair Bright preferred forms.

In the specification that this place provides, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention Example can be put into practice in the case of these no details.In some instances, known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this description.

Similarly, it will be appreciated that in order to simplify the disclosure and help to understand one or more of each inventive aspect, Above in the description to the exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor The application claims of shield features more more than the feature being expressly recited in each claim.It is more precisely, such as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following embodiment are expressly incorporated in the embodiment, wherein each claim is in itself Separate embodiments all as the present invention.

Those skilled in the art, which are appreciated that, to be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more equipment different from the embodiment.Can be the module or list in embodiment Member or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or Sub-component.In addition at least some in such feature and/or process or unit exclude each other, it can use any Combination is disclosed to all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so to appoint Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (including adjoint power Profit requires, summary and accompanying drawing) disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation Replace.

In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included some features rather than further feature, but the combination of the feature of different embodiments means in of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed One of meaning mode can use in any combination.

The all parts embodiment of the present invention can be realized with hardware, or to be run on one or more processor Software module realize, or realized with combinations thereof.It will be understood by those of skill in the art that it can use in practice Microprocessor or digital signal processor (DSP) are realized in the device of preservation web page element according to embodiments of the present invention The some or all functions of some or all parts.The present invention is also implemented as being used to perform method as described herein Some or all equipment or program of device (for example, computer program and computer program product).Such reality The program of the existing present invention can store on a computer-readable medium, or can have the form of one or more signal. Such signal can be downloaded from internet website and obtained, and either be provided or in the form of any other on carrier signal There is provided.

It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between bracket should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of some different elements and being come by means of properly programmed computer real It is existing.In if the unit claim of equipment for drying is listed, several in these devices can be by same hardware branch To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and run after fame Claim.

Embodiments of the invention disclose A1, a kind of method for preserving web page element, including:Recognize current loading webpage In first kind web page element;The first collection entrance mark of the first kind web page element is loaded in browser client Note;Receive the triggering information for the described first collection threshold marker;By first kind webpage member in browser client An at least web page element in element uploads to server side corresponding to browser client and preserved.A2, according to A1 Method, it is characterised in that the first collection threshold marker for loading the first kind web page element further shows described first The description information of types of web pages element.A3, the method according to A2, it is characterised in that the description information includes element class Type, the position in the current web page, the source address of element and element description information and quantity.A4, the side according to A3 Method, it is characterised in that the element type includes picture, video, the link or web page interlinkage for downloading file.A5, according to A1 Described method, it is characterised in that at least web page element in first kind web page element is uploaded into browser client Corresponding server side, which carries out preservation, to be included:The thumbnail of the caching figure of the first kind web page element is loaded in display window A middle selection wherein at least web page element is preserved;The security attribute of each web page element can be before being preserved The scan operation of safety is carried out, security sweep is carried out in itself for link, file data, and provides the result of scanning.A6, basis Any described methods of A1-A5, it is characterised in that the type of the first kind web page element is that picture pixels are more than 400X300 The picture of pixel.A7, the method according to A6, it is characterised in that receive the triggering information and further comprise:Obtain and work as The sectional drawing of the preceding page, and one display window of ejection loading on the sectional drawing;Scroll bar operation is performed on backstage, is traveled through described current The page, to collect first kind web page element;And the caching figure of the first kind web page element is loaded in the display window Thumbnail.A8, the method according to A6, it is characterised in that recognize the first kind web page element in current loading webpage The step of further comprise:Recognize the Second Type web page element in current loading webpage, wherein Second Type web page element Link or web page interlinkage including video, download file.A9, the method according to A8, wherein Second Type web page element It is video, receives the triggering information and further comprise:Obtain the sectional drawing of current page, and the ejection loading one on the sectional drawing Display window;Scroll bar operation is performed on backstage, the current page is traveled through, to collect Second Type web page element;And at this Display window loads the description information of the Second Type web page element, wherein the description information of the Second Type web page element Including:The thumbnail of word description or video interception.A10, the method according to A8, wherein Second Type web page element are The link of file is downloaded, the triggering information is received and further comprises:Obtain the sectional drawing of current page, and the bullet on the sectional drawing Go out one display window of loading;Scroll bar operation is performed on backstage, travels through the current page, to collect Second Type webpage member Element;And load the description information of the Second Type web page element in the display window or download the title of file.A11, root According to the method described in A8, wherein Second Type web page element is web page interlinkage, receives the triggering information and further comprises:Obtain Take the sectional drawing of current page, and one display window of ejection loading on the sectional drawing;Scroll bar operation is performed on backstage, described in traversal Current page, to collect Second Type web page element;And load the description of the Second Type web page element in the display window Information, the description information of Second Type web page element include:The thumbnail of the webpage either heading message of webpage or webpage SNAPSHOT INFO.A12, the method according to A1, wherein at least web page element in first kind web page element is uploaded to Server side is preserved corresponding to browser client, in addition to:User identity information according to current browser client Sign in server side, it further comprises:The legal Token whether detect the browser client has login user is marked Know, if then the legal token marks are write direct in the cookie file of network address corresponding to the server side, When signing in server side, the effective Token marks being written in the Cookie files are sent to server side request Carry out register.A13, the method according to A1, wherein by first kind web page element at least on a web page element Server side corresponding to browser client is passed to be preserved, in addition to:Download request information is uploaded into the server Side, wherein the download request information comprises at least the URL information of first kind web page element, so that the server side uses The URL information downloads the first kind web page element offline.A14, the method according to A13, wherein, the server side The step of first kind web page element being downloaded using the URL information, including:According to the first kind web page element URL information judges the download protocol type of the first kind web page element;Using corresponding with the download protocol type Download server, and the first kind web page element is downloaded according to the URL information.A15, the method according to A14, its In, in addition to:Judge the first kind web page element for seed BT files;The browser client parses the BT files And the URL information in its description information is obtained, and the URL information is uploaded to the server side;Or the browser clients The BT files are uploaded to the server side by end, so that the server side parses the BT files and obtains its description letter URL information in breath;Or the browser client uploads directly by the BT file downloads to local, and by the BT files To the server side.A16, the method according to A13, wherein, the download request information is being uploaded into the service Before the step of device side, in addition to:Calculate the identification information of the download request information and upload to the server side, it is described The resource of server side first kind web page element according to corresponding to being stored with whether the identification information judgment local received, if Have, the first kind web page element is directly dumped to the browser client by the server side.A17, according to A13 institutes The method stated, wherein, in addition to:Before offline download, under being performed in the browser clients side without cookie file Download, the offline download in download server side is carried out if downloading successfully, carried out if failed download in browser visitor The download of family side.A18, the method for preserving web page element according to A1, it is characterised in that the first collection entrance mark Note is the side of the fixed address field positioned at the webpage.A19, the method for preserving web page element according to A18, its feature exist In, loaded in browser client the first kind web page element second collection threshold marker, described second collect into Mouth mark is the lower section of the address field positioned at the webpage.

The embodiment of the present invention further discloses B20, a kind of browser client, including:Interface assembly, it is configured to described clear Device client of looking at draws interactive interface, receives input and/or output display and the information of user mutual;Networking component, it is matched somebody with somebody The network request initiated by interface assembly triggering is set to, recognizes the first kind web page element in current loading webpage;It is interior Nuclear component, it is configured to handle the first kind web page element that the networking component recognizes, parsed after rendering in a browser Page display area loads the first collection threshold marker of the first kind web page element;Download component, it further comprises: Module is triggered, for receiving the triggering information for the described first collection threshold marker;Module is stored, for by the first kind An at least web page element in web page element uploads to server side corresponding to browser client and preserved.B21, basis Browser client described in B20, wherein, the download component also includes:Information module, for collecting threshold marker first Show the description information of the first kind web page element.B22, the browser client according to B21, wherein, it is described to retouch Stating information includes element type, the position in the current web page, the source address of element and element description information and quantity. B23, the browser client according to B22, wherein, the element type include picture, video, download file link, Or web page interlinkage.B24, the browser client according to B20, wherein, the download component also includes:Select module, A wherein at least webpage is selected in thumbnail for the caching figure that the first kind web page element is loaded in the display window Element is preserved;Safe module, sweeping for safety is carried out before preserving for the security attribute to each web page element Operation is retouched, security sweep is carried out in itself for link, file data, and provides the result of scanning.It is B25, any according to B20-B24 Described browser client, wherein, the type of the first kind web page element is more than the figure of 400X300 pixels for picture pixels Piece.B26, the browser client according to B25, wherein, the download component also includes:Module is obtained, is worked as obtaining The sectional drawing of the preceding page, wherein the kernel component ejects one display window of loading on the sectional drawing;Module is collected, on backstage Scroll bar operation is performed, the current page is traveled through, to collect first kind web page element;Wherein described kernel component is aobvious at this Show that window loads the thumbnail of the caching figure of the first kind web page element.B27, the browser client according to B25, Wherein, the networking component further recognizes the Second Type web page element in current loading webpage, wherein Second Type net Page element includes video, downloads the link or web page interlinkage of file.B28, the browser client according to B27, wherein Second Type web page element is video, and the download component also includes:Module is obtained, for obtaining the sectional drawing of current page, its Described in kernel component ejected on the sectional drawing loading one display window;Module is collected, for performing scroll bar operation on backstage, The current page is traveled through, to collect Second Type web page element;Described in wherein described kernel component loads in the display window The description information of Second Type web page element, wherein the description information of the Second Type web page element includes:Word description or The thumbnail of person's video interception.B29, the browser client according to B27, wherein Second Type web page element are lower published articles The link of part, the download component also include:Module is obtained, for obtaining the sectional drawing of current page, wherein the kernel component One display window of ejection loading on the sectional drawing;Module is collected, for performing scroll bar operation on backstage, travels through the current page Face, to collect Second Type web page element;Wherein described kernel component loads the Second Type webpage member in the display window The description information of element or the title for downloading file.B30, the browser client according to B27, wherein Second Type webpage Element is web page interlinkage, and the download component also includes:Module is obtained, for obtaining the sectional drawing of current page, wherein in described Nuclear component ejects one display window of loading on the sectional drawing;Module is collected, for performing scroll bar operation on backstage, described in traversal Current page, to collect Second Type web page element;Wherein described kernel component loads the Second Type in the display window The description information of web page element, the description information of Second Type web page element include:The thumbnail of webpage or the title of webpage The SNAPSHOT INFO of information or webpage.B31, the browser client according to B20, wherein, the download component also includes: Module is logged in, for signing in server side according to the user identity information of current browser client, the login module enters One step is used for:The legal Token whether detect the browser client has login user is identified, if then will be described legal Token marks are write direct in the cookie file of network address corresponding to the server side, when signing in server side, The effective Token marks being written in the Cookie files are sent to server side request and carry out register.B32, root According to the browser client described in B20, wherein, the download component also includes:Module is uploaded, for by download request information The server side is passed to, wherein the download request information comprises at least the URL information of first kind web page element, so that institute State server side and download the first kind web page element offline using the URL information.B33, the browser visitor according to B32 Family end, wherein, the server side judges the first kind webpage member according to the URL information of the first kind web page element The download protocol type of element, and the download server corresponding with the download protocol type is used, according under the URL information Carry the first kind web page element.B34, the browser client according to B33, wherein, the download component also includes: Module is judged, for judging the first kind web page element for seed BT files;Module is handled, for parsing the BT files And the URL information in its description information is obtained, and the URL information is uploaded to the server side;Or by the BT files The server side is reached, so that the server side parses the BT files and obtains the URL information in its description information;Or The BT files to local, and are uploaded to the server side by the browser client directly by the BT file downloads. B35, the browser client according to B32, wherein, the download component also includes:Calculate module, for calculate it is described under Carry the identification information of solicited message and upload to the server side, the server side is according to the identification information judgment received The local resource for whether being stored with corresponding first kind web page element, the server side is directly by the first kind if having Web page element dumps to the browser client.B36, the browser client according to B32, wherein, the download group Part also includes:Download and perform module, for before offline download, being performed in the browser clients side without cookie file Under download, if download successfully if carry out download server side offline download, if failed download browsing The download of device client-side.B37, the browser client according to B20, it is characterised in that the first collection entrance mark Note is the side of the fixed address field positioned at the webpage.B38, the browser client according to B37, it is characterised in that institute State kernel component loaded in browser client the first kind web page element second collection threshold marker, described second Collection threshold marker is the lower section of the address field positioned at the webpage.

The embodiment of the present invention further discloses C39, a kind of device for preserving web page element, including:Module is identified, for identifying To the first kind web page element in current loading webpage;Module is loaded, it loads the first kind in browser client First collection threshold marker of type web page element;Information module, for receiving touching for the described first collection threshold marker Photos and sending messages;Module is preserved, is uploaded at least web page element in first kind web page element in browser client clear Server side corresponding to device client of looking at is preserved.C40, the device according to C39, wherein, described information module enters one Walk and be used for:The description information of the first kind web page element is shown in the first collection threshold marker.C41, according to C40 Device, wherein, the description information includes element type, the position in the current web page, the source address of element and element Description information and quantity.C42, the device according to C41, wherein, the element type includes picture, video, downloads file Link or web page interlinkage.C43, the device according to C39, wherein, the preservation module also includes:Module is selected, is used A wherein at least web page element is selected in being loaded in display window in the thumbnail of caching figure of the first kind web page element Preserved;Safe module, the scanning behaviour of safety is carried out before preserving for the security attribute to each web page element Make, carry out security sweep in itself for link, file data, and provide the result of scanning.C44, according to C39-C43 it is any described in Device, wherein, the type of the first kind web page element is more than the picture of 400X300 pixels for picture pixels.C45, basis Device described in C44, wherein, the preservation module includes:First obtains module, for obtaining the sectional drawing of current page, at this One display window of ejection loading on sectional drawing;First collects module, for performing scroll bar operation on backstage, travels through the current page Face, to collect first kind web page element;First loading module, for loading the first kind webpage member in the display window The thumbnail of the caching figure of element.C46, the device according to C44, wherein, the identification module is further used for:Recognize and work as Second Type web page element in preceding loading webpage, wherein Second Type web page element can be video, download file link, Or web page interlinkage.C47, the device according to C46, wherein Second Type web page element are videos, and described information module is also Including:Second obtains module, for obtaining the sectional drawing of current page, one display window of ejection loading on the sectional drawing;Second searches Collect module, for performing scroll bar operation on backstage, the current page is traveled through, to collect Second Type web page element;Second Module is loaded, for loading the description information of the Second Type web page element in the display window, wherein the Second Type The description information of web page element includes:The thumbnail of word description or video interception.C48, the device according to C46, its Middle Second Type web page element is the link for downloading file, and described information module also includes:Second obtains module, works as obtaining The sectional drawing of the preceding page, one display window of ejection loading on the sectional drawing;Second collects module, for performing scroll bar behaviour on backstage Make, the current page is traveled through, to collect Second Type web page element;Second loading module, for being loaded in the display window The description information of the Second Type web page element or the title for downloading file.C49, the device according to C46, wherein the Two types of web pages elements are web page interlinkages, and described information module also includes:Second obtains module, for obtaining cutting for current page Figure, one display window of ejection loading on the sectional drawing;Second collects module, for performing scroll bar operation on backstage, travels through institute Current page is stated, to collect Second Type web page element;Second loading module, for loading second class in the display window The description information of type web page element, the description information of Second Type web page element include:The thumbnail of webpage or the mark of webpage Inscribe the SNAPSHOT INFO of information or webpage.C50, the device according to C39, wherein, the preservation module also includes:Log in mould Group, for signing in server side according to the user identity information of current browser client, the login module is further used In:The legal Token whether detect the browser client has login user is identified, if then by the legal token Mark is write direct in the cookie file of network address corresponding to the server side, when signing in server side, will be write Enter to effective Token marks in the Cookie files and be sent to server side request progress register.C51, according to C39 Described device, wherein, the preservation module also includes:Module is uploaded, for download request information to be uploaded into the service Device side, wherein the download request information comprises at least the URL information of first kind web page element, so that the server side makes The first kind web page element is downloaded offline with the URL information.C52, the device according to C51, wherein, the server Lateral root judges the download protocol type of the first kind web page element according to the URL information of the first kind web page element, and Using the download server corresponding with the download protocol type, the first kind webpage is downloaded according to the URL information Element.C53, the device according to C52, wherein, the preservation module also includes:Module is judged, for judging described first Types of web pages element is seed BT files;Module is handled, for parsing the BT files and obtaining the letters of the URL in its description information Breath, and the URL information is uploaded to the server side;Or the BT files are uploaded to the server side, so as to described Server side parses the BT files and obtains the URL information in its description information;Or the browser client is directly by institute BT file downloads are stated to local, and the BT files are uploaded to the server side.C54, the device according to C51, its In, the preservation module also includes:Module is calculated, for calculating the identification information of the download request information and uploading to described Server side, server side first kind webpage according to corresponding to being stored with whether the identification information judgment local received The resource of element, the first kind web page element is directly dumped to the browser client by the server side if having. C55, the device according to C51, wherein, the preservation module also includes:Download and perform module, for downloading it offline Before, the download under being performed in the browser clients side without cookie file, carried out if downloading successfully in download service The offline download of device side, the download in browser clients side is carried out if failed download.C56, the dress according to C39 Put, it is characterised in that the first collection threshold marker is the side of the fixed address field positioned at the webpage.C57, according to C56 Described device, it is characterised in that the loading module is further used for:The first kind is loaded in browser client Second collection threshold marker of web page element, the second collection threshold marker are the lower sections of the address field positioned at the webpage.

Claims (54)

1. a kind of method for preserving web page element, including:
Recognize the first kind web page element in current loading webpage;
The first collection threshold marker of the first kind web page element is loaded in browser client;
Receive the triggering information for the described first collection threshold marker;
At least web page element in first kind web page element is uploaded into browser client pair in browser client The server side answered is preserved;
Wherein, at least web page element in first kind web page element is uploaded into server side corresponding to browser client Carrying out preservation includes:
Loaded in display window and select a wherein at least webpage first in the thumbnail of the caching figure of the first kind web page element Element is preserved;
The security attribute of each web page element can carry out the scan operation of safety before being preserved, for linking, File data carries out security sweep in itself, and provides the result of scanning.
2. the method as described in claim 1, it is characterised in that load the first collection entrance of the first kind web page element Mark further shows the description information of the first kind web page element.
3. method as claimed in claim 2, it is characterised in that the description information includes element type, in the current net Position, the source address and element description information and quantity of element in page.
4. method as claimed in claim 3, it is characterised in that the element type includes picture, video, the chain for downloading file Connect or web page interlinkage.
5. the method as described in claim 1-4 is any, it is characterised in that the type of the first kind web page element is picture picture Element is more than the picture of 400X300 pixels.
6. method as claimed in claim 5, it is characterised in that receive the triggering information and further comprise:
Obtain the sectional drawing of current page, and one display window of ejection loading on the sectional drawing;
Scroll bar operation is performed on backstage, the current page is traveled through, to collect first kind web page element;And
The thumbnail of the caching figure of the first kind web page element is loaded in the display window.
7. method as claimed in claim 5, it is characterised in that recognize the first kind web page element in current loading webpage The step of further comprise:
The Second Type web page element in current loading webpage is recognized, wherein Second Type web page element includes video, downloaded The link or web page interlinkage of file.
8. method as claimed in claim 7, wherein Second Type web page element are videos, receive the triggering information and enter one Step includes:
Obtain the sectional drawing of current page, and one display window of ejection loading on the sectional drawing;
Scroll bar operation is performed on backstage, the current page is traveled through, to collect Second Type web page element;And
The description information of the Second Type web page element is loaded in the display window, wherein the Second Type web page element Description information includes:The thumbnail of word description or video interception.
9. method as claimed in claim 7, wherein Second Type web page element are to download the link of file, described touch is received Photos and sending messages further comprise:
Obtain the sectional drawing of current page, and one display window of ejection loading on the sectional drawing;
Scroll bar operation is performed on backstage, the current page is traveled through, to collect Second Type web page element;And
The description information of the Second Type web page element is loaded in the display window or downloads the title of file.
10. method as claimed in claim 7, wherein Second Type web page element are web page interlinkages, the triggering letter is received Breath further comprises:
Obtain the sectional drawing of current page, and one display window of ejection loading on the sectional drawing;
Scroll bar operation is performed on backstage, the current page is traveled through, to collect Second Type web page element;And
The description information of the Second Type web page element, the description information of Second Type web page element are loaded in the display window Including:The thumbnail of the webpage either SNAPSHOT INFO of the heading message of webpage or webpage.
11. the method as described in claim 1, wherein at least web page element in first kind web page element is uploaded to clear Server side corresponding to device client of looking at is preserved, in addition to:
User identity information according to current browser client signs in server side, and it further comprises:Detect described clear The legal Token whether device client of looking at has login user is identified, if the legal token marks then are write direct into institute In the cookie file for stating network address corresponding to server side, when signing in server side, the Cookie is written to Effective Token marks in file are sent to server side request and carry out register.
12. the method as described in claim 1, wherein at least web page element in first kind web page element is uploaded to clear Server side corresponding to device client of looking at is preserved, in addition to:
Download request information is uploaded into the server side, wherein the download request information comprises at least first kind webpage The URL information of element, so that the server side downloads the first kind web page element offline using the URL information.
13. method as claimed in claim 12, wherein, the server side downloads the first kind using the URL information The step of web page element, including:
The download protocol type of the first kind web page element is judged according to the URL information of the first kind web page element;
The first kind is downloaded using the download server corresponding with the download protocol type, and according to the URL information Type web page element.
14. method as claimed in claim 13, wherein, in addition to:
Judge the first kind web page element for seed BT files;
The browser client parses the BT files and obtains the URL information in its description information, and by the URL information Reach the server side;Or the BT files are uploaded to the server side by the browser client, so as to the clothes Business device side parses the BT files and obtains the URL information in its description information;Or the browser client is directly by described in The BT files are uploaded to the server side by BT file downloads to local.
15. method as claimed in claim 12, wherein, the download request information is being uploaded to the step of the server side Before rapid, in addition to:
Calculate the identification information of the download request information and upload to the server side, the server side is according to receiving Identification information judgment locally whether be stored with corresponding to first kind web page element resource, the server side is straight if having Connect and the first kind web page element is dumped into the browser client.
16. the method according to claim 11, wherein, in addition to:
Before offline download, the download under being performed in the browser clients side without cookie file, if downloaded successfully The offline download in download server side is then carried out, the download in browser clients side is carried out if failed download.
17. the method for web page element is preserved as claimed in claim 1, it is characterised in that described first, which collects threshold marker, is The side of the fixed address field positioned at the webpage.
18. the method for web page element is preserved as claimed in claim 17, it is characterised in that institute is loaded in browser client The second collection threshold marker of first kind web page element is stated, the second collection threshold marker is the address field positioned at the webpage Lower section.
19. a kind of browser client, including:
Interface assembly, it is configured to the browser client and draws interactive interface, receives input and/or output display and user The information of interaction;
Networking component, it is configured to the network request initiated by interface assembly triggering, recognizes the in current loading webpage One type web page element;
Kernel component, it is configured to handle the first kind web page element that the networking component recognizes, parsed after rendering clear Page display area in device of looking at loads the first collection threshold marker of the first kind web page element;
Download component, it further comprises:
Module is triggered, for receiving the triggering information for the described first collection threshold marker;
Module is stored, at least web page element in first kind web page element to be uploaded to corresponding to browser client Server side is preserved;
Module is selected, it is selected in the thumbnail for the caching figure that the first kind web page element is loaded in the display window In an at least web page element preserved;
Safe module, the scan operation of safety is carried out before preserving for the security attribute to each web page element, it is right Security sweep is carried out in itself, and provides the result of scanning in link, file data.
20. browser client according to claim 19, wherein, the download component also includes:
Information module, for showing the description information of the first kind web page element in the first collection threshold marker.
21. browser client according to claim 20, wherein, the description information includes element type, described The source address and element description information and quantity of position, element in current web page.
22. browser client according to claim 21, wherein, the element type includes picture, video, lower published article The link or web page interlinkage of part.
23. according to any described browser clients of claim 19-22, wherein, the type of the first kind web page element It is more than the picture of 400X300 pixels for picture pixels.
24. browser client according to claim 23, wherein, the download component also includes:
Module is obtained, for obtaining the sectional drawing of current page, wherein the kernel component ejects the display of loading one on the sectional drawing Window;
Module is collected, for performing scroll bar operation on backstage, travels through the current page, to collect first kind webpage member Element;
Wherein described kernel component loads the thumbnail of the caching figure of the first kind web page element in the display window.
25. browser client according to claim 23, wherein, the networking component further recognizes current loading Second Type web page element in webpage, wherein Second Type web page element include video, the link for downloading file or webpage Link.
26. browser client according to claim 25, wherein Second Type web page element are videos, the download group Part also includes:
Module is obtained, for obtaining the sectional drawing of current page, wherein the kernel component ejects the display of loading one on the sectional drawing Window;
Module is collected, for performing scroll bar operation on backstage, travels through the current page, to collect Second Type webpage member Element;
Wherein described kernel component loads the description information of the Second Type web page element in the display window, wherein described the The description information of two types of web pages elements includes:The thumbnail of word description or video interception.
27. browser client according to claim 25, wherein Second Type web page element are the links for downloading file, The download component also includes:
Module is obtained, for obtaining the sectional drawing of current page, wherein the kernel component ejects the display of loading one on the sectional drawing Window;
Module is collected, for performing scroll bar operation on backstage, travels through the current page, to collect Second Type webpage member Element;
Wherein described kernel component loads the description information of the Second Type web page element or lower published article in the display window The title of part.
28. browser client according to claim 25, wherein Second Type web page element are web page interlinkages, under described Carrying component also includes:
Module is obtained, for obtaining the sectional drawing of current page, wherein the kernel component ejects the display of loading one on the sectional drawing Window;
Module is collected, for performing scroll bar operation on backstage, travels through the current page, to collect Second Type webpage member Element;
Wherein described kernel component loads the description information of the Second Type web page element, Second Type net in the display window The description information of page element includes:The thumbnail of the webpage either SNAPSHOT INFO of the heading message of webpage or webpage.
29. browser client as claimed in claim 19, wherein, the download component also includes:
Module is logged in, signs in server side, the login mould for the user identity information according to current browser client Group is further used for:The legal Token whether detect the browser client has login user is identified, if then by described in Legal token marks are write direct in the cookie file of network address corresponding to the server side, are signing in server During side, the effective Token marks being written in the Cookie files are sent to server side request progress register.
30. browser client as claimed in claim 19, wherein, the download component also includes:
Module is uploaded, for download request information to be uploaded into the server side, wherein the download request information is at least wrapped The URL information of first kind web page element is included, so that the server side downloads the first kind offline using the URL information Web page element.
31. browser client as claimed in claim 30, wherein, the server side is according to first kind webpage member The URL information of element judges the download protocol type of the first kind web page element, and use and the download protocol type phase Corresponding download server, the first kind web page element is downloaded according to the URL information.
32. browser client as claimed in claim 31, wherein, the download component also includes:
Module is judged, for judging the first kind web page element for seed BT files;
Module is handled, for parsing the BT files and obtaining the URL information in its description information, and the URL information is uploaded To the server side;Or the BT files are uploaded to the server side, so that the server side parses the BT texts Part simultaneously obtains the URL information in its description information;Or the browser client directly by the BT file downloads to local, and The BT files are uploaded to the server side.
33. browser client as claimed in claim 30, wherein, the download component also includes:
Calculate module, for calculating the identification information of the download request information and uploading to the server side, the service Whether device lateral root is locally stored with the resource of corresponding first kind web page element according to the identification information judgment received, if having The first kind web page element is directly dumped to the browser client by the server side.
34. browser client according to claim 30, wherein, the download component also includes:
Download and perform module, for before offline download, under being performed in the browser clients side without cookie file Download, the offline download in download server side is carried out if downloading successfully, carried out if failed download in browser visitor The download of family side.
35. browser client as claimed in claim 19, it is characterised in that the first collection threshold marker is fixed bit In the side of the address field of the webpage.
36. browser client as claimed in claim 35, it is characterised in that the kernel component is in browser client The second collection threshold marker of the first kind web page element is loaded, the second collection threshold marker is positioned at the webpage The lower section of address field.
37. a kind of device for preserving web page element, including:
Module is identified, for recognizing the first kind web page element in current loading webpage;
Module is loaded, it loads the first collection threshold marker of the first kind web page element in browser client;
Information module, for receiving the triggering information for the described first collection threshold marker;
Module is preserved, at least web page element in first kind web page element is uploaded into browser in browser client Server side is preserved corresponding to client;
Wherein, the preservation module includes:
Module is selected, is selected wherein in the thumbnail for the caching figure that the first kind web page element is loaded in display window At least a web page element is preserved;
Safe module, the scan operation of safety is carried out before preserving for the security attribute to each web page element, it is right Security sweep is carried out in itself, and provides the result of scanning in link, file data.
38. the device according to claim 37, wherein, described information module is further used for:Entrance mark is collected first Note shows the description information of the first kind web page element.
39. the device according to claim 38, wherein, the description information includes element type, in the current web page In position, the source address and element description information and quantity of element.
40. the device according to claim 39, wherein, the element type includes picture, video, the chain for downloading file Connect or web page interlinkage.
41. according to any described devices of claim 37-40, wherein, the type of the first kind web page element is picture picture Element is more than the picture of 400X300 pixels.
42. device according to claim 41, wherein, described information module includes:
First obtains module, for obtaining the sectional drawing of current page, one display window of ejection loading on the sectional drawing;
First collects module, for performing scroll bar operation on backstage, the current page is traveled through, to collect first kind webpage Element;
First loading module, the thumbnail of the caching figure for loading the first kind web page element in the display window.
43. device according to claim 41, wherein, the identification module is further used for:
Recognize the Second Type web page element in current loading webpage, wherein Second Type web page element can be video, under The link or web page interlinkage of published article part.
44. device according to claim 43, wherein Second Type web page element are videos, described information module also wraps Include:
Second obtains module, for obtaining the sectional drawing of current page, one display window of ejection loading on the sectional drawing;
Second collects module, for performing scroll bar operation on backstage, the current page is traveled through, to collect Second Type webpage Element;
Second loading module, for loading the description information of the Second Type web page element in the display window, wherein described The description information of Second Type web page element includes:The thumbnail of word description or video interception.
45. device according to claim 43, wherein Second Type web page element are the links for downloading file, described information Module also includes:
Second obtains module, for obtaining the sectional drawing of current page, one display window of ejection loading on the sectional drawing;
Second collects module, for performing scroll bar operation on backstage, the current page is traveled through, to collect Second Type webpage Element;
Second loading module, for loading the description information of the Second Type web page element or lower published article in the display window The title of part.
46. device according to claim 43, wherein Second Type web page element are web page interlinkages, described information module is also Including:
Second obtains module, for obtaining the sectional drawing of current page, one display window of ejection loading on the sectional drawing;
Second collects module, for performing scroll bar operation on backstage, the current page is traveled through, to collect Second Type webpage Element;
Second loading module, for loading the description information of the Second Type web page element, Second Type in the display window The description information of web page element includes:The thumbnail of the webpage either SNAPSHOT INFO of the heading message of webpage or webpage.
47. device as claimed in claim 37, wherein, the preservation module also includes:
Module is logged in, signs in server side, the login mould for the user identity information according to current browser client Group is further used for:The legal Token whether detect the browser client has login user is identified, if then by described in Legal token marks are write direct in the cookie file of network address corresponding to the server side, are signing in server During side, the effective Token marks being written in the Cookie files are sent to server side request progress register.
48. device as claimed in claim 37, wherein, the preservation module also includes:
Module is uploaded, for download request information to be uploaded into the server side, wherein the download request information is at least wrapped The URL information of first kind web page element is included, so that the server side downloads the first kind offline using the URL information Web page element.
49. device as claimed in claim 48, wherein, the server side is according to the URL of the first kind web page element Under information judges the download protocol type of the first kind web page element, and use is corresponding with the download protocol type Server is carried, the first kind web page element is downloaded according to the URL information.
50. device as claimed in claim 49, wherein, the preservation module also includes:
Module is judged, for judging the first kind web page element for seed BT files;
Module is handled, for parsing the BT files and obtaining the URL information in its description information, and the URL information is uploaded To the server side;Or the BT files are uploaded to the server side, so that the server side parses the BT texts Part simultaneously obtains the URL information in its description information;Or the browser client directly by the BT file downloads to local, and The BT files are uploaded to the server side.
51. device as claimed in claim 48, wherein, the preservation module also includes:
Calculate module, for calculating the identification information of the download request information and uploading to the server side, the service Whether device lateral root is locally stored with the resource of corresponding first kind web page element according to the identification information judgment received, if having The first kind web page element is directly dumped to the browser client by the server side.
52. device according to claim 48, wherein, the preservation module also includes:
Download and perform module, for before offline download, under being performed in the browser clients side without cookie file Download, the offline download in download server side is carried out if downloading successfully, carried out if failed download in browser visitor The download of family side.
53. device as claimed in claim 37, it is characterised in that the first collection threshold marker is that fixation is located at the webpage Address field side.
54. device as claimed in claim 53, it is characterised in that the loading module is further used for:
Loaded in browser client the first kind web page element second collection threshold marker, described second collect into Mouth mark is the lower section of the address field positioned at the webpage.
CN201410643666.9A 2014-11-07 2014-11-07 Preserve the method, apparatus and browser client of web page element CN104346462B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410643666.9A CN104346462B (en) 2014-11-07 2014-11-07 Preserve the method, apparatus and browser client of web page element

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410643666.9A CN104346462B (en) 2014-11-07 2014-11-07 Preserve the method, apparatus and browser client of web page element

Publications (2)

Publication Number Publication Date
CN104346462A CN104346462A (en) 2015-02-11
CN104346462B true CN104346462B (en) 2017-11-10

Family

ID=52502053

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410643666.9A CN104346462B (en) 2014-11-07 2014-11-07 Preserve the method, apparatus and browser client of web page element

Country Status (1)

Country Link
CN (1) CN104346462B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106897308A (en) * 2015-12-18 2017-06-27 北京奇虎科技有限公司 The storage method and device of a kind of page elements
CN105677142B (en) * 2015-12-29 2020-03-27 上海孩子国科教设备有限公司 Method and client for acquiring screen capture
CN105634972A (en) * 2016-01-29 2016-06-01 四川长虹电器股份有限公司 Method for improving access efficiency of Web client
CN107122402A (en) * 2017-03-22 2017-09-01 广东神马搜索科技有限公司 Extracting method, device, client terminal device and the electronic equipment of Web page picture
CN107229683A (en) * 2017-05-10 2017-10-03 努比亚技术有限公司 Information processing method, mobile terminal and storage medium
CN107291931B (en) * 2017-06-30 2020-08-18 珠海格力电器股份有限公司 Note generation method and device and user terminal
CN107391725A (en) * 2017-08-01 2017-11-24 星光物语(北京)电子商务有限公司 A kind of method and system for recording mobile terminal and browsing web placement
CN107908634A (en) * 2017-08-29 2018-04-13 上海壹账通金融科技有限公司 The buffer control method and mobile terminal of browser
CN107577824A (en) * 2017-10-23 2018-01-12 林楚莲 A kind of web cache method and system
CN108563473A (en) * 2018-04-04 2018-09-21 歌尔股份有限公司 scanning module configuration method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080052091A (en) * 2006-12-07 2008-06-11 한국전자통신연구원 The method for searching, saving, deleting data using of data structures, skip clouds, and the computer readable recording medium having skip clouds that search data
CN101957848A (en) * 2010-09-21 2011-01-26 伍帝州 Method and device for navigating browser
CN102855260A (en) * 2011-07-01 2013-01-02 腾讯科技(深圳)有限公司 Picture processing method and picture processing system
CN103064868A (en) * 2012-07-20 2013-04-24 北京飞漫软件技术有限公司 Method of adding collection/ user-defined collection of websites in hypertext markup language (HTML) 5 webpage
CN103778181A (en) * 2013-11-22 2014-05-07 北京奇虎科技有限公司 Method and device for importing icons into favorites of browsers

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080052091A (en) * 2006-12-07 2008-06-11 한국전자통신연구원 The method for searching, saving, deleting data using of data structures, skip clouds, and the computer readable recording medium having skip clouds that search data
CN101957848A (en) * 2010-09-21 2011-01-26 伍帝州 Method and device for navigating browser
CN102855260A (en) * 2011-07-01 2013-01-02 腾讯科技(深圳)有限公司 Picture processing method and picture processing system
CN103064868A (en) * 2012-07-20 2013-04-24 北京飞漫软件技术有限公司 Method of adding collection/ user-defined collection of websites in hypertext markup language (HTML) 5 webpage
CN103778181A (en) * 2013-11-22 2014-05-07 北京奇虎科技有限公司 Method and device for importing icons into favorites of browsers

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
如何一键收藏网页中的图片?;buxqu;《http://jingyan.baidu.com/article/b7001fe16ad6830e7382dd7f.html》;20140916;1-2 *

Also Published As

Publication number Publication date
CN104346462A (en) 2015-02-11

Similar Documents

Publication Publication Date Title
US10042540B2 (en) Content visualization
US20170366566A1 (en) Token based automated agent detection
US20170154119A1 (en) Application Search System and Method for Programmatically Adapting Search Results According to Partner-Specified Settings
US9407975B2 (en) Systems and methods for providing user interactions with media
US9330179B2 (en) Configuring web crawler to extract web page information
US10180967B2 (en) Performing application searches
CN108197331B (en) User interest exploration method and device
CN104536729B (en) It is a kind of to realize the method and apparatus that screenshot is carried out in browser page
US9659278B2 (en) Methods, systems, and computer program products for displaying tag words for selection by users engaged in social tagging of content
US20150193502A1 (en) Generating activities based upon social data
US8751935B2 (en) Audience platform
US20160085658A1 (en) Analytics For Mobile Applications
US10204216B2 (en) Verification methods and verification devices
US8532372B2 (en) System and method for matching color swatches
CN103577597B (en) Keyword search system based on current browse webpage
CN103544176B (en) Method and apparatus for generating the page structure template corresponding to multiple pages
US9977790B2 (en) Automatically obtaining real-time, geographically-relevant product information from heterogeneus sources
US10007933B2 (en) Systems and methods for integrating dynamic content into electronic media
JP6286104B2 (en) Display method, apparatus, server, program and recording medium for social network information stream
KR20140038463A (en) Identifying matching applications based on browsing activity
US7941416B2 (en) Harvesting of media objects from searched sites without a user having to enter the sites
US20140067542A1 (en) Image-Based Advertisement and Content Analysis and Display Systems
US10439906B2 (en) Systems and methods for configuring a resource for network traffic analysis
WO2016091044A1 (en) Method, apparatus, system, device and computer storage medium for recommending hot words
CN103618774B (en) A kind of resource recommendation method based on network behavior and device, system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant