CN103699600A - Data processing method for web cache and browser - Google Patents

Data processing method for web cache and browser Download PDF

Info

Publication number
CN103699600A
CN103699600A CN201310683021.3A CN201310683021A CN103699600A CN 103699600 A CN103699600 A CN 103699600A CN 201310683021 A CN201310683021 A CN 201310683021A CN 103699600 A CN103699600 A CN 103699600A
Authority
CN
China
Prior art keywords
snapshots
web pages
page
browser
iframe
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310683021.3A
Other languages
Chinese (zh)
Inventor
东玮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201310683021.3A priority Critical patent/CN103699600A/en
Publication of CN103699600A publication Critical patent/CN103699600A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes
    • G06F21/6263Protecting personal data, e.g. for financial or medical purposes during internet communication, e.g. revealing personal data from cookies
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/52Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems during program execution, e.g. stack integrity ; Preventing unwanted data erasure; Buffer overflow
    • G06F21/53Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems during program execution, e.g. stack integrity ; Preventing unwanted data erasure; Buffer overflow by executing in a restricted environment, e.g. sandbox or secure virtual machine

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Databases & Information Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a data processing method for a web cache and a browser. The data processing method for the web cache comprises the following steps of acquiring a trigger event for opening the web cache and sending a request for opening the web cache to a server; receiving an iframe page returned by the server according to the request, wherein the iframe page is embedded with the content and resource of the web cache; uploading the iframe page. By the technical scheme, the content and elements contained in the web cache are displayed in the iframe, a physical address of the original page resource is prevented from being directly revealed to a user, and the using security of the browser is improved.

Description

