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
cpld
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
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
Active 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

Management board and switch of setting in switch
Technical Field
The present invention relates to the field of network device technologies, and in particular, to a management board disposed in a switch and a switch.
Background
The existing switch mainly comprises management boards, line cards, a switching power supply and other components, two management boards, a plurality of line cards and a switching power supply can be arranged in the switch, the connection relationship between each line card 10 and each switching power supply 11 and the management boards 12 and 13 is shown in fig. 1, and the management boards and the line cards can be collectively called as the line cards. Each Electrically Erasable Programmable Read-Only Memory (EEPROM) 14 is configured to store information of a board where the EEPROM is located, such as a type and power consumption of the board; the temperature monitoring chip 15 is used for monitoring the temperature of the environment in which the chip is located, and the two chips are accessed through the IIC interface. Two management boards of the switch will perform master-slave negotiation, one is master management board, the other is slave management board, and the multiplexer 16 is used to select the IIC channel of the master management board to connect to the EEPROM14 and the temperature monitoring chip 15. Since a general Central Processing Unit (CPU) 17 has only 1-2 IIC channels, and a switch has a plurality of line cards and switching power supplies, the IIC bus of the CPU needs to be expanded into multiple IIC buses through an I2C bus switch 18. A Complex Programmable Logic Device (CPLD) 19 is used to communicate status and control information, such as the presence of a line card, resetting a line card, etc., between the management board and a line card, and between the management board and the switching power supply.
In the switch shown in fig. 1, the CPU on the management board monitors the switching power supply, and the voltage for the normal operation of the management board is obtained by converting the main output voltage provided by the switching power supply, the management board can control each board to perform the power-on and power-off operation, but cannot control the switching power supply to perform the power-on and power-off operation on the switch, and only can manually perform the power-on and power-off operation on the switch, when the number of switches is very large, the efficiency for manually controlling the power-on and power-off operation of the switch is very low, and the accuracy is also low. Therefore, the prior art lacks a scheme for effectively controlling the power-on and power-off operations of the switch.
Disclosure of Invention
The embodiment of the invention provides a management board arranged in a switch and the switch, which are used for effectively controlling the power-on and power-off operations of the switch.
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.
A switch comprises the management board.
The management board and the switch provided by the embodiment of the invention are arranged in the switch, and the management board comprises a first management control unit and a second management control unit; the first management control unit is powered by the main voltage of the switch power supply in the switch and is used for processing the service of the switch, and the second management control unit is powered by the bypass voltage of the switch power supply in the switch and is used for controlling the switch power supply in the switch to use the main voltage to carry out power-up and power-down operation on the switch. In the scheme, 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 an effective state, namely the second management control unit can be always in a working state, so that the second management control unit can directly control the switching power supply to use the main voltage to carry out power-on and power-off operations on the switch; when the switch is in a power-on state, the second management control unit can use the main voltage to perform power-off operation on the switch through the switching power supply, the management board of the scheme can effectively control the power-on and power-off operation of the switch, and compared with the mode that the power-on and power-off operation of the switch needs to be manually controlled in the prior art, the operation efficiency and the accuracy can be effectively improved.
Drawings
FIG. 1 is a schematic circuit diagram of a prior art switch;
FIG. 2 is a schematic circuit diagram of a switch in an embodiment of the invention;
fig. 3 is a flowchart illustrating a second management control unit performing a power-on operation on a switch through a switching power supply when the switch is started according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a circuit for detecting the presence of an opposite management board in an embodiment of the present invention;
fig. 5 is a schematic connection diagram of a line card in an embodiment of the present invention.
Detailed Description
To solve the problem that the prior art lacks a scheme capable of effectively controlling power on and power off of a switch, an embodiment of the present invention provides a management board, which may be disposed in the switch, and has a structure as shown in fig. 2, where the management board 20 includes: a first management control unit 21 and a second management control unit 22. Wherein:
the first management control unit 21 is supplied with power from the main voltage in the switching power supply in the exchange, and supervises the operating state of the exchange.
The second management control unit 22 is supplied with power from the bypass voltage in the switching power supply in the switch, and controls the switching power supply 23 in the switch to perform power-on and power-off operations on the switch using the main voltage.
The management control unit in the switch in the prior art can only supervise the operation state of the switch, such as judging the units existing in the switch, and monitor the working states of the units, for example, whether there is an abnormality or not, etc.; the switching power supply cannot be controlled to perform power-up and power-down operations on the switch using the main voltage because the switching power supply supports outputting two voltages, one of the main voltage of 12V and one of the bypass voltage of 3.3V. The switching power supply may control the output of the 12V voltage, for example, the switching power supply may be controlled by a signal of a pin PSON # of the switching power supply, when the PSON # of the switching power supply is at a high level, the 12V is normally output, and when the PSON # of the switching power supply is at a low level, the 12V is not output, and of course, the switching power supply may also be controlled by other manners, which is not described herein again; the output of the 3.3V bypass (Standby) voltage is not controlled by the switching power supply, and the 3.3V bypass voltage output is present as long as the 220V ac input is present. The output current of the 3.3V bypass voltage of the common switching power supply is relatively small, so that a device with large power consumption cannot be supplied.
In the invention, the first management control unit is powered by 12V voltage output by the switching power supply, and the second management control unit is powered by 3.3V bypass voltage output by the switching power supply, because the 3.3V bypass voltage is not controlled by the switching power supply, namely the second management control unit can be always in a working state, the second management control unit can control the main voltage output by the switching power supply to 12V, and further control the switching power supply to use the main voltage to carry out power-up and power-down operations on the switch. When the switch is in a power-off state, the second management control unit can perform power-on operation on the switch through the switching power supply; when the switch is in a power-on state, the second management control unit can perform power-off operation on the switch through the switching power supply, the management board can effectively control the power-on and power-off operation of the switch, and compared with a mode that the power-on and power-off operation of the switch needs to be manually controlled in the prior art, the operation efficiency and accuracy are effectively improved.
The 12V output by the switching power supply is used for supplying power to other components such as a line card and a fan disc in the switch besides the first management control unit in the management board, and the 12V output by the switching power supply firstly passes through the hot plug controller on the components such as the management board, the line card and the fan disc and then supplies power to the components.
Management board, ply-yarn drill, switching power supply etc. components and parts can directly set up on the quick-witted case of switch, also can set up two backplates on the switch, a power backplate, a system backplate, set up switching power supply on the power backplate, set up management board, ply-yarn drill etc. on the system backplate, pass through the cable connection between power backplate and the system backplate. Of course, other methods may be adopted, and are not described in detail herein.
The switch structure in the embodiment of the present invention is described above, and each unit and the corresponding operation principle are described in detail below.
Specifically, as shown in fig. 2, the 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 CPLD 222; the second CPU221 is configured to control the main voltage output state of the switching power supply 23 in the switch through the second CPLD222, so as to implement power-on and power-off operations on the switch.
The second CPU is relatively simple in work, and only needs to be able to satisfy the requirement of controlling the output state of the switching power supply through the first CPLD, so as to implement the power-on and power-off operation on the switch. If the selected second CPU can normally work at the voltage of 3.3V, the 3.3V bypass voltage output by the switching power supply can be directly used, and if other voltages are needed, the required voltage can be obtained through conversion of the 3.3V bypass voltage output by the switching power supply.
In addition to PSON #, other interface signals of the conventional switching power supply may be connected to the second CPLD, such as PSRENT # (which may be set to low to indicate that the switching power supply is present and high to indicate that the switching power supply is not present), FAN FAIL # (which may be set to low to indicate that the FAN is failed and high to indicate that the FAN is normal) to indicate the FAN state inside the switching power supply, PwrOK # (which may be set to low to indicate that the switching power supply is normally output and high to indicate that the switching power supply is failed) to indicate whether the switching power supply is normally output, and so on. When a plurality of switching power supplies are used, the second CPLD outputs signals for each switching power supply, and then performs logical operation on the signals output by each switching power supply and then performs power-on and power-off operation on the switch.
The second CPU is in communication connection with the second CPLD and can be interconnected through an asynchronous bus, and the second CPU obtains whether the switching power supply has signals such as the existence of the switching power supply through the second CPLD and controls the signals such as PSON # of the switching power supply. The asynchronous bus may use Serial Peripheral Interface (SPI) of the CPU, Local bus (Local bus), General Purpose Input Output (GPIO), or the like.
The second CPLD is connected with a signal output by the switching power supply and outputs a PSON # signal to the switching power supply to control the output state of the switching power supply, so that the switch is powered on and powered off.
The communication channel between the second CPU and the first management control unit may be a Universal Asynchronous Receiver Transmitter (UART).
Specifically, when the switch is first started, the second CPU executes the following steps, and the specific steps are shown in fig. 3.
S30: and starting.
S31: detecting whether an opposite end management board having a master-slave relationship with a management board where the opposite end management board is located exists in the switch or not, and executing S32 when the detection result is that the opposite end management board does not exist; when the detection result is present, S33 is executed.
S32: and controlling the main voltage output state of the switching power supply in the switch to be an effective state through the second CPLD, so as to implement the electrifying operation on the switch.
S33: detecting the current output state of the main voltage of the switching power supply, and executing S34 when the output state of the main voltage is detected to be an effective state; when the main voltage output state is detected as the invalid state, S35 is executed.
S34: the output state of the main voltage of the switching power supply is maintained to be an active state.
S35: judging the reason that the current output state of the main voltage of the switching power supply is in an invalid state, and if the reason is that the switch is started for the first time, executing S36; if the cause is artificial power off, S37 is executed.
S36: and the output state of the main voltage of the switching power supply in the switch is controlled to be an effective state through the second CPLD, so that the switch is electrified.
S37: the output state of the main voltage of the switching power supply is maintained as an inactive state.
Generally, in a switch, two management boards are arranged, one of the two management boards can be used as a master management board after negotiation, and the other management board can be used as a slave management board. Therefore, when the switch starts up, the management board needs to detect whether another management board exists and then perform a corresponding operation. The following three situations that may exist at switch startup are described below:
in the first case: there is only one management board.
When the switch is started, under the condition that 220V input of the switching power supply exists, 3.3V voltage is normally output, the second management control unit can be normally started, the second CPU detects whether an opposite-end management board exists through the second CPLD, and because only the management board where the second management control unit is located exists, the opposite-end management board does not exist, the second CPU can directly control the output state of the switching power supply to be an effective state through the second CPLD, namely 12V voltage is normally output, so that the first management control unit on the management board can be normally started. After the first management control unit is normally started, the management board where the first management control unit is located is naturally used as the main management board.
In the second case: when the switch is started, only one management board is arranged, and when the switch is started, a second management board is inserted.
The control of the switch power supply by the management board existing when the switch is started is the same as that in the first case, and the second CPU in the management board inserted later also detects whether the management board at the opposite end exists. Therefore, it is necessary to acquire the output state of the switching power supply at this time, and it can be acquired by reading the PwOK # signal in the present embodiment.
If the PwOK # signal is low, it indicates that the second management control unit of the opposite management board has controlled the output state of the switching power supply to be an effective state, so as to implement the power-on operation of the switch, and the opposite management board is already in the position of the master management board, at this time, because the 12V power supply already exists normally, the CPU inserted into the management board can be directly started, and the master-slave negotiation is performed as the slave management board.
If the PwOK # signal is high, the output state of the switching power supply is in an invalid state, the 12V voltage is not output, the switching power supply is turned off manually by a user, and the output state of the switching power supply cannot be controlled to be in an valid state at this time, so that the switch cannot be powered on.
In the third case: there are two management boards at the time the switch is started.
At this time, the second CPUs of the second management control units on the two management boards can be normally started, and can detect that the opposite management board exists, and then acquire the output state of the switching power supply.
If the obtained output state of the switching power supply is an effective state, both the two management boards can be started normally, then master-slave negotiation can be carried out, one master management board and one slave management board are obtained, and the switch can start to work normally.
If the acquired output state of the switching power supply is an invalid state, it indicates that the 12V voltage of the switching power supply is not output yet, and from the second case, it is known that the output state of the switching power supply is an invalid state, which may be manually turned off, and may be the first time the switch is turned on, and if the output state is intentionally turned off, the power-on operation cannot be performed, but if the switch is turned on for the first time, the power-on operation may be performed, and therefore, the reason that the output state of the switching power supply is an invalid state needs to be detected. If the reason is that the switch is started for the first time, the output state of the switching power supply in the switch is controlled to be an effective state through the second CPLD, and the switch is electrified; and if the reason is artificial power failure, keeping the output state of the switching power supply in an invalid state.
Preferably, when the switch normally works, the 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 a set time length, 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 is detected, if the detection result is that the opposite end management board does not exist, the output state of the main voltage of the switching power supply in the switch is controlled to be an invalid state firstly and then to be an effective state through the second CPLD, and then the switch is powered off and then powered on.
In a preferred embodiment, the first CPU and the second CPU on the management board can simultaneously monitor the heartbeat signals of the other side, and the first CPLD and the second CPLD can transmit the heartbeat signals of HBIN and HBOUT to each other, or certainly can transmit other heartbeat signals. When the second CPU finds that the first CPU does not have a heartbeat signal, that is, the first management control unit cannot normally operate, the second CPU may detect whether the opposite-end management board exists, and if the opposite-end management board does not exist, the second CPU may control the output state of the switching power supply to be an invalid state and then to be an valid state by using the second CPLD, so that the switch may be powered off first and then powered on again, and the management board may be restored to normally operate. If the opposite end management board exists, the opposite end management board can monitor that the management board can not work normally, so that the opposite end management board can ensure the normal work of the whole system, and the power-on and power-off recovery can be not executed.
Specifically, the second CPU is configured to detect a cause flag bit for identifying a cause that a current output state of the switching power supply is invalid, and determine that the cause is first startup of the switch when the cause flag bit is detected to be 0.
A reason flag bit can be set in the second CPLD to identify the reason why the output state of the switching power supply is in the invalid state, and the reason flag bit can be set to 0 to indicate that the switch is started for the first time and to 1 to indicate that the switching power supply is manually turned off. The reason flag bits can be exchanged between the second CPLDs in the second management control units of the two management boards through the UART.
In the third case, when the two management boards exist at the same time, the second CPUs of the second management control units in the two management boards can detect the reason flag bit of the other management board, and when both the second CPUs are 0, both the second CPUs can control the output state of the switching power supply to be the effective state through the second CPLD of the management board where the second CPUs are located, and at this time, the output state of the switching power supply is the effective state, the 12V voltage is normally output, the first management control units on the two management boards start to be started, and then master-slave negotiation is performed.
Preferably, the power-off request can be received under the normal working state of the switch. When a power-off request is received, the first CPU sends the power-off request to the second CPU through the first CPLD and the second CPLD; the second CPU detects whether an opposite management board having a master-slave relationship with a management board where the second CPU is located exists in the switch according to a power-down request sent by the first CPU and received through the second CPLD, and when the detection result is that the opposite management board does not exist, the second CPU controls 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-down operation of the switch; and when the detection result shows that the power-off request exists, the received power-off request is forwarded to the 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.
A communication channel can be arranged between the first CPU and the second CPU, so that a user can apply for controlling the output state of the switching power supply through a control console of the management board, and the switch is powered off.
Specifically, the second CPLD is connected with a detection contact for detecting whether an opposite management board exists in the switch; and the second CPU is used for confirming that the opposite management board exists in the switch when the detection contact is detected to be in a low level through the second CPLD, and confirming that the opposite management board does not exist in the switch when the detection contact is detected to be in a high level.
The presence of the opposite management board can be detected by using the circuit in fig. 4, which shows the case where two management boards, management board a and management board B, are present. For the management board a, when the opposite management board B exists, the detection contact a is at a low level, that is, the Present # signal in fig. 2 is at a low level; when the opposite 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 applies to the case where the management board B detects the point B. Here, only one way of detecting whether the opposite-end management board exists is listed, and certainly, other ways of detecting whether the opposite-end management board exists may also be adopted, which are not described herein again.
Specifically, the second CPU is provided with a network communication interface; and after receiving a power-on and power-off request of a user through the network communication interface, the second CPU controls the output state of a switching power supply in the switch through the second CPLD to realize the power-on and power-off operation of the switch.
The second management control unit can be provided with a network communication interface, the switch can be remotely managed through the network communication interface, and the switch can be accessed to a unified management platform under the support of corresponding software, so that the unified management of a plurality of switches is realized.
The network communication interface may be a hundred megaelectrical port or other interface, and is described below with reference to a hundred megaelectrical port as an example. When the user sends a power-off request through the hundred megawatt port, the second CPU sets the reason flag position in the second CPLD to 1, and controls the output state of the switching power supply to be an invalid state. And simultaneously detecting whether the opposite-end management board exists, if so, transmitting a power-off request to a second management control unit of the opposite-end management board through a UART channel, and after receiving the request, a second CPU of the opposite-end management board also controls the output state of the switching power supply to be an invalid state, and when the second management control units of the two management boards control the output state of the switching power supply to be the invalid state, the switching power supply does not output 12V voltage any more, so that the power-off operation of the switch is realized.
When a power-on request is received from the hundred mega electric port, the second CPU sets the position of the reason mark in the second CPLD to be 0, controls the output state of the switching power supply to be an effective state, and outputs 12V voltage to realize the power-on operation of the switch; and simultaneously detecting whether the opposite end management board exists, if so, transmitting the power-on request to a second management control unit of the opposite end management board through a UART channel, and after receiving the power-on request, a second CPU of the opposite end management board also controls the output state of the switching power supply to be an effective state, and at the moment, because the switching power supply outputs 12V voltage, the switch does not need to be powered on.
Specifically, the second management control unit is further configured to monitor operating characteristic parameters of a line card and a switching power supply in the switch.
The operating characteristic parameters of the line cards and the switching power supply lamps comprise temperature, power consumption and the like, which are parameters for indicating whether the switch works normally, so that monitoring the parameters helps to monitor the performance of the switch.
In the prior art switch shown in fig. 1, the temperature is monitored by the management board, but the management board needs to deal with many tasks at the same time, such as: the updating of the routing table, the processing of the protocol messages, etc., so the probability of problems on the management board is also high, and once the management board fails, for example, the CPU of the management board falls into a dead loop, the temperature cannot be monitored any more. To solve this problem, the problem and other parameters may be monitored by a second management control unit on the management board.
The EEPROM is mainly used to store relevant information of the board card, such as power consumption of the board card, a type of the board card, a factory serial number of the board card, and the like. The temperature monitoring chips are arranged on the board card and used for monitoring the temperature of each point on the board card, and for a complex system, a plurality of temperature monitoring chips can be used and respectively placed at different places on the board, such as an air inlet, an air outlet of an air duct, the hottest place on the board and the like. The IIC bus output by the second CPU of the management board is expanded out of the multi-path IIC bus after passing through the I2C bus switch, and then is connected to the EEPROM, the temperature monitoring chip and the like of each board card, and the temperature information and the like of the system can be obtained.
Since the second management control unit is located on the management board and the switch may have two management boards, there are two second management control units, and the line card can only read the IIC bus signal on the main management board, so that the management board is required to transmit the Master information and the slave information to the second management control unit, which may pass through the Master # signal shown in fig. 2. The second CPLD may notify the second CPU when it monitors that the Master # signal state has changed. It is assumed that two management boards, a management board a and a management board B, are provided in the switch, and a circuit principle of any line card in the switch is as shown in fig. 5, where a MasterA and a MasterB are respectively master-slave state indication signals from the management board a and the management board B, the multiplexer is connected to two IIC buses from the management board a and the management board B, and the MasterA and the MasterB are used to control switches of the multiplexer, so as to select one of the two IIC buses from the two management boards. For example, when the management board a is the master management board and the MasterA is the master signal, the multiplexer selects the IIC bus from the management board a; when the management board B is the master management board, the multiplexer selects the IIC bus from the management board B.
The following specifically describes a manner of acquiring operating parameters such as temperature and power consumption, which may be acquired remotely through the hundred mega power port of the second management control unit or through the console of the management board.
After a user sends a request for acquiring temperature, power and the like through the hundred-million electric port, the second CPU reads a Master # signal in the second CPLD, and if the second CPU is positioned on the main management board, the corresponding information such as temperature, power consumption and the like is directly acquired through the IIC bus and fed back to the user. If the slave management board is located on the slave management board, the request for acquiring the temperature, the power and the like is transmitted to the second CPU on the master management board through the UART channel, the second CPU on the master management board acquires the information such as the temperature, the power consumption and the like through the IIC bus after receiving the request, then the information 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 hundred million electric interfaces.
After a user initiates a request for acquiring temperature and power through a console of a management board, a first CPU on the management board transmits the request to a second CPU through a UART channel between the first CPU and the second CPU, the second CPU can acquire information such as temperature and power in a manner similar to that after the request is received from a hundred megawatt port and transmits the information to a first CPU of the management board through the UART channel, and the first CPU of the management board outputs the information to the user through the console.
The second management control unit can monitor the information of the temperature, the power consumption and the like of the switch in an interrupt mode, namely the temperature monitoring chip outputs middle-end signals when the monitored temperature reaches a preset temperature value, the second CPLD can monitor the interrupt signals as long as the middle-end signals are notified to the second CPLD, and then the second CPU is notified, and the interrupt signals can be reported through an INT # pin, and certainly can be reported in other modes. The second CPLD can also monitor various states of the switching power supply simultaneously, and can report to the second CPU through an INT # pin when changes occur.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such 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 Active 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 Active 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 中兴通讯股份有限公司 Single board and method for power monitoring in 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 中兴通讯股份有限公司 Single board and method for power monitoring in board

Also Published As

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

Similar Documents

Publication Publication Date Title
US8055831B2 (en) Computer system for supplying electric power to external apparatus and control method thereof
CN101641659A (en) Personal computer power control method and equipment
US20150253842A1 (en) Semiconductor device, and power control method for usbotg
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
CN104518886A (en) Network wakeup method and device of server
CN101197686A (en) POE switchboard temperature control method and system
CN113766550B (en) Electronic equipment and control method
US20200210201A1 (en) Information processing system and relay device
CN105549696A (en) Rack-mounted server system with case management function
CN102393791B (en) Device and method for realizing power supply control on hardware modules
CN116137603B (en) Link fault detection method and device, storage medium and electronic device
CN110688263A (en) FPGA-based hard disk automatic switching device and application method
JP2009508411A (en) System for monitoring cable interface connections in a network
CN111966195B (en) Start control circuit and method
CN110321263B (en) Hard disk monitoring system
JP6036229B2 (en) Battery control device, battery control method, and program
CN109408454B (en) Chip management method and related device
CN103186223A (en) Computer device and detection method for external daughterboard
TW202215199A (en) Master-slave interchangeable power supply device and host machine thereof, master-slave interchangeable power supply method, and computer-readable recording medium thereof for the power control module and the power supply unit to communicate with each other under the standard of the communication bus
CN214151684U (en) Mainboard assembly with monitoring function and system thereof
CN215729734U (en) Core board and server
CN117666746B (en) Multi-node server, method, device and medium applied to multi-node server
CN217904098U (en) Equipment state monitoring device and state monitoring terminal
CN111880974B (en) Device and method compatible with multi-type server test

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: Beijing Star-Net Ruijie Networks Co.,Ltd.