CN106161057A - The gateway guard method of a kind of user side, gateway device and system - Google Patents

The gateway guard method of a kind of user side, gateway device and system Download PDF

Info

Publication number
CN106161057A
CN106161057A CN201510154021.3A CN201510154021A CN106161057A CN 106161057 A CN106161057 A CN 106161057A CN 201510154021 A CN201510154021 A CN 201510154021A CN 106161057 A CN106161057 A CN 106161057A
Authority
CN
China
Prior art keywords
gateway device
gateway
data message
user network
switch
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510154021.3A
Other languages
Chinese (zh)
Other versions
CN106161057B (en
Inventor
帅知春
汤闯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201510154021.3A priority Critical patent/CN106161057B/en
Publication of CN106161057A publication Critical patent/CN106161057A/en
Application granted granted Critical
Publication of CN106161057B publication Critical patent/CN106161057B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

The present invention provides the gateway guard method of a kind of user side, gateway device and system, and wherein, the method includes: the first gateway device detection fault message;First gateway device is when the link failure or this first gateway device failure that are connected with this first gateway device being detected, the second gateway device that control and this first gateway device communicate to connect is received the data message of user network boundary device by switch, and to the feedback information of user network boundary device feedback reception data message.The double gateway technique scheme of the present invention is not necessarily to and the protection linkage of pseudo-wire PW, can be applied to user side and directly dock with network edge device.

Description

The gateway guard method of a kind of user side, gateway device and system
Technical field
The present invention relates to communication technical field, particularly relate to gateway guard method, the gateway of a kind of user side Equipment and system.
Background technology
Existing pair of gateway technique needs and the protection linkage of pseudo-wire PW, and may not apply to user side directly and User network boundary device CE docks.
Content of the invention
The technical problem to be solved in the present invention be to provide the gateway guard method of a kind of user side, gateway device and System, can solve the problem that existing pair of gateway technique needs and the protection linkage of pseudo-wire PW, and may not apply to user side The problem that direct and CE docks.
In order to solve above-mentioned technical problem, embodiments of the invention provide the gateway protection side of a kind of user side Method, comprising:
First gateway device detection fault message;
First gateway device is detecting the link failure being connected with this first gateway device or this first net When closing equipment fault, control is connect by switch with the second gateway device of this first gateway device communication connection Receive the data message of user network boundary device, and to user network boundary device feedback reception data message Feedback information.
Wherein, the first gateway device detects that the link failure being connected with this first gateway device includes:
First gateway device detects the first communication link fails between switch and this first gateway device; Or
First gateway device detects the second communication chain between this first gateway device and the second gateway device Road fault.
Wherein, the first gateway device is in the first communication chain detecting between switch and this first gateway device During the fault of road, the second gateway device that control and this first gateway device communicate to connect is received by switch to be used The step of the data message of family network edge device includes:
First gateway device is in the first communication link event detecting between switch and this first gateway device During barrier, the first communication link fails information that sends is to described second gateway device so that described second gateway sets The standby data message being received user network boundary device by switch, and to user network boundary device feedback Receive the feedback information of data message.
Wherein, the first gateway device is second detecting between this first gateway device and the second gateway device During communication link fails, control is connect by switch with the second gateway device of the first gateway device communication connection The step of the data message receiving user network boundary device includes:
First gateway device is second detecting between this first gateway device and described second gateway device During communication link fails, control this first gateway device and described second gateway device is all received by switch The data message of user network boundary device, and anti-to user network boundary device feedback reception data message Feedforward information.
Wherein, the first gateway device is when the first gateway device failure being detected, and control sets with this first gateway Described second gateway device of standby communication connection is received the datagram of user network boundary device by switch Literary composition, and include to the step of the feedback information of user network boundary device feedback reception data message:
First gateway device is detecting this first gateway device failure, and is detecting that described second gateway sets For when not receiving the link failure information being connected with this first gateway device in a preset time period, control Described second gateway device receives the data message of user network boundary device by switch, and to user network The feedback information of network edge device feedback reception data message.
In order to solve above-mentioned technical problem, embodiments of the invention also provide the gateway protection side of a kind of user side Method, comprising:
Second gateway device detection fault message;
Second gateway device detect the first communication link fails between switch and the first gateway device or When person does not receive the interactive information of described first gateway device in a preset time period, connect by switch Receive the data message of user network boundary device, and to user network boundary device feedback reception data message Feedback information.
Wherein, the second gateway device detection does not receive described first gateway device in a preset time period During interactive information, received the data message of user network boundary device by switch, and to user network limit The step of the feedback information of edge equipment feedback reception data message includes:
Second gateway device detects because of second between this second gateway device and described first gateway device Communication link fails, when not receiving the interactive information of described first gateway device in a preset time period, Received the data message of user network boundary device by switch, and connect to user network boundary device feedback Receive the feedback information of data message.
Wherein, the second gateway device detection does not receive described first gateway device in a preset time period During interactive information, received the data message of user network boundary device by switch, and to user network limit The step of the feedback information of edge equipment feedback reception data message includes:
Second gateway device detects that second between this second gateway device and described first gateway device is led to The letter non-fault of link, and in a preset time period, do not receive the interactive information of described first gateway device When, the data message of user network boundary device is received by switch, and anti-to user network boundary device Feedback receives the feedback information of data message.
In order to solve above-mentioned technical problem, embodiments of the invention also provide a kind of gateway device, comprising:
First detection module, is used for detecting fault message;
Control module, for detecting the link failure being connected with this gateway device or the event of this gateway device During barrier, control receives user network limit with the second gateway device of this gateway device communication connection by switch The data message of edge equipment, and to the feedback information of user network boundary device feedback reception data message.
Wherein, described control module includes:
First detection sub-module, for detecting the first communication link event between switch and this gateway device Barrier;Or
Second detection sub-module, for detecting second between this gateway device and described second gateway device Communication link fails.
Wherein, described control module includes:
First process submodule, at the first communication link detecting between switch and this gateway device During fault, the first communication link fails information that sends is to described second gateway device so that described second gateway Equipment receives the data message of user network boundary device by switch, and anti-to user network boundary device Feedback receives the feedback information of data message.
Wherein, described control module includes:
Second process submodule, for the detecting between this gateway device and described second gateway device During two communication link fails, control this gateway device and described second gateway device is all received by switch and uses The data message of family network edge device, and to the feedback of user network boundary device feedback reception data message Information.
Wherein, described control module includes:
3rd process submodule, is used for this gateway device failure being detected, and described second net detected When pass equipment does not receive the link failure information being connected with this gateway device in a preset time period, control Described second gateway device receives the data message of user network boundary device by switch, and to user network The feedback information of network edge device feedback reception data message.
In order to solve above-mentioned technical problem, embodiments of the invention also provide a kind of gateway device, comprising:
Second detection module, is used for detecting fault message;
Feedback module, for detect the first communication link fails between switch and the first gateway device or When person does not receive the interactive information of described first gateway device in a preset time period, connect by switch Receive the data message of user network boundary device, and to user network boundary device feedback reception data message Feedback information.
Wherein, described feedback module includes:
Second detection module, is used for detecting fault message;
First feedback submodule, for detecting because of the between this gateway device and described first gateway device Two communication link fails, do not receive the interactive information of described first gateway device in a preset time period When, the data message of user network boundary device is received by switch, and anti-to user network boundary device Feedback receives the feedback information of data message.
Wherein, described feedback module includes:
Second feedback submodule, for detecting second between this gateway device and described first gateway device The non-fault of communication link, and in a preset time period, do not receive the interactive information of described first gateway device When, the data message of user network boundary device is received by switch, and anti-to user network boundary device Feedback receives the feedback information of data message.
In order to solve above-mentioned technical problem, embodiments of the invention also provide a kind of system, comprising:
User network boundary device, is used for sending datagram;
The switch being connected with described network edge device;
First gateway device, for detect the link failure being connected with this first gateway device or this During one gateway device failure, the second gateway device that control and this first gateway device communicate to connect is by exchange Machine receives the data message of user network boundary device, and to user network boundary device feedback reception datagram The feedback information of literary composition;
Second gateway device, for detecting the first communication link event between switch and the first gateway device Barrier or when not receiving the interactive information of described first gateway device in a preset time period, by exchange Machine receives the data message of user network boundary device, and to user network boundary device feedback reception datagram The feedback information of literary composition.
Wherein, described switch is Layer 2 switch.
Wherein, the three-layer port of described Layer2 switching machine equipment;
It is provided with the first VLAN sub-interface in described three-layer port and the second virtual local area net connects Mouthful;
Described first gateway device is connected with described first VLAN sub-interface, described second gateway device It is connected with described second VLAN sub-interface.
Wherein, described first gateway device has the first priority-level, and described second gateway device has Two priority-level, described first priority-level is more than described second priority-level.
Wherein, described first gateway device and described second gateway device are by two-way converting mechanism BFD meeting Words periodically interaction data.
Wherein, it is configured with ARP Hot Spare between described first gateway device and described second gateway device to protect Protect.
Having the beneficial effect that of the technique scheme of the present invention:
The technique scheme of the present invention, passes through exchange respectively by the first gateway device and the second gateway device The CE docking of machine and user side so that double gateway approach of the present invention, can without linking with PW protection It is applied to user side directly to dock with network edge device.
Brief description
Fig. 1 represents the system architecture schematic diagram of the present invention.
Fig. 2 represents the gateway guard method schematic flow sheet one of the user side of the present invention;
Fig. 3 represents the gateway guard method schematic flow sheet two of the user side of the present invention;
Fig. 4 represents the gateway guard method schematic flow sheet three of the user side of the present invention;
Fig. 5 represents the gateway guard method schematic flow sheet four of the user side of the present invention;
Fig. 6 represents the gateway guard method schematic flow sheet five of the user side of the present invention;
Fig. 7 represents the gateway guard method schematic flow sheet six of the user side of the present invention;
Fig. 8 represents the gateway guard method schematic flow sheet seven of the user side of the present invention;
Fig. 9 represents the gateway guard method schematic flow sheet eight of the user side of the present invention;
Figure 10 represents the first gateway device structural representation one of the present invention;
Figure 11 represents the first gateway device structural representation two of the present invention;
Figure 12 represents the first gateway device structural representation three of the present invention;
Figure 13 represents the first gateway device structural representation four of the present invention;
Figure 14 represents the second gateway device structural representation one of the present invention;
Figure 15 represents the second gateway device structural representation two of the present invention
Figure 16 represents the second gateway device structural representation three of the present invention.
Detailed description of the invention
For making the technical problem to be solved in the present invention, technical scheme and advantage clearer, below in conjunction with attached Figure and specific embodiment are described in detail.
The realization of technical scheme depends on a system, and in conjunction with Fig. 1, this system specifically includes that
User network boundary device, switch, the first gateway device and the second gateway device.Wherein, this friendship Changing planes can be Layer 2 switch, and this Layer 2 switch has three-layer port;This user network boundary device and This switch connects, this first gateway device and this second gateway device three-layer port with this switch respectively Connect.
Below in conjunction with the accompanying drawings 1 and specific embodiment, the flow process of technical scheme is retouched in detail State.
In a particular embodiment of the present invention, two gateway devices have identical IP address and medium access control It is equality between MAC Address processed, and two gateway devices, be clear and definite service route, gateway can be set and set Standby active and standby priority, priority can monopolize and also can seize, and the only high gateway device of priority can Received the data message of user network boundary device by this switch, and anti-to this user network boundary device Feedback receives the feedback information of data message.Can be by the gateway device of priority high (the first priority-level) Being referred to as the first gateway device (main equipment), the gateway device of priority low (the second priority-level) is referred to as Second gateway device (standby equipment).
The technology to the present invention from the angle of the first gateway device and the angle of the second gateway device separately below The flow process of scheme is described in detail.
First the angle from the first gateway device, is described in detail to the flow process of technical scheme.
In conjunction with Fig. 2, double gateway guard methods of this user side include:
Step 21, the first gateway device detection fault message;
Step 22, the first gateway device detect the link failure being connected with this first gateway device or During this first gateway device failure, the second gateway device that control communicates to connect with this first gateway device passes through Switch receives the data message of user network boundary device, and to user network boundary device feedback reception number Feedback information according to message.
Three kinds of situations are divided to be described in detail said method below:
The situation of the first communication link fails between situation one: the first gateway device and switch.
In which case, above-mentioned steps 22, in conjunction with Fig. 3, specifically include:
Step 31, the first gateway device leads to first detecting between switch and this first gateway device During letter link failure, the first communication link fails information that sends is to described second gateway device so that described the Two gateway devices receive the data message of user network boundary device by switch, and to customer network edge The feedback information of equipment feedback reception data message.
Wherein, pass through the second communication link between this first gateway device and this second gateway device, and use Two-way converting mechanism BFD session periodically interaction data, this first gateway device can be by this mechanism week Phase property transmission the first interaction data information is to this second gateway device, wherein, and this first interaction data information bag Include: the priority level information of this first gateway device, first between this first gateway device and switch Communication link state information;Wherein, this BFD session has the predetermined cycle, and this first gateway device is sent out The cycle sending the first interaction data information to the second gateway device is this BFD session cycle.When the second gateway Equipment receive in a preset time period (can be more than the cycle that also can be equal to this BFD session) this During the first communication link fails information between one gateway device and switch, then receive user by switch The data message of network edge device, and to the feedback letter of user network boundary device feedback reception data message Breath.Wherein, why the second gateway device can be received the data of user network boundary device by switch Message, and to the feedback information of user network boundary device feedback reception data message, is because it and user MAC address learning can be passed through so that both may learn the MAC of the other side between network edge device Address, thus communicate.
Situation two: the second communication link fails between this first gateway device and described second gateway device Situation.
In which case, above-mentioned steps 22, in conjunction with Fig. 4, specifically include:
Step 41, the first gateway device detect this first gateway device and described second gateway device it Between the second communication link fails when, control this first gateway device and described second gateway device all by handing over Change planes and receive the data message of user network boundary device, and to user network boundary device feedback reception data The feedback information of message.
Above-mentioned mentioning passes through BFD session interaction number between this first gateway device and this second gateway device According to therefore this first gateway device can be by the of this BFD this second gateway device of session periodic receipt Two interaction data information, wherein, this second interaction data information includes: the priority of this second gateway device Communication link state information between class information and this second gateway device and switch etc., when this One gateway device detects this second communication link fails, does not connect in the above-mentioned preset time period mentioned When receiving the second interaction data information of this second gateway device, then control this first gateway device and this second Gateway device, is all received the data message of user network boundary device by switch, and to user network limit The feedback information of edge equipment feedback reception data message.
The situation of situation three: the first gateway device failure.
In which case, above-mentioned steps 22, in conjunction with Fig. 5, specifically include:
Step 51, the first gateway device is detecting this first gateway device failure, and described detecting Second gateway device does not receive the link failure being connected with this first gateway device in a preset time period During information, control described second gateway device and received the datagram of user network boundary device by switch Literary composition, and to the feedback information of user network boundary device feedback reception data message.
First gateway device is detecting this first gateway device failure, and is detecting that described second gateway sets The standby link being not received by being connected with this first gateway device in the above-mentioned preset time period mentioned is (such as First communication link fails) fault message when, control this second gateway device and receive user network by switch The data message of network edge device, and to the feedback letter of user network boundary device feedback reception data message Breath.
It is above-mentioned for from the angle of the first gateway device, the flow process of technical scheme being described in detail, Angle from the second gateway device below, is described in detail to the flow process of technical scheme.
Double gateway guard methods of this user side, in conjunction with Fig. 6, comprising:
Step 61, the second gateway device detection fault message;
Step 62, the second gateway device detects the first communication chain between switch and the first gateway device Road fault or when not receiving the interactive information of described first gateway device in a preset time period, passes through Switch receives the data message of user network boundary device, and to user network boundary device feedback reception number Feedback information according to message.Wherein, this interactive information is the first interaction data information.
Corresponding to above-mentioned three kinds of situations, from the angle of the second gateway device, this flow process is described in detail.
Corresponding to said circumstances one, this step 62, in conjunction with Fig. 7, specifically include:
Step 71, the second gateway device detects the first communication chain between switch and the first gateway device During the fault of road, received the data message of user network boundary device by switch, and to customer network edge The feedback information of equipment feedback reception data message.
Second gateway device by this BFD session receive in the above-mentioned preset time period mentioned this first During interaction data information, and the first communication link fails between switch and the first gateway device detected When, the data message of user network boundary device is received by switch, and anti-to user network boundary device Feedback receives the feedback information of data message.
Corresponding to said circumstances two, this step 62, in conjunction with Fig. 8, specifically include:
Step 81, the second gateway device detect because of this second gateway device and described first gateway device it Between the second communication link fails, in a preset time period, do not receive the mutual of described first gateway device During information, received the data message of user network boundary device by switch, and set to customer network edge The feedback information of standby feedback reception data message.
This second gateway device detects that second between this second gateway device and this first gateway device is led to During letter link failure, and do not receive the first of this first gateway device in the above-mentioned preset time period mentioned During interaction data information, then received the data message of user network boundary device by switch, and to user The feedback information of network edge device feedback reception data message.
Corresponding to said circumstances three, this step 62, in conjunction with Fig. 9, specifically include:
Step 91, the second gateway device detects between this second gateway device and described first gateway device The second non-fault of communication link, and in a preset time period, do not receive the friendship of described first gateway device During mutual information, received the data message of user network boundary device by switch, and to customer network edge The feedback information of equipment feedback reception data message.
Second gateway device detects that second between this second gateway device and described first gateway device is led to The letter non-fault of link, and do not receive described first gateway device in the above-mentioned preset time period mentioned During the first interaction data information, then the data message by switch reception user network boundary device, and to The feedback information of user network boundary device feedback reception data message.
In order to realize the traffic sharing of this two gateway devices, can arrange in the three-layer port of this switch First VLAN sub-interface and the second VLAN sub-interface;Wherein, a wherein gateway can be set For being connected with the first VLAN sub-interface, another gateway device can be connect with this virtual local area net Mouth connects.Wherein, the MAC of this first VLAN sub-interface and this second VLAN sub-interface Address can be identical.Different VLAN sub-interfaces can be according to the demand configuration preference level of load balancing, also That is: when the high priority that wherein a gateway device is robbed, then connected VLAN sub-interface is also The priority configuring this sub-interface is high priority, and business just can be sent to this priority by this sub-interface On high gateway device.
To sum up, double gateway technique schemes of the present invention are without linking with the protection of pseudo-wire PW, can be applied to use Family side is directly docked with network edge device, it is achieved that double gateway protection of user side.
But, if this first gateway device is chronically at duty, this first gateway device can periodically and User network boundary device mutually learns MAC Address, in order to ensure when above-mentioned three kinds of situations occur, the The efficiency that two gateway devices receive, E-Packet, can be between the first gateway device and the second gateway device Increase the protection of address resolution ARP Hot Spare, i.e. regular first gateway device comprised customer network edge The address table of the MAC Address of equipment sends to the second gateway device, so i.e. eliminates the second gateway and sets The process of the MAC Address of standby study user network boundary device, it is ensured that the second gateway device receives, turns Transmit messages literary composition efficiency.
As shown in Figure 10, embodiments of the invention provide also provides a kind of gateway device, comprising:
First detection module 101, is used for detecting fault message;
Control module 102, for detecting that the link failure being connected with this gateway device or this gateway set During standby fault, control receives user network with the second gateway device of this gateway device communication connection by switch The data message of network edge device, and to the feedback letter of user network boundary device feedback reception data message Breath.
Wherein, described control module 102, comprising:
First detection sub-module, for detecting the first communication link event between switch and this gateway device Barrier;Or
Second detection sub-module, for detecting second between this gateway device and described second gateway device Communication link fails.
Wherein, described control module 102, as shown in figure 11, comprising:
First process submodule 111, for communicating first detecting between switch with this gateway device During link failure, the first communication link fails information that sends is to described second gateway device so that described second Gateway device receives the data message of user network boundary device by switch, and sets to customer network edge The feedback information of standby feedback reception data message.
Wherein, described control module 102, as shown in figure 12, comprising:
Second process submodule 121, for detecting between this gateway device and described second gateway device The second communication link fails when, control this gateway device and described second gateway device all connect by switch Receive the data message of user network boundary device, and to user network boundary device feedback reception data message Feedback information.
Wherein, described control module 102, as shown in figure 13, comprising:
3rd process submodule 131, for this gateway device failure being detected, and is detecting described the When two gateway devices do not receive the link failure information being connected with this gateway device in a preset time period, Control described second gateway device by switch receive user network boundary device data message, and to The feedback information of family network edge device feedback reception data message.
It should be noted that this gateway device is the net including the above-mentioned user side based on the first gateway device side The gateway device of gateway protecting method, the implementation of said method be applicable to the embodiment of this gateway device, Also identical technique effect can be reached.
As shown in figure 14, embodiments of the invention also provide a kind of gateway device, comprising:
Second detection module 141, is used for detecting fault message;
Feedback module 142, for detecting the first communication link event between switch and the first gateway device Barrier or when not receiving the interactive information of described first gateway device in a preset time period, by exchange Machine receives the data message of user network boundary device, and to user network boundary device feedback reception datagram The feedback information of literary composition.
Wherein, described feedback module 142, as shown in figure 15, comprising:
First feedback submodule 151, is used for detecting because of between this gateway device and described first gateway device The second communication link fails, in a preset time period, do not receive the mutual letter of described first gateway device During breath, received the data message of user network boundary device by switch, and to user network boundary device The feedback information of feedback reception data message.
Wherein, described feedback module 142, as shown in figure 16, comprising:
Second feedback submodule 161, for detecting between this gateway device and described first gateway device The second non-fault of communication link, and in a preset time period, do not receive the mutual of described first gateway device During information, received the data message of user network boundary device by switch, and set to customer network edge The feedback information of standby feedback reception data message.
It should be noted that this gateway device is the net including the above-mentioned user side based on the second gateway device side The gateway device of gateway protecting method, the implementation of said method be applicable to the embodiment of this gateway device, Also identical technique effect can be reached.
Embodiments of the invention also provide a kind of system, as shown in Figure 1, comprising:
User network boundary device, is used for sending datagram;
The switch being connected with described network edge device;
First gateway device, for detect the link failure being connected with this first gateway device or this During one gateway device failure, the second gateway device that control and this first gateway device communicate to connect is by exchange Machine receives the data message of user network boundary device, and to user network boundary device feedback reception datagram The feedback information of literary composition;
Second gateway device, for detecting the first communication link event between switch and the first gateway device Barrier or when not receiving the interactive information of described first gateway device in a preset time period, by exchange Machine receives the data message of user network boundary device, and to user network boundary device feedback reception datagram The feedback information of literary composition.
Wherein, described switch is Layer 2 switch.
Wherein, the three-layer port of described Layer2 switching machine equipment;
It is provided with the first VLAN sub-interface in described three-layer port and the second virtual local area net connects Mouthful;
Described first gateway device is connected with described first VLAN sub-interface, described second gateway device It is connected with described second VLAN sub-interface.
Wherein, described first gateway device has the first priority-level, and described second gateway device has Two priority-level, described first priority-level is more than described second priority-level.
Wherein, described first gateway device and described second gateway device are by two-way converting mechanism BFD meeting Words periodically interaction data.
Wherein, it is configured with ARP Hot Spare between described first gateway device and described second gateway device to protect Protect.
It should be noted that this system is the system including above-mentioned gateway device, the realization side of above-mentioned gateway device Formula, be applicable to the embodiment of this system, also can reach identical technique effect.
The above is the preferred embodiment of the present invention, it is noted that for the common skill of the art For art personnel, on the premise of without departing from principle of the present invention, some improvements and modifications can also be made, These improvements and modifications also should be regarded as protection scope of the present invention.

Claims (22)

1. the gateway guard method of a user side, it is characterised in that include:
First gateway device detection fault message;
First gateway device is detecting the link failure being connected with this first gateway device or this first net When closing equipment fault, control is connect by switch with the second gateway device of this first gateway device communication connection Receive the data message of user network boundary device, and to user network boundary device feedback reception data message Feedback information.
2. method according to claim 1, it is characterised in that the first gateway device detects and is somebody's turn to do The link failure that first gateway device connects includes:
First gateway device detects the first communication link fails between switch and this first gateway device; Or
First gateway device detects the second communication chain between this first gateway device and the second gateway device Road fault.
3. method according to claim 2, it is characterised in that the first gateway device is detecting friendship Changing planes and during the first communication link fails between this first gateway device, control is led to this first gateway device The second gateway device that letter connects is received the step of the data message of user network boundary device by switch Including:
First gateway device is in the first communication link event detecting between switch and this first gateway device During barrier, the first communication link fails information that sends is to described second gateway device so that described second gateway sets The standby data message being received user network boundary device by switch, and to user network boundary device feedback Receive the feedback information of data message.
4. method according to claim 2, it is characterised in that the first gateway device is detecting this During the second communication link fails between the first gateway device and the second gateway device, control sets with the first gateway Second gateway device of standby communication connection is received the data message of user network boundary device by switch Step includes:
First gateway device is second detecting between this first gateway device and described second gateway device During communication link fails, control this first gateway device and described second gateway device is all received by switch The data message of user network boundary device, and anti-to user network boundary device feedback reception data message Feedforward information.
5. method according to claim 2, it is characterised in that the first gateway device is detecting During one gateway device failure, described second gateway device that control communicates to connect with this first gateway device passes through Switch receives the data message of user network boundary device, and to user network boundary device feedback reception number Include according to the step of the feedback information of message:
First gateway device is detecting this first gateway device failure, and is detecting that described second gateway sets For when not receiving the link failure information being connected with this first gateway device in a preset time period, control Described second gateway device receives the data message of user network boundary device by switch, and to user network The feedback information of network edge device feedback reception data message.
6. the gateway guard method of a user side, it is characterised in that include:
Second gateway device detection fault message;
Second gateway device detect the first communication link fails between switch and the first gateway device or When person does not receive the interactive information of described first gateway device in a preset time period, connect by switch Receive the data message of user network boundary device, and to user network boundary device feedback reception data message Feedback information.
7. method according to claim 6, it is characterised in that the second gateway device detection is pre- If do not receive the interactive information of described first gateway device in the time period, receive user network by switch The data message of network edge device, and to the feedback information of user network boundary device feedback reception data message Step include:
Second gateway device detects because of second between this second gateway device and described first gateway device Communication link fails, when not receiving the interactive information of described first gateway device in a preset time period, Received the data message of user network boundary device by switch, and connect to user network boundary device feedback Receive the feedback information of data message.
8. method according to claim 6, it is characterised in that the second gateway device detects When not receiving the interactive information of described first gateway device in preset time period, receive user by switch The data message of network edge device, and to the feedback letter of user network boundary device feedback reception data message The step of breath includes:
Second gateway device detects that second between this second gateway device and described first gateway device is led to The letter non-fault of link, and in a preset time period, do not receive the interactive information of described first gateway device When, the data message of user network boundary device is received by switch, and anti-to user network boundary device Feedback receives the feedback information of data message.
9. a gateway device, it is characterised in that include:
First detection module, is used for detecting fault message;
Control module, for detecting the link failure being connected with this gateway device or the event of this gateway device During barrier, control receives user network limit with the second gateway device of this gateway device communication connection by switch The data message of edge equipment, and to the feedback information of user network boundary device feedback reception data message.
10. gateway device according to claim 9, it is characterised in that described control module includes:
First detection sub-module, for detecting the first communication link event between switch and this gateway device Barrier;Or
Second detection sub-module, for detecting second between this gateway device and described second gateway device Communication link fails.
11. gateway devices according to claim 10, it is characterised in that described control module includes:
First process submodule, at the first communication link detecting between switch and this gateway device During fault, the first communication link fails information that sends is to described second gateway device so that described second gateway Equipment receives the data message of user network boundary device by switch, and anti-to user network boundary device Feedback receives the feedback information of data message.
12. gateway devices according to claim 10, it is characterised in that described control module includes:
Second process submodule, for the detecting between this gateway device and described second gateway device During two communication link fails, control this gateway device and described second gateway device is all received by switch and uses The data message of family network edge device, and to the feedback of user network boundary device feedback reception data message Information.
13. gateway devices according to claim 10, it is characterised in that described control module includes:
3rd process submodule, is used for this gateway device failure being detected, and described second net detected When pass equipment does not receive the link failure information being connected with this gateway device in a preset time period, control Described second gateway device receives the data message of user network boundary device by switch, and to user network The feedback information of network edge device feedback reception data message.
14. 1 kinds of gateway devices, it is characterised in that include:
Second detection module, is used for detecting fault message;
Feedback module, for detect the first communication link fails between switch and the first gateway device or When person does not receive the interactive information of described first gateway device in a preset time period, connect by switch Receive the data message of user network boundary device, and to user network boundary device feedback reception data message Feedback information.
15. gateway devices according to claim 14, it is characterised in that described feedback module includes:
First feedback submodule, for detecting because of the between this gateway device and described first gateway device Two communication link fails, do not receive the interactive information of described first gateway device in a preset time period When, the data message of user network boundary device is received by switch, and anti-to user network boundary device Feedback receives the feedback information of data message.
16. gateway devices according to claim 14, it is characterised in that described feedback module includes:
Second feedback submodule, for detecting second between this gateway device and described first gateway device The non-fault of communication link, and in a Preset Time, do not receive the interactive information of described first gateway device When, the data message of user network boundary device is received by switch, and anti-to user network boundary device Feedback receives the feedback information of data message.
17. 1 kinds of systems, it is characterised in that include:
User network boundary device, is used for sending datagram;
The switch being connected with described network edge device;
First gateway device, for detect the link failure being connected with this first gateway device or this During one gateway device failure, the second gateway device that control and this first gateway device communicate to connect is by exchange Machine receives the data message of user network boundary device, and to user network boundary device feedback reception datagram The feedback information of literary composition;
Second gateway device, for detecting the first communication link event between switch and the first gateway device Barrier or when not receiving the interactive information of described first gateway device in a preset time period, by exchange Machine receives the data message of user network boundary device, and to user network boundary device feedback reception datagram The feedback information of literary composition.
18. systems according to claim 17, it is characterised in that described switch is Layer2 switching Machine.
19. systems according to claim 18, it is characterised in that
The three-layer port of described Layer2 switching machine equipment;
It is provided with the first VLAN sub-interface in described three-layer port and the second virtual local area net connects Mouthful;
Described first gateway device is connected with described first VLAN sub-interface, described second gateway device It is connected with described second VLAN sub-interface.
20. systems according to claim 17, it is characterised in that described first gateway device has First priority-level, described second gateway device has the second priority-level, described first priority level Great Yu described second priority-level.
21. systems according to claim 20, it is characterised in that
Described first gateway device and described second gateway device are by the two-way converting mechanism BFD session cycle Property interaction data.
22. systems according to claim 17, it is characterised in that described first gateway device and institute State and between the second gateway device, be configured with the protection of ARP Hot Spare.
CN201510154021.3A 2015-04-02 2015-04-02 User side gateway protection method, gateway equipment and system Active CN106161057B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510154021.3A CN106161057B (en) 2015-04-02 2015-04-02 User side gateway protection method, gateway equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510154021.3A CN106161057B (en) 2015-04-02 2015-04-02 User side gateway protection method, gateway equipment and system

Publications (2)

Publication Number Publication Date
CN106161057A true CN106161057A (en) 2016-11-23
CN106161057B CN106161057B (en) 2020-03-27

Family

ID=57337409

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510154021.3A Active CN106161057B (en) 2015-04-02 2015-04-02 User side gateway protection method, gateway equipment and system

Country Status (1)

Country Link
CN (1) CN106161057B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111669322A (en) * 2017-07-20 2020-09-15 深圳市盛路物联通讯技术有限公司 Relay bridging method and gateway
CN112615755A (en) * 2019-12-18 2021-04-06 北京金风慧能技术有限公司 Data transmission method and system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030021226A1 (en) * 2001-07-24 2003-01-30 Gal Mor Interconnect and gateway protection in bidirectional ring networks
CN1893338A (en) * 2005-06-28 2007-01-10 阿尔卡特公司 Communication path redundancy protection systems and methods
CN1933442A (en) * 2005-09-15 2007-03-21 华为技术有限公司 Method and system for realizing virtual router redundant protocol master and standby equipment switching
CN101166111A (en) * 2006-10-20 2008-04-23 中兴通讯股份有限公司 A service protection method for access gateway
CN101242254A (en) * 2008-02-26 2008-08-13 中兴通讯股份有限公司 Virtual redundant router system and method for transmitting virtual redundant routing protocol packet
CN101312439A (en) * 2007-05-24 2008-11-26 中国电信股份有限公司 Flexible IP gateway protecting method
US8365241B1 (en) * 2008-06-09 2013-01-29 Symantec Corporation Method and apparatus for archiving web content based on a policy
CN103052106A (en) * 2012-12-20 2013-04-17 华为技术有限公司 Protection method of cross-device linear multiplex section, gateways and controller

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030021226A1 (en) * 2001-07-24 2003-01-30 Gal Mor Interconnect and gateway protection in bidirectional ring networks
CN1893338A (en) * 2005-06-28 2007-01-10 阿尔卡特公司 Communication path redundancy protection systems and methods
CN1933442A (en) * 2005-09-15 2007-03-21 华为技术有限公司 Method and system for realizing virtual router redundant protocol master and standby equipment switching
CN101166111A (en) * 2006-10-20 2008-04-23 中兴通讯股份有限公司 A service protection method for access gateway
CN101312439A (en) * 2007-05-24 2008-11-26 中国电信股份有限公司 Flexible IP gateway protecting method
CN101242254A (en) * 2008-02-26 2008-08-13 中兴通讯股份有限公司 Virtual redundant router system and method for transmitting virtual redundant routing protocol packet
US8365241B1 (en) * 2008-06-09 2013-01-29 Symantec Corporation Method and apparatus for archiving web content based on a policy
CN103052106A (en) * 2012-12-20 2013-04-17 华为技术有限公司 Protection method of cross-device linear multiplex section, gateways and controller

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111669322A (en) * 2017-07-20 2020-09-15 深圳市盛路物联通讯技术有限公司 Relay bridging method and gateway
CN111669322B (en) * 2017-07-20 2022-04-22 深圳市盛路物联通讯技术有限公司 Relay bridging method and gateway
CN112615755A (en) * 2019-12-18 2021-04-06 北京金风慧能技术有限公司 Data transmission method and system
CN112615755B (en) * 2019-12-18 2022-03-29 北京金风慧能技术有限公司 Data transmission method and system

Also Published As

Publication number Publication date
CN106161057B (en) 2020-03-27

Similar Documents

Publication Publication Date Title
CN101155109B (en) Ethernet switching system and equipment
US8208369B2 (en) Ethernet ring system and a master node and an initialization method thereof
CN103825766B (en) Device and method for detecting BFD links
US20120113835A1 (en) Inter-network carrier ethernet service protection
CN104104570A (en) Aggregation processing method in IRF (Intelligent Resilient Framework) system and device
CN100568853C (en) Layer 2 forwarding method and forwarding unit
US8199637B2 (en) VPLS remote failure indication
CN103051536A (en) Quick multicast switching method of two-layer redundant link
CN103428060A (en) Seamless redundancy realization method of loop network
CN103843286A (en) Triggering a redundant router master/backup status change based on switch connectivity
CN101345686B (en) Processing method, apparatus and system of virtual special local area network service loop
WO2016034127A1 (en) System and method for achieving dual-node interconnection pseudo-wire
CN101964719B (en) Based on the data processing method of master control board switching, line card and master control borad
CN105591800A (en) Traffic protection method and device
WO2010031295A1 (en) Control method for ethernet failure recovery
CN101547131B (en) EAPS looped network single-channel fault location and protection method
CN102215165B (en) A kind of message processing method of tangent ring networks and Ethernet switch
CN103825819A (en) Methods and devices for sending and receiving messages
CN106161057A (en) The gateway guard method of a kind of user side, gateway device and system
WO2013127179A1 (en) Fault handling method, device and system for virtual private local area network
WO2016095406A1 (en) Method and device for controlling network port
EP2512070A1 (en) Protection method, equipment and system for semi-ring network
CN102724128B (en) A kind of based on the message forwarding method in the dual-homing networking of MPLS L3VPN and equipment
WO2011017892A1 (en) Method and apparatus for implementing load sharing for communication traffic
US8971175B2 (en) Method for implementing protection group overlay, and method and system for ethernet protection switching

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant