CN113378031B - WHOIS query method and system based on global network distributed processing - Google Patents

WHOIS query method and system based on global network distributed processing Download PDF

Info

Publication number
CN113378031B
CN113378031B CN202110704854.8A CN202110704854A CN113378031B CN 113378031 B CN113378031 B CN 113378031B CN 202110704854 A CN202110704854 A CN 202110704854A CN 113378031 B CN113378031 B CN 113378031B
Authority
CN
China
Prior art keywords
query
node
transmission
domain name
whois
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
CN202110704854.8A
Other languages
Chinese (zh)
Other versions
CN113378031A (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.)
Shenzhen Haihai Information Technology Co ltd
Original Assignee
Shenzhen Haihai Information Technology 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 Shenzhen Haihai Information Technology Co ltd filed Critical Shenzhen Haihai Information Technology Co ltd
Priority to CN202110704854.8A priority Critical patent/CN113378031B/en
Publication of CN113378031A publication Critical patent/CN113378031A/en
Application granted granted Critical
Publication of CN113378031B publication Critical patent/CN113378031B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines

Abstract

The invention provides a WHOIS query method and a system based on global network distributed processing, which comprises the following steps: acquiring a WHOIS query request of a client to generate a query instruction; determining an access point of the query instruction in a node graph of a transmission node distributed in a global network, deploying a transmission path, and transmitting the query instruction to a query end; and matching a query result corresponding to the query instruction from the WHOIS database of the query end, and transmitting the query result to the client.

Description

