CN103019719B - A kind of pop-up blocking apparatus and method - Google Patents
A kind of pop-up blocking apparatus and method Download PDFInfo
- Publication number
- CN103019719B CN103019719B CN201210544626.XA CN201210544626A CN103019719B CN 103019719 B CN103019719 B CN 103019719B CN 201210544626 A CN201210544626 A CN 201210544626A CN 103019719 B CN103019719 B CN 103019719B
- Authority
- CN
- China
- Prior art keywords
- window
- message
- unit
- region
- display screen
- 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
- 238000000034 method Methods 0.000 title claims abstract description 63
- 230000000903 blocking effect Effects 0.000 title claims abstract description 15
- 230000002265 prevention Effects 0.000 claims description 10
- 230000008901 benefit Effects 0.000 description 3
- 238000004590 computer program Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000001035 drying Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Landscapes
- Controls And Circuits For Display Device (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a kind of pop-up blocking apparatus and method.The method includes: be provided for intercepting the window hook program of window message;When described window hook program intercepts is to window message, carries out pop-up according to the region that corresponding window is to be shown and stop operation;The described region to be shown according to corresponding window carries out pop-up and stops operation to include: obtain the coordinate position region that window corresponding to this window message to show on screen, judge that the described coordinate position region obtained, whether in the display screen represented by the display screen preserved specifies regional extent information specifies regional extent, if it is stops the ejection of the window that this window message is corresponding.Technical scheme can just carry out judging and stoping the ejection of window before window ejects, and the foundation judged is the position that window to show on screen, rather than the feature of window itself, therefore avoid the problem that interception result is the best when advertisement windows amendment feature.
Description
Technical field
The present invention relates to network data communication technical field, be specifically related to a kind of pop-up blocking apparatus and method.
Background technology
At present, the various application softwaries in the Internet the most all can carry out the pop-up of oneself pushed information, often
The prompting etc. of day news.The application software of nearly all hot topic all can be user starts shooting when or carry out it
These windows are ejected the when that he operating.This force the mode of promotion message that user is caused to user
The biggest bothers.
Existing shielding software is all to shield, so in the specific features getting pop-up laggard row specific aim
Can cause cannot the emerging pop-up of real-time blocking, and former pop-up amendment to fall some of their own special
After levying, also cannot ensure interception result.
It addition, the pop-up ejected in specific region also cannot be identified intercepting by existing shielding software.
Such as, it is impossible to realize only intercepting the pop-up of screen lower right field, and do not intercept the bullet in center Screen region
Window.Therefore cannot be identified intercepting according to the pull zone of pop-up.
Summary of the invention
In view of the above problems, it is proposed that the present invention is to provide one to overcome the problems referred to above or at least partly
Ground solves a kind of pop-up blocking apparatus of the problems referred to above and corresponding pop-up hold-up interception method.
According to one aspect of the present invention, a kind of pop-up blocking apparatus, this device includes: memory element,
Unit, the window's position acquiring unit, position judgment unit are set and stop unit;
Described memory element, is suitable to preserve display screen and specifies regional extent information;
Described unit is set, is suitable to the window hook program being provided for intercepting window message, and receives institute
State the window message that window hook program intercepts arrives;
Described the window's position acquiring unit, is suitable to receive described window hook program at the described unit that arranges
During the window message intercepted, obtain the coordinate bit that window corresponding to this window message to show on screen
Put region;
Described position judgment unit, is suitable to judge the described coordinate bit that described the window's position acquiring unit obtains
Put region, if the display screen preserved in described memory element is specified represented by regional extent information
In display screen specifies regional extent, if it is notify described prevention unit;
Described prevention unit, is suitable to stop the ejection of the window that this window message is corresponding.
Alternatively, this device farther includes: white list judging unit;
Described memory element, is further adapted for preserving the white list preset;
Described white list judging unit, is suitable to receive described window hook program block at the described unit that arranges
During the window message being truncated to, obtain the process name belonging to the window that this window message is corresponding, it is judged that this process
Whether name, in default white list, is not process, otherwise notifies described the window's position acquiring unit;
Described the window's position acquiring unit, is suitable to receive described window hook program at the described unit that arranges
Intercept window message and when receiving the notice of described white list judging unit, obtain this window message pair
The band of position that the window answered finally to show on screen.
Alternatively, this device farther includes: user interface;
Described user interface, is suitable to receive the instruction of user, and the instruction according to user is single in described storage
Unit creates, revises or deletes the appointment regional extent information of described screen.
Alternatively, described unit is set, is suitable to by calling Windows operating system
SetWindowsHookEx interface is provided for intercepting the window hook program of window message.
Alternatively, the display screen that described memory element preserves specifies the display represented by regional extent information
Screen specifies regional extent to include: be positioned at a range of region of display screen center, and/or, it is positioned at
The a range of region in the display screen lower right corner.
According to a further aspect in the invention, it is provided that a kind of pop-up hold-up interception method, the method includes:
It is provided for intercepting the window hook program of window message;
When described window hook program intercepts is to window message, enter according to the region that corresponding window is to be shown
Row pop-up stops operation;
The described region to be shown according to corresponding window carries out pop-up and stops operation to include: obtains this window and disappears
The coordinate position region that the window that breath is corresponding to show on screen;Judge the described coordinate position district obtained
Whether territory specifies the display screen represented by regional extent information to specify region model at the display screen preserved
In enclosing, if it is stop the ejection of the window that this window message is corresponding.
Alternatively, when described window hook program intercepts is to window message, and want according to window described
Before the region of display carries out pop-up prevention operation, the method farther includes:
Obtain the process name belonging to the window that this window message is corresponding;
If this process name is in default white list, the most no longer perform the described district to be shown according to window
Territory carries out pop-up and stops the step of operation;
If this process name is not in default white list, then perform the described region to be shown according to window
Carry out pop-up and stop the step of operation.
Alternatively, the method also includes: provide user interface so that user can be by this user interface
Create, revise or delete described screen appointment regional extent information.
Alternatively, the window hook program being provided for intercepting window message described in includes: by calling
The SetWindowsHookEx interface of Windows operating system is provided for intercepting the window of window message
Oral hook subprogram.
Alternatively, described display screen specifies regional extent to include: be positioned at certain model of display screen center
The region enclosed, and/or, it is positioned at a range of region in the display screen lower right corner.
This set according to the present invention is for intercepting the window hook program of window message, when this window hook
When window message is intercepted in subprogram, carry out pop-up according to the region that corresponding window is to be shown and stop operation;
The wherein said region to be shown according to corresponding window carries out pop-up and stops operation to include: obtains this window and disappears
The coordinate position region that the window that breath is corresponding to show on screen, it is judged that the described coordinate position district of acquisition
Whether territory specifies the display screen represented by regional extent information to specify region model at the display screen preserved
In enclosing, if it is stop in the technical scheme of ejection of the window that this window message is corresponding: owing to passing through
The window hook program intercepts window message arranged, therefore can judge before window ejects, and hinder
The only ejection of advertisement windows, and the mode judged is the coordinate position shown on screen according to window
Region is carried out, when the appointment that the coordinate position region that window to show on screen is ejected at advertisement windows
In the range of time stop the ejection of window, therefore avoid what the feature according to advertisement windows self carried out intercepting
In existing scheme, the problem that interception result is the best when advertisement windows amendment feature.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the skill of the present invention
Art means, and can being practiced according to the content of description, and in order to allow, the present invention's is above and other
Objects, features and advantages can become apparent, below especially exemplified by the detailed description of the invention of the present invention.
Accompanying drawing explanation
By reading the detailed description of hereafter preferred implementation, various other advantage and benefit for this
Field those of ordinary skill will be clear from understanding.Accompanying drawing is only used for illustrating the purpose of preferred implementation,
And it is not considered as limitation of the present invention.And in whole accompanying drawing, be denoted by the same reference numerals
Identical parts.In the accompanying drawings:
Fig. 1 shows the flow chart of a kind of pop-up hold-up interception method;
Fig. 2 shows the flow chart of a kind of pop-up hold-up interception method;
Fig. 3 shows the structure chart of a kind of pop-up blocking apparatus;
Fig. 4 shows the structure chart of a kind of pop-up blocking apparatus.
Detailed description of the invention
It is more fully described the exemplary embodiment of the disclosure below with reference to accompanying drawings.Although accompanying drawing shows
The exemplary embodiment of the disclosure, it being understood, however, that may be realized in various forms the disclosure and not
Should be limited by embodiments set forth here.On the contrary, it is provided that these embodiments are able to more thoroughly
Understand the disclosure, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
Fig. 1 shows the flow chart of a kind of pop-up hold-up interception method.See
Fig. 1, the method includes:
Step S110, is provided for intercepting the window hook program of window message.
Window hook program is the program of a process message in Windows operating system, passes through system
Call, it is linked into system.Whenever specific message sends, before not arriving purpose window, window
Hook program the most first captures this message, that is window hook program first obtains control.At this moment window hook
Program i.e. can revise this message, it is also possible to does not deals with and continues to transmit this message, it is also possible to forces knot
Restraint the transmission of this message.
In one embodiment of the invention, by calling Windows operating system
SetWindowsHookEx interface is provided for intercepting the window hook program of window message.I.e. realize
The program of this method can call SetWindowsHookEx interface upon actuation to Windows operating system
Register a window hook program, create window and the message of moving window for intercepting system, when fenestrate
When mouth establishment or shift position, notice realizes the process priority of this method and processes this message.
Step S120, when described window hook program intercepts is to window message, to show according to corresponding window
The region shown carries out pop-up and stops operation;Wherein, pop-up resistance is carried out according to the region that corresponding window is to be shown
Only operation includes: obtain the coordinate position region that window corresponding to this window message to show on screen,
Judge whether this coordinate position region obtained specifies regional extent information institute table at the display screen preserved
In the display screen shown specifies regional extent, if it is stop the ejection of the window that this window message is corresponding.
In an embodiment of the present invention, the display screen preserved specifies showing represented by regional extent information
Display screen curtain specifies regional extent to be the position that common advertisement windows ejects, such as at one of the present invention
In embodiment, this display screen appointment regional extent is: be positioned at a range of district of display screen center
Territory, or, it is positioned at a range of region in the display screen lower right corner, or, just it is being positioned at display screen
In a range of region and be positioned at a range of region in the display screen lower right corner.
In method shown in Fig. 1, due to the window hook program intercepts window message by arranging, therefore
Can judge before window ejects, and stop the ejection of advertisement windows, and the foundation judged is window
The coordinate position to show on screen of mouth rather than according to the feature of window self as foundation, therefore
Avoid in the existing scheme that the feature according to advertisement windows self carries out intercepting, as advertisement windows amendment spy
The problem that when levying, interception result is the best.
In one embodiment of the invention, it is also possible to some are not desired to intercept the process name of its pop-up window
List white list in, before the position that manhole is to be ejected, first judge the process name of window to be ejected
Whether in white list, it is, the position that no longer manhole is to be ejected, directly lets pass, be allowed to window bullet
Go out.The most as shown in Figure 2.
Fig. 2 shows the flow chart of a kind of pop-up hold-up interception method.See
Fig. 2, the method includes:
Step S210, is provided for intercepting the window hook program of window message.
Step S220, when described window hook program intercepts is to window message, obtains this window message pair
The process name belonging to window answered.
In one embodiment of the invention, window message can be obtained by the interface that operating system provides
The corresponding process name belonging to window.
Step S230, it is judged that whether this process name, in default white list, is then method ends flow process,
Otherwise perform step S240.
Step S240, obtains the coordinate position district that window corresponding to this window message to show on screen
Territory.
In one embodiment of the invention, it is corresponding that the interface provided by operating system obtains window message
The coordinate position region to show on screen of window.
Step S250, it is judged that whether this coordinate position region of acquisition specifies district at the display screen preserved
In display screen represented by the range information of territory specifies regional extent, it is then to perform step S260, otherwise ties
Bundle this method flow process.
Step S260, stops the ejection of the window that this window message is corresponding.
In method shown in Fig. 2, by arranging white list, so that the window that some users wish to
Mouth ejects rather than all stops, and further increases Consumer's Experience.
In one embodiment of the invention, user interface is also provided for so that user can be by this user
Interface creates, revises or delete screen appointment regional extent information.Under normal circumstances, various application softwaries
In the center pop-up of the lower right corner of screen or screen, now the two position is set to screen and specifies region
Scope, then what screen appointment regional extent information represented is the two position.But, at some
In the case of, possible user has its special demand to screen work region, therefore can be according to user instruction
Diverse location at screen creates multiple appointment regional extents.It addition, each application software is also possible to change
The position of pop-up, therefore provides user interface, so that user can set according to practical situation and demand
Put the screen area needing to carry out pop-up interception.So, user can adjust at any time and carry out pop-up interception
Screen area, to reach to see the pop-up oneself wanting to see and to mask and oneself be not desired to see and can affect the pop-up of oneself.
In real experiences, the when that user starting shooting every time, the most popular current application software is (as i.e.
Time means of communication software, downloaded software and player software etc.) all can eject news in the central authorities of screen
Window, such user needs to turn off multiple window continuously and just can operate normally.Additionally, make
During computer, typically also have various message window in the lower right corner of screen and advertisement windows eject,
Affect the normal use of user.And after using the technical solution of the present invention, can be according to the selection of user
Carry out these pop-ups of automatic shield, thus do not interfere with user's normal operating to computer.
Fig. 3 shows the structure chart of a kind of pop-up blocking apparatus.Such as figure
Shown in 3, this pop-up blocking apparatus 300 includes: memory element 301, arrange unit 302, the window's position
Acquiring unit 303, position judgment unit 304 and prevention unit 305;
Memory element 301, is suitable to preserve display screen and specifies regional extent information.
Unit 302 is set, is suitable to the window hook program being provided for intercepting window message, and receives institute
State the window message that window hook program intercepts arrives.
The window's position acquiring unit 303, is suitable to receive window hook program intercepts arranging unit 302
During the window message arrived, obtain the coordinate position district that window corresponding to this window message to show on screen
Territory.
Position judgment unit 304, is suitable to judge this coordinate position that the window's position acquiring unit 303 obtains
Region, if the display screen preserved in memory element 301 specifies showing represented by regional extent information
In regional extent specified by display screen curtain, if it is notice stops unit 305.
Stop unit 305, be suitable to stop the ejection of the window that this window message is corresponding.
In device shown in Fig. 3, it is provided with window hook program intercepts window disappears owing to arranging unit 302
Breath, therefore the window's position acquiring unit 303 can obtain the position that window is to be shown before window ejects,
And position judgment unit 304 can carry out judging whether to stop according to the position that window is to be shown,
When being judged as stoping by the ejection stoping unit 305 to stop advertisement windows, therefore before window ejects just
Can intercept, and by the position to be ejected thus according to window as basis for estimation rather than with
The feature of window itself, as basis for estimation, therefore avoids the interception result when advertisement windows amendment feature
The best problem.
Fig. 4 shows the structure chart of a kind of pop-up blocking apparatus.Such as figure
Shown in 4, this pop-up blocking apparatus 400 includes: memory element 401, arrange unit 402, the window's position
Acquiring unit 403, position judgment unit 404, prevention unit 405, white list judging unit 406 and use
Family interface 407.
Memory element 401, is suitable to preserve display screen and specifies regional extent information, be further adapted for what preservation was preset
White list.
Unit 402 is set, is suitable to the window hook program being provided for intercepting window message, and receives institute
State the window message that window hook program intercepts arrives.
White list judging unit 406, is suitable to receive window hook program intercepts and arrive arranging unit 402
Window message time, obtain the process name belonging to the window that this window message is corresponding, it is judged that this process name is
In the no white list preset in memory element 401, it is not process, otherwise notification window position
Acquiring unit 403.As such, it is possible to by arranging the window bullet that white list makes some users wish to
Go out rather than all stop, further increasing Consumer's Experience.
The window's position acquiring unit 403, is suitable to receive window hook program intercepts arranging unit 402
To window message and when receiving the notice of white list judging unit 406, obtain this window message corresponding
The band of position that window finally to show on screen.
Position judgment unit 404, is suitable to judge this coordinate position that the window's position acquiring unit 403 obtains
Region, if the display screen preserved in memory element 401 specifies showing represented by regional extent information
In regional extent specified by display screen curtain, if it is notice stops unit 405.
Stop unit 405, be suitable to stop the ejection of the window that this window message is corresponding.
User interface 407, is suitable to receive the instruction of user, and according to the instruction of user in memory element 401
Middle establishment, revise or delete the appointment regional extent information of described screen.So, user can adjust at any time
The whole screen area carrying out pop-up interception, to reach to see the pop-up oneself wanting to see and to mask and oneself be not desired to see
The pop-up of oneself can be affected.
In one embodiment of the invention, arrange unit 402 be suitable to by call Windows operation system
The SetWindowsHookEx interface of system is provided for intercepting the window hook program of window message.
In one embodiment of the invention, the display screen that memory element 401 preserves specifies regional extent
Display screen represented by information specifies regional extent to include: be positioned at a range of of display screen center
Region, and/or, it is positioned at a range of region in the display screen lower right corner.
In sum, in this technical scheme of the present invention, owing to being provided with window hook program intercepts window
Mouth message, therefore can judge before window ejects, and stop the ejection of advertisement windows, and sentence
Disconnected foundation is that the coordinate position region shown on screen according to window is carried out, when window will be at screen
The ejection of prevention window when the coordinate position region of display is in the range of the appointment that advertisement windows ejects on curtain,
Therefore avoid in the existing scheme that the feature according to advertisement windows self carries out intercepting, when advertisement windows is repaiied
The problem that when changing feature, interception result is the best.
User can be bothered huge advertisement pop-up and shield by technical solution of the present invention.The most various should
Forcing the situation of promotion message to get more and more user with software, the most each software is want starting up
The most just it is pushed to some information of user, and screen hits exactly, each position Relatively centralized of the lower right corner, use
This scheme shielding these pop-ups according to ejected position of the present invention, can well solve new software, newly
The advertisement shielding problem of pop-up, it is not necessary to shielding software carries out upgrading and can be obtained by good shield effectiveness,
The experience allowing user gets a promotion.
It should be understood that
Algorithm and display be not solid with any certain computer, virtual system or miscellaneous equipment provided herein
Have relevant.Various general-purpose systems can also be used together with based on teaching in this.As described above,
Construct the structure required by this kind of system to be apparent from.Additionally, the present invention is also not for any specific
Programming language.It is understood that, it is possible to use various programming languages realize the content of invention described herein,
And the description done language-specific above is the preferred forms in order to disclose the present invention.
In description mentioned herein, illustrate a large amount of detail.It is to be appreciated, however, that this
Inventive embodiment can be put into practice in the case of not having these details.In some instances, not
It is shown specifically known method, structure and technology, in order to do not obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help understand in each inventive aspect one
Or multiple, above in the description of the exemplary embodiment of the present invention, each feature of the present invention is sometimes
It is grouped together in single embodiment, figure or descriptions thereof.But, should be by the disclosure
Method be construed to reflect an intention that i.e. the present invention for required protection require ratio in each claim
The middle more feature of feature be expressly recited.More precisely, as the following claims reflect
As, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows
Claims of detailed description of the invention are thus expressly incorporated in this detailed description of the invention, the most each right
Requirement itself is all as the independent embodiment of the present invention.
Those skilled in the art are appreciated that and can carry out the module in the equipment in embodiment certainly
Change adaptively and they are arranged in one or more equipment different from this embodiment.Permissible
Module in embodiment or unit or assembly are combined into a module or unit or assembly, and in addition may be used
To put them into multiple submodule or subelement or sub-component.Except such feature and/or process or
Outside at least some in unit excludes each other, can use any combination that (this specification is included companion
With claim, summary and accompanying drawing) disclosed in all features and so disclosed any method or
All processes of person's equipment or unit are combined.Unless expressly stated otherwise, this specification (includes companion
With claim, summary and accompanying drawing) disclosed in each feature can by provide identical, equivalent or phase
Replace like the alternative features of purpose.
Although additionally, it will be appreciated by those of skill in the art that embodiments more described herein include it
Some feature included in its embodiment rather than further feature, but the group of the feature of different embodiment
Close and mean to be within the scope of the present invention and formed different embodiments.Such as, in following power
In profit claim, one of arbitrarily can mode making in any combination of embodiment required for protection
With.
The all parts embodiment of the present invention can realize with hardware, or to process at one or more
The software module run on device realizes, or realizes with combinations thereof.Those skilled in the art should
Understand, microprocessor or digital signal processor (DSP) can be used in practice to realize basis
The some or all functions of the some or all parts in the pop-up blocking apparatus of the embodiment of the present invention.
The present invention is also implemented as part or all the equipment for performing method as described herein
Or device program (such as, computer program and computer program).Such realize the present invention
Program can store on a computer-readable medium, or can have the shape of one or more signal
Formula.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or
Person provides with any other form.
The present invention will be described rather than limits the invention to it should be noted above-described embodiment,
And those skilled in the art can design replacement in fact without departing from the scope of the appended claims
Execute example.In the claims, should not will be located in any reference marks between bracket to be configured to right is wanted
The restriction asked.Word " comprises " and does not excludes the presence of the element or step not arranged in the claims.It is positioned at
Word "a" or "an" before element does not excludes the presence of multiple such element.The present invention is permissible
By means of including the hardware of some different elements and realizing by means of properly programmed computer.?
If listing in the unit claim of equipment for drying, several in these devices can be by same
Hardware branch specifically embodies.Word first, second and third use do not indicate that any order.
Can be title by these word explanations.
Claims (8)
1. the anti-pop-up blocking apparatus bothered, this device includes: memory element, arrange unit, window
Mouth position acquisition unit, position judgment unit and prevention unit;
Described memory element, is suitable to preserve display screen and specifies regional extent information;
Described unit is set, is suitable to the window hook program being provided for intercepting window message, and receives institute
State the window message that window hook program intercepts arrives;
Described the window's position acquiring unit, is suitable to receive described window hook program at the described unit that arranges
During the window message intercepted, obtain the coordinate bit that window corresponding to this window message to show on screen
Put region;
Described position judgment unit, is suitable to judge the described coordinate bit that described the window's position acquiring unit obtains
Put region, if the display screen preserved in described memory element is specified represented by regional extent information
In display screen specifies regional extent, if it is notify described prevention unit;
Described prevention unit, is suitable to stop the ejection of the window that this window message is corresponding;
This device farther includes: white list judging unit;
Described memory element, is further adapted for preserving the white list preset;Described default white list saves
The process name belonging to window that user specifies;
Described white list judging unit, is suitable to receive described window hook program block at the described unit that arranges
During the window message being truncated to, obtain the process name belonging to the window that this window message is corresponding, it is judged that this process
Whether name, in default white list, is not process, otherwise notifies described the window's position acquiring unit;
Described the window's position acquiring unit, is suitable to receive described window hook program at the described unit that arranges
Intercept window message and when receiving the notice of described white list judging unit, obtain this window message pair
The band of position that the window answered finally to show on screen.
2. device as claimed in claim 1, wherein, this device farther includes: user interface;
Described user interface, is suitable to receive the instruction of user, and the instruction according to user is single in described storage
Unit creates, revises or deletes the appointment regional extent information of described screen.
3. the device as according to any one of claim 1 to 2, wherein,
Described unit is set, is suitable to the SetWindowsHookEx by calling Windows operating system
Interface is provided for intercepting the window hook program of window message.
4. the device as according to any one of claim 1 to 2, wherein,
The display screen that described memory element preserves specifies the display screen represented by regional extent information to specify
Regional extent includes: be positioned at a range of region of display screen center, and/or, it is positioned at display screen
The a range of region in the lower right corner.
5. the anti-pop-up hold-up interception method bothered, the method includes:
It is provided for intercepting the window hook program of window message;
When described window hook program intercepts is to window message, enter according to the region that corresponding window is to be shown
Row pop-up stops operation;
The described region to be shown according to corresponding window carries out pop-up and stops operation to include: obtains this window and disappears
The coordinate position region that the window that breath is corresponding to show on screen;Judge the described coordinate position district obtained
Whether territory specifies the display screen represented by regional extent information to specify region model at the display screen preserved
In enclosing, if it is stop the ejection of the window that this window message is corresponding;
Wherein, when described window hook program intercepts is to window message, and to show according to window described
Before the region shown carries out pop-up prevention operation, the method farther includes:
Obtain the process name belonging to the window that this window message is corresponding;
If this process name is in default white list, the most no longer perform the described district to be shown according to window
Territory carries out pop-up and stops the step of operation;
If this process name is not in default white list, then perform the described region to be shown according to window
Carry out pop-up and stop the step of operation;
Wherein, described default white list saves the process name belonging to the window that user specifies.
6. method as claimed in claim 5, wherein, the method also includes:
There is provided user interface so that user can be created by this user interface, be revised or delete described screen
Regional extent information specified by curtain.
7. the method as according to any one of claim 5 to 6, wherein,
The described window hook program being provided for intercepting window message includes: by calling Windows
The SetWindowsHookEx interface of operating system is provided for intercepting the window hook journey of window message
Sequence.
8. the method as described in any one of claim 5 to 6, wherein,
Described display screen specifies regional extent to include: be positioned at a range of region of display screen center,
And/or, it is positioned at a range of region in the display screen lower right corner.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210544626.XA CN103019719B (en) | 2012-12-14 | 2012-12-14 | A kind of pop-up blocking apparatus and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210544626.XA CN103019719B (en) | 2012-12-14 | 2012-12-14 | A kind of pop-up blocking apparatus and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103019719A CN103019719A (en) | 2013-04-03 |
CN103019719B true CN103019719B (en) | 2016-08-24 |
Family
ID=47968357
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210544626.XA Active CN103019719B (en) | 2012-12-14 | 2012-12-14 | A kind of pop-up blocking apparatus and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103019719B (en) |
Families Citing this family (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104123120B (en) * | 2013-04-23 | 2016-03-16 | 腾讯科技(深圳)有限公司 | A kind of browser page data filtering method, device and system |
CN104123276B (en) * | 2013-04-23 | 2017-12-01 | 腾讯科技(深圳)有限公司 | The hold-up interception method of pop-up, device and system in a kind of browser |
US10645043B2 (en) * | 2014-06-23 | 2020-05-05 | Lenovo (Singapore) Pte. Ltd. | Stateful notification |
CN104091125B (en) * | 2014-07-18 | 2017-11-17 | 北京奇虎科技有限公司 | Handle the method and suspended window processing unit of suspended window |
CN104199934B (en) * | 2014-09-05 | 2017-07-04 | 北京奇虎科技有限公司 | The method and device that advertisement for application program is intercepted |
CN104268193B (en) * | 2014-09-19 | 2017-12-29 | 北京金山安全软件有限公司 | Advertisement webpage intercepting method and device |
CN104598238A (en) * | 2015-01-19 | 2015-05-06 | 苏宁云商集团股份有限公司 | Shielding method of application push message and intelligent terminal |
CN104932888B (en) * | 2015-06-12 | 2019-01-15 | 联想(北京)有限公司 | A kind of information processing method and device |
CN106326316B (en) * | 2015-07-08 | 2022-11-29 | 腾讯科技(深圳)有限公司 | Webpage advertisement filtering method and device |
CN105303105A (en) * | 2015-10-20 | 2016-02-03 | 珠海市君天电子科技有限公司 | Window message interception method and device and terminal equipment |
CN106658195B (en) * | 2015-11-04 | 2019-08-23 | 珠海豹趣科技有限公司 | A kind of video ads hold-up interception method and device |
CN105446779A (en) * | 2015-11-27 | 2016-03-30 | 努比亚技术有限公司 | Processing method and system for preventing advertisement page from being displayed and mobile terminal |
CN106940674B (en) * | 2016-01-05 | 2021-03-26 | 阿里巴巴集团控股有限公司 | Method and device for triggering target event in mobile terminal |
CN105844470A (en) * | 2016-03-31 | 2016-08-10 | 北京小米移动软件有限公司 | Payment method and device |
CN105975380B (en) * | 2016-05-26 | 2019-10-15 | 珠海豹趣科技有限公司 | A kind of method, apparatus and electronic equipment handling pop-up |
CN106407262A (en) * | 2016-08-24 | 2017-02-15 | 百度在线网络技术(北京)有限公司 | Information display method and apparatus |
CN106909377B (en) * | 2017-02-21 | 2020-08-11 | 北京安云世纪科技有限公司 | Hot area page processing method and device |
CN107391115B (en) * | 2017-06-28 | 2018-10-23 | 武汉斗鱼网络科技有限公司 | A kind of method, apparatus and computer equipment for realizing pop-up alternative events |
CN109271212A (en) * | 2017-07-13 | 2019-01-25 | 深圳市Tcl高新技术开发有限公司 | A kind of advertisement in application program shields method, device and equipment |
CN108920243A (en) * | 2018-06-29 | 2018-11-30 | 北京奇虎科技有限公司 | Control the method and device of pop-up |
CN109144608B (en) * | 2018-08-23 | 2021-12-07 | 深圳市元征科技股份有限公司 | Method and device for shielding function popup window of control application in application program |
CN111158811B (en) * | 2019-12-16 | 2022-06-21 | 珠海格力电器股份有限公司 | Advertisement processing method and device, electronic equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101620529A (en) * | 2008-07-03 | 2010-01-06 | 联想(北京)有限公司 | Method and system for intercepting pop-up window |
CN102236553A (en) * | 2011-06-09 | 2011-11-09 | 北京思创银联科技股份有限公司 | Method for filtering Windows system window |
CN102436339A (en) * | 2011-08-17 | 2012-05-02 | 北京数码大方科技有限公司 | Display control method and device for modal dialog boxes |
CN102819713A (en) * | 2012-06-29 | 2012-12-12 | 北京奇虎科技有限公司 | Method and system for detecting security of popup window |
CN103034800A (en) * | 2012-12-14 | 2013-04-10 | 北京奇虎科技有限公司 | Device and method for intercepting pop-up windows |
-
2012
- 2012-12-14 CN CN201210544626.XA patent/CN103019719B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101620529A (en) * | 2008-07-03 | 2010-01-06 | 联想(北京)有限公司 | Method and system for intercepting pop-up window |
CN102236553A (en) * | 2011-06-09 | 2011-11-09 | 北京思创银联科技股份有限公司 | Method for filtering Windows system window |
CN102436339A (en) * | 2011-08-17 | 2012-05-02 | 北京数码大方科技有限公司 | Display control method and device for modal dialog boxes |
CN102819713A (en) * | 2012-06-29 | 2012-12-12 | 北京奇虎科技有限公司 | Method and system for detecting security of popup window |
CN103034800A (en) * | 2012-12-14 | 2013-04-10 | 北京奇虎科技有限公司 | Device and method for intercepting pop-up windows |
Non-Patent Citations (1)
Title |
---|
《基于hook技术拦截IE弹出广告窗口的实现》;田长根;《计算机与现代化》;20061231;第2006年卷(第12期);正文第1-3页 * |
Also Published As
Publication number | Publication date |
---|---|
CN103019719A (en) | 2013-04-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103019719B (en) | A kind of pop-up blocking apparatus and method | |
CN103034800B (en) | Device and a method for intercepting pop-up windows | |
CN104793995B (en) | The method and device for controlling GPS to call | |
CN103595766B (en) | Realize the method and device of the sending out notice of extension application | |
CN105549820B (en) | A kind of method and terminal showing graphic user interface | |
CN103778012B (en) | The method and device of change terminal operator's informaiton | |
CN102594997A (en) | Method for remotely controlling computer by using mobile phone | |
CN106484423A (en) | A kind of message display method and device | |
CN103019677B (en) | For the method and apparatus managing software | |
CN108376094A (en) | Notification message display methods, device, computer equipment and storage medium | |
CN105117320A (en) | Method for managing application in electronic terminal and electronic terminal thereof | |
CN106648715A (en) | Method and system for loading pop-up window control | |
CN104360925B (en) | Statistics application program uses the method and device of frequency | |
CN103532945B (en) | Sharing control method and related equipment and communication system | |
CN106843977B (en) | A kind of processing method, device and the mobile terminal of application program self-starting | |
CN107704499A (en) | A kind of page jump control method and device of application program | |
CN108924030A (en) | Electronic device, the method for dynamically configuration message exhibition method and storage medium | |
US9405522B2 (en) | Scene-sound set operating method and portable device | |
CN103338114B (en) | A kind of exchange method based on android system notification message | |
CN105892833A (en) | Popup message processing method and device | |
CN106507148B (en) | Display control method and device | |
CN104518890B (en) | Network service processing method, information broadcast and control method and device | |
CN104268193A (en) | Advertisement webpage intercepting method and device | |
CN108270753A (en) | The method and device of logging off users account | |
CN106919489A (en) | Monitoring method and device that the application interface of application program is exited extremely |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20220722 Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015 Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park) Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Patentee before: Qizhi software (Beijing) Co.,Ltd. |
|
TR01 | Transfer of patent right |