Movatterモバイル変換


[0]ホーム

URL:


CN103631942A - Method and device for accessing webpage and browser - Google Patents

Method and device for accessing webpage and browser
Download PDF

Info

Publication number
CN103631942A
CN103631942ACN201310667258.2ACN201310667258ACN103631942ACN 103631942 ACN103631942 ACN 103631942ACN 201310667258 ACN201310667258 ACN 201310667258ACN 103631942 ACN103631942 ACN 103631942A
Authority
CN
China
Prior art keywords
web page
page address
browser
browser kernel
described web
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310667258.2A
Other languages
Chinese (zh)
Inventor
宋雷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shell Internet Beijing Security Technology Co Ltd
Original Assignee
Shell Internet Beijing Security Technology 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 Shell Internet Beijing Security Technology Co LtdfiledCriticalShell Internet Beijing Security Technology Co Ltd
Priority to CN201310667258.2ApriorityCriticalpatent/CN103631942A/en
Publication of CN103631942ApublicationCriticalpatent/CN103631942A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Classifications

Landscapes

Abstract

The invention provides a method and a device for accessing a webpage, and a browser. The method comprises the following steps: receiving a browser access request of a user, wherein the browser access request carries a webpage address; determining a browser inner core corresponding to the webpage address; accessing the webpage address through the browser inner core corresponding to the webpage address. By the technical scheme, the webpage accessed by the user can be automatically identified, a proper inner core is selected to be used by the user, the user and maintenance personnel are not required to interfere too much, the inner core handover process is simplified, and user experience is enhanced.

Description

