CN103793224A - Window display method and device - Google Patents

Window display method and device Download PDF

Info

Publication number
CN103793224A
CN103793224A CN201410023601.4A CN201410023601A CN103793224A CN 103793224 A CN103793224 A CN 103793224A CN 201410023601 A CN201410023601 A CN 201410023601A CN 103793224 A CN103793224 A CN 103793224A
Authority
CN
China
Prior art keywords
unit
plug
window
browser
attribute
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.)
Granted
Application number
CN201410023601.4A
Other languages
Chinese (zh)
Other versions
CN103793224B (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 CN201410023601.4A priority Critical patent/CN103793224B/en
Publication of CN103793224A publication Critical patent/CN103793224A/en
Application granted granted Critical
Publication of CN103793224B publication Critical patent/CN103793224B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a window display method and device, and relates to the technical field of browsers. The window display method includes the steps of judging a full-screen display operation carried out on a video play plug-in in a current webpage, loading the video play plug-in in a child window of a first browser appearing above the rest of a full screen, obtaining window attribute information of each browser window in the browser and/or each window of a current operation system desktop, judging whether the obtained window attribute of each window is that the window is placed before the child window of the first browser or not, and if yes, displaying each window after revising the attribute to be that the window is behind the child window of the first browser. The window display method and device have the advantages that when played in the full screen, the video play plug-in can be played completely with the whole display screen as a unit and is not disturbed by content of other windows.

Description

A kind of display packing of window and device
Technical field
The present invention relates to browser technology field, be specifically related to a kind of display packing and device of window.
Background technology
Web browser is the file showing in Website server or file system, and allows user's a kind of application software of a little file interactions therewith.It is used for being presented at word, image and other information in WWW or LAN (Local Area Network) etc.These words or image, can be the hyperlink that connects other network address, and user can browse rapidly and easily various information.Most of webpage is html format, and some webpage needs particular browser correctly to show.In PC, common web browser is Chrome, the Safari of Apple and the Opera of Opera software company of Firefox, the Google of Internet Explorer, the Mozilla of Microsoft successively according to the market share in January, 2010.Browser is the most frequently used client-side program.WWW is maximum chained file network library, the whole world.
Existing browser all can use video playback plug-in unit, such as flash plug-in unit, but in prior art, due to the level problem of window itself, in the time that user uses video playback plug-in unit played in full screen video, before other windows may be shown to the window of this displaying video, block a lot of video informations, affect user's browsing video; And may be due to the Top-layer Design Method problem of the windows such as browser frames window, when video playback plug-in unit carries out played in full screen, it is not played in full screen truly, or can only be in certain relatively large scope displaying video, can not allow user obtain full frameization visual angle truly, affect video playing quality.
Summary of the invention
In view of the above problems, the present invention has been proposed to provide a kind of display device of the window that overcomes the problems referred to above or address the above problem at least in part and the display packing of corresponding window.
According to one aspect of the present invention, a kind of display packing of window is provided, comprising:
Judge the full screen display operation to the video playback plug-in unit in current web page, in the first browser subwindow showing in a full frame top set, load described video playback plug-in unit;
Obtain the window attribute information of the each window on each browser window and/or the current operation system desktop in browser;
Judge that whether the attribute of the described window respectively getting is for before being placed on the first browser subwindow;
If so, its attribute modification is shown after being placed in the first browser subwindow.
Alternatively, judging that full screen display when behaviour to the video playback plug-in unit in current web page does to comprise:
In the time that the type of described video playback plug-in unit is ppfalsh plug-in unit, by plug-in unit monitor service, monitor and receive the full frame method to set up of ppfalsh plug-in unit, to judge whether the full screen display operation of the ppfalsh plug-in unit in pair current web page.
Alternatively, also comprise:
After browser starts, create plug-in unit monitor service, monitor the full frame method to set up of plug-in unit of ppfalsh plug-in unit by described plug-in unit monitor service.
Alternatively, described in, judge the full screen display operation of the video playback plug-in unit in current web page comprised:
When plug-in unit monitor service receives the message sending from ppfalsh plug-in unit, judge the full screen display operation to the ppfalsh plug-in unit in current web page.
Alternatively, judge the full screen display operation of the video playback plug-in unit in current web page comprised:
In the time that the type of described video playback plug-in unit is npfalsh plug-in unit, hooks up window attribute api function is set, and judge whether the full screen display operation of the npfalsh plug-in unit in pair current web page by monitoring described function parameter.
Alternatively, when the described type when described video playback plug-in unit is npfalsh plug-in unit, hooks up window attribute api function be set, and judge whether the full screen display operation of the npfalsh plug-in unit in current web page to comprise by monitoring described function parameter:
Hook up current page process to calling of window attribute api function is set in user32.dll by Detour instrument;
When detecting that the value of the window class name parameter in the parameter that window attribute api function is set is when the full frame value of Flash is set, the full screen display operation that appointment in the parameter of window attribute api function is set by analysis replaces the value of value parameter and judge whether the npfalsh plug-in unit in pair current web page.
Alternatively, the full frame value of the described Flash of setting is obtained API acquisition by calling window class name.
Alternatively, judge before the full screen display operation of the video playback plug-in unit in current web page, also comprise:
Judge the type of described video playback plug-in unit, according to the full screen display operation that whether has the video playback plug-in unit in pair current web page described in the type judgement of described video playback plug-in unit; Described package types comprises ppfalsh plug-in unit, npfalsh plug-in unit.
Alternatively, the window attribute information of obtaining the each window on each browser window and/or the current operation system desktop in browser comprises:
When plug-in unit monitor service receives the message of the full screen display operation sending from ppfalsh plug-in unit, described message is transmitted to browser host process, enumerate all windows of browsing by browser host process by window inventory.
Alternatively, described its attribute modification is comprised for being placed in after the first browser subwindow:
Call and arrange after window attribute api function changes the attribute of described window to be placed in the first browser subwindow into.
Alternatively, also comprise:
Upgrade the attribute of each window on each browser window or desktop for after being placed in the first browser subwindow.
Alternatively, the window attribute information of obtaining the each window on each browser window and/or the current operation system desktop in browser described in comprises:
When host process receives after the message that judges the full screen display operation to described npfalsh plug-in unit, obtain api function by calling desktop window, to enumerate all windows under desktop window.
Alternatively, described its attribute modification is comprised for being placed in after the first browser subwindow:
Directly call and arrange after window attribute api function changes the attribute of described window into first browser subwindow.
The display device that the invention also discloses a kind of window according to another aspect of the present invention, comprising:
Full frame judge module, is suitable for judging the full screen display operation to the video playback plug-in unit in current web page, in the first browser subwindow showing, loads described video playback plug-in unit in a full frame top set;
Window acquisition module, is suitable for obtaining the window attribute information of the each window on each browser window and/or the current operation system desktop in browser;
Attribute changes module, whether the attribute that is suitable for judging the described window respectively getting is for before being placed on the first browser subwindow; If so, its attribute modification is shown after being placed in the first browser subwindow.
Alternatively, described full frame judge module comprises:
The first full frame judge module, be suitable in the time of the full screen display operation that judges the ppfalsh plug-in unit in current web page, in the time that the type of described video playback plug-in unit is ppfalsh plug-in unit, by plug-in unit monitor service, monitor and receive the full frame method to set up of ppfalsh plug-in unit, to judge whether the full screen display operation of the ppfalsh plug-in unit in pair current web page.
Alternatively, also comprise:
Monitoring module, is suitable for after browser starts, creating plug-in unit monitor service, monitors the full frame method to set up of plug-in unit of ppfalsh plug-in unit by described plug-in unit monitor service.
Alternatively, described the first full frame judge module comprises:
Confirm module, be suitable for receiving when plug-in unit monitor service the message sending from ppfalsh plug-in unit, judge the full screen display operation to the ppfalsh plug-in unit in current web page.
Alternatively, described full frame judge module comprises:
The second full frame judge module, is suitable for, in the time that the type of described video playback plug-in unit is npfalsh plug-in unit, hooks up window attribute api function being set, and judges whether the full screen display operation of the npfalsh plug-in unit in pair current web page by monitoring described function parameter.
Alternatively, described the second full frame judge module comprises:
Hook up module, be suitable for hooking up current page process to calling of window attribute api function is set in user32.dll by Detour instrument;
Detect judge module, be suitable for when detecting that the value of the window class name parameter in the parameter that window attribute api function is set is when the full frame value of Flash is set the full screen display operation that appointment in the parameter of window attribute api function is set by analysis replaces the value of value parameter and judge whether the npfalsh plug-in unit in pair current web page.
Alternatively, described detection judge module comprises:
Window class acquisition module, is suitable for the full frame value of the described Flash of setting and obtains API acquisition by calling window class name.
Alternatively, before the full frame judge module of institute, also comprise:
Type judging module, is suitable for judging the type of described video playback plug-in unit, according to the full screen display operation that whether has the video playback plug-in unit in pair current web page described in the type judgement of described video playback plug-in unit; Described package types comprises ppfalsh plug-in unit, npfalsh plug-in unit.
Alternatively, described window acquisition module comprises:
First window acquisition module, is suitable for receiving the message of the full screen display operation sending from ppfalsh plug-in unit when plug-in unit monitor service, and described message is transmitted to browser host process, enumerates all windows of browsing by browser host process by window inventory.
Alternatively, described attribute changes module comprises:
The first attribute changes module, the attribute that is suitable for judging the described window respectively getting is after being placed on before the first browser subwindow, calls and arranges after window attribute api function changes the attribute of described window to be placed in the first browser subwindow into.
Alternatively, also comprise:
Attribute update module, the attribute that is suitable for upgrading each window on each browser window or desktop is for after being placed in the first browser subwindow.
Alternatively, described window acquisition module comprises:
Second Window acquisition module, is suitable for receiving after the message that judges the full screen display operation to described npfalsh plug-in unit when host process, obtains api function, to enumerate all windows under desktop window by calling desktop window.
Alternatively, described attribute changes module comprises:
The second attribute changes module, the attribute that is suitable for judging the described window respectively getting is after being placed on before the first browser subwindow, directly calls and arranges after window attribute api function changes the attribute of described window into first browser subwindow.
Can judge user in browser video playback plug-in unit is used according to the display packing of window of the present invention time, carry out full frame operation time, in the first browser subwindow showing in a full frame top set, load described video playback plug-in unit, then control other all windows all after this first browser subwindow, solve thus the really full screen display of video playback plug-in unit, and the problem of easily being disturbed by other windows contents, obtain while making video playback plug-in unit carry out played in full screen and can play take whole display screen as unit completely, the beneficial effect that not disturbed by other windows contents.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to better understand technological means of the present invention, and can be implemented according to the content of instructions, and for above and other objects of the present invention, feature and advantage can be become apparent, below especially exemplified by the specific embodiment of the present invention.
Accompanying drawing explanation
By reading below detailed description of the preferred embodiment, various other advantage and benefits will become cheer and bright for those of ordinary skills.Accompanying drawing is only for the object of preferred implementation is shown, and do not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 shows a kind of schematic flow sheet of display packing of window according to an embodiment of the invention;
Fig. 2 shows a kind of schematic flow sheet of display packing of window according to an embodiment of the invention;
Fig. 3 shows a kind of schematic flow sheet of display packing of window according to an embodiment of the invention;
Fig. 4 shows a kind of schematic flow sheet of display packing of window according to an embodiment of the invention;
Fig. 4 A shows the schematic diagram of the double-core browser use flash plug-in unit of prior art;
The wicket that Fig. 4 B shows the flash plug-in unit of prior art shows example;
Fig. 5 shows a kind of structural representation of display device of window according to an embodiment of the invention;
Fig. 6 shows a kind of structural representation of display device of window according to an embodiment of the invention;
Fig. 7 shows a kind of structural representation of display device of window according to an embodiment of the invention;
Fig. 8 shows a kind of structural representation of display device of window according to an embodiment of the invention.
Embodiment
Exemplary embodiment of the present disclosure is described below with reference to accompanying drawings in more detail.Although shown exemplary embodiment of the present disclosure in accompanying drawing, but should be appreciated that and can realize the disclosure and the embodiment that should do not set forth limits here with various forms.On the contrary, it is in order more thoroughly to understand the disclosure that these embodiment are provided, and can be by the those skilled in the art that conveys to complete the scope of the present disclosure.
Embodiment mono-
With reference to Fig. 1, it shows the schematic flow sheet of the display packing of a kind of window of the present invention, specifically can comprise:
Step 102, judges the full screen display operation to the video playback plug-in unit in current web page, in the first browser subwindow showing, loads described video playback plug-in unit in a full frame top set;
In embodiments of the present invention, in the time that user uses video playback plug-in unit displaying video in browser, can click in broadcast window video is carried out to full frame button, the embodiment of the present invention is monitored the full screen display operation to the video playback plug-in unit in browser current web page so, if monitor described full screen display operation, in the first browser subwindow showing in a full frame top set, load described video playback plug-in unit.
Step 104, obtains the window attribute information of the each window on each browser window and/or the current operation system desktop in browser;
In loading described video playback plug-in unit in the first browser subwindow that the present invention can show in a full frame top set, also can obtain the each browser window in browser, and/or the window attribute information of each window on current operation system desktop, to carry out the judgement of step 106.
Step 106, judges that whether the attribute of the described window respectively getting is for before being placed on the first browser subwindow; If the attribute of each window, whether for before being placed on the first browser subwindow, enters step 108;
Before it is placed in the first browser subwindow, be also HWND_TOPMOST attribute when judging that the attribute information of certain window is, enter so step 108 and remove to change window attribute.If the attribute information of certain window is it be placed in the first browser subwindow after, be HWND_NOTOPMOST attribute, need not process this window.
Step 108 shows its attribute modification after being placed in the first browser subwindow.
Attribute HWND_TOPMOST by this window is revised as HWND_NOTOPMOST.
Can judge user in browser video playback plug-in unit is used according to the display packing of window of the present invention time, carry out full frame operation time, in the first browser subwindow showing in a full frame top set, load described video playback plug-in unit, then control other all windows all after this first browser subwindow, solve thus the really full screen display of video playback plug-in unit, and the problem of easily being disturbed by other windows contents, obtain while making video playback plug-in unit carry out played in full screen and can play take whole display screen as unit completely, the beneficial effect that not disturbed by other windows contents.
Embodiment bis-
With reference to Fig. 2, it shows the schematic flow sheet of the display packing of a kind of window of the present invention, specifically can comprise:
Step 202, in the time of the full screen display operation that judges the ppfalsh plug-in unit in current web page, in the time that the type of described video playback plug-in unit is ppfalsh plug-in unit, by plug-in unit monitor service, monitor and receive the full frame method to set up of ppfalsh plug-in unit, to judge whether the full screen display operation of the ppfalsh plug-in unit in pair current web page;
In embodiments of the present invention, what the browser that user uses may use is ppflash plug-in unit, the present invention can pass through plug-in unit monitor service (PpapiHost service) so, monitor and receive the full frame method to set up (method in FlashFullscreenResource::SetFullscreen) of ppfalsh plug-in unit, to judge whether the full screen display operation of the ppfalsh plug-in unit in pair current web page.
Alternatively, comprising:
Step 200 creates plug-in unit monitor service after browser starts, and monitors the full frame method to set up of plug-in unit of ppfalsh plug-in unit by described plug-in unit monitor service.
Be in the embodiment of the present invention, after browser starts, create PpapiHost service, after ppflash plug-in unit is received the instruction of full screen display operation, can send message to PpapiHost service; If ppflash plug-in unit does not send message to ppflash plug-in unit, show that ppflash plug-in unit does not need to carry out full screen display operation.
Step 204, when plug-in unit monitor service receives the message sending from ppfalsh plug-in unit, judge the full screen display operation to the ppfalsh plug-in unit in current web page, in the first browser subwindow showing in a full frame top set, load described video playback plug-in unit;
In embodiments of the present invention, user clicks after the full screen display operation of fluttering flash plug-in unit, ppfalsh plug-in unit can send message to PpapiHost service, other situations can not send message to PpapiHost service, the message sending to ppfalsh plug-in unit when PpapiHost service reception so, showing has full screen display operation to the ppfalsh plug-in unit in current web page.
Step 206, when plug-in unit monitor service receives the message of the full screen display operation sending from ppfalsh plug-in unit, is transmitted to browser host process by described message, enumerates all windows of browsing by browser host process by window inventory;
After ppapihost receives ppfalsh plug-in unit transmission message, forwarding messages is to host process, and after host process is received message, host process is enumerated each window of all browser(browsers by BrowserList).
Step 208, judges that whether the attribute of the described window respectively getting is for before being placed on the first browser subwindow;
Step 210 if so, shows its attribute modification after being placed in the first browser subwindow.
Check that in embodiments of the present invention whether the attribute of each browser is for before being placed in the first browser subwindow, also check whether browser has HWND_TOPMOST attribute, if the window in the browser in browser has HWND_TOPMOST attribute, by its attribute modification for after being placed in the first browser subwindow, be revised as HWND_NOTOPMOST.
Alternatively, described its attribute modification is comprised for being placed in after the first browser subwindow:
Step 211, calls and arranges after window attribute api function changes the attribute of described window to be placed in the first browser subwindow into.
Windowsapi by SetWindowLongW calls (also to calling of window attribute api function is set), is HWND_NOTOPMOST by the HWND_TOPMOST attribute changes of window.
Alternatively, also comprise:
Step 212, upgrades the attribute of each window on each browser window or desktop for after being placed in the first browser subwindow.
By after the attribute changes of window, also need the attribute carrying out window to upgrade, call in embodiments of the present invention, finally call
if(::IsWindow(flash_hwnd)){
::BringWindowToTop(flash_hwnd);
::UpdateWindow(flash_hwnd);
}
Upgrade ppflash window attribute.
Then get final product the video content in played in full screen ppflash plug-in unit, be not subject to the impact of other windows.
Embodiment tri-
With reference to Fig. 3, it shows the schematic flow sheet of the display packing of a kind of window of the present invention, specifically can comprise:
Step 302, in the time that the type of described video playback plug-in unit is npfalsh plug-in unit, hooks up window attribute api function is set, and judges whether the full screen display operation of the npfalsh plug-in unit in pair current web page by monitoring described function parameter;
In the embodiment of the present invention for the browser of kernel that uses npflash plug-in unit, can window attribute api function (SetWindowLongW function) be set by hooking up, and judge whether the full screen display operation of the npfalsh plug-in unit in pair current web page by monitoring described function parameter.
Alternatively, when the described type when described video playback plug-in unit is npfalsh plug-in unit, hooks up window attribute api function be set, and judge whether the full screen display operation of the npfalsh plug-in unit in current web page to comprise by monitoring described function parameter:
Steps A 30, hooks up current page process to calling of window attribute api function is set in user32.dll by Detour instrument;
In the embodiment of the present invention, by Detour instrument (Microsoft realize be used for tackling the instrument that bottom function is realized), the calling of SetWindowLongW function in user32.dll in hook current process.
Steps A 32, when detecting that the value of the window class name parameter in the parameter that window attribute api function is set is when the full frame value of Flash is set, the full screen display operation that appointment in the parameter of window attribute api function is set by analysis replaces the value of value parameter and judge whether the npfalsh plug-in unit in pair current web page.
When the HWND(window class name parameter detecting in function parameter) the full frame value of Flash is set for ShockwaveFlashFullScreen() time, specify and replace value parameter according to last parameter d wNewLong() judge whether it is that npflash plug-in unit need to be full frame, be dwNewLong==(LONG):: when DefWindowProcW, judge that npflash plug-in unit needs full frame.
Alternatively, the full frame value of the described Flash of setting is obtained API acquisition by calling window class name.Be that described ShockwaveFlashFullScreen passes through:: the api of GetClassName system obtains.
Step 304, after judging the full screen display operation of the npfalsh plug-in unit in current web page, loads described video playback plug-in unit in the first browser subwindow showing in a full frame top set;
Step 306, obtains the window attribute information of the each window on current operation system desktop;
Alternatively, the window attribute information of obtaining the each window on current operation system desktop described in comprises:
Steps A 40, when host process receives after the message that judges the full screen display operation to described npfalsh plug-in unit, obtains api function by calling desktop window, to enumerate all windows under desktop window.
Detour instrument is tackled after calling of SetWindowLongW function in embodiments of the present invention, judge after the full screen display operation of the npfalsh plug-in unit in current web page, send and need the message of full screen display operation to browser host process, HWND WINAPI GetDesktopWindow (void) function (desktop window obtains api function) that host process is called windows system obtains all windows when front desktop, to enumerate all windows under desktop window.
Step 308, judges that whether the attribute of the described window respectively getting is for before being placed on the first browser subwindow;
Step 310 if show its attribute modification after being placed in the first browser subwindow.
In the embodiment of the present invention, directly call and arrange after window attribute api function changes the attribute of described window into first browser subwindow.Be in the embodiment of the present invention, enumerate all windows under described desktop window, judge the no HWND_TOPMOST of having attribute (being placed in the first browser subwindow attribute before), if have HWND_TOPMOST attribute, it is that HWND_NOTOPMOST(is placed in the attribute showing after the first browser subwindow that its attribute is set).
Embodiment tetra-
With reference to Fig. 4, it shows the schematic flow sheet of the display packing of a kind of window of the present invention, specifically can comprise:
Step 410, judges the type of described video playback plug-in unit, according to the full screen display operation that whether has the video playback plug-in unit in pair current web page described in the type judgement of described video playback plug-in unit; Described package types comprises ppfalsh plug-in unit, npfalsh plug-in unit.If described package types is ppfalsh plug-in unit, enter step 420; If if described package types is ppfalsh plug-in unit, enter step 430;
Step 420, in the time of the full screen display operation that judges the ppfalsh plug-in unit in current web page, in the time that the type of described video playback plug-in unit is ppfalsh plug-in unit, by plug-in unit monitor service, monitor and receive the full frame method to set up of ppfalsh plug-in unit, to judge whether the full screen display operation of the ppfalsh plug-in unit in pair current web page;
In embodiments of the present invention, what the browser that user uses may use is ppflash plug-in unit, the present invention can pass through plug-in unit monitor service (PpapiHost service) so, monitor and receive the full frame method to set up (method in FlashFullscreenResource::SetFullscreen) of ppfalsh plug-in unit, to judge whether the full screen display operation of the ppfalsh plug-in unit in pair current web page.
Alternatively, comprising:
Step 419 creates plug-in unit monitor service after browser starts, and monitors the full frame method to set up of plug-in unit of ppfalsh plug-in unit by described plug-in unit monitor service.
Be in the embodiment of the present invention, after browser starts, create PpapiHost service, after ppflash plug-in unit is received the instruction of full screen display operation, can send message to PpapiHost service; If ppflash plug-in unit does not send message to ppflash plug-in unit, show that ppflash plug-in unit does not need to carry out full screen display operation.
Step 421, when plug-in unit monitor service receives the message sending from ppfalsh plug-in unit, judge the full screen display operation to the ppfalsh plug-in unit in current web page, in the first browser subwindow showing in a full frame top set, load described video playback plug-in unit;
In embodiments of the present invention, user clicks after the full screen display operation of fluttering flash plug-in unit, ppfalsh plug-in unit can send message to PpapiHost service, other situations can not send message to PpapiHost service, the message sending to ppfalsh plug-in unit when PpapiHost service reception so, showing has full screen display operation to the ppfalsh plug-in unit in current web page.
Step 422, when plug-in unit monitor service receives the message of the full screen display operation sending from ppfalsh plug-in unit, is transmitted to browser host process by described message, enumerates all windows of browsing by browser host process by window inventory;
After ppapihost receives ppfalsh plug-in unit transmission message, forwarding messages is to host process, and after host process is received message, host process is enumerated each window of all browser(browsers by BrowserList).
Step 423, judges that whether the attribute of the described window respectively getting is for before being placed on the first browser subwindow;
Step 424 if so, shows its attribute modification after being placed in the first browser subwindow.
Check that in embodiments of the present invention whether the attribute of each browser is for before being placed in the first browser subwindow, also check whether browser has HWND_TOPMOST attribute, if the window in the browser in browser has HWND_TOPMOST attribute, by its attribute modification for after being placed in the first browser subwindow, be revised as HWND_NOTOPMOST.
Alternatively, described its attribute modification is comprised for being placed in after the first browser subwindow:
Step 425, calls and arranges after window attribute api function changes the attribute of described window to be placed in the first browser subwindow into.
Windowsapi by SetWindowLongW calls (also to calling of window attribute api function is set), is HWND_NOTOPMOST by the HWND_TOPMOST attribute changes of window.
Alternatively, also comprise:
Step 426, upgrades the attribute of each window on each browser window or desktop for after being placed in the first browser subwindow.
By after the attribute changes of window, also need the attribute carrying out window to upgrade, call in embodiments of the present invention, finally call
if(::IsWindow(flash_hwnd)){
::BringWindowToTop(flash_hwnd);
::UpdateWindow(flash_hwnd);
}
Upgrade ppflash window attribute.
Step 430, in the time that the type of described video playback plug-in unit is npfalsh plug-in unit, hooks up window attribute api function is set, and judges whether the full screen display operation of the npfalsh plug-in unit in pair current web page by monitoring described function parameter;
In the embodiment of the present invention for the browser of kernel that uses npflash plug-in unit, can window attribute api function (SetWindowLongW function) be set by hooking up, and judge whether the full screen display operation of the npfalsh plug-in unit in pair current web page by monitoring described function parameter.
Alternatively, when the described type when described video playback plug-in unit is npfalsh plug-in unit, hooks up window attribute api function be set, and judge whether the full screen display operation of the npfalsh plug-in unit in current web page to comprise by monitoring described function parameter:
Step B30, hooks up current page process to calling of window attribute api function is set in user32.dll by Detour instrument;
In the embodiment of the present invention, by Detour instrument (Microsoft realize be used for tackling the instrument that bottom function is realized), the calling of SetWindowLongW function in user32.dll in hook current process.
Step B32, when detecting that the value of the window class name parameter in the parameter that window attribute api function is set is when the full frame value of Flash is set, the full screen display operation that appointment in the parameter of window attribute api function is set by analysis replaces the value of value parameter and judge whether the npfalsh plug-in unit in pair current web page.
When the HWND(window class name parameter detecting in function parameter) the full frame value of Flash is set for ShockwaveFlashFullScreen() time, specify and replace value parameter according to last parameter d wNewLong() judge whether it is that npflash plug-in unit need to be full frame, be dwNewLong==(LONG):: when DefWindowProcW, judge that npflash plug-in unit needs full frame.
Alternatively, the full frame value of the described Flash of setting is obtained API acquisition by calling window class name.Be that described ShockwaveFlashFullScreen passes through:: the api of GetClassName system obtains.
Step 431, after judging the full screen display operation of the npfalsh plug-in unit in current web page, loads described video playback plug-in unit in the first browser subwindow showing in a full frame top set;
Step 432, obtains the window attribute information of the each window on current operation system desktop;
Alternatively, the window attribute information of obtaining the each window on current operation system desktop described in comprises:
Step B40, when host process receives after the message that judges the full screen display operation to described npfalsh plug-in unit, obtains api function by calling desktop window, to enumerate all windows under desktop window.
Detour instrument is tackled after calling of SetWindowLongW function in embodiments of the present invention, judge after the full screen display operation of the npfalsh plug-in unit in current web page, send and need the message of full screen display operation to browser host process, HWND WINAPI GetDesktopWindow (void) function (desktop window obtains api function) that host process is called windows system obtains all windows when front desktop, to enumerate all windows under desktop window.
Step 433, judges that whether the attribute of the described window respectively getting is for before being placed on the first browser subwindow;
Step 434 if so, shows its attribute modification after being placed in the first browser subwindow.
In the embodiment of the present invention, directly call and arrange after window attribute api function changes the attribute of described window into first browser subwindow.Be in the embodiment of the present invention, enumerate all windows under described desktop window, judge the no HWND_TOPMOST of having attribute (being placed in the first browser subwindow attribute before), if have HWND_TOPMOST attribute, it is that HWND_NOTOPMOST(is placed in the attribute showing after the first browser subwindow that its attribute is set).
In the prior art, have multinuclear browser, as shown in Figure 4 A, compatibility mode can only be used npflash plug-in unit to the flash plug-in unit that its different kernels use, and very fast pattern can be used npflash plug-in unit and ppflash plug-in unit.Fig. 4 B is that flash plug-in unit wicket shows example.But existing cannot guarantee when flash plug-in unit is play always preposition, what the present invention can be to different kernels, and use the browser of different flash plug-in units, in the time that it makes flash played in full screen always by preposition.In the time that user exits, restore the script window attribute of each window.While making video playback plug-in unit carry out played in full screen, can play take whole display screen as unit completely, not disturbed by other windows contents.
Embodiment five
With reference to Fig. 5, it shows the structural representation of the display device of a kind of window of the present invention, specifically can comprise:
Full frame judge module 502, is suitable for judging the full screen display operation to the video playback plug-in unit in current web page, in the first browser subwindow showing, loads described video playback plug-in unit in a full frame top set;
Window acquisition module 504, is suitable for obtaining the window attribute information of the each window on each browser window and/or the current operation system desktop in browser;
Attribute changes module 506, whether the attribute that is suitable for judging the described window respectively getting is for before being placed on the first browser subwindow; If so, its attribute modification is shown after being placed in the first browser subwindow.
Embodiment six
With reference to Fig. 6, it shows the structural representation of the display device of a kind of window of the present invention, specifically can comprise:
Full frame judge module 602, described full frame judge module 602 comprises:
The first full frame judge module 6021, be suitable in the time of the full screen display operation that judges the ppfalsh plug-in unit in current web page, in the time that the type of described video playback plug-in unit is ppfalsh plug-in unit, by plug-in unit monitor service, monitor and receive the full frame method to set up of ppfalsh plug-in unit, to judge whether the full screen display operation of the ppfalsh plug-in unit in pair current web page;
Confirm module 6022, be suitable for receiving when plug-in unit monitor service the message sending from ppfalsh plug-in unit, judge the full screen display operation to the ppfalsh plug-in unit in current web page;
Alternatively, also comprise:
Monitoring module, is suitable for after browser starts, creating plug-in unit monitor service, monitors the full frame method to set up of plug-in unit of ppfalsh plug-in unit by described plug-in unit monitor service.
Window acquisition module 604, is suitable for obtaining the window attribute information of the each window on each browser window and/or the current operation system desktop in browser; Described window acquisition module 504 comprises:
First window acquisition module 6041, be suitable for receiving the message of the full screen display operation sending from ppfalsh plug-in unit when plug-in unit monitor service, described message is transmitted to browser host process, enumerates all windows of browsing by browser host process by window inventory;
Attribute changes module 606, whether the attribute that is suitable for judging the described window respectively getting is for before being placed on the first browser subwindow; If so, its attribute modification is shown after being placed in the first browser subwindow; Described attribute changes module 606 comprises:
The first attribute changes module 6061, the attribute that is suitable for judging the described window respectively getting is after being placed on before the first browser subwindow, calls and arranges after window attribute api function changes the attribute of described window to be placed in the first browser subwindow into.
Alternatively, also comprise:
Attribute update module, the attribute that is suitable for upgrading each window on each browser window or desktop is for after being placed in the first browser subwindow.
Embodiment seven
With reference to Fig. 7, it shows the structural representation of the display device of a kind of window of the present invention, specifically can comprise:
Full frame judge module 702, described full frame judge module 702 comprises:
The second full frame judge module 7021, be suitable in the time that the type of described video playback plug-in unit is npfalsh plug-in unit, hook up window attribute api function is set, and judge whether the full screen display operation of the npfalsh plug-in unit in pair current web page by monitoring described function parameter.
Alternatively, described the second full frame judge module 7021 comprises:
Hook up module, be suitable for hooking up current page process to calling of window attribute api function is set in user32.dll by Detour instrument;
Detect judge module, be suitable for when detecting that the value of the window class name parameter in the parameter that window attribute api function is set is when the full frame value of Flash is set the full screen display operation that appointment in the parameter of window attribute api function is set by analysis replaces the value of value parameter and judge whether the npfalsh plug-in unit in pair current web page.
Alternatively, described window class acquisition module, is suitable for the full frame value of the described Flash of setting and obtains API acquisition by calling window class name.
Confirm module 7022, be suitable for, after judging the full screen display operation of the npfalsh plug-in unit in current web page, in the first browser subwindow showing in a full frame top set, loading described video playback plug-in unit;
Window acquisition module 704, is suitable for obtaining the window attribute information of the each window on each browser window and/or the current operation system desktop in browser; Described window acquisition module 704 comprises:
Second Window acquisition module 7041, is suitable for receiving after the message that judges the full screen display operation to described npfalsh plug-in unit when host process, obtains api function, to enumerate all windows under desktop window by calling desktop window.
Attribute changes module 706, whether the attribute that is suitable for judging the described window respectively getting is for before being placed on the first browser subwindow; If so, its attribute modification is shown after being placed in the first browser subwindow; Described attribute changes module 706 comprises:
The second attribute changes module 7061, the attribute that is suitable for judging the described window respectively getting is after being placed on before the first browser subwindow, directly calls and arranges after window attribute api function changes the attribute of described window into first browser subwindow.
Embodiment eight
With reference to Fig. 8, it shows the structural representation of the display device of a kind of window of the present invention, specifically can comprise:
Type judging module 810, is suitable for judging the type of described video playback plug-in unit, according to the full screen display operation that whether has the video playback plug-in unit in pair current web page described in the type judgement of described video playback plug-in unit; Described package types comprises ppfalsh plug-in unit, npfalsh plug-in unit.
The first full frame judge module 821, be suitable in the time of the full screen display operation that judges the ppfalsh plug-in unit in current web page, in the time that the type of described video playback plug-in unit is ppfalsh plug-in unit, by plug-in unit monitor service, monitor and receive the full frame method to set up of ppfalsh plug-in unit, to judge whether the full screen display operation of the ppfalsh plug-in unit in pair current web page;
First confirms module 822, is suitable for receiving when plug-in unit monitor service the message sending from ppfalsh plug-in unit, judges the full screen display operation to the ppfalsh plug-in unit in current web page;
Alternatively, also comprise:
Monitoring module, is suitable for after browser starts, creating plug-in unit monitor service, monitors the full frame method to set up of plug-in unit of ppfalsh plug-in unit by described plug-in unit monitor service.
First window acquisition module 823, is suitable for receiving the message of the full screen display operation sending from ppfalsh plug-in unit when plug-in unit monitor service, and described message is transmitted to browser host process, enumerates all windows of browsing by browser host process by window inventory;
The first attribute changes module 824, the attribute that is suitable for judging the described window respectively getting is after being placed on before the first browser subwindow, calls and arranges after window attribute api function changes the attribute of described window to be placed in the first browser subwindow into.
Alternatively, also comprise:
Attribute update module, the attribute that is suitable for upgrading each window on each browser window or desktop is for after being placed in the first browser subwindow.
The second full frame judge module 831, be suitable in the time that the type of described video playback plug-in unit is npfalsh plug-in unit, hook up window attribute api function is set, and judge whether the full screen display operation of the npfalsh plug-in unit in pair current web page by monitoring described function parameter.
Alternatively, described the second full frame judge module 831 comprises:
Hook up module, be suitable for hooking up current page process to calling of window attribute api function is set in user32.dll by Detour instrument;
Detect judge module, be suitable for when detecting that the value of the window class name parameter in the parameter that window attribute api function is set is when the full frame value of Flash is set the full screen display operation that appointment in the parameter of window attribute api function is set by analysis replaces the value of value parameter and judge whether the npfalsh plug-in unit in pair current web page.
Alternatively, described window class acquisition module, is suitable for the full frame value of the described Flash of setting and obtains API acquisition by calling window class name.
Second confirms module 832, is suitable for, after judging the full screen display operation of the npfalsh plug-in unit in current web page, in the first browser subwindow showing, loading described video playback plug-in unit in a full frame top set;
Second Window acquisition module 833, is suitable for receiving after the message that judges the full screen display operation to described npfalsh plug-in unit when host process, obtains api function, to enumerate all windows under desktop window by calling desktop window.
The second attribute changes module 834, the attribute that is suitable for judging the described window respectively getting is after being placed on before the first browser subwindow, directly calls and arranges after window attribute api function changes the attribute of described window into first browser subwindow.
The algorithm providing at this is intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with demonstration.Various general-purpose systems also can with based on using together with this teaching.According to description above, it is apparent constructing the desired structure of this type systematic.In addition, the present invention is not also for any certain programmed language.It should be understood that and can utilize various programming languages to realize content of the present invention described here, and the description of above language-specific being done is in order to disclose preferred forms of the present invention.
In the instructions that provided herein, a large amount of details are described.But, can understand, embodiments of the invention can be put into practice in the situation that there is no 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 one or more in each inventive aspect, in the above in the description of exemplary embodiment of the present invention, each feature of the present invention is grouped together into single embodiment, figure or sometimes in its description.But, the method for the disclosure should be construed to the following intention of reflection: the present invention for required protection requires than the more feature of feature of clearly recording in each claim.Or rather, as reflected in claims below, inventive aspect is to be less than all features of disclosed single embodiment above.Therefore, claims of following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and can the module in the equipment in embodiment are adaptively changed and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and can put them in addition multiple submodules or subelement or sub-component.At least some in such feature and/or process or unit are mutually repelling, and can adopt any combination to combine all processes or the unit of disclosed all features in this instructions (comprising claim, summary and the accompanying drawing followed) and disclosed any method like this or equipment.Unless clearly statement in addition, in this instructions (comprising claim, summary and the accompanying drawing followed) disclosed each feature can be by providing identical, be equal to or the alternative features of similar object replaces.
In addition, those skilled in the art can understand, although embodiment more described herein comprise some feature rather than further feature included in other embodiment, the combination of the feature of different embodiment means within scope of the present invention and forms different embodiment.For example, in the following claims, the one of any of embodiment required for protection can be used with array mode arbitrarily.
All parts embodiment of the present invention can realize with hardware, or realizes with the software module of moving on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that and can use in practice microprocessor or digital signal processor (DSP) to realize according to the embodiment of the present invention the demonstration of windowthe some or all functions of the some or all parts in equipment.The present invention can also be embodied as part or all equipment or the device program (for example, computer program and computer program) for carrying out method as described herein.Realizing program of the present invention and can be stored on computer-readable medium like this, or can there is the form of one or more signal.Such signal can be downloaded and obtain from internet website, or provides on carrier signal, or provides with any other form.
It should be noted above-described embodiment the present invention will be described rather than limit the invention, and those skilled in the art can design alternative embodiment in the case of 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 is not listed as element or step in the claims.Being positioned at word " " before element or " one " does not get rid of and has multiple such elements.The present invention can be by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In the unit claim of having enumerated some devices, several in these devices can be to carry out imbody by same hardware branch.The use of word first, second and C grade does not represent any order.Can be title by these word explanations.
The display packing that the invention discloses A1, a kind of window, comprising:
Judge the full screen display operation to the video playback plug-in unit in current web page, in the first browser subwindow showing in a full frame top set, load described video playback plug-in unit;
Obtain the window attribute information of the each window on each browser window and/or the current operation system desktop in browser;
Judge that whether the attribute of the described window respectively getting is for before being placed on the first browser subwindow;
If so, its attribute modification is shown after being placed in the first browser subwindow.
A2, method as described in A1, in the time of the full screen display behaviour who judges the video playback plug-in unit in current web page, do to comprise:
In the time that the type of described video playback plug-in unit is ppfalsh plug-in unit, by plug-in unit monitor service, monitor and receive the full frame method to set up of ppfalsh plug-in unit, to judge whether the full screen display operation of the ppfalsh plug-in unit in pair current web page.
A3, method as described in A2, also comprise:
After browser starts, create plug-in unit monitor service, monitor the full frame method to set up of plug-in unit of ppfalsh plug-in unit by described plug-in unit monitor service.
A4, method as described in A3, described in judge the full screen display operation of the video playback plug-in unit in current web page comprised:
When plug-in unit monitor service receives the message sending from ppfalsh plug-in unit, judge the full screen display operation to the ppfalsh plug-in unit in current web page.
A5, method as described in A1, judge the full screen display operation of the video playback plug-in unit in current web page comprised:
In the time that the type of described video playback plug-in unit is npfalsh plug-in unit, hooks up window attribute api function is set, and judge whether the full screen display operation of the npfalsh plug-in unit in pair current web page by monitoring described function parameter.
A6, method as described in A5, when the described type when described video playback plug-in unit is npfalsh plug-in unit, hook up window attribute api function be set, and judge whether the full screen display operation of the npfalsh plug-in unit in current web page to comprise by monitoring described function parameter:
Hook up current page process to calling of window attribute api function is set in user32.dll by Detour instrument;
When detecting that the value of the window class name parameter in the parameter that window attribute api function is set is when the full frame value of Flash is set, the full screen display operation that appointment in the parameter of window attribute api function is set by analysis replaces the value of value parameter and judge whether the npfalsh plug-in unit in pair current web page.
A7, method as described in A6, the full frame value of the described Flash of setting is obtained API and is obtained by calling window class name.
A8, as the method for A2-A7 as described in one of them, judge before the full screen display operation of the video playback plug-in unit in current web page, also comprise:
Judge the type of described video playback plug-in unit, according to the full screen display operation that whether has the video playback plug-in unit in pair current web page described in the type judgement of described video playback plug-in unit; Described package types comprises ppfalsh plug-in unit, npfalsh plug-in unit.
A9, method as described in A4, the window attribute information of obtaining the each window on each browser window and/or the current operation system desktop in browser comprises:
When plug-in unit monitor service receives the message of the full screen display operation sending from ppfalsh plug-in unit, described message is transmitted to browser host process, enumerate all windows of browsing by browser host process by window inventory.
A10, method as described in A9 describedly comprise its attribute modification after being placed in the first browser subwindow:
Call and arrange after window attribute api function changes the attribute of described window to be placed in the first browser subwindow into.
A11, method as described in B2 or A9, also comprise:
Upgrade the attribute of each window on each browser window or desktop for after being placed in the first browser subwindow.
A12, method as described in A5, described in obtain the each window on each browser window and/or the current operation system desktop in browser window attribute information comprise:
When host process receives after the message that judges the full screen display operation to described npfalsh plug-in unit, obtain api function by calling desktop window, to enumerate all windows under desktop window.
A13, method as described in A12 describedly comprise its attribute modification after being placed in the first browser subwindow:
Directly call and arrange after window attribute api function changes the attribute of described window into first browser subwindow.
The display device that the invention also discloses B14, a kind of window, comprising:
Full frame judge module, is suitable for judging the full screen display operation to the video playback plug-in unit in current web page, in the first browser subwindow showing, loads described video playback plug-in unit in a full frame top set;
Window acquisition module, is suitable for obtaining the window attribute information of the each window on each browser window and/or the current operation system desktop in browser;
Attribute changes module, whether the attribute that is suitable for judging the described window respectively getting is for before being placed on the first browser subwindow; If so, its attribute modification is shown after being placed in the first browser subwindow.
B15, device as described in B14, described full frame judge module comprises:
The first full frame judge module, be suitable in the time of the full screen display operation that judges the ppfalsh plug-in unit in current web page, in the time that the type of described video playback plug-in unit is ppfalsh plug-in unit, by plug-in unit monitor service, monitor and receive the full frame method to set up of ppfalsh plug-in unit, to judge whether the full screen display operation of the ppfalsh plug-in unit in pair current web page.
B16, device as described in B15, also comprise:
Monitoring module, is suitable for after browser starts, creating plug-in unit monitor service, monitors the full frame method to set up of plug-in unit of ppfalsh plug-in unit by described plug-in unit monitor service.
B17, device as described in B16, described the first full frame judge module comprises:
Confirm module, be suitable for receiving when plug-in unit monitor service the message sending from ppfalsh plug-in unit, judge the full screen display operation to the ppfalsh plug-in unit in current web page.
B18, device as described in B14, described full frame judge module comprises:
The second full frame judge module, is suitable for, in the time that the type of described video playback plug-in unit is npfalsh plug-in unit, hooks up window attribute api function being set, and judges whether the full screen display operation of the npfalsh plug-in unit in pair current web page by monitoring described function parameter.
B19, device as described in B18, described the second full frame judge module comprises:
Hook up module, be suitable for hooking up current page process to calling of window attribute api function is set in user32.dll by Detour instrument;
Detect judge module, be suitable for when detecting that the value of the window class name parameter in the parameter that window attribute api function is set is when the full frame value of Flash is set the full screen display operation that appointment in the parameter of window attribute api function is set by analysis replaces the value of value parameter and judge whether the npfalsh plug-in unit in pair current web page.
B20, device as described in B19, described detection judge module comprises:
Window class acquisition module, is suitable for the full frame value of the described Flash of setting and obtains API acquisition by calling window class name.
B21, as the device of B15-B20 as described in one of them, before the full frame judge module of institute, also comprise:
Type judging module, is suitable for judging the type of described video playback plug-in unit, according to the full screen display operation that whether has the video playback plug-in unit in pair current web page described in the type judgement of described video playback plug-in unit; Described package types comprises ppfalsh plug-in unit, npfalsh plug-in unit.
B22, device as described in B17, described window acquisition module comprises:
First window acquisition module, is suitable for receiving the message of the full screen display operation sending from ppfalsh plug-in unit when plug-in unit monitor service, and described message is transmitted to browser host process, enumerates all windows of browsing by browser host process by window inventory.
B23, device as described in B22, described attribute changes module comprises:
The first attribute changes module, the attribute that is suitable for judging the described window respectively getting is after being placed on before the first browser subwindow, calls and arranges after window attribute api function changes the attribute of described window to be placed in the first browser subwindow into.
B24, device as described in B14 or B23, also comprise:
Attribute update module, the attribute that is suitable for upgrading each window on each browser window or desktop is for after being placed in the first browser subwindow.
B25, device as described in B18, described window acquisition module comprises:
Second Window acquisition module, is suitable for receiving after the message that judges the full screen display operation to described npfalsh plug-in unit when host process, obtains api function, to enumerate all windows under desktop window by calling desktop window.
B26, device as described in B25, described attribute changes module comprises:
The second attribute changes module, the attribute that is suitable for judging the described window respectively getting is after being placed on before the first browser subwindow, directly calls and arranges after window attribute api function changes the attribute of described window into first browser subwindow.

Claims (10)

1. a display packing for window, comprising:
Judge the full screen display operation to the video playback plug-in unit in current web page, in the first browser subwindow showing in a full frame top set, load described video playback plug-in unit;
Obtain the window attribute information of the each window on each browser window and/or the current operation system desktop in browser;
Judge that whether the attribute of the described window respectively getting is for before being placed on the first browser subwindow;
If so, its attribute modification is shown after being placed in the first browser subwindow.
2. the method for claim 1, is characterized in that, judging that full screen display when behaviour to the video playback plug-in unit in current web page does to comprise:
In the time that the type of described video playback plug-in unit is ppfalsh plug-in unit, by plug-in unit monitor service, monitor and receive the full frame method to set up of ppfalsh plug-in unit, to judge whether the full screen display operation of the ppfalsh plug-in unit in pair current web page.
3. method as claimed in claim 2, is characterized in that, also comprises:
After browser starts, create plug-in unit monitor service, monitor the full frame method to set up of plug-in unit of ppfalsh plug-in unit by described plug-in unit monitor service.
4. method as claimed in claim 3, is characterized in that, described in judge the full screen display operation of the video playback plug-in unit in current web page comprised:
When plug-in unit monitor service receives the message sending from ppfalsh plug-in unit, judge the full screen display operation to the ppfalsh plug-in unit in current web page.
5. the method for claim 1, is characterized in that, judges the full screen display operation of the video playback plug-in unit in current web page is comprised:
In the time that the type of described video playback plug-in unit is npfalsh plug-in unit, hooks up window attribute api function is set, and judge whether the full screen display operation of the npfalsh plug-in unit in pair current web page by monitoring described function parameter.
6. method as claimed in claim 5, it is characterized in that, when the described type when described video playback plug-in unit is npfalsh plug-in unit, hook up window attribute api function be set, and judge whether the full screen display operation of the npfalsh plug-in unit in current web page to comprise by monitoring described function parameter:
Hook up current page process to calling of window attribute api function is set in user32.dll by Detour instrument;
When detecting that the value of the window class name parameter in the parameter that window attribute api function is set is when the full frame value of Flash is set, the full screen display operation that appointment in the parameter of window attribute api function is set by analysis replaces the value of value parameter and judge whether the npfalsh plug-in unit in pair current web page.
7. method as claimed in claim 6, is characterized in that, the full frame value of the described Flash of setting is obtained API acquisition by calling window class name.
8. as the method for claim 2-7 as described in one of them, it is characterized in that, judge before the full screen display operation of the video playback plug-in unit in current web page, also comprise:
Judge the type of described video playback plug-in unit, according to the full screen display operation that whether has the video playback plug-in unit in pair current web page described in the type judgement of described video playback plug-in unit; Described package types comprises ppfalsh plug-in unit, npfalsh plug-in unit.
9. method as claimed in claim 4, is characterized in that, the window attribute information of obtaining the each window on each browser window and/or the current operation system desktop in browser comprises:
When plug-in unit monitor service receives the message of the full screen display operation sending from ppfalsh plug-in unit, described message is transmitted to browser host process, enumerate all windows of browsing by browser host process by window inventory.
10. a display device for window, comprising:
Full frame judge module, is suitable for judging the full screen display operation to the video playback plug-in unit in current web page, in the first browser subwindow showing, loads described video playback plug-in unit in a full frame top set;
Window acquisition module, is suitable for obtaining the window attribute information of the each window on each browser window and/or the current operation system desktop in browser;
Attribute changes module, whether the attribute that is suitable for judging the described window respectively getting is for before being placed on the first browser subwindow; If so, its attribute modification is shown after being placed in the first browser subwindow.
CN201410023601.4A 2014-01-17 2014-01-17 The display methods and device of a kind of window Active CN103793224B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410023601.4A CN103793224B (en) 2014-01-17 2014-01-17 The display methods and device of a kind of window

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410023601.4A CN103793224B (en) 2014-01-17 2014-01-17 The display methods and device of a kind of window

Publications (2)

Publication Number Publication Date
CN103793224A true CN103793224A (en) 2014-05-14
CN103793224B CN103793224B (en) 2017-07-28

Family

ID=50668941

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410023601.4A Active CN103793224B (en) 2014-01-17 2014-01-17 The display methods and device of a kind of window

Country Status (1)

Country Link
CN (1) CN103793224B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105025316A (en) * 2015-07-28 2015-11-04 Tcl集团股份有限公司 Method and system for judging whether or not video is under full screen play
CN106406998A (en) * 2016-09-28 2017-02-15 北京奇虎科技有限公司 Method and device for processing user interface
CN107132962A (en) * 2017-05-02 2017-09-05 青岛海信移动通信技术股份有限公司 Navigation bar control method and device
CN108156521A (en) * 2017-12-29 2018-06-12 北京奇虎科技有限公司 The method and apparatus of video playing on a kind of browser
CN109547838A (en) * 2018-12-06 2019-03-29 青岛海信传媒网络技术有限公司 The processing method and processing device of video window
CN109558189A (en) * 2018-10-25 2019-04-02 深圳点猫科技有限公司 A kind of program window top set display methods and education notebook
CN109640153A (en) * 2018-12-12 2019-04-16 安徽科大国创软件科技有限公司 A kind of method and device thereof that the browser multiwindow based on VLC plays
WO2019071680A1 (en) * 2017-10-09 2019-04-18 武汉斗鱼网络科技有限公司 Plug-in loading method and apparatus
CN110300320A (en) * 2018-03-22 2019-10-01 杭州海康威视数字技术股份有限公司 A kind of video broadcasting method, device, electronic equipment and storage medium
US20210081225A1 (en) * 2017-12-29 2021-03-18 Zhejiang Uniview Technologies Co., Ltd. Window management method
CN114968438A (en) * 2021-02-23 2022-08-30 武汉斗鱼网络科技有限公司 Full screen display method based on flash player and related device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101334725A (en) * 2007-06-29 2008-12-31 联想(北京)有限公司 Method and device for enhancing windows display performance
CN101673194A (en) * 2008-09-09 2010-03-17 联想(北京)有限公司 Computer and method for processing user notification message by using same
CN101969463A (en) * 2010-10-11 2011-02-09 苏州阔地网络科技有限公司 Method for realizing whiteboard full-screen synchronization on web page
US20110296479A1 (en) * 2010-05-26 2011-12-01 Shinichiro Nakano Video Processor and Video Processing Method
CN103248757A (en) * 2013-03-28 2013-08-14 北京小米科技有限责任公司 Method and device for message notification
US8543919B1 (en) * 2004-03-04 2013-09-24 Google Inc. In-page full screen internet video method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8543919B1 (en) * 2004-03-04 2013-09-24 Google Inc. In-page full screen internet video method
CN101334725A (en) * 2007-06-29 2008-12-31 联想(北京)有限公司 Method and device for enhancing windows display performance
CN101673194A (en) * 2008-09-09 2010-03-17 联想(北京)有限公司 Computer and method for processing user notification message by using same
US20110296479A1 (en) * 2010-05-26 2011-12-01 Shinichiro Nakano Video Processor and Video Processing Method
CN101969463A (en) * 2010-10-11 2011-02-09 苏州阔地网络科技有限公司 Method for realizing whiteboard full-screen synchronization on web page
CN103248757A (en) * 2013-03-28 2013-08-14 北京小米科技有限责任公司 Method and device for message notification

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105025316A (en) * 2015-07-28 2015-11-04 Tcl集团股份有限公司 Method and system for judging whether or not video is under full screen play
CN106406998A (en) * 2016-09-28 2017-02-15 北京奇虎科技有限公司 Method and device for processing user interface
CN107132962A (en) * 2017-05-02 2017-09-05 青岛海信移动通信技术股份有限公司 Navigation bar control method and device
WO2019071680A1 (en) * 2017-10-09 2019-04-18 武汉斗鱼网络科技有限公司 Plug-in loading method and apparatus
US20210081225A1 (en) * 2017-12-29 2021-03-18 Zhejiang Uniview Technologies Co., Ltd. Window management method
CN108156521A (en) * 2017-12-29 2018-06-12 北京奇虎科技有限公司 The method and apparatus of video playing on a kind of browser
CN110300320A (en) * 2018-03-22 2019-10-01 杭州海康威视数字技术股份有限公司 A kind of video broadcasting method, device, electronic equipment and storage medium
US11204688B2 (en) 2018-03-22 2021-12-21 Hangzhou Hikvision Digital Technology Co., Ltd. Video playing method and device, electronic equipment and storage medium
CN109558189A (en) * 2018-10-25 2019-04-02 深圳点猫科技有限公司 A kind of program window top set display methods and education notebook
CN109547838A (en) * 2018-12-06 2019-03-29 青岛海信传媒网络技术有限公司 The processing method and processing device of video window
CN109640153A (en) * 2018-12-12 2019-04-16 安徽科大国创软件科技有限公司 A kind of method and device thereof that the browser multiwindow based on VLC plays
CN109640153B (en) * 2018-12-12 2021-07-20 安徽科大国创软件科技有限公司 Method and device for browser multi-window playing based on VLC
CN114968438A (en) * 2021-02-23 2022-08-30 武汉斗鱼网络科技有限公司 Full screen display method based on flash player and related device

Also Published As

Publication number Publication date
CN103793224B (en) 2017-07-28

Similar Documents

Publication Publication Date Title
CN103793224A (en) Window display method and device
US20170329862A1 (en) Infinite Scrolling
CA2736490C (en) Method and apparatus for remotely displaying screen files and efficiently handling remote operator input
CN108880921B (en) Webpage monitoring method and device, storage medium and server
US9519661B2 (en) Method and system for updating a background picture of a web search results page for different search queries
US20100161713A1 (en) Method and system for personalizing a desktop widget
US20140136944A1 (en) Real time web development testing and reporting system
CN107122301A (en) Interface detection method and device
CN104077387A (en) Webpage content display method and browser device
CN104021016B (en) Method and browser for loading browser plug-in icons
CN103559222A (en) Method and device for displaying page loading time in browsers
CN109582317B (en) Method and apparatus for debugging hosted applications
CN102999613A (en) Method and device for loading tool window in browser
CN104462283A (en) Method, device and client for requesting webpage elements in mobile terminal
CN104572923A (en) Method and device for advertisement blocking in dual-core browser
CN102902789A (en) Display control equipment and method for changing contents displayed in browser window
CN103544271B (en) Load Image in a kind of browser the method and apparatus for processing window
CN102880391A (en) Display control equipment and method for changing displayed content in browser window
CN103034686A (en) Method and device for loading picture toolbar window
CN110781425A (en) Display method, device and equipment of mobile terminal H5 page and storage medium
CN102981877A (en) Method and device for loading picture toolbar
CN104572914A (en) Method and device for intercepting advertisements of double-core browser
CN111782106A (en) Method, device, electronic equipment and readable medium for displaying page menu bar
US9104573B1 (en) Providing relevant diagnostic information using ontology rules
CN110489326B (en) IDS-based HTTPAPI debugging method device, medium and equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220725

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