CN106452926A - Network flow load balancing method - Google Patents

Network flow load balancing method Download PDF

Info

Publication number
CN106452926A
CN106452926A CN201611141721.XA CN201611141721A CN106452926A CN 106452926 A CN106452926 A CN 106452926A CN 201611141721 A CN201611141721 A CN 201611141721A CN 106452926 A CN106452926 A CN 106452926A
Authority
CN
China
Prior art keywords
address
group
equipment
load balancing
routing
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
CN201611141721.XA
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.)
Beijing Wisdom Cloud Technology Co Ltd
Original Assignee
Beijing Wisdom Cloud Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Wisdom Cloud Technology Co Ltd filed Critical Beijing Wisdom Cloud Technology Co Ltd
Priority to CN201611141721.XA priority Critical patent/CN106452926A/en
Publication of CN106452926A publication Critical patent/CN106452926A/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
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0668Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure

Landscapes

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

Abstract

The invention discloses a network flow load balancing method. A group of IP addresses is analyzed from a domain name, each IP address is edited into a routing group, each group contains two or more server devices, however one server device serves as a master device and the other devices serve as slave devices at the same time; and meanwhile, one server device is distributed in different IP address groups, no new load balancing device needs to be increased, a load balancing function is completely achieved by the routing function of a switch, in a certain IP address group, and when the master device is faulty, the slave device is automatically switched according to different priorities of routing protocols, thereby ensuring the continuity of services. Since a master-slave protocol is employed, abnormal jitter of the entire IP address will not happen, in the case of faults, the restoration time is very short and is about 1 second due to the routing protocol level.

Description

