CN102420706B - Management board in switch and switch - Google Patents

Management board in switch and switch Download PDF

Info

Publication number
CN102420706B
CN102420706B CN201110423230.5A CN201110423230A CN102420706B CN 102420706 B CN102420706 B CN 102420706B CN 201110423230 A CN201110423230 A CN 201110423230A CN 102420706 B CN102420706 B CN 102420706B
Authority
CN
China
Prior art keywords
switch
management board
power supply
cpu
management
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
CN201110423230.5A
Other languages
Chinese (zh)
Other versions
CN102420706A (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 CN201110423230.5A priority Critical patent/CN102420706B/en
Publication of CN102420706A publication Critical patent/CN102420706A/en
Application granted granted Critical
Publication of CN102420706B publication Critical patent/CN102420706B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electronic Switches (AREA)
  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)

Abstract

The invention discloses a management board in a switch and the switch. The management board comprises a first management control unit and a second management control unit, wherein a main voltage in a switching power supply in the switch supplies power to the first management control unit; the first management control unit is used for supervising the operating state of the switch; a bypass voltage in the switching power supply in the switch supplies power to the second management control unit; and the second management control unit is used for controlling the switching power supply in the switch to use the main voltage to energize and de-energize the switch. By adoption of the scheme, the switch can be effectively controlled to be energized and de-energized, and operation efficiency and accuracy are quite high.

Description

一种设置在交换机中的管理板以及交换机A management board arranged in a switch and the switch

技术领域 technical field

本发明涉及网络设备技术领域,尤指一种设置在交换机中的管理板以及交换机。The invention relates to the technical field of network equipment, in particular to a management board arranged in a switch and a switch.

背景技术 Background technique

现有的交换机主要包括管理板、线卡、开关电源等元器件,在交换机中可以有两个管理板、多个线卡和开关电源,每个线卡10和开关电源11与管理板12、13的连接关系如图1所示,管理板和线卡可以统称为板卡。其中,每个电可擦可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM)14用于存储自身所在板卡的信息,如板卡类型、功耗等;温度监控芯片15用于监控自身所在环境的温度,这两个芯片是通过IIC接口访问的。交换机的两个管理板会进行主从协商,一个协商为主管理板,另一个协商为从管理板,多路选择器16用于选择主管理板的IIC通道连接到EEPROM14和温度监控芯片15。由于一般中央处理器17(Central Processing Unit,CPU)都只有1-2路的IIC通道,而交换机中有多个线卡和开关电源,因此需要将CPU的IIC总线通过I2C总线开关18扩展出多路IIC总线。复杂可编程逻辑器件(Complex Programmable Logic Device,CPLD)19用于在管理板和线卡、管理板和开关电源之间传递状态和控制信息,比如线卡是否存在、复位线卡等信息。Existing switch mainly comprises components and parts such as management board, line card, switching power supply, can have two management boards, a plurality of line cards and switching power supply in switchboard, each line card 10 and switching power supply 11 and management board 12, The connection relationship of 13 is shown in FIG. 1, and the management board and the line card may be collectively referred to as a board. Wherein, each Electrically Erasable Programmable Read-Only Memory (Electrically Erasable Programmable Read-Only Memory, EEPROM) 14 is used to store the information of its own board, such as board type, power consumption, etc.; the temperature monitoring chip 15 is used to monitor The temperature of its own environment, these two chips are accessed through the IIC interface. The two management boards of the switch will carry out master-slave negotiation, one negotiates as the master management board, and the other negotiates as the slave management board. The multiplexer 16 is used to select the IIC channel of the master management board to connect to the EEPROM 14 and the temperature monitoring chip 15. Since the general central processing unit 17 (Central Processing Unit, CPU) has only 1-2 IIC channels, and there are multiple line cards and switching power supplies in the switch, it is necessary to expand the IIC bus of the CPU through the I2C bus switch 18 to multiple Road IIC bus. A complex programmable logic device (Complex Programmable Logic Device, CPLD) 19 is used to transmit status and control information between the management board and the line card, between the management board and the switching power supply, such as whether the line card exists, reset the line card and other information.

在图1所示的交换机中,由管理板上的CPU对开关电源进行监控,而管理板正常工作的电压是由开关电源提供的主输出电压经过转换得来的,管理板可以控制对每个板卡执行上下电操作,却不能控制开关电源对交换机执行上下电操作,只能由人工对交换机执行上下电操作,当交换机的数量非常多的时候,采用人工的方式控制交换机上下电操作的效率非常低,并且准确率也较低。因此,现有技术中缺少能够有效的控制交换机上下电操作的方案。In the switch shown in Figure 1, the CPU on the management board monitors the switching power supply, and the normal working voltage of the management board is converted from the main output voltage provided by the switching power supply. The management board can control each The board performs power-on and power-on operations, but it cannot control the switching power supply to perform power-on and power-on operations on the switch. The switch can only be powered on and off manually. When the number of switches is very large, the efficiency of the power-on and power-on operations of the switches can be controlled manually. Very low, and the accuracy rate is also low. Therefore, the prior art lacks a solution capable of effectively controlling the power-on/off operation of the switch.

发明内容 Contents of the invention

本发明实施例提供一种设置在交换机中的管理板以及交换机,用以有效控制交换机的上下电操作。Embodiments of the present invention provide a management board and a switch arranged in a switch, so as to effectively control power-on and power-off operations of the switch.

一种设置在交换机中的管理板,包括:A management board set in a switch, comprising:

第一管理控制单元,由所述交换机中的开关电源中的主电压进行供电,用于监管交换机的运行状态;The first management control unit is powered by the main voltage in the switching power supply in the switch, and is used to supervise the running state of the switch;

第二管理控制单元,由所述交换机中的开关电源中的旁路电压进行供电,用于控制所述交换机中的开关电源使用主电压对交换机执行上下电操作。The second management control unit is powered by the bypass voltage of the switching power supply in the switch, and is used to control the switching power supply in the switch to use the main voltage to power on and off the switch.

一种交换机,包括上述管理板。A switch, including the above-mentioned management board.

