CN109218219A - A kind of load-balancing method, device, the network equipment and storage medium - Google Patents

A kind of load-balancing method, device, the network equipment and storage medium Download PDF

Info

Publication number
CN109218219A
CN109218219A CN201811200682.5A CN201811200682A CN109218219A CN 109218219 A CN109218219 A CN 109218219A CN 201811200682 A CN201811200682 A CN 201811200682A CN 109218219 A CN109218219 A CN 109218219A
Authority
CN
China
Prior art keywords
address
message
conversion
public network
polymerization
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
CN201811200682.5A
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.)
Maipu Communication Technology Co Ltd
Original Assignee
Maipu Communication 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 Maipu Communication Technology Co Ltd filed Critical Maipu Communication Technology Co Ltd
Priority to CN201811200682.5A priority Critical patent/CN109218219A/en
Publication of CN109218219A publication Critical patent/CN109218219A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/125Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/82Miscellaneous aspects
    • H04L47/827Aggregation of resource allocation or reservation requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/251Translation of Internet protocol [IP] addresses between different IP versions

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention relates to a kind of load-balancing method, device, the network equipment and storage mediums, belong to data communication technology field.This method comprises: receiving the IPv6 message for carrying out user terminal;The IPv6 message is converted into IPv4 message, and chooses source address of the public network address as the IPv4 message from preset polymerization address pool;Wherein, the multiple public network addresses for the different segment that polymerization has multiple and different operators to provide in the preset polymerization address pool;Transmission includes the IPv4 message of the source address.By being in advance aggregated to the multiple public network addresses for the different segment that multiple and different operators provide together, become a polymerization address pool;When equipment is when processing User IP v6 message is converted to IPv4 message, a public network address is chosen from polymerization address pool can be by business load balancing as far as possible without artificial interference as the source address after conversion, and configuration logic is simple, and later maintenance workload is small.

Description

