CN108574626A - A kind of distribution NAT two-node cluster hot backup flow switching systems and method - Google Patents

A kind of distribution NAT two-node cluster hot backup flow switching systems and method Download PDF

Info

Publication number
CN108574626A
CN108574626A CN201710146895.3A CN201710146895A CN108574626A CN 108574626 A CN108574626 A CN 108574626A CN 201710146895 A CN201710146895 A CN 201710146895A CN 108574626 A CN108574626 A CN 108574626A
Authority
CN
China
Prior art keywords
host
business
cpu
failure
business cpu
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.)
Withdrawn
Application number
CN201710146895.3A
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201710146895.3A priority Critical patent/CN108574626A/en
Priority to PCT/CN2018/075429 priority patent/WO2018166308A1/en
Publication of CN108574626A publication Critical patent/CN108574626A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • 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/255Maintenance or indexing of mapping tables
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/38Flow based routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming

Landscapes

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

Abstract

The invention discloses a kind of distribution NAT two-node cluster hot backup flow switching systems and method, the system comprises:Host, standby host and the router for being connected to public network, wherein host, for the nat translation table of each business CPU in the machine based on configuration, to router publication high priority routing;And in certain business CPU failure of host, the notification message of business CPU failure is sent to standby host, and cancels the public network routing for belonging to the failure business CPU;Standby host, for the nat translation table of each business CPU in the machine based on configuration, to router publication low priority routing;And when receiving notification message, the business entry status switching of business CPU corresponding with the failure business CPU in host is main state;Wherein, host is identical with the nat translation table of each business CPU in standby host.The present invention reduces the quantity of flow switching, reduce the risk of flow interrupt, improve the connectivity of service traffics switching.

Description

A kind of distribution NAT two-node cluster hot backup flow switching systems and method
Technical field
The present invention relates to two-node cluster hot backup networking technical field more particularly to a kind of distribution NAT (network address translation, Netword Address Translation) two-node cluster hot backup flow switching system and method.
Background technology
With petering out for the addresses IPv4, the use of NAT technologies is more and more extensive, the speed to NAT conversions and conversion The requirement of capacity is higher and higher, and in this case, distributed deployment NAT just becomes the inevitable choice of large capacity office point.And divide Cloth NAT can be by the IP address resource allocation in address pool to each business CPU (S-CPU), but works as some business CPU Out of joint, originally walking the flow in this business CPU can interrupt, therefore often dispose a distribution again in existing network environment Formula equipment forms double-machine warm backup surroundings.
In current networking application, two-node cluster hot backup is in equipment room by using Virtual Router Redundancy Protocol (Virtual Router Redundancy, abbreviation VRRP) carries out active and standby election, therefore equipment also just forms active and standby pass System, when host equipment goes wrong, standby host is come take over business.
And for distributed NAT business, when individual S-CPU when something goes wrong, the service switching of complete machine can be carried out, That is, can so that normally the service traffics of S-CPU also switch over originally for those.However, the business of this complete machine is cut It changes and is affected for the connectivity of service traffics, so, how to solve existing individual S-CPU and go wrong to carry out complete machine Service traffics reachability problem, becomes the technical problems to be solved by the invention caused by being switched to.
Invention content
In view of the above problems, it is proposed that the present invention is in order to provide a kind of distributed NAT two-node cluster hot backups to solve the above problems Part flow switching system and method.
One side according to the present invention provides a kind of distribution NAT two-node cluster hot backup flow switching systems, including:It is main Machine, standby host and the router for being connected to public network, the host include multiple business CPUs, the standby host include with it is more in host A business CPU multiple business CPUs correspondingly;
The host is issued high for the nat translation table of each business CPU in the machine based on configuration to the router Priority route by;And in certain business CPU failure of host, the notification message of business CPU failure is sent to the standby host, and Revocation belongs to the public network routing of the failure business CPU;
The standby host is issued low for the nat translation table of each business CPU in the machine based on configuration to the router Priority route by;And when receiving the notification message, by industry corresponding with the failure business CPU in host in the machine The business entry status switching of business CPU is main state;
Wherein, the host is identical with the nat translation table of each business CPU in the standby host.
Other side according to the present invention provides a kind of distribution NAT two-node cluster hot backup flow switching methods, applies It including host, standby host and is connected in the system of router of public network, wherein the host includes multiple business CPUs, described standby Machine include with the multiple business CPUs correspondingly of multiple business CPUs in host, it is each in the machine of the host and standby host configuration The nat translation table of business CPU is identical;The method includes:
Nat translation table of the host based on each business CPU in the machine is issued to the router and is route;Wherein, described The routing priority that host is issued to the router is higher than the routing priority that the standby host is issued to the router;
The host sends the notification message of business CPU failure to the standby host in certain business CPU failure, and cancels Belong to the public network routing of the failure business CPU.
In terms of third according to the present invention, a kind of distribution NAT two-node cluster hot backup flow switching methods are provided, are applied It including host, standby host and is connected in the system of router of public network, wherein the host includes multiple business CPUs, described standby Machine include with the multiple business CPUs correspondingly of multiple business CPUs in host, it is each in the machine of the host and standby host configuration The nat translation table of business CPU is identical;The method includes:
Nat translation table of the standby host based on each business CPU in the machine is issued to the router and is route;Wherein, described The routing priority that standby host is issued to the router is less than the routing priority that the host is issued to the router;
The standby host when receiving the notification message for certain business CPU failure that the host is sent, by the machine with master The business entry status switching of the corresponding business CPU of failure business CPU in machine is main state.
The present invention has the beneficial effect that:
System and method of the present invention only cut the S-CPU flows that can not be worked when certain S-CPU breaks down Corresponding S-CPU on standby host is changed to, the quantity of flow switching is reduced, reduces the risk of flow interrupt, improve service traffics and cut The connectivity changed, and improve the stability and reliability of system.
Above description is only the general introduction of technical solution of the present invention, in order to better understand the technical means of the present invention, And can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, below the special specific implementation mode for lifting the present invention.
Description of the drawings
By reading the detailed description of hereafter preferred embodiment, various other advantages and benefit are common for this field Technical staff will become clear.Attached drawing only for the purpose of illustrating preferred embodiments, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 is a kind of framework for distribution NAT two-node cluster hot backup flow switching systems that first embodiment of the invention provides Figure;
Fig. 2 is that the distributed NAT two-node cluster hot backups flow under a kind of concrete scene that second embodiment of the invention provides is cut Change the Organization Chart of system;
Fig. 3 is that distribution NAT two-node cluster hot backups part S-CPU flows switch schematic diagram in second embodiment of the invention;
Fig. 4 is a kind of flow for distribution NAT two-node cluster hot backup flow switching methods that third embodiment of the invention provides Figure;
Fig. 5 is a kind of stream for distribution NAT two-node cluster hot backup flow switching methods that fourth embodiment of the invention provides Cheng Tu.
Specific implementation mode
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure Completely it is communicated to those skilled in the art.
In order to solve present in the two-node cluster hot backup deployment of existing distribution NAT business when wherein individual S-CPU can not When normal work, complete machine switching causes the flow business on normal S-CPU originally also and then to switch, and there are flow interrupts The problem of risk, a kind of distribution NAT two-node cluster hot backup flow switching systems of offer of the embodiment of the present invention and method, the system And method, in such a way that S-CPU is individually switched, when the one of S-CPU of host goes wrong, the stream on not entire host Amount is all switched to standby host, and is only switched to the flow on this part S-CPU currently to go wrong corresponding on standby host On S-CPU, only when the quantity of the S-CPU to go wrong on host reaches the threshold value of setting, just the complete machine state of host is cut Complete machine state for standby state, standby host is cut to major state, and the entire host that replaces works on.Below by several embodiments to this The scheme of invention is described in detail.
In the first embodiment of the invention, a kind of distribution NAT two-node cluster hot backup flow switching systems are provided, such as Fig. 1 institutes Show, the system comprises:Host 110, standby host 120 and the router 130 for being connected to public network, the host 110 include multiple industry Be engaged in CPU, the standby host 120 include with the multiple business CPUs correspondingly of multiple business CPUs in host, wherein:
Host 110 issues Gao You for the nat translation table of each business CPU in the machine based on configuration to the router First grade routing;And in certain business CPU failure of host, the notification message of business CPU failure is sent to the standby host, and is removed Pin belongs to the public network routing of the failure business CPU;
Standby host 120 is issued low excellent for the nat translation table of each business CPU in the machine based on configuration to the router First grade routing;And when receiving the notification message, by business corresponding with the failure business CPU in host in the machine The business entry status switching of CPU is main state;
Wherein, host 110 is identical with the nat translation table of each business CPU in standby host 120, that is, host 110 and standby host 120 with Identical address pool, according to identical configuration mode, configure the nat translation table of each business CPU in the machine.
In the embodiment of the present invention, since client de-asserts belong to the public network routing of failure business CPU, in this way, standby host can be made The public network routing of publication comes into force, and since host 110 is identical with the nat translation table of each business CPU in standby host 120, to The flow for flowing to failure business CPU can be made to flow into business CPU corresponding with the failure business CPU in standby host.
Further, in this embodiment flow to failure business CPU flow flow into standby host in the failure business CPU phase Corresponding business CPU, specifically includes:
On public network to private network direction, that is, enter to flow, router 130 has been removed in the host computer side for receiving the transmission of public network side When the data message of the public network routing of pin, according to the nat translation table of each business CPU in the standby host, by the data message It is sent in standby host in business CPU corresponding with failure business CPU;
On private network to public network direction, that is, go out to flow, if the failure business CPU of host 110 receives private network side transmission Data message when, which is sent on the standby host in business CPU corresponding with the failure business CPU, by Data message is sent to public network by the business CPU.
Further, in an alternate embodiment of the present invention where, host 110 is sent to failure industry receiving private network side When the data message of business CPU, by the designated lane pre-established, which is sent on the standby host and the failure In the corresponding business CPU of business CPU.
Further, in one particular embodiment of the present invention, host 110 are additionally operable to the business in host computer side failure After CPU restores normal, sends out failure business CPU to standby host 120 and restore normal notification message, and in standby host side finishing service table After item synchronizes, restore the public network routing of normal business CPU to the publication of router 130;
Standby host 120 is additionally operable to when receiving notification message, corresponding with normal business CPU is restored in instruction the machine Business CPU restore regular traffic CPU synchronous service list items into host 110, and after business list item synchronously completes, by the machine The business entry status of interior business CPU corresponding with normal business CPU is restored is switched to standby state.
Further, in an alternate embodiment of the present invention where, host 110 is by the backup path that pre-establishes, to Standby host 120 sends the notification message.
Further, in an alternate embodiment of the present invention where, host 110 is further wrapped in certain business CPU failure It includes:Host 110 judges whether the quantity of the business CPU currently to break down reaches the threshold value of setting, when reached, carries out active and standby Machine-cut is changed, and otherwise, the notification message of business CPU failure is sent to the standby host.That is, when the business to go wrong on host When the ratio of CPU numbers and all business SPU are more than the ratio of configuration, carry out switch between master and slave machines and replace host that is, based on standby host change Work.
In summary, system described in the embodiment of the present invention only makes the S- that can not be worked when certain S-CPU breaks down CPU flows are switched to corresponding S-CPU on standby host, reduce the quantity of flow switching, reduce the risk of flow interrupt, improve industry The connectivity of business flow switching, and improve the stability and reliability of system.
In the second embodiment of the present invention, a kind of distribution NAT two-node cluster hot backup flow switching systems, the system are provided System includes:
Two racks, and a reliable two-way backup path is configured between two racks, the business CPU between two racks (hereinafter referred to as " S-CPU ") passes through the interaction of this channel and backup traffic data.
Further, it is standby that a master one is negotiated between two racks, forms the concept of standby machine;Wherein, host includes one CPU and multiple S-CPU is controlled, standby host is identical as host, also includes a control CPU and multiple S-CPU.Wherein, host is more Multiple S-CPU of a S-CPU and standby host are corresponded.
Further, the system also includes:Router, which is the router being connect with public network, above-mentioned active and standby Machine is connected with the router.NAT is housed, the router is according to identical address pool, according to identical on the router Configuration strategy configures the nat translation table of each S-CPU in standby machine, i.e., public network IP is issued on each S-CPU of standby machine. Since router uses identical address pool and identical configuration strategy, so, each S-CPU in the host configured Nat translation table is identical as the nat translation table of each S-CPU in standby host.
Further, in the embodiment of the present invention, after the nat translation table that each S-CPU is completed in configuration, host is high by issuing Priority route will be from that will enter on the S-CPU that flow guides to host, and standby host then issues low priority routing, as upstream router Route stand-by.Go out to flow and host or standby host are then sent to according to the state of VRRP.
Further, in the embodiment of the present invention, when some S-CPU is out of joint on host, control CPU (R-CPU) is logical The R-CPU that the S-CPU information to go wrong is notified standby host by backup path is crossed, while revocation belongs to the public network routing of this S-CPU, Make to be forwarded directly to standby host into flow.Standby host switches the business list item of local S-CPU when receiving host S-CPU fault messages Working condition makes the change of its list item be main state.Since VRRP does not switch, goes out to flow and be also destined for host, but because based on The S-CPU of machine is problematic, can not do NAT business, therefore, a designated lane is also configured in the embodiment of the present invention, between standby machine, The flow for belonging to problematic S-CPU is guided on the corresponding S-CPU of standby host using the channel and does NAT business.
Further, in the embodiment of the present invention, after the S-CPU to go wrong on host before restores normal, host is still The R-CPU that recovery S-CPU information is notified to standby host by backup path, after standby host receives this information, by the letter on this S-CPU Breath synchronizes back host, and then host starts to issue the public network routing of the S-CPU, and host is led back by entering to flow.
Optionally, in the embodiment of the present invention, a ratio can be configured, when the S-CPU numbers to go wrong on host and is owned S-CPU ratio be more than configuration ratio or host R-CPU when can not work, VRRP switch between master and slave machines, based on standby host becomes Machine replaces host work, enters to and go out all to walk new host to flow.
Further, in the embodiment of the present invention, go out and assigned to flow on each S-CPU according to Diffluence Algorithm to flow, it will After message source ip is converted to public network ip, public network is forwarded to by purpose ip, and it is then by the public network purpose ip of message to enter to flow It is forwarded again after being converted to private network ip, is which S_CPU that can be determined flow and walk so for entering to flow.
With reference to a concrete scene, the technical solution of the embodiment of the present invention more in detail illustrate, specifically As shown in Fig. 2, the present embodiment the system comprises:Host and standby host, wherein host and standby host are including a R-CPU and two A S-CPU.
In the present embodiment, the S-CPU1 of host is corresponding with the S-CPU1 of standby host, the S-CPU1 of host is logical by backing up Business datum is backed up to the S-CPU1 of standby host by road.
The S-CPU2 of host is corresponding with the S-CPU2 of standby host, and the S-CPU2 of host is by backup path by business datum Back up to the S-CPU2 of standby host.
The respective local S-CPU states of R-CPU management of standby machine, and R-CPU passes through backup link and obtains opposite end S- The state of CPU.
Host issues high priority routing, and standby host issues low priority routing, and business inbound traffics are directed to host, go out to stream Amount is sent to host according to the state of VRRP.
As shown in figure 3, when host S-CPU1 goes wrong, the public network routing that S-CPU1 is belonged on host is revoked, simultaneously The S-CPU1 of host notification standby host host goes wrong, and after standby host receives the notice of host, the S_CPU1 of standby host starts to work, And refresh the working condition of S_CPU1 business list items.Entering to flow for host S-CPU1 was originally walked at this time is directly switch to standby host On S-CPU1, go out to flow and host is first sent to according to VRRP states, by proprietary logical if being diverted on the CPU to go wrong Road is sent to standby host, then is dealt into public network from the S-CPU1 on standby host, and the flow of host S-CPU2 remains unchanged.
Further, after host S-CPU1 restores, host notifies the S-CPU1 of standby host host to restore first, and standby host is attempted The business list item on local S-CPU1 is synchronized, notice host publication public network routing, will flow into S-CPU1 in standby host after the completion of backup Enter to flow to lead back host, and go out after flow is sent to host, be sent directly on the S-CPU1 restored in host, and by The S-CPU1 is sent to public network.
Further, in the embodiment of the present invention, enter switch to flow during, since the publication and revocation of routing have Certain delay, during this period, flow still can be sent in original equipment, will appear flow interrupt in this way, in order to avoid The generation of such case prevents disconnected as shown in figure 3, the present invention can will be entered to flow by designated lane guides to opposite end The case where stream.
In summary, system described in the embodiment of the present invention only makes the S- that can not be worked when certain S-CPU breaks down CPU flows are switched to corresponding S-CPU on standby host, reduce the quantity of flow switching, reduce the risk of flow interrupt, improve industry The connectivity of business flow switching, and improve the stability and reliability of system.
In third embodiment of the invention, a kind of distribution NAT two-node cluster hot backup flow switching methods are provided, applies and is wrapping It includes host, standby host and is connected in the system of router of public network, wherein the host includes multiple business CPUs, the standby host Include and the multiple business CPUs correspondingly of multiple business CPUs in host, wherein the machine of the host and standby host configuration The nat translation table of interior each business CPU is identical.
As shown in figure 4, described method includes following steps for the present embodiment:
Step S401, nat translation table of the host based on each business CPU in the machine are issued to the router and are route;Its In, the routing priority that the host is issued to the router is preferential higher than the routing that the standby host is issued to the router Grade;
Step S402, host send the notification message of business CPU failure to the standby host in certain business CPU failure, and Revocation belongs to the public network routing of the failure business CPU.
Further, in the embodiment of the present invention, described in the host is sent by the backup path that pre-establishes, to standby host Notification message.
Further, in the method for the embodiment of the present invention, host is after the business CPU of failure restores normal, to standby host It sends out failure business CPU and restores normal notification message, and after standby host side finishing service list item synchronizes, sent out to the router Cloth restores the public network routing of normal business CPU.
In summary, the method for the embodiment of the present invention, host belong to this when certain S-CPU breaks down, by revocation The public network of failure business CPU is route so that the S-CPU flows that can not be worked are switched to corresponding S-CPU on standby host, reduce flow The quantity of switching reduces the risk of flow interrupt, improves the connectivity of service traffics switching, and improves the stability of system And reliability.
In fourth embodiment of the invention, a kind of distribution NAT two-node cluster hot backup flow switching methods are provided, applies and is wrapping It includes host, standby host and is connected in the system of router of public network, wherein the host includes multiple business CPUs, the standby host Include and the multiple business CPUs correspondingly of multiple business CPUs in host, wherein the machine of the host and standby host configuration The nat translation table of interior each business CPU is identical.
As shown in figure 5, described method includes following steps for the present embodiment:
Step S501, nat translation table of the standby host based on each business CPU in the machine are issued to router and are route;Wherein, institute It states the routing priority that standby host is issued to the router and is less than the routing priority that the host is issued to the router;
Step S502, standby host receive host transmission certain business CPU failure notification message when, by the machine with master The business entry status switching of the corresponding business CPU of failure business CPU in machine is main state.
Further, the method for the embodiment of the present invention further includes:
Standby host receive host transmission failure business CPU restore normal notification message when, instruction the machine in it is extensive The multiple normal corresponding business CPU of business CPU restores regular traffic CPU synchronous service list items into the host, and in industry After business list item synchronously completes, the business entry status of business CPU corresponding with normal business CPU is restored in the machine is switched For standby state.
In summary, the method for the embodiment of the present invention, when the S-CPU of host computer side breaks down, standby host side is receiving After the notification message sent to host computer side, by by the industry of business CPU corresponding with the failure business CPU in host in the machine Business entry status switching is main state, and to handle the flow for draining into this business CPU, matches with the processing mode of host computer side It closes so that the S-CPU flows that can not be worked are switched to corresponding S-CPU on standby host, reduce the quantity of flow switching, reduce flow The risk of interruption, improves the connectivity of service traffics switching, and improves the stability and reliability of system.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage Medium may include:ROM, RAM, disk or CD etc..
In short, the foregoing is merely illustrative of the preferred embodiments of the present invention, it is not intended to limit the scope of the present invention. All within the spirits and principles of the present invention, any modification, equivalent replacement, improvement and so on should be included in the present invention's Within protection domain.

Claims (10)

1. a kind of distribution NAT two-node cluster hot backup flow switching systems, including:Host, standby host and the router for being connected to public network, The host includes multiple business CPUs, and the standby host includes and the multiple business correspondingly of multiple business CPUs in host CPU, it is characterised in that:
The host, it is high preferential to router publication for the nat translation table of each business CPU in the machine based on configuration Grade routing;And in certain business CPU failure of host, the notification message of business CPU failure is sent to the standby host, and is cancelled Belong to the public network routing of the failure business CPU;
The standby host, it is low preferential to router publication for the nat translation table of each business CPU in the machine based on configuration Grade routing;And when receiving the notification message, by business corresponding with the failure business CPU in host in the machine The business entry status switching of CPU is main state;
Wherein, the host is identical with the nat translation table of each business CPU in the standby host.
2. the system as claimed in claim 1, which is characterized in that after revocation belongs to the public network routing of the failure business CPU, tool Body includes:
On public network to private network direction, the router is on the public network road that the host computer side for receiving the transmission of public network side has cancelled By data message when, according to the nat translation table of each business CPU in the standby host, by the data message be sent in standby host with In the corresponding business CPU of failure business CPU;
On private network to public network direction, the host, will when receiving private network side and being sent to the data message of failure business CPU The data message is sent on the standby host in business CPU corresponding with the failure business CPU, by the business CPU by data Message is sent to public network.
3. system as claimed in claim 2, which is characterized in that if the failure business CPU of the host receives private network side hair When the data message sent, by the designated lane pre-established, which is sent on the standby host and the failure industry In the corresponding business CPUs of CPU of being engaged in.
4. the system as claimed in claim 1, which is characterized in that the host further comprises in certain business CPU failure:
The threshold value whether quantity for the business CPU that the host judgement is currently broken down reaches setting is led when reached Standby host switches, and otherwise, the notification message of business CPU failure is sent to the standby host.
5. the system as claimed in claim 1, which is characterized in that
The host is additionally operable to after the business CPU of host computer side failure restores normal, and sending out failure business CPU to standby host restores Normal notification message, and after standby host side finishing service list item synchronizes, restore normal business CPU to router publication Public network routing;
The standby host is additionally operable to when receiving notification message, industry corresponding with normal business CPU is restored in instruction the machine Business CPU restores regular traffic CPU synchronous service list items into the host, and after business list item synchronously completes, will be in the machine The business entry status of business CPU corresponding with normal business CPU is restored is switched to standby state.
6. the method as described in claim 1 or 5, which is characterized in that the host passes through the backup path pre-established, Xiang Bei Machine sends the notification message.
7. a kind of distribution NAT two-node cluster hot backup flow switching methods, are applied including host, standby host and the road for being connected to public network By in the system of device, wherein the host includes multiple business CPUs, and the standby host includes and multiple business CPUs one in host One corresponding multiple business CPUs, which is characterized in that the nat translation table of each business CPU in the host and the machine of standby host configuration It is identical, the method includes:
Nat translation table of the host based on each business CPU in the machine is issued to the router and is route;Wherein, the host The routing priority issued to the router is higher than the routing priority that the standby host is issued to the router;
The host sends the notification message of business CPU failure to the standby host, and cancel and belong in certain business CPU failure The public network of the failure business CPU is route.
8. the method for claim 7, which is characterized in that further include:
The host sends out failure business CPU after the business CPU of failure restores normal, to standby host and restores normally to notify to disappear Breath, and after standby host side finishing service list item synchronizes, restore the public network routing of normal business CPU to router publication.
9. a kind of distribution NAT two-node cluster hot backup flow switching methods, are applied including host, standby host and the road for being connected to public network By in the system of device, wherein the host includes multiple business CPUs, and the standby host includes and multiple business CPUs one in host One corresponding multiple business CPUs, which is characterized in that the nat translation table of each business CPU in the host and the machine of standby host configuration It is identical, the method includes:
Nat translation table of the standby host based on each business CPU in the machine is issued to the router and is route;Wherein, the standby host The routing priority issued to the router is less than the routing priority that the host is issued to the router;
The standby host when receiving the notification message for certain business CPU failure that the host is sent, by the machine in host The corresponding business CPU of failure business CPU business entry status switching be main state.
10. method as claimed in claim 9, which is characterized in that further include:
The standby host receive host transmission failure business CPU restore normal notification message when, instruction the machine in it is extensive The multiple normal corresponding business CPU of business CPU restores regular traffic CPU synchronous service list items into the host, and in industry After business list item synchronously completes, the business entry status of business CPU corresponding with normal business CPU is restored in the machine is switched For standby state.
CN201710146895.3A 2017-03-13 2017-03-13 A kind of distribution NAT two-node cluster hot backup flow switching systems and method Withdrawn CN108574626A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710146895.3A CN108574626A (en) 2017-03-13 2017-03-13 A kind of distribution NAT two-node cluster hot backup flow switching systems and method
PCT/CN2018/075429 WO2018166308A1 (en) 2017-03-13 2018-02-06 Distributed nat dual-system hot backup traffic switching system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710146895.3A CN108574626A (en) 2017-03-13 2017-03-13 A kind of distribution NAT two-node cluster hot backup flow switching systems and method

