CN108256349A - The method and device of webpage protection - Google Patents

The method and device of webpage protection Download PDF

Info

Publication number
CN108256349A
CN108256349A CN201711471862.2A CN201711471862A CN108256349A CN 108256349 A CN108256349 A CN 108256349A CN 201711471862 A CN201711471862 A CN 201711471862A CN 108256349 A CN108256349 A CN 108256349A
Authority
CN
China
Prior art keywords
browser
virtual machine
interface
webpage
host
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
CN201711471862.2A
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
Original Assignee
Beijing Qihoo Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201711471862.2A priority Critical patent/CN108256349A/en
Publication of CN108256349A publication Critical patent/CN108256349A/en
Pending legal-status Critical Current

Links

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/629Protecting access to data via a platform, e.g. using keys or access control rules to features or functions of an application
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45537Provision of facilities of other operating environments, e.g. WINE
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system

Abstract

The invention discloses a kind of method and devices of webpage protection, are related to technical field of data security, can solve the problem of in the prior art in switching between virtual environment interface and true environment interface during webpage is protected it is cumbersome, experience is poor.The method of the present invention mainly includes:Obtain the webpage being accessed in the browser of host;When it is wait the target webpage protected to determine accessed webpage, start the browser in virtual machine and the virtual machine, wherein, the interface of the virtual machine is set as hidden state, only shows the interface of browser in the virtual machine;The interface covering of browser in the virtual machine is shown to the interface of browser in the host;The target webpage is loaded onto in the browser of the virtual machine and is shown.The present invention is mainly suitable in the scene using the protection of virtual Environment Implementation webpage.

Description

