CN104219162A - Grouping load balancing method, equipment and system based on DNS - Google Patents

Grouping load balancing method, equipment and system based on DNS Download PDF

Info

Publication number
CN104219162A
CN104219162A CN201410382783.4A CN201410382783A CN104219162A CN 104219162 A CN104219162 A CN 104219162A CN 201410382783 A CN201410382783 A CN 201410382783A CN 104219162 A CN104219162 A CN 104219162A
Authority
CN
China
Prior art keywords
server
dns
address
domain name
server pools
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.)
Pending
Application number
CN201410382783.4A
Other languages
Chinese (zh)
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.)
Opzoon Technology Co Ltd
Original Assignee
Opzoon 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 Opzoon Technology Co Ltd filed Critical Opzoon Technology Co Ltd
Priority to CN201410382783.4A priority Critical patent/CN104219162A/en
Publication of CN104219162A publication Critical patent/CN104219162A/en
Pending legal-status Critical Current

Links

Abstract

The invention relates to a grouping load balancing method, equipment and system based on DNS. The method includes: after a user DNS analyzing request message is received, extracting the source IP address and the to-be-analyzed domain name character string of the DNS analyzing request message; searching for a matched domain name virtual service node according to the to-be-analyzed domain name character string; searching for a matched server pool in multiple server pools bound to the matched domain name virtual service node according to the source IP address; dispatching an entity server node for providing services in the server pool according to the dispatching algorithm of the matched server pool; returning the IP address, serving as a DNS analyzing result, of the entity server node to a user. The method has the advantages that the server pool is searched through the source IP address, the network where the user is located in is confirmed according to the source of the user so as to conveniently select better network resources, server resources can be balanced, the server resources of service providers are utilized in the most reasonable way by reasonably distributing the resources of a server end, and high-quality services are provided for the user.

Description

Based on packet payload equalization methods, the equipment and system of DNS
Technical field
The present invention relates to server technology field, particularly a kind of packet payload equalization methods, equipment and system based on DNS.
Background technology
Existing intelligent DNS (Domain Name System, domain name system) or DNS load-balancing technique only support according to the IP address choice user place carrier network of user or the server of region, place as user provides service, and can not reasonably distribute load according to the disposal ability of server, and then the server resource of service provider can not be made to obtain the most rational Distribution utilization.
Summary of the invention
The present invention makes in view of the foregoing, its objective is and a kind of packet payload equalization methods based on DNS is provided, the method searches server pools by source IP address, thus confirm user place network according to user's incoming road, to select more excellent Internet resources, and then can equalization server resource, can the resource of reasonable distribution server end, the server resource of service provider is made to obtain the most reasonably utilizing, for user provides better service.
For achieving the above object, the invention provides a kind of packet payload equalization methods based on DNS, comprise the steps:
After receiving the dns resolution request message of user, extract the source IP address of described dns resolution request message and domain name character string to be resolved;
According to the domain name Virtual Service node of described domain name string searching coupling to be resolved, wherein, each described Virtual Service node binding has multiple server pools;
In multiple server pools of the Virtual Service node binding of coupling, search the server pools of coupling according to described source IP address, wherein, each server pools is configured with corresponding dispatching algorithm and the binding of each server pools has multiple property server node;
Dispatching algorithm according to the server pools of the coupling found dispatches out the property server node providing service from described server pools; And
The IP address of the property server node of service this is provided to return to described user as dns resolution result.
According to an aspect of the present invention, before the source IP address extracting dns resolution request message and domain name character string to be resolved, also comprise the steps: to detect the legitimacy of described dns resolution request message and fail safe.
According to another aspect of the present invention, described dispatching algorithm is at least: polling dispatching, the scheduling based on weighted value or the hash based on source IP address dispatch in any one.
According to a further aspect of the invention, the mode of source IP address match address list is adopted to search the server pools of coupling.
Packet payload equalization methods based on DNS provided by the invention, can identify that incoming road carries out intelligent response DNS request according to the source IP address of User DN S request message, namely server pools is searched by source IP address, thus confirm user place network according to user's incoming road, to select more excellent Internet resources, and the load balance process added while intelligently parsing DNS selects optimal network resource server resource, thus be not only embodied as the routing that user provides optimum, can also the resource of and then reasonable distribution server end different according to the server process performance of service provider, the server resource of service provider is made to obtain the most reasonably utilizing, for user provides better service.Simultaneously, the present invention can meet the server disposition situation of provider server by configuration flexibly, thus determining it is based on operator's segmentation service device group or based on region zones server group, rational resource division can provide the network service of more high-quality for user.
Another object of the present invention is to provide a kind of packet payload balancing equipment based on DNS, and this equipment can the resource of reasonable distribution server end, makes the server resource of service provider obtain the most reasonably utilizing, for user provides better service.
For achieving the above object, the invention provides a kind of packet payload balancing equipment based on DNS, comprising: communication module, for receiving the dns resolution request message of user; Extraction module, described extraction module is connected with described communication module, for extracting the source IP address of described dns resolution request message and domain name character string to be resolved; Domain name Virtual Service node checks module, domain name Virtual Service node checks module is connected with described extraction module, for the domain name Virtual Service node according to described domain name string searching coupling to be resolved; Server pools searches module, described server pools is searched module and is connected with domain name Virtual Service node checks module, for searching the server pools of coupling in multiple server pools of the Virtual Service node binding of coupling according to described source IP address, wherein, each described Virtual Service node binding has multiple server pools, and each server pools is configured with corresponding dispatching algorithm and the binding of each server pools has multiple property server node; Scheduler module, described scheduler module is searched module with communication module with described server pools and is connected, dispatching algorithm for the server pools according to the coupling found dispatches out the property server node providing service from described server pools, and the IP address of described property server node is sent to described communication module, the IP address of this property server node is returned to described user as dns resolution result by described communication module.
According to an aspect of the present invention, described communication module also for detecting the legitimacy of the described dns resolution request message received and fail safe, and is sent to described extraction module by detecting the dns resolution request message passed through.
According to another aspect of the present invention, described dispatching algorithm is at least: polling dispatching, the scheduling based on weighted value or the hash based on source IP address dispatch in any one.
According to a further aspect of the invention, described server pools is searched module and is adopted the mode of source IP address match address list to search the server pools of coupling.
Packet payload balancing equipment based on DNS provided by the invention, can identify that incoming road carries out intelligent response DNS request according to the source IP address of User DN S request message, namely server pools is searched by source IP address, thus confirm user place network according to user's incoming road, to select more excellent Internet resources, and the load balance process added while intelligently parsing DNS selects optimal network resource server resource, thus be not only embodied as the routing that user provides optimum, can also the resource of and then reasonable distribution server end different according to the server process performance of service provider, the server resource of service provider is made to obtain the most reasonably utilizing, for user provides better service.Simultaneously, the present invention can meet the server disposition situation of provider server by configuration flexibly, thus determining it is based on operator's segmentation service device group or based on region zones server group, rational resource division can provide the network service of more high-quality for user.
Another object of the present invention is to provide a kind of packet payload equalizing system based on DNS, and this system can the resource of reasonable distribution server end, makes the server resource of service provider obtain the most reasonably utilizing, for user provides better service.
For achieving the above object, the invention provides a kind of packet payload equalizing system based on DNS, comprising: multiple server pools, wherein, each server pools is configured with corresponding dispatching algorithm and binding has multiple property server node; The packet payload balancing equipment based on DNS that the above-mentioned execution mode of the present invention provides, the described packet payload balancing equipment based on DNS communicates with each described server pools.
Packet payload equalizing system based on DNS provided by the invention, can identify that incoming road carries out intelligent response DNS request according to the source IP address of User DN S request message, namely server pools is searched by source IP address, thus confirm user place network according to user's incoming road, to select more excellent Internet resources, and the load balance process added while intelligently parsing DNS selects optimal network resource server resource, thus be not only embodied as the routing that user provides optimum, can also the resource of and then reasonable distribution server end different according to the server process performance of service provider, the server resource of service provider is made to obtain the most reasonably utilizing, for user provides better service.Simultaneously, the present invention can meet the server disposition situation of provider server by configuration flexibly, thus determining it is based on operator's segmentation service device group or based on region zones server group, rational resource division can provide the network service of more high-quality for user.
Accompanying drawing explanation
Fig. 1 is the flow chart of the packet payload equalization methods based on DNS according to one embodiment of the present invention;
Fig. 2 is the flow chart of the packet payload equalization methods based on DNS according to another execution mode of the present invention;
Fig. 3 is the structure chart of the packet payload balancing equipment based on DNS according to embodiment of the present invention;
Fig. 4 is the structure chart of the packet payload equalizing system based on DNS according to embodiment of the present invention.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly understand, below in conjunction with embodiment also with reference to accompanying drawing, the present invention is described in more detail.Should be appreciated that, these describe just exemplary, and do not really want to limit the scope of the invention.In addition, in the following description, the description to known features and technology is eliminated, to avoid unnecessarily obscuring concept of the present invention.
Fig. 1 is the flow chart of the packet payload equalization methods based on DNS according to one embodiment of the present invention.
As shown in Figure 1, the packet payload equalization methods based on DNS that embodiment of the present invention provides, comprises the steps:
First, step S11, after receiving the dns resolution request message of user, extracts the source IP address of dns resolution request message and domain name character string to be resolved.
In embodiments of the present invention, before the source IP address extracting dns resolution request message and domain name character string to be resolved, also comprise the steps: to detect the legitimacy of dns resolution request message and fail safe.Judging that the detection of dns resolution request message is by rear, extracting the source IP address of this dns resolution request message and domain name character string to be resolved.
Then, step S12, according to the domain name Virtual Service node of domain name string searching coupling to be resolved.
Domain name Virtual Service is the service node of a domain name, and this node has the attributes such as the pointer chained list in domain name character string and binding server pond.Can have multiple domain name Virtual Service node on one device, and all domain name Virtual Service nodes are all stored on a hash chained list simultaneously.Wherein, each Virtual Service node can bind multiple server pools simultaneously.
Specifically, due to as mentioned above, a domain name Virtual Service hash chained list stores all domain name Virtual Service nodes, and each domain name Virtual Service node has the attributes such as the pointer chained list in domain name character string and binding server pond, therefore, in this step, on this domain name Virtual Service hash chained list, the domain name Virtual Service node of coupling is searched according to the domain name character string to be resolved extracted in step S11.
Then, step S13, searches the server pools of coupling in multiple server pools of the Virtual Service node binding of coupling according to source IP address.
Server pools refers to the set of multiple property server, namely can bind multiple property server node in a server pools, and server pools needs to be quoted by domain name Virtual Service node simultaneously.Wherein, property server node can be understood as a kind of abstract concept providing the property server of real Internet service for user.Property server node comprises the attribute such as IP address, weighted value of such as property server.
In addition, server pools, except can binding multiple property server nodal community, is configured with corresponding dispatching algorithm attribute further, is reached the object of reasonable distribution server resource thus by the above-mentioned attribute of configuration.
Preferably, dispatching algorithm be polling dispatching, based on weighted value scheduling or based on source IP address hash scheduling in any one.It should be noted that, dispatching algorithm is not limited to above-mentioned citing, can also expand as required, not repeat them here.
In embodiments of the present invention, server pools can be divided by operator.For two server pools, a server pools is used for providing service to telecommunication user, and the Servers-all in this server pools all can provide service to telecommunication user; Another server pools is used for providing service to UNICOM user, and the Servers-all in this server pools all can provide service to UNICOM user.
As mentioned above, because property server node comprises the IP address of such as property server, therefore, in this step S13, according to the domain name Virtual Service node that step S12 returns, and the source IP address of the dns resolution request message extracted in step S11, in the Servers-all pond that domain name Virtual Service node is quoted, search the server pools of coupling, namely search the server pools can provided services on the Internet for user.
More specifically, in embodiments of the present invention, the mode of source IP address match address list is adopted to search the server pools of coupling.
Next, step S14, dispatches out the property server node providing service from server pools according to the dispatching algorithm of the server pools of found coupling.
As mentioned above, because server pools is configured with corresponding dispatching algorithm attribute, by adopting the dispatching algorithm of this correspondence can reasonable distribution server resource.Therefore, in this step S14, according to the server pools of coupling found in step s 13, the dispatching algorithm adopting this server pools to configure dispatches out the property server node that can provide service, and obtain the IP address of this property server node, namely clear and definite dispatch out from the server pools of coupling concrete one for providing the server of service.Wherein, dispatching algorithm can be at least polling dispatching, based on weighted value scheduling or based on source IP address hash scheduling in any one.Such as, in present embodiment, from two server pools, first found the server pools of communication network by source IP address, by dispatching algorithm distribution server resource in the Servers-all then in this pond.By adopting the optimal scheduling algorithm that the server pools of this communication network is corresponding, for this subscribers to telecommunication network provides optimum routing, optimum Internet resources can be selected, and the difference of server process performance according to service provider's (being communication network in this example), reasonably be assigned with the resource of server end, make the service experience of user better.
Specifically, if dispatching algorithm is polling dispatching, then property server address is returned to seriatim.If dispatching algorithm is the scheduling based on weighted value, then after assigning weight according to the disposal ability of server, according to weight proportion distribution server resource.If dispatching algorithm is dispatch, then according to hash result distribution server resource based on the hash of source IP address.
Finally, step S15, provides the IP address of the property server node of service to return to user as dns resolution result using this scheduling out in above-mentioned steps S14.
Fig. 2 is the flow chart of the packet payload equalization methods based on DNS according to another execution mode of the present invention.
Step S21, receives the dns resolution request message of user.
After receiving the dns resolution request message of user, the legitimacy of dns resolution request message and fail safe are detected.Judging that the detection of dns resolution request message is by rear, performing step S22.
Step S22, extracts the source IP address of dns resolution request message and domain name character string to be resolved.
Step S23, according to domain name string searching domain name Virtual Service node to be resolved.
Due to a domain name Virtual Service hash chained list store all domain name Virtual Service nodes, and each domain name Virtual Service node has the attributes such as the pointer chained list in domain name character string and binding server pond, therefore, the domain name Virtual Service node of coupling can be searched on this domain name Virtual Service hash chained list according to the domain name character string to be resolved extracted in step S22.
Step S24, judges whether domain name Virtual Service node to be found exists, and if so, then performs step S25, otherwise tenth skill.
Step S25, searches the server pools of coupling according to the source IP address of DNS request message.
Owing to can bind multiple property server node in a server pools, server pools needs to be quoted by domain name Virtual Service node simultaneously.Property server node comprises the IP address of such as property server, therefore, according to the domain name Virtual Service node that step S24 returns, and the source IP address of the dns resolution request message extracted in step S22, in the Servers-all pond that domain name Virtual Service node is quoted, search the server pools of coupling, namely search the server pools can provided services on the Internet for user.More specifically, in embodiments of the present invention, the mode of source IP address match address list is adopted to search the server pools of coupling.
Step S26, judges whether the server pools of coupling to be found exists, and if so, then performs step S27, otherwise tenth skill.
Step S27, according to dispatching algorithm scheduling entity server node.
In embodiments of the present invention, dispatching algorithm can be polling dispatching, based on weighted value scheduling or based on source IP address hash scheduling in any one.It should be noted that, dispatching algorithm is not limited to above-mentioned citing, can also expand as required, not repeat them here.
Step S28, judges whether to there is property server node, if so, then performs step S29, otherwise tenth skill.
Step S29, returns to user using the IP address of property server node as dns resolution result.
For four web servers, the packet payload equalization methods based on DNS of the present invention is described below.
Four web servers are divided into two server pools, and one of them server pools disposes two-server, and for providing telecommunication network services, another server pools disposes other two-server, for providing UNICOM's network service.When the user of communication network accesses the website of the said firm, first, in the step s 21, the dns resolution request message of the user of this communication network is received, after the dns resolution request message of user receiving this communication network, the legitimacy of dns resolution request message and fail safe are detected.Judging that dns resolution request message detects by rear, perform step S22.Then, in step S22, the source IP address of dns resolution request message and domain name character string to be resolved is extracted.By extracting the source IP address of the dns resolution request message of the user of this communication network and domain name character string to be resolved, according to the domain name Virtual Service node of domain name string searching coupling to be resolved in step S23, if find the domain name Virtual Service node of coupling, the server pools of this communication network is then found in step s 25 according to source IP address, then by dispatching algorithm distribution server resource in the two-server in step s 27 in the server pools of this communication network, the property server node that service is provided is dispatched out.Specifically, from two server pools, first find the server pools of the communication network in this example, by dispatching algorithm distribution server resource in the two-server then in this server pools.By adopting the optimal scheduling algorithm that the server pools of this communication network is corresponding, for user provides optimum routing, optimum Internet resources can be selected, and the difference of server process performance according to service provider's (being communication network in this example), reasonably be assigned with the resource of server end, make the service experience of user better.Wherein, dispatching algorithm is such as that polling dispatching, the scheduling based on weighted value or the hash based on source IP address dispatch.It should be noted that, dispatching algorithm is not limited to above-mentioned citing, can also expand as required, not repeat them here.Finally in step S29, the IP address of this property server node is returned to user as dns resolution result.Because the enforcement principle of present embodiment is identical with above-mentioned execution mode, therefore details repeats no more.
The packet payload equalization methods based on DNS that embodiment of the present invention provides, can identify that incoming road carries out intelligent response DNS request according to the source IP address of User DN S request message, namely server pools is searched by source IP address, thus confirm user place network according to user's incoming road, to select more excellent Internet resources, and the load balance process added while intelligently parsing DNS selects optimal network resource server resource, thus be not only embodied as the routing that user provides optimum, can also the resource of and then reasonable distribution server end different according to the server process performance of service provider, the server resource of service provider is made to obtain the most reasonably utilizing, for user provides better service.Simultaneously, the present invention can meet the server disposition situation of provider server by configuration flexibly, thus determining it is based on operator's segmentation service device group or based on region zones server group, rational resource division can provide the network service of more high-quality for user.
Fig. 3 is the structure chart of the packet payload balancing equipment based on DNS according to embodiment of the present invention.
As shown in Figure 3, the packet payload balancing equipment based on DNS that embodiment of the present invention provides comprises: communication module 1, extraction module 2, domain name Virtual Service node checks module 3, server pools search module 4 and scheduler module 5.
Communication module 1, for receiving the dns resolution request message of user, then detects the legitimacy of the dns resolution request message received and fail safe, and is sent to extraction module 2 by detecting the dns resolution request message passed through.
Extraction module 2 is connected with communication module 1, for extracting the source IP address of the dns resolution request message that communication module 1 receives and domain name character string to be resolved.
Domain name Virtual Service node checks module 3 is connected with extraction module 2, the domain name Virtual Service node that the domain name string searching to be resolved for extracting according to extraction module 2 mates.
Domain name Virtual Service is the service node of a domain name, and this node has the attributes such as the pointer chained list in domain name character string and binding server pond.Can have multiple domain name Virtual Service node on one device, and all domain name Virtual Service nodes are all stored on a hash chained list simultaneously.Wherein, each Virtual Service node can bind multiple server pools simultaneously.
Specifically, due to as mentioned above, a domain name Virtual Service hash chained list stores all domain name Virtual Service nodes, and each domain name Virtual Service node has the attributes such as the pointer chained list in domain name character string and binding server pond, therefore, domain name Virtual Service node checks module 3 can search the domain name Virtual Service node of coupling on this domain name Virtual Service hash chained list.Wherein, each Virtual Service node binding has multiple server pools.
Server pools can be divided by operator.For two server pools, a server pools is used for providing service to telecommunication user, and the Servers-all in this server pools all can provide service to telecommunication user; Another server pools is used for providing service to UNICOM user, and the Servers-all in this server pools all can provide service to UNICOM user.
Server pools is searched module 4 and is connected with domain name Virtual Service node checks module 3, for searching the server pools of coupling in multiple server pools of the Virtual Service node binding of coupling according to source IP address.Wherein, each server pools is configured with corresponding dispatching algorithm and the binding of each server pools has multiple property server node.Preferably, dispatching algorithm be polling dispatching, based on weighted value scheduling or based on source IP address hash scheduling in any one.It should be noted that, dispatching algorithm is not limited to above-mentioned citing, can also expand as required, not repeat them here.
In embodiments of the present invention, server pools is searched module 4 and is adopted the mode of source IP address match address list to search the server pools of coupling, namely searches and can to provide services on the Internet server pools for user.
Scheduler module 5 and communication module 1 and server pools are searched module 4 and are connected, and the dispatching algorithm for the server pools searching the coupling that module 4 finds according to server pools dispatches out the property server node providing service from server pools.Wherein, dispatching algorithm can be at least polling dispatching, based on weighted value scheduling or based on source IP address hash scheduling in any one.Such as, in present embodiment, server pools searches the server pools that first module 4 finds communication network from two server pools, then passes through dispatching algorithm distribution server resource in the Servers-all of scheduler module 5 in the server pools of this communication network.By adopting the optimal scheduling algorithm that the server pools of this communication network is corresponding, user for this communication network provides optimum routing, optimum Internet resources can be selected, and the difference of server process performance according to service provider's (being communication network in this example), reasonably be assigned with the resource of server end, make the service experience of user better.Specifically, if dispatching algorithm is polling dispatching, then property server address is returned to seriatim.If dispatching algorithm is the scheduling based on weighted value, then after assigning weight according to the disposal ability of server, according to weight proportion distribution server resource.If dispatching algorithm is dispatch, then according to hash result distribution server resource based on the hash of source IP address.
Scheduler module 5 obtains the IP address of this property server node, and the IP address of property server node is sent to communication module 1.The IP address of this property server node is returned to user as dns resolution result by communication module 1.
The packet payload balancing equipment based on DNS that embodiment of the present invention provides, can identify that incoming road carries out intelligent response DNS request according to the source IP address of User DN S request message, namely server pools is searched by source IP address, thus confirm user place network according to user's incoming road, to select more excellent Internet resources, and the load balance process added while intelligently parsing DNS selects optimal network resource server resource, thus be not only embodied as the routing that user provides optimum, can also the resource of and then reasonable distribution server end different according to the server process performance of service provider, the server resource of service provider is made to obtain the most reasonably utilizing, for user provides better service.Simultaneously, the present invention can meet the server disposition situation of provider server by configuration flexibly, thus determining it is based on operator's segmentation service device group or based on region zones server group, rational resource division can provide the network service of more high-quality for user.
Fig. 4 is the structure chart of the packet payload equalizing system based on DNS according to embodiment of the present invention.
As shown in Figure 4, the packet payload equalizing system based on DNS that embodiment of the present invention provides comprises the packet payload balancing equipment 20 based on DNS that multiple server pools 10 and the above-mentioned execution mode of the present invention provide, wherein, the packet payload balancing equipment 20 based on DNS communicates with each server pools 10.
Specifically, each server pools 10 is configured with corresponding dispatching algorithm and binds multiple property server node.Preferably, dispatching algorithm is polling dispatching, dispatches based on weighted value scheduling or the hash based on source IP address.It should be noted that, dispatching algorithm is not limited to above-mentioned citing, can also expand as required, not repeat them here.
Packet payload balancing equipment 20 based on DNS receives the dns resolution request message of user, and extract the source IP address of dns resolution request message and domain name character string to be resolved, then according to domain name string searching domain name Virtual Service node to be resolved, and server pools 10 is searched according to the source IP address of DNS request message.After finding the server pools 10 of coupling, based on the packet payload balancing equipment 20 of DNS according to the dispatching algorithm scheduling entity server node of server pools 10 correspondence of this coupling, and the IP address of property server node is returned to user as dns resolution result.
The packet payload equalizing system based on DNS that embodiment of the present invention provides, can identify that incoming road carries out intelligent response DNS request according to the source IP address of User DN S request message, namely server pools is searched by source IP address, thus confirm user place network according to user's incoming road, to select more excellent Internet resources, and the load balance process added while intelligently parsing DNS selects optimal network resource server resource, thus be not only embodied as the routing that user provides optimum, can also the resource of and then reasonable distribution server end different according to the server process performance of service provider, the server resource of service provider is made to obtain the most reasonably utilizing, for user provides better service.Simultaneously, the present invention can meet the server disposition situation of provider server by configuration flexibly, thus determining it is based on operator's segmentation service device group or based on region zones server group, rational resource division can provide the network service of more high-quality for user.
Should be understood that, above-mentioned embodiment of the present invention only for exemplary illustration or explain principle of the present invention, and is not construed as limiting the invention.Therefore, any amendment made when without departing from the spirit and scope of the present invention, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.In addition, claims of the present invention be intended to contain fall into claims scope and border or this scope and border equivalents in whole change and modification.