Publications (1)

Publication Number Publication Date
CN108574626A true CN108574626A (en) 2018-09-25

Family

ID=63523879

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710146895.3A Withdrawn CN108574626A (en) 2017-03-13 2017-03-13 A kind of distribution NAT two-node cluster hot backup flow switching systems and method

Country Status (2)

Country Link
CN (1) CN108574626A (en)
WO (1) WO2018166308A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111131547A (en) * 2019-12-30 2020-05-08 浪潮云信息技术有限公司 Method for avoiding TCP connection interruption during NAT gateway active/standby switching
CN112217717A (en) * 2020-08-31 2021-01-12 全讯汇聚网络科技(北京)有限公司 Network switching method and system based on dual-computer hot standby

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110418388B (en) * 2019-08-22 2022-02-01 深圳市万普拉斯科技有限公司 Cell reselection control method and device and mobile terminal
CN110704250B (en) * 2019-09-23 2023-03-03 天津津航计算技术研究所 Hot backup device of distributed system
CN113507386B (en) * 2021-06-25 2023-11-07 新华三信息安全技术有限公司 Hybrid backup method, device, equipment and machine-readable storage medium
CN113625540A (en) * 2021-07-19 2021-11-09 交控科技股份有限公司 Dual-computer hot standby control method and device and dual-computer hot standby system
CN116232864B (en) * 2023-05-05 2023-07-14 井芯微电子技术(天津)有限公司 Multi-machine hot backup method and system for network system based on event controller

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101841408A (en) * 2010-05-07 2010-09-22 北京星网锐捷网络技术有限公司 Primary/standby route equipment switching method and route equipment
CN101860492A (en) * 2010-06-28 2010-10-13 中兴通讯股份有限公司 Quick switching method, device and system
CN101902360A (en) * 2010-07-28 2010-12-01 中兴通讯股份有限公司 Method for synchronizing information between master equipment and standby equipment and server
CN203482216U (en) * 2013-09-24 2014-03-12 浙江大华系统工程有限公司 Network equipment
EP2833583A1 (en) * 2012-03-30 2015-02-04 Nec Corporation Network appliance redundancy system, control device, network appliance redundancy method and program
CN104780055A (en) * 2014-01-10 2015-07-15 华为技术有限公司 Data stream processing method and data stream processing device
CN105357114A (en) * 2014-08-21 2016-02-24 杭州迪普科技有限公司 Distributed network equipment
CN106302198A (en) * 2015-05-25 2017-01-04 中兴通讯股份有限公司 The collocation method of cluster routers cpu resource and cluster routers

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7760717B2 (en) * 2005-10-25 2010-07-20 Brocade Communications Systems, Inc. Interface switch for use with fibre channel fabrics in storage area networks
WO2015066840A1 (en) * 2013-11-05 2015-05-14 华为技术有限公司 Device and method for network address conversion

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101841408A (en) * 2010-05-07 2010-09-22 北京星网锐捷网络技术有限公司 Primary/standby route equipment switching method and route equipment
CN101860492A (en) * 2010-06-28 2010-10-13 中兴通讯股份有限公司 Quick switching method, device and system
CN101902360A (en) * 2010-07-28 2010-12-01 中兴通讯股份有限公司 Method for synchronizing information between master equipment and standby equipment and server
EP2833583A1 (en) * 2012-03-30 2015-02-04 Nec Corporation Network appliance redundancy system, control device, network appliance redundancy method and program
CN203482216U (en) * 2013-09-24 2014-03-12 浙江大华系统工程有限公司 Network equipment
CN104780055A (en) * 2014-01-10 2015-07-15 华为技术有限公司 Data stream processing method and data stream processing device
CN105357114A (en) * 2014-08-21 2016-02-24 杭州迪普科技有限公司 Distributed network equipment
CN106302198A (en) * 2015-05-25 2017-01-04 中兴通讯股份有限公司 The collocation method of cluster routers cpu resource and cluster routers

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111131547A (en) * 2019-12-30 2020-05-08 浪潮云信息技术有限公司 Method for avoiding TCP connection interruption during NAT gateway active/standby switching
CN112217717A (en) * 2020-08-31 2021-01-12 全讯汇聚网络科技(北京)有限公司 Network switching method and system based on dual-computer hot standby

