CN104090916B - A kind of danger web page processing method and device - Google Patents
A kind of danger web page processing method and device Download PDFInfo
- Publication number
- CN104090916B CN104090916B CN201410261731.1A CN201410261731A CN104090916B CN 104090916 B CN104090916 B CN 104090916B CN 201410261731 A CN201410261731 A CN 201410261731A CN 104090916 B CN104090916 B CN 104090916B
- Authority
- CN
- China
- Prior art keywords
- webpage
- dangerous
- current accessed
- set color
- page
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/50—Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
- G06F21/55—Detecting local intrusion or implementing counter-measures
- G06F21/554—Detecting local intrusion or implementing counter-measures involving event detection and direct action
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/14—Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
- H04L63/1441—Countermeasures against malicious traffic
Abstract
The embodiment of the invention discloses a kind of dangerous web page processing method and devices, including:It determines that the webpage of current accessed is dangerous webpage, the webpage of the current accessed is rendered into the first pre-set color.The webpage there are risk is handled after detecting that the network address accessed is dangerous network address using the embodiment of the present invention.
Description
Technical field
The present invention relates to Internet technical field, more particularly to a kind of dangerous web page processing method and device.
Background technology
With the development of internet industry, the demand that people obtain magnanimity information by internet is increasing, to add
The speed development of browser the relevant technologies.However, developing increasingly mature today in browser the relevant technologies, user is to browser
Security requirement it is also higher and higher.
In the prior art, if user desires access to some webpage, browser will can be asked first on the web page address accessed
Server is passed to, after server receives uploaded network address, in dangerous network address database (the dangerous net that server is safeguarded
Location list) in search, can be by this if finding network address identical with the network address uploaded in dangerous network address database
Browser is fed back to result.Browser would generally pop up a dialog box, and prompting the user webpage, there may be risks.
This method in the prior art, only reminds user by the form of dialog box, and there is no to there are wind
The webpage of danger carries out any processing.
Invention content
The purpose of the present invention is to provide a kind of dangerous web page processing method and devices, are detecting the network address accessed
After dangerous network address, the webpage there are risk is handled.
In order to achieve the above objectives, the embodiment of the present invention adopts the following technical scheme that:
The first aspect of the present invention, provides a kind of dangerous web page processing method, and this method includes:
Determine that the webpage of current accessed is dangerous webpage;The webpage of the current accessed is rendered into the first pre-set color.
In conjunction with the first aspect of the present invention, in one possible implementation, the webpage by the current accessed
Being rendered into the first pre-set color includes:The background color attribute for changing the webpage of current accessed, by the web page background of current accessed
It is rendered into the first pre-set color.
In conjunction with the first aspect of the present invention, in one possible implementation, the webpage by the current accessed
Being rendered into the first pre-set color includes:The figure layer that the first pre-set color is covered on the webpage of current accessed, by current accessed
Webpage be rendered into the first pre-set color.
In conjunction with the first aspect of the present invention and above-mentioned mode in the cards, in alternatively possible realization method, institute
It states the dangerous page of the addition on the webpage of current accessed and reminds mark and/or dangerous page prompting animation.
It, should in alternatively possible realization method in conjunction with the first aspect of the present invention and above-mentioned mode in the cards
Method further includes:Other webpages will have been opened and be rendered into the second pre-set color.
In conjunction with the first aspect of the present invention and above-mentioned mode in the cards, in alternatively possible realization method, institute
It states the first, second pre-set color and is defaulted as red.
The second aspect of the present invention, provides a kind of dangerous page processor, which includes:
Dangerous network address detection module:For determining that the webpage of current accessed is dangerous webpage;Dangerous webpage rendering module:With
In the webpage of the current accessed is rendered into the first pre-set color.
In conjunction with the second aspect of the present invention, in one possible implementation, the danger page rendering module includes:
First renders submodule, and the background color attribute of the webpage for changing current accessed renders the web page background of current accessed
For the first pre-set color.
In conjunction with the second aspect of the present invention, in one possible implementation, the danger page rendering module includes:
Second renders submodule, the figure layer for covering the first pre-set color on the webpage of current accessed, by the net of current accessed
Page is rendered into the first pre-set color.
In conjunction with the second aspect of the present invention and above-mentioned mode in the cards, it is another can in realization method, institute
The device stated further includes:Dangerous webpage reminds mark module:Mark is reminded for adding the dangerous page on the webpage of current accessed
Show;And/or dangerous webpage reminds animation:Animation is reminded for adding the dangerous page on the webpage of current accessed.
In conjunction with the second aspect of the present invention and above-mentioned mode in the cards, in alternatively possible realization method, institute
The device stated further includes:Other webpage rendering modules:It is rendered into the second pre-set color for other webpages will to have been opened.
In conjunction with the second aspect of the present invention and above-mentioned mode in the cards, in alternatively possible realization method, institute
It states in dangerous page rendering module, first, second pre-set color is defaulted as red.
As seen from the above technical solutions, a kind of dangerous web page processing method and device provided in this embodiment, are being detected
After being dangerous network address to the network address accessed, the webpage there are risk is handled.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
Obtain other attached drawings according to these attached drawings.
Fig. 1 is a kind of flow diagram of dangerous web page processing method provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of another dangerous web page processing method provided in an embodiment of the present invention;
Fig. 3 is the flow diagram of another dangerous web page processing method provided in an embodiment of the present invention;
Fig. 4 is the flow diagram of another dangerous web page processing method provided in an embodiment of the present invention;
Fig. 5 is the flow diagram of another dangerous web page processing method provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of dangerous page processor provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram of another dangerous page processor provided in an embodiment of the present invention;
Fig. 8 is the structural schematic diagram of another dangerous page processor provided in an embodiment of the present invention;
Fig. 9 is the structural schematic diagram of another dangerous page processor provided in an embodiment of the present invention;
Figure 10 is the structural schematic diagram of another dangerous page processor provided in an embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other without creative efforts
Embodiment shall fall within the protection scope of the present invention.
Below by specific embodiment, the present invention is described in detail.
Such as the flow diagram that Fig. 1 is a kind of dangerous web page processing method provided in an embodiment of the present invention, including:
S101:Determine that the webpage of current accessed is dangerous webpage;
For example, the web page address of current accessed can be uploaded onto the server, after server receives the network address of upload, look into
Dangerous network address database is looked for, if matched and searched, will to network address identical with the network address uploaded in dangerous network address database
First this determines that the webpage of current accessed is determined as dangerous webpage.
S102:The webpage of the current accessed is rendered into the first pre-set color.
In the embodiment shown in fig. 1, after determining the webpage of current accessed for dangerous webpage, host process can be notified,
After host process receives notice, it can call GPU (Graphic Processing Unit, graphics processor) thread will be current
The webpage of access is rendered into the first pre-set color.
First pre-set color can be selected according to the hobby of user;Alternatively, can also be certain face of acquiescence
Color.
In S102, the webpage of current accessed is rendered into the first pre-set color, various ways may be used, for example, packet
It includes but is not limited to S102A and S102B two ways, as shown in Figures 2 and 3.
It is described that the webpage of current accessed is rendered into the first pre-set color in embodiment as shown in Figure 2, may include:
S102A:The background color attribute for changing the webpage of current accessed, first is rendered by the web page background of current accessed
Pre-set color.
In an embodiment as illustrated in figure 2, when browser newly opens a webpage, the host process of browser can be the net
Page newly creates a subprocess, which can render the new opening according to the attribute information of the webpage of the new opening
Webpage, such as:Webpage background color attribute.
Optionally, in an embodiment of the present invention, the host process of browser by call current accessed webpage son into
The background color attribute modification of the webpage of current accessed is the first pre-set color by journey.
It is described that the webpage of current accessed is rendered into the first pre-set color in embodiment as shown in Figure 3, may include:
S102B:The figure layer that the first pre-set color is covered on the webpage of current accessed renders the webpage of current accessed
For the first pre-set color.
In an embodiment as illustrated in figure 3, the host process of browser can newly create a rendering process, for rendering
State the figure layer of the first pre-set color.Preferably, the above-mentioned process for rendering the figure of the first pre-set color, is currently visited with rendering
The process for the webpage asked, can be different process.
Fig. 4 is the flow diagram of another dangerous web page processing method provided in an embodiment of the present invention, as shown in figure 4,
After above-mentioned S102, this method further includes:
S103:The dangerous page is added on the webpage of current accessed reminds mark and/or the dangerous page to remind animation.
The dangerous page reminds the form of mark, including but not limited to:Information bar is provided in browser interface, institute
It is dangerous webpage to state the content in information bar and be used to remind the webpage of user's current accessed.
The dangerous page reminds the form of mark, can also include but not limited to:The pop-up pair in browser interface
Frame is talked about, it is dangerous webpage that the content in the dialog box, which is used to remind the webpage of user's current accessed,.
Further, interactive option can also be provided in the interface of browser, so that user is for choosing whether
Continue the webpage of browsing current accessed.If user's selection continues to browse the webpage of current accessed, the webpage of current accessed is beaten
Opening will be unaffected;If user's selection is abandoned, browser can close the webpage of the current accessed.
Further, described information column or pop-up dialog box can be shown in any position of browser.
The dangerous page reminds the animation reminded contents of animation unlimited, and the realization method of animation and shows shape
Formula is also unlimited.
Fig. 5 is the flow diagram of another dangerous web page processing method provided in an embodiment of the present invention, as shown in figure 5,
On the basis of S101, S102, S103, this method further includes:
S104:Other webpages will have been opened and be rendered into the second pre-set color.
Current browser can support the browse mode of multiwindow, therefore, if the webpage of current accessed is dangerous net
The other webpages having already turned on of browser for the grade of outburst danger, can be also rendered to the second pre-set color by page.
Preferably, above-mentioned first pre-set color and above-mentioned second pre-set color can be identical colors, can also be not
Same color.
Further, the situation shown in fig. 5 is only a kind of achievable flow diagram, in practical application field
The sequence that Jing Zhong, S104 and S103 are executed can be arbitrary.
It should be noted that in above-described embodiment, in the case where pre-set color is not arranged in user, described first,
Two pre-set colors acquiescence can be red.
Fig. 6 is a kind of structural schematic diagram of dangerous page processor provided in an embodiment of the present invention, which includes:
Dangerous network address detection module 501, for determining that the webpage of current accessed is dangerous webpage;
Dangerous webpage rendering module 502, for the webpage of the current accessed to be rendered into the first pre-set color.
Optionally, as shown in fig. 7, the dangerous page rendering module 502 may include:
First renders submodule 502A:Background color attribute for the webpage for changing current accessed, by current accessed
Web page background is rendered into the first pre-set color;Alternatively,
Second rendering touches block 502B:Figure layer for covering the first pre-set color on the webpage of current accessed, will
The webpage of current accessed is rendered into the first pre-set color.
Optionally, as shown in figure 8, described device further includes:
Dangerous webpage reminds mark module 503, and mark is reminded for adding the dangerous page on the webpage of current accessed.
Optionally, as shown in figure 9, described device further includes:
Dangerous webpage reminds animation 504, and animation is reminded for adding the dangerous page on the webpage of current accessed.
It should be noted that 504 modules of embodiment described in 503 modules and Fig. 9 of embodiment described in Fig. 8 can exist simultaneously
Exist under a kind of implement scene.
Optionally, as shown in Figure 10, described device further includes:
Other webpage rendering modules 505, for the other webpages opened to be rendered into the second pre-set color.
For device embodiments, since it is corresponding with embodiment of the method, embodiment of the method part is real with device
Example part is applied to complement one another.It is retouched in addition, dividing modules for convenience of description, when describing apparatus above with function
It states, the function of each module is realized can in the same or multiple software and or hardware, not done herein in carrying out the present invention
It limits.
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to
Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also include other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, identical similar portion between each embodiment
Point just to refer each other, and each embodiment focuses on the differences from other embodiments.Especially for device reality
For applying example, since it is substantially similar to the method embodiment, so description is fairly simple, related place is referring to embodiment of the method
Part explanation.
One of ordinary skill in the art will appreciate that all or part of step in realization above method embodiment is can
It is completed with instructing relevant hardware by program, the program can be stored in computer read/write memory medium,
The storage medium designated herein obtained, such as:ROM/RAM, magnetic disc, CD etc..
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all
Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention
It is interior.
Claims (2)
1. a kind of danger web page processing method, which is characterized in that the method includes:
Determine that the webpage of current accessed is dangerous webpage;
The webpage of the current accessed is rendered into the first pre-set color;
Other webpages will have been opened and be rendered into the second pre-set color, wherein first pre-set color and the second default face
Color is different color;
Wherein, the webpage by the current accessed is rendered into the first pre-set color and includes:On the webpage of current accessed
The webpage of current accessed is rendered into the first pre-set color by the figure layer for covering the first pre-set color;
The dangerous page is added on the webpage of the current accessed reminds mark and/or the dangerous page to remind animation, wherein described
The dangerous page reminds the form of mark to be included in browser interface and provides information bar, and the content in described information column is for reminding
The webpage of user's current accessed is dangerous webpage, or dialog box is popped up in browser interface, the content in the dialog box
It is dangerous webpage for reminding the webpage of user's current accessed.
2. a kind of danger page processor, which is characterized in that described device includes:
Dangerous network address detection module:For determining that the webpage of current accessed is dangerous webpage;
Dangerous webpage rendering module:For the webpage of the current accessed to be rendered into the first pre-set color;
Other webpage rendering modules:It is rendered into the second pre-set color for other webpages will to have been opened, wherein described first is default
Color and second pre-set color are different colors;
Wherein, the dangerous page rendering module includes:
Second renders submodule, the figure layer for covering the first pre-set color on the webpage of current accessed, by current accessed
Webpage be rendered into the first pre-set color;
Dangerous webpage reminds mark module:Mark is reminded for adding the dangerous page on the webpage of current accessed, wherein described
The dangerous page reminds the form of mark to be included in browser interface and provides information bar, and the content in described information column is for reminding
The webpage of user's current accessed is dangerous webpage, or dialog box is popped up in browser interface, the content in the dialog box
It is dangerous webpage for reminding the webpage of user's current accessed;And/or
Dangerous webpage reminds animation:Animation is reminded for adding the dangerous page on the webpage of current accessed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410261731.1A CN104090916B (en) | 2014-06-12 | 2014-06-12 | A kind of danger web page processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410261731.1A CN104090916B (en) | 2014-06-12 | 2014-06-12 | A kind of danger web page processing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104090916A CN104090916A (en) | 2014-10-08 |
CN104090916B true CN104090916B (en) | 2018-09-11 |
Family
ID=51638632
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410261731.1A Active CN104090916B (en) | 2014-06-12 | 2014-06-12 | A kind of danger web page processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104090916B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106209798B (en) * | 2016-06-30 | 2019-05-31 | 北京奇虎科技有限公司 | Browser of mobile terminal network address detection method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101059818A (en) * | 2007-06-26 | 2007-10-24 | 申屠浩 | Method for reinforcing search engine result safety |
CN103414688A (en) * | 2013-07-09 | 2013-11-27 | 百度在线网络技术(北京)有限公司 | Method for loading user security seal in visited page and device thereof |
CN103577171A (en) * | 2012-07-30 | 2014-02-12 | 腾讯科技(深圳)有限公司 | Webpage content displaying method and mobile terminal |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9378294B2 (en) * | 2010-12-17 | 2016-06-28 | Microsoft Technology Licensing, Llc | Presenting source regions of rendered source web pages in target regions of target web pages |
-
2014
- 2014-06-12 CN CN201410261731.1A patent/CN104090916B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101059818A (en) * | 2007-06-26 | 2007-10-24 | 申屠浩 | Method for reinforcing search engine result safety |
CN103577171A (en) * | 2012-07-30 | 2014-02-12 | 腾讯科技(深圳)有限公司 | Webpage content displaying method and mobile terminal |
CN103414688A (en) * | 2013-07-09 | 2013-11-27 | 百度在线网络技术(北京)有限公司 | Method for loading user security seal in visited page and device thereof |
Also Published As
Publication number | Publication date |
---|---|
CN104090916A (en) | 2014-10-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9715482B1 (en) | Representing consumption of digital content | |
TWI697866B (en) | Method and device for implementing color tweening animation | |
CN103930885B (en) | Measure webpage render time | |
US9372592B1 (en) | Presenting information related to content items | |
CN104133884B (en) | Show the method and device of webpage | |
CN110502298B (en) | Method and equipment for providing update reminding information of electronic book | |
US10878175B2 (en) | Portlet display on portable computing devices | |
CN105825535B (en) | A kind of figure layer merging method and system | |
CN104166656B (en) | The webpage methods of exhibiting and device of traffic statistics | |
CN109740085A (en) | A kind of methods of exhibiting of content of pages, device, equipment and storage medium | |
KR20160044486A (en) | Presenting fixed format documents in reflowed format | |
CN103744932A (en) | Page processing method and device | |
CN103098001A (en) | Processing method for user interface and electronic device | |
CN110647272A (en) | Display control method and device | |
CN104346463A (en) | Loading method and device of page label and browser client | |
CN110096322A (en) | The method and device of adaptive terminal screen, storage medium, electronic device | |
US10769697B2 (en) | Non-transitory computer-readable medium, system, and method for local search of network content | |
TWI744216B (en) | Method and device for providing prompt information | |
CN104090916B (en) | A kind of danger web page processing method and device | |
CN105630893A (en) | Display method and device of photo title | |
CN104915102B (en) | The exchange method and device of graphical interfaces | |
CN110352421A (en) | Use visual modification customization option card | |
CN107480218A (en) | Webpage display process and device, electronic equipment, storage medium | |
CN109753198A (en) | Interface access method, display methods, equipment, medium | |
CN107797802A (en) | Method to set up, device and the electronic equipment of carousel figure page-turning effect |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 100041 A-0071 2, 3 building, 30 Shixing street, Shijingshan District, Beijing. Applicant after: Beijing cheetah Mobile Technology Co., Ltd. Address before: 100041 room 3, 3 West well road, Badachu hi tech park, Shijingshan District, Beijing, 1100A Applicant before: SHELL INTERNET (BEIJING) SECURITY TECHNOLOGY CO., LTD. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |