CN103401800A - Link load balancing method and link load balancing device - Google Patents

Link load balancing method and link load balancing device Download PDF

Info

Publication number
CN103401800A
CN103401800A CN2013103315437A CN201310331543A CN103401800A CN 103401800 A CN103401800 A CN 103401800A CN 2013103315437 A CN2013103315437 A CN 2013103315437A CN 201310331543 A CN201310331543 A CN 201310331543A CN 103401800 A CN103401800 A CN 103401800A
Authority
CN
China
Prior art keywords
address
network server
load
equations
balancing device
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.)
Granted
Application number
CN2013103315437A
Other languages
Chinese (zh)
Other versions
CN103401800B (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.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201310331543.7A priority Critical patent/CN103401800B/en
Publication of CN103401800A publication Critical patent/CN103401800A/en
Application granted granted Critical
Publication of CN103401800B publication Critical patent/CN103401800B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a link load balancing method and a link load balancing device. The method comprises the following steps: receiving a DNS (domain name server) request message by the link load balancing device; requesting a first class IP address of an external network server to a DNS; requesting a second class IP address of the external network server to the DNS; recording a corresponding relation between the first class IP address of the external network server and the second class IP address of the external network server in an equivalent service table by the link load balancing device; receiving a business request message by the link load balancing device, wherein the destination IP address is the first class IP address of the external network server; and when the second class IP address corresponding to the first class IP address of the external network server exists in the equivalent service table, selecting an ISP (internet service provider) link from the ISP link based on the first class IP address and the ISP link based on the second class IP address by the link load balancing device. With the adoption of the link load balancing method and the link load balancing device provided by the embodiment of the invention, the load balancing between the ISP link based on an IPv4 address and the ISP link based on an IPv6 address is realized, and the bandwidth of the ISP link is fully utilized.

Description

A kind of balancing link load method and apparatus
Technical field
The present invention relates to communication technical field, relate in particular to a kind of balancing link load method and apparatus.
Background technology
As shown in Figure 1, application scenarios schematic diagram for the balancing link load technology, by disposing load-balancing device (being LB equipment), to instruct the Intranet client, by load-balancing device, access the Path selection of external resource, and according to purpose IP address and the balancing link load strategy of message, search suitable physical link, to complete the load balancing of message between multilink.Wherein, load-balancing device can be achieved as follows function: intelligence link is selected, flow control and management, and the link health status detects, link failure processing etc.
Load-balancing device, when selecting link, can select to arrive the link that destination address is nearest or time delay is minimum, and this surveys for close.Concrete, load-balancing device, after receiving message, take the purpose IP address of message as target, sends probe messages from all physical links, and based on the result of detection of each physical link, each physical link being generated to the close list item, subsequent packet is selected optimum link according to the close list item.
As shown in Figure 2, in IPv4 balancing link load technology, load-balancing device receives the message from the Intranet client, and the source IP address of this message is the IP address of terminal equipment, and purpose IP address is the public network IP address of outer network server; Load-balancing device is according to purpose IP address and the balancing link load policy selection ISP(Internet Service Provider of message, ISP) link; Load-balancing device sends to this ISP link by message, by the ISP link, message is sent to outer network server, the source IP address of this message is that the public network address of ISP link (passes through network address translation, use the source IP address of the public network address replacement message of ISP link), purpose IP address is the public network IP address of outer network server; Load-balancing device receives the message that outer network server returns, and the source IP address of this message is the public network IP address of outer network server, and purpose IP address is the public network address of ISP link; Load-balancing device sends to the Intranet client by message, the source IP address of this message is the public network IP address of outer network server, purpose IP address is the IP address (by network address translation, using the purpose IP address of the IP address replacement message of terminal equipment) of terminal equipment.
In IPv6 balancing link load technology, its balancing link load realizes that principle and IPv4 balancing link load realize that principle is similar, just source IP address and the purpose IP address of message are the IPv6 address, and in IPv4 balancing link load technology, the source IP address of message and purpose IP address are the IPv4 address.
In prior art, be independent realizing load-balancing technique or realize load-balancing technique for the IPv6 address for the IPv4 address, and can't when IPv4 address and IPv6 address coexistence, realize load-balancing technique.Concrete, when a plurality of ISP links comprise based on the ISP link of IPv4 address and during based on the ISP link of IPv6 address, load-balancing device can't be realized load-balancing technique between the ISP link based on the IPv4 address and the ISP link based on the IPv6 address, then can't take full advantage of the bandwidth of ISP link.
Summary of the invention
The embodiment of the present invention provides a kind of balancing link load method and apparatus, between the ISP link based on the IPv4 address and the ISP link based on the IPv6 address, realizes load balancing, takes full advantage of the bandwidth of ISP link.
In order to achieve the above object, the embodiment of the present invention provides a kind of balancing link load method, be applied to comprise in the network of Intranet client, load-balancing device, domain name system DNS server and outer network server, between described load-balancing device and described outer network server, exist based on the ISP of the ISP link of first kind IP address and based on the ISP link of Equations of The Second Kind IP address, the method comprises:
Described load-balancing device receives the DNS request message that carries domain-name information from the Intranet client, and to the first kind IP address of outer network server corresponding to described dns server request domain name information and the Equations of The Second Kind IP address of outer network server corresponding to request domain name information;
Described load-balancing device receives from the first kind IP address of the outer network server of described dns server and the Equations of The Second Kind IP address of outer network server, and the corresponding relation between the Equations of The Second Kind IP address of the first kind IP address of network server and outer network server outside recording in the equivalent service table;
Described load-balancing device receives the service request message from the Intranet client, and the purpose IP address of described service request message is the first kind IP address of outer network server;
When the Equations of The Second Kind IP address of outer network server corresponding to the first kind IP address that described outer net server is arranged in described equivalent service table, described load-balancing device utilizes the balancing link load strategy from the ISP link based on first kind IP address and based on the ISP link of Equations of The Second Kind IP address, selecting the ISP link;
When the ISP link of selecting is the ISP link based on Equations of The Second Kind IP address, described load-balancing device is revised as the source IP address of service request message the Equations of The Second Kind IP address of this load-balancing device, the purpose IP address of service request message is revised as to the Equations of The Second Kind IP address of outer network server corresponding to the first kind IP address of described outer network server, and sends amended service request message by the ISP link of selecting.
Described method also comprises:
Described load-balancing device is revised as the source IP address of service request message the Equations of The Second Kind IP address of this load-balancing device, after the purpose IP address of service request message being revised as to the Equations of The Second Kind IP address of outer network server, described load-balancing device records the corresponding relation between the Equations of The Second Kind IP address of the first kind IP address of the outer network server that carries in the IP address of the Intranet client of carrying in described service request message, described service request message, the Equations of The Second Kind IP address of this load-balancing device, outer network server;
Described load-balancing device receives the business response message from described outer network server, the source IP address of described business response message is the Equations of The Second Kind IP address of described outer network server, and the purpose IP address of described business response message is the Equations of The Second Kind IP address of described load-balancing device;
Described load-balancing device by described outer network server Equations of The Second Kind IP address and the described corresponding relation of Equations of The Second Kind IP address lookup of described load-balancing device, with the IP address that obtains the Intranet client that records in described corresponding relation and the first kind IP address of described outer network server;
Described load-balancing device is revised as the source IP address of described business response message the first kind IP address of described outer network server, and the IP address of the purpose IP address of described business response message being revised as to described Intranet client, and amended business response message is sent to described Intranet client.
Described load-balancing device utilizes the balancing link load strategy from the ISP link based on first kind IP address and based on after the ISP link of Equations of The Second Kind IP address, selecting the ISP link, and described method also comprises:
When the ISP link of selecting is the ISP link based on first kind IP address, described load-balancing device is revised as the source IP address of described service request message the first kind IP address of this load-balancing device, and send amended service request message by the ISP link of selecting, and record the corresponding relation between the first kind IP address of first kind IP address, this load-balancing device of the outer network server that carries in the IP address of the Intranet client of carrying in described service request message, described service request message;
Described load-balancing device receives the business response message from described outer network server, the source IP address of described business response message is the first kind IP address of described outer network server, and the purpose IP address of described business response message is the first kind IP address of described load-balancing device;
Described load-balancing device is by the first kind IP address of described outer network server and the described corresponding relation of first kind IP address lookup of described load-balancing device, to obtain the IP address of the Intranet client that records in described corresponding relation, and the IP address of the purpose IP address of described business response message being revised as to described Intranet client, and amended business response message is sent to described Intranet client.
When described balancing link load strategy need to be selected the ISP link from the ISP link based on first kind IP address and based on the ISP link of Equations of The Second Kind IP address based on the close table, described method also comprised:
Described load-balancing device carries out the close detection by the first kind IP address of the external network server of ISP link based on first kind IP address, the close detection is carried out in Equations of The Second Kind IP address by the external network server of ISP link based on Equations of The Second Kind IP address, utilizes the first kind IP address result of surveying and the result that the Equations of The Second Kind IP address of external network server is surveyed of external network server to safeguard the close table.
Described first kind IP address is the IPv4 address, and described Equations of The Second Kind IP address is the IPv6 address; Perhaps,
Described first kind IP address is the IPv6 address, and described Equations of The Second Kind IP address is the IPv4 address.
The embodiment of the present invention provides a kind of load-balancing device, be applied to comprise in the network of Intranet client, described load-balancing device, domain name system DNS server and outer network server, between described load-balancing device and described outer network server, exist based on the ISP of the ISP link of first kind IP address and based on the ISP link of Equations of The Second Kind IP address, described load-balancing device specifically comprises:
Communication module, for receiving the DNS request message that carries domain-name information from the Intranet client, and to the first kind IP address of outer network server corresponding to described dns server request domain name information, and the Equations of The Second Kind IP address of outer network server corresponding to request domain name information; And, reception is from the first kind IP address of the outer network server of described dns server and the Equations of The Second Kind IP address of outer network server, and in the equivalent service table corresponding relation between the Equations of The Second Kind IP address of the first kind IP address of network server and outer network server outside record; And, receiving the service request message from the Intranet client, the purpose IP address of described service request message is the first kind IP address of outer network server;
Select module, when the Equations of The Second Kind IP address of outer network server corresponding to the first kind IP address of described outer net server is arranged when described equivalent service table, utilize the balancing link load strategy from the ISP link based on first kind IP address and based on selection ISP link the ISP link of Equations of The Second Kind IP address;
Processing module, while for the ISP link when selection, being the ISP link based on Equations of The Second Kind IP address, the source IP address of service request message is revised as to the Equations of The Second Kind IP address of this load-balancing device, the purpose IP address of service request message is revised as to the Equations of The Second Kind IP address of outer network server corresponding to the first kind IP address of described outer network server, and sends amended service request message by the ISP link of selecting.
Described processing module, also for the source IP address by the service request message, be revised as the Equations of The Second Kind IP address of this load-balancing device, after the purpose IP address of service request message being revised as to the Equations of The Second Kind IP address of outer network server, record the corresponding relation between the Equations of The Second Kind IP address of the first kind IP address of the outer network server that carries in the IP address of the Intranet client of carrying in described service request message, described service request message, the Equations of The Second Kind IP address of this load-balancing device, outer network server;
Described communication module, also for receiving the business response message from described outer network server, the source IP address of described business response message is the Equations of The Second Kind IP address of described outer network server, and the purpose IP address of described business response message is the Equations of The Second Kind IP address of described load-balancing device;
Described processing module, also for the Equations of The Second Kind IP address by described outer network server and the described corresponding relation of Equations of The Second Kind IP address lookup of described load-balancing device, with the IP address that obtains the Intranet client that records in described corresponding relation and the first kind IP address of described outer network server; And, the source IP address of described business response message is revised as to the first kind IP address of described outer network server, and the IP address of the purpose IP address of described business response message being revised as to described Intranet client, and amended business response message is sent to described Intranet client.
described processing module, also for utilizing the balancing link load strategy after the ISP link based on first kind IP address and the ISP link selection ISP link based on Equations of The Second Kind IP address, when the ISP link of selecting is the ISP link based on first kind IP address, the source IP address of described service request message is revised as to the first kind IP address of this load-balancing device, and send amended service request message by the ISP link of selecting, and the IP address of recording the Intranet client of carrying in described service request message, the first kind IP address of the outer network server that carries in described service request message, corresponding relation between the first kind IP address of this load-balancing device,
Described communication module, also for receiving the business response message from described outer network server, the source IP address of described business response message is the first kind IP address of described outer network server, and the purpose IP address of described business response message is the first kind IP address of described load-balancing device;
Described processing module, also for the described corresponding relation of first kind IP address lookup of the first kind IP address by described outer network server and described load-balancing device, to obtain the IP address of the Intranet client that records in described corresponding relation, and the IP address of the purpose IP address of described business response message being revised as to described Intranet client, and amended business response message is sent to described Intranet client.
described processing module, also for when described balancing link load strategy need to be selected the ISP link from the ISP link based on first kind IP address and based on the ISP link of Equations of The Second Kind IP address based on the close table, the close detection is carried out in first kind IP address by the external network server of ISP link based on first kind IP address, the close detection is carried out in Equations of The Second Kind IP address by the external network server of ISP link based on Equations of The Second Kind IP address, utilize the first kind IP address result of surveying and the result that the Equations of The Second Kind IP address of external network server is surveyed of external network server to safeguard the close table.
Described first kind IP address is the IPv4 address, and described Equations of The Second Kind IP address is the IPv6 address; Perhaps,
Described first kind IP address is the IPv6 address, and described Equations of The Second Kind IP address is the IPv4 address.
Compared with prior art, the embodiment of the present invention has the following advantages at least: in the embodiment of the present invention, between load-balancing device and outer network server, exist based in the ISP link of IPv4 address and the network based on the ISP link of IPv6 address, load-balancing device is by the IPv4 address of network server and the corresponding relation between the IPv6 address outside record in the equivalent service table, between the ISP link based on the IPv4 address and the ISP link based on the IPv6 address, to realize load balancing, and take full advantage of the bandwidth of ISP link.
The accompanying drawing explanation
Fig. 1 is the application scenarios schematic diagram of prior art link load-balancing technique;
Fig. 2 is the application scenarios schematic diagram of IPv4 balancing link load technology in prior art;
Fig. 3 is a kind of balancing link load method flow schematic diagram that the embodiment of the present invention provides;
Fig. 4 and Fig. 5 are the concrete application scenarios schematic diagrames of the embodiment of the present invention;
Fig. 6 is the structural representation of a kind of load-balancing device of providing of the embodiment of the present invention.
Embodiment
For problems of the prior art, the embodiment of the present invention proposes a kind of balancing link load method, the method can be applied to comprise at least Intranet client, load-balancing device, DNS(Domain Name System, domain name system), in the network of server and outer network server, between load-balancing device and outer network server, exist based on the ISP link of first kind IP address and based on the ISP link of Equations of The Second Kind IP address.Wherein, first kind IP address is the IPv4 address, and Equations of The Second Kind IP address is the IPv6 address; Perhaps, first kind IP address is the IPv6 address, and Equations of The Second Kind IP address is the IPv4 address.
On load-balancing device, need to configure first kind IP address and Equations of The Second Kind IP address, intercommunication is carried out for the Intranet client with using first kind IP address in the first kind IP address of this load-balancing device, and intercommunication is carried out for the Intranet client with using Equations of The Second Kind IP address in the Equations of The Second Kind IP address of this load-balancing device.
As shown in Figure 3, this balancing link load method comprises the following steps:
Step 301, load-balancing device receives the DNS request message that carries domain-name information from the Intranet client, to the first kind IP address of outer network server corresponding to this domain-name information of dns server request and the Equations of The Second Kind IP address of asking the outer network server that this domain-name information is corresponding.
In the embodiment of the present invention, load-balancing device to the first kind IP address of outer network server corresponding to this domain-name information of dns server request and the process of asking the Equations of The Second Kind IP address of the outer network server that this domain-name information is corresponding, specifically includes but not limited to following mode:
Mode one, when in the DNS request message that carries domain-name information from the Intranet client, carrying the first kind IP address of dns server, the first kind IP address of load-balancing device by this load-balancing device is to the first kind IP address of outer network server corresponding to dns server request domain-name information and the Equations of The Second Kind IP address of outer network server corresponding to request domain-name information; When in the DNS request message that carries domain-name information from the Intranet client, carrying the Equations of The Second Kind IP address of dns server, the Equations of The Second Kind IP address of load-balancing device by this load-balancing device is to the first kind IP address of outer network server corresponding to dns server request domain-name information and the Equations of The Second Kind IP address of outer network server corresponding to domain-name information.
Mode two, no matter carry the Equations of The Second Kind IP address that dns server is still carried in the first kind IP address of dns server in the DNS request message that carries domain-name information from the Intranet client, load-balancing device all the first kind IP address by this load-balancing device to the first kind IP address of outer network server corresponding to dns server request domain-name information and the Equations of The Second Kind IP address of outer network server corresponding to request domain-name information; Perhaps, load-balancing device all the Equations of The Second Kind IP address by this load-balancing device to the first kind IP address of outer network server corresponding to dns server request domain-name information and the Equations of The Second Kind IP address of outer network server corresponding to domain-name information.
in aforesaid way one and mode two, the first kind IP address of load-balancing device by this load-balancing device is to the first kind IP address of outer network server corresponding to dns server request domain-name information and the Equations of The Second Kind IP address of outer network server corresponding to request domain-name information, or the Equations of The Second Kind IP address of load-balancing device by this load-balancing device is to the first kind IP address of outer network server corresponding to dns server request domain-name information and the Equations of The Second Kind IP address of outer network server corresponding to request domain-name information, can be based on the first kind IP address of the outer network server of same Address requests process request and the Equations of The Second Kind IP address of outer network server, also can be based on two different Address requests processes and ask respectively the first kind IP address of outer network server and the Equations of The Second Kind IP address of outer network server.
Step 302, load-balancing device receives from the first kind IP address of the outer network server of dns server and the Equations of The Second Kind IP address of outer network server, and in the equivalent service table, records the first kind IP address of network server outside this and the corresponding relation between the Equations of The Second Kind IP address of network server outside this.
In the embodiment of the present invention, from the first kind IP address of the outer network server of dns server, can be a plurality of first kind IP address of outer net server; In addition, the Equations of The Second Kind IP address from the outer network server of dns server can be a plurality of Equations of The Second Kind IP address of outer net server.
Step 303, load-balancing device receives the service request message (being the association message of requested service) from the Intranet client, the source IP address of this service request message is the first kind IP address of Intranet client, and the purpose IP address of this service request message is the first kind IP address of outer network server.
Step 304, when the Equations of The Second Kind IP address of outer network server corresponding to the first kind IP address that outer network server is arranged in the equivalent service table, load-balancing device utilizes the balancing link load strategy from the ISP link based on first kind IP address and based on the ISP link of Equations of The Second Kind IP address, selecting the ISP link.
Wherein, load-balancing device is after the service request message of receiving from the Intranet client, if the Equations of The Second Kind IP address of outer network server corresponding to the first kind IP address of the outer network server that carries in the service request message is arranged in the equivalent service table, load-balancing device utilizes the balancing link load strategy from the ISP link based on first kind IP address and based on the ISP link of Equations of The Second Kind IP address, selecting the ISP link.If in the equivalent service table, there is no the Equations of The Second Kind IP address of outer network server corresponding to the first kind IP address of the outer network server that carries in the service request message, load-balancing device utilizes the balancing link load strategy from the ISP link based on first kind IP address, selecting the ISP link, and this process repeats no more.
Wherein, balancing link load strategy (being load-balancing algorithm) includes but not limited to: poll selection strategy, random selection strategy, based on the Hash selection strategy of address, selection strategy (namely selecting to arrive the link that destination address is nearest or time delay is minimum), weighting selection strategy, continuation list item selection strategy etc. nearby.
when the balancing link load strategy during for selection strategy nearby, load-balancing device need to be based on the close table from the ISP link based on first kind IP address and based on the ISP link of Equations of The Second Kind IP address, selecting the ISP link, and when load-balancing device need to be selected the ISP link from the ISP link based on first kind IP address and based on the ISP link of Equations of The Second Kind IP address based on the close table, load-balancing device need to carry out the close detection by the first kind IP address of the external network server of ISP link based on first kind IP address, and carry out the close detection by the Equations of The Second Kind IP address of the external network server of ISP link based on Equations of The Second Kind IP address, and the result surveyed of the first kind IP address that utilizes external network server and externally the result surveyed of the Equations of The Second Kind IP address of network server safeguard the close table.
When the balancing link load strategy is continuation list item selection strategy, load-balancing device need to continue to be redirected to the same physical link by a plurality of relevant connections, in order to realize this purpose, load-balancing device can create the continuation list item, and will be stored in the continuation list item based on the ISP link of first kind IP address and based on the ISP link of Equations of The Second Kind IP address.Wherein, the continuation list item is searched and need to be searched respectively according to the address in the equivalent service table, and the continuation list item of the address in the equivalent service table is mutual exclusion, and namely the address in synchronization equivalent service table only can generate a continuation list item.Based on this continuation list item, load-balancing device utilizes the continuation list item to select the process of ISP link to repeat no longer in detail.
When the balancing link load strategy was the Hash selection strategy based on address, load-balancing device was usingd address and is searched physical link as the Hash hashed value, and its specific implementation comprises:
(1) for IPv4 address and IPv6 address, distinguish the Hash hashing algorithm; As:
Following hash algorithm is adopted in the IPv4 address:
key=((IP>>22)+(IP>>11)+ulIP);
Following hash algorithm is adopted in the IPv6 address:
While (the IPv6 address byte is got in circulation)
{
Key=key* maximum+(current address byte value);
}
(2) for the IPv4 address, with the IPv6 address, adopt identical Hash hashing algorithm; As:
Following hash algorithm is adopted in IPv4 address and IPv6 address:
While (address byte is got in circulation)
{
Key=key* maximum+(current address byte value);
}
Step 305, when the ISP link of selecting is the ISP link based on Equations of The Second Kind IP address, load-balancing device is revised as the source IP address of service request message the Equations of The Second Kind IP address of this load-balancing device, and the purpose IP address of service request message is revised as to the Equations of The Second Kind IP address of outer network server corresponding to the first kind IP address (it is the purpose IP address of service request message) of outer network server.
In the embodiment of the present invention, load-balancing device is revised as the source IP address of service request message the Equations of The Second Kind IP address of this load-balancing device, after the purpose IP address of service request message being revised as to the Equations of The Second Kind IP address of outer network server, load-balancing device also needs the corresponding relation between the Equations of The Second Kind IP address of the first kind IP address of the outer network server that carries in the IP address, service request message of the Intranet client of carrying in the record traffic request message, the Equations of The Second Kind IP address of this load-balancing device, outer network server.
Step 306, load-balancing device sends amended service request message by the ISP link of selecting, and namely load-balancing device sends to outer network server by the ISP link of selecting by the service request message.
Step 307, load-balancing device receives the business response message (being the response message of service request message) from outer network server, the source IP address of this business response message is the Equations of The Second Kind IP address of outer network server, and the purpose IP address of this business response message is the Equations of The Second Kind IP address of load-balancing device.
Step 308, load-balancing device is by the Equations of The Second Kind IP address of outer network server and the Equations of The Second Kind IP address lookup corresponding relation of load-balancing device (it is to safeguard in step 305), with the IP address that obtains the Intranet client that records in this corresponding relation and the first kind IP address of outer network server.
Step 309, load-balancing device is revised as the source IP address of business response message the first kind IP address of outer network server, and the IP address of the purpose IP address of business response message being revised as to the Intranet client, and amended business response message is sent to the Intranet client.
in the embodiment of the present invention, load-balancing device utilizes the balancing link load strategy from the ISP link based on first kind IP address and based on after the ISP link of Equations of The Second Kind IP address, selecting the ISP link, when the ISP link of selecting is the ISP link based on first kind IP address, load-balancing device is revised as the source IP address of service request message the first kind IP address of this load-balancing device, by the ISP link of selecting, send amended service request message (namely by the ISP link of selecting, the service request message being sent to outer network server), and the IP address of the Intranet client of carrying in the record traffic request message, the first kind IP address of the outer network server that carries in the service request message, corresponding relation between the first kind IP address of this load-balancing device.Load-balancing device receives the business response message from outer network server, and the source IP address of business response message is the first kind IP address of outer network server, and the purpose IP address of business response message is the first kind IP address of load-balancing device; Afterwards, load-balancing device is by the first kind IP address of outer network server and the first kind IP address lookup corresponding relation of load-balancing device, IP address with the Intranet client that obtains recording in corresponding relation, the purpose IP address of business response message is revised as to the IP address of Intranet client, and amended business response message is sent to the Intranet client.
In the embodiment of the present invention, load-balancing device is in the process of modifying in the source IP address to the service request message and purpose IP address, can also adjust the information such as source port number, this adjustment process similarly to the prior art, repeats in the embodiment of the present invention no longer in detail.
In the embodiment of the present invention, on load-balancing device, can also enable the empty service of link, with the configuration of IP v4 network segment or the IPv6 network segment, after the service request message of receiving from the Intranet client, if the purpose IPv4 address of carrying in this service request message is arranged in the purpose IPv6 address that this IPv4 network segment or this service request message carry and is positioned at this IPv6 network segment, the technical scheme that adopts the embodiment of the present invention to provide is processed.Under normal conditions, the IPv4 network segment or the IPv6 network segment can be the whole network section.
In sum, in the embodiment of the present invention, between load-balancing device and outer network server, exist based in the ISP link of first kind IP address (as the IPv4 address) and the network based on the ISP link of Equations of The Second Kind IP address (as the IPv6 address), load-balancing device is by the IPv4 address of network server and the corresponding relation between the IPv6 address outside record in the equivalent service table, between the ISP link based on the IPv4 address and the ISP link based on the IPv6 address, realize load balancing, take full advantage of the bandwidth of ISP link.
Below in conjunction with the technical scheme of concrete application scenarios to the embodiment of the present invention, be elaborated.
Application scenarios schematic diagram as shown in Figure 4, take the Intranet client as example as IPv4 user, and under this application scenarios, this balancing link load method comprises the following steps:
Step 1, Intranet client send the DNS request message to load-balancing device, the category-A inquiry that this DNS request message is DNS, and the domain-name information that carries in this DNS request message is a.com.
Step 2, load-balancing device are after receiving the DNS request message, record the corresponding relation between the source IP address (as 192.168.20.96) of the DNS query note (as a.com) of Intranet client and Intranet client, as shown in table 1, for recording the DNS required list of above-mentioned corresponding relation.
Table 1
The IP address of Intranet client The request domain name
192.168.20.96 a.com
100::96 b.com
…… ...../
Step 3, load-balancing device send the category-A inquiry request of DNS to dns server, the IPv4 public network address of the outer network server that request domain name (a.com) is corresponding, and to dns server, send the AAAA class inquiry request of DNS, the IPv6 public network address of the corresponding outer network server of request domain name (a.com).
in the embodiment of the present invention, it due to the DNS request message, is the category-A inquiry of DNS, the IPv4 address of therefore carrying dns server in the DNS request message that carries domain-name information from the Intranet client, and load-balancing device sends the category-A inquiry request of DNS by the IPv4 public network address of this load-balancing device to dns server, the IPv4 public network address of the outer network server that request domain name (a.com) is corresponding, and to dns server, send the AAAA class inquiry request of DNS by the IPv4 public network address of this load-balancing device, the IPv6 public network address of the outer network server that request domain name (a.com) is corresponding.
The IPv4 public network address that step 4, dns server reply by the category-A of DNS the outer network server that domain name (a.com) is corresponding sends to load-balancing device, and replys the IPv6 public network address of the outer network server of domain name (a.com) correspondence is sent to load-balancing device by the AAAA class of DNS.
Wherein, dns server sends to the IPv4 public network address of the outer network server of load-balancing device can be a plurality of IPv4 public network addresses of outer net server; Dns server sends to the IPv6 public network address of the outer network server of load-balancing device can be a plurality of IPv6 public network addresses of outer net server.
Corresponding relation step 5, load-balancing device record in the equivalent service table outside between the IPv6 public network address (as 88::8) of the IPv4 public network address (as 100.1.1.1) of network server and outer network server; The outer network server (its domain name is a.com) that these IPv4 public network addresses are corresponding identical with the IPv6 public network address, and as providing the different agreement family address of same services to be recorded in load-balancing device.
As shown in table 2, be the example of the equivalent service table of the corresponding relation between the IPv6 public network address (as 88::8) of the IPv4 public network address (as 100.1.1.1) that records outer network server and outer network server.Wherein, the IPv6 public network address of the IPv4 public network address of outer network server and outer network server all can be for a plurality of.
Table 2
The IPv4 public network address The IPv6 public network address
100.1.1.1 88::8
200.1.1.1 99::9
…… ...../
Step 6, load-balancing device inquiry DNS required list (recording the DNS query note of Intranet client and the source IP address of Intranet client), obtain the source IP address of Intranet client, and the category-A of structure DNS is replied the IPv4 public network address (as 100.1.1.1) of outer network server is returned to the Intranet client.
In addition, outwards IPv4 public network address (as 100.1.1.1) and the IPv6 public network address (as 88::8) of network server carry out the close detection to load-balancing device; If there be ISP link or the ISP link organized based on IPv6 address of many groups based on the IPv4 address more, close survey and to survey in the ISP link based on the IPv4 address outside the IPv4 public network address of network server, outside in the ISP link based on the IPv6 address, surveying, the IPv6 public network address of network server, obtain best outbound and be recorded in the close list item.
Step 7, Intranet client send the service request message to load-balancing device, the source IP address of this service request message is the IPv4 address (as 192.168.20.96) of Intranet client, and the purpose IP address of this service request message is the public network IP v4 address (as 100.1.1.1) of outer network server.
Whether step 8, load-balancing device, after the service request message of receiving from the Intranet client, have the public network IP v6 address corresponding to public network IP v4 address of outer network server in the equivalence of query agent list.If not, load-balancing device utilizes the balancing link load strategy from the ISP link based on the IPv4 address, selecting the ISP link, and this process does not repeat them here.If so, load-balancing device from the ISP link based on the IPv4 address with based on the ISP link of IPv6 address, selecting the ISP link.Further, when the ISP link of selecting was the ISP link based on the IPv4 address, relevant treatment did not repeat them here.
Step 9, when the ISP link of selecting be the ISP link based on the IPv6 address, load-balancing device is carried out NAT(Network Address Translation, network address translation) change relevant treatment.
concrete, load-balancing device is revised as the purpose IP address of service request message the corresponding IPv6 public network address that records in the equivalent service table, the source IP address of service request message is revised as to the IPv6 public network address (being IPv6ISP outlet public network address) of this load-balancing device, and the source IP address of the service request message before record conversion (being the IP address of the Intranet client of carrying in the service request message), the purpose IP address of the service request message before conversion (being the IPv4 public network address of the outer network server that carries in the service request message), the source IP address of the service request message after conversion (being the IPv6 public network address of this load-balancing device), corresponding relation between the purpose IP address of the service request message after conversion (i.e. the IPv6 public network address of outer network server), to guarantee that the business response message can return to the Intranet client.
Step 10, load-balancing device sends amended service request message by the ISP link of selecting, and namely load-balancing device sends to outer network server by the ISP link of selecting by the service request message.
Application scenarios schematic diagram as shown in Figure 5, take the Intranet client as example as IPv6 user, and under this application scenarios, this balancing link load method comprises the following steps:
Step 1, Intranet client send the DNS request message to load-balancing device, the AAAA class inquiry that this DNS request message is DNS, and the domain-name information that carries in this DNS request message is a.com.
After step 2, load-balancing device are received the DNS request message, by the DNS required list, record the corresponding relation between the source IP address of the DNS query note (as a.com) of Intranet client and Intranet client.
Step 3, load-balancing device send the category-A inquiry request of DNS to dns server, the IPv4 public network address of the outer network server that request domain name (a.com) is corresponding, and to dns server, send the AAAA class inquiry request of DNS, the IPv6 public network address of the corresponding outer network server of request domain name (a.com).
in the embodiment of the present invention, it due to the DNS request message, is the AAAA class inquiry of DNS, the IPv6 address of therefore carrying dns server in the DNS request message that carries domain-name information from the Intranet client, and load-balancing device sends the category-A inquiry request of DNS by the IPv6 public network address of this load-balancing device to dns server, the IPv4 public network address of the outer network server that request domain name (a.com) is corresponding, and to dns server, send the AAAA class inquiry request of DNS by the IPv6 public network address of this load-balancing device, the IPv6 public network address of the outer network server that request domain name (a.com) is corresponding.
The IPv4 public network address that step 4, dns server reply by the category-A of DNS the outer network server that domain name (a.com) is corresponding sends to load-balancing device, and replys the IPv6 public network address of the outer network server of domain name (a.com) correspondence is sent to load-balancing device by the AAAA class of DNS.
Wherein, dns server sends to the IPv4 public network address of the outer network server of load-balancing device can be a plurality of IPv4 public network addresses of outer net server; Dns server sends to the IPv6 public network address of the outer network server of load-balancing device can be a plurality of IPv6 public network addresses of outer net server.
Corresponding relation step 5, load-balancing device record in the equivalent service table outside between the IPv6 public network address (as 88::8) of the IPv4 public network address (as 100.1.1.1) of network server and outer network server; The outer network server (its domain name is a.com) that these IPv4 public network addresses are corresponding identical with the IPv6 public network address, and as providing the different agreement family address of same services to be recorded in load-balancing device.
Step 6, load-balancing device inquiry DNS required list (recording the DNS query note of Intranet client and the source IP address of Intranet client), obtain the source IP address of Intranet client, and the AAAA class of structure DNS is replied the IPv6 public network address (as 88::8) of outer network server is returned to the Intranet client.
In addition, outwards IPv4 public network address (as 100.1.1.1) and the IPv6 public network address (as 88::8) of network server carry out the close detection to load-balancing device; If there be ISP link or the ISP link organized based on IPv6 address of many groups based on the IPv4 address more, close survey and to survey in the ISP link based on the IPv4 address outside the IPv4 public network address of network server, outside in the ISP link based on the IPv6 address, surveying, the IPv6 public network address of network server, obtain best outbound and be recorded in the close list item.
Step 7, Intranet client send the service request message to load-balancing device, the source IP address of this service request message is the IPv6 address of Intranet client, and the purpose IP address of this service request message is the public network IP v6 address (as 88::8) of outer network server.
Whether step 8, load-balancing device, after the service request message of receiving from the Intranet client, have the public network IP v4 address corresponding to public network IP v6 address of outer network server in the equivalence of query agent list.If not, load-balancing device utilizes the balancing link load strategy from the ISP link based on the IPv6 address, selecting the ISP link, and this process does not repeat them here.If so, load-balancing device from the ISP link based on the IPv4 address with based on the ISP link of IPv6 address, selecting the ISP link.Further, when the ISP link of selecting was the ISP link based on the IPv6 address, relevant treatment did not repeat them here.
Step 9, when the ISP link of selecting be the ISP link based on the IPv4 address, load-balancing device is carried out NAT(Network Address Translation, network address translation) change relevant treatment.
concrete, load-balancing device is revised as the purpose IP address of service request message the corresponding IPv4 public network address that records in the equivalent service table, the source IP address of service request message is revised as to the IPv4 public network address (being IPv4ISP outlet public network address) of this load-balancing device, and the source IP address of the service request message before record conversion (being the IP address of the Intranet client of carrying in the service request message), the purpose IP address of the service request message before conversion (being the IPv6 public network address of the outer network server that carries in the service request message), the source IP address of the service request message after conversion (being the IPv4 public network address of this load-balancing device), corresponding relation between the purpose IP address of the service request message after conversion (i.e. the IPv4 public network address of outer network server), to guarantee that the business response message can return to the Intranet client.
Step 10, load-balancing device sends amended service request message by the ISP link of selecting, and namely load-balancing device sends to outer network server by the ISP link of selecting by the service request message.
Based on the inventive concept same with said method, a kind of load-balancing device also is provided in the embodiment of the present invention, be applied to comprise in the network of Intranet client, described load-balancing device, domain name system DNS server and outer network server, between described load-balancing device and described outer network server, exist based on the ISP of the ISP link of first kind IP address and based on the ISP link of Equations of The Second Kind IP address, as shown in Figure 6, described load-balancing device specifically comprises:
Communication module 11, for receiving the DNS request message that carries domain-name information from the Intranet client, and to the first kind IP address of outer network server corresponding to described dns server request domain name information, and the Equations of The Second Kind IP address of outer network server corresponding to request domain name information; And, reception is from the first kind IP address of the outer network server of described dns server and the Equations of The Second Kind IP address of outer network server, and in the equivalent service table corresponding relation between the Equations of The Second Kind IP address of the first kind IP address of network server and outer network server outside record; And, receiving the service request message from the Intranet client, the purpose IP address of described service request message is the first kind IP address of outer network server;
Select module 12, when the Equations of The Second Kind IP address of outer network server corresponding to the first kind IP address of described outer net server is arranged when described equivalent service table, utilize the balancing link load strategy from the ISP link based on first kind IP address and based on selection ISP link the ISP link of Equations of The Second Kind IP address;
Processing module 13, while for the ISP link when selection, being the ISP link based on Equations of The Second Kind IP address, the source IP address of service request message is revised as to the Equations of The Second Kind IP address of this load-balancing device, the purpose IP address of service request message is revised as to the Equations of The Second Kind IP address of outer network server corresponding to the first kind IP address of described outer network server, and sends amended service request message by the ISP link of selecting.
Described processing module 13, also for the source IP address by the service request message, be revised as the Equations of The Second Kind IP address of this load-balancing device, after the purpose IP address of service request message being revised as to the Equations of The Second Kind IP address of outer network server, record the corresponding relation between the Equations of The Second Kind IP address of the first kind IP address of the outer network server that carries in the IP address of the Intranet client of carrying in described service request message, described service request message, the Equations of The Second Kind IP address of this load-balancing device, outer network server;
Described communication module 11, also for receiving the business response message from described outer network server, the source IP address of described business response message is the Equations of The Second Kind IP address of described outer network server, and the purpose IP address of described business response message is the Equations of The Second Kind IP address of described load-balancing device;
Described processing module 13, also for the Equations of The Second Kind IP address by described outer network server and the described corresponding relation of Equations of The Second Kind IP address lookup of described load-balancing device, with the IP address that obtains the Intranet client that records in described corresponding relation and the first kind IP address of described outer network server; And, the source IP address of described business response message is revised as to the first kind IP address of described outer network server, and the IP address of the purpose IP address of described business response message being revised as to described Intranet client, and amended business response message is sent to described Intranet client.
described processing module 13, also for utilizing the balancing link load strategy after the ISP link based on first kind IP address and the ISP link selection ISP link based on Equations of The Second Kind IP address, when the ISP link of selecting is the ISP link based on first kind IP address, the source IP address of described service request message is revised as to the first kind IP address of this load-balancing device, and send amended service request message by the ISP link of selecting, and the IP address of recording the Intranet client of carrying in described service request message, the first kind IP address of the outer network server that carries in described service request message, corresponding relation between the first kind IP address of this load-balancing device,
Described communication module 11, also for receiving the business response message from described outer network server, the source IP address of described business response message is the first kind IP address of described outer network server, and the purpose IP address of described business response message is the first kind IP address of described load-balancing device;
Described processing module 13, also for the described corresponding relation of first kind IP address lookup of the first kind IP address by described outer network server and described load-balancing device, to obtain the IP address of the Intranet client that records in described corresponding relation, and the IP address of the purpose IP address of described business response message being revised as to described Intranet client, and amended business response message is sent to described Intranet client.
described processing module 13, also for when described balancing link load strategy need to be selected the ISP link from the ISP link based on first kind IP address and based on the ISP link of Equations of The Second Kind IP address based on the close table, the close detection is carried out in first kind IP address by the external network server of ISP link based on first kind IP address, the close detection is carried out in Equations of The Second Kind IP address by the external network server of ISP link based on Equations of The Second Kind IP address, utilize the first kind IP address result of surveying and the result that the Equations of The Second Kind IP address of external network server is surveyed of external network server to safeguard the close table.
Described first kind IP address is the IPv4 address, and described Equations of The Second Kind IP address is the IPv6 address; Perhaps,
Described first kind IP address is the IPv6 address, and described Equations of The Second Kind IP address is the IPv4 address.
Wherein, the modules of apparatus of the present invention can be integrated in one, and also can separate deployment.Above-mentioned module can be merged into a module, also can further split into a plurality of submodules.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but in a lot of situation, the former is better execution mode.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in a storage medium, comprise that some instructions are with so that a computer equipment (can be personal computer, server, or the network equipment etc.) the described method of execution each embodiment of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, the module in accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device in embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from the present embodiment.The module of above-described embodiment can be merged into a module, also can further split into a plurality of submodules.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Above disclosed be only several specific embodiment of the present invention, still, the present invention is not limited thereto, the changes that any person skilled in the art can think of all should fall into protection scope of the present invention.

Claims (10)

1. balancing link load method, be applied to comprise in the network of Intranet client, load-balancing device, domain name system DNS server and outer network server, between described load-balancing device and described outer network server, exist based on the ISP of the ISP link of first kind IP address and based on the ISP link of Equations of The Second Kind IP address, it is characterized in that, the method comprises the following steps:
Described load-balancing device receives the DNS request message that carries domain-name information from the Intranet client, and to the first kind IP address of outer network server corresponding to described dns server request domain name information and the Equations of The Second Kind IP address of outer network server corresponding to request domain name information;
Described load-balancing device receives from the first kind IP address of the outer network server of described dns server and the Equations of The Second Kind IP address of outer network server, and the corresponding relation between the Equations of The Second Kind IP address of the first kind IP address of network server and outer network server outside recording in the equivalent service table;
Described load-balancing device receives the service request message from the Intranet client, and the purpose IP address of described service request message is the first kind IP address of outer network server;
When the Equations of The Second Kind IP address of outer network server corresponding to the first kind IP address that described outer net server is arranged in described equivalent service table, described load-balancing device utilizes the balancing link load strategy from the ISP link based on first kind IP address and based on the ISP link of Equations of The Second Kind IP address, selecting the ISP link;
When the ISP link of selecting is the ISP link based on Equations of The Second Kind IP address, described load-balancing device is revised as the source IP address of service request message the Equations of The Second Kind IP address of this load-balancing device, the purpose IP address of service request message is revised as to the Equations of The Second Kind IP address of outer network server corresponding to the first kind IP address of described outer network server, and sends amended service request message by the ISP link of selecting.
2. the method for claim 1, is characterized in that, described method also comprises:
Described load-balancing device is revised as the source IP address of service request message the Equations of The Second Kind IP address of this load-balancing device, after the purpose IP address of service request message being revised as to the Equations of The Second Kind IP address of outer network server, described load-balancing device records the corresponding relation between the Equations of The Second Kind IP address of the first kind IP address of the outer network server that carries in the IP address of the Intranet client of carrying in described service request message, described service request message, the Equations of The Second Kind IP address of this load-balancing device, outer network server;
Described load-balancing device receives the business response message from described outer network server, the source IP address of described business response message is the Equations of The Second Kind IP address of described outer network server, and the purpose IP address of described business response message is the Equations of The Second Kind IP address of described load-balancing device;
Described load-balancing device by described outer network server Equations of The Second Kind IP address and the described corresponding relation of Equations of The Second Kind IP address lookup of described load-balancing device, with the IP address that obtains the Intranet client that records in described corresponding relation and the first kind IP address of described outer network server;
Described load-balancing device is revised as the source IP address of described business response message the first kind IP address of described outer network server, and the IP address of the purpose IP address of described business response message being revised as to described Intranet client, and amended business response message is sent to described Intranet client.
3. the method for claim 1, it is characterized in that, described load-balancing device utilizes the balancing link load strategy from the ISP link based on first kind IP address and based on after the ISP link of Equations of The Second Kind IP address, selecting the ISP link, and described method also comprises:
When the ISP link of selecting is the ISP link based on first kind IP address, described load-balancing device is revised as the source IP address of described service request message the first kind IP address of this load-balancing device, and send amended service request message by the ISP link of selecting, and record the corresponding relation between the first kind IP address of first kind IP address, this load-balancing device of the outer network server that carries in the IP address of the Intranet client of carrying in described service request message, described service request message;
Described load-balancing device receives the business response message from described outer network server, the source IP address of described business response message is the first kind IP address of described outer network server, and the purpose IP address of described business response message is the first kind IP address of described load-balancing device;
Described load-balancing device is by the first kind IP address of described outer network server and the described corresponding relation of first kind IP address lookup of described load-balancing device, to obtain the IP address of the Intranet client that records in described corresponding relation, and the IP address of the purpose IP address of described business response message being revised as to described Intranet client, and amended business response message is sent to described Intranet client.
4. the method for claim 1, it is characterized in that, when described balancing link load strategy need to be selected the ISP link from the ISP link based on first kind IP address and based on the ISP link of Equations of The Second Kind IP address based on the close table, described method also comprised:
Described load-balancing device carries out the close detection by the first kind IP address of the external network server of ISP link based on first kind IP address, the close detection is carried out in Equations of The Second Kind IP address by the external network server of ISP link based on Equations of The Second Kind IP address, utilizes the first kind IP address result of surveying and the result that the Equations of The Second Kind IP address of external network server is surveyed of external network server to safeguard the close table.
5. as the described method of claim 1-4 any one, it is characterized in that,
Described first kind IP address is the IPv4 address, and described Equations of The Second Kind IP address is the IPv6 address; Perhaps,
Described first kind IP address is the IPv6 address, and described Equations of The Second Kind IP address is the IPv4 address.
6. load-balancing device, be applied to comprise in the network of Intranet client, described load-balancing device, domain name system DNS server and outer network server, between described load-balancing device and described outer network server, exist based on the ISP of the ISP link of first kind IP address and based on the ISP link of Equations of The Second Kind IP address, it is characterized in that, described load-balancing device specifically comprises:
Communication module, for receiving the DNS request message that carries domain-name information from the Intranet client, and to the first kind IP address of outer network server corresponding to described dns server request domain name information, and the Equations of The Second Kind IP address of outer network server corresponding to request domain name information; And, reception is from the first kind IP address of the outer network server of described dns server and the Equations of The Second Kind IP address of outer network server, and in the equivalent service table corresponding relation between the Equations of The Second Kind IP address of the first kind IP address of network server and outer network server outside record; And, receiving the service request message from the Intranet client, the purpose IP address of described service request message is the first kind IP address of outer network server;
Select module, when the Equations of The Second Kind IP address of outer network server corresponding to the first kind IP address of described outer net server is arranged when described equivalent service table, utilize the balancing link load strategy from the ISP link based on first kind IP address and based on selection ISP link the ISP link of Equations of The Second Kind IP address;
Processing module, while for the ISP link when selection, being the ISP link based on Equations of The Second Kind IP address, the source IP address of service request message is revised as to the Equations of The Second Kind IP address of this load-balancing device, the purpose IP address of service request message is revised as to the Equations of The Second Kind IP address of outer network server corresponding to the first kind IP address of described outer network server, and sends amended service request message by the ISP link of selecting.
7. load-balancing device as claimed in claim 6, is characterized in that,
Described processing module, also for the source IP address by the service request message, be revised as the Equations of The Second Kind IP address of this load-balancing device, after the purpose IP address of service request message being revised as to the Equations of The Second Kind IP address of outer network server, record the corresponding relation between the Equations of The Second Kind IP address of the first kind IP address of the outer network server that carries in the IP address of the Intranet client of carrying in described service request message, described service request message, the Equations of The Second Kind IP address of this load-balancing device, outer network server;
Described communication module, also for receiving the business response message from described outer network server, the source IP address of described business response message is the Equations of The Second Kind IP address of described outer network server, and the purpose IP address of described business response message is the Equations of The Second Kind IP address of described load-balancing device;
Described processing module, also for the Equations of The Second Kind IP address by described outer network server and the described corresponding relation of Equations of The Second Kind IP address lookup of described load-balancing device, with the IP address that obtains the Intranet client that records in described corresponding relation and the first kind IP address of described outer network server; And, the source IP address of described business response message is revised as to the first kind IP address of described outer network server, and the IP address of the purpose IP address of described business response message being revised as to described Intranet client, and amended business response message is sent to described Intranet client.
8. load-balancing device as claimed in claim 6, is characterized in that,
described processing module, also for utilizing the balancing link load strategy after the ISP link based on first kind IP address and the ISP link selection ISP link based on Equations of The Second Kind IP address, when the ISP link of selecting is the ISP link based on first kind IP address, the source IP address of described service request message is revised as to the first kind IP address of this load-balancing device, and send amended service request message by the ISP link of selecting, and the IP address of recording the Intranet client of carrying in described service request message, the first kind IP address of the outer network server that carries in described service request message, corresponding relation between the first kind IP address of this load-balancing device,
Described communication module, also for receiving the business response message from described outer network server, the source IP address of described business response message is the first kind IP address of described outer network server, and the purpose IP address of described business response message is the first kind IP address of described load-balancing device;
Described processing module, also for the described corresponding relation of first kind IP address lookup of the first kind IP address by described outer network server and described load-balancing device, to obtain the IP address of the Intranet client that records in described corresponding relation, and the IP address of the purpose IP address of described business response message being revised as to described Intranet client, and amended business response message is sent to described Intranet client.
9. load-balancing device as claimed in claim 6, is characterized in that,
described processing module, also for when described balancing link load strategy need to be selected the ISP link from the ISP link based on first kind IP address and based on the ISP link of Equations of The Second Kind IP address based on the close table, the close detection is carried out in first kind IP address by the external network server of ISP link based on first kind IP address, the close detection is carried out in Equations of The Second Kind IP address by the external network server of ISP link based on Equations of The Second Kind IP address, utilize the first kind IP address result of surveying and the result that the Equations of The Second Kind IP address of external network server is surveyed of external network server to safeguard the close table.
10. as the described load-balancing device of claim 6-9 any one, it is characterized in that,
Described first kind IP address is the IPv4 address, and described Equations of The Second Kind IP address is the IPv6 address; Perhaps,
Described first kind IP address is the IPv6 address, and described Equations of The Second Kind IP address is the IPv4 address.
CN201310331543.7A 2013-07-31 2013-07-31 A kind of balancing link load method and apparatus Active CN103401800B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310331543.7A CN103401800B (en) 2013-07-31 2013-07-31 A kind of balancing link load method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310331543.7A CN103401800B (en) 2013-07-31 2013-07-31 A kind of balancing link load method and apparatus

Publications (2)

Publication Number Publication Date
CN103401800A true CN103401800A (en) 2013-11-20
CN103401800B CN103401800B (en) 2016-08-03

Family

ID=49565329

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310331543.7A Active CN103401800B (en) 2013-07-31 2013-07-31 A kind of balancing link load method and apparatus

Country Status (1)

Country Link
CN (1) CN103401800B (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104144222A (en) * 2014-08-20 2014-11-12 北京阅联信息技术有限公司 Method and system for load balancing in DNS system based on alias record
CN104767690A (en) * 2014-01-08 2015-07-08 杭州迪普科技有限公司 Flow scheduling device and method
CN104935521A (en) * 2014-03-18 2015-09-23 中国电信股份有限公司 Global load balancing method and server for realizing hybrid scheduling
CN105591962A (en) * 2015-08-03 2016-05-18 杭州华三通信技术有限公司 Link load balancing detection method and device
CN106100926A (en) * 2016-06-17 2016-11-09 山东超越数控电子有限公司 A kind of Network Load Balance link physical examination method
CN106209411A (en) * 2015-05-08 2016-12-07 阿里巴巴集团控股有限公司 Distributed network system (DNS) fault-tolerance approach, device and fault tolerant type distributed network system (DNS)
CN106534398A (en) * 2016-11-14 2017-03-22 赛尔网络有限公司 Device and method used for IPv6 network
CN107086966A (en) * 2016-02-16 2017-08-22 阿里巴巴集团控股有限公司 A kind of load balancing of network, control and network interaction method and device
CN108173979A (en) * 2017-12-25 2018-06-15 新华三信息安全技术有限公司 A kind of message processing method, device, equipment and storage medium
US10050887B2 (en) 2014-08-25 2018-08-14 Sanechips Technology Co., Ltd. Load balancing method, device and storage medium
CN109120745A (en) * 2018-09-25 2019-01-01 京信通信系统(中国)有限公司 Shunt gateway link switch-over method, device, computer storage medium and equipment
US10536380B2 (en) 2018-01-26 2020-01-14 Wipro Limited Method and system for intelligent link load balancing
CN114363288A (en) * 2021-12-16 2022-04-15 北京华耀科技有限公司 Message processing method and device, link load balancing equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1585376A (en) * 2003-08-20 2005-02-23 华为技术有限公司 Addressing converting method and mixed addressing converting router for realizing it
CN101197858A (en) * 2008-01-07 2008-06-11 杭州华三通信技术有限公司 Address translation method, device and router with the same
US20100008260A1 (en) * 2006-12-04 2010-01-14 Sun Cheul Kim Method for configuring control tunnel and direct tunnel in ipv4 network-based ipv6 service providing system
CN102075445A (en) * 2011-02-28 2011-05-25 杭州华三通信技术有限公司 Load balancing method and device
CN102739810A (en) * 2011-04-07 2012-10-17 中国电信股份有限公司 IPv4CP/SP and IPv6 network interworking method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1585376A (en) * 2003-08-20 2005-02-23 华为技术有限公司 Addressing converting method and mixed addressing converting router for realizing it
US20100008260A1 (en) * 2006-12-04 2010-01-14 Sun Cheul Kim Method for configuring control tunnel and direct tunnel in ipv4 network-based ipv6 service providing system
CN101197858A (en) * 2008-01-07 2008-06-11 杭州华三通信技术有限公司 Address translation method, device and router with the same
CN102075445A (en) * 2011-02-28 2011-05-25 杭州华三通信技术有限公司 Load balancing method and device
CN102739810A (en) * 2011-04-07 2012-10-17 中国电信股份有限公司 IPv4CP/SP and IPv6 network interworking method and device

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104767690A (en) * 2014-01-08 2015-07-08 杭州迪普科技有限公司 Flow scheduling device and method
CN104767690B (en) * 2014-01-08 2018-11-27 杭州迪普科技股份有限公司 A kind of flow scheduling device and method
CN104935521A (en) * 2014-03-18 2015-09-23 中国电信股份有限公司 Global load balancing method and server for realizing hybrid scheduling
CN104935521B (en) * 2014-03-18 2018-11-16 中国电信股份有限公司 For realizing the Whole load equalizing method and server of mixed scheduling
CN104144222B (en) * 2014-08-20 2015-08-19 北京阅联信息技术有限公司 Based on the load-balancing method of canonical name and system in DNS authoring system
CN104144222A (en) * 2014-08-20 2014-11-12 北京阅联信息技术有限公司 Method and system for load balancing in DNS system based on alias record
US10050887B2 (en) 2014-08-25 2018-08-14 Sanechips Technology Co., Ltd. Load balancing method, device and storage medium
CN106209411A (en) * 2015-05-08 2016-12-07 阿里巴巴集团控股有限公司 Distributed network system (DNS) fault-tolerance approach, device and fault tolerant type distributed network system (DNS)
CN106209411B (en) * 2015-05-08 2019-06-07 阿里巴巴集团控股有限公司 Distributed network system (DNS) fault-tolerance approach, device and fault tolerant type distributed network system (DNS)
CN105591962B (en) * 2015-08-03 2019-09-17 新华三技术有限公司 A kind of detection method and device of balancing link load
CN105591962A (en) * 2015-08-03 2016-05-18 杭州华三通信技术有限公司 Link load balancing detection method and device
CN107086966A (en) * 2016-02-16 2017-08-22 阿里巴巴集团控股有限公司 A kind of load balancing of network, control and network interaction method and device
WO2017140216A1 (en) * 2016-02-16 2017-08-24 阿里巴巴集团控股有限公司 Method and device for network load balancing, control, and network interaction
CN107086966B (en) * 2016-02-16 2021-07-27 阿里巴巴集团控股有限公司 Network load balancing, control and network interaction method and device
CN106100926A (en) * 2016-06-17 2016-11-09 山东超越数控电子有限公司 A kind of Network Load Balance link physical examination method
CN106534398A (en) * 2016-11-14 2017-03-22 赛尔网络有限公司 Device and method used for IPv6 network
CN108173979A (en) * 2017-12-25 2018-06-15 新华三信息安全技术有限公司 A kind of message processing method, device, equipment and storage medium
CN108173979B (en) * 2017-12-25 2021-03-12 新华三信息安全技术有限公司 Message processing method, device, equipment and storage medium
US10536380B2 (en) 2018-01-26 2020-01-14 Wipro Limited Method and system for intelligent link load balancing
CN109120745A (en) * 2018-09-25 2019-01-01 京信通信系统(中国)有限公司 Shunt gateway link switch-over method, device, computer storage medium and equipment
CN109120745B (en) * 2018-09-25 2021-09-21 京信网络系统股份有限公司 Shunting gateway link switching method and device, computer storage medium and equipment
CN114363288A (en) * 2021-12-16 2022-04-15 北京华耀科技有限公司 Message processing method and device, link load balancing equipment and storage medium

Also Published As

Publication number Publication date
CN103401800B (en) 2016-08-03

Similar Documents

Publication Publication Date Title
CN103401800A (en) Link load balancing method and link load balancing device
US10097566B1 (en) Identifying targets of network attacks
US8984112B2 (en) Internet address information processing method, apparatus, and internet system
US20180176295A1 (en) Load balancing with layered edge servers
US9843554B2 (en) Methods for dynamic DNS implementation and systems thereof
US20180278717A1 (en) Request routing utilizing client location information
CN103051740B (en) Domain name analytic method, dns server and domain name analysis system
US8918469B2 (en) Methods, systems, and computer readable media for sharing diameter binding data
US11223565B2 (en) Designs of an MPTCP-aware load balancer and load balancer using the designs
US11743230B2 (en) Network address translation (NAT) traversal and proxy between user plane function (UPF) and session management function (SMF)
CN101997768B (en) Method and device for uploading address resolution protocol messages
US10659350B2 (en) Data routing method and apparatus
CN103618801B (en) Method, equipment and the system of a kind of P2P resource-sharing
US10958572B2 (en) Directing packets to service chain associated with user plane anchor
CN104601742A (en) Message transmission method and device
CN112583952B (en) Redirection scheduling processing method, device and system, related equipment and storage medium
CN107547339B (en) Method and device for feeding back MAC address of gateway media access control
CN105610930A (en) Data optimization method based on DNS (Domain Name Server)
CN105450774A (en) Load balancing method and load balancing device for DNS
CN104811383A (en) Message forwarding method and equipment
CN106027354B (en) The reflow method and device of VPN client
JP2021057873A (en) GENERATION OF IPv6 MULTICAST ADDRESS
CN104092751B (en) A kind of Operational Visit method and apparatus
CN113645326B (en) Quasi-stateless adaptive mapping method for IPv4/IPv6 access
US8964743B2 (en) Methods and arrangements in a packet switched network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

CP03 Change of name, title or address