本发明实施例提供的设置在交换机中的管理板以及交换机,该管理板包括第一管理控制单元和第二管理控制单元;其中第一管理控制单元是由交换机中的开关电源的主电压进行供电的,用于处理交换机的业务,第二管理控制单元是由交换机中的开关电源的旁路电压进行供电的,用于控制交换机中的开关电源使用主电压对交换机执行上下电操作。该方案中交换机的管理板上的第二管理控制单元是由交换机中的开关电源的旁路电压进行供电的,而开关电源的旁路电压的输出状态一直为有效状态,也就是说第二管理控制单元可以一直处于工作状态,所以可通过第二管理控制单元直接控制开关电源使用主电压对交换机执行上下电操作,当交换机处于下电状态时,第二管理控制单元可以通过开关电源使用主电压对交换机执行上电操作;当交换机处于上电状态时,第二管理控制单元可以通过开关电源使用主电压对交换机执行下电操作,该方案的管理板可以实现有效控制交换机的上下电操作,相对于现有技术需要人工控制交换机的上下电操作的方式,操作效率和准确率都可以有效提高。The management board provided in the switch and the switch provided by the embodiment of the present invention, the management board includes a first management control unit and a second management control unit; wherein the first management control unit is powered by the main voltage of the switching power supply in the switch The second management control unit is powered by the bypass voltage of the switching power supply in the switch, and is used to control the switching power supply in the switch to use the main voltage to power on and off the switch. In this solution, the second management control unit on the management board of the switch is powered by the bypass voltage of the switching power supply in the switch, and the output state of the bypass voltage of the switching power supply is always in an active state, that is to say, the second management The control unit can always be in the working state, so the second management control unit can directly control the switching power supply to use the main voltage to perform power-on and power-on operations on the switch. When the switch is in the power-off state, the second management control unit can use the main voltage through the switching power supply. Perform power-on operation on the switch; when the switch is in the power-on state, the second management control unit can use the main voltage to perform power-off operations on the switch through the switching power supply. The management board of this solution can effectively control the power-on and power-off operations of the switch. Since the prior art needs to manually control the power-on and power-off operation of the switch, the operation efficiency and accuracy can be effectively improved.

附图说明Description of drawings

图1为现有技术中的交换机的电路原理示意图;FIG. 1 is a schematic diagram of a circuit principle of a switch in the prior art;

图2为本发明实施例中的交换机的电路原理示意图;FIG. 2 is a schematic diagram of a circuit principle of a switch in an embodiment of the present invention;

图3为本发明实施例中的交换机启动时第二管理控制单元通过开关电源对交换机执行上电操作的流程图;FIG. 3 is a flow chart of the second management control unit performing a power-on operation on the switch by switching the power supply when the switch starts in the embodiment of the present invention;

图4为本发明实施例中的检测对端管理板是否存在的电路原理图;Fig. 4 is the schematic diagram of the circuit for detecting the existence of the peer management board in the embodiment of the present invention;

图5为本发明实施例中的线卡的连接示意图。FIG. 5 is a schematic diagram of connection of line cards in an embodiment of the present invention.

具体实施方式 Detailed ways

针对现有技术中缺少能够有效的控制交换机上下电的方案的问题,本发明实施例提供一种管理板,该管理板可以设置在交换机中,其结构如图2所示,该管理板20包括:第一管理控制单元21和第二管理控制单元22。其中:In view of the lack of solutions in the prior art that can effectively control the power on and off of the switch, the embodiment of the present invention provides a management board, which can be installed in the switch, and its structure is shown in Figure 2. The management board 20 includes : the first management control unit 21 and the second management control unit 22 . in:

上述第一管理控制单元21,由交换机中的开关电源中的主电压进行供电,用于监管交换机的运行状态。The above-mentioned first management control unit 21 is powered by the main voltage of the switching power supply in the switch, and is used to supervise the running state of the switch.

上述第二管理控制单元22,由交换机中的开关电源中的旁路电压进行供电,用于控制交换机中的开关电源23使用主电压对交换机执行上下电操作。The above-mentioned second management control unit 22 is powered by the bypass voltage of the switching power supply in the switch, and is used to control the switching power supply 23 in the switch to use the main voltage to perform power-on and power-on operations on the switch.

现有技术的交换机中的管理控制单元仅能监管交换机的运行状态,比如判断交换机中存在的单元,并监控这些单元的工作状态,例如,是否有异常等等;不能控制开关电源使用主电压对交换机执行上下电操作,因为开关电源支持输出两种电压,一种是12V的主电压,一种是3.3V的旁路电压。开关电源可以控制12V电压的输出,例如可以通过开关电源的引脚PSON#的信号控制,当开关电源的PSON#为高电平时,12V正常输出,当开关电源的PSON#为低电平时,12V没有输出,当然也可以通过其他方式进行控制,这里不再赘述;3.3V的旁路(Standby)电压的输出是不受开关电源控制的,只要220V交流电输入存在,3.3V旁路电压输出就存在。一般开关电源的3.3V旁路电压输出电流比较小,因而供不了大功耗的器件。The management control unit in the switch of the prior art can only supervise the running status of the switch, such as judging the units existing in the switch, and monitoring the working status of these units, for example, whether there is any abnormality, etc.; it cannot control the switching power supply to use the main voltage to The switch performs power-on and power-off operations, because the switching power supply supports outputting two voltages, one is the main voltage of 12V, and the other is the bypass voltage of 3.3V. The switching power supply can control the output of 12V voltage. For example, it can be controlled by the signal of the pin PSON# of the switching power supply. When the PSON# of the switching power supply is at high level, 12V is normally output. There is no output, of course, it can also be controlled by other methods, so I won’t go into details here; the output of the 3.3V bypass (Standby) voltage is not controlled by the switching power supply, as long as the 220V AC input exists, the 3.3V bypass voltage output exists . The 3.3V bypass voltage output current of a general switching power supply is relatively small, so it cannot supply devices with high power consumption.

在本发明中,第一管理控制单元是由开关电源输出的12V电压供电的,第二管理控制单元是由开关电源输出的3.3V旁路电压供电的,因为3.3V旁路电压是不受开关电源控制的,也就是说第二管理控制单元可以始终处于工作状态,因而可以由第二管理控制单元来控制开关电源输出12V的主电压,进而控制开关电源使用主电压对交换机执行上下电操作。当交换机处于下电状态时,第二管理控制单元可以通过开关电源对交换机执行上电操作;当交换机处于上电状态时,第二管理控制单元可以通过开关电源对交换机执行下电操作,本发明中的管理板可以实现有效控制交换机的上下电操作,相对于现有技术需要人工控制交换机的上下电操作的方式,操作效率和准确率都得到了有效地提高。In the present invention, the first management control unit is powered by the 12V voltage output by the switching power supply, and the second management control unit is powered by the 3.3V bypass voltage output by the switching power supply, because the 3.3V bypass voltage is not controlled by the switch Power control, that is to say, the second management control unit can always be in the working state, so the second management control unit can control the switching power supply to output a main voltage of 12V, and then control the switching power supply to use the main voltage to perform power-on and power-on operations on the switch. When the switch is in the power-off state, the second management control unit can perform a power-on operation on the switch through a switching power supply; when the switch is in a power-on state, the second management control unit can perform a power-off operation on the switch through a switching power supply. The management board in the switch can effectively control the power-on and power-off operations of the switch. Compared with the prior art that requires manual control of the power-on and power-off operations of the switch, the operation efficiency and accuracy have been effectively improved.

当然开关电源输出的12V电压除了给管理板中的第一管理控制单元供电外,还用于给交换机中的线卡、风扇盘等其他元器件供电,开关电源输出的12V电首先会经过管理板、线卡、风扇盘等等这些元件器上的热拔插控制器,然后再给这些元器件供电,热拔插控制器的主要作用是用来保护板卡带电拔插时不受损坏。Of course, the 12V voltage output by the switching power supply is not only used to supply power to the first management control unit in the management board, but also used to supply power to other components such as line cards and fan trays in the switch. The 12V voltage output by the switching power supply will first pass through the management board. , Line cards, fan trays, etc., are hot-swappable controllers on these components, and then supply power to these components. The main function of the hot-swap controller is to protect the board from being damaged when it is plugged in with power.

管理板、线卡、开关电源等等元器件可以直接设置在交换机的机箱上,也可以在交换机上设置两个背板,一个电源背板,一个系统背板,将开关电源设置在电源背板上,将管理板、线卡等等设置在系统背板上,电源背板和系统背板之间通过线缆连接。当然也可以采用其他的方式,这里不再赘述。Components such as management boards, line cards, and switching power supplies can be directly installed on the chassis of the switch, or two backplanes can be set on the switch, one for the power supply and one for the system, and the switching power supply can be installed on the power supply backplane Set the management board, line card, etc. on the system backplane, and the power supply backplane and the system backplane are connected by cables. Of course, other methods may also be used, which will not be repeated here.

上面介绍了本发明实施例中的交换机结构,下面详细介绍每一个单元以及相应的工作原理。The structure of the switch in the embodiment of the present invention is introduced above, and each unit and the corresponding working principle are described in detail below.

具体的,如图2所示,上述第一管理控制单元21包括第一CPU211和第一CPLD212,第二管理控制单元22包括第二CPU221和第二CPLD222;其中,第二CPU221,用于通过第二CPLD222控制交换机中的开关电源23的主电压输出状态,实现对交换机执行上下电操作。Specifically, as shown in FIG. 2, the above-mentioned first management control unit 21 includes a first CPU211 and a first CPLD212, and the second management control unit 22 includes a second CPU221 and a second CPLD222; 2. The CPLD222 controls the output state of the main voltage of the switch power supply 23 in the switch, so as to implement power-on and power-off operations on the switch.

第二CPU要做的工作比较简单,只要能够满足通过第一CPLD控制开关电源的输出状态,从而实现对交换机执行上下电操作即可,因此,在选择第二CPU时,需要能支持一路IIC总线以及异步总线,由于CPU可能会执行简单的协议,因而需要支持外部可扩展SDRAM。如果选择的第二CPU在3.3V电压就可以正常工作,那么可以直接用开关电源输出的3.3V旁路电压,如果需要的是其他电压,那么可以通过开关电源输出的3.3V旁路电压经过转换得到所需要的电压。The work to be done by the second CPU is relatively simple, as long as it can control the output state of the switching power supply through the first CPLD, so as to realize the power on and off operation of the switch. Therefore, when selecting the second CPU, it needs to be able to support one IIC bus As well as the asynchronous bus, since the CPU may implement a simple protocol, it needs to support external scalable SDRAM. If the selected second CPU can work normally at 3.3V, then you can directly use the 3.3V bypass voltage output by the switching power supply. If you need other voltages, you can convert the 3.3V bypass voltage output by the switching power supply. to get the required voltage.

现有的开关电源的接口信号除了PSON#外,还有其他的,比如指示开关电源存在的PSRENT#(可以设置该信号为低表示开关电源存在,为高表示开关电源不存在)、指示开关电源内部风扇状态的FAN FAIL#(可以设置该信号为低表示风扇故障,为高表示风扇正常)、指示开关电源输出是否正常的PwrOK#(可以设置该信号为低表示开关电源输出正常,为高表示开关电源输出故障)等,这些信号都可以连接到第二CPLD上。开关电源可以使用一个,也可以同时使用多个,在使用多个的时候,第二CPLD会为每个开关电源分别输出信号,然后对每个开关电源输出的信号进行逻辑运算后再对交换机执行上下电操作,使用一个和使用多个的达到的效果是一样的,只是对电源的控制会有差异,下面以使用一个开关电源为例进行说明。In addition to PSON#, there are other interface signals of the existing switching power supply, such as PSRENT# indicating the existence of switching power supply (this signal can be set to low to indicate the existence of switching power supply, and high to indicate the existence of switching power supply), indicating the presence of switching power supply FAN FAIL# of internal fan status (this signal can be set low to indicate fan failure, high to indicate fan normal), PwrOK# indicating whether the output of the switching power supply is normal (this signal can be set to low to indicate that the output of the switching power supply is normal, and high to indicate Switching power supply output failure), etc., these signals can be connected to the second CPLD. One switching power supply can be used, or several can be used at the same time. When multiple switching power supplies are used, the second CPLD will output signals for each switching power supply, and then perform logic operations on the signals output by each switching power supply before executing the switch. For power on and off operation, using one switching power supply can achieve the same effect as using multiple switching power supplies, but the control of the power supply will be different. The following uses a switching power supply as an example to illustrate.

第二CPU与第二CPLD之间通信连接,可以通过异步总线互联,第二CPU通过第二CPLD获取开关电源是否存在等信号,并控制开关电源的PSON#等信号。异步总线可以使用CPU的串行外围设备接口(Serial Peripheral Interface,SPI)、本地总线(Local bus)或者通用输入输出(General Purpose Input Output,GPIO)等。The communication connection between the second CPU and the second CPLD can be interconnected through an asynchronous bus, and the second CPU obtains signals such as whether the switching power supply exists through the second CPLD, and controls signals such as PSON# of the switching power supply. The asynchronous bus can use the CPU's serial peripheral interface (Serial Peripheral Interface, SPI), local bus (Local bus), or general purpose input and output (General Purpose Input Output, GPIO).

第二CPLD上连接开关电源输出的信号,并向开关电源输出PSON#信号,用来控制开关电源的输出状态,从而实现对交换机执行上下电的操作。The second CPLD is connected to the signal output by the switching power supply, and outputs a PSON# signal to the switching power supply, which is used to control the output state of the switching power supply, thereby realizing the operation of powering on and off the switch.

第二CPU与第一管理控制单元的通信通道可以选用通用异步接收发送装置(Universal Asynchronous Receiver Transmitter,UART)。The communication channel between the second CPU and the first management control unit may be a Universal Asynchronous Receiver Transmitter (UART).

具体的,在交换机首次启动的时候,上述第二CPU会执行下列步骤,具体步骤如图3所示。Specifically, when the switch is started for the first time, the above-mentioned second CPU will execute the following steps, and the specific steps are shown in FIG. 3 .

S30:开始。S30: start.

