Webpage classification method and device, medium and electronic equipment

By obtaining the page information of the target webpage and matching it with preset classification rules, the classification problem that the existing technology failed to consider the impact of the landing page creation method is solved, and more efficient landing page delivery optimization is achieved.

CN116304448BActive Publication Date: 2026-06-05BEIJING YOUZHUJU NETWORK TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BEIJING YOUZHUJU NETWORK TECH CO LTD
Filing Date
2022-12-30
Publication Date
2026-06-05

AI Technical Summary

Technical Problem

Existing landing page classification methods are mainly based on advertisers' industry information and fail to fully consider the impact of landing page creation methods on campaign performance.

Method used

By obtaining the page information of the target webpage and matching it with preset classification rules based on the webpage creation method, including platform template creation method, website creation method, and independent website creation method, the target classification result is determined.

Benefits of technology

It provides a new analytical dimension, classifying landing pages based on their creation methods, thereby improving the optimization efficiency of landing page campaigns.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116304448B_ABST
    Figure CN116304448B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a webpage classification method and device, medium and electronic equipment, to solve the problem that the webpage cannot be classified according to the webpage production mode in the related art. The method comprises: obtaining page information of a target webpage; matching the page information of the target webpage with a preset classification rule to obtain a target classification result of the target webpage, wherein the preset classification rule comprises a classification rule based on a webpage production mode, and the webpage production mode comprises at least one of a platform template production mode, a website building production mode and an independent station production mode.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of computer technology, and more specifically, to a webpage classification method, apparatus, medium, and electronic device. Background Technology

[0002] A landing page is a webpage that opens to potential users after they click on an advertisement or use a search engine. This page displays expanded content related to the clicked multimedia content or search result link. Landing pages help attract more users to a website or application. Currently, landing pages are generally categorized based on the advertiser's industry information. Summary of the Invention

[0003] This summary section is provided to briefly introduce the concepts, which will be described in detail in the detailed description section below. This summary section is not intended to identify key or essential features of the claimed technical solution, nor is it intended to limit the scope of the claimed technical solution.

[0004] In a first aspect, this disclosure provides a webpage classification method, the method comprising:

[0005] Obtain page information of the target webpage;

[0006] The page information of the target webpage is matched with preset classification rules to obtain the target classification result of the target webpage. The preset classification rules include classification rules based on the webpage creation method. The webpage creation method includes at least one of platform template creation method, website creation method, and independent website creation method.

[0007] Secondly, this disclosure provides a webpage classification device, the device comprising:

[0008] The acquisition module is used to obtain page information of the target webpage;

[0009] The matching module is used to match the page information of the target webpage with preset classification rules to obtain the target classification result of the target webpage. The preset classification rules include classification rules based on the webpage creation method. The webpage creation method includes at least one of platform template creation method, website creation method, and independent website creation method.

[0010] Thirdly, this disclosure provides a computer-readable medium having a computer program stored thereon, which, when executed by a processing device, implements the steps of the method described in the first aspect of this disclosure.

[0011] Fourthly, this disclosure provides an electronic device, comprising:

[0012] A storage device on which computer programs are stored;

[0013] A processing device for executing the computer program in the storage device to implement the steps of the method described in the first aspect of this disclosure.

[0014] The above technical solution first obtains the page information of the target webpage, then matches this information with preset classification rules to obtain the target classification result. The preset classification rules include those based on the webpage creation method, which can be at least one of platform template creation, website building, or independent website creation. This method allows for webpage classification based on their creation method, such as classifying landing pages based on their creation method. Compared to related technologies that classify landing pages based on advertiser industry information, this provides a new analytical dimension for landing page classification and facilitates optimization during subsequent landing page deployment.

[0015] Other features and advantages of this disclosure will be described in detail in the following detailed description section. Attached Figure Description

[0016] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic, and the originals and elements are not necessarily drawn to scale. In the drawings:

[0017] Figure 1 This is a flowchart of a webpage classification method provided according to an exemplary embodiment;

[0018] Figure 2 This is a schematic diagram of a classification rule provided according to an exemplary embodiment;

[0019] Figure 3 This is a flowchart of another webpage classification method provided according to an exemplary embodiment;

[0020] Figure 4 This is a block diagram of a web page classification device according to an exemplary embodiment;

