CN112887448B - Domain name registration method and device and domain name server - Google Patents

Domain name registration method and device and domain name server Download PDF

Info

Publication number
CN112887448B
CN112887448B CN202110100221.6A CN202110100221A CN112887448B CN 112887448 B CN112887448 B CN 112887448B CN 202110100221 A CN202110100221 A CN 202110100221A CN 112887448 B CN112887448 B CN 112887448B
Authority
CN
China
Prior art keywords
domain name
provider server
server
price
target
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
CN202110100221.6A
Other languages
Chinese (zh)
Other versions
CN112887448A (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.)
Beijing Kingsoft Cloud Network Technology Co Ltd
Original Assignee
Beijing Kingsoft Cloud Network 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 Beijing Kingsoft Cloud Network Technology Co Ltd filed Critical Beijing Kingsoft Cloud Network Technology Co Ltd
Priority to CN202110100221.6A priority Critical patent/CN112887448B/en
Publication of CN112887448A publication Critical patent/CN112887448A/en
Application granted granted Critical
Publication of CN112887448B publication Critical patent/CN112887448B/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
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/30Managing network names, e.g. use of aliases or nicknames
    • H04L61/3015Name registration, generation or assignment
    • H04L61/302Administrative registration, e.g. for domain names at internet corporation for assigned names and numbers [ICANN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/30Managing network names, e.g. use of aliases or nicknames
    • H04L61/3015Name registration, generation or assignment
    • H04L61/3025Domain name generation or assignment
    • 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]

Abstract

The invention provides a domain name registration method, a domain name registration device and a domain name server.A target domain name provider server is determined from a plurality of domain name provider servers connected in advance based on a preset rule and a domain name registration request after the domain name registration request aiming at a domain name to be registered is received; and then the domain name to be registered is registered through the target domain name provider server. According to the method, the optimal domain name provider server meeting the preset rule can be determined from the connected domain name provider servers, and the preset rule is determined based on the domain name price returned by the domain name provider server and the performance of the domain name provider server, so that the stability of the domain name provider server is guaranteed, the cost of the domain name to be registered is reduced, and the income is improved.

Description