A kind of method of accessed web page, device and browser
Technical field
The present invention relates to internet arena, relate in particular to a kind of method, device and browser of accessed web page.
Background technology
The part of the most important core in other words of browser is " Rendering Engine " (rendering engine), general custom is called it " browser kernel ", browser kernel is responsible for webpage grammer (as HTML(Hypertext Markup Language, HTML (Hypertext Markup Language)), JavaScript) make an explanation and play up (demonstration) webpage.So, the common so-called browser kernel render engine that namely browser adopts, render engine has determined the browser how content of display web page and the format information of the page.
Normally used browser kernel has multiplely on the market now, and some kernels is compatible strong, but play up and travelling speed slow, some is poor compatibility, but play up and travelling speed fast.
Therefore, release on the market " double-core " browser, both carried two kinds of browser kernels simultaneously, the page that can play up as required, automatic or manual is switched to corresponding browser kernel, for user.
The existing general mode of cutting core feature database that adopts of nuclear technology of automatically cutting realizes, both in advance some info webs were formed to feature, be stored in and cut core feature database the inside, when webpage that needs are browsed meets certain feature in feature database after by analysis, according to corresponding changing rules to corresponding browser kernel.But it is often huger to cut core feature database, easy care not, and have the sense of hysteresis.
Summary of the invention
In view of this, the invention provides a kind of method, device and browser of accessed web page, can effectively select suitable browser kernel for user, without user and maintainer, intervene too much simultaneously.
On the one hand, one embodiment of the present of invention provide a kind of method of accessed web page, comprising: receive user's browser access request, wherein, described browser access request carries web page address; Determine the browser kernel corresponding with described web page address; By the browser kernel corresponding with described web page address, access described web page address.
Further, described before receiving user's browser access request, also comprise:
Determine the corresponding relation of web page address and browser kernel.
Further, the corresponding relation of described definite web page address and browser kernel, comprising:
By different browser kernel access, set webpage;
The performance parameter of browser when record access is set webpage;
While setting webpage according to the determination of property parameter access of record, the best browser kernel of browser performance, and set up corresponding relation setting between web page address and determined browser kernel.
Further, described definite browser kernel corresponding with described web page address comprises:
Judge whether described web page address is lan address;
If described web page address is lan address, determine that IE kernel is the browser kernel that described web page address is corresponding;
If described web page address is public network address, according to the corresponding relation of described web page address and browser kernel, determine the browser kernel corresponding with described web page address.
Further, describedly by the browser kernel corresponding with described web page address, access described web page address and comprise:
Judge whether current browser kernel is the browser kernel corresponding with described web page address;
If so, by current browser kernel, access described web page address;
If not, current browser kernel is switched to the browser kernel corresponding with described web page address, by the browser kernel corresponding with described web page address, access described web page address.
On the other hand, provide a kind of device of accessed web page, comprising:
Receiver module, for receiving user's browser access request, wherein, described browser access request carries web page address;
Processing module, for determining the browser kernel corresponding with described web page address;
Access modules, for accessing described web page address by the browser kernel corresponding with described web page address.
Further, described device also comprises:
Corresponding relation determination module, for determining the corresponding relation of web page address and browser kernel.
Further, described corresponding relation determination module comprises:
Test cell, sets webpage for the browser kernel access by different;
Record cell, the performance parameter of browser while setting webpage for record access;
Determining unit, when setting webpage according to the determination of property parameter access of record, the best browser kernel of browser performance, and sets up corresponding relation setting between web page address and determined browser kernel.
Further, described processing module comprises:
Address determining unit, for judging whether described web page address is lan address, if described web page address is lan address, triggers the first processing unit, if described web page address is public network address, triggers the second processing unit;
The first processing unit, for determining that IE kernel is the browser kernel that described web page address is corresponding;
The second processing unit, for the corresponding relation obtaining according to described corresponding relation determination module, determines the browser kernel corresponding with described web page address.
Further, described access modules comprises:
Kernel determining unit, for judging whether current browser kernel is the browser kernel corresponding with described web page address; If so, trigger the first addressed location; If not, trigger the second addressed location;
The first addressed location, for accessing described web page address by current browser kernel;
The second addressed location, for current browser kernel being switched to the browser kernel corresponding with described web page address, accesses described web page address by the browser kernel corresponding with described web page address.
The present invention also provides a kind of browser, comprises the device of above-mentioned accessed web page.
Embodiments of the invention are after the browser access request that receives user, can automatically to the web page address of user's access, screen, according to web page address, select suitable browser kernel for user, therefore, technical scheme of the present invention is intervened too much without user and maintainer, can simplify and cut core flow process, strengthen user's experience sense.
Accompanying drawing explanation
Fig. 1-5 are the process flow diagram of the embodiment of the method 1 of accessed web page provided by the invention;
Fig. 6-10 are the structural drawing of the device embodiment 1 of accessed web page provided by the invention;
Figure 11 is the process flow diagram of the embodiment of the method 2 of accessed web page provided by the invention;
Figure 12 is the process flow diagram of the embodiment of the method 3 of accessed web page provided by the invention.
Embodiment
For technical matters, technical scheme and advantage that embodiments of the invention will be solved are clearer, be described in detail below in conjunction with the accompanying drawings and the specific embodiments.
Embodiments of the invention in prior art in order to meet the core demand of cutting, need maintainer's analyzing web page feature input to cut core feature database, cut the problem of the huge not easy care of core feature database data, a kind of method, device and browser of accessed web page are provided, can effectively select suitable browser kernel for user, without user and maintainer, intervene too much simultaneously.
Fig. 1 is the process flow diagram of the embodiment of the method 1 of accessed web page provided by the invention.As shown in Figure 1, comprising:
S101, receives user's browser access request, and wherein, described browser access request carries web page address;
S102, determines the browser kernel corresponding with described web page address;
S103, accesses described web page address by the browser kernel corresponding with described web page address.
In technique scheme, according to web page address entrained in browser access request, use the browser kernel accessed web page corresponding with described web page address.By statistics and analysis, automatically determine the browser kernel corresponding with described web page address, without user and maintainer, intervene too much, alleviated the cost of manual maintenance, simple flow, strengthens user's experience sense.
Alternatively, as shown in Figure 2, in a kind of specific implementation of the embodiment of the present invention, described reception user's browser access request (S101) before, can also comprise:
S100, determines the corresponding relation of web page address and browser kernel.
Alternatively, as shown in Figure 3, in a kind of specific implementation of the embodiment of the present invention, the corresponding relation (S100) of described definite web page address and browser kernel, can comprise:
S100-1, sets webpage by different browser kernel access;
S100-2, the performance parameter of browser when record access is set webpage;
S100-3, while setting webpage according to the determination of property parameter access of record, the best browser kernel of browser performance, and sets up corresponding relation setting between web page address and determined browser kernel.
Optionally, can be to use different browser kernel access to set webpage simultaneously, also can successively use different browser kernel access to set webpage.Described performance parameter can be internal memory, the CPU(Central Processing Unit of browser use, central processing unit), the information such as page loading velocity, choose the browser kernel of performance parameter optimum as setting browser kernel corresponding to web page address, when this web page address of subsequent access, can use corresponding browser kernel to visit.
Because some enterprises have oneself LAN (Local Area Network), Office system in LAN (Local Area Network) need to visit under specific browser kernel, therefore, as shown in Figure 4, in another optional realization of the embodiment of the present invention, described definite browser kernel (S102) corresponding with described web page address, can comprise:
S102-1, judges that whether described web page address is lan address, if described web page address is lan address, forwards S102-2 to; If described web page address is public network address, forward S102-3 to;
S102-2, determines that IE kernel is the browser kernel that described web page address is corresponding;
S102-3, determines the browser kernel corresponding with described web page address according to corresponding relation definite in S100.
Optionally, as shown in Figure 5, in another specific implementation of the embodiment of the present invention, describedly by the browser kernel corresponding with described web page address, access described web page address (S103), can comprise:
S103-1, judges whether current browser kernel is the browser kernel corresponding with described web page address; If so, turn S103-2; If not, turn S103-3;
S103-2, accesses described web page address by current browser kernel;
S103-3, switches to the browser kernel corresponding with described web page address by current browser kernel, by the browser kernel corresponding with described web page address, accesses described web page address.
Optionally, while there is not the browser kernel corresponding with described web page address in browser, can forward S100 to.For example, choose the existing kernel of browser and access this web page address, analyze while opening this web page address, the browser kernel of best performance, and between this web page address, set up corresponding relation at the browser kernel of this best performance.
In technique scheme, the kernel using when browser is opened certain web page address when inconsistent corresponding to the kernel of described web page address, can switch browser kernel, to guarantee the best performance of browser.
Fig. 6 is the structural drawing of the device embodiment 1 of accessed web page provided by the invention.As shown in Figure 6, the present embodiment comprises:
Receiver module 200, for receiving user's browser access request; Wherein, this browser access request carries web page address;
Processing module 201, for determining the browser kernel corresponding with described web page address;
Access modules 202, for accessing described web page address by the browser kernel corresponding with described web page address.
In technique scheme, according to web page address entrained in browser access request, use the browser kernel accessed web page corresponding with described web page address.By statistics and analysis, automatically determine the browser kernel corresponding with described web page address, without user and maintainer, intervene too much, alleviated the cost of manual maintenance, simple flow, strengthens user's experience sense.
Alternatively, as shown in Figure 7, described device also comprises:
Correspondingrelation determination module 203, for determining the corresponding relation of web page address and browser kernel.
Optionally, as shown in Figure 8, above-mentioned corresponding relation determination module can comprise:
Test cell, for being used different browser kernel access to set webpage;
Record cell, the performance parameter of browser while setting webpage for record access;
Determining unit, when setting webpage according to the determination of property parameter access of record, the best browser kernel of browser performance, and sets up corresponding relation setting between web page address and determined browser kernel.
Optionally, as shown in Figure 9, described processing module comprises:
Address determining unit, for judging whether described web page address is lan address, if described web page address is lan address, triggers the first processing unit, if described web page address is public network address, triggers the second processing unit;
The first processing unit, for determining that IE kernel is the browser kernel that described web page address is corresponding;
The second processing unit, for the corresponding relation obtaining according to corresponding relation determination module, determines the browser kernel corresponding with described web page address.
Optionally, as shown in figure 10, described access modules comprises:
Kernel determining unit, for judging whether current browser kernel is the browser kernel corresponding with described web page address; If so, trigger the first addressed location; If not, trigger the second addressed location;
The first addressed location, for accessing described web page address by current browser kernel;
The second addressed location, for current browser kernel being switched to the browser kernel corresponding with described web page address, accesses described web page address by the browser kernel corresponding with described web page address.
The present invention also provides a kind of browser, comprises the device of above-mentioned accessed web page.
Figure 11 is the process flow diagram of the embodiment of the method 2 of accessed web page provided by the invention.As shown in the figure, the present embodiment specifically comprises:
S301, browser starts.
S302, receives user's browser access request, wherein, in browser access request, carries web page address.In this embodiment, in browser access request, entrained web page address is URL(UniformResource Locator, URL(uniform resource locator)).
S303, judges whether the server address of this URL is LAN IP address, if so, proceeds to S304;
In actual applications, LAN IP has certain scope conventionally, and for example, if the server address of this URL is any one in lower column address, the address that the server of this URL is described is LAN IP address:
Category-A network address: 10.0.0.0~10.255.255.255;
Category-B network address: 172.16.0.0~172.31.255.255;
C class network address: 192.168.0.0~192.168.255.255.
S304, judges whether current browser kernel is IE kernel, if so, proceeds to S306, if not, proceeds to S305.
S305, switches browser kernel to IE kernel, carries out S306; Optionally, when switching browser kernel, can eject the operation that information bar prompting user is switched kernel.
S306, is used IE kernel to access this URL.
Figure 12 is the process flow diagram of the embodiment of the method 3 of accessed web page provided by the invention.As shown in the figure, the present embodiment specifically comprises:
S401, browser starts.
S402, what receive user carries URL(Uniform Resource Locator, URL(uniform resource locator)) browser access request.
S403, determines the browser kernel corresponding with described URL, and judges whether the kernel of the current use of browser is determined browser kernel, if so, proceeds to S408, if not, proceeds to S404;
S404: judge whether browser exists the determined browser kernel of S403, if existed, turn to S408, if there is no, turn to S405.
S405, chooses at random a kind of browser kernel and processes browser access request;
S406, the information of process operation when recording this browser kernel and opening webpage; For example, the information such as the internal memory that this browser kernel is used, CPU, page loading velocity, for judging that this kernel opens the performance of current web page address.
S407, determines the browser kernel corresponding with this web page address according to recording result; In this example, the browser kernel of best performance is set up corresponding relation between this visit device kernel and web page address when recording result and can obtain accessing this web page address, in the time of can be for this web page address of subsequent access directly.
S408, is used determined browser kernel to process browser access request, opens web page address.
Many functional parts described in this instructions are all called as module, to emphasize more especially the independence of its implementation.
In the embodiment of the present invention, module can realize with software, to carried out by various types of processors.For instance, the executable code module of a sign can comprise one or more physics or the logical block of computer instruction, and for instance, it can be built as object, process or function.However, the executable code of institute's identification module is without being physically located in together, but can comprise and be stored in different different instructions physically, while combining in these command logics, and its composition module and realize the regulation object of this module.
In fact, executable code module can be individual instructions or many instructions, and even can be distributed on a plurality of different code segments, is distributed in the middle of distinct program, and crosses over a plurality of memory devices distributions.Similarly, service data can be identified in module, and can realize and be organized in the data structure of any suitable type according to any suitable form.Described service data can be used as individual data collection and is collected, or can be distributed on diverse location and (be included in different storage device), and can only as electronic signal, be present on system or network at least in part.
When module can utilize software to realize, consider the level of existing hardware technique, so module that can realize with software, in the situation that not considering cost, those skilled in the art can build corresponding hardware circuit and realize corresponding function, and described hardware circuit comprises conventional ultra-large integrated (VLSI) circuit or gate array and the existing semiconductor such as logic chip, transistor or other discrete element.Module can also be used programmable hardware device, realizations such as field programmable gate array, programmable logic array, programmable logic device.
In each embodiment of the method for the present invention; the sequence number of described each step can not be for limiting the sequencing of each step; for those of ordinary skills, do not paying under the prerequisite of creative work, the priority of each step is changed also within protection scope of the present invention.
The above is the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, do not departing under the prerequisite of principle of the present invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (11)

CN201310667258.2A2013-12-102013-12-10Method and device for accessing webpage and browserPendingCN103631942A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201310667258.2ACN103631942A (en)2013-12-102013-12-10Method and device for accessing webpage and browser

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201310667258.2ACN103631942A (en)2013-12-102013-12-10Method and device for accessing webpage and browser

Publications (1)

Publication NumberPublication Date
CN103631942Atrue CN103631942A (en)2014-03-12

Family

ID=50212983

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201310667258.2APendingCN103631942A (en)2013-12-102013-12-10Method and device for accessing webpage and browser

Country Status (1)

CountryLink
CN (1)CN103631942A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104298780A (en)*2014-11-052015-01-21百纳(武汉)信息技术有限公司Method and system for pre-obtaining browser webpage information
CN105354337A (en)*2015-12-082016-02-24北京奇虎科技有限公司Web crawler implementation method and web crawler system
CN107045501A (en)*2016-02-052017-08-15腾讯科技(深圳)有限公司A kind of Web access method and device
CN108446353A (en)*2018-03-092018-08-24北京明略软件系统有限公司A kind of dual core browser method and dual core browser
CN108536594A (en)*2018-04-022018-09-14腾讯科技(武汉)有限公司Page test method, device and storage device
CN109104629A (en)*2018-08-022018-12-28四川长虹电器股份有限公司A kind of method and browser of the compatible IPTV page and the public network page
CN109359252A (en)*2018-10-302019-02-19北京小米移动软件有限公司 Browser selection method and device
CN115470426A (en)*2022-09-022022-12-13北京海泰方圆科技股份有限公司Browser kernel determining method and device, computer equipment and storage medium

