Domain name filtering method and device, electronic equipment and storage medium

By dynamically acquiring and evaluating dimensional information from the domain name list, potential malicious domain names are filtered out step by step. This addresses the shortcomings of traditional domain name filtering methods in dealing with changes in malicious domain names and dynamic attacks, achieving more efficient and accurate domain name filtering and network security.

CN121000488APending Publication Date: 2025-11-21HAINAN FENGHUANGMU TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511299345.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-11
Publication Date
2025-11-21

AI Technical Summary

Technical Problem

Traditional domain filtering methods rely on blacklists and static rules, which cannot effectively cope with the rapid changes and dynamic attacks of malicious domains, resulting in low recognition rate and high false positive rate, affecting user experience.

Method used

By dynamically acquiring a list of reference domains, extracting preset dimension information for each domain, converting it into a set of dimension values, setting dimension requirements, and combining the target dimension information of the target domain, potential malicious domains are filtered out step by step, including multi-level security assessment and real-time data collection.

Benefits of technology

It improves the effectiveness and accuracy of domain name filtering, reduces false alarms, can respond promptly to changes in the network environment, enhances network security protection, and provides a safer and more reliable online experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121000488A_ABST
    Figure CN121000488A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of artificial intelligence, and discloses a domain name filtering method and device, electronic equipment and a storage medium, and the method comprises the steps: obtaining a reference domain name list from a preset domain name database based on an access request when the access request of the equipment is detected, and extracting the dimension information of each preset dimension of each domain name address, the method comprises the following steps: obtaining a plurality of target domain name addresses, converting the target domain name addresses into dimension values, gathering the dimension values according to preset dimensions to obtain a corresponding dimension value set, setting a dimension requirement according to a minimum value of the dimension value set, and collecting target dimension information of the preset dimensions of each target domain name address; and filtering the target domain name addresses in each target domain name address set step by step according to the target dimension information and the dimension requirement of each preset dimension. The method has the beneficial technical effects that the filtering effectiveness is greatly improved, the real network threat can be more accurately identified, and the occurrence of false alarms is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of artificial intelligence technology, and in particular to a domain name filtering method, apparatus, electronic device, and storage medium. Background Technology

[0002] With the rapid development of the Internet, network security issues have become increasingly serious. Domain name filtering, as an important security protection measure, has received widespread attention. Traditional domain name filtering methods usually rely on blacklists or analysis of specific dimensions. Although these methods can block known malicious links to a certain extent, they have many shortcomings.

[0003] Traditional blacklist methods require regular updates to identify known malicious domains, but the effectiveness of blacklists is often limited by the frequency and accuracy of these updates. The constant emergence and changes of malicious websites render blacklists inadequate in blocking emerging threats. Furthermore, many attackers can quickly change their domains to bypass blacklists, further compromising the protective capabilities of this method.

[0004] On the other hand, analysis methods based on fixed dimensions often rely on static rules, which cannot respond to changes in the network environment in a timely manner. For complex and dynamic attack patterns, this method not only has a low recognition rate, but is also prone to false alarms, affecting the user's normal access experience. Summary of the Invention

[0005] Based on this, it is necessary to propose a domain name filtering method, device, electronic device and storage medium to address the existing domain name filtering problem.

[0006] A domain name filtering method, the method comprising: When a device access request is detected, a list of reference domain names is obtained from a preset domain name database based on the access request; wherein, the list of reference domain names includes multiple domain name addresses; Extract the dimension information of each preset dimension of each domain address in the reference domain name list; Each of the aforementioned dimensional information is converted into dimensional values ​​according to a preset correspondence, and the dimensional values ​​are then aggregated according to each preset dimension to obtain a set of dimensional values ​​corresponding to each preset dimension. The dimensional requirements for each preset dimension are set based on the minimum value of the set of dimensional values. Collect target dimension information for each preset dimension of the target domain name address in the set of target domain name addresses corresponding to the access request; Based on the target dimension information and the dimension requirements of each preset dimension, the target domain name addresses in each target domain name address set are filtered step by step.

[0007] Further, the step of filtering the target domain name addresses in each target domain name address set step by step according to the target dimension information and the dimension requirements of each preset dimension includes: Identify whether the homepage of the domain corresponding to the target domain address contains a preset section; Filter the target domain names that do not contain the preset section to obtain the first intermediate target domain name address set; Determine whether the relevance score between the target domain name address in the first intermediate target domain name address set and the access request is less than a preset relevance score; Filter the target domain names in the first set of intermediate target domain names that are less than the preset relevance score to obtain the second set of intermediate target domain names; Determine whether the crawling risk score of the target domain addresses in the second intermediate target domain address set is greater than the preset risk score; Filter the target domain names in the second set of intermediate target domain names that are greater than the preset risk score to obtain the third set of intermediate target domain names; Determine whether the crawling success rate score of the target domain name addresses in the third intermediate target domain name address set is less than the preset crawling success rate; The target domain names in the fourth intermediate target domain name address set that are less than the preset crawling success rate are filtered to obtain the fifth intermediate target domain name address set; Determine whether the resolution accuracy of the target domain name addresses in the fourth intermediate target domain name address set is less than the preset resolution accuracy. The target domain names in the fourth intermediate target domain name address set that are less than the preset crawling success rate are filtered out to obtain the fifth intermediate target domain name address set.

[0008] Furthermore, the step of obtaining a list of reference domain names from a preset domain name database based on the access request when a device access request is detected includes: Based on the access request, obtain multiple historical access requests; Calculate the text similarity between the access request and the historical access requests; Mark historical access requests with text similarity greater than a preset text similarity as target historical access requests; Obtain the historical reference domain names corresponding to each of the target historical access requests to form the reference domain name list.

[0009] Furthermore, after the step of filtering the target domain name addresses in each target domain name address set step by step according to the target dimension information and the dimension requirements of each preset dimension, the method further includes: Determine whether the number of remaining target domain names after filtering is less than a first preset value; If the number of target domain names remaining after filtering is less than the first preset value, the dimension requirements of each preset dimension will be adjusted in the preset dimension order, and filtering will be performed again until the number of target domain names remaining after filtering is greater than or equal to the first preset value.

