CN102006268A - Method, equipment and system for switching main interface and standby interface - Google Patents

Method, equipment and system for switching main interface and standby interface Download PDF

Info

Publication number
CN102006268A
CN102006268A CN200910171414XA CN200910171414A CN102006268A CN 102006268 A CN102006268 A CN 102006268A CN 200910171414X A CN200910171414X A CN 200910171414XA CN 200910171414 A CN200910171414 A CN 200910171414A CN 102006268 A CN102006268 A CN 102006268A
Authority
CN
China
Prior art keywords
network interface
user data
data protocol
standby
physics
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN200910171414XA
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN200910171414XA priority Critical patent/CN102006268A/en
Publication of CN102006268A publication Critical patent/CN102006268A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention discloses a method, equipment and a system for switching a main interface and a standby interface, applied to the technical field of communication. In switching of the main interface and the standby interface of the embodiment of the invention, since different addresses for user data protocol communication with an opposite terminal are bound on a main physical network port and a standby physical network port, the standby physical network port can detect the quality of a network for communication with the opposite terminal when the main physical network port carries out the user data protocol communication with the opposite terminal so that management equipment can decide whether to switch the main interface and the standby interface according to the quality of the network for the user data protocol communication between the standby physical network port and the opposite terminal and confirm to switch the main interface and the standby interface when the network has high quality. Accordingly, the invention improves the reliability of the user data protocol communication between the main physical network port and the opposite terminal after the main interface and the standby interface are switched.

Description

Active and standby interface switching method, equipment and system
Technical field
The present invention relates to communication technical field, particularly active and standby interface switching method, equipment and system.
Background technology
In the present communications field, based on adopting physics network interface (FE) to transmit the UDP message between the equipment of User Data Protocol (UDP), active and standby physics network interface (promptly main with physics network interface FE1 and spare physical network interface FE2) is arranged on the UDP equipment, the media interviews of their correspondences (MAC) layer address difference, in the ordinary course of things, have only FE1 to pass through the mac-layer address of procotol (IP) address and FE1 oneself, communicate by letter with the opposite end; After the network that FE1 communicates by letter with the opposite end broke down, FE2 switched to the main interface of using, and passed through the mac-layer address of described IP address and FE2 oneself, communicated by letter with the opposite end.
Active and standby physics network interface is connected to two switching Ethernet hub (LANSWITCH in the UDP equipment, L) as the relevant interface of L1 and L2, on L1, preserve the mac-layer address of IP address and FE1 oneself, be connected by VLAN path (VLAN TRUNK) between L1 and the L2.When the communication network of FE1 discovery and opposite end breaks down, management equipment in system sends a request message, ask the switching of active and standby physics network interface, when FE1 receives the switch acknowledgment message that management equipment is returned, active and standby physics network interface is switched, be about to FE1 and switch to the spare physical network interface, FE2 is switched to the main physics network interface of using, simultaneously, the L1 that is connected with FE1 can pass through the VLAN path, and the operation of using Virtual Router Redundacy Protocol (VRRP) will receive and dispatch the UDP message is switched on the L2, and preserves described IP address on L2, and the IP address of preserving on L1 before this IP address and the switching is the same.After active and standby like this interface switched, FE2 can carry out UDP with the opposite end and communicate by letter.
In the process to above-mentioned prior art practice and research, the present inventor finds:
In the switching of existing active and standby interface, management equipment is after receiving request message, whether the decisions such as s own situation of the information that presets according to oneself, active and standby interface place equipment can carry out the switching of active and standby physics network interface, like this, if main after switching carries out the unstable networks that UDP transmits with network interface FE2 and opposite end, can make that to transmit UDP in the network after switching also unreliable.
Summary of the invention
Active and standby interface switching method, equipment and system that the embodiment of the invention provides have improved the reliability of UDP packet sending and receiving.
A kind of active and standby interface switching method that the embodiment of the invention provides comprises:
Receive the main request message that sends with the physics network interface, the switching of active and standby physics network interface is carried out in request;
Obtain the spare physical network interface and carry out the quality information that User Data Protocol UDP communicates by letter with the opposite end;
If determine that described quality information meets the requirement of presetting, return switch acknowledgment message to described master with the physics network interface, to carry out the switching of active and standby physics network interface.
The another kind of active and standby interface switching method that the embodiment of the invention provides comprises:
Determine mainly to carry out the network that User Data Protocol UDP communicates by letter with physics network interface and opposite end and break down, send a request message, ask to carry out the switching of active and standby physics network interface to management equipment;
Receive described management equipment and carry out the quality information that User Data Protocol UDP communicates by letter in spare physical network interface and opposite end and meet the switch acknowledgment message of returning after the requirement of presetting, carry out the switching of active and standby physics network interface.
Another active and standby interface switching method that the embodiment of the invention provides comprises:
Use the spare physical network interface to carry out address and the standby media interviews layer address that User Data Protocol UDP communicates by letter, detect described spare physical network interface and carry out the quality information that subscriber equipment agreement UDP communicates by letter with the opposite end with the opposite end;
Described quality information is reported management equipment, so that described management equipment carries out determining whether to carry out the switching of active and standby physics network interface according to described quality information after the handoff request of active and standby physics network interface in the request of receiving;
According to the switch acknowledgment message that described management equipment is returned according to described quality information, carry out the switching of active and standby physics network interface.
A kind of management equipment that the embodiment of the invention provides comprises:
The request message receiving element is used to receive the main request message that sends with the physics network interface, and the switching of active and standby physics network interface is carried out in request;
Quality information obtains the unit, is used to obtain the spare physical network interface and carries out the quality information that User Data Protocol UDP communicates by letter with the opposite end;
The unit is returned in switching, is used for when determining that the quality information that described quality information acquisition unit obtains meets the requirement of presetting, and returns switch acknowledgment message to described master with the physics network interface, to carry out the switching of active and standby physics network interface.
A kind of equipment based on User Data Protocol that the embodiment of the invention provides comprises:
Determine transmitting element, be used for determining mainly carrying out the network that User Data Protocol UDP communicates by letter with physics network interface and opposite end and breaking down, send a request message, ask to carry out the switching of active and standby physics network interface to management equipment;
Receive processing unit, be used to receive described management equipment and carry out the quality information that User Data Protocol UDP communicates by letter in spare physical network interface and opposite end and meet the switch acknowledgment message of returning after the requirement of presetting, carry out the switching of active and standby physics network interface.
The another kind that the embodiment of the invention provides comprises based on the equipment of User Data Protocol:
Second detecting unit is used to use spare physical network interface and opposite end to carry out address and standby media interviews layer address that User Data Protocol UDP communicates by letter, detects described spare physical network interface and carries out the quality information that subscriber equipment agreement UDP communicates by letter with the opposite end;
Second reports the unit, be used for the quality information that described second detecting unit detects is reported management equipment, so that described management equipment carries out in the request of receiving determining whether to carry out the switching of active and standby physics network interface according to described quality information after the handoff request of active and standby physics network interface;
Switch unit is used for according to described management equipment carrying out the switching of active and standby physics network interface according to described second switch acknowledgment message of returning that reports the quality information that the unit reports.
A kind of active and standby interface switch system that the embodiment of the invention provides comprises: management equipment and based on the equipment of User Data Protocol, and described equipment based on User Data Protocol comprises the main physics network interface of using;
Described equipment based on User Data Protocol is used for determining mainly carrying out the network that User Data Protocol UDP communicates by letter with physics network interface and opposite end and breaking down, and sends a request message to management equipment, asks to carry out the switching of active and standby physics network interface; Receive the switch acknowledgment message that described management equipment is returned according to described request message, carry out the switching of active and standby physics network interface;
Described management equipment is used for receiving the main request message that sends with the physics network interface of described equipment based on User Data Protocol, and the switching of active and standby physics network interface is carried out in request; Obtain the spare physical network interface and carry out the quality information that User Data Protocol UDP communicates by letter with the opposite end; If described quality information meets the requirement of presetting, mainly in based on the equipment of User Data Protocol return switch acknowledgment message with the physics network interface to described.
A kind of active and standby interface switch system that the embodiment of the invention provides, comprise: management equipment, based on the host apparatus of User Data Protocol with based on the stand-by equipment of User Data Protocol, described host apparatus based on User Data Protocol comprises that the master uses the physics network interface, and described stand-by equipment based on User Data Protocol comprises the spare physical network interface;
Described host apparatus based on User Data Protocol is used for determining mainly carrying out the network that User Data Protocol UDP communicates by letter with physics network interface and opposite end and breaking down, and sends a request message to management equipment, asks to carry out the switching of active and standby physics network interface; Receive the switch acknowledgment message that described management equipment is returned according to described request message, the spare physical network interface is carried out the address that User Data Protocol UDP communicates by letter with the opposite end, with main with the binding of physics network interface, to described based on the stand-by equipment of User Data Protocol on the request of spare physical network interface described spare physical network interface is switched to the main physics network interface of using;
Described management equipment is used for receiving the main request message that sends with the physics network interface of described host apparatus based on User Data Protocol, and the switching of active and standby physics network interface is carried out in request; Obtain the spare physical network interface to stand-by equipment and carry out the quality information that User Data Protocol UDP communicates by letter with the opposite end based on User Data Protocol; If described quality information meets the requirement of presetting, mainly in based on the host apparatus of User Data Protocol return switch acknowledgment message with the physics network interface to described;
Described stand-by equipment based on User Data Protocol is used to receive that described host apparatus based on User Data Protocol sends, and the spare physical network interface is switched to main request with the physics network interface; Described master is carried out the address that User Data Protocol UDP communicates by letter with the physics network interface with the opposite end, bind with the spare physical network interface.
In the active and standby interface of the embodiment of the invention switches, because it is active and standby different with having bound on the physics network interface, carry out the address that User Data Protocol is communicated by letter with the opposite end, carry out with physics network interface and opposite end when User Data Protocol communicates by letter main like this, the spare physical network interface can detect the quality with the opposite end communication network, make management equipment when whether decision needs to carry out the switching of active and standby interface, can decide according to the quality that the User Data Protocol communication network is carried out in spare physical network interface and opposite end, management equipment confirms to carry out active and standby interface switching under the measured situation of matter, after having improved active and standby interface switching like this, the master carries out the reliability that User Data Protocol is communicated by letter with the physics network interface with the opposite end.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the flow chart of the method switched of active and standby interface that the embodiment of the invention provides;
Fig. 2 is the flow chart of the method switched of active and standby interface that the inventive method embodiment one provides;
Fig. 3 is the flow chart of the method switched of active and standby interface that the inventive method embodiment two provides;
Fig. 4 is the structural representation of the management equipment that provides of present device embodiment one;
Fig. 5 is the structural representation based on the equipment of User Data Protocol that present device embodiment two provides;
Fig. 6 is the structural representation based on the equipment of User Data Protocol that present device embodiment three provides;
Fig. 7 is the structural representation of the active and standby interface switch system that provides of system embodiment one of the present invention;
Fig. 8 is the structural representation of the active and standby interface switch system that provides of system embodiment two of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
In the embodiment of the invention, use mainly with IP address and the main mac-layer address of use with the physics network interface main, carry out UDP when communicating by letter with the opposite end, the spare physical network interface uses secondary ip address and standby mac-layer address, and detection is carried out the quality information that UDP communicates by letter with the opposite end.Thereby improved the reliability of UDP packet sending and receiving.
A kind of active and standby interface switching method, flow chart comprises as shown in Figure 1:
Step 10, management equipment receive the main request message that sends with the physics network interface, and the switching of active and standby physics network interface is carried out in request;
Step 20, management equipment obtain the spare physical network interface and carry out the quality information that User Data Protocol UDP communicates by letter with the opposite end;
Be appreciated that, management equipment can obtain the spare physical network interface to spare physical network interface place device request carry out the quality information that User Data Protocol UDP communicate by letter with the opposite end, and active reported to management equipment after also can be the place Equipment Inspection of spare physical network interface to spare physical network interface and opposite end carry out quality information that User Data Protocol UDP communicates by letter.And the quality information here comprises following information one or more: information One Way Delay, packet loss, shake time etc.
Step 30, meet the requirement of presetting if determine described quality information, management equipment is mainly returned switch acknowledgment message with the physics network interface to described, to carry out the switching of active and standby physics network interface.
The requirement of presetting here comprise following one or more: the information One Way Delay can not be greater than first threshold; Loss rate can not be greater than second threshold value; The shake time can not be greater than the 3rd threshold value etc.When definite quality information meets requiring of presetting, specifically be that respective quality information corresponding threshold in quality information and the requirement of presetting is compared, and determine by comparative result.Be appreciated that, need obtain according to the requirement of presetting in the equipment when obtaining quality information, as the requirement of presetting is that the information One Way Delay can not be greater than first threshold, then only obtaining the information One Way Delay when obtaining quality information gets final product, and be relatively when determining to meet requiring of presetting with One Way Delay and first threshold, if comparative result be less than meet the requirement of presetting.
Method embodiment one
A kind of active and standby interface switching method, in the present embodiment, active and standby physics network interface is assumed to be UDP equipment on same equipment, and the active and standby physics network interface in the UDP equipment is connected with L2 with different transferring equipment LI respectively, and flow chart comprises as shown in Figure 2:
Step 101, UDP equipment are determined mainly to carry out the network that User Data Protocol UDP communicates by letter with physics network interface and opposite end and break down, and send a request message to management equipment, ask to carry out the switching of active and standby physics network interface;
The master can use main with IP address ip _ A1 and the main mac-layer address M1 that uses in the UDP equipment with the physics network interface, carrying out UDP with the opposite end communicates by letter, the IP address that equipment LI that is connected with the active and standby physics network interface of UDP equipment and L2 preserve active and standby physics network interface respectively and the corresponding relation of mac-layer address, use mac-layer address M1, the secondary ip address IP_A2 of in store spare physical network interface and standby mac-layer address M2 among the L2 as the in store main main IP address ip _ A1 that uses among the L1 with main with the physics network interface.When L1 received the UDP message, the destination address IP_A1 by the UDP message inquired M1, the UDP message was sent to the main physics network interface of using of M1 correspondence.
The spare physical network interface uses the spare physical network interface to carry out address such as the secondary ip address IP_A2 that User Data Protocol UDP communicates by letter with the opposite end in the UDP equipment, with standby media interviews layer address M2, detect the spare physical network interface by ARP(Address Resolution Protocol) detection method, ping bag method and carry out the quality information that UDP communicates by letter with the opposite end, can in some cycles, send ARP detection packet or ping bag as spare physical network interface in the UDP equipment, and the methods such as time of response are returned in the record opposite end to the opposite end.Be appreciated that UDP equipment can report management equipment with quality information, to determine whether the to carry out switching of active and standby physics network interface.Here quality information comprise following one or more: information One Way Delay, packet loss and shake time.Described quality information specifically can be as shown in table 1, but this table only is the example explanation, does not limit the present invention.
Network hierarchy One Way Delay (ms) Loss rate Shake (ms)
Well 0~40 0~0.1% 0~10
Relatively poor 40~100 0.1%~1% 10~20
Badly 100~400 1%~5% 20~60
Table 1
Determine that main to carry out with physics network interface and opposite end that network that User Data Protocol UDP communicates by letter breaks down specifically can be the response message that does not receive the opposite end within a certain period of time, maybe can not send the UDP message, or main to carry out the network quality information display network that UDP communicates by letter with physics network interface and opposite end second-rate or abominable, be understandable that, here network quality information comprise as above show described following one or more: information One Way Delay, packet loss and shake time.A kind of preset threshold value that do not meet in the above-mentioned information then can be thought to have network failure when (surpass 400ms as One Way Delay, packet loss surpasses 5%, and perhaps shake surpasses 60ms).
Step 102, management equipment obtain the spare physical network interface and carry out the quality information that User Data Protocol UDP communicates by letter with the opposite end;
Be appreciated that, management equipment can be to spare physical network interface place equipment, as UDP equipment, send a request message, request obtains the spare physical network interface and carries out the quality information that UDP communicate by letter with the opposite end, also can be to receive the UDP Equipment Inspection to carry out active reports to management equipment behind the quality information that UDP communicates by letter quality information etc. to spare physical network interface and opposite end.
Step 103, meet the requirement of presetting if determine described quality information, management equipment is returned switch acknowledgment message to main with the physics network interface, to carry out the switching of active and standby physics network interface; If undesirable certainly, management equipment does not allow to carry out the switching of active and standby physics network interface;
The requirement of presetting here comprise following one or more: the information One Way Delay can not be greater than first threshold, (for example being 100ms); Loss rate can not be greater than second threshold value (for example being 1%); Shake can not be greater than the 3rd threshold value (for example being 20ms) etc.
Step 104, UDP equipment receiving management equipment carry out the quality information that UDP communicates by letter and meet the switch acknowledgment message of returning after the requirement of presetting in spare physical network interface and opposite end, carry out the switching of active and standby physics network interface.
The switching of this active and standby physics network interface is specifically as follows: the spare physical network interface is carried out the address that User Data Protocol UDP communicates by letter with the opposite end, bind with the physics network interface with main, carry out address that User Data Protocol UDP communicate by letter with the physics network interface with the opposite end with main, with described spare physical network interface binding; And can further send a notification message, broadcast for example, described notification message is used for asking the address of updating user data protocol communication and the corresponding relation of physics network interface.
Need to prove, if active and standby FE physics network interface is not on same equipment, being assumed to be main is UDP1 equipment with physics network interface place equipment, spare physical network interface place equipment is UDP2 equipment, then described UDP1 equipment receiving management equipment carries out the quality information that UDP communicates by letter and meets the switch acknowledgment message of returning after the requirement of presetting in spare physical network interface and opposite end, the switching of carrying out active and standby physics network interface is specifically as follows: the spare physical network interface is carried out the address that User Data Protocol UDP communicates by letter with the opposite end, bind with the physics network interface with main; To described spare physical network interface place device request described spare physical network interface is switched to the main physics network interface of using; And can further send a notification message, broadcast for example, described notification message is used for asking the address of updating user data protocol communication and the corresponding relation of physics network interface.
UDP equipment carries out the address that User Data Protocol UDP communicates by letter with the spare physical network interface with the opposite end,, for example can IP_A2 and M1 binding be realized by UDP equipment with the binding of physics network interface with main; Carry out address that User Data Protocol UDP communicate by letter with the physics network interface with the opposite end with main, with described spare physical network interface binding, for example can be by UDP equipment is realized IP_A1 and M2 binding.And by notification message, for example broadcast (concrete as the ARP message) sends to equipment such as the L1 and the L2 of this network segment, asks the renewal of the equipment of this network segment to carry out the address of UDP communication and the corresponding relation of physics network interface.Master in the UDP equipment just switches to the spare physical network interface with the physics network interface like this; The spare physical network interface just switches to the main physics network interface of using, and carries out the not change of IP address that UDP communicates by letter with the opposite end, does not need other equipment are changed.
Step 105, L1 and L2 receive notification message, as broadcast, upgrade the IP address of own preservation and the corresponding relation of mac-layer address respectively, and notify L2 and L1 by dynamic routing protocol (OSPF) respectively with the variation of IP address.
Be appreciated that the L1 receiving notice message, after broadcast, be updated to the corresponding M1 of IP_A2 with the IP address with main corresponding relation with mac-layer address with main; The L2 receiving notice message after broadcast, is updated to the corresponding M2 of IP_A1 with the secondary ip address and the corresponding relation of standby mac-layer address.L1 just has been switched on the L2 by the operation that ospf protocol will be received and dispatched the UDP message like this, compare with operating to switch by the VRRP agreement in the prior art, the regulation of having avoided VRRP agreement itself is as giving tacit consent to the defective that the grade that sent a VRRP protocol massages in 1 second is brought.
Pass through above-mentioned steps, carry out network that UDP communicates by letter when breaking down when main with physics network interface and opposite end, after carrying out the switching of active and standby physics network interface, when the opposite end sends the UDP message, with the destination address IP_A1 that the equipment L2 that is connected with physics network interface FE2 receives this UDP message that leads after the switching, the address of UDP communication is carried out in inquiry and the corresponding relation of physics network interface inquires M2, and this UDP message is sent to the main with physics network interface FE2 of UDP equipment.
In the active and standby interface of the embodiment of the invention switches, because it is active and standby different with having bound on the physics network interface, carry out the address that User Data Protocol is communicated by letter with the opposite end, carry out with physics network interface and opposite end when User Data Protocol communicates by letter main like this, the spare physical network interface can detect the quality information with the opposite end communication network, make management equipment when whether decision needs to carry out the switching of active and standby interface, can decide according to the quality that the User Data Protocol communication network is carried out in spare physical network interface and opposite end, management equipment confirms to carry out active and standby interface switching under the measured situation of matter, after having improved active and standby interface switching like this, the master carries out the reliability that User Data Protocol is communicated by letter with the physics network interface with the opposite end.
Method embodiment two
A kind of active and standby interface switching method, in the present embodiment, active and standby FE physics network interface is assumed to be UDP1 equipment and UDP2 equipment not on same equipment, and active and standby physics network interface is connected with L2 with different transferring equipment LI respectively, and flow chart comprises as shown in Figure 3:
Step 201, UDP1 equipment are determined mainly to carry out the network that User Data Protocol UDP communicates by letter with physics network interface and opposite end and break down, and send a request message to management equipment, ask to carry out the switching of active and standby physics network interface;
The master can use main with IP address ip _ A1 and the main mac-layer address M1 that uses in the UDP1 equipment with the physics network interface, carry out UDP with the opposite end and communicate by letter, use IP address ip _ A1 and the main mac-layer address M1 that uses with the in store main master of equipment LI that the physics network interface is connected with the physics network interface with UDP1 equipment master.
UDP1 equipment can be according to receiving the UDP message that the opposite end sends, determine mainly to carry out UDP with physics network interface and opposite end and communicate by letter and whether exist network to break down, concrete can be by not receiving the response message of opposite end within a certain period of time, maybe can not send the UDP message and confirm to take place network failure, or carry out the network quality affirmation that UDP communicates by letter with physics network interface and opposite end whether network failure takes place according to main, for example, if main to carry out the network quality information display network that UDP communicates by letter with physics network interface and opposite end second-rate or abominable, then think the generation network failure.Be understandable that, here network quality information comprise among the embodiment as described above following one or more: information One Way Delay, packet loss and shake time.A kind of preset threshold value that do not meet in the above-mentioned information then can be thought to have network failure when (surpass 400ms as One Way Delay, packet loss surpasses 5%, and perhaps shake surpasses 60ms).
Step 202, UDP2 equipment use the spare physical network interface to carry out the address that User Data Protocol UDP communicates by letter with the opposite end, and standby media interviews layer address, detect the quality information that the subscriber equipment protocol communication is carried out in described spare physical network interface and opposite end;
The spare physical network interface can use secondary ip address IP_A2 and standby mac-layer address M2 in the UDP2 equipment, detect the spare physical network interface by ARP detection method, ping bag method and carry out the quality information that UDP communicates by letter with the opposite end, can in some cycles, send ARP detection packet or ping bag as spare physical network interface in the UDP equipment, and the methods such as time of response are returned in the record opposite end to the opposite end.Be appreciated that, UDP2 equipment can report management equipment with detected quality information in good time or termly, so that described management equipment carries out determining whether to carry out the switching of active and standby physics network interface according to described quality information after the handoff request of active and standby physics network interface in the request of receiving.Also can after receiving the quality information ground request message of management equipment, return the request response that includes testing result to management equipment.
The secondary ip address IP_A2 of the in store spare physical network interface of equipment L2 that is connected with spare physical network interface in the UDP2 equipment and standby mac-layer address M2.
Step 203, management equipment receive the main request message that sends with the physics network interface, obtain the spare physical network interface and carry out the quality information that User Data Protocol UDP communicates by letter with the opposite end; If determine that quality information meets the requirement of presetting, return switch acknowledgment message to main with the physics network interface, to carry out the switching of active and standby physics network interface; If undesirable, management equipment does not allow to carry out the switching of active and standby physics network interface;
Specific implementation method in this step, for example, the related content of quality information and judge whether to meet the requirement of presetting as described in the method embodiment one does not repeat them here.
Master in step 204, the UDP1 equipment receives switch acknowledgment message with the physics network interface, according to described switch acknowledgment message, carries out the switching of active and standby physics network interface.The described switching of carrying out active and standby physics network interface is specifically as follows: just the spare physical network interface carries out the address that User Data Protocol UDP communicates by letter with the opposite end, bind with the physics network interface with main, and can further send a notification message, as broadcast, the address of User Data Protocol communication and the corresponding relation of physics network interface are carried out in the request renewal; And UDP1 equipment is that the UDP2 request switches to the main physics network interface of using with the spare physical network interface to spare physical network interface place equipment;
UDP1 equipment carries out the address that User Data Protocol UDP communicates by letter with the spare physical network interface with the opposite end, bind with the physics network interface with main, as passing through UDP1 equipment is realized IP_A2 and M1 binding, and can further pass through notification message, give the equipment such as the L1 of this network segment as broadcast concrete (sending out as the ARP message), the address of carrying out UDP communication and the corresponding relation of physics network interface are upgraded in request.
It is that UDP1 equipment sends with physics network interface place equipment that step 205, UDP2 equipment receive main, and the spare physical network interface is switched to main request with the physics network interface; Carry out address that UDP communicate by letter with the physics network interface with the opposite end with main, bind with the spare physical network interface; And can further send a notification message, as broadcast, the address of User Data Protocol communication and the corresponding relation of physics network interface are carried out in the request renewal;
UDP2 equipment is IP_A1 and M2 binding, and by notification message, gives the equipment such as the L2 of this network segment as broadcast (specifically sending out as the ARP message), and the address that UDP communicates by letter and the corresponding relation of physics network interface are carried out in the request renewal.
Master in the UDP equipment just switches to standby mouthful with the physics network interface like this; The spare physical network interface just switches to main with mouth, and carries out the not change of IP address that UDP communicates by letter with the opposite end, does not need other equipment are changed.
Step 206, L1 and L2 receive the notification message of UDP1 and the transmission of UDP2 equipment respectively, as broadcast, upgrade IP address and the mac-layer address of oneself preserving respectively, and notify L2 and L1 by dynamic routing protocol (OSPF) respectively with the variation of IP address.
Pass through above-mentioned steps, carry out network that UDP communicates by letter when breaking down when main with physics network interface and opposite end, after carrying out the switching of active and standby physics network interface, when the opposite end sends the UDP message, with the main destination address IP_A1 that receives this UDP message with mouthful equipment L2 that physics network interface FE2 is connected after the switching, the address of UDP communication is carried out in inquiry and the corresponding relation of physics network interface inquires M2, and this UDP message is sent to the main with physics network interface FE2 of UDP equipment.
In the active and standby interface of the embodiment of the invention switches, because it is active and standby different with having bound on the physics network interface, carry out the address that User Data Protocol is communicated by letter with the opposite end, carry out with physics network interface and opposite end when User Data Protocol communicates by letter main like this, the spare physical network interface can detect the quality with the opposite end communication network, make management equipment when whether decision needs to carry out the switching of active and standby interface, can decide according to the quality that the User Data Protocol communication network is carried out in spare physical network interface and opposite end, management equipment confirms to carry out active and standby interface switching under the measured situation of matter, after having improved active and standby interface switching like this, the master carries out the reliability that User Data Protocol is communicated by letter with the physics network interface with the opposite end.
Apparatus embodiments one
A kind of management equipment for example can be the respective server in independent computer, veneer or the network, and the structural representation of this management equipment comprises as shown in Figure 4:
Request message receiving element 10 is used to receive the main request message that sends with the physics network interface, and the switching of active and standby physics network interface is carried out in request;
Quality information obtains unit 11, is used for after described request message sink unit 10 receives request message, obtains the spare physical network interface and carries out the quality information that User Data Protocol UDP communicates by letter with the opposite end;
Particularly can for, described quality information obtains unit 11 to spare physical network interface place equipment, as UDP equipment, send a request message, request obtains the spare physical network interface and carries out the quality information that UDP communicate by letter with the opposite end, perhaps also can be to receive the UDP Equipment Inspection to carry out the quality information that active reports to management equipment behind the quality information that UDP communicates by letter to spare physical network interface and opposite end.
Unit 12 is returned in switching, is used for meeting the requirement of presetting if determine the quality information that described quality information acquisition unit 11 obtains, and returns switch acknowledgment message to described master with the physics network interface, to carry out the switching of active and standby physics network interface.Concrete to judge whether to meet the requirement of presetting the same with the previous embodiment mode, and this repeats no more.
Need to prove, in the execution mode of above management equipment, the division of each functional module only illustrates, can be as required in the practical application, facility such as the realization of the configuration requirement of corresponding hardware or software is considered, and the above-mentioned functions distribution is finished by different functional modules, be about to described internal structure and be divided into different functional modules, to finish all or part of function described above based on User Data Protocol equipment.And in the practical application, corresponding functional modules in the present embodiment can be to be realized by relevant hardware, also can carry out corresponding software and finish by relevant hardware, for example, aforesaid request message receiving element 10, can be for having the hardware of carrying out aforementioned functional, such as, general receiver, antenna, and radio receiver, wired receiving system; Switch and to return unit 12, can be for can carrying out the par-ticular processor of aforementioned functional, thus also can be to carry out the general processor that the corresponding computer program is finished aforementioned functional, perhaps other hardware devices.
In embodiments of the present invention, because it is active and standby different with having bound on the physics network interface, carry out the address that User Data Protocol is communicated by letter with the opposite end, carry out with physics network interface and opposite end when User Data Protocol communicates by letter main like this, the spare physical network interface can detect the quality with the opposite end communication network, make the switching of management equipment return unit 12 when whether decision needs to carry out the switching of active and standby interface, can decide according to the quality that the User Data Protocol communication network is carried out in spare physical network interface and opposite end, management equipment confirms to carry out active and standby interface switching under the measured situation of matter, after having improved active and standby interface switching like this, the master carries out the reliability that User Data Protocol is communicated by letter with the physics network interface with the opposite end.
Apparatus embodiments two
A kind of equipment 2 based on User Data Protocol for example can be UDP equipment, and structural representation comprises as shown in Figure 5:
Determine transmitting element 20, be used for determining mainly carrying out the network that User Data Protocol UDP communicates by letter with physics network interface and opposite end and breaking down, send a request message, ask to carry out the switching of active and standby physics network interface to management equipment;
Determine that transmitting element 20 determining that main to carry out with physics network interface and opposite end that network that User Data Protocol UDP communicates by letter breaks down specifically can be by not receiving the response message of opposite end within a certain period of time, maybe can not send the UDP message, or main carry out network quality that UDP communicates by letter with physics network interface and opposite end and do not meet the requirement of presetting and determine.Concrete herein judgment mode is identical with judgment mode among the method embodiment, repeats no more.
Receive processing unit 21, be used to receive described management equipment and carry out the quality information that User Data Protocol UDP communicates by letter in spare physical network interface and opposite end and meet the switch acknowledgment message of returning after the requirement of presetting, carry out the switching of active and standby physics network interface;
The described switching of carrying out active and standby physics network interface is specifically as follows: the spare physical network interface is carried out the address that User Data Protocol UDP communicates by letter with the opposite end, bind with the physics network interface with main; Carry out address that User Data Protocol UDP communicate by letter with the physics network interface with the opposite end with main, bind, or described spare physical network interface is switched to the main physics network interface of using to described spare physical network interface place device request with described spare physical network interface.And can further send a notification message, as broadcast, the address of User Data Protocol communication and the corresponding relation of physics network interface are carried out in the request renewal, a concrete example can be equipment such as the L2 that the ARP message is sent to this network segment, and the address of UDP communication and the corresponding relation of physics network interface are carried out in the request renewal.Management equipment wherein can be receive determine request that transmitting element 20 sends after, just definite spare physical network interface and opposite end are carried out quality information that User Data Protocol UDP communicates by letter and whether are met the requirement of presetting.Can determine that spare physical network interface and opposite end carry out the quality information that User Data Protocol UDP communicates by letter and whether meet the requirement of presetting at other times, the embodiment of the invention does not limit yet.
In another specific embodiment, should on the basis of the various embodiments described above, can further include based on the equipment of User Data Protocol: the first handoff request receiving element 22, be used to receive the main physics network interface place equipment of using and send, the spare physical network interface is switched to main request with the physics network interface; The first binding processing unit 23, be used for after the described first handoff request receiving element 22 receives request, described master is carried out the address that User Data Protocol UDP communicates by letter with the physics network interface with the opposite end, bind with the spare physical network interface, and send a notification message, as broadcast, the address of User Data Protocol communication and the corresponding relation of physics network interface are carried out in the request renewal, a concrete example can be equipment such as the L2 that the ARP message is sent to this network segment, and the address of UDP communication and the corresponding relation of physics network interface are carried out in the request renewal.
In a specific embodiment again, described equipment based on User Data Protocol can further include on the basis of aforementioned each embodiment: first detecting unit 24, be used to use the spare physical network interface to carry out the address that User Data Protocol UDP communicates by letter with the opposite end, with standby media interviews layer address, detect described spare physical network interface and carry out the quality information that subscriber equipment agreement UDP communicates by letter with the opposite end; First reports unit 25, be used for the quality information that described first detecting unit 24 detects is reported management equipment, to determine whether the to carry out switching of active and standby physics network interface, be understandable that, first reports unit 25 directly to report, also can after obtaining the request message of quality information, the request that receives the management equipment transmission report again.
Need to prove, more than in each execution mode based on User Data Protocol equipment, the division of each functional module only illustrates, can be as required in the practical application, facility such as the realization of the configuration requirement of corresponding hardware or software is considered, and the above-mentioned functions distribution is finished by different functional modules, be about to described internal structure and be divided into different functional modules, to finish all or part of function described above based on User Data Protocol equipment.And in the practical application, corresponding functional modules in the present embodiment can be to be realized by relevant hardware, also can carry out corresponding software by relevant hardware finishes, for example, aforesaid definite transmitting element 20 can be for having the hardware of carrying out aforementioned functional, such as, detector or processor with this specific function, thus the general processor that the corresponding computer program is finished aforementioned functional perhaps can be carried out; Receiving processing unit 21 can be for can carrying out the par-ticular processor of aforementioned functional, thereby also can be to carry out the general processor that the corresponding computer program is finished aforementioned functional, perhaps other hardware devices.
Above-mentioned each equipment 2 based on User Data Protocol carries out among the embodiment of active and standby interface switching, because it is active and standby different with having bound on the physics network interface, carry out the address that User Data Protocol is communicated by letter with the opposite end, carry out with physics network interface and opposite end when User Data Protocol communicates by letter main like this, the spare physical network interface can detect the quality with the opposite end communication network, find mainly to carry out network that UDP communicates by letter when breaking down when determining transmitting element 20 with physics network interface and opposite end, send a request message, receive switch acknowledgment message when receiving processing unit 21, promptly carry out the switching of active and standby physics network interface, make management equipment when whether decision needs to carry out the switching of active and standby interface, can decide according to the quality that the User Data Protocol communication network is carried out in spare physical network interface and opposite end, management equipment confirms to carry out active and standby interface switching under the measured situation of matter, after having improved active and standby interface switching like this, the master carries out the reliability that User Data Protocol is communicated by letter with the physics network interface with the opposite end.
Apparatus embodiments three
A kind of equipment 3 based on User Data Protocol for example can be UDP equipment, and the general structural representation of this equipment comprises as shown in Figure 6:
Second detecting unit 30 is used to use spare physical network interface and opposite end to carry out address and standby media interviews layer address that User Data Protocol UDP communicates by letter, detects described spare physical network interface and carries out the quality information that subscriber equipment agreement UDP communicates by letter with the opposite end; Concrete detection method is the same with said method embodiment.
Second reports unit 31, be used for the quality information that described second detecting unit 30 detects is reported management equipment, so that described management equipment carries out in the request of receiving determining whether to carry out the switching of active and standby physics network interface according to described quality information after the handoff request of active and standby physics network interface; Be appreciated that second reports unit 31 directly to report, also can after the request that receives the management equipment transmission obtains the request message of quality information, report again.
Switch unit 32 is used for according to described management equipment carrying out the switching of active and standby physics network interface according to described second switch acknowledgment message of returning that reports the quality information that unit 31 reports.
In the concrete example, according to described second switch acknowledgment message of returning that reports the quality information that unit 31 reports, the switching of carrying out active and standby physics network interface is specifically as follows described switch unit 32 according to described management equipment:
The spare physical network interface is carried out the address that User Data Protocol UDP communicates by letter with the opposite end, bind with the physics network interface with main; Or further will lead with the physics network interface on this basis and carry out the address that User Data Protocol UDP communicates by letter with the opposite end, bind with described spare physical network interface, or described spare physical network interface is switched to the main physics network interface of using to described spare physical network interface place device request.
In another concrete example, described switch unit 32 can also be further used for can also being further used for sending a notification message on aforementioned basis, and as broadcast, the address of User Data Protocol communication and the corresponding relation of physics network interface are carried out in the request renewal.
In another specific embodiment, according to described second switch acknowledgment message of returning that reports the quality information that unit 31 reports, the switching of carrying out active and standby physics network interface is specifically as follows described switch unit 32 according to described management equipment:
Receive the main physics network interface place equipment of using and send, the spare physical network interface is switched to main request with the physics network interface; Described master is carried out the address that User Data Protocol UDP communicates by letter with the physics network interface with the opposite end, bind with the spare physical network interface, and can further send a notification message, as broadcast, the address of User Data Protocol communication and the corresponding relation of physics network interface are carried out in the request renewal.
In another specific embodiment, described equipment based on User Data Protocol may further include definite transmitting element 20 of describing among equipment 2 embodiment based on User Data Protocol and receives processing unit 21.
In the spare physical network interface switching of present embodiment based on the equipment 3 of User Data Protocol, because it is active and standby different with having bound on the physics network interface, carry out the address that User Data Protocol is communicated by letter with the opposite end, carry out with physics network interface and opposite end when User Data Protocol communicates by letter main like this, can detect the quality of spare physical network interface and opposite end communication network based on the detecting unit 32 in the equipment 3 of User Data Protocol, make management equipment when whether decision needs to carry out the switching of active and standby interface, can decide according to the quality that the User Data Protocol communication network is carried out in spare physical network interface and opposite end, management equipment confirms to carry out active and standby interface switching under the measured situation of matter, after having improved active and standby interface switching like this, the master carries out the reliability that User Data Protocol is communicated by letter with the physics network interface with the opposite end.
Need to prove, more than in each execution mode based on User Data Protocol equipment, the division of each functional module only illustrates, can be as required in the practical application, facility such as the realization of the configuration requirement of corresponding hardware or software is considered, and the above-mentioned functions distribution is finished by different functional modules, be about to described internal structure and be divided into different functional modules, to finish all or part of function described above based on User Data Protocol equipment.And in the practical application, corresponding functional modules in the present embodiment can be to be realized by relevant hardware, also can carry out corresponding software by relevant hardware finishes, for example, aforesaid second detecting unit 30, can be for having the hardware of carrying out aforementioned functional, such as, detector or processor with this specific function; Switch unit 32 can be for can carrying out the par-ticular processor of aforementioned functional, thereby also can be to carry out the general processor that the corresponding computer program is finished aforementioned functional, perhaps other switching devices.
System embodiment one
A kind of active and standby interface switch system, structural representation comprises as shown in Figure 7: management equipment 100 and based on the equipment 200 of User Data Protocol, described equipment 200 based on User Data Protocol comprises the main physics network interface of using;
Described equipment 200 based on User Data Protocol is used for determining mainly carrying out the network that User Data Protocol UDP communicates by letter with physics network interface and opposite end and breaking down, and sends a request message to management equipment 100, asks to carry out the switching of active and standby physics network interface; Receive the switch acknowledgment message that described management equipment 100 is returned according to described request message, carry out the switching of active and standby physics network interface; The process of the described switching of carrying out active and standby physics network interface is identical with aforementioned each apparatus embodiments; And can be further used for sending a notification message, as broadcast, the address of User Data Protocol communication and the corresponding relation of physics network interface are carried out in the request renewal;
Described management equipment 100 is used for receiving the described equipment 200 main request messages that send with the physics network interface based on User Data Protocol, and the switching of active and standby physics network interface is carried out in request; The spare physical network interface that obtains described equipment 200 based on User Data Protocol carries out the quality information that User Data Protocol UDP communicates by letter with the opposite end; If described quality information meets the requirement of presetting, mainly in based on the equipment 200 of User Data Protocol return switch acknowledgment message with the physics network interface to described;
Need explanation the time, the management equipment 100 among the said system embodiment can be each management equipment of the description among the aforementioned device embodiment one; Described equipment 200 based on User Data Protocol can be the various device embodiment that describes in aforementioned device embodiment two or the apparatus embodiments three.
System embodiment two
A kind of active and standby interface switch system, active and standby physics network interface is on not same equipment in this system, structural representation as shown in Figure 8, comprise: management equipment 100, based on the host apparatus 300 of User Data Protocol with based on the stand-by equipment 400 of User Data Protocol, described host apparatus 300 based on User Data Protocol comprises that the master uses the physics network interface, and described stand-by equipment 400 based on User Data Protocol comprises the spare physical network interface;
Described host apparatus 300 based on User Data Protocol is used for determining mainly carrying out the network that User Data Protocol UDP communicates by letter with physics network interface and opposite end and breaking down, and sends a request message to management equipment 100, asks to carry out the switching of active and standby physics network interface; Receive the switch acknowledgment message that described management equipment 100 is returned according to described request message, the spare physical network interface is carried out the address that User Data Protocol UDP communicates by letter with the opposite end, with main with the binding of physics network interface, and to described based on the stand-by equipment 400 of User Data Protocol on the request of spare physical network interface described spare physical network interface is switched to the main physics network interface of using; And further can be used to send a notification message, as broadcast, the address of User Data Protocol communication and the corresponding relation of physics network interface are carried out in the request renewal;
Described management equipment 100 is used for receiving the described host apparatus 300 main request messages that send with the physics network interface based on User Data Protocol, and the switching of active and standby physics network interface is carried out in request; Obtain described stand-by equipment 400 and carry out the quality information that User Data Protocol UDP communicates by letter with the opposite end based on User Data Protocol; If described quality information meets the requirement of presetting, mainly in based on the host apparatus 300 of User Data Protocol return switch acknowledgment message with the physics network interface to described;
Described stand-by equipment 400 based on User Data Protocol is used to receive that described host apparatus 300 based on User Data Protocol sends, and the spare physical network interface is switched to main request with the physics network interface; Described master is carried out the address that User Data Protocol UDP communicates by letter with the physics network interface with the opposite end, bind with the spare physical network interface, and can be further used for sending a notification message, as broadcast, the address of User Data Protocol communication and the corresponding relation of physics network interface are carried out in the request renewal.
Need explanation the time, the management equipment 100 among the said system embodiment can be each management equipment of the description among the aforementioned device embodiment one; Described equipment 300 based on User Data Protocol can be the various device embodiment that describes in aforementioned device embodiment two or the apparatus embodiments three; Described equipment 400 based on User Data Protocol can be the various device embodiment that describes in aforementioned device embodiment two or the apparatus embodiments three.
The active and standby interface switching method of the invention described above embodiment, in equipment and the system, because it is active and standby different with having bound on the physics network interface, carry out the address that User Data Protocol is communicated by letter with the opposite end, carry out with physics network interface and opposite end when User Data Protocol communicates by letter main like this, the spare physical network interface can detect the quality with the opposite end communication network, make management equipment when whether decision needs to carry out the switching of active and standby interface, can decide according to the quality that the User Data Protocol communication network is carried out in spare physical network interface and opposite end, management equipment confirms to carry out active and standby interface switching under the measured situation of matter, after having improved active and standby interface switching like this, the master carries out the reliability that User Data Protocol is communicated by letter with the physics network interface with the opposite end.
One of ordinary skill in the art will appreciate that all or part of step in the whole bag of tricks of the foregoing description is to instruct relevant hardware to finish by program, this program can be stored in the computer-readable recording medium, and storage medium can comprise: read-only memory (ROM), random-access memory (ram), disk or CD etc.
More than to active and standby interface switching method, equipment and system that the embodiment of the invention provided, be described in detail, used specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (23)

1. an active and standby interface switching method is characterized in that, comprising:
Receive the main request message that sends with the physics network interface, the switching of active and standby physics network interface is carried out in request;
Obtain the spare physical network interface and carry out the quality information that User Data Protocol UDP communicates by letter with the opposite end;
If determine that described quality information meets the requirement of presetting, return switch acknowledgment message to described master with the physics network interface, to carry out the switching of active and standby physics network interface.
2. the method for claim 1 is characterized in that, described acquisition spare physical network interface and opposite end are carried out the quality information that User Data Protocol UDP communicates by letter and specifically comprised:
Receive the quality information that described spare physical network interface place equipment initiatively reports; Or,
To described spare physical network interface place device request and obtain described quality information.
3. method as claimed in claim 1 or 2 is characterized in that, described quality information comprises one of following at least information: information One Way Delay, packet loss and shake time;
Described quality information meets the requirement of presetting and comprises one of the following at least accordingly: described information One Way Delay can not be greater than first threshold; Described loss rate can not be greater than second threshold value; And described shake can not be greater than the 3rd threshold value.
4. an active and standby interface switching method is characterized in that, comprising:
Determine mainly to carry out the network that User Data Protocol UDP communicates by letter with physics network interface and opposite end and break down, send a request message, ask to carry out the switching of active and standby physics network interface to management equipment;
Receive described management equipment and carry out the quality information that User Data Protocol UDP communicates by letter in spare physical network interface and opposite end and meet the switch acknowledgment message of returning after the requirement of presetting, carry out the switching of active and standby physics network interface.
5. method as claimed in claim 4 is characterized in that, the described switching of carrying out active and standby physics network interface specifically comprises:
The spare physical network interface is carried out the address that User Data Protocol UDP communicates by letter with the opposite end, bind with the physics network interface with main;
Carry out address that User Data Protocol UDP communicate by letter with the physics network interface with the opposite end with main, with described spare physical network interface binding; Or described spare physical network interface is switched to the main physics network interface of using to described spare physical network interface place device request.
6. as claim 4 or 5 described methods, it is characterized in that, further comprise: send a notification message with the address of request updating user data protocol communication and the corresponding relation of physics network interface.
7. method as claimed in claim 6 is characterized in that:
Described the spare physical network interface is carried out the address that User Data Protocol UDP communicates by letter with the opposite end, be specially with the binding of physics network interface: the backup network protocol address is used the media access layer address binding with leading with main;
Described will leading with the physics network interface carried out the address that User Data Protocol UDP communicates by letter with the opposite end, is specially with described spare physical network interface binding: will lead with internet protocol address and standby media access layer address binding.
8. as claim 4 or 5 described methods, it is characterized in that described method also comprises:
Use the spare physical network interface to carry out address and the standby media interviews layer address that User Data Protocol UDP communicates by letter, detect described spare physical network interface and carry out the quality information that subscriber equipment agreement UDP communicates by letter with the opposite end with the opposite end;
Described quality information is reported management equipment, so that described management equipment determines whether to carry out the switching of active and standby physics network interface according to described quality information.
9. an active and standby interface switching method is characterized in that, comprising:
Use the spare physical network interface to carry out address and the standby media interviews layer address that User Data Protocol UDP communicates by letter, detect described spare physical network interface and carry out the quality information that subscriber equipment agreement UDP communicates by letter with the opposite end with the opposite end;
Described quality information is reported management equipment, so that described management equipment carries out determining whether to carry out the switching of active and standby physics network interface according to described quality information after the handoff request of active and standby physics network interface in the request of receiving;
According to the switch acknowledgment message that described management equipment is returned according to described quality information, carry out the switching of active and standby physics network interface.
10. method as claimed in claim 9 is characterized in that, the described switch acknowledgment message of returning according to described quality information according to described management equipment, and the switching of carrying out active and standby physics network interface specifically comprises:
The spare physical network interface is carried out the address that User Data Protocol UDP communicates by letter with the opposite end, bind with the physics network interface with main;
Carry out address that User Data Protocol UDP communicate by letter with the physics network interface with the opposite end with main, bind, or described spare physical network interface is switched to the main physics network interface of using to described spare physical network interface place device request with described spare physical network interface.
11. method as claimed in claim 9 is characterized in that, the described switch acknowledgment message of returning according to described quality information according to described management equipment, and the switching of carrying out active and standby physics network interface specifically comprises:
Receive main with physics network interface place equipment receive send after the switch acknowledgment message that described management equipment returns the spare physical network interface is switched to the main request of using the physics network interface;
Described master is carried out the address that User Data Protocol UDP communicates by letter with the physics network interface with the opposite end,, and send a notification message to ask renewal to carry out the address of User Data Protocol communication and the corresponding relation of physics network interface with the binding of spare physical network interface.
12. a management equipment is characterized in that, comprising:
The request message receiving element is used to receive the main request message that sends with the physics network interface, and the switching of active and standby physics network interface is carried out in request;
Quality information obtains the unit, is used to obtain the spare physical network interface and carries out the quality information that User Data Protocol UDP communicates by letter with the opposite end;
The unit is returned in switching, is used for when determining that the quality information that described quality information acquisition unit obtains meets the requirement of presetting, and returns switch acknowledgment message to described master with the physics network interface, to carry out the switching of active and standby physics network interface.
13. the equipment based on User Data Protocol is characterized in that, comprising:
Determine transmitting element, be used for determining mainly carrying out the network that User Data Protocol UDP communicates by letter with physics network interface and opposite end and breaking down, send a request message, ask to carry out the switching of active and standby physics network interface to management equipment;
Receive processing unit, be used to receive described management equipment and carry out the quality information that User Data Protocol UDP communicates by letter in spare physical network interface and opposite end and meet the switch acknowledgment message of returning after the requirement of presetting, carry out the switching of active and standby physics network interface.
14. the equipment based on User Data Protocol as claimed in claim 13 is characterized in that, the switching that described reception processing unit carries out active and standby physics network interface specifically comprises:
The spare physical network interface is carried out the address that User Data Protocol UDP communicates by letter with the opposite end, bind with the physics network interface with main;
Carry out address that User Data Protocol UDP communicate by letter with the physics network interface with the opposite end with main, bind, or described spare physical network interface is switched to the main physics network interface of using to described spare physical network interface place device request with described spare physical network interface.
15. the equipment based on User Data Protocol as claimed in claim 14, it is characterized in that the switching that described reception processing unit carries out active and standby physics network interface further comprises: send a notification message with the address of request updating user data protocol communication and the corresponding relation of physics network interface.
16. as claim 13 or 14 described equipment, it is characterized in that, further comprise based on User Data Protocol:
The first handoff request receiving element is used to receive the main physics network interface place equipment of using and sends, and the spare physical network interface is switched to main request with the physics network interface;
The first binding processing unit, be used for after the described first handoff request receiving element receives request, described master is carried out the address that User Data Protocol UDP communicates by letter with the physics network interface with the opposite end, bind with the spare physical network interface, and send a notification message, described notification message is used for asking to upgrade the address of carrying out User Data Protocol communication and the corresponding relation of physics network interface.
17. as claim 13 or 14 described equipment, it is characterized in that, also comprise based on User Data Protocol:
First detecting unit is used to use spare physical network interface and opposite end to carry out address and standby media interviews layer address that User Data Protocol UDP communicates by letter, detects described spare physical network interface and carries out the quality information that subscriber equipment agreement UDP communicates by letter with the opposite end;
First reports the unit, is used for the quality information that described first detecting unit detects is reported management equipment, to determine whether the carrying out switching of active and standby physics network interface.
18. the equipment based on User Data Protocol is characterized in that, comprising:
Second detecting unit is used to use spare physical network interface and opposite end to carry out address and standby media interviews layer address that User Data Protocol UDP communicates by letter, detects described spare physical network interface and carries out the quality information that subscriber equipment agreement UDP communicates by letter with the opposite end;
Second reports the unit, be used for the quality information that described second detecting unit detects is reported management equipment, so that described management equipment carries out in the request of receiving determining whether to carry out the switching of active and standby physics network interface according to described quality information after the handoff request of active and standby physics network interface;
Switch unit is used for according to described management equipment carrying out the switching of active and standby physics network interface according to described second switch acknowledgment message of returning that reports the quality information that the unit reports.
19. the equipment based on User Data Protocol as claimed in claim 18, it is characterized in that described switch unit specifically comprises according to described second switching that reports the switch acknowledgment message of returning of the quality information that the unit reports to carry out active and standby physics network interface according to described management equipment:
The spare physical network interface is carried out the address that User Data Protocol UDP communicates by letter with the opposite end, bind with the physics network interface with main;
Carry out address that User Data Protocol UDP communicate by letter with the physics network interface with the opposite end with main, bind, or described spare physical network interface is switched to the main physics network interface of using to described spare physical network interface place device request with described spare physical network interface.
20. the equipment based on User Data Protocol as claimed in claim 18, it is characterized in that described switch unit specifically comprises according to described second switching that reports the switch acknowledgment message of returning of the quality information that the unit reports to carry out active and standby physics network interface according to described management equipment:
Receive the main physics network interface place equipment of using and send, the spare physical network interface is switched to main request with the physics network interface;
Described master is carried out the address that User Data Protocol UDP communicates by letter with the physics network interface with the opposite end, bind with the spare physical network interface.
21. as claim 19 or 20 described arbitrary equipment based on User Data Protocol, it is characterized in that described switch unit further comprises according to described second switching that reports the switch acknowledgment message of returning of the quality information that the unit reports to carry out active and standby physics network interface according to described management equipment:
Send a notification message, the address of User Data Protocol communication and the corresponding relation of physics network interface are carried out in the request renewal.
22. an active and standby interface switch system is characterized in that, comprising: management equipment and based on the equipment of User Data Protocol, described equipment based on User Data Protocol comprises the main physics network interface of using;
Described equipment based on User Data Protocol is used for determining mainly carrying out the network that User Data Protocol UDP communicates by letter with physics network interface and opposite end and breaking down, and sends a request message to management equipment, asks to carry out the switching of active and standby physics network interface; Receive the switch acknowledgment message that described management equipment is returned according to described request message, carry out the switching of active and standby physics network interface;
Described management equipment is used for receiving the main request message that sends with the physics network interface of described equipment based on User Data Protocol, and the switching of active and standby physics network interface is carried out in request; Obtain the spare physical network interface and carry out the quality information that User Data Protocol UDP communicates by letter with the opposite end; If described quality information meets the requirement of presetting, mainly in based on the equipment of User Data Protocol return switch acknowledgment message with the physics network interface to described.
23. active and standby interface switch system, it is characterized in that, comprise: management equipment, based on the host apparatus of User Data Protocol with based on the stand-by equipment of User Data Protocol, described host apparatus based on User Data Protocol comprises that the master uses the physics network interface, and described stand-by equipment based on User Data Protocol comprises the spare physical network interface;
Described host apparatus based on User Data Protocol is used for determining mainly carrying out the network that User Data Protocol UDP communicates by letter with physics network interface and opposite end and breaking down, and sends a request message to management equipment, asks to carry out the switching of active and standby physics network interface; Receive the switch acknowledgment message that described management equipment is returned according to described request message, the spare physical network interface is carried out the address that User Data Protocol UDP communicates by letter with the opposite end, with main with the binding of physics network interface, to described based on the stand-by equipment of User Data Protocol on the request of spare physical network interface described spare physical network interface is switched to the main physics network interface of using;
Described management equipment is used for receiving the main request message that sends with the physics network interface of described host apparatus based on User Data Protocol, and the switching of active and standby physics network interface is carried out in request; Obtain the spare physical network interface to stand-by equipment and carry out the quality information that User Data Protocol UDP communicates by letter with the opposite end based on User Data Protocol; If described quality information meets the requirement of presetting, mainly in based on the host apparatus of User Data Protocol return switch acknowledgment message with the physics network interface to described;
Described stand-by equipment based on User Data Protocol is used to receive that described host apparatus based on User Data Protocol sends, and the spare physical network interface is switched to main request with the physics network interface; Described master is carried out the address that User Data Protocol UDP communicates by letter with the physics network interface with the opposite end, bind with the spare physical network interface.
CN200910171414XA 2009-08-28 2009-08-28 Method, equipment and system for switching main interface and standby interface Pending CN102006268A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910171414XA CN102006268A (en) 2009-08-28 2009-08-28 Method, equipment and system for switching main interface and standby interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910171414XA CN102006268A (en) 2009-08-28 2009-08-28 Method, equipment and system for switching main interface and standby interface

Publications (1)

Publication Number Publication Date
CN102006268A true CN102006268A (en) 2011-04-06

Family

ID=43813347

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910171414XA Pending CN102006268A (en) 2009-08-28 2009-08-28 Method, equipment and system for switching main interface and standby interface

Country Status (1)

Country Link
CN (1) CN102006268A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011157146A2 (en) * 2011-05-31 2011-12-22 华为技术有限公司 Main/backup switching method between communication devices, communication device, system and service request device
CN103546317A (en) * 2013-10-15 2014-01-29 华为技术有限公司 Path loading method and path loading server
WO2016086697A1 (en) * 2014-12-05 2016-06-09 华为技术有限公司 Switchback delay method, device, and system
CN106341249A (en) * 2015-07-10 2017-01-18 中兴通讯股份有限公司 Redundant port switching method and device
CN109446178A (en) * 2018-11-13 2019-03-08 郑州云海信息技术有限公司 A kind of Hadoop object storage high availability method, system, device and readable storage medium storing program for executing
CN110994565A (en) * 2019-12-02 2020-04-10 中国联合网络通信集团有限公司 Relay protection method and device
CN113300978A (en) * 2021-02-05 2021-08-24 阿里巴巴集团控股有限公司 Data transmission method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1878085A (en) * 2005-08-05 2006-12-13 华为技术有限公司 State detection method based on main and backup Ethernet interface
CN101365169A (en) * 2007-08-09 2009-02-11 华为技术有限公司 Routing control implementing method, system, media gateway and media gateway controller
CN101431437A (en) * 2008-12-30 2009-05-13 中兴通讯股份有限公司 Switching control method and device for main and standby network interface board
CN101488844A (en) * 2009-02-23 2009-07-22 中兴通讯股份有限公司 Method and system for communication link switching control between boards

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1878085A (en) * 2005-08-05 2006-12-13 华为技术有限公司 State detection method based on main and backup Ethernet interface
CN101365169A (en) * 2007-08-09 2009-02-11 华为技术有限公司 Routing control implementing method, system, media gateway and media gateway controller
CN101431437A (en) * 2008-12-30 2009-05-13 中兴通讯股份有限公司 Switching control method and device for main and standby network interface board
CN101488844A (en) * 2009-02-23 2009-07-22 中兴通讯股份有限公司 Method and system for communication link switching control between boards

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011157146A2 (en) * 2011-05-31 2011-12-22 华为技术有限公司 Main/backup switching method between communication devices, communication device, system and service request device
WO2011157146A3 (en) * 2011-05-31 2012-04-26 华为技术有限公司 Main/backup switching method between communication devices, communication device, system and service request device
CN103546317A (en) * 2013-10-15 2014-01-29 华为技术有限公司 Path loading method and path loading server
CN103546317B (en) * 2013-10-15 2017-06-20 华为技术有限公司 A kind of path loading method and server
WO2016086697A1 (en) * 2014-12-05 2016-06-09 华为技术有限公司 Switchback delay method, device, and system
US11146484B2 (en) 2014-12-05 2021-10-12 Huawei Technologies Co., Ltd. Method, device, and system for deferring switchback
CN106341249A (en) * 2015-07-10 2017-01-18 中兴通讯股份有限公司 Redundant port switching method and device
WO2017008641A1 (en) * 2015-07-10 2017-01-19 中兴通讯股份有限公司 Method of switching redundancy port and device utilizing same
CN109446178A (en) * 2018-11-13 2019-03-08 郑州云海信息技术有限公司 A kind of Hadoop object storage high availability method, system, device and readable storage medium storing program for executing
CN110994565A (en) * 2019-12-02 2020-04-10 中国联合网络通信集团有限公司 Relay protection method and device
CN113300978A (en) * 2021-02-05 2021-08-24 阿里巴巴集团控股有限公司 Data transmission method and device

Similar Documents

Publication Publication Date Title
CN102291320B (en) MAC (media access control) address learning method and edge device
US8812664B2 (en) Controlling an apparatus
CN102006268A (en) Method, equipment and system for switching main interface and standby interface
CN108777722B (en) Multi-system networking communication method and device, mobile terminal and storage medium
US8782160B2 (en) Cluster control system, cluster control method, and program
CN107465556B (en) Method, device and system for switching main server and standby server
CN102025630A (en) Load balancing method and load balancing system
CN102439949A (en) Method for solving internet protocol address assignment conflict and related device and system
CN103338488B (en) Method for switching network, terminal, controller, gateway and system
CN100454875C (en) Method and system for realizing dual attachment or multiple attachment of user network boundary device
CN104468869B (en) For the method for terminal distribution IP address, the method and device of acquisition IP address
US9503317B2 (en) Method and device for processing communication path
CN101316234B (en) Route condition detecting method, device and system
CN106101297B (en) A kind of message answer method and device
CN104333467A (en) Gateway proxy method and device for wireless network link failure of rail transit
CN102387083A (en) Network access control method and system
CN103987098B (en) IPV4 networks and the internetwork switching methods of IPV6 and system
CN102281263B (en) Method for establishing Internet small computer system interface (iSCSI) session and iSCSI initiator
CN106817267B (en) Fault detection method and equipment
CN102638396B (en) Load balancing method and device
CN105812495A (en) Message forwarding method and device
CN102859947B (en) Method, apparatus and system for neighbor discovery
US20080310319A1 (en) Server, network system, and network connection method used for the same
CN102904761B (en) The method of a kind of NVR stacking and NVR
US20070230333A1 (en) Information processing apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20110406