CN103389912A - Browser kernel switching method, system and device - Google Patents

Browser kernel switching method, system and device Download PDF

Info

Publication number
CN103389912A
CN103389912A CN2012101413657A CN201210141365A CN103389912A CN 103389912 A CN103389912 A CN 103389912A CN 2012101413657 A CN2012101413657 A CN 2012101413657A CN 201210141365 A CN201210141365 A CN 201210141365A CN 103389912 A CN103389912 A CN 103389912A
Authority
CN
China
Prior art keywords
webpage
kernel
control unit
url
sign
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2012101413657A
Other languages
Chinese (zh)
Inventor
唐红兵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN2012101413657A priority Critical patent/CN103389912A/en
Publication of CN103389912A publication Critical patent/CN103389912A/en
Pending legal-status Critical Current

Links

Images

Abstract

The embodiment of the application provides a browser kernel switching method, system and device. The browser kernel switching method comprises the following steps: after a first sub-control unit receives a web page open request by using a currently running kernel and before a web page is opened, judging a target kernel identifier for opening the web page according to an URL (Uniform Resource Locator) corresponding to the web page by a master control unit; and when the determined target kernel identifier is consistent with the current kernel identifier, instructing the first sub-control unit to continuously open the web page by using the currently running kernel, and otherwise, directly opening the web page by using a second sub-control unit through the kernel corresponding to the target kernel identifier. Thus, the problems that the speed for opening the web page by using a switched kernel is low caused by need of switching the kernel to reopen the web page and closing the opened web page after the web page is opened by the currently running kernel at the time when the kernel is required to be switched to open the web page, network traffic waste is caused by repeated opening of the web page and web page flickering exists are solved.

Description

A kind of browser kernel changing method, system and device
Technical field
The application relates to the communications field, relates in particular to a kind of browser kernel changing method, system and device.
Background technology
In the prior art, many websites are that the rendering effect with the IE browser is as the criterion, and design and develop based on the kernel of IE browser, particularly each big bank website, its bank system of web often supported comprehensively under the IE browser, and in the next existing problems more or less of other browser.
In recent years, the emerging browser of introducing various advanced persons' the browser engine of increasing income emerges in an endless stream, and the gesture of the IE of surmounting browser is being arranged greatly aspect performance, stability and security.The various websites, the particularly needs of Net silver website that have existed for compatibility, emerging browser often can not be abandoned the kernel of IE browser, the even many kernel browsers of the dual core that has been born thus in the browser engine of increasing income of introducing various advanced persons during as main kernel fully.
Below take the dual core browser as example, the use procedure of dual core and many kernel browsers is described.
In the dual core browser, generally set a main kernel, be used for playing up most webpage.Only to run into some specific websites,, for example the Net silver website,, owing to this main kernel, having compatible problem, therefore need to be switched to another kernel, carries out webpage by another kernel and play up.Guarantee that in this way the performance of browser is with compatible.And for many kernel browsers, its use procedure and dual core browser are similar, namely can set a main kernel, are used for playing up most webpage, and when running into some specific websites, select a kernel to carry out webpage from other kernels and play up.
Although it is multiple that the kernel of browser has, the execution flow process of opening webpage based on a kernel is similar.In the process of opening a webpage, usually can produce navigation front (BeforeNavigate), navigation end events such as (NavigateComplete).In prior art, generally with the NavigateComplete event, carry out the double-core switching.Namely opening based on current inner after webpage completes, browser host process (or main thread) can be received the NavigateComplete event, when this event is sent with the URL(uniform resource locator) (url, Uniform Resource Locator) of webpage.Host process or main thread obtain this url, and judge whether to be switched to another kernel,, as the need switching, with another kernel, reopen this webpage, and this opened webpage are closed or hide.
There is following problem in existing kernel changing method:
(1), owing to being to obtain url and need to judge whether the switching kernel in the NavigateComplete event, reopen this webpage during switching, and the NavigateComplete event flag opening of this webpage and is completed, and presented to the user, at this moment switch kernel and reopen webpage can cause network traffics wastes, consuming time longer when completing the kernel that utilizes after switching and opening webpage, and the problem that has page flickering.
(2), ask Hypertext Transfer Protocol (HTTP, the HyperText Transfer Protocol) request of opening webpage to realize by acquisition (get) request and (post) request of issuing.Utilize the get request to open the parameters u rl of webpage needs, and the parameter of utilizing the post request to open the webpage needs comprise url and post parameter., due to the post parameter that can not obtain in the NavigateComplete event in the post request, cause present handover scheme to the get request effectively, and can not support the post request.Support the post request, need to do more complicated work, as the parameter of post request being left in BeforeNavigate, and provide a kind of mechanism to allow host process (or main thread) when the switching kernel, can get the post parameter that preserves.Therefore, can support the post request even make present handover scheme, but also there is the complicated problem that realizes, also must cause thus utilizing kernel after switching to open the further increase of webpage execution time, this has reduced the speed of opening webpage, even because webpage repeats to open the page flickering that causes.
Summary of the invention
The embodiment of the present application provides a kind of browser kernel changing method, system and device, is used for saving network traffics, improves the kernel that utilizes after switching and opens the speed of webpage.
A kind of browser kernel changing method, be applied to comprise the system of main control unit, the first son control unit and the second son control unit, wherein, the first son control unit is used for utilizing current operation kernel to operate, the second son control unit is used for utilizing non-current operation kernel to operate, main control unit selects the first son control unit and the second son control unit to operate, and described method comprises:
The uniform resource position mark URL that the webpage that main control unit reception the first son control unit sends uses and the kernel sign of current operation kernel, described URL and current inner sign is that described the first son control unit receives after webpage opens request, opens before described webpage to send;
Main control unit, according to described URL, determines to open the target kernel sign of described webpage;
Main control unit is when described target kernel sign is identical with described current inner sign, indicate described the first current operation kernel of son control unit by using to open described webpage, otherwise indication the second kernel corresponding to the described target kernel sign of son control unit by using opened described webpage.
A kind of browser kernel changing method, described method comprises:
The current operation kernel of son control unit by using receives after webpage opens request, utilize before current operation kernel opens webpage, determine the kernel sign of uniform resource position mark URL that described webpage uses and current operation kernel, and send described URL and current inner identifies to main control unit;
Son control unit receive that main control unit sends utilize current operation kernel to open the indication of described webpage the time, utilize current operation kernel to open described webpage.
A kind of browser kernel changing method, described method comprises:
Son control unit receives the indication that utilizes kernel corresponding to target kernel sign to open webpage that main control unit sends;
Son control unit, according to described indication, utilizes kernel corresponding to target kernel sign to open described webpage.
A kind of browser kernel switched system, described system comprise first device, the second device and the 3rd device, wherein:
First device, be used for utilizing current operation kernel to receive after webpage opens request, utilize before current operation kernel opens webpage, determine the kernel sign of uniform resource position mark URL that described webpage uses and current operation kernel, send described URL and current inner sign to the second device, and receive that the second device sends utilize current operation kernel to open the indication of described webpage the time, utilize current operation kernel to open described webpage.
The second device, be used for receiving URL and the current inner sign that first device sends, according to described URL, determine to open the target kernel sign of described webpage, and when described target kernel sign is identical with described current inner sign, the indication first device utilizes current operation kernel to open described webpage, otherwise indication the 3rd device utilizes kernel corresponding to described target kernel sign to open described webpage.
The 3rd installs, and is used for, according to described indication, utilizing kernel corresponding to target kernel sign to open described webpage when the kernel that receives the described target kernel sign of utilizing of the second device transmission correspondence is opened the indication of described webpage.
A kind of browser kernel switching device shifter, described device comprises:
Receiver module, the uniform resource position mark URL that the webpage that sends for reception the first son control unit uses and the kernel of current operation kernel identify, described URL and current inner sign is that described the first son control unit receives after webpage opens request, opens before described webpage to send;
Determination module, be used for according to described URL, determines to open the target kernel sign of described webpage;
Handover module, be used for when described target kernel sign is identical with described current inner sign, indicate described the first current operation kernel of son control unit by using to open described webpage, otherwise indication the second kernel corresponding to the described target kernel sign of son control unit by using opened described webpage.
A kind of browser kernel switching device shifter, described device comprises:
Determination module, be used for utilizing current operation kernel to receive after webpage opens request, utilizes before current operation kernel opens webpage, determines uniform resource position mark URL that described webpage uses and the kernel sign of current operation kernel;
Sending module, be used for sending described URL and current inner identifies to main control unit;
Execution module, be used for receive that main control unit sends utilize current operation kernel to open the indication of described webpage the time, utilize current operation kernel to open described webpage.
A kind of browser kernel switching device shifter, described device comprises:
Receiver module, be used for receiving the indication that utilizes kernel corresponding to target kernel sign to open webpage that main control unit sends;
Execution module, be used for according to described indication, utilizes kernel corresponding to target kernel sign to open described webpage.
the scheme that provides according to the embodiment of the present application, main control unit receives after webpage opens request at the first current operation kernel of son control unit by using, before opening webpage, the target kernel sign corresponding to target kernel of this webpage opened in the URL judgement corresponding according to this webpage, the current inner sign corresponding at the target kernel sign of determining and current operation kernel is consistent, when the target kernel of namely determining is current operation kernel, indication the first son control unit continues to utilize current operation kernel to open this webpage, otherwise, need not the first son control unit and open this webpage, directly utilize the second son control unit to open this webpage by kernel corresponding to target kernel sign.Thereby avoided when needs switching kernel is opened webpage, need to switch kernel after current operation kernel is opened webpage and reopen this webpage, and the kernel after the utilization switching that before closing, opened webpage causes to open the speed of webpage slower, and because webpage repeats to open, cause the network traffics waste, and the problem that has page flicker.
Description of drawings
The structural representation of the browser kernel switched system that Fig. 1 provides for the embodiment of the present application one;
The flow chart of steps of the browser kernel changing method that Fig. 2 provides for the embodiment of the present application two;
The flow chart of steps of the browser kernel changing method that Fig. 3 provides for the embodiment of the present application three;
The flow chart of steps of the browser kernel changing method that Fig. 4 provides for the embodiment of the present application four;
The structural representation of the browser kernel switching device shifter that Fig. 5 provides for the embodiment of the present application five;
The structural representation of the browser kernel switching device shifter that Fig. 6 provides for the embodiment of the present application six;
The structural representation of the browser kernel switching device shifter that Fig. 7 provides for the embodiment of the present application seven;
The flow chart of steps of the browser kernel changing method that Fig. 8 provides for the embodiment of the present application eight.
Embodiment
In the scheme that the embodiment of the present application provides, utilizing current operation kernel to receive after webpage opens request, utilize before current operation kernel opens webpage, judge the corresponding target kernel of URL corresponding to this webpage, and utilize the target kernel of determining directly to open this webpage, open the speed of webpage thereby can improve the kernel that utilizes after switching.And when utilizing the target kernel to open webpage, can ask to open webpage according to POST in conjunction with the POST parameter that obtains simultaneously with URL, when asking for POST in prior art, further improve the kernel that utilizes after switching and open the speed of webpage.
Below in conjunction with Figure of description and each embodiment, the application's scheme is described.
Embodiment one,
The embodiment of the present application one provides a kind of browser kernel switched system, the structure of this system can be as shown in Figure 1, comprise first device, the second device and the 3rd device, in the present embodiment, first device can be understood as the first son control unit that utilizes current operation kernel to operate, the second device can be understood as control and whether carries out the main control unit of kernel switching, and the 3rd device can be understood as the second son control unit that utilizes non-current operation kernel to operate.Certainly, if when described system is the multi-process framework, described the second device can be understood as host process, and first device can be understood as the first subprocess, and the 3rd device can be understood as the second subprocess; Perhaps, when described system was one process multithreading journey framework, described the second device can be understood as main thread, and first device can be understood as the first sub-thread, and the 3rd device can be understood as the second sub-thread.Wherein:
First device 11 is used for utilizing current operation kernel to receive after webpage opens request, utilize before current operation kernel opens webpage, determine the kernel sign of uniform resource position mark URL that described webpage uses and current operation kernel, send described URL and current inner sign to the second device, and receive that the second device sends utilize current operation kernel to open the indication of described webpage the time, utilize current operation kernel to open described webpage.
The second device 12 is used for receiving URL and the current inner sign that first device sends, according to described URL, determine to open the target kernel sign of described webpage, and when described target kernel sign is identical with described current inner sign, the indication first device utilizes current operation kernel to open described webpage, otherwise indication the 3rd device utilizes kernel corresponding to described target kernel sign to open described webpage.
The 3rd installs 13 is used for, according to described indication, utilizing kernel corresponding to target kernel sign to open described webpage when the kernel that receives the described target kernel sign of utilizing of the second device transmission correspondence is opened the indication of described webpage.
First device 11 is concrete is used for determining that described URL, current inner identify, webpage is opened request type and POST parameter, described webpage is opened request type for obtaining (GET) request or issue (POST) request, parameter corresponding to the webpage that described POST parameter is the POST request type request of opening, and to the second described URL of device transmission, current inner sign, webpage, open request type and POST parameter.
The second device 12 is concrete to be used for receiving corresponding URL, current inner sign, the webpage of described webpages that first device sends and to open request type and POST parameter, and indication first device or the 3rd device utilizes described URL, webpage to open request type and the POST parameter is opened described webpage.
first device 11 is concrete to be used for when current operation kernel is the trident kernel, obtain described URL (BeforeNavigate) event before navigating, webpage is opened request type and POST parameter, before finishing, the BeforeNavigate event sends the first event, carry URL in described the first event, the current inner sign, webpage is opened request type and POST parameter, and when receiving the designated parameter of described the first event that the second device returns, the value of described designated parameter is given the outlet parameter continue of BeforeNavigate event, wherein, the value of described designated parameter is true time, the indication first device utilizes kernel corresponding to current inner sign to open described webpage, otherwise, the indication first device stops this operation.
first device 11 can also specifically be used for when current operation kernel is the webkit kernel, obtain described URL from being about to send request (willSendRequest) event, webpage is opened request type and POST parameter, before finishing, the willSendRequest event sends second event, carry URL in described second event, the current inner sign, webpage is opened request type and POST parameter, and when receiving the designated parameter of the described second event that the second device returns, the value of described designated parameter is given the rreturn value of willSendRequest event, wherein, the value of described designated parameter is true time, the indication first device utilizes kernel corresponding to current inner sign to open described webpage, otherwise, the indication first device stops this operation.
And first device 11 is further before the concrete kernel sign that is used for determining uniform resource position mark URL that described webpage uses and current operation kernel, determines that the request of opening of described webpage produces for webpage main frame MainFrame.
Embodiment two,
Use first device in embodiment one as executive agent, the embodiment of the present application two provides a kind of browser kernel changing method, the operation that utilizes current operation kernel to carry out in each embodiment of the application all can be understood as the first device execution, the steps flow chart of the method can as shown in Figure 2, comprise:
Step 101, determine URL that webpage to be opened is corresponding and current inner sign.
This step is executed in utilizes current operation kernel to receive after webpage opens request, utilizes before current operation kernel opens webpage.In this step, can determine that webpage is opened URL corresponding to the webpage that in request, request is opened (webpage to be opened) and current inner corresponding to current operation kernel identifies.For each specific browser kernel, the kernel of this kernel sign can be a fixing value.And URL corresponding to described webpage can obtain from the event that current operation kernel provides.
The type that webpage is opened request also can obtain from the event that current operation kernel provides, described webpage is opened request type can be GET request or POST request.The webpage request of opening is while asking for GET, follow-uply can open webpage according to the described webpage correspondence URL that determines.The method that the present embodiment provides is equally applicable to the situation of the webpage request of opening for the POST request.At this moment, need further to determine POST parameter corresponding to the webpage request of opening, parameter corresponding to the webpage that described POST parameter is the POST request type request of opening, make and follow-uply can open webpage according to URL and POST parameter.Certainly, described POST parameter also can obtain from the event that current operation kernel provides.
Step 102, transmission URL and current inner sign.
, if further determined the POST parameter in step 101, in this step, can also send described POST parameter.Certainly, can also comprise that in the information that this step sends webpage opens request type, so that follow-uply open request type according to this webpage and determine to open the mode of webpage, it is POST when request as opening request type at this webpage, determine to ask to open webpage according to POST, perhaps at this webpage, opening request type is GET when request, determines to ask to open webpage according to GET.
The executive agent of step 101 ~ 102 can be understood as the first device in embodiment one, and after the second device by step 102 in embodiment one sends URL and current inner sign, can be understood as the operation that first device utilizes current operation kernel to open webpage and be in halted state, need to wait for that the indication of the second device is to determine whether to continue to open described webpage.
Step 103, open webpage to be opened.
Can utilize current operation kernel to open webpage to be opened if the second device is judged, in this step, current operation kernel can continue to carry out the operation of opening described webpage according to the indication of the second device.Concrete, can open according to webpage the type of request,, for the GET request, can open webpage according to described URL as the webpage request of opening, if the webpage request of opening can be opened webpage according to described URL and POST parameter for the POST request.
(be called again MSHTML take current operation kernel as trident, the title of the typesetting engine of the web browser (Internet Explorer) that carries of the Windows (Windows) of Microsoft) kernel is example, because betiding, the BeforeNavigate event of this kernel definition receives after webpage opens request, before opening webpage, and carry in this event and open the correlation parameter that described webpage needs, therefore can obtain described URL from the BeforeNavigate event in step 101, webpage is opened request type and POST parameter, can before finishing, the BeforeNavigate event send the first event in step 102, carry URL in described the first event, the current inner sign, webpage is opened request type and POST parameter.And due in the trident kernel, the BeforeNavigate event provides outlet parameter continue to decide this operation of opening webpage whether to continue execution, and (value of continue is Boolean, for true time, represent that this operation of opening webpage continues to carry out, for fictitious time, represent that this operation of opening webpage stops carrying out), therefore in step 103, can receive the designated parameter of described the first event of returning, the value of described designated parameter be given the outlet parameter continue of BeforeNavigate event.Wherein, the value of described designated parameter is true time, and indication utilizes kernel corresponding to current inner sign to open described webpage, otherwise indication stops this operation.
It is a browser engine of increasing income take current operation kernel as WebKit(WebKit.the advantage of WebKit is efficient stable, compatible good, and source code clear in structure, being easy to safeguard) kernel is example, because betiding, the willSendRequest event of this kernel definition receives after webpage opens request, before opening webpage, and carry in this event and open the correlation parameter that described webpage needs, therefore can obtain described URL from the willSendRequest event in step 101, webpage is opened request type and POST parameter, can before finishing, the willSendRequest event send second event in step 102, carry URL in described second event, the current inner sign, webpage is opened request type and POST parameter.Equally, with current operation kernel be that the trident kernel is similar, in step 103, can receive the designated parameter of the described second event that returns, the value of described designated parameter is given the rreturn value of willSendRequest event.Need to prove, the willSendRequest event that present webkit kernel provides does not have rreturn value, in the present embodiment, the rreturn value of willSendRequest event need to be defined as Boolean, whether continue access with prompting, and can to define this rreturn value be true time, represent that this operation of opening webpage continues to carry out,, for fictitious time, represent that this operation of opening webpage stops carrying out.At this moment, the value of described designated parameter is true time, and indication utilizes kernel corresponding to current inner sign to open described webpage, otherwise indication stops this operation.Certainly, also need to revise all call flows of willSendRequest event this moment, and each call flow need to judge the rreturn value of this event, and rreturn value is that true time can continue access, otherwise stops access immediately.Certainly, also the Boolean of rreturn value can be defined as opposite implication, namely defining this rreturn value is fictitious time, represents that this operation of opening webpage continues to carry out, and is true time, represents that this operation of opening webpage stops carrying out.At this moment, the value of described designated parameter is fictitious time, and indication utilizes kernel corresponding to current inner sign to open described webpage, otherwise indication stops this operation.Certainly, also need to revise all call flows of willSendRequest event this moment, and each call flow need to judge the rreturn value of this event, and rreturn value is that fictitious time can continue access, otherwise stops access immediately.
More excellent, carry out in the present embodiment step 101, can further include step 101 ':
Step 101 ', determine that the described webpage request of opening produces for webpage main frame MainFrame.
, because Webpage may be nested structure, when namely same webpage comprises the main frame page and the subframe page, after the main frame page open, can continue to open the subframe page.Namely when needs are opened the subframe page, must utilize current operation kernel to open the main frame page.And due to when the webpage design, the main frame page and the subframe page generally need to utilize identical kernel to open, and can open the kernel of the main frame page and must open the subframe page.Therefore, can only for the webpage of webpage main frame MainFrame generation, open and ask to judge whether to carry out the kernel switching, thereby reduce the judgement number of times of kernel switching, the load of mitigation system, further accelerate the speed that kernel switches.
Embodiment three,
Use the device of second in embodiment one as executive agent, the second device can be understood as control and whether carries out host process or the main thread of kernel switching, the embodiment of the present application three provides a kind of browser kernel changing method, and the steps flow chart of the method can as shown in Figure 3, comprise:
Step 201, reception URL and current inner sign.
The execution of this step is to utilize current operation kernel to receive after webpage opens request at first device, utilizes before current operation kernel opens described webpage.This step can specifically comprise, receives URL, current inner sign and POST parameter that current operation kernel sends.Certainly, can further include the request of opening of expression webpage in the information that this step receives and open request type for the webpage of GET request or POST request.
Step 202, determine target kernel corresponding to described URL sign.
In this step, can, according to the described URL that receives, determine to open the target kernel sign corresponding to target kernel of described webpage.
Concrete, for some specific URL, the situation that must use a certain kernel to open, can for the URL of corresponding given core, a configuration file be set in advance, can preserve in this configuration file and specify the url list that kernel is opened, configuration file can be kept in the second device, also can be independent of the second device, thereby can whether belong to by the described URL that determines to receive the url list in configuration file, determine to open the target kernel sign corresponding to target kernel of webpage corresponding to this URL.For example, for the multinuclear browser that is integrated with WebKit kernel and trident kernel, can set in advance two configuration files, one of them configuration file (the first configuration file) is preserved the url list of specifying the WebKit kernel to open, and another configuration file (the second configuration file) is preserved the url list of specifying the trident kernel to open.In this step, can determine respectively that whether the URL that receives is the URL in the first configuration file/second configuration file url list.
, if the URL that receives is a URL in the first configuration file url list, can determine that target kernel corresponding to the URL that receives is designated WebKit kernel sign.
, if the URL that receives is a URL in the second configuration file url list, can determine that target kernel corresponding to the URL that receives is designated trident kernel sign.
And if the URL that receives neither belongs to the first configuration file url list, do not belong to the second configuration file url list yet, can determine that target kernel corresponding to the URL that receives is designated any one kernel sign.More excellent, can be defined as target kernel sign the current inner sign this moment, makes the follow-up kernel switching that need not to carry out, can directly utilize current operation kernel to open webpage corresponding to this URL, improve the speed that webpage is opened, and reduce the number of times of kernel switching, the load of mitigation system.
Step 203, indication kernel are opened webpage.
Concrete, when the described target kernel sign of determining in step 202 is identical with the described current inner sign that receives, determine need not to carry out the kernel switching, indication utilizes kernel corresponding to current inner sign to open described webpage, otherwise, definite needs carry out the kernel switching, and indication utilizes kernel corresponding to described target kernel sign to open described webpage.
Indication kernel (target kernel) is opened webpage and comprised: the indication kernel utilizes described URL, POST parameter and webpage to open request type, opens type according to webpage and opens described webpage.Further, can open request type at webpage is GET when request, and the indication kernel utilizes described URL, and described webpage is opened in request according to GET.Opening request type at webpage is POST when request, and the indication kernel utilizes described URL and POST parameter, and described webpage is opened in request according to POST.
Embodiment four,
Use the device of the 3rd in embodiment one as executive agent, the 3rd device can be understood as realizes subprocess or sub-thread that non-current operation kernel is operated, the embodiment of the present application four provides a kind of browser kernel changing method, and the steps flow chart of the method can as shown in Figure 4, comprise:
Step 301, reception indication.
In this step, the indication that the second device utilizes kernel (non-current operation kernel) corresponding to target kernel sign to open webpage can be received, URL corresponding to this webpage can be carried in this indication.Can further carry the POST parameter in described indication.Certainly, can also further carry webpage in described indication and open request type.
Step 302, open described webpage.
In this step,, if carry URL in the indication that receives, in this step, can think that it is the GET request that webpage is opened request type,, according to described URL, utilize kernel corresponding to target kernel sign to open described webpage.Certainly,, if further carry the POST parameter in the indication that receives, in this step, can think that it is the POST request that webpage is opened request type,, according to described URL and POST parameter, utilize kernel corresponding to target kernel sign to open described webpage.Certainly, open request type if further carry webpage in the indication that receives, be that described indication carries URL corresponding to described webpage, webpage is opened request type and POST parameter, can open request type according to webpage and determine according to GET request or POST request, utilize kernel corresponding to target kernel sign to open described webpage.
Corresponding one by one with the method that embodiment two ~ embodiment four provides, following three kinds of devices are provided respectively.
Embodiment five,
The embodiment of the present application five provides a kind of browser kernel switching device shifter, can be understood as the first device that relates in embodiment one, and the structure of this device can as shown in Figure 5, comprise:
Determination module 21, be used for utilizing current operation kernel to receive after webpage opens request, utilizes before current operation kernel opens webpage, determines uniform resource position mark URL that described webpage uses and the kernel sign of current operation kernel;
Sending module 22 is used for sending described URL and current inner identifies to main control unit;
Execution module 23 be used for receive that main control unit sends utilize current operation kernel to open the indication of described webpage the time, utilize current operation kernel to open described webpage.
Wherein, determination module 21 can be used for specifically determining that described URL, current inner identify, webpage is opened request type and POST parameter, it is GET request or POST request that described webpage is opened request type, parameter corresponding to the webpage that described POST parameter is the POST request type request of opening; At this moment, sending module 22 is concrete is used for sending described URL, current inner sign, webpage and opens request type and POST parameter.
Wherein, when determination module 21 also can be specifically be used for current operation kernel and be the trident kernel, obtain described URL from the BeforeNavigate event, webpage is opened request type and POST parameter; At this moment, sending module 22 concrete being used for sent the first event before the BeforeNavigate event finishes, and carried URL, current inner sign, webpage in described the first event and opened request type and POST parameter; Execution module 23 is concrete is used for receiving the designated parameter of described the first event that main control unit returns, and the value of described designated parameter is given the outlet parameter continue of BeforeNavigate event; Wherein, the value of described designated parameter is true time, and the current operation kernel of indication control unit by using is opened described webpage, otherwise indication control unit stops this operation.
When determination module 21 also can be specifically be used for current operation kernel and be the webkit kernel, obtain described URL from the willSendRequest event, webpage is opened request type and POST parameter; At this moment, sending module 22 concrete being used for sent second event before the willSendRequest event finishes, and carried URL, current inner sign, webpage in described second event and opened request type and POST parameter; Execution module 23 is concrete is used for receiving the designated parameter of the described second event that main control unit returns, and the value of described designated parameter is given the rreturn value of willSendRequest event; Wherein, the value of described designated parameter is true time, and the current operation kernel of indication control unit by using is opened described webpage, otherwise indication control unit stops this operation.
Described device also comprises judge module 20, before being used for the kernel sign of URL that determination module determines that described webpage uses and current operation kernel, determines that the request of opening of described webpage produces for webpage main frame MainFrame.
Embodiment six,
The embodiment of the present application six provides a kind of browser kernel switching device shifter, can be understood as the second device that relates in embodiment one, and the structure of this device can as shown in Figure 6, comprise:
Receiver module 31, the uniform resource position mark URL that the webpage that sends for reception the first son control unit uses and the kernel of current operation kernel identify, described URL and current inner sign is that described the first son control unit receives after webpage opens request, opens before described webpage to send;
Determination module 32, be used for according to described URL, determines to open the target kernel sign of described webpage;
Handover module 33, be used for when described target kernel sign is identical with described current inner sign, indicate described the first current operation kernel of son control unit by using to open described webpage, otherwise indication the second kernel corresponding to the described target kernel sign of son control unit by using opened described webpage.
wherein, receiver module 31 can be specifically be used for receiving described URL, current inner sign, webpage and opens request type and POST parameter, it is GET request or POST request that described webpage is opened request type, parameter corresponding to the webpage that described POST parameter is the POST request type request of opening, handover module 33 specifically is used to indicate the first son control unit and opens request type according to described webpage, opening request type at described webpage is GET when request, utilize described URL to open described webpage, opening request type at described webpage is POST when request, utilize described URL and POST parameter to open described webpage, perhaps, request type is opened according to described webpage in indication the second son control unit, opening request type at described webpage is GET when request, utilize described URL to open described webpage, opening request type at described webpage is POST when request, utilize described URL and POST parameter to open described webpage.。
Wherein, when receiver module 31 also can specifically be the trident kernel for current operation kernel, receive the first son control unit sent before the BeforeNavigate event finishes the first event, carry URL, current inner sign in described the first event, webpage is opened request type and POST parameter, wherein, described URL, webpage are opened request type and the POST parameter is obtained from the BeforeNavigate event; The concrete designated parameter that is used for returning to the first son control unit described the first event of handover module 33, whether indication the first son control unit utilizes current operation kernel to open described webpage.Wherein, can be true time in the value of described designated parameter, described webpage is opened in indication the first son control unit, otherwise indication the first son control unit stops this operation; Perhaps, the value of described designated parameter is fictitious time, and described webpage is opened in indication the first son control unit, otherwise indication the first son control unit stops this operation.Handover module 33 can also specifically be used for sending described URL to the second son control unit, webpage is opened request type and POST parameter, and indication the second son control unit opens request type according to the described URL, the webpage that receive and the POST parameter is opened described webpage.
Wherein, when receiver module 31 also can specifically be the WebKit kernel for current operation kernel, receive the first son control unit sent before the willSendRequest event finishes second event, carry URL, current inner sign in described second event, webpage is opened request type and POST parameter, wherein, described URL, webpage are opened request type and the POST parameter is obtained from the willSendRequest event; The concrete designated parameter that is used for returning to the first son control unit described second event of handover module 33, whether indication the first son control unit utilizes current operation kernel to open described webpage.Wherein, can be true time in the value of described designated parameter, described webpage is opened in indication the first son control unit, otherwise indication the first son control unit stops this operation; Perhaps, the value of described designated parameter is fictitious time, and described webpage is opened in indication the first son control unit, otherwise indication the first son control unit stops this operation.Handover module 33 can also specifically be used for sending described URL to the second son control unit, webpage is opened request type and POST parameter, and indication the second son control unit opens request type according to the described URL, the webpage that receive and the POST parameter is opened described webpage.
Embodiment seven,
The embodiment of the present application seven provides a kind of browser kernel switching device shifter, can be understood as the 3rd device that relates in embodiment one, and the structure of this device can as shown in Figure 7, comprise:
Receiver module 41 is used for receiving the indication that utilizes kernel corresponding to target kernel sign to open webpage that main control unit sends;
Execution module 42 is used for according to described indication, utilizes kernel corresponding to target kernel sign to open described webpage.
Wherein, receiver module 41 can be specifically be used for receiving and carries the indication that URL, webpage that described webpage uses are opened request type and POST parameter, it is GET request or POST request that described webpage is opened request type, parameter corresponding to the webpage that described POST parameter is the POST request type request of opening; Execution module 42 is concrete for utilizing described URL, webpage to open request type and POST parameter, opens described webpage.
Be elaborated below by the scheme of a concrete example to the embodiment of the present application one ~ embodiment seven.The application's scheme both can realize in the browser of multi-process model, also can realize in the browser of one process multithreading model.The popular browser architectures overwhelming majority is the multi-process model at present, a host process and one or more subprocesss, consists of.Host process is responsible for the basic logics such as interface display, link (TAB) switching, resource downloading, file access, promoter process, and subprocess is responsible for the affairs relevant with webpage such as the playing up of webpage, script execution.Therefore, mainly take browser kernel as the double-core browser that comprises WebKit kernel and trident kernel as example, and with the realization of multi-process model, describe below.For for simplicity, first event that will define in trident kernel BeforeNavigate event, the second event that defines in WebKit kernel willSendRequest event is all unified is called soon navigation (willNavigate) event, and the designated parameter in the first event and second event all is set to the outlet parameter of willNavigate event.
Embodiment eight,
The embodiment of the present application eight provides a kind of browser kernel changing method, and the steps flow chart of the method can as shown in Figure 8, comprise:
Step 401, determine URL that webpage is corresponding and current inner sign.
Before subprocess access URL, need to tackle on suitable opportunity, obtain this url, current inner sign (and corresponding parameter, corresponding parameter can refer to that webpage opens request type and POST parameter), and send the willNavigate event to host process, allow host process remove to judge whether to need the switching kernel.When current operation kernel is the trident kernel, obtain url and corresponding parameter in the BeforeNavigate event.When current operation kernel is the webkit kernel, obtain url and corresponding parameter in the willSendRequest event.No matter and current operation kernel is trident kernel or webkit kernel, the current inner sign all can directly obtain.
Step 402, transmission willNavigate event.
In this step, described subprocess can send to host process by the willNavigate event with url, the current inner sign (and corresponding parameter) determined.
Step 403, need to judge whether the switching.
Host process is processed the willNavigate event, according to url, need to judge whether the switching kernel.Concrete, when host process is processed, can check at first whether url is distinctive url, as bluesky: //the built-in page of this browser of newtab must use the WebKit kernel to play up (also can be understood as and judge whether url is that the needs of preserving in the first configuration file use the WebKit kernel to process the url list).Then check url by configuration file (can be understood as the second configuration file), preserve in configuration file and need to use the trident kernel to process the url list, if this url is in this list, expression needs to use the trident kernel to process.
Can allow another kernel (non-current operation kernel) access this url when needs switch, and Returning mark indicates it for described subprocess to be to continue access, still to stop immediately.Concrete, can will indicate described subprocess to continue to access the result that still stops immediately by the outlet parameter of willNavigate and return to described subprocess.And this outlet parameter can be set when not needing to switch be true (true), indicate described subprocess to continue to access.Otherwise it is false (false) that this outlet parameter is set, and indicates described subprocess to stop access.
Step 404, open webpage.
Described subprocess is waited for the result of host process, and checks the outlet parameter of willNavigate event, if this outlet parameter be true continue to carry out, otherwise stop this request.Concrete, when current operation kernel is the webkit kernel, the rreturn value that described subprocess can be given amended willSendRequest event functions with the value of willNavigate event outlet parameter, and all call flows of modification willSendRequest event functions, the rreturn value of judgement willSendRequest event functions, be that true continues access in rreturn value, otherwise stop access immediately.When current operation kernel is the trident kernel, described subprocess can directly be given the value of willNavigate event outlet parameter the outlet parameter (can represent with continue) of BeforeNavigate event functions, described subprocess can be that true continues access at continue, otherwise stops access immediately.
In this step, except indicating current operation kernel whether to continue to carry out the operation of opening webpage, if need the switching kernel, allow another kernel (non-current operation kernel) access this url, in this step, can also produce a new subprocess (also can find a subprocess that is using the target kernel) that uses the target kernel, url, webpage are opened request type and the post parameter passes to this new subprocess, new subprocess uses these parameters to conduct interviews, and shows webpage corresponding to described url.
The scheme that provides according to the embodiment of the present application one ~ embodiment eight, the url that can utilize the subprocess based on current operation kernel to provide to host process before accessed web page, determined to open the target kernel of webpage corresponding to this url by host process, and utilize subprocess corresponding to target kernel of determining to open webpage.When making the performance that can utilize kernel main in the multinuclear browser to open webpage to guarantee web browser, stability and security, can also be when the kernel that utilizes ensure compatibility be opened webpage, reduce the network traffics waste, accelerate this kernel and open the speed of webpage, and eliminate the problem that repeats to open the page flicker that causes due to webpage.The scheme that the embodiment of the present application provides is particularly useful in the general website without online transaction, the WebKit kernel access (so-called " fast mode ") that operating speed is fast, in access Alipay or Web bank, use " compatibility mode " of Trident kernel to carry out in the double-core browser application scene of business.
Those skilled in the art should understand, the application's embodiment can be provided as method, system or computer program.Therefore, the application can adopt complete hardware implementation example, implement software example or in conjunction with the form of the embodiment of software and hardware aspect fully.And the application can adopt the form that wherein includes the upper computer program of implementing of computer-usable storage medium (including but not limited to magnetic disk memory, CD-ROM, optical memory etc.) of computer usable program code one or more.
The application describes with reference to process flow diagram and/or the block scheme of method, equipment (system) and computer program according to the embodiment of the present application.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or block scheme and/or square frame and process flow diagram and/or block scheme and/or the combination of square frame.Can provide these computer program instructions to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, make the instruction of carrying out by the processor of computing machine or other programmable data processing device produce to be used for the device of realizing in the function of flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, make the instruction that is stored in this computer-readable memory produce the manufacture that comprises command device, this command device is realized the function of appointment in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame.
These computer program instructions also can be loaded on computing machine or other programmable data processing device, make on computing machine or other programmable devices and to carry out the sequence of operations step to produce computer implemented processing, thereby be provided for realizing the step of the function of appointment in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame in the instruction of carrying out on computing machine or other programmable devices.
Although described the application's preferred embodiment, in a single day those skilled in the art obtain the basic creative concept of cicada, can make other change and modification to these embodiment.So claims are intended to all changes and the modification that are interpreted as comprising preferred embodiment and fall into the application's scope.
Obviously, those skilled in the art can carry out various changes and modification and the spirit and scope that do not break away from the application to the application.Like this, if within these of the application are revised and modification belongs to the scope of the application's claim and equivalent technologies thereof, the application also is intended to comprise these changes and modification interior.

Claims (16)

1. browser kernel changing method, it is characterized in that, be applied to comprise the system of main control unit, the first son control unit and the second son control unit, wherein, the first son control unit is used for utilizing current operation kernel to operate, the second son control unit is used for utilizing non-current operation kernel to operate, and main control unit selects the first son control unit and the second son control unit to operate, and described method comprises:
The uniform resource position mark URL that the webpage that main control unit reception the first son control unit sends uses and the kernel sign of current operation kernel, described URL and current inner sign is that described the first son control unit receives after webpage opens request, opens before described webpage to send;
Main control unit, according to described URL, determines to open the target kernel sign of described webpage;
Main control unit is when described target kernel sign is identical with described current inner sign, indicate described the first current operation kernel of son control unit by using to open described webpage, otherwise indication the second kernel corresponding to the described target kernel sign of son control unit by using opened described webpage.
2. the method for claim 1, it is characterized in that, when main control unit receives described URL and current inner sign, also comprise further that receiving webpage opens request type and POST parameter, described webpage is opened request type for obtaining GET request or issue POST request, parameter corresponding to the webpage that described POST parameter is the POST request type request of opening;
Described the first current operation kernel of son control unit by using of main control unit indication is opened described webpage, specifically comprises:
Request type is opened according to described webpage in main control unit indication the first son control unit, opening request type at described webpage is GET when request, utilize described URL to open described webpage, opening request type at described webpage is POST when request, utilizes described URL and POST parameter to open described webpage;
Main control unit indication the second kernel corresponding to the described target kernel sign of son control unit by using opened described webpage, specifically comprises:
Request type is opened according to described webpage in main control unit indication the second son control unit, opening request type at described webpage is GET when request, utilize described URL to open described webpage, opening request type at described webpage is POST when request, utilizes described URL and POST parameter to open described webpage.
3. method as claimed in claim 2, is characterized in that, when current operation kernel was the trident kernel, the described URL of main control unit reception, current inner sign, webpage were opened request type and POST parameter, specifically comprise:
Main control unit receives the first son control unit sends before the end of BeforeNavigate event before navigation the first event, carry URL, current inner sign in described the first event, webpage is opened request type and POST parameter, wherein, described URL, webpage are opened request type and the POST parameter is obtained from the BeforeNavigate event;
Described the first kernel corresponding to son control unit by using current inner sign of main control unit indication opened described webpage, specifically comprises:
Main control unit returns to the designated parameter of described the first event to the first son control unit, whether indication the first son control unit utilizes current operation kernel to open described webpage;
Main control unit indication the second kernel corresponding to the described target kernel sign of son control unit by using opened described webpage, specifically comprises:
Main control unit sends described URL to the second son control unit, webpage is opened request type and POST parameter, and indication the second son control unit opens request type according to the described URL, the webpage that receive and the POST parameter is opened described webpage.
4. method as claimed in claim 2, is characterized in that, when current operation kernel was the webkit kernel, the described URL of main control unit reception, current inner sign, webpage were opened request type and POST parameter, specifically comprise:
Main control unit receives the first son control unit and is being about to send request the second event that sends before the end of willSendRequest event, carry URL, current inner sign in described second event, webpage is opened request type and POST parameter, wherein, described URL, webpage are opened request type and the POST parameter is obtained from the willSendRequest event;
Described the first kernel corresponding to son control unit by using current inner sign of main control unit indication opened described webpage, specifically comprises:
Main control unit returns to the designated parameter of described second event to the first son control unit, whether indication the first son control unit utilizes current operation kernel to open described webpage;
Main control unit indication the second kernel corresponding to the described target kernel sign of son control unit by using opened described webpage, specifically comprises:
Main control unit sends described URL to the second son control unit, webpage is opened request type and POST parameter, and indication the second son control unit opens request type according to the described URL, the webpage that receive and the POST parameter is opened described webpage.
5. described method as arbitrary in claim 1 ~ 4, is characterized in that, when described system was the multi-process framework, described main control unit was host process, and the first son control unit is the first subprocess, and the second son control unit is the second subprocess; Perhaps, when described system is the one process multi-threaded architecture, the described main control unit journey of serving as theme, the first son control unit is the first sub-thread, the second son control unit is the second sub-thread.
6. a browser kernel changing method, is characterized in that, described method comprises:
The current operation kernel of son control unit by using receives after webpage opens request, utilize before current operation kernel opens webpage, determine the kernel sign of uniform resource position mark URL that described webpage uses and current operation kernel, and send described URL and current inner identifies to main control unit;
Son control unit receive that main control unit sends utilize current operation kernel to open the indication of described webpage the time, utilize current operation kernel to open described webpage.
7. method as claimed in claim 6, it is characterized in that, when described URL and current inner sign are determined in son control unit, also further comprise and determine that webpage opens request type and POST parameter, described webpage is opened request type for obtaining GET request or issue POST request, parameter corresponding to the webpage that described POST parameter is the POST request type request of opening;
When sub-control unit sends described URL and current inner sign, also comprise further that the described URL of transmission, current inner identify, webpage is opened request type and POST parameter.
8. method as claimed in claim 7, is characterized in that, when current operation kernel was the trident kernel, son control unit determined that described URL, current inner identify, webpage is opened request type and POST parameter, specifically comprises:
Son control unit obtains described URL from the front BeforeNavigate event of navigating, webpage is opened request type and POST parameter;
The described URL of son control unit transmission, current inner sign, webpage are opened request type and POST parameter, specifically comprise:
Son control unit sent the first event before the BeforeNavigate event finishes, carry URL, current inner sign, webpage in described the first event and open request type and POST parameter;
Son control unit receive that main control unit sends utilize current operation kernel to open the indication of described webpage the time, utilize current operation kernel to open described webpage, specifically comprise:
The designated parameter of described the first event that son control unit reception main control unit returns, give the value of described designated parameter the outlet parameter continue of BeforeNavigate event;
Wherein, the value of described designated parameter is true time, and the current operation kernel of indication control unit by using is opened described webpage, otherwise indication control unit stops this operation.
9. method as claimed in claim 7, is characterized in that, when current operation kernel was the webkit kernel, son control unit determined that described URL, current inner identify, webpage is opened request type and POST parameter, specifically comprises:
Son control unit obtains described URL from being about to send request the willSendRequest event, webpage is opened request type and POST parameter;
The described URL of son control unit transmission, current inner sign, webpage are opened request type and POST parameter, specifically comprise:
Son control unit sent second event before the willSendRequest event finishes, carry URL, current inner sign, webpage in described second event and open request type and POST parameter;
Son control unit receive that main control unit sends utilize current operation kernel to open the indication of described webpage the time, utilize current operation kernel to open described webpage, specifically comprise:
Son control unit receives the designated parameter of the described second event that main control unit returns, and the value of described designated parameter is given the rreturn value of willSendRequest event;
Wherein, the value of described designated parameter is true time, and the current operation kernel of indication control unit by using is opened described webpage, otherwise indication control unit stops this operation.
10. described method as arbitrary in claim 6 ~ 9, is characterized in that, before the kernel sign of uniform resource position mark URL that described webpage uses and current operation kernel was determined in son control unit, described method also comprised:
Son control unit determines that the request of opening of described webpage is that webpage main frame MainFrame produces.
11. a browser kernel changing method, is characterized in that, described method comprises:
Son control unit receives the indication that utilizes kernel corresponding to target kernel sign to open webpage that main control unit sends;
Son control unit, according to described indication, utilizes kernel corresponding to target kernel sign to open described webpage.
12. method as claimed in claim 11, it is characterized in that, described indication carries URL, the webpage that described webpage uses and opens request type and POST parameter, described webpage is opened request type for obtaining GET request or issue POST request, parameter corresponding to the webpage that described POST parameter is the POST request type request of opening;
Son control unit, according to described indication, utilizes kernel corresponding to target kernel sign to open described webpage, specifically comprises:
Request type is opened according to described webpage in son control unit, opening request type at described webpage is GET when request, utilize described URL to open described webpage, opening request type at described webpage is POST when request, utilizes described URL and POST parameter to open described webpage.
13. a browser kernel switched system, is characterized in that, described system comprises first device, the second device and the 3rd device, wherein:
First device, be used for utilizing current operation kernel to receive after webpage opens request, utilize before current operation kernel opens webpage, determine the kernel sign of uniform resource position mark URL that described webpage uses and current operation kernel, send described URL and current inner sign to the second device, and receive that the second device sends utilize current operation kernel to open the indication of described webpage the time, utilize current operation kernel to open described webpage;
The second device, be used for receiving URL and the current inner sign that first device sends, according to described URL, determine to open the target kernel sign of described webpage, and when described target kernel sign is identical with described current inner sign, the indication first device utilizes current operation kernel to open described webpage, otherwise indication the 3rd device utilizes kernel corresponding to described target kernel sign to open described webpage;
The 3rd installs, and is used for, according to described indication, utilizing kernel corresponding to target kernel sign to open described webpage when the kernel that receives the described target kernel sign of utilizing of the second device transmission correspondence is opened the indication of described webpage.
14. a browser kernel switching device shifter, is characterized in that, described device comprises:
Receiver module, the uniform resource position mark URL that the webpage that sends for reception the first son control unit uses and the kernel of current operation kernel identify, described URL and current inner sign is that described the first son control unit receives after webpage opens request, opens before described webpage to send;
Determination module, be used for according to described URL, determines to open the target kernel sign of described webpage;
Handover module, be used for when described target kernel sign is identical with described current inner sign, indicate described the first current operation kernel of son control unit by using to open described webpage, otherwise indication the second kernel corresponding to the described target kernel sign of son control unit by using opened described webpage.
15. a browser kernel switching device shifter, is characterized in that, described device comprises:
Determination module, be used for utilizing current operation kernel to receive after webpage opens request, utilizes before current operation kernel opens webpage, determines uniform resource position mark URL that described webpage uses and the kernel sign of current operation kernel;
Sending module, be used for sending described URL and current inner identifies to main control unit;
Execution module, be used for receive that main control unit sends utilize current operation kernel to open the indication of described webpage the time, utilize current operation kernel to open described webpage.
16. a browser kernel switching device shifter, is characterized in that, described device comprises:
Receiver module, be used for receiving the indication that utilizes kernel corresponding to target kernel sign to open webpage that main control unit sends;
Execution module, be used for according to described indication, utilizes kernel corresponding to target kernel sign to open described webpage.
CN2012101413657A 2012-05-09 2012-05-09 Browser kernel switching method, system and device Pending CN103389912A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012101413657A CN103389912A (en) 2012-05-09 2012-05-09 Browser kernel switching method, system and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012101413657A CN103389912A (en) 2012-05-09 2012-05-09 Browser kernel switching method, system and device

Publications (1)

Publication Number Publication Date
CN103389912A true CN103389912A (en) 2013-11-13

Family

ID=49534191

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012101413657A Pending CN103389912A (en) 2012-05-09 2012-05-09 Browser kernel switching method, system and device

Country Status (1)

Country Link
CN (1) CN103389912A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104516885A (en) * 2013-09-26 2015-04-15 腾讯科技(深圳)有限公司 Implementation method and device of browse program double-kernel assembly
CN106202072A (en) * 2015-04-29 2016-12-07 阿里巴巴集团控股有限公司 The method and apparatus that display content is provided
CN108763601A (en) * 2018-09-21 2018-11-06 上海二三四五网络科技有限公司 A kind of control method automatically switched in dual core browser and control device
CN110442400A (en) * 2019-08-15 2019-11-12 网易(杭州)网络有限公司 Browser control method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101655863A (en) * 2009-04-24 2010-02-24 北京搜狗科技发展有限公司 Method for loading web pages in browser and browser
US20100094891A1 (en) * 2008-10-13 2010-04-15 Bid Solve, Inc. Client-Server System for Multi-Resource Searching
US20100153544A1 (en) * 2008-12-16 2010-06-17 Brad Krassner Content rendering control system and method
CN102156709A (en) * 2011-02-28 2011-08-17 奇智软件(北京)有限公司 Browser engine mode switching method
CN102385594A (en) * 2010-08-31 2012-03-21 腾讯科技(深圳)有限公司 Method and device for controlling inner cores of multi-core browser

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100094891A1 (en) * 2008-10-13 2010-04-15 Bid Solve, Inc. Client-Server System for Multi-Resource Searching
US20100153544A1 (en) * 2008-12-16 2010-06-17 Brad Krassner Content rendering control system and method
CN101655863A (en) * 2009-04-24 2010-02-24 北京搜狗科技发展有限公司 Method for loading web pages in browser and browser
CN102385594A (en) * 2010-08-31 2012-03-21 腾讯科技(深圳)有限公司 Method and device for controlling inner cores of multi-core browser
CN102156709A (en) * 2011-02-28 2011-08-17 奇智软件(北京)有限公司 Browser engine mode switching method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104516885A (en) * 2013-09-26 2015-04-15 腾讯科技(深圳)有限公司 Implementation method and device of browse program double-kernel assembly
CN106202072A (en) * 2015-04-29 2016-12-07 阿里巴巴集团控股有限公司 The method and apparatus that display content is provided
CN106202072B (en) * 2015-04-29 2019-12-03 阿里巴巴集团控股有限公司 The method and apparatus of display content are provided
CN108763601A (en) * 2018-09-21 2018-11-06 上海二三四五网络科技有限公司 A kind of control method automatically switched in dual core browser and control device
CN108763601B (en) * 2018-09-21 2020-07-07 上海二三四五网络科技有限公司 Control method and control device for automatic switching in dual-kernel browser
CN110442400A (en) * 2019-08-15 2019-11-12 网易(杭州)网络有限公司 Browser control method and device

