Summary of the invention
The object of this invention is to provide a kind of method and terminal of share application, the application program on different browsers is integrated mutually, shared resource.
For achieving the above object, first aspect present invention provides a kind of method of share application, and described method comprises:
First browser, when receiving the triggering command of network intention, determines at least one second browser installed in terminal;
Described first browser sends request the first request of application program to described second browser started;
Described first browser receives described second browser and asks according to described first the application program that returns;
Described first browser presents to user after the application program that the application program of described first browser registration and described second browser return being integrated;
When in the application program that described second browser returns one of described first browser is chosen, utilize network intention described in described chosen application program process.
In conjunction with first aspect, in the first possible embodiment of first aspect, to send request the first request of application program to described second browser at described first browser before, also comprise:
Described first browser by call can executive's interface set up and described second browser process between communication connection.
In conjunction with the first possible embodiment of first aspect or first aspect, in the embodiment that the second of first aspect is possible, when in the application program that described second browser returns one of described first browser is chosen, utilize network intention described in described chosen application program process, comprising:
Described chosen application program is registered on described first browser by described first browser, and loads described chosen application program, processes the data that described network is intended to.
In conjunction with the embodiment that the second of first aspect is possible, in the third possible embodiment of first aspect, described first browser can not, described in normal process during network intention, nullify and cut out described chosen application program when described chosen application program in described first browser.
In conjunction with the embodiment that the second of first aspect is possible, in the 4th kind of possible embodiment of first aspect, described first browser can not, described in normal process during network intention, ask described second browser to load described chosen application program when described chosen application program in described first browser;
The data that described network is intended to by described first browser send to the described chosen application program that described second browser loads via described second browser;
Described first browser receives the result after the data processing that described chosen application program that described second browser that returns of described second browser loads is intended to described network.
In conjunction with the first possible embodiment of first aspect or first aspect, in the 5th kind of possible embodiment of first aspect, described first browser utilizes network intention described in described chosen application program process, comprising:
Described in described first browse request, the second browser loads described chosen application program;
The data that described network is intended to by described first browser send to the described chosen application program that described second browser loads via described second browser;
Described first browser receives the result after the data processing that described chosen application program that described second browser that returns of described second browser loads is intended to described network.
In conjunction with the 4th kind of possible embodiment or the 5th kind of possible embodiment of first aspect, in the 6th kind of possible embodiment of first aspect, after result after the data processing that the described chosen application program that described second browser that described second browser of described first browser reception returns loads is intended to described network, also comprise:
Described first browser sends second request of cutting out described selected application program to described second browser, described second request triggers described second browser and closes described chosen application program.
In conjunction with the 4th kind of possible embodiment of first aspect or the 5th kind of possible embodiment or the 6th kind of possible embodiment, in the 7th kind of possible embodiment of first aspect, after result after the data processing that the described chosen application program that described second browser that described second browser of described first browser reception returns loads is intended to described network, also comprise:
Described first browser utilizes the customer terminal webpage loaded to show described result.
In conjunction with the first possible embodiment of first aspect or first aspect, in the 8th kind of possible embodiment of first aspect, described first browser utilizes network intention described in described chosen application program process, comprising:
Described in described first browse request, the second browser loads described chosen application program;
The data that described network is intended to by described first browser send to the described chosen application program that described second browser loads via described second browser, the data of described network intention by after described chosen application program process that described second browser loads, the result that the customer terminal webpage display loaded by described second browser is corresponding.
Second aspect, present invention also offers a kind of terminal of share application, and described terminal comprises:
First receiving element, for the triggering command utilizing the first browser to receive network intention;
Determining unit, for when described receiving element receives described triggering command, utilizes described first browser to determine at least one second browser installed in terminal;
Transmitting element, sends request the first request of application program for utilizing described first browser to described second browser started;
Second receiving element, receives described second browser for utilizing described first browser and asks according to described first the application program that returns;
Display unit, presents to user after the application program that the application program of described first browser registration and described second browser return being integrated for utilizing described first browser;
Processing unit, time chosen in the application program that returns at described second browser, utilizes network intention described in described chosen application program process.
In conjunction with second aspect, in the first embodiment of second aspect, described terminal also comprises:
Set up unit, for utilize described first browser by call can executive's interface set up and described second browser process between communication connection.
In conjunction with second aspect, in the second embodiment of second aspect, described processing unit specifically for, described first browser is utilized to be registered on described first browser by described chosen application program, and load described chosen application program, the data that described network is intended to are processed.
In conjunction with the second embodiment of second aspect, in the third embodiment of second aspect, described processing unit also for, when described chosen application program can not, described in normal process during network intention, be nullified and close described chosen application program in described first browser.
In conjunction with the second embodiment of second aspect, in the 4th kind of embodiment of second aspect, described processing unit also for, when described chosen application program can not, described in normal process during network intention, ask described second browser to load described chosen application program in described first browser;
The data utilizing described first browser to be intended to by described network send to the described chosen application program that described second browser loads via described second browser;
Result after the data processing that the described chosen application program utilizing described first browser to receive described second browser that returns of described second browser loads is intended to described network.
In conjunction with the first embodiment of second aspect, in the 5th kind of embodiment of second aspect, described processing unit specifically for:
The second browser described in described first browse request is utilized to load described chosen application program;
The data utilizing described first browser to be intended to by described network send to the described chosen application program that described second browser loads via described second browser;
Result after the data processing that the described chosen application program utilizing described first browser to receive described second browser that returns of described second browser loads is intended to described network.
In conjunction with the 4th kind of embodiment or the 5th kind of embodiment of second aspect, in the 6th kind of embodiment of second aspect, described transmitting element is also for utilizing described first browser to send second request of closing described selected application program to described second browser, and described second request triggers described second browser and closes described chosen application program.
In conjunction with the 4th kind of embodiment of second aspect or the 5th kind of embodiment or the 6th kind of embodiment, in the 7th kind of embodiment of second aspect, described display unit is also for utilizing the customer terminal webpage that described first browser loads to show described result.
In conjunction with the second embodiment of second aspect, in the 8th kind of embodiment of second aspect, described processing unit specifically for:
The second browser described in described first browse request is utilized to load described chosen application program;
The data utilizing described first browser to be intended to by described network send to the described chosen application program that described second browser loads via described second browser, the data of described network intention by after described chosen application program process that described second browser loads, the result that the customer terminal webpage display loaded by described second browser is corresponding.
The method of share application provided by the invention and terminal, more weblication can be provided to select for using the user of web intent mechanism, and the cooperation between achieving by different browsers has carried out the process to network intention jointly, application program on different browsers is integrated mutually, shared resource.
Embodiment
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Web application is the application program presented with form web page, such as web qq etc., and it is usually by browser execution, makes user be easy to access these application programs, generally only needs browser, does not need to install other software again.
The method of the share application that the embodiment of the present invention provides and terminal, the weblication that different browsers can be provided is integrated, be applicable to the scene of various use network intention (web intent) mechanism, realize sharing of the data of the shared of weblication and network intention thereof, make it jointly for user provides service.
Fig. 1 is the method flow diagram of the share application that the present embodiment provides, and as shown in Figure 1, the method for share application of the present invention comprises:
S100, first browser set up and the second browser process between communication connection.
If will realize sharing weblication between two browsers, then need first to set up the communication connection between the process between these two browsers.The mode of executive's interface can set up between two browsers between process communication connection by calling in the embodiment of the present invention.
Particularly, before setting up the communication connection between the first browser and the second browser process, also comprise:
When the first browser receives the instruction or installation browser or first time startup browser of setting up communication port, the first browser obtains other browser informations installed on present terminal, and these other browsers comprise the second browser.
First browser and the second browser mutually can executive's interfaces to correspondent registration one.What the first browser utilization was registered can obtain the application list that in the second browser, registered application program or the second browser provide by executive's interface.
Like this, can executive's interface by calling this, namely set up the connection of the communication port between described first browser and the second browser process.
Such as, when user is at installation browser A or first time startup browser A or when having user to input the instruction of setting up communication port, then first browser A can obtain other browsers that terminal is installed (such as, browser B), then browser A registers an executable interface GetRegisterAPP () to browser B, can directly call GetRegisterAPP () to obtain chartered application program or browser B in browser B provide the ability of weblication when browser A runs.Same, browser B also registers an executable interface GetRegisterAPP () to browser A, and browser B operationally can directly call GetRegisterAPP () to obtain chartered application program or browser A in browser A and provide the ability of weblication.
It should be noted that, by registration can after executive's interface, usually can needs call this can executive's interface time, just set up the communication port between two browser process, and then can data communication be carried out between these two browsers, in the whole process of data communication, the state that Path Setup connects can be kept, after communication, then close the communication port between these two browser process.
Alternatively, after setting up the communication connection between the first browser and the second browser process, also comprise: the connection of setting up two browsers and finger daemon, use same common line title (busname) to identify the data bus of the communication connection between described first browser and the second browser process.
Such as, common line title " www.webintents.org " can be used to identify, so that browser can identify the other side.
The present invention it should be noted that, if after the communication connection between two browser process set up, then can not need S100, that is, S100 is optional step.
S101, when receiving the triggering command of network intention web intent, at least one second browser installed in terminal determined by the first browser.
The triggering command of web intent can adopt startactivity(usually) function.And, at startactivity() can parameter FetchAppFromOther be carried in function, parameter FetchAppFromOther needs to ask other browse request the application lists in order to identify described first browser.When the first browser receives triggering command, other browsers that collection terminal is installed, other browsers at least comprise the second browser.
Such as, when customer terminal webpage client page on browser A triggers startactivity (), if startactivity () function has increase parameter FetchAppFromOther, then showing that the first browser needs go for asks other browser to provide weblication list, then determine other browsers (browser B) that terminal is installed.
If when the second browser (browser B) is in the state do not started, first start the second browser.
S102, the first browser send request the first request of application program to the second browser started, and receive the second browser and ask according to described first the application program that returns.
What the first browser started the second browser registration can executive's interface, sent request the first request of application program to the second browser by the communication port between the second browser process, and receiving the application program that the second browser returns, the application program returned is generally the form of the application list.
In the first request of the request applications of the second browser transmission, carry-on parameter comprises: intent request mark (Intentservice_get_call), the second browser mark (Browser_id), message id (origin_message_no), the type (action) of Intent service, the type (type) etc. of Intent data.After the second browser receives above-mentioned first request, in the response of above-mentioned first request of correspondence, carry weblication list.
Such as, browser A starts GetRegisterApp () interface, sends request to obtain to browser B the weblication that browser B can provide.Carry intent in request message and ask mark, browser B mark, message id etc.After browser B receives above-mentioned request, in the response of the above-mentioned request of correspondence, carry weblication list.
It should be noted that: if present terminal is provided with multiple browser, then the first browser sends request the first request of application program respectively to multiple browser.
The application program that first browser is registered by S103, the first browser and the application program that described second browser returns present to user after integrating.
The process such as duplicate removal or sequence is carried out in the main application programs list of first browser, the application list generated is presented to user, select for user after process.
If the first browser receives the application list that multiple browser returns, then present to user after being integrated by the application list that multiple the application list and the first browser are registered.
When in the application program that described second browser returns one of S104, the first browser is chosen, utilize network intention described in described chosen application program process.
First browser, after the application list after integration is shown to user, also comprises: receive the application information that user selects.
When be selected application program is the application program of the second browser, the first browser utilizes network intention described in chosen application program process.
Particularly, described in the application program process selected by utilization network intention can in the following ways in any one:
First kind of way:
Chosen application program is registered on the first browser by the first browser, and loads described chosen application program, and then, the data that described network is intended to are processed.
Optionally, after the described application program of described loading, if described application program can not web intent described in normal process in described first browser, described first browser nullifies and cuts out described application program.Or, when can not normal process time, adopt the second way below to process.
The second way, as shown in Figure 2, comprising:
S201, the first browse request second browser load chosen application program.
First browser (browser A) sends the request loading chosen application program to the second browser (browser B) by the communication port between process, the parameter of carrying in this request: request mark (intent_loadapp_call), the address (app_url) of the web application loaded, this request from the mark (remote_request_flg) of browser, message id (origin_message_no), the type (action) of Intent service, the type (type) of Intent data, the Uniform Resource Identifier (client_page_url) etc. of customer terminal webpage.Browser B loads this web application after receiving request, and loads client_page_url on backstage.
When the first browse request second browser loads chosen application program, can before or afterwards, the first browser loads customer terminal webpage (client page), in order to the data result after Graphics Processing.When receive described chosen application program that the second browser loads to described intent data process after after the result that returns, show described result at customer terminal webpage.
Alternatively, customer terminal webpage in order to show described result also can be loaded on backstage by the second browser, such as when user does not ask in the application program process that the first browser loads, need by second this user of browser process request, after the application program selected described in then loading on the second browser processes described intent data, the result of correspondence is fed back to the second browser by this application program, then transfers via backstage the customer terminal webpage that the second browser loading is passed on foreground to.Employing second browser is loaded to the mode of customer terminal webpage on backstage, follow-up step S203 can be omitted.
The data that described network is intended to by S202, the first browser send to the described chosen application program that described second browser loads via described second browser.
Browser A sends Sendintentdata request to browser B, so that needing intent data to be processed to send to weblication via browser B.After weblication receives intent data, process intent data, then call postresult (), the intent data after process are issued browser B, and then browser B transmission processing result is to browser A.
S203, the first browser receive the result after the data processing that described chosen application program that described second browser that the second browser returns loads is intended to described network.
Browser A calls the call back function of registration in startactivity (), result is returned to client page.
Alternatively, in order to save the system resource of equipment, after the result that S203 returns, also comprise:
S204, the first browser send second request of closing described selected application program to the second browser, described second request triggers described second browser and closes described chosen application program.
Browser A sends closewebapp request to browser B, its objective is the weblication allowing browser B close its loading.
Certainly, the first browser also can not send the request of the application program selected by cutting out to the second browser, automatically close its application program loaded by the second browser.
The third mode, as shown in Figure 3, comprising:
Described in S301, the first browse request, the second browser loads described chosen application program.
The data that described network is intended to by S302, the first browser send to the described chosen application program that described second browser loads via described second browser, the data of described network intention by after described chosen application program process that described second browser loads, the result that the customer terminal webpage display loaded by described second browser is corresponding.
The third mode and the second way similar, difference is the result of the customer terminal webpage display correspondence that the third mode is loaded by the second browser, repeats no more in this.
The method of the share application that the present embodiment provides, can provide more weblication to select for using the user of web intent mechanism, and the cooperation between achieving by different browsers the process that is intended to network jointly.
Be more than the detailed description that the method for share application provided by the present invention is carried out, below the terminal of share application provided by the invention be described in detail.
Embodiment two
Fig. 4 is the terminal schematic diagram of the share application that the present embodiment provides, as shown in Figure 4, the terminal of share application of the present invention comprises: set up unit 10, first receiving element unit 20, determining unit 30, start unit 40, transmitting element 50, second receiving element 60, display unit 70 and processing unit 80.
Set up the communication connection of unit 10 for setting up and between the second browser process.
If will realize sharing weblication between two browsers, then need first to utilize the communication connection of setting up between process that unit 10 sets up between these two browsers.Setting up unit 10 in the embodiment of the present invention is the mode of executive's interface can set up between two browsers between process communication connection by calling.
Setting up unit 10 can executive's interface by registering one to the second browser, can set up the connection of the communication port between two browser process by executive's interface by calling this.Particularly, set up unit 10 to comprise: obtain subelement 101 and registration subelement 102.
Obtain subelement 101 for when receiving the instruction or installation browser or first time startup browser of setting up communication port, obtain other browser informations installed on present terminal, these other browsers comprise the second browser.
Registration subelement 102 is for after acquisition subelement 101 gets described browser information, and registering one to described second browser can executive's interface.Transmitting element 50 utilizes this can obtain the application list that in described second browser, registered application program or described second browser provide by executive's interface.
Like this, setting up unit 10 can executive's interface by this calling that registration subelement 102 registers, and namely sets up the connection of the communication port between described first browser and the second browser process.
Such as, when user is at installation browser A or first time startup browser A or when having user to input the instruction of setting up communication port, then first browser A can obtain other browser informations that terminal is installed (such as by obtaining subelement 101, browser B), then browser A registers an executable interface GetRegisterAPP () by registration subelement 102 to browser B, browser A operationally can directly call GetRegisterAPP () to obtain chartered application program or browser B in browser B and provide the ability of weblication.Same, browser B also utilizes its registration subelement to register an executable interface GetRegisterAPP () to browser A, and browser B operationally can directly call GetRegisterAPP () to obtain chartered application program or browser A in browser A and provide the ability of weblication.
It should be noted that, by registration can after executive's interface, usually can needs call this can executive's interface time, just set up the communication port between two browser process, and then can data communication be carried out between two browsers, in the whole process of data communication, the state that Path Setup connects can be kept, after communication, then close the communication port between these two browser process.
Alternatively, set up unit 10 also for after the communication connection between foundation and described second browser process, set up the connection of this first browser and described second browser and finger daemon, use the data bus of the communication connection between same common line name identification and described second browser process.
Such as, common line title " www.webintents.org " can be used to identify, so that browser can identify the other side.
The present invention it should be noted that, if after the communication connection between two browser process set up, then can not need to set up unit 10.
The triggering command of the first receiving element 20 for utilizing the first browser to receive network intention.
Determining unit 30 for receive when the first receiving element 20 network intention triggering command time, utilize described first browser to determine at least one second browser installed in terminal.
The triggering command of the described web intent that the first receiving element 20 receives adopts startactivity() function, described startactivity() carry parameter FetchAppFromOther in function, described parameter FetchAppFromOther needs to ask other browse request the application lists in order to identify described first browser.When the first receiving element 20 receives triggering command, determining unit 30 determines other browsers (such as, the second browser) that terminal is installed.
Described second browser that start unit 40 is determined for utilizing described first browser to start determining unit 30.
If when the second browser that determining unit 30 is determined is in the state do not started, then start unit 40 is utilized first to start the second browser.If the second browser is in the state started, then do not need start unit 40.
Transmitting element 50 sends request the first request of application program for utilizing described first browser to described second browser started.
Second receiving element 60 asks according to described first the application program that returns for utilizing described first browser to receive described second browser.
What transmitting element 50 started that registration subelement 102 registers can executive's interface, sent request first request of the application list to the second browser by the communication port between the second browser process, and the application program utilizing the second receiving element 60 to receive the second browser to return.
In first request of the request applications that transmitting element 50 sends to the second browser, carry-on parameter comprises: intent request mark (Intentservice_get_call), the second browser mark (Browser_id), message id (origin_message_no), the type (action) of Intent service, the type (type) etc. of Intent data.After the second browser receives above-mentioned request, in the response of the above-mentioned request of correspondence, carry weblication list.
If present terminal is provided with multiple browser, transmitting element 50 sends request the first request of application program respectively to multiple browser.
Display unit 70 presents to user after utilizing described first browser the application program that the application program of described first browser registration and described second browser received by the second receiving element 60 are returned to be integrated.
The process such as duplicate removal or sequence is carried out in the main application programs list of display unit 70, the application list generated is presented to user, select for user after process.
If the second receiving element 60 receives the application list that multiple browser returns, display unit 70 presents to user after multiple the application list and the application list of self being integrated.
First receiving element 20 is also for receiving application information selected in the application list that user presents at display unit 70.
One in the application program that processing unit 80 returns for described second browser received at the first receiving element 20 chosen time, utilize network intention described in described chosen application program process.
Processing unit 80 utilize described chosen application program process web intent can in the following ways in any one:
First kind of way:
Chosen application program is registered on the first browser by processing unit 80, and loads described chosen application program, and then, the data that described network is intended to are processed.
Optionally, after the described application program of loading, if described application program can not web intent described in normal process in described first browser, processing unit 80 is nullified and is closed described application program.Or, when can not normal process time, processing unit 80 adopts the second way below to process.
Or, the second way:
First, processing unit 80 asks described second browser to load chosen application program by transmitting element 50.
Such as, the processing unit 80 of browser A passes through the passage of transmitting element 50 via interprocess communication sends request from the chosen application program of loading to browser B, the parameter of carrying in this request: request mark (intent_loadapp_call), the address (app_url) of the web application loaded, this request from the mark (remote_request_flg) of browser, message id (origin_message_no), the type (action) of Intent service, the type (type) of Intent data, the Uniform Resource Identifier (client_page_url) etc. of customer terminal webpage.Browser B loads this web application after receiving request, and loads client_page_url on backstage.
Optionally, processing unit 80 also for when being asked the second browser to load chosen application program by transmitting element 50, loads customer terminal webpage, in order to the data result after Graphics Processing.When receive described chosen application program that the second browser loads to described intent data process after after the result that returns, show described result at customer terminal webpage.
Optionally, customer terminal webpage in order to show described result also can be loaded on backstage by the second browser, such as when user does not ask in the application program process that the first browser loads, need by second this user of browser process request, after the application program selected described in then loading on the second browser processes described intent data, the result of correspondence is fed back to the second browser by this application program, then transfers via backstage the customer terminal webpage that the second browser loading is passed on foreground to.
Secondly, the data that described network is intended to by transmitting element 50 by processing unit 80 send to the described chosen application program that described second browser loads via described second browser.
Such as, the processing unit 80 of browser A sends Sendintentdata request by transmitting element 50 to browser B, so that needing intent data to be processed to send to weblication via browser B.After weblication receives intent data, intent data are processed, then postresult () is called, intent data after process are issued browser B, then browser B transmission processing result is to second receiving element 60 of browser A, to be supplied to processing unit 80.
Finally, processing unit 80 receives the result after the data processing that described chosen application program that described second browser that described second browser returns loads is intended to described network by the second receiving element 60.
Such as, the processing unit 80 of browser A can call the call back function of registration in startactivity (), result is returned to client page.
Alternatively, in order to save the system resource of equipment, processing unit 80 is after receiving the result that described second browser returns, also for being sent the request of the application program selected by closing to described second browser by transmitting element 50, with the application program making described second browser close its loading.
Such as, the processing unit 80 of browser A sends closewebapp request by transmitting element 50 to browser B, its objective is the weblication allowing browser B close its loading.
Certainly, processing unit 80 also can not send the request of the application program selected by closing to the second browser, automatically close its application program loaded by the second browser.
The third mode:
Processing unit 80 utilizes the second browser described in described first browse request to load described chosen application program.
The data that processing unit 80 utilizes described first browser to be intended to by described network send to the described chosen application program that described second browser loads via described second browser, the data of described network intention by after described chosen application program process that described second browser loads, the result that the customer terminal webpage display loaded by described second browser is corresponding.
The terminal of the share application that the present embodiment provides, can provide more weblication to select for using the user of web intent mechanism, and the cooperation between achieving by different browsers the process that is intended to network jointly.
Embodiment three
The structure composition schematic diagram of the terminal of a kind of share application that Fig. 5 provides for the embodiment of the present invention, as shown in Figure 5, the terminal of the share application of the embodiment of the present invention can comprise: processor 501, first interface 502 and the second interface 503.
Processor 501 may be monokaryon or multinuclear CPU (central processing unit) (Central Processing Unit, CPU), or be specific integrated circuit (Application Specific Integrated Circuit, ASIC), the one or more integrated circuit or for being configured to the enforcement embodiment of the present invention.
First interface 502 is for carrying out with user interaction device alternately.
Second interface 503 is for carrying out with other browsers alternately.
Processor 501 is for performing:
When the first browser receives the triggering command of network intention, determine at least one second browser installed in terminal;
Described first browser is utilized to send request the first request of application program to described second browser started;
Utilize described first browser to receive described second browser and ask according to described first the application program that returns;
User is presented to after utilizing described first browser the application program that the application program of described first browser registration and described second browser return to be integrated;
When utilizing in the application program that described second browser returns one of described first browser chosen, utilize network intention described in described chosen application program process.
Particularly, the terminal of share application also performs the method shown in above-mentioned Fig. 1-3 according to described instruction, does not specifically repeat them here.
The method of share application provided by the invention and terminal, chartered application program in other browsers can be found, and the transmission of intent data can be carried out, the application program in other browsers is utilized to process, cooperation between achieving by different browsers has come intent process jointly, for using the user of web intent mechanism to provide more weblication to select, the service needed for user greatly can be provided.
The present invention can be, but not limited to be used in following scene:
The terminal of 1, user has installed 2 browsers, such as, a Microsoft Explorer IE, a Google browser chrome.When user once used web intent mechanism to see video on chrome, weblication A accustomed to using, weblication A can provide a kind of function of video playback, user have registered user name at this weblication A, password, likely prepay expense, and weblication has been installed or has been registered on chrome browser, and this application A uses the ability of chrome browser itself to carry out coding and decoding video.When user uses web intent mechanism to see video in IE, then can utilize method of the present invention or terminal, by the weblication A on chrome browser and this weblication A, the intent data on chrome browser (comprising the user name of paying, password, the data such as the viewing record of player) share to IE browser.And adopt existing method can not share the intent data of weblication A and correspondence.
2, user uses the customer terminal webpage client page A(such as blog in IE browser), this user has been shared a video.User wants to watch video, but client page A does not have playing function, therefore, utilizes method of the present invention or terminal, and weblication that web intent mechanism calls other can be used to play this video.
3, search qualified weblication at IE and be supplied to user.But, due in web intent standard, how to provide qualified web application not do specification to browser, the web application list that therefore different browsers provides is different, thus may can not provide weblication A in IE.Therefore, utilize method of the present invention or terminal, weblication A chartered in chrome browser can be supplied to user.
4, when some function of weblication A can not may use normally in IE browser:
(1) coding/decoding capability of what weblication A called is browser, because the struggle of coding and decoding video is in a standard still very fierce, the coded format of current HTML5 is not also come to a conclusion, and thus IE itself does not support this kind of encoding and decoding (may need plug-in unit).
(2) the peculiar unit that weblication A employs a large amount of HTML5 usually realizes, and IE itself supports HTML5 also has a lot of shortcomings.Therefore IE is very serious by the impact of windows operating system, and XP system just can only support IE8, and the support of IE8 to HTML5 is so tragic that one cannot bear to look at it.
Therefore, utilize method of the present invention or terminal, second way share application can be adopted, namely no longer load weblication A in IE, but direct pull-up chrome browser execution.
If 5 IE pull-up chrome, and in chrome, load selected weblication A.This weblication A, from chrome browser, utilizes method of the present invention or terminal, can load its weblication A provided in chrome browser.
Professional should recognize further, in conjunction with unit and the algorithm steps of each example of embodiment disclosed herein description, can realize with electronic hardware, computer software or the combination of the two, in order to the interchangeability of hardware and software is clearly described, generally describe composition and the step of each example in the above description according to function.These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can use distinct methods to realize described function to each specifically should being used for, but this realization should not thought and exceeds scope of the present invention.
The software module that the method described in conjunction with embodiment disclosed herein or the step of algorithm can use hardware, processor to perform, or the combination of the two is implemented.Software module can be placed in the storage medium of other form any known in random access memory (RAM), internal memory, ROM (read-only memory) (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field.
Above-described embodiment; object of the present invention, technical scheme and beneficial effect are further described; be understood that; the foregoing is only the specific embodiment of the present invention; the protection domain be not intended to limit the present invention; within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.