CN104516885A - Implementation method and device of browse program double-kernel assembly - Google Patents

Implementation method and device of browse program double-kernel assembly Download PDF

Info

Publication number
CN104516885A
CN104516885A CN201310447135.8A CN201310447135A CN104516885A CN 104516885 A CN104516885 A CN 104516885A CN 201310447135 A CN201310447135 A CN 201310447135A CN 104516885 A CN104516885 A CN 104516885A
Authority
CN
China
Prior art keywords
url address
kernel component
browser
kernel
data
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.)
Granted
Application number
CN201310447135.8A
Other languages
Chinese (zh)
Other versions
CN104516885B (en
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 CN201310447135.8A priority Critical patent/CN104516885B/en
Publication of CN104516885A publication Critical patent/CN104516885A/en
Application granted granted Critical
Publication of CN104516885B publication Critical patent/CN104516885B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses implementation method and device of a browse program double-kernel assembly. The method comprises the steps of receiving a webpage access request triggered by a client; creating a document container activeX; acquiring the united resource locator address as pointed by the webpage access request through the created document container active; recognizing the characteristics information of the united resource locator address; calling the corresponding browse program core assembly according to the recognizing result; acquiring the webpage data as pointed by the united resource locator address based on the called browse program core assembly sharing the same network service processing program. With the adoption of the method and device, the beneficial effect of seamless interaction of the double-core browse program is really implemented.

Description

The implementation method of browser dual core assembly and device
Technical field
The present invention relates to computer technology, particularly relate to a kind of implementation method and device of browser dual core assembly.
Background technology
Current client, to the access of word, image and other information that network represents with form web page, is all realized by browser such as the browser of client; Based on the browser in client, terminal can browse various information.
For browser, in order to meet the access of client to different information, client needs to adopt double-core browser access webpage; Here double-core can be understood as the render engine that browser adopts, and render engine determines the browser how content of display web page and the format information of the page.
Separate between two kernels of existing double-core browser; Fig. 1 is existing double-core browser structure schematic diagram, as shown in Figure 1, existing double-core browser is from the structural sheet below " unified core A PI(ApplicationProgramming Interface; application programming interfaces) " network layer, without any data interaction between two kernels, namely the respective network layer framework based on self performs respective data processing; Simultaneously, owing to being different network layer frameworks between two kernels, therefore browser based on these two independently network layer framework when carrying out data interaction, " seamless " can not be realized connect client, such as: the Data duplication caused based on different kernel due to identical data is downloaded, and the long period just can proceed the problem of subsequent operation to cause client to wait for.
Summary of the invention
Given this, implementation method and device that a kind of browser dual core assembly is provided is necessary, to realize the alternately seamless of double-core browser.
The embodiment of the invention discloses a kind of implementation method of browser dual core assembly, comprise the following steps:
Receive the web access requests that client triggers, create document container control;
Utilize the described document container control created, obtain the URL address pointed by described web access requests;
Identify the characteristic information of the described URL address obtained, call corresponding browser kernel component according to recognition result;
Based on the described browser kernel component of the shared consolidated network service handler called, obtain the web data that described URL address points to.
The embodiment of the present invention also discloses a kind of implement device of browser dual core assembly, comprising:
Request receiving module, for receiving the web access requests that client triggers, creates document container control;
Data obtaining module, for utilizing the described document container control of establishment, obtains the URL address pointed by described web access requests;
Kernel calls module, for identifying the characteristic information of the described URL address of acquisition, calls corresponding browser kernel component according to recognition result;
Data processing module, for the described browser kernel component based on the shared consolidated network service handler called, obtains the web data that described URL address points to.
The embodiment of the present invention receives the web access requests that client triggers, and creates document container control; Utilize the described document container control created, obtain the URL address pointed by described web access requests; Identify the characteristic information of the described URL address obtained, call corresponding browser kernel component according to recognition result; Based on the described browser kernel component of the shared consolidated network service handler called, obtain the web data that described URL address points to; Compared in prior art, double-core browser calls different kernel component and after entering corresponding kernel component, without the method for any data interaction between these two kernel component, the embodiment of the present invention really achieves the seamless mutual beneficial effect of double-core browser.
Accompanying drawing explanation
Fig. 1 is existing double-core browser structure schematic diagram;
Fig. 2 is the implementation method one embodiment schematic flow sheet of browser dual core assembly of the present invention;
Fig. 3 is browser dual core component hardware framework one example structure schematic diagram in the implementation method of browser dual core assembly of the present invention;
Fig. 4 is Trident kernel component and Webkit kernel component data interaction one example structure schematic diagram in the implementation method of browser dual core assembly of the present invention;
Fig. 5 is the implement device one embodiment high-level schematic functional block diagram of browser dual core assembly of the present invention.
The realization of embodiment of the present invention object, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
Technical scheme of the present invention is further illustrated below in conjunction with Figure of description and specific embodiment.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
In the implementation method of browser dual core assembly of the present invention and device, for convenience of description, all be described for Trident kernel component and Webkit kernel component, particularly, be the first browser kernel component of the present invention with Trident kernel component, Webkit kernel component is the second browser kernel component of the present invention; Certain browser also can adopt other kernel component as browser and realize based on thought of the present invention, as Gecko kernel, i.e. and the kernel of Fierfox browser use; Presto kernel, i.e. the kernel etc. of Opera browser use.
The kernel of described Trident kernel and MS internet explorer, principal feature is, popularity rate is high, compatibility good; Such as current many Web banks and payment system only support the Trident kernel of IE; Webkit kernel uses primarily of Chrome browser and Safari browser, Webkit kernel is free software, open source code simultaneously, Webkit kernel has the advantage that speed is quick, Consumer's Experience is good, Trident kernel and Webkit kernel are combined into double-core browser, more completely can represent various webpage more with flying colors.In the embodiment of the present invention, the form that specifically represents of described browser can present with other application programs except browser, and specifically the represent form of the embodiment of the present invention to browser does not limit.
Fig. 2 is the implementation method first embodiment schematic flow sheet of browser dual core assembly of the present invention; Based on above description, as shown in Figure 2, the implementation method of browser dual core assembly of the present invention comprises the following steps:
The web access requests that step S01, reception client trigger, creates document container control;
During the web access requests that the client that receives browser triggers, create corresponding document container control.
Such as, browser shortcut icon on user's Based PC desktop, double-click browser shortcut icon, during with open any browser, when browser receives the operational order of the double-click browser shortcut icon that user triggers, create WebBrowser(document container) control, and call the interface that the WebBrowser control that created provides, complete follow-up operation by WebBrowser control.Fig. 3 is browser dual core component hardware framework one example structure schematic diagram in the implementation method of browser dual core assembly of the present invention, and as shown in Figure 3, client sends web access requests by double-core browser; When browser needs URL to navigate at every turn, browser all can create the example of a WebBrowser control, completes ensuing navigation task by WebBrowser control interface.
The described document container control that step S02, utilization create, obtains the URL address pointed by described web access requests;
The characteristic information of the URL address that step S03, identification obtain, calls corresponding browser kernel component according to recognition result.
Utilize the described WebBrowser control called, obtain the URL(Uniform Resource Locator pointed by this web access requests, URL(uniform resource locator)) address.When getting described URL address, identify the characteristic information of this URL address, the characteristic information of the URL address of acquisition and preset rules are compared; When the characteristic information of the URL address obtained meets preset rules, call Trident kernel component, perform follow-up operation by Trident kernel component; When the characteristic information of the URL address obtained does not meet preset rules, call Webkit kernel component, perform follow-up operation by Webkit kernel component.
Step S04, browser kernel component based on the shared consolidated network service handler called, obtain the web data that URL address points to.
Browser, based on the browser kernel component of the shared consolidated network service handler called, sends web access requests to server; The web access requests that server sends according to browser, the web data that the URL address of acquisition pointed by web access requests is corresponding, and web data corresponding for the URL address pointed by this web access requests obtained is back to the browser kernel component called; This browser kernel component called resolves the web data obtained, and the element that need show such as document, picture, video etc. show after playing up according to correct order.
In the present embodiment, be still described for Trident kernel and Webkit kernel; Wherein, Trident kernel component and Webkit kernel component share consolidated network service handler.
If browser judges to call Trident kernel component, then based on the Trident kernel component called, utilize the network service process program in this Trident kernel component, the acquisition request of the web data pointed by URL address, obtain the web data that this URL address is pointed to.After this web data pointed by URL address that Trident kernel component receives that server returns, resolve the web data obtained, the element that need show such as document, picture, video etc. show after playing up according to correct order.
If browser judges to call Webkit kernel component, then based on the Webkit kernel component called, the acquisition request of the web data pointed by described URL address is sent to Trident kernel component, obtains the web data pointed by this URL address by the network service process program of Trident kernel component.Namely sent the acquisition request of the web data pointed by this URL address to server by the network service process program of Trident kernel component, and reception server obtains according to described the web data asking to return; After receiving the web data that server returns, the web data received is sent to Webkit kernel component by Trident kernel component, resolved the web data obtained by Webkit kernel component, the element that need show such as document, picture, video etc. show after playing up according to correct order.
In a preferred embodiment, WebBrowser control tackles this calling network layer API pointed by URL address, and judges the data type of the URL address obtained.According to the data type of this URL address, call corresponding assembly; Such as, judge that the data type of this URL address needs to carry out corresponding operating corresponding to e-bank, then call Trident kernel component and process; Judge that the rate request that the data type of this URL address loads webpage is higher, then directly call Webkit kernel component and process; Also can determine the kernel component that will call in the following way: the white list searching the artificial domain name of storage, judge the URL address whether can finding acquisition in artificial domain name white list; If this URL address can be found, then call Trident kernel component and process; If this URL address can not be found, then call the Webkit kernel component sharing consolidated network service handler with Trident kernel component and process.
As shown in Figure 3, when each establishment WebBrowser control, server is by loading process calculi (this carries out interior establishment and can load with the form of dynamic link library), tackle browser calling network layer API, and the judgement of the browser core type called needed for completing while interception.Server intercepts to network layer API call and the type of the browser kernel called needed for judging is actually and carries out the process of HOOK hook to the interface IInternetProtocolSink::ReportProgress of URL Moniker; Namely by hook process, intercept and capture calling API, run some processes of the identification to the required browser core type called, after the browser called needed for identifying, server finally then recalls to original api function again.
In concrete program code, server can be linked up with IInternetProtocolSink::ReportProgress function, then realizes IInternetProtocolSink::ReportProgress_HOOK; Like this, when detecting the MIME(MultipurposeInternet Mail Extensions of URL address based on the WebBrowser control created, multipurpose internet mail extensions) type time, with regard to Automatically invoked in the function IInternetProtocolSink::ReportProgress_HOOK loaded; In this hooking function, server judges the mime type of URL address; If mime type is " text/html ", illustrate that this is a html webpage, by searching artificial domain name white list to determine the kernel component that current needs are opened; Described artificial domain name white list record which need the mime type opened with Trident kernel and which need the mime type opened with WebKit kernel.The mode type that a kind of application program of file that described mime type refers to certain extension name of setting is opened, when this extension name file is accessed time, browser can use specified application to open automatically; This mime type is used for specifying the self-defining filename of some clients, and some media file unfolding mode.If this webpage pointed by URL address needs to open with Trident kernel, then browser directly exists
In IInternetProtocolSink::ReportProgress_HOOK
Call original IInternetProtocolSink::ReportProgress function, and report that mime type is " text/html ", at this moment system just processes by the mode (namely calling Trident kernel component) of acquiescence.If this webpage pointed by URL address needs to open with WebKit kernel, then browser is when calling original IInternetProtocolSink::ReportProgress function, reports a new mime type, as application/webkit; Because webkit kernel component has been registered as the MIME processor of process application/webkit by server before this, therefore browser just have invoked the WebKit kernel component of registered mime type by inquiry registration table.So far, browser has successfully passed through WebBrowser control and has called required kernel component.
Embodiment of the present invention browser receives the web access requests that client triggers, and creates document container control; Utilize the described document container control created, obtain the URL address pointed by described web access requests; Identify the characteristic information of the described URL address obtained, call corresponding browser kernel component according to recognition result; Based on the described browser kernel component called, obtain the web data that described URL address points to; Really achieve the seamless mutual beneficial effect of double-core browser; Meanwhile, because double-core browser shares consolidated network service handler, thus avoid and adopt the cookies that brings of traditional double-core browser to lose and the problem such as resource repeated downloads, improve reusability and the extensibility of browser.
Please referring again to Fig. 3, based on the specific descriptions of embodiment described in Fig. 2, the network layer of Trident kernel that WebKit kernel is multiplexing.Due to the multiplexing network layer of Trident kernel of WebKit kernel, therefore the same with the Trident engine of IE browser kernel, Webkit engine is also by com component, Webkit kernel can be packaged into one " active document ", thus make other all application programs achieving " active document container " that this Webkit kernel component can be loaded to carry out web displaying.Simultaneously, because Trident kernel and these two render engines of Webkit kernel are all the forms that have employed com component, therefore no matter future is need to increase, reduce or replace certain render engine existing (such as, webpage render engine blink is replaced current webkit engine), do not need the hardware architecture current to Fig. 3 to do very large change, the hardware structure shown in Fig. 3 has stronger extensibility.In addition, the installation kit of Trident kernel can be accomplished very little; When such as adopting the new framework of the browser shown in Fig. 3, if the installation kit size of client to browser has requirement, then can not put WebKit kernel into installation kit, server can adopt plug-in unit mode or backstage pushes mode, WebKit kernel is deployed to client, more enriches the installation and deployment strategy of browser.
In hardware deployment architecture due to the double-core browser shown in Fig. 3, while increasing a render engine, do not change the interface of browser application layer and inner nuclear layer, namely be all also by WebBrowser interface, so new engine is transparent for application more than inner nuclear layer, therefore when Trident kernel and Webkit kernel share consolidated network layer simultaneously, just do not need browser carry out specially cookies between double-core synchronously, caching process etc.; And the optimization of all layers Network Based and application are applied on two engines all simultaneously.In addition, as long as WebBrowser interface is constant, the maintenance work of later stage upgrading WebKit kernel is also little, and the hardware deployment architecture of the double-core browser therefore shown in Fig. 3 reduces the workload of development and maintenance.Simultaneously, when switching to another kernel component from a kernel component, because two kernel component belong to same network layer, therefore just do not have the cookies between so-called double-core synchronous, therefore client can simultaneously shared buffer memory, the time delay of switching kernel is less, switching is also more level and smooth, reaches the seamless experience of client veritably.
Based on the specific descriptions of embodiment described in Fig. 2 and Fig. 3, please refer to Fig. 4, Fig. 4 is Trident kernel component and Webkit kernel component data interaction one example structure schematic diagram in the implementation method of browser dual core assembly of the present invention; As shown in Figure 4, the network layer of IE browser that WebKit kernel is multiplexing, the network service process program in namely multiplexing Trident kernel component.When browser directly uses Trident kernel component, all operations complete by Trident kernel process, when calling Webkit kernel component, Webkit kernel host process in Webkit kernel component is by Render(render engine) process send web data obtain request be sent to Webkit Server through message filter, this web data is obtained request forward in the Webkit Client in Trident kernel process by Webkit Server again, by Webkit Client, web data is obtained the Trident network service process program asking to be sent in Trident kernel process, respective handling is carried out by Trident network related process module, again result is forwarded to Render process by Webkit kernel component.
As shown in Figure 4, WebKit kernel itself adopts multi-process framework, does not interfere with each other between each Render process, simply can be interpreted as the corresponding Render process of a Shipping Options Page.Each Render process only with WebKit kernel host process by interprocess communication and IPC(Internet Process Connection, a communication) write to each other.The all-network request of each Render process is by IPC message informing WebKit kernel host process, and is undertaken unifying process by Webkit kernel host process.The network request message that WebKit kernel host process will send over from Render process, is directly forwarded to Trident kernel component, is processed by Trident kernel process; Trident kernel process shown in Fig. 4 to the process of internet message and the network processes of IE browser consistent.Because Trident kernel and Webkit kernel share consolidated network layer simultaneously, avoid the problem that cookies between so-called double-core is synchronous, client can simultaneously shared buffer memory, and the time delay switching kernel is less, it is also more level and smooth to switch, and reaches the seamless experience of client veritably.
Fig. 5 is the implement device one embodiment high-level schematic functional block diagram of browser dual core assembly of the present invention; As shown in Figure 5, the implement device of browser dual core assembly of the present invention comprises: request receiving module 01, data obtaining module 02, kernel calls module 03 and data processing module 04.
Request receiving module 01, for receiving the web access requests that client triggers, creates document container control;
When request receiving module 01 receives the web access requests of client triggering, create corresponding document container control.
Such as, browser shortcut icon on user's Based PC desktop, double-click browser shortcut icon, during with open any browser, when request receiving module 01 receives the operational order of the double-click browser shortcut icon that user triggers, create WebBrowser control, and call the interface that the WebBrowser control that created provides, complete follow-up operation by WebBrowser control.As shown in Figure 3, client sends web access requests by double-core browser; When browser needs URL to navigate at every turn, request receiving module 01 all can create the example of a WebBrowser control, completes ensuing navigation task by WebBrowser control interface.
Data obtaining module 02, for utilizing the described document container control of establishment, obtains the URL address pointed by described web access requests;
Kernel calls module 03, for identifying the characteristic information of the described URL address of acquisition, calls browser kernel component corresponding to shared network service process program according to recognition result.
The described WebBrowser control utilizing request receiving module 01 to create, data obtaining module 02 obtains the URL address pointed by this web access requests.When data obtaining module 02 gets described URL address, kernel calls module 03 identifies the characteristic information of this URL address, the characteristic information of the URL address of acquisition and preset rules is compared; When the characteristic information of the URL address obtained meets preset rules, kernel calls module 03 calls Trident kernel component, performs follow-up operation by Trident kernel component; When the characteristic information of the URL address obtained does not meet preset rules, kernel calls module 03 calls Webkit kernel component, performs follow-up operation by Webkit kernel component.
Data processing module 04, for based on the described browser kernel component called, obtains the web data that described URL address points to.
Data processing module 04, based on the browser kernel component of the shared consolidated network service handler called, sends web access requests to server; The web access requests that server sends according to the data processing module 04 of browser, the web data that the URL address of acquisition pointed by web access requests is corresponding, and web data corresponding for the URL address pointed by this web access requests obtained is back to the browser kernel component called; Data processing module 04 resolves the web data obtained, and the element that need show such as document, picture, video etc. show after playing up according to correct order.
In the present embodiment, be still described for Trident kernel and Webkit kernel; Wherein, Trident kernel component and Webkit kernel component share consolidated network service handler.
If data processing module 04 judges to call Trident kernel component, then based on the Trident kernel component called, utilize the network service process program in this Trident kernel component, the acquisition request of the web data pointed by URL address, obtain the web data that this URL address is pointed to.After this web data pointed by URL address that Trident kernel component receives that server returns, resolve the web data obtained, the element that need show such as document, picture, video etc. show after playing up according to correct order.
If data processing module 04 judges to call Webkit kernel component, then based on the Webkit kernel component called, the acquisition request of the web data pointed by described URL address is sent to Trident kernel component, obtains the web data pointed by this URL address by the network service process program of Trident kernel component.Namely sent the acquisition request of the web data pointed by this URL address to server by the network service process program of Trident kernel component, and reception server obtains according to described the web data asking to return; After receiving the web data that server returns, the web data received is sent to Webkit kernel component by Trident kernel component, resolved the web data obtained by Webkit kernel component, the element that need show such as document, picture, video etc. show after playing up according to correct order.
In a preferred embodiment, kernel calls module 03 tackles this calling network layer API pointed by URL address, and judges the data type of the URL address obtained.According to the data type of this URL address, kernel calls module 03 calls corresponding assembly; Such as, judge that the data type of this URL address needs to carry out corresponding operating corresponding to e-bank, kernel calls module 03 is called Trident kernel component and is processed; Judge that the rate request that the data type of this URL address loads webpage is higher, kernel calls module 03 is directly called Webkit kernel component and is processed; Kernel calls module 03 also can determine the kernel component that will call in the following way: the white list searching the artificial domain name of storage, judges the URL address whether can finding acquisition in artificial domain name white list; If this URL address can be found, then call Trident kernel component and process; If this URL address can not be found, then call the Webkit kernel component sharing consolidated network service handler with Trident kernel component and process.
In the embodiment of the present invention, the hardware of the implement device of described browser dual core assembly is disposed and can be adopted the browser dual core component hardware framework shown in Fig. 3; About the specific descriptions of the browser dual core component hardware framework shown in Fig. 3, please refer to the specific descriptions of above-mentioned related embodiment, do not repeat them here.
In the present embodiment, the network layer of IE browser that Webkit kernel is multiplexing, the network service process program in namely multiplexing Trident kernel component; Webkit kernel component and Trident kernel component share the consolidated network service handler in Trident kernel component.About the mutual specific descriptions of Webkit kernel component and Trident kernel component, please refer to the specific descriptions of above-mentioned related embodiment embodiment as described in Figure 4, do not repeat them here.
The embodiment of the present invention receives the web access requests that client triggers, and creates document container control; Utilize the described document container control created, obtain the URL address pointed by described web access requests; Identify the characteristic information of the described URL address obtained, call corresponding browser kernel component according to recognition result; Based on the described browser kernel component called, obtain the web data that described URL address points to; Really achieve the seamless mutual beneficial effect of double-core browser; Meanwhile, because double-core browser shares consolidated network service handler, thus avoid and adopt the cookies that brings of traditional double-core browser to lose and the problem such as resource repeated downloads, improve reusability and the extensibility of browser; Further, enriched the installation and deployment strategy of browser, reduced the workload of development and maintenance; In addition, because Trident kernel and Webkit kernel share consolidated network layer simultaneously, avoid the problem that cookies between so-called double-core is synchronous, client can shared buffer memory simultaneously, the time delay of switching kernel is less, switching is also more level and smooth, reaches the seamless experience of client veritably.
It should be noted that, in this article, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or device and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or device.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the device comprising this key element and also there is other identical element.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that above-described embodiment method can add required general hardware platform by software and realize, hardware can certainly be passed through, but in a lot of situation, the former is better embodiment.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in storage medium on the implement device of a browser dual core assembly as shown in Figure 5 (as ROM/RAM, magnetic disc, CD) in, and to comprise some instructions in order to make a station terminal equipment (can be mobile phone, computing machine, or the implement device of the browser dual core assembly shown in Fig. 5, or the network equipment etc.) perform method described in the present invention each embodiment.
The foregoing is only the preferred embodiments of the present invention; not thereby its scope of the claims is limited; every utilize instructions of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; directly or indirectly be used in the technical field that other are relevant, be all in like manner included in scope of patent protection of the present invention.

Claims (10)

1. an implementation method for browser dual core assembly, is characterized in that, comprises the following steps:
Receive the web access requests that client triggers, create document container control;
Utilize the described document container control created, obtain the URL address pointed by described web access requests;
Identify the characteristic information of the described URL address obtained, call corresponding browser kernel component according to recognition result;
Based on the described browser kernel component of the shared consolidated network service handler called, obtain the web data that described URL address points to.
2. the method for claim 1, is characterized in that, the described characteristic information identifying the URL address obtained, comprising:
Interception calling network layer application programming interfaces, judges the data type of described URL address, and according to the described data type obtained, identifies the characteristic information of described URL address.
3. the method for claim 1, is characterized in that, the described characteristic information identifying the URL address obtained, and calls corresponding browser kernel component, comprising according to recognition result:
When identifying that the characteristic information of the described URL address obtained meets preset rules, call the first kernel component;
When identifying that the characteristic information of the described URL address obtained does not meet preset rules, call the second kernel component sharing consolidated network service handler with described first kernel component.
4. the method as described in claim 1 or 2 or 3, is characterized in that, the described browser kernel component of the described shared consolidated network service handler based on calling, and obtains the web data that described URL address points to, comprising:
Based on the first kernel component called, obtained the web data of described URL address sensing by the described network service process program in described first kernel component.
5. the method as described in claim 1 or 2 or 3, is characterized in that, the described browser kernel component of the described shared consolidated network service handler based on calling, and obtains the web data that described URL address points to, comprising:
Based on the second kernel component called, the acquisition request of network data corresponding for described URL address is sent to described first kernel component;
Call the described network service process program in described first kernel component, obtain the web data that described URL address points to.
6. an implement device for browser dual core assembly, is characterized in that, comprising:
Request receiving module, for receiving the web access requests that client triggers, creates document container control;
Data obtaining module, for utilizing the described document container control of establishment, obtains the URL address pointed by described web access requests;
Kernel calls module, for identifying the characteristic information of the described URL address of acquisition, calls corresponding browser kernel component according to recognition result;
Data processing module, for the described browser kernel component based on the shared consolidated network service handler called, obtains the web data that described URL address points to.
7. device as claimed in claim 6, it is characterized in that, described data obtaining module is used for:
Interception calling network layer application programming interfaces, judges the data type of described URL address, and according to the described data type obtained, identifies the characteristic information of described URL address.
8. device as claimed in claim 6, it is characterized in that, described kernel calls module is used for:
When identifying that the characteristic information of the described URL address obtained meets preset rules, call the first kernel component;
When identifying that the characteristic information of the described URL address obtained does not meet preset rules, call the second kernel component sharing consolidated network service handler with described first kernel component.
9. the device as described in claim 6 or 7 or 8, it is characterized in that, described data processing module is used for:
Based on the first kernel component called, obtained the web data of described URL address sensing by the described network service process program in described first kernel component.
10. the device as described in claim 6 or 7 or 8, it is characterized in that, described data processing module is used for:
Based on the second kernel component called, the acquisition request of network data corresponding for described URL address is sent to described first kernel component;
Call the network service process program in described first kernel component, obtain the web data that described URL address points to.
CN201310447135.8A 2013-09-26 2013-09-26 The implementation method and device of browser dual core component Active CN104516885B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310447135.8A CN104516885B (en) 2013-09-26 2013-09-26 The implementation method and device of browser dual core component

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310447135.8A CN104516885B (en) 2013-09-26 2013-09-26 The implementation method and device of browser dual core component

Publications (2)

Publication Number Publication Date
CN104516885A true CN104516885A (en) 2015-04-15
CN104516885B CN104516885B (en) 2019-04-16

Family

ID=52792206

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310447135.8A Active CN104516885B (en) 2013-09-26 2013-09-26 The implementation method and device of browser dual core component

Country Status (1)

Country Link
CN (1) CN104516885B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105607928A (en) * 2015-12-18 2016-05-25 北京奇虎科技有限公司 Supporting method for browser kernel and webpage display method and apparatus
CN105956173A (en) * 2016-05-24 2016-09-21 百度在线网络技术(北京)有限公司 Page content acquisition method and apparatus
CN106528733A (en) * 2016-10-27 2017-03-22 合网络技术(北京)有限公司 Webpage display method and apparatus
CN107368291A (en) * 2016-05-13 2017-11-21 北京搜狗科技发展有限公司 A kind of Web page rendering device, method and electronic equipment
CN109634753A (en) * 2018-11-02 2019-04-16 北京海泰方圆科技股份有限公司 Switch data processing method, device, terminal and the storage medium of browser kernel
CN111538553A (en) * 2020-04-21 2020-08-14 招商局金融科技有限公司 Dual-core Web desktop application access processing method and device and storage medium
CN112559172A (en) * 2020-12-08 2021-03-26 百果园技术(新加坡)有限公司 Method, system, equipment and storage medium for optimizing memory of web browser
CN112925998A (en) * 2021-03-30 2021-06-08 北京奇艺世纪科技有限公司 Interface data processing method, device and system, electronic equipment and storage medium
CN113778349A (en) * 2020-06-10 2021-12-10 北京奇虎科技有限公司 Page printing method, device, system, equipment and storage medium
CN113946378A (en) * 2020-06-30 2022-01-18 北京奇虎科技有限公司 Method, system, equipment and storage medium for browser to support multi-type control
CN114217866A (en) * 2021-11-08 2022-03-22 阿里健康科技(中国)有限公司 Applet using method and device and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102467565A (en) * 2010-11-19 2012-05-23 奇智软件(北京)有限公司 Browser kernel switching method
CN102624891A (en) * 2012-03-08 2012-08-01 腾讯科技(深圳)有限公司 Method for switching kernel of browser and corresponding browser
CN102915256A (en) * 2012-03-08 2013-02-06 北京金山安全软件有限公司 Message transmission method and device under multi-core browser
CN103176844A (en) * 2011-09-28 2013-06-26 北京奇虎科技有限公司 Method and system for switching between internet explorer (IE)-6 kernel and novel IE kernel
CN103294717A (en) * 2012-02-29 2013-09-11 腾讯科技(深圳)有限公司 Web page opening method and device based on double-kernel browser
CN103389912A (en) * 2012-05-09 2013-11-13 阿里巴巴集团控股有限公司 Browser kernel switching method, system and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102467565A (en) * 2010-11-19 2012-05-23 奇智软件(北京)有限公司 Browser kernel switching method
CN103176844A (en) * 2011-09-28 2013-06-26 北京奇虎科技有限公司 Method and system for switching between internet explorer (IE)-6 kernel and novel IE kernel
CN103294717A (en) * 2012-02-29 2013-09-11 腾讯科技(深圳)有限公司 Web page opening method and device based on double-kernel browser
CN102624891A (en) * 2012-03-08 2012-08-01 腾讯科技(深圳)有限公司 Method for switching kernel of browser and corresponding browser
CN102915256A (en) * 2012-03-08 2013-02-06 北京金山安全软件有限公司 Message transmission method and device under multi-core browser
CN103389912A (en) * 2012-05-09 2013-11-13 阿里巴巴集团控股有限公司 Browser kernel switching method, system and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘建: "搜狗李子拓:打造绝对品质真双核浏览器", 《HTTP://SOFT.ZOL.COM.CN/324/3240914.HTML》 *

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105607928A (en) * 2015-12-18 2016-05-25 北京奇虎科技有限公司 Supporting method for browser kernel and webpage display method and apparatus
CN105607928B (en) * 2015-12-18 2019-03-01 北京奇虎科技有限公司 For the support method of browser kernel and the display methods and device of webpage
CN107368291A (en) * 2016-05-13 2017-11-21 北京搜狗科技发展有限公司 A kind of Web page rendering device, method and electronic equipment
CN105956173A (en) * 2016-05-24 2016-09-21 百度在线网络技术(北京)有限公司 Page content acquisition method and apparatus
CN106528733A (en) * 2016-10-27 2017-03-22 合网络技术(北京)有限公司 Webpage display method and apparatus
CN109634753A (en) * 2018-11-02 2019-04-16 北京海泰方圆科技股份有限公司 Switch data processing method, device, terminal and the storage medium of browser kernel
CN111538553A (en) * 2020-04-21 2020-08-14 招商局金融科技有限公司 Dual-core Web desktop application access processing method and device and storage medium
CN111538553B (en) * 2020-04-21 2023-04-18 招商局金融科技有限公司 Dual-core Web desktop application access processing method and device and storage medium
CN113778349A (en) * 2020-06-10 2021-12-10 北京奇虎科技有限公司 Page printing method, device, system, equipment and storage medium
CN113946378A (en) * 2020-06-30 2022-01-18 北京奇虎科技有限公司 Method, system, equipment and storage medium for browser to support multi-type control
CN112559172A (en) * 2020-12-08 2021-03-26 百果园技术(新加坡)有限公司 Method, system, equipment and storage medium for optimizing memory of web browser
CN112925998A (en) * 2021-03-30 2021-06-08 北京奇艺世纪科技有限公司 Interface data processing method, device and system, electronic equipment and storage medium
CN112925998B (en) * 2021-03-30 2023-07-25 北京奇艺世纪科技有限公司 Interface data processing method, device and system, electronic equipment and storage medium
CN114217866A (en) * 2021-11-08 2022-03-22 阿里健康科技(中国)有限公司 Applet using method and device and electronic equipment
CN114217866B (en) * 2021-11-08 2023-09-19 阿里健康科技(中国)有限公司 Application method and device of applet and electronic equipment

Also Published As

Publication number Publication date
CN104516885B (en) 2019-04-16

Similar Documents

Publication Publication Date Title
CN104516885A (en) Implementation method and device of browse program double-kernel assembly
US11159411B2 (en) Distributed testing service
JP6740373B2 (en) Page component dynamic layout
CN110019081B (en) Data persistence processing method, device and system and readable storage medium
CN108572818B (en) User interface rendering method and device
US7877091B2 (en) Method and system for executing a container managed application on a processing device
US8966508B2 (en) Method for executing hybrid web application and apparatus therefor
CN107635027B (en) Domain name resolution method, medium, device and computing equipment
KR102015739B1 (en) Smart card reading / writing method and device
EP3748500B1 (en) Inversion-of-control component service models for virtual environments
CN107798064B (en) Page processing method, electronic device and computer readable storage medium
CN101895531B (en) Client equipment, multimedia data unloading system and unloading method
CN103309695A (en) Icon loading method and terminal
US9164817B2 (en) Mobile communication terminal to provide widget expansion function using message communication, and operation method of the mobile communication terminal
CN103917951B (en) Application invocation method, operating system and browser
US10839037B2 (en) Connected application experience
CN110928547A (en) Public file extraction method, device, terminal and storage medium
CN115599669A (en) Debugging method and device of microservice, electronic equipment and readable storage medium
CN114037503A (en) Order processing method and device
Lin et al. A real time vehicle management system implementation on cloud computing platform
CN113220296A (en) Android system interaction method and device
CN107301089A (en) A kind of APP deployment and call method and terminal
CN107180107B (en) Method and system for uploading selected files by mobile phone attachment under Ionic framework
CN111158671B (en) Micro-service architecture software module dynamic loading method based on registration and directional scanning
CN114268653B (en) Equipment calling method, device, equipment, medium and product

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant