[go: up one dir, main page]

CN102412973B - Engine module, line card, communication equipment and grace reboot method of line card - Google Patents

Engine module, line card, communication equipment and grace reboot method of line card Download PDF

Info

Publication number
CN102412973B
CN102412973B CN201110373473.2A CN201110373473A CN102412973B CN 102412973 B CN102412973 B CN 102412973B CN 201110373473 A CN201110373473 A CN 201110373473A CN 102412973 B CN102412973 B CN 102412973B
Authority
CN
China
Prior art keywords
line card
cpu
management channel
slave
engine module
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
CN201110373473.2A
Other languages
Chinese (zh)
Other versions
CN102412973A (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.)
Beijing Star Net Ruijie Networks Co Ltd
Original Assignee
Beijing Star Net Ruijie Networks 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 Beijing Star Net Ruijie Networks Co Ltd filed Critical Beijing Star Net Ruijie Networks Co Ltd
Priority to CN201110373473.2A priority Critical patent/CN102412973B/en
Publication of CN102412973A publication Critical patent/CN102412973A/en
Application granted granted Critical
Publication of CN102412973B publication Critical patent/CN102412973B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Maintenance And Management Of Digital Transmission (AREA)
  • Control By Computers (AREA)

Abstract

本发明实施例提供了一种引擎模块、线卡、通信设备及其优雅重启的方法,在引擎模块对线卡的管理通道访问异常时,进一步通过数据通道识别线卡当前使用的主CPU状态是否正常,如果正常,则判断线卡内部正在使用的主管理通道出现异常,控制线卡内部切换至从管理通道,如果不正常,则判断线卡内部正在使用的主CPU出现异常,则控制线卡内部切换至从CPU和从管理通道,这样,线卡的主CPU可以使用切换后的从管理通道,或者线卡的从CPU可以使用从管理通道继续完成与引擎模块的通信,保证了线卡的业务模块的正常工作,最大程度降低了引擎模块与线卡之间管理通道访问异常对业务模块的影响,实现了线卡的优雅重启。

Figure 201110373473

The embodiment of the present invention provides an engine module, a line card, a communication device and a method for graceful restart thereof. When the engine module accesses the management channel of the line card abnormally, it further uses the data channel to identify whether the state of the main CPU currently used by the line card is Normal, if it is normal, it is judged that the main management channel being used inside the line card is abnormal, and the control line card is switched to the slave management channel. Internally switch to the slave CPU and the slave management channel, so that the main CPU of the line card can use the switched slave management channel, or the slave CPU of the line card can use the slave management channel to continue to complete the communication with the engine module, ensuring the reliability of the line card The normal operation of the business module minimizes the impact of the abnormal access of the management channel between the engine module and the line card on the business module, and realizes the graceful restart of the line card.

Figure 201110373473

Description