Domain name registration method and device and domain name server
Technical Field
The present invention relates to the field of domain name processing technologies, and in particular, to a domain name registration method, apparatus, and domain name server.
Background
In the related art, a domain name service intermediary usually establishes a relationship with a domain name provider, and after receiving a domain name registration request of a user, the domain name service intermediary can purchase a domain name from the connected domain name provider and then provide the domain name for the user, that is, the user can complete domain name query, domain name registration and the like through the domain name service intermediary; in practical implementation, for the same domain name or the same premium word, the domain name prices provided by different domain name providers may be different, and for the domain name service intermediary, because the domain name price provided by the domain name service intermediary to the user is usually fixed, the cost of the domain name product of the domain name service intermediary may be increased by adopting the method, thereby reducing the benefit of the domain name product.
Disclosure of Invention
The invention aims to provide a domain name registration method, a domain name registration device and a domain name server, so that the stability of a domain name provider server is ensured, the cost of a domain name product is reduced, and the income of the domain name product is improved.
The invention provides a domain name registration method, which is applied to a domain name server and comprises the following steps: receiving a domain name registration request aiming at a domain name to be registered; determining a target domain name provider server from a plurality of domain name provider servers connected in advance based on a preset rule and the domain name registration request; wherein the preset rule is determined based on the domain name price returned by the domain name provider server and the performance of the domain name provider server; and registering the domain name to be registered through the target domain name provider server.
Further, the domain name server is in communication connection with a supplier selection server, and the supplier selection server is in communication connection with a plurality of domain name supplier servers in advance; the step of determining a target domain name provider server from among a plurality of domain name provider servers connected in advance based on a preset rule and the domain name registration request includes: generating a domain name price query instruction based on the domain name registration request; sending the domain name price query instruction to the supplier selection server so as to execute the following steps through the supplier selection server: calling a domain name price query interface of each domain name provider server, sending the domain name price query instruction to each domain name provider server through the domain name price query interface, and receiving a domain name price which is returned by each domain name provider server and aims at the domain name to be registered; and if the performance of each domain name provider server meets a preset condition, determining the domain name provider server providing the lowest domain name price as a target domain name provider server.
Further, the performance of the domain name provider server comprises the bearable concurrency of the interface and the response speed of the interface; the preset conditions include: the difference between the amount of concurrency that the interface of each domain name provider server can bear is smaller than a first threshold, and the difference between the response speeds of the interface of each domain name provider server is smaller than a second threshold.
Further, the domain name server is pre-configured with a corresponding relationship between at least one domain name suffix and at least one domain name provider server; wherein the correspondence is determined based on the preset rule; the step of determining a target domain name provider server from a plurality of domain name provider servers connected in advance based on a preset rule and the domain name registration request includes: determining the domain name provider server matched with the domain name suffix of the domain name to be registered as a target domain name provider server; generating a domain name price query instruction based on the domain name registration request; and calling a domain name price query interface of the target domain name provider server so as to send the domain name price query instruction to the target domain name provider server through the domain name price query interface.
Further, the method further comprises: receiving a target domain name price for the domain name to be registered returned by the target domain name provider server; and returning the target domain name price to the user.
Further, the step of registering the domain name to be registered by the target domain name provider server includes: calling a domain name registration interface of the target domain name provider server to send the domain name registration request to the target domain name provider server through the domain name registration interface; and registering the domain name to be registered through the target domain name provider server.
The invention provides a domain name registration device, which is arranged on a domain name server and comprises: the receiving module is used for receiving a domain name registration request aiming at a domain name to be registered; the determining module is used for determining a target domain name provider server from a plurality of domain name provider servers connected in advance based on a preset rule and the domain name registration request; wherein the preset rule is determined based on the domain name price returned by the domain name provider server and the performance of the domain name provider server; and the registration module is used for registering the domain name to be registered through the target domain name provider server.
Further, the domain name server is in communication connection with a supplier selection server, and the supplier selection server is in communication connection with a plurality of domain name supplier servers in advance; the determination module is further configured to: generating a domain name price query instruction based on the domain name registration request; sending the domain name price query instruction to the supplier selection server so as to execute the following steps through the supplier selection server: calling a domain name price query interface of each domain name provider server, sending the domain name price query instruction to each domain name provider server through the domain name price query interface, and receiving a domain name price which is returned by each domain name provider server and aims at the domain name to be registered; and if the performance of each domain name provider server meets a preset condition, determining the domain name provider server providing the lowest domain name price as a target domain name provider server.
The invention provides a domain name server, which comprises a processor and a memory, wherein the memory stores machine executable instructions capable of being executed by the processor, and the processor executes the machine executable instructions to realize the domain name registration method of any one of the above items.
The present invention provides a machine-readable storage medium having stored thereon machine-executable instructions that, when invoked and executed by a processor, cause the processor to implement a domain name registration method as described in any of the above.
According to the domain name registration method, the domain name registration device and the domain name server, after a domain name registration request aiming at a domain name to be registered is received, a target domain name provider server is determined from a plurality of domain name provider servers connected in advance based on a preset rule and the domain name registration request; and then the domain name to be registered is registered through the target domain name provider server. According to the method, the optimal domain name provider server meeting the preset rule can be determined from the connected domain name provider servers, and the preset rule is determined based on the domain name price returned by the domain name provider server and the performance of the domain name provider server, so that the stability of the domain name provider server is guaranteed, the cost of the domain name to be registered is reduced, and the income is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of a domain name registration method according to an embodiment of the present invention;
fig. 2 is a flowchart of another domain name registration method according to an embodiment of the present invention;
fig. 3 is a flowchart of another domain name registration method according to an embodiment of the present invention;
fig. 4 is a flowchart of another domain name registration method according to an embodiment of the present invention;
fig. 5 is a flowchart of another domain name registration method according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a domain name registration apparatus according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a domain name server according to an embodiment of the present invention.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the following embodiments, and it should be understood that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
At present, there are many domain name providers capable of providing domain name registration service, and the domain name providers can provide services such as domain name price inquiry, domain name registration, domain name renewal, domain name transfer-in and domain name transfer-out. The registration price, the renewal price, the price of the premium words and the like provided by different domain name providers are usually different, and the domain name service intermediary can select any domain name provider as the bottom support to provide the domain name registration service for the user, but the user can not sense the domain name registration service; the price of each domain name provided by each domain name provider is typically different for the same domain name, e.g.,. Com domain names have prices of 48 and 53 at domain name provider a and domain name provider B, respectively; for the same premium word, the prices provided by different domain name providers may be different, for example, the price of the beautiful. For the domain name service intermediary, because the price of the domain name provided by the domain name service intermediary to the user is usually fixed, if only one domain name provider is used, the cost of the domain name product of the domain name service intermediary may be increased, thereby reducing the income of the domain name product.
Based on this, the embodiment of the invention provides a domain name registration method, a domain name registration device and a domain name server.
In order to facilitate understanding of the present embodiment, first, a domain name registration method disclosed in the present embodiment is described in detail; the method is applied to a domain name server, and the domain name server can be understood as a server of a domain name system of a domain name service middleman; as shown in fig. 1, the method comprises the steps of:
step S102, receiving a domain name registration request for a domain name to be registered.
The domain name is usually the name of a designated computer or group of computers on the Internet composed of a string of names separated by points, and is used for positioning and identifying the computer during data transmission; the domain name to be registered can be a domain name which is provided by a user and needs to be registered; the domain name registration request may be a request sent by a user to register a domain name to be registered; in practical implementation, when a user needs to register a domain name, the domain name to be registered is usually provided first, for example, the user may input the domain name to be registered in a domain name search box, and then send a domain name registration request for the domain name to be registered, and the domain name server receives the domain name registration request.
Step S104, determining a target domain name provider server from a plurality of domain name provider servers connected in advance based on a preset rule and a domain name registration request; the preset rule is determined based on the domain name price returned by the domain name provider server and the performance of the domain name provider server.
The performance of the domain name provider server may include key performance indexes of the domain name provider server, such as bearable concurrency of the interface, response speed of the interface, and the like; considering that various functional indexes of different domain name provider servers generally have certain difference, such as difference in system stability, difference in maximum allowable concurrency of interfaces of the domain name provider servers, difference in interface response speed, and the like, the preset rule can be determined by integrating various functional indexes according to the price of the domain name returned by the domain name provider servers, so as to determine the optimal target domain name provider server.
For example, if the indexes of the plurality of domain name provider servers connected to the domain name server are less different, in the preset rule, the domain name price returned by the domain name provider servers can be used as a main reference index, that is, if the domain name price returned by one of the domain name provider servers is the lowest, the domain name provider server can be determined as the target domain name provider server; if the maximum difference of the bearable concurrency quantity of the interfaces among the indexes of the domain name provider servers is large, the difference of other indexes is small, and the requirement on the bearable concurrency quantity of the interfaces is high in the domain name registration process, then the target domain name provider server can be determined by integrating the domain name price returned by the domain name provider servers and the bearable concurrency quantity of the interfaces of the domain name provider servers.
In practical implementation, the domain name server is usually connected to a plurality of domain name provider servers in advance in a communication manner, and a target domain name provider server meeting a preset rule can be determined from the connected domain name provider servers based on the acquired domain name registration request and in combination with the preset rule.
Step S106, registering the domain name to be registered through the target domain name provider server.
After the target domain name provider server is determined, the domain name to be registered provided by the user can be registered through the target domain name provider server.
The invention provides a domain name registration method, which comprises the steps of determining a target domain name provider server from a plurality of domain name provider servers connected in advance based on a preset rule and a domain name registration request after receiving the domain name registration request aiming at a domain name to be registered; and then the domain name to be registered is registered through the target domain name provider server. According to the method, the optimal domain name provider server meeting the preset rule can be determined from the connected domain name provider servers, and the preset rule is determined based on the domain name price returned by the domain name provider server and the performance of the domain name provider server, so that the stability of the domain name provider server is guaranteed, the cost of the domain name to be registered is reduced, and the income is improved.
The embodiment of the invention also provides another domain name registration method, which is realized on the basis of the method of the embodiment; the method mainly describes a specific process of determining a target domain name provider server from a plurality of domain name provider servers connected in advance based on a preset rule and a domain name registration request, wherein the domain name server is in communication connection with a provider selection server, and the provider selection server is in communication connection with the plurality of domain name provider servers in advance; the provider selection server may select a target domain name provider server satisfying a preset rule from among the connected plurality of domain name provider servers based on the preset rule; as shown in fig. 2, the method comprises the steps of:
in step S202, a domain name registration request for a domain name to be registered is received.
Step S204, generating a domain name price inquiry command based on the domain name registration request.
The domain name price query instruction can be used for indicating the domain name price for querying the domain name to be registered; in practical implementation, after receiving the domain name registration request for the domain name to be registered, a domain name price query instruction is usually generated first to query the domain name price of the domain name to be registered.
Step S206, sending the domain name price query instruction to the supplier selection server, so as to execute the following steps through the supplier selection server: calling a domain name price query interface of each domain name provider server, sending a domain name price query instruction to each domain name provider server through the domain name price query interface, and receiving a domain name price which is returned by each domain name provider server and aims at a domain name to be registered; and if the performance of each domain name provider server meets a preset condition, determining the domain name provider server providing the lowest domain name price as a target domain name provider server.
The performance of the domain name provider server can be understood as an index capable of evaluating the operation capability thereof, such as data processing speed or stability; the preset conditions can be different performance indexes aiming at the domain name provider server, preset parameter threshold values and the like; in the domain name processing field, the performance of the domain name provider server mainly concerned generally includes the amount of concurrency that the interface can bear and the response speed of the interface; the amount of concurrency which can be borne by the interface can be understood as the maximum concurrent pressure which can be borne by the interface; the respective preset conditions typically include: the difference between the amount of concurrency that the interface of each domain name provider server can withstand is less than a first threshold, and the difference between the interface response speeds of each domain name provider server is less than a second threshold. The first threshold is usually set to a smaller value, and if the difference between the tolerable concurrency amounts of the interfaces of any two domain name provider servers in the plurality of domain name provider servers is smaller than the first threshold, it can be understood that the tolerable concurrency amount difference between the interfaces of the two domain name provider servers is smaller; the second threshold is also usually set to a smaller value, and if the difference between the interface response speeds of any two domain name provider servers in a plurality of domain name provider servers is smaller than the second threshold, it can be understood that the difference between the interface response speeds of the two domain name provider servers is smaller.
During actual implementation, the generated domain name price query instruction for the domain name to be registered can be sent to the supplier selection server, and the supplier selection server can call the domain name price query interface of each connected domain name supplier server at the same time to obtain the domain name price for the domain name to be registered returned by each domain name supplier server; for example, when the user inputs the domain name to be registered test.com in the domain name search box, the domain name server may receive a domain name registration request for the domain name to be registered test.com, then generate a domain name price query instruction for the domain name to be registered test.com based on the domain name registration request, and send the domain name price query instruction to the vendor selection server, where the vendor selection server calls a domain name price query interface of each domain name vendor server at the same time to send the domain name price query instruction for the domain name to be registered test.com to each domain name vendor server, and respectively obtains the domain name price of the domain name to be registered test.com returned by each domain name vendor server, where the domain name price may include a registration price and a renewal price.
When the supplier selection server receives the domain name price returned by each domain name supplier server, the optimal domain name supplier server can be selected according to the registration price, the renewal price and the like of the domain name to be registered test.com and by integrating the performance indexes of the domain name supplier servers; for example, if the difference between the amounts of concurrency that the interfaces of the domain name provider servers can bear is small, and the difference between the response speeds of the interfaces is also small, the domain name provider server providing the lowest domain name price can be determined as the target domain name provider server.
In step S208, a target domain name price for the domain name to be registered returned by the target domain name provider server is received.
In actual implementation, after the provider selection server determines the target domain name provider server, the target domain name price for the domain name to be registered returned by the target domain name provider server may be sent to the domain name server, and usually, the name of the target domain name provider server may also be sent to the domain name server at the same time; for example, when the user inputs the domain name to be registered test.com in the domain name search box, the determined target domain name provider server is the domain name provider server a, and the price of the domain name provided by the domain name provider server a for the domain name to be registered test.com is 48 yuan, the name of the target domain name provider server and the corresponding target domain name price, that is, the domain name provider server a and the target domain name price provided by the domain name provider server a are 48 yuan.
And step S210, returning the target domain name price to the user.
After receiving the target domain name price, the domain name server can return the target domain name price to the user, and can also return the received name of the target domain name provider server to the user, so that the user can obtain the target domain name price for the domain name to be registered, and subsequent operations such as domain name registration can be performed.
In step S212, the domain name to be registered is registered by the target domain name provider server.
The invention provides a domain name registration method, which comprises the steps of firstly generating a domain name price query instruction based on a received domain name registration request, then sending the domain name price query instruction to a supplier selection server, and executing the following steps through the supplier selection server: calling a domain name price query interface of each domain name provider server, sending a domain name price query instruction to each domain name provider server through the domain name price query interface, and receiving a domain name price which is returned by each domain name provider server and aims at a domain name to be registered; if the performance of each domain name provider server meets the preset condition, determining the domain name provider server providing the lowest domain name price as a target domain name provider server, receiving a target domain name price which is returned by the target domain name provider server and aims at the domain name to be registered, and returning the target domain name price to the user; and finally, registering the domain name to be registered through the target domain name provider server. According to the method, the optimal domain name provider server meeting the preset rule can be determined from the connected domain name provider servers, and the preset rule is determined based on the domain name price returned by the domain name provider server and the performance of the domain name provider server, so that the stability of the domain name provider server is guaranteed, the cost of the domain name to be registered is reduced, and the income is improved.
The embodiment of the invention also provides another domain name registration method, which is realized on the basis of the method of the embodiment; the method mainly describes a specific process of determining a target domain name provider server from a plurality of domain name provider servers connected in advance based on a preset rule and a domain name registration request, wherein in the method, the domain name server is configured with a corresponding relation between at least one domain name suffix and at least one domain name provider server in advance; wherein the corresponding relation is determined based on a preset rule; the domain name suffix can be understood as a symbol that can represent a domain name type, and the meaning of the domain name represented by different suffixes is usually different, such as com, net, etc., which represent the business enterprise, and the function of different domain name suffixes is not different, and only the appearance and the meaning are different; in practical implementation, the corresponding relationship between different domain name suffixes and the domain name provider server may be pre-configured in the domain name server based on a preset rule, and usually one domain name suffix may correspond to one domain name provider server, and there may be a plurality of different domain name suffixes all corresponding to the same domain name provider server.
In practical implementation, the corresponding relation between each domain name suffix and the domain name provider server can be determined based on the domain name prices provided by the domain name provider server and aiming at different domain name suffixes in combination with the performance of the domain name provider server; for example, if the difference between the tolerable concurrency and the response speed of the interfaces of the domain name provider servers connected to the domain name server is small, the domain name provider server providing the lowest domain name price can be determined as the target domain name provider server for each domain name suffix. Configuring different domain name suffixes to corresponding domain name provider servers in a pre-configuration mode, and adopting the configured domain name provider servers for subsequent domain name price query, domain name registration, domain name renewal and the like of the domain name to be registered; as shown in fig. 3, the method comprises the steps of:
in step S302, a domain name registration request for a domain name to be registered is received.
In step S304, the domain name provider server matched with the domain name suffix of the domain name to be registered is determined as the target domain name provider server.
In actual implementation, due to the fact that the corresponding relation between different domain name suffixes and the domain name provider server is configured in advance, after a domain name registration request aiming at a domain name to be registered is received, the domain name provider server corresponding to the domain name suffix of the domain name to be registered can be determined as a target domain name provider server; for example, the domain name provider server corresponding to the. Com domain name suffix is the domain name provider server a, the domain name provider server corresponding to the. Cn domain name suffix is the domain name provider server B, when the user searches for the test.com domain name, the domain name provider server a is determined as the target domain name provider server, and when the user searches for the test.cn domain name, the domain name provider server B is determined as the target domain name provider server.
Step S306, generating a domain name price inquiry command based on the domain name registration request.
Step S308, calling a domain name price query interface of the target domain name provider server to send the domain name price query instruction to the target domain name provider server through the domain name price query interface.
In actual implementation, after the domain name price query instruction is generated, a domain name price query interface of a target domain name provider server can be called to send the domain name price query instruction for the domain name to be registered to the target domain name provider server; for example, the domain name provider server corresponding to the. Com domain name suffix is the domain name provider server a, and the domain name provider server corresponding to the. Cn domain name suffix is the domain name provider server B, and then when the user searches for the test.com domain name, the domain name price query interface of the domain name provider server a is called, and when the user searches for the test.cn domain name, the domain name price query interface of the domain name provider server B is called.
Step S310, receiving a target domain name price for the domain name to be registered returned by the target domain name provider server.
Step S312, return the target domain name price to the user.
In step S314, the domain name to be registered is registered by the target domain name provider server.
According to the domain name registration method provided by the invention, after a domain name registration request aiming at a domain name to be registered is received, firstly, a domain name provider server matched with a domain name suffix of the domain name to be registered is determined as a target domain name provider server, then, a domain name price query instruction is generated based on the domain name registration request, a domain name price query interface of the target domain name provider server is called, so that the domain name price query instruction is sent to the target domain name provider server through the domain name price query interface, a target domain name price aiming at the domain name to be registered and returned by the target domain name provider server is received, a target domain name price is returned to a user, and finally, the domain name to be registered is registered through the target domain name provider server. According to the method, the optimal domain name provider server meeting the preset rule can be determined from the connected domain name provider servers, and the preset rule is determined based on the domain name price returned by the domain name provider server and the performance of the domain name provider server, so that the stability of the domain name provider server is guaranteed, the cost of the domain name to be registered is reduced, and the income is improved.
By adopting the mode of the multiple domain name supplier servers, the domain names can be registered by using suppliers with lower prices preferentially according to actual demands, so that the cost of domain name products is effectively reduced, and the profit rate is improved; the domain name provider server with more stable service can be selected preferentially to ensure the request speed of the interface, which is beneficial to improving the stability of the system and reducing system loopholes; in practical implementation, before selecting the domain name provider server to access the domain name system, the interface performance of the domain name provider server is usually tested first, and the key indexes such as the stability of the interface, the bearable maximum concurrency, the corresponding speed of the interface and the like are judged.
The embodiment of the invention also provides another domain name registration method, which is realized on the basis of the method of the embodiment; the method mainly describes a specific process of registering a domain name to be registered through a target domain name provider server, and as shown in fig. 4, the method comprises the following steps:
in step S402, a domain name registration request for a domain name to be registered is received.
Step S404, determining a target domain name provider server from a plurality of domain name provider servers connected in advance based on a preset rule and a domain name registration request; wherein the preset rule comprises at least one of the following: the price of the domain name returned by the target domain name provider server is lowest, the bearable concurrency of the interface of the target domain name provider server is maximum, and the response speed of the interface is fastest.
Step S406, a domain name registration interface of the target domain name provider server is called, so as to send the domain name registration request to the target domain name provider server through the domain name registration interface.
In actual implementation, after the target domain name provider server is determined, when a domain name to be registered is registered, the domain name server can call a domain name registration interface of the target domain name provider server so as to send a domain name registration request aiming at the domain name to be registered to the target domain name provider server; for example, if the user searches for a test.com domain name, and the determined target domain name provider server is domain name provider server a, when registering the test.com domain name, the domain name registration interface of the domain name provider server a is called to send a domain name registration request for the test.com domain name to the domain name provider server a; if the user searches for the test.cn domain name, and the determined target domain name provider server is the domain name provider server B, when the test.cn domain name is registered, a domain name registration interface of the domain name provider server B is called, so that a domain name registration request for the test.cn domain name is sent to the domain name provider server B.
In step S408, the domain name to be registered is registered by the target domain name provider server.
The invention provides a domain name registration method, which comprises the steps of determining a target domain name provider server from a plurality of domain name provider servers connected in advance based on a preset rule and a domain name registration request after receiving the domain name registration request aiming at a domain name to be registered; and calling a domain name registration interface of the target domain name provider server, sending a domain name registration request to the target domain name provider server through the domain name registration interface, and registering the domain name to be registered through the target domain name provider server. According to the method, the optimal domain name provider server meeting the preset rule can be determined from the connected domain name provider servers, and the preset rule is determined based on the domain name price returned by the domain name provider server and the performance of the domain name provider server, so that the stability of the domain name provider server is guaranteed, the cost of the domain name to be registered is reduced, and the profit is improved.
To further understand the above embodiment, another flow chart of the domain name registration method shown in fig. 5 is provided below, and assuming that the domain name server is in communication connection with the domain name provider server a and the domain name provider server B in advance, the flow chart includes the domain name server, the provider selection server, the domain name provider server a, and the domain name provider server B; after a user sends a domain name registration request for a domain name to be registered, for example, after sending a domain name registration request for a domain name test.com to be registered, a domain name server receives the domain name registration request, generates a domain name price query instruction based on the domain name registration request, sends the domain name price query instruction to a supplier selection server, the supplier selection server calls domain name price query interfaces of a domain name supplier server A and a domain name supplier server B at the same time to send the test.com domain name to each domain name supplier server to query the domain name price, then each domain name supplier server returns the respective domain name price to the supplier selection server, and after receiving the domain name prices returned by all the domain name supplier servers, the supplier selection server can synthesize performance indexes of the domain name supplier servers, such as the amount of concurrency bearable by the interfaces, the response speed of the interfaces and the like, select the optimal domain name supplier server, and return the price provided by the optimal domain name supplier to the domain name supplier server, and generally send the optimal domain name supplier name server to the domain name supplier name server at the same time, and then call the optimal domain name supplier interface of the domain name server to register the domain name server.
According to the domain name registration method, the domain name server is simultaneously connected with a plurality of domain name provider servers, after a domain name registration request aiming at a domain name to be registered is received, the plurality of domain name provider servers can be simultaneously requested, the registration prices returned by the plurality of domain name provider servers are respectively compared in a dynamic price searching mode, the performance indexes of the domain name provider servers are integrated, the optimal domain name provider server is determined from the plurality of domain name provider servers, if the performance indexes of all the domain name provider servers are not greatly different, the domain name provider server with the most price advantage can be determined as the optimal domain name provider server, then the optimal domain name provider server is adopted to register the domain name, and according to the domain name prices provided by different domain name provider servers, different domain name provider servers can be configured for different domain names to be registered, so that the stability of the domain name server is ensured, the product cost is effectively reduced, and the product income and the product competitiveness are improved.
An embodiment of the present invention provides a domain name registration apparatus, which is disposed in a domain name server, and as shown in fig. 6, the apparatus includes: a receiving module 60, configured to receive a domain name registration request for a domain name to be registered; a determining module 61 configured to determine a target domain name provider server from a plurality of domain name provider servers connected in advance based on a preset rule and a domain name registration request; the preset rule is determined based on the domain name price returned by the domain name provider server and the performance of the domain name provider server; and a registration module 62, configured to register the domain name to be registered through the target domain name provider server.
The domain name registration device provided by the invention determines a target domain name provider server from a plurality of domain name provider servers connected in advance based on a preset rule and a domain name registration request after receiving the domain name registration request aiming at a domain name to be registered; and then the domain name to be registered is registered through the target domain name provider server. The device can determine the optimal domain name provider server meeting the preset rule from a plurality of connected domain name provider servers, and the preset rule is determined based on the domain name price returned by the domain name provider server and the performance of the domain name provider server, so that the stability of the domain name provider server is ensured, the cost of the domain name to be registered is reduced, and the profit is improved.
Further, the domain name server is in communication connection with a supplier selection server, and the supplier selection server is in communication connection with a plurality of domain name supplier servers in advance; the determining module 61 is further configured to: generating a domain name price query instruction based on the domain name registration request; sending the domain name price inquiry command to a supplier selection server, wherein a calling module arranged in the supplier selection server is used for: calling a domain name price query interface of each domain name provider server, sending a domain name price query instruction to each domain name provider server through the domain name price query interface, and receiving a domain name price which is returned by each domain name provider server and aims at a domain name to be registered; and if the performance of each domain name provider server meets a preset condition, determining the domain name provider server providing the lowest domain name price as a target domain name provider server.
Furthermore, the performance of the domain name provider server comprises the bearable concurrency of the interface and the response speed of the interface; the preset conditions include: the difference between the amount of concurrency that the interface of each domain name provider server can withstand is less than a first threshold, and the difference between the interface response speeds of each domain name provider server is less than a second threshold.
Further, the domain name server is pre-configured with a corresponding relation between at least one domain name suffix and at least one domain name provider server; wherein the corresponding relation is determined based on a preset rule; the determining module 61 is further configured to: determining a domain name provider server matched with a domain name suffix of a domain name to be registered as a target domain name provider server; generating a domain name price query instruction based on the domain name registration request; and calling a domain name price query interface of the target domain name provider server to send the domain name price query instruction to the target domain name provider server through the domain name price query interface.
Further, the apparatus is further configured to: receiving a target domain name price for the domain name to be registered returned by the target domain name provider server; the target domain name price is returned to the user.
Further, the registration module 62 is further configured to: calling a domain name registration interface of a target domain name provider server to send a domain name registration request to the target domain name provider server through the domain name registration interface; and registering the domain name to be registered through the target domain name provider server.
The implementation principle and the generated technical effect of the domain name registration device provided by the embodiment of the invention are the same as those of the domain name registration method embodiment, and for brief description, corresponding contents in the domain name registration method embodiment can be referred to where the domain name registration device embodiment is not mentioned.
An embodiment of the present invention further provides a domain name server, as shown in fig. 7, where the domain name server includes a processor 130 and a memory 131, the memory 131 stores machine executable instructions capable of being executed by the processor 130, and the processor 130 executes the machine executable instructions to implement the domain name registration method.
Further, the domain name server shown in fig. 7 further includes a bus 132 and a communication interface 133, and the processor 130, the communication interface 133 and the memory 131 are connected through the bus 132.
The Memory 131 may include a high-speed Random Access Memory (RAM) and may also include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The communication connection between the network element of the system and at least one other network element is implemented through at least one communication interface 133 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, and the like may be used. Bus 132 may be an ISA bus, PCI bus, EISA bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 7, but this does not indicate only one bus or one type of bus.
The processor 130 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 130. The Processor 130 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software modules may be located in ram, flash, rom, prom, or eprom, registers, etc. as is well known in the art. The storage medium is located in the memory 131, and the processor 130 reads the information in the memory 131 and completes the steps of the method of the foregoing embodiment in combination with the hardware thereof.
The embodiment of the present invention further provides a machine-readable storage medium, where the machine-readable storage medium stores machine-executable instructions, and when the machine-executable instructions are called and executed by a processor, the machine-executable instructions cause the processor to implement the domain name registration method.
The method, apparatus, and computer program product for domain name registration and a domain name server provided in the embodiments of the present invention include a computer readable storage medium storing a program code, where instructions included in the program code may be used to execute the method described in the foregoing method embodiments, and specific implementation may refer to the method embodiments, which are not described herein again.
The functions 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 separate products. Based on such understanding, the technical solution of the present invention or a part thereof which substantially contributes to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (9)

1. A domain name registration method is applied to a domain name server, and comprises the following steps:
receiving a domain name registration request aiming at a domain name to be registered;
determining a target domain name provider server from a plurality of domain name provider servers connected in advance based on a preset rule and the domain name registration request; wherein the preset rule is determined based on the domain name price returned by the domain name provider server and the performance of the domain name provider server;
registering the domain name to be registered through the target domain name provider server;
the domain name server is pre-configured with a corresponding relation between at least one domain name suffix and at least one domain name provider server; wherein the correspondence is determined based on the preset rule; a domain name suffix corresponding to a domain name provider server;
the step of determining a target domain name provider server from among a plurality of domain name provider servers connected in advance based on a preset rule and the domain name registration request includes:
determining the domain name provider server matched with the domain name suffix of the domain name to be registered as a target domain name provider server;
generating a domain name price query instruction based on the domain name registration request;
and calling a domain name price query interface of the target domain name provider server so as to send the domain name price query instruction to the target domain name provider server through the domain name price query interface.
2. The method of claim 1, wherein the domain name server is communicatively coupled to a vendor selection server, the vendor selection server being communicatively coupled to a plurality of domain name vendor servers in advance;
the step of determining a target domain name provider server from among a plurality of domain name provider servers connected in advance based on a preset rule and the domain name registration request includes:
generating a domain name price query instruction based on the domain name registration request;
sending the domain name price query instruction to the supplier selection server so as to execute the following steps through the supplier selection server: calling a domain name price query interface of each domain name provider server, sending the domain name price query instruction to each domain name provider server through the domain name price query interface, and receiving a domain name price which is returned by each domain name provider server and aims at the domain name to be registered; and if the performance of each domain name provider server meets a preset condition, determining the domain name provider server providing the lowest domain name price as a target domain name provider server.
3. The method of claim 2, wherein the capabilities of the domain name provider server include an amount of concurrency affordable for the interface and a speed of response of the interface; the preset conditions include: the difference between the amount of concurrency that the interface of each domain name provider server can bear is smaller than a first threshold, and the difference between the response speeds of the interface of each domain name provider server is smaller than a second threshold.
4. The method according to any one of claims 2-3, further comprising:
receiving a target domain name price for the domain name to be registered returned by the target domain name provider server;
and returning the target domain name price to the user.
5. The method according to claim 1, wherein the step of registering the domain name to be registered by the target domain name provider server comprises:
calling a domain name registration interface of the target domain name provider server to send the domain name registration request to the target domain name provider server through the domain name registration interface;
and registering the domain name to be registered through the target domain name provider server.
6. A domain name registration apparatus, wherein the apparatus is provided in a domain name server, the apparatus comprising:
the receiving module is used for receiving a domain name registration request aiming at a domain name to be registered;
the determining module is used for determining a target domain name provider server from a plurality of domain name provider servers connected in advance based on a preset rule and the domain name registration request; wherein the preset rule is determined based on the domain name price returned by the domain name provider server and the performance of the domain name provider server;
the registration module is used for registering the domain name to be registered through the target domain name provider server;
the domain name server is pre-configured with a corresponding relation between at least one domain name suffix and at least one domain name provider server; wherein the correspondence is determined based on the preset rule; a domain name suffix corresponding to a domain name provider server;
the determination module is further configured to:
determining the domain name provider server matched with the domain name suffix of the domain name to be registered as a target domain name provider server;
generating a domain name price query instruction based on the domain name registration request;
and calling a domain name price query interface of the target domain name provider server so as to send the domain name price query instruction to the target domain name provider server through the domain name price query interface.
7. The apparatus of claim 6, wherein the domain name server is communicatively coupled to a vendor selection server, the vendor selection server being communicatively coupled to a plurality of domain name vendor servers in advance;
the determination module is further configured to:
generating a domain name price query instruction based on the domain name registration request;
sending the domain name price query instruction to the supplier selection server so as to execute the following steps through the supplier selection server: calling a domain name price query interface of each domain name provider server, sending the domain name price query instruction to each domain name provider server through the domain name price query interface, and receiving a domain name price which is returned by each domain name provider server and aims at the domain name to be registered; and if the performance of each domain name provider server meets a preset condition, determining the domain name provider server providing the lowest domain name price as a target domain name provider server.
8. A domain name server comprising a processor and a memory, the memory storing machine executable instructions executable by the processor, the processor executing the machine executable instructions to implement the domain name registration method of any one of claims 1 to 5.
9. A machine-readable storage medium having stored thereon machine-executable instructions which, when invoked and executed by a processor, cause the processor to perform the domain name registration method of any one of claims 1 to 5.
CN202110100221.6A 2021-01-22 2021-01-22 Domain name registration method and device and domain name server Active CN112887448B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110100221.6A CN112887448B (en) 2021-01-22 2021-01-22 Domain name registration method and device and domain name server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110100221.6A CN112887448B (en) 2021-01-22 2021-01-22 Domain name registration method and device and domain name server

