Page data processing method, device, equipment and medium
By identifying and evaluating the quality of the target page in the sprocket and deleting low-quality pages, the problem of poor page data processing in the existing technology is solved, the page quality and user experience are improved, and the accuracy and robustness of the processing method are enhanced. sex.
Patent Information
- Application Number
- CN202111043631.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-07
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2041-09-07
AI Technical Summary
After existing page data processing methods process low-quality page nodes, they often also process other page nodes or websites that are directed to the page node. The effect is not good, and there is a lack of comprehensive evaluation of the sprocket quality, which is prone to errors. Misjudgment, resulting in pages that should not be processed being processed incorrectly.
By identifying the sprocket with a diversion relationship, the quality information of the target page in the sprocket is determined, the quality information of the sprocket is determined based on the quality information of all target pages, the target page is deleted when the preset conditions are met, and the target page in the sprocket is The page is processed to improve the overall quality of the sprocket and avoid misjudgment.
It improves the quality of pages obtained by crawlers, reduces the number of low-quality pages in the database, improves users' experience with search engines, and enhances the accuracy and robustness of page data processing methods.
Smart Images

Figure CN113742625B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the computer field, specifically to computer network technology, search engine technology and software application technology, and particularly to a page data processing method, device, electronic device, computer-readable storage medium and computer program product. Background Art
[0002] Search engines crawl a large number of web pages, filter these pages, and then include the filtered pages in the index library. After the user sends a query request to the search engine, the search engine filters out relevant pages according to the request, and then sorts these pages through various means, and based on the sorting results, displays all or part of the relevant pages to the user.
[0003] The methods described in this section are not necessarily methods that have been previously conceived or employed. Unless otherwise indicated, it should not be assumed that any method described in this section is considered to be prior art simply because it is included in this section. Similarly, unless otherwise indicated, the issues mentioned in this section should not be considered to have been recognized in any prior art. Summary of the invention
[0004] The present disclosure provides a page data processing method, device, electronic device, computer-readable storage medium and computer program product.
[0005] According to one aspect of the present disclosure, a page data processing method is provided. The page data processing method includes: determining a sprocket with a diversion relationship, the sprocket includes multiple first pages, wherein for each first page in the multiple first pages, the first page can be diverted back to the first page through the multiple first pages in sequence according to the diversion relationship; determining at least one second page different from the multiple first pages and page quality information corresponding to the at least one second page, wherein each second page in the at least one second page is diverted by at least a portion of the corresponding first pages in the multiple first pages; determining the sprocket quality information of the sprocket based on the respective page quality information of the at least one second page; and in response to determining that the sprocket quality information satisfies the first preset condition, deleting at least one second page, and performing a first processing on the first page in the multiple first pages that is diverted to any one of the at least one second page.
[0006] According to another aspect of the present disclosure, a page data processing device is provided. The page data processing device includes: a first determination unit, configured to determine a sprocket with a diversion relationship, the sprocket including a plurality of first pages, wherein for each of the plurality of first pages, the first page can be diverted back to the first page through the plurality of first pages in sequence according to the diversion relationship; a second determination unit, configured to determine at least one second page different from the plurality of first pages and page quality information corresponding to the at least one second page, wherein each of the at least one second page is diverted by at least a portion of the corresponding first pages of the plurality of first pages; a third determination unit, configured to determine the sprocket quality information of the sprocket based on the respective page quality information of the at least one second page; and a first processing unit, configured to delete at least one second page in response to determining that the sprocket quality information satisfies a first preset condition, and perform a first processing on a first page of the plurality of first pages that is diverted to any one of the at least one second page.
[0007] According to another aspect of the present disclosure, an electronic device is provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the above-mentioned page data processing method.
[0008] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable a computer to execute the above-mentioned page data processing method.
[0009] According to another aspect of the present disclosure, a computer program product is provided, including a computer program, wherein the computer program implements the above-mentioned page data processing method when executed by a processor.
[0010] According to one or more embodiments of the present disclosure, by identifying the sprockets with the diversion relationship and judging the quality information of the target page (second page) to which some pages in the sprocket are diverted at the same time, the quality information of the sprocket is determined based on the quality information of all the target pages, and then the target page is deleted when the quality of the sprocket meets the preset conditions and the pages in the sprocket that are diverted to any target page are processed according to the quality information of the sprocket, thereby realizing the identification and quality evaluation of the sprocket, and by processing the inferior sprockets, the overall quality of a large number of pages obtained by the crawler is improved, the number of low-quality pages in the database is reduced, and the user experience of the search engine is improved. In addition, since the quality information of all the target pages is referred to when evaluating the quality of the sprocket, it is avoided that the pages that should not be processed in the sprocket are processed when the quality of the target page is misjudged or other situations occur, thereby further improving the accuracy and robustness of the page data processing method of the present disclosure.
[0011] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] The accompanying drawings exemplarily illustrate the embodiments and constitute a part of the specification, and together with the text description of the specification, are used to explain the exemplary implementation of the embodiments. The embodiments shown are for illustrative purposes only and do not limit the scope of the claims. In all drawings, the same reference numerals refer to similar but not necessarily identical elements.
[0013] Figure 1 A flow chart of a page data processing method according to an exemplary embodiment of the present disclosure is shown;
[0014] Figure 2 A schematic diagram of a sprocket according to an exemplary embodiment of the present disclosure is shown;
[0015] Figure 3 A flow chart of a page data processing method according to an exemplary embodiment of the present disclosure is shown;
[0016] Figure 4 A flow chart of a page data processing method according to an exemplary embodiment of the present disclosure is shown;
[0017] Figure 5 A schematic diagram of a spider pool according to an exemplary embodiment of the present disclosure is shown;
[0018] Figure 6 A structural block diagram of a page data processing device according to an exemplary embodiment of the present disclosure is shown;
[0019] Figure 7 A structural block diagram showing a page data processing device according to an exemplary embodiment of the present disclosure; and
[0020] Figure 8 A structural block diagram of an exemplary electronic device that can be used to implement the embodiments of the present disclosure is shown. DETAILED DESCRIPTION
[0021] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope of the present disclosure. Similarly, for the sake of clarity and conciseness, the description of well-known functions and structures is omitted in the following description.
[0022] In the present disclosure, unless otherwise specified, the use of the terms "first", "second", etc. to describe various elements is not intended to limit the positional relationship, timing relationship, or importance relationship of these elements, and such terms are only used to distinguish one element from another element. In some examples, the first element and the second element may refer to the same instance of the element, and in some cases, based on the description of the context, they may also refer to different instances.
[0023] The terms used in the description of various examples in this disclosure are only for the purpose of describing specific examples and are not intended to be limiting. Unless the context clearly indicates otherwise, if the number of elements is not specifically limited, the element can be one or more. In addition, the term "and / or" used in this disclosure covers any one of the listed items and all possible combinations.
[0024] In the related art, some existing page data processing methods, after processing the low-quality page node itself or the website where it is located, will also process other page nodes or websites that are directed to the page node. However, the existing methods have a single way of processing the diversion nodes and the effect is poor.
[0025] To solve the above problems, the present invention identifies the sprockets with diversion relationships and judges the quality information of the target page (second page) that some pages in the sprocket divert at the same time, thereby determining the quality information of the sprocket based on the quality information of all target pages, and then deleting the target page when the sprocket quality meets the preset conditions and processing the pages in the sprocket that divert to any target page according to the quality information of the sprocket, thereby realizing the identification and quality evaluation of the sprocket, and by processing the inferior sprockets, improving the overall quality of a large number of pages obtained by the crawler, reducing the number of low-quality pages in the database, and improving the user experience of the search engine. In addition, since the quality information of all target pages is referenced when evaluating the quality of the sprocket, it is avoided that the pages that should not be processed in the sprocket are processed when there is a misjudgment of the quality of the target page or other situations, thereby further improving the accuracy and robustness of the page data processing method disclosed in the present invention.
[0026] According to one aspect of the present disclosure, a method for processing page data is provided. Figure 1 As shown, the page data processing method includes: step S101, determining a sprocket with a diversion relationship, the sprocket including multiple first pages, wherein, for each first page in the multiple first pages, the first page can be diverted back to the first page through the multiple first pages in sequence according to the diversion relationship; step S102, determining at least one second page different from the multiple first pages and page quality information corresponding to the at least one second page, wherein each of the at least one second page is diverted by at least a portion of the corresponding first pages in the multiple first pages; step S103, determining the sprocket quality information of the sprocket based on the page quality information of the at least one second page; and step S104, in response to determining that the sprocket quality information satisfies the first preset condition, deleting at least one second page, and performing a first processing on the first page in the multiple first pages that is diverted to any one of the at least one second page.
[0027] Thus, by identifying the sprockets with the diversion relationship and judging the quality information of the target page (second page) that some pages in the sprocket divert at the same time, the quality information of the sprocket is determined based on the quality information of all the target pages, and then the target page is deleted when the quality of the sprocket meets the preset conditions, and the pages in the sprocket that divert to any target page are processed according to the quality information of the sprocket, thereby realizing the identification and quality evaluation of the sprocket, and by processing the inferior sprockets, the overall quality of a large number of pages obtained by the crawler is improved, the number of low-quality pages in the database is reduced, and the user experience of the search engine is improved. In addition, since the quality information of all the target pages is referred to when evaluating the quality of the sprocket, it is avoided that the pages that should not be processed in the sprocket are processed when the quality of the target page is misjudged or other situations occur, thereby further improving the accuracy and robustness of the page data processing method disclosed in the present invention.
[0028] According to some embodiments, the first page and the second page may be web pages captured by a search engine, for example. The page data processing method described in the present disclosure may be applied to page data that has not yet been stored in an index library after being captured, or to page data that has already been stored in an index library, without limitation herein.
[0029] According to some embodiments, web pages may include links, and these links may be used to direct traffic to other web pages, so that when a search engine crawls a page, it may crawl and process the page to be directed based on the links on the crawled page. The links and traffic directing relationships between web pages and pages may constitute a page relationship network. As the number of covered pages increases, the page relationship network will become more and more complex.
[0030] According to some embodiments, any two of the plurality of first pages may belong to different websites, and any one of the plurality of first pages and any one of the at least one second page may belong to different websites. Since links between web pages within the same website are not very helpful for traffic diversion, only external links between websites may be mined.
[0031] According to some embodiments, step S101, determining a sprocket with a diversion relationship may be, for example, determining a sprocket in a page relationship network. The sprocket may be, for example, composed of a plurality of first pages with an annular diversion structure. For each of the plurality of first pages, starting from the first page, the flow may be diverted through each of the plurality of first pages in sequence, and finally diverted back to the first page. In an exemplary embodiment, Figure 2As shown, first pages 202, 204, 206, 208, 210, and 212 form a sprocket. Among them, 202 guides to 204, 204 guides to 206, 206 guides to 208, 208 guides to 210, 210 guides to 212, and 212 guides to 202, so that each first page can be guided six times clockwise to return to the first page. Each of the first pages 202-212 guides to the second page 214.
[0032] According to some embodiments, each of the at least one second page determined in step S102 may be a page to which all first pages in the sprocket are directed, or may be a page to which at least a portion of the first pages in the sprocket are directed, which is not limited here. The present disclosure also does not limit the number of second pages.
[0033] According to some embodiments, the judgment dimensions of the page quality information of the second page may include, for example, whether there is cheating, the richness of the content, the user's browsing experience, and the authority of the page, etc. In some embodiments, the page quality information of the second page can be judged by only one dimension. In an exemplary embodiment, in response to determining that a second page has cheating behavior, its page quality information is directly set to "low quality". In another exemplary embodiment, in response to determining that the authority of a second page is high, its page quality information is directly set to "high quality". In other embodiments, the quality of the page can be comprehensively judged according to multiple dimensions, which is not limited here. It can be understood that the present disclosure does not limit the specific method of indicating page quality information. For example, a page quality score can be used to indicate page quality information, or multiple gears can be used to indicate page quality information. Page quality information can also be indicated in other ways, which is not limited here.
[0034] According to some embodiments, step S103, determining the sprocket quality information of the sprocket based on the page quality information of at least one second page, for example, may include: determining the sprocket quality information based on the page quality score of at least one second page. In some embodiments, the sprocket quality information may be determined based on at least one of the average value, weighted average value, maximum value, minimum value, and median of the page quality score of at least one second page. In an exemplary embodiment, the average value of the page quality score of at least one second page may be directly used as the sprocket quality information. Specifically, let the page quality score of the second page be single_target_quality, then the sprocket quality information may be calculated by the following formula:
[0035] target_quality=∑single_target_quality / n
[0036] Wherein, n is the number of the second pages.
[0037] It is understandable that those skilled in the art can set rules by themselves to determine the sprocket quality information based on the page quality information of at least one second page, so that the sprocket quality information can comprehensively reflect the quality of these second pages, which is not limited here.
[0038] According to some embodiments, in step S104, in response to determining that the sprocket quality information satisfies the first preset condition, at least one second page may be deleted, and a first process may be performed on a first page of the plurality of first pages that is directed to any second page of the at least one second page. In the case where it is determined that the sprocket quality is poor, all second pages may be deleted, and a first process may be performed on all first pages directed to these second pages, so as to avoid crawling more low-quality pages through the first page that is directed to the low-quality page, thereby improving the overall quality of the pages acquired by the crawler.
[0039] It is understandable that those skilled in the art can set the first preset condition according to their needs to achieve accurate identification of low-quality sprockets, which is not limited here.
[0040] According to some embodiments, the first processing may include, for example, at least one of suppression processing, weight reduction, and page deletion. In an exemplary embodiment, the first processing may include deleting a first page among multiple first pages that is directed to any second page among at least one second page and does not belong to the whitelist. Thus, by deleting the first page that is directed to the second page and does not belong to the whitelist, part of the diversion relationship between the first pages on the low-quality sprocket is cut off, so as to avoid the crawler constantly crawling the content diverted by the nodes on the low-quality sprocket, and further improving the overall quality of the pages obtained by the crawler.
[0041] According to some embodiments, deleting the first page may be, for example, deleting the first page in the sprocket, or deleting the first page in all sprockets including the first page, or removing the first page from the captured pages, which is not limited here.
[0042] According to some embodiments, the whitelist may include at least one of the following: a user-generated content page, an official website page, and a large website page. In some embodiments, in a user-generated content page, a malicious person will add a link to a low-quality page to the page by replying or otherwise, and if such pages are directly deleted, it will result in unreasonable suppression of some high-quality user-generated content pages. Therefore, this type of user-generated content page can be added to the whitelist to avoid being processed. Similarly, official website pages, large website pages, and pages of other quality-guaranteed websites will also have similar problems, so pages on these websites can also be added to the whitelist. It is understandable that those skilled in the art can set the whitelist by themselves to avoid processing trusted pages that are maliciously attacked.
[0043] According to some embodiments, Figure 3 As shown, the page data processing method may further include: step S305, in response to determining that the sprocket quality information meets the second preset condition, performing a first process on each of the plurality of first pages. Figure 3 Steps S301 to S304 in Figure 1 Steps S101 to S104 are similar and will not be described here. Therefore, in the case of severely poor sprocket quality, each first page in the sprocket can be processed to avoid or reduce further capture of other pages diverted by the first page in the sprocket. It is understandable that those skilled in the art can set the second preset condition according to their needs to achieve accurate identification of two degrees of low-quality sprockets, which is not limited here.
[0044] In the above embodiment, by identifying the sprocket and determining the quality information of the sprocket, the multiple first pages included in the sprocket are processed, thereby improving the quality of the web pages crawled by the search engine from the page scale. The above method can also be extended to the website scale to improve the quality of the web pages crawled by the search engine from the website scale.
[0045] According to some embodiments, Figure 4As shown, the page processing method may also include: step S405, determining a spider pool, the spider pool including at least one sprocket having a diversion relationship and the websites to which the multiple first pages included in each sprocket belong; step S406, determining the spider pool quality information of the spider pool based on at least the sprocket quality information of each sprocket; and step S407, in response to determining that the spider pool quality information satisfies the third preset condition, performing a second process on at least one website corresponding to at least one sprocket. Thus, by determining the spider pool according to the website where each page in the sprocket is located, and calculating the total score of the spider pool based on the scores of all sprockets included in the spider pool, and judging whether to process these websites according to the spider pool score, it is achieved to monitor and evaluate malicious diversion at the website scale, and process the inferior spider pool, thereby further improving the overall quality of the pages and websites acquired by the crawler, reducing the number of low-quality pages and websites in the database, and improving the user experience of the search engine.
[0046] It is understandable that those skilled in the art can set the third preset condition according to their needs to achieve accurate identification of low-quality spider pools, which is not limited here.
[0047] According to some embodiments, a spider pool may be, for example, a collection of multiple websites and the web pages they include. In a spider pool, there may be one sprocket, at least one sprocket, or no sprocket, and the present disclosure is only directed to a spider pool including a sprocket. Figure 5 As shown, first pages 502, 504, 506, 508, 510, and 512 form a sprocket, and each of the first pages 502-512 directs traffic to the second page 514. The first pages 502-512 correspond to websites 516-526 one by one, and the websites 516-526 form a spider pool, which includes the sprocket formed by the first pages 502-512.
[0048] According to some embodiments, step S406, determining the spider pool quality information of the spider pool based on at least one sprocket's respective sprocket quality information, may include, for example: determining the sprocket quality information of at least one sprocket based on a plurality of pages included in each of the at least one sprocket; and determining the spider pool quality information based on the sprocket quality information of the at least one sprocket. In some embodiments, the sprocket quality information of each sprocket may be determined using the method described above, which will not be described in detail herein.
[0049] According to some embodiments, based on the sprocket quality information of at least one sprocket, the spider pool quality information can be determined, for example, based on at least one of the highest sprocket quality information, the lowest sprocket quality information, the average sprocket quality information, the median sprocket quality information, and the weighted sprocket quality information. In an exemplary embodiment, the average of the sprocket quality scores of at least one sprocket can be used as the spider pool quality information. It is understandable that those skilled in the art can set rules on their own to determine the spider pool quality information based on the sprocket quality information of at least one sprocket, so that the spider pool quality information can comprehensively reflect the quality of these sprockets, which is not limited here.
[0050] According to some embodiments, Figure 4 As shown, the page processing method may further include: step S408, determining a first scale parameter of each of the plurality of sprockets. The first scale parameter may be positively correlated with the number of pages included in the corresponding sprocket. Step S406, determining the spider pool quality information of the spider pool may include, for example: determining the spider pool quality information of the spider pool based on at least the sprocket quality information of each of the at least one sprocket and the first scale parameter. Since the larger the sprocket scale, the greater the harm generated, therefore, by taking the sprocket scale into account when calculating the spider pool quality information, more reasonable spider pool quality information can be obtained.
[0051] According to some embodiments, determining the spider pool quality information of the spider pool based on at least one sprocket's respective sprocket quality information and a first scale parameter may include: multiplying the sprocket quality information of the at least one sprocket and the respective first scale parameter to obtain weighted quality information of the at least one sprocket; and determining the spider pool quality information based on the weighted quality information of the at least one sprocket. In some embodiments, the sprocket quality score of the at least one sprocket may be multiplied by the respective first scale parameter to obtain a weighted quality score of the at least one sprocket. Specifically, let the sprocket quality information be wheel_quality, then the weighted quality score may be calculated by the following formula:
[0052] weighted_quality=w1*wheel_quality
[0053] Wherein, w1 is the first scale parameter. It is understandable that those skilled in the art can set the first scale parameter by themselves to reflect the positive correlation between the weighted quality score and the corresponding sprocket scale, which is not limited here.
[0054] In some embodiments, the spider pool quality information may be determined based on at least one of an average value, a weighted average value, a maximum value, a minimum value, and a median value of the weighted quality score of at least one sprocket. In an exemplary embodiment, the average value of the weighted quality score of at least one sprocket may be directly used as the spider pool quality information.
[0055] According to some embodiments, Figure 4 As shown, the page processing method may further include: step S409, determining a second scale parameter of the spider pool. The second scale parameter is positively correlated with the number of at least one sprocket. Step S406, determining spider pool quality information of the spider pool may include, for example: determining spider pool quality information of the spider pool based on the sprocket quality information of at least one sprocket and the first scale parameter and the second scale parameter of the spider pool. Since the larger the spider pool scale, the greater the harm, therefore, by taking the spider pool scale into consideration when calculating the spider pool quality information, more reasonable spider pool quality information can be obtained.
[0056] According to some embodiments, based on the sprocket quality information and the first scale parameter of each of the at least one sprocket and the second scale parameter of the spider pool, determining the spider pool quality information of the spider pool may include: multiplying the sprocket quality information of each of the at least one sprocket and the respective first scale parameter to obtain the weighted quality information of each of the at least one sprocket; and determining the spider pool quality information based on the weighted quality information of each of the at least one sprocket and the second scale parameter. In some embodiments, the average of the weighted quality scores of each of the at least one sprocket may be multiplied by the second scale parameter to obtain the spider pool quality information. Specifically, the spider pool quality information may be calculated by the following formula:
[0057] pool_quality=w2*∑weighted_quality / m
[0058] Wherein, w2 is the spider pool scale parameter, and m is the number of sprockets. It is understandable that those skilled in the art can set the second scale parameter by themselves to reflect the positive correlation between the spider pool quality information and the spider pool scale, which is not limited here.
[0059] According to some embodiments, performing the second processing on at least one website may include performing at least one of the following operations on each of the at least one website: deleting the website, adjusting the weight of the website, and blocking the website. Thus, by processing malicious websites in the low-quality spider pool, the overall quality of pages and websites acquired by the crawler is improved, and the number of low-quality pages and websites in the database is reduced, thereby improving the user experience of the search engine.
[0060] According to some embodiments, a whitelist may be set for websites in the spider pool to exempt some websites with guaranteed quality. In some embodiments, the whitelist may include at least one of the following: user-generated content websites, official websites, and large websites.
[0061] According to some embodiments, in addition to the website scale, the quality of web pages crawled by the search engine can also be improved on the main domain scale. In an exemplary embodiment, in response to determining that the number of malicious websites included in the target main domain exceeds a preset threshold, the target main domain can be processed accordingly. It is understandable that those skilled in the art can set the discrimination dimension and discrimination criteria for the malicious main domain by themselves, and set the corresponding processing method by themselves, so as to further improve the overall quality of the pages and websites obtained by the crawler, which is not limited here.
[0062] According to another aspect of the present disclosure, a page data processing device is also provided. Figure 6 As shown, the page data processing device 600 includes: a first determination unit 610, configured to determine a sprocket with a diversion relationship, the sprocket including a plurality of first pages, wherein, for each of the plurality of first pages, the first page can be diverted back to the first page through the plurality of first pages in sequence according to the diversion relationship; a second determination unit 620, configured to determine at least one second page different from the plurality of first pages and page quality information corresponding one-to-one to the at least one second page, wherein each of the at least one second page is diverted by at least a portion of the corresponding first pages of the plurality of first pages; a third determination unit 630, configured to determine the sprocket quality information of the sprocket based on the respective page quality information of the at least one second page; and a first processing unit 640, configured to delete at least one second page in response to determining that the sprocket quality information satisfies a first preset condition, and perform a first processing on a first page of the plurality of first pages that is diverted to any one of the at least one second page.
[0063] The operations of the units 610 to 640 of the page data processing device 600 are similar to the operations of steps S101 to S104 of the above-mentioned page data processing method, and are not described in detail here.
[0064] According to some embodiments, the first processing unit 640 may be further configured to: delete a first page from the plurality of first pages that is directed to any second page from the at least one second page and does not belong to the whitelist.
[0065] According to some embodiments, the first processing unit 640 may be further configured to: in response to determining that the sprocket quality information satisfies the second preset condition, perform a first process on each of the plurality of first pages.
[0066] According to some embodiments, any two first pages among the plurality of first pages belong to different websites, and any one first page among the plurality of first pages and any one second page among the at least one second page belong to different websites.
[0067] According to some embodiments, Figure 7 As shown, the page data processing device 700 includes: a fourth determination unit 750, configured to determine a spider pool, the spider pool including at least one sprocket having a diversion relationship and websites to which each of the multiple first pages included in each sprocket belongs; a fifth determination unit 760, configured to determine spider pool quality information of the spider pool based at least on sprocket quality information of each of the at least one sprocket; and a second processing unit 770, configured to perform a second processing on at least one website corresponding to at least one sprocket in response to determining that the spider pool quality information satisfies a third preset condition. Figure 7 The operations of units 710-740 in Figure 6 The operations of unit 610-unit 640 are similar and will not be described in detail here.
[0068] According to some embodiments, Figure 7 As shown, the page data processing device 700 may further include: a sixth determining unit 780, configured to determine a first scale parameter of each of the plurality of sprockets. The first scale parameter is positively correlated with the number of pages included in the corresponding sprocket. The fifth determining unit 760 is further configured to determine spider pool quality information of the spider pool based on at least the sprocket quality information of each of the at least one sprocket and the first scale parameter.
[0069] According to some embodiments, Figure 7 As shown, the page data processing device 700 may further include: a seventh determination unit 790, configured to determine a second scale parameter of the spider pool. The second scale parameter is positively correlated with the number of at least one sprocket. The fifth determination unit 760 is further configured to determine the spider pool quality information of the spider pool based on the sprocket quality information of each of the at least one sprocket and the first scale parameter and the second scale parameter of the spider pool.
[0070] According to some embodiments, the second processing unit 770 is further configured to perform at least one of the following operations on each of the at least one website: deleting the website, adjusting the weight of the website, and blocking the website.
[0071] According to an embodiment of the present disclosure, an electronic device, a readable storage medium and a computer program product are also provided.
[0072] refer to Figure 8, a block diagram of an electronic device 800 that can be used as a server or client of the present disclosure will now be described, which is an example of a hardware device that can be applied to various aspects of the present disclosure. The electronic device is intended to represent various forms of digital electronic computer devices, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.
[0073] like Figure 8 As shown, the device 800 includes a computing unit 801, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 802 or a computer program loaded from a storage unit 808 into a random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the device 800 can also be stored. The computing unit 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.
[0074] Multiple components in the device 800 are connected to the I / O interface 805, including: an input unit 806, an output unit 807, a storage unit 808, and a communication unit 809. The input unit 806 can be any type of device that can input information to the device 800. The input unit 806 can receive input digital or character information and generate key signal input related to user settings and / or function control of the electronic device, and can include but is not limited to a mouse, a keyboard, a touch screen, a track pad, a track ball, a joystick, a microphone, and / or a remote controller. The output unit 807 can be any type of device that can present information, and can include but is not limited to a display, a speaker, a video / audio output terminal, a vibrator, and / or a printer. The storage unit 808 can include but is not limited to a disk, an optical disk. The communication unit 809 allows the device 800 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks, and can include but is not limited to a modem, a network card, an infrared communication device, a wireless communication transceiver, and / or a chipset, such as a Bluetooth™ device, a 1302.11 device, a WiFi device, a WiMax device, a cellular communication device, and / or the like.
[0075] The computing unit 801 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 801 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 801 performs the various methods and processes described above, such as the page data processing method. For example, in some embodiments, the page data processing method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 808. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 800 via ROM 802 and / or communication unit 809. When the computer program is loaded into RAM 803 and executed by the computing unit 801, one or more steps of the page data processing method described above may be performed. Alternatively, in other embodiments, the computing unit 801 may be configured to perform the page data processing method in any other appropriate manner (e.g., by means of firmware).
[0076] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0077] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0078] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0079] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0080] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.
[0081] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services ("Virtual Private Server", or "VPS" for short). The server may also be a server of a distributed system, or a server combined with a blockchain.
[0082] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in this disclosure can be performed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.
[0083] Although the embodiments or examples of the present disclosure have been described with reference to the accompanying drawings, it should be understood that the above-mentioned methods, systems and devices are merely exemplary embodiments or examples, and the scope of the present invention is not limited by these embodiments or examples, but only by the claims after authorization and their equivalent scope. Various elements in the embodiments or examples can be omitted or replaced by their equivalent elements. In addition, each step can be performed in an order different from that described in the present disclosure. Further, the various elements in the embodiments or examples can be combined in various ways. It is important that with the evolution of technology, many elements described herein can be replaced by equivalent elements that appear after the present disclosure.
Claims
1. A page data processing method, comprising: Determine a sprocket having a diversion relationship, the sprocket comprising a plurality of first pages, wherein for each first page of the plurality of first pages, the first page can be diverted back to the first page by sequentially passing through the plurality of first pages according to the diversion relationship; Determine at least one second page different from the plurality of first pages and page quality information corresponding to the at least one second page, wherein each of the at least one second page is directed by at least a portion of the corresponding first pages of the plurality of first pages, any two of the plurality of first pages belong to different websites, and any one of the plurality of first pages and any one of the at least one second page belong to different websites; determining sprocket quality information of the sprocket based on the page quality information of each of the at least one second page; In response to determining that the sprocket quality information satisfies a first preset condition, deleting the at least one second page, and performing a first process on a first page of the plurality of first pages that is directed to any second page of the at least one second page, wherein the first process includes at least one of suppression process, weight reduction, and page deletion; Determine a spider pool, wherein the spider pool includes at least one sprocket having a traffic diversion relationship and websites to which each of the plurality of first pages included in each sprocket belongs; determining spider pool quality information for the spider pool based at least on the sprocket quality information of each of the at least one sprocket; and In response to determining that the spider pool quality information satisfies a third preset condition, performing a second process on at least one website corresponding to the at least one sprocket, the second process comprising performing at least one of the following operations on each of the at least one website: Delete the website, adjust the weight of the website, and block the website.
2. The method of claim 1, wherein: The first processing of a first page among the plurality of first pages directed to any one of the at least one second page includes: A first page among the plurality of first pages that is directed to any second page among the at least one second page and does not belong to the whitelist is deleted.
3. The method of claim 2, wherein: The whitelist includes at least one of the following: User-generated content pages, official website pages, and large website pages.
4. The method according to claim 1 or 2, further comprising: In response to determining that the sprocket quality information satisfies a second preset condition, the first process is performed on each of the plurality of first pages.
5. The method of claim 1, further comprising: determining a first scale parameter for each of the plurality of sprockets, wherein the first scale parameter is positively correlated with the number of pages included in the corresponding sprocket, Wherein, determining the spider pool quality information of the spider pool includes: Spider pool quality information of the spider pool is determined based at least on the sprocket quality information of each of the at least one sprocket and a first scale parameter.
6. The method of claim 5, further comprising: determining a second scale parameter of the spider pool, wherein the second scale parameter is positively correlated with the number of the at least one sprocket, Wherein, determining the spider pool quality information of the spider pool includes: Spider pool quality information of the spider pool is determined based on the sprocket quality information and the first scale parameter of each of the at least one sprocket and the second scale parameter of the spider pool.
7. A page data processing device, comprising: A first determining unit is configured to determine a sprocket having a diversion relationship, wherein the sprocket includes a plurality of first pages, wherein for each first page of the plurality of first pages, the first page can be diverted back to the first page by sequentially passing through the plurality of first pages according to the diversion relationship; A second determining unit is configured to determine at least one second page different from the plurality of first pages and page quality information corresponding to the at least one second page, wherein each of the at least one second page is directed by at least a portion of the corresponding first pages of the plurality of first pages, any two of the plurality of first pages belong to different websites, and any one of the plurality of first pages and any one of the at least one second page belong to different websites; a third determining unit configured to determine sprocket quality information of the sprocket based on the page quality information of each of the at least one second page; A first processing unit is configured to, in response to determining that the sprocket quality information satisfies a first preset condition, delete the at least one second page, and perform a first process on a first page of the plurality of first pages that is directed to any second page of the at least one second page, wherein the first process includes at least one of suppression, weight reduction, and page deletion; Determine a spider pool, wherein the spider pool includes at least one sprocket having a traffic diversion relationship and websites to which each of the plurality of first pages included in each sprocket belongs; determining spider pool quality information for the spider pool based at least on the sprocket quality information of each of the at least one sprocket; and In response to determining that the spider pool quality information satisfies a third preset condition, performing a second process on at least one website corresponding to the at least one sprocket, the second process comprising performing at least one of the following operations on each of the at least one website: Delete the website, adjust the weight of the website, and block the website.
8. The device according to claim 7, wherein: The first processing unit is further configured to: A first page among the plurality of first pages that is directed to any second page among the at least one second page and does not belong to the whitelist is deleted.
9. The device according to claim 7 or 8, wherein: The first processing unit is further configured to: In response to determining that the sprocket quality information satisfies a second preset condition, the first process is performed on each of the plurality of first pages.
10. The apparatus of claim 7, further comprising: a sixth determining unit, configured to determine a first scale parameter of each of the plurality of sprockets, wherein the first scale parameter is positively correlated with the number of pages included in the corresponding sprocket, The fifth determination unit is further configured to determine the spider pool quality information of the spider pool based at least on the sprocket quality information of each of the at least one sprocket and the first scale parameter.
11. The apparatus of claim 10, further comprising: a seventh determining unit, configured to determine a second scale parameter of the spider pool, wherein the second scale parameter is positively correlated with the number of the at least one sprocket, The fifth determining unit is further configured to determine the spider pool quality information of the spider pool based on the sprocket quality information and the first scale parameter of each of the at least one sprocket and the second scale parameter of the spider pool.
12. An electronic device comprising: at least one processor; as well as a memory communicatively coupled to the at least one processor; in The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 6.
13. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-6.
14. A computer program product comprising a computer program, wherein: When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
