CN105095291A - Browser kernel control method and apparatus - Google Patents

Browser kernel control method and apparatus Download PDF

Info

Publication number
CN105095291A
CN105095291A CN201410205895.2A CN201410205895A CN105095291A CN 105095291 A CN105095291 A CN 105095291A CN 201410205895 A CN201410205895 A CN 201410205895A CN 105095291 A CN105095291 A CN 105095291A
Authority
CN
China
Prior art keywords
kernel
browser
client
configuration condition
strategy
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
CN201410205895.2A
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410205895.2A priority Critical patent/CN105095291A/en
Publication of CN105095291A publication Critical patent/CN105095291A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

An embodiment of the present invention discloses a browser kernel control method. The method comprises: starting a browser installed on a client, wherein the browser comprises a kernel; acquiring a kernel operation strategy stored by a server, wherein the kernel operation strategy comprises a client configuration condition and a kernel operation instruction; and if the client satisfies the client configuration condition, performing an operation indicated by the kernel operation instruction on the browser installed on the client. The embodiment of the present invention further discloses a browser kernel control apparatus. By adopting the browser kernel control method and apparatus which are provided by the present invention, the suitable browser kernel can be selected according to an environment of the client, so that best webpage display effects are achieved.

Description

A kind of kernel control method of browser and device
Technical field
The present invention relates to internet arena, particularly relate to a kind of kernel control method and device of browser.
Background technology
The part of browser core is " RenderingEngine ", mean " rendering engine ", general custom claims the kernel of browser, the kernel of browser is responsible for making an explanation to webpage grammer (such as HTML and JavaScript) and playing up webpage, therefore the kernel of usual so-called browser is also referred to as the render engine of browser, render engine determines the browser how content of display web page and the format information of the page, the explanation checking program grammer in different also has difference, therefore when same webpage uses different kernels to play up, display effect also may be different.
In order to reach better display effect of network page, be developed a large amount of multi-core browser, traditional double-core browser is born under specific background, along with the renewal of browser version and the unification of web standards and universal, different kernels gap in performance and display effect is more and more less, this time, client just need not install multi-core browser, only needed the monokaryon browser installing highest version.But due to the restriction of hardware or software, if compatible problem can be there is in the monokaryon browser that part client installs highest version.But most of user does not but possess the ability selecting suitable browser, and such user cannot reach good display effect when browsing webpage.
Summary of the invention
Embodiment of the present invention technical matters to be solved is, provides a kind of kernel control method and device of browser.User in prior art can be solved the technical matters of suitable kernel cannot be set according to client environment.
In order to solve the problems of the technologies described above, embodiments provide a kind of kernel control method of browser, comprising:
Start the browser that client is installed, wherein, described browser comprises a kernel;
Obtain the kernel operations strategy of server stores, described kernel operations strategy comprises client configuration condition and kernel operations instruction;
If client meets described client configuration condition, the browser installed described client performs the operation indicated by described kernel operations instruction.
Correspondingly, the embodiment of the present invention additionally provides a kind of kernel control device of browser, comprising:
Start module, for starting the browser that client is installed, wherein, described browser comprises a kernel;
Acquisition module, for obtaining the kernel operations strategy of server stores, described kernel operations strategy comprises client configuration condition and kernel operations instruction;
Execution module, if meet described client configuration condition for client, the browser installed described client performs the operation indicated by described kernel operations instruction.
Implement the embodiment of the present invention, there is following beneficial effect:
By obtaining client configuration condition and kernel operations instruction that server configures, if client meets client configuration condition, perform the operation indicated by kernel operations execution, such can automatically according to the browser kernel scheme that the environment of client is client configuration the best, make the display effect of webpage reach best.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of the kernel control method of a kind of browser of the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of the kernel control method of the another kind of browser of the embodiment of the present invention;
Fig. 3 is the schematic flow sheet of the kernel control method of another browser of the embodiment of the present invention;
Fig. 4 is the representation of a kind of kernel operations strategy in Fig. 1-Fig. 3.
Fig. 5 is the structural representation of the kernel control device of a kind of browser of the embodiment of the present invention;
Fig. 6 is the structural representation of the kernel control device of a kind of browser of the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
See Fig. 1, be the kernel control method of a kind of browser of the embodiment of the present invention, in the present embodiment, described control method comprises:
The browser that S101, startup client are installed, wherein, browser comprises a kernel.
Concrete, client is provided with browser in advance, and this browser comprises a kernel, is the browser of monokaryon, such as, and the IE browser of monokaryon.User is by pointing to the shortcut of this browser or pointing to the path of this browser to start browser in address field input.
The kernel operations strategy of S102, acquisition server stores, kernel operations strategy comprises client configuration condition and kernel operations instruction.
Concrete, the network address of server is configured with in browser, the kernel operations strategy that the server that kernel control device points to according to the acquisition network address, the network address stores, kernel operations strategy comprises client configuration condition and kernel operations instruction, client configuration condition represents hardware environment and the software environment of client demand fulfillment, kernel operations instruction represents the operational order of the kernel of the browser installed for client, such as, upgrade kernel, kernel is installed, inactive kernel or startup kernel etc., the kernel operations instruction that different client configuration conditions relevant is different, wherein, client configuration condition comprises at least one client parameter.The kernel operations strategy that server stores is that server is drawn by the client that statistics and analysis is a large amount of, and client uses this kernel operations strategy can obtain best display effect of network page.
Just different kernel operations strategies is described below, in a kind of exemplary explanation, suppose that client configuration condition is: operating system version information meets WindowsXP, browser version meets IE8 and below IE8, then the kernel operations instruction of above-mentioned client configuration conditions relevant is: install Chrome kernel, enable the current IE kernel of browser and Chrome kernel simultaneously.
In explanation exemplary in another, suppose that client configuration condition is: browser version meets IE10 with more than IE10, then the kernel operations instruction of above-mentioned client configuration conditions relevant is: continue to enable current IE kernel.
If S103 client meets client configuration condition, the operation indicated by kernel operations instruction is performed to browser.
Concrete, the client configuration condition that kernel control device obtains according to S101, obtain the client parameter that in client configuration condition, each client parameter is corresponding in client this locality, such as, suppose that the client configuration condition of server stores comprises client parameter 1, client parameter 2, with client parameter 3, control device obtains the client parameter 1 of client this locality, client parameter 2 and client parameter 3, whether each client parameter comparing client is respectively consistent with each client parameter in client configuration condition, if all consistent, then client meets client configuration condition, otherwise client does not meet client configuration condition, if meet client configuration condition, control device performs the operation indicated by kernel operations instruction to the browser that client is installed.Such as, according to S102 for example, suppose that client all meets operating system version and meets WindowsXP, browser version meets IE8 and below IE8, perform the instruction of installing Chrome kernel, now browser comprises two kernels, is respectively IE kernel and Chrome kernel.Suppose that client all meets browser version and meets IE10 with the client configuration condition of more than IE10, perform the operation continuing the kernel enabling current browser.
Server is provided with the kernel of various Componentized browser in advance, if browser needs obtain and install new kernel, can directly obtains from server.
In embodiments of the present invention, kernel and other assemblies of this browser of the browser that client is installed are decoupling combinations, do not need to upgrade to whole browser when carrying out kernel operations for this browser like this.The method of decoupling combination can carry out modularization to kernel, makes kernel and the abundant decoupling zero of other assemblies of browser.
Implement embodiments of the invention, by obtaining client configuration condition and kernel operations instruction that server configures, if client meets client configuration condition, perform the operation indicated by kernel operations execution, such can automatically according to the browser kernel scheme that the environment of client is client configuration the best, make the display effect of webpage reach best.
See Fig. 2, be the schematic flow sheet of the kernel control method of the another kind of browser of the embodiment of the present invention, in embodiments of the present invention, described method comprises:
The browser that S201, startup browser are installed.
Concrete, after client installs browser, wherein, this browser comprises a kernel.After installation, can the shortcut of this browser of display access on the client, user accesses this shortcut by input media (such as mouse, keyboard or touch-screen etc.), to start this browser, kernel control device detects by detecting mouse event, KeyEvent or touchscreen events etc. the trigger command starting browser.
S202, judge whether the kernel operations strategy of server stores upgrades.
Concrete, judge whether that the method upgraded can be: the version number of the kernel operations strategy version number of more local storage and the kernel operations strategy of server stores, if the version number of the two is inconsistent, then determine that the kernel operations strategy of server stores upgrades, otherwise do not upgrade.Judge whether that the mode upgraded can adopt additive method, such as, compare timestamp etc., the present invention is not restricted.If upgrade, perform S203, otherwise terminate this flow process.
The kernel operations strategy of S203, acquisition server stores, kernel operations strategy comprises client configuration condition and kernel operations instruction.
Concrete, the network address of server is configured with in browser, the kernel operations strategy that the server that kernel control device points to according to the acquisition network address, the network address stores, kernel operations strategy comprises client configuration condition and kernel operations instruction, client configuration condition represents hardware environment and the software environment of client demand fulfillment, kernel operations instruction represents the operational order of the kernel of the browser installed for client, such as, kernel is installed, inactive kernel or startup kernel etc., the kernel operations instruction that different client configuration conditions relevant is different, wherein, client configuration condition comprises at least one client parameter.The kernel operations strategy that server stores is that server is drawn by the client that statistics and analysis is a large amount of, and client uses this kernel operations strategy can obtain best display effect of network page.
Just different kernel operations strategies is described below, in a kind of exemplary explanation, suppose that client configuration condition is: operating system version information meets WindowsXP, browser version meets IE8 and below IE8, then the kernel operations instruction of above-mentioned client configuration conditions relevant is: install Chrome kernel, enable the current IE kernel of browser and Chrome kernel simultaneously.
In explanation exemplary in another, suppose that client configuration condition is: browser version meets IE10 with more than IE10, then the kernel operations instruction of above-mentioned client configuration conditions relevant is: continue to enable current IE kernel.
If S203 client meets client configuration condition, browser is performed to the operation of an installation new kernel, enable the current kernel of browser and new kernel.
Concrete, the client configuration condition that kernel control device obtains according to S101, obtain the client parameter that in client configuration condition, each client parameter is corresponding in client this locality, such as, suppose that the client configuration condition of server stores comprises client parameter 1, client parameter 2, with client parameter 3, control device obtains the client parameter 1 of client this locality, client parameter 2 and client parameter 3, whether each client parameter comparing client is respectively consistent with each client parameter in client configuration condition, if all consistent, then client meets client configuration condition, otherwise client does not meet client configuration condition, if meet client configuration condition, control device performs the operation indicated by kernel operations instruction to the browser that client is installed.Such as, according to S102 for example, suppose that client all meets operating system version: WindowsXP, browser version: IE8 and below IE8, memory size: the client configuration condition being greater than 2G, control device performs the instruction of installing Chrome kernel, and enable the current IE kernel of browser and Chrome kernel, now browser comprises two kernels.
Be understandable that, kernel and other assemblies of this browser of the browser that client is installed are decoupling combinations, do not need to upgrade to whole browser when carrying out kernel operations for this browser like this.The method of decoupling combination can carry out modularization to kernel, makes kernel and the abundant decoupling zero of other assemblies of browser.
S205, receive the web-page requests initiated by browser, determine according to the mapping relations of the webpage preset and kernel the target kernel that the webpage of asking is corresponding.
Concrete, according to the operation of S204, browser now comprises two kernels, each kernel is all in initiate mode, when user initiates web-page requests by browser, kernel control device gets this web-page requests, and web-page requests comprises web page address, and kernel control device inquires target kernel corresponding to the webpage of current request according to the webpage preset and the mapping relations of kernel.Such as, browser, assumed comprises kernel 1 and kernel 2, controls kernel control device and receives web-page requests, is kernel 1 according to the target kernel that the mapping relations preset inquire the webpage of current request corresponding.
S206, use target kernel play up the webpage of request.
Implement embodiments of the invention, by obtaining client configuration condition and kernel operations instruction that server configures, if client meets client configuration condition, perform the operation indicated by kernel operations execution, such can automatically according to the browser kernel scheme that the environment of client is client configuration the best, make the display effect of webpage reach best.
See Fig. 3, be the schematic flow sheet of the kernel control method of another browser of the embodiment of the present invention, in the present embodiment, described method comprises:
S301, starts the browser that client is installed.
Concrete, client is provided with browser in advance, and this browser comprises a kernel, is the browser of monokaryon, such as, and the IE browser of monokaryon.User is by pointing to the shortcut of this browser or pointing to the path of this browser to start browser in address field input.
The kernel operations strategy that S302, the kernel operations strategy obtaining server stores according to the cycle of presetting or reception server push, kernel operations strategy comprises client configuration condition and kernel operations instruction.
Concrete, the network address of server is configured with in browser, the kernel operations strategy that the server that kernel control device points to according to the acquisition network address, the network address stores, kernel operations strategy comprises client configuration condition and kernel operations instruction, client configuration condition represents hardware environment and the software environment of client demand fulfillment, kernel operations instruction represents the operational order of the kernel of the browser installed for client, such as, kernel, inactive kernel are installed or start kernel etc., the kernel operations instruction that different client configuration conditions relevant is different.The kernel operations strategy of server stores or the kernel operations strategy of reception server propelling movement is obtained according to the cycle of presetting.
Optionally, client configuration condition comprises operating system version information, browser version information and hardware capacity information.The kernel operations strategy that server stores is that server is drawn by the client that statistics and analysis is a large amount of, and client uses this kernel operations strategy can obtain best display effect of network page.
Optionally, kernel operations strategy can represent with scale-of-two, such as shown in Fig. 4, kernel operations strategy is the binary number of 32, the instruction of 0-7 bit representation kernel operations, 8-15 bit representation hardware capacity information, 16-23 bit representation browser version information, 24-31 bit representation operation system information, wherein, during concrete enforcement, each position of client parameter in binary number is not restricted.
We make following agreement to 32 above-mentioned figure places:
The value of 0-7 position, the metric numerical value 1 expression installation kernel that regulation is corresponding; Numerical value 2 represents kernel of stopping using; Numerical value 3 represents enables kernel;
The value of 8-15 position, specify that the value of the 8th is that 1 expression internal memory is greater than 2G, the 8th is that 0 expression internal memory is less than 2G;
The value of 16-23 position, metric numerical value 1 corresponding to regulation represents that browser version is IE6; 2 represent IE7; 4 represent IE8; 8 represent IE9; 16 represent IE10;
The value of 24-31 position, metric numerical value 1 corresponding to regulation represents the version XP of operating system; 2 represent Vista; 4 represent Win7; 8 represent Win8;
Afore mentioned rules basis on, just can according to the kernel of the environmental Kuznets Curves browser of client.Suppose 32 place value scale-of-two of kernel operations strategy: 00000001000010000000000100000001.Kernel control device, according to above-mentioned agreement, can explain following information to these 32 scale-of-two:
Operation system information: XP (24 ~ 31 corresponding metric value be 1)
Browser version information: IE8 (value of 16 ~ 23 is 8)
Hardware capacity information: be greater than 2G (value of the 8th is 1)
Kernel operations instruction: install kernel (0 ~ 7 metric value of correspondence is 1)
By above example, can see and adopt binary representation kernel control strategy can be combined into very abundant strategy, the kernel of browser can be controlled flexibly.Be understandable that, the embodiment of the present invention can adopt other forms to represent kernel control strategy, and such as adopt 16 systems to represent, the present invention is not restricted.
If S303 client meets client configuration condition, the operation indicated by the browser execution kernel operations instruction that client is installed.
Concrete, the client configuration condition that kernel control device obtains according to S301, obtain the client parameter that in client configuration condition, each client parameter is corresponding in client this locality, such as, suppose that the client configuration condition of server stores comprises client parameter 1, client parameter 2, with client parameter 3, control device obtains the client parameter 1 of client this locality, client parameter 2 and client parameter 3, whether each client parameter comparing client is respectively consistent with each client parameter in client configuration condition, if all consistent, then client meets client configuration condition, otherwise client does not meet client configuration condition, if meet client configuration condition, control device performs the operation indicated by kernel operations instruction to the browser that client is installed.
Optionally, after client meets client configuration condition, operation indicated by the browser execution kernel operations instruction of install client can be: browser is performed to the operation upgrading current kernel, the kernel that browser of stopping using is current and the kernel after enabling renewal; Or browser is performed to the operation of an installation new kernel, enable the current kernel of browser and described new kernel; Or browser is performed to the operation continuing to use current kernel.
In embodiments of the present invention, kernel and other assemblies of this browser of the browser that client is installed are decoupling combinations, do not need to upgrade to whole browser when carrying out kernel operations for this browser like this.The method of decoupling combination can carry out modularization to kernel, makes kernel and the abundant decoupling zero of other assemblies of browser.
Implement embodiments of the invention, by obtaining client configuration condition and kernel operations instruction that server configures, if client meets client configuration condition, perform the operation indicated by kernel operations execution, such can automatically according to the browser kernel scheme that the environment of client is client configuration the best, make the display effect of webpage reach best.
See Fig. 5, be the structural representation of the kernel control device of a kind of browser of the embodiment of the present invention, in embodiments of the present invention, described kernel control device comprises startup module 10, acquisition module 11 and execution module 12.
Start module 10, for starting the browser that client is installed, wherein, described browser comprises a kernel.
Concrete, after client installs browser, wherein, this browser comprises a kernel.After installation, can the shortcut of this browser of display access on the client, user accesses this shortcut by input media (such as mouse, keyboard or touch-screen etc.), to start this browser, start module 10 and detect by detecting mouse event, KeyEvent or touchscreen events etc. the trigger command starting browser.
Acquisition module 11, for obtaining the kernel operations strategy of server stores, described kernel operations strategy comprises client configuration condition and kernel operations instruction.
Concrete, the network address of server is configured with in browser, the kernel operations strategy that the server that acquisition module 11 points to according to the acquisition network address, the network address stores, kernel operations strategy comprises client configuration condition and kernel operations instruction, client configuration condition represents hardware environment and the software environment of client demand fulfillment, kernel operations instruction represents the operational order of the kernel of the browser installed for client, such as, kernel is installed, inactive kernel or startup kernel etc., the kernel operations instruction that different client configuration conditions relevant is different, wherein, client configuration condition comprises at least one client parameter.The kernel operations strategy that server stores is that server is drawn by the client that statistics and analysis is a large amount of, and client uses this kernel operations strategy can obtain best display effect of network page.
Optionally, acquisition module 11 obtains the kernel operations strategy of server stores or the kernel operations strategy of reception server propelling movement according to the cycle of presetting.
Optionally, client configuration condition comprises operating system version information, browser version information and hardware capacity information.The kernel operations strategy that server stores is that server is drawn by the client that statistics and analysis is a large amount of, and client uses this kernel operations strategy can obtain best display effect of network page.
Optionally, kernel operations strategy can represent with scale-of-two, such as shown in Fig. 4, kernel operations strategy is the binary number of 32, the instruction of 0-7 bit representation kernel operations, 8-15 bit representation hardware capacity information, 16-23 bit representation browser version information, 24-31 bit representation operation system information, wherein, during concrete enforcement, each position of client parameter in binary number is not restricted.
We make following agreement to 32 above-mentioned figure places:
The value of 0-7 position, the metric numerical value 1 expression installation kernel that regulation is corresponding; Numerical value 2 represents kernel of stopping using; Numerical value 3 represents enables kernel.
The value of 8-15 position, specify that the value of the 8th is that 1 expression internal memory is greater than 2G, the 8th is that 0 expression internal memory is less than 2G.
The value of 16-23 position, metric numerical value 1 corresponding to regulation represents that browser version is IE6; 2 represent IE7; 4 represent IE8; 8 represent IE9; 16 represent IE10.
The value of 24-31 position, metric numerical value 1 corresponding to regulation represents the version XP of operating system; 2 represent Vista; 4 represent Win7; 8 represent Win8.
Afore mentioned rules basis on, just can according to the kernel of the environmental Kuznets Curves browser of client.Suppose 32 place value scale-of-two of kernel operations strategy: 00000001000010000000000100000001.Acquisition module 10, according to above-mentioned agreement, can explain following information to these 32 scale-of-two:
Operation system information: XP (24 ~ 31 corresponding metric value be 1)
Browser version information: IE8 (value of 16 ~ 23 is 8)
Hardware capacity information: be greater than 2G (value of the 8th is 1)
Kernel operations instruction: install kernel (0 ~ 7 metric value of correspondence is 1)
By above example, can see and adopt binary representation kernel control strategy can be combined into very abundant strategy, the kernel of browser can be controlled flexibly.Be understandable that, the embodiment of the present invention can adopt other forms to represent kernel control strategy, and such as adopt 16 systems to represent, the present invention is not restricted.
Execution module 12, if meet described client configuration condition for client, the browser installed described client performs the operation indicated by described kernel operations instruction.
Concrete, the client configuration condition that kernel control device obtains according to acquisition module 11, obtain the client parameter that in client configuration condition, each client parameter is corresponding in client this locality, such as, suppose that the client configuration condition of server stores comprises client parameter 1, client parameter 2, with client parameter 3, control device obtains the client parameter 1 of client this locality, client parameter 2 and client parameter 3, whether each client parameter comparing client is respectively consistent with each client parameter in client configuration condition, if all consistent, then client meets client configuration condition, otherwise client does not meet client configuration condition, if meet client configuration condition, control device performs the operation indicated by kernel operations instruction to the browser that client is installed.Such as, according to above-mentioned lifted example, suppose that client all meets operating system version and meets WindowsXP, browser version meets IE8 and below IE8, memory size meets the client configuration condition being greater than 2G, and execution module 12 performs the instruction of installing Chrome kernel.Server is provided with the kernel of various Componentized browser in advance, if browser needs to install new kernel, can directly obtains from server.
In embodiments of the present invention, kernel and other assemblies of this browser of the browser that client is installed are decoupling combinations, do not need to upgrade to whole browser when carrying out kernel operations for this browser like this.The method of decoupling combination can carry out modularization to kernel, makes kernel and the abundant decoupling zero of other assemblies of browser.
Implement embodiments of the invention, by obtaining client configuration condition and kernel operations instruction that server configures, if client meets client configuration condition, perform the operation indicated by kernel operations execution, such can automatically according to the browser kernel scheme that the environment of client is client configuration the best, make the display effect of webpage reach best.
See Fig. 6, for the structural representation of the kernel control device of a kind of browser of another embodiment of the present invention, in embodiments of the present invention, described kernel control device starts except module 10, acquisition module 11 and execution module 12 except comprising, and also comprises judge module 13, determination module 14 and rendering module 15.
Judge module 13, for judging whether the kernel operations strategy of described server stores upgrades, if yes, indicates described acquisition module to start working.
Concrete, judge module 12 judges whether that the method upgraded can be: more local kernel operations strategy and the version number of server stores, if the version number of the two is inconsistent, then determines that the kernel operations strategy of server stores upgrades, otherwise do not upgrade.Judge whether that the mode upgraded can adopt additive method, the present invention is not restricted.If upgrade, judge module 13 indicates acquisition module 11 to start working, otherwise terminates this flow process.
Optionally, after client meets client configuration condition, execution module 12 performs and performs to browser the operation upgrading current kernel, the kernel that browser of stopping using is current and the kernel after enabling renewal; Or browser is performed to the operation of an installation new kernel, enable the current kernel of browser and described new kernel; Or browser is performed to the operation continuing to use current kernel.
Optionally, if being operating as of performing of execution module 12: operation browser being performed to an installation new kernel, enable the current kernel of browser and described new kernel, then:
Determination module 14, when initiating web-page requests for receiving by described browser, the mapping relations according to the webpage preset and kernel determine the target kernel that the webpage of request is corresponding.
Concrete, now browser comprises two kernels (current kernel and new kernel), each kernel is all in initiate mode, when user initiates web-page requests by browser, kernel control device gets this web-page requests, web-page requests comprises web page address, and determination module 13 inquires target kernel corresponding to the webpage of current request according to the webpage preset and the mapping relations of kernel.Such as, browser, assumed comprises kernel 1 and kernel 2, and determination module 13 receives web-page requests, is kernel 1 according to the target kernel that the mapping relations preset inquire the webpage of current request corresponding.
Rendering module 15, for the webpage using target kernel to play up described request.
Implement embodiments of the invention, by obtaining client configuration condition and kernel operations instruction that server configures, if client meets client configuration condition, perform the operation indicated by kernel operations execution, such can automatically according to the browser kernel scheme that the environment of client is client configuration the best, make the display effect of webpage reach best.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc.
Above disclosedly be only a kind of preferred embodiment of the present invention, certainly the interest field of the present invention can not be limited with this, one of ordinary skill in the art will appreciate that all or part of flow process realizing above-described embodiment, and according to the equivalent variations that the claims in the present invention are done, still belong to the scope that invention is contained.

Claims (12)

1. a kernel control method for browser, is characterized in that, comprising:
Start the browser that client is installed, wherein, described browser comprises a kernel;
Obtain the kernel operations strategy of server stores, described kernel operations strategy comprises client configuration condition and kernel operations instruction;
If client meets described client configuration condition, the operation indicated by described kernel operations instruction is performed to described browser.
2. the method for claim 1, is characterized in that, after the step of the browser that described startup client is installed, also comprises:
Judge whether the kernel operations strategy of described server stores upgrades, if yes, perform the step of the kernel operations strategy of described acquisition server stores.
3. the method for claim 1, is characterized in that, the step of the kernel operations strategy of described acquisition server stores comprises:
The kernel operations strategy of described server stores is obtained according to the cycle of presetting; Or
Receive the kernel operations strategy of described server push.
4. the method as described in claim 1-3 any one, is characterized in that, the described step to the operation that described browser performs indicated by described kernel operations instruction comprises:
Described browser is performed to the operation upgrading current kernel, the kernel that described browser of stopping using is current and the kernel after enabling renewal; Or
Described browser is performed to the operation of an installation new kernel, enable the current kernel of described browser and described new kernel; Or
Described browser is performed to the operation continuing to use current kernel.
5. method as claimed in claim 4, is characterized in that, the described operation described browser being performed to an installation new kernel, after enabling the step of the current kernel of described browser and described new kernel, also comprises:
Initiate web-page requests if receive by described browser, the mapping relations according to the webpage preset and kernel determine the target kernel that the webpage of request is corresponding;
Described target kernel is used to play up the webpage of described request.
6. method as claimed in claim 5, is characterized in that, described client configuration condition comprise in operating system version information, browser version information and hardware capacity information one or more.
7. a kernel control device for browser, is characterized in that, comprising:
Start module, for starting the browser that client is installed, wherein, described browser comprises a kernel
Acquisition module, for obtaining the kernel operations strategy of server stores, described kernel operations strategy comprises client configuration condition and kernel operations instruction;
Execution module, if meet described client configuration condition for client, the browser installed described client performs the operation indicated by described kernel operations instruction.
8. control device as claimed in claim 7, is characterized in that, also comprise:
Judge module, for judging whether the kernel operations strategy of described server stores upgrades, if yes, indicates described acquisition module to start working.
9. control device as claimed in claim 7, is characterized in that, described acquisition module is used for the kernel operations strategy that the basis default cycle obtains described server stores; And/or
Receive the kernel operations strategy of described server push.
10. the control device as described in claim 7-9 any one, is characterized in that, described execution module is used for:
Described browser is performed to the operation upgrading current kernel, the kernel that described browser of stopping using is current and the kernel after enabling renewal; Or
Described browser is performed to the operation of an installation new kernel, enable the current kernel of described browser and described new kernel; Or
Described browser is performed to the operation continuing to use current kernel.
11. control device as claimed in claim 10, is characterized in that, described execution module is used for the operation described browser being performed to an installation new kernel, and enable the current kernel of described browser and described new kernel, then described control device also comprises:
Determination module, when initiating web-page requests for receiving by described browser, the mapping relations according to the webpage preset and kernel determine the target kernel that the webpage of request is corresponding;
Rendering module, for the webpage using target kernel to play up described request.
12. control device as claimed in claim 11, is characterized in that, described client configuration condition comprise in operating system version information, browser version information and hardware capacity information one or more.
CN201410205895.2A 2014-05-15 2014-05-15 Browser kernel control method and apparatus Pending CN105095291A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410205895.2A CN105095291A (en) 2014-05-15 2014-05-15 Browser kernel control method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410205895.2A CN105095291A (en) 2014-05-15 2014-05-15 Browser kernel control method and apparatus

Publications (1)

Publication Number Publication Date
CN105095291A true CN105095291A (en) 2015-11-25

Family

ID=54575744

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410205895.2A Pending CN105095291A (en) 2014-05-15 2014-05-15 Browser kernel control method and apparatus

Country Status (1)

Country Link
CN (1) CN105095291A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108509174A (en) * 2018-06-21 2018-09-07 泰华智慧产业集团股份有限公司 A kind of method and system based on across the screen full screen display webpage of IE kernels
CN110221843A (en) * 2019-05-08 2019-09-10 北京深睿博联科技有限责任公司 The method and device of browser kernel switching
CN110247966A (en) * 2019-06-12 2019-09-17 深圳市酷开网络科技有限公司 Kernel creation method, smart television and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005062571A2 (en) * 2003-12-18 2005-07-07 Contec Innovations, Inc. System and method for allocating server resources
CN102890724A (en) * 2012-10-25 2013-01-23 北京奇虎科技有限公司 Webpage loading method and device
CN102915366A (en) * 2012-10-25 2013-02-06 北京奇虎科技有限公司 Method and device for loading webpage on browser
CN103150312A (en) * 2011-12-23 2013-06-12 腾讯科技(深圳)有限公司 Method and terminal for opening external link in network application
CN103324684A (en) * 2013-05-31 2013-09-25 贝壳网际(北京)安全技术有限公司 Control method and device for browser kernel in mobile terminal and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005062571A2 (en) * 2003-12-18 2005-07-07 Contec Innovations, Inc. System and method for allocating server resources
CN103150312A (en) * 2011-12-23 2013-06-12 腾讯科技(深圳)有限公司 Method and terminal for opening external link in network application
CN102890724A (en) * 2012-10-25 2013-01-23 北京奇虎科技有限公司 Webpage loading method and device
CN102915366A (en) * 2012-10-25 2013-02-06 北京奇虎科技有限公司 Method and device for loading webpage on browser
CN103324684A (en) * 2013-05-31 2013-09-25 贝壳网际(北京)安全技术有限公司 Control method and device for browser kernel in mobile terminal and mobile terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108509174A (en) * 2018-06-21 2018-09-07 泰华智慧产业集团股份有限公司 A kind of method and system based on across the screen full screen display webpage of IE kernels
CN110221843A (en) * 2019-05-08 2019-09-10 北京深睿博联科技有限责任公司 The method and device of browser kernel switching
CN110247966A (en) * 2019-06-12 2019-09-17 深圳市酷开网络科技有限公司 Kernel creation method, smart television and computer readable storage medium
CN110247966B (en) * 2019-06-12 2021-12-14 深圳市酷开网络科技股份有限公司 Kernel creation method, smart television and computer-readable storage medium

Similar Documents

Publication Publication Date Title
US9003381B2 (en) Context-specific optimized code
KR101790190B1 (en) Application scenario identification method, power consumption management method, apparatus, and terminal device
CN100507773C (en) Method and device implementing on-line upgrading of a fixed programme
CN102662741B (en) Method, device and system for realizing virtual desktop
JP5065587B2 (en) Using external memory devices to improve system performance
CN106095620B (en) A kind of development approach of built-in Linux partition holding
KR101799261B1 (en) Restricting memory areas for an instruction read in dependence upon a hardware mode and a security flag
CN100570558C (en) A kind of chip firmware updating method
JP4843013B2 (en) System and method for preventing user OS in VMM system from turning off device used by service OS
US8627343B2 (en) Information processing apparatus and data output managing system
US20140297999A1 (en) Computer system and method for controlling acpi information
CN101944043A (en) File access method of Linux virtual machine disk under Windows platform
CN102289380B (en) firefox starting acceleration method
IL166169A (en) Versioning support in object-oriented programming languages and tools
CN101169729A (en) Embedded type system and method for renewing application program
CN102760068A (en) Loading method of Active X plugin and device
CN105095291A (en) Browser kernel control method and apparatus
CN103902562A (en) Method and device for upgrading terminal databases
KR20140134523A (en) Processing apparatus of managing power based data and method thereof
JP5074676B2 (en) Device controller
CN103560934A (en) Power line modem production testing method and device
CN104036193A (en) Local cross-domain vulnerability detection method and device for application program
CN102760063B (en) A kind of file loading method and device
CN113094106B (en) Communication control method, device, computer equipment and storage medium
US9858085B2 (en) Information processing including BIOS apparatus, information processing method thereof, and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20151125

RJ01 Rejection of invention patent application after publication