A kind of method of engine modules, line card, communication equipment and Graceful Restart thereof
Technical field
The present invention relates to data communication field, relate in particular to a kind of method of engine modules, line card, communication equipment and Graceful Restart thereof.
Background technology
Ethernet device based on back board structure comprises engine modules and line card conventionally, and engine modules is bearing the control of system mode, the control and management of the management of route, user access, device upgrade etc.Line card, for realizing concrete business, provides the functions such as package forward, ping response and packet burst for data network.
As shown in Figure 1 be the block diagram of a simple communication equipment based on back board structure.Wherein, engine modules comprises cpu system, switching matrix (Fabric) chip and exchange (Switch) chip.The business module that comprises cpu system, Switch chip on line card and formed by media access control (Media Access Control, MAC) chip, physical layer (PHY) chip and various ethernet port.
Engine modules is connected with high-speed data channel by management channels on backboard with line card, and high-speed data channel connects Fabric chip in engine modules and the MAC chip on line card, for carrying out exchanges data between the Service Processing Module of line card and engine modules.Management channels is to connect CPU in engine modules and the passage of the CPU on line card, for interactive maintenance information between engine modules and line card.Engine modules is configured the business module of line card by management channels, and monitors the running status of line card, and abnormal if management channels occurs, engine modules cannot manage configuration to line card.
In the communication equipment of currently available technology back board structure, conventionally adopt the design of module with double engines to guarantee that engine modules is to the management of line card and configuration.Engine modules is whole communication equipment management and the convergent point of controlling, conventionally adopt in design the way of redundancy to guarantee the reliability of whole system, when leading engine module breaks down, from engine modules, take over its work, line card is managed and configured.
The situation that causes management channels access exception when line card fault, now engine modules also cannot be learnt line card concrete malfunction at present, and engine modules generally attempts repairing line card by the way of reset line card, and expectation can be set up and communicate by letter normally with line card.If but be only now that management channels on line card part is abnormal, and the business module of line card is in normally in service, the operation of reset may cause the interruption of whole network.
Summary of the invention
The embodiment of the present invention provides a kind of method of communication equipment and Graceful Restart, the Graceful Restart while there is communication failure between line card and engine modules in order to realize in communication equipment.
Based on the problems referred to above, a kind of engine modules that the embodiment of the present invention provides, comprising: engine CPU, is connected by management channels and data channel between described engine CPU and line card;
Described engine CPU, for self during to the management channels access exception of line card, whether the host CPU state of identifying the current use of described line card by described data channel is normal, if normal, to line card, send the first control command, indication line card inside switches to from management channels from the main management passage of current use; If undesired, to line card, send the second control signal, indication line card inside switches to from management channels from the main management passage of current use, and the business module of line card is connected from CPU by being connected to switch to line card with the host CPU of line card.
A kind of line card that the embodiment of the present invention provides, comprising: host CPU, at least one is from CPU, logic control circuit and business module; Wherein:
Described host CPU, the access of sending by the management channels between self and line card or data channel for receiving engine modules;
Described logic control circuit, the first control signal or the second control signal that for receiving engine modules, send; And according to described the first control signal, the host CPU of controlling the current use of line card passes through being connected with described engine modules from management channels of line card inside, and closes the main management passage of line card inside; And according to described the second control signal, the business module of controlling line card switches to and is connected from CPU by being connected with host CPU, and control passing through being connected with engine modules from management channels of line card inside from CPU, close the main management passage of line card inside.
A kind of communication equipment that the embodiment of the present invention provides, comprises the above-mentioned line card that at least one embodiment of the present invention provides, and the above-mentioned engine modules that provides of at least one embodiment of the present invention being connected with this line card.
The method of the Graceful Restart that the embodiment of the present invention provides, comprising:
Engine modules is at self during to the management channels access exception of line card, whether the host CPU state of identifying the current use of described line card by described data channel is normal, if normal, to line card, send the first control command, indication line card inside switches to from management channels from the main management passage of current use; If undesired, to line card, send the second control signal, indication line card inside switches to from management channels from the main management passage of current use, and the business module of line card is switched to line card and is connected from CPU;
Line card is according to the first received control signal, and the host CPU of controlling current use passes through being connected with described engine modules from management channels of line card inside, and closes the main management passage of line card inside; And according to described the second control signal, the business module of controlling line card switches to and is connected from CPU from being connected with host CPU, and control passing through being connected with engine modules from management channels of line card inside from CPU, close the main management passage of line card inside.
The beneficial effect of the embodiment of the present invention comprises:
The engine modules that the embodiment of the present invention provides, line card, the method of communication equipment and Graceful Restart thereof, in engine modules during to the management channels access exception of line card, whether normally further by data channel, identify the host CPU state of the current use of line card, if normal, judge that the main management passage using line card inside occurs abnormal, controlling line card inside switches to from management channels, if undesired, judge that the host CPU using line card inside occurs abnormal, controlling line card inside switches to from CPU with from management channels, like this, the host CPU of line card can be used having continued and the communicating by letter of engine modules from management channels after switching, or can the using from management channels and continue and the communicating by letter of engine modules from CPU of line card, guaranteed the normal work of the business module of line card, at utmost reduced the impact of management channels access exception on business module between engine modules and line card, realized the Graceful Restart of line card, thereby avoided in prior art whole line card to reset and make the work of business module interrupt causing the problem of the interruption of whole network.
Accompanying drawing explanation
The structural representation of the engine modules that Fig. 1 provides for the embodiment of the present invention;
The structural representation of the line card that Fig. 2 provides for the embodiment of the present invention;
The structural representation of the communication equipment that Fig. 3 provides for the embodiment of the present invention;
One of schematic diagram of the sendaisle of the message that Fig. 4 provides for the embodiment of the present invention;
Two of the schematic diagram of the sendaisle of the message that Fig. 5 provides for the embodiment of the present invention;
Three of the schematic diagram of the sendaisle of the message that Fig. 6 provides for the embodiment of the present invention;
Three of the schematic diagram of the sendaisle of the message that Fig. 7 provides for the embodiment of the present invention;
The communication equipment that Fig. 8 provides for the embodiment of the present invention is realized the flow chart of the flow process of Graceful Restart;
The flow chart of the Graceful Restart method of the communicator that Fig. 9 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with Figure of description, the embodiment of the method for a kind of engine modules, line card, communication equipment and the Graceful Restart thereof that the embodiment of the present invention is provided describes.
The structure of the engine modules first embodiment of the present invention being provided describes.
As shown in Figure 1, the engine modules 1 that the embodiment of the present invention provides, comprises engine CPU 101, similar to existing design, between this engine CPU 101 and line card 2, by management channels and data channel, is connected; The embodiment of the present invention for engine CPU 101 with line card 2 between the treatment mechanism of communicating by letter while breaking down improve, this engine CPU 101, for at self during to the management channels access exception of line card 2, whether the host CPU state of identifying line card 2 current uses by data channel is normal, if normal, to line card 2, send the first control command, indication line card 2 inside switch to from management channels from the main management passage of current use; If undesired, to line card 2, send the second control signal, indication line card 2 inside switch to from management channels from the main management passage of current use, and the business module of line card 2 is connected from CPU by being connected to switch to line card with the host CPU of line card.
Further, above-mentioned engine CPU 101, specifically for using the host CPU state of following manner identification line card 2 current uses whether normal: engine CPU 101 by and line card 2 between data channel to the host CPU of line card 2, send probe messages, whether judgement receives line card 2 host CPUs and returns to the corresponding message that postbacks in setting-up time, when judgment result is that while being, identification line card 2 host CPU states are normal; Otherwise identification line card 2 host CPU states are undesired.
In the embodiment of the present invention, engine modules 1 can be according to method of the prior art, regularly by the management channels between engine modules 1 and line card 2, to line card 2, send several keep-alive messages (for example alive message), in certain hour, do not receive that line card 2 returns corresponding keep-alive message time, can by data channel, to line card 2, send the probe messages of setting form in the manner described above, the message that postbacks that probe messages is corresponding is also pre-set, if the host CPU of line card 2 current uses is in normal condition, will give engine modules 1 send this probe messages corresponding postback message.
For guarantee line card 2 switch after can with engine modules 1 proper communication, further, engine CPU 101, also for after sending the first control command, by the management channels between engine modules and line card, line card inside, from management channels to line card host CPU, send keep-alive message to confirm the state of line card host CPU; And after sending the second control command, by the management channels between engine modules and line card, line card inside, from management channels to line card from CPU, send keep-alive message to confirm that line card is from the state of CPU.
Preferably, as shown in Figure 1, the engine modules 1 that the embodiment of the present invention provides, also comprises: Switch chip 102 and FABIC chip 103;
The management channels that engine CPU101 draws by the Switch chip 102 of engine modules 1 is connected with the Switch chip of line card 2, forms the management channels between engine modules 1 and line card 2;
The data channel that engine CPU101 draws by the FABIC chip of engine modules is connected with the business module of line card 2, forms the data channel between engine modules 1 and line card 2.
The concrete structure of the line card below embodiment of the present invention being provided is described in detail.
Specifically, as shown in Figure 2, the line card 2 that the embodiment of the present invention provides comprises: host CPU 201, at least one is from CPU202, logic control circuit 203 and business module 204; Wherein:
Host CPU 201, the access of sending by the management channels between self and line card 2 or data channel for receiving engine modules 1;
Logic control circuit 203, the first control signal or the second control signal that for receiving engine modules 1, send; And according to the first control signal, the host CPU 201 of controlling line card 2 current uses passes through being connected with engine modules 1 from management channels of line card 2 inside, and closes the main management passage of line card 2 inside; And according to the second control signal, the business module 204 of controlling line card 2 switches to and is connected from CPU 202 by being connected with host CPU 201, and control passing through being connected with engine modules 1 from management channels of line card 2 inside from CPU 202, close the main management passage of line card 2 inside.
Business module 204 switches to after CPU202 is connected, will be by send packet from CPU, and the normal work of business module 204 while guaranteeing management channels access exception between engine modules and line card.
The above-mentioned line card 2 that the embodiment of the present invention provides, before there is access exception, from CPU 202 with close from management channels, the first control signal or the second control signal that are receiving engine modules 1 and send over, can switch to from management channels according to corresponding indication, or switch to from CPU202 with from management channels simultaneously.
Further, host CPU 201 in the above-mentioned line card 2 that the embodiment of the present invention provides, the probe messages sending over from data channel specifically for receiving engine modules 1, if self is in normal condition, by the data channel between line card 2 and engine modules 1, to engine modules 1, returns and postback message; And complete line card 2 inside by main management passage to from the switching of management channels, from line card 2 inside from management channels, receive the keep-alive message that engine modules 1 is sent, and return to corresponding keep-alive message (for example alive message).
From CPU202, for switching at business module 204 with after self is connected, receive the keep-alive message that engine modules 1 is sent, and return to corresponding keep-alive message.
Preferably, as shown in Figure 2, the line card 2 that the embodiment of the present invention provides, also comprises: Switch chip 205;
The Switch chip of Switch chip 205 difference andlogic control circuit 203 and engine modules 1 is connected;
Between the Switch chip 205 of Switch chip 205 and engine modules 1, be connected to form the management channels between line card 2 and engine modules 1;
Switch chip 205 passes through the main management passage of line card 2 inside or is connected from management channels andlogic control circuit 203.
Preferably, in the line card 2 that the embodiment of the present invention provides, business module 204 is connected with the FABIC chip of engine modules 1, forms the data channel between line card 2 and engine modules 1.
In the internal structure of the line card providing in the embodiment of the present invention, adopt the processing mode of redundancy backup, be that line card has a plurality of CPU, one as host CPU, other can be used as from CPU (as the backup of host CPU), line card inside also has a plurality of management channels, one as main management passage, other are as from management channels, no matter host CPU and from CPU, or main management passage and from management channels, when concrete normal work, as broad as long in implementation, it is only the relation backing up mutually, only in order to distinguish, in foregoing description process, by the CPU address that does not occur the access exception normal use of line card before, it is host CPU, by the management channels address that does not occur the access exception normal use of line card before, it is main management passage, according to foregoing description, those skilled in the art can know by inference apparently, when switching to from CPU and/or after management channels, if again there is access fault, its concrete implementation process is similar to the inner switching mode of above-mentioned line card, do not repeat them here.
The embodiment of the present invention also provides a kind of communication equipment, comprises the above-mentioned line card that at least one embodiment of the present invention provides, and the above-mentioned engine modules that provides of at least one embodiment of the present invention that should be connected with this line card.
Preferably, the communication equipment that the embodiment of the present invention provides, also comprises: backboard, the line card in this communication equipment is connected by this backboard with engine modules.
The concrete structure figure of the communication equipment shown in Fig. 3 of take is below example, and the operation principle of the above-mentioned communication equipment that the embodiment of the present invention provides is described.
In Fig. 3, line card is connected with management channels by data channel on backboard with engine modules.Wherein, line card comprises master-slave cpu, logic control circuit, Switch chip, and business module (only illustrating MAC chip wherein in Fig. 3), business module, by logic control circuit, can configure with master or be connected from cpu data passage, article 2, independently management channels (main management passage and from management channels) is drawn from Switch chip mutually, by logic control circuit, can be configured respectively and is connected with host CPU or from CPU.
The flow process that this communication equipment is realized Graceful Restart is as follows:
1, after communication equipment electrifying startup, engine CPU controls the logic control circuit of line card and closes connecting wire card from the data path of CPU, and the main management passage of simultaneously controlling line card connects host CPU, close line card from being connected between management channels and master-slave cpu.Line card is realized and the communicating by letter of engine modules by host CPU and main management passage, and receives the configuration information configuring service module of engine modules.Meanwhile, engine modules sends several alive messages by main management passage to line card, and the host CPU of line card receives after alive message, by main management passage transmission alive message regularly to engine modules, to inform that line card oneself state is normal.This step message repeating passage as shown in Figure 4.
2, when engine CPU does not receive the alive message that line card sends within a certain period of time, engine CPU attempts the host CPU transmission probe messages to line card by data channel, the form of probe messages is to generate according to the form pre-setting, to guarantee can to postback message according to setting in advance of line card CPU after line card is received this probe messages.After this can turn to following step 3 or step 4.
3, if now line card is only that self-management passage occurs abnormal, do not crash, the business module of line card is also in normal work so, when the host CPU of line card is received the probe messages from engine modules, according to setting in advance, the host CPU of line card is by by returning to the message that postbacks of delivering bright own identity as the data channel of Fig. 5, engine CPU receives postbacking after message that line card host CPU returns, assert that the host CPU of line card is now still in normal operating conditions, so, the logic control circuit that engine CPU controls line card switches being connected with the host CPU of line card from management channels of line card.
After having switched, engine modules is by sending alive message from management channels to line card, and the host CPU of line card is received after alive message, by main management passage, periodically sends alive message to engine modules, to inform that line card oneself state is normal.So far, realized the redundancy backup of management channels, can guarantee that the business module of line card can not be affected simultaneously.The flow direction of alive message as shown in Figure 6.
If 4 now line card because other reasons causes host CPU, crash, the host CPU of line card cannot be replied the probe messages from engine modules so, when engine CPU does not receive the message of line card reply within a certain period of time, the host CPU of judging line card breaks down, engine CPU controls the logic control circuit of line card and closes the data channel that connects primary CPU, allow the data of business module of line card to sending from CPU, close the connection of line card host CPU and main management passage simultaneously, and open line card from CPU with from the connection of management channels.The normal work of the business module that can guarantee like this line card when host CPU fault.
Complete after configuration, engine modules is by sending alive message from management channels to line card, line card from CPU receives alive message, by periodically sending alive message to engine modules from management channels, to inform that line card oneself state is normal, alive message repeating passage as shown in Figure 7.So far, communicating by letter between engine modules and line card re-establishes, and engine modules can, by issuing configuration information from management channels, guarantee the normal work of the business module of line card.
Fig. 8 is the flow chart of describing above-mentioned flow process.
The embodiment of the present invention also provides a kind of Graceful Restart method that is applied to the above-mentioned communicator that the embodiment of the present invention provides, and as shown in 9, specifically comprises the following steps:
S901, engine modules are at self during to the management channels access exception of line card, and whether the host CPU state of identifying the current use of line card by data channel is normal, if normal, carries out following S902; If undesired, carry out following S903;
S902, to line card, send the first control command, indication line card inside switches to from management channels from the main management passage of current use; Then turn to S904;
S903, to line card, send the second control signal, indication line card inside switches to from management channels from the main management passage of current use, and the business module of line card is switched to line card and is connected from CPU; Then turn to S905;
S904, line card are according to the first received control signal, and the host CPU of controlling current use passes through being connected with engine modules from management channels of line card inside, and closes the main management passage of line card inside;
S905, line card are according to described the second control signal, and the business module of controlling line card switches to and is connected from CPU from being connected with host CPU, and control passing through being connected with engine modules from management channels of line card inside from CPU, close the main management passage of line card inside.
The method of the Graceful Restart providing due to the embodiment of the present invention, with aforementioned engine modules, line card and communication equipment based on same inventive concept, the principle of dealing with problems is similar to aforementioned engine modules, line card and communication equipment, therefore the embodiment of the method can, referring to the enforcement of aforementioned engine modules, line card and communication equipment, repeat part and repeat no more.
The engine modules that the embodiment of the present invention provides, line card, the method of communication equipment and Graceful Restart thereof, in engine modules during to the management channels access exception of line card, whether normally further by data channel, identify the host CPU state of the current use of line card, if normal, judge that the main management passage using line card inside occurs abnormal, controlling line card inside switches to from management channels, if undesired, judge that the host CPU using line card inside occurs abnormal, controlling line card inside switches to from CPU with from management channels, like this, the host CPU of line card can use after switching from management channels, or can the using from management channels and continue and the communicating by letter of engine modules from CPU of line card, guaranteed the normal work of the business module of line card, at utmost reduced the impact of management channels access exception on business module between engine modules and line card, realized the Graceful Restart of line card, thereby avoided in prior art whole line card to reset and make the work of business module interrupt causing the problem of the interruption of whole network.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, the module in accompanying drawing or flow process might not be that enforcement the present invention is necessary.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these changes and modification interior.