[0021] Figure 5 This is a block diagram of an electronic device provided according to an exemplary embodiment. Detailed Implementation

[0022] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.

[0023] It should be understood that the steps described in the method embodiments of this disclosure may be performed in different orders and / or in parallel. Furthermore, the method embodiments may include additional steps and / or omit the steps shown. The scope of this disclosure is not limited in this respect.

[0024] The term "comprising" and its variations as used herein are open-ended inclusions, meaning "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Definitions of other terms will be given in the description below.

[0025] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are used only to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units or their interdependencies.

[0026] It should be noted that the terms "a" and "a plurality of" used in this disclosure are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".

[0027] The names of messages or information exchanged between multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.

[0028] It is understood that before using the technical solutions disclosed in the various embodiments of this disclosure, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in this disclosure in an appropriate manner in accordance with relevant laws and regulations, and user authorization should be obtained.

[0029] For example, upon receiving a user's active request, a prompt message is sent to the user to explicitly inform them that the requested operation will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the software or hardware, such as the electronic device, application, server, or storage medium performing the operations of this disclosed technical solution, based on the prompt message.

[0030] As an optional but non-limiting implementation, in response to a user's active request, sending a prompt message to the user can be done via a pop-up window, where the prompt message can be presented in text format. Furthermore, the pop-up window can also include a selection control allowing the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0031] It is understood that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of this disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of this disclosure.

[0032] Meanwhile, it is understood that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and related provisions.

[0033] Currently, landing page categorization methods are generally based on advertisers' industry information, and then targeted webpages are placed according to different industry information. For example, a landing page for car products might be placed on a page related to automobiles, or a landing page for travel products might be placed on a page related to travel, and so on. However, some landing pages are provided by the platform, while others are created by users through their own websites. Different landing page creation methods can affect the landing page's performance. Therefore, categorizing landing pages based on their creation methods urgently needs to be addressed.

[0034] To address the aforementioned technical problems, this disclosure provides a webpage classification method, apparatus, medium, and electronic device. Webpages can be classified based on their creation method, such as classifying landing pages based on their creation method. Compared to related technologies that classify landing pages based on advertiser industry information, this provides a new analytical dimension for landing page classification and facilitates optimization during subsequent landing page deployment. It should be noted that in the embodiments of this disclosure, "webpage" refers to webpages including landing pages, which will not be repeated below.

[0035] The present disclosure will now be described in conjunction with specific embodiments.

[0036] Figure 1 This is a webpage classification method provided according to an exemplary embodiment, the method comprising:

[0037] S101. Obtain the page information of the target webpage.

[0038] For example, the page information of the target webpage provided by the user can be obtained directly, or the page information of the target webpage can be obtained based on the address information of the target webpage. This disclosure does not limit this.

[0039] S102. Match the page information of the target webpage with the preset classification rules to obtain the target classification result of the target webpage.

[0040] Among them, the preset classification rules include classification rules based on the webpage creation method, which includes at least one of the following: platform template creation method, website creation method, and independent website creation method.

[0041] For example, platform template creation means the website is provided by a platform company. Users only need to register an account on the platform to use its various functions and obtain their own website. Users are not responsible for the website's style, hosting, etc. Website creation means users build websites and web pages using website building tools. Websites created by different users using the same tool are usually identical in terms of technical principles and front-end frameworks. Users need to deploy their completed websites and web pages on their own servers. Independent website creation means users develop websites and web pages completely independently from scratch. Websites and web pages developed by different users have no similarities, and the technical solutions used are freely chosen by each user. These users also need to deploy their completed websites and web pages on their own servers.

[0042] The above method first obtains the page information of the target webpage, then matches this information with preset classification rules to obtain the target classification result. The preset classification rules include those based on the webpage creation method, which can be at least one of platform template creation, website building, or independent website creation. This method allows webpages to be classified based on their creation method, such as classifying landing pages based on their creation method. Compared to related technologies that classify landing pages based on advertiser industry information, this provides a new analytical dimension for landing page classification and facilitates optimization during subsequent landing page deployment.

[0043] In one possible approach, each classification rule in the webpage classification rules corresponds to a classification name. The page information of the target webpage is matched with the preset classification rules to obtain the target classification result of the target webpage. If the page information of the target webpage matches the information included in the target classification rule in the preset classification rules, then the classification name corresponding to the target classification rule is determined as the target classification result of the target webpage.

