CN102902790A - Web page classification system and method - Google Patents

Web page classification system and method Download PDF

Info

Publication number
CN102902790A
CN102902790A CN2012103762934A CN201210376293A CN102902790A CN 102902790 A CN102902790 A CN 102902790A CN 2012103762934 A CN2012103762934 A CN 2012103762934A CN 201210376293 A CN201210376293 A CN 201210376293A CN 102902790 A CN102902790 A CN 102902790A
Authority
CN
China
Prior art keywords
page
webpage
mode
page framework
web 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.)
Granted
Application number
CN2012103762934A
Other languages
Chinese (zh)
Other versions
CN102902790B (en
Inventor
卢宏林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201210376293.4A priority Critical patent/CN102902790B/en
Publication of CN102902790A publication Critical patent/CN102902790A/en
Application granted granted Critical
Publication of CN102902790B publication Critical patent/CN102902790B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a web page classification system relating to the technical field of search engines. The system comprises a page frame ID (identity) computation module, a mode accumulation module and a web page class identification module, wherein the page frame ID computation module is suitable for extracting the page frame of a web page obtained in advance and computing the page frame ID; the mode accumulation module is suitable for computing the page frame mode when the quantity of the accumulated page frames with the same ID reaches a threshold; and the web page class identification module is suitable for comparing the page frame mode with a page frame mode of a known class in a product knowledge base built in advance to identify the class of the web page. The invention also discloses a web page classification method. According to the system and the method, whole network search and vertical search can be combined; therefore, the problems that extraction by a current universal algorithm is rough and extraction by a direction method is fine but huge in manual workload and poor in adaptability are solved, more accurate data contents can be extracted, and the problem on resource sharing of whole network search and vertical search is simultaneously solved.

Description

The Web page classifying system and method
Technical field
The present invention relates to Internet technical field, be specifically related to a kind of Web page classifying system and method.
Background technology
In search technique, basically be divided into two large classes.One class is as object take whole internet, grasp whole webpages (in a website, can restriction grasp the degree of depth at present, and generally not process js(java script), and be the processing section dynamic page), and the Webpage search that webpage is processed and analyzed, i.e. the whole network search.Another kind of is only to grasp vertical search with analyzing and processing for certain class page, as: picture searching, video search, Blog Search, forum's search, news search etc.For most of vertical search, all be based at present seed (being also referred to as list page) and process.The processing of vertical search can be divided into two parts: the first is looked for seed; It two is to find a specific product page from kind of subpage frame, and namely the page of different classes of (picture, video, news etc.) is then processed these product pages.
Existing the whole network is searched for, and does not basically consider the demand of vertical search.Treatment principle to each page is consistent basically.After analyzing exactly this page, obtain links whole on it.The whole network search system does not need to distinguish the link that these links are these websites, still points to the link of other websites.All newfound links all can feed back to scheduling, download and the analyzing and processing that system carries out a new round.During content on extracting the page, the whole network search is processed based on the independent page.If the use general-purpose algorithm can only extract rough content, can't carefully distinguish different data item.If adopt the mode of directed template to extract, although can accurately extract various data contents, exist labor workload large, and can't be suitable for the problem of website revision.
And existing the whole network search can't be distinguished the webpage classification, can only excavate for vertical search is auxiliary some Useful Informations.If existing vertical search, because Webpage search, both analyzing and processing modes are different.Independent mutually between the system, the page that the whole network search is downloaded, analyzing and processing is crossed, vertical search also can independently be downloaded and analyzing and processing, can't shared resource.
Summary of the invention
In view of the above problems, the present invention has been proposed in order to a kind of Web page classifying system and method that overcomes the problems referred to above or address the above problem at least in part is provided.
According to one aspect of the present invention, a kind of Web page classifying system is provided, comprising:
Page framework ID computing module is suitable for extracting the page framework of the webpage that obtains in advance, calculates page framework ID;
Pattern accumulative total module when the page framework quantity that is suitable for the identical ID of accumulative total reaches threshold value, is calculated page framework mode;
Webpage classification identification module is suitable for the page framework mode of known class in described page framework mode and the product knowledge database of setting up is in advance compared, to identify the classification under the webpage.
Alternatively, page framework ID computing module further comprises: page framework abstraction module is suitable for extracting according to the html linguistic labels in the webpage source code page framework of described webpage.
Alternatively, page framework ID computing module further comprises: page framework abstraction module, be suitable for identifying Web page text by punctuate, and remove text to obtain the page framework of described webpage.
Alternatively, described pattern accumulative total module further comprises: the threshold value adjustment module, be suitable for judging whether the page framework quantity of corresponding same ID totally reaches described threshold value in the given time, and if do not have, then the threshold value that this ID is corresponding is successively decreased with certain step-length.
Alternatively, described pattern accumulative total module further comprises:
List page identification module undetermined is suitable for judging whether to be positioned at the link of page fixed position piece and stable existence certain hour, if having, then setting this webpage is list page undetermined;
List page framework mode determination module is suitable for once described list page undetermined of at set intervals interior scheduling, is new url if described link is constantly updated, and just the page framework mode with described webpage is made as the list page framework mode.
Alternatively, described product knowledge database stores the weight of each web page characteristics under known class page framework mode and this pattern, and described webpage classification identification module further comprises:
Characteristic matching module is suitable for each web page characteristics of the page framework mode of known class in each web page characteristics of described page framework mode and the knowledge base is mated;
The feature grading module, being suitable for the web page characteristics on the coupling is that described page framework mode increases corresponding weight by different classifications;
Weight accumulative total module is suitable for the weight that category adds up described page framework mode gained under this classification, described page framework mode is classified as the classification of corresponding highest weighting.
Alternatively, described system also comprises: the list page processing module is list page if be suitable for identifying webpage, then extracts the content of described list page, further obtains webpage corresponding to information of listing in the described list page.
Alternatively, described system also comprises: the webpage acquisition module, and be suitable for obtaining webpage by the whole network search, and obtain webpage take website as unit, the web storage of the correspondence of different domain names is under identical root directory under the same website.
According to a further aspect in the invention, provide a kind of Web page classification method, may further comprise the steps:
Extract the page framework of the webpage that obtains in advance, and calculate page framework ID;
When the page framework quantity of the identical ID of accumulative total reaches threshold value, calculate page framework mode;
The page framework mode of known class in described page framework mode and the product knowledge database of setting up is in advance compared, to identify the classification under the webpage.
Alternatively, the mode that extracts the page framework of described webpage is: the page framework that extracts described webpage according to the html linguistic labels in the webpage source code.
Alternatively, the mode that extracts the page framework of described webpage is: identify Web page text by punctuate, remove text to obtain the page framework of described webpage.
Alternatively, judge whether the page framework quantity of corresponding same ID totally reaches described threshold value in the given time, if do not have, then the threshold value that this ID is corresponding is successively decreased with certain step-length.
Alternatively, the account form of described list page framework mode is:
Judge whether to be positioned at the link of page fixed position piece and stable existence certain hour, if having, then setting this webpage is list page undetermined;
Dispatch once described list page undetermined at set intervals, be new url if described link is constantly updated, just the page framework mode with described webpage is made as the list page framework mode.
Alternatively, described product knowledge database stores the weight of each web page characteristics under known class page framework mode and this pattern, and the mode that the page framework mode of known class in the product knowledge database of described page framework mode and in advance foundation is compared is:
Each web page characteristics of the page framework mode of known class in each web page characteristics of described page framework mode and the knowledge base is mated;
To the coupling on web page characteristics be that described page framework mode increases corresponding weight by different classifications,
Category adds up the weight of described page framework mode gained under this classification, described page framework mode is classified as the classification of corresponding highest weighting.
Alternatively, be list page if identify webpage, then extract the content of described list page, further obtain webpage corresponding to information of listing in the described list page.
Alternatively, obtain webpage by the whole network search, and obtain webpage take website as unit, the web storage of the correspondence of different domain names is under identical root directory under the same website.
The whole network search can be combined with vertical search according to Web page classifying system and method for the present invention, result to the whole network search classifies by the webpage classification, the vertical search system extracts in different ways according to different classifications, having solved thus in the past general-purpose algorithm extracts rough and oriented approach extracts meticulous but labor workload large and the problem of bad adaptability, more accurate data content be can extract, the whole network search and vertical search resource sharing problem solved simultaneously.Be not only the utilization ratio that has improved resource, key is to give full play to the comprehensive advantage of Webpage search coverage, obviously promotes the coverage of vertical search.
Above-mentioned explanation only is the general introduction of technical solution of the present invention, for can clearer understanding technological means of the present invention, and can be implemented according to the content of instructions, and for above and other objects of the present invention, feature and advantage can be become apparent, below especially exemplified by the specific embodiment of the present invention.
Description of drawings
By reading hereinafter detailed description of the preferred embodiment, various other advantage and benefits will become cheer and bright for those of ordinary skills.Accompanying drawing only is used for the purpose of preferred implementation is shown, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts with identical reference symbol.In the accompanying drawings:
Fig. 1 shows a kind of according to an embodiment of the invention Web page classification method process flow diagram;
Fig. 2 shows and identifies other particular flow sheet of web page class among Fig. 1 among the step S130;
Fig. 3 shows a kind of according to an embodiment of the invention Web page classifying system architecture synoptic diagram;
Fig. 4 shows the concrete structure synoptic diagram of webpage classification identification module among Fig. 3.
Embodiment
Exemplary embodiment of the present disclosure is described below with reference to accompanying drawings in more detail.Although shown exemplary embodiment of the present disclosure in the accompanying drawing, yet should be appreciated that and to realize the disclosure and the embodiment that should do not set forth limits here with various forms.On the contrary, it is in order to understand the disclosure more thoroughly that these embodiment are provided, and can with the scope of the present disclosure complete convey to those skilled in the art.
The Web page classification method flow process of present embodiment comprises as shown in Figure 1:
Step S 110, extract the page framework of the webpage that obtains in advance, and calculate page framework ID.The webpage that obtains in advance can be the webpage of the whole network search crawl.The mode that extracts the page framework of described webpage is: the page framework that extracts described webpage according to the html linguistic labels in the webpage source code, the mark that only keeps html linguistic labels middle frame class during extraction, as: frame, table etc., keep simultaneously id, name, class attribute, remove all the other attributes.Can also identify Web page text by punctuate, remove text to obtain the page framework of webpage.Behind the extraction page framework attribute in the page is calculated the hash value of page framework according to hash algorithm, be page framework ID, such as: utilize the salted hash Salted methods such as MD5 or FNV to calculate the hash value of page framework after extracting page framework, be about to the mark of frame clsss, as: frame, table and id thereof, name, class attribute etc. calculate by hash algorithm, and the acquired results value is page framework ID.Because adopt identical hash function, the page framework ID that identical page framework calculates is also identical.
Step S120 when the page framework quantity of the identical ID of accumulative total reaches threshold value, calculates page framework mode.Part of title, time, text philosophy calculate during calculating, and computing method can adopt machine automatic learning mechanism, calculate page framework mode as adopting support vector machine (support vector machine, SVM).During study webpage converted to the source code based on the Html language, and extract the html linguistic labels and close key label, obtain page framework, this step realizes in step S110.Page framework input SVM is learnt, namely page framework is carried out the coupling that the html linguistic labels closes key label, html linguistic labels in the page framework of some identical ID closes key label and can mate fully, therefore, after learning the quantity of above-mentioned threshold value for the page framework of identical ID, SVM just exports the page framework mode of respective page framework.Before study, also need to be done as follows for page framework: with title and title or anchor(anchor point) inner variable content coupling; Time will calculate according to the form of time; Text has variable ratio and length requirement, can reject like this rubbish contents such as advertisement.
In order to prevent that some webpage from can not get processing for a long time, judge whether the page framework quantity of corresponding same ID totally reaches this threshold value in the given time, if do not have, then the threshold value that this ID is corresponding is successively decreased with certain step-length.Wherein this threshold value is preferably 23.
Step S130 compares the page framework mode of known class in described page framework mode and the product knowledge database of setting up in advance, to identify the classification under the webpage.Wherein product knowledge database stores the weight of each web page characteristics under known class page framework mode and this pattern, web page characteristics and weight under the webpage classification page framework mode corresponding with it can be recorded in the form of mapping table in the product knowledge database, and be as shown in table 1 below:
Web page characteristics and weight mapping table under the table 1 webpage classification page framework mode corresponding with it
Figure BDA00002221760200061
Figure BDA00002221760200071
For example: the page framework mode of news web page, two web page characteristics wherein: comprise the news key word in (1) url, in (2) page-mode title, time, text are arranged.Its weight is respectively 50 and 30.It also can be bbs(forum that title, time, text are arranged in the page-mode) web page characteristics of the page framework mode of webpage, its weight is 20.The web page characteristics of list page comprises: comprising " more " key words, navigation bar pattern and webpage in the url is top-level domain etc., and the weight of setting is respectively: 30,50 and 60.
The step that the page framework mode of known class in page framework mode and the product knowledge database of setting up is in advance compared comprises as shown in Figure 2:
Step S210 mates each feature of the page framework mode of known class in each feature of page framework mode and the knowledge base.
Step S220 is that page framework mode increases corresponding weight to the feature on the coupling by different classifications, namely gives a mark by weight.
Step S230, the weight of category accumulative total page framework mode gained under this classification, the weight that is about to each the web page characteristics gained under each classification is cumulative, page framework mode is classified as the classification of corresponding highest weighting.
The webpage of different classifications obtains corresponding weight according to the feature of himself from product knowledge database.For example, if contain bbs or forum among the url, so just for bbs adds 50 minutes, if news is arranged in the url, just add 50 minutes for news.If title, time, text are arranged, just for news adds 30 minutes, also can add 20 minutes for bbs in page-mode.If the information such as floor, answer number are arranged, the bbs that just respectively does for oneself adds some marks.And so on.If the mark by news category weight gained after all characteristic matching of page framework mode is the highest, so this page framework mode is classified as news category.
For list page, can identify according to the process of above-mentioned steps S110 ~ S130, wherein, the feature of list page comprises: the domain name that webpage is corresponding is top-level domain; The navigation bar pattern; Comprise " more " key words etc.
Also can in step S120, press following mode Direct Recognition list page:
Judge whether domain name corresponding to webpage is top-level domain, if it is list page that this webpage then is set.If the domain name that webpage is corresponding is not top-level domain, recognized list page or leaf in the following manner then: judge whether to be positioned at the link of page fixed position piece and stable existence certain hour, if having, then setting this webpage is list page undetermined; Dispatch once described list page undetermined at set intervals, be new url if described link is constantly updated, just the page framework mode with this webpage is made as the list page framework mode, and namely this webpage is list page.For example: the navigation bar of webpage top, and comprise that the part of " more " printed words all is the link that is arranged in page fixed block usually in the web page frame, the webpage that namely comprises navigation bar and " more " printed words is list page.
All assign to corresponding classification according to page framework mode separately through webpage after above-mentioned three steps, adopt the mode of pressing the pattern extraction content of pages in the present embodiment, the page of model identical carries out content extraction by algorithm of the same race, and efficient is high and content that extract is accurate.
Drawing for the vertical search based on list page, in step S130, is list page if identify the web page frame pattern, then extracts the content of this list page, further obtains webpage corresponding to information of listing in the list page.
If putting together, the site page that will not the least concerned carries out pattern-recognition, disturbing factor is too many, the result is difficult to expect, therefore, further, in the present embodiment, obtain webpage take website as unit when obtaining webpage by the whole network search, the web storage of the correspondence of different domain names is under identical root directory under the same website.
The Web page classification method of present embodiment combines Webpage search and vertical search, is not only the utilization ratio that has improved resource, and key is to give full play to the comprehensive advantage of the whole network search coverage, has obviously promoted the coverage of vertical search.What is more important, emphasis of the present invention are by the website accumulation data, carry out mode counting in website, and then the ability of lifting identification different product, improve most possibly the excavating depth to web page contents, can extract more accurate data content, improve the quality of data of search engine.
The present invention also provides a kind of Web page classifying system 3, and its structural representation comprises as shown in Figure 3: page framework ID computing module 310, pattern accumulative total module 320 and webpage classification identification module 330.
Page framework ID computing module 310 is suitable for extracting the page framework of the webpage that obtains in advance, calculates page framework ID.Page framework ID computing module 310 further comprises: page framework abstraction module is suitable for the page framework according to the extraction of the html linguistic labels in webpage source code webpage.Page framework abstraction module also is suitable for identifying Web page text by punctuate, removes text to obtain the page framework of webpage.
When the page framework quantity that pattern accumulative total module 320 is suitable for the identical ID of accumulative total reaches threshold value, calculate page framework mode.Pattern accumulative total module 320 further comprises: the threshold value adjustment module, be suitable for judging whether the page framework quantity of corresponding same ID totally reaches threshold value in the given time, and if do not have, then the threshold value that this ID is corresponding is successively decreased with certain step-length.
Pattern accumulative total module 320 further comprises: the domain name identification module is suitable for judging whether domain name corresponding to webpage is top-level domain, if it is list page that this webpage then is set.Pattern accumulative total module 320 also further comprises: list page identification module undetermined, be suitable for judging whether to be positioned at the link of page fixed position piece and stable existence certain hour, and if having, then setting this webpage is list page undetermined; List page framework mode determination module is suitable for once described list page undetermined of at set intervals interior scheduling, is new url if described link is constantly updated, and just the page framework mode with described webpage is made as the list page framework mode.
Webpage classification identification module 330 is suitable for the page framework mode of known class in page framework mode and the product knowledge database of setting up is in advance compared, to identify the classification under the webpage.Webpage classification identification module 330 concrete structures further comprise as shown in Figure 4:
Characteristic matching module 410 is suitable for each feature of the page framework mode of known class in each feature of page framework mode and the knowledge base is mated;
Feature grading module 420, being suitable for the feature on the coupling is that page framework mode increases corresponding weight by different classifications;
Weight accumulative total module 430 is suitable for the weight that category adds up page framework mode gained under this classification, page framework mode is classified as the classification of corresponding highest weighting.
The Web page classifying system of present embodiment also comprises: the list page processing module is list page if be suitable for identifying webpage, then extracts the content of list page, further obtains webpage corresponding to information of listing in the list page.
The Web page classifying system of present embodiment also comprises: the webpage acquisition module, and be suitable for obtaining webpage by the whole network search, and obtain webpage take website as unit, the web storage of the correspondence of different domain names is under identical root directory under the same website.
Intrinsic not relevant with any certain computer, virtual system or miscellaneous equipment with demonstration at this algorithm that provides.Various general-purpose systems also can be with using based on the teaching at this.According to top description, it is apparent constructing the desired structure of this type systematic.In addition, the present invention is not also for any certain programmed language.Should be understood that and to utilize various programming languages to realize content of the present invention described here, and the top description that language-specific is done is in order to disclose preferred forms of the present invention.
In the instructions that provides herein, a large amount of details have been described.Yet, can understand, embodiments of the invention can be put into practice in the situation of these details not having.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand one or more in each inventive aspect, in the description to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes in the above.Yet the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires the more feature of feature clearly put down in writing than institute in each claim.Or rather, as following claims reflected, inventive aspect was to be less than all features of the disclosed single embodiment in front.Therefore, follow claims of embodiment and incorporate clearly thus this embodiment into, wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and can adaptively change and they are arranged in one or more equipment different from this embodiment the module in the equipment among the embodiment.Can be combined into a module or unit or assembly to the module among the embodiment or unit or assembly, and can be divided into a plurality of submodules or subelement or sub-component to them in addition.In such feature and/or process or unit at least some are mutually repelling, and can adopt any combination to disclosed all features in this instructions (comprising claim, summary and the accompanying drawing followed) and so all processes or the unit of disclosed any method or equipment make up.Unless in addition clearly statement, disclosed each feature can be by providing identical, being equal to or the alternative features of similar purpose replaces in this instructions (comprising claim, summary and the accompanying drawing followed).
In addition, those skilled in the art can understand, although embodiment more described herein comprise some feature rather than further feature included among other embodiment, the combination of the feature of different embodiment means and is within the scope of the present invention and forms different embodiment.For example, in the following claims, the one of any of embodiment required for protection can be used with array mode arbitrarily.
All parts embodiment of the present invention can realize with hardware, perhaps realizes with the software module of moving at one or more processor, and perhaps the combination with them realizes.It will be understood by those of skill in the art that and to use in practice microprocessor or digital signal processor (DSP) to realize according to some or all some or repertoire of parts in the Web page classifying system of the embodiment of the invention.The present invention can also be embodied as be used to part or all equipment or the device program (for example, computer program and computer program) of carrying out method as described herein.Such realization program of the present invention can be stored on the computer-readable medium, perhaps can have the form of one or more signal.Such signal can be downloaded from internet website and obtain, and perhaps provides at carrier signal, perhaps provides with any other form.
It should be noted above-described embodiment the present invention will be described rather than limit the invention, and those skilled in the art can design alternative embodiment in the situation of the scope that does not break away from claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and is not listed in element or step in the claim.Being positioned at word " " before the element or " one " does not get rid of and has a plurality of such elements.The present invention can realize by means of the hardware that includes some different elements and by means of the computing machine of suitably programming.In having enumerated the unit claim of some devices, several in these devices can be to come imbody by same hardware branch.The use of word first, second and C grade does not represent any order.Can be title with these word explanations.

Claims (16)

1. Web page classifying system comprises:
Page framework ID computing module is suitable for extracting the page framework of the webpage that obtains in advance, calculates page framework ID;
Pattern accumulative total module when the page framework quantity that is suitable for the identical I D of accumulative total reaches threshold value, is calculated page framework mode;
Webpage classification identification module is suitable for the page framework mode of known class in described page framework mode and the product knowledge database of setting up is in advance compared, to identify the classification under the webpage.
2. Web page classifying as claimed in claim 1 system is characterized in that page framework I D computing module further comprises: page framework abstraction module is suitable for extracting according to the html linguistic labels in the webpage source code page framework of described webpage.
3. Web page classifying as claimed in claim 1 or 2 system is characterized in that page framework ID computing module further comprises: page framework abstraction module, be suitable for identifying Web page text by punctuate, and remove text to obtain the page framework of described webpage.
4. such as each described Web page classifying system in the claim 1 ~ 3, it is characterized in that, described pattern accumulative total module further comprises: the threshold value adjustment module, be suitable for judging whether the page framework quantity of corresponding same ID totally reaches described threshold value in the given time, if no, then threshold value that this ID is corresponding is successively decreased with certain step-length.
5. such as each described Web page classifying system in the claim 1 ~ 4, it is characterized in that described pattern accumulative total module further comprises:
List page identification module undetermined is suitable for judging whether to be positioned at the link of page fixed position piece and stable existence certain hour, if having, then setting this webpage is list page undetermined;
List page framework mode determination module is suitable for once described list page undetermined of at set intervals interior scheduling, is new url if described link is constantly updated, and just the page framework mode with described webpage is made as the list page framework mode.
6. such as each described Web page classifying system in the claim 1 ~ 5, it is characterized in that described product knowledge database stores the weight of each web page characteristics under known class page framework mode and this pattern, described webpage classification identification module further comprises:
Characteristic matching module is suitable for each web page characteristics of the page framework mode of known class in each web page characteristics of described page framework mode and the knowledge base is mated;
The feature grading module, being suitable for the web page characteristics on the coupling is that described page framework mode increases corresponding weight by different classifications;
Weight accumulative total module is suitable for the weight that category adds up described page framework mode gained under this classification, described page framework mode is classified as the classification of corresponding highest weighting.
7. such as each described Web page classifying system in the claim 1 ~ 6, it is characterized in that described system also comprises: the list page processing module is list page if be suitable for identifying webpage, then extract the content of described list page, further obtain webpage corresponding to information of listing in the described list page.
8. such as each described Web page classifying system in the claim 1 ~ 7, it is characterized in that, described system also comprises: the webpage acquisition module, be suitable for obtaining webpage by the whole network search, and obtaining webpage take website as unit, the web storage of the correspondence of different domain names is under identical root directory under the same website.
9. Web page classification method may further comprise the steps:
Extract the page framework of the webpage that obtains in advance, and calculate page framework ID;
When the page framework quantity of the identical ID of accumulative total reaches threshold value, calculate page framework mode;
The page framework mode of known class in described page framework mode and the product knowledge database of setting up is in advance compared, to identify the classification under the webpage.
10. Web page classification method as claimed in claim 9 is characterized in that, the mode that extracts the page framework of described webpage is: the page framework that extracts described webpage according to the html linguistic labels in the webpage source code.
11., it is characterized in that the mode that extracts the page framework of described webpage is such as claim 9 or 10 described Web page classification methods: identify Web page text by punctuate, remove text to obtain the page framework of described webpage.
12. such as each described Web page classification method in the claim 9 ~ 11, it is characterized in that, judge whether the page framework quantity of corresponding same ID totally reaches described threshold value in the given time, if do not have, then the threshold value that this ID is corresponding is successively decreased with certain step-length.
13. such as each described Web page classification method in the claim 9 ~ 12, it is characterized in that the account form of described list page framework mode is:
Judge whether to be positioned at the link of page fixed position piece and stable existence certain hour, if having, then setting this webpage is list page undetermined;
Dispatch once described list page undetermined at set intervals, be new url if described link is constantly updated, just the page framework mode with described webpage is made as the list page framework mode.
14. such as each described Web page classification method in the claim 9 ~ 13, it is characterized in that, described product knowledge database stores the weight of each web page characteristics under known class page framework mode and this pattern, and the mode that the page framework mode of known class in the product knowledge database of described page framework mode and in advance foundation is compared is:
Each web page characteristics of the page framework mode of known class in each web page characteristics of described page framework mode and the knowledge base is mated;
To the coupling on web page characteristics be that described page framework mode increases corresponding weight by different classifications,
Category adds up the weight of described page framework mode gained under this classification, described page framework mode is classified as the classification of corresponding highest weighting.
15. such as each described Web page classification method in the claim 9 ~ 14, it is characterized in that, be list page if identify webpage, then extract the content of described list page, further obtain webpage corresponding to information of listing in the described list page.
16., it is characterized in that obtain webpage by the whole network search, and obtain webpage take website as unit, the web storage of the correspondence of different domain names is under identical root directory under the same website such as each described Web page classification method in the claim 9 ~ 15.
CN201210376293.4A 2012-09-29 2012-09-29 Web page classification system and method Active CN102902790B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210376293.4A CN102902790B (en) 2012-09-29 2012-09-29 Web page classification system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210376293.4A CN102902790B (en) 2012-09-29 2012-09-29 Web page classification system and method

Publications (2)

Publication Number Publication Date
CN102902790A true CN102902790A (en) 2013-01-30
CN102902790B CN102902790B (en) 2017-06-06

Family

ID=47575022

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210376293.4A Active CN102902790B (en) 2012-09-29 2012-09-29 Web page classification system and method

Country Status (1)

Country Link
CN (1) CN102902790B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102902794A (en) * 2012-09-29 2013-01-30 北京奇虎科技有限公司 Web page classification system and method
CN104331429A (en) * 2014-10-21 2015-02-04 北京奇虎科技有限公司 Method and device for performing multi-characteristic dimension quantization on network object
CN104504027A (en) * 2014-12-12 2015-04-08 北京国双科技有限公司 Method and device for automatically selecting webpage content
CN104699843A (en) * 2015-03-31 2015-06-10 北京奇虎科技有限公司 Method and device for providing product comparison information in search result
CN106708952A (en) * 2016-11-25 2017-05-24 北京神州绿盟信息安全科技股份有限公司 Web page clustering method and device
CN111914201A (en) * 2020-08-07 2020-11-10 腾讯科技(深圳)有限公司 Network page processing method and device

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101251855A (en) * 2008-03-27 2008-08-27 腾讯科技(深圳)有限公司 Equipment, system and method for cleaning internet web page
US20080275890A1 (en) * 2007-05-04 2008-11-06 Yahoo! Inc. System and method for smoothing hierarchical data using isotonic regression
CN101593200A (en) * 2009-06-19 2009-12-02 淮海工学院 Chinese Web page classification method based on the keyword frequency analysis
CN101630330A (en) * 2009-08-14 2010-01-20 苏州锐创通信有限责任公司 Method for webpage classification
US20100161652A1 (en) * 2008-12-24 2010-06-24 Yahoo! Inc. Rapid iterative development of classifiers
CN102043630A (en) * 2010-12-30 2011-05-04 国网电力科学研究院 Method and system for generating multi-page in framework
CN102163203A (en) * 2010-02-24 2011-08-24 富士通株式会社 Method and device for downloading web pages
CN102170640A (en) * 2011-06-01 2011-08-31 南通海韵信息技术服务有限公司 Mode library-based smart mobile phone terminal adverse content website identifying method
CN102411587A (en) * 2010-09-21 2012-04-11 腾讯科技(深圳)有限公司 Webpage classification method and device
CN102591612A (en) * 2011-12-27 2012-07-18 厦门市美亚柏科信息股份有限公司 General webpage text extraction method based on punctuation continuity and system thereof
CN102902794A (en) * 2012-09-29 2013-01-30 北京奇虎科技有限公司 Web page classification system and method

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080275890A1 (en) * 2007-05-04 2008-11-06 Yahoo! Inc. System and method for smoothing hierarchical data using isotonic regression
CN101251855A (en) * 2008-03-27 2008-08-27 腾讯科技(深圳)有限公司 Equipment, system and method for cleaning internet web page
US20100161652A1 (en) * 2008-12-24 2010-06-24 Yahoo! Inc. Rapid iterative development of classifiers
CN101593200A (en) * 2009-06-19 2009-12-02 淮海工学院 Chinese Web page classification method based on the keyword frequency analysis
CN101630330A (en) * 2009-08-14 2010-01-20 苏州锐创通信有限责任公司 Method for webpage classification
CN102163203A (en) * 2010-02-24 2011-08-24 富士通株式会社 Method and device for downloading web pages
CN102411587A (en) * 2010-09-21 2012-04-11 腾讯科技(深圳)有限公司 Webpage classification method and device
CN102043630A (en) * 2010-12-30 2011-05-04 国网电力科学研究院 Method and system for generating multi-page in framework
CN102170640A (en) * 2011-06-01 2011-08-31 南通海韵信息技术服务有限公司 Mode library-based smart mobile phone terminal adverse content website identifying method
CN102591612A (en) * 2011-12-27 2012-07-18 厦门市美亚柏科信息股份有限公司 General webpage text extraction method based on punctuation continuity and system thereof
CN102902794A (en) * 2012-09-29 2013-01-30 北京奇虎科技有限公司 Web page classification system and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
郑德权 等: "Blog网页分类与识别技术研究", 《通信学报》 *

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102902794B (en) * 2012-09-29 2016-08-03 北京奇虎科技有限公司 Web page classification system and method
CN102902794A (en) * 2012-09-29 2013-01-30 北京奇虎科技有限公司 Web page classification system and method
CN104331429B (en) * 2014-10-21 2018-04-27 北京奇虎科技有限公司 The method and device of multiple features dimension quantization is carried out to network object
CN104331429A (en) * 2014-10-21 2015-02-04 北京奇虎科技有限公司 Method and device for performing multi-characteristic dimension quantization on network object
CN104504027A (en) * 2014-12-12 2015-04-08 北京国双科技有限公司 Method and device for automatically selecting webpage content
CN104699843A (en) * 2015-03-31 2015-06-10 北京奇虎科技有限公司 Method and device for providing product comparison information in search result
CN104699843B (en) * 2015-03-31 2016-08-24 北京奇虎科技有限公司 The method and device of product comparative information is provided in Search Results
CN106708952A (en) * 2016-11-25 2017-05-24 北京神州绿盟信息安全科技股份有限公司 Web page clustering method and device
WO2018095411A1 (en) * 2016-11-25 2018-05-31 北京神州绿盟信息安全科技股份有限公司 Web page clustering method and device
CN106708952B (en) * 2016-11-25 2019-11-19 北京神州绿盟信息安全科技股份有限公司 A kind of Webpage clustering method and device
US11023540B2 (en) 2016-11-25 2021-06-01 NSFOCUS Information Technology Co., Ltd. Web page clustering method and device
CN111914201A (en) * 2020-08-07 2020-11-10 腾讯科技(深圳)有限公司 Network page processing method and device
CN111914201B (en) * 2020-08-07 2023-11-07 腾讯科技(深圳)有限公司 Processing method and device of network page

Also Published As

Publication number Publication date
CN102902790B (en) 2017-06-06

Similar Documents

Publication Publication Date Title
CN102722563B (en) Method and device for displaying page
CN104834729B (en) Topic recommends method and topic recommendation apparatus
CN102411587B (en) Webpage classification method and device
CN106202514A (en) Accident based on Agent is across the search method of media information and system
CN112749284B (en) Knowledge graph construction method, device, equipment and storage medium
CN109145216A (en) Network public-opinion monitoring method, device and storage medium
CN101853300B (en) Method and system for identifying and evaluating video downloading service website
CN109522562B (en) Webpage knowledge extraction method based on text image fusion recognition
US20090319449A1 (en) Providing context for web articles
CN102902790A (en) Web page classification system and method
CN102902794A (en) Web page classification system and method
JP2003330948A (en) Device and method for evaluating web page
CN110457579B (en) Webpage denoising method and system based on cooperative work of template and classifier
CN107153716B (en) Webpage content extraction method and device
CN103853822A (en) Method and device for pushing news information in browser
CN102831252A (en) Method and device for updating index database and search method and system
WO2014000130A1 (en) Method or system for automated extraction of hyper-local events from one or more web pages
CN102902792B (en) list page identification system and method
CN108959550B (en) User focus mining method, device, equipment and computer readable medium
CN112818200A (en) Data crawling and event analyzing method and system based on static website
CN103631889A (en) Image recognizing method and device
CN105630937A (en) Method and device for searching answers to exam questions
CN102902784A (en) Web page classification storage system and method
CN113918794B (en) Enterprise network public opinion benefit analysis method, system, electronic equipment and storage medium
CN102890717B (en) Webpage category knowledge base set up system and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into 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: 20240111

Address after: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right