Publications (2)

Publication Number Publication Date
CN112887448A CN112887448A (en) 2021-06-01
CN112887448B true CN112887448B (en) 2023-04-07

Family

ID=76051229

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110100221.6A Active CN112887448B (en) 2021-01-22 2021-01-22 Domain name registration method and device and domain name server

Country Status (1)

Country Link
CN (1) CN112887448B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1773545A (en) * 2004-11-10 2006-05-17 微软公司 Message based network configuration of domain name purchase
CN102473167A (en) * 2009-07-16 2012-05-23 弗里塞恩公司 Method and system for sale of domain names
CN104867035A (en) * 2015-05-29 2015-08-26 谢达兴 Linked inquiry and quotation system and method of network or electronic commerce
WO2016180169A1 (en) * 2015-05-12 2016-11-17 阿里巴巴集团控股有限公司 Domain name transfer method and device
CN109560940A (en) * 2018-12-26 2019-04-02 网宿科技股份有限公司 A kind of charging method and device of content distribution network CDN service

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1773545A (en) * 2004-11-10 2006-05-17 微软公司 Message based network configuration of domain name purchase
CN102473167A (en) * 2009-07-16 2012-05-23 弗里塞恩公司 Method and system for sale of domain names
WO2016180169A1 (en) * 2015-05-12 2016-11-17 阿里巴巴集团控股有限公司 Domain name transfer method and device
CN104867035A (en) * 2015-05-29 2015-08-26 谢达兴 Linked inquiry and quotation system and method of network or electronic commerce
CN109560940A (en) * 2018-12-26 2019-04-02 网宿科技股份有限公司 A kind of charging method and device of content distribution network CDN service