Similar Documents

Publication Publication Date Title
CN104866320B (en) The quick rendering method of mark content with scripted code
CN106844017B (en) Method and device for processing events by website server
US8838808B2 (en) Asynchronous communication in web applications
CN102346770B (en) WebKit browser webpage content loading method and device
CN106250434B (en) Load the method and device of webpage
US8782127B2 (en) Notification based web applications
CN103327117B (en) Cross-system running method and device for application programs
CN109067890B (en) CDN node edge computing system based on docker container
US8788627B2 (en) Interactive web application framework
US20120060083A1 (en) Method for Use in Association With A Multi-Tab Interpretation and Rendering Function
CN107220098B (en) Method and device for implementing rule engine
CN110806923A (en) Parallel processing method and device for block chain tasks, electronic equipment and medium
GB2508598A (en) Splitting the processing logic of a distributed application page between client and server
CN104516885B (en) The implementation method and device of browser dual core component
CN104572293A (en) Implementation method of medical image reading system based on BS (Browser/Server) structure
CN103389912A (en) Browser kernel switching method, system and device
CN103440151A (en) Method and apparatus for dynamically loading Web page
CN111475764B (en) Search engine optimization method, device, terminal and storage medium
JP6400296B2 (en) Multi-mode support processor and processing method for supporting multi-mode
CN103559097B (en) The method of interprocess communication, device and browser in a kind of browser
Ghafari et al. An architectural approach to ensure globally consistent dynamic reconfiguration of component-based systems
Zbierski et al. Bring the cloud to your mobile: Transparent offloading of html5 web workers
US20120066641A1 (en) Methods and apparatus for expandable window border
Wang et al. Mobile web browser optimizations in the cloud era: A survey
CN106202104A (en) The correlation technique of the opening speed of the optimization aim page and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1189064

Country of ref document: HK

RJ01 Rejection of invention patent application after publication

Application publication date: 20131113

RJ01 Rejection of invention patent application after publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: WD

Ref document number: 1189064

Country of ref document: HK