Summary of the invention
In view of the above problems, the present invention has been proposed in case provide a kind of overcome the problems referred to above or address the above problem at least in part a kind of in browser Web page loading method and corresponding a kind of in browser the device of Web page loading.
According to one aspect of the present invention, provide a kind of in browser the method for Web page loading, comprising:
The webpage that browse request is downloaded to is resolved, and obtains the dom tree structured data information of described webpage;
Obtain the web page element text of specified type in described dom tree structured data information; Described web page element text comprises location, source place;
According to the address, source of specified type web page element, ask to carry out the download of described specified type web page element content to the specified type web page element storage server that browser is corresponding;
In the time playing up Web page loading, use the specified type web page element of downloading from specified type web page element storage server to play up, be carried in webpage.
Alternatively, described dom tree structured data information comprises one or more nodal informations;
The described step of obtaining the web page element text of specified type in described dom tree structured data information comprises:
The address information of described webpage is mated in default web page element list of types;
In the time that the match is successful, from web page element list of types, extract the type information that needs the web page element of downloading;
When described type information is when mating in described nodal information, from described nodal information, extract the web page element text of described specified type.
Alternatively, in described web page element list of types, store the corresponding relation of the address information of webpage and the type information of web page element;
Described web page element list of types generates according to user's operation information.
Alternatively, the web page element of described specified type comprise following at least one:
Text message, image information, voice data, video data.
Alternatively, described specified type web page element content storage server is returned to web page element content in the following manner:
In the time that web page element content corresponding to address, described source is stored in described specified type web page element storage server, judge that whether described web page element content is expired; If so, according to address, described source from web page server downloading web pages element content corresponding to described webpage; If not, extract web page element content corresponding to address, described source;
Return to described web page element content to browser.
Alternatively, described specified type web page element storage server returns to web page element content in the following manner:
In the time that web page element content corresponding to address, described source is not stored in described specified type web page element storage server, according to address, described source from web page server downloading web pages element content corresponding to described webpage;
Return to described web page element content to browser.
Alternatively, also comprise:
When exceeding default time threshold, and while not receiving web page element content corresponding to address, described source from described specified type web page element storage server, according to address, described source from web page server downloading web pages element content corresponding to described webpage.
Alternatively, also comprise:
The web page element of described specified type and other browsers are carried out to synchronous operation.
Alternatively, also comprise:
To the web page element content of downloading, generate First Characteristic mark from specified type web page element storage server;
According to address, described source from web page server downloading web pages element content corresponding to described webpage;
To the web page element content of downloading from described web page server, generate Second Characteristic mark;
In the time that described First Characteristic mark is not identical with described Second Characteristic mark, generate information;
Described information is sent to described specified type web page element storage server.
Alternatively, described browser at least comprises the first browser kernel;
The described webpage that browse request is downloaded to is resolved, and the step that obtains the dom tree structured data information of described webpage comprises:
The webpage in the first browser kernel, browse request being downloaded to is resolved, and obtains the dom tree structured data information of described webpage.
Alternatively, the step of obtaining the web page element of specified type in described dom tree structured data information described in comprises:
In the first browser kernel, obtain the web page element text of specified type in described dom tree structured data information.
Alternatively, the described address, source according to specified type web page element asks the step of the download of carrying out described specified type web page element content to comprise to specified type web page element storage server corresponding to browser:
The download of described specified type web page element content is asked to carry out to specified type web page element storage server corresponding to browser in address, source according to specified type web page element in the first browser kernel.
Alternatively, described browser at least also comprises the second browser kernel;
Described in the time playing up Web page loading, use the specified type web page element of downloading from specified type web page element storage server to play up, the step being carried in webpage comprises:
In the time playing up Web page loading, in the second browser kernel, adopt the address, source of the specified type web page element that address, source and, described first browser kernel of the web page element of specified type download from specified type web page element storage server to mate;
In the time that the match is successful, the specified type web page element content that adopts described the first browser kernel to download from specified type web page element storage server is played up.
According to a further aspect in the invention, provide a kind of in browser the device of Web page loading, comprising:
Dom tree obtains module, and the webpage that is suitable for browse request to download to is resolved, and obtains the dom tree structured data information of described webpage;
Web page element text obtains module, is suitable for obtaining the web page element text of specified type in described dom tree structured data information; Described text comprises location, source place;
Web page element content download module, is suitable for the address, source according to specified type web page element, asks to carry out the download of described specified type web page element content to the specified type web page element storage server that browser is corresponding;
Web page element rendering module, is suitable in the time playing up Web page loading, uses the specified type web page element of downloading from specified type web page element storage server to play up, and is carried in webpage.
Alternatively, described dom tree structured data information comprises one or more nodal informations;
Described dom tree obtains module and is also suitable for:
The address information of described webpage is mated in default web page element list of types;
In the time that the match is successful, from web page element list of types, extract the type information that needs the web page element of downloading;
When described type information is when mating in described nodal information, from described nodal information, extract the web page element text of described specified type.
Alternatively, in described web page element list of types, store the corresponding relation of the address information of webpage and the type information of web page element;
Described web page element list of types generates according to user's operation information.
Alternatively, the web page element of described specified type comprise following at least one:
Text message, image information, voice data, video data.
Alternatively, described specified type web page element content storage server is returned to web page element content in the following manner:
In the time that web page element content corresponding to address, described source is stored in described specified type web page element storage server, judge that whether described web page element content is expired; If so, according to address, described source from web page server downloading web pages element content corresponding to described webpage; If not, extract web page element content corresponding to address, described source;
Return to described web page element content to browser.
Alternatively, state specified type web page element storage server and return in the following manner web page element content:
In the time that web page element content corresponding to address, described source is not stored in described specified type web page element storage server, according to address, described source from web page server downloading web pages element content corresponding to described webpage;
Return to described web page element content to browser.
Alternatively, also comprise:
Overtime download module, be suitable for exceeding default time threshold, and while not receiving web page element content corresponding to address, described source from described specified type web page element storage server, according to address, described source from web page server downloading web pages element content corresponding to described webpage.
Alternatively, also comprise:
Synchronous operation module, is suitable for the web page element of described specified type and other browsers to carry out synchronous operation.
Alternatively in, also comprise:
The first generation module, is suitable for the web page element content downloaded from specified type web page element storage server, generates First Characteristic mark;
Original download module, is suitable for according to address, described source from web page server downloading web pages element content corresponding to described webpage;
The second generation module, is suitable for the web page element content to downloading from described web page server, generates Second Characteristic mark;
Information generation module, is suitable for, in the time that described First Characteristic mark is not identical with described Second Characteristic mark, generating information;
Information sending module, is suitable for described information to be sent to described specified type web page element storage server.
Alternatively, described browser at least comprises the first browser kernel;
Described dom tree obtains module and is also suitable for:
The webpage in the first browser kernel, browse request being downloaded to is resolved, and obtains the dom tree structured data information of described webpage.
Alternatively, described web page element text acquisition module is also suitable for:
In the first browser kernel, obtain the web page element text of specified type in described dom tree structured data information.
Alternatively, described web page element content download module is also suitable for:
The download of described specified type web page element content is asked to carry out to specified type web page element storage server corresponding to browser in address, source according to specified type web page element in the first browser kernel.
Alternatively, described browser at least also comprises the second browser kernel;
Described web page element rendering module is also suitable for:
In the time playing up Web page loading, in the second browser kernel, adopt the address, source of the specified type web page element that address, source and, described first browser kernel of the web page element of specified type download from specified type web page element storage server to mate;
In the time that the match is successful, the specified type web page element content that adopts described the first browser kernel to download from specified type web page element storage server is played up.
The webpage that the embodiment of the present invention downloads to browse request is resolved, obtain the web page element text of specified type in dom tree structured data information, ask to carry out the download of specified type web page element content to the specified type web page element storage server that browser is corresponding, in the time playing up Web page loading, use the specified type web page element of downloading from specified type web page element storage server to play up, be carried in webpage, by the download to specified type web page element storage server requests web page element, on the one hand, reduce the path while download to web page server request, reduce the exchange capacity of network, bandwidth resources are effectively saved, reduce the download time of web page element, and then promote the loading velocity of webpage, on the other hand, reduce the request quantity of web page server, alleviated calculation server and the bandwidth occupancy of web page server, improved the efficiency of web page server Web page loading.
The embodiment of the present invention is exceeding default time threshold, and while not receiving web page element content corresponding to address, source from specified type web page element storage server, according to source address from web page server downloading web pages element content corresponding to described webpage, make to load and may run into failure or overtime at web page element, or some other abnormal situation, cannot receive web page element content corresponding to address, source from specified type web page element storage server time, Web page loading element within the acceptable time, ensure the operation of webpage normal function.
The embodiment of the present invention at other browsers in the time loading identical webpage, carry out synchronous specified type web page element from current browser, avoid other browsers to send download request to specified type web page element storage server, further reduced the system resource burden of specified type web page element storage server.
The contrast that the embodiment of the present invention identifies by First Characteristic and Second Characteristic identifies, judges that whether the web page element of specified type is correct, has reduced the generation of error rate, has improved practicality.
The embodiment of the present invention starts the second browser kernel in the time that judgement current web page is suitable for adopting the second browser kernel to load, carry out the switching of browser kernel, the web page element of the buffer memory obtaining while request for the first browser kernel is sent to the web page element obtaining in the second browser kernel and plays up loading by IPC, reuse, avoid repeated obtain web page element, improved the loading velocity of webpage.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to better understand technological means of the present invention, and can be implemented according to the content of instructions, and for above and other objects of the present invention, feature and advantage can be become apparent, below especially exemplified by the specific embodiment of the present invention.
Embodiment
Exemplary embodiment of the present disclosure is described below with reference to accompanying drawings in more detail.Although shown exemplary embodiment of the present disclosure in accompanying drawing, but should be appreciated that and can realize the disclosure and the embodiment that should do not set forth limits here with various forms.On the contrary, it is in order more thoroughly to understand the disclosure that these embodiment are provided, and can be by the those skilled in the art that conveys to complete the scope of the present disclosure.
With reference to Fig. 1, show a kind of according to an embodiment of the invention in browser the flow chart of steps of the embodiment of the method 1 of Web page loading, specifically can comprise the steps:
Step 101, the webpage that browse request is downloaded to is resolved, and obtains the dom tree structured data information of described webpage;
In specific implementation, user can send the load request request of loading webpage of webpage.The load request of webpage can refer to the instruction of certain webpage of loading that user sends.For example, user can load a webpage by clicking certain linking request, or carrys out webpage of request of loading etc. in address field input network address.In the time that user clicks certain link, be just equivalent to receive the load request of user's Web page loading; Equally, in the time inputting certain network address at address field and click confirming button or press enter key, be also equivalent to receive the load request of user's Web page loading.
Wherein, the content of load request can comprise the mark of webpage and/or the feature of webpage of user's request of loading.Banner can be the information that can represent a well-determined webpage, for example Uniform Resource Identifier (Uniform Resource Identifier, URI), Uniform Resource Identifier specifically can comprise again URL(uniform resource locator) (Uniform Resource Locator, URL), or unified resource title (Uniform Resource Name, URN) etc.
In browser, receive after the load request of webpage, browser can pass through DNS (Domain Name System, domain name analysis system) resolve and search IP (Internet Protocol, the agreement interconnecting between the network) address that the domain name (Domain Name) in this webpage URL is shone upon.After obtaining the success of IP address, browser can connect to the server request at this place, IP address.After successfully connecting the server at this place, IP address, browser end can initiate to the server at this place, IP address the request that webpage loads by HTTP (Hypertext transfer protocol, HTTP) agreement by request header information.It is pending that this server receives after this request etc., and the most backward browser end returns to response.
Now, under http protocol, browser can receive from server the document of HTML (Hypertext Markup Language, HTML (Hypertext Markup Language)) type.Browser can be resolved html document, generates the object of tree structure, i.e. DOM (Document ObjectModel, document dbject model) tree construction data message.
Step 102, obtains the web page element text of specified type in described dom tree structured data information; Described web page element text comprises location, source place;
In actual applications, described dom tree structured data information can comprise one or more nodal informations, and each web page element can be a node in dom tree structured data information, and these objects can represent the web page element such as word, picture.
Node in dom tree structured data information has hierarchical relationship each other.Can adopt the terms such as father (parent), son (child) and compatriot (sibling) to be used for describing these relations.Wherein, father node has child node.Child node at the same level is called as compatriot (brothers or sisters).In node tree, top node is called as root (root).Each node has father node, except root (it does not have father node).A node can have the son of any amount, and compatriot is the node that has identical father node.
In the optional embodiment of one of the present invention, step 102 can comprise following sub-step:
Sub-step S11 mates the address information of described webpage in default web page element list of types;
In specific implementation, the address information of webpage can be URL etc., in described web page element list of types, can store the corresponding relation of the address information of webpage and the type information of web page element, instruction browser can be downloaded to specified type web page element content storage server the web page element of specified type in this webpage.
Sub-step S12 in the time that the match is successful, extracts the type information that needs the web page element of downloading from web page element list of types;
In the time that the match is successful, can show that the web page element of specified type in this webpage is pre-stored in specified type web page element content storage server, need to know the type information of web page element.
In the optional example of one of the embodiment of the present invention, the web page element of described specified type can comprise following at least one:
Text message, image information, voice data, video data.
Wherein, for image information, can comprise the image of the multiple formats such as GIF, JPG, PNG; For voice data, can comprise the audio frequency of the multiple formats such as MP3, WMA, WAV, MIDI, for video data, can comprise the video data of the multiple formats such as MPEG, AVI, RM, RMVB.
For example, the example of this web page element list of types is as shown in the table:
The address information of webpage |
The type information of web page element |
http://photo.aaa.com.cn/ |
Image information |
http://news.bbb.com.cn/ |
Word message, image information, video data |
http://2014.ccc.com.cn/ |
Image information, video data |
http://book.ddd.com.cn/ |
Word message |
Wherein, webpage corresponding to network address " http://photo.aaa.com.cn/ " can be certain webpage channel that image is provided specially, and the image information comprising is more; Webpage corresponding to network address " http://news.bbb.com.cn/ " can be certain webpage channel that news is provided specially, and the Word message comprising, image information, video data are all many; Webpage corresponding to network address " http: // 2014.ccc.com.cn/ " can be certain webpage channel that world cup race information in 2014 is provided specially, and the image information comprising, video data are all many; Webpage corresponding to network address " http://book.ddd.com.cn/ " can be certain webpage channel that books and periodicals information is provided specially, and the Word message comprising is many.
The type of the web page element that different web pages comprises is different, but user makes the number of request of web page element of the type larger to the request of this webpage, for example, and the volume of this web page element (image information) itself is also larger, in order to alleviate the download pressure of web page server, therefore can be in specified type web page element content storage server the web page element of specified type in pre-stored this webpage.
Certainly, the web page element of above-mentioned judgement specified type, just as example, in the time implementing the embodiment of the present invention, can arrange according to actual conditions the web page element of other specified type, and the embodiment of the present invention is not limited this.In addition, except the web page element of above-mentioned specified type, those skilled in the art can also adopt the web page element of other specified type according to actual needs, and the embodiment of the present invention is not also limited this.
Sub-step S13 when described type information is when mating in described nodal information, extracts the web page element text of described specified type from described nodal information.
In actual applications, can search by several method the web page element of wishing operation (for example specified type) at node tree:
For example, can be by using getElementById () method and getElementsByTagName () method to search.
Again for example, can be by using parentNode, firstChild and the lastChild attribute of a node element.
Wherein, these two kinds of methods of getElementById () and getElementsByTagName (), can search any web page element in whole html document.And these two kinds of methods are ignored the structure of document conventionally, if search <p> elements all in document, getElementsByTagName () method can all find them, no matter which level of <p> element in document.Meanwhile, getElementById () method also can be returned to correct element, no matter where it is hidden in file structure.These two kinds of methods can provide any needed html element element, no matter their residing positions in document.
In addition, getElementById () can return to web page element by the ID specifying.
It should be noted that, the web page element finding can be web page element text, the address of for example originating, but not web page element content, i.e. web page element data itself.
For example, the type information of the web page element of specifying in webpage corresponding to network address " http://photo.aaa.com.cn/ " is image information, if finding the address, source of web page element in the node in the dom tree structured data information of this webpage is " http://photo.aaa.com.cn/img/bdlogo.gif ", this address, source can show that the form of corresponding web page element is GIF, belong to image information, can extract this address, source.
Step 103, according to the address, source of specified type web page element, asks to carry out the download of described specified type web page element content to the specified type web page element storage server that browser is corresponding;
In specific implementation, specified type web page element storage server can be caching server (cacheserver), be deployed in a large number in the network computer room of multiple appointed areas, for example each urban district, form caching server cluster, for the browser of appointed area is provided by the download of the web page element content of specified type (as provide).
In recent years, Internet (the Internet) applies with unprecedented speed increment, large-scale terminal user proposes higher requirement to bandwidth, if lack careful management, this bandwidth requirement means expensive expense concerning ISP, in addition, for example, will cause a large amount of immeasurable delays from the Internet request of data of terminal (browser) each time.
Caching server is played the part of an intermediary role between terminal and whole Internet, an effective caching server directly request for response terminal as much as possible, reduce the request quantity of transmitting by Internet, different with the limited caching function of Web browser, caching server is served a large amount of users with a large amount of storage spaces simultaneously.Thereby, caching server can be that popular Web website Quick supplies up-to-date data, the access speed of other Web websites that caching server can also accelerate to have been crossed by local user access, the user who exceeds browser rs cache restriction for those demand datas is particularly useful.
By disposing caching server, the data that originally visit Internet resource can be converted into access cache server, effectively save massive band width.
Browser can start the html document of display web page, and the address, source that obtains wherein embedded web page element, if the address, source of specified type web page element, can ask to carry out the download of specified type web page element content to specified type web page element storage server; If not the address, source of specified type web page element, the download that can ask to download to web page server this web page element content.
In the optional embodiment of one of the present invention, described web page element list of types can generate according to user's operation information.
Apply the embodiment of the present invention, specified type web page element storage server can gather in advance by variety of way user's operation information, wherein can comprise at least one in user's local operation behavioural information and user's online operation behavior information.
This user behavior information can be gathered by the client software being arranged on subscriber equipment, and wherein, described subscriber equipment can comprise all kinds of intelligent terminals such as computing machine, notebook computer, mobile phone, PDA, panel computer.
Several collection users' local operation behavioural information is below provided, and/or, the example of user's online operation behavior information:
Example 1, gathers the online operation behavior information in user's a period of time by browser, comprises the webpage collected in the network address of access and corresponding access times, browser collection folder etc.;
As the online operation behavior information gathering by browser in user 15 days is:
Access network address |
Access times |
www.aaa.com |
31 |
www.bbb.com |
2 |
www.ccc.com |
7 |
www.ddd.com |
4 |
Example 2, by being arranged on the local operation behavioural information of the fail-safe software collection user on subscriber equipment, as by the local behavioural information gathering in user 15 days being: open certain TV play and the frequency thereof, open certain game and the frequency thereof etc.
By the analysis of the operation information to user, can obtain user's behavioural habits, as user habit is accessed some website, or have larger demand to searching for/access the website of which type, specified type web page element content storage server can be downloaded the web page element of specified type in this website in advance.For example, the web page element of specified type or receive the web page element of the specified type of this website initiatively submitting in Preset Time (as 6 o'clock every days) is downloaded this website.Simultaneously, specified type web page element storage server can upgrade web page element list of types, and at the appointed time or when browser free time (downloading as do not carried out web page access or file), web page element list of types is pushed in browser.
It should be noted that, because user's behavioural habits have the ageing of part, user is accessed relatively concentrated, for example, during Football World Championship, user accesses the report that world cup race is relevant in a large number, but after the ageing inefficacy in this part, user accesses and can reduce thereupon, and for example, after Football World Championship finishes, user tends to a large amount of minimizings to the relevant report of this world cup race, therefore, web page element list of types is along with the variation of user behavior custom can exist local variation's property.Certainly, the behavioural habits that form due to user self interest have relative stability, for example user likes football race, the relevant report of the league football match races such as often access England Premier League, Division A League Matches of Spanish Football, and also can there is relative stability in web page element list of types therefore.
In the optional embodiment of one of the present invention, described specified type web page element content storage server can be returned to web page element content in the following manner:
Sub-step S21, in the time that web page element content corresponding to address, described source is stored in described specified type web page element storage server, judges that whether described web page element content is expired; If so, carry out sub-step S22, if not, carry out sub-step S23;
Sub-step S22, according to address, described source from web page server downloading web pages element content corresponding to described webpage;
Sub-step S23, extracts web page element content corresponding to address, described source;
Sub-step S24, returns to described web page element content to browser.
In specific implementation, if specified type web page element storage server finds this address, source, can show that web page element corresponding to this address, source downloaded in advance and stored.
Browser, in the request header information of the webpage load request sending to web page server, has comprised the expired time of web page element.
Browser is encapsulated in specified type web page element storage server by this expired time and sends in the request of downloading specified type web page element, is sent to specified type web page element storage server.
Specified type web page element storage server can contrast this expired time and the download time of downloading this web page element, if download time does not exceed expired time, can show that this web page element content is effective, return to server after extracting this web page element content; If download time exceedes expired time, can show this web page element content expire, need to download web page element content corresponding to this address, source to web page server, then return to browser.
In the optional embodiment of another kind of the present invention, described specified type web page element storage server can return to web page element content in the following manner:
Sub-step S31, in the time that web page element content corresponding to address, described source is not stored in described specified type web page element storage server, according to address, described source from web page server downloading web pages element content corresponding to described webpage;
Sub-step S32, returns to described web page element content to browser.
In specific implementation, if specified type web page element storage server does not find this address, source, can show not downloaded stored of web page element corresponding to this address, source, need to download web page element content corresponding to this address, source to web page server, then return to browser.
Step 104, in the time playing up Web page loading, is used the specified type web page element of downloading from specified type web page element storage server to play up, and is carried in webpage.
When browser gets the web page element in webpage, can in the html document of browser, play up operation, to show this web page element in interface.
For making those skilled in the art understand better the embodiment of the present invention, below by taking browser access URL Web page loading as example, the process of embodiment of the present invention Web page loading is described:
1. in the time detecting that user inputs network address (suppose it is a html page, and be to access for the first time), browser sends the webpage of this network address instruction of request of loading to web page server, and server returns to corresponding html text;
2. browser starts to be written into the source code of html text, when detecting while having a < link > label in < head > label, needs to quote outside CSS file;
3. browser sends the request of CSS file to web page server, and server returns to corresponding CSS file;
4. browser continues to be written into the code of < body > part in html text, and now CSS file receives, and can start to play up webpage;
5. in the time that browser detects a < img > label in html text, need to quote a pictures, for the web page element of specified type, send to specified type web page element storage server the request Loading Image.Now browser can not wait for that picture downloaded, but continues to play up code below;
6. specified type web page element storage server returns to picture file, because picture has taken certain area, has affected arranging of subsequent paragraphs, and therefore browser need to be played up this part code again;
7. in the time that browser detects a < script > label that comprises a line JavaScript code, move immediately;
8. adopt JavaScript script to carry out above-mentioned statement, its order browser hides certain < div > in code (style.display=" none "), owing to having lacked < div > element, browser need to be played up this part code again;
9. in the time </HTML > being detected, played up;
10. when user clicks " changing skin " button in interface, JavaScript allows browser change the CSS path of < link > label;
11. browsers adopt each elements such as < div >, < span >, < ul >, < li >, and the CSS file that please look for novelty to web page server, again play up the page.
The webpage that the embodiment of the present invention downloads to browse request is resolved, obtain the web page element text of specified type in dom tree structured data information, ask to carry out the download of specified type web page element content to the specified type web page element storage server that browser is corresponding, in the time playing up Web page loading, use the specified type web page element of downloading from specified type web page element storage server to play up, be carried in webpage, by the download to specified type web page element storage server requests web page element, on the one hand, reduce the path while download to web page server request, reduce the exchange capacity of network, bandwidth resources are effectively saved, reduce the download time of web page element, and then promote the loading velocity of webpage, on the other hand, reduce the request quantity of web page server, alleviated calculation server and the bandwidth occupancy of web page server, improved the efficiency of web page server Web page loading.
With reference to Fig. 2, show a kind of according to an embodiment of the invention in browser the flow chart of steps of the embodiment of the method 2 of Web page loading, specifically can comprise the steps:
Step 201, the webpage that browse request is downloaded to is resolved, and obtains the dom tree structured data information of described webpage;
Step 202, obtains the web page element text of specified type in described dom tree structured data information; Described web page element text comprises location, source place;
Step 203, according to the address, source of specified type web page element, asks to carry out the download of described specified type web page element content to the specified type web page element storage server that browser is corresponding;
Step 204, in the time playing up Web page loading, is used the specified type web page element of downloading from specified type web page element storage server to play up, and is carried in webpage;
Step 205, when exceeding default time threshold, and while not receiving web page element content corresponding to address, described source from described specified type web page element storage server, according to address, described source from web page server downloading web pages element content corresponding to described webpage.
In embodiments of the present invention, browser is to the download of the request specified type web page element content of specified type web page element storage server, specified type web page element storage server (exceedes default time threshold) and does not all calculate result within a period of time, browser can directly disconnect request so, initiates the download of specified type web page element content to web page server.
This time also can be referred to as time-out time, and specified type web page element storage server may run into various mistakes, can not, because of these mistakes, ask to keep and allow always, takies browse request number.
The embodiment of the present invention is exceeding default time threshold, and while not receiving web page element content corresponding to address, source from specified type web page element storage server, according to source address from web page server downloading web pages element content corresponding to described webpage, make to load and may run into failure or overtime at web page element, or some other abnormal situation, cannot receive web page element content corresponding to address, source from specified type web page element storage server time, Web page loading element within the acceptable time, ensure the operation of webpage normal function.
Step 206, carries out synchronous operation by the web page element of described specified type and other browsers.
In specific implementation, if other browsers are initiated the load request of webpage, current browser can pass through P2P (PeertoPeer, peer-to-peer network) etc. mode and other browsers carry out synchronous operation, so that the web page element of formulating type is sent to other browsers, realize the loading of this webpage in other browsers.
Other browsers can be arranged in same community with current browser, and community is the area unit of communication management the inside.According to the coverage of communication network signal, real geographic area can be divided into different management areas, under each management area, there are some users to access wherein, and communicate.In practice, community can be a management area that school forms, and can be also management area of forming, a few streets etc.
Communication in community between browser, mutual node is few, and communication speed, than fast with specified type web page element storage server, has improved the speed of download of web page element, has further accelerated the loading velocity of webpage.
The embodiment of the present invention at other browsers in the time loading identical webpage, carry out synchronous specified type web page element from current browser, avoid other browsers to send download request to specified type web page element storage server, further reduced the system resource burden of specified type web page element storage server.
With reference to Fig. 3, show a kind of according to an embodiment of the invention in browser the flow chart of steps of the embodiment of the method 3 of Web page loading, specifically can comprise the steps:
Step 301, the webpage that browse request is downloaded to is resolved, and obtains the dom tree structured data information of described webpage;
Step 302, obtains the web page element text of specified type in described dom tree structured data information; Described web page element text comprises location, source place;
Step 303, according to the address, source of specified type web page element, asks to carry out the download of described specified type web page element content to the specified type web page element storage server that browser is corresponding;
Step 304, in the time playing up Web page loading, is used the specified type web page element of downloading from specified type web page element storage server to play up, and is carried in webpage;
Step 305, to the web page element content of downloading from specified type web page element storage server, generates First Characteristic mark;
Step 306, according to address, described source from web page server downloading web pages element content corresponding to described webpage;
Step 307, to the web page element content of downloading from described web page server, generates Second Characteristic mark;
Step 308, in the time that described First Characteristic mark is not identical with described Second Characteristic mark, generates information;
Step 309, is sent to described specified type web page element storage server by described information.
In embodiments of the present invention, to the web page element content of downloading from specified type web page element storage server, generation First Characteristic mark, this First Characteristic mark can be the information that can represent a well-determined web page element, for example MD5 (Message-Digest Algorithm5, message digest algorithm 5) value, Hash (Hash) value, SHA1 (Secure Hash Algorithm, Secure Hash Algorithm) value etc.
Similarly, identify identical rule to generate First Characteristic, to the web page element content of downloading from web page server, generate Second Characteristic mark, this Second Characteristic mark can be the information that can represent a well-determined web page element.For example, if First Characteristic is designated MD5 value, Second Characteristic mark also needs the value for MD5; If First Characteristic is designated hash value, Second Characteristic mark also needs for hash value; First Characteristic is designated SHA1 value, and Second Characteristic mark also needs the value for SHA1, etc.
When First Characteristic mark and Second Characteristic identify when identical, can show that the web page element content of downloading is correct in specified type web page element storage server; In the time that First Characteristic mark is not identical with Second Characteristic mark, can show that the web page element content of downloading is incorrect in specified type web page element storage server, need to point out this web page element of specified type web page element storage server to make mistakes, to proofread and correct.
The contrast that the embodiment of the present invention identifies by First Characteristic and Second Characteristic identifies, judges that whether the web page element of specified type is correct, has reduced the generation of error rate, has improved practicality.
With reference to Fig. 4, show a kind of according to an embodiment of the invention in browser the flow chart of steps of the embodiment of the method 4 of Web page loading, specifically can comprise the steps:
Step 401, the webpage in the first browser kernel, browse request being downloaded to is resolved, and obtains the dom tree structured data information of described webpage;
Step 402 is obtained the web page element text of specified type in described dom tree structured data information in the first browser kernel;
Step 403, the download of described specified type web page element content is asked to carry out to specified type web page element storage server corresponding to browser in the address, source according to specified type web page element in the first browser kernel;
Step 404, in the time playing up Web page loading, in the second browser kernel, adopt the address, source of the specified type web page element that address, source and, described first browser kernel of the web page element of specified type download from specified type web page element storage server to mate;
Step 405, in the time that the match is successful, the specified type web page element content that adopts described the first browser kernel to download from specified type web page element storage server is played up.
In embodiments of the present invention, browser can comprise two or more browser kernels, wherein at least comprises at least one in the first browser kernel and the second browser kernel.
The first browser kernel can be the browser kernel that the current acquiescence of browser is used, and the browser kernel of this acquiescence can be system setting, also can make user arrange, and can be specifically the browser kernel of the contour performance of Webkit kernel.Certainly, can also be Gecko kernel, Presto kernel etc., the embodiment of the present invention is not limited this.
The second browser kernel can be built-in other browser kernels except the first browser kernel of browser, can be in the loading of the adaptive current web page of some situation, can be Trident kernel (being IE kernel), comprise IE-com kernel (compatible IE kernel) and/or IE-stand kernel.Certainly, can also be Gecko kernel, Presto kernel etc., the embodiment of the present invention is not limited this.
In specific implementation, can in the first browser kernel, receive the load request of current web page, carry out the download of web page element.
In the time judging that current web page is suitable for adopting the second browser kernel to load, can start the second browser kernel.
In the time being switched to the second browser kernel and playing up, can pass through IPC (Inter-ProcessCommunication, interprocess communication, be a kind of mechanism of Inter-Process Communication, the process of operating system and thread can be by its swap data and message) communication adopts the web page element of the first browser kernel download to play up.
Particularly, and the address, source (for example URL) of the web page element that browser kernel is played up needs by I/O thread is sent to the first browser kernel, the first browser kernel in buffer memory to the first browser kernel downloading web pages element according to source address (for example URL) contrast, if address, source is consistent, this web page element that can extract from buffer memory, is sent to the second browser kernel by I/O thread by this web page element.
And the mode that different browser kernels is played up can be different, taking Trident kernel as example, loading and play up html page can be as follows:
1, the order of Trident kernel downloading web pages resource is from top to bottom, and the order of playing up web page resources is also from top to bottom, downloads and plays up simultaneously and carry out;
2, in the time being rendered into certain part of the page, all parts above it have all been downloaded (being not that all elements that are associated have all been downloaded);
If 3 labels that run into semantic interpretation embed files (JS script, CSS pattern), so now the downloading process of Trident kernel can be enabled independent connection and downloaded;
4 and resolve after download, in resolving, stop the download of all down elements of the page;
5, style sheet is after download completes, by with before resolve together with all style sheet of download, after being parsed, will all elements (containing what played up in the past) before this being re-started and be played up;
6, in JS, CSS if any redefining, rear defined function will cover front defined function.
The embodiment of the present invention starts the second browser kernel in the time that judgement current web page is suitable for adopting the second browser kernel to load, carry out the switching of browser kernel, the web page element of the buffer memory obtaining while request for the first browser kernel is sent to the web page element obtaining in the second browser kernel and plays up loading by IPC, reuse, avoid repeated obtain web page element, improved the loading velocity of webpage.
For embodiment of the method, for simple description, therefore it is all expressed as to a series of combination of actions, but those skilled in the art should know, the embodiment of the present invention is not subject to the restriction of described sequence of movement, because according to the embodiment of the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in instructions all belongs to preferred embodiment, and related action might not be that the embodiment of the present invention is necessary.
With reference to Fig. 5, show a kind of according to an embodiment of the invention in browser the structured flowchart of the device embodiment 1 of Web page loading, specifically can comprise as lower module:
Dom tree obtains module 501, and the webpage that is suitable for browse request to download to is resolved, and obtains the dom tree structured data information of described webpage;
Web page element text obtains module 502, is suitable for obtaining the web page element text of specified type in described dom tree structured data information; Described text comprises location, source place;
Web page element content download module 503, is suitable for the address, source according to specified type web page element, asks to carry out the download of described specified type web page element content to the specified type web page element storage server that browser is corresponding;
Web page element rendering module 504, is suitable in the time playing up Web page loading, uses the specified type web page element of downloading from specified type web page element storage server to play up, and is carried in webpage.
In the optional embodiment of one of the present invention, described dom tree structured data information can comprise one or more nodal informations;
Described dom tree obtains module 501 and can also be suitable for:
The address information of described webpage is mated in default web page element list of types;
In the time that the match is successful, from web page element list of types, extract the type information that needs the web page element of downloading;
When described type information is when mating in described nodal information, from described nodal information, extract the web page element text of described specified type.
In the optional embodiment of one of the present invention, in described web page element list of types, can store the corresponding relation of the address information of webpage and the type information of web page element;
Described web page element list of types can generate according to user's operation information.
In the optional example of one of the embodiment of the present invention, the web page element of described specified type comprise following at least one:
Text message, image information, voice data, video data.
In the optional embodiment of one of the present invention, described specified type web page element content storage server can be returned to web page element content in the following manner:
In the time that web page element content corresponding to address, described source is stored in described specified type web page element storage server, judge that whether described web page element content is expired; If so, according to address, described source from web page server downloading web pages element content corresponding to described webpage; If not, extract web page element content corresponding to address, described source;
Return to described web page element content to browser.
In the optional embodiment of one of the present invention, state specified type web page element storage server and can return in the following manner web page element content:
In the time that web page element content corresponding to address, described source is not stored in described specified type web page element storage server, according to address, described source from web page server downloading web pages element content corresponding to described webpage;
Return to described web page element content to browser.
With reference to Fig. 6, show a kind of according to an embodiment of the invention in browser the structured flowchart of the device embodiment 2 of Web page loading, specifically can comprise as lower module:
Dom tree obtains module 601, and the webpage that is suitable for browse request to download to is resolved, and obtains the dom tree structured data information of described webpage;
Web page element text obtains module 602, is suitable for obtaining the web page element text of specified type in described dom tree structured data information; Described text comprises location, source place;
Web page element content download module 603, is suitable for the address, source according to specified type web page element, asks to carry out the download of described specified type web page element content to the specified type web page element storage server that browser is corresponding;
Web page element rendering module 604, is suitable in the time playing up Web page loading, uses the specified type web page element of downloading from specified type web page element storage server to play up, and is carried in webpage.
Overtime download module 605, be suitable for exceeding default time threshold, and while not receiving web page element content corresponding to address, described source from described specified type web page element storage server, according to address, described source from web page server downloading web pages element content corresponding to described webpage.
Synchronous operation module 606, is suitable for the web page element of described specified type and other browsers to carry out synchronous operation.
With reference to Fig. 7, show a kind of according to an embodiment of the invention in browser the structured flowchart of the device embodiment 3 of Web page loading, specifically can comprise as lower module:
Dom tree obtains module 701, and the webpage that is suitable for browse request to download to is resolved, and obtains the dom tree structured data information of described webpage;
Web page element text obtains module 702, is suitable for obtaining the web page element text of specified type in described dom tree structured data information; Described text comprises location, source place;
Web page element content download module 703, is suitable for the address, source according to specified type web page element, asks to carry out the download of described specified type web page element content to the specified type web page element storage server that browser is corresponding;
Web page element rendering module 704, is suitable in the time playing up Web page loading, uses the specified type web page element of downloading from specified type web page element storage server to play up, and is carried in webpage.
The first generation module 705, is suitable for the web page element content downloaded from specified type web page element storage server, generates First Characteristic mark;
Original download module 706, is suitable for according to address, described source from web page server downloading web pages element content corresponding to described webpage;
The second generation module 707, is suitable for the web page element content to downloading from described web page server, generates Second Characteristic mark;
Information generation module 708, is suitable for, in the time that described First Characteristic mark is not identical with described Second Characteristic mark, generating information;
Information sending module 709, is suitable for described information to be sent to described specified type web page element storage server.
With reference to Fig. 8, show a kind of according to an embodiment of the invention in browser the structured flowchart of the device embodiment 4 of Web page loading, described browser at least comprises at least one in the first browser kernel and the second browser kernel, specifically can comprise as lower module:
Dom tree obtains module 801, and the webpage that is suitable in the first browser kernel, browse request being downloaded to is resolved, and obtains the dom tree structured data information of described webpage.
Web page element text obtains module 802, is suitable for obtaining the web page element text of specified type in described dom tree structured data information in the first browser kernel.
Web page element content download module 803, is suitable for the address, source according to specified type web page element in the first browser kernel and asks to carry out the download of described specified type web page element content to specified type web page element storage server corresponding to browser.
Web page element rendering module 804, be suitable in the time playing up Web page loading, in the second browser kernel, adopt the address, source of the specified type web page element that address, source and, described first browser kernel of the web page element of specified type download from specified type web page element storage server to mate;
In the time that the match is successful, the specified type web page element content that adopts described the first browser kernel to download from specified type web page element storage server is played up.
For device embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part is referring to the part explanation of embodiment of the method.
The algorithm providing at this is intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with demonstration.Various general-purpose systems also can with based on using together with this teaching.According to description above, it is apparent constructing the desired structure of this type systematic.In addition, the present invention is not also for any certain programmed language.It should be understood that and can utilize various programming languages to realize content of the present invention described here, and the description of above language-specific being done is in order to disclose preferred forms of the present invention.
In the instructions that provided herein, a large amount of details are described.But, can understand, embodiments of the invention can be put into practice in the situation that there is no these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand one or more in each inventive aspect, in the above in the description of exemplary embodiment of the present invention, each feature of the present invention is grouped together into single embodiment, figure or sometimes in its description.But, the method for the disclosure should be construed to the following intention of reflection: the present invention for required protection requires than the more feature of feature of clearly recording in each claim.Or rather, as reflected in claims below, inventive aspect is to be less than all features of disclosed single embodiment above.Therefore, claims of following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and can the module in the equipment in embodiment are adaptively changed and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and can put them in addition multiple submodules or subelement or sub-component.At least some in such feature and/or process or unit are mutually repelling, and can adopt any combination to combine all processes or the unit of disclosed all features in this instructions (comprising claim, summary and the accompanying drawing followed) and disclosed any method like this or equipment.Unless clearly statement in addition, in this instructions (comprising claim, summary and the accompanying drawing followed) disclosed each feature can be by providing identical, be equal to or the alternative features of similar object replaces.
In addition, those skilled in the art can understand, although embodiment more described herein comprise some feature instead of further feature included in other embodiment, the combination of the feature of different embodiment means within scope of the present invention and forms different embodiment.For example, in the following claims, the one of any of embodiment required for protection can be used with array mode arbitrarily.
All parts embodiment of the present invention can realize with hardware, or realizes with the software module of moving on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that and can use in practice microprocessor or digital signal processor (DSP) to realize according to the some or all functions of the some or all parts in the equipment of Web page loading in browser of the embodiment of the present invention.The present invention can also be embodied as part or all equipment or the device program (for example, computer program and computer program) for carrying out method as described herein.Realizing program of the present invention and can be stored on computer-readable medium like this, or can there is the form of one or more signal.Such signal can be downloaded and obtain from internet website, or provides on carrier signal, or provides with any other form.
It should be noted above-described embodiment the present invention will be described instead of limit the invention, and those skilled in the art can design alternative embodiment in the case of not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and is not listed as element or step in the claims.Being positioned at word " " before element or " one " does not get rid of and has multiple such elements.The present invention can be by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In the unit claim of having enumerated some devices, several in these devices can be to carry out imbody by same hardware branch.The use of word first, second and C grade does not represent any order.Can be title by these word explanations.
The embodiment of the invention discloses A1, a kind of in browser the method for Web page loading, comprising:
The webpage that browse request is downloaded to is resolved, and obtains the dom tree structured data information of described webpage;
Obtain the web page element text of specified type in described dom tree structured data information; Described web page element text comprises location, source place;
According to the address, source of specified type web page element, ask to carry out the download of described specified type web page element content to the specified type web page element storage server that browser is corresponding;
In the time playing up Web page loading, use the specified type web page element of downloading from specified type web page element storage server to play up, be carried in webpage.
A2, method as described in A1, described dom tree structured data information comprises one or more nodal informations;
The described step of obtaining the web page element text of specified type in described dom tree structured data information comprises:
The address information of described webpage is mated in default web page element list of types;
In the time that the match is successful, from web page element list of types, extract the type information that needs the web page element of downloading;
When described type information is when mating in described nodal information, from described nodal information, extract the web page element text of described specified type.
A3, method as described in A2, store the corresponding relation of the address information of webpage and the type information of web page element in described web page element list of types;
Described web page element list of types generates according to user's operation information.
A4, method as described in A1 or A2 or A3, the web page element of described specified type comprise following at least one:
Text message, image information, voice data, video data.
A5, method as described in A1, described specified type web page element content storage server is returned to web page element content in the following manner:
In the time that web page element content corresponding to address, described source is stored in described specified type web page element storage server, judge that whether described web page element content is expired; If so, according to address, described source from web page server downloading web pages element content corresponding to described webpage; If not, extract web page element content corresponding to address, described source;
Return to described web page element content to browser.
A6, method as described in A1, described specified type web page element storage server returns to web page element content in the following manner:
In the time that web page element content corresponding to address, described source is not stored in described specified type web page element storage server, according to address, described source from web page server downloading web pages element content corresponding to described webpage;
Return to described web page element content to browser.
A7, method as described in A1 or A2 or A3 or A5 or A6, also comprise:
When exceeding default time threshold, and while not receiving web page element content corresponding to address, described source from described specified type web page element storage server, according to address, described source from web page server downloading web pages element content corresponding to described webpage.
A8, method as described in A1 or A2 or A3 or A5 or A6, also comprise:
The web page element of described specified type and other browsers are carried out to synchronous operation.
A9, method as described in A1 or A2 or A3 or A5 or A6, also comprise:
To the web page element content of downloading, generate First Characteristic mark from specified type web page element storage server;
According to address, described source from web page server downloading web pages element content corresponding to described webpage;
To the web page element content of downloading from described web page server, generate Second Characteristic mark;
In the time that described First Characteristic mark is not identical with described Second Characteristic mark, generate information;
Described information is sent to described specified type web page element storage server.
A10, method as described in A1 or A2 or A3 or A5 or A6, described browser at least comprises the first browser kernel;
The described webpage that browse request is downloaded to is resolved, and the step that obtains the dom tree structured data information of described webpage comprises:
The webpage in the first browser kernel, browse request being downloaded to is resolved, and obtains the dom tree structured data information of described webpage.
A11, method as described in A10, described in obtain the web page element of specified type in described dom tree structured data information step comprise:
In the first browser kernel, obtain the web page element text of specified type in described dom tree structured data information.
A12, method as described in A11, the described address, source according to specified type web page element asks the step of the download of carrying out described specified type web page element content to comprise to specified type web page element storage server corresponding to browser:
The download of described specified type web page element content is asked to carry out to specified type web page element storage server corresponding to browser in address, source according to specified type web page element in the first browser kernel.
A13, method as described in A12, described browser at least also comprises the second browser kernel;
Described in the time playing up Web page loading, use the specified type web page element of downloading from specified type web page element storage server to play up, the step being carried in webpage comprises:
In the time playing up Web page loading, in the second browser kernel, adopt the address, source of the specified type web page element that address, source and, described first browser kernel of the web page element of specified type download from specified type web page element storage server to mate;
In the time that the match is successful, the specified type web page element content that adopts described the first browser kernel to download from specified type web page element storage server is played up.
The embodiment of the invention also discloses B14, a kind of in browser the device of Web page loading, comprising:
Dom tree obtains module, and the webpage that is suitable for browse request to download to is resolved, and obtains the dom tree structured data information of described webpage;
Web page element text obtains module, is suitable for obtaining the web page element text of specified type in described dom tree structured data information; Described text comprises location, source place;
Web page element content download module, is suitable for the address, source according to specified type web page element, asks to carry out the download of described specified type web page element content to the specified type web page element storage server that browser is corresponding;
Web page element rendering module, is suitable in the time playing up Web page loading, uses the specified type web page element of downloading from specified type web page element storage server to play up, and is carried in webpage.
B15, device as described in B14, described dom tree structured data information comprises one or more nodal informations;
Described dom tree obtains module and is also suitable for:
The address information of described webpage is mated in default web page element list of types;
In the time that the match is successful, from web page element list of types, extract the type information that needs the web page element of downloading;
When described type information is when mating in described nodal information, from described nodal information, extract the web page element text of described specified type.
B16, device as described in B15, store the corresponding relation of the address information of webpage and the type information of web page element in described web page element list of types;
Described web page element list of types generates according to user's operation information.
B17, device as described in B14 or B15 or B16, the web page element of described specified type comprise following at least one:
Text message, image information, voice data, video data.
B18, device as described in B14, described specified type web page element content storage server is returned to web page element content in the following manner:
In the time that web page element content corresponding to address, described source is stored in described specified type web page element storage server, judge that whether described web page element content is expired; If so, according to address, described source from web page server downloading web pages element content corresponding to described webpage; If not, extract web page element content corresponding to address, described source;
Return to described web page element content to browser.
B19, device as described in B14, state specified type web page element storage server and return in the following manner web page element content:
In the time that web page element content corresponding to address, described source is not stored in described specified type web page element storage server, according to address, described source from web page server downloading web pages element content corresponding to described webpage;
Return to described web page element content to browser.
B20, device as described in B14 or B15 or B16 or B18 or B19, also comprise:
Overtime download module, be suitable for exceeding default time threshold, and while not receiving web page element content corresponding to address, described source from described specified type web page element storage server, according to address, described source from web page server downloading web pages element content corresponding to described webpage.
B21, device as described in B14 or B15 or B16 or B18 or B19, also comprise:
Synchronous operation module, is suitable for the web page element of described specified type and other browsers to carry out synchronous operation.
B22, device as described in B14 or B15 or B16 or B18 or B19, also comprise:
The first generation module, is suitable for the web page element content downloaded from specified type web page element storage server, generates First Characteristic mark;
Original download module, is suitable for according to address, described source from web page server downloading web pages element content corresponding to described webpage;
The second generation module, is suitable for the web page element content to downloading from described web page server, generates Second Characteristic mark;
Information generation module, is suitable for, in the time that described First Characteristic mark is not identical with described Second Characteristic mark, generating information;
Information sending module, is suitable for described information to be sent to described specified type web page element storage server.
B23, device as described in B14 or B15 or B16 or B18 or B19, described browser at least comprises the first browser kernel;
Described dom tree obtains module and is also suitable for:
The webpage in the first browser kernel, browse request being downloaded to is resolved, and obtains the dom tree structured data information of described webpage.
B24, device as described in B23, described web page element text obtains module and is also suitable for:
In the first browser kernel, obtain the web page element text of specified type in described dom tree structured data information.
B25, device as described in B24, described web page element content download module is also suitable for:
The download of described specified type web page element content is asked to carry out to specified type web page element storage server corresponding to browser in address, source according to specified type web page element in the first browser kernel.
B26, device as described in B25, described browser at least also comprises the second browser kernel;
Described web page element rendering module is also suitable for:
In the time playing up Web page loading, in the second browser kernel, adopt the address, source of the specified type web page element that address, source and, described first browser kernel of the web page element of specified type download from specified type web page element storage server to mate;
In the time that the match is successful, the specified type web page element content that adopts described the first browser kernel to download from specified type web page element storage server is played up.