WHOIS query method and system based on global network distributed processing
Technical Field
The invention relates to the field of computer networks, in particular to a WHOIS (Wireless local area networks) query method and system based on global network distributed processing.
Background
With the rapid development of the internet industry and the development of the network economic model, a Domain Name System (DNS) is one of the important infrastructures of the internet, and the DNS plays an increasingly important role in the information society.
The WHOIS system is an indispensable component of the domain name system at present. As one of the key functions of the registration authority, WHOIS provides queries to all internet users regarding domain names, domain name servers, and host information. With the comprehensive integration of the internet into the life of people, the commercial value of the domain name is gradually known by people, the protection of the domain name is more and more emphasized as one of the necessary products for the internet brand and online trademark protection of enterprises and institutions, and the query demand for the domain name is gradually increased year by year.
At present, domain names contained in a plurality of systems for providing WHOIS query are not comprehensive enough, and can not meet query requests for various domain names, and secondly, query interfaces provided by domain name service providers usually limit query frequency according to ip sources, so that under the condition that the query amount of a client is large, a user needs to wait for a long time to obtain a query result, the query efficiency is low, and the use experience of the user is influenced.
Disclosure of Invention
The invention provides a WHOIS query method and a system based on global network distributed processing, which improve the transmission speed of a query instruction by deploying a transmission path and improve the query speed by matching a proper query end, thereby providing satisfactory query experience for a user.
The invention provides a WHOIS query method based on global network distributed processing, which comprises the following steps:
step 1: acquiring a WHOIS query request of a client to generate a query instruction;
and 2, step: determining an access point of the query instruction in a node graph of transmission nodes distributed in a global network, deploying a transmission path, and transmitting the query instruction to a query end;
and 3, step 3: and matching a query result corresponding to the query instruction from the WHOIS database of the query end, and transmitting the query result to the client.
In one possible way of realisation,
in step 1, obtaining a WHOIS query request of a client, and generating a query instruction includes:
receiving first request information sent by the client, acquiring script codes for the request information, and establishing communication connection with the client based on the script codes;
acquiring second request information of the client based on the communication connection, and acquiring IP address information carried in the second request information;
analyzing the second request information to obtain a data packet, cutting the data packet to obtain a preset number of fields, and obtaining field contents corresponding to each field;
Extracting corresponding key fields in the field contents, converting the key fields into a preset text format, and acquiring domain name query information in the preset text format;
generating first configuration data corresponding to the query domain name information based on the query domain name information;
generating second configuration data corresponding to the IP address information based on the IP address information;
and generating a query instruction based on the first configuration data and the second configuration data.
In one possible way of realisation,
in step 2, before determining the location of the access point in the node map of the transmission node nodes distributed in the global network from the query instruction, the method further includes: updating the node map, including:
acquiring a node map of transmission nodes distributed in a global network;
acquiring ID numbers of the transmission nodes distributed in the global network, and acquiring associated transmission nodes associated with the transmission nodes based on the node map;
inquiring the evaluation value of the corresponding transmission node from the history record based on the ID number, and the association degree between the transmission node and the associated transmission node and the evaluation value of the associated transmission node;
determining the grade of the transmission node by taking the evaluation value of the transmission node as a reference and according to the association degree and the evaluation value of the associated transmission node as a reference;
And based on the grade, carrying out grade marking on each transmission node in the node map, and acquiring the marked node map.
In one possible way of realisation of the invention,
in step 2, determining an access point of the query instruction in a node map of transmission nodes distributed on a global network, includes:
analyzing the query instruction to obtain an IP address carried by the query instruction;
determining a geographical area where the client is located based on the IP address, and sampling the geographical area according to a preset sampling method to obtain sampling points;
selecting a first transmission node from the node map which meets the requirement of a geographical area;
calculating the matching degree between the first transmission node and the sampling point, and selecting the first transmission node corresponding to the matching degree which is greater than the preset matching degree as a second transmission data node;
determining the communication state of the second transmission node, judging whether the second transmission node can carry out instant transmission on the query instruction based on the communication state, and determining the second transmission node capable of carrying out instant transmission as a third transmission node;
and extracting the grade information of the third transmission node from the node map, and selecting the third transmission node with the highest grade as an access point based on the grade information.
In one possible way of realisation of the invention,
in step 2, deploying a transmission path, and transmitting the query instruction to a query end includes:
acquiring an output node from the node graph based on the query end, and determining a first transmission path which takes the access point as an initial transmission point and takes the output node as an end transmission point from the node graph;
determining the grade of a transmission node in the first transmission path, evaluating the first transmission path based on the grade, and selecting an optimal transmission path from the first transmission path according to an evaluation result;
and deploying the node graph based on the transmission path, and transmitting the query instruction to a query end according to the transmission path.
In one possible way of realisation of the invention,
matching the query result corresponding to the query instruction from the WHOIS database of the query end, wherein the matching comprises the following steps:
acquiring query domain name information based on the query instruction, and analyzing the query domain name information to acquire a domain name to be queried;
extracting the characteristics of the domain name to be queried to generate a characteristic vector, and performing principal component analysis on the characteristic vector to obtain a principal component characteristic vector of the domain name to be queried;
Establishing a decision function between the principal component characteristic vector and a preset effective domain name rule by using a deep belief network, and judging whether the domain name to be inquired is effective or not according to the decision function;
if yes, acquiring a prefix and a suffix of the domain name to be queried;
otherwise, the domain name to be queried is sent to the client side to be invalid and cannot be queried;
generating a unique identifier based on the prefix and the suffix of the domain name to be queried, coding the unique identifier, writing the unique identifier into a cache queue, and submitting an operation thread;
when the operation thread is started to be executed, the unique identifier is subjected to segmentation processing to obtain a plurality of fields, and the type of each field is determined based on a pre-stored field type database;
selecting fields corresponding to the area types from the types, analyzing the fields corresponding to the area types, and determining area information corresponding to the unique identifier based on a field-area mapping relation;
determining the regional characteristics of WHOIS data nodes, converting the regional characteristics into fuzzy characteristics, establishing a fuzzy decision matrix based on the fuzzy characteristics, analyzing the similar attributes among the WHOIS data nodes, and correcting the fuzzy characteristics based on the similar attributes to obtain a fuzzy decision reinforced matrix;
Based on the fuzzy decision-making strengthening matrix, determining the similarity between the region information and each element in the fuzzy decision-making strengthening matrix by using a preset algorithm, and selecting a WHOIS data node corresponding to the element with the maximum similarity as a target WHOIS data node;
and connecting the domain name to be queried to a query port corresponding to the target WHOIS data node, entering a WHOIS database for querying based on the query port, and acquiring a query result corresponding to the domain name to be queried.
In one possible way of realisation of the invention,
determining the rank of the transmission node based on the evaluation value of the transmission node and based on the association degree and the evaluation value of the associated transmission node as a reference comprises:
acquiring an absolute value difference between the evaluation value of the transmission node and the evaluation value of each associated transmission node, and determining a first influence weight value based on the absolute value difference;
determining a second impact weight value based on the association degree between the transmission node and an associated transmission node;
adjusting the evaluation value of the transmission node based on the first influence weight value and the second influence weight value to obtain a grade index value of the transmission node;
And determining the grade index value of the transmission node in a preset grade index comparison table, and determining the grade corresponding to the grade index value of the transmission node, namely the grade of the transmission node.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
In one possible way of realisation of the invention,
connecting the domain name to be queried to a query port corresponding to the target WHOIS data node, and entering a WHOIS database for querying based on the query port comprises the following steps:
acquiring working parameters of the query port, and acquiring historical average processing speed of the query port and query service times of the query port in preset time;
determining a query capability strength value of the query port based on the historical average processing speed, the working parameters and the query service times within a preset time of the query port;
judging whether the query capability strength value of the query port is larger than a preset capability strength value or not,
If yes, predicting the query time required by the domain name to be queried at the query port;
otherwise, re-matching the corresponding query port based on the target WHOIS data node;
predicting the query time required by the domain name to be queried at the query port comprises the following steps:
acquiring a query queue in the query port before the domain name to be queried, analyzing the query queue, acquiring each query task in the query queue, and evaluating the difficulty of each query task;
based on the query queue, acquiring the number of query tasks in the query queue, evaluating each query task, and determining the difficulty of each query task;
determining the query waiting time required by the domain name to be queried at the query port based on the number of the query tasks and the difficulty of each query task;
judging whether the query waiting time required by the domain name to be queried at the query port is greater than preset time or not;
if yes, re-matching the corresponding query port based on the target WHOIS data node;
and otherwise, entering the WHOIS database for query based on the query port.
In one possible way of realising the invention,
a WHOIS query system based on global network distributed processing, comprising:
the instruction generating module is used for acquiring a WHOIS query request of a client and generating a query instruction;
the instruction transmission module is used for determining an access point of the query instruction in a node graph of transmission nodes distributed in a global network, deploying a transmission path and transmitting the query instruction to a query end;
and the query module is used for matching a query result corresponding to the query instruction from the WHOIS database of the query end and transmitting the query result to the client.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
fig. 1 is a flowchart of a WHOIS query method based on global network distributed processing according to an embodiment of the present invention;
fig. 2 is a structural diagram of a WHOIS query system based on global network distributed processing according to an embodiment of the present invention.
Detailed Description
The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it should be understood that they are presented herein only to illustrate and explain the present invention and not to limit the present invention.
Example 1
The invention provides a WHOIS query method based on global network distributed processing, which comprises the following steps as shown in figure 1:
step 1: acquiring a WHOIS query request of a client to generate a query instruction;
and 2, step: determining an access point of the query instruction in a node graph of transmission nodes distributed in a global network, deploying a transmission path, and transmitting the query instruction to a query end;
and 3, step 3: and matching the query result corresponding to the query instruction from the WHOIS database of the query end, and transmitting the query result to the client.
The beneficial effect of above-mentioned design is: the transmission speed of the query instruction is higher by deploying the transmission path, and the query speed is improved by matching the appropriate query end, so that satisfactory query experience is provided for the user.
Example 2
Based on embodiment 1, an embodiment of the present invention provides a WHOIS query method based on global network distributed processing, where in step 1, acquiring a WHOIS query request of a client, and generating a query instruction includes:
Receiving first request information sent by the client, acquiring script codes for the request information, and establishing communication connection with the client based on the script codes;
acquiring second request information of the client based on the communication connection, and acquiring IP address information carried in the second request information;
analyzing the second request information to obtain a data packet, cutting the data packet to obtain a preset number of fields, and obtaining field contents corresponding to each field;
extracting corresponding key fields in the field contents, converting the key fields into a preset text format, and acquiring domain name inquiry information in the preset text format;
generating first configuration data corresponding to the query domain name information based on the query domain name information;
generating second configuration data corresponding to the IP address information based on the IP address information;
and generating a query instruction based on the first configuration data and the second configuration data.
In this embodiment, the first request message is a message requesting to establish a connection.
In this embodiment, the second request message is a WHOIS query request message.
In this embodiment, the first configuration data is data that converts the query domain name information into executable data based on an instruction generation rule.
In this embodiment, the second configuration data is data that converts the IP address information into executable data based on an instruction generation rule.
In this embodiment, the key field is a field containing domain name query information.
The beneficial effect of above-mentioned design is: by converting the IP address information and the query domain name information of the user into the query instruction, the client can be determined according to the query instruction, and the return of a query result is facilitated, so that the query speed is increased, and the accuracy of the query instruction is ensured.
Example 3
Based on embodiment 1, an embodiment of the present invention provides a WHOIS query method based on global network distributed processing, where in step 2, before determining a location of an access point in a node map of a transmission node distributed over a global network from the query instruction, the method further includes: updating the node map, including:
acquiring a node map of transmission nodes distributed in a global network;
acquiring ID numbers of the transmission nodes distributed in the global network, and acquiring associated transmission nodes associated with the transmission nodes based on the node map;
Inquiring an evaluation value of a corresponding transmission node from a history record based on the ID number, and a degree of association with the associated transmission node and the evaluation value of the associated transmission node;
determining the grade of the transmission node by taking the evaluation value of the transmission node as a reference and according to the association degree and the evaluation value of the associated transmission node as a reference;
and marking the grade of each transmission node in the node map based on the grade, and acquiring the marked node map.
In this embodiment, the evaluation value is related to the data processing capability and the transmission efficiency of the transmission node, and the better the data processing capability and the transmission efficiency, the higher the score.
In this embodiment, the association degree with the associated data node is related to a frequency used in common between the two nodes, and the association degree is larger as the frequency is higher.
The beneficial effect of above-mentioned design is: the grade of the transmission node is determined by evaluating the transmission node in the node graph, which is beneficial to selecting a proper transmission node, thereby improving the transmission speed and finally improving the query speed.
Example 4
Based on embodiment 1, an embodiment of the present invention provides a WHOIS query method based on global network distributed processing, where in step 2, determining an access point of the query instruction in a node map of a global network distributed transmission node includes:
Analyzing the query instruction to acquire an IP address carried by the query instruction;
determining a geographical area where the client is located based on the IP address, and sampling the geographical area according to a preset sampling method to obtain a sampling point;
selecting a first transmission node meeting the requirement of a geographical area from the node map;
calculating the matching degree between the first transmission node and the sampling point, and selecting the first transmission node corresponding to the matching degree which is greater than the preset matching degree as a second transmission data node;
determining the communication state of the second transmission node, judging whether the second transmission node can carry out instant transmission on the query instruction based on the communication state, and determining the second transmission node capable of carrying out instant transmission as a third transmission node;
and extracting the grade information of the third transmission node from the node map, and selecting the third transmission node with the highest grade as an access point based on the grade information.
In this embodiment, the sampling points are the locations of the best set of access points determined from the terrain, weather, and/or weather conditions of the geographic area.
In this embodiment, the communication state of the second transmission node includes a use state and an idle state.
The beneficial effect of above-mentioned design is: the appropriate transmission node is selected according to the position, the state and the grade of the transmission node, so that the transmission speed is increased, the transmission time is shortened, and the query speed is increased finally.
Example 5
Based on embodiment 1, an embodiment of the present invention provides a WHOIS query method based on global network distributed processing, where in step 2, deploying a transmission path and transmitting the query instruction to a query end includes:
based on the query end, acquiring an output node from the node map, and determining a first transmission path which takes the access point as an initial transmission point and the output node as an end transmission point from the node map;
determining the grade of a transmission node in the first transmission path, evaluating the first transmission path based on the grade, and selecting an optimal transmission path from the first transmission path according to an evaluation result;
and deploying the node graph based on the transmission path, and transmitting the query instruction to a query end according to the transmission path.
In this embodiment, the first transmission path is plural.
The beneficial effect of above-mentioned design is: the transmission path is selected according to the grade of the transmission node, so that the grade of the transmission node in the selected transmission path is guaranteed to be the highest, the transmission speed is improved, the query speed is finally improved, the transmission time is reduced, and the query speed is finally improved.
Example 6
On the basis of the embodiment 1, an embodiment of the present invention provides a WHOIS query method based on global network distributed processing, where matching a query result corresponding to the query instruction from a WHOIS database of the query end includes:
acquiring query domain name information based on the query instruction, and analyzing the query domain name information to acquire a domain name to be queried;
extracting the characteristics of the domain name to be queried to generate a characteristic vector, and performing principal component analysis on the characteristic vector to obtain a principal component characteristic vector of the domain name to be queried;
establishing a decision function between the principal component characteristic vector and a preset effective domain name rule by using a deep belief network, and judging whether the domain name to be inquired is effective or not according to the decision function;
if yes, acquiring a prefix and a suffix of the domain name to be queried;
otherwise, sending the invalid domain name to be queried to the client, wherein the domain name cannot be queried;
generating a unique identifier based on the prefix and the suffix of the domain name to be queried, encoding the unique identifier, writing the unique identifier into a cache queue, and submitting an operation thread;
when the operation thread is started to be executed, the unique identifier is subjected to segmentation processing to obtain a plurality of fields, and the type of each field is determined based on a pre-stored field type database;
Selecting fields corresponding to the area types from the types, analyzing the fields corresponding to the area types, and determining area information corresponding to the unique identifier based on a field-area mapping relation;
determining the regional characteristics of WHOIS data nodes, converting the regional characteristics into fuzzy characteristics, establishing a fuzzy decision matrix based on the fuzzy characteristics, analyzing the similar attributes among the WHOIS data nodes, and correcting the fuzzy characteristics based on the similar attributes to obtain a fuzzy decision reinforced matrix;
based on the fuzzy decision-making strengthening matrix, determining the similarity between the region information and each element in the fuzzy decision-making strengthening matrix by using a preset algorithm, and selecting a WHOIS data node corresponding to the element with the maximum similarity as a target WHOIS data node;
and connecting the domain name to be queried to a query port corresponding to the target WHOIS data node, entering a WHOIS database for querying based on the query port, and acquiring a query result corresponding to the domain name to be queried.
In this embodiment, establishing the decision function between the principal component feature vector and the preset effective domain name rule by using the deep belief network includes performing confidence calculation on the principal component feature vector based on the preset effective domain name rule by using the deep belief network to obtain the decision function.
In this embodiment, different domain name suffixes represent different zone information.
In this embodiment, for different areas, corresponding WHOIS data nodes are provided, and different WHOIS data nodes are connected to different query ports.
In this embodiment, the similarity attribute is used to represent the coincidence characteristic of the range of areas covered between WHOIS data nodes.
In this embodiment, each element in the fuzzy decision strengthening matrix corresponds to a regional characteristic of a WHOIS data node.
The beneficial effect of above-mentioned design is: the method comprises the steps of firstly detecting the validity of a domain name, if the domain name is invalid, not further inquiring, directly returning to a client, not inquiring in an invalid manner, saving inquiring time, secondly, matching a proper WHOIS data node according to domain name information, thereby selecting a proper inquiring port, improving inquiring speed and providing satisfied inquiring experience for a user.
Example 7
Based on embodiment 3, an embodiment of the present invention provides a WHOIS query method based on global network distributed processing, where determining a rank of a transmission node according to the association degree and the evaluation value of the associated transmission node as a reference with the evaluation value of the transmission node as a reference includes:
Acquiring an absolute value difference between the evaluation value of the transmission node and the evaluation value of each associated transmission node, and determining a first influence weight value based on the absolute value difference;
determining a second impact weight value based on the association degree between the transmission node and the associated transmission node;
adjusting the evaluation value of the transmission node based on the first influence weight value and the second influence weight value to obtain a level index value of the transmission node;
and determining the grade index value of the transmission node in a preset grade index comparison table, and determining the grade corresponding to the grade index value of the transmission node, namely the grade of the transmission node.
In this embodiment, the preset level index look-up table has a corresponding relationship between a level index value and a level, and the higher the level index value is, the higher the corresponding level is.
In this embodiment, the larger the absolute difference value, the larger the first influence weight value;
in this embodiment, the greater the degree of association, the greater the second impact weight value.
The beneficial effect of above-mentioned design is: by taking the evaluation value of the transmission node as a reference and taking the association degree and the evaluation value of the associated transmission node as a reference, the accuracy of determining the grade of the transmission node is improved, and an accurate basis is provided for the selection of the transmission node.
Example 8
Based on embodiment 6, an embodiment of the present invention provides a WHOIS query method based on global network distributed processing, where connecting the domain name to be queried to a query port corresponding to the target WHOIS data node, and entering a WHOIS database for querying based on the query port includes:
acquiring working parameters of the query port, and acquiring historical average processing speed of the query port and query service times of the query port in preset time;
determining a query capability strength value of the query port based on the historical average processing speed, the working parameters and the query service times within preset time of the query port;
determining whether the query capability strength value of the query port is greater than a preset capability strength value,
if yes, predicting the query time required by the domain name to be queried at the query port;
otherwise, re-matching the corresponding query port based on the target WHOIS data node;
predicting the query time required by the domain name to be queried at the query port comprises the following steps:
acquiring a query queue in the query port before the domain name to be queried, analyzing the query queue, acquiring each query task in the query queue, and evaluating the difficulty of each query task;
Based on the query queue, acquiring the number of query tasks in the query queue, evaluating each query task, and determining the difficulty of each query task;
determining the query waiting time required by the domain name to be queried at the query port based on the number of the query tasks and the difficulty of each query task;
judging whether the query waiting time required by the domain name to be queried at the query port is longer than preset time or not;
if yes, re-matching the corresponding query port based on the target WHOIS data node;
and otherwise, entering a WHOIS database for query based on the query port.
In this embodiment, the working parameters of the query port include a query failure rate and a query accuracy rate.
In this embodiment, the query failure rate and the query accuracy rate jointly affect the query capability strength value of the query port.
The beneficial effect of above-mentioned design is: the query ability strength value of the query port is determined according to the historical average processing speed and the query service times of the query port, the query ability of the query port is ensured, the query time of the domain name to be queried is calculated according to the query queue of the query port, if the query time requirement is not met, the query port is replaced, the time for a user to obtain a query result is ensured, the query efficiency of the time is improved, and the query experience of the user is improved.
Example 9
A WHOIS query system based on global network distributed processing, as shown in fig. 2, includes:
the instruction generating module is used for acquiring a WHOIS query request of a client and generating a query instruction;
the instruction transmission module is used for determining an access point of the query instruction in a node graph of a transmission node distributed in a global network, deploying a transmission path and transmitting the query instruction to a query end;
and the query module is used for matching a query result corresponding to the query instruction from a WHOIS database of the query end and transmitting the query result to the client.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (7)