S31:检测交换机中是否存在与自身所在的管理板具有主从关系的对端管理板,当检测结果为不存在时,执行S32;当检测结果为存在时,执行S33。S31: Detect whether there is a peer management board in the switch that has a master-slave relationship with the management board where it is located, and when the detection result does not exist, perform S32; when the detection result exists, perform S33.

S32:通过第二CPLD控制交换机中的开关电源的主电压输出状态为有效状态,实现对交换机执行上电操作。S32: Control the output state of the main voltage of the switching power supply in the switch to the valid state through the second CPLD, so as to perform a power-on operation on the switch.

S33:检测开关电源的主电压当前的输出状态,当检测到主电压的输出状态为有效状态时,执行S34;当检测到主电压输出状态为无效状态时,执行S35。S33: Detect the current output state of the main voltage of the switching power supply. When it is detected that the output state of the main voltage is valid, execute S34; when it is detected that the output state of the main voltage is invalid, execute S35.

S34:保持开关电源的主电压的输出状态为有效状态。S34: Keep the output state of the main voltage of the switching power supply in a valid state.

S35:判断开关电源的主电压的当前的输出状态为无效状态的原因,若原因为交换机首次启动,执行S36;若原因为人为断电,执行S37。S35: Determine the reason why the current output state of the main voltage of the switching power supply is an invalid state, if the reason is that the switch is started for the first time, execute S36; if the reason is artificial power failure, execute S37.

S36:通过第二CPLD控制交换机中的开关电源的主电压的输出状态为有效状态,实现对交换机执行上电操作。S36: The second CPLD controls the output state of the main voltage of the switching power supply in the switch to be in a valid state, so as to perform a power-on operation on the switch.

S37:保持开关电源的主电压的输出状态为无效状态。S37: Keep the output state of the main voltage of the switching power supply in an invalid state.

一般在交换机中,会设置两个管理板,两个管理板可以经过协商后一个作为主管理板,一个作为从管理板,当主管理板出现故障的时候,从管理板可以接替主管理板的工作,交换机还可以正常运转。因此,当交换机开始启动的时候,管理板需要检测是否存在另一张管理板,然后进行相应的操作。下面介绍在交换机启动的时候,可能存在的以下三种情况:Generally, in a switch, two management boards are set up. After negotiation, one of the two management boards can be used as the main management board, and the other can be used as the slave management board. When the master management board fails, the slave management board can take over the work of the master management board. , the switch can still operate normally. Therefore, when the switch starts to start, the management board needs to detect whether there is another management board, and then perform corresponding operations. The following three situations may exist when the switch is started:

第一种情况:只存在一张管理板。Case 1: There is only one management board.

当交换机启动时,在开关电源的220V输入存在的情况下,3.3V电压正常输出,第二管理控制单元可以正常启动,第二CPU通过第二CPLD检测对端管理板是否存在,因为只有第二管理控制单元自身所在的管理板,所以对端管理板不存在,那么第二CPU就可以直接通过第二CPLD控制开关电源输出状态为有效状态,也就是12V电压正常输出,从而管理板上的第一管理控制单元可以正常启动。在第一管理控制单元正常启动后,第一管理控制单元所在的管理板,自然就是作为主管理板。When the switch is started, in the presence of the 220V input of the switching power supply, the 3.3V voltage is normally output, and the second management control unit can be started normally, and the second CPU detects whether the peer management board exists through the second CPLD, because only the second The management board where the management control unit itself is located, so the peer management board does not exist, then the second CPU can directly control the output state of the switching power supply to be in an active state through the second CPLD, that is, the 12V voltage is normally output, so that the second CPU on the management board A management control unit can be started normally. After the first management control unit starts normally, the management board where the first management control unit is located naturally serves as the main management board.

第二种情况:在交换机启动的时候只有一张管理板,当交换机启动后再插入第二张管理板。The second case: There is only one management board when the switch is started, and the second management board is inserted after the switch is started.

交换机启动时存在的管理板对于开关电源的控制与第一种情况是相同的,在后插入的管理板中的第二CPU也会去检测对端管理板是否存在,由于已经有先插入的管理板了,开关电源有可能被人为关闭了,也有可能正常输出。因此,这个时候需要获取开关电源的输出状态,在本实施例中可以通过读取PwOK#信号来获取。The management board that exists when the switch starts has the same control over the switching power supply as in the first case, and the second CPU in the management board that is inserted later will also check whether the peer management board exists. The board is broken, the switching power supply may be turned off artificially, or it may output normally. Therefore, it is necessary to obtain the output state of the switching power supply at this time, which can be obtained by reading the PwOK# signal in this embodiment.

如果PwOK#信号为低,说明对端管理板的第二管理控制单元已经控制开关电源的输出状态为有效状态,实现对交换机执行上电操作了,并且对端管理板已经处于主管理板的地位,这个时候由于12V电源已经正常存在了,后插入管理板上的CPU就可以直接启动了,并且会主从协商为从管理板。If the PwOK# signal is low, it means that the second management control unit of the peer management board has controlled the output state of the switching power supply to be in the valid state, realizing the power-on operation of the switch, and the peer management board is already in the position of the main management board At this time, since the 12V power supply already exists normally, the CPU inserted into the management board can be started directly, and the master-slave negotiation will be made as the slave management board.

如果PwOK#信号为高,说明开关电源的输出状态为无效状态,12V电压没有输出,说明开关电源已经被用户人为关闭,这个时候不能控制开关电源的输出状态为有效状态,也就不能实现对交换机执行上电操作了。If the PwOK# signal is high, it means that the output status of the switching power supply is invalid, and there is no output of 12V voltage, which means that the switching power supply has been artificially turned off by the user. The power-on operation is performed.

第三种情况:在交换机启动的时候存在两张管理板。Case 3: There are two management boards when the switch is started.

此时,两张管理板上第二管理控制单元的第二CPU都可以正常启动,并且都可以检测到对端管理板存在,然后再获取开关电源的输出状态。At this time, the second CPUs of the second management control units on the two management boards can be started normally, and both can detect the existence of the opposite management board, and then obtain the output status of the switching power supply.

如果获取到的开关电源的输出状态为有效状态,两个管理板都可以正常启动,然后可以进行主从协商,协商出一个为主管理板,一个为从管理板,交换机就可以开始正常工作。If the obtained output status of the switching power supply is valid, the two management boards can start normally, and then the master-slave negotiation can be carried out, and one is the master management board and the other is the slave management board, and the switch can start to work normally.