[0044] For example, the page information of a webpage may include one or more of the following: URL, HTML, JavaScript, CSS, Image, HTTP Header, etc., which can be determined according to needs, and this disclosure does not limit this. First, information from multiple webpages is acquired, analyzed, organized, and summarized to obtain characteristic information that can identify the website. Then, based on the characteristic information, classification rules for the webpages are configured to obtain preset classification rules. For example, characteristic information of landing pages with the same production method is extracted and classification rules are configured to obtain classification rules for landing pages with that production method. If a user needs to target a landing page, the category of the target landing page can be determined first to facilitate optimization when deploying the landing page later. Taking the webpage classification rules as including multiple classification rules, corresponding to category names A, B, C, D, etc., as an example, if the page information of the target landing page matches the information included in the classification rule of category name A, then category name A is determined as the target classification result of the target landing page.

[0045] For example, taking both website X and website Y as platform-type websites, a preset classification rule named "Platform" can be configured based on the feature information x of website X and the feature information y of the webpages of website Y. For example, the classification rule can be configured as "x or y". If the page information of the target webpage matches x or y, then "Platform" will be determined as the target classification result of the target webpage. Alternatively, classification rule "x" can be configured for website X and classification rule "y" for website Y respectively. Then, classification rule "x" and classification rule "y" can be subordinate to the classification rule "Platform". Or, a tag "made using platform template" can be added to classification rule "x" and classification rule "y". If the page information of the target webpage matches "x", then "x" will be determined as the target classification result of the target webpage, and the target webpage will be determined as a platform template based on "x". This disclosure does not limit this, as long as the webpage's production method can be determined based on the webpage's classification result.

[0046] In some possible approaches, webpage classification rules include multi-level classifications. In these multi-level classifications, the last-level classification represents at least one of the following: the sub-industry type of the website to which the webpage belongs, the website building tool category, or the platform category. Each classification rule in the preset classification rules corresponds one-to-one with each category name in the last-level classification. The target webpage's classification result is obtained by matching its page information with the preset webpage classification rules. For example, if the page information of the target webpage matches information included in the target classification rule in the preset classification rules, then the target classification result of the target webpage is determined based on the last-level category name corresponding to the target classification rule.

[0047] For example, webpage classification rules include multi-level classifications, such as second-level, third-level, fourth-level, etc., which are not limited in this disclosure. In multi-level classifications, the last-level classification represents at least one of the following: the sub-industry type of the website to which the webpage belongs, the website building tool, or the platform category. Specifically, the industry type of the website to which the webpage belongs can be a higher-level classification. For example, in the e-commerce industry type, the sub-industry types could be social e-commerce, comprehensive B2B e-commerce, etc. The website building tool refers to the website building tool used by the user to build the website, and the platform category refers to the specific platform on which the webpage is provided to the user. The specific platform category can be determined based on actual applications and related technologies, and is not limited in this disclosure.

[0048] Generally, web pages belonging to the same sub-industry type, website building tool, or platform category share similar characteristic information, such as similar fields in their address information (URL) or tags. This can be determined through analysis of the acquired web page information. For example, if a platform company's website address is "www.xyz.com," and all web pages provided by this company contain the "www.xyz.com" field, then "www.xyz.com" can be configured as a category rule with the category name "xyz," and this category rule can belong to the category rule "Platform" determined based on the creation method. If the page information of the target web page includes the "www.xyz.com" field, then "xyz" can be used as the target category result, and based on this target category result, the creation method of the target web page can be determined as "Platform Template Creation Method."

[0049] In one possible approach, multi-level classification is a three-level classification, where the first-level classification represents the production method of the website to which the webpage belongs, and the second-level classification represents the industry type of the website to which the webpage belongs. Based on the last-level category name corresponding to the target classification rule, the target classification result of the target webpage can be determined by: determining the first-level category name and the second-level category name to which the third-level category name corresponding to the target classification rule belongs, and using the third-level category name corresponding to the target classification rule, as well as the first-level category name and the second-level category name to which the third-level category name belongs, as the target classification result of the target webpage.

[0050] For example, taking a three-level classification system as an example, the three-level classification system is pre-constructed as shown in Table 1 below:

[0051] Table 1

[0052]

[0053]

[0054] The first level of classification can be based on the website's creation method, including platforms, website building, and independent websites. The second level can be based on the website's industry type, such as e-commerce, entertainment, etc. The third level can be based on the website's sub-industry type, website building tool, or platform category. For example, websites or webpages created using the same platform (or platform company) often share similar characteristics, so platform-based websites can be categorized according to their specific platform (or platform company). Similarly, websites or webpages created using the same website building tool often share similar characteristics, so website building websites can be categorized according to the specific website building tool used. Independent websites, being independently developed by users, exhibit no similarity between different users and can therefore be categorized according to their sub-industry type.

[0055] It should be noted that the above three-level classification is only an example, and the specific classification can be made according to needs. This disclosure does not limit this. Taking category "a1" as the name of an online shopping mall, this online shopping mall sells various types of goods, such as travel goods, automobile goods, food goods, beauty goods, etc. Users can set different web pages for different goods, and further classification can be made according to the type of goods.

[0056] For example, if the page information of the target webpage matches the information included in "a1" in Table 1, then the first-level category name "platform" and the second-level category name "e-commerce" to which "a1" belongs are determined. Then, "a1, e-commerce, platform" is taken as the target category result of the target webpage. Based on the target category result, it can be determined that the target webpage is a webpage provided by a1 (a specific platform company), belongs to the e-commerce industry, and was created through the platform template creation method.

[0057] In possible ways, if the page information of the target webpage matches information included in the target classification rule within the preset classification rules, then the category name corresponding to the target classification rule is used as the target classification result for the target webpage. This can be achieved by: If the page address information of the target webpage matches preset page address information within the target classification rule, then the category name corresponding to the target classification rule is used as the target classification result for the target webpage. Alternatively, if the page tag information of the target webpage matches preset tag information within the target classification rule, then the category name corresponding to the target classification rule is used as the target classification result for the target webpage. Or, if the script address information of the target webpage matches preset script address information within the target classification rule, then the category name corresponding to the target classification rule is used as the target classification result for the target webpage.

[0058] For example, Figure 2 This is a schematic diagram illustrating a classification rule according to an exemplary embodiment. (Refer to...) Figure 2 "a1" represents the name of the classification rule, and the "cats" field represents the classification rule number, for example, the classification rule number is 51. The "meta" field represents the page tag information. If the "og:site_name" attribute in the target webpage's page tag information (meta) is "a1 Docs", then "a1" will be output as the target classification result for the target webpage. The "url" field represents the page address information. Since the address information includes multiple fields, taking webpages provided by a platform company as an example, webpages provided by the same platform company have similarities. For example, the addresses of three webpages provided by the a1 platform (address "https: / / www.a1.com.doc") are "https: / / www.a1.com.doc.435sdf", "https: / / www.a1.com.doc.547gfd", and "https: / / www.a1.com.doc.558hhj" respectively. Therefore, a regular expression can be derived based on similarity as a classification rule, as long as the target webpage's page address information (url) satisfies the following conditions. Figure 2 The regular expression "^https? / / a1\\.com\\.doc" in the "url" field will output "a1" as the target category result for the target webpage. Regular expressions can be found in relevant technologies and will not be elaborated upon here. Similarly, the "scriptSrc" field, representing script address information, can also use regular expressions, as long as the script address information (scriptSrc) of the target webpage satisfies... Figure 2 The regular expression in the "scriptSrc" field will output "a1" as the target category result for the target webpage, which will not be elaborated further in this disclosure. In addition, category rules can be set through exact matching, fuzzy matching, etc., which are not limited in this disclosure.

[0059] In other words, as long as the page information of the target webpage satisfies any of the preset information included in the target classification rule, the category name corresponding to the target classification rule will be used as the target classification result of the target webpage. Of course, for multi-level classification, the category name corresponding to the target classification rule and its parent category can also be used as the target classification result of the target webpage. It should be noted that the above classification rules are only illustrative examples, and can be set according to specific needs, such as adding classification rules for other feature fields. This disclosure does not limit this.

[0060] It is worth noting that the above classification rules can be stored in a database based on the TCC distributed transaction framework. This disclosure does not limit this, as long as the classification rules can be stored.