Network traffic load method in a balanced way
Technical field
The present invention relates to Internet technical field, especially relate to a kind of network traffic load method in a balanced way.
Background technology
With social development, Internet user's rapid growth has driven flourishing of internet economy, mobile interchange Net, ecommerce, Internet video, branded network advertisement, online recruitment, online game etc. were rapidly developed in the extremely short time And have accumulated numerous users, become an indispensable part in people's life.
CDN (content distributing network) technology using at present, needs in the different corresponding nodes of regional deployment, Yong Hu When accessing the Internet, by dispatching technique, the access request of user is dispatched in the optimum CDN node of service quality.In CDN Intra-node, is typically first accessed domain name, is obtained the IP address of service by dns agreement, then go to access by IP address real Service.Service scale progressively expands at any time, and access request also gets more and more, and now can form server set using one group of server Group, externally provides service in the lump by server cluster.Now, the entrance that user accesses is still domain name, by dns protocol analysis Go out the IP address of this cluster.
Have several as follows at present in the common analysis mode of CDN node:
1. parse an IP address, this IP address falls on single load-balancing device, set by load balancing The standby scheduling carrying out cluster internal.
● advantage is when wherein a certain server fail, can automatically weed out in cluster internal, and fault takes Business device rejected the time in 1 second, was not very big on overall quality of service impact.
Shortcoming is to need to increase extra load-balancing device, and this undoubtedly increased O&M cost.
2. parse one group of IP address, an equipment in the corresponding cluster of each IP address.
● advantage is not need extra load balancing machine, will not increase extra cost.
Shortcoming is that the recovery of failed server depends on dns to parse, and the time that server failure recovers is generally at 1 point More than clock, the local dns of especially part province operator does not follow agreement.
3. parse an IP address, this IP address is assigned to multiple devices through switch ecmp agreement equal-cost route On.
● advantage is not need extra load balancing machine, will not increase extra cost, and failure recovery time was at 1 second Within.
Shortcoming is when failed server is recovered, and is limited to ecmp protocol convergence it may occur that whole cluster the whole network is shaken Phenomenon.
Content of the invention
It is an object of the invention to provide a kind of network traffic load method in a balanced way, to solve to carry in above-mentioned background technology The problem going out and defect, on the premise of not increase equipment, reduce fault handling time, are also not result in unit exception simultaneously When convergence and shake.
For achieving the above object, the present invention provides following technical scheme:
A kind of network traffic load method in a balanced way, translates domain names into out one group of IP address, and each IP address is compiled as One group of routes, comprises 2 and with last server apparatus in each group, but only has one as main equipment simultaneously, other Equipment is as from equipment;Meanwhile, server apparatus are distributed in different IP address groups, when working properly, IP address It is resolved on main equipment, flow load work is undertaken by main equipment;When main equipment breaks down, IP address automatically switches to standby On equipment.
Preferred as technique scheme, translate domain names into out one group of IP address, each IP address is compiled as one Group of routes, comprises 2 service equipments in each group, this two service equipments enable simultaneously;And each equipment is on different IP ground In the group of location.
Advantages of the present invention:
(1) do not need to increase new load-balancing device, completely by the routing function of switch, realize load balancing work( Energy.
(2) in certain IP address group, when master-failure, different according to the priority of Routing Protocol, can automatically cut Change on stand-by equipment it is ensured that the seriality of service.Due to using active and standby agreement, the different of whole IP address will not occur Often shake.
(3) when a failure occurs it, because being Routing Protocol aspect, recovery time can be very fast, about at 1 second about.
Brief description
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing Have technology description in required use accompanying drawing be briefly described it should be apparent that, drawings in the following description be only this Some embodiments of invention, for those of ordinary skill in the art, without having to pay creative labor, also may be used So that other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of structural representation of network traffic load embodiment 1 of method in a balanced way.
Fig. 2 is a kind of structural representation of network traffic load embodiment 2 of method in a balanced way.
Specific embodiment
Purpose, technical scheme and advantage for making the embodiment of the present invention are clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described it is clear that described embodiment only It is only a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill The every other embodiment that personnel are obtained under the premise of not making creative work, broadly falls into the scope of protection of the invention.
Refer to Fig. 1, the embodiment of the present invention 1 is as follows:
Translate domain names into out one group of IP address, each IP address is a group of routes, in each group, comprise 2 or many Individual server apparatus, but only have one as main equipment simultaneously, and other equipment is as from equipment;Meanwhile, a server sets Standby can be distributed in different IP address groups.The main service equipment of in figure is in running order, and standby service equipment is in standby State, when main service equipment breaks down, is automatically taken over the work of main service equipment by standby service equipment.Because above-mentioned technology Based on Routing Protocol, IP packet is transmitted according to the routing table appointed in advance in transmission process, thus without leading to Convergence during unit exception and shake.Simultaneously as above-mentioned action is automatically performed according to load-balancing technique, therefore at another Angle also saves fault handling time.
Refer to Fig. 2, the embodiment of the present invention 2 is as follows:
Translate domain names into out one group of IP address, each IP address is a group of routes, comprise 2 services in each group and set Standby, this two service equipments enable simultaneously.One equipment can be in different IP address groups.
Note:The service equipment of in figure is in working condition, and when breaking down for wherein one, service automatically switches to surplus Under an other equipment on.
The better embodiment that the foregoing is only the present invention is explained in detail, but the present invention is not limited to above-mentioned reality Apply mode, protection domain is not limited thereto, any those familiar with the art the invention discloses technology model In enclosing, the change or replacement that can readily occur in, all should be included within the scope of the present invention, the embodiment of the present invention is acceptable Make a variety of changes on the premise of without departing from this patent objective.Therefore, protection scope of the present invention should be with claim Protection domain is defined.

Claims (2)

1. a kind of network traffic load in a balanced way method it is characterised in that translating domain names into out one group of IP address, each IP ground Location is compiled as a group of routes, comprises 2 and with last server apparatus in each group, but only has one simultaneously and set as master Standby, other equipment is as from equipment;Meanwhile, server apparatus are distributed in different IP address groups, when working properly, IP address is resolved on main equipment, undertakes flow load work by main equipment;When main equipment breaks down, IP address is cut automatically Change on standby equipment.
2. a kind of network traffic load according to claim 1 in a balanced way method it is characterised in that translating domain names into out One group of IP address, each IP address is compiled as a group of routes, comprises 2 service equipments in each group, this two service equipments Enable simultaneously;And each equipment is in different IP address groups.
CN201611141721.XA 2016-12-12 2016-12-12 Network flow load balancing method Pending CN106452926A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611141721.XA CN106452926A (en) 2016-12-12 2016-12-12 Network flow load balancing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611141721.XA CN106452926A (en) 2016-12-12 2016-12-12 Network flow load balancing method

Publications (1)

Publication Number Publication Date
CN106452926A true CN106452926A (en) 2017-02-22

Family

ID=58217018

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611141721.XA Pending CN106452926A (en) 2016-12-12 2016-12-12 Network flow load balancing method

Country Status (1)

Country Link
CN (1) CN106452926A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107171971A (en) * 2017-05-11 2017-09-15 北京云端智度科技有限公司 Network traffic load method in a balanced way is realized using uniformity Hash strategy
CN107222544A (en) * 2017-06-14 2017-09-29 千寻位置网络有限公司 High availability method and system based on multilayer service architecture

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101465768A (en) * 2009-01-12 2009-06-24 上海及第熊软件科技有限公司 Method and system for implementing website disaster-tolerating and error-tolerating operation
CN102739453A (en) * 2012-07-03 2012-10-17 华为软件技术有限公司 Master-standby switching method, device and system
CN102761618A (en) * 2012-07-03 2012-10-31 杭州华三通信技术有限公司 Method, equipment and system for realizing load balancing

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101465768A (en) * 2009-01-12 2009-06-24 上海及第熊软件科技有限公司 Method and system for implementing website disaster-tolerating and error-tolerating operation
CN102739453A (en) * 2012-07-03 2012-10-17 华为软件技术有限公司 Master-standby switching method, device and system
CN102761618A (en) * 2012-07-03 2012-10-31 杭州华三通信技术有限公司 Method, equipment and system for realizing load balancing

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
金涛: "《动态DNS实现智能负载均衡》", 《人工智能及识别技术》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107171971A (en) * 2017-05-11 2017-09-15 北京云端智度科技有限公司 Network traffic load method in a balanced way is realized using uniformity Hash strategy
CN107222544A (en) * 2017-06-14 2017-09-29 千寻位置网络有限公司 High availability method and system based on multilayer service architecture

Similar Documents

Publication Publication Date Title
Xu et al. Survivable virtual infrastructure mapping in virtualized data centers
CN101911600B (en) Method and system via the Mapless global traffic load balancing of Anycast
CN101595696B (en) Multipath virtual router redundancy
US8122289B2 (en) Load balancing and high availability of compute resources
WO2017113273A1 (en) Software defined data center and scheduling and traffic-monitoring method for service cluster therein
US9705704B2 (en) Method and system of forming a mobile virtual network
CN102130776B (en) Communication method and system
CN107454155A (en) A kind of fault handling method based on load balancing cluster, device and system
CN106034077A (en) Dynamic route configuration method, device and system thereof
US20220321470A1 (en) Wide area networking service using provider network backbone network
CN104780088A (en) Service message transmission method and equipment
CN101515885A (en) Method and system for assigning a plurality of MAC to a plurality of processors
US20130182605A1 (en) Method and system for providing a mobile virtual router
CN102244609B (en) Solve VPLS and access method and the router that L3 failover causes stopping
CN107171971A (en) Network traffic load method in a balanced way is realized using uniformity Hash strategy
CN105791402A (en) Network virtualization realization method of cloud computing platform and corresponding plug-in and agent
WO2023092778A1 (en) Method for realizing uninterrupted multicast traffic during migration of virtual machine
CN102647360B (en) Method and equipment for transmitting messages in VRRPE (virtual router redundancy protocol equilibrium)
CN106452926A (en) Network flow load balancing method
CN104243304B (en) The data processing method of non-full-mesh topological structure, equipment and system
CN102857435B (en) Method and device for forwarding three-layer data flow in data center site
CN106059803A (en) Method for realizing southbound and northbound communication of virtual machines on computing nodes
US7711780B1 (en) Method for distributed end-to-end dynamic horizontal scalability
WO2016090815A1 (en) Switching control method and device in deploying high-capacity service
CN103117880A (en) Web technology based network topological generation method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into 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: 20170222