CN113810414B - Mobile client domain name filtering method and device, electronic equipment and storage medium - Google Patents

Mobile client domain name filtering method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113810414B
CN113810414B CN202111092094.6A CN202111092094A CN113810414B CN 113810414 B CN113810414 B CN 113810414B CN 202111092094 A CN202111092094 A CN 202111092094A CN 113810414 B CN113810414 B CN 113810414B
Authority
CN
China
Prior art keywords
domain name
filtering
filter table
request
domain
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111092094.6A
Other languages
Chinese (zh)
Other versions
CN113810414A (en
Inventor
陈晟豪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Puhui Enterprise Management Co Ltd
Original Assignee
Ping An Puhui Enterprise Management Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Puhui Enterprise Management Co Ltd filed Critical Ping An Puhui Enterprise Management Co Ltd
Priority to CN202111092094.6A priority Critical patent/CN113810414B/en
Publication of CN113810414A publication Critical patent/CN113810414A/en
Application granted granted Critical
Publication of CN113810414B publication Critical patent/CN113810414B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
    • H04L63/0227Filtering policies
    • H04L63/0236Filtering by address, protocol, port number or service, e.g. IP-address or URL
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/101Access control lists [ACL]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to the field of artificial intelligence, in particular to a domain name resolution method, which comprises the steps of establishing a domain name sequence according to domain names in a domain name library, storing domain name fingerprints in a standard filter table based on the domain name sequence to form a domain name filter table, judging whether a request domain name in a client network request meets the occupation requirement of the domain name filter table, and if the request domain name does not meet the occupation requirement of the filter table, skipping a webpage according to the request domain name to finish webpage access; if the occupation requirement of the filter table is met, access filtering is carried out on the network request of the client side, and the inaccessible announcement is sent to the client side, so that the server side can judge whether a domain name is in the filter table configuration or not by checking the filter table times through a limited single digit after the filter table is constructed, and a large amount of time is not consumed by matching one by one, so that the time is saved, the filtering efficiency is improved, the storage space is saved, and the network overhead is saved.

Description

Mobile client domain name filtering method and device, electronic equipment and storage medium
Technical Field
The invention relates to the field of artificial intelligence, in particular to a domain name resolution method, a domain name filtering method and device for a mobile client, electronic equipment and a computer readable storage medium.
Background
Under the service flow of a financial client, the transaction of part of services can be performed to increase credit or add amount according to the existing policy of a client, at present, dozens of different insurance companies exist in the market, each insurance company has a specific homepage to inquire the policy information of the client, if the client is separated from the client to obtain insurance data, such as a policy screenshot, lawbreakers may forge the policy screenshot, and the difficulty and risk of distinguishing by a financial service provider are increased.
The black domain name configuration is stored through the server side, and the client side can cause overlong request time through network request and table lookup; if the domain name is directly cached in the memory of the server, a large amount of domain name data consumes more space in the memory of the server; moreover, the conventional filtering processing mode has no good expansibility.
Therefore, a domain name filtering method for a mobile client, which can improve filtering efficiency, save storage space, and save network overhead, is needed.
Disclosure of Invention
The invention provides a domain name filtering method for a mobile client, which aims to solve the problem that the black domain name configuration is stored by a server, and the request time is too long due to network request and table lookup by the client; if the domain name is directly cached in the memory of the server, a large amount of domain name data consumes more space in the memory of the server; moreover, the conventional filtering processing mode does not have the problem of good expansibility.
In order to achieve the above object, the present invention provides a method for filtering a domain name of a mobile client, including:
performing a falling base treatment on the domain name to be filtered according to a preset service rule to form a domain name base;
establishing a domain name sequence according to the domain name in the domain name library, and storing domain name fingerprints in a standard filtering table based on the domain name sequence to form a domain name filtering table; the establishing a domain name sequence according to the domain name in the domain name library, and storing a domain name fingerprint in a standard filter table based on the domain name sequence to form a domain name filter table includes:
reading the domain name library to form a domain name sequence;
initializing a pre-stored filtering table, determining the number of lines of the filtering table to form a standard filtering table, and storing a domain name fingerprint generated according to the domain name sequence in the standard filtering table to form a domain name filtering table;
judging whether a request domain name in a client network request meets the occupation requirement of the domain name filter table; wherein the determining whether the request domain name in the intercepted client network request meets the occupancy requirement of the domain name filter table includes:
intercepting a client network request based on an interception program;
extracting a page address from the client network request;
calculating a request domain name according to the page address;
screening whether a domain name fingerprint related to the page address exists in the domain name filtering table according to the request domain name;
if the domain name fingerprint related to the page address exists, the occupation requirement of the domain name filter table is met; if the domain name fingerprint related to the page address does not exist, the occupation requirement of the domain name filter table is not met;
if the occupation requirement of the filter table is not met, webpage skipping is carried out according to the request domain name to finish webpage access; and if the occupation requirement of the filter table is met, performing access filtering on the client network request, and sending an inaccessible notice to the client.
Optionally, the performing, according to the preset service rule, a falling-base process on the domain name to be filtered to form a domain name base includes:
collecting a link blacklist according to a preset service rule;
extracting a website list from the link blacklist;
acquiring a domain name according to the website list;
and performing a domain name falling process on the domain name to form a domain name library.
Optionally, the process of determining the number of rows of the filter table to form a standard filter table includes:
converting the filter table into a two-dimensional array;
multiplying the number of domain names in the domain name library by two based on the two-dimensional array to obtain a multiplication value;
judging whether the multiplication value is an exponential multiple of two; if the multiplication value is an index multiple of two, taking the multiplication value as a result value of the filter table; if the multiplication value is not exponential multiple of two, expanding the multiplication value to an exponential multiple value of two with the minimum difference with the multiplication value, and taking the exponential multiple value of two as a result value of the filter table;
comparing the result value with a preset value to obtain a larger value, and dividing the larger value by four to obtain the number of rows of the filter table.
Optionally, the process of storing the domain name fingerprint generated according to the domain name sequence in the standard filtering table to form a domain name filtering table includes:
sequentially evaluating the domain names in the domain name sequence through a hash function to obtain a hash value;
performing remainder calculation on the hash value and 255 to obtain a remainder, and adding 1 to the remainder to obtain a domain name result; if the domain name result is in the range of 1-255, taking the domain name result as a domain name fingerprint; and, the domain name fingerprint occupies 1 byte;
and performing bit-by-bit and calculation on the hash value and the mask number to obtain the position of a line to be inserted of the standard filter table, determining an insertion mode and an insertion position according to the vacancy of the position of the line to be inserted, and inserting the domain name fingerprint into the insertion position according to the insertion mode to form the domain name filter table.
Optionally, the performing a web page jump according to the request domain name to complete web page access includes:
performing query operation according to the request domain name to obtain a target page address, and caching the request domain name and the target page address to the local;
and according to the target page address, locally jumping to a target page to finish access.
In order to solve the above problem, the present invention further provides a mobile client domain name filtering apparatus, where the apparatus includes:
the domain name database falling unit is used for performing database falling processing on the domain names to be filtered according to a preset service rule to form a domain name database;
the domain name table building unit is used for building a domain name sequence according to the domain names in the domain name library and storing domain name fingerprints in a standard filtering table based on the domain name sequence to form a domain name filtering table; the establishing a domain name sequence according to the domain name in the domain name library, and storing a domain name fingerprint in a standard filter table based on the domain name sequence to form a domain name filter table includes:
reading the domain name library to form a domain name sequence;
initializing a pre-stored filtering table, determining the number of lines of the filtering table to form a standard filtering table, and storing a domain name fingerprint generated according to the domain name sequence in the standard filtering table to form a domain name filtering table;
an occupation judging unit, configured to judge whether a requested domain name in the client network request meets an occupation requirement of the domain name filter table; wherein the determining whether the request domain name in the intercepted client network request meets the requirement of occupying the domain name filter table comprises:
intercepting a client network request based on an interception program;
extracting a page address from the client network request;
calculating a request domain name according to the page address;
screening whether a domain name fingerprint related to the page address exists in the domain name filtering table according to the request domain name;
if the domain name fingerprint related to the page address exists, the occupation requirement of the domain name filter table is met; if the domain name fingerprint related to the page address does not exist, the occupation requirement of the domain name filter table is not met;
the domain name response unit is used for skipping a webpage according to the request domain name to finish webpage access if the occupation requirement of the filter table is not met; and if the occupation requirement of the filter table is met, performing access filtering on the client network request, and sending an inaccessible announcement to the client.
In order to solve the above problem, the present invention also provides an electronic device, including:
at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the steps of the mobile client domain name filtering method as described above.
In order to solve the above problem, the present invention further provides a computer-readable storage medium, where at least one instruction is stored, and the at least one instruction is executed by a processor in an electronic device to implement the above method for filtering a domain name of a mobile client.
The method comprises the steps of firstly performing falling base processing on domain names needing to be filtered according to preset service rules to form a domain name base, then establishing domain name sequences according to the domain names in the domain name base, storing domain name fingerprints in a standard filter table based on the domain name sequences to form a domain name filter table, then judging whether a request domain name in an intercepted client network request meets the occupation requirement of the domain name filter table, and if the request domain name does not meet the occupation requirement of the filter table, performing webpage skipping according to the request domain name to finish webpage access; if the occupation requirement of the filter table is met, access filtering is carried out on the network request of the client side, and the inaccessible announcement is sent to the client side, so that the server side can judge whether a domain name is in the filter table configuration or not by checking the times of the filter table through limited single digits after the filter table is constructed, and a large amount of time is consumed instead of matching one by one, so that the time is saved, the filtering efficiency is improved, the storage space is saved, and the network overhead is saved.
Drawings
Fig. 1 is a schematic flowchart of a domain name filtering method for a mobile client according to an embodiment of the present invention;
fig. 2 is a block diagram of a domain name filtering apparatus for a mobile client according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an internal structure of an electronic device of a domain name filtering method for a mobile client according to an embodiment of the present invention;
the implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the implementation of domain name configuration and lookup, the following problems are often encountered:
1. the filtering domain name table is often configured with a large amount of data, and usually one client does not access all domain names, and if all the domain names are stored in the client, a large amount of storage space of a mobile phone of a user is occupied.
2. Even if the storage space of the user mobile phone is enough, the user mobile phone is configured by traversing the list one by one for judging whether a domain name is in the filter table, the speed of the processor of the mobile phone is first, and a large amount of data query usually consumes a long time to cause the user mobile phone to be stuck.
3. The server stores the black domain name configuration, the client requests through the network, if the client only looks up the table, the request time is too long, and if the client directly caches in the memory of the server according to the domain name, a large amount of domain name data consumes more space in the memory of the server.
4. The conventional filtering processing mode has no good expansibility.
In order to solve the above problem, the present invention provides a method for filtering a domain name of a mobile client. Fig. 1 is a schematic flow chart of a method for filtering a domain name of a mobile client according to an embodiment of the present invention. The method may be performed by an apparatus, which may be implemented by software and/or hardware.
In this embodiment, the method for filtering a domain name of a mobile client includes:
s1: performing a falling base treatment on the domain name to be filtered according to a preset service rule to form a domain name base;
s2: establishing a domain name sequence according to a domain name in a domain name library, and storing domain name fingerprints in a standard filter table based on the domain name sequence to form a domain name filter table;
s3: judging whether a request domain name in a client network request meets the occupation requirement of a domain name filter table or not;
s4: if the occupation requirement of the filter table is not met, webpage skipping is carried out according to the request domain name to finish webpage access; and if the occupation requirement of the filter table is met, performing access filtering on the client network request, and sending an inaccessible announcement to the client.
In the embodiment shown in fig. 1, step S1 is a step of performing a domain name dropping process on a domain name to be filtered according to a preset service rule to form a domain name library, and includes:
s11: collecting a link blacklist according to a preset service rule;
s12: extracting a website list from the connection blacklist;
s13: acquiring a domain name according to a website list;
s14: performing a domain name falling process on the domain name to form a domain name library;
specifically, in this embodiment, the service rule in step S11 is a rule for which links need to enter the blacklist to prohibit access, and the rule is preset and can be adjusted according to actual conditions, for example, an insurance company page is opened in the service provider client, and there may be many hyperlinks on the page that can jump out of the insurance company page itself, which gives the possibility that no molecules forge data, so for security, links with high security requirements are added into the link blacklist, and thus, only pages that are not in the link blacklist can be accessed in the service provider client;
steps S12, S13, and S14 are processes of performing domain name dropping based on the linked blacklist, and the processes may be performed by a conventional method and will not be described herein.
In the embodiment shown in fig. 1, step S2 is a process of establishing a domain name sequence according to a domain name in a domain name library, and storing a domain name fingerprint in a standard filter table based on the domain name sequence to form a domain name filter table; wherein, include:
s21: reading a domain name library to form a domain name sequence;
s22: initializing a pre-stored filtering table, determining the number of lines of the filtering table to form a standard filtering table, and storing a domain name fingerprint generated according to a domain name sequence in the standard filtering table to form a domain name filtering table;
in step S22, the process of S221 determining the number of lines of the filter table to form a standard filter table includes:
s221-1: converting the filter table into a two-dimensional array;
s221-2: multiplying the number of the domain names in the domain name library by two based on the two-dimensional array to obtain a multiplication value;
s221-3: judging whether the multiplication value is an exponential multiple of 2; if the multiplication value is exponential times of 2, taking the multiplication value as a result value of the filter table; if the multiplication value is not the exponential multiple of 2, expanding the multiplication value to the exponential multiple of 2 with the minimum difference with the multiplication value, and taking the exponential multiple of 2 as a result value of the filter table;
s221-4: comparing the result value with a preset value to obtain a larger value, and dividing the larger value by 4 to obtain the number of rows of the filter table;
specifically, step S221 is a process of determining the number of lines, the filter table is used to store the domain name fingerprint after being processed, the filter table is a two-dimensional array, each line can hold 4 elements, and in this embodiment, the number of lines is calculated as follows:
the number of domain names which have fallen into the pool is multiplied by 2, and the number is enlarged according to whether the multiplication value is exponential times of 2, if the result is exponential times of 2, the result data is used, and if not, the multiplication value is enlarged to exponential times of 2 with the smallest difference, and the result data is used.
Such as: the number of domain names is 4, the value multiplied by 2 is 8, and the value is exponential times of 2 and does not need to be expanded. If the number of domain names is 5, the value multiplied by 2 is 10, which is not an exponential multiple of 2, and the exponential multiple of 2 with the smallest difference is 16.
The result is compared with 1,000,000 to obtain the maximum value, and the result of dividing the maximum value by 4 is the number of rows in the filter table.
In step S22, the process of S222 storing the domain name fingerprint generated according to the domain name sequence in the standard filtering table to form a domain name filtering table includes:
s222-1: sequentially evaluating the domain names in the domain name sequence through a hash function to obtain a hash value;
s222-2: performing remainder calculation on the hash value and 255 to obtain a remainder; adding 1 to the remainder to obtain a domain name result; if the domain name result is in the range of 1-255, taking the domain name result as the domain name fingerprint; and, the domain name fingerprint occupies 1 byte;
s222-3: performing bit-by-bit and calculation on the hash value and the mask number to obtain the position of a row to be inserted of the standard filter table; determining an insertion mode and an insertion position according to the vacancy of the position of the row to be inserted, and inserting the domain name fingerprint into the insertion position according to the insertion mode to form a domain name filtering table;
in the process of carrying out bitwise AND calculation on the hash value and the mask number to obtain the position of the line to be inserted of the standard filter table, the mask number is calculated according to the following formula: 2 n -1, wherein n is the number of rows +1;
the process of determining an insertion mode and an insertion position according to the vacancy of the position of the row to be inserted, and inserting the domain name fingerprint into the insertion position according to the insertion mode to form a domain name filtering table comprises the following steps:
s222-31: judging whether a first empty position exists in a preset number of element positions of the row to be inserted; if the first empty position exists, the first empty position is used as an insertion position, and the insertion mode is direct insertion; if no empty position exists, calculating a second position to be inserted, wherein the process of calculating the second position to be inserted is as follows: performing bitwise and calculation on the position of the line to be inserted and the mask number to acquire a second data value; performing XOR operation on the second data value and the position of the row to be inserted to obtain a second position of the row to be inserted; wherein the preset number is 4;
s222-32: judging whether a second empty position exists in the preset number of element positions of the second row position to be inserted, if so, taking the second empty position as an insertion position, and the insertion mode is direct insertion; if the second empty position does not exist, the domain name fingerprint is randomly inserted;
in this embodiment, the random insertion mode is as follows:
(1) Randomly selecting a row to be inserted and a second row to be inserted as an insertion row;
(2) Randomly selecting one of 4 element positions in the insertion row, storing the fingerprint data in the position, replacing original fingerprint data occupying the position, and then inserting the original fingerprint data into a vacancy of a second row according to a calculation method of a second to-be-inserted row, namely calculating a to-be-inserted row related to the original fingerprint data, and then performing bitwise and calculation on the position of the to-be-inserted row related to the original fingerprint data and a mask number related to the original fingerprint data to obtain a second data value related to the original fingerprint data; and performing XOR operation on a second data value related to the original fingerprint data and a position of a row to be inserted related to the original fingerprint data to obtain a second position of the row to be inserted related to the original fingerprint data, repeating the step again to randomly select a position of the original fingerprint data in the row for replacement if no redundant position of the second position of the row to be inserted related to the original fingerprint data can be inserted, and forming a domain name filtering table until all the replaced fingerprint data are sequentially inserted into the standard filtering table to form the domain name filtering table, namely after all the domain names of the fallen libraries are inserted into the standard filtering table according to the steps, finishing the construction of the filtering table.
In the embodiment shown in fig. 1, step S3 is a process of determining whether a request domain name in an intercepted client network request meets an occupancy requirement of a domain name filter table; wherein, include:
s31: intercepting a client network request based on an interception program;
s32: extracting a page address from the client network request;
s33: calculating a request domain name according to the page address;
s34: screening whether domain name fingerprints related to page addresses exist in a domain name filtering table according to the request domain name;
s35: if the domain name fingerprint related to the page address exists, the occupation requirement of the domain name filter table is met; if the domain name fingerprint related to the page address does not exist, the occupation requirement of the domain name filter table is not met;
specifically, step S31 is a process of intercepting a client network request based on an interception program, the interception program is not specifically limited, in this embodiment, the interception program is Webview, a user selects an insurance company in a page according to a service requirement in an insurance list through a client process, jumps to an insurance company home page through Webview to perform an operation, clicks any one hyperlink on a company page to trigger page jump, and is intercepted by a Webview proxy method in the client to inquire whether the jump is possible, and then step S32 is performed to enable the client to extract a page address of the intercepted client network request to take out a page address;
the steps S33 and S34 are a screening process, that is, whether a domain name fingerprint related to a page address exists in a domain name filtering table is screened, the page address is obtained through the page address, a request domain name is obtained through the page address, then the request domain name is sequentially evaluated and calculated through a hash function to obtain a page hash value, the hash value and 255 are subjected to remainder calculation to obtain a remainder, then 1 is added to the remainder to obtain a request result, and if the request result is within a range of 1-255, the request result is used as the domain name fingerprint related to the page address; performing bitwise and calculation on the page hash value and the mask number to acquire a retrieval position so as to retrieve whether a domain name fingerprint related to a page address exists in the retrieval position; the process of obtaining the retrieval position is that whether the fingerprint of the address exists in the 4 element positions of the first retrieval position is searched firstly, if yes, the domain name fingerprint related to the page address is in the filtering domain name table, if not, whether the domain name fingerprint of the address exists in the 4 element positions of the second retrieval position is searched, if yes, the address is in the filtering domain name table, and if not, the address is not in the filtering domain name table.
Step S34 is a judging process, and if the domain name fingerprint related to the page address exists in the filtering domain name table, the occupation requirement of the domain name filtering table is met; if the domain name fingerprint related to the page address does not exist in the filtering domain name table, the occupation requirement of the domain name filtering table is not met.
In the embodiment shown in fig. 1, step S4 is a process of responding according to the request domain name, that is, if the requirement for occupying the filter table is not satisfied, performing webpage skipping according to the request domain name to complete webpage access; if the occupation requirement of the filter table is met, access filtering is carried out on the client network request, and an inaccessible announcement is sent to the client; the process of performing webpage skipping to complete webpage access according to the request domain name comprises the following steps:
s411: performing query operation according to the request domain name to obtain a target page address, and caching the request domain name and the target page address to the local;
s112: according to the target page address, locally jumping to a target page to finish access;
sending a non-accessible announcement to the client, wherein the page containing the 'non-skip' information can be directly displayed, and the page can be directly skipped to the page 404;
specifically, after the client receives the query result, if the domain name address needs to be filtered, the client turns to the page 404 to prompt that the user cannot jump, otherwise, the user normally jumps to the corresponding page. Meanwhile, the client caches the domain name and the corresponding query result locally, and when page skipping is performed again subsequently, the client can directly search the result in the local cache to judge whether the page is the domain name address needing filtering.
The invention provides a mobile client domain name filtering method, which comprises the steps of firstly carrying out falling processing on domain names needing to be filtered according to a preset service rule to form a domain name library, then establishing a domain name sequence according to the domain names in the domain name library, storing domain name fingerprints in a standard filtering table on the basis of the domain name sequence to form a domain name filtering table, then judging whether a request domain name in a client network request meets the occupation requirement of the domain name filtering table, and if the request domain name does not meet the occupation requirement of the filtering table, carrying out webpage skipping according to the request domain name to finish webpage access; if the occupation requirement of the filter table is met, access filtering is carried out on the network request of the client side, and the inaccessible announcement is sent to the client side, so that the server side can judge whether a domain name is in the filter table configuration or not by checking the filter table times through a limited single digit after the filter table is constructed, and a large amount of time is not consumed by matching one by one, so that the time is saved, the filtering efficiency is improved, the storage space is saved, and the network overhead is saved.
As described above, in the embodiment shown in fig. 1, the method for filtering a domain name of a mobile client provided by the present invention has the following advantages: (1) after the filtering table construction is completed, the server side can judge whether a domain name is in the filtering table configuration by checking the filtering table times through a limited number of digits, instead of consuming a large amount of time by matching one by one; (2) the domain name fingerprint data is cached in the memory of the filter table, and one fingerprint data only occupies 1 byte, so that a large amount of space can be saved compared with the method for directly caching the domain name URL; (3) the client side of the query result performs secondary cache every time, and the subsequent client side directly performs local search, so that the network overhead is saved, and the time is saved.
As shown in fig. 2, the present invention provides a domain name filtering apparatus 100 for a mobile client, which can be installed in an electronic device. According to the implemented functions, the mobile client domain name filtering apparatus 100 may include a domain name database unit 101, a domain name table creating unit 102, an occupancy determining unit 103, and a domain name response unit 104. The module of the present invention, which may also be referred to as a unit, refers to a series of computer program segments that can be executed by a processor of an electronic device and can perform a fixed function, and are stored in a memory of the electronic device.
In the present embodiment, the functions regarding the respective modules/units are as follows:
a domain name database falling unit 101, configured to perform database falling processing on domain names to be filtered according to preset service rules to form a domain name database;
a domain name table building unit 102, configured to build a domain name sequence according to a domain name in a domain name library, and store a domain name fingerprint in a standard filtering table based on the domain name sequence to form a domain name filtering table;
an occupancy determining unit 103, configured to determine whether a requested domain name in the client network request meets an occupancy requirement of the domain name filter table;
the domain name response unit 104 is configured to perform webpage skipping according to the requested domain name to complete webpage access if the occupancy requirement of the filter table is not met; and if the occupation requirement of the filter table is met, performing access filtering on the client network request, and sending an inaccessible announcement to the client.
The process of performing a domain name dropping process on domain names to be filtered according to a preset service rule by the domain name dropping unit 101 to form a domain name library includes:
collecting a link blacklist according to a preset service rule;
extracting a website list from the link blacklist;
acquiring a domain name according to a website list;
and performing a domain name database process on the domain names to form a domain name database.
Specifically, in this embodiment, the business rule is a rule for which links need to enter the blacklist to prohibit access, the rule is preset, and may be adjusted according to an actual situation, for example, an insurance company page is opened in the service provider client, and there may also be many hyperlinks on the page that may jump out of the insurance company page itself, which gives possibility of not sending molecular counterfeit data, so that links with high security requirements are added to the link blacklist for security, and thus, only pages that are not in the link blacklist may be accessed in the service provider client.
The process of the domain name table building unit 102 building a domain name sequence according to the domain names in the domain name library and storing domain name fingerprints in the standard filtering table based on the domain name sequence to form a domain name filtering table includes:
reading a domain name library to form a domain name sequence;
initializing a pre-stored filtering table, determining the number of lines of the filtering table to form a standard filtering table, and storing a domain name fingerprint generated according to a domain name sequence in the standard filtering table to form a domain name filtering table;
wherein, the process of determining the number of lines of the filter table to form the standard filter table comprises the following steps:
converting the filter table into a two-dimensional array;
multiplying the number of the domain names in the domain name library by two based on the two-dimensional array to obtain a multiplication value;
judging whether the multiplication value is an exponential multiple of two; if the multiplication value is an index multiple of two, taking the multiplication value as a result value of the filter table; if the multiplication value is not exponential multiple of two, expanding the multiplication value to exponential multiple of two with the smallest difference with the multiplication value, and taking the exponential multiple of two as a result value of the filter table;
the resulting value is compared with a preset value to obtain a larger value, and the larger value is divided by four to obtain the number of rows of the filter table.
Storing domain name fingerprints generated according to the domain name sequences in a standard filtering table to form a domain name filtering table, wherein the process comprises the following steps:
sequentially evaluating the domain names in the domain name sequence through a hash function to obtain a hash value;
performing remainder calculation on the hash value and 255 to obtain a remainder, and adding 1 to the remainder to obtain a domain name result; if the domain name result is in the range of 1-255, taking the domain name result as a domain name fingerprint; and, the domain name fingerprint occupies 1 byte;
performing bitwise and calculation on the hash value and the mask number to acquire a to-be-inserted row position of the standard filter table, determining an insertion mode and an insertion position according to the vacancy of the to-be-inserted row position, and inserting the domain name fingerprint into the insertion position according to the insertion mode to form a domain name filter table;
the process of determining an insertion mode and an insertion position according to the vacancy of the position of the row to be inserted, and inserting the domain name fingerprint into the insertion position according to the insertion mode to form a domain name filtering table comprises the following steps:
judging whether a first empty position exists in a preset number of element positions of the row position to be inserted; if the first empty position exists, taking the first empty position as the insertion position, wherein the insertion mode is direct insertion; if no empty position exists, calculating a second position to be inserted, wherein the process of calculating the second position to be inserted is as follows: performing bitwise and calculation on the position of the line to be inserted and the mask number to acquire a second data value; performing XOR operation on the second data value and the position of the row to be inserted to obtain a second position of the row to be inserted; wherein the preset number is 4;
judging whether a second empty position exists in the element positions with the preset number of the second row positions to be inserted, if so, taking the second empty position as an insertion position, and the insertion mode is direct insertion; if the second empty position does not exist, the domain name fingerprint is randomly inserted;
in this embodiment, the random insertion mode is as follows:
(1) Randomly selecting a row to be inserted and a second row to be inserted as an insertion row;
(2) Randomly selecting one of 4 element positions in the insertion row, storing the fingerprint data in the position, replacing original fingerprint data occupying the position, inserting the original fingerprint data into a vacant position of a second row according to a calculation method of a second to-be-inserted row, namely calculating the to-be-inserted row related to the original fingerprint data, and then carrying out bitwise and calculation on the position of the to-be-inserted row related to the original fingerprint data and a mask number related to the original fingerprint data to obtain a second data value related to the original fingerprint data; and performing XOR operation on a second data value related to the original fingerprint data and a position of a row to be inserted related to the original fingerprint data to obtain a second position of the row to be inserted related to the original fingerprint data, repeating the step again to randomly select a position of the original fingerprint data in the row for replacement if no redundant position of the second position of the row to be inserted related to the original fingerprint data can be inserted, and forming a domain name filtering table until all the replaced fingerprint data are sequentially inserted into the standard filtering table to form the domain name filtering table, namely after all the domain names of the fallen libraries are inserted into the standard filtering table according to the steps, finishing the construction of the filtering table.
The process of determining whether the request domain name in the intercepted client network request meets the occupancy requirement of the domain name filter table by the occupancy determination unit 103 includes:
intercepting a client network request based on an interception program;
extracting a page address from the client network request;
calculating a request domain name according to the page address;
screening whether domain name fingerprints related to page addresses exist in a domain name filtering table according to the request domain name;
if the domain name fingerprint related to the page address exists, the occupation requirement of the domain name filter table is met; if the domain name fingerprint related to the page address does not exist, the occupation requirement of the domain name filtering table is not met.
Specifically, in the process of intercepting a client network request based on an interception program, the interception program is not specifically limited, in this embodiment, the interception program is Webview, a user selects an insurance company in a page according to a service requirement through a client process, jumps to an insurance company homepage through the Webview to operate, clicks any hyperlink on a company page to trigger page jump, and is intercepted by a Webview proxy method in the client to inquire whether the jump can be performed, and then step S32 is performed to enable the client to extract a page address of the intercepted client network request so as to extract the page address;
calculating a request domain name according to a page address, screening whether a domain name fingerprint related to the page address exists in a domain name filtering table according to the request domain name, namely screening whether the domain name fingerprint related to the page address exists in the domain name filtering table, firstly obtaining the page address through the page address, obtaining the request domain name through the page address, then sequentially evaluating and calculating the request domain name through a hash function to obtain a page hash value, carrying out remainder calculation on the hash value and 255 to obtain a remainder, then adding 1 to the remainder to obtain a request result, and if the request result is in the range of 1-255, taking the request result as the domain name fingerprint related to the page address; performing bitwise and calculation on the page hash value and the mask number to acquire a retrieval position so as to retrieve whether a domain name fingerprint related to a page address exists in the retrieval position; the process of obtaining the retrieval position is that whether the fingerprint of the address exists in the 4 element positions of the first retrieval position is searched firstly, if yes, the domain name fingerprint related to the page address is in the filtering domain name table, if not, whether the domain name fingerprint of the address exists in the 4 element positions of the second retrieval position is searched, if yes, the address is in the filtering domain name table, and if not, the address is not in the filtering domain name table.
The process of completing web page access by the domain name response unit 104 performing web page skipping according to the requested domain name includes:
performing query operation according to the request domain name to obtain a target page address, and caching the request domain name and the target page address to the local;
and according to the target page address, locally jumping to the target page to finish access.
Specifically, after the client receives the query result, if the domain name address needs to be filtered, the client turns to the page 404 to prompt that the user cannot jump, otherwise, the user normally jumps to the corresponding page. Meanwhile, the client caches the domain name and the corresponding query result locally, and when page skipping is performed again subsequently, the client can directly search the result in the local cache to judge whether the page is the domain name address needing filtering.
As described above, in the mobile client domain name filtering apparatus 100 provided by the present invention, the domain name database unit 101 performs a database falling process on the domain name to be filtered according to the preset service rule to form a domain name database, the domain name table building unit 102 builds a domain name sequence according to the domain name in the domain name database, and stores a domain name fingerprint in the standard filtering table based on the domain name sequence to form a domain name filtering table, the occupancy judging unit 103 judges whether the requested domain name in the client network request meets the occupancy requirement of the domain name filtering table, and if the requested domain name does not meet the occupancy requirement of the filtering table, the web page skipping is performed according to the requested domain name to complete the web page access; and finally, responding based on the domain name response unit 104, if the occupation requirement of the filter table is met, accessing and filtering the network request of the client, and sending an inaccessible notice to the client, so that the server can judge whether a domain name is in the filter table configuration or not by checking the filter table times through a limited single digit after the filter table is constructed, rather than needing to be matched one by one to consume a large amount of time, thereby saving time, improving the filtering efficiency, saving the storage space and saving the network overhead.
As shown in fig. 3, the present invention provides an electronic device 1 for a mobile client domain name filtering method.
The electronic device 1 may comprise a processor 10, a memory 11 and a bus, and may further comprise a computer program, such as a mobile client domain name filter 12, stored in the memory 11 and executable on said processor 10.
The memory 11 includes at least one type of readable storage medium, which includes flash memory, removable hard disk, multimedia card, card-type memory (e.g., SD or DX memory, etc.), magnetic memory, magnetic disk, optical disk, etc. The memory 11 may in some embodiments be an internal storage unit of the electronic device 1, e.g. a removable hard disk of the electronic device 1. The memory 11 may also be an external storage device of the electronic device 1 in other embodiments, such as a plug-in mobile hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the electronic device 1. Further, the memory 11 may also include both an internal storage unit and an external storage device of the electronic device 1. The memory 11 may be used not only to store application software installed in the electronic device 1 and various types of data, such as codes of a domain name filter of a mobile client, but also to temporarily store data that has been output or is to be output.
The processor 10 may be formed of an integrated circuit in some embodiments, for example, a single packaged integrated circuit, or may be formed of a plurality of integrated circuits packaged with the same function or different functions, including one or more Central Processing Units (CPUs), microprocessors, digital Processing chips, graphics processors, and combinations of various control chips. The processor 10 is a Control Unit (Control Unit) of the electronic device, connects various components of the electronic device by using various interfaces and lines, and executes various functions and processes data of the electronic device 1 by running or executing programs or modules (e.g., a mobile client domain name filter, etc.) stored in the memory 11 and calling data stored in the memory 11.
The bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is arranged to enable connection communication between the memory 11 and at least one processor 10 or the like.
Fig. 3 shows only an electronic device with components, and it will be understood by those skilled in the art that the structure shown in fig. 3 does not constitute a limitation of the electronic device 1, and may comprise fewer or more components than those shown, or some components may be combined, or a different arrangement of components.
For example, although not shown, the electronic device 1 may further include a power supply (such as a battery) for supplying power to each component, and preferably, the power supply may be logically connected to the at least one processor 10 through a power management device, so as to implement functions of charge management, discharge management, power consumption management, and the like through the power management device. The power supply may also include any component of one or more dc or ac power sources, recharging devices, power failure detection circuitry, power converters or inverters, power status indicators, and the like. The electronic device 1 may further include various sensors, a bluetooth module, a Wi-Fi module, and the like, which are not described herein again.
Further, the electronic device 1 may further include a network interface, and optionally, the network interface may include a wired interface and/or a wireless interface (such as a WI-FI interface, a bluetooth interface, etc.), which are generally used to establish a communication connection between the electronic device 1 and another electronic device.
Optionally, the electronic device 1 may further comprise a user interface, which may be a Display (Display), an input unit (such as a Keyboard), and optionally a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, or the like. The display, which may also be referred to as a display screen or display unit, is suitable for displaying information processed in the electronic device 1 and for displaying a visualized user interface, among other things.
It is to be understood that the embodiments described are illustrative only and are not to be construed as limiting the scope of the claims.
The mobile client domain name filter 12 stored in the memory 11 of the electronic device 1 is a combination of instructions that, when executed in the processor 10, may implement:
performing a falling base treatment on the domain name to be filtered according to a preset service rule to form a domain name base;
establishing a domain name sequence according to a domain name in a domain name library, and storing domain name fingerprints in a standard filter table based on the domain name sequence to form a domain name filter table;
judging whether a request domain name in a client network request meets the occupation requirement of a domain name filter table;
if the occupation requirement of the filter table is not met, webpage skipping is carried out according to the request domain name to finish webpage access; and if the occupation requirement of the filter table is met, performing access filtering on the client network request, and sending an inaccessible announcement to the client.
Specifically, the specific implementation method of the processor 10 for the instruction may refer to the description of the relevant steps in the embodiment corresponding to fig. 1, which is not described herein again. It should be emphasized that, in order to further ensure the privacy and security of the above-mentioned mobile client domain name filtering, the above-mentioned mobile client domain name filtering data is stored in the node of the block chain where the server cluster is located.
The server may be an independent server, or may be a cloud server that provides basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a Network service, cloud communication, a middleware service, a domain name service, a security service, a Content Delivery Network (CDN), a big data and artificial intelligence platform, and the like.
Further, the integrated modules/units of the electronic device 1 may be stored in a computer readable storage medium if they are implemented in the form of software functional units and sold or used as independent products. The computer-readable medium may include: any entity or device capable of carrying said computer program code, a recording medium, a usb-disk, a removable hard disk, a magnetic diskette, an optical disk, a computer Memory, a Read-Only Memory (ROM).
An embodiment of the present invention further provides a computer-readable storage medium, where the storage medium may be nonvolatile or volatile, and the storage medium stores a computer program, and when the computer program is executed by a processor, the computer program implements:
performing a falling base treatment on the domain name to be filtered according to a preset service rule to form a domain name base;
establishing a domain name sequence according to a domain name in a domain name library, and storing domain name fingerprints in a standard filter table based on the domain name sequence to form a domain name filter table;
judging whether a request domain name in a client network request meets the occupation requirement of a domain name filter table or not;
if the occupation requirement of the filter table is not met, webpage skipping is carried out according to the request domain name to finish webpage access; and if the occupation requirement of the filter table is met, performing access filtering on the client network request, and sending an inaccessible announcement to the client.
Specifically, the specific implementation method of the computer program when executed by the processor may refer to the description of the relevant steps in the domain name filtering method of the mobile client in the embodiment, which is not repeated herein.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus, device and method can be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is only one logical functional division, and other divisions may be realized in practice.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional module.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof.
The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference signs in the claims shall not be construed as limiting the claim concerned.
The block chain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism, an encryption algorithm and the like. A block chain (Blockchain), which is essentially a decentralized database, is a string of data blocks associated by using a cryptographic method, and each data block contains information of a batch of network transactions, which is used for verifying the validity (anti-counterfeiting) of the information and generating a next block. The blockchain may include a blockchain underlying platform, a platform product service layer, an application service layer, and the like.
Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the system claims may also be implemented by one unit or means in software or hardware. The terms second, etc. are used to denote names, but not any particular order.
Finally, it should be noted that the above embodiments are only intended to illustrate the technical solutions of the present invention and not to limit the same, and although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.

Claims (8)

1. A method for filtering a domain name of a mobile client is characterized by comprising the following steps:
performing a falling base treatment on the domain name to be filtered according to a preset service rule to form a domain name base;
establishing a domain name sequence according to the domain name in the domain name library, and storing domain name fingerprints in a standard filtering table based on the domain name sequence to form a domain name filtering table; the establishing a domain name sequence according to the domain name in the domain name library, and storing a domain name fingerprint in a standard filter table based on the domain name sequence to form a domain name filter table includes:
reading the domain name library to form a domain name sequence;
initializing a pre-stored filtering table, determining the number of lines of the filtering table to form a standard filtering table, and storing a domain name fingerprint generated according to the domain name sequence in the standard filtering table to form a domain name filtering table;
judging whether a request domain name in a client network request meets the occupation requirement of the domain name filter table; wherein the determining whether the request domain name in the intercepted client network request meets the occupancy requirement of the domain name filter table includes:
intercepting a client network request based on an interception program;
extracting a page address from the client network request;
calculating a request domain name according to the page address;
screening whether a domain name fingerprint related to the page address exists in the domain name filtering table according to the request domain name;
if the domain name fingerprint related to the page address exists, the occupation requirement of the domain name filter table is met; if the domain name fingerprint related to the page address does not exist, the occupation requirement of the domain name filter table is not met;
if the occupation requirement of the filter table is not met, webpage skipping is carried out according to the request domain name to finish webpage access; and if the occupation requirement of the filter table is met, performing access filtering on the client network request, and sending an inaccessible announcement to the client.
2. The method for filtering domain names of mobile clients according to claim 1, wherein the step of performing a domain name dropping process on the domain names to be filtered according to the preset service rule to form a domain name library comprises:
collecting a link blacklist according to a preset service rule;
extracting a website list from the link blacklist;
acquiring a domain name according to the website list;
and performing a domain name falling process on the domain name to form a domain name library.
3. The method of claim 1, wherein determining the number of rows of the filter table to form a standard filter table comprises:
converting the filter table into a two-dimensional array;
multiplying the number of domain names in the domain name library by two based on the two-dimensional array to obtain a multiplication value;
judging whether the multiplication value is an exponential multiple of two; if the multiplication value is an index multiple of two, taking the multiplication value as a result value of the filter table; if the multiplication value is not exponential multiple of two, expanding the multiplication value to exponential multiple of two with the smallest difference with the multiplication value, and taking the exponential multiple of two as a result value of the filter table;
comparing the result value with a preset value to obtain a larger value, and dividing the larger value by four to obtain the number of rows of the filter table.
4. The method for filtering domain names of mobile clients according to claim 1, wherein the process of storing the domain name fingerprints generated according to the domain name sequences in the standard filtering table to form the domain name filtering table comprises:
sequentially evaluating and calculating the domain names in the domain name sequence through a hash function to obtain a hash value;
performing remainder calculation on the hash value and 255 to obtain a remainder, and adding 1 to the remainder to obtain a domain name result; if the domain name result is in the range of 1-255, taking the domain name result as a domain name fingerprint; and, the domain name fingerprint occupies 1 byte;
and performing bitwise and calculation on the hash value and the mask number to acquire a position of a line to be inserted of the standard filter table, determining an insertion mode and an insertion position according to the vacancy of the position of the line to be inserted, and inserting the domain name fingerprint into the insertion position according to the insertion mode to form a domain name filter table.
5. The method for filtering a domain name of a mobile client according to claim 1, wherein the performing a web page jump according to the requested domain name to complete web page access comprises:
performing query operation according to the request domain name to obtain a target page address, and caching the request domain name and the target page address to the local;
and according to the target page address, locally jumping to a target page to finish access.
6. A mobile client domain name filtering apparatus, the apparatus comprising:
the domain name database falling unit is used for performing database falling processing on the domain names to be filtered according to a preset service rule to form a domain name database;
the domain name table building unit is used for building a domain name sequence according to the domain names in the domain name library and storing domain name fingerprints in a standard filtering table based on the domain name sequence to form a domain name filtering table; the establishing a domain name sequence according to the domain name in the domain name library, and storing a domain name fingerprint in a standard filter table based on the domain name sequence to form a domain name filter table includes:
reading the domain name library to form a domain name sequence;
initializing a pre-stored filtering table, determining the number of lines of the filtering table to form a standard filtering table, and storing a domain name fingerprint generated according to the domain name sequence in the standard filtering table to form a domain name filtering table;
the occupation judging unit is used for judging whether the request domain name in the client network request meets the occupation requirement of the domain name filter table; wherein the determining whether the request domain name in the intercepted client network request meets the occupancy requirement of the domain name filter table includes:
intercepting a client network request based on an interception program;
extracting a page address from the client network request;
calculating a request domain name according to the page address;
screening whether a domain name fingerprint related to the page address exists in the domain name filtering table according to the request domain name;
if the domain name fingerprint related to the page address exists, the occupation requirement of the domain name filter table is met; if the domain name fingerprint related to the page address does not exist, the occupation requirement of the domain name filter table is not met;
the domain name response unit is used for skipping a webpage according to the request domain name to finish webpage access if the occupation requirement of the filter table is not met; and if the occupation requirement of the filter table is met, performing access filtering on the client network request, and sending an inaccessible announcement to the client.
7. An electronic device, characterized in that the electronic device comprises:
at least one processor; and (c) a second step of,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the steps in the mobile client domain name filtering method according to any one of claims 1 to 5.
8. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the mobile client domain name filtering method according to any one of claims 1 to 5.
CN202111092094.6A 2021-09-17 2021-09-17 Mobile client domain name filtering method and device, electronic equipment and storage medium Active CN113810414B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111092094.6A CN113810414B (en) 2021-09-17 2021-09-17 Mobile client domain name filtering method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111092094.6A CN113810414B (en) 2021-09-17 2021-09-17 Mobile client domain name filtering method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113810414A CN113810414A (en) 2021-12-17
CN113810414B true CN113810414B (en) 2022-10-11

Family

ID=78939641

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111092094.6A Active CN113810414B (en) 2021-09-17 2021-09-17 Mobile client domain name filtering method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113810414B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102299978A (en) * 2011-09-23 2011-12-28 上海西默通信技术有限公司 Black list adding, filtering and redirecting method applied to DNS (Domain Name System)
CN103020043A (en) * 2012-11-16 2013-04-03 哈尔滨工业大学 Distributed acquisition system facing web bilingual parallel corpora resources
CN103825900A (en) * 2014-02-28 2014-05-28 广州云宏信息科技有限公司 Website access method and device and filter form downloading and updating method and system
CN105791460A (en) * 2016-03-03 2016-07-20 中国科学院信息工程研究所 DNS agent cache optimization method and system based on multi-dimension aggregation
CN111049816A (en) * 2019-12-04 2020-04-21 北京奇虎科技有限公司 Method and device for filtering domain name address and computer readable storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4053717A3 (en) * 2019-02-25 2022-10-26 Bright Data Ltd. System and method for url fetching retry mechanism

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102299978A (en) * 2011-09-23 2011-12-28 上海西默通信技术有限公司 Black list adding, filtering and redirecting method applied to DNS (Domain Name System)
CN103020043A (en) * 2012-11-16 2013-04-03 哈尔滨工业大学 Distributed acquisition system facing web bilingual parallel corpora resources
CN103825900A (en) * 2014-02-28 2014-05-28 广州云宏信息科技有限公司 Website access method and device and filter form downloading and updating method and system
CN105791460A (en) * 2016-03-03 2016-07-20 中国科学院信息工程研究所 DNS agent cache optimization method and system based on multi-dimension aggregation
CN111049816A (en) * 2019-12-04 2020-04-21 北京奇虎科技有限公司 Method and device for filtering domain name address and computer readable storage medium

Also Published As

Publication number Publication date
CN113810414A (en) 2021-12-17

Similar Documents

Publication Publication Date Title
CN101523393B (en) Locally storing web-based database data
CN113364753B (en) Anti-crawler method and device, electronic equipment and computer readable storage medium
CN113239106B (en) Excel file export method and device, electronic equipment and storage medium
CN112418798A (en) Information auditing method and device, electronic equipment and storage medium
CN112733023A (en) Information pushing method and device, electronic equipment and computer readable storage medium
CN111159183B (en) Report generation method, electronic device and computer readable storage medium
CN112580079A (en) Authority configuration method and device, electronic equipment and readable storage medium
CN112650909A (en) Product display method and device, electronic equipment and storage medium
CN114881616A (en) Business process execution method and device, electronic equipment and storage medium
CN113868528A (en) Information recommendation method and device, electronic equipment and readable storage medium
CN114547696A (en) File desensitization method and device, electronic equipment and storage medium
CN112700261A (en) Suspicious community-based brushing behavior detection method, device, equipment and medium
CN113810414B (en) Mobile client domain name filtering method and device, electronic equipment and storage medium
CN112085611A (en) Asynchronous data verification method and device, electronic equipment and storage medium
CN112217639A (en) Data encryption sharing method and device, electronic equipment and computer storage medium
CN116842290A (en) Data caching method, device, equipment and computer readable storage medium
CN114201466B (en) Anti-cache breakdown method, device, equipment and readable storage medium
CN115086047B (en) Interface authentication method and device, electronic equipment and storage medium
CN114897624A (en) Policy data merging method, device, equipment and storage medium
CN114911479A (en) Interface generation method, device, equipment and storage medium based on configuration
CN114157634A (en) Unique account identification method, device, equipment and storage medium
CN113343103A (en) Report form pushing method and device, electronic equipment and storage medium
CN113438221B (en) Local end file loading method and device, electronic equipment and medium
CN116471131B (en) Processing method and processing device for logical link information asset
CN112328960B (en) Optimization method and device for data operation, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant