Summary of the invention
In view of the foregoing, it is necessary to providing a kind of board managing device, be installed in a control card, this control card is by an I2C bus is connected with at least one mainboard, and this control card has a Unique Device identification information, and this board managing device includes a bus switch control unit, an address storaging unit, a data-reading unit and a data temporary storage location.Described bus switch control unit passes through described I2C bus is connected with described at least one mainboard, the control command that at least one mainboard described in receive sends, and according to the Unique Device identification information of the device identifying information comprised in this control command and described control card, this control card conducting is connected to described I2C bus and then communicate with described at least one mainboard, or cut off this control card and this I2The conducting of C bus connects.Described address storaging unit is for storing the described I controlled in card2The bus address of C-element.Described data-reading unit is connected between address storaging unit and data temporary storage location, for the I stored according to described address storaging unit2The bus address of C-element, reads each I2The real-time monitoring data of C-element, is then temporarily stored in the real-time monitoring data of this reading in described data temporary storage location, and at least one mainboard described in being supplied to obtains in real time, by this at least one mainboard, described control card is monitored and is managed.
There is a need to provide a kind of plate card management system, including at least one mainboard and multiple control card, this at least one mainboard passes through an I2C bus is connected with each control card, and each control card has a Unique Device identification information, and each control card includes an above-mentioned board managing device.
There is a need to provide a kind of and control card, this control card is by an I2C 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 identification information, and this control card includes an above-mentioned board managing device.
Compared to prior art, control card and bus are connected and disconnected from being controlled by the present invention by a bus switch control unit, utilize the mode of Time-sharing control, reach to utilize single I2C bus that multiple control cards are monitored and are managed, the design of mainboard wiring board can be simplified and save the board space shared by a plurality of I2C bus.Meanwhile, the board managing device installed by controlling card carries out self-monitoring and control to controlling card, arrives the purpose controlling the monitoring of card complete independently, and then reduces the burden of system processor.
Detailed description of the invention
Refer to Fig. 1, be the schematic diagram of the plate card management system 100 that the present invention provides.This plate card management system 100 includes at least one mainboard 10 and multiple control card 11.Each card 11 that controls is arranged on this at least one mainboard 10.In the present embodiment, each card 11 that controls is plugged on this at least one mainboard 10 in corresponding slot (such as card slot, network card slot etc.).This at least one mainboard 10 is by an I2C bus is connected with each card 11 that controls, and each card 11 that controls is controlled and is managed.Wherein, a board managing device 20 installed by each card 11 that controls.And each card that controls 11 has a Unique Device identification information.This Unique Device identification information can be that the Unique Device identification code of this control card 11 or this control card 11 are corresponding to the indications (Slot of a slot on described at least one mainboard 10
Identification, Slot ID).In the present embodiment, this plate card management system 100 can be applicable on the computer equipment such as computer or server.The described card 11 that controls is, but is not limited to, video card, network interface card, sound card etc..
Refer to Fig. 2, for the schematic diagram of described board managing device 20.This board managing device 20 includes bus switch control unit 201, Data Format Transform unit 202, bus input and output control unit 203, address storaging unit 204, marginal value memory element 205, data-reading unit 206, data comparing unit 207, data temporary storage location 208 and system mistake record unit 209.Above-mentioned each element 201-209 is electrically connected with the most directly or indirectly, to carry out transmission and the exchange of data.Annexation between above-mentioned each element will be introduced in the detailed description to such element below.Described board managing device 20 can be an integrated chip being integrated with above-mentioned each element.
This bus switch control unit 201 is by described I2C bus is connected with described at least one mainboard 10, the control command that at least one mainboard 10 described in receive sends, and according to the device identifying information (such as Slot ID) comprised in this control command by one corresponding control card 11 conducting be connected to as described in I2In C bus so that this correspondence controls card 11 and communicates with described at least one mainboard 10, or disconnect this correspondence control card 11 and this I2The conducting of C bus connects, and makes this correspondence control card 11 and no longer takies described I2C bus.So, point at any time, it is ensured that only one of which controls card 11 and is connected to described I2Communicate with described at least one mainboard 10 in C bus.
In this example, as it is shown on figure 3, described bus switch control unit 201 is by described I2C bus communicates to connect with described at least one mainboard 10, and this bus switch control unit 201 at least includes a switching switch 210, and this switching switch 210 includes a conducting state and a cut-off state.When this bus switch control unit 201 is in the conduction state, the conducting of described corresponding control card 11 is connected to described I by this bus switch control unit 2012In C bus.When this bus switch control unit 201 is in cut-off state, this bus switch control unit 201 is then cut off this correspondence and is controlled card 11 and I2The conducting of C bus connects.Specifically, if the device identifying information comprised in described control command and the Unique Device identification information that controls card 11 corresponding with this bus switch control unit 201 are consistent, then control described switching switch 210 in the conduction state, so that this correspondence control card 11 is connected in described I2Communicate with mainboard 10 in C bus.Otherwise, then control this switching switch 210 and be in cut-off state, to cut off this correspondence control card 11 and I2The conducting of C bus connects.
Described Data Format Transform unit 202 is connected with described bus switch control unit 201, is connected to described I by this bus switch control unit 2012In C bus, for receiving from I when board managing device 202During the data of C bus, the form of these data is converted to data form that this board managing device 20 supports to carry out data storage, and when this board managing device 20 needs the data stored to pass through I2During C bus transfer, the form of the data of this storage is converted to I2The 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 the corresponding I controlled in card 11 of storage one2The bus address of C-element, such as the bus address such as temperature sensor 110 in Fig. 4, the bus address of voltage-sensor 111 and I2C input and output control the bus address etc. of element 112.
Described data-reading unit 206 is connected between address storaging unit 204 and data temporary storage location 208, for the I according to the storage of described address storaging unit 2042The bus address of C-element, reads each I2The real-time monitoring data of C-element, such as temperature, voltage, electric current etc., is then temporarily stored in the real-time monitoring data of this reading in described data temporary storage location 208.This data temporary storage location 208 is also connected with described Data Format Transform unit 202, passes through described I after this temporary real-time monitoring data is carried out form conversion by this Data Format Transform unit 2022C be transferred to described at least one mainboard 10, to reach this at least one mainboard 10 to controlling card 11 purposes that are monitored and manage.
Described marginal value memory element 205 is connected with described bus input and output control unit 203, for storing the above-mentioned corresponding I controlled in card 112The ultimate value of the monitoring data of C-element.The external input device (not shown) that this ultimate value is connected by this bus input and output control unit 203 inputs.Work as I2When C-element monitoring data exceed this ultimate value, represent that this correspondence controls card 11 current working state abnormal.
Described data comparing unit 207 is connected with described data temporary storage location 208, critical parameter value memory element 205 and system mistake record unit 209 respectively, for real-time monitoring data temporary in data temporary storage location 208 is compared with the ultimate value of storage in marginal value memory element 205, judge this real-time monitoring data whether over-limit condition, and by the monitoring data of over-limit condition and the I of correspondence thereof2The bus address record of C-element is in described system mistake record unit 209.This system mistake record unit 209 is also connected with described Data Format Transform unit 202, passes through described I after being carried out form conversion with the information recorded by this Data Format Transform unit 2022C bus feedback gives 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 the internal each power circuits of card 11 unlatching, close and reset etc..Such as, this bus input and output control unit 203 is according to I corresponding to the monitoring data of above-mentioned over-limit condition2The bus address of C-element, closes this I2The power circuit that C-element is corresponding, to protect this correspondence control card 11.
Additionally, described bus switch control unit 201 can be connected with this bus input and output control unit 203, this bus input and output control unit 203 switching controlling this switch control unit 201 switchs 210 in the conduction state or cut-off states.Specifically, this input and output control unit 203 receive described at least one mainboard 10 by described I2The control command that C bus sends, and according to the device identifying information (such as Slot ID) comprised in this control command, send one and control signal to bus input and output control unit 203, switch 210 in the conduction state or cut-off states optionally controlling the switching of this bus input and output control unit 203, control card 11 and described I with this correspondence of correct control2Being connected and disconnected from of C bus.Such as, if the Slot comprised in described control command
When ID and the Unique Device identification information that controls card 11 corresponding with this bus switch control unit 201 are consistent, then send the first control signal (such as " 0000 ") in the conduction state to control switching switch 210, so that the conducting of the control card 11 of this correspondence is connected to described I2Communicate with mainboard 10 in C bus.Otherwise, then send the second control signal (such as " 0001 ") and be in cut-off state, to cut off the control card 11 and I of this correspondence to control this switching switch 2102The conducting of C bus connects.
In sum, the present invention uses described board managing device, control each to control card 11 and being connected and disconnected from of I2C bus by a bus switch control unit, utilize the mode of Time-sharing control, reach to utilize single I2C bus that multiple control cards are monitored and are managed, the design of mainboard wiring board can be simplified and save the board space shared by a plurality of I2C bus.Meanwhile, the board managing device installed by controlling card carries out self-monitoring and control to controlling card, arrives the purpose controlling the monitoring of card complete independently, and then reduces the burden of system processor.
Above example is only in order to illustrate technical scheme and unrestricted, although the present invention being described in detail with reference to preferred embodiment, it will be understood by those within the art that, technical scheme can be modified or equivalent, without deviating from the spirit and scope of technical solution of the present invention.