Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those skilled in the art's every other implementation obtained without creative efforts
Example, shall fall within the protection scope of the present invention.
The embodiment of the present invention provides a kind of Web page bookmark adding method, terminal and system.
Referring to Figure 1, which may include any one terminal provided in an embodiment of the present invention, should
Terminal may include mobile phone, IPAD or apparatus such as computer, which can store in bookmark list, collection or read column
Among table, which can also include server, can pass through network between the server and terminal device
It is attached.When user carries out web page browsing using mobile phone, mobile phone can obtain the network address for currently having loaded webpage from server,
And the presetting database (i.e. local data base) on mobile phone is searched according to the network address, to obtain corresponding browsing information, the browsing
Information include the webpage browsing time and each browsing time, mobile phone is according to the browsing information found to the network address later
Bookmark addition operation is carried out, is added into bookmark list, without addition bookmark manually, addition is convenient.
It will be described in detail respectively below.
First embodiment,
In the present embodiment, it will be described from the angle of terminal, which can specifically include mobile phone, IPAD or computer
Etc. equipment.
Referring to Fig. 2, Fig. 2 is the flow diagram of Web page bookmark adding method provided in an embodiment of the present invention.The webpage
Bookmark adding method may include:
S101, the network address for currently having loaded webpage is obtained.
In the present embodiment, the net for currently having loaded webpage can be obtained by sending network address acquisition request to server
Location.Specifically, can send the network address automatically while webpage is loaded and completed during browser loads webpage and obtain
Request can also retransmit the network address acquisition request after a period of time is completed in load.
For example, when user needs to browse certain webpage, for example want to look at there is what news recently by News Network's homepage,
Keyword " News Network " can be inputted in browser search box to scan for, and required net is found in search result list
It is clicked after page and loads the webpage, at this point, to avoid user from causing maloperation because repeatedly accidentally clicking and entering certain unrelated webpage, it can
A period of time is completed to load in webpage, for example (may insure that current web page is webpage needed for user in this way) after one minute,
Just start to send network address of the network address acquisition request to obtain current load webpage to server.
S102, presetting database is searched according to the network address, to obtain corresponding browsing information, which includes the net
The browsing time of page and each browsing time.
In the present embodiment, which can be (having set when for example can be producer's factory for system default setting
The a certain storage region set), the file being also possible under a certain fixed catalogue of user's sets itself.
It is easily understood that the storage content of the presetting database is pre-set according to the historical viewings of user record
, i.e., before searching presetting database according to the network address, which can also include:
Obtain the browsing information of webpage when user browses webpage every time;
The incidence relation between the network address of the webpage and browsing information is established, and the incidence relation is stored in the present count
According in library.
In the present embodiment, for each user when browsing webpage, browser can obtain the network address of the webpage, current browsing automatically
Time and accumulative browsing time etc. browse information, and are associated with establishing between the network address of the webpage and browsing information.
It should be noted that for the webpage for having added bookmark, to avoid leading to the Web page bookmark because of the forgetting of user
Repetition add operation, according to the network address search presetting database before, which can also include:
Acquisition has stored the corresponding webpage network address of bookmark;
Judge whether the webpage network address and the network address for currently having loaded webpage are identical;
If it is different, then executing the step of searching presetting database according to the network address.
In the present embodiment, which be can store among bookmark list, collection or reading list.Work as browser
After obtaining the network address for currently having loaded webpage, to avoid the bookmark for repeating to add the webpage, whether the network address can be first judged
Bookmark addition operation has been carried out, specifically can store bookmark pair among bookmark list, collection or reading list by obtaining
The webpage network address answered, and the webpage network address is matched with the network address for currently having loaded webpage, if successful match, illustrate current
It has loaded webpage and has had been added bookmark, no longer needed to be added operation.If matching is unsuccessful, illustrate currently to have loaded webpage simultaneously
It is not added with bookmark, the operation for searching presetting database according to the network address need to be executed, to carry out subsequent bookmark addition.
S103, bookmark addition operation is carried out to the network address according to the browsing information.
Preferably, above-mentioned steps S103 can specifically include:
Whether the browsing time that judgement was located in the same period is more than preset ratio;
If so, detecting whether the browsing time is greater than preset first threshold;
When the browsing time is greater than first threshold, bookmark addition operation is carried out to the network address.
In the present embodiment, which can be arranged by system default, for example can be 70%.If user browses every time
When same webpage, the browsing time at least 70% or more is all in special time period, for example having 80% browsing time all
During resting at noon (12:00-13:00), or before sleeping at night (10:00-11:00) etc., it may be considered that with
For family, which there is certain browsing to be worth.At this point it is possible to which it is pre- further to judge whether the browsing time of the webpage is greater than
If first threshold (for example 7 times), when being greater than the first threshold (for example browsing time be 10 times), it may be considered that the webpage
Browsing value it is bigger, browser backstage can default automatically add this webpage network address be Web page bookmark.Preferably, in webpage
It after bookmark addition is completed, can also inform that user's webpage has added bookmark by way of prompting frame, facilitate user next
Directly entered the Web page by the bookmark.
Certainly, there is also such a case, for a certain webpage, although user can be commonly using the webpage (i.e.
Web page browsing value is bigger), it for example at least will use 4 times in one week, but due to working time or the limit of other factors
System, user browse time of the webpage and irregular, cause the browsing time within the same period that this is much not achieved default
Ratio.To avoid missing the bookmark addition operation similar to this webpage, which can also include:
If be located at the same period in browsing time be not above preset ratio, detect the browsing time whether be greater than it is pre-
If second threshold;
When the browsing time is greater than second threshold, bookmark addition request is obtained;
Bookmark addition operation is carried out to the network address according to bookmark addition request.
In the present embodiment, bookmark addition request be can be after user carries out corresponding operating manually on browser interface
It automatically generates.(for example it is located in the same period when the browsing time being located in the same period is not above preset ratio
Browsing time only account for 40%), can further judge whether the browsing time of the webpage is greater than preset second threshold (example
Such as, which can be set as 5 times), it, can be with if browsing time is greater than second threshold (for example browsing time be 8 times)
It by playing frame prompts the user whether that the webpage bookmark need to be added to, when user selects "Yes", system can automatically generate bookmark
Addition request, and bookmark addition operation is carried out to the webpage, it is on the contrary then do nothing.
In addition, for the bookmark title that system default generates, user feels sometimes during adding Web page bookmark
It is stranger, cause directly to judge web page contents from the title.For this purpose, the browsing information can also include search every time
The search keyword information that user inputs when the webpage, the Web page bookmark adding method can also include:
Before carrying out bookmark addition operation to the network address, the mark of the Web page bookmark is set according to the search keyword information
Topic.
In the present embodiment, which may include phrase, phrase or short sentence etc., can specifically first pass through language
The search keyword information that justice analysis inputs user every time is screened, and some modal particles, interrogative etc., example are tentatively weeded out
Such as why, how, and remaining content split and phrase or phrase extraction operation, counts repetition frequency
The higher phrase of rate or phrase, using the phrase or phrase as the title of Web page bookmark, certainly, for avoid the phrase extracted or
Phrase and web page contents difference are too big, it can be passed through the shape of pop-up box before the phrase or phrase are arranged to title
Formula is shown to user, and user is prompted still to default title using newly-generated title, if user selects to use newly-generated mark
Topic, then using the phrase or phrase as bookmark title, otherwise using the title of system default as bookmark title.
It can be seen from the above, Web page bookmark adding method provided in this embodiment, the net of webpage has currently been loaded by obtaining
Location, and presetting database is searched according to the network address, to obtain corresponding browsing information, wherein the browsing information includes the clear of webpage
Number and each browsing time are look at, bookmark addition operation is carried out to the network address according to browsing information later, without addition manually
Bookmark, addition is convenient, and user experience is high.
Second embodiment,
For convenient for better implementation Web page bookmark adding method provided in an embodiment of the present invention, the embodiment of the present invention is also provided
A kind of terminal.Wherein the meaning of noun is identical with above-mentioned Web page bookmark adding method, and specific implementation details can refer to method
Explanation in embodiment.
Fig. 3 a is please referred to, Fig. 3 a is the structural schematic diagram for the terminal that second embodiment of the invention provides.The terminal can wrap
The first acquisition module 10, searching module 20 and adding module 30 are included, as follows:
First obtains module 10, for obtaining the network address for currently having loaded webpage.
In the present embodiment, the first acquisition module 10 can obtain the network address of the webpage while webpage is loaded and completed,
The network address can be obtained again after a period of time is completed in load, can specifically be obtained by sending network address acquisition request to server
Take the network address for currently having loaded webpage.
For example, when user needs to browse certain webpage, for example want to look at there is what news recently by News Network's homepage,
Keyword " News Network " can be inputted in browser search box to scan for, and required net is found in search result list
It is clicked after page and loads the webpage, at this point, to avoid user from causing maloperation because repeatedly accidentally clicking and entering certain unrelated webpage, it should
First acquisition module 10 (can may insure that current web page is after webpage has loaded a period of time, such as one minute in this way
Webpage needed for user), just start to send network address acquisition request to server to obtain the network address for currently having loaded webpage.
Searching module 20, for searching presetting database according to the network address, to obtain corresponding browsing information, browsing letter
Browsing time and each browsing time of the breath including the webpage.
In the present embodiment, which can be (having set when for example, can be producer's factory for system default setting
The a certain storage region set), the file being also possible under a certain fixed catalogue of user's sets itself.
It is easily understood that the storage content of the presetting database is pre-set according to the historical viewings of user record
, i.e., as shown in Figure 3b, which can also include relating module 40, it is used for:
Obtain the browsing information of webpage when user browses webpage every time;
The incidence relation between the network address of the webpage and browsing information is established, and the incidence relation is stored in the present count
According in library.
In the present embodiment, for each user when browsing webpage, relating module 40 can obtain the network address, current of the webpage automatically
Browsing time and accumulative browsing time etc. browse information, and are associated with establishing between the network address of the webpage and browsing information.
It should be noted that for the webpage for having added bookmark, to avoid leading to the Web page bookmark because of the forgetting of user
Repetition add operation, which can also include second obtaining module 50 and judgment module 60, specific as follows:
The second acquisition module 50, for before searching presetting database according to the network address, acquisition to have stored bookmark pair
The webpage network address answered;
The judgment module 60, for judging whether the webpage network address and the network address for currently having loaded webpage are identical, if it is different,
It then triggers the searching module 20 and executes the operation for searching presetting database according to the network address.
In the present embodiment, after the first acquisition module 10, which obtains, has currently loaded the network address of webpage, to avoid repeating adding
Add the bookmark of the webpage, can first judge whether the network address has carried out bookmark addition operation, specifically can obtain mould by second
Block 50 obtains and has stored the corresponding webpage network address of bookmark in bookmark list, and by judgment module 60 by the webpage network address and currently
The network address for having loaded webpage matches, if successful match, illustrates that currently having loaded webpage has been added bookmark, no longer needs to carry out
Addition operation.If matching is unsuccessful, illustrate currently to have loaded webpage and be not added with bookmark, searching module 20 need to execute basis should
Network address searches the operation of presetting database, to carry out subsequent bookmark addition.
Adding module 30, for carrying out bookmark addition operation to the network address according to the browsing information.
Preferably, which can specifically include:
Judging submodule 31, for judging whether the browsing time being located in the same period is more than preset ratio;
Submodule 32 is added, for if so, detecting whether the browsing time is greater than preset first threshold, when described clear
When number of looking at is greater than first threshold, bookmark addition operation is carried out to the network address.
In the present embodiment, which can be arranged by system default, for example can be 70%.If user browses every time
When same webpage, the browsing time at least 70% or more all in special time period, during for example resting at noon (12:
00-13:00), before or sleeping at night (10:00-11:00) etc., then can further be judged by judging submodule 31
Whether the browsing time of the webpage is greater than preset first threshold (for example 7 times), (for example browsing time when being greater than the first threshold
Number is 10 times), it may be considered that the browsing value of the webpage is bigger, which default can add this webpage automatically
Network address be Web page bookmark.Preferably, after Web page bookmark addition is completed, user can also be informed by way of prompting frame
The webpage has added bookmark, facilitates user directly to pass through the bookmark next time and enters the Web page.
Certainly, there is also such a case, for a certain webpage, although user can be commonly using the webpage (i.e.
Web page browsing value is bigger), it for example at least will use 4 times in one week, but due to working time or the limit of other factors
System, user browse time of the webpage and irregular, cause the browsing time within the same period that this is much not achieved default
Ratio.To avoid missing the bookmark addition operation similar to this webpage, which be can be also used for:
If be located at the same period in browsing time be not above preset ratio, detect the browsing time whether be greater than it is pre-
If second threshold;
When the browsing time is greater than second threshold, bookmark addition request is obtained;
Bookmark addition operation is carried out to the network address according to bookmark addition request.
In the present embodiment, bookmark addition request be can be after user carries out corresponding operating manually on browser interface
It automatically generates.Specifically, (being for example located at for the moment when the browsing time being located in the same period is not above preset ratio
Between browsing time in section only account for 40%), can further judge whether the browsing time of the webpage is greater than preset second threshold
It is worth (for example, which can be set as 5 times), if browsing time is greater than second threshold (for example browsing time is 8 times),
It by playing frame can prompt the user whether that the webpage bookmark need to be added to, when user selects "Yes", system can be automatically generated
Bookmark addition request, and by addition submodule 32 obtain the bookmark addition request after, to the webpage carry out bookmark addition operation,
It is on the contrary then do nothing.
In addition, for the bookmark title that system default generates, user feels sometimes during adding Web page bookmark
It is stranger, cause directly to judge web page contents from the title.For this purpose, the browsing information can also include search every time
The search keyword information that user inputs when the webpage, the adding module 30 can also include that submodule 33, the mark is arranged in title
Topic setting submodule 33 is used for:
Before carrying out bookmark addition operation to the network address, the mark of the Web page bookmark is set according to the search keyword information
Topic.
In the present embodiment, which may include phrase, phrase or short sentence etc., specifically, the title is set
It sets submodule 33 and can first pass through the search keyword information that semantic analysis inputs user every time and screen, tentatively weed out
Some modal particles, interrogative etc., for example why, how etc., and remaining content split and phrase or phrase
Extraction operation counts the higher phrase of repetition rate or phrase, using the phrase or phrase as the title of Web page bookmark, when
So, to avoid the phrase extracted or phrase and web page contents from differing too big, which is arranged submodule 33 can be short by this
Language or phrase are arranged to before title, it is shown to user by way of pop-up box, for selection by the user using newly-generated
Title still default title, if user selects to use newly-generated title, title be arranged submodule 33 can by the phrase or
Phrase, otherwise can be using the title of system default as bookmark title as bookmark title.