The content of the invention
This application provides a kind of iconic content update method and updating device, are entered with solving prior art to total data
Row updates the problem of waste of resource.
In order to solve the above problems, this application discloses a kind of iconic content update method, including:
Obtain corresponding first network address of the iconic content to be updated in navigation page;
Top or higher level's domain name is extracted from first network address;
The result data that acquisition matches with described top or higher level's domain name, comprising with identical top in the result data
Second network address and the corresponding iconic content of the second network address of level or higher level's domain name;
The renewal of respective icon content is carried out to the iconic content to be updated according to the result data.
Preferably, it is described that respective icon content is carried out more to the iconic content to be updated according to the result data
Newly, including:
The first network address is carried out into canonical with the second network address in result data to match, if the match is successful, according to result
The corresponding iconic content of the network address that matches in data, is updated to the iconic content to be updated.
Preferably, the canonical matching includes:
The second network address matched completely with the first network address is inquired about in the result data, if inquired, figure is carried out
The renewal of mark content.
Preferably, if inquiry is less than the second network address for matching completely, the canonical matching also includes:
Inquiry and the first network address have the second network address of identical first class catalogue in the result data, if inquired,
Then carry out the renewal of iconic content.
Preferably, if inquiry is less than the first class catalogue for matching, the canonical matching also includes:
Inquiry and the first network address have the second network address of identical second level domain in the result data, if inquired,
Then carry out the renewal of iconic content.
Preferably, if inquiry is less than the second level domain for matching, the canonical matching also includes:
Inquiry and the first network address have the second network address of identical TLD in the result data, if inquired,
Then carry out the renewal of iconic content.
Preferably, the iconic content for including in the result data includes the ground of the title for optimizing and mark picture file
Location.
Preferably, it is described the iconic content to be updated is updated including:
The corresponding title for optimizing of the second network address inquired in result data, the first network address of correspondence are preserved.
Preferably, it is described the iconic content to be updated is updated including:
By the md5 values of the corresponding mark picture file of the second network address inquired in result data, with first network address
It is compared in the md5 values of the local mark picture file for preserving;
If it is different, then the corresponding mark picture of the second network address is locally downloading, and correspondingly the first network address is preserved;
If identical, do not carry out indicating the renewal of picture.
Preferably, corresponding first network address of the iconic content to be updated in the acquisition navigation page, including:
N number of network address that most frequentation is asked is calculated, N is natural number;
N number of network address that the most frequentation is asked is compared with the network address in newest most normal access list, determines not
The network address of the most normal access list is same as, and using the network address as corresponding first network address of iconic content for needing to update.
Preferably, also include:
Corresponding first network address of the iconic content to be updated is put in newest most normal access list;
If the network address number in the most normal access list deletes the network address not accessed at most more than N, N is nature
Number.
Preferably, it is described to obtain the result data matched with described top or higher level's domain name, including:
Described top or higher level's domain name and local key are carried out into md5 computations, md5 values are obtained, and by the md5 values
Cloud server is sent to as parameter, to obtain the result data matched with described top or higher level's domain name.
Preferably, also include:
Corresponding web page contents are obtained according to first network address;
The web page contents are included in the iconic content.
Preferably, the web page contents include the link in webpage, and the link is recorded according to local browser history
Select from web page contents.
Preferably, also include:
Corresponding web page contents are obtained according to first network address;
The content being associated with the web page contents is included in the iconic content.
Preferably, the web page contents are the title of webpage, then also include:
The web page title is sent to into service end;
Obtain and linking that the web page title is associated from service end, and the link is included in the iconic content
In.
Present invention also provides a kind of iconic content updating device, including:
Website acquisition module, for obtaining navigation page in corresponding first network address of the iconic content to be updated;
Domain name extraction module, for extracting top or higher level's domain name from first network address;
Data download module, for obtaining the result data matched with described top or higher level's domain name, the number of results
Comprising with identical top or higher level's domain name the second network address and the corresponding iconic content of the second network address according in;
Data update module, for carrying out in respective icon to the iconic content to be updated according to the result data
The renewal of appearance.
Preferably, the data update module includes:
Matched sub-block, matches for the first network address to be carried out into canonical with the second network address in result data;
Submodule is updated, if for the match is successful, according to the corresponding iconic content of network address that matches in result data,
The iconic content to be updated is updated.
Preferably, the matched sub-block includes:
First coupling subelement, for inquiring about the second network address matched completely with the first network address in the result data,
If inquired, updating submodule carries out the renewal of iconic content.
Preferably, if inquiry is less than the second network address for matching completely, the matched sub-block also includes:
Second coupling subelement, has the of identical first class catalogue for the inquiry in the result data and the first network address
Two network address, if inquired, updating submodule carries out the renewal of iconic content.
Preferably, if inquiry is less than the first class catalogue for matching, the matched sub-block also includes:
3rd coupling subelement, has the of identical second level domain for the inquiry in the result data and the first network address
Two network address, if inquired, updating submodule carries out the renewal of iconic content.
Preferably, if inquiry is less than the second level domain for matching, the matched sub-block also includes:
4th coupling subelement, has the of identical TLD for the inquiry in the result data and the first network address
Two network address, if inquired, updating submodule carries out the renewal of iconic content.
Preferably, the iconic content for including in the result data includes the ground of the title for optimizing and mark picture file
Location.
Preferably, it is described renewal submodule the iconic content to be updated is updated including:
The corresponding title for optimizing of the second network address inquired in result data, the first network address of correspondence are preserved.
Preferably, it is described renewal submodule the iconic content to be updated is updated including:
By the md5 values of the corresponding mark picture file of the second network address inquired in result data, with first network address
It is compared in the md5 values of the local mark picture file for preserving;
If it is different, then the corresponding mark picture of the second network address is locally downloading, and correspondingly the first network address is preserved;
If identical, do not carry out indicating the renewal of picture.
Preferably, the website acquisition module includes:
Calculating sub module, for calculating N number of network address that most frequentation is asked, N is natural number;
Comparison sub-module, the N number of network address and the network address in newest most normal access list for the most frequentation to be asked is entered
Row compares, and determines the network address different from the most normal access list, and using the network address as the iconic content pair for needing to update
The first network address answered.
Preferably, also include:
Data maintenance module, for by corresponding first network address of the iconic content to be updated be put into it is newest most
Often in access list;If the network address number in the most normal access list deletes the network address not accessed at most more than N, N is
Natural number.
Preferably, domain name extraction module includes:
Computations submodule, for described top or higher level's domain name and local key to be carried out into md5 computations, obtains
Md5 values;
Sending submodule, for the md5 values to be sent to into cloud server as parameter, with obtain with it is described top or
The result data that higher level's domain name matches.
Preferably, also include:
First webpage acquisition module, for obtaining corresponding web page contents according to first network address;
First display module, for the web page contents to be included in the iconic content.
Preferably, the web page contents include the link in webpage, and the link is recorded according to local browser history
Select from web page contents.
Preferably, also include:
Second webpage acquisition module, for obtaining corresponding web page contents according to first network address;
Second display module, for the content being associated with the web page contents to be included in the iconic content.
Preferably, the web page contents are the title of webpage, then also include:
Title sending module, for the web page title to be sent to into service end;
Link acquisition module, for obtaining and linking that the web page title is associated from service end, and the link is shown
Show in the iconic content.
Compared with prior art, the application includes advantages below:
First, the application is locally only preserving the corresponding iconic content of network address that most frequentation is asked, typically left at 30-40
The right side, therefore the volume of browser client is significantly reduced, reduce the occupancy of resource;
Second, for the network address that the local most frequentation for preserving is asked, the application is when iconic content is updated nor complete every time
Portion updates, but first calculates the network address for needing to update, and then to these network address carries out the renewal of iconic content again, therefore this
Update method saves bandwidth resources;
3rd, the application can carry out icon to all second level domains under TLD, the corresponding network address of first class catalogue
The renewal of content, because the data of these magnanimity are stored in cloud server, obtains during renewal from cloud server.
Certainly, the arbitrary product for implementing the application is not necessarily required to while reaching all the above advantage.
Specific embodiment
It is understandable to enable the above-mentioned purpose of the application, feature and advantage to become apparent from, it is below in conjunction with the accompanying drawings and concrete real
Apply mode to be described in further detail the application.
The application locally preserves network address and its corresponding iconic content that user's most frequentation is asked in browser client first,
And these network address are safeguarded by most normal access list.Compared with prior art, the network address quantity that these most frequentations are asked is much little
In more than 2000 fixed network address, therefore significantly reduce the burden of browser client.
Based on this, the application proposes a kind of update method of iconic content, can rapidly to locally stored a small amount of
Iconic content is updated.Wherein, the iconic content includes the title and logo pictures for optimizing, in various navigation websites
In, the link in navigation page can use icon replacing representation, display optimization is crossed on the icon title and logo, be easy to user
Identification, user clicks on and can enter after icon the corresponding link page.
Further explain below by embodiment.
It is a kind of flow chart of iconic content update method described in the embodiment of the present application with reference to Fig. 1.
Step 101, obtains the first network address to be updated;
Specifically, corresponding first network address of the iconic content to be updated in navigation page is obtained, i.e., to navigation page
Shown in each icon, acquisition need to carry out the corresponding network address of icon of iconic content renewal, the network address is referred to as the first net
Location.
In the present embodiment, the first network address to be updated is obtained by following sub-step:
Sub-step 1, calculates N number of network address that most frequentation is asked, N is natural number;
Generally, using the history access record that browser client is locally stored, the network address that user's most frequentation is asked is calculated, and
N number of network address in the top is extracted.
Computational methods have many kinds, and one of which is set forth below, as follows:
Using the factor such as the natural law of access, the number of times, the access mode that access daily as being calculated with reference to weight, for example:
If a user have accessed at first day network address A once, network address B once, have accessed network address A mono- again at second day
Secondary, then the access day of network address A is 2, the access day of network address B is 1, so the weighted value of network address A is higher than the power of network address B
Weight values;
If a user accessed network address A once within one day, access network address B tri- times, then the weighted value of network address B will
Higher than the weighted value of network address A;
If a user accessed network address A within one day by address field, network address B is accessed by collection, by point
Hit links and accesses network address C, then the weighted value of network address A is higher than the weighted value of network address B, the weighted value of network address B is higher than network address C
Weighted value;
Etc.,
Consider factors above, different weights can also be given to each factor, so as to calculate during phase of history
N number of network address that interior certain user most frequentation is asked.
Sub-step 2, N number of network address that the most frequentation is asked is compared with the network address in newest most normal access list,
The network address different from the most normal access list is determined, and using the network address as the first network address for needing to update.
As it was previously stated, N number of network address that user's Jing frequentations are asked is have recorded in most normal access list, newest most normal access list
Refer to the last list for carrying out and being decided after iconic content renewal.
Assume that it is A, B, C, D, E, F to access 6 network address that the most frequentation that calculates of data asks using the history of front ten days,
Network address in newest most normal access list is C, D, E, F, G, H, then the first network address that the needs for determining more afterwards update is A
And B, network address A and B will be put into into most normal access list after renewal, while network address G, H is deleted from most normal access list.
Step 102, from first network address TLD is extracted;
Or, it is also possible to higher level's domain name is extracted from the first network address;
The TLD of network address, such as baidu.com;
The second level domain of network address, such as new.baidu.com;
The first class catalogue of network address, such as www.baidu.com/news;
The Main Domain of network address is one kind of second level domain, and such as the Main Domain of baidu.com is www.baidu.com.
It follows that a TLD represents a website, there can be multiple second level domains under TLD, also may be used
To there is multiple first class catalogues.And higher level's domain name refers to the upper level domain name relative to the first current network address, if current
One network address is in first class catalogue, then thereon top-level domain is second level domain, if the first current network address is second level domain,
So its higher level's domain name is TLD.
Many information are included in one network address, is such as specifically visited under TLD, second level domain, first class catalogue, first class catalogue
The webpage numbering asked, etc. information.Therefore, by parsing a network address, TLD or its higher level domain can therefrom be extracted
Name.
Step 103, obtains the result data matched with the TLD, identical comprising having in the result data
Second network address and the corresponding iconic content of the second network address of TLD;
Or, the result data matched with higher level's domain name is obtained, comprising with mutually ibid in the result data
Second network address and the corresponding iconic content of the second network address of level domain name;
In the present embodiment, the result data matched with the TLD is obtained from service end by following steps:
The TLD and local key are carried out into md5 computations, md5 values are obtained, and using the md5 values as ginseng
Number is sent to cloud server, to obtain the result data matched with the TLD.
The step of obtaining the result data matched with higher level's domain name from service end is identical with upper, and here is no longer gone to live in the household of one's in-laws on getting married
State.
Wherein, the local key can be obtained when client installs browser, it is also possible to issued by service end and determined
Phase updates.
Based on the consideration of safety, the TLD and local key are carried out into md5 computations before transmission, certainly,
Other AESs are may also be employed, the application is not limited this.
Cloud server stores the newest iconic content of magnanimity network address, and stores close with local to each network address
Key carries out the md5 values of md5 computations.Therefore, the md5 values that cloud server sends browser client and oneself storage
Md5 values are matched, if matched, the result data matched with the md5 values are returned into client.
For a md5 value, corresponding result data includes all network address under the TLD in the md5 values(I.e.
The second above-mentioned network address)And its corresponding iconic content.Wherein, the iconic content for including in result data includes the mark for optimizing
Topic and logo(Mark)The address of picture file.
Cloud server can as far as possible collect network address url that each client is possible to access, but cannot accomplish whole
The form for accessing history network address by intelligent acquisition user compiles all network address url being likely to occur, therefore can coordinate
The mode of artificial operation is supplementing network address.
For example, client obtains the result data that TLD is baidu.com, comprising institute under Baidu in the result data
It is possible to network address accessed by the user.
Step 104, according to the result data renewal of respective icon content is carried out to the first network address to be updated.
In other words, respective icon content is carried out more to the iconic content to be updated according to the result data
Newly, the iconic content to be updated is corresponding with the first network address.
In the present embodiment, it is updated by following sub-step:
The first network address is carried out into canonical with the second network address in result data to match, if the match is successful, according to result
The corresponding iconic content of the network address that matches in data, is updated to the corresponding iconic content of first network address.
Contain under same TLD in the result data returned due to cloud server all of second network address and its
Iconic content, it is therefore desirable to the second network address matched with the first network address in by matching to find out result data, then should
The corresponding iconic content of second network address is updated to the iconic content of the first network address.
Wherein, canonical matching is a kind of matching process, the following detailed description of the detailed process of canonical matching.
The first step, inquires about the second network address matched completely with the first network address in the result data, if inquired,
Carry out the renewal of iconic content;
It is described completely matching refer to the first network address all information and the second network address all information matches, i.e., the two
Network address is identical two network address.
For example the first network address is:
www.baidu.com/news
The second network address for so matching completely with above-mentioned first network address should also be:
www.baidu.com/news
Second step, if inquiry is less than the second network address for matching completely, inquiry and the first net in the result data
Location has the second network address of identical first class catalogue, if inquired, carries out the renewal of iconic content;
If cloud server does not store the second network address matched completely with the first network address, then carry out first class catalogue
Matching, for example:
First network address is www.baidu.com/news;
If whether less than the second network address for matching completely, continuing to be inquired about in result data has for inquiry
Www.baidu.com/*, www.baidu.com/* are a regular expressions, wherein " * " may refer to many information, such as
News, yule, sports etc..Cloud server is returned in the result data of client not only to be included in network address and its icon
Hold, also including regular expression and its corresponding iconic content.
If inquiring www.baidu.com/*, expression inquiry in the result data has identical with the first network address
Second network address of first class catalogue, then be updated to the first network address by the corresponding iconic contents of www.baidu.com/*
The iconic content of www.baidu.com/news.
3rd step, if inquiry is less than the first class catalogue for matching, inquiry and the first network address in the result data
The second network address with identical second level domain, if inquired, carries out the renewal of iconic content;
For example, the first network address is www.baidu.com/news;
If inquiry is less than first class catalogue www.baidu.com/*, continue to whether there is * in Query Result data
.baidu.com, if inquired, inquiry and the first network address have the second net of identical second level domain in the result data
Location, then the corresponding iconic contents of * .baidu.com are updated to the iconic content of the first network address www.baidu.com/news.
4th step, if inquiry is less than the second level domain for matching, inquiry and the first network address in the result data
The second network address with identical TLD, if inquired, carries out the renewal of iconic content.
For example, the first network address is www.baidu.com/news;
If inquiry is less than second level domain * .baidu.com, continue to whether there is in Query Result data
Baidu.com, if inquired, inquiry and the first network address have the second net of identical TLD in the result data
Location, then the corresponding iconic contents of baidu.com are updated to the iconic content of the first network address www.baidu.com/news.
Based on above canonical matching process, after the second network address for matching is inquired, can be corresponding by the second network address
Iconic content is updated to the iconic content of the first network address., wherein it is desired to the iconic content for updating include the title that optimized and
Logo pictures.
It should be noted that the above is the renewal carried out according to the result data matched with TLD, in addition
Can also be updated according to the result data matched with higher level's domain name, i.e., the first step carries out the matching completely of network address, if
Match completely unsuccessful, then carry out the matching of higher level's domain name, and the corresponding iconic content of higher level's domain name for matching is updated to
The iconic content of the first network address.
Further, if the matching of higher level's domain name is also unsuccessful, can continue from the first network address to extract to go up again
Top-level domain, and the result data that cloud server acquisition matches is sent to, and be updated according to the result data.When
So, this higher level's domain name matches unsuccessful situation and seldom occurs in practical application, because the network address base of cloud server storage
Instinct covers all network address that user may access, so such case is negligible.
Further, the renewal of the title to optimizing in iconic content includes:
The corresponding title for optimizing of the second network address inquired in result data, the first network address of correspondence are preserved.
The corresponding title for optimizing of the second network address is replaced with the title for optimizing of the first network address, and be saved in this
Ground.
Further, the renewal to indicating picture in iconic content includes:
By the md5 values of the corresponding logo picture files of the second network address inquired in result data, with first network address
It is compared in the md5 values of the local logo picture files for preserving;
If it is different, then the corresponding logo pictures of the second network address is locally downloading, and correspondingly the first network address is preserved;
If identical, the renewal of logo pictures is not carried out.
Logo picture files i.e. corresponding to the second network address and the corresponding logo picture files of the first network address carry out respectively md5
Calculate, then compare the two md5 values.If identical, represent that the logo pictures on cloud server do not change, therefore nothing
Local logo pictures need to be updated again.Need to update if it is different, representing, according to the second network address correspondence in result data
Logo picture files address, from address acquisition logo picture files, and be saved in that local to replace the first network address corresponding
Logo picture files.
In sum, the embodiment of Fig. 1 has the effect that:
First, the corresponding iconic content of network address that most frequentation is asked locally only is being preserved, typically at 30-40 or so, therefore
The volume of browser client is significantly reduced, the occupancy of resource is reduced;
Second, for the network address that the local most frequentation for preserving is asked, the application is when iconic content is updated nor complete every time
Portion updates, but first calculates the network address for needing to update, and then to these network address carries out the renewal of iconic content again, therefore this
Update method saves bandwidth resources;
3rd, iconic content can be carried out to all second level domains under TLD, the corresponding network address of first class catalogue
Update, because the data of these magnanimity are stored in cloud server, obtain from cloud server during renewal.
Additionally, being based on Fig. 1 embodiments, it is preferable that the quantity of network address in order to keep local most normal access list, will be described
The first network address to be updated is put in newest most normal access list, if the network address number in the most normal access list
More than N, then the network address not accessed at most is deleted, N is natural number.
Additionally, being based on Fig. 1 embodiments, it is preferable that the local iconic content for preserving not only can include the title for optimizing
With logo pictures, the word of link or web page contents in the webpage that can also be asked user's most frequentation is also placed in local preservation,
And be displayed on icon, it is user-friendly to.
Based on this, in another embodiment of the application, above-mentioned method can also include following process step:
Corresponding web page contents are obtained according to first network address;
The web page contents are included in the iconic content.
Wherein, the web page contents include the information such as the link in explanatory note, webpage.
For example, the passage in webpage is included on icon with roll mode, or the link in webpage is shown
On icon.Wherein, the link is selected from web page contents according to local browser history record.Because in a webpage
May be recorded according to browser history comprising many links, some links that can be asked user's Jing frequentations are included on icon,
User is facilitated to click on.
Further, in another embodiment of the application, above-mentioned method can also include following process step:
Corresponding web page contents are obtained according to first network address;
The content being associated with the web page contents is included in the iconic content.
For example, the web page contents for obtaining according to the first network address are first entertainment newses, then be associated with the web page contents
Content can be the commentary content to the entertainment newses, these comment contents may be displayed in iconic content.
Preferably, the web page contents can be the title of webpage, and the content being associated with the web page contents can be
Peer link, then can also comprise the following steps:
The web page title is sent to into service end;
Obtain and linking that the web page title is associated from service end, and the link is included in the iconic content
In.
For example, a web page title is certain media event, then other web page interlinkages related to the media event can also
Directly display on icon.
Based on above content, in order that those skilled in the art become more apparent upon present context, below by the another of Fig. 2
One embodiment is illustrated.
It is a kind of flow chart of iconic content update method described in another embodiment of the application with reference to Fig. 2.
Step 201, after browser client starts, calculates 40 network address that the most frequentation of the previous day is asked;
Browser client is calculated once after starting daily, and the history access record all using front ten days is calculated every time.When
So, 40 network address are only to enumerate explanation.
Step 202,40 network address are compared with newest most normal access list, are drawn and asked different from most frequentation
The results list of list;
Network address in described the results list is the network address for needing to carry out icon renewal, come from above-mentioned 40 it is calculated
Among network address, and it is network address not in newest most normal access list.
Step 203, by each network address in described the results list, extracts TLD, and to TLD and locally
Key carries out md5 computations, obtains md5 values, and the md5 values are sent to into cloud server as parameter;
Wherein, may have in the results list and there is the TLD different situation of identical but concrete network address, therefore extract
The quantity of TLD may differ with the network address quantity in the results list.
Step 204, returns the result data of JSON forms;
It is the data instance of a JSON form with reference to shown in Fig. 3.JSON(JavaScript Object Notation)
It is a kind of data interchange format of lightweight.
All of network address and its corresponding icon under same TLD are contained in the result data of the JSON forms
Content, the iconic content includes the address of the title and logo picture files for optimizing.Data in Fig. 3 are due to being translated
Code, therefore title is can't see, and, the address of logo picture files also is indicated as the various character compositions such as string number, letter
Code.
Additionally, under same TLD, the corresponding title of different network address and logo are also likely to be different.For example,
Entitled " the Baidu's news " that optimized of news.baidu.com, www.baidu.com optimized entitled " Baidu is known
Road ", both logo are also differed.
Step 205, browser client carries out canonical matching to the result data for returning;
I.e. for each network address in the results list, matched one by one in result data, inquiry whether there is phase
The network address matched somebody with somebody.
Step 206, the md5 values of the logo picture files for inquiring are carried out with the md5 values of local logo picture files
Compare, if it is different, then logo picture files is locally downloading, while the title that storage optimization is crossed;
For the renewal of title, browser client directly updates the corresponding title in result data to locally.
For the renewal of logo pictures, because picture file is relatively large, therefore md5 can be first passed through and calculated and confirm high in the clouds
Whether the logo pictures of server update, if it is, the locally downloading preservation of logo pictures that will be updated;If not, just not
Need to update local.
Step 207, if the network address quantity in most normal access list is more than 40, deletes untapped network address at most.
After the completion of icon updates, need that the network address in the results list is put in most normal access list, if most frequentation is asked
The length of list then deletes wherein untapped network address at most more than 40.
Additionally, in most normal access list Jing often ask network address identical net with each calculated 40 most frequentations
Location, updating for these network address can be according to the frequency for updating per seven days once, every time automatically from cloud server down loading updating.
It should be noted that for aforesaid embodiment of the method, in order to be briefly described, therefore it is all expressed as a series of
Combination of actions, but those skilled in the art should know, and the application is not limited by described sequence of movement, because according to
According to the application, some steps can adopt other orders or while carry out.Secondly, those skilled in the art also should know,
Embodiment described in this description belongs to preferred embodiment, necessary to involved action not necessarily the application.
Based on the explanation of said method embodiment, present invention also provides corresponding iconic content updating device embodiment.
It is a kind of structure chart of iconic content updating device described in the embodiment of the present application with reference to Fig. 4.
The iconic content updating device can be included with lower module:
Website acquisition module 10, for obtaining navigation page in the iconic content to be updated for the first network address;
Domain name extraction module 20, for extracting top or higher level's domain name from first network address;
Data download module 30, for obtaining the result data matched with described top or higher level's domain name, the result
Comprising with identical top or higher level's domain name the second network address and the corresponding iconic content of the second network address in data;
Data update module 40, for carrying out respective icon to the iconic content to be updated according to the result data
The renewal of content.
Preferably, the data update module 40 can specifically include following submodule:
Matched sub-block, matches for the first network address to be carried out into canonical with the second network address in result data;
Submodule is updated, if for the match is successful, according to the corresponding iconic content of network address that matches in result data,
The iconic content to be updated is updated.
Preferably, the matched sub-block specifically can include:
First coupling subelement, for inquiring about the second network address matched completely with the first network address in the result data,
If inquired, updating submodule carries out the renewal of iconic content.
Preferably, if inquiry is less than the second network address for matching completely, the matched sub-block also includes:
Second coupling subelement, has the of identical first class catalogue for the inquiry in the result data and the first network address
Two network address, if inquired, updating submodule carries out the renewal of iconic content.
Preferably, if inquiry is less than the first class catalogue for matching, the matched sub-block also includes:
3rd coupling subelement, has the of identical second level domain for the inquiry in the result data and the first network address
Two network address, if inquired, updating submodule carries out the renewal of iconic content.
Preferably, if inquiry is less than the second level domain for matching, the matched sub-block also includes:
4th coupling subelement, has the of identical TLD for the inquiry in the result data and the first network address
Two network address, if inquired, updating submodule carries out the renewal of iconic content.
Wherein, the iconic content for including in the result data includes the ground of the title for optimizing and mark picture file
Location.
Preferably, the renewal of title of the renewal submodule to optimizing in iconic content includes:
The corresponding title for optimizing of the second network address inquired in result data, the first network address of correspondence are preserved.
Preferably, the submodule that updates includes to the renewal for indicating picture in iconic content:
By the md5 values of the corresponding mark picture file of the second network address inquired in result data, with first network address
It is compared in the md5 values of the local mark picture file for preserving;
If it is different, then the corresponding mark picture of the second network address is locally downloading, and correspondingly the first network address is preserved;
If identical, do not carry out indicating the renewal of picture.
Preferably, the website acquisition module 10 specifically can include:
Calculating sub module, for calculating N number of network address that most frequentation is asked, N is natural number;
Comparison sub-module, the N number of network address and the network address in newest most normal access list for the most frequentation to be asked is entered
Row compares, and determines the network address different from the most normal access list, and using the network address as the iconic content pair for needing to update
The first network address answered.
Preferably, described device can also include:
Data maintenance module 50, it is newest for corresponding first network address of the iconic content to be updated to be put into
In most normal access list;If the network address number in the most normal access list deletes the network address not accessed at most, N more than N
For natural number.
Preferably, domain name extraction module 20 specifically can include:
Computations submodule, for described top or higher level's domain name and local key to be carried out into md5 computations, obtains
Md5 values;
Sending submodule, for the md5 values to be sent to into cloud server as parameter, with obtain with it is described top or
The result data that higher level's domain name matches.
Preferably, described device can also include:
First webpage acquisition module 60, for obtaining corresponding web page contents according to first network address;
First display module 70, for the web page contents to be included in the iconic content.
Preferably, the web page contents include the link in webpage, and the link is recorded according to local browser history
Select from web page contents.
Preferably, described device can also include:
Second webpage acquisition module 80, for obtaining corresponding web page contents according to first network address;
Second display module 90, for the content being associated with the web page contents to be included in the iconic content.
Preferably, the web page contents are the title of webpage, then can also include:
Title sending module 100, for the web page title to be sent to into service end;
Link acquisition module 110, for obtaining and linking that the web page title is associated from service end, and this is linked
In being displayed in the iconic content.
For above-mentioned iconic content updating device embodiment, due to itself and embodiment of the method basic simlarity, so retouching
That what is stated is fairly simple, and related part is illustrated referring to the part of embodiment of the method shown in Fig. 1 and Fig. 2.
Each embodiment in this specification is described by the way of progressive, what each embodiment was stressed be with
The difference of other embodiment, between each embodiment identical similar part mutually referring to.
The embodiment of the present application can be embodied in it is any support graphics process, internet content capture and render device (or
Multiple devices) on.These devices include but is not limited to personal computer, cluster server, mobile phone, work station, embedded
System, game machine, TV, Set Top Box, or any other computing device for supporting computer graphical and content to show.These devices
The device for performing and storing the one or more processors and memorizer of instruction can including but not limited to be possessed.These devices can
With including software, firmware and hardware.Software can include one or more application programs and operating system.Hardware can include but
It is not limited to processor, memorizer and display.
Finally, in addition it is also necessary to explanation, herein, such as first and second or the like relational terms be used merely to by
One entity or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or operation
Between there is any this actual relation or order.
Above to a kind of iconic content update method and device provided herein, it is described in detail, herein
Apply specific case to be set forth the principle and embodiment of the application, the explanation of above example is only intended to help
Understand the present processes and its core concept;Simultaneously for one of ordinary skill in the art, according to the thought of the application,
Will change in specific embodiments and applications, in sum, this specification content should not be construed as to this
The restriction of application.
The embodiment of the invention also discloses A1, a kind of iconic content update method, it is characterised in that include:Obtain navigation
Corresponding first network address of the iconic content to be updated in the page;Top or higher level domain is extracted from first network address
Name;The result data that matches with described top or higher level's domain name of acquisition, in the result data comprising have it is identical top or
Second network address and the corresponding iconic content of the second network address of higher level's domain name;According to the result data to the icon to be updated
Content carries out the renewal of respective icon content;It is wherein described the iconic content to be updated is carried out according to the result data
The renewal of respective icon content, including:The first network address is carried out into canonical with the second network address in result data to match, if matching
Success, then according to the corresponding iconic content of network address that matches in result data, carried out to the iconic content to be updated
Update.A2, the method according to A1, it is characterised in that the canonical matching includes:The inquiry and the in the result data
The second network address that one network address is matched completely, if inquired, carries out the renewal of iconic content.A3, the method according to A2,
Characterized in that, if inquiry is less than the second network address for matching completely, the canonical matching also includes:In the result data
Inquiry has the second network address of identical first class catalogue with the first network address, if inquired, carries out the renewal of iconic content.A4、
Method according to A3, it is characterised in that if inquiry is less than the first class catalogue for matching, the canonical matching also includes:
Inquiry and the first network address have the second network address of identical second level domain in the result data, if inquired, carry out figure
The renewal of mark content.A5, the method according to A4, it is characterised in that described if inquiry is less than the second level domain for matching
Canonical matching also includes:Inquiry and the first network address have the second network address of identical TLD in the result data, if
Inquire, then carry out the renewal of iconic content.A6, according to the arbitrary described methods of A1 to A5, it is characterised in that:The number of results
The iconic content included according in includes the address of the title for optimizing and mark picture file.A7, the method according to A6, its
Be characterised by, it is described the iconic content to be updated is updated including:By inquire in result data second
The corresponding title for optimizing of network address, the first network address of correspondence is preserved.A8, the method according to A6, it is characterised in that institute
State the iconic content to be updated is updated including:By the corresponding mark of the second network address inquired in result data
The md5 values of will picture file, are compared with md5 values of first network address in the local mark picture file for preserving;If
Difference, then it is the corresponding mark picture of the second network address is locally downloading, and correspondingly the first network address is preserved;If identical,
Do not carry out indicating the renewal of picture.A9, the method according to A1, it is characterised in that to carry out in the acquisition navigation page
Corresponding first network address of iconic content of renewal, including:N number of network address that most frequentation is asked is calculated, N is natural number;It is most normal by described in
The N number of network address for accessing is compared with the network address in newest most normal access list, determines different from the most normal Access Column
The network address of table, and using the network address as corresponding first network address of iconic content for needing to update.A10, according to A1 or A9
Method, it is characterised in that also include:Corresponding first network address of the iconic content to be updated is put into newest most normal
In access list;If the network address number in the most normal access list is more than N, the network address not accessed at most is deleted, N is certainly
So count.A11, the method according to A1, it is characterised in that the result that the acquisition matches with described top or higher level's domain name
Data, including:Described top or higher level's domain name and local key are carried out into md5 computations, md5 values are obtained, and by the md5
Value is sent to cloud server as parameter, to obtain the result data matched with described top or higher level's domain name.A12, root
According to the method described in A1, it is characterised in that also include:Corresponding web page contents are obtained according to first network address;By the net
Page content is displayed in the iconic content.A13, the method according to A12, it is characterised in that:The web page contents include
Link in webpage, the link is selected from web page contents according to local browser history record.A14, according to A1
Method, it is characterised in that also include:Corresponding web page contents are obtained according to first network address;Will be with the web page contents
Associated content is displayed in the iconic content.A15, the method according to A14, it is characterised in that in the webpage
Hold the title for webpage, then also include:The web page title is sent to into service end;Obtain and the web page title from service end
Associated link, and the link is included in the iconic content.
The embodiment of the invention also discloses B16, a kind of iconic content updating device, it is characterised in that include:Network address is obtained
Module, for obtaining navigation page in corresponding first network address of the iconic content to be updated;Domain name extraction module, for from
Top or higher level's domain name is extracted in first network address;Data download module, for obtaining and described top or higher level's domain name
The result data for matching, comprising with identical top or higher level's domain name the second network address and the second network address in the result data
Corresponding iconic content;Data update module, for carrying out phase to the iconic content to be updated according to the result data
Answer the renewal of iconic content;Wherein described data update module includes:Matched sub-block, for by the first network address and result data
In the second network address carry out canonical matching;Submodule is updated, if for the match is successful, according to the net that matches in result data
The corresponding iconic content in location, is updated to the iconic content to be updated.B17, the device according to B16, its
It is characterised by, the matched sub-block includes:First coupling subelement, for the inquiry in the result data and the first network address
The second network address for matching completely, if inquired, updating submodule carries out the renewal of iconic content.B18, according to B17
Device, it is characterised in that if inquiry less than the second network address for matching completely, the matched sub-block also includes:Second
Coupling subelement, for the second network address that the inquiry in the result data and the first network address have identical first class catalogue, if
Inquire, then updating submodule carries out the renewal of iconic content.B19, the device according to B18, it is characterised in that if looked into
Inquiry also includes less than the first class catalogue for matching, the then matched sub-block:3rd coupling subelement, in the number of results
There is the second network address of identical second level domain according to middle inquiry and the first network address, if inquired, updating submodule carries out icon
The renewal of content.B20, the device according to B19, it is characterised in that if inquiry is less than the second level domain for matching, institute
Stating matched sub-block also includes:4th coupling subelement, has identical for the inquiry in the result data with the first network address
Second network address of TLD, if inquired, updating submodule carries out the renewal of iconic content.B21, according to B16 to B20
Arbitrary described device, it is characterised in that:The iconic content included in the result data includes title and the mark for optimizing
The address of picture file.B22, the device according to B21, it is characterised in that the renewal submodule will be carried out more to described
New iconic content be updated including:By the corresponding title for optimizing of the second network address inquired in result data, correspondence
First network address is preserved.B23, the device according to B21, it is characterised in that the renewal submodule will be carried out to described
The iconic content of renewal be updated including:By the corresponding mark picture file of the second network address inquired in result data
Md5 values, are compared with md5 values of first network address in the local mark picture file for preserving;If it is different, then by second
The corresponding mark picture of network address is locally downloading, and the first network address of correspondence is preserved;If identical, mark picture is not carried out
Renewal.B24, the device according to B16, it is characterised in that the website acquisition module includes:Calculating sub module, is used for
N number of network address that most frequentation is asked is calculated, N is natural number;Comparison sub-module, for N number of network address for asking the most frequentation with it is newest
Most normal access list in network address be compared, determine the network address different from the most normal access list, and by the network address
As corresponding first network address of iconic content for needing to update.B25, the device according to B16 or B24, it is characterised in that also
Including:Data maintenance module, it is newest most normal for corresponding first network address of the iconic content to be updated to be put into
In access list;If the network address number in the most normal access list is more than N, the network address not accessed at most is deleted, N is certainly
So count.B26, the device according to B16, it is characterised in that domain name extraction module includes:Computations submodule, uses
In described top or higher level's domain name and local key are carried out into md5 computations, md5 values are obtained;Sending submodule, for by institute
State md5 values and be sent to cloud server as parameter, to obtain the result data matched with described top or higher level's domain name.
B27, the device according to B16, it is characterised in that also include:First webpage acquisition module, for according to first network address
Obtain corresponding web page contents;First display module, for the web page contents to be included in the iconic content.B28, root
According to the device described in B27, it is characterised in that:The web page contents include the link in webpage, and the link is according to local clear
Device historical record of looking at is selected from web page contents.B29, the device according to B16, it is characterised in that also include:Second webpage
Acquisition module, for obtaining corresponding web page contents according to first network address;Second display module, for will be with the webpage
The associated content of content is displayed in the iconic content.B30, the device according to B29, it is characterised in that the net
Page content is the title of webpage, then also include:Title sending module, for the web page title to be sent to into service end;Link
Acquisition module, for obtaining and linking that the web page title is associated from service end, and the link is included in the icon
In content.