Claims (10)

1.一种引擎模块,包括引擎CPU,所述引擎CPU与线卡之间通过管理通道以及数据通道相连;其特征在于:1. A kind of engine module, comprises engine CPU, is connected by management channel and data channel between described engine CPU and line card; It is characterized in that: 所述引擎CPU,用于自身对线卡的管理通道访问异常时,通过所述数据通道识别所述线卡当前使用的主CPU状态是否正常,若正常,向线卡发送第一控制指令,指示线卡内部从当前使用的主管理通道切换至从管理通道,并在发送第一控制指令之后,通过引擎模块和线卡之间的管理通道、线卡内部的从管理通道向线卡主CPU发送保活报文以确认线卡主CPU的状态;若不正常,向线卡发送第二控制信令,指示线卡内部从当前使用的主管理通道切换至从管理通道,且将线卡的业务模块由与线卡的主CPU相连切换至与线卡的从CPU相连,并在发送第二控制指令之后,通过引擎模块和线卡之间的管理通道、线卡内部的从管理通道向线卡从CPU发送保活报文以确认线卡从CPU的状态。The engine CPU is used to identify whether the state of the main CPU currently used by the line card is normal through the data channel when its own access to the management channel of the line card is abnormal, and if it is normal, send a first control command to the line card, indicating The line card switches from the currently used master management channel to the slave management channel, and after sending the first control command, sends the command to the main CPU of the line card through the management channel between the engine module and the line card and the slave management channel inside the line card. Keep-alive message to confirm the status of the main CPU of the line card; if it is not normal, send the second control signaling to the line card, instructing the line card to switch from the currently used main management channel to the slave management channel, and switch the line card business The module is switched from being connected to the main CPU of the line card to being connected to the slave CPU of the line card, and after sending the second control command, it passes through the management channel between the engine module and the line card, and the slave management channel inside the line card to the line card. The slave CPU sends a keep-alive message to confirm the status of the line card slave CPU. 2.如权利要求1所述的模块,其特征在于,所述引擎CPU,具体用于使用下述方式识别线卡当前使用的主CPU状态是否正常:所述引擎CPU通过与线卡之间的数据通道向线卡的主CPU发送探测报文,判断在设定时间内是否接收到线卡主CPU返回的回发报文,当判断结果为是时,识别线卡主CPU状态正常;否则,识别线卡主CPU状态不正常。2. The module according to claim 1, wherein the engine CPU is specifically configured to use the following method to identify whether the state of the main CPU currently used by the line card is normal: the engine CPU communicates with the line card The data channel sends a detection message to the main CPU of the line card to judge whether the return message returned by the main CPU of the line card is received within the set time. If the judgment result is yes, the state of the main CPU of the line card is identified as normal; otherwise, Identify that the status of the main CPU of the line card is abnormal. 3.如权利要求1-2任一项所述的模块,其特征在于,还包括:交换芯片和交换矩阵芯片;3. The module according to any one of claims 1-2, further comprising: a switch chip and a switch matrix chip; 所述引擎CPU通过引擎模块的交换芯片引出的管理通道与所述线卡的交换芯片相连,形成所述引擎模块与所述线卡之间的管理通道;The engine CPU is connected to the switch chip of the line card through the management channel led by the switch chip of the engine module to form a management channel between the engine module and the line card; 所述引擎CPU通过引擎模块的交换矩阵芯片引出的数据通道与所述线卡的业务模块相连,形成所述引擎模块与所述线卡之间的数据通道。The engine CPU is connected to the service module of the line card through the data channel led by the switch matrix chip of the engine module to form a data channel between the engine module and the line card. 4.一种线卡,其特征在于,包括一个主CPU、至少一个从CPU、逻辑控制电路以及业务模块;其中:4. A line card, characterized in that it comprises a main CPU, at least one slave CPU, a logic control circuit and a service module; wherein: 所述主CPU,用于接收引擎模块通过自身与线卡之间的管理通道或数据通道发出的访问,以及在完成线卡内部由主管理通道至从管理通道的切换后,从线卡内部的从管理通道接收引擎模块发出的用以确认线卡主CPU状态的保活报文,并返回对应的保活报文;The main CPU is used to receive the access issued by the engine module through the management channel or data channel between itself and the line card, and after completing the switch from the main management channel to the slave management channel inside the line card, the slave inside the line card Receive the keep-alive message sent by the engine module from the management channel to confirm the status of the main CPU of the line card, and return the corresponding keep-alive message; 所述从CPU,用于在业务模块切换至与自身相连之后,接收引擎模块发出的用以确认线卡从CPU状态的保活报文,并返回对应的保活报文;The slave CPU is used to receive the keep-alive message sent by the engine module to confirm the state of the line card from the CPU after the service module is switched to be connected to itself, and return the corresponding keep-alive message; 所述逻辑控制电路,用于接收引擎模块发送的第一控制信令或第二控制信令;以及根据所述第一控制信令,控制线卡当前使用的主CPU通过线卡内部的从管理通道与所述引擎模块相连,并关闭线卡内部的主管理通道;以及根据所述第二控制信令,控制线卡的业务模块由与主CPU相连切换至与从CPU相连,并控制将从CPU通过线卡内部的从管理通道与引擎模块相连,关闭线卡内部的主管理通道。The logic control circuit is configured to receive the first control signaling or the second control signaling sent by the engine module; and according to the first control signaling, control the main CPU currently used by the line card through the slave management inside the line card The channel is connected to the engine module, and closes the main management channel inside the line card; and according to the second control signaling, the service module of the control line card is switched from being connected to the master CPU to being connected to the slave CPU, and controlling the slave CPU The CPU is connected to the engine module through the slave management channel inside the line card, and closes the main management channel inside the line card. 5.如权利要求4所述的线卡,其特征在于,所述主CPU,具体用于接收引擎模块从数据通道发送过来的探测报文,若自身处于正常状态,则通过线卡与引擎模块之间的数据通道向所述引擎模块返回回发报文。5. The line card according to claim 4, wherein the main CPU is specifically used to receive the detection message sent by the engine module from the data channel, and if it is in a normal state, it will pass the line card and the engine module The data channel between returns the sending message to the engine module. 6.如权利要求4或5所述的线卡,其特征在于,还包括:交换芯片;6. The line card according to claim 4 or 5, further comprising: a switch chip; 所述线卡的交换芯片分别与线卡的逻辑控制电路以及引擎模块的交换芯片相连;The switch chip of the line card is respectively connected with the logic control circuit of the line card and the switch chip of the engine module; 所述线卡的交换芯片与引擎模块的交换芯片之间相连形成线卡和引擎模块之间的管理通道;The switch chip of the line card is connected to the switch chip of the engine module to form a management channel between the line card and the engine module; 所述线卡的交换芯片通过所述线卡内部的主管理通道或从管理通道与所述逻辑控制电路相连。The switch chip of the line card is connected to the logic control circuit through a master management channel or a slave management channel inside the line card. 7.如权利要求4或5所述的线卡,其特征在于,所述线卡的业务模块与引擎模块的交换矩阵芯片相连,形成线卡和引擎模块之间的数据通道。7. The line card according to claim 4 or 5, wherein the service module of the line card is connected to the switching matrix chip of the engine module to form a data channel between the line card and the engine module. 8.一种通信设备,其特征在于,包括至少一个如权利要求4-7任一项所述的线卡,以及与该线卡相连的至少一个如权利要求1-3任一项所述的引擎模块。8. A communication device, comprising at least one line card according to any one of claims 4-7, and at least one line card according to any one of claims 1-3 connected to the line card. engine module. 9.如权利要求8所述的通信设备,其特征在于,还包括:背板;9. The communication device according to claim 8, further comprising: a backplane; 所述线卡和所述引擎模块通过所述背板相连。The line card and the engine module are connected through the backplane. 10.一种优雅重启的方法,其特征在于,包括:10. A method for graceful restart, comprising: 引擎模块在自身对线卡的管理通道访问异常时,通过数据通道识别所述线卡当前使用的主CPU状态是否正常,若正常,向线卡发送第一控制指令,指示线卡内部从当前使用的主管理通道切换至从管理通道,并在发送第一控制指令之后,通过引擎模块和线卡之间的管理通道、线卡内部的从管理通道向线卡主CPU发送保活报文以确认线卡主CPU的状态;若不正常,向线卡发送第二控制信令,指示线卡内部从当前使用的主管理通道切换至从管理通道,且将线卡的业务模块切换至与线卡从CPU相连,并在发送第二控制指令之后,通过引擎模块和线卡之间的管理通道、线卡内部的从管理通道向线卡从CPU发送保活报文以确认线卡从CPU的状态;When the engine module’s access to the management channel of the line card is abnormal, it will identify whether the state of the main CPU currently used by the line card is normal through the data channel. switch from the master management channel to the slave management channel, and after sending the first control command, send a keep-alive message to the main CPU of the line card through the management channel between the engine module and the line card, and the slave management channel inside the line card to confirm The state of the main CPU of the line card; if it is not normal, send the second control signaling to the line card to instruct the line card to switch from the currently used main management channel to the slave management channel, and switch the service module of the line card to the Connect to the slave CPU, and after sending the second control command, send a keep-alive message to the line card slave CPU through the management channel between the engine module and the line card, and the slave management channel inside the line card to confirm the status of the line card slave CPU ; 线卡根据所接收的第一控制信令,控制当前使用的主CPU通过线卡内部的从管理通道与所述引擎模块相连,并关闭线卡内部的主管理通道,以及在完成线卡内部由主管理通道至从管理通道的切换后,由主CPU从线卡内部的从管理通道接收引擎模块发出的用以确认线卡主CPU状态的保活报文,并返回对应的保活报文;线卡根据所述第二控制信令,控制线卡的业务模块从与主CPU相连切换至与从CPU相连,并控制将从CPU通过线卡内部的从管理通道与引擎模块相连,关闭线卡内部的主管理通道,以及在业务模块切换至与从CPU相连之后,由从CPU接收引擎模块发出的用以确认线卡从CPU状态的保活报文,并返回对应的保活报文。According to the received first control signaling, the line card controls the currently used main CPU to be connected to the engine module through the slave management channel inside the line card, and closes the main management channel inside the line card, and completes the internal management of the line card by After switching from the master management channel to the slave management channel, the master CPU receives the keep-alive message sent by the engine module from the slave management channel inside the line card to confirm the status of the master CPU of the line card, and returns the corresponding keep-alive message; According to the second control signaling, the line card controls the service module of the line card to switch from being connected to the master CPU to being connected to the slave CPU, and controls the slave CPU to be connected to the engine module through the slave management channel inside the line card, and closes the line card The internal main management channel, and after the service module is switched to connect with the slave CPU, the slave CPU receives the keep-alive message sent by the engine module to confirm the status of the line card slave CPU, and returns the corresponding keep-alive message.
CN201110373473.2A 2011-11-22 2011-11-22 Engine module, line card, communication equipment and grace reboot method of line card Expired - Fee Related CN102412973B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110373473.2A CN102412973B (en) 2011-11-22 2011-11-22 Engine module, line card, communication equipment and grace reboot method of line card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110373473.2A CN102412973B (en) 2011-11-22 2011-11-22 Engine module, line card, communication equipment and grace reboot method of line card