Claims (9)

1., based on a packet payload equalization methods of DNS, comprise the steps:
After receiving the dns resolution request message of user, extract the source IP address of described dns resolution request message and domain name character string to be resolved;
According to the domain name Virtual Service node of described domain name string searching coupling to be resolved, wherein, each described Virtual Service node binding has multiple server pools;
In multiple server pools of the Virtual Service node binding of coupling, search the server pools of coupling according to described source IP address, wherein, each server pools is configured with corresponding dispatching algorithm and the binding of each server pools has multiple property server node;
From described server pools, the described property server node that service is provided is dispatched out according to the dispatching algorithm of the server pools of the described coupling found; And
The IP address of the property server node of service this is provided to return to described user as dns resolution result.
2. the packet payload equalization methods based on DNS according to claim 1, is characterized in that,
Before the source IP address extracting dns resolution request message and domain name character string to be resolved, also comprise the steps: to detect the legitimacy of described dns resolution request message and fail safe.
3. the packet payload equalization methods based on DNS according to claim 1, is characterized in that,
Described dispatching algorithm is at least: polling dispatching, based on weighted value scheduling or based on source IP address hash scheduling in any one.
4. the packet payload equalization methods based on DNS according to claim 1, is characterized in that,
The mode of source IP address match address list is adopted to search the server pools of coupling.
5., based on a packet payload balancing equipment of DNS, comprising:
Communication module, for receiving the dns resolution request message of user;
Extraction module, described extraction module is connected with described communication module, for extracting the source IP address of described dns resolution request message and domain name character string to be resolved;
Domain name Virtual Service node checks module, domain name Virtual Service node checks module is connected with described extraction module, for the domain name Virtual Service node according to described domain name string searching coupling to be resolved;
Server pools searches module, described server pools is searched module and is connected with domain name Virtual Service node checks module with described extraction module, for searching the server pools of coupling in multiple server pools of the Virtual Service node binding of coupling according to described source IP address, wherein, each described Virtual Service node binding has multiple server pools, and each server pools is configured with corresponding dispatching algorithm and the binding of each server pools has multiple property server node; And
Scheduler module, described scheduler module is searched module with communication module with described server pools and is connected, dispatching algorithm for the server pools according to the described coupling found dispatches out the property server node providing service from described server pools, and the IP address of described property server node is sent to described communication module, the IP address of this property server node is returned to described user as dns resolution result by described communication module.
6. the packet payload balancing equipment based on DNS according to claim 5, is characterized in that,
Described communication module also for detecting the legitimacy of the described dns resolution request message received and fail safe, and is sent to described extraction module by detecting the dns resolution request message passed through.
7. the packet payload balancing equipment based on DNS according to claim 5, is characterized in that,
Described dispatching algorithm is at least: polling dispatching, the scheduling based on weighted value or the hash based on source IP address dispatch in any one.
8. the packet payload balancing equipment based on DNS according to claim 5, is characterized in that,
Described server pools is searched module and is adopted the mode of source IP address match address list to search the server pools of coupling.
9., based on a packet payload equalizing system of DNS, comprising:
Multiple server pools, wherein, each server pools is configured with corresponding dispatching algorithm and binding has multiple property server node; And
The packet payload balancing equipment based on DNS described in any one of claim 5 to 8,
The described packet payload balancing equipment based on DNS communicates with each described server pools.
CN201410382783.4A 2014-09-10 2014-09-10 Grouping load balancing method, equipment and system based on DNS Pending CN104219162A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410382783.4A CN104219162A (en) 2014-09-10 2014-09-10 Grouping load balancing method, equipment and system based on DNS

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410382783.4A CN104219162A (en) 2014-09-10 2014-09-10 Grouping load balancing method, equipment and system based on DNS

