CN103150390B - A kind of disposal route to Flash window and device - Google Patents

A kind of disposal route to Flash window and device Download PDF

Info

Publication number
CN103150390B
CN103150390B CN201310092683.3A CN201310092683A CN103150390B CN 103150390 B CN103150390 B CN 103150390B CN 201310092683 A CN201310092683 A CN 201310092683A CN 103150390 B CN103150390 B CN 103150390B
Authority
CN
China
Prior art keywords
window
flash
web page
page tag
chain
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
Application number
CN201310092683.3A
Other languages
Chinese (zh)
Other versions
CN103150390A (en
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
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201310092683.3A priority Critical patent/CN103150390B/en
Publication of CN103150390A publication Critical patent/CN103150390A/en
Application granted granted Critical
Publication of CN103150390B publication Critical patent/CN103150390B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of disposal route to Flash window and device.A kind of disposal route to Flash window that the embodiment of the present invention provides, comprising: the web page tag creating band Flash window in browser, and the Flash window of monitoring in this web page tag generates; Monitor in described web page tag and have the Flash window meeting preset stripping conditions to generate, the Flash window of described generation is peeled off from the window chain of described web page tag, to isolate the window operation to the described Flash window be stripped.

Description

A kind of disposal route to Flash window and device
Technical field
The present invention relates to Internet technical field, particularly a kind of disposal route to Flash window and device.
Background technology
Current internet video (Flash) technology is applied greatly, and each large electronic business transaction web browser adopts Flash technology to follow the tracks of user's purchasing habits or to promote some article in a large number.These flash generally adopt the Flash window not having size (0 size), thus can not the purchase experiences of interference user, and businessman also reaches the object of track user, and the Flash window of 0 size does not need user to operate on it.
At present these 0 size Flash window are carried out dragging, convergent-divergent, directly can cause the not smooth of browser display, the problem that processing speed is slower when the window operation such as to redraw.
Summary of the invention
In view of the above problems, the present invention is proposed to provide a kind of overcoming the problems referred to above or the disposal route to Flash window solved the problem at least in part and device.
According to one aspect of the present invention, embodiments provide a kind of disposal route to Flash window, comprising:
Create the web page tag of band Flash window in browser, the Flash window of monitoring in this web page tag generates; Monitor in web page tag and have the Flash window meeting preset stripping conditions to generate, the Flash window of generation is peeled off from the window chain of web page tag, to isolate the window operation to the Flash window be stripped.
Wherein, the above-mentioned Flash window meeting preset stripping conditions to be window size be 0 Flash window, when the Flash window monitoring 0 size generates, confirming to monitor in described web page tag has the Flash window meeting preset stripping conditions to generate.
Or, the above-mentioned Flash window meeting preset stripping conditions is the Flash window that window size is not more than intended pixel numerical value, when monitoring window size and being not more than the Flash window generation of intended pixel numerical value, confirming to monitor in described web page tag has the Flash window meeting preset stripping conditions to generate.
Wherein, the Flash window in this web page tag of above-mentioned monitoring generates and comprises: by calling of window generating function in monitoring web page tag, the Flash window of monitoring in this web page tag generates.
Wherein, the Flash window of generation is stripped out from the window chain of web page tag and comprises: by the father node of amendment Flash window in window chain, the Flash window meeting preset stripping conditions is stripped out from the window chain of web page tag.
Wherein, the father node of above-mentioned amendment Flash window in window chain comprises: the father node father node of Flash window in window chain being revised as main window in web page tag.
Wherein, said method also comprises: when the window message that the main window of web page tag receives that indication window drags, window convergent-divergent and/or window redraw, window message is passed to the child nodes at different levels under main window in the window chain of web page tag, and forbid window message to be passed on the node on window chain outside this child node at different levels, to isolate the window operation to the Flash window be stripped; According to the content of window message instruction, corresponding window operation is performed to the node receiving window message in window chain.
Wherein, said method also comprises: record meets the positional information of Flash window before being stripped in window chain of preset stripping conditions;
After the Flash window of generation is stripped out from the window chain of web page tag, said method also comprises: when monitoring the Flash window meeting preset stripping conditions and no longer meeting this preset stripping conditions, recovers the position of Flash window in window chain be stripped according to the positional information of record.
Wherein, above-mentioned preset stripping conditions is that window size is not more than intended pixel numerical value, and the positional information recorded is the father node of Flash window before being stripped in window chain meeting preset stripping conditions;
The above-mentioned Flash window meeting stripping conditions that monitors no longer meets this preset stripping conditions and comprises: arrange calling of function to window size in web page tag and monitor; When monitor the window size called in web page tag arrange function the window size of the Flash window be stripped is set to be greater than intended pixel numerical value time, confirm that this Flash window be stripped no longer meets preset stripping conditions; And,
The above-mentioned position of Flash window in window chain of recovering to be stripped according to the positional information of record comprises: the father node of the Flash window be stripped in window chain is revised as the father node of this Flash window before being stripped in window chain.
Wherein, above-mentioned window generating function comprises window generating function CreateWindowExA and window generating function CreateWindowExW.
According to another aspect of the present invention, the embodiment of the present invention additionally provides a kind for the treatment of apparatus to Flash window, comprising:
Monitoring means, is suitable for the web page tag creating band Flash window in browser, and the Flash window of monitoring in this web page tag generates;
Peel off performance element, being suitable for monitoring in web page tag has the Flash window meeting preset stripping conditions to generate, and the Flash window of generation is peeled off from the window chain of web page tag, to isolate the window operation to the Flash window be stripped.
Wherein, said apparatus also comprises stripping conditions judging unit, this stripping conditions judging unit, the Flash window being suitable for judging to meet preset stripping conditions to be window size be 0 Flash window, then peel off performance element, be suitable for when the Flash window monitoring 0 size generates, confirming to monitor in described web page tag has the Flash window meeting preset stripping conditions to generate; Or, this stripping conditions judging unit, the Flash window being suitable for judging to meet preset stripping conditions is the Flash window that window size is not more than intended pixel numerical value, then peel off performance element, be suitable for when monitoring window size and being not more than the Flash window generation of intended pixel numerical value, confirming to monitor in described web page tag has the Flash window meeting preset stripping conditions to generate.
Wherein, monitoring means, is also suitable for calling by window generating function in monitoring web page tag, and the Flash window of monitoring in this web page tag generates.
Wherein, peel off performance element, be suitable for, by the father node of amendment Flash window in window chain, the Flash window meeting preset stripping conditions being stripped out from the window chain of web page tag.
Wherein, peel off performance element, be suitable for the father node father node of Flash window in window chain being revised as main window in web page tag.
Wherein, said apparatus also comprises window operation performance element, be suitable for when the main window of web page tag receives the window message that indication window drags, window convergent-divergent and/or window redraw, window message is passed to the child nodes at different levels under main window in the window chain of web page tag, and forbid window message to be passed on the node on window chain outside this child node at different levels, to isolate the window operation to the Flash window be stripped; And, according to the content of window message instruction, corresponding window operation is performed to the node receiving window message in window chain.
Wherein, said apparatus also comprises information recording unit and location restore unit, this information recording unit, is suitable for recording the positional information of Flash window before being stripped in window chain meeting preset stripping conditions; This location restore unit, is suitable for when monitoring the Flash window meeting preset stripping conditions and no longer meeting this preset stripping conditions, recovers the position of Flash window in window chain be stripped according to the positional information of record.
Wherein, above-mentioned preset stripping conditions is that window size is not more than intended pixel numerical value, and the positional information of information recording unit record is the father node of Flash window before being stripped in window chain meeting preset stripping conditions; Location restore unit, is also suitable for arranging calling of function to window size in web page tag and monitors; When monitor the window size called in web page tag arrange function the window size of the Flash window be stripped is set to be greater than intended pixel numerical value time, confirm that this Flash window be stripped no longer meets preset stripping conditions; And, the father node of the Flash window be stripped in window chain is revised as the father node of this Flash window before being stripped in window chain.
From the above mentioned, the embodiment of the present invention is by the constructive process of monitoring flash window, and by technological means that the Flash window meeting preset stripping conditions is stripped out from window chain, the window on window chain can be made to be separated with the Flash window be stripped, window operation on isolation window chain is on the impact of the Flash window being stripped out, thus improve the phenomenon such as processing speed and experience, the stuck collapse that efficiently avoid the browser that Flash window causes of browser, make browser display more smooth, optimize the performance of browser.
Further, the technical scheme of the embodiment of the present invention by the window restoration that is stripped out in window chain, can also realize the flexible control to Flash window as required.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of instructions, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 shows according to an embodiment of the invention to the structural representation of the treating apparatus of Flash window;
Fig. 2 shows a kind of according to an embodiment of the invention rough schematic view comprising the window chain of multiple node; And
Fig. 3 shows a kind of according to an embodiment of the invention process flow figure to Flash window.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
The window message of current browser has the feature of chain type transmission, when user is to main window send window message in browsing device net page (Web) label, this window message can be passed to all windows in window chain, although these window messages are useless to 0 size Flash window, but 0 size Flash window still can receive a large amount of window messages, need to process these window messages, and due to these window messages along with main window drags, convergent-divergent or the window operation such as to redraw, thus cause browser display not smooth, browser processing speed is slower, even stuck collapse.
For the problems referred to above, one embodiment of the invention provides a kind for the treatment of apparatus 100 to Flash window, see Fig. 1, this device 100 comprises monitoring means 111, stripping conditions judging unit 112, peels off performance element 113, information recording unit 114, location restore unit 115 and window operation performance element 116.Respectively these unit are introduced below.
Monitoring means 111 is suitable for the web page tag (Tab) creating band video (Flash) window in browser, and the Flash window of monitoring in this web page tag generates.
Monitoring means 111 is suitable for calling by window generating function in monitoring web page tag, and the Flash window of monitoring in this web page tag generates.Exemplary, this window generating function can comprise window generating function CreateWindowExA and window generating function CreateWindowExW, but, the present embodiment is not limited to only can monitor these two kinds of window generating functions, also can monitor the window generating function of other types when needed.When monitoring means 111 monitor in web page tag call CreateWindowExA and/or CreateWindowExW time, know in web page tag and have new Flash window to generate, then device 100 starts stripping conditions judging unit 112 and whether meets preset stripping conditions to new Flash window and judge.
Different according to the content of preset stripping conditions, the concrete judgement operation that stripping conditions judging unit 112 performs is also different.When preset stripping conditions be window size is 0, the Flash window that stripping conditions judging unit 112 is suitable for judging to meet preset stripping conditions to be window size be 0 Flash window; When preset stripping conditions is that window size is not more than intended pixel numerical value, such as, intended pixel numerical value can be 1, then Flash window is of a size of 1 pixel or 0 size Flash window all meets preset stripping conditions, and the Flash window that stripping conditions judging unit 112 is suitable for judging to meet preset stripping conditions is the Flash window (this situation also comprises 0 size Flash window scene) that window size is not more than intended pixel numerical value.By changing the particular content in preset stripping conditions, the Flash window meeting different qualities can screen by stripping conditions judging unit 112, carry out subsequent treatment, as device 100 starts stripping performance element 113, the Flash window screened is stripped out from window chain.
Peel off performance element 113 and be suitable for monitoring in web page tag the Flash window generation having and meet preset stripping conditions, the Flash window of generation is peeled off from the window chain of web page tag, to isolate the window operation to the Flash window be stripped.
Peel off performance element 113 to be suitable for monitoring the judged result of stripping conditions judging unit 112, confirming to monitor in web page tag has the Flash window meeting preset stripping conditions to generate.Such as, peeling off performance element 113 is suitable for when the Flash window monitoring 0 size generates, confirming to monitor in web page tag has the Flash window meeting preset stripping conditions to generate, and/or, peeling off performance element 113 is suitable for when monitoring window size and being not more than the Flash window generation of intended pixel numerical value, and confirming to monitor in described web page tag has the Flash window meeting preset stripping conditions to generate
Window in web page tag is all have set membership, forms a kind of list structure.When performing strip operation, under a kind of stripping mode, peeling off performance element 113 and being suitable for, by the father node of amendment Flash window in window chain, the Flash window meeting preset stripping conditions being stripped out from the window chain of web page tag.Such as, peeling off performance element 113 can arrange SetParent function and arrange new father node to window by calling father node, reaches the object of stripping.
Concrete, peel off performance element 113 and be suitable for the father node father node of Flash window in window chain being revised as main window in web page tag.Because main window is the window needing user operation in web page tag, user performs dragging by send window message to main window, convergent-divergent or the window operation such as to redraw, the window message received is passed to and the node of this main window in the same window chain by main window, then adopt above-mentioned stripping mode, the Flash window meeting preset stripping conditions is revised as and with main window, there is common father node, the Flash window then meeting preset stripping conditions is positioned on different window chains from main window, thus the window message that main window can be avoided to receive can not impact the Flash window meeting preset stripping conditions, such as, device 100 can control the transmission of window message in window chain by window operation performance element 116, avoid window message on the impact being stripped Flash window.
Window operation performance element 116 is suitable for when the main window of web page tag receives the window message that indication window drags, window convergent-divergent and/or window redraw, window message is passed to the child nodes at different levels under main window in the window chain of web page tag, and forbid window message to be passed on the node on window chain outside this child node at different levels, to isolate the window operation to the Flash window be stripped; And, according to the content of window message instruction, corresponding window operation is performed to the node receiving window message in window chain.
See Fig. 2, show a kind of rough schematic view comprising the window chain of multiple node.The main window of web page tag is positioned at node 1, the father node of main window is node 0, the child nodes at different levels of main window comprise node 1, node 2, node 3, the Flash window be stripped is positioned at node 4, then node 0, node 1, node 2 and node 3 are positioned on the same window chain, node 0 and node 4 are positioned on the same window chain, then when main window receives window message, window operation performance element 116 can control this window message and be passed to node 2 and node 3, forbid that this window message is passed to node 4, thus avoid the window operation of main window is impacted being stripped Flash window.
Wherein, said apparatus 100 also comprises information recording unit 114 and location restore unit 115, to provide a kind of mechanism to being stripped Flash window and carrying out location restore.Be appreciated that the scene for not needing being stripped Flash window and carrying out location restore, information recording unit 114 and location restore unit 115 also can omit.
This information recording unit 114 is suitable for recording the positional information of Flash window before being stripped in window chain meeting preset stripping conditions.Such as, the positional information that information recording unit 114 records is the father node of Flash window before being stripped in window chain meeting preset stripping conditions.
This location restore unit 115 is suitable for when monitoring the Flash window meeting preset stripping conditions and no longer meeting this preset stripping conditions, recovers the position of Flash window in window chain be stripped according to the positional information of record.
Such as, location restore unit 115 is suitable for arranging calling of SetWindowPos function to window size in web page tag and monitors; When monitor the window size called in web page tag arrange function the window size of the Flash window be stripped is set to be greater than intended pixel numerical value time, as 0 size Flash window is set to non-zero size Flash window by SetWindowPos function, then confirm that this Flash window be stripped no longer meets preset stripping conditions; The father node of the Flash window be stripped in window chain is revised as the father node of this Flash window before being stripped in window chain by location restore unit 115.
From the above mentioned, the embodiment of the present invention is by the constructive process of monitoring flash window, and by technological means that the Flash window meeting preset stripping conditions is stripped out from window chain, the window on window chain can be made to be separated with the Flash window be stripped, window operation on isolation window chain is on the impact of the Flash window being stripped out, thus improve the phenomenon such as processing speed and experience, the stuck collapse that efficiently avoid the browser that Flash window causes of browser, make browser display more smooth, optimize the performance of browser.
Further, the technical scheme of the embodiment of the present invention by the window restoration that is stripped out in window chain, can also realize the flexible control to Flash window as required.
The present invention another embodiment still provides a kind of disposal route to Flash window, see Fig. 3, comprise following operation:
S300: the web page tag creating band Flash window in browser.
S302: the Flash window of monitoring in this web page tag generates.
Calling by window generating function in monitoring web page tag in this step, the Flash window of monitoring in this web page tag generates.The window generating function detected is including, but not limited to window generating function CreateWindowExA and window generating function CreateWindowExW.
S304: monitor in web page tag and have the Flash window meeting preset stripping conditions to generate, the Flash window of generation is peeled off from the window chain of web page tag, to isolate the window operation to the Flash window be stripped.
Wherein, the above-mentioned Flash window meeting preset stripping conditions to be window size be 0 Flash window, when the Flash window monitoring 0 size generates, confirming to monitor in described web page tag has the Flash window meeting preset stripping conditions to generate.
Or, the above-mentioned Flash window meeting preset stripping conditions is the Flash window that window size is not more than intended pixel numerical value, when monitoring window size and being not more than the Flash window generation of intended pixel numerical value, confirming to monitor in described web page tag has the Flash window meeting preset stripping conditions to generate.
By the father node of amendment Flash window in window chain in this step, the Flash window meeting preset stripping conditions is stripped out from the window chain of web page tag.
Wherein, the father node of above-mentioned amendment Flash window in window chain comprises: the father node father node of Flash window in window chain being revised as main window in web page tag.
When needing to recover position in window chain of the Flash window that is stripped, perform step S306.
S306: when monitoring the Flash window meeting stripping conditions and no longer meeting stripping conditions, recovers the position of Flash window in window chain be stripped.
In this step, record meets the positional information of Flash window before being stripped in window chain of preset stripping conditions, when monitoring the Flash window meeting preset stripping conditions and no longer meeting this preset stripping conditions, recover the position of Flash window in window chain be stripped according to the positional information of record.
The positional information recorded is the father node of Flash window before being stripped in window chain meeting preset stripping conditions;
The above-mentioned Flash window meeting stripping conditions that monitors no longer meets this preset stripping conditions and comprises: arrange calling of function to window size in web page tag and monitor; When monitor the window size called in web page tag arrange function the window size of the Flash window be stripped is set to be greater than intended pixel numerical value time, confirm that this Flash window be stripped no longer meets preset stripping conditions; And,
The above-mentioned position of Flash window in window chain of recovering to be stripped according to the positional information of record comprises: the father node of the Flash window be stripped in window chain is revised as the father node of this Flash window before being stripped in window chain.
Further, can by the window operation of following process isolation to the Flash window be stripped in the present embodiment: when the window message that the main window of web page tag receives that indication window drags, window convergent-divergent and/or window redraw, window message is passed to the child nodes at different levels under main window in the window chain of web page tag, and forbid window message to be passed on the node on window chain outside this child node at different levels, to isolate the window operation to the Flash window be stripped; According to the content of window message instruction, corresponding window operation is performed to the node receiving window message in window chain.
In the inventive method embodiment, the concrete executive mode of each step see device embodiment of the present invention, can not repeat at this.
From the above mentioned, the embodiment of the present invention is by the constructive process of monitoring flash window, and by technological means that the Flash window meeting preset stripping conditions is stripped out from window chain, the window on window chain can be made to be separated with the Flash window be stripped, window operation on isolation window chain is on the impact of the Flash window being stripped out, thus improve the phenomenon such as processing speed and experience, the stuck collapse that efficiently avoid the browser that Flash window causes of browser, make browser display more smooth, optimize the performance of browser.
Further, the technical scheme of the embodiment of the present invention by the window restoration that is stripped out in window chain, can also realize the flexible control to Flash window as required.
Intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with display at this algorithm provided.Various general-purpose system also can with use based on together with this teaching.According to description above, the structure constructed required by this type systematic is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
In instructions provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary array mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions to the some or all parts in the treating apparatus of Flash window that microprocessor or digital signal processor (DSP) can be used in practice to realize according to the embodiment of the present invention.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.

Claims (16)

1., to a disposal route for Flash window, comprising:
Create the web page tag of band Flash window in browser, the Flash window of monitoring in this web page tag generates;
Monitor in described web page tag and have the Flash window meeting preset stripping conditions to generate, the Flash window of generation is peeled off from the window chain of described web page tag, to isolate the window operation to the Flash window be stripped;
Described method also comprises: record meets the positional information of Flash window before being stripped in window chain of preset stripping conditions;
Described the Flash window of generation is stripped out from the window chain of described web page tag after, described method also comprises:
When monitoring the Flash window meeting preset stripping conditions and no longer meeting this preset stripping conditions, the position of Flash window in window chain be stripped described in recovering according to the positional information of record.
2. method according to claim 1, wherein, described in meet preset stripping conditions Flash window to be window size be 0 Flash window, described in monitor in described web page tag and have the Flash window meeting preset stripping conditions to generate to comprise:
When the Flash window monitoring 0 size generates, confirming to monitor in described web page tag has the Flash window meeting preset stripping conditions to generate.
3. method according to claim 1, wherein, the described Flash window meeting preset stripping conditions is the Flash window that window size is not more than intended pixel numerical value, described in monitor in described web page tag have meet preset stripping conditions Flash window generate comprise:
When monitoring window size and being not more than the Flash window generation of intended pixel numerical value, confirming to monitor in described web page tag has the Flash window meeting preset stripping conditions to generate.
4. method according to claim 1, wherein,
Flash window in this web page tag of described monitoring generates and comprises: by monitoring calling of window generating function in described web page tag, the Flash window of monitoring in this web page tag generates.
5. method according to claim 1, wherein, is stripped out the Flash window of described generation and comprises from the window chain of described web page tag:
By revising the father node of described Flash window in window chain, the Flash window meeting preset stripping conditions is stripped out from the window chain of described web page tag.
6. method according to claim 5, wherein, the father node of the described Flash window of described amendment in window chain comprises:
The father node of described Flash window in window chain is revised as the father node of main window in described web page tag.
7. method according to claim 6, wherein, described method also comprises:
When the window message that the main window of described web page tag receives that indication window drags, window convergent-divergent and/or window redraw, described window message is passed to the child nodes at different levels under main window in the window chain of web page tag, and forbid described window message to be passed on the node on window chain outside this child node at different levels, to isolate the window operation to the described Flash window be stripped;
According to the content that described window message indicates, corresponding window operation is performed to the node receiving window message in window chain.
8. method according to claim 1, wherein, described preset stripping conditions is that window size is not more than intended pixel numerical value, and the positional information recorded is the father node of Flash window before being stripped in window chain meeting preset stripping conditions;
The described Flash window meeting stripping conditions that monitors no longer meets this preset stripping conditions and comprises:
Arrange calling of function to window size in described web page tag to monitor;
When monitor the window size called in described web page tag arrange function the window size of the Flash window be stripped is set to be greater than intended pixel numerical value time, confirm that this Flash window be stripped no longer meets preset stripping conditions; And,
The position of Flash window in window chain be stripped described in the described recovery of the positional information according to record comprises:
The father node of the described Flash window be stripped in window chain is revised as the father node of this Flash window before being stripped in window chain.
9. the method according to any one of claim 1 to 8, wherein, described window generating function comprises window generating function CreateWindowExA and window generating function CreateWindowExW.
10., to a treating apparatus for Flash window, comprising:
Monitoring means, is suitable for the web page tag creating band Flash window in browser, and the Flash window of monitoring in this web page tag generates;
Peel off performance element, being suitable for monitoring in described web page tag has the Flash window meeting preset stripping conditions to generate, and the Flash window of generation is peeled off from the window chain of described web page tag, to isolate the window operation to the Flash window be stripped;
Described device also comprises information recording unit and location restore unit,
Described information recording unit, is suitable for recording the positional information of Flash window before being stripped in window chain meeting preset stripping conditions;
Described location restore unit, is suitable for when monitoring the Flash window meeting preset stripping conditions and no longer meeting this preset stripping conditions, the position of Flash window in window chain be stripped described in recovering according to the positional information of record.
11. devices according to claim 10, wherein, described device also comprises stripping conditions judging unit,
Described stripping conditions judging unit, the Flash window being suitable for judging to meet preset stripping conditions to be window size be 0 Flash window, described stripping performance element, be suitable for when the Flash window monitoring 0 size generates, confirming to monitor in described web page tag has the Flash window meeting preset stripping conditions to generate; Or,
Described stripping conditions judging unit, the Flash window being suitable for judging to meet preset stripping conditions is the Flash window that window size is not more than intended pixel numerical value, described stripping performance element, be suitable for when monitoring window size and being not more than the Flash window generation of intended pixel numerical value, confirming to monitor in described web page tag has the Flash window meeting preset stripping conditions to generate.
12. devices according to claim 10, wherein,
Described monitoring means, is also suitable for by monitoring calling of window generating function in described web page tag, and the Flash window of monitoring in this web page tag generates.
13. devices according to claim 10, wherein, described stripping performance element, is suitable for, by revising the father node of described Flash window in window chain, the Flash window meeting preset stripping conditions being stripped out from the window chain of described web page tag.
14. devices according to claim 13, wherein, described stripping performance element, is suitable for the father node father node of described Flash window in window chain being revised as main window in described web page tag.
15. devices according to claim 14, wherein, described device also comprises window operation performance element, be suitable for when the main window of described web page tag receives the window message that indication window drags, window convergent-divergent and/or window redraw, described window message is passed to the child nodes at different levels under main window in the window chain of web page tag, and forbid described window message to be passed on the node on window chain outside this child node at different levels, to isolate the window operation to the described Flash window be stripped; And the content indicated according to described window message, performs corresponding window operation to the node receiving window message in window chain.
16. devices according to claim 10, wherein, described preset stripping conditions is that window size is not more than intended pixel numerical value, and the positional information of described information recording unit record is the father node of Flash window before being stripped in window chain meeting preset stripping conditions;
Described location restore unit, is also suitable for arranging calling of function to window size in described web page tag and monitors; When monitor the window size called in described web page tag arrange function the window size of the Flash window be stripped is set to be greater than intended pixel numerical value time, confirm that this Flash window be stripped no longer meets preset stripping conditions; And, the father node of the described Flash window be stripped in window chain is revised as the father node of this Flash window before being stripped in window chain.
CN201310092683.3A 2013-03-21 2013-03-21 A kind of disposal route to Flash window and device Active CN103150390B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310092683.3A CN103150390B (en) 2013-03-21 2013-03-21 A kind of disposal route to Flash window and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310092683.3A CN103150390B (en) 2013-03-21 2013-03-21 A kind of disposal route to Flash window and device

Publications (2)

Publication Number Publication Date
CN103150390A CN103150390A (en) 2013-06-12
CN103150390B true CN103150390B (en) 2016-04-13

Family

ID=48548467

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310092683.3A Active CN103150390B (en) 2013-03-21 2013-03-21 A kind of disposal route to Flash window and device

Country Status (1)

Country Link
CN (1) CN103150390B (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050177635A1 (en) * 2003-12-18 2005-08-11 Roland Schmidt System and method for allocating server resources
CN102314510A (en) * 2011-09-15 2012-01-11 奇智软件(北京)有限公司 Method and system for executing browser control
CN102436507B (en) * 2011-12-28 2014-07-16 奇智软件(北京)有限公司 Method and device for browsing web pages
CN102982169B (en) * 2012-12-12 2017-05-24 北京奇虎科技有限公司 Browser and method for isolating webpage plugins

Also Published As

Publication number Publication date
CN103150390A (en) 2013-06-12

Similar Documents

Publication Publication Date Title
CN105549820B (en) A kind of method and terminal showing graphic user interface
CN103106196B (en) A kind of method and apparatus recovering browsing device net page
CN105528439A (en) Switching method and device for page in browser label
CN108052589A (en) The method, apparatus and storage medium of a kind of text exhibition
CN105190547A (en) Staged animation of charts for data updates
US20150301806A1 (en) Tentative program code in an editor
CN104461239A (en) Information interaction method and device
CN107391115A (en) A kind of method, apparatus and computer equipment for realizing pop-up alternative events
CN105260287A (en) Method and device for updating parent task progress
CN108196964A (en) A kind of method and apparatus by Streams Module
CN106649357A (en) Data processing method and apparatus used for crawler program
CN104777960B (en) The method and apparatus for realizing the compound object horse race lamp of sectional triggering
CN105159686A (en) Website page development method and apparatus
CN101727505B (en) Efficient data processing method and device
CN103150390B (en) A kind of disposal route to Flash window and device
CN110018866B (en) User interface theme updating method, device and system, vehicle machine and vehicle
CN104484399A (en) Webpage jump processing method and webpage jump processing device
CN109521914A (en) Restore the methods, devices and systems of data in file
US10740119B2 (en) Identifying a common action flow
CN105204907A (en) Browser starting method and device
CN105094363A (en) Method and apparatus for processing emotion signal
CN103049313B (en) For label stopping device and the method for browser
CN104778091A (en) Application program operation method and device
CN106201442B (en) The execution method and device of application program
CN105531661A (en) Full screen content viewing interface entry

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: 20220714

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