1. A WHOIS query method based on global network distributed processing is characterized by comprising the following steps:
step 1: acquiring a WHOIS query request of a client to generate a query instruction;
step 2: determining an access point of the query instruction in a node graph of a transmission node distributed in a global network, deploying a transmission path, and transmitting the query instruction to a query end;
And 3, step 3: matching a query result corresponding to the query instruction from a WHOIS database of the query end, and transmitting the query result to the client;
in step 2, deploying a transmission path, and transmitting the query instruction to a query end includes:
based on the query end, acquiring an output node from the node map, and determining a first transmission path which takes the access point as an initial transmission point and the output node as an end transmission point from the node map;
determining the grade of a transmission node in the first transmission path, evaluating the first transmission path based on the grade, and selecting an optimal transmission path from the first transmission path according to an evaluation result;
deploying the node graph based on the transmission path, and transmitting the query instruction to a query end according to the transmission path;
matching the query result corresponding to the query instruction from the WHOIS database of the query end, wherein the matching comprises the following steps:
acquiring query domain name information based on the query instruction, analyzing the query domain name information, and acquiring a domain name to be queried;
extracting features of the domain name to be queried to generate a feature vector, and performing principal component analysis on the feature vector to obtain a principal component feature vector of the domain name to be queried;
Establishing a decision function between the principal component characteristic vector and a preset effective domain name rule by using a deep belief network, and judging whether the domain name to be inquired is effective or not according to the decision function;
if so, acquiring a prefix and a suffix of the domain name to be queried;
otherwise, the domain name to be queried is sent to the client side to be invalid and cannot be queried;
generating a unique identifier based on the prefix and the suffix of the domain name to be queried, coding the unique identifier, writing the unique identifier into a cache queue, and submitting an operation thread;
when the operation thread is started to be executed, the unique identifier is subjected to segmentation processing to obtain a plurality of fields, and the type of each field is determined based on a pre-stored field type database;
selecting fields corresponding to the area types from the types, analyzing the fields corresponding to the area types, and determining area information corresponding to the unique identifier based on a field-area mapping relation;
determining regional characteristics of WHOIS data nodes, converting the regional characteristics into fuzzy characteristics, establishing a fuzzy decision matrix based on the fuzzy characteristics, analyzing similar attributes among the WHOIS data nodes, and correcting the fuzzy characteristics based on the similar attributes to obtain a fuzzy decision reinforced matrix;
Based on the fuzzy decision-making strengthening matrix, determining the similarity between the region information and each element in the fuzzy decision-making strengthening matrix by using a preset algorithm, and selecting a WHOIS data node corresponding to the element with the maximum similarity as a target WHOIS data node;
and connecting the domain name to be queried to a query port corresponding to the target WHOIS data node, entering a WHOIS database for querying based on the query port, and acquiring a query result corresponding to the domain name to be queried.
2. The WHOIS query method based on global network distributed processing according to claim 1 in which in step 1, obtaining a WHOIS query request from a client and generating a query instruction includes:
receiving first request information sent by the client, acquiring script codes for the request information, and establishing communication connection with the client based on the script codes;
acquiring second request information of the client based on the communication connection, and acquiring IP address information carried in the second request information;
analyzing the second request information to obtain a data packet, cutting the data packet to obtain a preset number of fields, and obtaining field contents corresponding to each field;
Extracting corresponding key fields in the field contents, converting the key fields into a preset text format, and acquiring domain name query information in the preset text format;
generating first configuration data corresponding to the query domain name information based on the query domain name information;
generating second configuration data corresponding to the IP address information based on the IP address information;
and generating a query instruction based on the first configuration data and the second configuration data.
3. The WHOIS inquiry method based on global network distributed processing in claim 1 wherein step 2, before determining the location of the access point from the inquiry instruction in the node map of the globally distributed transmission nodes, further comprises: updating the node map, including:
acquiring a node map of transmission nodes distributed in a global network;
acquiring ID numbers of the transmission nodes distributed in the global network, and acquiring associated transmission nodes associated with the transmission nodes based on the node map;
inquiring the evaluation value of the corresponding transmission node, the association degree between the associated transmission nodes and the evaluation value of the associated transmission node from the history record based on the ID number;
Determining the grade of the transmission node by taking the evaluation value of the transmission node as a reference and according to the association degree and the evaluation value of the associated transmission node as a reference;
and marking the grade of each transmission node in the node map based on the grade, and acquiring the marked node map.
4. The WHOIS inquiry method based on global network distributed processing in claim 1 wherein in step 2, determining the access point of the inquiry command in the node map of the global network distributed transmission nodes includes:
analyzing the query instruction to acquire an IP address carried by the query instruction;
determining a geographical area where the client is located based on the IP address, and sampling the geographical area according to a preset sampling method to obtain a sampling point;
selecting a first transmission node meeting the requirement of a geographical area from the node map;
calculating the matching degree between the first transmission node and the sampling point, and selecting the first transmission node corresponding to the matching degree which is greater than the preset matching degree as a second transmission node;
determining the communication state of the second transmission node, judging whether the second transmission node can carry out instant transmission on the query instruction based on the communication state, and determining the second transmission node capable of carrying out instant transmission as a third transmission node;
And extracting the grade information of the third transmission node from the node map, and selecting the third transmission node with the highest grade as an access point based on the grade information.
5. The WHOIS query method based on global network distributed processing according to claim 3, wherein the determining the rank of the transmission node based on the evaluation value of the transmission node and based on the association degree and the evaluation value of the associated transmission node comprises:
acquiring an absolute value difference between the evaluation value of the transmission node and the evaluation value of each associated transmission node, and determining a first influence weight value based on the absolute value difference;
determining a second impact weight value based on the association degree between the transmission node and the associated transmission node;
adjusting the evaluation value of the transmission node based on the first influence weight value and the second influence weight value to obtain a level index value of the transmission node;
and determining the grade index value of the transmission node in a preset grade index comparison table, and determining the grade corresponding to the grade index value of the transmission node, namely the grade of the transmission node.
6. The WHOIS query method based on global network distributed processing according to claim 1, wherein the step of connecting the domain name to be queried to a query port corresponding to the target WHOIS data node and the step of entering a WHOIS database for querying based on the query port comprises the steps of:
Acquiring working parameters of the query port, and acquiring historical average processing speed of the query port and query service times of the query port in preset time;
determining the query capability strength value of the query port based on the historical average processing speed, the working parameters and the query service times within preset time of the query port;
determining whether the query capability strength value of the query port is greater than a preset capability strength value,
if yes, predicting the query time required by the domain name to be queried at the query port;
if not, re-matching the corresponding query port based on the target WHOIS data node;
the method for predicting the query time of the domain name to be queried at the query port comprises the following steps:
acquiring a query queue in the query port before the domain name to be queried, analyzing the query queue, acquiring each query task in the query queue, and evaluating the difficulty of each query task;
based on the query queue, acquiring the number of query tasks in the query queue, evaluating each query task, and determining the difficulty of each query task;
Determining the query waiting time required by the domain name to be queried at the query port based on the number of the query tasks and the difficulty of each query task;
judging whether the query waiting time required by the domain name to be queried at the query port is longer than preset time or not;
if yes, re-matching the corresponding query port based on the target WHOIS data node;
and otherwise, entering a WHOIS database for query based on the query port.
7. A WHOIS query system based on global network distributed processing, comprising:
the instruction generating module is used for acquiring a WHOIS query request of a client and generating a query instruction;
the instruction transmission module is used for determining an access point of the query instruction in a node graph of a transmission node distributed in a global network, deploying a transmission path and transmitting the query instruction to a query end;
the query module is used for matching a query result corresponding to the query instruction from a WHOIS database of the query end and transmitting the query result to the client;
in the instruction transmission module, a transmission path is deployed, and transmitting the query instruction to a query end includes:
acquiring an output node from the node graph based on the query end, and determining a first transmission path which takes the access point as an initial transmission point and takes the output node as an end transmission point from the node graph;
Determining the grade of a transmission node in the first transmission path, evaluating the first transmission path based on the grade, and selecting an optimal transmission path from the first transmission path according to an evaluation result;
deploying the node graph based on the transmission path, and transmitting the query instruction to a query end according to the transmission path;
the query module: matching the query result corresponding to the query instruction from the WHOIS database of the query end, wherein the matching comprises the following steps:
acquiring query domain name information based on the query instruction, analyzing the query domain name information, and acquiring a domain name to be queried;
extracting features of the domain name to be queried to generate a feature vector, and performing principal component analysis on the feature vector to obtain a principal component feature vector of the domain name to be queried;
establishing a decision function between the principal component characteristic vector and a preset effective domain name rule by using a deep belief network, and judging whether the domain name to be inquired is effective or not according to the decision function;
if so, acquiring a prefix and a suffix of the domain name to be queried;
otherwise, the domain name to be queried is sent to the client side to be invalid and cannot be queried;
Generating a unique identifier based on the prefix and the suffix of the domain name to be queried, coding the unique identifier, writing the unique identifier into a cache queue, and submitting an operation thread;
when the operation thread is started to be executed, the unique identifier is subjected to segmentation processing to obtain a plurality of fields, and the type of each field is determined based on a pre-stored field type database;
selecting fields corresponding to the area types from the types, analyzing the fields corresponding to the area types, and determining area information corresponding to the unique identifier based on a field-area mapping relation;
determining regional characteristics of WHOIS data nodes, converting the regional characteristics into fuzzy characteristics, establishing a fuzzy decision matrix based on the fuzzy characteristics, analyzing similar attributes among the WHOIS data nodes, and correcting the fuzzy characteristics based on the similar attributes to obtain a fuzzy decision reinforced matrix;
based on the fuzzy decision-making strengthening matrix, determining the similarity between the region information and each element in the fuzzy decision-making strengthening matrix by using a preset algorithm, and selecting a WHOIS data node corresponding to the element with the maximum similarity as a target WHOIS data node;
And connecting the domain name to be queried to a query port corresponding to the target WHOIS data node, entering a WHOIS database for querying based on the query port, and acquiring a query result corresponding to the domain name to be queried.
CN202110704854.8A 2021-06-24 2021-06-24 WHOIS query method and system based on global network distributed processing Active CN113378031B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110704854.8A CN113378031B (en) 2021-06-24 2021-06-24 WHOIS query method and system based on global network distributed processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110704854.8A CN113378031B (en) 2021-06-24 2021-06-24 WHOIS query method and system based on global network distributed processing