Publications (2)

Publication Number Publication Date
CN102412973A CN102412973A (en) 2012-04-11
CN102412973B true CN102412973B (en) 2014-04-02

Family

ID=45914837

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110373473.2A Expired - Fee Related CN102412973B (en) 2011-11-22 2011-11-22 Engine module, line card, communication equipment and grace reboot method of line card

Country Status (1)

Country Link
CN (1) CN102412973B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103517303A (en) * 2012-06-25 2014-01-15 中兴通讯股份有限公司 Microwave transmission apparatus, and data processing method and device for the same
CN108599981A (en) * 2018-03-13 2018-09-28 迈普通信技术股份有限公司 Management method, service card and the communication equipment of service card
CN113938449B (en) * 2021-09-23 2022-08-09 北京华电众信技术股份有限公司 Control method of network security equipment and network security equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6813243B1 (en) * 2000-02-14 2004-11-02 Cisco Technology, Inc. High-speed hardware implementation of red congestion control algorithm
CN1964286A (en) * 2006-12-13 2007-05-16 杭州华为三康技术有限公司 A master control device with double CPU
CN101217472A (en) * 2007-12-29 2008-07-09 福建星网锐捷网络有限公司 A modularized switch message route method
CN101267273A (en) * 2007-03-16 2008-09-17 富士通株式会社 Optical transmission device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6813243B1 (en) * 2000-02-14 2004-11-02 Cisco Technology, Inc. High-speed hardware implementation of red congestion control algorithm
CN1964286A (en) * 2006-12-13 2007-05-16 杭州华为三康技术有限公司 A master control device with double CPU
CN101267273A (en) * 2007-03-16 2008-09-17 富士通株式会社 Optical transmission device
CN101217472A (en) * 2007-12-29 2008-07-09 福建星网锐捷网络有限公司 A modularized switch message route method

