Summary of the invention
Technical problems to be solved in this application are to provide a kind of generation method and apparatus of website navigation page, solve the inaccurate problem in the user the most normal website of access.
In order to solve the problem, this application discloses a kind of generation method of website navigation page, it is characterized in that, comprising:
Data acquisition step, the network address obtaining user browses record;
Statistic procedure, according to described record, adds up the access frequency of each network address;
Ordered steps, each network address sorts to the access frequency of each network address by the user according to described statistics;
The forward multiple network address of sequence are put into assigned address and are shown by network address step display.
Preferably, described frequency is: be certain value for its frequency of all Visitor Logs to a network address of user within a period of time.
Preferably, also comprise after described data acquisition step:
Network address merger step, by described record with the network address of merger network address name simple correlation, will merger be carried out according to merger network address list.
Preferably, the statistic procedure after described network address merger step specifically comprises: the access frequency of the network address after merger and the network address not in merger network address list added up.
Preferably, also comprise after described statistic procedure:
Merger network address list step of updating, when the access frequency of a network address is greater than threshold value, adds merger network address list by this network address.
Preferably, also comprised before described network address step display:
Steps A 1, according to described record, to the access times of each network address, and/or access mode is added up;
Steps A 2, sorts to described multiple network address according to the respective access times of multiple network address of described statistics and/or access mode.
Preferably, described network address step display specifically comprises:
Multiple network address forward for sequence are put into respectively multiple positions of Shipping Options Page by putting in order.
Preferably, also comprise after described ordered steps:
Network address delete step: the network address belonging to blacklist in ordering network address is deleted according to blacklist.
Preferably, also comprise blacklist removal step: for user arrange blacklist in network address, when within a period of time user threshold value is greater than to the access frequency of a network address, then it is deleted from blacklist.
Accordingly, disclosed herein as well is a kind of generating apparatus of website navigation page, it is characterized in that, comprising:
Data acquisition module, browses record for the network address obtaining user;
Statistical module, for according to described record, adds up the access frequency of each network address;
Order module, sorts each network address network address to the access frequency of each network address for the user according to described statistics;
Network address display module, shows for the forward multiple network address of sequence are put into assigned address.
Preferably, also comprise after described data acquisition module:
Network address merge module, by described record with the network address network address of merger network address name simple correlation, will merger be carried out according to merger network address list.
Preferably, the statistical module after described network address merge module is used for the access frequency of the network address after merger and the network address not in merger network address list to add up.
Preferably, also comprise after described statistical module:
Merger network address list update module, when the access frequency of a network address is greater than threshold value, adds network address merger list by this network address.
Preferably, also comprised before described network address step display:
Statistics submodule one, according to described record, adds up the access times of each network address and/or access mode;
Sorting sub-module one, sorts to described multiple network address according to the respective access times of multiple network address of described statistics and/or access mode.
Preferably, also comprise after described ordered steps:
Network address removing module: the network address belonging to blacklist in ordering network address is deleted according to blacklist.
Preferably, also comprise blacklist removal step: for user arrange blacklist in network address, when within a period of time user threshold value is greater than to the access frequency of a network address, then it is deleted from blacklist.
Compared with prior art, the application comprises following advantage:
The application is that the computing method of standard sort to the network address that user accesses by adopting according to merger network address list with access frequency, obtain the network address that the most frequentation of user is asked, the network address of the multiple network address representative that then rank is forward is put into assigned address and is shown, can more objective, more accurately, more fully provide user the network address that most frequentation is asked to user.
Embodiment
For enabling above-mentioned purpose, the feature and advantage of the application more become apparent, below in conjunction with the drawings and specific embodiments, the application is described in further detail.
With reference to Fig. 1, show the schematic flow sheet of the first embodiment of the generation method of a kind of website navigation page of the application, described method comprises:
Data acquisition step 50, the network address obtaining user browses record;
When after user's open any browser, the network address of the user that the application can obtain inside browsing history browses record, then calculates the network address that the most frequentation of user is asked.Generally the number of preset calculating is more than the display number of assigned address.The record of browsing obtaining first 10 days after such as user's open any browser every day from browsing history calculates 30 network address that most frequentation asks, forward 9 of assigned address acquiescence display rank.
Such as generally all historical records all leave in User Catalog, as under win7 C: Users user name AppData Roaming 360se data history.dat, exist with the form in self-defining data storehouse.
Statistic procedure 60, according to described record, adds up the access frequency of each network address.
Wherein this step also comprises, steps A 1, and according to described record, to the access times of each network address, and/or access mode is added up.
Browse record for the aforementioned network address obtained, the access frequency of each network address is added up.Wherein, described frequency is: be certain value for its frequency of all Visitor Logs to a network address of user within a period of time.Such as described frequency is: when within a period of time, user has access to a network address, then recording frequency is 1; When user in a period of time is to a network address no access, then recording frequency is 0.Again such as in units of sky, no matter to a network address access how many times in one day, all 1 is recorded as to the frequency of the network address record after its merger, if do not access the address correlation of this network address the same day, all 0 is recorded as to the frequency of the network address record after its merger.Certainly, also can 12 hours, within 6 hours, waiting as unit is to frequency being carried out to similar statistics, only needing this time period to cross over certain limit.
The access times of network address, access mode etc. can also be added up.
Ordered steps 70, each network address sorts to the access frequency of each network address by the user according to described statistics.
Wherein, this step also comprises steps A 2, sorts to described multiple network address according to the respective access times of multiple network address of described statistics and/or access mode.
Wherein, when the access frequency of multiple network address is identical, also can carry out minor sort again by access times and/or the access mode network address identical to this multiple frequency.Wherein the priority compared can be set between access times and access mode, whom set preferentially as the keyword of sequence.If such as A network address is identical with the access frequency of B network address, but the access times of A network address are greater than the access times of B network address, before so A network address just comes B network address; If A network address is also identical with access times with the access frequency of B network address, then by access mode, A network address and B network address are sorted again, wherein, also a priority can be arranged to various access mode, the access times such as directly inputting network address compare at first, are still compared by collection access times more side by side by this more multiple network address.
The forward multiple network address of sequence are put into assigned address and are shown by network address step display 80.
Preferably, multiple network address forward for sequence are put into respectively multiple positions of Shipping Options Page by putting in order.Such as, using the blank page newly opened as Shipping Options Page, then just this Shipping Options Page is divided into nine lattice (i.e. nine positions), and every lattice can put into the most normal network address of user's access.When after the sequence being obtained each network address by abovementioned steps, nine forward network address of sequence can be got and put into this nine lattice display position.Wherein, the order sorting nine network address forward and place can be preset, such as from the first row above, from upper left to the placement of bottom right order, or from the first row of the left side, place from top to bottom, or order is compiled and edited to these nine grid, places by sequence size.Wherein, can the roughly situation of this network address of preview when displaying, the catalogue of the subnet location of this major network location that the forward major network location of sequence and user were accessed by the mode that also can be represented by catalogue is put into assigned address and is shown.
Or, in certain start page, add a tab bar, the forward network address of sequence shown in this tab bar in order.
In addition, also comprise after described ordered steps 70:
Network address delete step: the network address belonging to blacklist in ordering network address is deleted according to blacklist.Generally, if user by certain network address from display page delete after, the network address of this network address is just added blacklist by engine, obtain the most frequentation of user again ask among the sequence of the list of network address follow-up, in the event of this network address, then this network address deleted among sequence, the network address after the sequence of this network address is order one in advance then.
Also comprise blacklist removal step: for user arrange blacklist in network address, when within a period of time user threshold value is greater than to the access frequency of a network address, then it is deleted from blacklist.
For the network address in blacklist, if the network address of user within certain a period of time in (in such as 10 days) this blacklist of frequent visit, then engine judges it, when within a period of time user threshold value is greater than to the access frequency of this network address, then it is deleted from blacklist, if its rank is forward, and meets the requirements, assigned address can be put it into and show.
As following table one: be 7 days network address Visitor Logs for example, the present embodiment is described.
|
First day |
Second day |
3rd day |
4th day |
5th day |
6th day |
7th day |
A website |
1 time |
1 time |
1 time |
1 time |
1 time |
1 time |
1 time |
B website |
4 times |
4 times |
|
|
4 times |
4 times |
4 times |
C website |
2 times |
2 times |
2 times |
|
|
|
|
D website |
|
|
|
|
100 times |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Table one
Current have 4 network address A, B, C, D,
A network address is only accessed once one week interior every day in the past, all accesses in one week at that time
Have in 5 days in B network address in the past one week and accessed, access 4 every day
Have in 3 days in C network address in the past one week and accessed, access 2 every day
D network address only has within one day, accessed in the past one week, have accessed 100 times
Think that the frequency that user accesses is that standard calculates, suppose that user accessed once every day, namely remember that one gives corresponding network address
Each network address is to there being a F value (frequency)
Do to add up to the access times of each network address again and draw C value (count)
The F of A network address is 1+1+1+1+1+1+1=7 F=7
The F of B network address is 1+1+1+0+1+1+1=5 F=5
The F of C network address is 1+1+1+0+0+0+0=3 F=3
The F of D network address is 0+0+0+0+1+0+0=1 F=1
So last rank is A B C D.
Last multiplely put into assigned address by forward for sequence again.
With reference to Fig. 2, be the schematic flow sheet of the second embodiment of the generation method of a kind of website navigation page of the application, described method comprises:
Data acquisition step 110, the network address obtaining user browses record;
Network address merger step 120, by described record with the network address of merger network address name simple correlation, will merger be carried out according to merger network address list.
After the network address getting user browses record, for in described record with the network address of merger network address name simple correlation, according to merger network address list, under the network address that the record described network address being browsed in record subordinate's network address of the same network address belonged in merger network address list is integrated in affiliated merger network address list.
Such as in order to prevent the situation avoiding weibo.com and weibo.com/atme to add up respectively, weibo.com/atme being integrated in weibo.com and adding up.Adopt the mechanism of merger network address list: be integrated into by weibo.com/atme in weibo.com, namely when user accesses weibo.com/atme, current system is contributed in weibo.com, the list of network address list is with browser installation file Auto-mounting to user's the machine, and listing file can upgrade at any time along with browser upgrading.
Described merger network address list by thinking setting, also can be arranged by intelligent learning.Such as, for a well-known door network address, such as Netease, can be rule of thumb, directly the network address of the network address of Netease's homepage and Netease's news is all put into merger network address list, if directly access Netease's news network address and its sublink, instead of pass through the connected reference Netease news network address of Netease's homepage network address, under then these Visitor Logs being integrated into Netease's news network address, if not the access of direct Netease news network address and its sublink, then be integrated into the access of Netease's homepage, other situations can be processed by similar principle.Or, when the access frequency of certain network address is very high, then added merger network address list, such as, the network address starting most the relevant Netease contained in merger network address list only has Netease's homepage network address, all Visitor Logs relevant to Netease all can be integrated into Netease's homepage network address, but the frequency of directly accessing Netease's news network address as certain user is far longer than the frequency of accessing Netease's homepage, then Netease's news is added merger network address list by intelligent learning by engine, and the record that thing directly accesses Netease's news is all integrated into below Netease's news network address.
Statistic procedure 130, adds up the access frequency of the network address after merger and the network address not in merger network address list.
Browsing record for the network address after the aforementioned merger obtained, user is added up the access frequency of the network address after described merger, for being the network address in merger network address list, directly its access frequency being added up.Wherein, described frequency is: when within a period of time, user has access to a network address, then recording frequency is 1; When user in a period of time is to a network address no access, then recording frequency is 0.Such as in units of sky, no matter to a network address access how many times in one day, all 1 is recorded as to the frequency of the network address record after its merger, if do not access the address correlation of this network address the same day, all 0 is recorded as to the frequency of the network address record after its merger.Certainly, also can 12 hours, within 6 hours, waiting as unit is to frequency being carried out to similar statistics, only needing this time period to cross over certain limit.
Ordered steps 140, each network address sorts to the access frequency of each network address by the user according to described statistics.
After abovementioned steps obtains the frequency of each network address, each network address can be sorted to the access frequency of each network address according to the user of described statistics.
Wherein, when the access frequency of multiple network address is identical, also can carry out minor sort again by access times and/or the access mode network address identical to this multiple frequency.Wherein the priority compared can be set between access times and access mode, whom set preferentially as the keyword of sequence.If such as A network address is identical with the access frequency of B network address, but the access times of A network address are greater than the access times of B network address, before so A network address just comes B network address; If A network address is also identical with access times with the access frequency of B network address, then by access mode, A network address and B network address are sorted again, wherein, also a priority can be arranged to various access mode, the access times such as directly inputting network address compare at first, are still compared by collection access times more side by side by this more multiple network address.
The forward multiple network address of sequence are put into assigned address and are shown by network address step display 150.
In addition, also comprise after described ordered steps 140:
Network address delete step: the network address belonging to blacklist in ordering network address is deleted according to blacklist.
Also comprise blacklist removal step: for user arrange blacklist in network address, when within a period of time user threshold value is greater than to the access frequency of a network address, then it is deleted from blacklist.
If table two browses with the network address of 7 days to be recorded as example, the present embodiment is described.
|
First day |
Second day |
3rd day |
4th day |
5th day |
6th day |
7th day |
A website |
1 time |
1 time |
1 time |
1 time |
1 time |
1 time |
1 time |
B website |
4 times |
4 times |
|
|
4 times |
4 times |
4 times |
C website |
|
|
2 times |
2 times |
|
|
|
C1 website |
2 times |
2 times |
|
|
|
|
|
D website |
|
|
|
|
100 times |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Table two
Current have 4 network address A, B, C, C1, D (wherein C1 is the subnet location of C)
A network address is only accessed once one week interior every day in the past, all accesses in one week at that time;
Have in 5 days in B network address in the past one week and accessed, access 4 every day;
Have in 2 days in C network address in the past one week and accessed, access 2 every day;
C1 network address is the subnet location of C network address, has in 2 days and accesses, access 2 every day in the past one week;
D network address only has within one day, accessed in the past one week, have accessed 100 times;
Have in merger network address list: network address A, network address B, network address C, network address D.
So the record of C1 network address just needs to be integrated under the record of network address C, then have in C network address in the past one week to have in 4 days to access, and accesses 4 every day.
Think that the frequency that user accesses is that standard calculates, suppose that user accessed once every day, namely remember that one gives corresponding network address:
Each network address is to having a frequency and F value (frequency)
The F of A network address is 1+1+1+1+1+1+1=7 F=7
The F of B network address is 1+1+0+0+1+1+1=5 F=5
The F of C network address is 1+1+1+1+0+0+0=5 F=4
The F of D network address is 0+0+0+0+1+0+0=1 F=1
Although D network address have accessed in one week 100 times and A network address only have accessed 7 times in one week
So last rank is A B C D, then assigned address of putting into forward for rank is shown.
If table three is when occurring that network address access frequency is identical, the example sorted by the network address of network address access times to same frequency.
|
First day |
Second day |
3rd day |
4th day |
5th day |
6th day |
7th day |
A website |
1 time |
1 time |
1 time |
1 time |
1 time |
1 time |
1 time |
B website |
4 times |
4 times |
|
|
4 times |
4 times |
4 times |
C website |
|
|
2 times |
2 times |
2 times |
|
|
C1 website |
2 times |
2 times |
|
|
|
|
|
D website |
|
|
|
|
100 times |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Table three
Current have 4 network address A, B, C, C1, D (wherein C1 is the subnet location of C)
A network address is only accessed once one week interior every day in the past, all accesses in one week at that time;
Have in 5 days in B network address in the past one week and accessed, access 4 every day;
Have in 2 days in C network address in the past one week and accessed, access 2 every day;
C1 network address is the subnet location of C network address, has in 2 days and accesses, access 2 every day in the past one week;
D network address only has within one day, accessed in the past one week, have accessed 100 times;
Have in merger network address list: network address A, network address B, network address C, network address D.
So the record of C1 network address just needs to be integrated under the record of network address C, then have in C network address in the past one week to have in 4 days to access, and accesses 4 every day.
Think that the frequency that user accesses is that standard calculates, suppose that user accessed once every day, namely remember that one gives corresponding network address:
Do to add up to the access times of each network address again and draw C value (count)
The F of A network address is the C of 1+1+1+1+1+1+1=7 F=7 A network address is 1+1+1+1+1+1+1=7 C=7
The F of B network address is the C of 1+1+0+0+1+1+1=5 F=5 B network address is 4+4+0+0+4+4+4=5 C=20
The F of C network address is the C of 1+1+1+1+1+0+0=5 F=5 C network address is 2+2+0+0+2+2+2=5 C=10
The F of D network address is the C of 0+0+0+0+1+0+0=1 F=0 D network address is 0+0+0+0+100+0+0=1 C=100
Although D network address have accessed in one week 100 times and A network address only have accessed 7 times in one week, because the F value of A is greater than B, C and D, now the F value of B network address is identical with the F value of C network address, but the C value of B network address is greater than C network address, and so last rank is still A B C D.
Wherein, when the access frequency of multiple network address is identical, if with the sequencing selection that access times are preferential, be that Secondary ordination is selected with access mode, so when user's access frequency of multiple network address is identical with access times, the multiple network address access mode separately according to described statistics sorts to described multiple network address.Wherein said sortord such as comprises address field and directly inputs, and collection mode is accessed, and clicks the mode opened from page link.Such as when user's access frequency of multiple network address is identical with access times, the statistics of the mode that can first directly input by address field sorts, the statistics of the mode also can accessed by collection mode sorts, and the statistics also can clicking by page link the mode opened sorts.In addition, such as when user's access frequency of multiple network address, access times are identical with the number of times of the mode that address field directly inputs, can sort with the statistics of the mode of accessing by collection mode again.Other situations can principle be analogized and carry out sequencer procedure according to this.This wherein, also can priority be set between various access mode, the access times sequence of the mode such as directly inputted with first address field, if also have identical, sort with collection mode access times again, if also have identical, then from page link clicks the mode opened send out access times sort.
With reference to Fig. 3, be the structural representation of the first embodiment of the generating apparatus of a kind of website navigation page of the application, comprise:
Data acquisition module 310, browses record for the network address obtaining user;
Statistical module 320, for according to described record, adds up the access frequency of each network address;
Order module 330, sorts each network address to the access frequency of each network address for the user according to described statistics;
Network address display module 340, shows for the forward multiple network address of sequence are put into assigned address.
Wherein, also comprised before described network address step display:
Statistics submodule one, according to described record, adds up the access times of each network address and/or access mode;
Sorting sub-module one, sorts to described multiple network address according to the respective access times of multiple network address of described statistics and/or access mode.
Also comprise after described ordered steps:
Network address removing module: the network address belonging to blacklist in ordering network address is deleted according to blacklist.
Also comprise blacklist removal step: for user arrange blacklist in network address, when within a period of time user threshold value is greater than to the access frequency of a network address, then it is deleted from blacklist.
With reference to Fig. 4, it is the structural representation of the second embodiment of the generating apparatus of a kind of website navigation page of the application
Data acquisition module 410, browses record for the network address obtaining user;
Network address merge module 420, by described record with the network address of merger network address name simple correlation, will merger be carried out according to merger network address list;
Statistical module 430, for adding up the access frequency of the network address after merger and the network address not in merger network address list;
Order module 440, sorts each network address to the access frequency of each network address for the user according to described statistics;
Network address display module 450, shows for the forward multiple network address of sequence are put into assigned address.
Wherein, also comprised before described network address step display:
Statistics submodule one, according to described record, adds up the access times of each network address and/or access mode;
Sorting sub-module one, sorts to described multiple network address according to the respective access times of multiple network address of described statistics and/or access mode.
Wherein, also comprise after described statistical module:
Merger network address list update module, when the access frequency of a network address is greater than threshold value, adds network address merger list by this network address.
Wherein, also comprise after described ordered steps:
Network address removing module: the network address belonging to blacklist in ordering network address is deleted according to blacklist.
Also comprise blacklist removal step: for user arrange blacklist in network address, when within a period of time user threshold value is greater than to the access frequency of a network address, then it is deleted from blacklist.
For system embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually see.
Above to the generation method and apparatus of a kind of website navigation page that the application provides, be described in detail, apply specific case herein to set forth the principle of the application and embodiment, the explanation of above embodiment is just for helping method and the core concept thereof of understanding the application; Meanwhile, for one of ordinary skill in the art, according to the thought of the application, all will change in specific embodiments and applications, in sum, this description should not be construed as the restriction to the application.