Publications (2)

Publication Number Publication Date
CN113378031A CN113378031A (en) 2021-09-10
CN113378031B true CN113378031B (en) 2022-06-28

Family

ID=77578874

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110704854.8A Active CN113378031B (en) 2021-06-24 2021-06-24 WHOIS query method and system based on global network distributed processing

Country Status (1)

Country Link
CN (1) CN113378031B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9336272B1 (en) * 2013-02-13 2016-05-10 Amazon Technologies, Inc. Global query hint specification
CN106385469A (en) * 2016-08-25 2017-02-08 厦门易名科技股份有限公司 Concurrent processing based WHOIS query method and device
CN107231454A (en) * 2017-07-06 2017-10-03 深圳互联先锋科技有限公司 The method and device of domain name high-volume asynchronous query
CN110082082A (en) * 2019-04-28 2019-08-02 国网四川省电力公司南充供电公司 A kind of GIS state identification method based on vibration signal Principal Component Analysis
CN110401686A (en) * 2018-04-25 2019-11-01 北京中域智科国际网络技术有限公司 WHOIS querying method, device, equipment and its storage medium
CN111813826A (en) * 2020-06-02 2020-10-23 深圳市互联工场科技有限公司 WHOIS query method, system and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9026522B2 (en) * 2012-10-09 2015-05-05 Verisign, Inc. Searchable web whois

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9336272B1 (en) * 2013-02-13 2016-05-10 Amazon Technologies, Inc. Global query hint specification
CN106385469A (en) * 2016-08-25 2017-02-08 厦门易名科技股份有限公司 Concurrent processing based WHOIS query method and device
CN107231454A (en) * 2017-07-06 2017-10-03 深圳互联先锋科技有限公司 The method and device of domain name high-volume asynchronous query
CN110401686A (en) * 2018-04-25 2019-11-01 北京中域智科国际网络技术有限公司 WHOIS querying method, device, equipment and its storage medium
CN110082082A (en) * 2019-04-28 2019-08-02 国网四川省电力公司南充供电公司 A kind of GIS state identification method based on vibration signal Principal Component Analysis
CN111813826A (en) * 2020-06-02 2020-10-23 深圳市互联工场科技有限公司 WHOIS query method, system and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于WHOIS建立IP位置系统实现P2P拓扑感知;黄晟等;《计算机技术与发展》;20090710(第07期);第86-88页 *
基于位置的层次式Chord模型;陈宏亮等;《计算机工程》;20091105(第21期);第120-122页 *