The method and device of webpage protection
Technical field
The present invention relates to technical field of data security, more particularly to a kind of method and device of webpage protection.
Background technology
With the development of Internet technology, more and more websites incorporate people’s lives.Such as shopping website, News Network It stands and tour site etc..Often it is related in many websites and pays, the relevant important webpage such as file download, but by In for browsing the browser of webpage there are many loopholes, so these important webpages are easy to be attacked, so as to user It causes damages.
In order to improve the safety of webpage, a kind of method for protecting webpage is provided in the prior art:By in computer Establishment virtual environment is opened up in system, the operation content of entire browser is loaded in this virtual environment, make its with it is true Environment (environment i.e. residing for host) completely cuts off, so as to play the role of protecting webpage.However, when user needs to use true ring When border accesses other application, it is also necessary to it is not only cumbersome by the changing interface of virtual environment to the interface of true environment, but also Poor user experience.
Invention content
In view of this, the method and device of webpage provided by the invention protection, can solve in the prior art webpage into The problem of during row protection, when switching between virtual environment interface and true environment interface is cumbersome, experience difference.
The purpose of the present invention is what is realized using following technical scheme:
In a first aspect, the present invention provides a kind of method of webpage protection, the method includes:
Obtain the webpage being accessed in the browser of host;
When it is wait the target webpage protected to determine accessed webpage, start the browsing in virtual machine and the virtual machine Device, wherein, the interface of the virtual machine is set as hidden state, only shows the interface of browser in the virtual machine;
The interface covering of browser in the virtual machine is shown to the interface of browser in the host;
The target webpage is loaded onto in the browser of the virtual machine and is shown.
Second aspect, the present invention provides a kind of device of webpage protection, described device includes:
Acquiring unit, for obtaining the webpage being accessed in the browser of host;
Start unit, for when it is wait the target webpage protected to determine accessed webpage, starting virtual machine and described Browser in virtual machine, wherein, the interface of the virtual machine is set as hidden state, only shows browser in the virtual machine Interface;
Display unit is covered, for the interface covering of browser in the virtual machine to be shown browser in the host Interface;
Display unit is loaded, is shown for the target webpage to be loaded onto in the browser of the virtual machine.
The third aspect, the present invention provides a kind of storage medium, the storage medium is stored with a plurality of instruction, described instruction The method protected suitable for the webpage for being loaded by processor and being performed as described in relation to the first aspect.
Fourth aspect, the present invention provides a kind of electronic equipment, the electronic equipment includes storage medium and processor;
The processor is adapted for carrying out each instruction;
The storage medium, suitable for storing a plurality of instruction;
Described instruction is suitable for being loaded by the processor and being performed the method for webpage protection as described in relation to the first aspect.
By above-mentioned technical proposal, the method and device of webpage protection provided by the invention can detect the clear of host Look at the webpage being accessed in device, when it is wait the target webpage protected to detect accessed webpage, can start virtual machine and Browser in virtual machine, and the interface of virtual machine is hidden so that user is only capable of seeing the interface of browser in virtual machine, Then the interface covering of browser in virtual machine is shown to the interface of browser in host, target webpage is finally loaded into void It is shown in the browser of plan machine, it is possible thereby to realize the seamless switching between virtual machine and host, either starts empty Before plan machine or after starting virtual machine, all it is only capable of seeing a browser interface from the user's point of view, thinks that it makes always Webpage is browsed with the browser of host, virtual environment interface and true environment circle are realized by being manually operated without any The demand switched between face so as to simplify in webpage protection process, needs the manual switching virtual environmental interface of user and true The operating procedure of environmental interface, improves user experience.
Above description 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 it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, below the special specific embodiment for lifting the present invention.
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 field Technical staff will become clear.Attached drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows a kind of flow chart of the method for webpage protection provided in an embodiment of the present invention;
Fig. 2 shows the flow charts of the method for another webpage protection provided in an embodiment of the present invention;
Fig. 3 shows a kind of composition frame chart of the device of webpage protection provided in an embodiment of the present invention;
Fig. 4 shows the composition frame chart of the device of another webpage protection provided in an embodiment of the present invention.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is 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.
An embodiment of the present invention provides a kind of method of webpage protection, as shown in Figure 1, the method includes:
101st, the webpage being accessed in the browser of host is obtained.
In order to realize the function that security protection is carried out to particular webpage (such as webpage involved in Internetbank), can set in advance Put the webpage range for needing to protect, such as the uniform resource locator (Uniform of webpage that needs can be specified to protect Resource Locator, URL), type of webpage that needs protect etc. can also be specified, and specific set-up mode is according to reality Depending on demand.After webpage range is set up, the peace of the webpage to these settings can be realized by performing step 101-104 Full protection.
After the browser in host is activated, the webpage being accessed in the browser is obtained, is then accessed this Webpage matched with pre-set webpage to be protected;If successful match, it is determined that the accessed webpage is to wait to prevent The webpage of shield;If it fails to match, it is determined that the accessed webpage is not webpage to be protected.
Wherein, the matched rule of webpage can be depending on the feature according to the webpage to be protected of setting, if for example, being provided that Whether identical the URL of webpage then can directly match URL;For another example, if being provided that the type (such as transaction page) of webpage, Whether the type that two webpages can be matched is consistent.
102nd, when it is wait the target webpage protected to determine accessed webpage, start in virtual machine and the virtual machine Browser, wherein, the interface of the virtual machine is set as hidden state, only shows the interface of browser in the virtual machine.
When it is wait the target webpage protected to determine accessed webpage, in order to carry out security protection to the target webpage, Running environment safety, pure virtual machine can be used to run the target webpage.Therefore, can start in virtual machine and virtual machine Browser, to use the browser loaded and displayed target webpage in virtual machine.Wherein, it is visited to further improve webpage The safety asked, virtual machine used in the present embodiment can be the virtual machine dedicated for protecting the webpage in browser, and Being not used in progress, other are operated.Wherein, it in order to realize dedicated for the virtual machine of the webpage in protection browser, needs to virtual Special services or particular port in machine are reinforced and/or are closed.
In addition, in order to realize host and seamless switching before virtual machine, the interface for the virtual machine that will be started is needed to set Hidden state is set to, user is made not enter into the perception at virtual machine interface.Wherein, the interface of virtual machine is set as hidden state Specific implementation it is including but not limited to following two:(1) source code of virtual machine is changed, the interface of virtual machine is set as hidden It hides;(2) interface of virtual machine is set as pellucidity, realizes hiding effect.
The 103rd, the interface covering of browser in the virtual machine is shown to the interface of browser in the host.
In order to realize the seamless switching between virtual machine and host, make user's unaware, in addition to by the interface of virtual machine It is set as outside hidden state, it is also necessary to the interface covering of browser in virtual machine be shown to the interface of browser in host, made It is always a browser, and position change does not occur automatically for browser to obtain desktop display effect, shows and imitates to avoid desktop Fruit is two browsers, and causes the illusion that electronic equipment breaks down to user.
Optionally, in order to enable the display effect of a browser more preferably, and avoid because browser version difference due to use The phenomenon that family causes browser to change automatically can make the version of browser in the version and host of browser in virtual machine Originally it is consistent.
104th, the target webpage is loaded onto in the browser of the virtual machine and be shown.
After the browser in starting virtual machine, for objective of defense webpage, the related data of target webpage can be added It is loaded onto in the browser of virtual machine and is shown.
It should be noted that the embodiment of the present invention does not limit the execution sequence of this step and step 104.It can first hold Row step 103, then perform step 104;Step 104 can also be first carried out, then performs step 103;Can also both be performed simultaneously.
The method of webpage protection provided in an embodiment of the present invention, can detect the net being accessed in the browser of host Page, when it is wait the target webpage protected to detect accessed webpage, can start the browser in virtual machine and virtual machine, And the interface of virtual machine is hidden so that user is only capable of seeing the interface of browser in virtual machine, then will be clear in virtual machine Look at device interface covering show host in browser interface, finally target webpage is loaded into the browser of virtual machine into Row displaying it is possible thereby to realize the seamless switching between virtual machine and host, before either starting virtual machine or starts After virtual machine, all it is only capable of seeing a browser interface from the user's point of view, thinks it in the browser for using host always Webpage is browsed, the need switched between virtual environment interface and true environment interface are realized by being manually operated without any It asks, so as to simplify in webpage protection process, needs the operation at the manual switching virtual environmental interface of user and true environment interface Step improves user experience.
Further, according to method shown in FIG. 1, an alternative embodiment of the invention additionally provides a kind of webpage protection Method, as shown in Fig. 2, the method includes:
201st, the webpage being accessed in the browser of host is obtained.
The specific implementation of this step is consistent with the specific implementation of above-mentioned steps 101, and details are not described herein.
202nd, when it is wait the target webpage protected to determine accessed webpage, start in virtual machine and the virtual machine Browser, wherein, the interface of the virtual machine is set as hidden state, only shows the interface of browser in the virtual machine.
The specific implementation of this step is consistent with the specific implementation of above-mentioned steps 201, and details are not described herein.
The 203rd, the interface covering of browser in the virtual machine is shown to the interface of browser in the host.
Specifically, can be realized by following two modes browser in virtual machine interface covering show host in it is clear Look at device interface function:
(1) coordinate of the interface of browser in the host on a terminal screen is obtained;It will be browsed in the host The interface of device is hidden, the coordinate that the coordinate at the interface of browser in the virtual machine is set as obtaining, so that described The interface of browser is shown at the coordinate of the acquisition in virtual machine.
Wherein, the mode that the interface of browser is hidden is included but not limited to:(1) source code of virtual machine is changed, it will The interface of browser is set as hiding in virtual machine;(2) interface of browser in virtual machine is set as pellucidity, realized hidden The effect of Tibetan.
(2) interface of browser in the virtual machine is placed in the host residing for the interface of browser and shows level Upper strata, the coordinate at the interface of browser in the virtual machine is set as to the coordinate of the acquisition, so that the virtual machine The interface of middle browser is shown at the coordinate of the acquisition, i.e., so that the interface of browser covers display place in virtual machine The interface of browser in host.
204th, the target webpage is loaded onto in the browser of the virtual machine and be shown.
It specifically, can be by the corresponding hypertext markup language of the target webpage (HyperText Markup Language, HTML) data are loaded onto in the browser of the virtual machine and are shown.When the target webpage contain it is corresponding During plug-in unit, in order to enable target webpage is completely shown in front of the user, the browser in addition to html data to be loaded onto to virtual machine In other than, it is also necessary to the corresponding plug-in unit of the target webpage is loaded and is installed into the browser of the virtual machine, treats HTML After data and plug-in unit are all loaded onto in the browser of virtual machine, then the data of loading are carried out in the browser of the virtual machine Displaying.
In practical applications, it logs in formality to simplify user, be recorded in the commodity to be paid that certain shopping website selects, place The browser of host can register customers as information, commodity that user selects etc. and be recorded in cookie.Therefore, in order not to reducing use (low experience effect is if desired for input username and password ability log-on webpage or needs weight for the experience effect of family browsing webpage New picking commodities), the cookie information corresponding to the webpage being loaded onto in the browser of the virtual machine can be also added to In the browser of the virtual machine, so as to the browser in virtual machine according to cookie information come loaded and displayed target webpage.
If it in addition, is visited again for the ease of user containing other accessed webpages in the browser of the host Ask other accessed webpages, other described accessed webpages can be also loaded onto in the browser of the virtual machine into Row displaying.Wherein, the specific implementation of other accessed webpages and the specific implementation of loading target webpage are loaded Unanimously.
205th, it when the target webpage is closed, closes the browser of the virtual machine or closes the virtual machine.
It is current just without the webpage for needing to protect when user closes target webpage, in order to not influence user in host Subsequent operation in machine, the browser that can be automatically closed in virtual machine at this time or directly closes virtual machine.Wherein, due to void The interface of plan machine has been arranged to hidden state, so when user closes target webpage, the browser that is simply turned off in virtual machine, There is no visual impact to user.
It, will if being shown in host during the interface of browser in addition, the interface of browser in virtual machine is covered The interface of browser hides in host, then can cause not having on screen due to closing the browser of virtual machine or closing virtual machine There is browser to show, so for so that user's unaware, it is also necessary to which the interface of browser in host is extensive at original coordinates Multiple display.Be achieved in the case of user's unaware, using virtual machine browser protect particular webpage, then user without In the case of perception, restore the function using other webpages of the browser-presented of host.
Further, according to above method embodiment, an alternative embodiment of the invention additionally provides a kind of webpage protection Device, as shown in figure 3, described device includes:
Acquiring unit 31, for obtaining the webpage being accessed in the browser of host;
Start unit 32, for when it is wait the target webpage protected to determine accessed webpage, starting virtual machine and institute The browser in virtual machine is stated, wherein, the interface of the virtual machine is set as hidden state, only shows in the virtual machine and browses The interface of device;
Display unit 33 is covered, is browsed for the interface covering of browser in the virtual machine to be shown in the host The interface of device;
Display unit 34 is loaded, is shown for the target webpage to be loaded onto in the browser of the virtual machine.
Optionally, as shown in figure 4, the covering display unit 33 includes:
Acquisition module 331, for obtaining the coordinate of the interface of browser in the host on a terminal screen;
Hidden module 332, for the interface of browser in the host to be hidden;
First setup module 333, for the coordinate at the interface of browser in the virtual machine to be set as to the coordinate of acquisition, So that the interface of browser is shown at the coordinate of the acquisition in the virtual machine;
Second setup module 334, for the interface of browser in the virtual machine to be placed in browser in the host The residing display level in interface upper strata, the coordinate at the interface of browser in the virtual machine is set as to the seat of the acquisition Mark, so that the interface of browser is shown at the coordinate of the acquisition in the virtual machine.
Optionally, as shown in figure 4, described device further includes:
Closing unit 35, for when the target webpage is closed, closing the browser of the virtual machine or closing institute State virtual machine;
Restore display unit 36, it, will be in the host for when the interface of browser in the host is hidden Restore display at original coordinates in the interface of browser.
Optionally, the loading display unit 34 is additionally operable to when accessed containing other in the browser of the host During webpage, shown by the interface covering of browser in the virtual machine in the host after the interface of browser, by institute It states other accessed webpages and is loaded onto in the browser of the virtual machine and be shown.
Optionally, as shown in figure 4, described device further includes:
Adding device 37, for the cookie information corresponding to the webpage being loaded onto in the browser of the virtual machine to be added It is added in the browser of the virtual machine.
Optionally, as shown in figure 4, the loading display unit 34 includes:
First load-on module 341, for the corresponding hypertext markup language html data of the target webpage to be loaded onto In the browser of the virtual machine;
Second load-on module 342, for when the target webpage contains corresponding plug-in unit, the target webpage to be corresponded to Plug-in unit load and install into the browser of the virtual machine;
Display module 343, for the data of loading to be shown in the browser of the virtual machine.
Optionally, the virtual machine is dedicated for the webpage in protection browser.
Optionally, the version of browser is consistent with the version of browser in the host in the virtual machine.
The device of webpage protection provided in an embodiment of the present invention, can detect the net being accessed in the browser of host Page, when it is wait the target webpage protected to detect accessed webpage, can start the browser in virtual machine and virtual machine, And the interface of virtual machine is hidden so that user is only capable of seeing the interface of browser in virtual machine, then will be clear in virtual machine Look at device interface covering show host in browser interface, finally target webpage is loaded into the browser of virtual machine into Row displaying it is possible thereby to realize the seamless switching between virtual machine and host, before either starting virtual machine or starts After virtual machine, all it is only capable of seeing a browser interface from the user's point of view, thinks it in the browser for using host always Webpage is browsed, the need switched between virtual environment interface and true environment interface are realized by being manually operated without any It asks, so as to simplify in webpage protection process, needs the operation at the manual switching virtual environmental interface of user and true environment interface Step improves user experience.
Further, according to above method embodiment, an alternative embodiment of the invention additionally provides a kind of storage medium, The storage medium is stored with a plurality of instruction, and described instruction is suitable for being loaded by processor and being performed webpage protection as described above Method.
The instruction stored in storage medium provided in an embodiment of the present invention can be detected in the browser of host and is accessed Webpage, when it is wait the target webpage protected to detect accessed webpage, can start clear in virtual machine and virtual machine It lookes at device, and the interface of virtual machine is hidden so that user is only capable of seeing the interface of browser in virtual machine, then by virtual machine The interface covering of middle browser shows the interface of browser in host, and target webpage is finally loaded into the browser of virtual machine In be shown, it is possible thereby to realize the seamless switching between virtual machine and host, either start before virtual machine still After starting virtual machine, all it is only capable of seeing a browser interface from the user's point of view, thinks that it is using the clear of host always Device of looking at browses webpage, realizes what is switched between virtual environment interface and true environment interface by being manually operated without any Demand so as to simplify in webpage protection process, needs the behaviour at the manual switching virtual environmental interface of user and true environment interface Make step, improve user experience.
Further, according to above method embodiment, an alternative embodiment of the invention additionally provides a kind of electronic equipment, The electronic equipment includes storage medium and processor;
The processor is adapted for carrying out each instruction;
The storage medium, suitable for storing a plurality of instruction;
Described instruction is suitable for the method for being loaded by the processor and being performed webpage protection as described above.
Electronic equipment provided in an embodiment of the present invention can detect the webpage being accessed in the browser of host, work as inspection It is when the target webpage protected to measure accessed webpage, can start the browser in virtual machine and virtual machine, and cause The interface of virtual machine hides so that user is only capable of seeing the interface of browser in virtual machine, then by browser in virtual machine Interface covering shows the interface of browser in host, is finally loaded into target webpage in the browser of virtual machine and opens up Show, it is possible thereby to realize the seamless switching between virtual machine and host, before either starting virtual machine or start virtual After machine, all it is only capable of seeing a browser interface from the user's point of view, thinks that it is browsed in the browser for using host always Webpage realizes the demand switched between virtual environment interface and true environment interface without any by being manually operated, from And simplify in webpage protection process, the operating procedure at the manual switching virtual environmental interface of user and true environment interface is needed, Improve user experience.
The embodiment of the present invention additionally provides:
A1, a kind of method of webpage protection, the method includes:
Obtain the webpage being accessed in the browser of host;
When it is wait the target webpage protected to determine accessed webpage, start the browsing in virtual machine and the virtual machine Device, wherein, the interface of the virtual machine is set as hidden state, only shows the interface of browser in the virtual machine;
The interface covering of browser in the virtual machine is shown to the interface of browser in the host;
The target webpage is loaded onto in the browser of the virtual machine and is shown.
A2, the method according to A1, the interface covering by browser in the virtual machine show the host The interface of middle browser includes:
Obtain the coordinate of the interface of browser in the host on a terminal screen;
The interface of browser in the host is hidden, the coordinate at the interface of browser in the virtual machine is set The coordinate of acquisition is set to, so that the interface of browser is shown at the coordinate of the acquisition in the virtual machine;Or The interface of browser in the virtual machine is placed in the host to the upper strata that level is shown residing for the interface of browser, by institute The coordinate for stating the interface of browser in virtual machine is set as the coordinate of the acquisition so that in the virtual machine browser boundary Face is shown at the coordinate of the acquisition.
A3, the method according to A2, the method further include:
When the target webpage is closed, close the browser of the virtual machine or close the virtual machine;
If the interface of browser is hidden in the host, by the interface of browser in the host in original seat Restore display at mark.
A4, the method according to A1, if being incited somebody to action in the browser of the host containing other accessed webpages The interface covering of browser shows that the method further includes in the host after the interface of browser in the virtual machine:
Other described accessed webpages are loaded onto in the browser of the virtual machine and are shown.
A5, the method according to any one of A1 to A4, the method further include:
Cookie information corresponding to the webpage being loaded onto in the browser of the virtual machine is added to the virtual machine Browser in.
A6, the method according to A1, the described target webpage is loaded onto in the browser of the virtual machine carry out Displaying includes:
The corresponding hypertext markup language html data of the target webpage is loaded onto in the browser of the virtual machine;
If the target webpage contains corresponding plug-in unit, the corresponding plug-in unit of the target webpage is loaded and is installed to institute In the browser for stating virtual machine;
The data of loading are shown in the browser of the virtual machine.
A7, the method according to A1, the virtual machine is dedicated for the webpage in protection browser.
A8, the method according to any one of A1 to A4, A6 to A7, in the virtual machine version of browser with it is described The version of browser is consistent in host.
B9, a kind of device of webpage protection, described device include:
Acquiring unit, for obtaining the webpage being accessed in the browser of host;
Start unit, for when it is wait the target webpage protected to determine accessed webpage, starting virtual machine and described Browser in virtual machine, wherein, the interface of the virtual machine is set as hidden state, only shows browser in the virtual machine Interface;
Display unit is covered, for the interface covering of browser in the virtual machine to be shown browser in the host Interface;
Display unit is loaded, is shown for the target webpage to be loaded onto in the browser of the virtual machine.
B10, the device according to B9, the covering display unit include:
Acquisition module, for obtaining the coordinate of the interface of browser in the host on a terminal screen;
Hidden module, for the interface of browser in the host to be hidden;
First setup module, for the coordinate at the interface of browser in the virtual machine to be set as to the coordinate of acquisition, with So that the interface of browser is shown at the coordinate of the acquisition in the virtual machine;
Second setup module, for the interface of browser in the virtual machine to be placed in the boundary of browser in the host The coordinate at the interface of browser in the virtual machine is set as the coordinate of the acquisition by the upper strata of the residing display level in face, with So that the interface of browser is shown at the coordinate of the acquisition in the virtual machine.
B11, the device according to B10, described device further include:
Closing unit, for when the target webpage is closed, closing described in browser or the closing of the virtual machine Virtual machine;
Restore display unit, it, will be clear in the host for when the interface of browser in the host is hidden Look at device interface restore at original coordinates display.
B12, the device according to B9, the loading display unit are additionally operable to contain when in the browser of the host During other accessed webpages, on the boundary that the interface covering of browser in the virtual machine is shown to browser in the host After face, other described accessed webpages are loaded onto in the browser of the virtual machine and are shown.
B13, the device according to any one of B9 to B12, described device further include:
Adding device, for the cookie information addition corresponding to the webpage that will be loaded onto in the browser of the virtual machine Into the browser of the virtual machine.
B14, the device according to B9, the loading display unit include:
First load-on module, it is described for the corresponding hypertext markup language html data of the target webpage to be loaded onto In the browser of virtual machine;
Second load-on module, it is for when the target webpage contains corresponding plug-in unit, the target webpage is corresponding Plug-in unit is loaded and is installed into the browser of the virtual machine;
Display module, for the data of loading to be shown in the browser of the virtual machine.
B15, the device according to B9, the virtual machine is dedicated for the webpage in protection browser.
B16, the method according to any one of B9 to B12, B14 to B15, in the virtual machine version of browser with The version of browser is consistent in the host.
C17, a kind of storage medium, the storage medium are stored with a plurality of instruction, and described instruction is suitable for being added by processor The method for carrying and performing the protection of the webpage as described in any one of A1-A8.
D18, a kind of electronic equipment, the electronic equipment include storage medium and processor;
The processor is adapted for carrying out each instruction;
The storage medium, suitable for storing a plurality of instruction;
Described instruction is suitable for being loaded as the processor and being performed the side of the protection of the webpage as described in any one of A1-A8 Method.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiment.
It is understood that the correlated characteristic in the above method and device can be referred to mutually.In addition, in above-described embodiment " first ", " second " etc. be for distinguishing each embodiment, and do not represent the quality of each embodiment.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit can refer to the corresponding process in preceding method embodiment, and details are not described herein.
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 provided in this place, 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 without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this description.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of each inventive aspect, Above in the description of 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:It is i.e. required anti- Shield the present invention claims the more features of feature than being expressly recited in each claim.More precisely, as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim is in itself Separate embodiments all as the present invention.
Those skilled in the art, which are appreciated that, to carry out adaptively the module in the equipment in embodiment Change and they are arranged in one or more equipment different from the embodiment.It 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.Other than such feature and/or at least some of process or unit exclude each other, it may be used any Combination is disclosed to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so to appoint Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification is (including adjoint power Profit requirement, abstract and attached drawing) disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other 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, the embodiment of required protection is appointed One of meaning mode can use in any combination.
The all parts embodiment of the present invention can be with hardware realization or to be run on one or more processor Software module realize or realized with combination 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 method and device of webpage protection according to embodiments of the present invention Some or all components some or all functions.The present invention is also implemented as performing side as described herein The some or all equipment or program of device (for example, computer program and computer program product) of method.It is such Realizing the program of the present invention can may be stored on the computer-readable medium or can have the shape of one or more signal Formula.Such signal can be downloaded from internet website to be obtained either providing or with any other shape on carrier signal Formula provides.
It should be noted that the present invention will be described rather than limits the invention, and ability for above-described embodiment Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference mark 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 several different elements and being come by means of properly programmed computer real It is existing.If in the unit claim for listing equipment for drying, 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 sequence.These words can be explained and run after fame Claim.

Claims (10)

  1. A kind of 1. method of webpage protection, which is characterized in that the method includes:
    Obtain the webpage being accessed in the browser of host;
    When it is wait the target webpage protected to determine accessed webpage, start the browser in virtual machine and the virtual machine, Wherein, the interface of the virtual machine is set as hidden state, only shows the interface of browser in the virtual machine;
    The interface covering of browser in the virtual machine is shown to the interface of browser in the host;
    The target webpage is loaded onto in the browser of the virtual machine and is shown.
  2. 2. according to the method described in claim 1, it is characterized in that, the interface covering by browser in the virtual machine is aobvious Show that the interface of browser in the host includes:
    Obtain the coordinate of the interface of browser in the host on a terminal screen;
    The interface of browser in the host is hidden, the coordinate at the interface of browser in the virtual machine is set as The coordinate of acquisition, so that the interface of browser is shown at the coordinate of the acquisition in the virtual machine;Or by institute The interface for stating browser in virtual machine is placed in the residing upper strata for showing level in interface of browser in the host, by the void The coordinate at the interface of browser is set as the coordinate of the acquisition in plan machine, so that the interface of browser exists in the virtual machine It is shown at the coordinate of the acquisition.
  3. 3. according to the method described in claim 2, it is characterized in that, the method further includes:
    When the target webpage is closed, close the browser of the virtual machine or close the virtual machine;
    If the interface of browser is hidden in the host, by the interface of browser in the host at original coordinates Restore display.
  4. 4. it is if according to the method described in claim 1, it is characterized in that, accessed containing other in the browser of the host Webpage, then shown in the host after the interface of browser by the interface covering of browser in the virtual machine, institute The method of stating further includes:
    Other described accessed webpages are loaded onto in the browser of the virtual machine and are shown.
  5. 5. method according to any one of claim 1 to 4, which is characterized in that the method further includes:
    Cookie information corresponding to the webpage being loaded onto in the browser of the virtual machine is added to the clear of the virtual machine It lookes in device.
  6. 6. according to the method described in claim 1, it is characterized in that, described be loaded onto the virtual machine by the target webpage Be shown in browser including:
    The corresponding hypertext markup language html data of the target webpage is loaded onto in the browser of the virtual machine;
    If the target webpage contains corresponding plug-in unit, the corresponding plug-in unit of the target webpage is loaded and is installed to the void In the browser of plan machine;
    The data of loading are shown in the browser of the virtual machine.
  7. 7. according to the method described in claim 1, it is characterized in that, the virtual machine is dedicated for the net in protection browser Page.
  8. 8. a kind of device of webpage protection, which is characterized in that described device includes:
    Acquiring unit, for obtaining the webpage being accessed in the browser of host;
    Start unit, for when it is wait the target webpage protected to determine accessed webpage, starting virtual machine and described virtual Browser in machine, wherein, the interface of the virtual machine is set as hidden state, only shows the boundary of browser in the virtual machine Face;
    Display unit is covered, for the interface covering of browser in the virtual machine to be shown to the boundary of browser in the host Face;
    Display unit is loaded, is shown for the target webpage to be loaded onto in the browser of the virtual machine.
  9. 9. a kind of storage medium, which is characterized in that the storage medium is stored with a plurality of instruction, and described instruction is suitable for by handling The method that device loads and performs the protection of the webpage as described in any one of claim 1-7.
  10. 10. a kind of electronic equipment, which is characterized in that the electronic equipment includes storage medium and processor;
    The processor is adapted for carrying out each instruction;
    The storage medium, suitable for storing a plurality of instruction;
    Described instruction is suitable for being loaded as the processor and being performed the side of the protection of the webpage as described in any one of claim 1-7 Method.
CN201711471862.2A 2017-12-29 2017-12-29 The method and device of webpage protection Pending CN108256349A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711471862.2A CN108256349A (en) 2017-12-29 2017-12-29 The method and device of webpage protection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711471862.2A CN108256349A (en) 2017-12-29 2017-12-29 The method and device of webpage protection

Publications (1)

Publication Number Publication Date
CN108256349A true CN108256349A (en) 2018-07-06

Family

ID=62725036

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711471862.2A Pending CN108256349A (en) 2017-12-29 2017-12-29 The method and device of webpage protection

Country Status (1)

Country Link
CN (1) CN108256349A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101583940A (en) * 2006-01-17 2009-11-18 基达罗(以色列)有限公司 Seamless integration of multiple computing environments
US20130031618A1 (en) * 2011-03-03 2013-01-31 Citrix Systems Inc. Reverse Seamless Integration Between Local and Remote Computing Environments
CN105095748A (en) * 2010-11-19 2015-11-25 北京奇虎科技有限公司 Method for using browser isolatedly
CN105335176A (en) * 2014-07-22 2016-02-17 中兴通讯股份有限公司 Method and apparatus for calling application installed in electronic device
CN106354546A (en) * 2016-08-29 2017-01-25 北京奇虎科技有限公司 Virtual machine remote control method and system
CN107229711A (en) * 2017-05-27 2017-10-03 北京小米移动软件有限公司 Webpage display process and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101583940A (en) * 2006-01-17 2009-11-18 基达罗(以色列)有限公司 Seamless integration of multiple computing environments
CN105095748A (en) * 2010-11-19 2015-11-25 北京奇虎科技有限公司 Method for using browser isolatedly
US20130031618A1 (en) * 2011-03-03 2013-01-31 Citrix Systems Inc. Reverse Seamless Integration Between Local and Remote Computing Environments
CN105335176A (en) * 2014-07-22 2016-02-17 中兴通讯股份有限公司 Method and apparatus for calling application installed in electronic device
CN106354546A (en) * 2016-08-29 2017-01-25 北京奇虎科技有限公司 Virtual machine remote control method and system
CN107229711A (en) * 2017-05-27 2017-10-03 北京小米移动软件有限公司 Webpage display process and device