The data processing method of snapshots of web pages and browser
Technical field
The present invention relates to internet arena, particularly relate to a kind of data processing method and browser of snapshots of web pages.
Background technology
In using the process of browser, often can find a lot of useful especially webpages, such as microblogging, everybody, good article in forum, user may wish the word in webpage or Image Saving to get off and check in the future.
Yet, add web page storage folder or directly preserve webpage not only very loaded down with trivial details, and webpage also has deleted possibility.Particularly, when meeting with the situations such as refitting system, these precious webpages are very likely lost.Based on above problem, in prior art, there is browser to release snapshots of web pages function, can complete collection web page contents, and preserve beyond the clouds.
Yet webpage is preserved in high in the clouds, and share and exist some potential safety hazards.First after existing the webpage of malicious code to upload onto the server, these malicious codes may be stolen user cookie, at server side, destroy the safety of data, in addition, if these website snapshots of user's request of loading, utilize browser to carry out these malicious codes, likely destroy user data, steal user account password.The safety issue that how to solve snapshots of web pages not yet proposes effective solution in the prior art.
Summary of the invention
In view of the above problems, the present invention has been proposed to provide a kind of browser that overcomes the problems referred to above or address the above problem at least in part and the data processing method of corresponding snapshots of web pages.Further object of the present invention is will guarantee to use in browser in the process of snapshots of web pages to guarantee data security.
According to one aspect of the present invention, provide a kind of data processing method of snapshots of web pages.The data processing method of this snapshots of web pages comprises the following steps: obtain the trigger event of opening snapshots of web pages, and send the request of opening snapshots of web pages to server side; The floating frame iframe page that reception is returned according to request from server side, wherein embeds content and the resource that has snapshots of web pages in the iframe page; Load the iframe page.
Alternatively.The above-mentioned iframe page has been opened sandbox sandbox attribute, after receiving the floating frame iframe page return according to request from server side, also comprise: the whether support sandbox attribute that judges browser, if, carry out the step that loads the iframe page, if not, the information of browser is upgraded in output.
Alternatively, obtaining the trigger event of opening snapshots of web pages comprises: obtain the selection operation to the snapshots of web pages entry of browser-presented; Or obtain the clicking operation to browsing device net page snapshot entrance.
Alternatively, the request of opening snapshots of web pages to server side transmission comprises: according to trigger event, determine the collection sign of snapshots of web pages, and obtain the user ID of browser; According to collection sign and user ID, generate request, and send to server side.
Alternatively, before obtaining the trigger event of opening snapshots of web pages, also comprise: the webpage that browser is opened saves as snapshots of web pages, in conjunction with user, the configuration information of this snapshots of web pages is uploaded to server side.
Alternatively, the webpage that browser is opened saves as snapshots of web pages and comprises: the web page element in webpage is carried out to condition code verification, the unmatched web page element of filtering check results and element type; According to the web page element generating web page snapshot after filtering.
Alternatively, the configuration information of this snapshots of web pages is comprised following any one or more: whether sharing web page snapshot, the preservation timeliness of sharing scope, snapshots of web pages of snapshots of web pages, the user tag of snapshots of web pages.
According to another aspect of the present invention, also provide a kind of browser.This browser comprises: event is obtained interface, and for obtaining the trigger event of opening snapshots of web pages, request transmission interface, for sending the request of opening snapshots of web pages to server side; Page receiving interface, for receiving the floating frame iframe page returning according to request from server side, wherein embeds content and the resource that has snapshots of web pages in the iframe page; Page load-on module, for loading the iframe page.
Alternatively, above-mentioned browser also comprises: version judge module, and for judging the whether support sandbox attribute of browser, if not, the information of browser is upgraded in output, and wherein, the iframe page has been opened sandbox sandbox attribute.
Alternatively, event is obtained interface and is configured to: obtain the selection operation to the snapshots of web pages entry of browser-presented; Or obtain the clicking operation to browsing device net page snapshot entrance.
Alternatively, request transmission interface is configured to: according to trigger event, determine the collection sign of snapshots of web pages, and obtain the user ID of browser; According to collection sign and user ID, generate request, and send to server side.
Alternatively, above-mentioned browser also comprises: snapshots of web pages generation module, for the webpage that browser is opened, save as snapshots of web pages, and in conjunction with user, the configuration information of this snapshots of web pages is uploaded to server side.
Alternatively, snapshots of web pages generation module is configured to: the web page element in webpage is carried out to condition code verification, the unmatched web page element of filtering check results and element type; According to the web page element generating web page snapshot after filtering.
The snapshots of web pages page that the data processing method of browser of the present invention and snapshots of web pages loads is the iframe page, utilize iframe element to create the inline frame that comprises snapshots of web pages, the content comprising in snapshots of web pages and element are shown in iframe, avoid the physical address of original web page resources directly cruelly to leak to user, improve the safety in utilization of browser.
Further, the iframe page can be opened the sandbox attribute of stipulating in html5, by restriction, is embedded into the security that operation that content allows promotes iframe.This mode has been carried out the embedded content of the iframe page and parent page separated, has limited the authority that is embedded into content, has further improved the security of snapshots of web pages.
Again further, the web page element in snapshots of web pages is carried out to safety filtering, the dangerous element that may comprise in filtering webpage in the process of generating web page snapshot.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to better understand technological means of the present invention, and can be implemented according to the content of instructions, and for above and other objects of the present invention, feature and advantage can be become apparent, below especially exemplified by the specific embodiment of the present invention.
According to the detailed description to the specific embodiment of the invention by reference to the accompanying drawings below, those skilled in the art will understand above-mentioned and other objects, advantage and feature of the present invention more.
Accompanying drawing explanation
By reading below detailed description of the preferred embodiment, various other advantage and benefits will become cheer and bright for those of ordinary skills.Accompanying drawing is only for the object of preferred implementation is shown, and do not think limitation of the present invention.And in whole accompanying drawing, by identical reference symbol, represent identical parts.In the accompanying drawings:
Fig. 1 is the schematic diagram of browser 100 according to an embodiment of the invention;
Fig. 2 is the schematic diagram of the data processing method of snapshots of web pages according to an embodiment of the invention;
Fig. 3 is a particular flow sheet of the data processing method of snapshots of web pages according to an embodiment of the invention;
Fig. 4 adds the schematic diagram of snapshots of web pages in the data processing method of snapshots of web pages according to an embodiment of the invention; And
Fig. 5 is the schematic diagram of displayed web page snapshot entry in the data processing method of snapshots of web pages according to an embodiment of the invention.
Embodiment
The algorithm providing at this is intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with demonstration.Various general-purpose systems also can with based on using together with this teaching.According to description above, it is apparent constructing the desired structure of this type systematic.In addition, the present invention is not also for any certain programmed language.It should be understood that and can utilize various programming languages to realize content of the present invention described here, and the description of above language-specific being done is in order to disclose preferred forms of the present invention.
Fig. 1 is the schematic diagram of browser 100 according to an embodiment of the invention.The browser 100 of the present embodiment can comprise in general manner: event is obtained interface 110, request transmission interface 120, page receiving interface 130, page load-on module 140.On the basis with upper-part, according to concrete applied environment or for reaching more excellent technique effect, browser 100 can also increase neatly version judge module 150, snapshots of web pages generation module 160 are set.
In with upper-part, event is obtained interface 110 for obtaining the trigger event of opening snapshots of web pages; Request transmission interface 120 is for sending the request of opening snapshots of web pages to server side; Page receiving interface 130 is for receiving the floating frame iframe page returning according to request from server side; Page load-on module 140 is for loading the iframe page.Wherein the page is accepted to embed in the iframe page that interface 130 receives content and the resource that needs the snapshots of web pages of showing.
Event is obtained the trigger event obtaining in interface 110 and can be comprised: user is the clicking operation to browsing device net page snapshot entrance to the selection operation of the snapshots of web pages entry of browser-presented or user.Event is obtained the information that trigger event that interface 110 obtains provides user need to open snapshots of web pages, to send the corresponding snapshots of web pages of acquisition request to server side.
Request transmission interface 120 is the uploading data interface with snapshots of web pages server as browser 100, in the request sending, can comprise: user's sign and the collection of snapshots of web pages sign, so that whether snapshots of web pages server lookup is opened and is checked authority this user to corresponding snapshots of web pages and this snapshots of web pages.Request transmission interface 120 specifically can be configured to determine according to trigger event the collection sign of snapshots of web pages, and obtains the user ID of browser; According to collection sign and user ID, generate request, and send to server side.
Page receiving interface 130 is as the data distributing interface of snapshots of web pages server and browser 100, and receiving snapshots of web pages server process is the snapshots of web pages of the iframe page.Iframe can be embedded in a HTML (Hypertext Markup Language) (Hyper Text Markup Language is called for short HTML) document in a HTML and show.The iframe page can be referred to as first page, and the page of embedded snapshots of web pages can be referred to as second page, in the iframe page, the html file of the html file of first page and second page is not separate demonstration, but the html file of the html file of first page and second page is a whole html file that permeates mutually.The iframe page can arrange the attribute of the embedded page, limits the execution claim of the embedded page.The malicious code that prevents the embedded snapshots of web pages page is carried out, and harms user's data security.
The iframe page is the execution authority of the embedded snapshots of web pages page, can open sandbox sandbox attribute.After opening, sandbox can prevent that the embedded page of iframe from proceeding as follows: the document dbject model of access first page (Document Object Model is called for short DOM), carry out script, by script, embed own list or handle list, cookie, this locality are stored or the read-write of local SQL database.Sandbox attribute is embedded into by restriction the security that operation that content allows promotes iframe, forbids carrying out some malicious operation.
Because sandbox attribute is attribute newly-increased in HTML5, therefore only have the browser of some highest version just to support this attribute, for example, Google Chrome4.0, Firefox17, IE9 and above version just can be supported the sandbox attribute of iframe.Therefore, browser 100 can also arrange version judge module 150, for judging the whether support sandbox attribute of browser, if current browser can not be supported sandbox attribute, the information of browser information is upgraded in output, so that customer upgrade browser.If current browser is supported sandbox attribute, normal load includes the volume iframe page of snapshots of web pages content and resource.
The generative process of snapshots of web pages also can be carried out by browser 100, and browser 100 can also be provided with snapshots of web pages generation module 160.The webpage that utilizes snapshots of web pages generation module 160 browser can be opened saves as snapshots of web pages, in conjunction with user, the configuration information of this snapshots of web pages is uploaded to server side.Snapshots of web pages generation module 160 can be configured to: the web page element in webpage is carried out to condition code verification, the unmatched web page element of filtering check results and element type; According to the web page element generating web page snapshot after filtering.First generative process can obtain the dom tree structure of the page, and obtains the URL of each node resource, according to the preserving type of snapshots of web pages, preserves page dom tree structure and each web page element resource.In order to guarantee the security of resource, can after Gains resources, to the data of resource, carry out mark scanning, there is the element of malicious code in filtering.
The embodiment of the present invention also provides a kind of data processing method of snapshots of web pages, and the data processing method of this snapshots of web pages can be carried out by any one browser of above embodiment introduction, the security when improving browser Web page loading snapshot.Fig. 2 is the schematic diagram of the data processing method of snapshots of web pages according to an embodiment of the invention, and as shown in the figure, the data processing method of this snapshots of web pages comprises the following steps:
Step S202, obtains the trigger event of opening snapshots of web pages;
Step S204, sends the request of opening snapshots of web pages to server side;
Step S206, receives the floating frame iframe page returning according to request from server side;
Step S208, loads the iframe page.
In above step, in the iframe page of indication, embed content and the resource that has snapshots of web pages.Thereby utilize the iframe page to carry out the displaying of snapshots of web pages.
The above-mentioned iframe page can be opened sandbox sandbox, to limit the security that is embedded into the operation that content allowed and promotes iframe.Because the version of sandbox attribute specification browser must reach higher version.So can also comprise after step S206: judge the whether support sandbox attribute of browser, if so, perform step S208, if not, the information of browser is upgraded in output, and this information can comprise the upgrading entrance of browser, and points out the potential safety hazard of not upgrading.If current browser is not supported sandbox attribute in addition, in order to guarantee that security can forbid Web page loading snapshot.
The trigger event obtaining in step S202 can comprise: user is the clicking operation to browsing device net page snapshot entrance to the selection operation of the snapshots of web pages entry of browser-presented or user.The information that this trigger event provides user need to open snapshots of web pages, to send the corresponding snapshots of web pages of acquisition request to server side.
In step S204, to server side, sending the request open snapshots of web pages comprises: according to trigger event, determine the collection sign of snapshots of web pages, and obtain the user ID of browser; According to collection sign and user ID, generate request, and send to server side.Request comprises that user ID can identify user profile, collection sign can identify the collected snapshots of web pages of user and request of loading snapshots of web pages check authority.
Under another kind of running environment, open the version information that can include browser in the request of snapshots of web pages, by server, judge whether this browser supports sandbox attribute, if supported, issue the iframe page of embedded snapshots of web pages, otherwise just issue browser upgrading, remind.
Before step S202, the data processing method of the snapshots of web pages of the present embodiment can also be carried out the generation step of snapshots of web pages.This snapshots of web pages can generate by following steps: the webpage that browser is opened saves as snapshots of web pages, in conjunction with user, the configuration information of this snapshots of web pages is uploaded to server side.Wherein in the preservation flow process of preserving snapshots of web pages, can carry out condition code verification to the web page element in webpage, the unmatched web page element of filtering check results and element type; According to the web page element generating web page snapshot after filtering.Whether user can comprise sharing web page snapshot, the preservation timeliness of sharing scope, snapshots of web pages of snapshots of web pages, the user tag of snapshots of web pages to the configuration information of this snapshots of web pages in addition.Snapshots of web pages and configuration information that server side can be uploaded according to browser are preserved, and open after snapshots of web pages request receiving, and snapshots of web pages is embedded in iframe element, and iframe page downloading is loaded to use to browser for user.
Fig. 3 is a particular flow sheet of the data processing method of snapshots of web pages according to an embodiment of the invention, and as shown in the figure, the flow process of the data processing method of this snapshots of web pages comprises:
Step S302, browser receives the operation of user to the default interpolation snapshots of web pages button of browser in the process of Web page loading, carries out the product process of snapshots of web pages, in the process of generating web page snapshot, resource in webpage is scanned, and the elements such as input frame are shielded.Fig. 4 adds the schematic diagram of snapshots of web pages in the data processing method of snapshots of web pages according to an embodiment of the invention, in figure, show Liao Jiang 360 security centres save as snapshots of web pages after SNAPSHOT INFO window is set, can be to web page title, webpage label, remark information in this window, the entry such as open arranges;
Step S304, is uploaded to snapshots of web pages server by the snapshots of web pages combination after preserving to the configuration information of this snapshots of web pages;
Step S306, obtain opening the pre-set button of snapshots of web pages or the trigger event that menu option operates in browser, Fig. 5 is the schematic diagram of displayed web page snapshot entry in the data processing method of snapshots of web pages according to an embodiment of the invention, under the page of this entry, can select to need the snapshots of web pages of loading.
Step S308, carries out the snapshots of web pages information of selection, user ID, browser information comprehensively, generates Web page loading snapshot request;
Step S310, responds above Web page loading snapshot request, judges whether browser version supports sandbox attribute, if execution step S312 if not, returns to prompting upgrade information to browser;
Step S312, judge user whether have request snapshots of web pages check authority, if execution step S314 if not, returns to the covert information of snapshots of web pages to browser;
Step S314, embeds snapshots of web pages the iframe page of opening sandbox, to browser, returns to this iframe page;
Step S316, loads the iframe page.
In the process of data processing method of carrying out above snapshots of web pages, the concrete function of concrete browser and snapshots of web pages server can be divided the work as required flexibly, for example browser operating part function in above flow process is carried out by snapshots of web pages server, or the partial function that part snapshots of web pages server is carried out transfers to browser to carry out, and technical solution of the present invention does not limit this.
The snapshots of web pages page that the browser of above embodiment and the data processing method of snapshots of web pages load is the iframe page, utilize iframe element to create the inline frame that comprises the snapshots of web pages page, the content comprising in snapshots of web pages and element are shown in iframe, avoid the physical address of original web page resources directly cruelly to leak to user, improve the safety in utilization of browser.
Further, the iframe page can be opened the sandbox attribute of stipulating in html5, by restriction, is embedded into the security that operation that content allows promotes iframe.This mode has been carried out the embedded content of the iframe page and parent page separated, has limited the authority that is embedded into content, has further improved the security of snapshots of web pages.
Again further, the web page element in snapshots of web pages is carried out to safety filtering, the dangerous element that may comprise in filtering webpage in the process of generating web page snapshot.Similarly, be to be understood that, in order to simplify the disclosure and to help to understand one or more in each inventive aspect, in the above in the description of exemplary embodiment of the present invention, each feature of the present invention is grouped together into single embodiment, figure or sometimes in its description.Yet, the method for the disclosure should be construed to the following intention of reflection: the present invention for required protection requires than the more feature of feature of clearly recording in each claim.Or rather, as reflected in claims below, inventive aspect is to be less than all features of disclosed single embodiment above.Therefore, claims of following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and can the module in the equipment in embodiment are adaptively changed and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and can put them into a plurality of submodules or subelement or sub-component in addition.At least some in such feature and/or process or unit are mutually repelling, and can adopt any combination to combine all processes or the unit of disclosed all features in this instructions (comprising claim, summary and the accompanying drawing followed) and disclosed any method like this or equipment.Unless clearly statement in addition, in this instructions (comprising claim, summary and the accompanying drawing followed) disclosed each feature can be by providing identical, be equal to or the alternative features of similar object replaces.
In addition, those skilled in the art can understand, although embodiment more described herein comprise some feature rather than further feature included in other embodiment, the combination of the feature of different embodiment means within scope of the present invention and forms different embodiment.For example, in claims, the one of any of embodiment required for protection can be used with array mode arbitrarily.
All parts embodiment of the present invention can realize with hardware, or realizes with the software module moved on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that and can use in practice microprocessor or digital signal processor (DSP) to realize the some or all functions according to the some or all parts in the browser of the embodiment of the present invention.The present invention for example can also be embodied as, for carrying out part or all equipment or device program (, computer program and computer program) of method as described herein.Realizing program of the present invention and can be stored on computer-readable medium like this, or can there is the form of one or more signal.Such signal can be downloaded and obtain from internet website, or provides on carrier signal, or provides with any other form.
It should be noted above-described embodiment the present invention will be described rather than limit the invention, and those skilled in the art can design alternative embodiment in the situation that do not depart from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and is not listed as element or step in the claims.Being positioned at word " " before element or " one " does not get rid of and has a plurality of such elements.The present invention can be by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In having enumerated the unit claim of some devices, several in these devices can be to carry out imbody by same hardware branch.The use of word first, second and C grade does not represent any order.Can be title by these word explanations.
So far, those skilled in the art will recognize that, although detailed, illustrate and described a plurality of exemplary embodiment of the present invention herein, but, without departing from the spirit and scope of the present invention, still can directly determine or derive many other modification or the modification that meets the principle of the invention according to content disclosed by the invention.Therefore, scope of the present invention should be understood and regard as and cover all these other modification or modifications.
The embodiment of the present invention has also disclosed the data processing method of an A1. snapshots of web pages, comprising:
Obtain the trigger event of opening snapshots of web pages, and send the request of opening snapshots of web pages to server side;
The floating frame iframe page that reception is returned according to described request from described server side, embeds content and the resource that has described snapshots of web pages in the wherein said iframe page;
Load the described iframe page.
A2. according to the method described in A1, wherein,
The described iframe page has been opened sandbox sandbox attribute,
After receiving the floating frame iframe page return according to described request from described server side, also comprise: the whether support sandbox attribute that judges browser, if, carry out the step that loads the described iframe page, if not, the information of browser is upgraded in output.
A3. according to the method described in A1, wherein, obtain the trigger event of opening snapshots of web pages and comprise:
Obtain the selection operation to the snapshots of web pages entry of browser-presented; Or
Obtain the clicking operation to browsing device net page snapshot entrance.
A4. according to the method described in any one in A1 to A3, wherein, the request of opening snapshots of web pages to server side transmission comprises:
According to described trigger event, determine the collection sign of described snapshots of web pages, and obtain the user ID of browser;
According to described collection sign and described user ID, generate described request, and send to described server side.
A5. according to the method described in any one in A1 to A4, wherein, before obtaining the trigger event of opening snapshots of web pages, also comprise:
The webpage that browser is opened saves as described snapshots of web pages, in conjunction with user, the configuration information of described snapshots of web pages is uploaded to described server side.
A6. according to the method described in A5, wherein, the webpage that browser is opened saves as described snapshots of web pages and comprises:
Web page element in described webpage is carried out to condition code verification, the unmatched web page element of filtering check results and element type;
According to the web page element generating web page snapshot after filtering.
A7. according to the method described in A5 or A6, wherein, the configuration information of this snapshots of web pages is comprised following any one or more: whether share the preservation timeliness of sharing scope, described snapshots of web pages of described snapshots of web pages, described snapshots of web pages, the user tag of described snapshots of web pages.
The embodiment of the present invention has also disclosed B8. browser, comprising:
Event is obtained interface, for obtaining the trigger event of opening snapshots of web pages,
Request transmission interface, for sending the request of opening snapshots of web pages to server side;
Page receiving interface, for receiving the floating frame iframe page returning according to described request from described server side, embeds content and the resource that has described snapshots of web pages in the wherein said iframe page;
Page load-on module, for loading the described iframe page.
B9. according to the browser described in B8, also comprise:
Version judge module, for judging the whether support sandbox attribute of browser, if not, the information of browser is upgraded in output, and wherein, the described iframe page has been opened sandbox sandbox attribute.
B10. according to the browser described in B8, wherein, described event is obtained interface and is configured to:
Obtain the selection operation to the snapshots of web pages entry of browser-presented; Or
Obtain the clicking operation to browsing device net page snapshot entrance.
B11. according to the browser described in any one in B8 to B10, wherein, described request transmission interface is configured to:
According to described trigger event, determine the collection sign of described snapshots of web pages, and obtain the user ID of browser;
According to described collection sign and described user ID, generate described request, and send to described server side.
B12. according to the browser described in any one in B8 to B11, also comprise:
Snapshots of web pages generation module, saves as described snapshots of web pages for the webpage that browser is opened, and in conjunction with user, the configuration information of described snapshots of web pages is uploaded to described server side.
B13. according to the browser described in B12, wherein, described snapshots of web pages generation module is configured to:
Web page element in described webpage is carried out to condition code verification, the unmatched web page element of filtering check results and element type;
According to the web page element generating web page snapshot after filtering.