Publications (1)

Publication Number Publication Date
CN104219162A true CN104219162A (en) 2014-12-17

Family

ID=52100308

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410382783.4A Pending CN104219162A (en) 2014-09-10 2014-09-10 Grouping load balancing method, equipment and system based on DNS

Country Status (1)

Country Link
CN (1) CN104219162A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105025095A (en) * 2015-07-10 2015-11-04 福建天晴数码有限公司 Cluster framework capable of realizing cloud computing flexible service
CN105450774A (en) * 2015-12-28 2016-03-30 曙光信息产业(北京)有限公司 Load balancing method and load balancing device for DNS
CN105871616A (en) * 2016-03-31 2016-08-17 北京奇艺世纪科技有限公司 Service node selection method and device
CN107707604A (en) * 2017-06-30 2018-02-16 贵州白山云科技有限公司 A kind of service scheduling method and system
CN108173894A (en) * 2016-12-07 2018-06-15 阿里巴巴集团控股有限公司 The method, apparatus and server apparatus of server load balancing
CN109995859A (en) * 2019-03-26 2019-07-09 网宿科技股份有限公司 A kind of dispatching method, dispatch server and computer readable storage medium
CN111294248A (en) * 2018-12-06 2020-06-16 中国移动通信集团福建有限公司 Network element fault quality inspection method, device, equipment and medium
CN112333273A (en) * 2020-11-06 2021-02-05 杭州迪普科技股份有限公司 Method and system for forwarding access request
CN112583863A (en) * 2019-09-27 2021-03-30 贵州白山云科技股份有限公司 HttpDNS scheduling method, device, medium and equipment
WO2022247750A1 (en) * 2021-05-28 2022-12-01 上海云盾信息技术有限公司 Access request processing method, electronic device, electronic equipment, and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6449657B2 (en) * 1999-08-06 2002-09-10 Namezero.Com, Inc. Internet hosting system
CN101764855A (en) * 2009-12-30 2010-06-30 福建星网锐捷网络有限公司 Method, device and system for providing domain name resolution services
CN103491123A (en) * 2012-06-14 2014-01-01 中国移动通信集团贵州有限公司 Load balancing method based on domain name visiting, system and load balancer
CN103634314A (en) * 2013-11-28 2014-03-12 杭州华三通信技术有限公司 Service access control method and device based on VSR (virtual service router)

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6449657B2 (en) * 1999-08-06 2002-09-10 Namezero.Com, Inc. Internet hosting system
CN101764855A (en) * 2009-12-30 2010-06-30 福建星网锐捷网络有限公司 Method, device and system for providing domain name resolution services
CN103491123A (en) * 2012-06-14 2014-01-01 中国移动通信集团贵州有限公司 Load balancing method based on domain name visiting, system and load balancer
CN103634314A (en) * 2013-11-28 2014-03-12 杭州华三通信技术有限公司 Service access control method and device based on VSR (virtual service router)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105025095A (en) * 2015-07-10 2015-11-04 福建天晴数码有限公司 Cluster framework capable of realizing cloud computing flexible service
CN105025095B (en) * 2015-07-10 2019-06-18 福建天晴数码有限公司 Realize the aggregated structure of cloud computing elasticity service
CN105450774A (en) * 2015-12-28 2016-03-30 曙光信息产业(北京)有限公司 Load balancing method and load balancing device for DNS
CN105871616A (en) * 2016-03-31 2016-08-17 北京奇艺世纪科技有限公司 Service node selection method and device
CN108173894A (en) * 2016-12-07 2018-06-15 阿里巴巴集团控股有限公司 The method, apparatus and server apparatus of server load balancing
CN107707604A (en) * 2017-06-30 2018-02-16 贵州白山云科技有限公司 A kind of service scheduling method and system
CN107707604B (en) * 2017-06-30 2018-10-09 贵州白山云科技有限公司 A kind of service scheduling method and system
CN111294248A (en) * 2018-12-06 2020-06-16 中国移动通信集团福建有限公司 Network element fault quality inspection method, device, equipment and medium
CN111294248B (en) * 2018-12-06 2022-01-28 中国移动通信集团福建有限公司 Network element fault quality inspection method, device, equipment and medium
CN109995859A (en) * 2019-03-26 2019-07-09 网宿科技股份有限公司 A kind of dispatching method, dispatch server and computer readable storage medium
CN112583863A (en) * 2019-09-27 2021-03-30 贵州白山云科技股份有限公司 HttpDNS scheduling method, device, medium and equipment
CN112583863B (en) * 2019-09-27 2022-08-16 贵州白山云科技股份有限公司 HttpDNS scheduling method, device, medium and equipment
US11902352B2 (en) 2019-09-27 2024-02-13 Guizhou Baishancloud Technology Co., Ltd. HttpDNS scheduling method, apparatus, medium and device
CN112333273A (en) * 2020-11-06 2021-02-05 杭州迪普科技股份有限公司 Method and system for forwarding access request
CN112333273B (en) * 2020-11-06 2023-03-14 杭州迪普科技股份有限公司 Method and system for forwarding access request
WO2022247750A1 (en) * 2021-05-28 2022-12-01 上海云盾信息技术有限公司 Access request processing method, electronic device, electronic equipment, and medium