如果获取到的开关电源的输出状态为无效状态,说明开关电源的12V电压还没有输出,从第二种情况中我们知道开关电源的输出状态为无效状态有可能是人为关闭的,有可能是交换机首次启动,如果是人为有意关闭的,那么,就不能执行上电操作,但是如果是交换机首次启动,就可以执行上电操作了,因此,这时就需要检测开关电源的输出状态为无效状态的原因。若原因为交换机首次启动,通过第二CPLD控制交换机中的开关电源输出状态为有效状态,实现对交换机执行上电操作;若原因为人为断电,保持开关电源的输出状态为无效状态。If the obtained output state of the switching power supply is invalid, it means that the 12V voltage of the switching power supply has not been output. From the second case, we know that the output state of the switching power supply is in an invalid state. It may be artificially closed, and it may be a switch. For the first startup, if it is turned off intentionally, then the power-on operation cannot be performed, but if the switch is started for the first time, the power-on operation can be performed. Therefore, it is necessary to detect that the output status of the switching power supply is invalid. reason. If the reason is that the switch starts for the first time, the switching power supply output state in the switch is controlled by the second CPLD to be in an effective state, so that the switch is powered on; if the reason is an artificial power failure, the output state of the switching power supply is kept in an invalid state.

较优的,在交换机正常工作时,上述第一CPU通过第一CPLD向第二CPLD发送心跳信号;第二CPU在设定时间长度内通过第二CPLD未获取到第一CPU发送的心跳信号时,检测交换机中是否存在与自身所在的管理板具有主从关系的对端管理板,若检测结果为不存在时,则通过第二CPLD控制交换机中的开关电源的主电压的输出状态先为无效状态再为有效状态,实现对交换机执行下电操作后再执行上电操作。Preferably, when the switch is working normally, the above-mentioned first CPU sends a heartbeat signal to the second CPLD through the first CPLD; when the second CPU does not obtain the heartbeat signal sent by the first CPU through the second CPLD within the set time length to detect whether there is a peer management board that has a master-slave relationship with its own management board in the switch. If the detection result does not exist, the output state of the main voltage of the switching power supply in the switch is controlled by the second CPLD to be invalid first. The status is valid again, and the power-on operation is performed after the switch is powered off.

一种较优的实施方式,可以使管理板上的第一CPU和第二CPU同时监控对方的心跳信号,可以通过第一CPLD和第二CPLD传递HBIN、HBOUT信号互相传递心跳信号,当然也可以是其他的心跳信号。当第二CPU发现第一CPU没有心跳信号时,也就是说第一管理控制单元不能正常工作了,那么第二CPU就可以去检测对端管理板是否存在,如果对端管理板不存在,可以通过通过第二CPLD控制开关电源输出状态先为无效状态再为有效状态,即可以实现对交换机先执行下电操作再重新上电操作,使管理板恢复正常工作。如果对端管理板有存在,对端管理板同时也会监控到这张管理板不能正常工作,因而对端管理板可以保证整个系统的正常工作,因而可以不用执行上下电恢复。A kind of preferred implementation manner, can make the first CPU and the second CPU on the management board monitor the heartbeat signal of the other side at the same time, can pass the HBIN, HBOUT signal to each other through the first CPLD and the second CPLD Heartbeat signal, of course also can is another heartbeat signal. When the second CPU finds that the first CPU has no heartbeat signal, that is to say, the first management control unit cannot work normally, then the second CPU can detect whether the peer management board exists. If the peer management board does not exist, it can By controlling the output state of the switching power supply through the second CPLD to first be in an invalid state and then to be in a valid state, the switch can be powered off first and then powered on again, so that the management board can resume normal operation. If there is a peer management board, the peer management board will also monitor that this management board is not working properly, so the peer management board can ensure the normal operation of the entire system, so there is no need to perform power-on and power-off recovery.

具体的,上述第二CPU,用于检测标识开关电源当前输出状态为无效的原因的原因标志位,在检测到原因标志位为0时,确定原因为交换机首次启动。Specifically, the above-mentioned second CPU is used to detect the cause flag bit that identifies the reason why the current output state of the switching power supply is invalid, and when the cause flag bit is detected to be 0, determine that the cause is that the switch is started for the first time.

可以在第二CPLD中设置原因标示位来标识开关电源的输出状态为无效状态的原因,可以设置原因标志位为0时表示交换机为首次启动,为1时表示人为关闭开关电源。两个管理板的第二管理控制单元中的第二CPLD之间可以通过UART来交换原因标志位。The cause flag bit can be set in the second CPLD to identify the reason why the output state of the switching power supply is an invalid state. When the cause flag bit can be set to 0, it means that the switch is started for the first time, and when it is 1, it means that the switching power supply is turned off artificially. The cause flag bits can be exchanged between the second CPLDs in the second management control units of the two management boards through UART.

在上述第三种情况中两张管理板同时存在的情况下,两个管理板中的第二管理控制单元的第二CPU可以检测对方的原因标志位,当都是为0,两个第二CPU都可以通过自身所在的管理板的第二CPLD控制开关电源的输出状态为有效状态,这时开关电源的输出状态为有效状态,12V电压正常输出,两张管理板上的第一管理控制单元开始启动,然后进行主从协商。Under the situation that two management boards exist at the same time in the above-mentioned third case, the second CPU of the second management control unit in the two management boards can detect the cause flag bit of the other party, when both are 0, the two second The CPU can control the output state of the switching power supply to be in the valid state through the second CPLD of the management board where it is located. At this time, the output state of the switching power supply is in the valid state, and the 12V voltage is normally output. The first management control unit on the two management boards Start booting, then master-slave negotiation.

较优的,在交换机正常工作状态下,还可以接收下电请求。当接收到下电请求时,上述第一CPU通过第一CPLD和第二CPLD向第二CPU发送下电请求;第二CPU根据通过第二CPLD接收到的第一CPU发送的下电请求,检测交换机中是否存在与自身所在的管理板具有主从关系的对端管理板,当检测结果为不存在时,通过第二CPLD控制交换机中的开关电源的主电压的输出状态为无效状态,实现对交换机执行下电操作;当检测结果为存在时,将接收到的下电请求转发给对端管理板,并通过第二CPLD控制交换机中的开关电源的主电压的输出状态为无效状态,实现对交换机执行下电操作。Preferably, when the switch is in a normal working state, it can also receive a power-off request. When receiving a power-off request, the first CPU sends a power-off request to the second CPU through the first CPLD and the second CPLD; the second CPU sends a power-off request according to the first CPU received through the second CPLD, detects Whether there is a peer management board having a master-slave relationship with the management board where itself is located in the switch, when the detection result does not exist, the output state of the main voltage of the switching power supply in the switch is controlled by the second CPLD to be in an invalid state, so as to realize the The switch performs a power-off operation; when the detection result is present, the received power-off request is forwarded to the opposite end management board, and the output state of the main voltage of the switching power supply in the switch is controlled by the second CPLD to be in an invalid state, so as to realize the The switch performs a power-off operation.