[0061] In one possible approach, the method further includes: after obtaining the target classification result of the target webpage, determining the target production method of the target webpage based on the target classification result, and determining the target preloading method of the target production method based on the target production method and the preset correspondence between the webpage production method and the preloading method, wherein the target preloading method is used in the preloading process of the target webpage.

[0062] For example, web pages produced using the same method often have similarities, and after multi-level categorization, specific categories can be further determined, allowing for different preloading methods to be set for different web pages. Taking landing pages as an example, for instance, the landing page for category "a1" is a static page, while the landing page for category "a2" is a dynamic page. Thus, the preloading method for the landing page of "a1" can be full caching, which can reduce the page loading time when users jump to the landing page. The preloading method for the landing page of "a2" can be partial caching, and so on. This disclosure does not limit this, and the specific method can be determined according to actual application and needs.

[0063] It should be noted that if the webpage classification method and the webpage being delivered are executed by the same entity, the determined target preloading method can be directly used in the preloading process of the target webpage. If the webpage classification method and the webpage being delivered are not executed by the same entity, the determined target preloading method can be sent to the entity executing the webpage being delivered so that the entity can use the target preloading method in the preloading process of the target webpage, or output the target preloading method for users to use as a reference in the preloading process of the webpage being delivered, etc. This disclosure does not limit this.

[0064] In addition, the industry type of a webpage can be determined based on the target classification results of the webpage, and then the webpage can be placed according to the industry type. For example, a landing page linking to a car product can be placed on a page related to automobiles, or a landing page linking to a travel product can be placed on a page related to travel, etc. This disclosure does not limit this.

[0065] The following section, with reference to the accompanying diagram, details the specific process of the webpage classification method.

[0066] For example, refer to Figure 3 Webpage classification methods include:

[0067] S301. Obtain the address of the target webpage.

[0068] S302. Obtain the page information of the target webpage based on the address of the target webpage.

[0069] S303. Obtain the preset classification rules stored in the TCC.

[0070] Among them, the preset classification rules include classification rules based on the webpage creation method, which includes at least one of the following: platform template creation method, website creation method, and independent website creation method.

[0071] S304. Match the target webpage with the page information and preset classification rules to obtain the target classification result.

[0072] Using the above method, web pages can be categorized based on their creation method, such as categorizing landing pages based on their creation method. Compared with the method of categorizing landing pages based on the advertiser's industry information in related technologies, this provides a new analytical dimension for landing page categorization and facilitates optimization when launching landing pages in the future.

[0073] Based on the same concept, this disclosure also provides a webpage classification device, referring to... Figure 4 The device 400 includes:

[0074] The acquisition module 401 is used to acquire page information of the target webpage.

[0075] The matching module 402 is used to match the page information of the target webpage with preset classification rules to obtain the target classification result of the target webpage. The preset classification rules include classification rules based on the webpage creation method. The webpage creation method includes at least one of platform template creation method, website creation method, and independent website creation method.

[0076] Using the aforementioned device, the page information of the target webpage is first acquired, and then the page information is matched with preset classification rules to obtain the target classification result of the target webpage. The preset classification rules include classification rules based on the webpage creation method, which includes at least one of platform template creation, website building creation, and independent website creation. This device allows webpages to be classified based on their creation method, such as classifying landing pages based on their creation method. Compared to related technologies that classify landing pages based on advertiser industry information, this provides a new analytical dimension for landing page classification and facilitates optimization during subsequent landing page deployment.

[0077] Optionally, each classification rule in the webpage classification rules corresponds to a classification name, and the matching module 402 is further used for:

[0078] If the page information of the target webpage matches the information included in the target classification rule in the preset classification rules, then the classification name corresponding to the target classification rule is determined as the target classification result of the target webpage.

[0079] Optionally, the matching module 402 is further configured to:

[0080] If the page address information of the target webpage matches the preset page address information in the target classification rule, then the category name corresponding to the target classification rule is taken as the target classification result of the target webpage; or,

[0081] If the page tag information of the target webpage matches the preset tag information in the target classification rule, then the category name corresponding to the target classification rule is taken as the target classification result of the target webpage; or,

[0082] If the script address information of the target webpage matches the preset script address information in the target classification rule, then the classification name corresponding to the target classification rule is taken as the target classification result of the target webpage.