Claims (10)

1. a data processing method for snapshots of web pages, comprising:
Obtain the trigger event of opening snapshots of web pages, and send the request of opening snapshots of web pages to server side;
The floating frame iframe page that reception is returned according to described request from described server side, embeds content and the resource that has described snapshots of web pages in the wherein said iframe page;
Load the described iframe page.
2. method according to claim 1, wherein,
The described iframe page has been opened sandbox sandbox attribute,
After receiving the floating frame iframe page return according to described request from described server side, also comprise: the whether support sandbox attribute that judges browser, if, carry out the step that loads the described iframe page, if not, the information of browser is upgraded in output.
3. method according to claim 1, wherein, obtain the trigger event of opening snapshots of web pages and comprise:
Obtain the selection operation to the snapshots of web pages entry of browser-presented; Or
Obtain the clicking operation to browsing device net page snapshot entrance.
4. according to the method in any one of claims 1 to 3, wherein, the request of opening snapshots of web pages to server side transmission comprises:
According to described trigger event, determine the collection sign of described snapshots of web pages, and obtain the user ID of browser;
According to described collection sign and described user ID, generate described request, and send to described server side.
5. according to the method described in any one in claim 1 to 4, wherein, before obtaining the trigger event of opening snapshots of web pages, also comprise:
The webpage that browser is opened saves as described snapshots of web pages, in conjunction with user, the configuration information of described snapshots of web pages is uploaded to described server side.
6. method according to claim 5, wherein, the webpage that browser is opened saves as described snapshots of web pages and comprises:
Web page element in described webpage is carried out to condition code verification, the unmatched web page element of filtering check results and element type;
According to the web page element generating web page snapshot after filtering.
7. according to the method described in claim 5 or 6, wherein, the configuration information of this snapshots of web pages is comprised following any one or more: whether share the preservation timeliness of sharing scope, described snapshots of web pages of described snapshots of web pages, described snapshots of web pages, the user tag of described snapshots of web pages.
8. a browser, comprising:
Event is obtained interface, for obtaining the trigger event of opening snapshots of web pages,
Request transmission interface, for sending the request of opening snapshots of web pages to server side;
Page receiving interface, for receiving the floating frame iframe page returning according to described request from described server side, embeds content and the resource that has described snapshots of web pages in the wherein said iframe page;
Page load-on module, for loading the described iframe page.
9. browser according to claim 8, also comprises:
Version judge module, for judging the whether support sandbox attribute of browser, if not, the information of browser is upgraded in output, and wherein, the described iframe page has been opened sandbox sandbox attribute.
10. browser according to claim 8, wherein, described event is obtained interface and is configured to:
Obtain the selection operation to the snapshots of web pages entry of browser-presented; Or
Obtain the clicking operation to browsing device net page snapshot entrance.
CN201310683021.3A 2013-12-13 2013-12-13 Data processing method for web cache and browser Pending CN103699600A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310683021.3A CN103699600A (en) 2013-12-13 2013-12-13 Data processing method for web cache and browser

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310683021.3A CN103699600A (en) 2013-12-13 2013-12-13 Data processing method for web cache and browser