Also Published As

Publication number Publication date
CN112887448A (en) 2021-06-01

Similar Documents

Publication Publication Date Title
CN107070858B (en) Service processing method and device
CN107798038B (en) Data response method and data response equipment
CN108846749B (en) Partitioned transaction execution system and method based on block chain technology
CN110601880B (en) Cloud platform, service processing method, command interface and computer equipment
US20180309802A1 (en) Infinite micro-services architecture
CN110780870B (en) Service execution method, device, equipment and storage medium
CA3139243A1 (en) Information collection method, device, computer equipment and storage medium
CN112579898A (en) Enterprise information management method and device and server
CN114064690A (en) Data processing method and device
CN111639279A (en) Graphic code generation method, target page loading method and device
CN111225018A (en) Request message processing method and device and electronic equipment
CN110659019B (en) Parameter verification method, device and server
CN110598993B (en) Data processing method and device
CN114549068A (en) Short link generation method, equipment, device and computer readable storage medium
CN112887448B (en) Domain name registration method and device and domain name server
CN106095511A (en) A kind of server updating method and apparatus
CN112732372A (en) Service calling method and device and server
CN111652580B (en) Method and device for processing data of nodes
CN109284268A (en) A kind of method, system and the electronic equipment of fast resolving log
CN113779120A (en) Data query method, device, equipment and storage medium
CN114640955A (en) Cloud short message issuing method, device and system and electronic equipment
CN109241050B (en) Data query method, device and system and electronic equipment
CN115514733A (en) Configuration method and configuration device for domain name resolution service (DNS)
CN111367634A (en) Information processing method, information processing device and terminal equipment
CN111523849A (en) Resource transaction auditing method and device and server

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