[0083] Optionally, the webpage classification rules include multi-level classification, wherein, in the multi-level classification, the last level classification represents at least one of the sub-industry type, website building tool, or platform category of the website to which the webpage belongs, and each classification rule in the preset classification rules corresponds one-to-one with each category name in the last level classification;

[0084] The matching module 402 is also used for:

[0085] If the page information of the target webpage matches the information included in the target classification rule in the preset classification rules, then the target classification result of the target webpage is determined according to the last-level classification name corresponding to the target classification rule.

[0086] Optionally, the multi-level classification is a three-level classification, where the first-level classification represents the production method of the website to which the webpage belongs, the second-level classification represents the industry type of the website to which the webpage belongs, and the matching module 402 is further used for:

[0087] Determine the first-level and second-level category names to which the third-level category name corresponding to the target classification rule belongs;

[0088] The third-level category name corresponding to the target classification rule, as well as the first-level category name and the second-level category name to which the third-level category name belongs, are taken as the target classification result of the target webpage.

[0089] Optionally, the device 400 further includes a determining module, the determining module being used to:

[0090] After obtaining the target classification result of the target webpage, the target creation method of the target webpage is determined based on the target classification result;

[0091] Based on the target creation method and the preset correspondence between the webpage creation method and the preloading method, the target preloading method is determined, and the target preloading method is used in the preloading process of the target webpage.

[0092] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.

[0093] Based on the same concept, embodiments of this disclosure also provide a computer-readable medium having a computer program stored thereon, which, when executed by a processing device, implements the steps of the above-described web page classification method.

[0094] Based on the same concept, embodiments of this disclosure also provide an electronic device, including:

[0095] A storage device on which computer programs are stored;

[0096] A processing device is configured to execute the computer program in the storage device to implement the steps of the above-described web page classification method.

[0097] The following is for reference. Figure 5 The diagram illustrates a structural schematic of an electronic device 500 suitable for implementing embodiments of the present disclosure. The electronic devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 5 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments disclosed herein.

[0098] like Figure 5 As shown, the electronic device 500 may include a processing unit (e.g., a central processing unit, a graphics processor, etc.) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage device 508 into a random access memory (RAM) 503. The RAM 503 also stores various programs and data required for the operation of the electronic device 500. The processing unit 501, ROM 502, and RAM 503 are interconnected via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.

[0099] Typically, the following devices can be connected to I / O interface 505: input devices 506 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 507 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 508 including, for example, magnetic tapes, hard disks, etc.; and communication devices 509. Communication device 509 allows electronic device 500 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 5 An electronic device 500 with various devices is shown; however, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively.

[0100] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 509, or installed from a storage device 508, or installed from a ROM 502. When the computer program is executed by the processing device 501, it performs the functions defined in the methods of embodiments of this disclosure.

[0101] It should be noted that the computer-readable medium described in this disclosure can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this disclosure, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in connection with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.

[0102] In some implementations, electronic devices can communicate using any currently known or future-developed network protocol, such as HTTP (Hypertext Transfer Protocol), and can interconnect with digital data communication (e.g., communication networks) of any form or medium. Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), the Internet (e.g., the Internet of Things), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future-developed networks.

[0103] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device.

[0104] The aforementioned computer-readable medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to: acquire page information of a target webpage; match the page information of the target webpage with preset classification rules to obtain a target classification result for the target webpage, wherein the preset classification rules include classification rules based on webpage creation methods, and the webpage creation methods include at least one of platform template creation methods, website creation methods, and independent website creation methods.

[0105] Computer program code for performing the operations of this disclosure can be written in one or more programming languages ​​or a combination thereof, including but not limited to object-oriented programming languages ​​such as Java, Smalltalk, and C++, as well as conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0106] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0107] The modules described in the embodiments of this disclosure can be implemented in software or in hardware. The name of a module does not necessarily limit the module itself; for example, an acquisition module can also be described as "a module for acquiring page information of a target webpage".

[0108] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: Field Programmable Gate Arrays (FPGAs), Application-Specific Integrated Circuits (ASICs), Application Standard Products (ASSPs), System-on-Chip (SoCs), Complex Programmable Logic Devices (CPLDs), and so on.