Similar Documents

Publication Publication Date Title
CN104035984B (en) Method for blocking popup windows in browser and device for blocking popup windows
CN105354014B (en) Application interface renders methods of exhibiting and device
CN105631355B (en) A kind of data processing method and device
CN105426538B (en) Page switching method and device
US10542123B2 (en) System and method for generating and monitoring feedback of a published webpage as implemented on a remote client
US9116998B2 (en) Guest browser
CN104360882B (en) Display methods and device are carried out to picture in webpage in a kind of browser
US8661245B1 (en) Systems and methods for empowering IP practitioners
Van Acker et al. FlashOver: Automated discovery of cross-site scripting vulnerabilities in rich internet applications
CN103823841B (en) Improve the method and its device of mobile terminal client terminal surfing
CN103117893B (en) A kind of monitoring method of network access behavior, device and a kind of client device
CN104021016B (en) Method and browser for loading browser plug-in icons
US20150058713A1 (en) Method and apparatus for sharing media content and method and apparatus for displaying media content
US20090164993A1 (en) Look ahead of links/alter links
CN104504058B (en) A kind of page display method and browser device
CN106569856A (en) Method and device of loading application view resource file
CN106254325A (en) The display packing of website authentication information and browser
CN108614762A (en) A kind of browser testing method and device
CN107040584A (en) The method and device of client downloads picture
CN103631619B (en) A kind of software installation method and a kind of terminal
CN104346463A (en) Loading method and device of page label and browser client
CN105426524B (en) A kind of web interface methods of exhibiting and device
CN106202179A (en) A kind of page loading method and device
CN106157109A (en) price comparing method, device and terminal
CN107729249A (en) Browser compatibility method of testing, device, system and electronic equipment

Legal Events

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

Application publication date: 20180706

RJ01 Rejection of invention patent application after publication