[0010] Furthermore, after the step of filtering the target domain name addresses in each target domain name address set step by step according to the target dimension information and the dimension requirements of each preset dimension, the method further includes: Determine whether the number of remaining target domain names after filtering is greater than a second preset value; wherein the second preset value is greater than the first preset value; If the number of target domain names remaining after filtering is greater than the second preset value, the dimension requirements of each preset dimension will be adjusted in the preset dimension order, and filtering will be performed again until the number of target domain names remaining after filtering is less than or equal to the second preset value.

[0011] Furthermore, after the step of filtering the target domain name addresses in each target domain name address set step by step according to the target dimension information and the dimension requirements of each preset dimension, the method further includes: Calculate the comprehensive dimension score of the remaining target domain names after filtering; wherein, the comprehensive dimension score is the value obtained by weighted summation based on each preset dimension; Determine whether the overall dimension score is less than the preset overall dimension score; Filter out target domain names that are less than the preset comprehensive dimension score from the remaining target domain names after filtering.

[0012] Furthermore, before the step of extracting the dimension information of each preset dimension of each domain name address in the reference domain name list, the method further includes: Receive a specified domain name uploaded by a specified terminal; Add the specified domain name to the reference domain name list to obtain the updated reference domain name list.

[0013] A domain name filtering device, the device comprising: The reference domain name list acquisition module is used to acquire a reference domain name list from a preset domain name database based on the access request when an access request from the device is detected; wherein, the reference domain name list includes multiple domain name addresses; The dimension information extraction module is used to extract the dimension information of each preset dimension of each domain name address in the reference domain name list; The dimension value set module converts each dimension information into dimension values ​​according to a preset correspondence, and sets each dimension value according to each preset dimension to obtain a dimension value set corresponding to each preset dimension. The dimension requirement setting module is used to set the dimension requirements for each preset dimension based on the minimum value of the set of dimension values. The target dimension information collection module is used to collect target dimension information of each preset dimension of each target domain name address in the target domain name address set corresponding to the access request; The target domain name address filtering module is used to filter the target domain name addresses in each target domain name address set step by step according to the target dimension information and the dimension requirements of each preset dimension.

[0014] An electronic device includes a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the following steps: When a device access request is detected, a list of reference domain names is obtained from a preset domain name database based on the access request; wherein, the list of reference domain names includes multiple domain name addresses; Extract the dimension information of each preset dimension of each domain address in the reference domain name list; Each of the aforementioned dimensional information is converted into dimensional values ​​according to a preset correspondence, and the dimensional values ​​are then aggregated according to each preset dimension to obtain a set of dimensional values ​​corresponding to each preset dimension. The dimensional requirements for each preset dimension are set based on the minimum value of the set of dimensional values. Collect target dimension information for each preset dimension of the target domain name address in the set of target domain name addresses corresponding to the access request; Based on the target dimension information and the dimension requirements of each preset dimension, the target domain name addresses in each target domain name address set are filtered step by step.

[0015] A computer-readable storage medium storing a computer program, which, when executed by a processor, causes the processor to perform the following steps: When a device access request is detected, a list of reference domain names is obtained from a preset domain name database based on the access request; wherein, the list of reference domain names includes multiple domain name addresses; Extract the dimension information of each preset dimension of each domain address in the reference domain name list; Each of the aforementioned dimensional information is converted into dimensional values ​​according to a preset correspondence, and the dimensional values ​​are then aggregated according to each preset dimension to obtain a set of dimensional values ​​corresponding to each preset dimension. The dimensional requirements for each preset dimension are set based on the minimum value of the set of dimensional values. Collect target dimension information for each preset dimension of the target domain name address in the set of target domain name addresses corresponding to the access request; Based on the target dimension information and the dimension requirements of each preset dimension, the target domain name addresses in each target domain name address set are filtered step by step.

[0016] The beneficial effects of this invention are as follows: It dynamically obtains a list of reference domain names based on access requests, extracts preset dimension information for each domain name, transforms this dimension information into a set of dimension values, sets dimension requirements for each preset dimension, and combines this with the target dimension information of the target domain name. This ability to dynamically set dimension requirements significantly improves the effectiveness of filtering, enabling more accurate identification of real network threats and reducing false positives. Furthermore, this method has real-time response capabilities, allowing it to adapt to new attack patterns and changes in a timely manner, enhancing the overall level of network security protection and providing users with a safer and more reliable internet browsing experience. Attached Figure Description

[0017] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0018] in: Figure 1 This is a diagram illustrating the application environment of a domain name filtering method in one embodiment; Figure 2 This is a flowchart of a domain name filtering method in one embodiment; Figure 3 This is a structural block diagram of a domain name filtering device in one embodiment; Figure 4 This is a structural block diagram of an electronic device in one embodiment. Detailed Implementation

[0019] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0020] Figure 1 This is a diagram illustrating a domain name filtering application environment in one embodiment. (Refer to...) Figure 1This domain name filtering method is applied to a domain name filtering system. The domain name filtering system includes a terminal 110 and a server 120. The terminal 110 and server 120 are connected via a network. The terminal 110 can be a desktop terminal or a mobile terminal; a mobile terminal can be at least one of a mobile phone, tablet, or laptop. The server 120 can be a standalone server or a server cluster consisting of multiple servers. The terminal 110 is used to detect access requests from devices, and the server 120 is used to filter domain name addresses.

[0021] like Figure 2 As shown, in one embodiment, a domain name filtering method is provided. This method can be applied to both terminals and servers; this embodiment uses terminal application as an example. The domain name filtering method specifically includes the following steps: S1: When a device access request is detected, a reference domain name list is obtained from a preset domain name database based on the access request; wherein, the reference domain name list includes multiple domain name addresses; S2: Extract the dimension information of each preset dimension of each domain name address in the reference domain name list; S3: Convert each of the aforementioned dimensional information into dimensional values ​​according to a preset correspondence, and collect each of the aforementioned dimensional values ​​according to each preset dimension to obtain a set of dimensional values ​​corresponding to each preset dimension. S4: Set the dimension requirements for each preset dimension based on the minimum value of the set of dimension values; S5: Collect target dimension information for each preset dimension of each target domain name address in the target domain name address set corresponding to the access request; S6: Filter the target domain name addresses in each target domain name address set step by step according to the target dimension information and the dimension requirements of each preset dimension.

[0022] As described in step S1 above, when an access request from a device is detected, a list of reference domain names is retrieved from a preset domain name database based on the access request. This database stores matching domain name addresses corresponding to various access requests. By analyzing the access request, the system can identify the target of the request and retrieve the corresponding list of reference domain names from the database. This list includes multiple domain name addresses. After obtaining the list of reference domain names, the system can perform a preliminary background assessment of the access request based on existing data. This process is not only the basis for filtering but also provides necessary information support for subsequent steps, helping to improve the accuracy and efficiency of filtering.

[0023] As described in step S2 above, extract the dimensional information of each preset dimension for each domain address in the reference domain name list. Perform the extraction of dimensional information for each preset dimension of each domain address. Preset dimensions may include domain name creation time, DNS resolution speed, security certificate status, historical security event records, access frequency, whether it contains a specified section, content relevance, crawling risk score, crawling success rate, etc. This dimensional information reflects the comprehensive security and reliability of the domain name. The extraction process usually involves parsing the structured data stored in the database to ensure that the dimensional information of each domain name is as accurate and comprehensive as possible. At this time, the system needs to standardize the data of different dimensions to prepare for subsequent data transformation and comparison. The purpose of extracting dimensional information is to provide multi-faceted basic data support for domain name evaluation, making subsequent filtering decisions more scientific and reliable. Furthermore, through the analysis of dimensional information, the system can identify potential threat domain names, thus playing a crucial role in the entire filtering process.

[0024] As described in step S3 above, each dimension information is converted into dimension values ​​according to a preset correspondence, and then the dimension values ​​are aggregated according to each preset dimension to obtain a set of dimension values ​​corresponding to each preset dimension. The extracted dimension information is converted into dimension values ​​according to the preset correspondence. This conversion process mainly involves data standardization and normalization to ensure that different types of dimension information can be compared in a unified format. For example, security certificate status can be represented by 0 or 1 (representing expired or valid, respectively); while DNS resolution speed can be represented by the duration in seconds. After quantifying each dimension information, the system aggregates its dimension values ​​according to each preset dimension to form a complete set of dimension values. In this way, each domain name in the entire reference domain name list is quantified into a numerical vector, facilitating subsequent analysis and calculation. The formation of the dimension value set makes the analysis of domain name information more intuitive and scientific, effectively providing an operational basis for subsequent dimension requirement setting and comparison. Through systematic data processing, the goal of improving domain name filtering efficiency and accuracy is achieved.

[0025] As described in step S4 above, dimensional requirements for each preset dimension are set based on the minimum value of the set of dimension values. These requirements are essentially thresholds for security and reliability, typically set based on the minimum value in the set of dimension values. The core of this process lies in analyzing the distribution of each dimension in the reference domain name list to determine a reasonable security metric. This metric reflects which characteristics are normal in this environment and which characteristics may point to potential security problems. In setting dimensional requirements, the system needs to consider various factors such as threat intelligence, user behavior patterns, and changes in the network environment to ensure that the set thresholds are realistic and effective.

[0026] As described in step S5 above, target dimension information for each preset dimension of the target domain name address in the set of target domain name addresses corresponding to the access request is collected. After setting the dimension requirements, target dimension information for each preset dimension of the target domain name address corresponding to the user's access request is collected, and the latest information of the target domain name whose request has ended is obtained in real time. The information collection of the target domain name includes obtaining the latest resolution results, access history, and possible security event records from the DNS server. The key to this process is the timeliness and accuracy of the data, because the target domain name may change in a short period of time, affecting its security assessment. By collecting the dimension information of the target domain name, the system can not only reflect the security status of the target domain name in real time, but also accurately assess its security based on the current data, providing a solid information foundation for subsequent filtering decisions.

[0027] As described in step S6 above, the target domain names in each target domain name address set are filtered progressively based on the target dimension information and the dimension requirements of each preset dimension. This progressive filtering of target domain names is a dynamic comparison process, comparing the real-time acquired target domain name dimension information with the pre-set dimension requirements to identify domain names that do not meet security standards. This progressive filtering mechanism means that the system evaluates the target domain names item by item according to the dimension requirements, ensuring that each dimension undergoes rigorous comparison and analysis, thereby deciding whether to allow or block users from accessing specific domain names. This method not only greatly improves the accuracy of filtering but also effectively reduces the false alarm rate, improving the user's normal access experience. Through dynamic and meticulous filtering decisions, the system can quickly identify potential security risks in a constantly changing network environment, ensuring user network security and maintaining a healthy network ecosystem.

[0028] In one embodiment, step S6, which filters the target domain names in each target domain name address set step by step according to the target dimension information and the dimension requirements of each preset dimension, includes: S601: Identify whether the homepage of the domain name corresponding to the target domain name address contains a preset section; S602: Filter the target domain name addresses that do not contain the preset section to obtain the first intermediate target domain name address set; S603: Determine whether the relevance score between the target domain name address in the first intermediate target domain name address set and the access request is less than a preset relevance score; S604: Filter the target domain names in the first intermediate target domain name address set that are less than the preset relevance score to obtain the second intermediate target domain name address set; S605: Determine whether the crawling risk score of the target domain name address in the second intermediate target domain name address set is greater than the preset risk score; S606: Filter out the target domain names in the second intermediate target domain name address set that are greater than the preset risk score to obtain the third intermediate target domain name address set; S607: Determine whether the crawling success rate score of the target domain name address in the third intermediate target domain name address set is less than the preset crawling success rate; S608: Filter out target domain names in the fourth intermediate target domain name address set that are less than the preset crawling success rate to obtain the fifth intermediate target domain name address set; S609: Determine whether the resolution accuracy of the target domain name addresses in the fourth intermediate target domain name address set is less than the preset resolution accuracy; S610: Filter the target domain names in the fourth intermediate target domain name address set that are less than the preset crawling success rate to obtain the fifth intermediate target domain name address set.

[0029] As described in step S601 above, the system identifies the preset sections of the target domain's homepage. The system first accesses the homepage content of each target domain address to identify whether the homepage contains preset specific sections. These preset sections may include information such as security prompts, privacy policies, user feedback areas, contact information, and terms of service, serving as a basis for judging the legality and reliability of the domain. The system then uses a large language model to perform semantic analysis on the domain's homepage to identify whether it contains sections related to "news," "information," or "public opinion." By analyzing the content of these sections, the system can preliminarily determine whether the target domain possesses characteristics of normal operation and whether it is committed to providing legitimate services. If a domain's homepage contains these preset sections, it usually indicates a high level of credibility, while the absence of these sections may mean that the domain has potential dangers or fraudulent activities.