Also Published As

Publication number Publication date
CN113378031A (en) 2021-09-10

Similar Documents

Publication Publication Date Title
US11811657B2 (en) Updating routing information based on client location
US7603474B2 (en) Efficient endpoint matching using a header-to-bit conversion table
US9577919B2 (en) DNS wildcard beaconing
EP2323350B1 (en) Method, computer program product and electronic device for hyper-local geo-targeting
US8055792B2 (en) Method and system for evaluating and selecting traceroutes to be used in determining the geographic location of a network block
US20040243719A1 (en) System and method for routing messages over disparate networks
EP3567881A2 (en) Request routing and updating routing information utilizing client location information
US20050108244A1 (en) Method of determining geographical location from IP address information
JP4975926B2 (en) Network address server
CN102047243A (en) Request routing based on class
EP2791823B1 (en) Increasing the accuracy of information returned for context signals
US8239532B1 (en) System and method of reducing latency using adaptive DNS resolution
CN101616050B (en) Bus system
CN107786678B (en) Domain name resolution method, device and system
RU2005120234A (en) SYSTEM AND METHOD FOR RESOLUTION OF NAMES
CN101183393A (en) Information attention update method and device
CN113378031B (en) WHOIS query method and system based on global network distributed processing
WO2001075632A1 (en) Geographic location estimation method for network addresses entities
AU2001253189A1 (en) Geographic location estimation method for network addresses entities
KR20030040291A (en) Method, Program, Media, and Device to register ENUM name, resolve ENUM name, manage and restart ENUM name server
CN106817437B (en) Address record query method and device
CN112989255B (en) Identification analysis system
CN112688884B (en) Encrypted flow custom application identification method, system, device and storage medium
KR100806692B1 (en) Service Method for an Ideal Mediation using Positioning Information in Mobile Communication
KR100464583B1 (en) System for mapping keyword name to url and method thereof

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