CN103077194B - The creation method of browser moving object, device and browser - Google Patents

The creation method of browser moving object, device and browser Download PDF

Info

Publication number
CN103077194B
CN103077194B CN201210572420.8A CN201210572420A CN103077194B CN 103077194 B CN103077194 B CN 103077194B CN 201210572420 A CN201210572420 A CN 201210572420A CN 103077194 B CN103077194 B CN 103077194B
Authority
CN
China
Prior art keywords
moving object
unit
flash
browser
module
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
CN201210572420.8A
Other languages
Chinese (zh)
Other versions
CN103077194A (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 CN201210572420.8A priority Critical patent/CN103077194B/en
Publication of CN103077194A publication Critical patent/CN103077194A/en
Priority to PCT/CN2013/083729 priority patent/WO2014101486A1/en
Priority to US14/655,138 priority patent/US20150347164A1/en
Application granted granted Critical
Publication of CN103077194B publication Critical patent/CN103077194B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses creation method, device and the browser of a kind of browser moving object.The creation method of the browser moving object wherein providing according to an aspect of the present invention includes: before browser creates moving object, stops and creates described moving object;Perform the request of the function that described moving object realizes according to Client-initiated, continue to create described moving object, then perform the function that described moving object realizes.The method is compared with prior art, it is to avoid the waste causing user resources play by unnecessary plug-in unit, saves electric power, bandwidth and system resource.Meanwhile, when user there is a need to the function again requiring to perform moving object realization, it is not necessary to refresh page, it is achieved that the i.e. point of the function that moving object realizes i.e. performs.

Description

The creation method of browser moving object, device and browser
Technical field
The present invention relates to technical field of the computer network, be specifically related to the establishment of a kind of browser moving object Method, device and browser.
Background technology
Also referred to as OLE(Object Linking and Embedding before ActiveX plug-in unit, object links With embedded) control or OCX(OLE Control eXtension, object type expands) control, it is Some component softwares or object, can embed it in WEB webpage or other application programs.When clear Look at when device loads ActiveX plug-in unit, it is possible to this ActiveX plug-in unit is called moving object.If ActiveX Plug-in unit is embedded in webpage, when user opens webpage, can automatically trigger the loading of ActiveX plug-in unit And broadcasting.At present, a lot of webpages being all embedded with various audio frequency and video plug-in unit, such as Flash plug-in unit, in it Hold and be probably some advertisements or content that user is not relevant for.Will be when first as long as user opens webpage Between automatically load and play these Flash content.For a user, this unnecessary plug-in unit is play and is caused The waste of user resources, such as waste electric power, bandwidth and system resource, but also extend the page and beat ETAD expected time of arrival and departure.
Prior art provides a kind of method intercepting Flash establishment, uses the swf carrying, and replaces and needs The Flash creating realizes, swf is the animation literary composition of the local a kind of support vector of Flash and dot pattern Part form.But owing to may need during the establishment at the page to interact with Flash, if will Flash replaces with swf, then cannot create Flash because completing mutual.When user needs to replay During Flash, it is necessary to refresh page, re-create Flash and just can play out.
Content of the invention
In view of the above problems, it is proposed that the present invention is to provide one to overcome the problems referred to above or at least partly Ground solves the creation method of the browser moving object of the problems referred to above and the wound of corresponding browser moving object Build device and browser.
According to an aspect of the invention, it is provided the creation method of a kind of browser moving object, comprising: Before browser creates moving object, stop and create described moving object;Perform according to Client-initiated The request of the function that described moving object realizes, continues to create described moving object, then performs described work The function of dynamic object implementatio8.
According to an aspect of the invention, it is provided the establishment device of a kind of browser moving object, comprising: Stop module, be suitable to, before browser creates moving object, stop and create described moving object;First Creation module, is suitable to perform according to Client-initiated the request of the function that described moving object realizes, continues Create described moving object;Perform module, be suitable to create described moving object in described first creation module Afterwards, the function that described moving object realizes is performed.
According to an aspect of the present invention, a kind of establishment device including above-mentioned browser moving object is provided Browser.
The scheme providing according to an aspect of the present invention, in the page process creation moving object of browser Before, acquiescence stops this moving object of establishment;User initiate perform moving object realize function please After asking, continue to create moving object, and after moving object establishment completes, perform what moving object realized Function.Compared with prior art, it is to avoid unnecessary plug-in unit plays the waste causing user resources, joint Power saving power, bandwidth and system resource.Meanwhile, there is a need to again require to perform moving object user real During existing function, it is not necessary to refresh page, it is achieved that i.e. the point of the function that moving object realizes i.e. performs.
The scheme providing according to another aspect of the present invention, after browser creates moving object, logical Cross the timed message intercepting in thread message loop or the attribute of moving object is modified, stoping and perform The function that moving object realizes;After user initiates the request of the function that execution moving object realizes, pass through Cancel the timed message intercepting in thread message loop or the attribute of moving object is changed again, continuing Perform the function that moving object realizes.Compared with prior art, it is to avoid unnecessary plug-in unit is play and caused The waste of user resources, saves electric power, bandwidth and system resource.Meanwhile, there is a need to again user When requiring the function performing moving object realization, it is not necessary to refresh page, it is achieved that the work(that moving object realizes The i.e. point of energy i.e. performs.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the skill of the present invention Art means, and can being practiced according to the content of specification, and in order to allow, the present invention's is above and other Objects, features and advantages can become apparent, below the detailed description of the invention especially exemplified by the present invention.
Brief description
By reading the detailed description of hereafter preferred embodiment, various other advantage and benefit for this Field those of ordinary skill will be clear from understanding.Accompanying drawing is only used for illustrating the purpose of preferred embodiment, And it is not considered as limitation of the present invention.And in whole accompanying drawing, be denoted by the same reference numerals Identical parts.In the accompanying drawings:
Fig. 1 shows the stream of the creation method of the browser moving object according to first embodiment of the invention Cheng Tu;
Fig. 2 shows the stream of the creation method of the browser moving object according to second embodiment of the invention Cheng Tu;
Fig. 3 shows the stream of the creation method of the browser moving object according to third embodiment of the invention Cheng Tu;
Fig. 4 shows the stream of the creation method of the browser moving object according to four embodiment of the invention Cheng Tu;
Fig. 5 shows the knot of the establishment device of the browser moving object according to fifth embodiment of the invention Structure block diagram;
Fig. 6 shows the knot of the establishment device of the browser moving object according to sixth embodiment of the invention Structure block diagram;
Fig. 7 shows the knot of the establishment device of the browser moving object according to seventh embodiment of the invention Structure block diagram;
Fig. 8 shows the knot of the establishment device of the browser moving object according to eighth embodiment of the invention Structure block diagram.
Detailed description of the invention
It is more fully described the exemplary embodiment of the disclosure below with reference to accompanying drawings.Although accompanying drawing shows The exemplary embodiment of the disclosure, it being understood, however, that may be realized in various forms the disclosure and not Should be limited by embodiments set forth here.On the contrary, these embodiments are provided to be able to more thoroughly Understand the disclosure, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
In following embodiment, illustrate as a example by creating Flash plug-in unit, but the present invention not only limits Then Flash plug-in unit, can also is that other ActiveX plug-in units, and as audio-visual in Baidu, QVOD(broadcasts soon) Deng plug-in unit.
Fig. 1 shows the creation method 100 of the browser moving object according to first embodiment of the invention Flow chart.As it is shown in figure 1, method 100 starts from step S101, the wherein page process at browser Before creating Flash plug-in unit, stop and create this Flash plug-in unit.Specifically, the page has Flash In the case of plug-in unit, the page process of browser obtains Flash by CLSIDFromProgID method and inserts Class mark (CLSID) of part or character string identification symbol (ProgID) of assembly, according to existing procedure, Page process is according to CLSID or the ProgID inquiry registration table of Flash plug-in unit subsequently, in order to the system of checking Whether this plug-in unit is installed, if checking and installing this plug-in unit, has created this Flash plug-in unit further.But it is our Method, from unlike existing procedure, is obtaining after CLSID or ProgID, it is judged that whether it is that Flash inserts CLSID or ProgID of part, if then stopping performing the action of inquiry registration table, so this Flash inserts Part would not be created.It should be noted that the action stopping performing inquiry registration table is to stop to create Flash A kind of optional embodiment of plug-in unit, this method also can confirm to have installed Flash plug-in unit at inquiry registration table Afterwards, prevention creates this Flash plug-in unit further.By this step, although the page has Flash plug-in unit, But owing to stoping this Flash plug-in unit of establishment after page open, the page can't be play corresponding Flash Content.
Subsequently, method 100 enters step S102, wherein performs Flash plug-in unit work(according to Client-initiated The request of energy, continues to create Flash plug-in unit, performs the function of Flash plug-in unit, i.e. broadcast after establishment completes Put corresponding Flash content.After page open, if user wants to watch Flash content, Ke Yidian Hitting broadcasting Flash, page process receives user and clicks on the request playing Flash, is no longer prevented from Flash plug-in unit Establishment, continue create Flash plug-in unit.As a example by stopping the action performing to inquire about registration table before, the page Process continues executing with the operation of inquiry registration table according to CLSID or ProgID of Flash plug-in unit, in order to look into See whether system has installed this plug-in unit, if checking and installing this plug-in unit, create this Flash plug-in unit further. After the establishment of Flash plug-in unit completes, corresponding Flash content will be play according to the attribute of acquiescence, thus The i.e. point achieving the corresponding Flash content of Flash plug-in unit is i.e. broadcast.
According to the creation method of the browser moving object that the present embodiment provides, in the page process of browser Before creating Flash plug-in unit, acquiescence stops this Flash plug-in unit of establishment;Initiate to play Flash's user After request, continue to create Flash plug-in unit, and after the establishment of Flash plug-in unit completes, play corresponding Flash Content, the i.e. point thus achieving the corresponding Flash content of Flash plug-in unit is i.e. broadcast.Compared with prior art, Avoid unnecessary plug-in unit and play the waste causing user resources, save electric power, bandwidth and system money Source.Meanwhile, when user there is a need to again require to play Flash content, it is not necessary to refresh page, it is achieved that The i.e. point of Flash content is i.e. broadcast.And, the method that the present embodiment provides is when loading the page, and acquiescence stops Create Flash plug-in unit, limited resource is used for loading the page, improves the loading velocity of the page.
Fig. 2 shows the creation method 200 of the browser moving object according to second embodiment of the invention Flow chart.From unlike above-mentioned first embodiment, initiate to perform what moving object realized user After the request of function, by establishment agent object in page process, and in independent process, continue wound Build moving object so that real Flash plug-in unit separates with page process.As in figure 2 it is shown, method 200 Start from step S201, before the page process creation Flash plug-in unit of browser, stop and create this Flash Plug-in unit.In the case of having Flash plug-in unit in the page, the page process of browser is passed through CLSIDFromProgID method obtains CLSID or ProgID of Flash plug-in unit, is obtaining CLSID Or after ProgID, it is judged that whether it is CLSID or ProgID of Flash plug-in unit, if then stopping performing The action of inquiry registration table, so this Flash plug-in unit would not be created.Stop performing inquiry registration table Action is a kind of optional embodiment stoping and creating Flash plug-in unit, and this method also can be at inquiry registration table After confirming Flash plug-in unit has been installed, stop and create this Flash plug-in unit further.By this step, though The right page has Flash plug-in unit, but owing to stoping this Flash plug-in unit of establishment after page open, in the page Corresponding Flash content can't be play.
Subsequently, method 200 enters step S202, wherein performs Flash plug-in unit work(according to Client-initiated The request of energy, intercepts and captures the operation of the page process creation Flash plug-in unit moving object of browser, at browser Page process creation Flash plug-in unit agent object replace be actually subjected to create Flash plug-in unit moving object, This Flash plug-in unit agent object runs in page process.Specifically, after page open, if used Family is wanted to watch Flash content, can click on broadcasting Flash, and page process receives user and clicks on broadcasting Flash Request, be no longer prevented from the establishment of Flash plug-in unit, continue to create Flash plug-in unit.To stop before performing As a example by the action of inquiry registration table, page process continues to hold according to CLSID or ProgID of Flash plug-in unit Whether the operation of row inquiry registration table, installed this plug-in unit in order to the system of checking, if checking, installing this inserts Part then creates this Flash plug-in unit further.Here, prepare to create further Flash plug-in unit in page process When, intercepting CoGetClassObject, create Flash plug-in unit agent object, agency is right for this Flash plug-in unit As including a series of interface, including what IUnknown pointer (herein also referred to as interface pointer) will call A lot of standard interfaces, such as IOleObject, IViewObject etc..Then IClassFactory is being called CreateInstance when, the Flash plug-in unit agent object being created is returned to page process IUnknown pointer.
Subsequently, method 200 enters step S203, wherein creates the independent process independent of page process, In this independent process, creating Flash plug-in unit moving object, Flash plug-in unit moving object here is only Real Flash plug-in unit.Specifically, when page procedure activation Flash plug-in unit agent object, extract The relevant informations such as the attribute of this Flash plug-in unit, URL, size, then create an independent process.Specifically For, creating a file (document), insert an object (object) wherein, this is independent Process calls CoGetClassObject, intercepts this CoGetClassObject, creates a Flash plug-in unit Moving object.This Flash plug-in unit moving object includes a series of interface, including IUnknown pointer will The a lot of standard interfaces that can call, such as IOleObject, IViewObject etc..Then calling During the CreateInstance of IClassFactory, the Flash plug-in unit moving object being created is returned to solely The IUnknown pointer of vertical process.Then, right at Flash plug-in unit agent object and Flash plug-in unit activity It is respectively created the window associating with plug-in object in as, be used for making Flash plug-in unit agent object and Flash insert Part moving object communicates.By the two window, two objects can be for the size of Flash, Jiao Point, refreshing, script and out of Memory interact.
Subsequently, method 200 enters step S204, is led to independent process by Flash plug-in unit agent object Letter calls Flash plug-in unit moving object, and/or, Flash plug-in unit agent object and independent process communication are by Flash Plug-in unit active object calls, performs the function that Flash plug-in unit moving object realizes.In the activity of Flash plug-in unit After Object Creation completes, click on the request playing Flash according to user, by Flash plug-in unit agent object Call Flash plug-in unit moving object with independent process communication, make Flash plug-in unit moving object play corresponding Flash content, the i.e. point thus achieving the corresponding Flash content of Flash plug-in unit is i.e. broadcast.
According to the creation method of the browser moving object that the present embodiment provides, in the page process of browser Before creating Flash plug-in unit, acquiescence stops this Flash plug-in unit of establishment;Initiate to play Flash's user After request, independent process creates real Flash plug-in unit, and has created at real Flash plug-in unit Cheng Hou, plays corresponding Flash content by calling real Flash plug-in unit, thus achieves Flash The i.e. point of the corresponding Flash content of plug-in unit is i.e. broadcast.Compared with prior art, it is to avoid unnecessary plug-in unit is broadcast Put the waste causing user resources, save electric power, bandwidth and system resource.Meanwhile, having user need to When again requiring to play Flash content, it is not necessary to refresh page, it is achieved that the i.e. point of Flash content is i.e. broadcast. And, the method that the present embodiment provides is when loading the page, and acquiescence stops and creates Flash plug-in unit, by limited Resource be used for loading the page, improve the loading velocity of the page.Further, in the method, lead to Cross operation agent object in page process, and in independent process, run moving object so that be real Flash plug-in unit separates with page process, so that not interfering with the page process when Flash plug-in unit goes wrong, Improve the stability of browser, when especially the safety issues such as virus occurring when Flash plug-in unit, also not Impact can be produced on page process, improve the security of browser;Meanwhile, page process goes wrong Do not interfere with the properly functioning of Flash plug-in unit, improve the stability of plug-in unit.
Fig. 3 shows the creation method 300 of the browser moving object according to third embodiment of the invention Flow chart.As it is shown on figure 3, method 300 starts from step S301, the wherein page process at browser After creating Flash plug-in unit, by the timed message in interception thread message loop or by Flash is inserted The attribute of part is modified, and stops and performs the function that Flash plug-in unit realizes, i.e. stops Flash plug-in unit to be play Corresponding Flash content.In the case of having Flash plug-in unit in the page, the page process of browser is passed through CLSIDFromProgID method obtains CLSID or ProgID of Flash plug-in unit, page process subsequently Whether CLSID or the ProgID inquiry registration table according to Flash plug-in unit, installed this in order to the system of checking Plug-in unit, if checking and installing this plug-in unit, creates this Flash plug-in unit further.Page process is by calling CoGetClassObject obtains the IUnknown pointer of Flash plug-in unit, adjusts according to IUnknown pointer Carry out associative operation with standard interface, thus complete the establishment of Flash plug-in unit.Wherein CoGetClassObject Execution process is: go to registry query ActiveX path by CLSID, it is thus achieved that behind ActiveX path, Call LoadLibrary and load Flash plug-in unit, call derivation function DllGetClassObject and obtain class factory Pointer (IClassFactory), the CreatInstance method then calling IClassFactory obtains Flash Plug-in unit corresponding IUnknown pointer.In the case of obtaining IUnknown pointer, related by calling Interface can obtain the default property of Flash plug-in unit, and modifies it.Under normal circumstances, Flash The default property of Flash plug-in unit, for playing, now is revised as suspending or stopping by the default property of plug-in unit by broadcasting Only, the purpose stoping Flash plug-in unit to play Flash content has just been reached.Specifically, according to Flash The IUnknown pointer of plug-in unit, can find the function of record Flash plug-in unit attribute, call this function The attribute of Flash plug-in unit can be modified.Modify the attribute of Flash plug-in unit is to stop Flash A kind of optional implementation of Flash content play by plug-in unit, and this implementation is applicable to playing animation Flash plug-in unit.Method also provides for the another kind of implementation stoping Flash plug-in unit to play Flash content, I.e. intercepting the timed message in thread message loop, the scope of application of this implementation is wider, plays dynamic Draw and the Flash plug-in unit of video is all suitable for.Specifically, Thread Messages circulation in timed message (as 0x401 message) it is the driving message of Flash plug-in unit, Flash plug-in unit only has timing receipt to arrive this timed message, Just can perform its corresponding function, this method, by intercepting this timed message, makes Flash plug-in unit not receive This message, then Flash plug-in unit would not play corresponding Flash content.
Alternatively, after step S301, method 300 enters step S302, wherein intercepts Flash and inserts The drafting function of part, calls self-defining drafting function and draws defined interface, in the specific bit of browser Put this defined interface of display.After stoping play Flash content through step S301, at browser Originally the position of specifying of this display Flash content arises that the interface stopping playing, and this method can will be somebody's turn to do The interface stopping playing replaces with defined interface, for example empty screen, self-defined picture or self-defined Flash etc.. The concrete method using is exactly to intercept the drafting function of Flash plug-in unit, and this drafting function is used for drawing stopping and broadcasting The interface put, calls self-defining drafting function and draws defined interface and show.
Subsequently, method 300 enters step S303, wherein performs Flash plug-in unit according to Client-initiated real The request of existing function, intercepts the timed message in thread loops or by Flash plug-in unit by cancellation Attribute change again, continue executing with Flash plug-in unit realize function, i.e. continue play Flash content. If stoping Flash plug-in unit to be play by modifying the attribute of Flash plug-in unit in step S301 Flash content, the attribute of Flash plug-in unit then changed by this step again, will the attribute of Flash plug-in unit By suspending or stopping being revised as playing, such Flash plug-in unit just can continue to play corresponding Flash content. If stoping Flash plug-in unit to play Flash content, this step by intercepting timed message in step S301 Then cancel and intercept this timed message, make Flash plug-in unit continue to play corresponding Flash content.
According to the creation method of the browser moving object that the present embodiment provides, in the page process of browser After creating Flash plug-in unit, by the timed message in interception thread message loop or to Flash plug-in unit Attribute is modified, and stops Flash plug-in unit to play Flash content;Initiate to play asking of Flash user After asking, by cancelling the timed message intercepting in thread message loop or the attribute of Flash plug-in unit being carried out again Modification, makes Flash plug-in unit continue to play Flash content, thus achieves the corresponding Flash of Flash plug-in unit The i.e. point of content is i.e. broadcast.Compared with prior art, it is to avoid unnecessary plug-in unit is play and caused user resources Waste, save electric power, bandwidth and system resource.Meanwhile, there is a need to again require to play user During Flash content, it is not necessary to refresh page, it is achieved that i.e. the point of Flash content is i.e. broadcast.And, this method When stoping Flash plug-in unit to play Flash content, create Flash plug-in unit, initiated again user After playing the request of Flash, it is not necessary to create Flash plug-in unit again, broadcasting can be directly initiated, during response Between shorter.
Fig. 4 shows the creation method 400 of the browser moving object according to four embodiment of the invention Flow chart.From unlike above-mentioned 3rd embodiment, the present embodiment is to create generation in page process Reason object, and in independent process, continue to create moving object so that real Flash plug-in unit enters with the page Journey separates.As shown in Figure 4, method 400 starts from step S401, intercepts and captures the page process creation of browser The operation of Flash plug-in unit moving object, the page process creation Flash plug-in unit agent object at browser replaces Changing the Flash plug-in unit moving object being actually subjected to create, this Flash plug-in unit agent object is transported in page process OK.Specifically, in the case of the page having Flash plug-in unit, prepare to create Flash in page process During plug-in unit, intercept CoGetClassObject, create Flash plug-in unit agent object, this Flash plug-in unit generation Reason object includes a series of interface, including a lot of standard interfaces that IUnknown pointer will call, for example IOleObject, IViewObject etc..Then when calling the CreateInstance of IClassFactory, The Flash plug-in unit agent object being created is returned to the IUnknown pointer of page process.
Subsequently, method 400 enters step S402, wherein creates the independent process independent of page process, In this independent process, creating Flash plug-in unit moving object, Flash plug-in unit moving object here is only Real Flash plug-in unit.Specifically, when page procedure activation Flash plug-in unit agent object, extract The relevant informations such as the attribute of this Flash plug-in unit, URL, size, then create an independent process.Specifically For, creating a file (document), insert an object (object) wherein, this is independent Process calls CoGetClassObject, intercepts this CoGetClassObject, creates a Flash plug-in unit Moving object.This Flash plug-in unit moving object includes a series of interface, including IUnknown pointer will The a lot of standard interfaces that can call, such as IOleObject, IViewObject etc..Then calling During the CreateInstance of IClassFactory, the Flash plug-in unit moving object being created is returned to solely The IUnknown pointer of vertical process.Then, right at Flash plug-in unit agent object and Flash plug-in unit activity It is respectively created the window associating with plug-in object in as, be used for making Flash plug-in unit agent object and Flash insert Part moving object communicates.By the two window, two objects can be for the size of Flash, Jiao Point, refreshing, script and out of Memory interact.
Subsequently, method 400 enters step S403, is wherein disappeared by intercepting the timing in thread message loop Cease or by modifying the attribute of Flash plug-in unit moving object, stop execution Flash plug-in unit activity right As the function realizing, Flash plug-in unit is i.e. stoped to play corresponding Flash content.The related content of this step Similar with embodiment three, difference is that this step performs in independent process, and embodiment three Corresponding steps perform in page process.
Alternatively, after step S403, method 400 enters step S404, wherein calls self-defined Drafting function draw defined interface, at this defined interface of appointment position display of browser.At warp After crossing step S403 prevention broadcasting Flash content, at the finger of this display Flash content of script of browser Positioning is put and is arisen that the interface stopping playing, and the interface that this stopping is play can be replaced with certainly by this method Definition interfaces, such as sky screen, self-defined picture or self-defined Flash etc..Specifically can use following two side Method:
1) in independent process, intercept the drafting function of Flash plug-in unit moving object, call self-defining painting Function processed draws defined interface, calls Flash by Flash plug-in unit agent object and independent process communication Plug-in unit moving object, at the appointment position display defined interface of browser.Specifically, independently entering Intercepting the drafting function of Flash plug-in unit moving object in journey, this drafting function is for drawing the boundary stopping playing Face, calls self-defining drafting function and draws defined interface, by Flash plug-in unit agent object and independence Flash plug-in unit moving object is called in process communication, is sent to this defined interface by the window creating Flash plug-in unit agent object, is specifying this defined interface of position display.
2) in page process, intercept Flash plug-in unit agent object and call Flash plug-in unit with independent process communication The action of moving object, calls self-defining drafting function and draws defined interface, in the appointment of browser Position display defined interface.Specifically, by calling Flash plug-in unit moving object in independent process Function of drawing draw the interface stopping playing, adjusted by Flash plug-in unit agent object and independent process communication By Flash plug-in unit moving object, the interface can play this stopping is sent to Flash by the window creating Plug-in unit agent object, now intercepts this action in page process, calls self-defining drafting function and draws Defined interface, is specifying this defined interface of position display.
Subsequently, method 400 enters step S405, wherein performs Flash plug-in unit according to Client-initiated real The request of existing function, intercepts the timed message in thread loops or by Flash plug-in unit by cancellation Attribute change again, continue executing with Flash plug-in unit realize function, i.e. continue play Flash content. The function wherein continuing executing with the realization of Flash plug-in unit is to be led to independent process by Flash plug-in unit agent object Letter calls Flash plug-in unit moving object, and/or, Flash plug-in unit agent object and independent process communication are by Flash Plug-in unit active object calls and realize.And cancel the timed message intercepting in thread loops or by right The attribute of Flash plug-in unit is changed and is carried out in independent process.
According to the creation method of the browser moving object that the present embodiment provides, in the page process of browser Create Flash plug-in unit agent object, independent process creates real Flash plug-in unit, and real Flash plug-in unit creates after completing, by the timed message in interception thread message loop or to Flash plug-in unit Attribute modify, stop Flash plug-in unit play Flash content;Initiate to play Flash's user After request, by cancelling the timed message intercepting in thread message loop or the attribute of Flash plug-in unit being carried out Change again, make Flash plug-in unit continue to play Flash content, thus achieve the corresponding Flash of Flash plug-in unit The i.e. point of content is i.e. broadcast.Compared with prior art, it is to avoid unnecessary plug-in unit is play and caused user resources Waste, save electric power, bandwidth and system resource.Meanwhile, there is a need to again require to play user During Flash content, it is not necessary to refresh page, it is achieved that i.e. the point of Flash content is i.e. broadcast.And, this method When stoping Flash plug-in unit to play Flash content, create Flash plug-in unit, initiated again user After playing the request of Flash, it is not necessary to create Flash plug-in unit again, broadcasting can be directly initiated, during response Between shorter.Further, in the method, by operation agent object in page process, and solely Vertical process runs moving object so that real Flash plug-in unit separates with page process, so that Flash Do not interfere with the page process when plug-in unit goes wrong, improve the stability of browser, especially work as Flash When the safety issues such as virus occurs in plug-in unit, also impact will not be produced on page process, improve browser Security;Meanwhile, page process goes wrong and does not interferes with the properly functioning of Flash plug-in unit, improves The stability of plug-in unit.
Fig. 5 shows the knot of the establishment device of the browser moving object according to fifth embodiment of the invention Structure block diagram.As it is shown in figure 5, this device includes stoping module the 510th, the first creation module 520 and performs mould Block 530.Further, module the 510th, the first creation module 520 and execution module 530 is stoped to be all pages The submodule of face scheduler module 500.
Wherein, module 510 is stoped to be suitable to, before browser creates moving object, hinder in page process Only create moving object.First creation module 520 performs, according to Client-initiated, the work(that moving object realizes The request of energy, continues to create moving object in page process.Perform module 530 to be suitable to create first After module 520 creates moving object, perform the function that moving object realizes.
As a example by Flash plug-in unit, before page creation Flash plug-in unit, page process is passed through CLSIDFromProgID method obtains CLSID or ProgID of Flash plug-in unit, it is judged that whether it is CLSID or ProgID of Flash plug-in unit, if stoping module 510 to stop the first creation module 520 Action so that it is stop performing inquiry registration table, thus stop establishment Flash plug-in unit.Receive in page process After user clicks on the request playing Flash, stop module 510 to release and stop, the first creation module 520 Continue executing with the operation of inquiry registration table according to CLSID or ProgID of Flash plug-in unit, in order to the system of checking Whether this plug-in unit is installed, if checking and installing this plug-in unit, has created this Flash plug-in unit further.At Flash Plug-in unit creates after completing, and performs module 530 and will play corresponding Flash content according to the attribute of acquiescence, The i.e. point thus achieving the corresponding Flash content of Flash plug-in unit is i.e. broadcast.
According to the establishment device of the browser moving object that the present embodiment provides, in the page process of browser Before creating Flash plug-in unit, stop module acquiescence to stop and create this Flash plug-in unit;Initiate to play user After the request of Flash, the first creation module continues to create Flash plug-in unit, and completes in the establishment of Flash plug-in unit After, perform module and play corresponding Flash content, thus achieve in the corresponding Flash of Flash plug-in unit The i.e. point holding i.e. is broadcast.Compared with prior art, it is to avoid unnecessary plug-in unit is play and caused user resources Waste, saves electric power, bandwidth and system resource.Meanwhile, there is a need to again require to play Flash user During content, it is not necessary to refresh page, it is achieved that i.e. the point of Flash content is i.e. broadcast.And, the present embodiment provides Device load the page when, acquiescence stop create Flash plug-in unit, limited resource is used for loading the page, Improve the loading velocity of the page.
Fig. 6 shows the knot of the establishment device of the browser moving object according to sixth embodiment of the invention Structure block diagram.As shown in Figure 6, this device includes page scheduler module 610 and independent process module 620, with And the communication window 630 creating in page scheduler module 610 and independent process module 620 respectively.Wherein Page scheduler module 610 includes submodule: stop module 611 and the second creation module 612;Independent process Module 620 includes submodule: the first creation module 621 and perform module 622.
Stop module 611 to be suitable to before browser creates moving object, in page process, stop creating Moving object.Second creation module 612 is suitable to perform, according to Client-initiated, the function that moving object realizes Request, intercept and capture the operation of page process loading activity object of browser, in the page process of browser Creating agent object and replacing the moving object being actually subjected to create, agent object runs in page process.
First creation module 621 is suitable in the independent process independent of the page process of browser, creates Moving object.Perform module 622 to be adjusted with independent process communication via communication window 630 by agent object By moving object, and/or, agent object via communication window 630 with independent process communication by moving object Call, perform the function that moving object realizes.
As a example by Flash plug-in unit, before page creation Flash plug-in unit, page process is passed through CLSIDFromProgID method obtains CLSID or ProgID of Flash plug-in unit, it is judged that whether it is CLSID or ProgID of Flash plug-in unit, if stoping module 611 to stop the second creation module 612 Action so that it is stop performing inquiry registration table, thus stop establishment Flash plug-in unit.Receive in page process After user clicks on the request playing Flash, stop module 611 to release and stop, the second creation module 612 Continue executing with the operation of inquiry registration table according to CLSID or ProgID of Flash plug-in unit, in order to the system of checking Whether this plug-in unit is installed, if checking and installing this plug-in unit, has created this Flash plug-in unit further.Here, When page process prepares to create Flash plug-in unit further, the second creation module 612 intercepts CoGetClassObject, creates Flash plug-in unit agent object, and this Flash plug-in unit agent object includes that one is Row interface, including a lot of standard interfaces that IUnknown pointer will call, such as IOleObject, IViewObject etc..Then when calling the CreateInstance of IClassFactory, by created Flash plug-in unit agent object returns to the IUnknown pointer of page process.At page procedure activation Flash During plug-in unit agent object, extract the relevant informations such as the attribute of this Flash plug-in unit, URL, size, then Independent process module 620 is created an independent process.Call CoGetClassObject in this independent process When, the first creation module 621 intercepts this CoGetClassObject, creates a Flash plug-in unit activity right As.This Flash plug-in unit moving object includes a series of interface, including IUnknown pointer will call A lot of standard interfaces, such as IOleObject, IViewObject etc..Then IClassFactory is being called CreateInstance when, the Flash plug-in unit moving object being created is returned to independent process IUnknown pointer.After the establishment of Flash plug-in unit moving object completes, click on broadcasting Flash according to user Request, perform module 622 and call Flash by Flash plug-in unit agent object and independent process communication and insert Part moving object, makes Flash plug-in unit moving object play corresponding Flash content, thus achieves Flash The i.e. point of the corresponding Flash content of plug-in unit is i.e. broadcast.
According to the establishment device of the browser moving object that the present embodiment provides, in the page process of browser Before creating Flash plug-in unit, stop module acquiescence to stop and create this Flash plug-in unit;Initiate to play user After the request of Flash, the first creation module creates real Flash plug-in unit in independent process, and very Positive Flash plug-in unit creates after completing, and performs module and plays corresponding by calling real Flash plug-in unit Flash content, the i.e. point thus achieving the corresponding Flash content of Flash plug-in unit is i.e. broadcast.With prior art Compare, it is to avoid the waste causing user resources play by unnecessary plug-in unit, save electric power, bandwidth and System resource.Meanwhile, when user there is a need to again require to play Flash content, it is not necessary to refresh page, The i.e. point achieving Flash content is i.e. broadcast.And, the device that the present embodiment provides is when loading the page, silent Recognize prevention and create Flash plug-in unit, limited resource is used for loading the page, improves the loading velocity of the page. Further, in this device, by operation agent object in page process, and in independent process Run moving object so that real Flash plug-in unit separates with page process, so that Flash plug-in unit goes out Do not interfere with the page process during existing problem, improve the stability of browser, especially when Flash plug-in unit goes out During the safety issues such as existing virus, also impact will not be produced on page process, improve the safety of browser Property;Meanwhile, page process goes wrong and does not interferes with the properly functioning of Flash plug-in unit, improves plug-in unit Stability.
Fig. 7 shows the knot of the establishment device of the browser moving object according to seventh embodiment of the invention Structure block diagram.As it is shown in fig. 7, this device includes stoping module 710 and performs module 720.Further, Stop module 710 and perform the submodule that module 720 is page scheduler module 700.
Wherein, stop module 710 to be suitable to after browser creates moving object, disappeared by intercepting thread Cease the timed message in circulation or by modifying the attribute of moving object, stop execution activity right As the function realizing.Perform module 720 to be suitable to perform, according to Client-initiated, the function that moving object realizes Request, by cancelling the timed message intercepting in thread message loop or by the genus to moving object Property change again, continue executing with moving object realize function.
As a example by Flash plug-in unit, in the case that the page has Flash plug-in unit, the page process of browser Obtained CLSID or ProgID of Flash plug-in unit, the page subsequently by CLSIDFromProgID method Whether process, according to CLSID or the ProgID inquiry registration table of Flash plug-in unit, pacifies in order to the system of checking Fill this plug-in unit, if checking and installing this plug-in unit, create this Flash plug-in unit further.Page process is by adjusting Obtain the IUnknown pointer of Flash plug-in unit with CoGetClassObject, according to IUnknown pointer Call standard interface and carry out associative operation, thus complete the establishment of Flash plug-in unit.Obtaining IUnknown In the case of pointer, stop module 710 can find record Flash plug-in unit according to IUnkown pointer The function of attribute, calls this function and can modify the attribute of Flash plug-in unit, as by Flash plug-in unit Default property be revised as suspending or stopped by broadcasting, just reached prevention Flash plug-in unit and play in Flash The purpose held.Stop module 710 also can intercept the timed message in thread message loop, such as 0x401 Message, stops Flash plug-in unit to play Flash content.Perform what Flash plug-in unit realized at Client-initiated After the request of function, performing module 720 can be by changing to the attribute of Flash plug-in unit again, as incited somebody to action The attribute of Flash plug-in unit is by suspending or stopping being revised as playing, and such Flash plug-in unit just can continue to play Corresponding Flash content.Perform module 720 and also can intercept this timed message by cancelling, make Flash Plug-in unit continues to play corresponding Flash content.
Optionally, this device can also include drafting module 730, and drafting module 730 is also page process mould The submodule of block 700.Drafting module 730 is suitable to intercept the drafting function of moving object, calls self-defined Drafting function draw defined interface, at the appointment position display defined interface of browser.By painting The interface that this stopping is play can be replaced with defined interface by molding block 730, such as sky screen, self-defining image Piece or self-defined Flash etc..
According to the establishment device of the browser moving object that the present embodiment provides, in the page process of browser After creating Flash plug-in unit, stop module by the timed message in interception thread message loop or to Flash The attribute of plug-in unit is modified, and stops Flash plug-in unit to play Flash content;Initiate to play Flash user Request after, perform module by cancelling the timed message intercepting in thread message loop or to Flash plug-in unit Attribute change again, make Flash plug-in unit continue play Flash content, thus achieve Flash insert The i.e. point of the corresponding Flash content of part is i.e. broadcast.Compared with prior art, it is to avoid unnecessary plug-in unit is play Cause the waste of user resources, save electric power, bandwidth and system resource.Meanwhile, there is a need to user When again requiring to play Flash content, it is not necessary to refresh page, it is achieved that the i.e. point of Flash content is i.e. broadcast. And, this device, when stoping Flash plug-in unit to play Flash content, has created Flash plug-in unit, After user initiates the request of broadcasting Flash again, it is not necessary to create Flash plug-in unit again, can directly initiate Playing, the response time is shorter.
Fig. 8 shows the knot of the establishment device of the browser moving object according to eighth embodiment of the invention Structure block diagram.As shown in Figure 8, this device includes page scheduler module 810 and independent process module 820, with And the communication window 830 creating in page scheduler module 810 and independent process module 820 respectively.Wherein Page scheduler module 810 includes submodule: the first creation module 811;Independent process module 820 includes son Module: the second creation module the 821st, stop module 822 and perform module 823.
First creation module 811 is suitable to intercept and capture the operation of the page process loading activity object of browser, The page process creation agent object of browser replaces the moving object being actually subjected to create, and agent object is at page Face process is run.
Second creation module 821 is suitable to create moving object in the independent process independent of page process. Module 822 is stoped to be suitable to after browser creates moving object, by intercepting in thread message loop Timed message or by modifying the attribute of moving object, stops and performs the work(that moving object realizes Energy.Perform module 823 and be suitable to perform according to Client-initiated the request of the function that moving object realizes, logical Cross and cancel the timed message intercepting in thread message loop or by repairing the attribute of moving object again Change, continue executing with the function that moving object realizes.Perform module 823 to be further adapted for passing through agent object Call moving object via communication window 830 and independent process communication, and/or, agent object is via communication Window 830 and independent process communication, by active object calls, continue executing with the function that moving object realizes.
As a example by Flash plug-in unit, in the case that the page has Flash plug-in unit, in the first creation module 811 When preparing to create Flash plug-in unit, intercept CoGetClassObject, create Flash plug-in unit agent object, This Flash plug-in unit agent object includes a series of interface, including IUnknown pointer will call a lot Standard interface, such as IOleObject, IViewObject etc..Then calling IClassFactory's During CreateInstance, the Flash plug-in unit agent object being created is returned to page process IUnknown pointer.When page procedure activation Flash plug-in unit agent object, extract this Flash and insert The relevant informations such as the attribute of part, URL, size, are then created an independence by independent process module 820 Process.Calling CoGetClassObject in independent process, the second creation module 821 intercepts should CoGetClassObject, creates a Flash plug-in unit moving object.This Flash plug-in unit moving object includes A series of interface, including a lot of standard interfaces that IUnknown pointer will call, for example IOleObject, IViewObject etc..Then when calling the CreateInstance of IClassFactory, The Flash plug-in unit moving object being created is returned to the IUnknown pointer of independent process.Stop module 822 by the timed message (such as 0x401 message) in interception thread message loop or by inserting Flash The attribute of part moving object is modified, and stops and performs the function that Flash plug-in unit moving object realizes, i.e. hinders Only corresponding Flash content play by Flash plug-in unit.Further, module 822 is stoped to be according to IUnknown Pointer finds the function of record Flash plug-in unit attribute, and calling this function can be to the attribute of Flash plug-in unit Modify.After Client-initiated performs the request of the function that Flash plug-in unit realizes, perform module 823 intercept the timed message in thread loops or by carrying out the attribute of Flash plug-in unit again by cancellation Modification, continues executing with the function that Flash plug-in unit realizes, i.e. continues to play Flash content.
Optionally, independent process module 820 can also include drafting module 824, is suitable in independent process Intercept the drafting function of moving object, call self-defining drafting function and draw defined interface.The page enters Journey module 810 includes display module 812, and it is right to be suitable to by agent object and the independent process communication activity of calling As at the appointment position display defined interface of browser.Alternative implementation as another kind, Page scheduler module includes drafting module, is suitable to intercept agent object in page process and leads to independent process Letter calls the action of moving object, calls self-defining drafting function and draws defined interface, at browser Appointment position display defined interface.
According to the establishment device of the browser moving object that the present embodiment provides, in the page process of browser Create Flash plug-in unit agent object, independent process creates real Flash plug-in unit, and real Flash plug-in unit creates after completing, and stops module by intercepting the timed message or right in thread message loop The attribute of Flash plug-in unit is modified, and stops Flash plug-in unit to play Flash content;Initiate to play user After the request of Flash, perform module and intercept the timed message in thread message loop or to Flash by cancellation The attribute of plug-in unit is changed again, makes Flash plug-in unit continue to play Flash content, thus achieves Flash The i.e. point of the corresponding Flash content of plug-in unit is i.e. broadcast.Compared with prior art, it is to avoid unnecessary plug-in unit is broadcast Put the waste causing user resources, save electric power, bandwidth and system resource.Meanwhile, having user need to When again requiring to play Flash content, it is not necessary to refresh page, it is achieved that the i.e. point of Flash content is i.e. broadcast. And, this device, when stoping Flash plug-in unit to play Flash content, has created Flash plug-in unit, After user initiates the request of broadcasting Flash again, it is not necessary to create Flash plug-in unit again, can directly initiate Playing, the response time is shorter.Further, in this device, by running agency in page process Object, and in independent process, run moving object so that real Flash plug-in unit separates with page process, So that Flash plug-in unit does not interferes with the page process when going wrong, improve the stability of browser, especially When it is the safety issues such as virus occur when Flash plug-in unit, also impact will not be produced on page process, carry The high security of browser;Meanwhile, page process goes wrong and does not interferes with the normal fortune of Flash plug-in unit OK, improve the stability of plug-in unit.
Present invention also offers a kind of browser, including described in above-described embodiment five to embodiment eight The establishment device of arbitrary browser moving object.
Algorithm and display be not solid with any certain computer, virtual system or miscellaneous equipment provided herein Have related.Various general-purpose systems also can be used together with based on teaching in this.As described above, Construct the structure required by this kind of system to be apparent from.Additionally, the present invention is also not for any specific Programming language.It is understood that, it is possible to use various programming languages realize the content of invention described herein, And the description done language-specific above is the preferred forms in order to disclose the present invention.
In specification mentioned herein, illustrate a large amount of detail.It is to be appreciated, however, that this Bright embodiment can be put into practice in the case of not having these details.In some instances, not in detail Known method, structure and technology are carefully shown, in order to do not obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure helping understand one of each inventive aspect or Multiple, above in the description of the exemplary embodiment of the present invention, each feature of the present invention sometimes by It is grouped into together in single embodiment, figure or descriptions thereof.But, should be by the disclosure Method is construed to reflect an intention that i.e. the present invention for required protection requires ratio in each claim The more feature of feature being expressly recited.More precisely, as the following claims reflect Like that, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows tool Claims of body embodiment are thus expressly incorporated in this detailed description of the invention, and wherein each right is wanted Ask itself all as the independent embodiment of the present invention.
Those skilled in the art are appreciated that and can carry out the module in the equipment in embodiment certainly Change adaptively and they are arranged in one or more equipment different from this embodiment.Permissible Module in embodiment or unit or assembly are combined into a module or unit or assembly, and in addition may be used To put them into multiple submodule or subelement or sub-component.Except such feature and/or process or Outside at least some in unit excludes each other, any combination can be used (to include companion to this specification With claim, summary and accompanying drawing) disclosed in all features and so disclosed any method or All processes of person's equipment or unit are combined.Unless expressly stated otherwise, this specification (includes companion With claim, summary and accompanying drawing) disclosed in each feature can be by providing identical, equivalent or phase Replace like the alternative features of purpose.
Although additionally, it will be appreciated by those of skill in the art that some embodiments described herein include other Some feature included in embodiment rather than further feature, but the combination of the feature of different embodiment Mean to be within the scope of the present invention and formed different embodiments.For example, in following right In claim, one of arbitrarily can mode using in any combination of embodiment required for protection.
The all parts embodiment of the present invention can realize with hardware, or with at one or more processor The software module of upper operation realizes, or realizes with combinations thereof.Those skilled in the art should manage Solve, microprocessor or digital signal processor (DSP) can be used in practice to realize according to this The some or all parts creating in device and browser of the browser moving object of inventive embodiments Some or all functions.The present invention is also implemented as performing method as described herein Point or whole equipment or device program (for example, computer program and computer program). The program of such present invention of realization can store on a computer-readable medium, or can have one Or the form of multiple signals.Such signal can be downloaded from internet website and obtain, or carrying There is provided on body signal, or provide with any other form.
The present invention will be described rather than limits the invention to it should be noted above-described embodiment, and And those skilled in the art can design replacement enforcement without departing from the scope of the appended claims Example.In the claims, any reference symbol that should not will be located between bracket is configured to claim Restriction.Word "comprising" does not excludes the presence of and does not arranges element in the claims or step.It is positioned at unit Word "a" or "an" before part does not excludes the presence of multiple such element.The present invention can borrow Help include the hardware of some different elements and realize by means of properly programmed computer.At row If having lifted in the unit claim of equipment for drying, several in these devices can be by same firmly Part item specifically embodies.Word first, second and third use do not indicate that any order.Can It is title by these word explanations.

Claims (7)

1. the creation method of a browser moving object, comprising:
Before browser creates moving object, obtain class mark or the character string identification of moving object Symbol, after obtaining class mark or character string identification symbol, it is judged that its be whether moving object class mark or Person's character string identification accords with, if then stopping performing the action of inquiry registration table, it is right that prevention creates described activity As;
Click on the described moving object of execution play the corresponding content of moving object and initiate according to user real The request of existing function, the class mark according to described moving object or character string identification symbol continue executing with and look into Ask the operation of registration table, in order to check whether to be provided with described moving object, if so, then continue to create institute State moving object, then perform the function that described moving object realizes.
2. method according to claim 1, described before browser creates moving object, resistance The step only creating described moving object includes: stop establishment activity right in the page process of browser As.
3. method according to claim 2 is described right according to the described activity of Client-initiated execution The request of the function as realizing, continues to create described moving object, then performs described moving object and realizes The step of function include:
Intercept and capture the operation of the page process creation moving object of browser, at the page process creation of browser Agent object replaces the moving object being actually subjected to create, and described agent object runs in page process;
In the independent process independent of the page process of described browser, create described moving object;
Call moving object by agent object and independent process communication, and/or, agent object and independence Process communication, by active object calls, performs the function that described moving object realizes.
4. the establishment device of a browser moving object, comprising:
Stop module, be suitable to create before moving object at browser, obtain moving object class mark or Person's character string identification accords with, after obtaining class mark or character string identification symbol, it is judged that whether it is that activity is right The class mark of elephant or character string identification symbol, be class mark or the character string identification of moving object in judgement In the case of symbol, stop and create described moving object;
First creation module, be suitable to judge be moving object class mark or character string identification symbol feelings Under condition, stop performing the action of inquiry registration table;And it is corresponding to click on broadcasting moving object according to user Content and the request performing the function that described moving object realizes initiated, the class mark according to moving object Or character string identification symbol continues executing with the operation of inquiry registration table, in order to check whether to be provided with described work Dynamic object, if so, then continues to create described moving object;
Perform module, be suitable to, after described first creation module creates described moving object, perform described The function that moving object realizes.
5. device according to claim 4, described device includes page scheduler module, described resistance Only module, the first creation module and execution module are all the submodules of described page scheduler module;
Described prevention module is particularly adapted in page process stop and creates moving object.
6. device according to claim 4, described device includes page scheduler module and independently enters Journey module;Described prevention module is the submodule of described page scheduler module, described first creation module and Perform the submodule that module is described independent process module;
Described page scheduler module also includes: the second creation module, is suitable to perform institute according to Client-initiated State the request of the function that moving object realizes, intercept and capture the behaviour of the page process loading activity object of browser Making, the page process creation agent object at browser replaces the moving object being actually subjected to create, described generation Reason object runs in page process;
Described first creation module is particularly adapted to independently entering in the page process independent of described browser Cheng Zhong, creates described moving object;
Described device also includes creating in described page scheduler module and described independent process module respectively Communication window, described execution module is particularly adapted to by agent object via described communication window and independence Moving object is called in process communication, and/or, agent object leads to independent process via described communication window Letter, by active object calls, performs the function that described moving object realizes.
7. the establishment device of the browser moving object that a kind includes described in any one of claim 4 to 6 Browser.
CN201210572420.8A 2012-12-25 2012-12-25 The creation method of browser moving object, device and browser Active CN103077194B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201210572420.8A CN103077194B (en) 2012-12-25 2012-12-25 The creation method of browser moving object, device and browser
PCT/CN2013/083729 WO2014101486A1 (en) 2012-12-25 2013-09-18 Method and device for playing plug-in in browser
US14/655,138 US20150347164A1 (en) 2012-12-25 2013-09-18 Method and Device for Playing Plug-in in Browser

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210572420.8A CN103077194B (en) 2012-12-25 2012-12-25 The creation method of browser moving object, device and browser

Publications (2)

Publication Number Publication Date
CN103077194A CN103077194A (en) 2013-05-01
CN103077194B true CN103077194B (en) 2016-10-05

Family

ID=48153724

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210572420.8A Active CN103077194B (en) 2012-12-25 2012-12-25 The creation method of browser moving object, device and browser

Country Status (1)

Country Link
CN (1) CN103077194B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014101486A1 (en) * 2012-12-25 2014-07-03 北京奇虎科技有限公司 Method and device for playing plug-in in browser
WO2014101455A1 (en) * 2012-12-25 2014-07-03 北京奇虎科技有限公司 Method, system, and browser for executing active object of browser
CN105630507B (en) * 2015-12-29 2020-01-24 Tcl集团股份有限公司 WebView control interface drawing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102081709A (en) * 2009-12-01 2011-06-01 联想(北京)有限公司 Method and device for disabling browser plug-in and terminal
CN102314510A (en) * 2011-09-15 2012-01-11 奇智软件(北京)有限公司 Method and system for executing browser control
CN102760068A (en) * 2012-06-01 2012-10-31 奇智软件(北京)有限公司 Loading method of Active X plugin and device
CN102831021A (en) * 2012-07-27 2012-12-19 腾讯科技(深圳)有限公司 Method and device for interrupting or cleaning plugin

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102081709A (en) * 2009-12-01 2011-06-01 联想(北京)有限公司 Method and device for disabling browser plug-in and terminal
CN102314510A (en) * 2011-09-15 2012-01-11 奇智软件(北京)有限公司 Method and system for executing browser control
CN102760068A (en) * 2012-06-01 2012-10-31 奇智软件(北京)有限公司 Loading method of Active X plugin and device
CN102831021A (en) * 2012-07-27 2012-12-19 腾讯科技(深圳)有限公司 Method and device for interrupting or cleaning plugin

Also Published As

Publication number Publication date
CN103077194A (en) 2013-05-01

Similar Documents

Publication Publication Date Title
CN107992301B (en) User interface implementation method, client and storage medium
CN105630507B (en) WebView control interface drawing method and device
CN102314510A (en) Method and system for executing browser control
CN104866327B (en) A kind of PHP development approaches and framework
CN103064680B (en) The player method of plug-in unit and device in browser
WO2010043706A3 (en) Method for the deterministic execution and synchronisation of an information processing system comprising a plurality of processing cores executing system tasks
CN105446755A (en) Method and device for rapidly loading Activity data for Android system
CN103077194B (en) The creation method of browser moving object, device and browser
CN102087594B (en) Management method and device for extension point and plugins
CN103631664A (en) Inter-process communication method and device
US20190034195A1 (en) Systems and methods for providing patchable rom firmware
CN101145113A (en) Multi-thread access indirect register scheduling method
CN102567014A (en) Method for realizing animation in SCADA (supervisory control and data acquisition) system by using Lua script
CN103605526A (en) Template componentized code generating method based on chain-of-responsibility pattern
CN103077016B (en) A kind of moving object creation method, device and browser
CN103034503B (en) A kind of script execution, system and browser
CN103064709B (en) Execution method, system and the browser of browser moving object
CN103077047B (en) A kind of plug-in playback method and device
CN103593239B (en) The method and device of application process command process in LINUX system
CN104298495B (en) A kind of program developing method and system based on script
CN102129385A (en) Management method capable of dynamically expanding management function of virtual machine
CN103019734A (en) Activity object implementation method, system and browser
CN114490318B (en) Environment treatment system and method for realizing weak isolation based on byte code enhancement
CN109739666A (en) Striding course call method, device, equipment and the storage medium of singleton method
CN104102496A (en) Development method for bank self-service system cross-browser plugin based on WINDOWS platform

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
TR01 Transfer of patent right

Effective date of registration: 20220727

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.