CN103559246B - Identify the method and device of hyperlinked title - Google Patents
Identify the method and device of hyperlinked title Download PDFInfo
- Publication number
- CN103559246B CN103559246B CN201310522760.4A CN201310522760A CN103559246B CN 103559246 B CN103559246 B CN 103559246B CN 201310522760 A CN201310522760 A CN 201310522760A CN 103559246 B CN103559246 B CN 103559246B
- Authority
- CN
- China
- Prior art keywords
- hyperlinked
- title
- clicked
- keyword
- page
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
- G06F16/9558—Details of hyperlinks; Management of linked annotations
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention provides a kind of method and device for identifying hyperlinked title, method therein includes, and judges the unfolding mode of the page;If the page is opened by clickable hyperlinks, hyperlinked title identical hyperlinked title is searched and is clicked on the page and/or in the href contents of the hyperlink of the page;If hyperlinked title identical hyperlinked title is found and is clicked on the page and/or in the href contents of the hyperlink of the page, then it is identified to finding with being clicked hyperlinked title identical hyperlinked title, and will finds and be shown to being clicked hyperlinked title identical hyperlinked title in current screen.Using the present invention, the hyperlinked title word same or like by the way that links header is found and be clicked in the page of opening, and the interface for identifying and navigating to where the hyperlink, user is facilitated to be quickly found out the link for needing to click on.
Description
Technical field
The present invention relates to mobile internet technical field, more specifically, is related to a kind of method for identifying hyperlinked title
And device.
Background technology
With the fast development of development of Mobile Internet technology, people can carry out net using mobile terminals such as mobile phones whenever and wherever possible
Page browsing with obtain oneself needs information.But user is frequently encountered following situation when webpage is browsed:
1st, see an interesting headline, be unable to bear click and enter to look at, but due to website design or operation
The reason for, the page that this title is entered is clicked on, may not be the body matter page corresponding to the title, but one two
Level original list, that title link that you want to see is searched out in this two level page, again tapping on can just enter very
The positive article content page.
2nd, want to enter some download page-downloading some content, but because the word, picture, advertisement of the page are too many, it is difficult to look for
To link corresponding to the content for really wanting to download.
Above said 1st kind of phenomenon is especially common in information class website homepage, and clickthrough title is often into specially
Inscribe the page, rather than text page corresponding to title.For example the related hyperlink of some tourisms is clicked in the homepage of Netease, enter in fact
What is entered is the homepage of travel plate;Some headline are clicked in 3G door homepages, are also into the plate page of news category
Face.And the 2nd kind of phenomenon is more universal, because the marketing in the operation of website needs, almost all of download resource website is all present
Such case.
Also, because the visual range of the mobile terminal screens such as mobile phone is smaller, so in the more two level page of length content
The process of some title or link is found in face, is browsed more time-consuming compared to common PC and is taken great energy.
The content of the invention
In view of the above problems, it is an object of the invention to provide a kind of method and device for identifying hyperlinked title, to solve
The problem of can not identifying and positioning the hyperlinked title being clicked and the problem of can not identify and position download link.
The invention provides a kind of method for identifying hyperlinked title, including:
Judge the unfolding mode of the page;
If the page is opened by clickable hyperlinks, searched in the content of the hyperlink on the page and/or on the page
With being clicked hyperlinked title identical hyperlinked title;
If hyperlinked title identical is found and is clicked in the content of the hyperlink on the page and/or on the page
Hyperlinked title, then it is identified to finding with being clicked hyperlinked title identical hyperlinked title.
Present invention also offers a kind of device for identifying hyperlinked title, including:
Page judging unit, for judging the unfolding mode of the page;
Hyperlinked title searching unit, for lookup and quilt in the content of the hyperlink on the page and/or on the page
In the content of clickable hyperlinks title identical hyperlinked title or the hyperlink on the page search comprising preset field and with
The hyperlinked title that preset characters terminate;
Hyperlinked title identifies unit, for entering to finding with being clicked hyperlinked title identical hyperlinked title
Line identifier.
Using the above-mentioned method and device according to identification hyperlinked title provided by the invention, by the page of opening
Find and be clicked the same or like hyperlinked title word of links header, and the boundary for identifying and navigating to where the hyperlink
Face, user is facilitated to be quickly found out the link for needing to click on.
In order to realize above-mentioned and related purpose, one or more aspects of the invention include will be explained in below and
The feature particularly pointed out in claim.Some illustrative aspects of the present invention are described in detail in following explanation and accompanying drawing.
However, some modes in the various modes of the principle that the present invention only can be used of these aspect instructions.It is in addition, of the invention
It is intended to include all these aspects and their equivalent.
Brief description of the drawings
By reference to the explanation and the content of claims below in conjunction with accompanying drawing, and with to the present invention more comprehensively
Understand, other purposes and result of the invention will be more apparent and should be readily appreciated that.In the accompanying drawings:
Fig. 1 is the flow chart according to the method for the identification hyperlinked title of the present invention;
Fig. 2-1 and Fig. 2-2 is the design sketch before being used according to the method for the identification hyperlinked title of the present invention and after use;
Fig. 3-1 and Fig. 3-2 is another effect before being used according to the method for the identification hyperlinked title of the present invention and after use
Fruit is schemed;
Fig. 4 is the device block diagram according to the identification hyperlinked title of the present invention.
Identical label indicates similar or corresponding feature or function in all of the figs.
Embodiment
In the following description, for purposes of illustration, in order to provide the comprehensive understanding to one or more embodiments, explain
Many details are stated.It may be evident, however, that these embodiments can also be realized in the case of these no details.
In other examples, for the ease of describing one or more embodiments, known structure and equipment are shown in block form an.
The specific embodiment of the present invention is described in detail below with reference to accompanying drawing.
Fig. 1 shows the flow of the method for the identification hyperlinked title according to the present invention.
As shown in figure 1, when opening a webpage, the unfolding mode of the page is judged(Step S100);If the page passes through a little
Hyperlink opening is hit, then the href of the hyperlink on the page and/or on the page(Hypertext Reference, hypertext
Quote)Hyperlinked title identical hyperlinked title is searched and is clicked in content(Step S110);If on the page and/or
Hyperlinked title identical hyperlinked title is found and is clicked in the href contents of hyperlink on the page, then to searching
To be identified with being clicked hyperlinked title identical hyperlinked title(Step S120).
It should be noted that judge the actual process for web page source analysis of process of page open mode.On the page
Search process with being clicked hyperlinked title identical hyperlinked title and to finding with being clicked hyperlinked title phase
Same hyperlinked title is identified, and will be found and worked as with being clicked hyperlinked title identical hyperlinked title and navigating to
Process in the indication range of forth screen, the actual process for identification, mark and positioning webpage hyperlink, and in the hyperlink of the page
Connect the process of searching and be clicked hyperlinked title identical hyperlinked title in href contents and to finding with being clicked
Hyperlinked title identical hyperlinked title is identified, and will be found with being clicked hyperlinked title identical hyperlink
The process that title is navigated in the indication range of current screen is actual for identification, mark and the process of positioning download address.
The process of identification, mark and positioning webpage hyperlink, which is realized, to be identified to page hyperlink, marks and positioning
Function, and identify, mark and realize the function of being identified, mark and position to download address with the process of positioning download address,
Above-mentioned two is independent function, can be implemented separately, can also realize together, below will be with two specific embodiments respectively to above-mentioned
The situation that two functions are implemented separately is described in detail:
Embodiment one
S200:When opening a webpage, the unfolding mode of the webpage is judged, if the webpage is to pass through clickable hyperlinks
Open, turn to step S210.
The present embodiment can also open webpage by judging the unfolding mode of webpage while webpage is opened
Afterwards, the unfolding mode of the webpage is judged according to the webpage of opening, it is preferable to implement in order to improve the efficiency of identification hyperlinked title
Mode is that the unfolding mode of the webpage is judged while webpage is opened, and is all preferentially to use this judgement in the following description
Mode, but do not represent the judgement that can not otherwise carry out web page source.
S210:The length for being clicked hyperlinked title is obtained, if length is more than K character, opens the same of hyperlink
When, record this hyperlinked title(A), go to the identification process that step S220 starts page hyperlink.
It should be noted that due to too short hyperlinked title, normal, expected is exactly to enter the thematic page, in this case
It need not identify and positioning is clicked hyperlinked title, so to limit character length, character length K is adjustable numerical value.
S220:After the completion of content of pages loading corresponding to hyperlink, all hyperlinked titles of traversal full page, from
On the hyperlinked title down searching and be clicked(A)Completely the same title, if the title for finding and being clicked(A)It is complete
Complete consistent title, then terminate to search and turn to step S230;If search less than the title with being clicked(A)It is completely the same
Title, then terminate to search and turn to step S240.
S230:The hyperlinked title found is marked, if the title of mark is not in the display model of current screen
In enclosing, then the page can slide automatically, until the position where causing the mark content is in the indication range of current screen.
It is specifically as example, the hyperlinked title mark found is red or mark is bright, lookup can be highlighted in screen
The hyperlinked title arrived.
S240:Using all hyperlinked titles of fuzzy search method traversal full page, from top to bottom using different
Rule searching is with being clicked title(A)Similar hyperlinked title, if the character length for being clicked hyperlinked title is L, obscure
The process of lookup method is:
A1, the hyperlinked title that will be clicked in step S210(A)It is whole as keyword, traversal to subtract most previous word
All hyperlinked title search keies of the page, if finding keyword, terminate to search and turn to step S250;If
Search less than keyword, then turn to A2 rules.
A2, the hyperlinked title that will be clicked in step S210(A)It is whole as keyword, traversal to subtract most the first two word
All hyperlinked titles of the page are searched, if finding keyword, are terminated to search and are turned to step S250;If look into
Keyword is can not find, then turns to A3 rules.
……
AN, the hyperlinked title that will be clicked in step S210(A)(L/2) individual word is as keyword, traversal before subtracting most
All hyperlinked titles of full page are searched, if finding keyword, are terminated to search and are turned to step S250;Such as
Fruit is searched less than keyword, then turns to B1 rules.
B1, the hyperlinked title that will be clicked in step S210(A)It is whole as keyword, traversal to subtract the last word
All hyperlinked titles of the page are searched, if finding keyword, are terminated to search and are turned to step S250;If look into
Keyword is can not find, then turns to B2 rules.
B2, the hyperlinked title that will be clicked in step S210(A)It is whole as keyword, traversal to subtract two words of most end
All hyperlinked titles of the page are searched, if finding keyword, are terminated to search and are turned to step S250;If look into
Keyword is can not find, then turns to B3 rules.
……
BN, the hyperlinked title that will be clicked in step S210(A)Most end (L/2) individual word is subtracted as keyword, traversal
All hyperlinked titles of full page are searched, if finding keyword, are terminated to search and are turned to step S250;Such as
Fruit is searched less than keyword, then turns to C1 rules.
C1, the hyperlinked title that will be clicked in step S210(A)Most previous word and the last word are subtracted as pass
Key word, all hyperlinked titles of traversal full page are searched, if finding keyword, terminate to search and turn to step
Rapid S250;If searched less than keyword, C2 rules are turned to.
C2, the hyperlinked title that will be clicked in step S210(A)Two words of most the first two word and most end are subtracted as pass
Key word, all hyperlinked titles of traversal full page are searched, if finding keyword, terminate to search and turn to step
Rapid S250;If searched less than keyword, C3 rules are turned to.
……
CN, the hyperlinked title that will be clicked in step S210(A)(L/4) individual word and most end before subtracting most(L/4)Individual word
As keyword, all hyperlinked titles of traversal full page are searched, if finding keyword, terminate to search simultaneously
Turn to step S250;If searched less than keyword, terminate to search.
It should be noted that in order to ensure search efficiency, as the character length L for being clicked hyperlinked title>It is clicked super
During the length threshold values I of links header, at most look only for being clicked the M lookup of length threshold values of hyperlinked title, wherein, I and M are
Adjustable numerical value.
S250:The hyperlinked title found is marked, if the title of mark is not in current screen indication range
Interior, then the page can slide automatically, until the position where causing the mark content is in the indication range of current screen.
It should be noted that above-mentioned fuzzy search method is realized by search key, in the hyperlink being clicked
Extraction keyword is as search criterion inside title, find the hyperlinked title comprising these keywords as be clicked it is super
Links header part identical hyperlinked title.
Embodiment two
Download address is identified, mark with positioning be divided into webpage by clickable hyperlinks open and webpage pass through address
Column inputs network address or called browser opens two kinds of situations, and both of these case is described in detail separately below.
Situation one:
S300:When opening a webpage, the unfolding mode of the webpage is judged while webpage is opened, if the webpage is
Opened by clickable hyperlinks, turn to step S310.
S310:The length for being clicked hyperlinked title is obtained, if length is more than K character, opens the same of hyperlink
When, record this hyperlinked title(A), go to the identification process that step S320 starts download address.
S320:After the completion of content of pages loading corresponding to hyperlink, travel through in all hyperlink href of full page
Hold, lookup from top to bottom includes and is clicked hyperlinked title(A), and the hyperlinked title terminated with preset characters.If search
To hyperlinked title, then terminate to search and turn to step S330;If searched less than hyperlinked title, terminate to search and turn to
Step S340.
It should be noted that hyperlink href contents refer to point to a target from a webpage, this target can be
Diverse location on another webpage or same web page, can also be a picture, an e-mail address, one
Individual file, even an application program,
Preset characters refer to the targeted extension name of hyperlink href, and such as zip, apk, torrent are pre- by program
It is if expansible.
S330:The hyperlinked title found is marked(For example mark red or highlighted)If the hyperlink being tagged to
Title is not in the indication range of current screen, then the page can slide automatically, until the position where causing the mark content exists
In the indication range of current screen.
S340:Using above-mentioned steps S240 fuzzy search method and be sequentially generated keyword, in all hyperlinks of the page
Connect to search in href contents and include keyword, and the hyperlinked title terminated with preset characters(Such as .zip .apk .torrent
Deng expansible);If finding hyperlinked title, terminate to search and turn to step(10);If search less than hyperlink mark
Topic, then terminate to search and turn to step(11);
S340:Keyword is generated using fuzzy search method, searches and includes in all hyperlink href contents of the page
Keyword, and the hyperlinked title terminated with preset characters(Such as .zip .apk .torrent, it is expansible)If it is clicked super
The character length of links header is L, and the process of fuzzy search method is:
D1, the hyperlinked title that will be clicked in step S310(A)It is whole as keyword, traversal to subtract most previous word
All hyperlink href contents of the page, therefrom search keyword, if finding keyword, terminate to search and turn to step
S350;If searched less than keyword, D2 rules are turned to.
D2, the hyperlinked title that will be clicked in step S310(A)It is whole as keyword, traversal to subtract most the first two word
All hyperlink href contents of the page, therefrom search keyword, if finding keyword, terminate to search and turn to step
S350;If searched less than keyword, D3 rules are turned to.
……
DN, the hyperlinked title that will be clicked in step S310(A)(L/2) individual word is as keyword, traversal before subtracting most
All hyperlink href contents of full page, therefrom search keyword, if finding keyword, terminate to search and turn to
Step S350;If searched less than keyword, E1 rules are turned to.
E1, the hyperlinked title that will be clicked in step S310(A)It is whole as keyword, traversal to subtract the last word
All hyperlink href contents of the page, therefrom search keyword, if finding keyword, terminate to search and turn to step
S350;If searched less than keyword, E2 rules are turned to.
E2, the hyperlinked title that will be clicked in step S310(A)It is whole as keyword, traversal to subtract two words of most end
All hyperlink href contents of the page, therefrom search keyword, if finding keyword, terminate to search and turn to step
S350;If searched less than keyword, E3 rules are turned to.
……
EN, the hyperlinked title that will be clicked in step S310(A)Most end (L/2) individual word is subtracted as keyword, traversal
All hyperlink href contents of full page, therefrom search keyword, if finding keyword, terminate to search and turn to
Step S350;If searched less than keyword, F1 rules are turned to.
F1, the hyperlinked title that will be clicked in step S310(A)Most previous word and the last word are subtracted as pass
Keyword, all hyperlink href contents of traversal full page, therefrom searches keyword, if finding keyword, terminates
Search and turn to step S350;If searched less than keyword, F2 rules are turned to.
F2, the hyperlinked title that will be clicked in step S310(A)Two words of most the first two word and most end are subtracted as pass
Keyword, all hyperlink href contents of traversal full page, therefrom searches keyword, if finding keyword, terminates
Search and turn to step S350;If searched less than keyword, turn to F3 rules and continue to search for.
……
FN, the hyperlinked title that will be clicked in step S310(A)(L/4) individual word and most end before subtracting most(L/4)Individual word
As keyword, all hyperlink href contents of traversal full page, keyword is therefrom searched, if finding keyword,
Then terminate to search and turn to step S350;If searched less than keyword, terminate to search simultaneously S360.
S350:The hyperlinked title found is marked(For example mark red or highlighted).If the hyperlink being identified to
Title is not in the indication range of current screen, then the page can slide automatically, until the position where causing the mark content exists
In the indication range of current screen.
S360:All hyperlink href contents of full page are traveled through, therefrom searches and is terminated with preset characters(As .zip,
.apk .torrent etc., it is expansible)With preset field is included in label(Such as thunder:// etc., it is expansible)Hyperlink mark
Topic, if finding hyperlinked title, the hyperlinked title found is marked(Such as mark it is red or highlighted, herein not from
Dynamic positioning);If searched less than hyperlinked title, terminate to search.
Complete all to can not find legal title it should be noted that if strictly all rules is searched, in the page of opening
Any hyperlinked title will not be marked and positioned on face, and any effect will not be also produced on screen.
Situation two
S400:When opening a webpage, the unfolding mode for judging the webpage of webpage is being opened, if the webpage is to pass through
Address field inputs network address or is called what is opened, then turns to step S410.
S410:All hyperlink href contents of full page are traveled through, therefrom searches and is terminated with preset characters(As .zip,
.apk .torrent etc., it is expansible)With preset field is included in label(Such as thuNder:// etc., it is expansible)Hyperlink mark
Topic, if finding hyperlinked title, the hyperlinked title found is marked(Such as mark it is red or highlighted, herein not from
Dynamic positioning);If searched less than hyperlinked title, terminate to search.
It should be noted that because webpage is to input network address or called opening by address field, so quilt is not present
The hyperlink of click, therefore be not present in all hyperlink href contents of the page and surpass with being clicked hyperlinked title identical
Links header, the hyperlinked title found in all hyperlink href contents of the page are that address field inputs network address or adjusted
With the title of the hyperlink of opening.
Above-described embodiment one and embodiment two are respectively the situation that two functions of the invention are implemented separately, and the present invention two
Function is realized together when then can first to the two functions arrange a priority, then identified accordingly again, mark and
Positioning step, such as preferentially page hyperlinked title is identified, marked with positioning, download address is entered if recognition failures
Row identification, mark and positioning;Or first hyperlinked title content is judged, if hyperlinked title is the common page
Title is then identified, marks and positioned according to the identification of page hyperlinked title, mark and locating rule, if hyperlink mark
Topic is download link title, then identified according to download address, mark with locating rule be identified, mark with position.
Fig. 2-1 and Fig. 2-2 is respectively illustrated according to before the method for identifying hyperlinked title use of the invention and after use
Effect.
As shown in Fig. 2-1, show using hyperlink identification, mark and the effect of positioning before the present invention, work as click《Emperor
Horse 3-1 blue forces Spurs the 4th is signed》Hyperlinked title, will not will or phase identical with being clicked hyperlinked title after the completion of page loading
Near hyperlinked title is identified, marked with positioning, and is not in any change on screen, and user searches the title meeting for wanting to see
Take great energy very much, be time-consuming.
As shown in Fig. 2-1, show using hyperlink identification, mark and the effect of positioning after the present invention, work as click《Emperor
Horse 3-1 blue forces Spurs the 4th is signed》Hyperlinked title, the page loading after the completion of, first search with《Real Madrid 3-1 blue forces Spurs the 4th is signed》It is super
Links header identical title, does not find the title, then using fuzzy search method search with《Real Madrid 3-1 blue forces Spurs
4th label》Similar title, due to《The ball Real Madrid 3-1 blue forces of sieve C 2 impeach Guiness cup》Title with《Real Madrid 3-1 blue forces Spurs the 4th
Label》Title is close, so will《The ball Real Madrid 3-1 blue forces of sieve C 2 impeach Guiness cup》Title mark comes out, and currently displayed screen
Indication range in, facilitate user to search and want the title seen.
Fig. 3-1 and Fig. 3-2 is respectively illustrated according to before the method for identifying hyperlinked title use of the invention and after use
Another scene.
As shown in figure 3-1, show using download address identification, mark and the effect of positioning before the present invention, work as click
First title, after the completion of page loading, there are some and the incoherent information of download address.
Shown in Fig. 3-2, show identified using the download address after the present invention, mark and the effect of positioning, when clicking on the
One title, after the completion of page loading, first look for and be clicked title identical title(The title of download address), due to not having
Have and be clicked title identical title, equally search using fuzzy search method and be clicked title similar in title(Download
The title of address), title mark is come out, and in the indication range of currently displayed screen, facilitate user to search.
Corresponding with the above method, the present invention also provides a kind of device for identifying hyperlinked title.
Fig. 4 shows the device of the identification hyperlinked title according to the present invention.
As shown in figure 4, the device 400 of identification hyperlinked title provided by the invention, including:Page judging unit 401, surpass
Links header searching unit 402, hyperlinked title mark unit 403.
Wherein, page judging unit 401 is used for the unfolding mode for judging the page;Hyperlinked title searching unit 402 is used for
Search and be clicked in the content of hyperlink on the page and/or on the page hyperlinked title identical hyperlinked title or
The hyperlinked title for including preset field and terminating with preset characters is searched in the content of hyperlink on the page;Hyperlink mark
Topic mark unit 403 is used to be identified with being clicked hyperlinked title identical hyperlinked title to finding.
Page judging unit 401 can also include hyperlinked title length acquiring unit(It is not shown)And hyperlinked title
Recording unit(It is not shown).
Wherein, hyperlinked title length acquiring unit, for when the page is opened by clickable hyperlinks, acquisition to be clicked
The length of hyperlinked title;Hyperlinked title recording unit, for being more than preset characters in the length for being clicked hyperlinked title
Length when, while the page is opened, record be clicked hyperlinked title.
It should be noted that the device of identification hyperlinked title provided by the invention is integrated in what is realized in browser.
The method and device of identification hyperlinked title provided by the invention is applicable not only to mobile phone, is equally applicable to other shiftings
Dynamic terminal, such as the equipment for surfing the net such as PAD, IPAD, desktop computer, notebook computer.
Describe the method and device of the identification hyperlinked title according to the present invention in an illustrative manner above with reference to accompanying drawing.
It will be understood by those skilled in the art, however, that the method and device of the identification hyperlinked title proposed for the invention described above,
It can also realize that details makes various improvement to therein on the basis of present invention is not departed from.Therefore, guarantor of the invention
Shield scope should be determined by the content of appended claims.
Claims (6)
1. a kind of method for identifying hyperlinked title, including:
S1:Judge the unfolding mode of the page;
S2:If the page is opened by clickable hyperlinks, the hyperlink on the page and/or on the page
Hyperlinked title identical hyperlinked title is searched and is clicked in content;
S3:If hyperlink mark is found and is clicked in the content of the hyperlink on the page and/or on the page
Identical hyperlinked title is inscribed, then is identified to finding with being clicked hyperlinked title identical hyperlinked title, and
It will find and navigated to being clicked hyperlinked title identical hyperlinked title in the indication range of current screen;Wherein,
Mark hyperlinked title not in the indication range in current screen when, the page slides automatically so that the hyperlink of the mark
Position display where title is in current screen;
S4:If hyperlink is not found and is clicked in the content of the hyperlink on the page and/or on the page
Title identical hyperlinked title, then search using fuzzy search method and be clicked hyperlinked title part identical hyperlink
Title, the process of the fuzzy search method are:
A1, hyperlinked title will be clicked subtract most previous word as keyword, all hyperlink marks of traversal full page
Search key is inscribed, if finding keyword, terminates to search and turns to step S5;If searched less than keyword, turn
To A2 rules;
A2, hyperlinked title will be clicked subtract most the first two word as keyword, all hyperlink marks of traversal full page
Topic is searched, if finding keyword, is terminated to search and is turned to step S5;If searched less than keyword, turn to
A3 rules;
In this way until turning to AN rules;
AN, individual word conduct key before hyperlinked title subtracts most (character length/2 for being clicked hyperlinked title) will be clicked
Word, all hyperlinked titles of traversal full page are searched, if finding keyword, terminate to search and turn to step
S5;If searched less than keyword, B1 rules are turned to;
B1, hyperlinked title will be clicked subtract the last word as keyword, all hyperlink marks of traversal full page
Topic is searched, if finding keyword, is terminated to search and is turned to step S5;If searched less than keyword, turn to
B2 rules;
B2, hyperlinked title will be clicked subtract two words of most end as keyword, all hyperlink marks of traversal full page
Topic is searched, if finding keyword, is terminated to search and is turned to step S5;If searched less than keyword, turn to
B3 rules;
In this way until turning to BN rules;
BN, hyperlinked title will be clicked subtract the individual word of most end (character length/2 for being clicked hyperlinked title) as crucial
Word, all hyperlinked titles of traversal full page are searched, if finding keyword, terminate to search and turn to step
S5;If searched less than keyword, C1 rules are turned to;
C1, hyperlinked title will be clicked subtract most previous word and the last word as keyword, traversal full page institute
Some hyperlinked titles are searched, if finding keyword, are terminated to search and are turned to step S5;If search less than pass
Key word, then turn to C2 rules;
C2, hyperlinked title will be clicked subtract two words of most the first two word and most end as keyword, traversal full page institute
Some hyperlinked titles are searched, if finding keyword, are terminated to search and are turned to step S5;If search less than pass
Key word, then turn to C3 rules;
In this way until turning to CN rules;
CN, (character length/4 for being clicked hyperlinked title) individual word and most end (quilt before hyperlinked title subtracts most will be clicked
Character length/4 of clickable hyperlinks title) individual word looked into as keyword, all hyperlinked titles of traversal full page
Look for, if finding keyword, terminate to search and turn to step S5;If searched less than keyword, terminate to search;
S5:It is identified to finding, and will finds with being clicked hyperlinked title part identical hyperlinked title
Navigated to being clicked hyperlinked title part identical hyperlinked title in the indication range of current screen;Wherein, identifying
Hyperlinked title not in the indication range of current screen when, the page slides automatically so that the hyperlinked title institute of the mark
Position display in current screen.
2. the method for identification hyperlinked title as claimed in claim 1, wherein,
If the page is opened by clickable hyperlinks, the length for being clicked hyperlinked title is obtained, if being clicked hyperlink
The length for connecing title is more than the length of preset characters, then while the page is opened, record is clicked hyperlinked title,
Hyperlinked title identical hyperlink mark is searched and is clicked on the page and/or in the content of the hyperlink of the page
Topic.
3. the method for identification hyperlinked title as claimed in claim 1, wherein, searched and by point using fuzzy search method
During hitting hyperlinked title part identical hyperlinked title,
If not finding and being clicked hyperlinked title part identical hyperlinked title, searched in the content of hyperlink
The hyperlinked title terminated comprising preset field and with preset characters, and to finding comprising preset field and with preset characters
The hyperlinked title of end is identified.
4. the method for identification hyperlinked title as claimed in claim 1, wherein,
If the page is to input network address by address field or call browser to open, hyperlink on the page
Searched in content comprising preset field and the hyperlinked title that is terminated with preset characters, and to finding comprising preset field and
The hyperlinked title terminated with preset characters is identified.
5. a kind of device for identifying hyperlinked title, including:
Page judging unit, for judging the unfolding mode of the page;
Hyperlinked title searching unit, search in the content for hyperlink on the page and/or on the page
Or part identical hyperlinked title identical with being clicked hyperlinked title, wherein being searched with fuzzy search method and by point
Hyperlinked title part identical hyperlinked title is hit, the process of the fuzzy search method is:
A1, hyperlinked title will be clicked subtract most previous word as keyword, all hyperlink marks of traversal full page
Search key is inscribed, if finding keyword, terminates to search and turn to performing hyperlinked title mark unit;If search
Less than keyword, then A2 rules are turned to;
A2, hyperlinked title will be clicked subtract most the first two word as keyword, all hyperlink marks of traversal full page
Topic is searched, if finding keyword, terminates to search and turn to performing hyperlinked title mark unit;If search not
To keyword, then A3 rules are turned to;
In this way until turning to AN rules;
AN, individual word conduct key before hyperlinked title subtracts most (character length/2 for being clicked hyperlinked title) will be clicked
Word, all hyperlinked titles of traversal full page are searched, if finding keyword, terminate to search and turn to execution
Hyperlinked title identifies unit;If searched less than keyword, B1 rules are turned to;
B1, hyperlinked title will be clicked subtract the last word as keyword, all hyperlink marks of traversal full page
Topic is searched, if finding keyword, terminates to search and turn to performing hyperlinked title mark unit;If search not
To keyword, then B2 rules are turned to;
B2, hyperlinked title will be clicked subtract two words of most end as keyword, all hyperlink marks of traversal full page
Topic is searched, if finding keyword, terminates to search and turn to performing hyperlinked title mark unit;If search not
To keyword, then B3 rules are turned to;
In this way until turning to BN rules;
BN, hyperlinked title will be clicked subtract the individual word of most end (character length/2 for being clicked hyperlinked title) as crucial
Word, all hyperlinked titles of traversal full page are searched, if finding keyword, terminate to search and turn to execution
Hyperlinked title identifies unit;If searched less than keyword, C1 rules are turned to;
C1, hyperlinked title will be clicked subtract most previous word and the last word as keyword, traversal full page institute
Some hyperlinked titles are searched, if finding keyword, terminate to search and turn to performing hyperlinked title mark list
Member;If searched less than keyword, C2 rules are turned to;
C2, hyperlinked title will be clicked subtract two words of most the first two word and most end as keyword, traversal full page institute
Some hyperlinked titles are searched, if finding keyword, terminate to search and turn to performing hyperlinked title mark list
Member;If searched less than keyword, C3 rules are turned to;
In this way until turning to CN rules;
CN, (character length/4 for being clicked hyperlinked title) individual word and most end (quilt before hyperlinked title subtracts most will be clicked
Character length/4 of clickable hyperlinks title) individual word looked into as keyword, all hyperlinked titles of traversal full page
Look for, if finding keyword, terminate to search and turn to performing hyperlinked title mark unit;If search less than key
Word, then terminate to search;
Hyperlinked title identifies unit, for surpassing to finding or part identical identical with being clicked hyperlinked title
Links header is identified, and will find or part identical hyperlinked title identical with being clicked hyperlinked title
Navigate in the indication range of current screen;Wherein, mark hyperlinked title not in the indication range in current screen when,
The page slides automatically so that the position display where the hyperlinked title of the mark is in current screen.
6. the device of identification hyperlinked title as claimed in claim 5, wherein, the page judging unit includes:
Hyperlinked title length acquiring unit, for when the page is opened by clickable hyperlinks, acquisition to be clicked hyperlink
Connect the length of title;
Hyperlinked title recording unit, for be clicked hyperlinked title length be more than preset characters length when, beating
While opening the page, record is clicked hyperlinked title.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310522760.4A CN103559246B (en) | 2013-10-29 | 2013-10-29 | Identify the method and device of hyperlinked title |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310522760.4A CN103559246B (en) | 2013-10-29 | 2013-10-29 | Identify the method and device of hyperlinked title |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103559246A CN103559246A (en) | 2014-02-05 |
CN103559246B true CN103559246B (en) | 2018-01-05 |
Family
ID=50013493
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310522760.4A Active CN103559246B (en) | 2013-10-29 | 2013-10-29 | Identify the method and device of hyperlinked title |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103559246B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104462330B (en) * | 2014-12-03 | 2018-09-14 | 合肥联宝信息技术有限公司 | A kind of searching method and device of mobile terminal keyword |
CN106066850A (en) * | 2016-05-30 | 2016-11-02 | 乐视控股(北京)有限公司 | A kind of content processing method and device |
CN109377275B (en) * | 2018-10-15 | 2024-05-31 | 中国平安人寿保险股份有限公司 | Data tracking method, device, computer equipment and storage medium |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1902627A (en) * | 2003-12-31 | 2007-01-24 | Google公司 | Systems and methods for direct navigation to specific portion of target document |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7143362B2 (en) * | 2001-12-28 | 2006-11-28 | International Business Machines Corporation | System and method for visualizing and navigating content in a graphical user interface |
-
2013
- 2013-10-29 CN CN201310522760.4A patent/CN103559246B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1902627A (en) * | 2003-12-31 | 2007-01-24 | Google公司 | Systems and methods for direct navigation to specific portion of target document |
Also Published As
Publication number | Publication date |
---|---|
CN103559246A (en) | 2014-02-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10599643B2 (en) | Template-driven structured query generation | |
US8195634B2 (en) | Domain-aware snippets for search results | |
CN103631887B (en) | Browser side carries out the method and browser of web search | |
US8862574B2 (en) | Providing a search-result filters toolbar | |
US20100146012A1 (en) | Previewing search results for suggested refinement terms and vertical searches | |
US20070074108A1 (en) | Categorizing page block functionality to improve document layout for browsing | |
CN103631794B (en) | A kind of method, apparatus and equipment for being ranked up to search result | |
US8359306B2 (en) | Intelligent automatic recognition toolbar search method and system | |
CN107562939B (en) | Vertical domain news recommendation method and device and readable storage medium | |
US20090144240A1 (en) | Method and systems for using community bookmark data to supplement internet search results | |
JP2013508807A (en) | Method and apparatus for generating an internet navigation page | |
CN104679783B (en) | A kind of network search method and device | |
KR20110085995A (en) | Providing search results | |
CN103577477B (en) | The methods of exhibiting of the browsing histories of browser and display systems | |
CN102456054B (en) | A kind of searching method and system | |
CN101097578A (en) | Network resource searching method and system | |
US20120036144A1 (en) | Information and recommendation device, method, and program | |
JP2010517133A (en) | Web site integrated search apparatus and method | |
CN103559246B (en) | Identify the method and device of hyperlinked title | |
TWI457775B (en) | Method for sorting and managing websites and electronic device of executing the same | |
JP5320835B2 (en) | Search result display method, program for realizing search result display function, and search result display system | |
CN103631793B (en) | A kind of method, apparatus and equipment for being ranked up to search result | |
CN108319613A (en) | A kind of method and apparatus that webpage information is sorted out | |
Yamamoto et al. | Rerank-by-example: Efficient browsing of web search results | |
CN106202314B (en) | Method and device for searching keywords in webpage |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20200417 Address after: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province Patentee after: Alibaba (China) Co.,Ltd. Address before: 100080 building 16, building 1610-1620, building 18, Building 29, Suzhou Street, Beijing, Haidian District Patentee before: UC MOBILE Ltd. |
|
TR01 | Transfer of patent right |