Also Published As

Publication number Publication date
WO2018166308A1 (en) 2018-09-20

Similar Documents

Publication Publication Date Title
CN108574626A (en) A kind of distribution NAT two-node cluster hot backup flow switching systems and method
JP4747118B2 (en) Router, communication guarantee method and communication guarantee program
CN100456694C (en) Method and apparatus for providing network connector
JP4877482B2 (en) PCI Express link, multi-host computer system, and PCI Express link reconfiguration method
CN102209024B (en) The moving method of virtual machine and system
US6751191B1 (en) Load sharing and redundancy scheme
CN101588304B (en) Implementation method of VRRP and device
CN102821044B (en) Method and device for configuring server cluster
EP3016316B1 (en) Network control method and apparatus
JP4461175B2 (en) Transmission apparatus and redundancy method between transmission apparatus and layer 2 switch
US20030198182A1 (en) High-availability packet forwarding apparatus and method
EP1678894A1 (en) Redundant routing capabilities for a network node cluster
JP2007088949A (en) Information processing apparatus, communication load diffusing method and communication load diffusion program
JP2009105690A (en) Layer-2 redundancy protocol interconnection device
EP2717525A1 (en) Method, routing device and system for redundant backup of network device
WO2011035587A1 (en) Method, apparatus, system for address management
US20070177589A1 (en) Network system and node redundancy method of network system
CN100512220C (en) Method for realizing service protection on elastic group ring
JP2002057682A (en) Network interface changeover method and computer connectable to network
CN102710520B (en) Method and device for backing up lonworks network service (LNS)
CN102647304A (en) Synchronizing method of address resolution protocols and device
CN101005398B (en) Double machine work method on single frame device
CN113259235A (en) IPv 6-based dual-active route redundancy method and system
CN102651711B (en) A kind of methods, devices and systems set up and use the floating network segment
CN102932230B (en) Method and device for virtual router redundancy protocol backup group issuing routing

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20180925