Disclosure of Invention
In view of the above, the present invention has been made to provide a method, browser, server and system adapted to recommend a web address that overcome or at least partially solve the above problems.
According to an aspect of the present invention, there is provided a method for recommending a website, comprising:
receiving an instruction for starting a browser start page, and acquiring an operation record of a user on a website through the browser;
when the non-operation time of the user on any website is greater than or equal to a threshold value, sending a command for rearranging a classified recommendation list to which the website belongs to a server;
receiving a rearranged website recommendation list sent by a server;
and updating the website recommendation position of the starting page of the browser according to the rearranged website recommendation list and a locally stored user access list, wherein the user access list comprises websites with access times larger than the preset times.
Optionally, the method further comprises:
when the browser is used for the first time or operation records of the website are emptied, a default website recommendation list is obtained in an installation package of the browser;
and displaying the recommended websites on the start page of the browser according to the default website recommendation list.
Optionally, the method further comprises:
when the browser is used for the first time or the operation record of the website is emptied, sending a request for acquiring a default website recommendation list to a server;
and receiving a default website recommendation list returned by the server.
Optionally, before obtaining the operation record of the user on the website through the browser, the method further includes:
and detecting whether an operation record of the user on the website exists or not.
Optionally, the method further comprises:
and when no operation record of the user on the website exists, displaying the recommended website on a start page of the browser according to a default website recommendation list.
Optionally, the sending, to the server, an instruction to reorder the recommendation list of the category to which the website belongs includes:
confirming whether the website is locked;
and when the website is not locked, sending an instruction for rearranging the classified recommendation list to which the website belongs to the server.
Optionally, the website in the locked state is kept unchanged at the original webpage recommendation position before being unlocked;
the user makes the website enter a locking state through editing, adding or dragging the website.
Optionally, updating the website recommendation bit of the start page of the browser according to the rearranged website recommendation list and the locally stored user access list, including:
according to the website recommendation list, removing the websites from the website recommendation positions in the start page, and sequentially moving forward subsequent websites of the websites to enable the last website recommendation position in the start page to be a blank position;
and acquiring a locally stored user access list, and adding a new website in a blank position according to the user access list.
Optionally, adding a new website in a blank bit according to the user access list includes:
sequencing the website types of the user access list;
starting from the website type with the highest ranking, sequentially judging whether the websites under each website type exist in the website recommendation position or not, or sequentially judging whether the number of the websites under the website type existing in the website recommendation position is smaller than the preset number or not;
when the websites of the webpage type do not exist in the website recommendation position or the number of the websites of the webpage type existing in the website recommendation position is smaller than the preset number, sending a request for acquiring the first website of the type lower ranking to a server;
receiving a first website of the type lower rank returned by the server;
and adding the website with the first rank into the blank position for displaying.
Optionally, the websites existing in the pre-established blacklist are not shown in the website recommendation position;
and when the user actively adds the website, the website is removed from the blacklist.
Optionally, the method further comprises:
and when the websites of each website type in the user access list exist in the website recommendation position, or the number of the websites of each type existing in the website recommendation position is not less than the preset number, randomly acquiring a website from the service, and adding the website into the blank position for displaying.
Optionally, the method further comprises:
acquiring the website type of a recommended website selected by a user and/or a keyword selected by the user, and sending the website type and/or the keyword selected by the user to a server;
and receiving the website corresponding to the website type and/or the keyword selected by the user and returned by the server, and displaying the website in the recommendation position of the start page.
Optionally, after receiving the website type of the recommended website selected by the user and/or the keyword selected by the user, the method further includes:
and saving the website type and the keywords of the recommended website selected by the user.
Optionally, the method further comprises:
and marking and collecting recommended websites displayed on the starting page of the browser, so that subsequent reading is facilitated.
Optionally, the presentation mode of the recommended website includes any one of the following:
displaying through a squared figure; or,
classifying according to the webpage types, and displaying on a starting page of the browser according to the sequence; or,
classifying according to keywords input by a user, and displaying recommended websites matched with the keywords under classification; or,
and displaying the recommended website according to the use habit of the user on the browser.
Optionally, the website recommendation list at least includes:
the method comprises the following steps of website, the sequencing of the websites, the website classification to which the websites belong and logo corresponding to the websites.
According to an aspect of the present invention, there is provided another method for recommending a website, including:
receiving a command for rearranging a classified recommendation list to which the website belongs, which is sent by a browser;
rearranging the classified recommendation list to which the website belongs;
and sending the rearranged website recommendation list to the browser so that the browser updates the website recommendation bit of the starting page of the browser according to the rearranged and updated website recommendation list and the stored user access list.
Optionally, the method further comprises:
when a browser client uses for the first time or operation records of the website are emptied, receiving an instruction for acquiring a default website recommendation list sent by a browser;
and sending a default website recommendation list to the browser.
Optionally, the rearranging the recommendation list of the category to which the website belongs includes:
and arranging the website to the tail of the classified webpage recommendation list to which the website belongs.
Optionally, the method further comprises:
receiving a request for acquiring a first website ranked in a specified type, which is sent by a browser;
searching and sending the first ranked website of the specified type to the browser.
Optionally, the method further comprises:
receiving a website type of a recommended website selected by a user and/or a keyword selected by the user, which are sent by a browser;
and searching the website matched with the website type and/or the keyword, and sending the website to the browser.
Optionally, the method further comprises:
receiving a website type of a recommended website selected by a user and/or a keyword selected by the user, which are sent by a browser;
and searching the website matched with the website type and/or the keyword, and sending the searched website to a browser appointed by the user.
According to an aspect of the present invention, there is also provided a browser for recommending websites, including:
the instruction receiving module is configured to receive an instruction for starting a browser starting page;
the record acquisition module is configured to acquire the operation record of the user on the website through the browser;
the first sending module is configured to send an instruction for rearranging the classified recommendation list to which the website belongs to the server when the non-operation time of the user on any website is greater than or equal to a threshold value;
the first receiving module is configured to receive the rearranged website recommendation list sent by the server;
and the display module is configured to update the website recommendation position of the start page of the browser according to the rearranged website recommendation list and a locally stored user access list, wherein the user access list comprises websites with access times larger than the preset times.
Optionally, the browser further comprises:
the list acquisition module is configured to acquire a default website recommendation list from an installation package of the browser when the browser is used for the first time or operation records of the website are emptied;
the display module is also configured to display the recommended websites on a start page of the browser according to the default website recommendation list.
Optionally, the browser further comprises:
the second sending module is configured to send a request for acquiring a default website recommendation list to the server when the browser is used for the first time or the operation record of the website is emptied;
and the second receiving module is configured to receive the default website recommendation list returned by the server.
Optionally, the browser further comprises:
and the detection module is configured to detect whether the operation record of the user on the website exists before the record acquisition module acquires the operation record of the user on the website through the browser.
Optionally, the display module is further configured to display the recommended website on a start page of the browser according to a default website recommendation list when the detection module detects that no operation record of the user on the website exists.
Optionally, the first sending module is further configured to send an instruction to reorder the categorized recommendation list to which the website belongs to the server according to the following manner:
confirming whether the website is locked;
and when the website is not locked, sending an instruction for rearranging the classified recommendation list to which the website belongs to the server.
Optionally, the website in the locked state is kept unchanged at the original webpage recommendation position before being unlocked;
the user makes the website enter a locking state through editing, adding or dragging the website.
Optionally, the display module comprises:
the recommendation position adjusting unit is configured to remove the websites from the website recommendation positions in the start page according to the website recommendation list, and move forward the subsequent websites of the websites in sequence to make the last website recommendation position in the start page be a blank position;
and the website adding unit is configured to acquire a locally stored user access list and add a new website at a blank position according to the user access list.
Optionally, the website adding unit is further configured to add a new website at the blank position according to the user access list as follows:
sequencing the website types of the user access list;
starting from the website type with the highest ranking, sequentially judging whether the websites under each website type exist in the website recommendation position or not, or sequentially judging whether the number of the websites under each website type exist in the website recommendation position is smaller than the preset number or not;
when the websites of the webpage type do not exist in the website recommendation position or the number of the websites of the webpage type existing in the website recommendation position is smaller than the preset number, sending a request for acquiring the first website of the type lower ranking to a server;
receiving a first website of the type lower rank returned by the server;
and adding the website with the first rank into the blank position for displaying.
Optionally, the websites existing in the pre-established blacklist are not shown in the website recommendation position;
and when the user actively adds the website, the website is removed from the blacklist.
Optionally, the display module is further configured to randomly acquire a website from the service and add the website to the blank position for displaying when the website in each website type in the user access list exists in the website recommendation position or the number of the websites in each website type in the website recommendation position is not less than the preset number.
Optionally, the browser further comprises:
the query identifier acquisition module is configured to acquire the website type of the recommended website selected by the user and/or the keyword selected by the user;
the third sending module is configured to send the website type and/or the keywords selected by the user to the server;
the third receiving module is configured to receive the website which is returned by the server and corresponds to the website type and/or the keyword selected by the user;
the display module is also configured to display the website received by the third receiving module in the recommendation position of the start page.
Optionally, the browser further comprises:
and the storage module is configured to store the website type and the keywords of the recommended website selected by the user.
Optionally, the browser further comprises:
and the collection module is configured to mark and collect the recommended websites displayed on the start page of the browser, so that subsequent reading is facilitated.
Optionally, the presentation mode of the recommended website includes any one of the following:
displaying through a squared figure; or,
classifying according to the webpage types, and displaying on a starting page of the browser according to the sequence; or,
classifying according to keywords input by a user, and displaying recommended websites matched with the keywords under classification; or,
and displaying the recommended website according to the use habit of the user on the browser.
According to an aspect of the present invention, there is also provided a server for recommending websites, including:
the first receiving module is configured to receive an instruction for rearranging the classified recommendation list to which the website belongs, which is sent by the browser;
the website classification adjusting module is configured to rearrange a classified recommendation list to which the website belongs;
and the first sending module is configured to send the rearranged website recommendation list to the browser, so that the browser updates the website recommendation bit of the start page of the browser according to the rearranged and updated website recommendation list and the stored user access list.
Optionally, the server further comprises:
the second receiving module is configured to receive an instruction for acquiring a default website recommendation list, which is sent by the browser, when the browser client uses the website for the first time or operation records of the website are emptied;
and the second sending module is configured to send the default website recommendation list to the browser.
Optionally, the website classification adjusting module is further configured to rank the website to the end of the recommended list of classified webpages to which the website belongs.
Optionally, the server further comprises:
the third receiving module is configured to receive a request for acquiring a first lower-ranking website of a specified type, which is sent by a browser;
and the third sending module is configured to search and send the first website ranked below the specified type to the browser.
Optionally, the server further comprises:
the fourth receiving module is configured to receive the website type of the recommended website selected by the user and/or the keyword selected by the user, which are sent by the browser;
and the fourth sending module is configured to search the website matched with the website type and/or the keyword and send the website to the browser.
Optionally, the server further comprises:
the fifth receiving module is configured to receive the website type of the recommended website selected by the user and/or the keyword selected by the user, which are sent by the browser;
and the fifth sending module is configured to search the website matched with the website type and/or the keyword, and send the searched website to the browser specified by the user.
According to an aspect of the present invention, there is also provided a system for recommending a website, including the browser and the server.
The invention provides a method, a browser, a server and a system for recommending a website. According to the method and the device, the browser can count the operation records of the user on the websites, if the non-operation event of the user on a certain website is greater than or equal to the threshold value, the command of rearranging the recommendation list is sent to the server, the websites in the recommendation position in the initial page of the browser are rearranged according to the website recommendation list returned by the server and the locally stored user access list, and the website access behaviors of the user on the websites are involved, so that personalized and intelligent hot website recommendation can be realized, the user viscosity is enhanced, and the user requirements are met.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
The above and other objects, advantages and features of the present invention will become more apparent to those skilled in the art from the following detailed description of specific embodiments thereof, taken in conjunction with the accompanying drawings.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Example one
The embodiment of the invention provides a method for recommending a website, wherein the method can be realized by improving a client browser.
Fig. 1 is a flowchart of a method for recommending a website according to an embodiment of the present invention, which includes steps S102 to S108.
S102, receiving an instruction of starting a browser start page, and acquiring an operation record of a user on a website through the browser;
and S104, when the non-operation time of the user to any website is greater than or equal to the threshold value, sending a command for rearranging the classified recommendation list to which the website belongs to the server.
And S106, receiving the rearranged website recommendation list sent by the server.
And S108, updating the website recommendation position of the starting page of the browser according to the rearranged website recommendation list and the locally stored user access list. The user access list comprises websites with the access times larger than the preset times.
The embodiment of the invention also provides another method for recommending the website, wherein the method can be realized by improving the server.
Fig. 2 is a flowchart of another method for recommending a website according to an embodiment of the present invention, which includes steps S202 to S206.
S202, receiving a command of rearranging the classified recommendation list to which the website belongs, sent by the browser.
S204, the classified recommendation list to which the website belongs is rearranged.
And S206, sending the rearranged website recommendation list to the browser so that the browser updates the website recommendation bit of the starting page of the browser according to the rearranged and updated website recommendation list and the stored user access list.
The embodiment of the invention provides a method for recommending websites, a browser can count operation records of a user on the websites through the method, if an unoperated event of the user on a certain website is greater than or equal to a threshold value, a command for rearranging a recommendation list is sent to a server, the websites in a recommendation position in an initial page of the browser are rearranged according to the website recommendation list returned by the server and a locally stored user access list, and the website access behaviors of the user on the websites are involved, so that personalized and intelligent popular website recommendation can be realized, the user viscosity is enhanced, and the user requirements are met.
Example two
As another preferred embodiment of the present invention, the present embodiment provides a method for recommending a website. The method provided by the embodiment is an improvement of the method provided by the first embodiment.
The method provided by the embodiment is realized through the interaction of the browser and the server. It should be noted that the method provided by this embodiment is started after receiving an instruction from a user to start a browser start page, and finally the user is presented with a start page with a recommended website by the method of this embodiment. In this embodiment, the manner for the user to issue the instruction to start the browser start page includes two manners, one is that the user starts the browser for the first time after the terminal device (e.g., computer) starts up for the second time to issue the instruction to start the browser start page, and the second is that the user has started up the browser and issues the instruction to start the browser start page by clicking a button of a new tab page provided by the browser.
Fig. 3 is a flowchart illustrating a specific method for recommending a website according to an embodiment of the present invention, which includes steps S301 to S308.
Step S301 is performed by the browser after receiving an instruction from the user to start the browser start page. In step S301, it is detected whether there is an operation record of the web address by the user through the browser. When not present, step S302 is performed, and when present, step S303 is performed.
The conditions that no operation record of the user on the website exists in step 301 include two types:
the first method is that when the browser is used for the first time, namely when the browser is used for the first time after being installed, no operation record of a user on a website exists;
secondly, after the user clears the operation record of the user in the browser, the operation record of the user on the website does not exist.
In this embodiment, if the browser start page shows the recommended website to the user in the manner of a nine-square grid, it is detected whether an operation record of the user on the website in the nine-square grid exists.
It should be noted that the "squared figure" in this embodiment is a presentation manner for a recommended web page in a start page of a browser, and specifically may be:
and displaying nine recommendation bits in a 3-by-3 style in a blank of the starting page, wherein the recommendation bits can be logos of the websites and are attached with corresponding website hyperlink, and when a user clicks the logos displayed in the recommendation bits, optionally opening the websites in a new window or a current window.
It should be noted that the "nine-square grid" merely represents a presentation manner of one recommendation site, and does not limit that the recommendation sites are necessarily nine sites in total "3 × 3", 16 sites in total "4 × 4", 12 sites in total "4 × 3", and so on.
Optionally, in this embodiment, the indication to start the browser start page is a cold start command issued by the user, that is, the start is directly performed by a shortcut of the browser, and is not performed by other third-party programs, for example, the start is not performed by clicking a hyperlink, because the browser directly opens a page corresponding to the hyperlink and does not display the start page.
Next, the operation procedures of step S302 and step S303 are specifically described.
S302, a default website recommendation list is obtained, and the recommended websites are displayed on the start page of the browser.
The websites included in the default website recommendation list in this embodiment are fixed, and the websites are preset, so that when there is no operation record of the user on the websites and a recommended website suitable for the user cannot be obtained according to user behavior analysis, the recommended website is displayed in the start page.
Optionally, when the default website recommendation list is obtained in step S302, at least two ways are included:
the first mode is as follows: and acquiring a default website recommendation list in an installation package of the browser.
And when a user installs the browser through the installation package, directly placing the default website recommendation list into the browser.
Optionally, the content of the default website recommendation list in the installation package may include a website URL (Uniform Resource Locator), a website name corresponding to the website URL, a website logo (micro-label) map corresponding to the website URL, and a category field to which the website belongs, such as a shopping website, a game website, an information website, and the like.
The second mode is as follows: and sending a request for acquiring a default website recommendation list to the server, and returning the default website recommendation list to the browser by the server when the server receives an instruction for acquiring the default website recommendation list, wherein at the moment, the browser side acquires the default website recommendation list. The default website recommendation list is generated or stored by the server in advance. Optionally, the content of the default website recommendation list in the server may include a website URL, a website name corresponding to the website URL, a website logo diagram corresponding to the website URL, a category field to which the website belongs, and the like.
In this embodiment, when it is detected in step 301 that there is an operation record of the user on the website, step S303 is executed, that is, the operation record of the user on the website through the browser is obtained, and it is determined whether the time during which the user does not operate any website is greater than or equal to the threshold, and when the time during which the user does not operate any website is greater than or equal to the threshold, the content of the recommended website displayed in the start page of the browser is not changed; when the non-operation time of the user on any one network address is greater than or equal to the threshold value, step S304 is executed.
The threshold in this embodiment may be any time length, for example, may be 7 consecutive active days, where the active day refers to a day when the user starts the browser, that is, the day is called an active day.
Step S304, confirming whether the website with the non-operation time being more than or equal to the threshold value is locked by the user. When the locked by the user, the website displayed in the browser start page is not changed, and when the locked website is not locked, step S305 is triggered to send an instruction to the server to re-order the recommendation list of the category to which the unlocked website belongs.
It should be noted that, in this embodiment, the web address in the browser start page displayed to the user generally includes two states: locked and unlocked;
the locked web address can be regarded as a recommended web address which is frequently used by the user and does not need to be changed, and therefore, the locked web address is always kept unchanged.
The website that is not locked can be updated according to the method provided in this embodiment, and step S305 is executed.
The user can make the website enter a locked state through editing, adding or dragging the website.
In this embodiment, the following steps of the method according to the embodiment of the present invention are specifically described with an unlocked website as one. And when a plurality of unlocked websites are available, the invention can be realized only by replacing the number of the unlocked websites in each step.
In step S305, an instruction to rearrange the recommendation list of the category to which the unlocked web address belongs is sent to the server;
after the server receives the instruction of rearranging the recommendation list of the category to which the unlocked website address belongs, which is sent by the browser, step S306 is executed. In step S306, the recommendation list of the category to which the unlocked web address belongs is rearranged.
In step S307, the server sends the rearranged website recommendation list to the browser.
It should be noted that the server mainly includes the following contents in the website recommendation list:
(1) website URLs, such as: www.taobao.com, respectively;
(2) the name of the website corresponding to the URL of the website, such as: d, panning;
(3) a website logo image corresponding to the website URL;
(4) a classification field: such as shopping web site, game web site, and information web site.
The database format of the server storage website recommendation table is shown in table 1:
TABLE 1
After receiving the rearranged website recommendation list returned by the server, the browser continues to execute step S308. In step S308, the website recommendation position of the start page of the browser is updated according to the rearranged website recommendation list and the locally stored user access list.
In this embodiment, the user access list includes websites with access times greater than a preset number, for example, websites with access times greater than 5 times, and the specific numerical value may be set according to different scenarios.
Optionally, the specific operation of step S308 may be performed through the following steps, and for this reason, fig. 4 is further provided in the embodiment of the present invention, which is a flowchart illustrating a method for updating a website recommendation bit of a start page of a browser, where the method specifically includes step S3081 to step S3087.
And S3081, removing unlocked websites from the website recommendation bits in the start page, and sequentially advancing subsequent websites of the websites to enable the last website recommendation bit in the start page to be a blank bit.
Step S3082, a user access list stored locally is obtained, and the website types of the user access list are sequenced.
For example, if the website most frequently visited by the user is pan (www.taobao.com), and the second ranked is fox video (tv. Shopping websites and video websites.
And S3083, starting from the highest-ranked website type, sequentially judging whether the websites of each website type exist in the website recommendation positions, or sequentially judging whether the number of the websites of the type existing in the website recommendation positions is less than the preset number.
When the website under the webpage type does not exist in the website recommendation position or the number of the websites under the webpage type existing in the website recommendation position is less than the preset number, executing the step S3084; and executing the step S3087 when the websites in the webpage type exist in the website recommendation positions or the number of the websites in the webpage type exist in the website recommendation positions is not less than the preset number.
Step S3084, a request for obtaining the first lower ranked website of the type is sent to the server.
And step S3085, receiving the first lower ranking website of the type returned by the server.
And step S3086, adding the first ranked website to the blank position for displaying.
It should be noted that, in the browser provided in this embodiment, a blacklist mechanism may also be included, that is, the website added to the blacklist by the user is not displayed in the recommendation position, even if the website with the first rank is not displayed.
For the websites in the blacklist, the user can actively add the websites to the recommendation bit of the start page, and the websites are deleted in the blacklist.
Step S3087, a website is randomly acquired from the service and added to the blank position for displaying.
In this embodiment, since a qualified recommended website cannot be found, a website can be randomly chosen from the website recommendation list for the user to be added to the blank position.
In this embodiment, the display mode of the website in the recommendation position includes, but is not limited to, the following modes:
(1) and displaying through a squared figure.
The nine-square grid mode may be that nine recommendation bits are displayed in a form of "3 × 3" (not necessarily 3 × 3) in a blank of the start page, the recommendation bits may be a logo of a website and are attached with corresponding website hyperlinks, and when a user clicks the logo displayed in the recommendation bits, the website is optionally opened in a new window or a current window.
(2) The web pages are classified according to the types of the web pages and are displayed on a starting page of the browser according to the sequence.
For example, the websites in the start page may be classified into categories of shopping, videos, games, and the like, and the corresponding websites are displayed in the order under each category.
(3) And classifying according to the keywords input by the user, and displaying the recommended websites matched with the keywords under classification.
For example, the user may optionally sort through categories such as: games, food, etc., and the browser is classified according to keywords included in a website of each website and displayed on a start page of the browser.
(4) And displaying the recommended website according to the use habit of the user on the browser.
Further, in this embodiment, in addition to performing web page recommendation according to the website type of the website frequently visited by the user, the following method may be adopted:
the method comprises the steps of obtaining the website type of a recommended website selected by a user and/or a keyword selected by the user, sending the website type and/or the keyword selected by the user to a server, receiving a website corresponding to the website type and/or the keyword selected by the user and returned by the server, and displaying the website in a recommendation position of a start page.
In the method, the keywords selected by the user can be combined to obtain the recommended website, so that more humanized recommendations are given to the user.
The user may also obtain the recommended web page only by selecting the website type, for example: the browser may provide the user with several types of web sites: "travel", "video", "game", "sports", if the user selects a game, the user is given a web address recommending the game category.
Correspondingly, after receiving the website type of the recommended website selected by the user and/or the keyword selected by the user, the method may further include: and saving the website type and the keywords of the recommended website selected by the user.
The storage of the keywords input by the user and the type of the recommended website may be used for classifying the display modes when the website is displayed, for example: and classifying according to the website type or the keywords.
Further, the method provided by this embodiment may further include: and marking and collecting recommended websites displayed on the starting page of the browser, so that subsequent reading is facilitated.
By marking the recommended website, the browsing state of the user can be recorded, and when the user opens the website again, the last browsed position can be directly positioned for browsing.
The embodiment of the invention provides a method for recommending websites, a browser can count operation records of a user on the websites through the method, if an unoperated event of the user on a certain website is greater than or equal to a threshold value, a command for rearranging a recommendation list is sent to a server, the websites in a recommendation position in an initial page of the browser are rearranged according to the website recommendation list returned by the server and a locally stored user access list, and the website access behaviors of the user on the websites are involved, so that personalized and intelligent popular website recommendation can be realized, the user viscosity is enhanced, and the user requirements are met.
EXAMPLE III
The present embodiment provides a browser for recommending websites, and fig. 5 is a block diagram of a browser structure for recommending websites according to an embodiment of the present invention, where the browser 500 includes:
an indication receiving module 501 configured to receive an indication of starting a start page of the browser 500;
a record obtaining module 502 configured to obtain an operation record of the user on the website through the browser 500;
a first sending module 503, configured to send, to the server, an instruction to rearrange the sorted recommendation list to which the website belongs when the time during which the user does not operate any website is greater than or equal to a threshold;
a first receiving module 504, configured to receive the rearranged website recommendation list sent by the server;
the display module 505 is configured to update the website recommendation position of the start page of the browser 500 according to the rearranged website recommendation list and a locally stored user access list, where the user access list includes websites with access times greater than a preset number of times.
Optionally, the browser 500 further includes:
a list obtaining module 506, configured to obtain a default website recommendation list in the installation package of the browser 500 when the browser 500 is used for the first time or the operation record of the website is cleared;
the display module 505 is further configured to display the recommended websites on the start page of the browser 500 according to the default website recommendation list.
Optionally, the browser 500 further includes:
a second sending module 507, configured to send a request for obtaining a default website recommendation list to the server when the browser 500 is used for the first time or the operation record of the website is emptied;
the second receiving module 508 is configured to receive a default website recommendation list returned by the server.
Optionally, the browser 500 further includes:
a detecting module 509 configured to detect whether there is an operation record of the user on the website before the record obtaining module 502 obtains the operation record of the user on the website through the browser 500.
Optionally, the display module 505 is further configured to, when the detection module 509 detects that there is no operation record of the user on the website, display the recommended website on the start page of the browser 500 according to the default website recommendation list.
Optionally, the first sending module 503 is further configured to send an instruction to reorder the categorized recommendation list to which the website belongs to the server according to the following manner:
confirming whether the website is locked;
and when the website is not locked, sending an instruction for rearranging the classified recommendation list to which the website belongs to the server.
Optionally, the website in the locked state is kept unchanged at the original webpage recommendation position before being unlocked;
the user makes the website enter a locking state through editing, adding or dragging the website.
Alternatively, fig. 6 is a structural diagram of a display module according to an embodiment of the present invention, and the display module 505 includes:
a recommendation bit adjustment unit 5051 configured to remove websites from the website recommendation bits in the start page according to the website recommendation list, and sequentially move forward subsequent websites of the websites so that the last website recommendation bit in the start page is a blank bit;
the website adding unit 5052 is configured to obtain a locally stored user access list, and add a new website in a blank bit according to the user access list.
Optionally, the website adding unit 5052 is further configured to add a new website at a blank bit according to the user access list as follows:
sequencing the website types of the user access list;
starting from the website type with the highest ranking, sequentially judging whether the websites under each website type exist in the website recommendation position or not, or sequentially judging whether the number of the websites under each website type exist in the website recommendation position is smaller than the preset number or not;
when the websites of the webpage type do not exist in the website recommendation position or the number of the websites of the webpage type existing in the website recommendation position is smaller than the preset number, sending a request for acquiring the first website of the type lower ranking to a server;
receiving a first website of the type lower rank returned by the server;
and adding the website with the first rank into the blank position for displaying.
Optionally, the websites existing in the pre-established blacklist are not shown in the website recommendation position;
and when the user actively adds the website, the website is removed from the blacklist.
Optionally, the display module 505 is further configured to randomly acquire a website from the service and add the website to the blank position for displaying when the websites of each website type in the user access list are all in the website recommendation position, or the number of the websites of each website type in the website recommendation position is not less than the preset number.
Optionally, the browser 500 further includes:
a query identifier obtaining module 510 configured to obtain a website type of a recommended website selected by a user and/or a keyword selected by the user;
a third sending module 511, configured to send the website type and/or the keyword selected by the user to the server;
a third receiving module 512, configured to receive a website address corresponding to the website address type and/or the keyword selected by the user, returned by the server;
the display module 505 is further configured to display the website received by the third receiving module 512 in the recommendation bit of the start page.
Optionally, the browser 500 further includes:
the storage module 513 is configured to store the website type and the keywords of the recommended website selected by the user.
Optionally, the browser 500 further includes:
the collection module 514 is configured to mark and collect the recommended websites displayed on the start page of the browser 500, so as to facilitate subsequent reading.
Optionally, the presentation mode of the recommended website includes any one of the following:
displaying through a squared figure; or,
classifying according to the webpage types, and displaying on the starting page of the browser 500 according to the sequence; or,
classifying according to keywords input by a user, and displaying recommended websites matched with the keywords under classification; or,
and displaying the recommended website according to the use habit of the user on the browser 500.
The embodiment further provides a server for recommending a website, fig. 7 is a block diagram of a server structure for recommending a website according to an embodiment of the present invention, where the server 600 includes:
a first receiving module 601, configured to receive an instruction for rearranging a recommendation list of a category to which a website belongs, where the recommendation list is sent by a browser;
a website classification adjusting module 602 configured to rearrange the recommendation list of the classifications to which the websites belong;
the first sending module 603 is configured to send the rearranged website recommendation list to the browser, so that the browser updates the website recommendation bit of the start page of the browser according to the rearranged and updated website recommendation list and the stored user access list.
Optionally, the server 600 further includes:
a second receiving module 604, configured to receive an instruction sent by the browser to acquire a default website recommendation list when the browser client uses the website for the first time or an operation record of the website is cleared;
a second sending module 605 configured to send the default website recommendation list to the browser.
Optionally, the website classification adjusting module 602 is further configured to rank the website to the end of the recommended list of categorized webpages to which the website belongs.
Optionally, the server 600 further includes:
a third receiving module 606, configured to receive a request for acquiring a first website ranked below a specified type sent by a browser;
the third sending module 607 is configured to search and send the website address with the first rank of the specified type to the browser.
Optionally, the server 600 further includes:
a fourth receiving module 608, configured to receive the website type of the recommended website selected by the user and sent by the browser and/or the keyword selected by the user;
the fourth sending module 609 is configured to search for a website address matching the website address type and/or the keyword, and send the website address to the browser.
Optionally, the server 600 further includes:
a fifth receiving module 610, configured to receive a website type of a recommended website selected by a user and sent by a browser and/or a keyword selected by the user;
the fifth sending module 611 is configured to search for a website address matching the website address type and/or the keyword, and send the searched website address to the browser specified by the user.
Fig. 8 is a block diagram illustrating a system structure for recommending a website according to an embodiment of the present invention, where the system 800 includes the browser 500 for recommending a website and the server 600 for recommending a website.
The embodiment of the invention provides a browser, a server and a system for recommending websites, through which the operation records of a user on the websites can be counted, if the non-operation event of the user on a certain website is greater than or equal to a threshold value, a command for rearranging a recommendation list is sent to the server, the websites in a recommendation position in an initial page of the browser are rearranged according to the website recommendation list returned by the server and a locally stored user access list, and the website access behaviors of the user on the websites are involved, so that personalized and intelligent hot website recommendation can be realized, the user viscosity is enhanced, and the user requirements are met.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functionality of some or all of the components in a browser or server according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
Thus, it should be appreciated by those skilled in the art that while a number of exemplary embodiments of the invention have been illustrated and described in detail herein, many other variations or modifications consistent with the principles of the invention may be directly determined or derived from the disclosure of the present invention without departing from the spirit and scope of the invention. Accordingly, the scope of the invention should be understood and interpreted to cover all such other variations or modifications.
The embodiment of the invention discloses A1. a method for recommending websites, which comprises the following steps:
receiving an instruction for starting a browser start page, and acquiring an operation record of a user on a website through the browser;
when the non-operation time of the user on any website is greater than or equal to a threshold value, sending a command for rearranging a classified recommendation list to which the website belongs to a server;
receiving a rearranged website recommendation list sent by the server;
and updating the website recommendation position of the starting page of the browser according to the rearranged website recommendation list and a locally stored user access list, wherein the user access list comprises websites with access times larger than preset times.
A2. The method according to A1, further comprising:
when the browser is used for the first time or operation records of the website are emptied, a default website recommendation list is obtained in an installation package of the browser;
and displaying the recommended websites on the start page of the browser according to the default website recommendation list.
A3. The method according to A1, further comprising:
when the browser is used for the first time or the operation record of the website is emptied, sending a request for acquiring a default website recommendation list to the server;
and receiving the default website recommendation list returned by the server.
A4. The method according to A2 or A3, wherein before the obtaining of the operation record of the user on the website through the browser, the method further comprises:
and detecting whether an operation record of the user on the website exists or not.
A5. The method according to A4, further comprising:
and when no operation record of the user on the website exists, displaying the recommended website on the start page of the browser according to the default website recommendation list.
A6. The method of any one of a 1-a 5, wherein the sending an instruction to a server to reorder a list of recommendations for a category to which the web address belongs, comprises:
confirming whether the website is locked;
and when the website is not locked, sending an instruction for rearranging the classified recommendation list to which the website belongs to a server.
A7. The method according to A6, wherein the website in the locked state is kept unchanged at the original webpage recommendation position before being unlocked;
and enabling the website to enter a locked state by the user through editing, adding or dragging the website.
A8. The method according to any one of a1 to a7, wherein the updating of the website recommendation bit of the browser's start page according to the rearranged website recommendation list and a locally stored user access list comprises:
according to the website recommendation list, removing the website from the website recommendation position in the start page, and sequentially advancing the subsequent websites of the website to make the last website recommendation position in the start page be a blank position;
and acquiring a locally stored user access list, and adding a new website at the blank position according to the user access list.
A9. The method according to A8, wherein adding a new web address in the blank bit according to the user access list comprises:
sequencing the website types of the user access list;
starting from the highest-ranked website type, sequentially judging whether the websites of each website type exist in the website recommendation positions or whether the number of the websites of the type existing in the website recommendation positions is smaller than a preset number;
when the websites of the webpage type do not exist in the website recommendation positions or the number of the websites of the webpage type existing in the website recommendation positions is smaller than the preset number, sending a request for acquiring the first website of the type lower ranking to the server;
receiving a first website of the type lower ranking returned by the server;
and adding the website with the first rank into the blank position for displaying.
A10. The method of a9, wherein websites that exist on a pre-established blacklist are not shown in the website recommendation bit;
and when the user actively adds the website, the website is removed from the blacklist.
A11. The method according to A9, further comprising:
and when the websites of each website type in the user access list exist in the website recommendation position, or the number of the websites of each type existing in the website recommendation position is not less than the preset number, randomly acquiring a website from the service, and adding the website into the blank position for displaying.
A12. The method of any one of a1 to a11, further comprising:
acquiring the website type of a recommended website selected by a user and/or a keyword selected by the user, and sending the website type selected by the user and/or the keyword to a server;
and receiving the website corresponding to the website type selected by the user and/or the keyword returned by the server, and displaying the website in the recommendation position of the start page.
A13. The method according to a12, wherein after the receiving the website type of the recommended website selected by the user and/or the keyword selected by the user, the method further comprises:
and saving the website type of the recommended website selected by the user and the keyword.
A14. The method of any one of a1 to a13, further comprising:
and marking and collecting the recommended website displayed on the starting page of the browser, so as to facilitate subsequent reading.
A15. The method of any one of A1 to A14, wherein the recommended website is presented in a manner including any one of:
displaying through a squared figure; or,
classifying according to the webpage types, and displaying on a starting page of the browser according to the sequence; or,
classifying according to keywords input by a user, and displaying recommended websites matched with the keywords under the classification; or,
and displaying the recommended website according to the use habit of the user to the browser.
A16. The method according to any one of a 1-a 15, wherein the website recommendation list at least includes:
the method comprises the following steps of website, the sequencing of the websites, the website classification to which the websites belong and logo corresponding to the websites.
The embodiment of the invention also discloses a B17. a method for recommending the website, which comprises the following steps:
receiving a command for rearranging a classified recommendation list to which the website belongs, which is sent by a browser;
rearranging the classified recommendation list to which the website belongs;
and sending the rearranged website recommendation list to the browser so that the browser updates the website recommendation position of the starting page of the browser according to the rearranged and updated website recommendation list and the stored user access list.
B18. The method according to B17, further comprising:
when the browser client uses for the first time or operation records of the website are emptied, receiving an instruction for acquiring a default website recommendation list sent by the browser;
and sending the default website recommendation list to the browser.
B19. The method according to B17 or B18, wherein the reordering of the recommendation list of the category to which the web address belongs comprises:
and arranging the website to the tail of the classified webpage recommendation list to which the website belongs.
B20. The method of any one of B17-B19, further comprising:
receiving a request for acquiring a first website ranked in a specified type, which is sent by the browser;
and searching and sending the first website with the lower rank of the specified type to the browser.
B21. The method of any one of B17-B20, further comprising:
receiving the website type of the recommended website selected by the user and/or the keyword selected by the user, which are sent by the browser;
and searching the website matched with the website type and/or the keyword, and sending the website to the browser.
B22. The method of any one of B17-B21, further comprising:
receiving the website type of the recommended website selected by the user and/or the keyword selected by the user, which are sent by the browser;
and searching the website matched with the website type and/or the keyword, and sending the searched website to a browser appointed by a user.
The embodiment of the invention also discloses C23. a browser for recommending websites, which comprises:
the instruction receiving module is configured to receive an instruction for starting a browser starting page;
the record acquisition module is configured to acquire the operation record of the user on the website through the browser;
the system comprises a first sending module, a second sending module and a third sending module, wherein the first sending module is configured to send an instruction for rearranging a classified recommendation list to which a website belongs to a server when the non-operation time of a user on any website is greater than or equal to a threshold;
the first receiving module is configured to receive the rearranged website recommendation list sent by the server;
and the display module is configured to update the website recommendation position of the starting page of the browser according to the rearranged website recommendation list and a locally stored user access list, wherein the user access list comprises websites with access times larger than preset times.
C24. The browser of C23, further comprising:
the list acquisition module is configured to acquire a default website recommendation list from an installation package of the browser when the browser is used for the first time or operation records of the website are emptied;
the display module is also configured to display recommended websites on a start page of the browser according to the default website recommendation list.
C25. The browser of C23, further comprising:
the second sending module is configured to send a request for acquiring a default website recommendation list to the server when the browser is used for the first time or the operation record of the website is emptied;
and the second receiving module is configured to receive the default website recommendation list returned by the server.
C26. The browser of C24 or C25, further comprising:
and the detection module is configured to detect whether the operation record of the user on the website exists before the record acquisition module acquires the operation record of the user on the website through the browser.
C27. The browser according to C26, wherein the display module is further configured to, when the detection module detects that there is no operation record of the user on a website, display a recommended website on a start page of the browser according to the default website recommendation list.
C28. The browser according to any one of C23-C27, wherein the first sending module is further configured to send an instruction to a server to reorder a recommended list of categories to which the web address belongs as follows:
confirming whether the website is locked;
and when the website is not locked, sending an instruction for rearranging the classified recommendation list to which the website belongs to a server.
C29. The browser according to C28, wherein the website in the locked state remains unchanged in the original webpage recommendation position before being unlocked;
and enabling the website to enter a locked state by the user through editing, adding or dragging the website.
C30. The browser of any one of C23-C29, wherein the display module comprises:
a recommended position adjusting unit configured to remove the website from the website recommended positions in the start page according to the website recommended list, and move forward subsequent websites of the website in sequence to make the last website recommended position in the start page a blank position;
and the website adding unit is configured to acquire the locally stored user access list and add a new website to the blank position according to the user access list.
C31. The browser according to C30, wherein the website adding unit is further configured to add a new website at the blank position according to the user access list as follows:
sequencing the website types of the user access list;
starting from the website type with the highest ranking, sequentially judging whether the websites under each website type exist in the website recommendation position or not, or sequentially judging whether the number of the websites under each website type existing in the website recommendation position is smaller than a preset number;
when the websites of the webpage type do not exist in the website recommendation positions or the number of the websites of the webpage type existing in the website recommendation positions is smaller than the preset number, sending a request for acquiring the first website of the type lower ranking to the server;
receiving a first website of the type lower ranking returned by the server;
and adding the website with the first rank into the blank position for displaying.
C32. The browser of C31, wherein websites that exist on a pre-established blacklist are not exposed in the website recommendation site;
and when the user actively adds the website, the website is removed from the blacklist.
C33. The browser according to C31, wherein the display module is further configured to randomly acquire a website from the service and add the website to the blank position for display when the websites in each website type in the user access list are all in the website recommendation position, or the number of the websites in each website type in the website recommendation position is not less than a preset number.
C34. The browser of any one of C23-C33, further comprising:
the query identifier acquisition module is configured to acquire the website type of the recommended website selected by the user and/or the keyword selected by the user;
the third sending module is configured to send the website type selected by the user and/or the keyword to a server;
the third receiving module is configured to receive a website which is returned by the server and corresponds to the website type selected by the user and/or the keyword;
the display module is also configured to display the website received by the third receiving module in the recommendation position of the start page.
C35. The browser of C34, further comprising:
and the storage module is configured to store the website type of the recommended website selected by the user and the keyword.
C36. The browser of any one of C23-C35, further comprising:
and the collection module is configured to mark and collect the recommended websites displayed on the start page of the browser, so that subsequent reading is facilitated.
C37. The browser according to any one of C23-C36, wherein the recommended website is presented in a manner including any one of:
displaying through a squared figure; or,
classifying according to the webpage types, and displaying on a starting page of the browser according to the sequence; or,
classifying according to keywords input by a user, and displaying recommended websites matched with the keywords under the classification; or,
and displaying the recommended website according to the use habit of the user to the browser.
The embodiment of the invention also discloses a server for recommending websites, which comprises:
the first receiving module is configured to receive an instruction for rearranging the classified recommendation list to which the website belongs, which is sent by the browser;
the website classification adjusting module is configured to rearrange the classified recommendation list to which the website belongs;
and the first sending module is configured to send the rearranged website recommendation list to the browser, so that the browser updates the website recommendation position of the starting page of the browser according to the rearranged and updated website recommendation list and the stored user access list.
D39. The server according to D38, further comprising:
the second receiving module is configured to receive an instruction sent by the browser for acquiring a default website recommendation list when the browser client uses the website for the first time or operation records of the website are emptied;
and the second sending module is configured to send the default website recommendation list to the browser.
D40. The server according to D38 or D39, wherein the website address category adjustment module is further configured to rank the website address to the end of the categorized web page recommendation list to which the website address belongs.
D41. The server of any one of D38-D40, further comprising:
a third receiving module, configured to receive a request for acquiring a first lower-ranked website of a specified type sent by the browser;
and the third sending module is configured to search and send the first website with the lower rank of the specified type to the browser.
D42. The server of any one of D38-D41, further comprising:
a fourth receiving module, configured to receive the website type of the recommended website selected by the user and/or the keyword selected by the user, which are sent by the browser;
and the fourth sending module is configured to search the website matched with the website type and/or the keyword, and send the website to the browser.
D43. The server of any one of D38-D42, further comprising:
a fifth receiving module, configured to receive the website type of the recommended website selected by the user and/or the keyword selected by the user, which are sent by the browser;
and the fifth sending module is configured to search the website matched with the website type and/or the keyword, and send the searched website to the browser specified by the user.
The embodiment of the invention also discloses E44. a system for recommending websites, which comprises the browser of any one of claims C23-C37 and the server of any one of claims D38-D43.