[0030] As described in step S602 above, domain names that do not contain preset sections are filtered out. After identifying the target domain homepage, the system filters out target domain addresses that do not contain preset sections. When a domain's homepage lacks information that makes users feel safe and trustworthy, or has obvious omissions in its content, the domain will be considered unqualified and removed, resulting in the first intermediate target domain address set.

[0031] As described in step S603 above, the relevance score is determined. After obtaining the first set of intermediate target domain names, the system performs further relevance analysis on the target domain names. Specifically, it analyzes the semantics of the text to determine whether it contains valid information related to the access request, and determines whether the relevance score between these target domain names and the user's access request is less than a preset relevance score. The relevance score is usually calculated by analyzing the user's access intent, historical behavior, and the content of the target domain names. If a domain name does not match the user's request content well, the relevance score will naturally be low.

[0032] As described in step S604 above, low-relevance domains are filtered. After determining the relevance score, the system filters target domains in the first intermediate target domain address set whose relevance scores are lower than a preset relevance score. This preset relevance score can be set to 0.8. By eliminating domains irrelevant to the request, the system reduces the likelihood of users encountering useless information while browsing, thus speeding up the process of finding the desired content. Simultaneously, this filtering of low-relevance domains also helps improve the overall service quality and user satisfaction of the system. This ensures a more efficient and accurate search experience for users, reducing unnecessary time waste and potential information interference.

[0033] As described in step S605 above, a crawling risk score is determined. After obtaining the second set of intermediate target domain names, the system analyzes the crawling risk score for each target domain. This score can be based on a risk assessment model, covering factors such as the domain's historical operations, received security reports, and other user feedback. If the crawling risk score of a target domain exceeds a preset risk value, the system will take appropriate action in subsequent steps. Through this judgment process, the system can identify domains with poor security performance, thereby providing users with a safer browsing environment. The risk score design considers various possible threats to ensure sufficient responsiveness to potential malicious websites.

[0034] As described in step S606 above, high-risk domain names are filtered. Based on the obtained crawling risk score, the system filters target domain names in the second intermediate target domain name address set whose risk scores are greater than a preset risk score. The preset risk score can be set to 0.3. The result of this process is the generation of a third intermediate target domain name address set, focusing on more secure and trustworthy domain names. Through such rigorous screening, the system can significantly reduce the possibility of users encountering security threats during access. Filtering high-risk domain names is not only a necessary measure to improve system security, but also represents a high degree of attention to user information security.

[0035] As described in step S607 above, the crawling success rate score is determined. After filtering high-risk domains, the system will determine the crawling success rate score for the target domain addresses in the third intermediate target domain address set. This score represents the ratio of successful loading times to failed loading times in past visits to the domain, usually obtained by statistically analyzing the request success rate of the domain. The preset crawling success rate can be set to 0.9. When users access unreliable domains, the crawling success rate is often low, indicating that the domain has access problems or even security risks. Therefore, setting a preset success rate threshold is to strengthen the system's control over domain quality.

[0036] As described in step S608 above, domains with low crawling success rates are filtered. After determining the crawling success rate score, the system filters target domains in the third intermediate target domain address set whose crawling success rate is lower than a preset threshold, resulting in a fourth intermediate target domain address set. Through this filtering, the system can remove domains that perform poorly in actual access and may lead to a poor user experience. This not only reduces obstacles encountered by users during browsing but also reduces the burden on the system caused by handling frequent failed requests. The fourth intermediate target domain address set, after multiple filtering steps, will contain higher quality and more stable domains, providing users with a smoother and more secure access experience.

[0037] As described in step S609 above, the resolution accuracy is determined. After filtering domains with low crawling success rates, the system will determine the resolution accuracy of the fourth intermediate target domain name address set. This score is crucial for judging the reliability of a domain name in the DNS resolution process. Resolution accuracy typically represents the accuracy of the resolution results returned by the domain name. If the resolution accuracy of a target domain name is lower than the preset resolution accuracy standard, the system will further analyze its potential problems. Low resolution accuracy may cause users to enter incorrect web pages or be unable to access them at all, which greatly affects user experience and trust. By setting a threshold for resolution accuracy, the system can more rigorously control the quality of domain names and effectively identify and eliminate potential security risks.

[0038] As described in step S610 above, domain names with low resolution accuracy are filtered out. After determining the resolution accuracy status of the target domain names in the fourth intermediate target domain name address set, the system will filter out target domain names with resolution accuracy lower than the preset resolution accuracy rate. The preset resolution accuracy rate can be set to 0.85. This process will generate the final set of valid target domain name addresses, and the retained domain names will be those with high security, relevance, and accuracy verified through multiple screening criteria. Through this layer-by-layer strict screening mechanism, the system not only improves the efficiency of domain name filtering but also significantly reduces the risk of users encountering error pages or malicious websites during access. That is, by filtering out target domain name addresses in the fourth intermediate target domain name address set that have a lower than the preset crawling success rate, a fifth intermediate target domain name address set is obtained.

[0039] In one embodiment, step S1, which retrieves a list of reference domain names from a preset domain name database based on the access request when a device access request is detected, includes: S101: Obtain multiple historical access requests based on the access request; S102: Calculate the text similarity between the access request and the historical access requests; S103: Mark historical access requests with text similarity greater than the preset text similarity as target historical access requests; S104: Obtain the historical reference domain name corresponding to each of the target historical access requests to form the reference domain name list.

[0040] As described in step S101 above, multiple historical access requests are obtained. Based on the currently detected device access requests, multiple related historical access requests are retrieved. Historical access requests contain information about web pages or domains visited by the user within a specific time period; this information is stored in a preset domain database. Capturing the user's access patterns and interests, and identifying areas or topics the user may be interested in, not only provides important background information for the current access requests but also lays a solid foundation for subsequent analysis. For example, if a user has frequently visited a certain type of e-commerce website recently, the system can infer from such historical requests that the user may still be interested in related products or services during the current visit. Effectively obtaining historical access requests helps improve the accuracy of subsequent steps and reduces irrelevant information encountered by the user during access. As described in step S102 above, text similarity is calculated. After acquiring historical access requests, the system calculates the similarity between the text content of the current access request and the acquired historical access requests. This process involves using a text similarity algorithm to compare the text of the current request with the text of historical requests to assess their similarity in expression and intent. Commonly used similarity calculation methods include cosine similarity, Jaccard similarity, or more complex natural language processing algorithms, such as word embeddings. During this process, the system generates a similarity score for each historical access request, representing the relevance between the current request and this historical request. This ensures that the system can accurately capture the user's intent, thereby more effectively identifying the content that the user is most likely to be interested in.

