Summary of the invention
In view of above content, be necessary to provide a kind of board management devices, be installed in a control card, this control card is by an I
2c bus is connected with at least one mainboard, and this control card has a unique device identifying information, and this board management devices comprises a bus switch control module, an address storaging unit, a data-reading unit and a data temporary storage location.Described bus switch control module is by described I
2c bus is connected with described at least one mainboard, the control command sending for receiving described at least one mainboard, and according to unique device identifying information of the device identifying information comprising in this control command and described control card, this control card conducting is connected to described I
2c bus and then communicate with described at least one mainboard, or cut off this control card and this I
2the conducting of C bus connects.Described address storaging unit is for storing the I of described control card
2the bus address of C element.Described data-reading unit is connected between address storaging unit and data temporary storage location, for according to the I of described address storaging unit storage
2the bus address of C element, reads each I
2the real-time monitor data of C element, the real-time monitor data then this being read is temporarily stored in described data temporary storage location, and offers described at least one mainboard Real-time Obtaining, by this at least one mainboard, described control card is monitored and is managed.
Also be necessary to provide a kind of board management system, comprise at least one mainboard and multiple control card, this at least one mainboard is by an I
2c bus is connected with each control card, and each control card has a unique device identifying information, and each control card comprises an above-mentioned board management devices.
Also be necessary to provide a kind of control card, this control card is by an I
2c bus is connected with at least one mainboard, and this control card is installed on this at least one mainboard and has a unique device identifying information, and this control card comprises an above-mentioned board management devices.
Compared to prior art, the present invention by a bus switch control module connection and the disconnection to control card and bus control, utilize the mode of timesharing control, reach and utilize single I2C bus that multiple control cards are monitored and managed, can simplify the design of mainboard wiring board and save many wiring board spaces that I2C bus is shared.Meanwhile, the board management devices of installing by control card carries out self-monitoring and control to control card, arrives the object of control card complete independently monitoring, and then reduces the burden of system processor.
Embodiment
Referring to Fig. 1, is the schematic diagram of a board management system 100 provided by the invention.This board management system 100 comprises at least one mainboard 10 and multiple control card 11.Each control card 11 is arranged on this at least one mainboard 10.In the present embodiment, each control card 11 is plugged in slot (as card slot, network card slot etc.) corresponding on this at least one mainboard 10.This at least one mainboard 10 is by an I
2c bus is connected with each control card 11, and each control card 11 is carried out to control and management.Wherein, each control card 11 is installed a board management devices 20.And each control card 11 has a unique device identifying information.This unique device identifying information can be unique EIC equipment identification code of this control card 11 or this control card 11 indications (Slot Identification, Slot ID) corresponding to a slot on described at least one mainboard 10.In the present embodiment, this board management system 100 can be applicable on the computer equipment such as computing machine or server.Described control card 11 is, but is not limited to video card, network interface card, sound card etc.
Referring to Fig. 2, is the schematic diagram of described board management devices 20.This board management devices 20 comprises bus switch control module 201, Data Format Transform unit 202, bus input and output control unit 203, address storaging unit 204, critical value storage unit 205, data-reading unit 206, data comparing unit 207, data temporary storage location 208 and system mistake record cell 209.Above-mentioned each element 201-209 is electrically connected each other directly or indirectly, to carry out transmission and the exchange of data.Annexation between above-mentioned each element is by below to being introduced in the detailed description of these elements.Described board management devices 20 can be an integrated integrated chip for above-mentioned each element.
This bus switch control module 201 is by described I
2c bus is connected with described at least one mainboard 10, the control command sending for receiving described at least one mainboard 10, and I as described in corresponding control card 11 conductings being connected to according to the device identifying information comprising in this control command (as Slot ID)
2in C bus, this correspondence control card 11 is communicated with described at least one mainboard 10, or disconnect this correspondence control card 11 and this I
2the conducting of C bus connects, and makes this correspondence control card 11 no longer take described I
2c bus.So, point at any time, ensures to only have a control card 11 to be connected to described I
2in C bus, communicate by letter with described at least one mainboard 10.
In this example, as shown in Figure 3, described bus switch control module 201 is by described I
2c bus and described at least one mainboard 10 communicate to connect, and this bus switch control module 201 at least comprises a change-over switch 210, and this change-over switch 210 comprises a conducting state and a cut-off state.When this bus switch control module 201 is during in conducting state, described corresponding control card 11 conductings are connected to described I by this bus switch control module 201
2in C bus.When this bus switch control module 201 is during in cut-off state, 201 of this bus switch control modules cut off these correspondence control card 11 and I
2the conducting of C bus connects.Particularly, if when unique device identifying information of the device identifying information comprising in described control command and the control card 11 corresponding with this bus switch control module 201 is consistent, control described change-over switch 210 in conducting state, so that this correspondence control card 11 is connected in to described I
2in C bus, communicate with mainboard 10.Otherwise, control this change-over switch 210 in cut-off state, to cut off this correspondence control card 11 and I
2the conducting of C bus connects.
Described Data Format Transform unit 202 is connected with described bus switch control module 201, is connected to described I by this bus switch control module 201
2in C bus, for receiving from I when board management devices 20
2when the data of C bus, by the format conversion of these data be the data layout supported of this board management devices 20 to carry out data storage, and the data of its storage need to be passed through to I when this board management devices 20
2when C bus transfer, be I by the format conversion of the data of this storage
2the data transmission format of C bus, is beneficial to the transmission of data.
Described address storaging unit 204 is connected with described data-reading unit 206, for storing the I of a corresponding control card 11
2the bus address of C element, as in Fig. 4 as bus address and the I of the bus address of temperature sensor 110, voltage-sensor 111
2the bus address of C input and output control element 112 etc.
Described data-reading unit 206 is connected between address storaging unit 204 and data temporary storage location 208, for the I storing according to described address storaging unit 204
2the bus address of C element, reads each I
2the real-time monitor data of C element, as temperature, voltage, electric current etc., the real-time monitor data then this being read is temporarily stored in described data temporary storage location 208.This data temporary storage location 208 is also connected with described Data Format Transform unit 202, and this temporary real-time monitor data is undertaken passing through described I after format conversion by this Data Format Transform unit 202
2c is transferred to described at least one mainboard 10, the object of control card 11 being monitored and being managed to reach this at least one mainboard 10.
Described critical value storage unit 205 is connected with described bus input and output control unit 203, for storing the I of above-mentioned corresponding control card 11
2the ultimate value of the monitor data of C element.The external input device (not shown) input that this ultimate value connects by this bus input and output control unit 203.Work as I
2when C element monitor data exceedes this ultimate value, represent the working state abnormal that this correspondence control card 11 is current.
Described data comparing unit 207 is connected with described data temporary storage location 208, critical parameter value storage unit 205 and system mistake record cell 209 respectively, for the ultimate value of storage in real-time monitor data temporary data temporary storage location 208 and critical value storage unit 205 is compared, judge whether value of overstepping the extreme limit of this real-time monitor data, and by the monitor data of the value of overstepping the extreme limit and corresponding I thereof
2the bus address of C element is recorded in described system mistake record cell 209.This system mistake record cell 209 is also connected with described Data Format Transform unit 202, so that the information of its record is undertaken passing through described I after format conversion by this Data Format Transform unit 202
2c bus feeds back to described at least one mainboard 10.
Described bus input and output control unit 203 is connected with data comparing unit 207, for control described corresponding control card 11 inner each power circuits unlatching, close and reset etc.For example, this bus input and output control unit 203 I corresponding according to the monitor data of the above-mentioned value of overstepping the extreme limit
2the bus address of C element, closes this I
2the power circuit that C element is corresponding, to protect this correspondence control card 11.
In addition, described bus switch control module 201 can be connected with this bus input and output control unit 203, and the change-over switch 210 of controlling this switch control unit 201 by this bus input and output control unit 203 is in conducting state or cut-off state.Particularly, this input and output control unit 203 receives described at least one mainboard 10 by described I
2the control command that C bus sends, and according to the device identifying information comprising in this control command (as Slot ID), send one and control signal to bus input and output control unit 203, with the change-over switch 210 of optionally controlling this bus input and output control unit 203 in conducting state or cut-off state, with correct control this correspondence control card 11 and described I
2the connection of C bus and disconnection.For example, if when unique device identifying information of the Slot ID comprising in described control command and the control card 11 corresponding with this bus switch control module 201 is consistent, send the first control signal (as " 0000 ") to control change-over switch 210 in conducting state, so that these corresponding control card 11 conductings are connected to described I
2in C bus, communicate with mainboard 10.Otherwise, send the second control signal (as " 0001 ") to control this change-over switch 210 in cut-off state, to cut off control card 11 and the I that this is corresponding
2the conducting of C bus connects.
In sum, the present invention uses described board management devices, by being connected and disconnection of each control card 11 of bus switch control module control and I2C bus, utilize the mode of timesharing control, reach and utilize single I2C bus that multiple control cards are monitored and managed, can simplify the design of mainboard wiring board and save many wiring board spaces that I2C bus is shared.Meanwhile, the board management devices of installing by control card carries out self-monitoring and control to control card, arrives the object of control card complete independently monitoring, and then reduces the burden of system processor.
Above embodiment is only unrestricted in order to technical scheme of the present invention to be described, although the present invention is had been described in detail with reference to preferred embodiment, those of ordinary skill in the art is to be understood that, can modify or be equal to replacement technical scheme of the present invention, and not depart from the spirit and scope of technical solution of the present invention.