[0109] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0110] According to one or more embodiments of this disclosure, Example 1 provides a webpage classification method, the method comprising: obtaining page information of a target webpage; matching the page information of the target webpage with preset classification rules to obtain a target classification result of the target webpage, wherein the preset classification rules include classification rules based on webpage creation methods, and the webpage creation methods include at least one of platform template creation method, website creation method, and independent website creation method.

[0111] According to one or more embodiments of this disclosure, Example 2 provides the method of Example 1, wherein each classification rule in the webpage classification rules corresponds to a classification name, and the step of matching the page information of the target webpage with the preset classification rules to obtain the target classification result of the target webpage includes: if the page information of the target webpage matches the information included in the target classification rule in the preset classification rules, then the classification name corresponding to the target classification rule is determined as the target classification result of the target webpage.

[0112] According to one or more embodiments of this disclosure, Example 3 provides the method of Example 2, wherein if the page information of the target webpage matches the information included in the target classification rule in the preset classification rule, then the classification name corresponding to the target classification rule is taken as the target classification result of the target webpage, including: if the page address information of the target webpage matches the preset page address information in the target classification rule, then the classification name corresponding to the target classification rule is taken as the target classification result of the target webpage; or, if the page tag information of the target webpage matches the preset tag information in the target classification rule, then the classification name corresponding to the target classification rule is taken as the target classification result of the target webpage; or, if the script address information of the target webpage matches the preset script address information in the target classification rule, then the classification name corresponding to the target classification rule is taken as the target classification result of the target webpage.

[0113] According to one or more embodiments of this disclosure, Example 4 provides the method of Example 1, wherein the webpage classification rules include multi-level classification, wherein, in the multi-level classification, the last-level classification represents at least one of the sub-industry type, website building tool, or platform category of the website to which the webpage belongs, and each classification rule in the preset classification rules corresponds one-to-one with each category name in the last-level classification; the step of matching the page information of the target webpage with the preset webpage classification rules to obtain the target classification result of the target webpage includes: if the page information of the target webpage matches the information included in the target classification rule in the preset classification rules, then the target classification result of the target webpage is determined according to the last-level category name corresponding to the target classification rule.

[0114] According to one or more embodiments of this disclosure, Example 5 provides the method described in Example 4, wherein the multi-level classification is a three-level classification, and the first-level classification characterizes the production method of the website to which the webpage belongs, and the second-level classification characterizes the industry type of the website to which the webpage belongs. The step of determining the target classification result of the target webpage according to the last-level classification name corresponding to the target classification rule includes: determining the first-level classification name and the second-level classification name to which the third-level classification name corresponding to the target classification rule belongs; and taking the third-level classification name corresponding to the target classification rule, as well as the first-level classification name and the second-level classification name to which the third-level classification name belongs, as the target classification result of the target webpage.

[0115] According to one or more embodiments of this disclosure, Example 6 provides a method according to any one of Examples 1-5, the method further comprising:

[0116] After obtaining the target classification result of the target webpage, the target creation method of the target webpage is determined based on the target classification result;

[0117] Based on the target creation method and the preset correspondence between the webpage creation method and the preloading method, the target preloading method is determined, and the target preloading method is used in the preloading process of the target webpage.

[0118] According to one or more embodiments of this disclosure, Example 7 provides a webpage classification device, the device comprising: an acquisition module for acquiring page information of a target webpage; and a matching module for matching the page information of the target webpage with preset classification rules to obtain a target classification result of the target webpage, wherein the preset classification rules include classification rules based on webpage creation methods, and the webpage creation methods include at least one of platform template creation methods, website creation methods, and independent website creation methods.

[0119] According to one or more embodiments of this disclosure, Example 8 provides the apparatus described in Example 7, wherein each classification rule in the webpage classification rules corresponds to a classification name, and the matching module is further configured to:

[0120] If the page information of the target webpage matches the information included in the target classification rule in the preset classification rules, then the classification name corresponding to the target classification rule is determined as the target classification result of the target webpage.

[0121] According to one or more embodiments of the present disclosure, Example 9 provides a computer-readable medium having a computer program stored thereon that, when executed by a processing device, implements the steps of the method described in any of Examples 1 to 6.

[0122] According to one or more embodiments of this disclosure, Example 10 provides an electronic device, including: a storage device having a computer program stored thereon; and a processing device for executing the computer program in the storage device to implement the steps of the method described in any one of Examples 1 to 6.