Also Published As

Publication number Publication date
CN102412973A (en) 2012-04-11

Similar Documents

Publication Publication Date Title
CN108075971B (en) Main/standby switching method and device
US9747183B2 (en) Method and system for intelligent distributed health monitoring in switching system equipment
CN102355366B (en) Member-stacking device and method for managing member-stacking device at split stacking moment
CN102882704B (en) Link protection method in the soft reboot escalation process of a kind of ISSU and equipment
CN107070731B (en) Master-slave arbitration method and system
CN101984573A (en) Method and system for distributed realization of LACP standard state machine
CN101212287A (en) Port-Based Redundant Backup Method
CN105577444B (en) A kind of wireless controller management method and wireless controller
CN101917263A (en) Multi-machine hot standby method and system
CN106533736A (en) Network device reboot method and apparatus
CN107589955A (en) A kind of upgrade method and system of double CMC firmware versions
CN102412973B (en) Engine module, line card, communication equipment and grace reboot method of line card
CN112165429A (en) Link aggregation convergence method and device for distributed switching equipment
CN102026042A (en) Keep-alive and self-healing method and device for advanced telecom computing architecture control surface
CN106161086A (en) Control method that master control borad is restarted and device
CN101499910B (en) Modulated switch and communication method thereof
CN111585835A (en) Control method and device for out-of-band management system and storage medium
CN111698157B (en) Link management method, board card and switch
CN110053650B (en) Automatic train operation system, automatic train operation system architecture and module management method of automatic train operation system
CN109245911A (en) A kind of implementation method that BRAS is hot standby, equipment and computer readable storage medium
CN1964286A (en) A master control device with double CPU
CN115065586B (en) Control system fault detection and data channel switching method, device and electronic equipment
JP5176914B2 (en) Transmission device and system switching method for redundant configuration unit
CN102053847A (en) Server and updating method thereof
CN109684136A (en) A kind of communication construction system of flexible configuration master control

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: 20140402

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