Similar Documents

Publication Publication Date Title
CN104219162A (en) Grouping load balancing method, equipment and system based on DNS
CN103051740B (en) Domain name analytic method, dns server and domain name analysis system
CN109802985B (en) Data transmission method, device, equipment and readable storage medium
CN101610222A (en) Client-based server selection method and device
RU2010109865A (en) OPPORTUNITY OF SPECIAL SERVICE PROVIDER TO PROVIDE SERVICES FOR A WIRELESS COMMUNICATION NETWORK
CN108011994B (en) Method and system for querying DNS (Domain name System) record
CN102647341B (en) Message processing method, device and system
CN103685583A (en) Method and system for resolving domain names
CN103945000A (en) Load balance method and load balancer
CN103841150A (en) Data delivery method and device based on content delivery network CDN
CN104486402A (en) Combined equalizing method based on large-scale website
CN107211035B (en) Method and network node for monitoring services in a content delivery network
CN102098355B (en) Cloud service-based IPv6 (internet protocol version 6)/IPv4 (internet protocol version 4) translation method with communication initiated by IPv6 party
CN109151009A (en) A kind of CDN node distribution method and system based on MEC
CN102724105A (en) Load balance method and apparatus
CN109756584B (en) Domain name resolution method, domain name resolution device and computer readable storage medium
CN104092785A (en) Method for domain name registration and resolution, and resource access method and resource access device based on domain name
EP4038931A1 (en) Network entities for supporting analytics generation
CN102098356A (en) Method for translating Internet protocol version 4 (IPv4)/Internet protocol version 6 (IPv6) initiating communication by using IPv4 based on cloud service
WO2007085167A1 (en) A method, system and application of implementing an identification of a service based on an address
EP3089422B1 (en) Content distribution method, apparatus and system
CN104735174A (en) HTTP transparent proxy implementing method and device
CN106230925A (en) A kind of access control method and device
CN102404294A (en) Method and system for achieving content distribution network (CDN) interconnection
US10404659B2 (en) Optimization of resource URLs in machine-to-machine networks

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20141217

WD01 Invention patent application deemed withdrawn after publication