Summary of the invention
The object of this invention is to provide the analytic method of variant domain name in a kind of DNS system, such that the domain name of other variant forms corresponding with the variant domain name that user registers is same can access website corresponding to variant domain name that this user registers.
The invention provides the analytic method of variant domain name in a kind of DNS system, wherein DNS system comprise an authoritative server, one be arranged at authoritative server before recursion server and one be arranged at authoritative server after domain name transducer.Analytic method comprises obtaining step, determining step, the first switch process, the first analyzing step, the second switch process and the second analyzing step.The inquiry of the domain name request accepted by authoritative server in obtaining step guides to domain name transducer.Judge whether the domain name corresponding to inquiry of the domain name request is an internationalized domain name by domain name transducer in determining step, if the determination result is YES then enter the first switch process, otherwise the domain name that domain name transducer returns corresponding to domain name inquiry request to authoritative server does not exist.In first switch process, the domain name corresponding to inquiry of the domain name request is converted to the standardized domain name of standard coding format by domain name transducer.In first analyzing step, domain name transducer is by standardized domain name and the Registry comparison wherein arranged, if standardized domain name is present in Registry, then return a jump instruction to the inquiry main frame of initiating domain name inquiry request, make this inquiry main frame jump to network address corresponding to standardized domain name, otherwise enter the second switch process.In second switch process, standardized domain name is converted to one and recommends body domain name by domain name transducer.
In DNS system the analytic method of variant domain name another schematic execution mode in, standard coding format be Unicode or UTF-8 coding.
In DNS system in the schematic execution mode of the another kind of the analytic method of variant domain name, in second switch process, domain name transducer leads to the recommendation body character of the registration body's recommendation variant character comprised in standardized domain name being converted to internationalized domain name, to obtain recommending body domain name.
In DNS system the analytic method of variant domain name another schematic execution mode in, if standardized domain name can be exchanged into multiple recommendation body domain name, then in the second analyzing step domain name transducer by each recommendation body domain name and Registry comparison, if any one recommends body domain name to be present in Registry, then return a jump instruction to the main frame of initiating domain name inquiry request, make this main frame jump to the network address of recommending corresponding to body domain name.
Embodiment
In order to the technical characteristic to invention, object and effect have understanding clearly, now contrast accompanying drawing and the specific embodiment of the present invention is described, label identical in the various figures represents identical part.
In this article, " schematically " expression " serves as example, example or explanation ", not should by being described to any diagram of " schematically " in this article, execution mode is interpreted as a kind of preferred or have more the technical scheme of advantage.
For making simplified form, only schematically show part related to the present invention in each figure, they do not represent its practical structures as product.In addition, be convenient to make simplified form understand, there are the parts of same structure or function in some figure, only schematically depict one of them, or only marked one of them.
In this article, " one " not only represents " only this ", also can represent the situation of " more than one ".
In this article, " first ", " second " etc. only for differentiation each other, but not represent they significance level and order etc.
At this article, " before ", " afterwards " represent the time order and function receiving inquiry of the domain name request.
Herein, variant domain name refers to when internationalized domain name promotes, in internationalized domain name, the label of a lot of domain name adopts international language composition, because a lot of characters of international language have a lot of variant, such as " example. China " Chinese domain name, to " example ' ", its familiar form is " example ", traditional font form is " Real example ", also the i.e. minimum existence of this domain name two kinds of forms.Its form such as simplified and traditional is not distinguished to internationalized domain name in International Community, and have variant character to deposit in case for a character, claim variant between these characters mutually, the domain name be made up of these characters is called " variant domain name ".
Herein, " recommendation body domain name " refers to the character for there being multiple variant, domain name registration organ is according to the background of this language or community application feature, can select the recommendation body of one or more character as this group character for this group character, the domain name of recommending body character to form by these is called recommends body domain name.
Fig. 1 is for illustration of the structural representation of a kind of exemplary embodiment of DNS system.As shown in Figure 1, DNS system comprises an authoritative server 10, recursion server 20 and a domain name transducer 30.Wherein, before recursion server 20 is arranged at authoritative server 10, and after domain name transducer 30 is arranged at authoritative server 10.Recursion server 20 can receive the inquiry of the domain name request from an inquiry main frame 40, and this inquiry of the domain name request is known to the skilled person by the recursive query process of recursion server 20 and authoritative server 10, does not repeat them here.In DNS system in a kind of exemplary embodiment of the analytic method of variant domain name, domain name transducer 30 is for being arranged at the software module in authoritative server 10.In addition, also domain name transducer 30 can be arranged on independently in hardware.
Fig. 2 is for illustration of the flow process of the analytic method of variant domain name in DNS system.Obtaining step S10, determining step S20, the first switch process S30, the first analyzing step S40, the second switch process S50 and the second analyzing step S60 is comprised see the analytic method of variant domain name in Fig. 1 and Fig. 2, DNS system.
In DNS system, the analytic method of variant domain name starts and step S10, and in step slo, when after the inquiry of the domain name request that authoritative server 10 receives from inquiry main frame 40, this inquiry of the domain name request is guided to domain name transducer 30 by it.Then enter determining step S20.
In determining step S20, judge whether the domain name corresponding to its inquiry of the domain name request received is an internationalized domain name (being called for short IDN domain name) by domain name transducer 30.Such as, judge domain name whether be through punycode transcoding after data (IDN domain name has to pass through punycode transcoding and could resolve), if the data after punycode transcoding, then can judge that this domain name is IDN domain name; ; Otherwise each byte conversion of this domain name is become numeral, the summation of these numerals is compared with 127 (according to the standard agreement of domain name, non-IDN domain name, must adopt ASCII to encode, therefore character conversion is all less than or equal to 127 after becoming numeral), if be greater than 127, show that this domain name is IDN domain name.
If domain name transducer 30 judges that the domain name corresponding to inquiry of the domain name request that it receives is an internationalized domain name, then enter step S30.Otherwise domain name transducer 30 sends the non-existent information of domain name corresponding to domain name inquiry request to authoritative server 10.
In step s 30, domain name (the domain name field information namely in inquiry of the domain name request message) corresponding for inquiry of the domain name request is converted to the standardized domain name with standard coding format by domain name transducer 30.In DNS system in a kind of exemplary embodiment of the analytic method of variant domain name, standard coding format is Unicode or UTF-8 coding.Then enter step S40.
In step s 40, domain name transducer 30 is by standardized domain name and the Registry comparison wherein arranged.The wherein Registry of internationalized domain name that records for internationalized domain name registration body of Registry.Internationalized domain name registration body can be the registration body CNNIC being in charge of with .cn the domain name being suffix, also can be that to be in charge of with .com be the domain name registration organ VERSIGN of suffix.Registry comprises the registration character information of internationalized domain name, and the website information corresponding with internationalized domain name.Such as, internationalized domain name " Tsing-Hua University .cn ", recording " Tsing-Hua University .cn " each character conversion in Registry is information after Unicode or UTF-8 coding, and the network address corresponding to " Tsing-Hua University .cn ".
If standardized domain name is mated with the log-on message of internationalized domain names some in Registry, namely standardized domain name is present in Registry, then domain name transducer 30 returns a jump instruction by the inquiry main frame of initiating domain name inquiry request, comprise the website information corresponding with standardized domain name in this jump instruction, thus make to inquire about main frame and can jump to network address corresponding to the inquiry of the domain name claims that send with it.If there is not the log-on message matched with standardized domain name in Registry, then enter step S50.
In step s 50, standardized domain name is converted to one and recommends body domain name by domain name transducer 30.May variant be there is in the character comprised in standardized domain name, such as, in the character of internationalized domain name " Tsing-Hua University .cn ", there is variant " China, Hua " in character " China ", but in the Registry of internationalized domain name registration body, only there is " Tsing-Hua University .cn ", if the character of internationalized domain name is " Tsing-Hua University .cn " or " clear Hua university .cn " in the inquiry of the domain name request that inquiry main frame sends, then cannot find the record corresponding with it in Registry.Now, the variant character comprised in standardized domain name is converted to the recommendation body character that internationalized domain name registration body is recommended by domain name transducer 30, such as " China " or " Hua " is converted to " China ", thus makes internationalized domain name " Tsing-Hua University .cn " or " clear Hua university .cn " be converted to recommendation body domain name " Tsing-Hua University .cn ".Then enter step S60.
In addition, if when there is multiple recommendation body character in one group of variant character, standardized domain name is converted to multiple recommendation body domain name by domain name transducer 30, and recommend the quantity of body domain name identical with recommending the quantity of character, such as, character " China " and " China " are for internationalized domain name registration body is for the recommendation body character of character " China ", " Hua " or " China ", then internationalized domain name " Tsing-Hua University .cn ", " Tsing-Hua University .cn " or " clear Hua university .cn " are converted to " Tsing-Hua University .cn " and " Tsing-Hua University .cn " by domain name transducer 30.
In step S60, the Registry comparison that domain name transducer 30 will be mentioned in the recommendation body domain name obtained in step S50 and step S40, if standardized domain name is mated with the log-on message of internationalized domain names some in Registry, namely standardized domain name is present in Registry, then domain name transducer 30 returns a jump instruction by the inquiry main frame of initiating domain name inquiry request, comprise the website information corresponding with standardized domain name in this jump instruction, thus make to inquire about main frame and can jump to network address corresponding to the inquiry of the domain name claims that send with it.Otherwise domain name transducer 30 sends the non-existent information of domain name corresponding to domain name inquiry request to authoritative server 10.
One group of variant character is existed to the situation of multiple recommendation body character, step S50 can obtain multiple recommendation body domain name, in step S60, these can be recommended the Registry comparison mentioned in body domain name and step S40 by domain name transducer 30, if any one recommends body domain name to mate with the log-on message of internationalized domain names some in Registry, namely standardized domain name is present in Registry, then domain name transducer 30 returns a jump instruction by the inquiry main frame of initiating domain name inquiry request, the website information corresponding with standardized domain name is comprised in this jump instruction, thus make to inquire about main frame and can jump to network address corresponding to the inquiry of the domain name claims that send with it.
In DNS system variant domain name analytic method in, after domain name converter unit is deployed on authoritative server, by authoritative server, inquiry of the domain name request is guided to domain name transducer, greatly can reduce deployment quantity and the difficulty of domain name transducer thus.In addition, the validation problem that domain name converter unit can also avoid DNSSEC to cause after being deployed on authoritative server effectively, is very easy to the inquiry of variant domain name.
Be to be understood that, although this specification describes according to each execution mode, but not each execution mode only comprises an independently technical scheme, this narrating mode of specification is only for clarity sake, those skilled in the art should by specification integrally, technical scheme in each execution mode also through appropriately combined, can form other execution modes that it will be appreciated by those skilled in the art that.
A series of detailed description listed is above only illustrating for feasibility execution mode of the present invention; they are also not used to limit the scope of the invention; allly do not depart from the skill of the present invention equivalent embodiments done of spirit or change; as the combination of feature, segmentation or repetition, all should be included within protection scope of the present invention.