第一CPU与第二CPU之间可以设置一个通信通道,这样,用户可以通过管理板的控制台来申请控制开关电源的输出状态,从而实现对交换机执行下电操作。A communication channel can be set between the first CPU and the second CPU, so that the user can apply to control the output state of the switching power supply through the console of the management board, so as to implement the power-off operation on the switch.

具体的,上述第二CPLD上连接有用于检测交换机中是否存在对端管理板的检测触点;第二CPU,用于在通过第二CPLD检测到检测触点为低电平时,确认交换机中存在对端管理板,以及在检测到检测触点为高电平时,确认交换机中不存在对端管理板。Specifically, the above-mentioned second CPLD is connected with a detection contact for detecting whether there is a peer management board in the switch; the second CPU is used to confirm that there is The management board at the opposite end, and when it is detected that the detection contact is at a high level, confirm that there is no management board at the opposite end in the switch.

采用图4中的电路可以检测对端管理板是否存在,图中示出的是存在管理板A和管理板B两张管理板的情况。对于管理板A而言,当对端管理板B存在时,检测触点A为低电平,也就是在图2中的Present#信号为低电平;当对端管理板B不存在时,检测触点A为高电平,也就是图2中的Present#信号为高电平。对于管理板B来说,检测出点B的情况也是相同的。这里仅仅是列举了检测对端管理板是否存在的一种方式,当然也可以采用其他的方式检测对端管理板是否存在,这里不再赘述。The circuit in Fig. 4 can be used to detect whether the peer management board exists, and the figure shows the situation where there are two management boards, A and B. For management board A, when the peer management board B exists, the detection contact A is low level, that is, the Present# signal in Figure 2 is low level; when the peer management board B does not exist, The detection contact A is at a high level, that is, the Present# signal in Fig. 2 is at a high level. The same is true for the management board B when the point B is detected. Here is just one way to detect the existence of the peer management board. Of course, other ways can also be used to detect the existence of the peer management board, which will not be repeated here.

具体的,上述第二CPU上设有网络通信接口;第二CPU通过网络通信接口接收到用户的上下电请求后,通过第二CPLD控制交换机中的开关电源的输出状态,实现对交换机执行上下电操作。Specifically, the above-mentioned second CPU is provided with a network communication interface; after the second CPU receives the user's power-on/off request through the network communication interface, it controls the output state of the switching power supply in the switch through the second CPLD to realize power-on/off of the switch. operate.

可以在第二管理控制单元上设置一个网络通信接口,通过这个网络通信接口可以实现远程对交换机的管理,并且在相应软件支持下可以将交换机接入统一的管理平台,实现对多台交换机的统一管理。A network communication interface can be set on the second management control unit, through which the remote management of the switch can be realized, and with the support of corresponding software, the switch can be connected to a unified management platform to realize the unification of multiple switches manage.

网络通信接口可以是百兆电口或其他的接口,下面以百兆电口为例进行说明。当用户通过百兆电口发出下电请求后,第二CPU将第二CPLD中的原因标志位置为1,并且控制开关电源的输出状态为无效状态。同时检测对端管理板是否存在,如果对端管理板存在,将下电请求通过UART通道传递到对端管理板的第二管理控制单元上,对端管理板的第二CPU接收到这个请求后,也控制开关电源的输出状态为无效状态,当两个管理板的第二管理控制单都控制开关电源的输出状态为无效状态时,开关电源不再输出12V电压,实现了对交换机执行下电操作。The network communication interface can be a 100M electrical port or other interfaces. The following uses a 100M electrical port as an example for illustration. When the user sends a power-off request through the 100M electrical port, the second CPU sets the cause flag in the second CPLD to 1, and controls the output state of the switching power supply to be invalid. At the same time, check whether the peer management board exists. If the peer management board exists, the power-off request is transmitted to the second management control unit of the peer management board through the UART channel. After receiving the request, the second CPU of the peer management board , and also control the output state of the switching power supply to be invalid. When the second management control sheets of the two management boards both control the output state of the switching power supply to be invalid, the switching power supply will no longer output 12V voltage, which realizes powering off the switch. operate.

当从百兆电口收到上电请求时,第二CPU将第二CPLD中的原因标志位置为0,并控制开关电源的输出状态为有效状态,开关电源输出12V电压,实现对交换机执行上电操作;同时检测对端管理板是否存在,如果对端管理板存在,将上电请求通过UART通道传递到对端管理板的第二管理控制单元上,对端管理板的第二CPU收到上电请求后,也控制开关电源的输出状态为有效状态,此时由于开关电源已经输出了12V电压,所以不用对交换机执行上电操作。When a power-on request is received from the 100M electrical port, the second CPU sets the cause flag in the second CPLD to 0, and controls the output state of the switching power supply to be valid, and the switching power supply outputs a 12V voltage to implement power-on to the switch. Electrical operation; at the same time, it detects whether the opposite management board exists. If the opposite management board exists, the power-on request is transmitted to the second management control unit of the opposite management board through the UART channel, and the second CPU of the opposite management board receives it. After the power-on request, the output state of the switching power supply is also controlled to be valid. At this time, since the switching power supply has already output 12V voltage, there is no need to perform power-on operation on the switch.

具体的,上述第二管理控制单元,还用于监控交换机中的线卡和开关电源的工作特征参数。Specifically, the above-mentioned second management control unit is also used to monitor the operating characteristic parameters of the line cards and switching power supplies in the switch.

线卡和开关电源灯的工作特征参数包括温度、功耗等等参数,这些都是表征交换机是否正常工作的参数,因此监控这些参数有助于监控交换机的性能。The working characteristic parameters of line cards and switching power supply lights include parameters such as temperature and power consumption, which are parameters that characterize whether the switch is working normally, so monitoring these parameters is helpful for monitoring the performance of the switch.

在图1所示的现有技术的交换机中,是通过管理板来监控温度的,但是管理板同时需要处理很多的工作,例如:路由表的更新、协议报文的处理等等,因此管理板上出问题的概率也很高,一旦管理板出现故障,例如管理板的CPU陷入死循环时,也就不能再监控温度了。为了解决这个问题,可以通过管理板上的第二管理控制单元来监控问题等参数。In the prior art switch shown in Figure 1, the temperature is monitored by the management board, but the management board needs to handle a lot of work at the same time, such as: updating of the routing table, processing of protocol messages, etc., so the management board The probability of problems is also very high. Once the management board fails, for example, when the CPU of the management board falls into an infinite loop, the temperature can no longer be monitored. In order to solve this problem, parameters such as problems can be monitored through the second management control unit on the management board.