[0041] As described in step S103 above, target historical access requests are marked. After the text similarity calculation is completed, the system will filter out historical access requests with a similarity greater than a preset text similarity and mark these requests as target historical access requests. It ensures that only historical requests with a high relevance to the current access request are retained. The preset text similarity can be set to 0.7. The set similarity threshold can be based on factors such as previous user data analysis, industry standards, or specific practical needs, ensuring flexibility and accuracy in filtering. Once the marked historical access requests are determined, they will provide an important basis for domain name acquisition in subsequent operations. The accuracy of this process directly affects the quality of the reference domain name list, and thus the effectiveness of subsequent filtering strategies. As described in step S104 above, historical reference domains are obtained. After marking the target historical access requests, the historical reference domains corresponding to these target historical access requests are extracted to generate a new list of reference domains for subsequent filtering and analysis. Specifically, the system associates each target historical access request recorded in the access request archive with its associated domains and summarizes a set of potentially effective domains. These historical reference domains typically reflect content or topics of interest to the user and are domains that have achieved high satisfaction in past visits. The final list of reference domains will be used in the subsequent domain filtering process in step S1 to ensure that users can access content that matches their needs when accessing the site. Similarly, this step also provides users with a pre-known and verified security boundary, reducing the risk of users encountering malicious links during access. This effectively ensures the intelligence and timeliness of domain acquisition during dynamic filtering, thereby providing users with a better online experience.

[0042] In one embodiment, after step S6, which progressively filters the target domain names in each target domain name address set according to the target dimension information and the dimension requirements of each preset dimension, the method further includes: S701: Determine whether the number of remaining target domain name addresses after filtering is less than the first preset value; S702: If the number of target domain names remaining after filtering is less than the first preset value, then adjust the dimension requirements of each preset dimension in the preset dimension order and filter again until the number of target domain names remaining after filtering is greater than or equal to the first preset value.

[0043] As described in step S701 above, the number of remaining target domain names is determined. After completing the initial filtering, the system will determine the number of remaining target domain name addresses after filtering. The criterion for this determination is whether the number of remaining target domain name addresses is less than a first preset value. The first preset value can be set according to specific application scenarios and user needs. This value usually takes into account the required number of domain names to ensure that users can still receive sufficient content choices after filtering. If the number after filtering is lower than this preset value, it means that the current filtering strategy may be too strict and cannot meet the user's access needs. Through this step, the system can conduct an initial assessment to ensure the effectiveness and practicality of the filtering. If the number is insufficient, the system will understand that the current filtering conditions need to be adjusted to increase the possible choices and ensure that users can see enough relevant and reliable domain name information in subsequent accesses. This step is crucial to the entire filtering process because it determines the necessity and direction of subsequent strategy adjustments, ensuring that a more flexible access experience can be provided to users.

[0044] As described in step S702 above, the dimensional requirements are adjusted and the filtering is re-executed. After determining that the number of remaining target domain names is less than the first preset value, the dimensional requirements of each preset dimension are adjusted sequentially according to the preset dimensional order, and the filtering process is re-executed. This adjustment process is based on user needs and feedback from the filtering results, aiming to ensure the flexibility and adaptability of the filtering strategy. The requirements of each preset dimension can include multiple aspects such as security, access speed, and relevance. The system will appropriately relax some restrictions to discourage potential domain names. This is done to increase the number of remaining target domain names and ensure that users can obtain sufficiently diverse access options. Specifically, the system may gradually relax the conditions from stricter security reviews or lower the threshold for relevance scores to allow more domain names to pass the filtering. This process requires detailed step planning and risk assessment to ensure that while relaxing the filtering conditions, a certain level of security and effectiveness is maintained. After these adjustments, the system will re-evaluate the target domain names and obtain a new set of remaining target domain name addresses. This dynamic adjustment mechanism not only increases the flexibility of accessible domain names, but also fully considers the balance between user experience and security, striving to provide a wide range of choices without relaxing control over potential threats, and ensuring that users can always obtain the content they need in a secure network environment.

[0045] In one embodiment, after step S6, which progressively filters the target domain names in each target domain name address set according to the target dimension information and the dimension requirements of each preset dimension, the method further includes: S711: Determine whether the number of remaining target domain name addresses after filtering is greater than a second preset value; wherein, the second preset value is greater than the first preset value; S712: If the number of target domain names remaining after filtering is greater than the second preset value, then adjust the dimension requirements of each preset dimension in the preset dimension order and filter again until the number of target domain names remaining after filtering is less than or equal to the second preset value.

[0046] As described in step S711 above, it is determined whether the number of remaining target domain names is greater than the second preset value. After initial filtering and necessary adjustments, the system will re-evaluate the number of remaining target domain name addresses after filtering, comparing the remaining number with the second preset value. This second preset value is usually greater than the first preset value. If the number of remaining target domain name addresses after filtering is greater than the second preset value, it indicates that the current filtering conditions may still be relatively lenient, allowing many eligible domain names to pass. This evaluation process not only provides feedback on the filtering effect but also provides a basis for the formulation and adjustment of subsequent strategies. If this number is higher than the set second preset value, the system will consider the following optimization steps to ensure that while maintaining security, it can meet the user's content needs and access experience. This stage of judgment is crucial, directly affecting possible subsequent adjustments to the filtering strategy and the selection of actions, ensuring that the number of target domain names accessed by the user is within a reasonable range.