[0123] The above description is merely a preferred embodiment of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features disclosed in this disclosure that have similar functions.

[0124] Furthermore, while the operations are described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. In certain environments, multitasking and parallel processing may be advantageous. Similarly, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of this disclosure. Certain features described in the context of individual embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented individually or in any suitable sub-combination in multiple embodiments.

[0125] Although the subject matter has been described using language specific to structural features and / or methodological logic, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. Rather, the specific features and actions described above are merely illustrative forms of implementing the claims. Regarding the apparatus in the above embodiments, the specific manner in which the various modules perform their operations has been described in detail in the embodiments relating to the method, and will not be elaborated upon here.

Claims

1. A webpage classification method, characterized in that, The method includes: Obtain page information of the target webpage; The page information of the target webpage is matched with preset classification rules to obtain the target classification result of the target webpage. The preset classification rules include classification rules based on the webpage creation method, which includes platform template creation method, website creation method, and independent website creation method. Each classification rule in the webpage classification rules corresponds to a classification name. The process of matching the page information of the target webpage with the preset classification rules to obtain the target classification result of the target webpage includes: If the page address information of the target webpage matches the preset page address information of the target classification rule, then the classification name corresponding to the target classification rule is taken as the target classification result of the target webpage. If the preset tag information in the target classification rule is matched in the page tag information of the target webpage, then the category name corresponding to the target classification rule is taken as the target classification result of the target webpage. If the script address information of the target webpage matches the preset script address information in the target classification rule, then the classification name corresponding to the target classification rule is taken as the target classification result of the target webpage.

2. The method according to claim 1, characterized in that, The webpage classification rules include multi-level classifications. In the multi-level classifications, the last level classification represents at least one of the sub-industry type, website building tool, or platform category of the website to which the target webpage belongs, and each classification rule in the preset classification rules corresponds one-to-one with each category name in the last level classification. The step of matching the page information of the target webpage with preset classification rules to obtain the target classification result of the target webpage includes: If the page information of the target webpage matches the information included in the target classification rule in the preset classification rules, then the target classification result of the target webpage is determined according to the last-level classification name corresponding to the target classification rule.

3. The method according to claim 2, characterized in that, The multi-level classification is a three-level classification, where the first-level classification represents the production method of the website to which the target webpage belongs, the second-level classification represents the industry type of the website to which the target webpage belongs, and the step of determining the target classification result of the target webpage according to the last-level classification name corresponding to the target classification rule includes: Determine the first-level and second-level category names to which the third-level category name corresponding to the target classification rule belongs; The third-level category name corresponding to the target classification rule, as well as the first-level category name and the second-level category name to which the third-level category name belongs, are taken as the target classification result of the target webpage.

4. The method according to any one of claims 1-3, characterized in that, The method further includes: After obtaining the target classification result of the target webpage, the target creation method of the target webpage is determined based on the target classification result; Based on the target creation method and the preset correspondence between the webpage creation method and the preloading method, the target preloading method is determined, and the target preloading method is used in the preloading process of the target webpage.

5. A webpage classification device, characterized in that, The device includes: The acquisition module is configured to acquire page information of the target webpage; The matching module is configured to match the page information of the target webpage with preset classification rules to obtain the target classification result of the target webpage. The preset classification rules include classification rules based on the webpage creation method, which includes platform template creation method, website creation method, and independent website creation method. Each category rule in the webpage classification rules corresponds to a category name, and the matching module is further configured as follows: If the page address information of the target webpage matches the preset page address information of the target classification rule, then the classification name corresponding to the target classification rule is taken as the target classification result of the target webpage. If the preset tag information in the target classification rule is matched in the page tag information of the target webpage, then the category name corresponding to the target classification rule is taken as the target classification result of the target webpage. If the script address information of the target webpage matches the preset script address information in the target classification rule, then the classification name corresponding to the target classification rule is taken as the target classification result of the target webpage.

6. A computer-readable medium having a computer program stored thereon, characterized in that, When executed by the processing device, the program implements the steps of the method described in any one of claims 1-4.

7. An electronic device, characterized in that, include: A storage device on which computer programs are stored; A processing device for executing the computer program in the storage device to implement the steps of the method according to any one of claims 1-4.