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.
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.