The call method and system of a kind of application program
Technical field
The present invention relates to Internet technical fields, and in particular to the call method and system of a kind of application program.
Background technology
Browser refers to show the html file content of web page server or file system, and allow user and these
A kind of software of file interaction.Web browser is mainly interacted with web page server by http protocol and obtains webpage, these
Webpage is specified by URL, and file format is usually HTML, and by MIME (Multipurpose Internet Mail
Extensions, multipurpose internet mail extensions) it is indicated in http protocol.It can include multiple documents in one webpage,
Each document is to be obtained respectively from server.Most browser supports extensive lattice in addition to html in itself
Formula, such as:The picture formats such as JPEG, PNG, GIF, and can extend and support numerous plug-in units (plug-ins).It is in addition, many
Browser also supports other URL types and its corresponding agreement, such as:FTP, Gopher, HTTPS (encryption of http protocol
Version).HTTP content types and URL protocol specifications allow Web page maker in webpage embedded images, animation, video, sound,
Streaming Media etc..Internet Explorer of common web browser including Microsoft on PC, Mozilla
Safari, Opera, Google Chrome, Green Browser, 360 secure browsers, the search dog of Firefox, Apple are high
Fast browser, everyday browser, tencent TT browser, proud trip browser, baidu browser, Tencent QQ browser etc., browser
It is the client-side program most often used.
For user when using the browser access page, browser is displayed on the front end of terminal interface, covers terminal
Other application program on desktop.At this point, if user wants to open other application programs, it must shut off browser or incite somebody to action
The browser, which minimizes, to be hidden or browser is switched to backstage;Then using a series of behaviour such as lookup, opening, startups
Make startup application program.Particularly, it when user does not know the installation site of application program, needs to take a significant amount of time and look into
It looks for.
It can be seen that presently, there are the problem of be:When user is when using browser browsing pages, one is if desired opened
Application program then needs frequently to be switched between multiple application programs, and searching needs application program to be used, and operation is numerous
It is trivial, search difficulty it is big, efficiency is low, wastes time, influence the usage experience of user, and also increase terminal system operation and
Processing load.
Invention content
In view of the above problems, it is proposed that the present invention overcomes the above problem in order to provide one kind or solves at least partly
State a kind of call method of application program of problem and a kind of corresponding calling system of application program.
One side according to the present invention provides a kind of call method of application program, including:
Respond the trigger action to the setting option in the tool bar of setting;Wherein, the tool bar set is works as IE
When the current page of the browser of kernel meets established standards, the tool bar in the current page of the browser is loaded;
Judge that the application program operated by the trigger action whether there is locally;
It when the application program is in the presence of local, calls and starts the application program, and by the behaviour of the trigger action
The application program is sent to as parameter, to carry out the operation indicated by the trigger action in the application program.
According to another aspect of the present invention, a kind of calling system of application program is provided, including:
Respond module, for responding the trigger action to the setting option in the tool bar of setting;Wherein, the setting
Tool bar is when the current page of the browser of IE kernels meets established standards, is loaded in the current page of the browser
Tool bar;
Judgment module, for judging that the application program operated by the trigger action whether there is locally;
First calling module, in the presence of local, calling in the application program and starting the application program;
Operating parameter transfer module, for the operating parameter of the trigger action to be sent to the application program, with
The operation indicated by the trigger action is carried out in the application program.
The call method and system of a kind of application program provided by the invention, by responding to setting in the tool bar of setting
Determine the trigger action of option, and judging that the application program operated by the trigger action in the presence of local, directly invokes and open
The application program is moved, and the operating parameter of the trigger action is sent to the application program, in the application program
The middle operation carried out indicated by the trigger action.Since the tool bar of the setting is loaded in browser side, therefore, user
It does not need to carry out the switching between application program, directly operates to call by the option in the tool bar to setting and answer
With program, operation is succinct, avoids multiple switching, improves the calling efficiency of application program, has saved the time, and reduce end
The operation of end system and processing load.
Meanwhile it after responding to the trigger action of the setting option in the tool bar of setting, is directly opened from local calling
Dynamic application program avoids user and goes to search startup manually, improves calling efficiency, have preferable user experience.
Above description is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention,
And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can
It is clearer and more comprehensible, below the special specific embodiment for lifting the present invention.
Description of the drawings
By reading the detailed description of hereafter preferred embodiment, it is various other the advantages of and benefit it is common for this field
Technical staff will become clear.Attached drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention
Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 is a kind of flow chart of the call method of application program in first embodiment of the invention;
Fig. 2 is a kind of flow chart of the call method of application program in second embodiment of the invention;
Fig. 3 is a kind of flow chart of the call method of Games Lobby in third embodiment of the invention;
Fig. 4 is a kind of schematic diagram that game tool item is loaded in the browser of IE kernels in the present embodiment;
Fig. 5 is a kind of calling schematic diagram of Games Lobby in the present embodiment;
Fig. 6 is a kind of structure diagram of the calling system of application program in fourth embodiment of the invention;
Fig. 7 is a kind of structure diagram of the calling system of application program in fifth embodiment of the invention.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
Completely it is communicated to those skilled in the art.
Embodiment one
With reference to Fig. 1, a kind of flow chart of the call method of application program in first embodiment of the invention is shown.In this reality
It applies in example, the call method of the application program, including:
Step 102, the trigger action of the setting option in the tool bar to setting is responded.
Wherein, when the current page of the tool bar set as the browser when IE kernels meets established standards, loading
Tool bar in the current page of the browser.
Step 104, judge that the application program operated by the trigger action whether there is locally.
In the present embodiment, when the application program is in the presence of local, step 106 is performed.
Step 106, it when the application program is in the presence of local, calls and starts the application program, and by the triggering
The operating parameter of operation is sent to the application program, to carry out the behaviour indicated by the trigger action in the application program
Make.
By taking game on-line as an example, if Games Lobby (as joined many Games Lobby or 360 Games Lobby) in local existing installation,
Then, the startupoptions in the tool bar directly loaded by browser starts the Games Lobby.Wherein, Games Lobby is in local
Existing installation can refer to:The series installation that the Games Lobby is carried out by installation procedure operate (e.g., change registration table,
Component registration, setting installation environment etc.) it completes in local installation, and locally having corresponding startupoptions.
Preferably, when the application program is in the absence of local, then setting process is performed.Wherein, the setting process
It can be the calling for directly terminating application program;It can also be following flow:User is prompted to download the application program corresponding
Installation kit then in the locally-installed application program, is further continued for performing the application after when above application program, installation is complete
The calling of program.It is also possible that institute is directly run after decompression by downloading the corresponding non-installation compressed package of the application program
The executable file in non-installation compressed package is stated, to realize the calling of the application program.The present embodiment is not restricted this.
Preferably, the non-installation compressed package can be:It contains directly to run necessary to the Games Lobby and own
The compressed package of file, but do not include performing the file of installation in the compressed package.The non-installation compressed package, can be with after decompression
Games Lobby is directly initiated by running executable file therein, i.e., described non-installation compressed package does not have to carry out in the machine
Installation steps (e.g., Registry Modifications, system setting modification, environmental variance setting and component register) can be run.
In conclusion the call method of the application program described in the present embodiment, by responding in the tool bar of setting
The trigger action of option is set, and is judging that the application program operated by the trigger action in the presence of local, directly invokes
Start the application program, and the operating parameter of the trigger action is sent to the application program, to apply journey described
The operation indicated by the trigger action is carried out in sequence.Since the tool bar of the setting is loaded in browser side, therefore, it uses
Family does not need to carry out the switching between application program, and directly being operated by the option in the tool bar to setting can call
Application program, operation is succinct, avoids multiple switching, improves the calling efficiency of application program, has saved the time, and reduce
The operation of terminal system and processing load.
Meanwhile it after responding to the trigger action of the setting option in the tool bar of setting, is directly opened from local calling
Dynamic application program avoids user and goes to search startup manually, improves calling efficiency, have preferable user experience.
Embodiment two
With reference to Fig. 2, a kind of flow chart of the call method of application program in second embodiment of the invention is shown.In this reality
It applies in example, browser refers to the browser or IE browser of IE kernels, the call method of the application program, including:
Step 202, when the current page of the browser of IE kernels meets established standards, browser is in the finger of preset function
Under showing, message informing that the page load events information will be carried by the setting interface in the browser of the IE kernels
It is sent to the tool bar loading application programs of the browser independently of the IE kernels.
Preferably, the page load events information includes:The uniform resource locator and title of the current page.Institute
Whether the current page for stating the browser of IE kernels meets established standards, can judge in the following way:When the current page
When uniform resource locator and the title uniform resource locator corresponding with games page and title in face match, determine described
The current page of the browser of IE kernels meets established standards.
Step 204, browser receives the call request that the tool bar loading application programs return.
Step 206, browser responds the call request, calls dynamic link library, and pass through the dynamic link library and exist
The tool bar of the setting is loaded in the browser of the IE kernels.
In the present embodiment, the preset function and the dynamic link library are passed through by the tool bar loading application programs
The browser auxiliary object injects the browser of the IE kernels, so that the browser of the IE kernels is obtained and loaded described
Preset function and the dynamic link library.
For example, in the present embodiment, the specific implementation of the method for the tool bar of setting is loaded in the browser of IE kernels
Flow can be as follows:
First, preset function and dynamic link library are injected IE by browser auxiliary object and browsed by tool bar load-on module
In the host process of device.
Secondly, when IE browser starts and asks through the IE browser accession page, IE browser is described pre-
It puts under the instruction of function, the message informing generated in page loading procedure is sent to the work by IWebBrowser interfaces
Has a load-on module.
Then, tool bar load-on module is monitored the message informing, and the message informing and pre-set criteria are believed
Breath is compared.Wherein, page load events information is carried in the message informing;The page load events packet
It includes:The corresponding uniform resource locator of the current page and title.When the corresponding uniform resource locator of the current page
When uniform resource locator corresponding with title and games page and title Corresponding matching, the generation of tool bar load-on module is called please
It asks, and the call request is sent to IE browser.
Finally, IE browser calls dynamic link library, passes through the dynamic link library when receiving the call request
In the tool bar of IE browser side loading setting.
Step 208, browser response is to the trigger action of the setting option in the tool bar of setting.
Step 210, browser judges that the application program operated by the trigger action whether there is locally;It is answered when described
With program in the presence of local, step 212 is performed;Otherwise, step 214 is performed.
Step 212, browser, which calls, has the local corresponding startupoptions of the application program, to start the application
Program performs step 216.
Step 214, browser matches non-from server side download with the application program operated by the trigger action
Compressed package is installed;The non-installation compressed package is decompressed, obtains running the executable file of the application program;Pass through tune
With the executable file is started, start the application program to call, perform step 216.
In the present embodiment, after the application program calls startup by above-mentioned steps 212 or step 214, Ke Yiji
It is continuous to perform step 216.
Step 216, the operating parameter of the trigger action is sent to the application program by browser, in the application
The operation indicated by the trigger action is carried out in program.
Preferably, browser the operating parameter of the trigger action can be sent to by its corresponding host process it is described
Application program.
Step 218, browser carries disappearing for the page load events information by its corresponding host process by described
Breath notice is sent to the application program, to show the page to match with the message informing in the application program.
In the present embodiment, since the page load events information includes:The unified resource positioning of the current page
Symbol and title, therefore, it is described that the message informing for carrying the page load events information is sent to the application program
Can be:The uniform resource locator of the current page and title are sent to the application program.It and then can be in institute
State the page that the uniform resource locator and title of display and the current page in application program match.
Step 220, other options in the tool bar of the browser acquisition setting in addition to the setting option correspond to
Configuration parameter;And the configuration parameter is sent to by the application program by the corresponding host process of the browser, so that
The configuration of the page shown in the application program is synchronous with the configuration of current page holding.Wherein, the configuration ginseng
Number is used to indicate the configuration of the current page.
For example, multiple options can be included in the tool bar of the setting of the browser side of IE kernels loading, it is the multiple
Option includes but are not limited to:First option, the second option, third option and the 4th option.Wherein, when the 4th option is
When setting option, then first option, the second option and third option are then other options in addition to the setting option.
At this point, obtaining first option, the second option and the corresponding configuration parameter of third option respectively, corresponded to by the browser
Host process by first option, the second option and third option it is corresponding configuration parameter be sent to the application program, with
The configuration for making the page shown in the application program is synchronous with the configuration of current page holding.
What needs to be explained here is that above-mentioned steps 216, step 218 and step 220 can be held according to arbitrary sequencing
It goes, there is no inevitable sequencings between three.Preferably, above-mentioned steps 216, step 218 and step 220 can also be simultaneously
It carries out.The present embodiment is not restricted this.
In the present embodiment, one or more functions option can be included in the application program;Wherein, the function choosing
Item is used to carry out prompt operation to the page shown in the application program.
In conclusion the call method of the application program described in the present embodiment, by responding in the tool bar of setting
The trigger action of option is set, and is judging that the application program operated by the trigger action in the presence of local, directly invokes
Start the application program, and the operating parameter of the trigger action is sent to the application program, to apply journey described
The operation indicated by the trigger action is carried out in sequence.Since the tool bar of the setting is loaded in browser side, therefore, it uses
Family does not need to carry out the switching between application program, and directly being operated by the option in the tool bar to setting can call
Application program, operation is succinct, avoids multiple switching, improves the calling efficiency of application program, has saved the time, and reduce
The operation of terminal system and processing load.
Meanwhile it after responding to the trigger action of the setting option in the tool bar of setting, is directly opened from local calling
Dynamic application program avoids user and goes to search startup manually, improves calling efficiency, have preferable user experience.
Further, when the application program is in the absence of local, non-installation procedure compressed package can be directly downloaded, is led to
It crosses decompression process and directly runs executable file therein, and then realize the calling of application program, avoid download installation journey
Sequence installation application improves the calling efficiency of application program.And each item data can be synchronized when calling, it ensure that application program
With the consistency of browser current page data, reduce the operation of user, improve user experience, reduce server and bear
Load.
Embodiment three
With reference to above-described embodiment, below by a specific example to the realization flow of the call method of above application program
It is described in detail.
In the present embodiment, the tool bar of setting is a game tool item, and application program is then one and the trip
The corresponding Games Lobby of play tool bar.Wherein, the current page of the browser of IE kernels is a games page, meets setting mark
Standard, therefore, the game tool item completes calling, and the loaded and displayed in the browser of IE kernels.What needs to be explained here is that
Application program is matched with the tool bar of the setting, i.e., a kind of tool bar corresponds to a kind of corresponding application program.
With reference to Fig. 3, Fig. 4 and Fig. 5, the call method of Games Lobby a kind of in the present embodiment is described in detail.
Wherein, Fig. 3 shows a kind of flow chart of the call method of Games Lobby in third embodiment of the invention.Fig. 4 is the present embodiment
A kind of middle schematic diagram that game tool item is loaded in the browser of IE kernels.Fig. 5 is a kind of Games Lobby in the present embodiment
Call schematic diagram.
With reference to Fig. 4, in the present embodiment, the game tool item includes multiple option of operation, such as:Mine plays, is small
Number, speed change, it is full frame, repair, boss has come, the option of operation such as mute and more tool.
With reference to Fig. 5, in the present embodiment, when user is triggered in the game tool loaded on the browser of the IE kernels
After setting option (e.g., " more tools " option of operation in Fig. 4), corresponding application program (e.g., Games Lobby) starts, and can
To carry out loaded and displayed in the front end of terminal, the interface of the browser of the IE kernels is covered.
With reference to Fig. 3, in the present embodiment, the calling idiographic flow of Games Lobby is as follows:
Step 302, when user trigger game tool item in setting option when, IE kernels browser response to play work
Has the trigger action of the setting option in item.
Step 304, IE kernels browser judge local whether there is Games Lobby.
Preferably, judging result can there are two types of:Locally there is Games Lobby;It is local there is no Games Lobby.
If judging result is:Locally there is Games Lobby, that is, the Games Lobby is installed in local by installation procedure
Into, and have corresponding startupoptions;Then, step 306 is performed.
If judging result is:When locally there is no Games Lobby, then, step 308 is performed.
Step 306:The browser of IE kernels directly starts the Games Lobby by the startupoptions.
Preferably, when starting Games Lobby by step 306, step 310 can be performed.
Step 308:The browser of IE kernels is downloaded and the application program phase operated by the trigger action from server side
Matched non-installation compressed package;And the executable file in the non-installation compressed package is obtained by decompression process, run institute
Executable file is stated to start Games Lobby.
Preferably, it is described it is non-installation compressed package in contain directly run the Games Lobby necessary to All Files,
Games Lobby can be directly initiated by running executable file therein after decompression, so that the non-installation compressed package
Without carrying out installation steps (e.g., the steps such as Registry Modifications, system setting modification, environmental variance setting and component register in the machine
Suddenly it can run).When starting Games Lobby by step 308, step 310 can be performed.
Step 310, when Games Lobby starts, the browser of IE kernels can send out the operating parameter of the trigger action
The Games Lobby is given, to carry out the operation indicated by the trigger action in the Games Lobby.
In the present embodiment, the following two kinds situation can be included by triggering the startup of Games Lobby:
When user triggers " more tools " option of operation in the game tool item, the browsers of IE kernels passes through upper
It states step 306 or step 308 starts the Games Lobby.
When user triggers any one option of operation in the game tool item, the browsers of IE kernels passes through above-mentioned
Step 306 or step 308 start the Games Lobby.
Preferably, following steps can also be performed when starting the Games Lobby in browser:
Step 312, the browser of IE kernels leads to the uniform resource locator of current page (that is, games page) and title
The host process for crossing browser is sent to the Games Lobby, so that the Games Lobby can directly add after complete start
It carries and shows the page to match with the uniform resource locator and title of the current page, it is big in game to avoid user
The Room is manually entered or searches the games page opened and matched with current page after starting, improve efficiency, saved the time.
Step 314, the operating parameter of the trigger action (e.g., more tools) is passed through the IE by the browser of IE kernels
The host process of the browser of kernel is sent to the Games Lobby, to carry out " more tools " triggering behaviour in the Games Lobby
Make indicated operation.
Step 316, the browser of IE kernels is obtained in the game tool item except the setting option (e.g., more tools)
Except the corresponding configuration parameter of other options;And the host process for the browser for passing through the IE kernels is by the configuration parameter
The Games Lobby is sent to, so that the configuration of the page shown in the Games Lobby and matching for the going game page
Holding is put to synchronize.
For example, triggering " more tools " option of operation in Fig. 4 with user, the browser of IE kernels, which calls, starts game greatly
For the Room (e.g., the Games Lobby page shown in fig. 5).With reference to Fig. 4, user opens in the current page of the browser of IE kernels
One web game A, at this point, the corresponding uniform resource locator of the current page and title meet established standards, therefore, in institute
It states and a game tool A is loaded on the browser of IE kernels.The option of operation that user is led on game tool A, which is configured with, to be worked as
The parameter of web game A in the preceding page, e.g., it is X2 to control the speed of web game A by " speed change " option of operation;Pass through
The audio of " mute " option of operation control web game A is in off state.When user triggers " the more multiplexing on game tool A
During tool " option of operation, the browser of IE kernels is called by above-mentioned steps 306 or step 308 starts Games Lobby, meanwhile, it will
The uniform resource locator and title of web game A is sent to Games Lobby by host process, so that Games Lobby is loaded directly into
Show a games page a to match with web game A;Meanwhile the triggering information of " the more tools " of user's triggering is led to
It crosses host process and is sent to Games Lobby, so that Games Lobby performs corresponding operation in games page a, that is, displaying more multioperation
Option;Meanwhile user is passed through into configurations of the game tool A to web game A on the current page of the browser of IE kernels
Parameter (speed X2, the muting parameter of above-mentioned web game A) is sent to Games Lobby also by host process, so that Games Lobby
The configuration parameter of the games page a of middle loading and the configuration consistency of the current page of the browser of IE kernels, that is, in Games Lobby
Game rate in the games page a of loading is also X2 and mute state.
In the present embodiment, after Games Lobby starts successfully, following step 318 can be continued to execute:
Step 318, IE kernels browser response user to the trigger event of the option of operation in Games Lobby, to perform
Corresponding operation;And/or the browser response user of the IE kernels is to the game tool item that is loaded in the browser of IE kernels
In option of operation trigger event, to perform corresponding operation.
Preferably, the game tool item that the browser of the IE kernels loads in response user is to the browser of IE kernels
In option of operation trigger event when, the corresponding parameter information of option of operation in game tool item is sent by host process
To Games Lobby, so that Games Lobby can respond user to the operation in the game tool item that is loaded in the browser of IE kernels
The trigger event of option, and perform corresponding operation.
For example, after Games Lobby starts successfully, user is clicked in the game tool item loaded in IE kernel browsers
" speed change " option of operation, and speed change is selected as X3;The browser of IE kernels by " speed change, X3 " this corresponding parameter by it is main into
Journey is sent to Games Lobby, so that after this parameter is received, speed change of playing accordingly is configured in Games Lobby in Games Lobby,
And speed change X3.
In the present embodiment, Games Lobby includes multiple function choosing-items, and user can also be by Games Lobby
The operation of function choosing-item is realized and carries out prompt operation to the game loaded in Games Lobby.
Here, a brief description is carried out to the method that game tool item is loaded in the browser of IE kernels.IE kernels
Browser loading game tool item method can be as follows:
First, preset function and dynamic link library are injected IE by browser auxiliary object and browsed by tool bar load-on module
In the host process of device.
Secondly, when IE browser starts and asks through the IE browser accession page, IE browser is described pre-
It puts under the instruction of function, the message informing generated in page loading procedure is sent to the work by IWebBrowser interfaces
Has a load-on module.
Then, tool bar load-on module is monitored the message informing, and the message informing and pre-set criteria are believed
Breath is compared.Wherein, page load events information is carried in the message informing;The page load events packet
It includes:The corresponding uniform resource locator of the current page and title.When the corresponding uniform resource locator of the current page
When uniform resource locator corresponding with title and games page and title Corresponding matching, the generation of tool bar load-on module is called please
It asks, and the call request is sent to IE browser.
Finally, IE browser calls dynamic link library, passes through the dynamic link library when receiving the call request
Game tool item is loaded in IE browser side.
In conclusion the call method of the application program described in the present embodiment, by responding in the tool bar of setting
The trigger action of option is set, and is judging that the application program operated by the trigger action in the presence of local, directly invokes
Start the application program, and the operating parameter of the trigger action is sent to the application program, to apply journey described
The operation indicated by the trigger action is carried out in sequence.Since the tool bar of the setting is loaded in browser side, therefore, it uses
Family does not need to carry out the switching between application program, and directly being operated by the option in the tool bar to setting can call
Application program, operation is succinct, avoids multiple switching, improves the calling efficiency of application program, has saved the time, and reduce
The operation of terminal system and processing load.
Meanwhile it after responding to the trigger action of the setting option in the tool bar of setting, is directly opened from local calling
Dynamic application program avoids user and goes to search startup manually, improves calling efficiency, have preferable user experience.
Further, when the application program is in the absence of local, non-installation procedure compressed package can be directly downloaded, is led to
It crosses decompression process and directly runs executable file therein, and then realize the calling of application program, avoid download installation journey
Sequence installation application improves the calling efficiency of application program.And each item data can be synchronized when calling, it ensure that application program
With the consistency of browser current page data, reduce the operation of user, improve user experience, reduce server and bear
Load.
It should be noted that for aforementioned embodiment of the method, in order to be briefly described, therefore it is all expressed as a series of
Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement, because according to
According to the present invention, certain steps may be used other sequences or be carried out at the same time.Secondly, those skilled in the art should also know,
Embodiment described in this description belongs to preferred embodiment, and involved action is not necessarily essential to the invention.
Example IV
Based on the same inventive concept of above method embodiment.With reference to Fig. 6, show a kind of in fourth embodiment of the invention
The structure diagram of the calling system of application program.In the present embodiment, the calling system of the application program, including:
Respond module 602, for responding the trigger action to the setting option in the tool bar of setting.
Wherein, when the current page of the tool bar set as the browser when IE kernels meets established standards, loading
Tool bar in the current page of the browser.
Judgment module 604, for judging that the application program operated by the trigger action whether there is locally.
First calling module 606, in the presence of local, calling in the application program and starting the application program.
In the present embodiment, the application program exists in local and refers to:The Games Lobby is carried out by installation procedure
Series installation operation (e.g., changing registration table, component registration, setting installation environment etc.) complete in local installation, and
Locally there is corresponding startupoptions.
Preferably, when the application program is in the absence of local, it can directly terminate the calling of application program.It can also
User is prompted to download the corresponding installation kit of the application program, then in the locally-installed application program, when above application journey
Sequence is further continued for performing the calling of the application program after installation is complete.It is it is also possible that corresponding non-by downloading the application program
Installation compressed package directly runs the executable file in the non-installation compressed package after decompression, to realize the application program
Calling.The present embodiment is not restricted this.Wherein, the non-installation compressed package can be:It contains and directly runs the trip
The compressed package of All Files necessary to play hall.The non-installation compressed package, can be therein by running after decompression
Executable file and then Games Lobby is directly initiated, i.e., described non-installation compressed package does not have to carry out installation steps in the machine (e.g., to note
The modification of volume table, system setting modification, environmental variance setting and component register and etc.) can run.
Operating parameter transfer module 608, for the operating parameter of the trigger action to be sent to the application program, with
The operation indicated by the trigger action is carried out in the application program.
In conclusion the calling system of the application program described in the present embodiment, by responding in the tool bar of setting
The trigger action of option is set, and is judging that the application program operated by the trigger action in the presence of local, directly invokes
Start the application program, and the operating parameter of the trigger action is sent to the application program, to apply journey described
The operation indicated by the trigger action is carried out in sequence.Since the tool bar of the setting is loaded in browser side, therefore, it uses
Family does not need to carry out the switching between application program, and directly being operated by the option in the tool bar to setting can call
Application program, operation is succinct, avoids multiple switching, improves the calling efficiency of application program, has saved the time, and reduce
The operation of terminal system and processing load.
Meanwhile it after responding to the trigger action of the setting option in the tool bar of setting, is directly opened from local calling
Dynamic application program avoids user and goes to search startup manually, improves calling efficiency, have preferable user experience.
Embodiment five
With reference to Fig. 7, a kind of structure diagram of the calling system of application program in fifth embodiment of the invention is shown.At this
In embodiment, the calling system of the application program, including:
First message notifies sending module 702, for when the current page of the browser of IE kernels meets established standards,
Under the instruction of preset function, the page load events will be carried by the setting interface in the browser of the IE kernels
The message informing of information is sent to the tool bar loading application programs of the browser independently of the IE kernels.
In the present embodiment, the page load events information includes:The uniform resource locator of the current page and
Title.Preferably, when the unified resource positioning corresponding with games page of the uniform resource locator and title of the current page
When symbol and title match, determine that the current page of the browser of the IE kernels meets established standards.
Call request receiving module 704, for receiving the call request that the tool bar loading application programs return.
Tool bar load-on module 706 for responding the call request, calls dynamic link library, and pass through the dynamic
Chained library loads the tool bar of the setting in the browser of the IE kernels.
Wherein, the preset function and the dynamic link library pass through the browsing by the tool bar loading application programs
Device auxiliary object injects the browser of the IE kernels, so that the browser of the IE kernels obtains and loads the preset function
With the dynamic link library.
Respond module 708, for responding the trigger action to the setting option in the tool bar of setting.
In the present embodiment, the current page of the tool bar set as the browser when IE kernels meets established standards
When, load the tool bar in the current page of the browser.
Judgment module 710, for judging that the application program operated by the trigger action whether there is locally.
Preferably, in the present embodiment, after the judgment module 710, can perform the first calling module 712 or
Person performs download module 714.
First calling module 712, in the presence of local, calling in the application program and starting the application program.
In the present embodiment, the application program includes one or more functions option;Wherein, the function choosing-item is used
In the page progress prompt operation to being shown in the application program.
Download module 714, in the absence of local, being downloaded and the triggering from server side in the application program
The non-installation compressed package that the operated application program of operation matches.
Decompression module 716, for being decompressed to the non-installation compressed package, obtain running the application program can
Perform file.
Second calling module 718 starts the executable file for passing through to call, to call startup is described to apply journey
Sequence.
After first calling module 712 or second calling module 718 have performed, operating parameter is continued to execute
Transfer module 720.
Operating parameter transfer module 720, for the operating parameter of the trigger action to be sent to the application program, with
The operation indicated by the trigger action is carried out in the application program.
In the present embodiment, the operating parameter transfer module 720, specifically for passing through the browser of the IE kernels
The operating parameter of the trigger action is sent to the application program by host process.
Second message notification module 722, for when the calling starts the application program, passing through the IE kernels
The message informing for carrying the page load events information is sent to the application program by the host process of browser, with
The page that display matches with the message informing in the application program.
In the present embodiment, the second message notification module 722 shows in the application program and leads to the message
When knowing the page to match, can specifically it refer to:Display and the unified resource of the current page are determined in the application program
The page that position symbol and title match.
Parameter acquisition module 724 is configured, for when the calling starts the application program, obtaining the work of the setting
Has the corresponding configuration parameter of other options in addition to the setting option in item;Wherein, the configuration parameter is used to indicate institute
State the configuration of current page.
Synchronization module 726, for the configuration parameter to be sent to institute by the host process of the browser of the IE kernels
Application program is stated, so that the configuration of the page shown in the application program is synchronous with the configuration of current page holding.
In the present embodiment, operating parameter transfer module 720 and second message notification module 722 and configuration parameter obtain
There is no inevitable sequencing between modulus block 724 and synchronization module 726.Operating parameter transfer module 720 and second message are led to
Know that module 722 and configuration parameter acquisition module 724 and synchronization module 726 can also be performed simultaneously, the present embodiment does not make this
Limitation.
In conclusion the calling system of the application program described in the present embodiment, by responding in the tool bar of setting
The trigger action of option is set, and is judging that the application program operated by the trigger action in the presence of local, directly invokes
Start the application program, and the operating parameter of the trigger action is sent to the application program, to apply journey described
The operation indicated by the trigger action is carried out in sequence.Since the tool bar of the setting is loaded in browser side, therefore, it uses
Family does not need to carry out the switching between application program, and directly being operated by the option in the tool bar to setting can call
Application program, operation is succinct, avoids multiple switching, improves the calling efficiency of application program, has saved the time, and reduce
The operation of terminal system and processing load.
Meanwhile it after responding to the trigger action of the setting option in the tool bar of setting, is directly opened from local calling
Dynamic application program avoids user and goes to search startup manually, improves calling efficiency, have preferable user experience.
Further, when the application program is in the absence of local, non-installation procedure compressed package can be directly downloaded, is led to
It crosses decompression process and directly runs executable file therein, and then realize the calling of application program, avoid download installation journey
Sequence installation application improves the calling efficiency of application program.And each item data can be synchronized when calling, it ensure that application program
With the consistency of browser current page data, reduce the operation of user, improve user experience, reduce server and bear
Load.
For above device embodiment, since it is basicly similar to embodiment of the method, so description is fairly simple,
The relevent part can refer to the partial explaination of embodiments of method.
Algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment provided herein.
Various general-purpose systems can also be used together with teaching based on this.As described above, required by constructing this kind of system
Structure be obvious.In addition, the present invention is not also directed to any certain programmed language.It should be understood that it can utilize various
Programming language realizes the content of invention described herein, and the description done above to language-specific is to disclose this hair
Bright preferred forms.
In the specification provided in this place, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention
Example can be put into practice without these specific details.In some instances, well known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this description.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of each inventive aspect,
Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor
Shield the present invention claims the more features of feature than being expressly recited in each claim.More precisely, as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim is in itself
Separate embodiments all as the present invention.
Those skilled in the art, which are appreciated that, to carry out adaptively the module in the equipment in embodiment
Change and they are arranged in one or more equipment different from the embodiment.It can be the module or list in embodiment
Member or component be combined into a module or unit or component and can be divided into addition multiple submodule or subelement or
Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it may be used any
Combination is disclosed to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so to appoint
Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification is (including adjoint power
Profit requirement, abstract and attached drawing) disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation
It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments
In included certain features rather than other feature, but the combination of the feature of different embodiments means in of the invention
Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed
One of meaning mode can use in any combination.
The all parts embodiment of the present invention can be with hardware realization or to be run on one or more processor
Software module realize or realized with combination thereof.It will be understood by those of skill in the art that it can use in practice
Microprocessor or digital signal processor (DSP) are realized in the calling equipment of application program according to embodiments of the present invention
The some or all functions of some or all components.The present invention is also implemented as performing method as described herein
Some or all equipment or program of device (for example, computer program and computer program product).Such reality
The program of the existing present invention can may be stored on the computer-readable medium or can have the form of one or more signal.
Such signal can be downloaded from internet website to be obtained either providing or in the form of any other on carrier signal
It provides.
It should be noted that the present invention will be described rather than limits the invention, and ability for above-described embodiment
Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference mark between bracket should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real
It is existing.If in the unit claim for listing equipment for drying, several in these devices can be by same hardware branch
To embody.The use of word first, second, and third does not indicate that any sequence.These words can be explained and run after fame
Claim.
The invention discloses A1, a kind of call method of application program, including:
Respond the trigger action to the setting option in the tool bar of setting;Wherein, the tool bar set is works as IE
When the current page of the browser of kernel meets established standards, the tool bar in the current page of the browser is loaded;
Judge that the application program operated by the trigger action whether there is locally;
It when the application program is in the presence of local, calls and starts the application program, and by the behaviour of the trigger action
The application program is sent to as parameter, to carry out the operation indicated by the trigger action in the application program.
Whether A2, the method as described in A1 deposit in the application program judged operated by the trigger action locally
The step of after, the method further includes:
When the application program is in the absence of local, downloaded and the application operated by the trigger action from server side
The non-installation compressed package that program matches;
The non-installation compressed package is decompressed, obtains running the executable file of the application program;
Start the executable file by calling, start the application program to call, and by the trigger action
Operating parameter is sent to the application program, to carry out the operation indicated by the trigger action in the application program.
A3, the method as described in A1 or A2, the operating parameter by the trigger action are sent to the application program,
Including:
The operating parameter of the trigger action is sent to by the application by the host process of the browser of the IE kernels
Program.
A4, the method as described in A1, in the response to the step of the trigger action of the setting option in the tool bar of setting
Before rapid, the method further includes:
When the current page of the browser of IE kernels meets established standards, under the instruction of preset function, by described
Setting interface in the browser of IE kernels by the message informing for carrying the page load events information be sent to independently of
The tool bar loading application programs of the browser of the IE kernels;
Receive the call request that the tool bar loading application programs return;
The call request is responded, calls dynamic link library, and pass through the dynamic link library in the clear of the IE kernels
It lookes in device and loads the tool bar of the setting;
Wherein, the preset function and the dynamic link library pass through the browsing by the tool bar loading application programs
Device auxiliary object injects the browser of the IE kernels, so that the browser of the IE kernels obtains and loads the preset function
With the dynamic link library.
A5, the method as described in A4, when the calling starts the application program, the method further includes:
By the host process of the browsers of the IE kernels by the message for carrying the page load events information
Notice is sent to the application program, to show the page to match with the message informing in the application program.
A6, the method as described in A4 or A5, the page load events information include:The unified resource of the current page
Finger URL and title.
A7, the method as described in A6, the page that display matches with the message informing in the application program,
Including:
The page that the uniform resource locator and title of display and the current page match in the application program.
A8, the method as described in A6, the current page of the browser of the IE kernels meet established standards, including:
When the current page uniform resource locator and title uniform resource locator corresponding with games page and
When title matches, determine that the current page of the browser of the IE kernels meets established standards.
A9, the method as described in A1 or A2, when the calling starts the application program, the method further includes:
Obtain the corresponding configuration parameter of other options in addition to the setting option in the tool bar of the setting;Its
In, the configuration parameter is used to indicate the configuration of the current page;
The configuration parameter is sent to by the application program by the host process of the browser of the IE kernels, so that
The configuration of the page shown in the application program is synchronous with the configuration of current page holding.
A10, the method as described in A1, the application program include one or more functions option;Wherein, the function
Option is used to carry out prompt operation to the page shown in the application program.
The invention also discloses B11, a kind of calling system of application program, including:
Respond module, for responding the trigger action to the setting option in the tool bar of setting;Wherein, the setting
Tool bar is when the current page of the browser of IE kernels meets established standards, is loaded in the current page of the browser
Tool bar;
Judgment module, for judging that the application program operated by the trigger action whether there is locally;
First calling module, in the presence of local, calling in the application program and starting the application program;
Operating parameter transfer module, for the operating parameter of the trigger action to be sent to the application program, with
The operation indicated by the trigger action is carried out in the application program.
B12, the system as described in B11, the system also includes:
Download module, in the absence of local, downloading from server side and being grasped with the triggering in the application program
Make the non-installation compressed package that operated application program matches;
Decompression module for decompressing the non-installation compressed package, obtains running holding for the application program
Style of writing part;
Second calling module starts the executable file for passing through to call, starts the application program to call.
B13, the system as described in B11 or B12,
The operating parameter transfer module, specifically for the browser by the IE kernels host process by the triggering
The operating parameter of operation is sent to the application program.
B14, the system as described in B11, the system also includes:
First message notifies sending module, for being responded in the respond module to the setting option in the tool bar of setting
Trigger action before, when the current page of the browser of IE kernels meets established standards, under the instruction of preset function, lead to
The message informing for carrying the page load events information is sent to by the setting interface crossed in the browser of the IE kernels
Independently of the tool bar loading application programs of the browser of the IE kernels;
Call request receiving module, for receiving the call request that the tool bar loading application programs return;
Tool bar load-on module for responding the call request, calls dynamic link library, and pass through the dynamic link
Library loads the tool bar of the setting in the browser of the IE kernels;
Wherein, the preset function and the dynamic link library pass through the browsing by the tool bar loading application programs
Device auxiliary object injects the browser of the IE kernels, so that the browser of the IE kernels obtains and loads the preset function
With the dynamic link library.
B15, the system as described in B14, the system also includes:
Second message notification module, for when the calling starts the application program, passing through the clear of the IE kernels
The message informing for carrying the page load events information is sent to the application program by the host process of device of looking at, with
The page that display matches with the message informing in the application program.
B16, the system as described in B14 or B15, the page load events information include:The unification of the current page
Resource Locator and title.
B17, the system as described in B16, the second message notification module is shown in the application program to disappear with described
During the page that breath notice matches, including:
The page that the uniform resource locator and title of display and the current page match in the application program.
B18, the system as described in B16, the current page of the browser of the IE kernels meet established standards, including:
When the current page uniform resource locator and title uniform resource locator corresponding with games page and
When title matches, determine that the current page of the browser of the IE kernels meets established standards.
B19, the system as described in B11 or B12, the system also includes:
Parameter acquisition module is configured, for when the calling starts the application program, obtaining the tool of the setting
The corresponding configuration parameter of other options in item in addition to the setting option;Wherein, the configuration parameter is used to indicate described
The configuration of current page;
Synchronization module, for the configuration parameter to be sent to described answer by the host process of the browser of the IE kernels
With program, so that the configuration of the page shown in the application program is synchronous with the configuration of current page holding.
B20, the system as described in B11, the application program include one or more functions option;Wherein, the work(
Energy option is used to carry out prompt operation to the page shown in the application program.