[0047] As described in step S712 above, the dimensional requirements are adjusted and the filtering is re-implemented. After determining that the number of remaining target domain names after filtering is greater than the second preset value, the dimensional requirements of each preset dimension are further adjusted. Each dimensional adjustment in this operation is performed according to the set dimensional order, that is, the dimension with the greatest impact is prioritized for adjustment. This means that the system may appropriately relax the filtering strictness of dimensions that have a significant impact but still must maintain a certain standard. By adjusting the strategy one by one, the system aims to increase the user's choice space while meeting security requirements. Therefore, the operation process may include lowering the threshold of certain security indicators, allowing domain names to pass the filter under certain conditions. It is worth noting that while making these fine-tunings, the system also needs to ensure a balance of risk control to avoid introducing potentially dangerous domain names due to relaxed conditions. This re-filtering process, until the number of remaining target domain names is less than or equal to the second preset value, also helps to establish a dynamic balance between the number of qualified domain names and the filtering conditions, so as to achieve immediate response to user needs. Finally, after a series of adjustments and strategy optimizations, while ensuring security, the system provides users with a sufficient selection of high-quality websites, allowing users to efficiently complete their information acquisition and service access goals.

[0048] In one embodiment, after step S6, which progressively filters the target domain names in each target domain name address set according to the target dimension information and the dimension requirements of each preset dimension, the method further includes: S721: Calculate the comprehensive dimension score of the remaining target domain name addresses after filtering; wherein, the comprehensive dimension score is the value obtained by weighted summation based on each preset dimension; S722: Determine whether the comprehensive dimension score is less than the preset comprehensive dimension score; S723: Filter out target domain names that are less than the preset comprehensive dimension score from the remaining target domain names after filtering.

[0049] As described in step S721 above, the comprehensive dimension score is calculated. After the initial filtering is completed, the comprehensive dimension score of the remaining target domain names is calculated. The comprehensive dimension score is obtained by weighted summation of each preset dimension, reflecting the performance of each domain name in different dimensions. First, weights are set for each dimension, and the magnitude of these weights reflects the importance of that dimension in the comprehensive evaluation. For example, security may be given a higher weight because it is directly related to the user's security experience, while dimensions such as relevance and access speed may have lower weights. Next, the system will generate specific values ​​for each domain name in each dimension based on the target dimension information obtained from the previous filtering and analysis. Finally, these values ​​are weighted and summed according to the set weights to obtain the comprehensive dimension score.

[0050] As described in step S722 above, the overall dimension score is determined. After calculating the overall dimension score of the remaining target domain names after filtering, it is determined whether the calculated overall dimension score is less than a preset overall dimension score. The preset overall dimension score is a threshold value set by the system based on experience, user needs, and security standards, used to evaluate the overall quality of the domain name. If the overall dimension score is lower than this threshold, it indicates that the domain name performs poorly in some important dimensions and may have some potential risks or deficiencies. The preset overall dimension score can be set to 0.8.

[0051] As described in step S723 above, domain names with scores below the preset comprehensive dimension are filtered. Based on the judgment results, the remaining target domain names are further filtered, specifically those with comprehensive dimension scores below the preset comprehensive dimension scores are removed. This process aims to ensure that the final retained domain names meet certain standards in overall quality, so as to provide users with a safe and efficient access experience. The remaining target domain names will be more qualified and meet the preset comprehensive dimension standards, providing users with higher-value and more diversified network access channels. This series of operations demonstrates the system's determination and ability to provide users with a user-friendly and effective online experience while ensuring security and quality.

[0052] In one embodiment, before step S2 of extracting the dimension information of each preset dimension of each domain address in the reference domain name list, the method further includes: S111: Receive a specified domain name uploaded by a specified terminal; S112: Add the specified domain name to the reference domain name list to obtain an updated reference domain name list.

[0053] As described in step S111 above, the system receives a specified domain name uploaded by a designated terminal. This process typically involves the user directly inputting or selecting a specific domain name on their terminal device and uploading it through the system's interactive interface (such as a webpage, application, or API). To ensure successful completion, the system needs to validate the input domain name to determine if it conforms to standard domain name formats, such as whether it contains valid characters or follows domain name construction rules. Furthermore, the system may record contextual information related to the uploaded domain name, such as the hardware and software environment, user identity, and operation time. This information aids in subsequent information analysis and processing, ensuring the system can identify and track the source and relevance of specific operations. Receiving the specified domain name lays the foundation for subsequent filtering and analysis processes, as user input usually reflects the content or service they prioritize at a particular moment.

[0054] As described in step S112 above, the specified domain name is added to the reference domain name list. After successfully receiving the domain name uploaded by the specified terminal, the operation of adding the specified domain name to the reference domain name list is performed. The process of adding a specified domain name typically includes verifying the uniqueness of the domain name to ensure that the same domain name is not added repeatedly. The system may perform necessary checks to verify whether the uploaded domain name already exists in the reference domain name list to avoid data redundancy. Furthermore, to better support subsequent analysis, the system can store additional information related to the domain name when adding it, such as the upload timestamp and the information of the uploading user. This information helps the system better manage domain names and conduct subsequent analysis.

[0055] The updated reference domain name list, incorporating the user's latest entered domain name, provides timely and accurate foundational data for subsequent dimensional information extraction (step S2). This addition process allows the reference domain name list to not only reflect the system's dynamic changes in real time but also to provide users with more personalized services and responses, improving the accuracy and satisfaction of the user's access experience. In this way, the system demonstrates strong adaptability and intelligence, capable of meeting the ever-changing network environment and user needs.

[0056] Reference Figure 3 The present invention also provides a domain name filtering device, the device comprising: The reference domain name list acquisition module 902 is used to acquire a reference domain name list from a preset domain name database based on the access request when an access request from the device is detected; wherein, the reference domain name list includes multiple domain name addresses; The dimension information extraction module 904 is used to extract the dimension information of each preset dimension of each domain name address in the reference domain name list; The dimension value set module 906 converts each dimension information into dimension values ​​according to a preset correspondence, and sets each dimension value according to each preset dimension to obtain a dimension value set corresponding to each preset dimension. The dimension requirement setting module 908 is used to set the dimension requirements of each preset dimension based on the minimum value of the set of dimension values. The target dimension information acquisition module 910 is used to acquire target dimension information of each preset dimension of each target domain name address in the target domain name address set corresponding to the access request; The target domain name address filtering module 912 is used to filter the target domain name addresses in each target domain name address set step by step according to the target dimension information and the dimension requirements of each preset dimension.

[0057] In one embodiment, the target domain name address filtering module 912 includes: The identification submodule is used to identify whether the homepage of the domain name corresponding to the target domain name address contains a preset section; The first intermediate target domain name address set acquisition submodule is used to filter target domain name addresses that do not contain preset sections to obtain the first intermediate target domain name address set; The first judgment submodule is used to determine whether the relevance score between the target domain name address in the first intermediate target domain name address set and the access request is less than a preset relevance score; The second intermediate target domain name address set acquisition submodule is used to filter target domain name addresses in the first intermediate target domain name address set that are less than a preset relevance score, and obtain the second intermediate target domain name address set. The second judgment submodule is used to determine whether the crawling risk score of the target domain address in the second intermediate target domain address set is greater than the preset risk score; The third intermediate target domain name address set acquisition submodule is used to filter the target domain name addresses in the second intermediate target domain name address set that are greater than the preset risk score, and obtain the third intermediate target domain name address set. The third judgment submodule is used to determine whether the crawling success rate score of the target domain name address in the third intermediate target domain name address set is less than the preset crawling success rate. The fourth intermediate target domain name address set acquisition submodule is used to filter the target domain name addresses in the fourth intermediate target domain name address set that are less than the preset crawling success rate, and obtain the fifth intermediate target domain name address set. The fourth judgment submodule is used to determine whether the resolution accuracy of the target domain name address in the fourth intermediate target domain name address set is less than the preset resolution accuracy. The fifth intermediate target domain name address set acquisition submodule is used to filter target domain name addresses in the fourth intermediate target domain name address set that are less than the preset crawling success rate to obtain the fifth intermediate target domain name address set.

[0058] In one embodiment, the domain name list acquisition module 902 includes: The historical access request acquisition submodule is used to acquire multiple historical access requests based on the access request; A text similarity calculation submodule is used to calculate the text similarity between the access request and the historical access requests; The target historical access request marking submodule is used to mark historical access requests with a text similarity greater than a preset text similarity as target historical access requests; The reference domain name list formation submodule is used to obtain the historical reference domain names corresponding to each of the target historical access requests, so as to form the reference domain name list.

[0059] In one embodiment, the domain name filtering device further includes: The first judgment module is used to determine whether the number of target domain name addresses remaining after filtering is less than a first preset value; The dimension requirement adjustment module is used to adjust the dimension requirements of each preset dimension in the preset dimension order if the number of target domain names remaining after filtering is less than the first preset value, and then re-filter until the number of target domain names remaining after filtering is greater than or equal to the first preset value.

[0060] In one embodiment, the domain name filtering device further includes: The second judgment module is used to determine whether the number of remaining target domain name addresses after filtering is greater than a second preset value; wherein the second preset value is greater than the first preset value; The re-filtering module is used to adjust the dimensional requirements of each preset dimension in a preset dimensional order if the number of target domain names remaining after filtering is greater than the second preset value, and then re-filter until the number of target domain names remaining after filtering is less than or equal to the second preset value.

[0061] In one embodiment, the domain name filtering device further includes: The comprehensive dimension score calculation module is used to calculate the comprehensive dimension score of the remaining target domain name addresses after filtering; wherein, the comprehensive dimension score is the value obtained by weighted summation based on each preset dimension; The third judgment module is used to determine whether the comprehensive dimension score is less than the preset comprehensive dimension score; The target domain name address filtering module is used to filter out target domain name addresses that are less than the preset comprehensive dimension score from the remaining target domain name addresses after filtering.

[0062] In one embodiment, the domain name filtering device further includes: The specified domain name receiving module is used to receive specified domain names uploaded by specified terminals; The reference domain name list update module is used to add the specified domain name to the reference domain name list to obtain an updated reference domain name list.

[0063] Figure 4 An internal structural diagram of an electronic device in one embodiment is shown. This electronic device can specifically be a terminal or a server, and more specifically, a computer device. Figure 4As shown, the electronic device includes a processor, a memory, and a network interface connected via a system bus. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system and may also store a computer program. When executed by the processor, this computer program enables the processor to implement a domain name filtering method. The internal memory may also store a computer program, which, when executed by the processor, enables the processor to implement the domain name filtering method. Those skilled in the art will understand that... Figure 4 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the electronic device to which the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements.

[0064] In one embodiment, an electronic device is provided, including a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the following steps: When a device access request is detected, a list of reference domain names is obtained from a preset domain name database based on the access request; wherein, the list of reference domain names includes multiple domain name addresses; Extract the dimension information of each preset dimension of each domain address in the reference domain name list; Each of the aforementioned dimensional information is converted into dimensional values ​​according to a preset correspondence, and the dimensional values ​​are then aggregated according to each preset dimension to obtain a set of dimensional values ​​corresponding to each preset dimension. The dimensional requirements for each preset dimension are set based on the minimum value of the set of dimensional values. Collect target dimension information for each preset dimension of the target domain name address in the set of target domain name addresses corresponding to the access request; Based on the target dimension information and the dimension requirements of each preset dimension, the target domain name addresses in each target domain name address set are filtered step by step.

[0065] This method dynamically retrieves a list of reference domains based on access requests, extracts preset dimension information for each domain, converts this dimension information into a set of dimension values, sets dimensional requirements for each preset dimension, and combines this with the target dimension information of the target domain. This allows for the gradual filtering of potential malicious domains in a dynamic environment. This ability to dynamically set dimensional requirements significantly improves the effectiveness of filtering, enabling more accurate identification of real network threats and reducing false positives. Furthermore, this method features real-time response capabilities, allowing it to adapt to new attack patterns and changes promptly, enhancing the overall level of network security protection and providing users with a safer and more reliable online experience.

[0066] In one embodiment, a computer-readable storage medium is provided storing a computer program that, when executed by a processor, causes the processor to perform the following steps: When a device access request is detected, a list of reference domain names is obtained from a preset domain name database based on the access request; wherein, the list of reference domain names includes multiple domain name addresses; Extract the dimension information of each preset dimension of each domain address in the reference domain name list; Each of the aforementioned dimensional information is converted into dimensional values ​​according to a preset correspondence, and the dimensional values ​​are then aggregated according to each preset dimension to obtain a set of dimensional values ​​corresponding to each preset dimension. The dimensional requirements for each preset dimension are set based on the minimum value of the set of dimensional values. Collect target dimension information for each preset dimension of the target domain name address in the set of target domain name addresses corresponding to the access request; Based on the target dimension information and the dimension requirements of each preset dimension, the target domain name addresses in each target domain name address set are filtered step by step.

