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, yet 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 by the scope of the present disclosure complete convey to those skilled in the art.
Embodiment mono-
With reference to Fig. 1, show the process flow diagram of a kind of call method of application program in first embodiment of the invention.In the present embodiment, the call method of described application program, comprising:
Step 102, the trigger action of response to the setting option in the tool bar of setting.
Wherein, when the tool bar of described setting meets established standards for the current page when the browser of IE kernel, be carried in the tool bar in the current page of described browser.
Step 104, judges whether the operated application program of described trigger action exists in this locality.
In the present embodiment, when described application program exists in this locality, execution step 106.
Step 106, when described application program exists in this locality, calls and starts described application program, and the operating parameter of described trigger action is sent to described application program, to carry out the indicated operation of described trigger action in described application program.
Take game on-line as example, if game center (as joined many game center or 360 game center) existing installation in this locality,, the startupoptions in the tool bar directly loading by browser starts described game center.Wherein, in this locality, existing installation can refer to game center: the series installation operation that described game center is undertaken by installation procedure (as, edit the registry, component registration, installation environment etc. is set) complete in local installation, and have corresponding startupoptions in this locality.
Preferably, when described application program does not exist in this locality, carry out setting process.Wherein, described setting process can be calling of direct end application; Also can be following flow process: prompting user downloads installation kit corresponding to described application program, and then described application program is installed in this locality, after above-mentioned application program installation, continue again to carry out calling of described application program.All right, by downloading non-installation compressed package corresponding to described application program, after decompress(ion), directly move the executable file in described non-installation compressed package, to realize calling of described application program.The present embodiment is not restricted this.
Preferably, described non-installation compressed package can be: the compressed package that has comprised the necessary All Files of the described game center of direct operation, but in this compressed package, do not comprise the file of carrying out installation.Described non-installation compressed package is after decompress(ion), can be by moving executable file wherein and then directly starting game center, be described non-installation compressed package not be used in the machine carry out installation steps (as, Registry Modifications, system arrange the steps such as modification, environmental variance setting and component register) can move.
In sum, the call method of the application program described in the present embodiment, trigger action by response to the setting option in the tool bar of setting, and when the operated application program of the described trigger action of judgement exists in this locality, directly call and start described application program, and the operating parameter of described trigger action is sent to described application program, to carry out the indicated operation of described trigger action in described application program.Because the tool bar of described setting is carried in browser side, therefore, user does not need to carry out the switching between application program, directly by the option in the tool bar of setting, operate and get final product invokes application, operation is succinct, avoided repeatedly switching, improve the efficiency of calling of application program, saved the time, and reduced operation and the processing load of terminal system.
Meanwhile, after response is to the trigger action of the setting option in the tool bar of setting, directly from this locality, call startup application program, avoided user manually to go to search startup, improved and called efficiency, there is good user and experience.
Embodiment bis-
With reference to Fig. 2, show the process flow diagram of a kind of call method of application program in second embodiment of the invention.In the present embodiment, browser refers to browser or the IE browser of IE kernel, and the call method of described application program, comprising:
Step 202, when the current page of the browser of IE kernel meets established standards, browser, under the indication of preset function, is sent to by the setting interface in the browser of described IE kernel the message informing that carries the described page load events information tool bar loading application programs of the browser that is independent of described IE kernel.
Preferably, described page load events information comprises: the URL(uniform resource locator) of described current page and title.Whether the current page of the browser of described IE kernel meets established standards, can judge in the following way: when the URL(uniform resource locator) of described current page and the title URL(uniform resource locator) corresponding with games page and title match, determine that the current page of the browser of described IE kernel meets established standards.
Step 204, browser receives the call request that described tool bar loading application programs returns.
Step 206, browser responds described call request, calls dynamic link library, and in the browser of described IE kernel, loads the tool bar of described setting by described dynamic link library.
In the present embodiment, described preset function and described dynamic link library are injected the browser of described IE kernel by described browser auxiliary object by described tool bar loading application programs, so that the browser of described IE kernel obtains and load described preset function and described dynamic link library.
For example, in the present embodiment, the specific implementation flow process that loads the method for the tool bar of setting in the browser of IE kernel can be as follows:
First, tool bar load-on module injects the host process of IE browser by preset function and dynamic link library by browser auxiliary object.
Secondly, when starting, also asking to pass through the described IE browser access page at IE browser, IE browser, under the indication of described preset function, is sent to described tool bar load-on module by the message informing generating in page loading procedure by IWebBrowser interface.
Then, tool bar load-on module is monitored described message informing, and described message informing and pre-set criteria information are compared.Wherein, in described message informing, carry page load events information; Described page load events information comprises: the URL(uniform resource locator) that described current page is corresponding and title.When URL(uniform resource locator) corresponding to described current page and title and URL(uniform resource locator) corresponding to games page and title Corresponding matching, tool bar load-on module generates call request, and described call request is sent to IE browser.
Finally, IE browser, when receiving described call request, calls dynamic link library, loads the tool bar of setting by described dynamic link library in IE browser side.
Step 208, the trigger action of browser response to the setting option in the tool bar of setting.
Step 210, browser judges whether the operated application program of described trigger action exists in this locality; When described application program exists in this locality, execution step 212; Otherwise, execution step 214.
Step 212, browser calls and has local startupoptions corresponding to described application program, to start described application program, execution step 216.
Step 214, browser downloads from server side the non-installation compressed package that the application program operated with described trigger action matches; Described non-installation compressed package is carried out to decompress(ion), obtain moving the executable file of described application program; By calling, start described executable file, to call, start described application program, execution step 216.
In the present embodiment, described application program can continue to perform step 216 after calling startup by above-mentioned steps 212 or step 214.
Step 216, browser sends to described application program by the operating parameter of described trigger action, to carry out the indicated operation of described trigger action in described application program.
Preferably, browser can be sent to described application program by the operating parameter of described trigger action by its corresponding host process.
Step 218, browser is sent to described application program by its corresponding host process by the described message informing that carries described page load events information, to show the page matching with described message informing in described application program.
In the present embodiment, because described page load events information comprises: the URL(uniform resource locator) of described current page and title, therefore, describedly the described message informing that carries described page load events information is sent to described application program can be: the URL(uniform resource locator) of described current page and title are sent to described application program.And then, can in described application program, show and the URL(uniform resource locator) of described current page and the page that title matches.
Step 220, browser obtains configuration parameter corresponding to other option except described setting option in the tool bar of described setting; And the host process corresponding by described browser is sent to described application program by described configuration parameter, so that the configuration of the page showing in described application program and the configuration of described current page keep synchronizeing.Wherein, described configuration parameter is used to indicate the configuration of described current page.
For example, in the tool bar of the setting loading in the browser side of IE kernel, can comprise a plurality of options, described a plurality of options include but are not limited to: the first option, the second option, the 3rd option and the 4th option.Wherein, when described the 4th option is that while setting option, described the first option, the second option and the 3rd option are other options except described setting option.Now, obtain respectively described the first option, the second option and configuration parameter corresponding to the 3rd option, the host process corresponding by described browser is sent to described application program by described the first option, the second option and configuration parameter corresponding to the 3rd option, so that the configuration of the page showing in described application program and the configuration of described current page keep synchronizeing.
Here it should be noted that, above-mentioned steps 216, step 218 and step 220 can be carried out according to any sequencing, do not have inevitable sequencing between three.Preferably, above-mentioned steps 216, step 218 and step 220 also can be carried out simultaneously.The present embodiment is not restricted this.
In the present embodiment, in described application program, can comprise one or more function choosing-items; Wherein, described function choosing-item is for carrying out prompt operation to the page showing in described application program.
In sum, the call method of the application program described in the present embodiment, trigger action by response to the setting option in the tool bar of setting, and when the operated application program of the described trigger action of judgement exists in this locality, directly call and start described application program, and the operating parameter of described trigger action is sent to described application program, to carry out the indicated operation of described trigger action in described application program.Because the tool bar of described setting is carried in browser side, therefore, user does not need to carry out the switching between application program, directly by the option in the tool bar of setting, operate and get final product invokes application, operation is succinct, avoided repeatedly switching, improve the efficiency of calling of application program, saved the time, and reduced operation and the processing load of terminal system.
Meanwhile, after response is to the trigger action of the setting option in the tool bar of setting, directly from this locality, call startup application program, avoided user manually to go to search startup, improved and called efficiency, there is good user and experience.
Further, when described application program does not exist in this locality, can directly download non-installation procedure compressed package, by decompression process, directly move executable file wherein, and then realize calling of application program, avoid downloading and installing installation application, improved the efficiency of calling of application program.And can synchronous every data when calling, guaranteed the consistance of application program and browser current page data, reduced user's operation, improved user's experience, reduced server burden.
Embodiment tri-
In conjunction with above-described embodiment, below by an instantiation, the realization flow of the call method of above-mentioned application program is elaborated.
In the present embodiment, the tool bar of setting is a game tool bar, and application program is a game center corresponding with described game tool bar.Wherein, the current page of the browser of IE kernel is a games page, meets established standards, therefore described game tool bar has completed and has called, and in the browser of IE kernel loaded and displayed.Here it should be noted that, application program is to match with the tool bar of described setting, i.e. the corresponding a kind of corresponding application program of a kind of tool bar.
Below in conjunction with Fig. 3, Fig. 4 and Fig. 5, the call method of a kind of game center in the present embodiment is elaborated.Wherein, Fig. 3 shows the process flow diagram of a kind of call method of game center in third embodiment of the invention.Fig. 4 is a kind of schematic diagram that loads game tool bar in the browser of IE kernel in the present embodiment.Fig. 5 be in the present embodiment a kind of game center call schematic diagram.
With reference to Fig. 4, in the present embodiment, described game tool bar comprises a plurality of option of operation, as: my game, trumpet, speed change, full frame, reparation, boss have come, the quiet and option of operation such as multiplex's tool more.
With reference to Fig. 5, in the present embodiment, when user trigger setting option in the game tool loading on the browser of described IE kernel (as, " more multiplex's tool " option of operation in Fig. 4) after, corresponding application program (as, game center) start, and can terminal carry out foremost loaded and displayed, cover the interface of the browser of described IE kernel.
With reference to Fig. 3, in the present embodiment, game center to call idiographic flow as follows:
Step 302, when user triggers the setting option in game tool bar, the browser of the IE kernel response trigger action to the setting option in game tool bar.
The browser of step 304, IE kernel judges whether this locality has game center.
Preferably, judged result can have two kinds: there is game center this locality; This locality does not have game center.
If judgment result is that: there is game center this locality, that is, described game center is passed through installation procedure installation in this locality, and has corresponding startupoptions; , execution step 306.
If judgment result is that: when this locality does not have game center,, execution step 308.
The browser of step 306:IE kernel directly starts described game center by described startupoptions.
Preferably, when starting game center by step 306, can perform step 310.
The browser of step 308:IE kernel downloads from server side the non-installation compressed package that the application program operated with described trigger action matches; And, by decompression process, obtain the executable file in described non-installation compressed package, move described executable file to start game center.
Preferably, in described non-installation compressed package, comprised the necessary All Files of the described game center of direct operation, can be by moving executable file wherein and then directly starting game center after decompress(ion), so that described non-installation compressed package not be used in the machine carry out installation steps (as, Registry Modifications, system arrange the steps such as modification, environmental variance setting and component register) can move.When starting game center by step 308, can perform step 310.
Step 310, when game center starts, the browser of IE kernel can send to described game center by the operating parameter of described trigger action, to carry out the indicated operation of described trigger action in described game center.
In the present embodiment, the startup of triggering game center can comprise following two kinds of situations:
When user triggers " the more multiplex's tool " option of operation in described game tool bar, the browser of IE kernel starts described game center by above-mentioned steps 306 or step 308.
When user triggers any one option of operation in described game tool bar, the browser of IE kernel starts described game center by above-mentioned steps 306 or step 308.
Preferably, browser, when starting described game center, can also be carried out following steps:
Step 312, the browser of IE kernel by current page (, games page) URL(uniform resource locator) and title are sent to described game center by the host process of browser, so that described game center is after starting completely, the page that directly URL(uniform resource locator) and the title of one of loaded and displayed and described current page match, avoided user manually to input or search and open the games page matching with current page after game center starts, improved efficiency, saved the time.
Step 314, the browser of IE kernel by described trigger action (as, multiplex's tool more) operating parameter is sent to described game center by the host process of the browser of described IE kernel, to carry out " more multiplex's tool " indicated operation of trigger action in described game center.
Step 316, the browser of IE kernel obtains in described game tool bar except configuration parameter corresponding to other option outside described setting option (as, multiplex's tool more); And the host process of the browser by described IE kernel is sent to described game center by described configuration parameter, so that the configuration of the page showing in described game center and the configuration of described current games page keep synchronizeing.
For example, with user, trigger " the more multiplex's tool " option of operation in Fig. 4, the browser of IE kernel calls that to start game center (as, the game center page shown in Fig. 5) be example.With reference to Fig. 4, user has opened a web game A at the current page of the browser of IE kernel, and now, URL(uniform resource locator) and title that described current page is corresponding meet established standards, therefore, on the browser of described IE kernel, loaded a game tool bar A.Option of operation on the logical game tool bar A of user has configured the parameter of the web game A in current page, as, the speed of controlling web game A by " speed change " option of operation is X2; The audio of controlling web game A by " quiet " option of operation is closed condition.When user triggers " the more multiplex's tool " option of operation on game tool bar A, the browser of IE kernel calls startup game center by above-mentioned steps 306 or step 308, simultaneously, the URL(uniform resource locator) of web game A and title are sent to game center by host process, so that games page a who matches with web game A of the direct loaded and displayed of game center; Meanwhile, the trigger message of " the more multiplex's tool " that user is triggered sends to game center by host process, so that game center is carried out corresponding operation at games page a, that is, shows more multioperation option; Simultaneously, user is also sent to game center by host process by game tool bar A to the configuration parameter of web game A (the speed X2 of above-mentioned web game A, quiet parameter) on the current page of the browser of IE kernel, so that the configuration consistency of the current page of the browser of the configuration parameter of the games page a loading in game center and IE kernel,, game rate in the games page a loading in game center is also X2, is also mute state.
In the present embodiment, after game center starts successfully, can continue to carry out following step 318:
The trigger event of the browser response user of step 318, IE kernel to the option of operation in game center, to carry out corresponding operation; And/or the trigger event of the browser response user of described IE kernel to the option of operation in the game tool bar loading in the browser of IE kernel, to carry out corresponding operation.
Preferably, during the trigger event of the option of operation in the game tool bar that the browser of described IE kernel loads in to the browser of IE kernel response user, by host process, parameter information corresponding to the option of operation in game tool bar is sent to game center, so that game center can respond the trigger event of user to the option of operation in the game tool bar loading in the browser of IE kernel, and carry out corresponding operation.
For example, after game center starts successfully, user clicks " speed change " option of operation in the game tool bar loading in IE kernel browser, and to select speed change be X3; The browser of IE kernel is sent to game center by " speed change, X3 " this corresponding parameter by host process, speed change and speed change X3 so that game center, after receiving this parameter, is played in configuration game center accordingly.
In the present embodiment, game center comprises a plurality of function choosing-items, and user also can pass through the operation to the function choosing-item in game center, realizes the game loading in game center is carried out to prompt operation.
At this, to loading the method for game tool bar in the browser at IE kernel, carry out a brief description.The method of the browser loading game tool bar of IE kernel can be as follows:
First, tool bar load-on module injects the host process of IE browser by preset function and dynamic link library by browser auxiliary object.
Secondly, when starting, also asking to pass through the described IE browser access page at IE browser, IE browser, under the indication of described preset function, is sent to described tool bar load-on module by the message informing generating in page loading procedure by IWebBrowser interface.
Then, tool bar load-on module is monitored described message informing, and described message informing and pre-set criteria information are compared.Wherein, in described message informing, carry page load events information; Described page load events information comprises: the URL(uniform resource locator) that described current page is corresponding and title.When URL(uniform resource locator) corresponding to described current page and title and URL(uniform resource locator) corresponding to games page and title Corresponding matching, tool bar load-on module generates call request, and described call request is sent to IE browser.
Finally, IE browser, when receiving described call request, calls dynamic link library, by described dynamic link library, in IE browser side, loads game tool bar.
In sum, the call method of the application program described in the present embodiment, trigger action by response to the setting option in the tool bar of setting, and when the operated application program of the described trigger action of judgement exists in this locality, directly call and start described application program, and the operating parameter of described trigger action is sent to described application program, to carry out the indicated operation of described trigger action in described application program.Because the tool bar of described setting is carried in browser side, therefore, user does not need to carry out the switching between application program, directly by the option in the tool bar of setting, operate and get final product invokes application, operation is succinct, avoided repeatedly switching, improve the efficiency of calling of application program, saved the time, and reduced operation and the processing load of terminal system.
Meanwhile, after response is to the trigger action of the setting option in the tool bar of setting, directly from this locality, call startup application program, avoided user manually to go to search startup, improved and called efficiency, there is good user and experience.
Further, when described application program does not exist in this locality, can directly download non-installation procedure compressed package, by decompression process, directly move executable file wherein, and then realize calling of application program, avoid downloading and installing installation application, improved the efficiency of calling of application program.And can synchronous every data when calling, guaranteed the consistance of application program and browser current page data, reduced user's operation, improved user's experience, reduced server burden.
It should be noted that, for aforesaid embodiment of the method, for simple description, therefore it is all expressed as to a series of combination of actions, but those skilled in the art should know, the present invention is not subject to the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in instructions all belongs to preferred embodiment, and related action might not be essential to the invention.
Embodiment tetra-
Based on the same inventive concept of said method embodiment.With reference to Fig. 6, show the structured flowchart of a kind of calling system of application program in fourth embodiment of the invention.In the present embodiment, the calling system of described application program, comprising:
Respond module 602, for responding the trigger action of the setting option of the tool bar to setting.
Wherein, when the tool bar of described setting meets established standards for the current page when the browser of IE kernel, be carried in the tool bar in the current page of described browser.
Judge module 604, for judging whether the operated application program of described trigger action exists in this locality.
The first calling module 606, for when described application program exists in this locality, calls and starts described application program.
In the present embodiment, described application program exists and refers in this locality: the series installation operation that described game center is undertaken by installation procedure (as, edit the registry, component registration, installation environment etc. is set) complete in local installation, and have corresponding startupoptions in this locality.
Preferably, when described application program does not exist in this locality, directly end application calls.Also can point out user to download installation kit corresponding to described application program, then described application program is installed in this locality, after above-mentioned application program installation, continue again to carry out calling of described application program.All right, by downloading non-installation compressed package corresponding to described application program, after decompress(ion), directly move the executable file in described non-installation compressed package, to realize calling of described application program.The present embodiment is not restricted this.Wherein, described non-installation compressed package can be: the compressed package that has comprised the necessary All Files of the described game center of direct operation.Described non-installation compressed package is after decompress(ion), can be by moving executable file wherein and then directly starting game center, be described non-installation compressed package not be used in the machine carry out installation steps (as, Registry Modifications, system arrange the steps such as modification, environmental variance setting and component register) can move.
Operating parameter transmits module 608, for the operating parameter of described trigger action is sent to described application program, to carry out the indicated operation of described trigger action in described application program.
In sum, the calling system of the application program described in the present embodiment, trigger action by response to the setting option in the tool bar of setting, and when the operated application program of the described trigger action of judgement exists in this locality, directly call and start described application program, and the operating parameter of described trigger action is sent to described application program, to carry out the indicated operation of described trigger action in described application program.Because the tool bar of described setting is carried in browser side, therefore, user does not need to carry out the switching between application program, directly by the option in the tool bar of setting, operate and get final product invokes application, operation is succinct, avoided repeatedly switching, improve the efficiency of calling of application program, saved the time, and reduced operation and the processing load of terminal system.
Meanwhile, after response is to the trigger action of the setting option in the tool bar of setting, directly from this locality, call startup application program, avoided user manually to go to search startup, improved and called efficiency, there is good user and experience.
Embodiment five
With reference to Fig. 7, show the structured flowchart of a kind of calling system of application program in fifth embodiment of the invention.In the present embodiment, the calling system of described application program, comprising:
The first message informing sending module 702, while meeting established standards for the current page at the browser of IE kernel, under the indication of preset function, by the setting interface in the browser of described IE kernel, the message informing that carries described page load events information is sent to the tool bar loading application programs of the browser that is independent of described IE kernel.
In the present embodiment, described page load events information comprises: the URL(uniform resource locator) of described current page and title.Preferably, when the URL(uniform resource locator) of described current page and the title URL(uniform resource locator) corresponding with games page and title match, determine that the current page of the browser of described IE kernel meets established standards.
Call request receiver module 704, the call request of returning for receiving described tool bar loading application programs.
Tool bar load-on module 706, for responding described call request, calls dynamic link library, and in the browser of described IE kernel, loads the tool bar of described setting by described dynamic link library.
Wherein, described preset function and described dynamic link library are injected the browser of described IE kernel by described browser auxiliary object by described tool bar loading application programs, so that the browser of described IE kernel obtains and load described preset function and described dynamic link library.
Respond module 708, for responding the trigger action of the setting option of the tool bar to setting.
In the present embodiment, when the tool bar of described setting meets established standards for the current page when the browser of IE kernel, be carried in the tool bar in the current page of described browser.
Judge module 710, for judging whether the operated application program of described trigger action exists in this locality.
Preferably, in the present embodiment, after described judge module 710, can carry out the first calling module 712, or, download module 714 carried out.
The first calling module 712, for when described application program exists in this locality, calls and starts described application program.
In the present embodiment, described application program comprises one or more function choosing-items; Wherein, described function choosing-item is for carrying out prompt operation to the page showing in described application program.
Download module 714, for when described application program does not exist in this locality, downloads from server side the non-installation compressed package that the application program operated with described trigger action matches.
Decompression module 716, for described non-installation compressed package is carried out to decompress(ion), obtains moving the executable file of described application program.
The second calling module 718, for starting described executable file by calling, starts described application program to call.
After described the first calling module 712 or described the second calling module 718 execute, continue executable operations parameter and transmit module 720.
Operating parameter transmits module 720, for the operating parameter of described trigger action is sent to described application program, to carry out the indicated operation of described trigger action in described application program.
In the present embodiment, described operating parameter transmits module 720, specifically for the host process of the browser by described IE kernel, the operating parameter of described trigger action is sent to described application program.
The second message informing module 722, for calling while starting described application program described, the host process of the browser by described IE kernel is sent to described application program by the described message informing that carries described page load events information, to show the page matching with described message informing in described application program.
In the present embodiment, when described the second message informing module 722 shows the page matching with described message informing in described application program, specifically can refer to: in described application program, show and the URL(uniform resource locator) of described current page and the page that title matches.
Configuration parameter acquisition module 724, for calling while starting described application program described, obtains configuration parameter corresponding to other option except described setting option in the tool bar of described setting; Wherein, described configuration parameter is used to indicate the configuration of described current page.
Synchronization module 726, is sent to described application program for the host process of the browser by described IE kernel by described configuration parameter, so that the configuration of the page showing in described application program and the configuration of described current page keep synchronizeing.
In the present embodiment, between operating parameter transmission module 720 and the second message informing module 722 and configuration parameter acquisition module 724 and synchronization module 726, there is no inevitable sequencing.Operating parameter transmission module 720 and the second message informing module 722 and configuration parameter acquisition module 724 and synchronization module 726 also can be carried out simultaneously, and the present embodiment is not restricted this.
In sum, the calling system of the application program described in the present embodiment, trigger action by response to the setting option in the tool bar of setting, and when the operated application program of the described trigger action of judgement exists in this locality, directly call and start described application program, and the operating parameter of described trigger action is sent to described application program, to carry out the indicated operation of described trigger action in described application program.Because the tool bar of described setting is carried in browser side, therefore, user does not need to carry out the switching between application program, directly by the option in the tool bar of setting, operate and get final product invokes application, operation is succinct, avoided repeatedly switching, improve the efficiency of calling of application program, saved the time, and reduced operation and the processing load of terminal system.
Meanwhile, after response is to the trigger action of the setting option in the tool bar of setting, directly from this locality, call startup application program, avoided user manually to go to search startup, improved and called efficiency, there is good user and experience.
Further, when described application program does not exist in this locality, can directly download non-installation procedure compressed package, by decompression process, directly move executable file wherein, and then realize calling of application program, avoid downloading and installing installation application, improved the efficiency of calling of application program.And can synchronous every data when calling, guaranteed the consistance of application program and browser current page data, reduced user's operation, improved user's experience, reduced server burden.
For said apparatus embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part is referring to the part explanation of embodiment of the method.
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 have been described.Yet, can understand, embodiments of the invention can not 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.Yet, 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 into a plurality of submodules or subelement or sub-component in addition.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 moved 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 the some or all functions according to the some or all parts in the invocation facility of the application program of the embodiment of the present invention.The present invention for example can also be embodied as, for carrying out part or all equipment or device program (, computer program and computer program) of 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 situation that do not depart 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 a plurality of 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 having enumerated the unit claim of 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 call method that the invention discloses A1, a kind of application program, comprising:
The trigger action of response to the setting option in the tool bar of setting; Wherein, when the tool bar of described setting meets established standards for the current page when the browser of IE kernel, be carried in the tool bar in the current page of described browser;
Judge whether the operated application program of described trigger action exists in this locality;
When described application program exists in this locality, call and start described application program, and the operating parameter of described trigger action is sent to described application program, to carry out the indicated operation of described trigger action in described application program.
A2, the method as described in A1, described judge the step whether operated application program of described trigger action exist in this locality after, described method also comprises:
When described application program does not exist in this locality, from server side, download the non-installation compressed package that the application program operated with described trigger action matches;
Described non-installation compressed package is carried out to decompress(ion), obtain moving the executable file of described application program;
By calling, start described executable file, to call, start described application program, and the operating parameter of described trigger action is sent to described application program, to carry out the indicated operation of described trigger action in described application program.
A3, the method as described in A1 or A2, the described operating parameter by described trigger action sends to described application program, comprising:
The host process of the browser by described IE kernel is sent to described application program by the operating parameter of described trigger action.
A4, the method as described in A1, before described response is to the step of the trigger action of the setting option in the tool bar of setting, described method also comprises:
When the current page of the browser of IE kernel meets established standards, under the indication of preset function, by the setting interface in the browser of described IE kernel, the message informing that carries described page load events information is sent to the tool bar loading application programs of the browser that is independent of described IE kernel;
Receive the call request that described tool bar loading application programs returns;
Respond described call request, call dynamic link library, and in the browser of described IE kernel, load the tool bar of described setting by described dynamic link library;
Wherein, described preset function and described dynamic link library are injected the browser of described IE kernel by described browser auxiliary object by described tool bar loading application programs, so that the browser of described IE kernel obtains and load described preset function and described dynamic link library.
A5, the method as described in A4, call while starting described application program described, and described method also comprises:
The host process of the browser by described IE kernel is sent to described application program by the described message informing that carries described page load events information, to show the page matching with described message informing in described application program.
A6, the method as described in A4 or A5, described page load events information comprises: the URL(uniform resource locator) of described current page and title.
A7, the method as described in A6, the described page matching with described message informing that shows in described application program, comprising:
In described application program, show and the URL(uniform resource locator) of described current page and the page that title matches.
A8, the method as described in A6, the current page of the browser of described IE kernel meets established standards, comprising:
When the URL(uniform resource locator) of described current page and the title URL(uniform resource locator) corresponding with games page and title match, determine that the current page of the browser of described IE kernel meets established standards.
A9, the method as described in A1 or A2, call while starting described application program described, and described method also comprises:
Obtain configuration parameter corresponding to other option except described setting option in the tool bar of described setting; Wherein, described configuration parameter is used to indicate the configuration of described current page;
The host process of the browser by described IE kernel is sent to described application program by described configuration parameter, so that the configuration of the page showing in described application program and the configuration of described current page keep synchronizeing.
A10, the method as described in A1, described application program comprises one or more function choosing-items; Wherein, described function choosing-item is for carrying out prompt operation to the page showing in described application program.
The calling system that the invention also discloses B11, a kind of application program, comprising:
Respond module, for responding the trigger action of the setting option of the tool bar to setting; Wherein, when the tool bar of described setting meets established standards for the current page when the browser of IE kernel, be carried in the tool bar in the current page of described browser;
Judge module, for judging whether the operated application program of described trigger action exists in this locality;
The first calling module, for when described application program exists in this locality, calls and starts described application program;
Operating parameter transmits module, for the operating parameter of described trigger action is sent to described application program, to carry out the indicated operation of described trigger action in described application program.
B12, the system as described in B11, described system also comprises:
Download module, for when described application program does not exist in this locality, downloads from server side the non-installation compressed package that the application program operated with described trigger action matches;
Decompression module, for described non-installation compressed package is carried out to decompress(ion), obtains moving the executable file of described application program;
The second calling module, for starting described executable file by calling, starts described application program to call.
B13, the system as described in B11 or B12,
Described operating parameter transmits module, specifically for the host process of the browser by described IE kernel, the operating parameter of described trigger action is sent to described application program.
B14, the system as described in B11, described system also comprises:
The first message informing sending module, for before described respond module response is to the trigger action of the setting option of the tool bar of setting, when the current page of the browser of IE kernel meets established standards, under the indication of preset function, by the setting interface in the browser of described IE kernel, the message informing that carries described page load events information is sent to the tool bar loading application programs of the browser that is independent of described IE kernel;
Call request receiver module, the call request of returning for receiving described tool bar loading application programs;
Tool bar load-on module, for responding described call request, calls dynamic link library, and in the browser of described IE kernel, loads the tool bar of described setting by described dynamic link library;
Wherein, described preset function and described dynamic link library are injected the browser of described IE kernel by described browser auxiliary object by described tool bar loading application programs, so that the browser of described IE kernel obtains and load described preset function and described dynamic link library.
B15, the system as described in B14, described system also comprises:
The second message informing module, for calling while starting described application program described, the host process of the browser by described IE kernel is sent to described application program by the described message informing that carries described page load events information, to show the page matching with described message informing in described application program.
B16, the system as described in B14 or B15, described page load events information comprises: the URL(uniform resource locator) of described current page and title.
B17, the system as described in B16, when described the second message informing module shows the page matching with described message informing in described application program, comprising:
In described application program, show and the URL(uniform resource locator) of described current page and the page that title matches.
B18, the system as described in B16, the current page of the browser of described IE kernel meets established standards, comprising:
When the URL(uniform resource locator) of described current page and the title URL(uniform resource locator) corresponding with games page and title match, determine that the current page of the browser of described IE kernel meets established standards.
B19, the system as described in B11 or B12, described system also comprises:
Configuration parameter acquisition module, for calling while starting described application program described, obtains configuration parameter corresponding to other option except described setting option in the tool bar of described setting; Wherein, described configuration parameter is used to indicate the configuration of described current page;
Synchronization module, is sent to described application program for the host process of the browser by described IE kernel by described configuration parameter, so that the configuration of the page showing in described application program and the configuration of described current page keep synchronizeing.
B20, the system as described in B11, described application program comprises one or more function choosing-items; Wherein, described function choosing-item is for carrying out prompt operation to the page showing in described application program.