A kind of load-balancing method, device, the network equipment and storage medium
Technical field
The invention belongs to data communication technology fields, and in particular to a kind of load-balancing method, device, the network equipment and deposit Storage media.
Background technique
With the rise of IPv6 (Internet Protocol Version 6) network, at IPv6 transition initial stage, local area network It is changed to IPv6 network, but operator's route is still IPv4 route, has just needed to use NAT64 (Network at this time Address Translation 64) transitional technology, IPv6 message is converted into IPv4 message, to solve IPv6 network to IPv4 The problem of network interworking.If LAN subscriber accesses, Internet service demand is big, and single operator line bandwidth can not expire Sufficient demand, or need using a plurality of operator's line load in balanced, the unbroken situation of guarantee business, existing NAT64 Technology does not have the function of a plurality of outlet automatic load, can not solve above-mentioned scene application.
Summary of the invention
In consideration of it, the purpose of the present invention is to provide a kind of load-balancing method, device, the network equipment and storage medium, To effectively improve the above problem.
The embodiment of the present invention is achieved in that
In a first aspect, the embodiment of the invention provides a kind of load-balancing methods, comprising: receive and carry out user terminal IPv6 message;The IPv6 message is converted into IPv4 message, and chooses a public network address conduct from preset polymerization address pool The source address of the IPv4 message;Wherein, the difference that polymerization has multiple and different operators to provide in the preset polymerization address pool Multiple public network addresses of network segment;Transmission includes the IPv4 message of the source address.In the embodiment of the present application, by advance will be more The multiple public network addresses for the different segment that a different operators provide are aggregated to together, become a polymerization address pool;Work as NAT64 After transformation rule quotes this polymerization address pool, equipment is when processing User IP v6 message is converted to IPv4 message, from polymerization address Chosen in pond a public network address as conversion after source address, be not necessarily to artificial interference, can by business load balancing as far as possible, and Configuration logic is simple, and later maintenance workload is small.
The IPv6 message is converted to IPv4 message described by a kind of optional embodiment with reference to first aspect, and Before choosing source address step of the public network address as the IPv4 message in preset polymerization address pool, the method is also wrapped It includes: with the presence or absence of the conversion record of the corresponding IPv6 message in query history conversion record;When to be no, step is executed: will The IPv6 message is converted to IPv4 message, and chooses a public network address as the IPv4 message from preset polymerization address pool Source address.In the embodiment of the present application, a public network address is being chosen from preset polymerization address pool as the IPv4 message Before source address, with the presence or absence of the conversion record of the corresponding IPv6 message in preferential query history conversion record, if inquiry As a result to have, then using the source address in conversion record as the source address after conversion, if query result is nothing, from presetting It polymerize and chooses the source address after conversion in address pool, the continuity of business when guaranteeing that same user accesses consolidated network resource.
Another optional embodiment with reference to first aspect, the method also includes: when monitoring the multiple difference When the route of a certain operator is malfunction in operator, automatically by the failure operator in the preset polymerization address pool The corresponding conversion address of route is set to failure state, and deletes the conversion record obtained based on the conversion address.The application is real Shi Zhong, when equipment monitoring a certain operator's line fault into polymerization address pool, automatically by the failure operator Line Address It is set to failure state in polymerization address pool, the address is no longer chosen and is used as the source address after conversion;It also to delete simultaneously It is all based on the address having conversion record, avoid passing through be matched to failure route it is corresponding have conversion record, with guarantee Customer service degree of susceptibility is preferably minimized by the availability of customer service.
Another optional embodiment with reference to first aspect, it is described that a public network address is chosen from preset polymerization address pool Source address as the IPv4 message, comprising: chosen from preset polymerization address pool according to selection mode sequentially or at random Source address of one public network address as the IPv4 message.In the embodiment of the present application, equipment is in processing User IP v6 message conversion When for IPv4 message, from the selection in polymerization address pool sequentially or at random as the source address after converting, to protect to the greatest extent Demonstrate,prove the effect of load balancing.
Second aspect, the embodiment of the invention also provides a kind of load balancing apparatus, comprising: receiving module, conversion module And sending module;Receiving module, for receiving the IPv6 message for carrying out user terminal;Conversion module is used for the IPv6 Message is converted to IPv4 message, and chooses a public network address as the source of the IPv4 message from preset polymerization address pool Location;Wherein, the multiple public network addresses for the different segment that polymerization has multiple and different operators to provide in the preset polymerization address pool; Sending module, for send include the source address IPv4 message.
In conjunction with a kind of optional embodiment of second aspect, further includes: enquiry module, in query history conversion record With the presence or absence of the conversion record of the correspondence IPv6 message.
In conjunction with another optional embodiment of second aspect, further includes: failed module, for the multiple when monitoring When the route of a certain operator is malfunction in different operators, the failure in the preset polymerization address pool is transported automatically The corresponding conversion address of battalion's quotient's route is set to failure state, and deletes the conversion record obtained based on the conversion address.
In conjunction with another optional embodiment of second aspect, the conversion module is also used to according to sequentially or at random Selection mode chooses source address of the public network address as the IPv4 message from preset polymerization address pool.
The third aspect, the embodiment of the invention also provides a kind of network equipments, comprising: memory and processor, it is described to deposit Reservoir is connected with the processor;The memory is for storing program;The processor is stored in the storage for calling Program in device, the method to execute above-mentioned first aspect and/or any optional embodiment offer with reference to first aspect.
Fourth aspect, the embodiment of the invention also provides a kind of storage mediums, are stored thereon with computer program, the meter Calculation machine program executes above-mentioned first aspect when being run by processor and/or any optional embodiment with reference to first aspect mentions The method of confession.
Other features and advantages of the present invention will be illustrated in subsequent specification, also, partly be become from specification It is clear that being understood by implementing the embodiment of the present invention.The objectives and other advantages of the invention can be by written Specifically noted structure is achieved and obtained in specification, claims and attached drawing.
Detailed description of the invention
It in order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, below will be to institute in embodiment Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention Example, for those of ordinary skill in the art, without creative efforts, can also obtain according to these attached drawings Obtain other attached drawings.By the way that shown in attached drawing, above and other purpose of the invention, feature and advantage will be more clear.In whole Identical appended drawing reference indicates identical part in attached drawing.Attached drawing, emphasis deliberately are not drawn by actual size equal proportion scaling It is to show the gist of the present invention.
Fig. 1 shows a kind of flow chart of load-balancing method provided in an embodiment of the present invention.
Fig. 2 shows the flow charts of another load-balancing method provided in an embodiment of the present invention.
Fig. 3 shows a kind of module diagram of load balancing apparatus provided in an embodiment of the present invention.
Fig. 4 shows a kind of structural schematic diagram of network equipment provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.The present invention being usually described and illustrated herein in the accompanying drawings is implemented The component of example can be arranged and be designed with a variety of different configurations.
Therefore, the detailed description of the embodiment of the present invention provided in the accompanying drawings is not intended to limit below claimed The scope of the present invention, but be merely representative of selected embodiment of the invention.Based on the embodiments of the present invention, this field is common Technical staff's every other embodiment obtained without creative efforts belongs to the model that the present invention protects It encloses.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.
In the description of the present invention, it should be noted that term " first ", " second ", " third " etc. are only used for distinguishing and retouch It states, is not understood to indicate or imply relative importance.Furthermore term "and/or" in the application, only a kind of description is closed Join the incidence relation of object, indicates may exist three kinds of relationships, for example, A and/or B, can indicate: individualism A is deposited simultaneously In A and B, these three situations of individualism B.
Since existing NAT64 technology does not have the function of a plurality of outlet automatic load, mainly have for this problem at present Following two solution:
The first carries out load sharing schemes for manual configuration acl rule.The program passes through the equipment in deployment NAT64 On, two or more pieces acl rule is created, it is different to match that the data flow of different destination addresses hits different acl rules NAT64 entry is converted to different IPv4 Internet exportations, to realize load balancing effect.It is interconnected since IPv6 user accesses When net, destination address is varied, can not accomplish that customer traffic is carried out load partition by the destination address of data flow;And Existing Office Network follows the networking model that different departments are divided into different segment mostly, is made datastream source address by artificial For the condition for matching ACL, it is difficult to accomplish dividing equally for equality, and the network dosage of each source address is not also identical.Source address net In the case where section more (department's quantity is more), acl entry configuration is very more, and configuration is complicated, and departmental staff once occurs and changes When leading to number unevenness, also need to adjust acl rule accordingly.
Second of NAT64 scheme for matching message destination address prefix.The program is according to RFC (Request For Comments) standard agreement provides, the well-known prefix of NAT64 is 64:ff9b: :/96, and complete destination address is configured to 64: The address ff9b::IPv4, it is 64:ff9b: that NAT64 equipment, which is matched to customer objective address prefix: when, just the message is carried out NAT64 conversion.Although the destination address pond of conversion can have multiple addresses, these addresses must belong to same subnet, In this case, all messages all meet this prefix condition, can all hit same NAT64 rule, can not accomplish more The load balancing of outlet.Meanwhile a NAT64 rule can only correspond to an address pool, the same address pool requires to belong to same Network segment, and different operators be can not provide same network segment public network address (due in the scene of multi-operator line outlet In, to guarantee not influenced by operator's Single Point of Faliure, the outlet of same operator will not be used substantially).
It should be noted that being inventor by practicing and carefully studying for defect present in above scheme It is obtaining afterwards as a result, therefore, the discovery procedure of the above problem and hereinafter the embodiment of the present invention is proposed regarding to the issue above Solution, all should be inventor in process of the present invention to the contribution made of the present invention.
First embodiment
In consideration of it, as shown in Figure 1, the embodiment of the present application provides a kind of load-balancing method, below in conjunction with Fig. 1 to it The step of institute includes is illustrated.
Step S101: the IPv6 message for carrying out user terminal is received.
When user passes through user terminal access internet, the network equipment can receive the IPv6 for carrying out user terminal initiation Message.Wherein, which is the equipment for having three-layer network protocol conversion, such as router, firewall.
Wherein, it should be noted that the network equipment can all receive the access report that a large amount of different users are initiated all the time Text, and the same user is also to a large amount of access message of initiation.
Step S102: the IPv6 message is converted into IPv4 message, and chooses a public network from preset polymerization address pool Source address of the address as the IPv4 message.
The IPv6 message is converted to IPv4 message after receiving IPv6 message, through NAT64 transformation rule by equipment, And source address of the public network address as the IPv4 message is chosen from preset polymerization address pool, for example, from preset polymerization One public network address of selection in the pond of location sequentially or at random is as the source address after conversion, with maximum proof load equilibrium Effect.Wherein, polymerization has multiple and different operators (such as telecommunications, movement, connection, Tie Tong) to mention in the preset polymerization address pool Multiple public network addresses of the different segment of confession.Wherein, it should be noted that the public network address that different operators provides is different, Usually it is not belonging to same network segment.
Wherein, it should be noted that preset polymerization address pool is setting in advance, i.e., in advance provides multiple and different operators Multiple public network addresses of different segment be aggregated to together, become a polymerization address pool.This is quoted when NAT64 transformation rule to gather Behind complexing address pond, equipment is selected from polymerization address pool at random or sequentially when processing User IP v6 message is converted to IPv4 message It takes a public network address as the source address after conversion, is not necessarily to artificial interference, can be by business load balancing as far as possible, and configuration is patrolled It collects simply, later maintenance workload is small.
In addition, it should be noted that, conversion record can be also generated while IPv6 message is converted to IPv4 message, Wherein, the life cycle of conversion record can configure, for example, then equipment is automatically deleted more than three when being configured to three months A month conversion record, the conversion record within retaining three months.
Wherein, conversion record in include conversion before source address, source port, destination address, destination port and protocol class Source address, source port, destination address, destination port and protocol type after type, and conversion, that is, include the source of IPv6 message The source address of address, source port, destination address, destination port and protocol type and IPv4 message, source port, destination address, mesh Port and protocol type.
Wherein, it should be noted that NAT64 (Network Address Translation 64) is a kind of stateful Network address and protocol conversion technology are, it can be achieved that IPv6 and IPv4 network address and agreement under TCP, UDP, ICMP agreement turn It changes.Difference with NAT is that NAT64 is the network address and protocol conversion that IPv6 network is passed through to IPv6 and IPv4, realizes The two-way exchanging visit of IPv6 network and IPv4 network.
Step S103: transmission includes the IPv4 message of the source address.
After converting, transmission includes the IPv4 message of the source address, is such as sent to network server comprising The IPv4 message of source address is stated, to realize that user accesses the business demand of internet.
In addition, the answer message that IPv4 message of the network equipment after receiving network server response conversion returns When (being also IPv4 message), which is converted to IPv6 message for the answer message by checking that corresponding conversion is recorded, And based on the source address before conversion, user terminal is sent it to.
Second embodiment
As shown in Fig. 2, the embodiment of the present application provides a kind of load-balancing method, included to it below in conjunction with Fig. 2 The step of be illustrated.
Step S201: the IPv6 message for carrying out user terminal is received.
Step S202: with the presence or absence of the conversion record of the corresponding IPv6 message in query history conversion record.
In the present embodiment, before executing step S203, i.e., before the source address after selection conversion, preferential query history With the presence or absence of the conversion record of the corresponding IPv6 message in conversion record.If there is (when to be), then follow the steps S204 thens follow the steps S203 if there is no (when to be no).
It wherein, can based on the source in IPv6 message in conversion record of the inquiry with the presence or absence of corresponding IPv6 message Location, source port, destination address, destination port and protocol type are inquired, if in history conversion record there are identical source Location, source port, destination address, destination port and protocol type record, then it represents that there is corresponding IPv6 in history conversion record The conversion of message records, if in history conversion record there is no identical source address, source port, destination address, destination port and The all identical conversion record of protocol type record, then it represents that be not present.
Step S203: the IPv6 message is converted into IPv4 message, and chooses a public network from preset polymerization address pool Source address of the address as the IPv4 message.
Step S204: being converted to IPv4 message for the IPv6 message, and using the source address in the conversion record as The source address of the IPv4 message.
When to be, i.e., when there is the conversion record of the corresponding IPv6 message in history conversion record, then by the conversion Source address in record is as the source address after conversion, and business is continuous when guaranteeing that same user accesses consolidated network resource Property.For example, TCP establishes the three-way handshake message of connection, if first message conversion hit outlet one, third message conversion life Middle outlet two, then will lead to service disconnection.
Step S205: transmission includes the IPv4 message of the source address.
As an alternative embodiment, this method further include: a certain in the multiple different operators when monitoring When the route of operator is malfunction, automatically by corresponding turn of the failure operator route in the preset polymerization address pool It changes address and is set to failure state, and delete the conversion record obtained based on the conversion address.That is, when equipment monitoring arrives When polymerizeing a certain operator's line fault in address pool, automatically by the corresponding address of failure operator route in polymerization address pool In be set to failure state, no longer sequence or random selections address is used as the source address after converting;Simultaneously, it is contemplated that certain When one operator's line out of service, avoid passing through be matched to failure route it is corresponding have conversion record the case where, therefore, also to delete Conversion record is had based on the address except all, to guarantee the availability of customer service, customer service degree of susceptibility is dropped To minimum.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight Point explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other.
3rd embodiment
The embodiment of the present application also provides a kind of load balancing apparatus, as shown in Figure 3.The load balancing apparatus 100 includes: Receiving module 110, conversion module 120 and sending module 130.
Receiving module 110, for receiving the IPv6 message for carrying out user terminal.
Conversion module 120 for the IPv6 message to be converted to IPv4 message, and is chosen from preset polymerization address pool Source address of one public network address as the IPv4 message;Wherein, polymerization has multiple and different fortune in the preset polymerization address pool Seek the multiple public network addresses for the different segment that quotient provides.When choosing the source address after conversion, the conversion module 120 is also used In choosing a public network address from preset polymerization address pool as the IPv4 message according to selection mode sequentially or at random Source address.
Sending module 130, for send include the source address IPv4 message.
Optionally, the load balancing apparatus 100 further include: enquiry module, for whether being deposited in query history conversion record It is recorded in the conversion of the correspondence IPv6 message.Optionally, the conversion module 120 is also used to, and the IPv6 message is converted For IPv4 message, and using the source address in the conversion record as the source address of the IPv4 message.
Optionally, load balancing apparatus 100 further include: failed module monitors the multiple different operations for working as When the route of a certain operator is malfunction in quotient, automatically by the failure operator route in the preset polymerization address pool Corresponding conversion address is set to failure state, and deletes the conversion record obtained based on the conversion address.
The technical effect of load balancing apparatus 100 provided by the embodiment of the present invention, realization principle and generation and aforementioned Embodiment of the method is identical, and to briefly describe, Installation practice part does not refer to place, can refer to corresponding in preceding method embodiment Content.
Fourth embodiment
The embodiment of the present application also provides a kind of network equipments 200, as shown in Figure 4.The network equipment 200 may include: At least one transceiver 210, at least one processor 220, such as CPU, at least one processor 230 and at least one communication are total Line 240.Wherein, communication bus 240 is for realizing the direct connection communication of these components.Transceiver 210 is for sending and receiving Data.Memory 230 can be high speed RAM memory, be also possible to non-labile memory (non-volatile Memory), a for example, at least magnetic disk storage.Wherein, it is stored with computer-readable instruction fetch in memory 230, such as stored There are software function module shown in Fig. 3, i.e. load balancing apparatus 100.Wherein, load balancing apparatus 100 includes at least one The network equipment 200 can be stored in the memory 230 or is solidificated in the form of software or firmware (firmware) Software function module in operating system (operating system, OS).The processor 220 is for executing memory 230 The executable module of middle storage, such as software function module or computer program that the load balancing apparatus 100 includes.Example Such as, transceiver 210, for receiving the IPv6 message for carrying out user terminal;And processor 220, it is used for the IPv6 message IPv4 message is converted to, and chooses source address of the public network address as the IPv4 message from preset polymerization address pool;Institute Transceiver 210 is stated, the IPv4 message that transmission includes the source address is also used to.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight Point explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other.
5th embodiment
The embodiment of the present application also provides a kind of readable storage medium storing program for executing, is stored thereon with computer program, the computer journey Step of the operation as shown in the first embodiment or the second embodiment when sequence is executed by processor.
In several embodiments provided herein, it should be understood that disclosed device and method can also pass through Other modes are realized.The apparatus embodiments described above are merely exemplary, for example, flow chart and block diagram in attached drawing Show the device of multiple embodiments according to the present invention, the architectural framework in the cards of method and computer program product, Function and operation.In this regard, each box in flowchart or block diagram can represent the one of a module, section or code Part, a part of the module, section or code, which includes that one or more is for implementing the specified logical function, to be held Row instruction.It should also be noted that function marked in the box can also be to be different from some implementations as replacement The sequence marked in attached drawing occurs.For example, two continuous boxes can actually be basically executed in parallel, they are sometimes It can execute in the opposite order, this depends on the function involved.It is also noted that every in block diagram and or flow chart The combination of box in a box and block diagram and or flow chart can use the dedicated base for executing defined function or movement It realizes, or can realize using a combination of dedicated hardware and computer instructions in the system of hardware.
In addition, each functional module in each embodiment of the present invention can integrate one independent portion of formation together Point, it is also possible to modules individualism, an independent part can also be integrated to form with two or more modules.
It, can be with if the function is realized and when sold or used as an independent product in the form of software function module It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, laptop, server or network equipment etc.) execute the whole of each embodiment the method for the present invention Or part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey The medium of sequence code.It should be noted that, in this document, relational terms such as first and second and the like are used merely to one A entity or operation with another entity or operate distinguish, without necessarily requiring or implying these entities or operation it Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant are intended to Cover non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or setting Standby intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in the process, method, article or apparatus that includes the element.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (10)

1. a kind of load-balancing method characterized by comprising
Receive the IPv6 message for carrying out user terminal;
The IPv6 message is converted into IPv4 message, and is chosen described in public network address conduct from preset polymerization address pool The source address of IPv4 message;Wherein, the different segment that polymerization has multiple and different operators to provide in the preset polymerization address pool Multiple public network addresses;
Transmission includes the IPv4 message of the source address.
2. the method according to claim 1, wherein the IPv6 message is converted to IPv4 message described, And before choosing source address step of the public network address as the IPv4 message in preset polymerization address pool, the method is also Include:
With the presence or absence of the conversion record of the corresponding IPv6 message in query history conversion record;
When to be no, execute step: the IPv6 message being converted into IPv4 message, and chooses one from preset polymerization address pool Source address of the public network address as the IPv4 message.
3. method according to claim 1 or 2, which is characterized in that the method also includes:
It, automatically will be described default when the route for monitoring a certain operator in the multiple different operators is malfunction The corresponding conversion address of failure operator route in polymerization address pool is set to failure state, and deletes and be based on the conversion address The conversion of acquisition records.
4. the method according to claim 1, wherein described choose a public network address from preset polymerization address pool Source address as the IPv4 message, comprising:
A public network address is chosen from preset polymerization address pool as the IPv4 message according to selection mode sequentially or at random Source address.
5. a kind of load balancing apparatus characterized by comprising
Receiving module, for receiving the IPv6 message for carrying out user terminal;
Conversion module for the IPv6 message to be converted to IPv4 message, and chooses a public network from preset polymerization address pool Source address of the address as the IPv4 message;Wherein, polymerization has multiple and different operators to mention in the preset polymerization address pool Multiple public network addresses of the different segment of confession;
Sending module, for send include the source address IPv4 message.
6. device according to claim 5, which is characterized in that further include:
Enquiry module, for the conversion record in query history conversion record with the presence or absence of the corresponding IPv6 message.
7. device according to claim 5, which is characterized in that further include:
Failed module, for when monitor a certain operator in the multiple different operators route be malfunction when, from It is dynamic that the corresponding conversion address of failure operator route in the preset polymerization address pool is set to failure state, and delete base In the conversion record that the conversion address obtains.
8. device according to claim 5, which is characterized in that the conversion module is also used to according to sequentially or at random Selection mode chooses source address of the public network address as the IPv4 message from preset polymerization address pool.
9. a kind of network equipment characterized by comprising memory and processor, the memory are connected with the processor;
The memory is for storing program;
The processor is for calling the program being stored in the memory, to execute such as any one of claim 1-4 institute The method stated.
10. a kind of storage medium, which is characterized in that be stored thereon with computer program, the computer program is transported by processor Such as method of any of claims 1-4 is executed when row.
CN201811200682.5A 2018-10-15 2018-10-15 A kind of load-balancing method, device, the network equipment and storage medium Pending CN109218219A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811200682.5A CN109218219A (en) 2018-10-15 2018-10-15 A kind of load-balancing method, device, the network equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811200682.5A CN109218219A (en) 2018-10-15 2018-10-15 A kind of load-balancing method, device, the network equipment and storage medium

Publications (1)

Publication Number Publication Date
CN109218219A true CN109218219A (en) 2019-01-15

Family

ID=64980264

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811200682.5A Pending CN109218219A (en) 2018-10-15 2018-10-15 A kind of load-balancing method, device, the network equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109218219A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113890879A (en) * 2021-09-10 2022-01-04 鸬鹚科技(深圳)有限公司 Load balancing method and device for data access, computer equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103023787A (en) * 2011-09-26 2013-04-03 百度在线网络技术(北京)有限公司 Data center system, data center device and method for providing service
CN103051544A (en) * 2012-12-27 2013-04-17 华为技术有限公司 Method and equipment for access of Internet protocol version 4 (IPv4) private network to Internet protocol version 6 (IPv6) network
CN103117947A (en) * 2013-01-28 2013-05-22 中兴通讯股份有限公司 Load sharing method and device
US20140258496A1 (en) * 2011-09-23 2014-09-11 Baidu Online Network Technology (Beijing) Co., Ltd Data centre system and method for a data centre to provide service
CN104270475A (en) * 2014-09-03 2015-01-07 武汉烽火网络有限责任公司 System and method for achieving intercommunication between IPv4 network and IPv6 network based on NAT64

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140258496A1 (en) * 2011-09-23 2014-09-11 Baidu Online Network Technology (Beijing) Co., Ltd Data centre system and method for a data centre to provide service
CN103023787A (en) * 2011-09-26 2013-04-03 百度在线网络技术(北京)有限公司 Data center system, data center device and method for providing service
CN103051544A (en) * 2012-12-27 2013-04-17 华为技术有限公司 Method and equipment for access of Internet protocol version 4 (IPv4) private network to Internet protocol version 6 (IPv6) network
CN103117947A (en) * 2013-01-28 2013-05-22 中兴通讯股份有限公司 Load sharing method and device
CN104270475A (en) * 2014-09-03 2015-01-07 武汉烽火网络有限责任公司 System and method for achieving intercommunication between IPv4 network and IPv6 network based on NAT64

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113890879A (en) * 2021-09-10 2022-01-04 鸬鹚科技(深圳)有限公司 Load balancing method and device for data access, computer equipment and medium
CN113890879B (en) * 2021-09-10 2023-12-29 鸬鹚科技(深圳)有限公司 Load balancing method and device for data access, computer equipment and medium

Similar Documents

Publication Publication Date Title
US11637906B2 (en) Private service endpoints in isolated virtual networks
JP7275237B2 (en) Creation of virtual networks across multiple public clouds
US11831611B2 (en) Virtual private gateway for encrypted communication over dedicated physical link
CN111345012B (en) System and method for DNS resolution using link-level capacity of destination system
CN104426681B (en) The distributed multicast of endpoint
CN103797774B (en) A kind of network address translation apparatus and method
CN105577723B (en) Virtualize the method and apparatus that load balancing is realized in network
CN102075556B (en) Method for designing service architecture with large-scale loading capacity
CN106953788A (en) A kind of Virtual Network Controller and control method
US11165672B2 (en) Application performance management integration with network assurance
CN106686137B (en) Network isolating device load-balancing method based on L2 data forwarding
CN101631089A (en) Flow calculating method, flow calculating device and flow calculating system based on private network VPN
Bruno et al. CCDA 640-864: official Cert guide
CN107094110A (en) A kind of DHCP message retransmission method and device
CN106533973A (en) Method and system for distributing service message, and equipment
WO2020209099A1 (en) Communication system and communication method
CN105991464B (en) Shunt method, master control borad, interface board and the gateway of network flow
CN107995124A (en) Traffic scheduling method and device
CN109218219A (en) A kind of load-balancing method, device, the network equipment and storage medium
CN105357332B (en) A kind of method for network address translation and device
CN106330492B (en) A kind of method, apparatus and system configuring user equipment forwarding table
CN105939404A (en) NAT (Network Address Translation) resource obtaining method and device
CN108924052A (en) Message forwarding method, aggregation gateway, access gateway and system
Gilesh et al. Resource availability–aware adaptive provisioning of virtual data center networks
李小玲 et al. Research and development of virtual network mapping problem

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190115