[0067] This method dynamically retrieves a list of reference domains based on access requests, extracts preset dimension information for each domain, converts this dimension information into a set of dimension values, sets dimensional requirements for each preset dimension, and combines this with the target dimension information of the target domain. This allows for the gradual filtering of potential malicious domains in a dynamic environment. This ability to dynamically set dimensional requirements significantly improves the effectiveness of filtering, enabling more accurate identification of real network threats and reducing false positives. Furthermore, this method features real-time response capabilities, allowing it to adapt to new attack patterns and changes promptly, enhancing the overall level of network security protection and providing users with a safer and more reliable online experience.

[0068] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments described above. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and RAMbus dynamic RAM (RDRAM), etc.

[0069] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0070] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.

Claims

1. A domain name filtering method characterized by, The method comprises: When detecting an access request of a device, a reference domain name list is obtained from a preset domain name database based on the access request; wherein the reference domain name list comprises a plurality of domain name addresses; Dimension information of each preset dimension of each domain name address in the reference domain name list is extracted; Each dimension information is converted into a dimension value according to a preset corresponding relationship, and each dimension value is collected according to each preset dimension to obtain a dimension value set corresponding to each preset dimension; The dimension requirements of each preset dimension are set according to the minimum value of the dimension value set; Target dimension information of each preset dimension of each target domain name address in a target domain name address set corresponding to the access request is collected; Each target domain name address in the target domain name address set is filtered according to the target dimension information and the dimension requirements of each preset dimension.

2. The domain name filtering method of claim 1, wherein, The step of filtering each target domain name address in the target domain name address set according to the target dimension information and the dimension requirements of each preset dimension comprises: It is judged whether the domain name homepage corresponding to the target domain name address contains a preset board; The target domain name addresses not containing the preset board are filtered to obtain a first intermediate target domain name address set; It is judged whether the relevance score of the target domain name address in the first intermediate target domain name address set to the access request is less than a preset relevance score; The target domain name addresses in the first intermediate target domain name address set less than the preset relevance score are filtered to obtain a second intermediate target domain name address set; It is judged whether the crawling risk score of the target domain name address in the second intermediate target domain name address set is greater than a preset risk score; The target domain name addresses in the second intermediate target domain name address set greater than the preset risk score are filtered to obtain a third intermediate target domain name address set; It is judged whether the crawling success rate score of the target domain name address in the third intermediate target domain name address set is less than a preset crawling success rate; The target domain name addresses in the fourth intermediate target domain name address set less than the preset crawling success rate are filtered to obtain a fifth intermediate target domain name address set; It is judged whether the parsing accuracy of the target domain name address in the fourth intermediate target domain name address set is less than a preset parsing accuracy; The target domain name addresses in the fourth intermediate target domain name address set less than the preset crawling success rate are filtered to obtain a fifth intermediate target domain name address set.

3. The domain name filtering method of claim 1, wherein, The step of obtaining a reference domain name list from a preset domain name database based on an access request when detecting the access request of a device comprises: A plurality of historical access requests are obtained based on the access request; The text similarity of the access request and the historical access requests is calculated; The historical access requests with a text similarity greater than a preset text similarity are marked as target historical access requests; The historical reference domain names corresponding to each target historical access request are obtained to form the reference domain name list.

4. The domain name filtering method of claim 1, wherein, After the step of filtering each target domain name address in the target domain name address set according to the target dimension information and the dimension requirements of each preset dimension, the method further comprises: determine whether the number of target domain name addresses remaining after filtering is less than a first preset value; if the number of target domain name addresses remaining after filtering is less than the first preset value, adjust the dimension requirement of each preset dimension in turn according to a preset dimension order, and re-filter until the number of target domain name addresses remaining after filtering is greater than or equal to the first preset value.

5. The domain name filtering method of claim 4, wherein, After the step of filtering each target domain name address in each target domain name address set according to the target dimension information and the dimension requirement of each preset dimension, the method further comprises: determine whether the number of target domain name addresses remaining after filtering is greater than a second preset value; wherein the second preset value is greater than the first preset value; if the number of target domain name addresses remaining after filtering is greater than the second preset value, adjust the dimension requirement of each preset dimension in turn according to a preset dimension order, and re-filter until the number of target domain name addresses remaining after filtering is less than or equal to the second preset value.

6. The domain name filtering method of claim 1, wherein, After the step of filtering each target domain name address in each target domain name address set according to the target dimension information and the dimension requirement of each preset dimension, the method further comprises: calculate a comprehensive dimension score of the target domain name addresses remaining after filtering; wherein the comprehensive dimension score is a value obtained by weighted summation according to each preset dimension; determine whether the comprehensive dimension score is less than a preset comprehensive dimension score; filter the target domain name addresses remaining after filtering which are less than the preset comprehensive dimension score.

7. The domain name filtering method of claim 1, wherein, Before the step of extracting the dimension information of each preset dimension of each domain name address in the reference domain name list, the method further comprises: receive a specified domain name uploaded by a specified terminal; add the specified domain name to the reference domain name list to obtain an updated reference domain name list.

8. A domain name filtering apparatus characterized by comprising: The apparatus comprises: a reference domain name list acquisition module configured to acquire a reference domain name list from a preset domain name database based on an access request of a device when the access request is detected; wherein the reference domain name list comprises a plurality of domain name addresses; a dimension information extraction module configured to extract dimension information of each preset dimension of each domain name address in the reference domain name list; a dimension value set module configured to convert each dimension information into a dimension value according to a preset correspondence relationship, and collect each dimension value according to each preset dimension to obtain a dimension value set corresponding to each preset dimension; a dimension requirement setting module configured to set a dimension requirement of each preset dimension according to a minimum value of the dimension value set; a target dimension information acquisition module configured to acquire target dimension information of each preset dimension of each target domain name address in a target domain name address set corresponding to the access request; a target domain name address filtering module configured to filter each target domain name address in the target domain name address set according to the target dimension information and the dimension requirement of each preset dimension.

9. A computer-readable storage medium, characterized in that, A computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the steps of the domain name filtering method according to any one of claims 1 to 7.

10. An electronic device, comprising: The device comprises a memory and a processor, the memory stores a computer program, the computer program is executed by the processor, so that the processor executes the steps of the domain name filtering method in any one of claims 1 to 7.