Publications (1)

Publication Number Publication Date
CN103699600A true CN103699600A (en) 2014-04-02

Family

ID=50361128

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310683021.3A Pending CN103699600A (en) 2013-12-13 2013-12-13 Data processing method for web cache and browser

Country Status (1)

Country Link
CN (1) CN103699600A (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104536993A (en) * 2014-12-10 2015-04-22 北京奇虎科技有限公司 Collected webpage processing method, collected webpage processing device and client-side
CN109460253A (en) * 2018-11-12 2019-03-12 郑州云海信息技术有限公司 The method and device of system file Version Control is realized based on iframe
CN110020344A (en) * 2017-09-04 2019-07-16 北京字节跳动科技有限公司 A kind of Webpage element mask method and system
WO2019210614A1 (en) * 2018-05-04 2019-11-07 平安科技(深圳)有限公司 Method and apparatus for implementing page function reuse
CN110704766A (en) * 2019-09-29 2020-01-17 上海淇玥信息技术有限公司 Interface rendering optimization method and device based on real-time snapshot and electronic equipment
CN111259381A (en) * 2020-02-04 2020-06-09 网易(杭州)网络有限公司 Page interaction method and device, computer readable medium and electronic equipment
CN112182442A (en) * 2020-09-28 2021-01-05 湖南亚信软件有限公司 Page processing method and device, electronic equipment and computer readable storage medium
CN112307384A (en) * 2020-10-21 2021-02-02 深圳市欢太科技有限公司 Page snapshot display method and device, electronic equipment and storage medium
CN112783548A (en) * 2019-11-11 2021-05-11 阿里巴巴集团控股有限公司 Access method and device of network system
CN113282817A (en) * 2021-05-31 2021-08-20 武汉野途电子商务有限公司 Webpage content intelligent collection processing method and system based on webpage search engine data analysis and computer storage medium
CN113377375A (en) * 2021-06-30 2021-09-10 杭州群核信息技术有限公司 Page processing method
CN113704668A (en) * 2021-09-01 2021-11-26 稿定(厦门)科技有限公司 Data processing method and device for webpage development
CN113704669A (en) * 2021-09-01 2021-11-26 稿定(厦门)科技有限公司 Data processing method and device for webpage operation
CN114943048A (en) * 2022-07-11 2022-08-26 维沃移动通信有限公司 Webpage loading method, webpage loading device, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080294716A1 (en) * 2007-05-25 2008-11-27 Microsoft Corporation Ad-funded web services
CN102929985A (en) * 2012-10-18 2013-02-13 北京奇虎科技有限公司 Method and system for displaying collected webpage

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080294716A1 (en) * 2007-05-25 2008-11-27 Microsoft Corporation Ad-funded web services
CN102929985A (en) * 2012-10-18 2013-02-13 北京奇虎科技有限公司 Method and system for displaying collected webpage

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
孙静,赵恒永: "《搜索引擎网页快照的实现与安全》", 《中国科技信息》 *
庄小妹 等: "《网页木马的注入与清除》", 《广东培正学院学报》 *

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104536993B (en) * 2014-12-10 2018-03-20 北京奇虎科技有限公司 Collect the processing method of webpage, collect the processing unit and client of webpage
CN104536993A (en) * 2014-12-10 2015-04-22 北京奇虎科技有限公司 Collected webpage processing method, collected webpage processing device and client-side
CN110020344B (en) * 2017-09-04 2021-12-10 北京字节跳动科技有限公司 Webpage element labeling method and system
CN110020344A (en) * 2017-09-04 2019-07-16 北京字节跳动科技有限公司 A kind of Webpage element mask method and system
WO2019210614A1 (en) * 2018-05-04 2019-11-07 平安科技(深圳)有限公司 Method and apparatus for implementing page function reuse
CN109460253A (en) * 2018-11-12 2019-03-12 郑州云海信息技术有限公司 The method and device of system file Version Control is realized based on iframe
CN110704766A (en) * 2019-09-29 2020-01-17 上海淇玥信息技术有限公司 Interface rendering optimization method and device based on real-time snapshot and electronic equipment
CN112783548A (en) * 2019-11-11 2021-05-11 阿里巴巴集团控股有限公司 Access method and device of network system
CN112783548B (en) * 2019-11-11 2024-02-20 阿里巴巴集团控股有限公司 Access method and device of network system
CN111259381A (en) * 2020-02-04 2020-06-09 网易(杭州)网络有限公司 Page interaction method and device, computer readable medium and electronic equipment
CN112182442A (en) * 2020-09-28 2021-01-05 湖南亚信软件有限公司 Page processing method and device, electronic equipment and computer readable storage medium
CN112307384A (en) * 2020-10-21 2021-02-02 深圳市欢太科技有限公司 Page snapshot display method and device, electronic equipment and storage medium
CN112307384B (en) * 2020-10-21 2024-05-03 深圳市欢太科技有限公司 Page snapshot display method and device, electronic equipment and storage medium
CN113282817A (en) * 2021-05-31 2021-08-20 武汉野途电子商务有限公司 Webpage content intelligent collection processing method and system based on webpage search engine data analysis and computer storage medium
CN113282817B (en) * 2021-05-31 2022-08-23 喀斯玛(北京)科技有限公司 Webpage content collection processing method and processing system
CN113377375A (en) * 2021-06-30 2021-09-10 杭州群核信息技术有限公司 Page processing method
CN113704669A (en) * 2021-09-01 2021-11-26 稿定(厦门)科技有限公司 Data processing method and device for webpage operation
CN113704668B (en) * 2021-09-01 2022-10-14 稿定(厦门)科技有限公司 Data processing method and device for webpage development
CN113704668A (en) * 2021-09-01 2021-11-26 稿定(厦门)科技有限公司 Data processing method and device for webpage development
CN114943048A (en) * 2022-07-11 2022-08-26 维沃移动通信有限公司 Webpage loading method, webpage loading device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN103699600A (en) Data processing method for web cache and browser
CN104049986B (en) plug-in loading method and device
US20150154313A1 (en) A method, device, browser and program for accessing web page
CN104036011A (en) Webpage element display method and browser device.
CN104077387A (en) Webpage content display method and browser device
CN104301379A (en) Web page cross-domain communication method and device
CN104111944A (en) Page processing method and device and page generating method and device
CN102999578B (en) Page elements treatment process and device
CN102833258A (en) Website access method and system
CN104156235A (en) Browser plugin and/or extension updating method and device
CN102663319A (en) Prompting method and device for download link security
US20150058713A1 (en) Method and apparatus for sharing media content and method and apparatus for displaying media content
CN103678555A (en) Webpage collecting method and browser
CN102867147A (en) File scanning method and device
CN103714119A (en) Method and device for processing browser data
CN102981846A (en) Method for treating password input box element and browser for treating the password input box element
CN109325192B (en) Advertisement anti-shielding method and device
CN103761241A (en) Method for uploading picture data and browser
CN103617390A (en) Malicious webpage judgment method, device and system
US10083156B2 (en) Mobile enablement of webpages
CN102902784B (en) Web page classification storage system and method
CN104199865A (en) Searching method, client-side and system of custom result providing content provider
US20190138711A1 (en) System and method for webpages scripts validation
CN105447383A (en) Browser operating environment detection method, client, server and browser operating environment detection system
CN103500114A (en) Method and device for installing application program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20140402

RJ01 Rejection of invention patent application after publication