CN104486455A - Routing address switching method and device - Google Patents

Routing address switching method and device Download PDF

Info

Publication number
CN104486455A
CN104486455A CN201410748602.5A CN201410748602A CN104486455A CN 104486455 A CN104486455 A CN 104486455A CN 201410748602 A CN201410748602 A CN 201410748602A CN 104486455 A CN104486455 A CN 104486455A
Authority
CN
China
Prior art keywords
address
idc
routing address
routing
domain name
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
CN201410748602.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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201410748602.5A priority Critical patent/CN104486455A/en
Publication of CN104486455A publication Critical patent/CN104486455A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a routing address switching method and device. The method comprises the following steps: issuing the same IP (Internet Protocol) addresses by a plurality of Internet data center IDC internal domain name analysis systems, and issuing same IP addresses by a network spanning across the IDCs; uniformly configuring domain name resolution service IP addresses of business equipment in the systems; when any one of the IDC internal domain name analysis systems has faults, obtaining a routing address of a normal ICD by the system which has the faults; switching the routing address of the system which has the faults to the routing address of the normal ICD according to the obtained routing address. By virtue of the routing address switching method and device, the routing address can be intelligently and dynamically switched when the domain name analysis systems have faults, and the reliability of domain name systems is improved.

Description

Routing address changing method and device
Technical field
The present invention relates to internet domain name field, specifically, relate to a kind of routing address changing method and device.
Background technology
Current, along with the extensive use of ecommerce, all can there be multiple different regions IDC (Internet Data Center in major part enterprise, Internet data center), every station server all must configure DNS (Domain Name System, domain name system) service IP and be used for domain name mapping.But, when whole domain name analysis system is abnormal in the IDC, but there is no a kind of intelligence and highly reliable technology solves this fault.
In the prior art, a kind of processing mode is: the domain name analysis system of each IDC issues different VIP (Virtual IP Address respectively, virtual ip address) domain name mapping is provided, then Servers-all configuration all only configures the VIP of this machine room domain name analysis system, only resolve in this IDC inside in any case, this processing mode makes all parsings only inner at this IDC, the problem of resolving across machine room can not be caused, but when this machine room domain name analysis system fault, the inner all server domain name analysis of whole IDC all will exception.Another kind of processing mode is: the domain name analysis system of each IDC issues different VIP respectively provides domain name mapping, and it is for subsequent use that the VIP that then Servers-all configures one or more machine room domain name analysis system configures one or more other machine room domain name analysis system VIP simultaneously.First each inquiry uses the VIP in this IDC region, attempts resolving inquiry across machine room VIP when failure, and a kind of this IDC of being uses with the domain name mapping VIP across IDC simultaneously.This processing mode has certain defect equally, and when this machine room domain name analysis system fault, domain name mapping request still can use the VIP of first fault to carry out domain name mapping, causes domain name mapping slower like this.The program uses the VIP across IDC to start most to configure to fix in addition, can not carry out intelligent selection parsing according to domain name analysis system load in current network resources, other IDC etc.
Therefore, in order to solve the problem, need a kind of intelligence based on dynamic routing protocol to switch the processing mode of routing address.
Summary of the invention
In order to carry out the switching at runtime of routing address when solving the current field name analysis system jam, the problem of the domain name analysis system poor reliability caused, embodiments of the present invention provide a kind of routing address changing method and device.
On the one hand, embodiment of the present invention provides a kind of routing address changing method, and described method comprises:
Inner for multiple Internet data center IDC domain name analysis system is issued identical IP address, by across the identical IP address of Web Publishing between IDC, the domain name resolution service IP address of business device in the described system of unified configuration;
When arbitrary described IDC interior fields name analysis system jam, described in the system that breaks down obtain the routing address of normal IDC; And
According to the routing address obtained, the routing address of the described system broken down is switched to the routing address of described normal IDC.
Accordingly, embodiment of the present invention additionally provides a kind of routing address switching device shifter, and described device comprises:
Address module, for inner for multiple Internet data center IDC domain name analysis system is issued identical IP address, by across the identical IP address of Web Publishing between IDC, the domain name resolution service IP address of business device in the described system of unified configuration;
Malfunctioning module, for when arbitrary described IDC interior fields name analysis system jam, described in the system that breaks down obtain the routing address of normal IDC; And
Handover module, for according to the routing address obtained, switches to the routing address of described normal IDC by the routing address of the described system broken down.
Implement various execution mode of the present invention and there is following beneficial effect: to realize when domain name analysis system breaks down routing addresses intelligently by adopting the present invention and carry out switching at runtime, improve the reliability of domain name system.
Accompanying drawing explanation
Fig. 1 is the flow chart of the routing address changing method according to embodiment of the present invention;
Fig. 2 shows the particular flow sheet of the step S3 of Fig. 1;
Fig. 3 is the Organization Chart of the routing address switching device shifter according to embodiment of the present invention;
Fig. 4 shows the block diagram of the address module 100 shown in Fig. 3;
Fig. 5 shows the block diagram of the handover module 300 shown in Fig. 3.
Embodiment
Be described in detail to various aspects of the present invention below in conjunction with the drawings and specific embodiments.Wherein, well-known module, unit and connection each other, link, communication or operation do not illustrate or do not elaborate.Further, described feature, framework or function can combine by any way in one or more execution modes.It will be appreciated by those skilled in the art that following various execution modes are only for illustrating, but not for limiting the scope of the invention.Can also easy understand, the module in each execution mode described herein and shown in the drawings or unit or processing mode can be undertaken combining and designing by various different configuration.
Fig. 1 is the flow chart of the routing address changing method according to embodiment of the present invention; See Fig. 1, described method comprises:
Step S1, issues identical IP address by inner for multiple Internet data center IDC domain name analysis system, by across the identical IP address of Web Publishing between IDC, and the domain name resolution service IP address of business device in the described system of unified configuration;
Step S2, when arbitrary described IDC interior fields name analysis system jam, described in the system that breaks down obtain the routing address of normal IDC; And
Step S3, according to the routing address obtained, switches to the routing address of described normal IDC by the routing address of the described system broken down.
Wherein, described IP address identical for multiple Internet data center IDC interior fields name analysis Operation system setting to be comprised: the inner domain name analysis system of described multiple IDC uses the IP address (such as 1.1.1.1) that OSPF (Open Shortest PathFirst, ospf) protocol issuance is identical.Described the IP address identical across Web Publishing between IDC to be comprised: describedly use BGP (Border Gateway Protocol, Border Gateway Protocol) Routing Protocol by across the identical IP address (such as: 1.1.1.1) of Web Publishing between IDC across the network equipment between IDC.
By adopting the present invention to be routing address changing method described in execution mode, routing addresses intelligently can be realized when domain name analysis system breaks down and carries out switching at runtime, improving the reliability of domain name system.
Fig. 2 shows the particular flow sheet of the step S3 of Fig. 1; See Fig. 2, described step S3 comprises:
Step S31, according to the described routing address obtained, carries out Route Selection calculating to each routing address of described acquisition;
Step S32, according to the result that described Route Selection calculates, switches to the routing address of described normal IDC by the described routing address broken down.
Wherein, described Route Selection calculates and comprises: according to the described routing address obtained, and calculates and obtains the path cost value (Cost value) of routing address described in each.It is based on BGP (Border Gateway Protocol that described Route Selection calculates, Border Gateway Protocol)+ISIS (IntermediateSystem-to-Intermediate System, Intermediate System-to-Intermediate System) routing strategy, such as: described IDC is divided into 4 IDC regions, wherein North China Liang Ge region (IDC01 and IDC02) and Liang Ge region, East China (IDC03 and IDC04), when so supposing that region, North China IDC01 domain name analysis system is abnormal, the network equipment of this IDC inside can select new route by BGP in time, and this selection carrys out routing according to the cost of IGP, use selection algorithm nearby, the route cost value getting the North China IDC02 machine room in same region is 200, and be 300 to the route cost value of trans-regional East China IDC01 and IDC02, so with region IDC02 be optimum cluster for subsequent use with regard to intelligent selection.
Fig. 3 is the Organization Chart of the routing address switching device shifter 1 according to embodiment of the present invention; See Fig. 3, described device 1 comprises:
Address module 100, for inner for multiple Internet data center IDC domain name analysis system is issued identical IP address, by across the identical IP address of Web Publishing between IDC, the domain name resolution service IP address of business device in the described system of unified configuration;
Malfunctioning module 200, for when arbitrary described IDC interior fields name analysis system jam, described in the system that breaks down obtain the routing address of normal IDC; And
Handover module 300, for according to the routing address obtained, switches to the routing address of described normal IDC by the routing address of the described system broken down.
By adopting the present invention to be routing address switching device shifter described in execution mode, routing addresses intelligently can be realized when domain name analysis system breaks down and carries out switching at runtime, improving the reliability of domain name system.
Fig. 4 shows the block diagram of the address module 100 shown in Fig. 3; See Fig. 4, described address module 100 comprises:
First address location 110, uses ospf protocol to issue identical IP address (such as 1.1.1.1) for the inner domain name analysis system of described multiple IDC;
Second address location 120, uses BGP Routing Protocol by across the identical IP address (such as 1.1.1.1) of Web Publishing between IDC for the described network equipment across between IDC; And
3rd address location 130, for the domain name resolution service IP address of business device in the described system of unified configuration.
Fig. 5 shows the block diagram of the handover module 300 shown in Fig. 3; See Fig. 5, described handover module 300 comprises:
Computing unit 310, for according to the described routing address obtained, carries out Route Selection calculating to each routing address of described acquisition; And
Switch unit 320, for the result calculated according to described Route Selection, switches to the routing address of described normal IDC by the described routing address broken down.
Wherein, described Route Selection calculates and comprises: according to the described routing address obtained, and calculates and obtains the path cost value (Cost value) of routing address described in each.It is based on BGP (Border Gateway Protocol that described Route Selection calculates, Border Gateway Protocol)+ISIS (IntermediateSystem-to-Intermediate System, Intermediate System-to-Intermediate System) routing strategy, such as: described IDC is divided into 4 IDC regions, wherein North China Liang Ge region (IDC01 and IDC02) and Liang Ge region, East China (IDC03 and IDC04), when so supposing that region, North China IDC01 domain name analysis system is abnormal, the network equipment of this IDC inside can select new route by BGP in time, and this selection carrys out routing according to the cost of IGP, use selection algorithm nearby, the route cost value getting the North China IDC02 machine room in same region is 200, and be 300 to the route cost value of trans-regional East China IDC01 and IDC02, so with region IDC02 be optimum cluster for subsequent use with regard to intelligent selection.
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 of software combined with hardware platform, can certainly all be implemented by hardware.Based on such understanding, what technical scheme of the present invention contributed to background technology can embody with the form of software product in whole or in part, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., comprising some instructions in order to make a computer equipment (can be personal computer, server, smart mobile phone or the network equipment etc.) perform the method described in some part of each embodiment of the present invention or embodiment.
The term used in specification of the present invention and wording, just to illustrating, are not meaned and are formed restriction.It will be appreciated by those skilled in the art that under the prerequisite of the general principle not departing from disclosed execution mode, can various change be carried out to each details in above-mentioned execution mode.Therefore, scope of the present invention is only determined by claim, and in the claims, except as otherwise noted, all terms should be understood by the most wide in range rational meaning.

Claims (9)

1. a routing address changing method, is characterized in that, described method comprises:
Inner for multiple Internet data center IDC domain name analysis system is issued identical IP address, by across the identical IP address of Web Publishing between IDC, the domain name resolution service IP address of business device in the described system of unified configuration;
When arbitrary described IDC interior fields name analysis system jam, described in the system that breaks down obtain the routing address of normal IDC; And
According to the routing address obtained, the routing address of the described system broken down is switched to the routing address of described normal IDC.
2. the method for claim 1, is characterized in that, is describedly comprised IP address identical for multiple Internet data center IDC interior fields name analysis Operation system setting:
The inner domain name analysis system of described multiple IDC uses ospf protocol to issue identical IP address.
3. the method for claim 1, is characterized in that, is describedly comprised the IP address identical across Web Publishing between IDC:
The described network equipment across between IDC uses BGP Routing Protocol by across the identical IP address of Web Publishing between IDC.
4. the method for claim 1, is characterized in that, the described described routing address according to obtaining, comprises the routing address that the routing address of the described system broken down switches to described normal IDC:
According to the described routing address obtained, Route Selection calculating is carried out to each routing address of described acquisition;
According to the result that described Route Selection calculates, the described routing address broken down is switched to the routing address of described normal IDC.
5. method as claimed in claim 4, is characterized in that, described Route Selection calculates and comprises:
According to the described routing address obtained, calculate and obtain the path cost value of routing address described in each.
6. a routing address switching device shifter, is characterized in that, described device comprises:
Address module, for inner for multiple Internet data center IDC domain name analysis system is issued identical IP address, by across the identical IP address of Web Publishing between IDC, the domain name resolution service IP address of business device in the described system of unified configuration;
Malfunctioning module, for when arbitrary described IDC interior fields name analysis system jam, described in the system that breaks down obtain the routing address of normal IDC; And
Handover module, for according to the routing address obtained, switches to the routing address of described normal IDC by the routing address of the described system broken down.
7. device as claimed in claim 6, it is characterized in that, described address module comprises:
First address location, uses ospf protocol to issue identical IP address for the inner domain name analysis system of described multiple IDC;
Second address location, uses BGP Routing Protocol by across the identical IP address of Web Publishing between IDC for the described network equipment across between IDC; And
3rd address location, for the domain name resolution service IP address of business device in the described system of unified configuration.
8. device as claimed in claim 6, it is characterized in that, described handover module comprises:
Computing unit, for according to the described routing address obtained, carries out Route Selection calculating to each routing address of described acquisition; And
Switch unit, for the result calculated according to described Route Selection, switches to the routing address of described normal IDC by the described routing address broken down.
9. device as claimed in claim 8, is characterized in that, described Route Selection calculates and comprises:
According to the described routing address obtained, calculate and obtain the path cost value of routing address described in each.
CN201410748602.5A 2014-12-09 2014-12-09 Routing address switching method and device Pending CN104486455A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410748602.5A CN104486455A (en) 2014-12-09 2014-12-09 Routing address switching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410748602.5A CN104486455A (en) 2014-12-09 2014-12-09 Routing address switching method and device

Publications (1)

Publication Number Publication Date
CN104486455A true CN104486455A (en) 2015-04-01

Family

ID=52760959

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410748602.5A Pending CN104486455A (en) 2014-12-09 2014-12-09 Routing address switching method and device

Country Status (1)

Country Link
CN (1) CN104486455A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111491339A (en) * 2019-01-28 2020-08-04 阿里巴巴集团控股有限公司 Network switching method, device, equipment and storage medium
CN113067781A (en) * 2020-01-02 2021-07-02 阿里巴巴集团控股有限公司 Data processing method and device
CN116915777A (en) * 2023-09-13 2023-10-20 杭州立方控股股份有限公司 Intelligent parking management system and method for seat personnel cooperation

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1326404A1 (en) * 2002-01-08 2003-07-09 Samsung Electronics Co., Ltd. Apparatus, method and system for converting internet protocol adresses
CN101447929A (en) * 2008-12-26 2009-06-03 华为技术有限公司 Traffic routing method, router and communication system
CN103095571A (en) * 2013-01-17 2013-05-08 成都西加云杉科技有限公司 Method and system achieving network redundancy and data flow seamless switching
US20140156812A1 (en) * 2012-12-05 2014-06-05 Fortinet, Inc. Customized configuration settings for a network appliance
CN104104718A (en) * 2014-07-02 2014-10-15 北京邮电大学 User autonomous routing customization system based on software-defined network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1326404A1 (en) * 2002-01-08 2003-07-09 Samsung Electronics Co., Ltd. Apparatus, method and system for converting internet protocol adresses
CN101447929A (en) * 2008-12-26 2009-06-03 华为技术有限公司 Traffic routing method, router and communication system
US20140156812A1 (en) * 2012-12-05 2014-06-05 Fortinet, Inc. Customized configuration settings for a network appliance
CN103095571A (en) * 2013-01-17 2013-05-08 成都西加云杉科技有限公司 Method and system achieving network redundancy and data flow seamless switching
CN104104718A (en) * 2014-07-02 2014-10-15 北京邮电大学 User autonomous routing customization system based on software-defined network

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111491339A (en) * 2019-01-28 2020-08-04 阿里巴巴集团控股有限公司 Network switching method, device, equipment and storage medium
CN113067781A (en) * 2020-01-02 2021-07-02 阿里巴巴集团控股有限公司 Data processing method and device
CN116915777A (en) * 2023-09-13 2023-10-20 杭州立方控股股份有限公司 Intelligent parking management system and method for seat personnel cooperation
CN116915777B (en) * 2023-09-13 2023-12-05 杭州立方控股股份有限公司 Intelligent parking management system and method for seat personnel cooperation

Similar Documents

Publication Publication Date Title
US9929919B2 (en) System and method for virtual network abstraction and switching
US9667538B2 (en) Method and apparatus for connecting a gateway router to a set of scalable virtual IP network appliances in overlay networks
EP2909981B1 (en) Method and system of packet based identifier locator network protocol (ilnp) load balancing and routing
US9948496B1 (en) Determining a transit appliance for data traffic to a software service
EP3012999A1 (en) Method, apparatus and system for creating virtual interfaces based on network characteristics
EP3110087B1 (en) Processing method and related device for host route in virtual sub-network, and communication system
EP3731468A1 (en) Control plane isolation for software defined network routing services
US9071532B2 (en) Method for discovery and load balancing of path computation elements based on transport plane link metrics
EP2723026A1 (en) Method and system of frame based identifier locator network protocol (ILNP) load balancing and routing
US20100146148A1 (en) Using routing protocols to optimize resource utilization
US20220311738A1 (en) Providing persistent external internet protocol address for extra-cluster services
CN104717081A (en) Gateway function realization method and device
US20150229560A1 (en) Method, switch and system for updating route
US20150170508A1 (en) System and method for managing data center alarms
US20100146086A1 (en) Using routing protocols to migrate a hosted account
CN101841462B (en) Method, device and system for informing VRRP state information
CN106936680B (en) System and method for intercommunication among heterogeneous networks of cloud computing platform
CN107682406B (en) Method, device and system for processing service
US20160352617A1 (en) Fast convergence for redundant edge devices
CN104852846B (en) A kind of data forwarding controlling method and system
CN104486455A (en) Routing address switching method and device
CN111182022A (en) Data transmission method and device, storage medium and electronic device
CN104144143A (en) Network establishment method and control device
CN113328931B (en) Route issuing method and device
US11303701B2 (en) Handling failure at logical routers

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: 20150401