CN101123603B - Configurable Ethernet interface backup system and method - Google Patents

Configurable Ethernet interface backup system and method Download PDF

Info

Publication number
CN101123603B
CN101123603B CN2007101453121A CN200710145312A CN101123603B CN 101123603 B CN101123603 B CN 101123603B CN 2007101453121 A CN2007101453121 A CN 2007101453121A CN 200710145312 A CN200710145312 A CN 200710145312A CN 101123603 B CN101123603 B CN 101123603B
Authority
CN
China
Prior art keywords
interface
ethernet interface
standby
ethernet
active
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.)
Expired - Fee Related
Application number
CN2007101453121A
Other languages
Chinese (zh)
Other versions
CN101123603A (en
Inventor
杨茂彬
杨长江
翁建钢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN2007101453121A priority Critical patent/CN101123603B/en
Publication of CN101123603A publication Critical patent/CN101123603A/en
Application granted granted Critical
Publication of CN101123603B publication Critical patent/CN101123603B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

The invention provides a system and a method for configurable Ethernet interface backup. Therein, the system comprises at least one interface line card, which is used for sending and receiving data and detecting the interface status; a centralized control line card, which is connected to the at least one interface line card and is used for generating and maintaining a routing table and an interface table; and a service managing line card, which is connected to the centralized control line card and the at least one interface line card and is used for managing an upper service. The invention is capable of relieving the complexity of a group network, reducing the data flow capacity on the Ethernet, saving the using number of an IP address and a MAC address, decreasing data losing due to the invalidation of the Ethernet interface and improving the flexibility of the group network.

Description

Configurable Ethernet interface standby system and method
Technical field
The present invention relates to the communications field, relate to configurable Ethernet interface standby system and method more specifically.
Background technology
Along with the large-scale application of fast development of information technology and 3-G (Generation Three mobile communication system), people are more and more high to the reliability requirement of communication system.In the reality communication system, the application service of various novelties continues to bring out, and interrupts if network takes place in application process, and perhaps communication system is paralysed, and the influence that people's normal life and economic activity caused is very serious, and consequence is hardly imaginable.Therefore, in the networking process of practical communication system, must consider the reliability of system and backup property.
At present, the mode conduct of generally adopting backup to switch in the communication system provides a kind of key means of communication reliability, be that communication entity crucial in the communication system all adopts the active/standby backup mode, communication service runs on main with on the communication equipment, when the master breaks down with communication equipment, communication can be switched on the standby communication facility very soon, can make application service not take place to interrupt like this or can very fast recovery.
Chinese patent application (application number is 200310115273.2) discloses a kind of ethernet node backup method and system, need two active and standby each other identical interface cards to constitute in the equipment, realize the active/standby backup of Ethernet interface by the active/standby backup of interface card, the master passes through the Ethernet interface transceive data with interface card, detect the state of this ply-yarn drill Ethernet interface, reply the handshake information of spare interface ply-yarn drill; The spare interface ply-yarn drill is transceive data not, regularly sends handshake information to main with interface card.
The shortcoming of this method is, must need two identical interface cards do active and standby backup, all Ethernet interfaces on the spare interface ply-yarn drill all can not transceive data, causes the wasting of resources, if the spare interface ply-yarn drill breaks down simultaneously, then can't realize the backup of Ethernet interface.In addition, realize, can't dynamic-configuration revise Ethernet interface backup relation, networking underaction because the backup of Ethernet interface is backup by interface card.
Summary of the invention
One or more problems in view of the above, the invention provides a kind of new configurable Ethernet interface standby system and method, the complicated inflexible problem of networking be can solve, the usage quantity of data traffic, saving IP address and MAC Address on the Ethernet, the loss of data that the minimizing Ethernet interface lost efficacy and causes reduced.
Configurable Ethernet interface standby system according to the present invention comprises: at least one interface card, comprise the Ethernet interface of active/standby backup each other, be used to transmit and receive data and the Ethernet interface state is detected, and the operating state of described Ethernet interface and described Ethernet interface is reported; The centralized control ply-yarn drill, be connected at least one interface card, be used for generation and maintaining routing list and interface table, and the described operating state of the described Ethernet interface of the described active/standby backup each other that reports according to described at least one interface card is determined the masterslave state of described Ethernet interface; And the Business Processing ply-yarn drill, be connected to centralized control ply-yarn drill and at least one interface card, be used for upper-layer service is handled, wherein, handling described upper-layer service comprises: search described routing table and described interface table, determine route and described Ethernet interface, and send or receive described data.
Wherein, interface card comprises: Data Receiving and transmitting element, and be used for Ethernet interface at interface card and be in mainly with receiving under the situation of state and sending data, be in transmission and the reception of not carrying out data under the situation of stand-by state at Ethernet interface; And Interface status detecting unit, be used for regularly detecting the current Interface status of the Ethernet interface of interface card, when Interface status for becoming from inefficacy effectively or under the situation that effectively becomes inefficacy, Interface status detecting unit transmission interface state variation message is to the centralized control ply-yarn drill.
Wherein, the centralized control ply-yarn drill comprises: the interface table unit, be used to the interface relationship information of storing the Ethernet interface information of total interface ply-yarn drill and being configured to the Ethernet interface of active/standby backup, and be that each Ethernet interface distributes a corresponding index value, wherein, the interface of active/standby backup has identical index value; The routing table unit, be used for when data send, selecting route and outgoing interface, select route and distribute when Data Receiving, each route entry in the routing table unit is related with an interface index value, can find the corresponding interface from the interface table unit according to index value; And the active and standby TCU transfer control unit of interface, be used under the situation of Ethernet interface state variation, the active/standby backup that changes active and standby interface concerns, starts spare interface fast when the master was lost efficacy from effectively becoming with Interface status and replaces the master to carry out the reception and the transmission of data with interface.
Wherein, the Business Processing ply-yarn drill comprises: the professional reception and transmitting element, be used under the situation of the upper-layer service module work of Business Processing ply-yarn drill, carry out the reception and the transmission of service message, indication route querying selected cell is searched correct route and the Ethernet interface that sends message, and sends or receive message according to lookup result; And the route querying selected cell, be used under the indication of business reception and transmitting element, searching routing table unit and interface table unit, determine the Ethernet interface that message sends or receives.The Ethernet interface standby system switches two active and standby each other on same-interface ply-yarn drill Ethernet interfaces or switches two active and standby each other Ethernet interfaces on the distinct interface ply-yarn drill.
Ethernet interface backup method according to the present invention may further comprise the steps: S602, and two Ethernet interfaces on individual interface ply-yarn drill or a plurality of interface card are set to the Ethernet interface of active/standby backup each other, and are connected to the outside by private network cable; S604, after the Ethernet interface place interface card of active/standby backup powers on each other, interface card reports the centralized control ply-yarn drill with Ethernet interface and operating state thereof, and the centralized control ply-yarn drill is determined the masterslave state of Ethernet interface according to the Ethernet interface operating state of active/standby backup each other; S606, interface card receives and sends data by main with Ethernet interface, and regularly detects the state of Ethernet interface, and wherein, interface card does not receive and sends data by standby Ethernet interface; S608, interface card detects main with after the Ethernet interface inefficacy, notice centralized control ply-yarn drill, and the centralized control ply-yarn drill will be led with Ethernet interface and be converted to standby Ethernet interface, standby Ethernet interface is converted to the main Ethernet interface of using, and by switching messages notice total interface ply-yarn drill; S6010 after the Ethernet interface of active/standby backup receives the switching messages of centralized control ply-yarn drill each other, is converted to standby Ethernet interface with former master with Ethernet interface, and former standby Ethernet interface is converted to the main Ethernet interface of using; And S6012, centralized control ply-yarn drill prompting user's modification active/standby backup each other gets Ethernet interface and annexation thereof.
Wherein, in S602,, dispose identical or different MAC Address for active/standby backup each other gets the identical IP address of Ethernet interface configuration.In S608, the centralized control ply-yarn drill generates the interface table and the work shape of the Ethernet interface that reports according to interface card generates routing table, select master in the Ethernet interface of active/standby backup each other with Ethernet interface and record in the interface table, give total interface ply-yarn drill and Business Processing ply-yarn drill synchronously with routing table and interface table simultaneously.Standby Ethernet interface is converted to be led when using Ethernet interface, need to send the arp request message, the network switch or the MAC Address of hub updating interface and the mapping relations between network switch or the hub port that notice links to each other with the Ethernet interface of active/standby backup each other.
The present invention reached the complexity of saving networking, reduce data traffic on the Ethernet, reduce Ethernet interface lost efficacy the loss of data that causes, and improve the purpose of the flexibility of networking.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Figure 1A is according to the networking of the Ethernet interface active/standby backup of the embodiment of the invention and continuous schematic diagram;
Figure 1B~Fig. 1 D is respectively centralized control ply-yarn drill among Figure 1A, Business Processing ply-yarn drill, and the schematic diagram of interface card component part;
Fig. 2 is the total flow chart according to the method for the embodiment of the invention;
Fig. 3 is according to the active and standby switch operating flow chart of the interface of the active and standby TCU transfer control unit of interface on the centralized control ply-yarn drill of the embodiment of the invention;
Fig. 4 is a workflow diagram of using operating state according to the Ethernet interface of the embodiment of the invention the master;
Fig. 5 is according to the Ethernet interface of the embodiment of the invention workflow diagram in standby operating state; And
Fig. 6 is the flow chart according to the Ethernet interface backup method of the embodiment of the invention.
Embodiment
Below with reference to accompanying drawing, describe the specific embodiment of the present invention in detail.
Figure 1A shows the configurable Ethernet interface standby system according to the embodiment of the invention.Shown in Figure 1A, this system by the Business Processing ply-yarn drill 104 of the centralized control ply-yarn drill 102 of generation and maintaining routing list and interface table, operation upper-layer service and each other the interface card at the Ethernet interface place of active/standby backup (can be an interface card, also can be the polylith interface card) 106 compositions, communicate by internal bus between these ply-yarn drills.
Wherein, shown in Fig. 1 D, interface card 106 comprises: Data Receiving and transmitting element 106-2 are used for when the Ethernet interface of interface card is in the active-standby state, receive and the transmission data, when Ethernet interface is in standby operating state, then do not carry out the reception and the transmission of data; Interface status detecting unit 106-4, no matter Ethernet interface is in main still is standby operating state with operating state, current Interface status is regularly detected in the capital, when Interface status becomes effectively or from effectively becoming when losing efficacy from inefficacy, send the Interface status change message, and notice centralized control ply-yarn drill.
Wherein, shown in Figure 1B, centralized control ply-yarn drill 102 comprises: interface table unit 102-2, be used for all Ethernet interfaces of storage system and be configured to the Ethernet interface relation of active/standby backup each other, each Ethernet interface distributes an index value, and the interface of active/standby backup has identical index value each other; Routing table unit 102-4, be used for selecting when system's data send route and outgoing interface, select route to distribute during Data Receiving, each route entry in the routing table unit is related with an interface index value, can find the corresponding interface from the interface table according to index value; The active and standby TCU transfer control unit 102-6 of interface, be used for when the Ethernet interface state variation, changing the active/standby backup relation of active and standby interface each other, when being lost efficacy with the interface operating state, the master enables spare interface fast, replace former master to become new master and carry out the reception and the transmission of data, keep the continuity of operation flow with interface with interface.
Wherein, shown in Fig. 1 C, Business Processing ply-yarn drill 104 comprises: the professional reception and transmitting element 104-2, be used for when the upper-layer service module work of Business Processing ply-yarn drill, the reception of service message and transmission, service message can find correct route and Ethernet outgoing interface by the route querying selected cell when sending, and message is mail to destination; Route querying selected cell 104-4, be used for message transmission and receiving course and search routing table unit and interface table unit, determine the Ethernet interface that message sends or receives, here the Ethernet interface that finds must be an interface available, that be in main usefulness operating state, and this is guaranteed by the interface table.
Configurable Ethernet interface standby system according to the embodiment of the invention also comprises the active and standby configuration order of a cover Ethernet interface, offer the user two Ethernet interfaces of active/standby backup each other are set, also can be used for on-the-fly modifying the Ethernet interface of the current active/standby backup each other that is using, after the active/standby backup relation of Ethernet interface is reset modification, do not need to restart interface card, only need simple modification networking netting twine annexation can satisfy new networking demand.
Wherein, the active and standby TCU transfer control unit of interface also is used to receive operating personnel's Ethernet interface and switches instruction, make former spare interface be converted to the main operating state of using from standby operating state, former master is standby operating state from the master with the work state exchange with interface, and the Ethernet interface active/standby backup relation after the centralized control ply-yarn drill will upgrade simultaneously is notified to total interface ply-yarn drill and professional ply-yarn drill.
Wherein, in order to save the usage quantity of IP address and MAC Address, according in the configurable Ethernet interface standby system of the embodiment of the invention each other two Ethernet interfaces of active/standby backup can adopt identical IP address and MAC Address, when standby Ethernet interface receives that operating state is after the standby notice that is transformed into main usefulness, need send the ARP request message, make to be attached thereto the mapping relations that the network switch that connects or hub upgrade described port mac address and the described network switch or hub port.
Wherein, the active/standby backup mode of Ethernet interface has following two kinds: first kind of interface backup mode is that interior two Ethernet interface a of interface card and b are configured to active/standby backup relation each other, Ethernet interface a inserts the identical network switch by independent ethernet line respectively simultaneously with b, and the network switch links to each other with the Internet through router again; The Ethernet interface c that second kind of interface backup mode is interface card and the Ethernet interface d of interface card are configured to active/standby backup relation each other, Ethernet interface c inserts the identical network switch by independent ethernet line respectively simultaneously with d, and the network switch links to each other with the Internet through router again.
Wherein, the network switch among Figure 1A also can be two layers of interconnect equipment such as hub, and the network switch and the network switch can be same equipment.Simultaneously, two of active/standby backup Ethernet interfaces can use identical IP address and MAC Address each other, to save the usage quantity of IP address and MAC Address.
With reference to figure 2, the workflow of system shown in key diagram 1A-Fig. 1 D.As shown in Figure 2, this workflow may further comprise the steps:
S202 disposes two Ethernet interfaces of active/standby backup each other by the active and standby configuration order of interface, and is synchronized on the centralized control ply-yarn drill, generates the interface active/standby backup relation in the interface table.
S204, the Ethernet interface of active/standby backup carries out networking and connection with disposing each other, and interface card powers on, software startup.
S206, the centralized control ply-yarn drill generates routing table and interface table, and gives every other ply-yarn drill synchronously with routing table and interface table.
S208, the service transmitting unit on the Business Processing ply-yarn drill selects the master to carry out the transmission and the reception of service message with the Ethernet interface of operating state by routing table and interface table.
S2010, when primary and backup Ethernet interface operating state changed, notice centralized control ply-yarn drill carried out the active and standby switching of Ethernet interface.
S2012, operating personnel on-the-fly modify configuration ethernet interface active/standby backup relation, give the centralized control ply-yarn drill synchronously, safeguard new Ethernet interface active/standby backup relation.
In step S202, human configuration is the Ethernet interface of active/standby backup each other, can be two different Ethernet interfaces on the same interface card, the Ethernet interface a of interface card and b are configured to active/standby backup interface each other shown in Figure 1A, also can be two Ethernet interfaces on the distinct interface ply-yarn drill, the Ethernet interface d of the Ethernet interface c of interface card and interface card be configured to active/standby backup interface each other shown in Figure 1A.The interface active/standby backup informational needs of configuration is synchronized on the centralized control ply-yarn drill, generates the interface main and standby relation in the interface table.
In step S204, need be consistent with the configuration mode among the step S202 during active/standby backup Ethernet interface networking each other.For example, Ethernet interface a and b are configured to the active/standby backup interface among Figure 1A, so just Ethernet interface a and b need be connected on same switch or the hub by ethernet line separately, switch or hub link to each other with extraneous the Internet by router again.Interface card powers on behind the software startup, can report the centralized control ply-yarn drill to the operating state of Ethernet interface.
In step S206, the Ethernet interface operating state that the centralized control ply-yarn drill can report according to each interface card generates routing table, and selects each other main Ethernet interface with operating state in the active/standby backup Ethernet interface, records in the interface table.Simultaneously, the centralized control ply-yarn drill is given total interface ply-yarn drill and Business Processing ply-yarn drill by the internal bus in the system synchronously with routing table and interface table.
In step S208, Service Processing Unit on the Business Processing ply-yarn drill is when sending service message, can find corresponding route entry according to message purpose IP address, the index value that includes the Ethernet outgoing interface in the route entry, from the interface table, find the Ethernet interface that is in main usefulness operating state in the active/standby backup interface according to this index value, and transmit and receive data with Ethernet interface from main.
In step S2010, no matter Ethernet interface is in main still is standby operating state with operating state, the operating state of Ethernet interface is regularly detected in the capital by the Interface status detecting unit, become failure state when detecting Ethernet interface from effective status, perhaps when failure state becomes effective status, the Interface status change message is sent in the capital, and notice centralized control ply-yarn drill, determine by the active and standby TCU transfer control unit of the interface of centralized control ply-yarn drill whether the Ethernet interface main and standby relation changes.
In step S2012, operating personnel can also on-the-fly modify current Ethernet interface active/standby backup relation according to the variation of current network environment.After Ethernet interface active/standby backup relation reconfigures modification, do not need to restart interface card, only need simple modification networking netting twine annexation, can satisfy new networking demand, improved the convenience and the flexibility of networking greatly.
Fig. 3 shows according to the active and standby switch operating flow chart of the interface of the active and standby TCU transfer control unit of interface on the centralized control ply-yarn drill of the embodiment of the invention.In step S206, the centralized control ply-yarn drill can be according to the IP address configuration data (S302) of configuration data and each external Ethernet interface of Ethernet interface active/standby backup, generate corresponding routing table and interface table (S304), and safeguard the active/standby backup relation of Ethernet interface by the active and standby TCU transfer control unit of interface.Routing table is the set of all route entrys of system of the present invention, described the routing informations such as next-hop ip address of each purpose network that is connected with native system, each route entry has indicated the Ethernet interface that this path is passed through by the index value of Ethernet interface simultaneously; The interface table has then been described all Ethernet interfaces and the other types interface message that system of the present invention comprises, index value of each interface assignment, for the Ethernet interface of active/standby backup each other, has identical index value, and in the interface table, illustrated mainly with interface and spare interface (S306), can in the interface table, find the current Ethernet interface that is in main with operating state by index value.With reference to Figure 1A, the centralized control ply-yarn drill is given all Business Processing ply-yarn drill and interface cards in the system by the internal bus of system of the present invention synchronously with routing table and interface table, is used for selecting correct route entry when each ply-yarn drill sends data and searching current main Ethernet interface with operating state.
Wherein, the active and standby TCU transfer control unit of the interface of centralized control ply-yarn drill receives current main with after the message of Ethernet interface state inefficacy (S308), check the operating state (S310) of standby Ethernet interface, if standby Ethernet interface is in effective status, the active and standby TCU transfer control unit of interface is switched Ethernet interface active/standby backup relation so, to lead with Ethernet interface and be converted to stand-by state, standby Ethernet interface is converted to main with state (S312); Equally, the active and standby TCU transfer control unit of interface receives (S314) after the effective message of standby Ethernet interface state, check main operating state (S316) with Ethernet interface, if the master is in failure state with Ethernet interface, the active and standby TCU transfer control unit of interface is switched Ethernet interface active/standby backup relation so, standby Ethernet interface is converted to the main state of using, and the master is converted to stand-by state (S318) with Ethernet interface.By the quick switching of Ethernet interface main and standby relation, service message is not interrupted, improved communication reliability greatly.
Fig. 4 illustrates according to the Ethernet interface of the embodiment of the invention and uses the workflow diagram of operating state the master, and switches schematic diagram.Among step S208 and the step S2010, Ethernet interface is in to be led when using operating state, carries out following steps:
S402 receives and sends data by Data Receiving and transmitting element.
S404, regularly the operating state of detection port is notified the active and standby TCU transfer control unit of interface on the centralized control ply-yarn drill when operating state changes.
S406 when the interface master commentaries on classics that receives the active and standby TCU transfer control unit of interface is equipped with message, switches to stand-by state with operating state, does not transmit and receive data.
As shown in Figure 5, in step S208 and step S2010, when Ethernet interface is in standby operating state, carry out following steps:
S502 if Data Receiving and transmission are arranged, does discard processing.
S504, regularly the operating state of detection port is notified the active and standby TCU transfer control unit of interface on the centralized control ply-yarn drill when operating state changes.
S506 when the interface that receives the active and standby TCU transfer control unit of interface is equipped with alternation of hosts's message, switches to the main state of using with operating state.
S508 outwards sends the arp request message, the mapping relations of MAC Address and port on the network switch that renewal is attached thereto.
Wherein, operating personnel also can manually initiate the switching of Ethernet interface main and standby relation, after the active and standby TCU transfer control unit of interface is received the instruction of the active and standby switching of interface, check main operating state with Ethernet interface and standby Ethernet interface, if the state of two interfaces all is an effective status, then can initiate the active and standby switching of Ethernet interface, and the Ethernet interface on the notification interface ply-yarn drill carries out the conversion of masterslave state.
With reference to figure 6, the configurable Ethernet interface backup method according to the embodiment of the invention is described.As shown in Figure 6, this method may further comprise the steps:
S602, human configuration needs two Ethernet interfaces of active/standby backup each other, is synchronized on the centralized control ply-yarn drill of system, and two Ethernet interfaces are connected on the same network switch or the hub by independent netting twine.
S604, after the Ethernet interface place interface card of active/standby backup powers on each other, software startup, interface card reports the centralized control ply-yarn drill with Ethernet interface and operating state, the centralized control ply-yarn drill generates the interface table, and work in mainly with operating state or standby operating state according to the Ethernet interface operating state decision Ethernet interface of active/standby backup each other, record in the interface table; The centralized control ply-yarn drill is given the total interface ply-yarn drill synchronously with the interface table, and interface card determines that according to the interface table Ethernet interface running software is in leading usefulness or standby operating state.
S606, the master is responsible for receiving and sending data with Ethernet interface, and regularly detects the state of interface.Standby Ethernet interface only detects Interface status, does not send and receive any data.
S608, after the master detected this interface fails with Ethernet interface, notice centralized control ply-yarn drill the port lost efficacy, and the centralized control ply-yarn drill is spare interface with former master with interface conversion, and former spare interface is converted to the master and uses interface, and notifies all ply-yarn drills.
S6010, active and standby each other Ethernet interface ply-yarn drill is converted to stand-by state with former master with Ethernet interface after receiving the interface inverting message of centralized control ply-yarn drill, and former standby Ethernet interface is converted to the main state of using.
S6012 manually on-the-fly modifies active and standby each other Ethernet interface, and simple modification networking netting twine annexation, satisfies new networking demand.
In step S602, two of active/standby backup Ethernet interfaces dispose identical IP addresses each other, and MAC Address can be the same or different.
In step S604, the centralized control ply-yarn drill also needs maintaining routing list except the maintenance interface table, has the index value of interface in the routing table, can find current master from the interface table according to index value and use Ethernet interface.
In step S6010, standby Ethernet interface is converted to the main time spent, to send the ARP request message earlier, the mapping relations that make the network switch that links to each other with active/standby backup Ethernet interface each other or hub upgrade described port mac address and the described network switch or hub port.
Further, when the Ethernet interface of active/standby backup belongs to same interface card each other,, can realize four Ethernet interfaces active/standby backup each other so if interface card adopts ply-yarn drill active and standby again.
In sum, in the present invention, the Ethernet interface active/standby backup is not subjected to the interface card restricted number, can dispose different Ethernet interfaces active/standby backup each other in same interface card; It is simple and reliable that the Ethernet interface active/standby backup is realized, two active and standby each other Ethernet interfaces insert same Ethernet, have saved the complexity of networking, simultaneously because standby Ethernet interface transceive data has not also reduced the data traffic on the Ethernet; Because Ethernet interface of the present invention can use identical IP address and MAC Address, has saved the usage quantity of IP address and MAC Address; Ethernet interface backup mode of the present invention can be realized the quick switching that Ethernet interface is primary and backup by software controlled, has greatly reduced the loss of data that Ethernet interface lost efficacy and causes; The present invention also provides the Ethernet interface active/standby backup configurable method, can greatly improve the flexibility of networking according to the on-the-spot networking demand dynamic-configuration Ethernet interface of active/standby backup each other.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (9)

1. configurable Ethernet interface standby system is characterized in that comprising:
At least one interface card comprises the Ethernet interface of active/standby backup each other, is used to transmit and receive data and the docking port state detects, and the operating state of described Ethernet interface and described Ethernet interface is reported;
The centralized control ply-yarn drill, be connected to described at least one interface card, be used for generation and maintaining routing list and interface table, and the described operating state of the described Ethernet interface of the described active/standby backup each other that reports according to described at least one interface card is determined the masterslave state of described Ethernet interface; And
The Business Processing ply-yarn drill, be connected to described centralized control ply-yarn drill and described at least one interface card, be used for upper-layer service is handled, wherein, handling described upper-layer service comprises: search described routing table and described interface table, determine route and described Ethernet interface, and send or receive described data.
2. configurable Ethernet interface standby system according to claim 1 is characterized in that described interface card comprises:
Data Receiving and transmitting element are used for Ethernet interface at described interface card and are in mainly with receiving under the situation of state and sending data, are in transmission and the reception of not carrying out data under the situation of stand-by state at described Ethernet interface; And
The Interface status detecting unit, be used for regularly detecting the current Interface status of the Ethernet interface of described interface card, when described Interface status for becoming from inefficacy effectively or under the situation that effectively becomes inefficacy, described Interface status detecting unit transmission interface state variation message is to described centralized control ply-yarn drill.
3. configurable Ethernet interface standby system according to claim 2 is characterized in that, described centralized control ply-yarn drill comprises:
The interface table unit, be used to the interface relationship information of storing the Ethernet interface information of total interface ply-yarn drill and being configured to the Ethernet interface of active/standby backup, and for each Ethernet interface distributes a corresponding index value, wherein, the interface of described active/standby backup has identical index value;
The routing table unit, be used for when data send, selecting route and outgoing interface, select route and distribute when Data Receiving, each route entry in the routing table unit is related with an interface index value, can find the corresponding interface from described interface table unit according to index value; And
The active and standby TCU transfer control unit of interface, be used under the situation of described Ethernet interface state variation, change the active/standby backup relation of active and standby interface, start spare interface fast when the master was lost efficacy from effectively becoming with Interface status and replace described master to carry out the reception and the transmission of data with interface.
4. configurable Ethernet interface standby system according to claim 3 is characterized in that, described Business Processing ply-yarn drill comprises:
The professional reception and transmitting element, be used under the situation of the upper-layer service module work of described Business Processing ply-yarn drill, carry out the reception and the transmission of service message, indication route querying selected cell is searched correct route and the Ethernet interface that sends message, and sends or receive described message according to lookup result; And
Described route querying selected cell is used for searching routing table unit and interface table unit under the indication of described professional reception and transmitting element, determines the Ethernet interface that message sends or receives.
5. according to each described configurable Ethernet interface standby system in the claim 1 to 4, it is characterized in that described Ethernet interface standby system switches two active and standby each other on same-interface ply-yarn drill Ethernet interfaces or switches two active and standby each other Ethernet interfaces on the distinct interface ply-yarn drill.
6. an Ethernet interface backup method is characterized in that, may further comprise the steps:
S602, two Ethernet interfaces on individual interface ply-yarn drill or a plurality of interface card are set to the Ethernet interface of active/standby backup each other, and are connected to the outside by private network cable;
S604, after the Ethernet interface place of described active/standby backup each other interface card powers on, described interface card reports the centralized control ply-yarn drill with described Ethernet interface and operating state thereof, and described centralized control ply-yarn drill is determined the masterslave state of described Ethernet interface according to the Ethernet interface operating state of described active/standby backup each other;
S606, described interface card receives and sends data by described master with Ethernet interface, and regularly detects the state of described Ethernet interface, and wherein, described interface card does not receive and sends data by described standby Ethernet interface;
S608, after described interface card detects described master and lost efficacy with Ethernet interface, notify described centralized control ply-yarn drill, described centralized control ply-yarn drill is converted to standby Ethernet interface with described master with Ethernet interface, described standby Ethernet interface is converted to the main Ethernet interface of using, and by switching messages notice total interface ply-yarn drill;
S6010 after the Ethernet interface of active/standby backup receives the switching messages of described centralized control ply-yarn drill each other, is converted to standby Ethernet interface with former master with Ethernet interface, and former standby Ethernet interface is converted to the main Ethernet interface of using; And
S6012, described centralized control ply-yarn drill prompting user's modification active/standby backup each other gets Ethernet interface and annexation thereof.
7. Ethernet interface backup method according to claim 6 is characterized in that, in described S602, for described active/standby backup each other gets the identical IP address of Ethernet interface configuration, disposes identical or different MAC Address.
8. Ethernet interface backup method according to claim 6, it is characterized in that, in described S608, described centralized control ply-yarn drill generates the interface table and the work shape of the Ethernet interface that reports according to described interface card generates routing table, select master in the Ethernet interface of active/standby backup each other with Ethernet interface and record in the described interface table, give total interface ply-yarn drill and Business Processing ply-yarn drill synchronously with described routing table and described interface table simultaneously.
9. Ethernet interface backup method according to claim 6, it is characterized in that, described standby Ethernet interface is converted to be led when using Ethernet interface, need to send the arp request message, MAC Address that the network switch that notice links to each other with the Ethernet interface of described active/standby backup each other or hub upgrade described interface and the mapping relations between described network switch or the hub port.
CN2007101453121A 2007-07-05 2007-09-07 Configurable Ethernet interface backup system and method Expired - Fee Related CN101123603B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007101453121A CN101123603B (en) 2007-07-05 2007-09-07 Configurable Ethernet interface backup system and method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN200710129378.1 2007-07-05
CN200710129378 2007-07-05
CN2007101453121A CN101123603B (en) 2007-07-05 2007-09-07 Configurable Ethernet interface backup system and method

Publications (2)

Publication Number Publication Date
CN101123603A CN101123603A (en) 2008-02-13
CN101123603B true CN101123603B (en) 2010-06-16

Family

ID=39085782

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101453121A Expired - Fee Related CN101123603B (en) 2007-07-05 2007-09-07 Configurable Ethernet interface backup system and method

Country Status (1)

Country Link
CN (1) CN101123603B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102130717B (en) * 2010-01-18 2015-04-01 中兴通讯股份有限公司 Method for realizing distributed protection and passive optical network (PON) system
CN102332986B (en) * 2010-07-13 2013-08-14 杭州华三通信技术有限公司 Address processing method, system and device
CN101997772B (en) * 2010-10-13 2012-09-12 福建星网锐捷网络有限公司 Flow control method, device, system and network equipment
CN102143006B (en) * 2011-04-18 2013-09-18 福建星网锐捷网络有限公司 Interface topology control method, system and device for communication equipment
CN104869010B (en) * 2013-12-13 2021-06-18 马维尔以色列(M.I.S.L.)有限公司 Protection switching
CN105847138A (en) * 2015-01-12 2016-08-10 中兴通讯股份有限公司 Business processing method and device
CN108055163A (en) * 2018-01-06 2018-05-18 北京特立信电子技术股份有限公司 A kind of dual-homed equipment and its protection switching method
CN110460683B (en) * 2019-07-05 2022-05-20 锐捷网络股份有限公司 Method and switching equipment for processing data message through gateway
CN111130886A (en) * 2019-12-26 2020-05-08 京信通信系统(中国)有限公司 Network port switching method and device, board card and network port switching system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1545268A (en) * 2003-11-27 2004-11-10 中兴通讯股份有限公司 A method and system for Ethernet interface node backup

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1545268A (en) * 2003-11-27 2004-11-10 中兴通讯股份有限公司 A method and system for Ethernet interface node backup

Also Published As

Publication number Publication date
CN101123603A (en) 2008-02-13

Similar Documents

Publication Publication Date Title
CN101123603B (en) Configurable Ethernet interface backup system and method
CN103250398B (en) For the mobile gateway in the elastic pond of session
CN101478435B (en) Topology collecting method for stacking system and dual control board equipment
CN101160836B (en) Redundancy protection method for bridge mode resilient packet ring
CN102148677B (en) Method for updating address resolution protocol table entries and core switch
CN102315975B (en) Fault processing method based on intelligent resilient framework (IRF) system and equipment thereof
CN110417569B (en) Network link fault processing method and tunnel endpoint equipment
CN102045332B (en) Method for processing control message in intelligent resilient framework and line card boards
CN100461697C (en) Service take-over method based on device disaster tolerance, service switching device and backup machine
CN101800676A (en) Link detection method, device and system
CN101860492A (en) Quick switching method, device and system
CN102025630A (en) Load balancing method and load balancing system
CN101150439A (en) A method, system and device for realizing master/slave switching
CN1965540A (en) Method and apparatus for detecting support for a protocol defining supplemental headers
CN102624635A (en) Method and device for realizing graceful restart
CN101909006B (en) BFD (Bidirectional Forwarding Detection) message sending and receiving methods as well as device and communication system thereof
CN101442429B (en) Method and system for implementing disaster-tolerating of business system
CN101989953A (en) Method and equipment for sending bidirectional forwarding detection message
CN102088415A (en) Method and device for MAC (media access control) address withdrawal
CN105760260A (en) Backup system and backup method
CN108989200A (en) data packet forwarding method, device and system
CN1322716C (en) Key route information monitoring method based on virtual router redundant protocol
CN102265556A (en) Conversion method between an main communicational equipment and a spare communicational equipment, the communicational equipments and a service request equipment
CN104604191A (en) Communication device, communication system, path-determining method, and program
CN102651711A (en) Method, device and system for establishing and using floating segments

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100616

Termination date: 20190907

CF01 Termination of patent right due to non-payment of annual fee