Domain name WHOIS querying method and service system based on binding registrationTechnical field
The present invention relates to computer network field, be specifically related to a kind of method and system of inquiring about based on the domain name WHOIS of binding registration.
Background technology
Along with the develop rapidly of internet industry and the development of network economy pattern, domain name system (DNS service) is as one of important infrastructure of the Internet, and DNS is bringing into play more and more important function in information-intensive society.
The WHOIS system is indispensable part in the present domain name system (DNS service).As one of five large key functions of registration management mechanism, WHOIS provides the inquiry of relevant domain name, registration service merchant and host information towards all internet use persons.Incorporate people's life along with the Internet comprehensively; the commercial value of domain name is understood by people gradually; as one of the Internet brand of enterprise, mechanism, product of online trademark protection indispensability, the protection of domain name is more and more paid attention to, to the query demand cumulative year after year of domain name.
As the source of WHOIS inquiry, the domain name binding registration is a kind of method of supporting word tone, font, semantic identical or approximate domain name binding registration.Take Chinese domain name as example: " Hu Qingyu Pharmaceutical Workshop. China " with " the Hu Qingyu hall. China " only one " remaining ", " Yu " word are different for two domain names, but its meaning is consistent, what this situation was corresponding is the similar domain name of font; " note. China " and " news in brief. China ", although font is inconsistent, its semanteme is consistent, this situation corresponds to semantic identical domain name; The tradition domain name has similar problem equally: English domain name " color.cn " and French domain name " colour.cn ", although font is different, its practical significance is consistent, and this situation can be similar to and be referred to the identical domain name of word tone.A plurality of domain names that will have an above-mentioned feature are bundled in one group when registration, make these domain names belong to a registrant together, and between these domain names, share the registrant, the information such as main frame, registrar, this logon mode is the binding domain name registration.
The registration problem of close domain name can be rationally processed in the binding domain name registration to a certain extent, and greatly the malfeasances such as the website fishing of the similar domain name in alleviation the Internet, domain name abuse promote the sound development of internet industry.And the method for binding domain name registration, WHOIS is not also adopted in present domain name registration field.
In the domain name system that has realized binding registration, the user wishes that the registration binding domain name group at certain domain name place can do as a wholely to be queried and to show carrying out WHOIS when inquiry, that is: by inquiring about certain domain name, get access to the information such as all interior domain names of this domain name place bindings group and their shared registrants, contact person, registrar.And in traditional WHOIS system, the information of single domain name can only be inquired about and return to each WHOIS request, can't get access to the binding information of associated dns name.If the user wants to inquire about one group of close, similar domain name, may need the WHOIS that carries out repeatedly to inquire about, increased user's operation easier, also increased the weight of system burden.
Summary of the invention
The present invention proposes a kind of domain name WHOIS querying method and service system based on binding registration, WHOIS service system framework of the present invention comprises WHOIS client, WHOIS server (comprising network communication module, logic analysis module, data query module) and database as shown in Figure 1; The WHOIS server end receives the query requests data of WHOIS client, it is resolved, and carry out corresponding data query in database, and Query Result is returned to the WHOIS client.
Domain name WHOIS querying method based on binding registration of the present invention as shown in Figure 1, step is:
1, the user sends the data query request by WHOIS client (WHOIS Client) or WHOIS WEB interface (WHOIS WEB Server), carries out the relevant information of nslookup, main frame, contact person or registrar;
2, the network communication module of WHOIS server receives the request that the user sends to the web page browsing port, and the character string of sending is passed to logic analysis module; Logic analysis module asks character string to be resolved the user, and which kind of in domain name, main frame, contact person or the registrar be the content of analysis user inquiry belong to, and the calling data enquiry module carries out corresponding data query in database;
3, the data query module is keeping data to connect, and is called by logic analysis module, and (logic analysis module is configured to character string with data object to return corresponding data object and Query Result according to the domain name relevant information of inquiry; Network communication module sends it back client with return string);
If nslookup is not present in the database, then the WHOIS server end returns accordingly " nslookup does not exist " message to the user;
If nslookup is present in the database, then the WHOIS server end from database, obtain domain name essential information (for example: registrant ID, address information; Contact person ID, address information; Registrar ID, name server; Hour of log-on information etc.), it is related then to find this group domain name by this domain name from domain name binding information table, and obtains all domain names of this domain name place bindings group by this ID from domain name details table, and all Query Results are returned to the user;
In domain name binding information table, every group of domain name indicates the association of this group domain name by identical ID;
4, network communication module disconnects the connection with client.
By the data interaction (inquiring about/reply) of format, for providing standard compliant WHOIS, the user serves between WHOIS client and the WHOIS server (WHOIS Server).
WHOIS service system framework of the present invention comprises WHOIS client, WHOIS server (network communication module, logic analysis module, data query module) and database as shown in Figure 2.Described network communication module is responsible for receiving the request that the user sends to the web page browsing port, and the character string of sending is passed to logic analysis module; Described logic analysis module is responsible for resolving character string, and the calling data enquiry module; Described data query module is returned the data object of inquiry.
Compared with prior art, when the present invention uses WHOIS system queries domain name the user, have the domain name that can bind feature (font, semanteme etc.) and bound registration for one group, the user only need input the arbitrary domain name in the bindings group, just can obtain whole log-on messages of bindings group.
Description of drawings
Fig. 1 is the logic diagram of WHOIS Server service;
Fig. 2 is WHOIS system architecture schematic diagram;
Fig. 3 is binding domain name querying flow figure;
Fig. 4 is embodiments of the invention figure.
Embodiment
The present invention is further illustrated below in conjunction with accompanying drawing, but not as limit.
In the present invention, adopt in the situation of binding domain name registration, with the inquiry of the domain name service of WHOIS Server according to the variation of data content to the data query module upgrade, make the user can obtain by the arbitrary domain name in WHOIS server lookup binding domain name group whole domain-name informations of bindings group.Idiographic flow is as shown in Figure 3:
1, the user adopts the inquiry mode input inquiry order identical with traditional inquiry of the domain name when nslookup, and the inquiry of the domain name request is sent to the WHOIS server end,
2, the WHOIS server end obtains the domain name that will inquire about, searches for the domain name that will inquire about to its parsing and in database;
Whether 3, search this domain name in background data base is present in the database;
If a) do not exist, illustrate that then this domain name also is not registered and is not bound on a certain group, the WHOIS server end returns accordingly " nslookup does not exist " message to the user;
B) if exist, from database, obtain the essential information of domain name, comprise registrant ID, address information; Contact person ID, address information etc.; Registrar ID, name server; The information such as hour of log-on; Then (this information table, every group of domain name indicates the association of this group domain name by identical ID from " domain name binding information table " by this domain name; Also be that this certain domain name of table storage is to the many-one mapping relations of its bindings group ID, unique ID of every group of domain name, can find this ID by domain name, and obtain this group domain-name information by this ID) in to find this group domain name related, and from " domain name details table ", obtain all domain names of this domain name place bindings group by this ID, and all Query Results are returned to the user.
4, poll-final.
Take Chinese domain name " .cn of Tsing-Hua University " as example, as shown in Figure 4, binding domain name WHOIS inquiry service is as follows in the handling process of server end:
1, the user from WHOIS WEB interface or the WHOIS Client WHOIS that initiates " .cn of Tsing-Hua University " domain name inquire the WHOIS server;
Whether 2, WHOIS server end analyzing and processing binding domain name query requests is searched this domain name and is present in " domain name binding information table " in back-end data base, then obtain bindings group ID corresponding to this domain name if exist;
3, from " domain name details table ", obtain the domain name essential information that this bindings group is shared by bindings group ID, and from " domain name binding information table ", obtain all binding domain names corresponding to this ID, at last all Query Results are returned to the user.
Though the present invention discloses as above with embodiment, however its only for example with reference to but not be used for limiting scope of the present invention, anyly have the knack of this skill person, without departing from the spirit and scope of the present invention, when doing a little change and retouching.Therefore above-described embodiment is not to limit scope of the present invention, and protection scope of the present invention is as the criterion with claims.