CN101483527B - Dual engine switch device and engine switching method - Google Patents

Dual engine switch device and engine switching method Download PDF

Info

Publication number
CN101483527B
CN101483527B CN2009100069773A CN200910006977A CN101483527B CN 101483527 B CN101483527 B CN 101483527B CN 2009100069773 A CN2009100069773 A CN 2009100069773A CN 200910006977 A CN200910006977 A CN 200910006977A CN 101483527 B CN101483527 B CN 101483527B
Authority
CN
China
Prior art keywords
card
engine
state
engine card
service
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.)
Active
Application number
CN2009100069773A
Other languages
Chinese (zh)
Other versions
CN101483527A (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.)
Ruijie Networks Co Ltd
Original Assignee
Fujian Star Net Communication 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 Fujian Star Net Communication Co Ltd filed Critical Fujian Star Net Communication Co Ltd
Priority to CN2009100069773A priority Critical patent/CN101483527B/en
Publication of CN101483527A publication Critical patent/CN101483527A/en
Application granted granted Critical
Publication of CN101483527B publication Critical patent/CN101483527B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present invention discloses a double-engine switchboard device and an engine switching method thereof. The invention is used for settling the problem of slow response speed for switching engine in the double-engine switchboard device. The double-engine switchboard device provided by the invention comprises a first engine card, a second engine card and a plurality of service cards. The two engine cards are connected through a back plate, wherein the first engine card is used for monitoring the state of the second engine card. Furthermore when the state of the second engine card changes, the first engine card transmits the information notification which indicates the state changing of the second engine card to each service card. The service cards are used for receiving the information notification and configuring the exchange port of the service cards according to the state changing of the second engine card. The invention reduces the turn-off time of double-engine switchboard device in the engine switching process and increases the stability of double-engine switchboard device in engine failure.

Description

A kind of switch device with double engines and engine switching method thereof
Technical field
The present invention relates to network communications technology field, relate in particular to a kind of switch device with double engines and engine handoff technique thereof.
Background technology
A complete switch device with double engines comprises two engine cards and some service cards (service card also can be called ply-yarn drill), engine card and service card all are inserted in the corresponding screens of switch device cabinet slot, every engine card and service card all have independently central processing unit (Central Processing Unit, CPU).The hardware and software structure of two engine cards is in full accord, can backup each other, and wherein an engine card is responsible for the configuration management and the flow control of whole switch device as leading engine; Another piece engine card is as backup engine, bear the data forwarding flow of switch device on the one hand jointly with leading engine, backup when breaking down as leading engine on the other hand, the configuration information of rapid synchronous whole switch device when the leading engine cisco unity malfunction, and control data stream is transmitted according to new path.As shown in Figure 1a, transmit the path schematic diagram for the data flow during two equal operate as normal of engine card in the switch device with double engines.(Aggregate Port AP) connects with balanced flow and improves bandwidth, improves data forwarding efficient thereby this configuration mode can make full use of active and standby engine generally two data flow forming respectively with double engines to be transmitted via configuration and be aggregation port.With simple logic port of a plurality of physical ports configurations " binding " one-tenth, this logic port promptly can be described as AP, and an AP can regard an independently physical port as from application point, and actual bandwidth is the bandwidth summation of all physical ports of comprising of AP.From Fig. 1 a as can be seen, when operate as normal with double engines, switching port hg1, hg2 that service card A links to each other with engine card CM1, CM2 are configured to AP, switching port hg7, hg8 that service card B links to each other with engine card CM1, CM2 are configured to AP equally, the data flow between service card A and the service card B can be simultaneously two paths be hg1<-hg3<-hg5<-hg7 and hg2<-hg4<-hg6<-transmit on the hg8.Shown in Fig. 1 b, the data flow when engine card CM1 breaks down in the switch device with double engines shown in Fig. 1 a is transmitted the path schematic diagram.From Fig. 1 b as can be seen, after engine card CM1 breaks down, hg1<-hg3<-hg5<-path of hg7 interrupts, and service card A, service card B need delete the AP configuration, dispose the data flow of this service card simultaneously and only transmit to switching port hg2, hg8.At this moment,, cause the data flow of service card A, service card B still to transmit to switching port hg1, hg7 if change is not in time disposed or mis-arrange, then can obliterated data.
A kind of engine handoff solution of switch device with double engines is provided in the prior art, the state of the switching port that the service card end links to each other with all engine cards by special this service card of detection duty cycle detection, when the state that detects certain switching port changes, the AP configuration and the data flow forwarding path of this service card are adjusted according to the state after changing.The state of switching port comprises connection (LINKUP) and disconnects (LINKDOWN), if engine card is inserted into, then the switching port of the service card that links to each other with this engine card becomes LINKUP from LINKDOWN, if engine card breaks down or by the people for extracting, then the switching port of the service card that links to each other with this engine card becomes LINKDOWN from LINKUP.See also Fig. 1 a and Fig. 1 b, after engine card CM1 broke down, the service card A that links to each other with engine card CM1, switching port hg1, the hg7 of service card B became LINKDOWN by LINKUP.
In the switch device course of work with double engines, if wherein engine card break down or by the people for extracting, the detection task of service card end can detect this service card and become LINKDOWN with the switching port that this engine card links to each other from LINKUP, thereby the treatment progress of notifying this service card is transmitted passage with data flow and is adjusted according to the state after changing, guarantee switch device with double engines an engine card break down or by the people for after extracting, another piece engine card replaces this to break down or is that the engine card of extracting carries out the forwarding of data flow by the people under the condition of not cutting off the power supply.
Existing solution exists switch device with double engines to the slower problem of engine switching response time, can't the higher application scenarios of requirement of real time.Still breaking down with above-mentioned engine card CM1 is that example describes, in the cycle is 1 second detection task, from the state of engine card CM1 change (from operate as normal to breaking down) detect this variation and respond to the service card end, generally need hundreds of milliseconds time.In this process, the data flow of striding service card still is forwarded to engine card CM1 according to the path before the state variation, and engine card CM1 broke down and caused losing efficacy this moment, can cause of short duration data flow obstructed, " cutout " phenomenon promptly occurred.If shorten the cycle of detection task, can shorten the response time to a certain extent, but can increase system load simultaneously.If comprise the online service card of polylith (promptly being inserted in the service card of operate as normal in the screens) in the switch device with double engines, the used time of state of the switching port that each service card detection links to each other with engine card is also not quite identical, suppose that wherein a service card detects and disposes, and another piece service card still is untreated and finishes, then the data flow of transmitting between these two service cards still might be lost, and has further reduced switch device with double engines to a certain extent to the engine switching response time.
Summary of the invention
The invention provides a kind of switch device with double engines and engine switching method thereof, in order to solve switch device with double engines to the slower problem of engine switching response time.
The invention provides a kind of switch device with double engines, comprise first engine card, second engine card and some service cards, two engine cards link to each other by backplate, wherein:
Described first engine card is used to monitor the state of second engine card, and the state of engine card comprises the insertion state and extracts state; Become when extracting state from the insertion state at second engine card, send first message announcement, indicate the state of second engine card to become the state of extracting to each service card; When second engine card becomes the insertion state from extracting state, send second message announcement to each service card, indicate the state of second engine card to become the insertion state;
Described service card is used for when receiving described first message announcement, becomes the state of extracting according to the state of second engine card, deletion aggregation port AP configuration, and the data flow that reconfigures this service card is forwarded on the switching port that links to each other with first engine card; When receiving described second message announcement, become the insertion state according to the state of second engine card, create aggregation port AP, and the data flow that reconfigures this service card is forwarded on the AP of establishment.
Accordingly, the invention provides a kind of engine switching method of above-mentioned switch device with double engines, comprising:
Each piece engine card of switch device with double engines is monitored the state of another engine card, and the state of engine card comprises the insertion state and extracts state;
Current engine is stuck in another engine card and becomes when extracting state from the insertion state, sends first message announcement to each service card, indicates the state of another engine card to become the state of extracting; Receive the service card of described first message announcement, become the state of extracting according to the state of another engine card, deletion aggregation port AP configuration, and the data flow that reconfigures this service card is forwarded on the switching port that links to each other with the current engine card;
Perhaps, current engine is stuck in another engine card when becoming the insertion state from extracting state, sends second message announcement to each service card, indicates the state of another engine card to become the insertion state; Receive the service card of described second message announcement, become the insertion state, create aggregation port AP, and the data flow that reconfigures this service card is forwarded on the AP of establishment according to the state of another engine card.
Switch device with double engines provided by the invention and engine switching method thereof, each piece engine card of switch device with double engines is monitored the state of another engine card, and sends message announcement to each service card when the state of another engine card changes; The service card that receives message announcement is configured according to the state variation of another engine card switching port to this service card.The present invention is directed to the state variation of engine card in the engine handoff procedure, initiatively notifying mechanism realization service card is to the switching of a data circulation path by the engine card end, and signal processing is compared task detection or the shortening greatly consuming time of " heartbeat " mechanism; The engine card end initiatively sends message announcement to service card, can guarantee that all online service cards finish data flow simultaneously and transmit the switching of path and enter normal data flow forwarding state immediately, further reduce in the engine handoff procedure the asynchronous cutout time of causing between the service card; The present invention efficiently solves switch device with double engines to the slower problem of engine switching response time, has reduced the cutout time of switch device with double engines in the engine handoff procedure, has improved the stability of switch device with double engines when engine failure.
Description of drawings
Fig. 1 a be in the prior art in the switch device with double engines data flow during the equal operate as normal of two engine cards transmit the path schematic diagram;
Fig. 1 b transmits the path schematic diagram for the data flow after engine card CM1 breaks down in the switch device with double engines shown in Fig. 1 a;
Fig. 2 is a switch device structured flowchart with double engines in the embodiment of the invention;
Fig. 3 is the internal structure and the functional schematic of switch device with double engines in the embodiment of the invention;
Fig. 4 is the backplate plug connector pin of engine card end in the embodiment of the invention and the electrical block diagram of logical circuit;
Fig. 5 is the engine switching method flow chart of switch device with double engines in the embodiment of the invention;
Fig. 6 is the engine switching method flow chart of a kind of concrete application scenarios in the embodiment of the invention;
Fig. 7 is the engine switching method flow chart of another kind of concrete application scenarios in the embodiment of the invention.
Embodiment
The embodiment of the invention provides a kind of engine switch device of getting, state variation at engine card in the engine handoff procedure, realize the switching of service card by engine card end active notifying mechanism to a data circulation path, thereby efficiently solve switch device with double engines to the slower problem of engine switching response time, reduce the cutout time of switch device with double engines in the engine handoff procedure, improved the stability of switch device with double engines when engine failure.Wherein, engine card end initiatively notifying mechanism passes through to adjust the backplate plug connector pin of engine card end and the circuit structure of logical circuit, and the software processes flow process of modification engine card end and service card end can realize.
As shown in Figure 2, the embodiment of the invention provides a kind of switch device with double engines, comprises that first engine card 200, second engine card 201 and 202, two engine cards of some service cards link to each other by backplate, wherein:
First engine card 200 is used to monitor the state of second engine card 201, and when the state of second engine card 201 changes, sends the message announcement of the indication second engine card state variation to each service card 202;
Service card 202 is used to receive this message announcement, is configured according to the state variation of second engine card 201 switching port to this service card.
It is to be noted, two engine cards of switch device with double engines soft, hardware configuration is in full accord, can monitor mutually and backup each other, just for convenience two engine cards are named respectively in the embodiment of the invention, arbitrary engine card all can be regarded first engine card as.
At first the state to engine card describes.Engine card comprises that two states promptly inserts state and extracts state, if engine card is inserted in the corresponding screens of switch device cabinet slot and operate as normal, then this engine card is " an insertion state "; If engine card breaks down or by the people for extracting, then this engine card is " extracting state ".
For any engine card, possess following function: current engine is stuck in another engine card and becomes when extracting state from the insertion state, sends first message announcement to each service card, indicates the state of another engine card to become the state of extracting; Current engine is stuck in another engine card when becoming the insertion state from extracting state, sends second message announcement to each service card, indicates the state of another engine card to become the insertion state.
Accordingly, for any service card, possess following function: service card is when receiving first message announcement of current engine card transmission, state according to another engine card becomes the state of extracting, deletion AP configuration, and the data flow that reconfigures this service card is forwarded on the switching port that links to each other with the current engine card; Service card becomes the insertion state according to the state of another engine card when receiving second message announcement that the current engine card sends, create AP, and the data flow that reconfigures this service card is forwarded on the AP of establishment.
Below, the internal structure and the function of engine card and service card in the switch device with double engines described in detail.As shown in Figure 3, suppose that switch device with double engines comprises two engine card CM1, CM2 and a service card A, the hardware and software structure of engine card CM1 and CM2 is in full accord, can monitor mutually and backup each other.Switch relevant function element with engine among the engine card CM1 of switch device with double engines and the CM2 and comprise backplate plug connector 301, programmable logic device (CPLD) 302, central processing unit (CPU) 303 and Ethernet chip 304; Switch relevant function element with engine in the service card of switch device with double engines and comprise Ethernet chip 305, central processing unit (CPU) 306 and exchange chip 307, have the switching port 308 that is used to connect engine card on the exchange chip 307.For the ease of distinguishing, the CPU 303 of engine card CM1 and CM2 is called a CPU 303, Ethernet chip 304 is called first Ethernet chip 304, and the CPU 306 of service card A is called the 2nd CPU 306, and Ethernet chip 306 is called second Ethernet chip 306.The backplate plug connector 301 of two engine card CM1 and CM2 links to each other by backplate.For any engine card, its CPLD 302 links to each other with backplate plug connector 301 by logical circuit, and links to each other with a CPU 303 by local bus, the logical circuit that its CPLD 302 links to each other, when the state of another engine card changed, its current potential changed.Wherein:
CPLD 302, are used for the potential change record status bit according to coupled logical circuit, and triggering generation (present) on the throne signal sends to a CPU 303;
The one CPU 303, be used for mode bit according to the present input CPLD 302 that receives, determine the current state of another engine card according to detected mode bit, and send the message announcement of another engine card state variation of indication by first Ethernet chip 304 to each service card;
Second Ethernet chip 305 is used to receive this message announcement, and sends to the 2nd CPU 306;
The 2nd CPU 306 is used for according to the state variation of another engine card, the switching port on this service card exchange chip 307 308 being configured when receiving the message announcement of second Ethernet chip, 305 transmissions.
The 2nd CPU 306 carries out the related functional module of processing procedure according to software instruction and comprises trigger module and configuration module, wherein:
Trigger module is used for triggering configuration module when receiving the message announcement of second Ethernet chip transmission;
Configuration module is used for the state variation according to another engine card, and the switching port on this service card exchange chip is configured.
In order to realize " logical circuit that the CPLD of engine card links to each other; when the state of another engine card changes; its current potential changes ", in the embodiment of the invention, need adjust the backplate plug connector pin of engine card end and the circuit structure of logical circuit in advance, wherein a kind of preferred circuit structure as shown in Figure 4, adopt this circuit structure, can guarantee the continuous logical circuit of CPLD of engine card, become when extracting state from the insertion state at another engine card, its current potential is drawn high, and when another engine card became the insertion state from extracting state, its current potential was dragged down.Its circuit theory is as follows:
Suppose that engine card CM1 is the insertion state, if engine card CM2 becomes the state of extracting from the insertion state, then the circuit between the backplate plug connector disconnects, and pin A1 is unsettled, because resistance R 1 connects high potential, so CPLD input this moment high potential, record status bit is high;
If engine card CM2 becomes the insertion state from extracting state, then the circuit between the backplate plug connector links to each other the pin A1 of engine card CM1 with the pin B2 of engine card CM2, because the inner ground connection of B2, so the computational methods of the input voltage of the CPLD of engine card CM1 are: high potential * R1/ (R1+R2), can guarantee CPLD input electronegative potential by the resistance that resistance R 1, R2 rationally are set, record status bit is low.
As seen, the CPLD by engine card CM1 detects the current state that engine card CM2 can be determined in the oneself state position, and vice versa.
Based on the foregoing circuit structure, describe in conjunction with Figure of description 3.Be under the prerequisite of insertion state at two engine card CM1 and the equal operate as normal of CM2, the logical circuit current potential that links to each other with its CPLD is low.If wherein an engine card (supposing CM1) breaks down or become extract state for extracting promptly from the insertion state by the people, then the logical circuit current potential that links to each other of another piece engine card CPLD that is CM2 is drawn high; The CPLD of engine card CM2 is drawn high according to the current potential of coupled logical circuit, and record status bit is high, and triggers the CPU that generation present signal sends to engine card CM2; The CPU of engine card CM2 receives after the present signal, detects the mode bit of the CPLD of this engine card, according to detected mode bit for the high current state of determining another engine card for extracting state, we can say that also current event is the incident of extracting; The CPU of engine card CM2 sends first message announcement that the state of indicating engine card CM2 become extract state with attitude mouth path to the Ethernet chip of service card A via band is outer by the Ethernet chip of this engine card; The Ethernet chip of service card A sends to this first message announcement the CPU of service card A; After the CPU of service card A receives this first message announcement, the switching port that links to each other with engine card on this service card exchange chip is configured, concrete be operating as deletion AP configuration, and the data flow that reconfigures this service card is forwarded on the switching port that links to each other with engine card CM1.Follow-up, if the fault of engine card CM1 is excluded or artificially inserted promptly and become the insertion state from extracting state, then the logical circuit current potential that links to each other of another piece engine card CPLD that is CM2 is dragged down; The CPLD of engine card CM2 is dragged down according to the current potential of coupled logical circuit, and record status bit is low, and triggers the CPU that generation present signal sends to engine card CM2; The CPU of engine card CM2 receives after the present signal, detects the mode bit of the CPLD of this engine card, determines that for low the current state of another engine card is the insertion state according to detected mode bit, we can say that also current event is the insertion incident; The CPU of engine card CM2 sends second message announcement that the state of indicating engine card CM2 become insertion state with attitude mouth path to the Ethernet chip of service card A via band is outer by the Ethernet chip of this engine card; The Ethernet chip of service card A sends to this second message announcement the CPU of service card A; The CPU of service card A is configured the switching port that links to each other with engine card on this service card exchange chip after receiving this second message announcement, and concrete being operating as created AP, and the data flow that reconfigures this service card is forwarded on the AP of establishment.
The embodiment of the invention provides a kind of engine switching method of above-mentioned switch device with double engines simultaneously, as shown in Figure 5, comprising:
Each piece engine card of S501, switch device with double engines is monitored the state of another engine card, and when the state of another engine card changes, sends the message announcement of another engine card state variation of indication to each service card;
S502, receive the service card of this message announcement, be configured according to the state variation of another engine card switching port to this service card.
Wherein, the state of engine card comprises the insertion state and extracts state, and current engine is stuck in another engine card and becomes when extracting state from the insertion state, sends first message announcement to each service card, indicates the state of another engine card to become the state of extracting; Receive the service card of first message announcement, become the state of extracting according to the state of another engine card, deletion AP configuration, and the data flow that reconfigures this service card is forwarded on the switching port that links to each other with the current engine card;
Perhaps, current engine is stuck in another engine card when becoming the insertion state from extracting state, sends second message announcement to each service card, indicates the state of another engine card to become the insertion state; Receive the service card of second message announcement, become the insertion state, create AP, and the data flow that reconfigures this service card is forwarded on the AP of establishment according to the state of another engine card.
Below, will in conjunction with concrete application scenarios engine switching method be introduced based on the internal structure and the function of engine card and service card in the above-mentioned switch device with double engines.
One of them concrete application scenarios is that the leading engine of switch device with double engines breaks down, be that leading engine becomes the state of extracting from the insertion state, the logical circuit that the CPLD of backup engine links to each other, become when extracting state from the insertion state at leading engine, its current potential is drawn high, then as shown in Figure 6, the engine switching flow comprises the steps:
The CPLD of S601, backup engine is drawn high according to the current potential of coupled logical circuit, and record status bit is high;
The CPLD of S602, backup engine triggers and generates the CPU that the present signal sends to backup engine;
The CPU of S603, backup engine is high according to the mode bit of the present input CPLD that receives according to detected mode bit, and the current state of determining leading engine is for extracting state;
The CPU of S604, backup engine sends first message announcement by Ethernet chip to each service card, indication leading engine card becomes the state of extracting, send on the Ethernet interface path outside the band of first message announcement between engine card and service card, will be sent on the Ethernet chip of each service card;
The Ethernet chip of S605, each service card receives this first message announcement, and sends to the CPU of this service card;
The CPU of S606, each service card becomes the state of extracting according to the state of leading engine when receiving first message announcement, deletion AP configuration, and the data flow that reconfigures this service card is forwarded on the switching port that links to each other with the current engine card.
The leading engine fault that another concrete application scenarios is a switch device with double engines is got rid of, be that leading engine becomes the state of extracting from the insertion state, the logical circuit that the CPLD of backup engine links to each other, when leading engine becomes the insertion state from extracting state, its current potential is dragged down, then as shown in Figure 7, the engine switching flow comprises the steps:
The CPLD of S701, backup engine is dragged down according to the current potential of coupled logical circuit, and record status bit is low;
The CPLD of S702, backup engine triggers and generates the CPU that the present signal sends to backup engine;
The CPU of S703, backup engine is low according to the mode bit of the present input CPLD that receives according to detected mode bit, and the current state of determining leading engine is the insertion state;
The CPU of S704, backup engine sends second message announcement by Ethernet chip to each service card, the indication leading engine becomes the insertion state, send on the Ethernet interface path outside the band of second message announcement between engine card and service card, will be sent on the Ethernet chip of each service card;
The Ethernet chip of S705, each service card receives this second message announcement, and sends to the CPU of this service card;
The CPU of S706, each service card becomes the insertion state according to the state of leading engine when receiving second message announcement, create the AP configuration, and the data flow that reconfigures this service card is forwarded on the AP of establishment.
Switch device with double engines and engine switching method thereof that the embodiment of the invention provides, after the state that detects another piece engine card by the logical circuit and the CPLD of engine card self changes, CPU to self sends the present signal, and signal processing is compared task detection or the shortening greatly consuming time of " heartbeat " mechanism; The engine card end initiatively sends message announcement to online service card, can guarantee that all online service cards finish data flow simultaneously and transmit the switching of path and enter normal data flow forwarding state immediately, further reduce in the engine handoff procedure the asynchronous cutout time of causing between the service card; This programme efficiently solves switch device with double engines to the slower problem of engine switching response time, has reduced the cutout time of switch device with double engines in the engine handoff procedure, has improved the stability of switch device with double engines when engine failure.Simultaneously, this programme only needs to make an amendment slightly and can realize on the hardware configuration basis of existing switch device with double engines, does not need adding hardware, and is simple and convenient.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (8)

1. a switch device with double engines comprises first engine card, second engine card and some service cards, and two engine cards link to each other by backplate, it is characterized in that, wherein:
Described first engine card is used to monitor the state of second engine card, and the state of engine card comprises the insertion state and extracts state; Become when extracting state from the insertion state at second engine card, send first message announcement, indicate the state of second engine card to become the state of extracting to each service card; When second engine card becomes the insertion state from extracting state, send second message announcement to each service card, indicate the state of second engine card to become the insertion state;
Described service card is used for when receiving described first message announcement, becomes the state of extracting according to the state of second engine card, deletion aggregation port AP configuration, and the data flow that reconfigures this service card is forwarded on the switching port that links to each other with first engine card; When receiving described second message announcement, become the insertion state according to the state of second engine card, create aggregation port AP, and the data flow that reconfigures this service card is forwarded on the AP of establishment.
2. equipment as claimed in claim 1, it is characterized in that, described first engine card comprises backplate plug connector, programmable logic device, first central processing unit and first Ethernet chip, described programmable logic device links to each other with described backplate plug connector by logical circuit, and link to each other with described first central processing unit by local bus, the logical circuit that the programmable logic device of described first engine card links to each other, when the state of second engine card changes, its current potential changes, wherein:
Described programmable logic device is used for the potential change record status bit according to coupled logical circuit, and triggering generation present signal on the throne sends to described first central processing unit;
Described first central processing unit, be used for mode bit according to the described programmable logic device of present input that receives, determine the current state of second engine card according to detected mode bit, and send the message announcement of the indication second engine card state variation by described first Ethernet chip to each service card.
3. equipment as claimed in claim 2 is characterized in that described service card comprises second Ethernet chip, second central processing unit and exchange chip, has the switching port that is used to connect engine card on the described exchange chip, wherein:
Described second Ethernet chip is used to receive described message announcement, and sends to described second central processing unit;
Described second central processing unit is used for according to the state variation of second engine card, the switching port on this service card exchange chip being configured when receiving the message announcement of described second Ethernet chip transmission.
4. equipment as claimed in claim 3, it is characterized in that, the logical circuit that the programmable logic device of described first engine card links to each other, become when extracting state from the insertion state at second engine card, its current potential is drawn high, when second engine card became the insertion state from extracting state, its current potential was dragged down; And
The programmable logic device of first engine card is drawn high according to the current potential of coupled logical circuit, and record status bit is high, is dragged down according to the current potential of coupled logical circuit, and record status bit is low;
First central processing unit of first engine card, at the mode bit that detects described programmable logic device when being high, the current state of determining second engine card is for extracting state, and sends described first message announcement by first Ethernet chip to each service card; When low, the current state of determining second engine card is the insertion state, and sends described second message announcement by first Ethernet chip to each service card at the mode bit that detects described programmable logic device.
5. the engine switching method of a switch device with double engines as claimed in claim 1 is characterized in that, comprising:
Each piece engine card of switch device with double engines is monitored the state of another engine card, and the state of engine card comprises the insertion state and extracts state;
Current engine is stuck in another engine card and becomes when extracting state from the insertion state, sends first message announcement to each service card, indicates the state of another engine card to become the state of extracting; Receive the service card of described first message announcement, become the state of extracting according to the state of another engine card, deletion aggregation port AP configuration, and the data flow that reconfigures this service card is forwarded on the switching port that links to each other with the current engine card;
Perhaps, current engine is stuck in another engine card when becoming the insertion state from extracting state, sends second message announcement to each service card, indicates the state of another engine card to become the insertion state; Receive the service card of described second message announcement, become the insertion state, create aggregation port AP, and the data flow that reconfigures this service card is forwarded on the AP of establishment according to the state of another engine card.
6. method as claimed in claim 5, it is characterized in that each piece engine card of described switch device with double engines is monitored the state of another engine card, and when the state of another engine card changes, send the message announcement of indicating another engine card state variation to each service card, specifically comprise:
The programmable logic device of current engine card is according to the potential change record status bit of coupled logical circuit, and triggering generates the central processing unit that present signal on the throne sends to this engine card, the logical circuit that the programmable logic device of current engine card links to each other, when the state of another engine card changed, its current potential changed;
The central processing unit of current engine card is according to the mode bit of the described programmable logic device of present input that receives, determine the current state of another engine card according to detected mode bit, and send the message announcement of another engine card state variation of indication by the Ethernet chip of this engine card to each service card.
7. method as claimed in claim 6 is characterized in that, the described service card that receives described message announcement is configured according to the state variation of another engine card switching port to this service card, specifically comprises:
The Ethernet chip of described service card receives described message announcement, and sends to the central processing unit of this service card;
The central processing unit of described service card according to the state variation of another engine card, is configured the switching port on this service card exchange chip when receiving described message announcement.
8. method as claimed in claim 7, it is characterized in that, the logical circuit that the programmable logic device of described current engine card links to each other, become when extracting state from the insertion state at another engine card, its current potential is drawn high, when another engine card became the insertion state from extracting state, its current potential was dragged down; And
The programmable logic device of current engine card is drawn high according to the current potential of coupled logical circuit, and record status bit is high; When the central processing unit of current engine card was high at the mode bit that detects described programmable logic device, the current state of determining another engine card was for extracting state, and sent described first message announcement by the Ethernet chip of this engine card to each service card;
Perhaps, the programmable logic device of current engine card is dragged down according to the current potential of coupled logical circuit, and record status bit is low; When the central processing unit of current engine card was low at the mode bit that detects described programmable logic device, the current state of determining another engine card was the insertion state, and sends described second message announcement by the Ethernet chip of this engine card to each service card.
CN2009100069773A 2009-02-18 2009-02-18 Dual engine switch device and engine switching method Active CN101483527B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100069773A CN101483527B (en) 2009-02-18 2009-02-18 Dual engine switch device and engine switching method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100069773A CN101483527B (en) 2009-02-18 2009-02-18 Dual engine switch device and engine switching method

Publications (2)

Publication Number Publication Date
CN101483527A CN101483527A (en) 2009-07-15
CN101483527B true CN101483527B (en) 2011-02-09

Family

ID=40880471

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100069773A Active CN101483527B (en) 2009-02-18 2009-02-18 Dual engine switch device and engine switching method

Country Status (1)

Country Link
CN (1) CN101483527B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101795231B (en) * 2010-02-25 2012-12-12 福建星网锐捷网络有限公司 Method and device for realizing protocol message transmission
CN107483290B (en) * 2017-08-30 2020-10-30 锐捷网络股份有限公司 Main engine election method and device based on switch

Also Published As

Publication number Publication date
CN101483527A (en) 2009-07-15

Similar Documents

Publication Publication Date Title
US8117337B2 (en) Method and device for implementing link pass through in point-to-multipoint network
CN101001192B (en) Method, system and equipment for protecting ring network link
CN106533736B (en) Network equipment restarting method and device
CN102541697A (en) Switching method for processing fault of dual-redundancy computer
CN102281178A (en) Ring network link redundancy control system and control method thereof
CN105721546A (en) Multi-data integration service platform based on industrial Internet of Things (IoT) communication
CN103209099A (en) Automatic switching protection method for network communication circuit between nodes
CN102891769A (en) Link fault informing method and apparatus
CN101083559A (en) Method and system for switching master control module and slave control module
CN104796329A (en) Automatic link switching method and automatic link switching device
CN103442035A (en) Method for achieving dual-network hot standby redundancy of blank pipe automatic system
JP4724763B2 (en) Packet processing apparatus and interface unit
CN103051482B (en) Based on a kind of port isolation of FC switch and the implementation method of recovery
CN101483527B (en) Dual engine switch device and engine switching method
CN105049238A (en) Redundancy backup method and equipment for LTE (Long Term Evolution) gateway equipment exchange subsystem
CN100386997C (en) Data transmission system and method between telecommunication equipments based on point-to-point connection
CN102118266A (en) Industrial Ethernet dual-link redundancy technology
KR100690042B1 (en) The embodiment of ip interface pyh level duplication in ip based using dual active device
CN101848165B (en) The method recovered after controlling interrupted communication link and interface board
CN103840965B (en) Method for enhancing quick fault convergence in RSTP
CN210222738U (en) Interrupt reconnection quick response device and communication equipment
CN106850264B (en) A kind of network equipment
CN104901880A (en) Service running method and device
CN110838994B (en) Link state monitoring method of redundant Ethernet based on broadcast protocol
CN105790872B (en) A kind of network clock synchronous device and its working method

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
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 350015 M9511 Industrial Park, fast road, Mawei District, Fujian, Fuzhou

Patentee after: RUIJIE NETWORKS Co.,Ltd.

Address before: 350015 M9511 Industrial Park, fast road, Mawei District, Fujian, Fuzhou

Patentee before: Beijing Star-Net Ruijie Networks Co.,Ltd.