EEPROM主要用来存储所在的板卡的相关信息,例如板卡的功耗、线卡的类型、线卡的出厂系列号等。在板卡上设置有温度监控芯片,用于监控板卡上各个点的温度,对于比较复杂的系统,可以使用多个温度监控芯片,分别放置在板上不同的地方,比如风道的进风口、出风口、板上最热的地方等。管理板的第二CPU输出的IIC总线经过I2C总线开关后扩展出多路IIC总线后连接到各个板卡的EEPROM、温度监控芯片等,可以获取系统的温度信息等。EEPROM is mainly used to store relevant information of the board where it is located, such as the power consumption of the board, the type of the line card, and the factory serial number of the line card. A temperature monitoring chip is installed on the board to monitor the temperature of each point on the board. For a more complex system, multiple temperature monitoring chips can be used and placed in different places on the board, such as the air inlet of the air duct , the air outlet, the hottest place on the board, etc. The IIC bus output by the second CPU of the management board passes through the I2C bus switch and expands into multiple IIC buses, and then connects to the EEPROM and temperature monitoring chip of each board to obtain the temperature information of the system.

由于第二管理控制单元位于管理板上,而交换机中可以设有两张管理板,因而也就有两个第二管理控制单元,而线卡一般只能读到主管理板上的IIC总线信号,这样就需要管理板将主从信息传递到第二管理控制单元,可以通过图2中所示中的Master#信号。第二CPLD监控到Master#信号状态发生变化时,可以通知第二CPU。假设,交换机中设有管理板A和管理板B这两张管理板,那么交换机中的任意一个线卡的电路原理如图5所示,其中MasterA和MasterB分别为来自管理板A和管理板B的主从状态指示信号,多路选择器连接来自管理板A和管理板B两路IIC总线,MasterA和MasterB用来控制多路选择器的开关,从而选择来自两张管理板的两路IIC总线中的一路。例如,当管理板A为主管理板时,MasterA为主信号,那么多路选择器就会选择来自管理板A的IIC总线;当管理板B为主管理板时,多路选择器就会选择来自管理板B的IIC总线。Since the second management control unit is located on the management board, and there can be two management boards in the switch, there are also two second management control units, and the line card can generally only read the IIC bus signal on the main management board. , so that the management board needs to transmit the master-slave information to the second management control unit, which can be through the Master# signal shown in Figure 2 . When the second CPLD monitors that the state of the Master# signal changes, it may notify the second CPU. Assuming that there are two management boards, management board A and management board B, in the switch, the circuit principle of any line card in the switch is shown in Figure 5, where MasterA and MasterB are from management board A and management board B respectively. The master-slave status indicator signal, the multiplexer is connected to two IIC buses from management board A and management board B, and MasterA and MasterB are used to control the switch of the multiplexer to select two IIC buses from two management boards all the way. For example, when the management board A is the main management board and MasterA is the main signal, then the multiplexer will select the IIC bus from the management board A; when the management board B is the main management board, the multiplexer will select IIC bus from management board B.

下面具体介绍获取温度、功耗等工作参数的方式,可以第二管理控制单元的百兆电口远程获取,也可以通过管理板的控制台获取。The following describes how to obtain working parameters such as temperature and power consumption, which can be obtained remotely through the 100M electrical port of the second management control unit, or through the console of the management board.

当用户通过百兆电口发送获取温度、功率等的请求后,第二CPU读取第二CPLD中的Master#信号,如果自身位于主管理板上,那么直接通过IIC总线获取相应的温度、功耗等信息,并反馈给用户。如果自身位于从管理板上,那么通过UART通道将获取温度、功率等的请求传递到主管理板上的第二CPU,主管理板上的第二CPU收到请求后通过IIC总线获取温度、功耗等信息,而后再通过UART通道传递给从管理板上的第二CPU,从管理板上的第二CPU再将信息通过百兆电口传递给用户。When the user sends a request to obtain temperature, power, etc. through the 100M electrical port, the second CPU reads the Master# signal in the second CPLD. If it is on the main management board, it directly obtains the corresponding temperature and power through the IIC bus Consumption and other information, and feedback to the user. If it is located on the slave management board, the request for obtaining temperature, power, etc. is passed to the second CPU on the main management board through the UART channel, and the second CPU on the main management board obtains the temperature, power, etc. through the IIC bus after receiving the request. The information such as power consumption is transmitted to the second CPU on the slave management board through the UART channel, and the second CPU on the slave management board transmits the information to the user through the 100M electrical port.

当用户通过管理板的控制台发起获取温度、功率的请求后,管理板上的第一CPU将请求通过与第二CPU之间的UART通道将请求传递到第二CPU,第二CPU可以按照与从百兆电口接收到请求后类似的方式获取温度、功率等信息,并通过UART通道传递到管理板的第一CPU,管理板的第一CPU再将这些信息通过控制台输出给用户。When the user initiates a request to obtain temperature and power through the console of the management board, the first CPU on the management board will pass the request to the second CPU through the UART channel between the second CPU, and the second CPU can follow the After receiving the request from the 100M electrical port, obtain information such as temperature and power in a similar manner, and transmit it to the first CPU of the management board through the UART channel, and the first CPU of the management board outputs these information to the user through the console.

第二管理控制单元可以采用中断方式对交换机的温度、功耗等信息进行监控,也就是温度监控芯片在监控的温度达到预设温度值时输出中端信号,只要把这些中端信号通知第二CPLD,第二CPLD就可以监控到这些中断信号,然后通知第二CPU,可以通过INT#管脚报告,当然也可以通过其他方式报告。第二CPLD也可以同时监控开关电源的各种状态,当有变化时也可以通过INT#管脚报告给第二CPU。The second management control unit can monitor the temperature, power consumption and other information of the switch in an interrupt mode, that is, the temperature monitoring chip outputs mid-range signals when the monitored temperature reaches a preset temperature value, as long as these mid-range signals are notified to the second CPLD, the second CPLD can monitor these interrupt signals, and then notify the second CPU, which can be reported through the INT# pin, and of course can also be reported in other ways. The second CPLD can also monitor various states of the switching power supply at the same time, and when there is a change, it can also report to the second CPU through the INT# pin.

显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention also intends to include these modifications and variations.

Claims (10)

1. A management board provided in a switch, comprising:
the first management control unit is powered by a main voltage in a switching power supply in the switch and is used for monitoring the running state of the switch;
and the second management control unit is supplied with power by the bypass voltage in the switching power supply in the switch and is used for controlling the switching power supply in the switch to use the main voltage to carry out power-on and power-off operation on the switch.
2. The management board according to claim 1, wherein said first management control unit comprises a first central processing unit CPU and a first complex programmable logic device CPLD, and said second management control unit comprises a second CPU and a second CPLD; wherein,
and the second CPU is used for controlling the output state of the main voltage of the switching power supply in the switch through the second CPLD so as to realize the power-on and power-off operation of the switch.
3. The management board according to claim 2, wherein the second CPU is configured to detect whether an opposite management board having a master-slave relationship with the management board in which the second CPU is located exists in the switch; when the detection result is that the main voltage of the switch power supply in the switch is not available, the output state of the main voltage of the switch power supply in the switch is controlled to be an effective state through the second CPLD, and the switch is powered on; and when the detection result is that the current output state of the main voltage of the switch power supply is invalid, judging the reason why the current output state of the main voltage of the switch power supply is invalid, and if the reason is that the switch is started for the first time, controlling the output state of the main voltage of the switch power supply in the switch to be valid through the second CPLD to realize the electrification operation of the switch.
4. The management board according to claim 2, wherein the first CPU is configured to send a heartbeat signal to the second CPLD through the first CPLD in a normal operating state of the switch;
the second CPU is configured to detect whether an opposite management board having a master-slave relationship with a management board where the second CPU is located exists in the switch when a heartbeat signal sent by the first CPU is not obtained through the second CPLD within a set time period, and control an output state of a main voltage of a switching power supply in the switch to be an invalid state and then to be an valid state through the second CPLD if the detection result indicates that the opposite management board does not exist, so that the switch is powered off and then powered on.
5. The management board according to claim 2, wherein the first CPU is configured to send a power-down request to the second CPU through the first CPLD and the second CPLD in a normal operating state of the switch;
the second CPU is used for detecting whether an opposite end management board having a master-slave relation with a management board where the second CPU is located exists in the switch or not according to a power-off request sent by the first CPU and received through the second CPLD, and when the detection result shows that the opposite end management board does not exist, the second CPLD is used for controlling the output state of the main voltage of the switching power supply in the switch to be an invalid state so as to realize the power-off operation of the switch; and when the detection result is that the power-off request exists, the received power-off request is forwarded to an opposite terminal management board, the output state of the main voltage of the switching power supply in the switch is controlled to be an invalid state through the second CPLD, and the power-off operation of the switch is realized.
6. The management board according to any of claims 3-5, wherein a detection contact for detecting whether the opposite management board exists in the switch is connected to the second CPLD;
the second CPU is configured to confirm that the opposite management board exists in the switch when the detection contact is detected to be at a low level by the second CPLD, and confirm that the opposite management board does not exist in the switch when the detection contact is detected to be at a high level.
7. The management board according to claim 2, wherein the second CPU is provided with a network communication interface;
and the second CPU is used for controlling the output state of a switching power supply in the switch through the second CPLD after receiving a power-on and power-off request of a user through the network communication interface, so as to realize the power-on and power-off operation of the switch.
8. The management board according to claim 3, wherein the second CPU is configured to detect a cause flag bit that identifies a cause that the current output state of the switching power supply is invalid, and determine that the cause is the first startup of the switch when the cause flag bit is detected to be 0.
9. The management board of claim 1, wherein the second management control unit is further configured to monitor operating characteristic parameters of line cards and switching power supplies in the switch.
10. A switch, characterized in that it comprises a management board according to any one of claims 1-9.
CN201110423230.5A 2011-12-15 2011-12-15 Management board in switch and switch Expired - Fee Related CN102420706B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110423230.5A CN102420706B (en) 2011-12-15 2011-12-15 Management board in switch and switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110423230.5A CN102420706B (en) 2011-12-15 2011-12-15 Management board in switch and switch

Publications (2)

Publication Number Publication Date
CN102420706A CN102420706A (en) 2012-04-18
CN102420706B true CN102420706B (en) 2014-04-02

Family

ID=45944954

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110423230.5A Expired - Fee Related CN102420706B (en) 2011-12-15 2011-12-15 Management board in switch and switch

Country Status (1)

Country Link
CN (1) CN102420706B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103888270A (en) * 2014-03-25 2014-06-25 上海斐讯数据通信技术有限公司 Interchanger power-on/power-off time sequence control system and method
WO2021216055A1 (en) * 2020-04-22 2021-10-28 Hewlett-Packard Development Company, L.P. Power supplies
CN111628944B (en) * 2020-05-25 2022-03-25 深圳市信锐网科技术有限公司 Switch and switch system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6148258A (en) * 1991-10-31 2000-11-14 Nartron Corporation Electrical starting system for diesel engines
CN101867221A (en) * 2010-06-28 2010-10-20 中兴通讯股份有限公司 A single board and a method for realizing power supply monitoring in the board
CN101989852A (en) * 2009-07-30 2011-03-23 华为技术有限公司 Single board, communication equipment, device for controlling power on/off of single board and method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6148258A (en) * 1991-10-31 2000-11-14 Nartron Corporation Electrical starting system for diesel engines
CN101989852A (en) * 2009-07-30 2011-03-23 华为技术有限公司 Single board, communication equipment, device for controlling power on/off of single board and method thereof
CN101867221A (en) * 2010-06-28 2010-10-20 中兴通讯股份有限公司 A single board and a method for realizing power supply monitoring in the board

Also Published As

Publication number Publication date
CN102420706A (en) 2012-04-18

Similar Documents

Publication Publication Date Title
US10402207B2 (en) Virtual chassis management controller
US8656003B2 (en) Method for controlling rack system using RMC to determine type of node based on FRU's message when status of chassis is changed
CN103995575B (en) A kind of startup of server method and server
TW201719405A (en) Rack control system
US20120137159A1 (en) Monitoring system and method of power sequence signal
US9037878B2 (en) Server rack system
CN101641659A (en) Personal computer power control method and equipment
US20110145620A1 (en) Method of using power supply to perform far-end monitoring of electronic system
EP3367538A1 (en) Smart power supply management for high standby power system
CN107179804B (en) Cabinet device
CN101263681A (en) System for monitoring cable interface connections in a network
CN110658758A (en) Control method and control system
CN104516751A (en) Server system
US9009543B2 (en) Computer systems that acquire a plurality of statuses of non-normally operating hard disk drives
CN102420706B (en) Management board in switch and switch
CN102508759A (en) Embedded intelligent platform management system
US20230334184A1 (en) Data center security control module and control method thereof
TW201729097A (en) Rack
CN102255766B (en) Server system
CN105468123A (en) Rack management controller, power management program update system and method
CN105426334A (en) Parallel type large-scale USB extension device, working method and system
US20130138852A1 (en) Electronic device with baseboard management controller
CN107066415B (en) A PCIE subsystem power control system and method for a multi-partition server system
CN202153320U (en) A rack server based on Godson 3A CPU
CN201611799U (en) Power supply system capable of being remotely monitored

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: Cangshan District of Fuzhou City, Fujian province 350002 Jinshan Road No. 618 Garden State Industrial Park 19 floor

Patentee after: RUIJIE NETWORKS Co.,Ltd.

Address before: Cangshan District of Fuzhou City, Fujian province 350002 Jinshan Road No. 618 Garden State Industrial Park 19 floor

Patentee before: Fujian Star-net Ruijie Network Co.,Ltd.

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

Granted publication date: 20140402