Cited By (11)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104298780A (en)*2014-11-052015-01-21百纳(武汉)信息技术有限公司Method and system for pre-obtaining browser webpage information
CN105354337A (en)*2015-12-082016-02-24北京奇虎科技有限公司Web crawler implementation method and web crawler system
CN107045501A (en)*2016-02-052017-08-15腾讯科技(深圳)有限公司A kind of Web access method and device
US10733259B2 (en)2016-02-052020-08-04Tencent Technology (Shenzhen) Company LimitedWeb page access method and apparatus
CN108446353A (en)*2018-03-092018-08-24北京明略软件系统有限公司A kind of dual core browser method and dual core browser
CN108536594A (en)*2018-04-022018-09-14腾讯科技(武汉)有限公司Page test method, device and storage device
CN108536594B (en)*2018-04-022022-03-08腾讯科技(武汉)有限公司Page testing method and device and storage equipment
CN109104629A (en)*2018-08-022018-12-28四川长虹电器股份有限公司A kind of method and browser of the compatible IPTV page and the public network page
CN109104629B (en)*2018-08-022021-03-16四川长虹电器股份有限公司Method and browser for being compatible with IPTV page and public network page
CN109359252A (en)*2018-10-302019-02-19北京小米移动软件有限公司 Browser selection method and device
CN115470426A (en)*2022-09-022022-12-13北京海泰方圆科技股份有限公司Browser kernel determining method and device, computer equipment and storage medium

Similar Documents

PublicationPublication DateTitle
CN103631942A (en)Method and device for accessing webpage and browser
CN102855318B (en)Method and system for preloading of webpages
US9485240B2 (en)Multi-account login method and apparatus
CN101079768B (en)A method for computing click data of webpage link
RU2679729C2 (en)Method and device for network data displaying
CN109688184A (en)Resource adjusting method, equipment, storage medium and device based on log
CN104052809B (en)A kind of flow-dividing control method and apparatus of website test
CN103412890A (en)Webpage loading method and device
CN104035753A (en)Double-WebView customized page display method and system
WO2012174070A2 (en)Improving access to network content
CN103258058B (en)Page display method and system and browser
CN103810176A (en)Pre-fetching accessing method and device of webpage information
CN110808868B (en)Test data acquisition method and device, computer equipment and storage medium
CN102857369A (en)Website log saving system, method and apparatus
CN102063456A (en)Method for positioning to optic center of webpage automatically and device
CN104537005A (en)Data processing method and device for webpage crawling
CN103744845A (en)Method and system for WEB platform data caching
CN106503111A (en)Webpage code-transferring method, device and client terminal
CN107045546A (en)A kind of web page processing method, device and intelligent terminal
CN110083752A (en)Information of real estate recommended method, device, equipment and storage medium
CN110020273A (en)For generating the method, apparatus and system of thermodynamic chart
CN108664191B (en)System access method and device
CN117235393A (en)Self-adaptive page loading method and device, equipment and storage medium
CN105138452B (en)A kind of browser performance automated testing method based on terminal system
CN107526748B (en) A method and device for identifying user click behavior

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication

Application publication date:20140312

RJ01Rejection of invention patent application after publication

[8]ページ先頭

©2009-2025 Movatter.jp