CN102915366B - A kind of browser loads the method and apparatus of webpage - Google Patents
- ️Wed Oct 05 2016
CN102915366B - A kind of browser loads the method and apparatus of webpage - Google Patents
A kind of browser loads the method and apparatus of webpage Download PDFInfo
-
Publication number
- CN102915366B CN102915366B CN201210413437.9A CN201210413437A CN102915366B CN 102915366 B CN102915366 B CN 102915366B CN 201210413437 A CN201210413437 A CN 201210413437A CN 102915366 B CN102915366 B CN 102915366B Authority
- CN
- China Prior art keywords
- browser
- webpage
- kernel
- plug
- adaptation Prior art date
- 2012-10-25 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 44
- 230000006978 adaptation Effects 0.000 claims abstract description 63
- 238000009877 rendering Methods 0.000 claims description 22
- 230000009471 action Effects 0.000 claims description 5
- VYZAMTAEIAYCRO-UHFFFAOYSA-N Chromium Chemical compound [Cr] VYZAMTAEIAYCRO-UHFFFAOYSA-N 0.000 description 7
- 230000008901 benefit Effects 0.000 description 6
- 230000008569 process Effects 0.000 description 5
- 230000006870 function Effects 0.000 description 3
- 238000009434 installation Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 230000002730 additional effect Effects 0.000 description 1
- 238000000429 assembly Methods 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
本发明公开了一种浏览器加载网页的方法,其中所述浏览器包括第一浏览器内核,以及以浏览器插件形式加载的第二浏览器内核;所述方法包括,所述浏览器以插件形式加载第二浏览器内核;所述浏览器接收用户请求加载网页的请求消息;判断出所述请求加载的网页与所述第二浏览器内核的适配关系;基于所述插件中的相适配第二浏览器内核,渲染并展示所述请求加载网页。根据本发明所述方法,在单核浏览器的情况下,实现了兼容模式的自动打开。本发明还提供一种浏览器加载网页的装置。
The invention discloses a method for loading a web page by a browser, wherein the browser includes a first browser kernel and a second browser kernel loaded in the form of a browser plug-in; the method includes that the browser uses a plug-in Formally load the second browser kernel; the browser receives a request message from the user requesting to load a webpage; judges the adaptation relationship between the requested webpage and the second browser kernel; based on the compatibility in the plug-in Configure the second browser kernel to render and display the requested webpage. According to the method of the present invention, in the case of a single-core browser, automatic opening of the compatibility mode is realized. The invention also provides a device for loading a webpage by a browser.
Description
技术领域 technical field
本发明涉及网络应用领域,具体涉及一种浏览器加载网页的方法和装置。 The invention relates to the field of network applications, in particular to a method and device for a browser to load a web page.
背景技术 Background technique
浏览器内核是浏览器的核心部分,负责对网页语法的解释以及对网页的渲染,因此浏览器内核决定了浏览器如何显示网页的内容以及页面的格式信息。目前比较常见的浏览器内核有IE浏览器使用的Trident内核(通常也被称为IE内核),Firefox浏览器使用的Gecko内核,Safari浏览器和Chrome浏览器使用的Webkit内核以及Opera浏览器使用的Presto内核。 The browser kernel is the core part of the browser, responsible for interpreting the syntax of the webpage and rendering the webpage, so the browser kernel determines how the browser displays the content of the webpage and the format information of the page. At present, the more common browser kernels include the Trident kernel used by the IE browser (usually also called the IE kernel), the Gecko kernel used by the Firefox browser, the Webkit kernel used by the Safari browser and the Chrome browser, and the Webkit kernel used by the Opera browser. Presto core.
不同的浏览器内核对网页语法的解释有不同,因此同一网页在不同的内核的浏览器里的渲染(显示)效果也可能不同。例如,Chrome浏览器就以启动、载入网页速度快等优点受到了大批用户的青睐。但是,目前国内部分网站只能支持IE内核浏览器的正常访问,比如网上银行、政府网站等等,因此使用诸Chrome浏览器的非IE内核浏览器往往不能正常渲染并显示这些网站。 Different browser kernels interpret webpage syntax differently, so the rendering (display) effect of the same webpage in browsers with different kernels may also be different. For example, the Chrome browser has been favored by a large number of users for its advantages such as fast startup and fast loading of web pages. However, at present, some domestic websites can only support the normal access of the IE kernel browser, such as online banking, government websites, etc., so non-IE kernel browsers using various Chrome browsers often cannot render and display these websites normally.
现有的解决方案是提供多内核浏览器,能够访问支持不同浏览器内核的网页。中国专利申请CN101655863A公开了一种在浏览器中加载网页的方法及浏览器,所述浏览器为多内核浏览器,该方法包括:接收用户加载网页的第一请求信息;按照预置规则获知所述用户请求的网页与所述浏览器内核之间的适配关系;根据所述适配关系选择对应的浏览器内核加载所述用户请求的网页。所述多内核浏览器能够对浏览器中的各内核进行智能选择,充分利用各个内核的优点,在一定程度上提高了浏览网页的效果。常见的多内核浏览器为在一浏览器中直接包含两个内核的双核浏览器,一个IE内核,一个Webkit内核;浏览器在打开网页的时候根据网页的类型选择用合适的内核打开。 The existing solution is to provide multi-kernel browsers, which can access webpages supporting different browser kernels. Chinese patent application CN101655863A discloses a method and a browser for loading a webpage in a browser. The browser is a multi-core browser. The method includes: receiving the first request information for a user to load a webpage; An adaptation relationship between the webpage requested by the user and the browser kernel; and selecting a corresponding browser kernel according to the adaptation relationship to load the webpage requested by the user. The multi-kernel browser can intelligently select each kernel in the browser, make full use of the advantages of each kernel, and improve the effect of browsing webpages to a certain extent. A common multi-core browser is a dual-core browser that directly includes two cores in one browser, one IE core and one Webkit core; when the browser opens a web page, it selects an appropriate core to open according to the type of the web page.
然而,由于携带了多个内核,现有多内核浏览器的体积都较为庞 大,运行速度也有相应的降低。如图1所示,现有多内核浏览器的所有流程都是在浏览器内部实现的,接收用户输入的网址,浏览器判断用户请求的网页与浏览器内核之间的适配关系,选择相适配的内核加载网页,然后渲染网页给用户。并且,多内核浏览器的其中一个兼容内核仅仅会在诸如加载网上银行的极少数情况下才会用到,通常情况下使用诸如Webkit内核的单核浏览器已经完全能够满足用户的需求;为了例如1%情况下才会用到的功能,导致了浏览器不得不携带双核,也造成了产品功能的极大浪费。 Yet, owing to carrying a plurality of kernels, the volume of existing multi-kernel browser is all comparatively huge, and running speed also has corresponding reduction. As shown in Figure 1, all the processes of the existing multi-core browser are implemented inside the browser. After receiving the URL input by the user, the browser judges the adaptation relationship between the web page requested by the user and the browser kernel, and selects the relevant URL. The adapted kernel loads the webpage, and then renders the webpage to the user. Moreover, one of the compatible kernels of a multi-core browser will only be used in rare cases such as loading online banking. Usually, using a single-core browser such as the Webkit kernel can fully meet the needs of users; for example The functions that are only used in 1% of the cases have caused the browser to carry dual-core, and also caused a great waste of product functions.
发明内容 Contents of the invention
鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决上述问题的浏览器加载网页的方法和相应的装置。 In view of the above problems, the present invention is proposed in order to provide a method and corresponding device for browser loading web pages that overcome the above problems or at least partially solve the above problems.
依据本发明的一个方面,提供了一种浏览器加载网页的方法,其中所述浏览器包括第一浏览器内核,以及以浏览器插件形式加载的第二浏览器内核;所述方法包括步骤: According to one aspect of the present invention, a method for loading a web page by a browser is provided, wherein the browser includes a first browser kernel and a second browser kernel loaded in the form of a browser plug-in; the method includes the steps of:
所述浏览器以插件形式加载第二浏览器内核; The browser loads the second browser kernel in the form of a plug-in;
所述浏览器接收用户请求加载网页的请求消息; The browser receives a request message from a user requesting to load a webpage;
判断出所述请求加载的网页与所述第二浏览器内核的适配关系; Determine the adaptation relationship between the webpage requested to be loaded and the second browser kernel;
基于所述插件中的相适配第二浏览器内核,渲染并展示所述请求加载网页。 Based on the adapted second browser kernel in the plug-in, render and display the webpage requested to be loaded.
可选地,第一浏览器内核为Webkit内核,第二浏览器内核为IE内核。 Optionally, the first browser kernel is a Webkit kernel, and the second browser kernel is an IE kernel.
根据本发明,所述浏览器为仅仅包括第一浏览器内核的单核浏览器,极大减少了浏览器安装包的体积;进一步地,本发明所述方法自动判断用户请求网页与浏览器内核的适配关系并自动调用相应内核来渲染并展示网页,使用户在享受带有Webkit内核的单核浏览器的诸多优点时,还能同时满足用户在登录诸如网上银行等网站时对IE内核的要求。 According to the present invention, the browser is a single-core browser that only includes the first browser kernel, which greatly reduces the size of the browser installation package; further, the method of the present invention automatically judges that the user requests a webpage and the browser kernel The adaptation relationship and automatically call the corresponding kernel to render and display the webpage, so that users can enjoy the many advantages of a single-core browser with Webkit kernel, and at the same time satisfy the user's requirements for the IE kernel when logging into websites such as online banking. Require.
可选地,在所述浏览器以插件形式加载第二浏览器内核之前,所述方法进一步包括初始化所述插件的接口的步骤,所述接口包括内核适配查询接口和页面创建接口。 Optionally, before the browser loads the second browser kernel in the form of a plug-in, the method further includes the step of initializing an interface of the plug-in, where the interface includes a kernel adaptation query interface and a page creation interface.
可选地,所述判断步骤包括,所述插件获取表示所述请求消息的网页URL地址;所述内核适配查询接口接收所述网页URL地址;基于所述网页URL地址,在内核适配数据库中查询所述网页与第二浏览器内核的适配关系;和,发出所述网页与第二浏览器内核是否适配的消息。在此实施例中,所述判断适配关系的步骤由插件完成;可替换地,所述判断适配关系的步骤也能由浏览器中的内核切换模组实现,然后由浏览器将是相适配的消息发送给插件。 Optionally, the step of judging includes that the plug-in obtains the URL address of the webpage representing the request message; the kernel adaptation query interface receives the URL address of the webpage; based on the URL address of the webpage, the kernel adaptation database Query the adaptation relationship between the webpage and the second browser kernel; and send a message about whether the webpage is compatible with the second browser kernel. In this embodiment, the step of judging the adaptation relationship is completed by a plug-in; alternatively, the step of judging the adaptation relationship can also be realized by the kernel switching module in the browser, and then the browser will be the corresponding Adapted messages are sent to plugins.
可选地,所述渲染并展示步骤包括,基于所述网页与第二浏览器内核相适配的消息,所述页面创建接口创建一新窗口或标签页;在所述新窗口或标签页中,基于所述第二浏览器内核渲染并展示所述网页。 Optionally, the rendering and displaying step includes, based on the message that the web page is compatible with the second browser kernel, the page creation interface creates a new window or tab page; in the new window or tab page , rendering and displaying the webpage based on the second browser kernel.
可选地,所述方法还包括,所述插件接收关闭所述网页的消息,关闭所述新窗口或标签页。 Optionally, the method further includes that the plug-in receives a message of closing the webpage, and closes the new window or tab page.
可选地,所述方法还包括,基于所述网页与第二浏览器内核不适配的消息,所述浏览器基于所述第一浏览器内核渲染并展示所述网页。 Optionally, the method further includes, based on the message that the webpage is not compatible with the second browser kernel, rendering and displaying the webpage by the browser based on the first browser kernel.
可选地,所述查询适配关系的步骤包括,基于所述网页的URL地址,在内核适配数据库中查询所述网页与第二浏览器内核的适配关系。进一步地,所述查询适配关系的步骤还可以包括,截取所述网页URL地址,得到所述网页的域名;并基于所述网页的域名,在内核适配数据库中查询所述网页的域名与第二浏览器内核的适配关系。 Optionally, the step of querying the adaptation relationship includes, based on the URL address of the webpage, querying the adaptation relationship between the webpage and the second browser kernel in a kernel adaptation database. Further, the step of querying the adaptation relationship may also include: intercepting the URL address of the web page to obtain the domain name of the web page; and based on the domain name of the web page, querying the domain name of the web page and The adaptation relationship of the second browser kernel.
可选地,若所述插件接收到用户点击网页中的支付类别按钮的消息,则:所述判断步骤包括,所述插件获取点击支付类别按钮动作所请求加载网页的URL地址;基于所述URL地址,判断出所述按钮与所述第二浏览器内核的适配关系;以及,所述渲染并展示步骤包括,基于所述插件中与所述按钮相适配第二浏览器内核,渲染并展示所述请求加载网页。 Optionally, if the plug-in receives a message that the user clicks the payment category button in the webpage, then: the judging step includes, the plug-in obtains the URL address of the webpage requested to be loaded by clicking the payment category button action; based on the URL address, judging the adaptation relationship between the button and the second browser kernel; and, the rendering and displaying step includes, based on the second browser kernel adapted to the button in the plug-in, rendering and Displays said request to load a web page.
根据本发明的另一方面,还提供了一种浏览器加载网页的装置,其中所述浏览器包括第一浏览器内核,以及以浏览器插件形式加载的第二浏览器内核;所述装置包括: According to another aspect of the present invention, there is also provided a device for loading a webpage by a browser, wherein the browser includes a first browser kernel and a second browser kernel loaded in the form of a browser plug-in; the device includes :
加载模块,配置为由所述浏览器以插件形式加载第二浏览器内核; A loading module configured to be loaded by the browser as a plug-in into the second browser kernel;
接收模块,配置为由所述浏览器接收用户请求加载网页的请求消息; The receiving module is configured to receive, by the browser, a request message from a user requesting to load a web page;
判断模块,配置为判断出所述请求加载的网页与所述第二浏览器 内核的适配关系;以及, Judging module, configured to judge the adaptation relationship between the webpage requested to be loaded and the second browser kernel; and,
渲染展示模块,配置为基于所述插件中的相适配第二浏览器内核,渲染并展示所述请求加载网页。 The rendering display module is configured to render and display the requested webpage based on the adapted second browser kernel in the plug-in.
根据本发明所述的浏览器加载网页的方法和装置,自动检测用户请求加载网页与浏览器内核的适配关系,并根据是否适配的检测结果自动调用浏览器所带内核或插件所带内核来渲染并展示所述网页;由此,在浏览器不携带双内核的情况下,通过单核浏览器实现了兼容模式的自动打开;同时还减少了浏览器的安装体积和运行负担。 According to the method and device for loading a webpage by a browser according to the present invention, the adaptation relationship between the webpage requested by the user to be loaded and the browser kernel is automatically detected, and the kernel of the browser or the kernel of the plug-in is automatically invoked according to the detection result of whether it is adapted or not To render and display the webpage; thus, in the case that the browser does not carry a dual-core, the compatibility mode is automatically opened through a single-core browser; meanwhile, the installation volume and operating load of the browser are reduced.
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。 The above description is only an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention, it can be implemented according to the contents of the description, and in order to make the above and other purposes, features and advantages of the present invention more obvious and understandable , the specific embodiments of the present invention are enumerated below.
附图说明 Description of drawings
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中: Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiment. The drawings are only for the purpose of illustrating a preferred embodiment and are not to be considered as limiting the invention. Also throughout the drawings, the same reference numerals are used to designate the same components. In the attached picture:
图1示出了现有双核浏览器加载网页的流程示意图; Fig. 1 shows the schematic flow chart of the existing dual-core browser loading webpage;
图2示出了根据本发明一个实施例的浏览器加载网页方法的流程示意图; FIG. 2 shows a schematic flowchart of a method for loading a webpage by a browser according to an embodiment of the present invention;
图3示出了根据本发明一个实施例的判断用户请求加载网页的流程示意图; FIG. 3 shows a schematic flow diagram of judging that a user requests to load a webpage according to an embodiment of the present invention;
图4示出了根据本发明另一实施例的浏览器加载网页装置的示意图。 Fig. 4 shows a schematic diagram of an apparatus for loading a web page by a browser according to another embodiment of the present invention.
具体实施方式 detailed description
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。 Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
图2示出了根据本发明的浏览器加载网页方法,其中所述浏览器包括第一浏览器内核,以及以浏览器插件形式加载的第二浏览器内核。在本实施例中,第一浏览器内核为Chrome浏览器使用的Webkit内核,第二浏览器内核为IE内核。第二浏览器内核插件,在这里即为IE内核的Chrome插件。由于Chrome浏览器具有非常高的可扩展性,具有非常成熟的插件机制,可以根据其成熟的Chrome插件机制来制作IE内核插件,具体制作过程在此不再赘述。 Fig. 2 shows a method for loading a webpage by a browser according to the present invention, wherein the browser includes a first browser kernel and a second browser kernel loaded in the form of a browser plug-in. In this embodiment, the first browser kernel is the Webkit kernel used by the Chrome browser, and the second browser kernel is the IE kernel. The second browser kernel plug-in is the Chrome plug-in of the IE kernel here. Since the Chrome browser has very high scalability and a very mature plug-in mechanism, the IE kernel plug-in can be produced according to its mature Chrome plug-in mechanism, and the specific production process will not be repeated here.
图2所示方法包括:步骤201,浏览器以插件形式加载IE内核;步骤202,浏览器接收用户请求加载网页的请求消息;步骤203,插件判断出所述请求加载的网页与IE内核的适配关系;步骤204,如果相适配,插件基于IE内核来渲染并展示所述请求加载网页;以及步骤205,如果不相适配,浏览器基于Webkit内核来渲染并展示所述网页。 The method shown in Fig. 2 comprises: step 201, browser loads IE kernel with plug-in form; Step 202, browser receives the request message of user's request loading webpage; In step 204, if it matches, the plug-in renders and displays the requested webpage based on the IE kernel; and in step 205, if it does not match, the browser renders and displays the webpage based on the Webkit kernel.
在步骤201,浏览器加载IE内核插件;优选地,在加载IE内核之前,初始化所述IE插件的两个接口,内核适配查询接口searchurl和页面创建接口openurl。 In step 201, the browser loads the IE kernel plug-in; preferably, before loading the IE kernel, initialize two interfaces of the IE plug-in, the kernel adaptation query interface searchurl and the page creation interface openurl.
IE内核加载完成后,浏览器在步骤202接收用户请求加载网页的请求消息,所述请求消息包括了用户请求加载网页的URL地址;其中,请求消息可以通过现有的各种方式向浏览器发出,例如在浏览器地址栏中输入所要请求加载网页的URL地址;点击网页中的超级链接;或点击网页中的支付类别按钮等等。 After the loading of the IE kernel is completed, the browser receives the request message of the user's request to load the webpage in step 202, and the request message includes the URL address of the user's request to load the webpage; wherein, the request message can be sent to the browser in various existing ways , such as inputting the URL address of the webpage to be requested to be loaded in the browser address bar; clicking a hyperlink in the webpage; or clicking a payment category button in the webpage, etc.
在浏览器接收到请求消息之后,IE内核插件在步骤203判断出所述请求加载的网页与IE内核的适配关系,具体判断步骤将在下面结合附图3进行详细说明。 After the browser receives the request message, the IE core plug-in determines the adaptation relationship between the webpage requested to be loaded and the IE core in step 203, and the specific determination steps will be described in detail below in conjunction with FIG. 3 .
如果步骤203的判断结果是请求加载网页与IE内核相适配,则进行步骤204;在此步骤中,IE内核插件的页面创建接口openurl会创建一新的窗口或标签页;在所述新窗口或标签页中,基于IE内核来渲染并展示所述网页给用户,例如在新窗口或标签页中基于IE内核来显示网上银行的支付页面,接收并处理用户的各种操作。基于IE内核渲染并展示网页的具体操作可参见现有IE浏览器对网页的渲染和展示,在此也不再赘述。进一步地,当用户完成操作需要关闭所述网页时,插件接收相应关闭消息,则关闭所述新窗口或标签页。 If the judgment result of step 203 is that the request loading webpage is compatible with the IE kernel, then proceed to step 204; in this step, the page creation interface openurl of the IE kernel plug-in can create a new window or tab page; in the new window Or in the tab page, render and display the webpage to the user based on the IE kernel, for example, display the payment page of the online bank based on the IE kernel in a new window or tab page, and receive and process various operations of the user. For specific operations of rendering and displaying webpages based on the IE kernel, refer to the rendering and displaying of webpages by existing IE browsers, which will not be repeated here. Further, when the user completes the operation and needs to close the webpage, the plug-in receives a corresponding close message, and then closes the new window or tab page.
如果步骤203的判断结果是请求加载网页与IE内核不适配,则进 行步骤205,基于浏览器的Webkit内核来渲染网页,为用户提供快速的浏览体验。 If the judgment result of step 203 is that the request to load the webpage does not match the IE kernel, then perform step 205, and render the webpage based on the Webkit kernel of the browser to provide a fast browsing experience for the user.
特别地,下面以用户点击了网页中的支付类别按钮为例来特别进一步说明图2所述方法。当支付类别按钮被点击,在判断步骤203,被加载的I E插件获取点击支付类别按钮动作所请求加载网页的URL地址,然后基于所述URL地址,判断出所述按钮与IE内核的适配关系;在渲染展示步骤204,基于所述IE插件中与所述按钮相适配的IE内核,渲染并展示所述请求加载网页。 In particular, the method described in FIG. 2 will be further described below by taking the user clicking a payment category button on a web page as an example. When the payment category button is clicked, in judging step 203, the loaded IE plug-in obtains the URL address of the webpage requested to be loaded by clicking the payment category button action, and then judges the adaptation relationship between the button and the IE kernel based on the URL address ; In the rendering and displaying step 204, based on the IE kernel in the IE plug-in adapted to the button, render and display the request to load the webpage.
由此,在用户使用Webkit单核浏览器在购物网站时购物,需要点击支付按钮进行网上支付操作时,本方法实现了Webkit单核浏览器下以兼容模式自动打开网上银行,用户不用采用额外的动作来更换浏览器或者更改浏览器的设置。本实施例所提及的兼容模式,主要是指基于I E内核对网页渲染和展示。当然,本领域技术人员应当理解,所述兼容模式也可以是基于其他内核(与浏览器自身内核不同的内核)对网页渲染和展示。 Thus, when the user uses the Webkit single-core browser to shop on a shopping website and needs to click the payment button to perform an online payment operation, this method realizes that the online bank is automatically opened in a compatible mode under the Webkit single-core browser, and the user does not need to use additional Actions to change browsers or change browser settings. The compatibility mode mentioned in this embodiment mainly refers to rendering and displaying webpages based on the IE kernel. Of course, those skilled in the art should understand that the compatibility mode may also be rendering and displaying webpages based on other kernels (kernels different from the browser's own kernel).
图3示出了图2所示步骤203包含的具体流程,包含了如下步骤:步骤301,插件获取表示所述请求消息的网页URL地址;步骤302,内核适配查询接口searchurl接收所述网页URL地址;步骤303,基于所述网页URL地址,插件在内核适配数据库中查询所述网页与IE内核的适配关系;步骤304,发出所述网页与IE内核是否适配的消息。 Fig. 3 has shown the specific flow that step 203 shown in Fig. 2 comprises, has included following steps: step 301, plug-in obtains the webpage URL address that represents described request message; Step 302, kernel adaptation query interface searchurl receives described webpage URL address; step 303, based on the URL address of the webpage, the plug-in queries the adaptation relationship between the webpage and the IE kernel in the kernel adaptation database; step 304, sends out a message whether the webpage is compatible with the IE kernel.
步骤303中使用的内核适配数据库由多个网页内核适配项组成,每个网页内核适配项包含某网页的URL地址及与所述URL地址相适配的浏览器内核,例如一网页内核适配项包含的URL地址为hao.360.cn/youxi/xxx.html,其相适配的浏览器内核为Webkit内核。由此,若内核适配查询接口searchurl接收到的网页URL地址为hao.360.cn/youxi/xxx.html,则步骤303查询到该网页与IE内核不适配。 The kernel adaptation database used in step 303 is made up of a plurality of webpage kernel adaptation items, and each webpage kernel adaptation item includes the URL address of a certain webpage and the browser kernel adapted to the URL address, such as a webpage kernel The URL address included in the adaptation item is hao.360.cn/youxi/xxx.html, and the compatible browser kernel is the Webkit kernel. Thus, if the URL address of the webpage received by the kernel adaptation query interface searchurl is hao.360.cn/youxi/xxx.html, step 303 finds that the webpage is not compatible with the IE kernel.
可替换地,内核适配数据库的每个网页内核适配项包含某网页的域名及与所域名相适配的浏览器内核,例如一网页内核适配项包含的域名为hao.360.cn,其相适配的浏览器内核为Webkit内核。由此,若内核适配查询接口searchurl接收到的网页URL地址为hao.360.cn/youxi/xxx.html,则在步骤303中,内核适配查询接口 searchurl先截取网页URL地址,得到网页的域名hao.360.cn,然后在数据库中查询到该网页与IE内核不适配。 Alternatively, each webpage kernel adaptation item in the kernel adaptation database includes the domain name of a certain webpage and the browser kernel that matches the domain name, for example, the domain name included in a webpage kernel adaptation item is hao.360.cn, The compatible browser kernel is the Webkit kernel. Therefore, if the URL address of the webpage received by the kernel adaptation query interface searchurl is hao.360.cn/youxi/xxx.html, then in step 303, the kernel adaptation query interface searchurl first intercepts the webpage URL address to obtain the URL of the webpage The domain name is hao.360.cn, and it is found in the database that the webpage does not match the IE kernel.
对于步骤203,可替换地,也可以在浏览器中完成,例如由浏览器的内核切换模组完成,内核适配数据库也包含在浏览器中,若请求消息与IE内核相适配,再将适配的消息发送给插件。 For step 203, alternatively, it can also be completed in the browser, such as by the kernel switching module of the browser, the kernel adaptation database is also included in the browser, if the request message is compatible with the IE kernel, then the Adapted messages are sent to plugins.
图4示出了本发明所述浏览器加载网页装置400,包括,加载模块401,配置为由浏览器以插件形式加载IE内核;接收模块402,配置为由浏览器接收用户请求加载网页的请求消息;判断模块403,配置为判断出所述请求加载的网页与IE内核的适配关系;以及渲染展示模块404,配置为基于所述插件中的相适配IE内核,渲染并展示所述请求加载网页。 Fig. 4 shows browser loading webpage device 400 of the present invention, comprises, loading module 401, is configured to load IE core by browser in plug-in form; Receiving module 402, is configured to receive the request that user requests to load webpage by browser message; judging module 403, configured to judge the adaptation relationship between the webpage loaded by the request and the IE kernel; and rendering display module 404, configured to render and display the request based on the matching IE kernel in the plug-in Load the web page.
加载模块401配置为由浏览器加载IE内核插件,优选地,在加载模块401之前,装置400进一步包括初始化模块,配置为初始化所述插件的接口,所述接口包括内核适配查询接口searchurl和页面创建接口openurl。 The loading module 401 is configured to load the IE kernel plug-in by the browser. Preferably, before the loading module 401, the device 400 further includes an initialization module configured to initialize the interface of the plug-in, and the interface includes a kernel adaptation query interface searchurl and a page Create interface openurl.
在IE内核插件加载完成后,接收模块402经由浏览器接收用户请求加载网页的请求消息,所述请求消息包括了用户请求加载网页的URL地址;其中,请求消息可以通过现有的各种方式向浏览器发出,例如在浏览器地址栏中输入所要请求加载网页的URL地址;点击网页中的超级链接;或点击网页中的支付类别按钮等等。 After the loading of the IE kernel plug-in is completed, the receiving module 402 receives the request message of the user's request to load the webpage via the browser, and the request message includes the URL address of the user's request to load the webpage; wherein, the request message can be sent to Issued by the browser, for example, input the URL address of the webpage to be requested to load in the browser address bar; click a hyperlink in the webpage; or click a payment category button in the webpage, etc.
在浏览器接收到请求消息之后,判断模块403判断出所述请求加载的网页与IE内核的适配关系,具体包括由所述插件获取表示所述请求消息的网页URL地址;由所述内核适配查询接口接收所述网页URL地址;基于所述网页URL地址,在内核适配数据库中查询所述网页与IE内核的适配关系;发出所述网页与IE内核是否适配的消息。 After the browser receives the request message, the judging module 403 judges the adaptation relationship between the webpage requested to be loaded and the IE kernel, which specifically includes obtaining by the plug-in the URL address of the webpage representing the request message; The configuration query interface receives the URL address of the webpage; based on the URL address of the webpage, queries the adaptation relationship between the webpage and the IE kernel in the kernel adaptation database; sends out a message about whether the webpage is compatible with the IE kernel.
如果判断模块403发出请求加载网页与IE内核相适配的消息,则渲染展示模块404经由IE内核插件的页面创建接口openurl会创建一新的窗口或标签页;在所述新窗口或标签页中,渲染展示模块404基于IE内核来渲染并展示所述网页给用户,例如在新窗口或标签页中基于IE内核来显示网上银行的支付页面,接收并处理用户的各种操作。进一步地,所述装置还包括关闭模块,当插件接收网页关闭消息,则关闭所述新窗口或标签页。 If the judging module 403 sends a message that the request to load the webpage is compatible with the IE kernel, the rendering display module 404 will create a new window or tab page via the page creation interface openurl of the IE kernel plug-in; in the new window or tab page The rendering display module 404 renders and displays the webpage to the user based on the IE kernel, for example, displays the online banking payment page based on the IE kernel in a new window or tab page, and receives and processes various operations of the user. Further, the device further includes a closing module, which closes the new window or tab page when the plug-in receives a web page closing message.
特别地,下面以用户点击了网页中的支付类别按钮为例来特别进一步说明图4所述装置。若所述插件接收到用户点击网页中的支付类别按钮的消息,则所述判断模块被配置为获取点击支付类别按钮动作所请求加载网页的URL地址;基于所述URL地址,判断出所述按钮与所述第二浏览器内核的适配关系;以及,渲染展示模块被配置为基于所述插件中与所述按钮相适配第二浏览器内核,渲染并展示所述请求加载网页。 In particular, the device described in FIG. 4 will be further described below by taking the user clicking a payment category button on a web page as an example. If the plug-in receives a message that the user clicks the payment category button in the webpage, the judging module is configured to obtain the URL address of the webpage requested to be loaded by clicking the payment category button action; based on the URL address, determine the button Adaptation relationship with the second browser kernel; and, the rendering and display module is configured to render and display the request to load the webpage based on the second browser kernel being adapted to the button in the plug-in.
综上所述,经由本发明所述的加载网页的方法和装置,在浏览器不携带双内核的情况下,实现了网页与浏览器内核适配关系的自动检测和浏览器兼容模式的自动打开。一方面减少了浏览器的安装体积和运行负担,另一方面又解决了用户在使用Webkit内核浏览器浏览网上银行等网站时不兼容的问题。 To sum up, through the method and device for loading web pages described in the present invention, when the browser does not carry dual cores, the automatic detection of the adaptation relationship between the web page and the browser kernel and the automatic opening of the browser compatibility mode are realized. . On the one hand, it reduces the installation volume and operating burden of the browser, and on the other hand, it solves the problem of incompatibility when users use the Webkit kernel browser to browse websites such as online banking.
本领域技术人员应当了解,本发明所述第一、第二浏览器内核并不限于前面实施例中所提及的Webkit内核和IE内核。例如,第一浏览器内核也可以是其他非IE内核,诸如Gecko内核或Presto内核等;相应地,此时就需要制作能够在相应内核浏览器中运行的IE内核插件。 Those skilled in the art should understand that the first and second browser kernels in the present invention are not limited to the Webkit kernel and the IE kernel mentioned in the foregoing embodiments. For example, the first browser kernel may also be other non-IE kernels, such as Gecko kernel or Presto kernel; correspondingly, at this time, it is necessary to make an IE kernel plug-in capable of running in a corresponding kernel browser.
本发明提供的方法不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。 The methods provided by the present invention are not inherently related to any particular computer, virtual system, or other device. Various generic systems can also be used with the teachings based on this. The structure required to construct such a system is apparent from the above description. Furthermore, the present invention is not specific to any particular programming language. It should be understood that various programming languages can be used to implement the contents of the present invention described herein, and the above description of specific languages is for disclosing the best mode of the present invention.
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。 In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure the understanding of this description.
类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说, 如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。 Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, in order to streamline this disclosure and to facilitate an understanding of one or more of the various inventive aspects, various features of the invention are sometimes grouped together in a single embodiment, figure, or its description. This method of disclosure, however, is not to be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the Detailed Description are hereby expressly incorporated into this Detailed Description, with each claim standing on its own as a separate embodiment of this invention.
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。 Those skilled in the art can understand that the modules in the device in the embodiment can be adaptively changed and arranged in one or more devices different from the embodiment. Modules or units or components in the embodiments may be combined into one module or unit or component, and furthermore may be divided into a plurality of sub-modules or sub-units or sub-assemblies. All features disclosed in this specification (including accompanying claims, abstract and drawings) and any method or method so disclosed may be used in any combination, except that at least some of such features and/or processes or units are mutually exclusive. All processes or units of equipment are combined. Each feature disclosed in this specification (including accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。 Furthermore, those skilled in the art will understand that although some embodiments described herein include some features included in other embodiments but not others, combinations of features from different embodiments are meant to be within the scope of the invention. and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。 The various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that a microprocessor or a digital signal processor (DSP) may be used in practice to implement some or all functions of some or all components in the embodiments of the present invention. The present invention can also be implemented as an apparatus or an apparatus program (for example, a computer program and a computer program product) for performing a part or all of the methods described herein. Such a program for realizing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such a signal may be downloaded from an Internet site, or provided on a carrier signal, or provided in any other form.
应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可 设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。 It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means can be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. does not indicate any order. These words can be interpreted as names.
Claims (13)
1.一种浏览器加载网页的方法,其中所述浏览器包括第一浏览器内核,以及以浏览器插件形式加载的第二浏览器内核;所述方法包括步骤:1. A method for a browser to load a webpage, wherein said browser includes a first browser kernel, and a second browser kernel loaded in a browser plug-in form; said method comprises the steps of: 初始化所述插件的接口,所述接口包括内核适配查询接口和页面创建接口;Initialize the interface of the plug-in, the interface includes a kernel adaptation query interface and a page creation interface; 所述浏览器以插件形式加载第二浏览器内核;The browser loads the second browser kernel in the form of a plug-in; 所述浏览器接收用户请求加载网页的请求消息;The browser receives a request message from a user requesting to load a web page; 判断出所述请求加载的网页与所述第二浏览器内核的适配关系;Determine the adaptation relationship between the webpage requested to be loaded and the second browser kernel; 基于所述插件中的相适配第二浏览器内核,渲染并展示所述请求加载网页;Rendering and displaying the requested loading webpage based on the adapted second browser kernel in the plug-in; 其中,所述判断步骤包括:Wherein, the judgment step includes: 所述插件获取表示所述请求消息的网页URL地址;The plug-in obtains the URL address of the webpage representing the request message; 所述内核适配查询接口接收所述网页URL地址;The kernel adaptation query interface receives the URL address of the web page; 基于所述网页URL地址,所述插件在内核适配数据库中查询所述网页与第二浏览器内核的适配关系;Based on the URL address of the webpage, the plug-in queries the adaptation relationship between the webpage and the second browser kernel in a kernel adaptation database; 发出所述网页与第二浏览器内核是否适配的消息。Send out a message about whether the webpage is compatible with the second browser kernel. 2.根据权利要求1所述的方法,其特征在于,所述渲染并展示步骤包括:2. The method according to claim 1, wherein the rendering and displaying step comprises: 基于所述网页与第二浏览器内核相适配的消息,所述页面创建接口创建一新窗口或标签页;Based on the message that the webpage is compatible with the second browser kernel, the page creation interface creates a new window or tab page; 在所述新窗口或标签页中,基于所述第二浏览器内核渲染并展示所述网页。In the new window or tab page, the webpage is rendered and displayed based on the second browser kernel. 3.根据权利要求2所述的方法,其特征在于,还包括步骤:3. The method according to claim 2, further comprising the steps of: 所述插件接收关闭所述网页的消息,关闭所述新窗口或标签页。The plug-in receives the message of closing the webpage, and closes the new window or tab page. 4.根据权利要求1所述的方法,其特征在于,还包括步骤:4. The method according to claim 1, further comprising the steps of: 基于所述网页与第二浏览器内核不适配的消息,所述浏览器基于所述第一浏览器内核渲染并展示所述网页。Based on the message that the webpage is not compatible with the second browser kernel, the browser renders and displays the webpage based on the first browser kernel. 5.根据权利要求1所述的方法,其特征在于,所述查询适配关系的步骤包括:5. method according to claim 1, is characterized in that, the step of described query adaptation relation comprises: 基于所述网页的URL地址,在内核适配数据库中查询所述网页与第二浏览器内核的适配关系。Based on the URL address of the webpage, query the adaptation relationship between the webpage and the second browser kernel in a kernel adaptation database. 6.根据权利要求5所述的方法,其特征在于,所述查询适配关系的步骤包括:6. method according to claim 5, is characterized in that, the step of described query adaptation relation comprises: 截取所述网页URL地址,得到所述网页的域名;并Intercepting the URL address of the webpage to obtain the domain name of the webpage; and 基于所述网页的域名,在内核适配数据库中查询所述网页的域名与第二浏览器内核的适配关系。Based on the domain name of the webpage, query the adaptation relationship between the domain name of the webpage and the kernel of the second browser in the kernel adaptation database. 7.根据权利要求1所述的方法,其特征在于,进一步包括:所述插件接收到用户点击网页中的支付类别按钮的消息;则7. The method according to claim 1, further comprising: the plug-in receives a message that the user clicks the payment category button in the webpage; then 所述判断步骤包括:The judging steps include: 所述插件获取点击支付类别按钮动作所请求加载网页的URL地址;和The plug-in obtains the URL address of the web page requested by the action of clicking the payment category button; and 基于所述URL地址,判断出所述按钮与所述第二浏览器内核的适配关系;以及Based on the URL address, determine the adaptation relationship between the button and the second browser kernel; and 渲染并展示步骤包括:Render and display steps include: 基于所述插件中与所述按钮相适配第二浏览器内核,渲染并展示所述请求加载网页。Based on the second browser kernel adapted to the button in the plug-in, render and display the request to load the webpage. 8.根据权利要求1所述的方法,其特征在于,所述判断适配关系的步骤由浏览器中的内核切换模组实现。8. The method according to claim 1, wherein the step of judging the adaptation relationship is implemented by a kernel switching module in the browser. 9.根据权利要求1-8之任一所述的方法,其特征在于,所述第一浏览器内核为Webkit内核,所述第二浏览器内核为IE内核。9. The method according to any one of claims 1-8, wherein the first browser kernel is a Webkit kernel, and the second browser kernel is an IE kernel. 10.一种浏览器加载网页的装置,其中所述浏览器包括第一浏览器内核,以及以浏览器插件形式加载的第二浏览器内核;所述装置包括:10. A device for a browser to load a webpage, wherein the browser includes a first browser kernel, and a second browser kernel loaded in the form of a browser plug-in; the device includes: 初始化模块,配置为初始化所述插件的接口,所述接口包括内核适配查询接口和页面创建接口;The initialization module is configured to initialize the interface of the plug-in, and the interface includes a kernel adaptation query interface and a page creation interface; 加载模块,配置为由所述浏览器以插件形式加载第二浏览器内核;A loading module configured to be loaded by the browser as a plug-in into the second browser kernel; 接收模块,配置为由所述浏览器接收用户请求加载网页的请求消息;The receiving module is configured to receive, by the browser, a request message from a user requesting to load a web page; 判断模块,配置为判断出所述请求加载的网页与所述第二浏览器内核的适配关系;A judging module configured to judge the adaptation relationship between the webpage requested to be loaded and the second browser kernel; 渲染展示模块,配置为基于所述插件中的相适配第二浏览器内核,渲染并展示所述请求加载网页;The rendering display module is configured to render and display the requested webpage based on the adapted second browser kernel in the plug-in; 其中,所述判断模块被配置为:Wherein, the judgment module is configured as: 由所述插件获取表示所述请求消息的网页URL地址;Obtaining the URL address of the webpage representing the request message by the plug-in; 由所述内核适配查询接口接收所述网页URL地址;receiving the URL address of the webpage by the kernel adaptation query interface; 基于所述网页URL地址,在内核适配数据库中查询所述网页与第二浏览器内核的适配关系;Based on the URL address of the webpage, query the adaptation relationship between the webpage and the second browser kernel in the kernel adaptation database; 发出所述网页与第二浏览器内核是否适配的消息。Send out a message about whether the webpage is compatible with the second browser kernel. 11.根据权利要求10所述的装置,其特征在于,所述渲染展示模块被配置为:11. The device according to claim 10, wherein the rendering display module is configured to: 基于所述网页与第二浏览器内核相适配的消息,所述页面创建接口创建一新窗口或标签页;Based on the message that the webpage is compatible with the second browser kernel, the page creation interface creates a new window or tab page; 在所述新窗口或标签页中,基于所述第二浏览器内核渲染并展示所述网页。In the new window or tab page, the webpage is rendered and displayed based on the second browser kernel. 12.根据权利要求11所述的装置,其特征在于,还包括:12. The device of claim 11, further comprising: 关闭模块,配置为由所述插件接收关闭所述网页的消息,关闭所述新窗口或标签页。The closing module is configured to receive the message of closing the webpage by the plug-in, and close the new window or tab page. 13.根据权利要求10所述的装置,其特征在于,所述插件接收到用户点击网页中的支付类别按钮的消息,则,13. The device according to claim 10, wherein the plug-in receives a message that the user clicks the payment category button on the web page, then, 所述判断模块被配置为:The judgment module is configured to: 获取点击支付类别按钮动作所请求加载网页的URL地址;和Obtain the URL address of the loaded web page requested by the action of clicking the payment category button; and 基于所述URL地址,判断出所述按钮与所述第二浏览器内核的适配关系;以及Based on the URL address, determine the adaptation relationship between the button and the second browser kernel; and 渲染展示模块被配置为:The rendering display module is configured as: 基于所述插件中与所述按钮相适配第二浏览器内核,渲染并展示所述请求加载网页。Based on the second browser kernel adapted to the button in the plug-in, render and display the request to load the webpage.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210413437.9A CN102915366B (en) | 2012-10-25 | 2012-10-25 | A kind of browser loads the method and apparatus of webpage |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210413437.9A CN102915366B (en) | 2012-10-25 | 2012-10-25 | A kind of browser loads the method and apparatus of webpage |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102915366A CN102915366A (en) | 2013-02-06 |
CN102915366B true CN102915366B (en) | 2016-10-05 |
Family
ID=47613732
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210413437.9A Active CN102915366B (en) | 2012-10-25 | 2012-10-25 | A kind of browser loads the method and apparatus of webpage |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102915366B (en) |
Families Citing this family (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103500194A (en) * | 2013-09-17 | 2014-01-08 | 北京奇虎科技有限公司 | Method, device and browser for loading webpage |
CN103955378B (en) * | 2014-03-31 | 2017-10-31 | 北京奇虎科技有限公司 | A kind of configuring information processing method and device for IE kernel browsers |
CN104951326B (en) * | 2014-03-31 | 2020-06-30 | 腾讯科技(深圳)有限公司 | Webpage access method and device |
CN105095291A (en) * | 2014-05-15 | 2015-11-25 | 腾讯科技(深圳)有限公司 | Browser kernel control method and apparatus |
CN105160028B (en) * | 2015-09-30 | 2019-04-19 | 北京海鑫高科指纹技术有限公司 | Web page browsing implementation method and browser realize system |
CN106446305A (en) * | 2016-12-23 | 2017-02-22 | 网际傲游(北京)科技有限公司 | System and method for Linux browser to realize Webkit/IE dual-core seamless browsing |
CN106897406A (en) * | 2017-02-15 | 2017-06-27 | 中国联合网络通信集团有限公司 | The method and device of switching browser mark |
CN109739505B (en) | 2019-01-08 | 2019-11-29 | 网易(杭州)网络有限公司 | A kind for the treatment of method and apparatus of user interface |
CN109992326A (en) * | 2019-03-28 | 2019-07-09 | 武汉达梦数据库有限公司 | A kind of data access method and corresponding terminal |
CN112214712A (en) * | 2020-10-28 | 2021-01-12 | 新华三大数据技术有限公司 | Automatic browser switching method and device, storage medium and electronic equipment |
CN114943049A (en) * | 2022-05-18 | 2022-08-26 | 深圳优美创新科技有限公司 | Method, system, device and storage medium for acquiring external logical data of webpage |
CN118276984B (en) * | 2024-05-29 | 2024-08-16 | 珠海儒特网络科技有限公司 | Method for loading kernel plug-in by browser engine, embedded device and household appliance |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101655863A (en) * | 2009-04-24 | 2010-02-24 | 北京搜狗科技发展有限公司 | Method for loading web pages in browser and browser |
CN102385594A (en) * | 2010-08-31 | 2012-03-21 | 腾讯科技(深圳)有限公司 | Method and device for controlling inner cores of multi-core browser |
CN102663081A (en) * | 2012-04-01 | 2012-09-12 | 杭州格畅科技有限公司 | Method capable of browsing webpages in online platform application, online browser, and online application platform |
CN102890724A (en) * | 2012-10-25 | 2013-01-23 | 北京奇虎科技有限公司 | Webpage loading method and device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060242126A1 (en) * | 2005-03-25 | 2006-10-26 | Andrew Fitzhugh | System and method for a context-sensitive extensible plug-in architecture |
-
2012
- 2012-10-25 CN CN201210413437.9A patent/CN102915366B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101655863A (en) * | 2009-04-24 | 2010-02-24 | 北京搜狗科技发展有限公司 | Method for loading web pages in browser and browser |
CN102385594A (en) * | 2010-08-31 | 2012-03-21 | 腾讯科技(深圳)有限公司 | Method and device for controlling inner cores of multi-core browser |
CN102663081A (en) * | 2012-04-01 | 2012-09-12 | 杭州格畅科技有限公司 | Method capable of browsing webpages in online platform application, online browser, and online application platform |
CN102890724A (en) * | 2012-10-25 | 2013-01-23 | 北京奇虎科技有限公司 | Webpage loading method and device |
Non-Patent Citations (1)
Title |
---|
心与心的交流 认识浏览器的内核;飞飞;《电脑爱好者》;20060531(第10期);83-84 * |
Also Published As
Publication number | Publication date |
---|---|
CN102915366A (en) | 2013-02-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102890724B (en) | 2015-12-09 | webpage loading method and device |
CN102915366B (en) | 2016-10-05 | A kind of browser loads the method and apparatus of webpage |
US11010822B2 (en) | 2021-05-18 | Cross-domain communications between browser windows |
CN102968341B (en) | 2016-09-28 | The method and apparatus of different editions IE kernels based on many kernel browsers switching |
CN103279517A (en) | 2013-09-04 | A method for displaying webpage content |
CN103020191B (en) | 2017-04-05 | A kind of device and method for showing file |
CN104572968B (en) | 2018-06-26 | A kind of method for updating pages and device |
WO2013178094A1 (en) | 2013-12-05 | Page display method and device |
CN103685528A (en) | 2014-03-26 | Information displaying method and device |
CN104469528B (en) | 2018-06-19 | A kind of method, apparatus and browser client for carrying out video data loading |
CN103500211A (en) | 2014-01-08 | Method and system for providing search services and client side |
CN106339414A (en) | 2017-01-18 | Webpage rendering method and device |
CN104462571A (en) | 2015-03-25 | Webpage loading method and device and browser client-side |
CN105183890B (en) | 2020-07-10 | Browser-based web page loading method and browser device |
CN105260421A (en) | 2016-01-20 | Webpage loading method and apparatus |
WO2015158304A1 (en) | 2015-10-22 | Data processing method and apparatus |
CN102968448B (en) | 2016-09-28 | A kind of browser |
CN103686809A (en) | 2014-03-26 | Method, mobile terminal and system for providing solutions to mobile terminal failure problems |
CN105260424A (en) | 2016-01-20 | Processing method and apparatus for webpage browsing historical records and most common accesses of user |
CN104063247B (en) | 2018-07-06 | The call method and system of a kind of application program |
CN103024010A (en) | 2013-04-03 | File display device and method |
CN103605686A (en) | 2014-02-26 | Terminal fault solution providing method, server and system based on searching |
CN102981845A (en) | 2013-03-20 | Page elements processing method of browser and page elements processing device of browser |
CN102915378B (en) | 2016-05-04 | In webpage, content show state changes method and apparatus |
CN104932910A (en) | 2015-09-23 | Method and system for application program interface extension |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
2013-02-06 | C06 | Publication | |
2013-02-06 | PB01 | Publication | |
2013-03-20 | C10 | Entry into substantive examination | |
2013-03-20 | SE01 | Entry into force of request for substantive examination | |
2016-10-05 | C14 | Grant of patent or utility model | |
2016-10-05 | GR01 | Patent grant | |
2022-08-02 | TR01 | Transfer of patent right | |
2022-08-02 | TR01 | Transfer of patent right |
Effective date of registration: 20220721 Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015 Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park) Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Patentee before: Qizhi software (Beijing) Co.,Ltd. |