Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
Embodiment one:
Prior art needs to control separately the power supply that loads on each PCIE slot in order to control the hot plug of each PCIE slot, and each PCIE slot is equipped with an input and output extended chip and a Power Supply Hot Swap control chip.Like this, if on the mainboard need control the hot plug of a large amount of PCIE slots the time, need to be equipped with a large amount of Power Supply Hot Swap control chips.The inventor finds; Have only a PCIE slot doing hot plug operations on the mainboard in the same in most cases time; That is to say that the Power Supply Hot Swap control chip of working on the inherent mainboard of same time has only one; If mainboard is equipped with a large amount of Power Supply Hot Swap control chips, will cause the waste of Power Supply Hot Swap chip.
Fig. 1 is the structural representation of existing a kind of PCIE slot hot plug-pull control system.As shown in Figure 1; Root assembly root complex provides one group of only I2C bus of heat supply plug control use; The hot plug control signal that (I/O expander) chip 0~7 expands PCIE slot 0~7 is respectively expanded in input and output through hanging on the I2C bus, utilizes the hot plug control signal of each PCIE slot that the hot plug of each PCIE slot is controlled.For example, when input and output extended chip 7 receives the hot drawing request of outside input, the Power Supply Hot Swap control chip that this hot drawing request is transferred to root complex respectively and is connected with slot 7; The Power Supply Hot Swap control chip that is connected with slot 7 places controllable state with the fixed power source that loads on the slot 7 after receiving this hot drawing request; After root complex detects this hot drawing request; Indication input and output extended chip 7 expands the hot drawing control signal; This hot drawing control signal is used to unload the power supply that loads on the loading socket 7, and operating personnel can extract card from slot 7 like this, thereby realizes the hot drawing control to slot 7.In the PCIE slot hot plug-pull control system shown in Figure 1,, need to be equipped with a large amount of Power Supply Hot Swap control chips, increased cost if on the mainboard need control the hot plug of a large amount of PCIE slots the time.
See also Fig. 2, Fig. 2 is the schematic flow sheet of a kind of slot power control method of providing in the embodiment of the invention, and this method can realize the hot drawing control to the PCIE slot.As shown in Figure 2, this method can comprise step:
201, receive the corresponding hot drawing request of at least one PCIE slot of outside input;
Usually, can send the corresponding hot drawing request of this PCIE slot through the alarm button that starts the PCIE slot by operating personnel.
Wherein, The address information that this PCIE slot has been carried in the pairing hot drawing request of each PCIE slot; Perhaps carried the sign of input and output expansion (IO expander) chip of this PCIE slot correspondence; Discern the pairing PCIE slot of each hot drawing request with this, this is to well known to a person skilled in the art general knowledge, and present embodiment does not describe in detail.
In the embodiment of the invention; Can directly receive the corresponding hot drawing request of one or more PCIE slots of outside input by the power supply switch logic, perhaps transfer to the power supply switch logic after the outside input of the input and output extended chip reception hot drawing request by one or more PCIE slots correspondences.
Wherein, the transmit port of input and output extended chip is identical with the port of hot drawing request to the Power Supply Hot Swap chip of existing input and output extended chip transmit outer input.
202, the fixed power source that loads on the above-mentioned PCIE slot is switched to controllable electric power;
Wherein, after the power supply switch logic directly perhaps received the corresponding hot drawing request of outside one or more PCIE slots of importing through the input and output extended chip, the fixed power source that loads on the PCIE slot that can the hot drawing request is corresponding switched to controllable electric power.
For instance; After the power supply switch logic receives the corresponding hot drawing request of PCIE slot; Can break off being connected of loaded circuit between the fixed power source that loads on above-mentioned PCIE slot and the above-mentioned PCIE slot earlier, and then being connected of the loaded circuit between this PCIE slot of conducting and the controllable electric power.
For instance; After the power supply switch logic receives the corresponding hot drawing request of PCIE slot; Can the above-mentioned PCIE slot of first conducting with controllable electric power between being connected of loaded circuit, and then break off being connected of loaded circuit between the fixed power source that loads on above-mentioned PCIE slot and the above-mentioned PCIE slot.So just there is the two-way power supply to close the road and gives the PCIE slot power, can (can do the delay of a hundreds of millisecond) at short notice afterwards fixed power source is cut away, can guarantee that the power supply of PCIE slot steadily switches.
As shown in Figure 3; After the power supply switch logic receives the corresponding hot drawing request of PCIE slot; Can send drive signal 1 to metal-oxide semiconductor (MOS) (Meta Oxid Semiconductor earlier; MOS) transistor 1 and 2 so that MOS transistor 1 opens circuit with MOS transistor 2, thereby breaks off being connected of loaded circuit between fixed power source and the PCIE slot; And then send earlier drive signal 2 to MOS transistor 3 and 4, and so that MOS transistor 3 and MOS transistor 4 conductings, thus being connected of the loaded circuit between conducting controllable electric power and the PCIE slot.
As shown in Figure 3; After the power supply switch logic receives the corresponding hot drawing request of PCIE slot; Also can send drive signal 2 to MOS transistor 3 and 4 earlier, so that MOS transistor 3 and MOS transistor 4 conductings, thus being connected of the loaded circuit between conducting controllable electric power and the PCIE slot; And then send drive signal 1 to MOS transistor 1 and 2, so that MOS transistor 1 opens circuit with MOS transistor 2, thereby being connected of the loaded circuit between disconnection fixed power source and the PCIE slot can guarantee that the power supply of PCIE slot steadily switches.
203, if satisfy the Preset Time value, then unload above-mentioned controllable electric power.
In the embodiment of the invention; The corresponding hot drawing request of at least one PCIE slot of outside input can be transferred to root assembly (root complex) through the input and output extended chip that is connected with this PCIE slot; When satisfying the Preset Time value, can this PCIE be gone up the controllable electric power that loads by root complex and unload.
Wherein, the root assembly unloads this PCIE in the following manner and goes up the controllable electric power that loads:
After root complex detects the corresponding hot drawing request of at least one PCIE slot; The duration of the controllable electric power that on this PCIE slot, loads satisfies under the situation of Preset Time value; The input and output extended chip that connects through this PCIE slot of I2C bus indication expands the hot drawing control signal; This hot drawing control signal is used to unload the controllable electric power that loads on this PCIE slot; Operating personnel can extract card from this PCIE slot like this, thereby realize the hot drawing control to this PCIE slot.
Wherein, the duration of the controllable electric power that loads on the above-mentioned PCIE slot shows that the controllable electric power that loads on the above-mentioned PCIE slot has been in steady state (SS), can unload when satisfying the Preset Time value.
Need to prove that the concrete implementation procedure of the controllable electric power that loads on the root complex unloading PCIE slot in the embodiment of the invention is identical with prior art, is to well known to a person skilled in the art general knowledge, present embodiment does not describe in detail.
Preferably, in the embodiment of the invention, for the fixed power source that realizes loading on the PCIE slot and the steady switching between the controllable electric power, the fixed power source that loads on the PCIE slot can be identical with magnitude of voltage size between the controllable electric power.Like this, above-mentioned controllable electric power obtains after can further being handled through the Power Supply Hot Swap chip by above-mentioned fixed power source.
Above-mentioned a kind of slot power control method that provides in the embodiment of the invention has been carried out detailed introduction; If receive the corresponding hot drawing request of at least one PCIE slot of outside input in the embodiment of the invention; Then the fixed power source that loads on this PCIE slot is switched to controllable electric power; And when satisfying the Preset Time value, unload the controllable electric power that loads on this PCIE slot, thereby realize hot drawing control to the PCIE slot.The embodiment of the invention can be controlled the hot drawing of PCIE slot, and need not to be Power Supply Hot Swap core of each PCIE slot configuration, has saved the quantity of Power Supply Hot Swap chip.
Embodiment two:
See also Fig. 4, Fig. 4 is the schematic flow sheet of the another kind of slot power control method that provides in the embodiment of the invention, and this method can realize the heat of PCIE slot is inserted control.As shown in Figure 4, this method can comprise step:
401, the corresponding heat of at least one PCIE slot that receives outside input is inserted request;
Usually, can by operating personnel will block insert the PCIE slot after, send the corresponding heat of this PCIE slot through the alarm button that starts the PCIE slot and insert request.
Wherein, The address information that this PCIE slot has been carried in the request of inserting of the pairing heat of each PCIE slot; Perhaps carried the sign of input and output expansion (IO expander) chip of this PCIE slot correspondence; Discern each heat with this and insert the pairing PCIE slot of request, this is to well known to a person skilled in the art general knowledge, and present embodiment does not describe in detail.
In the embodiment of the invention; Can directly receive the corresponding slotting request of heat of one or more PCIE slots of outside input by the power supply switch logic, perhaps receive outside the input and transfer to the power supply switch logic after heat is inserted request by the corresponding input and output extended chip of one or more PCIE slots.
Wherein, the transmit port of input and output extended chip is inserted with the heat of existing input and output extended chip transmit outer input and is asked the port of Power Supply Hot Swap chip identical.
402, controllable electric power is loaded on above-mentioned PCIE slot;
In the embodiment of the invention; The heat that at least one PCIE slot of outside input is corresponding is inserted request can be transferred to root assembly (root complex) through the input and output extended chip that is connected with this PCIE slot, by root complex controllable electric power is loaded on this PCIE slot.
Wherein, the root assembly is loaded on controllable electric power on this PCIE slot in the following manner:
After root complex detects the slotting request of the corresponding heat of at least one PCIE slot; The input and output extended chip that connects through this PCIE slot of I2C bus indication expands the slotting control signal of heat; This heat is inserted control signal and is used for controllable electric power is carried in this PCIE slot, thereby realizes the heat of this PCIE slot is inserted control.
Need to prove that root complex is identical with prior art with the concrete implementation procedure that controllable electric power is carried on the PCIE slot in the embodiment of the invention, is to well known to a person skilled in the art general knowledge, and present embodiment does not describe in detail.
403, if satisfy the Preset Time value, then the controllable electric power that loads on the above-mentioned PCIE slot is switched to fixed power source.
For instance; After the power supply switch logic receives the slotting request of the corresponding heat of PCIE slot; The duration of the controllable electric power that on above-mentioned PCIE slot, loads satisfies under the situation of Preset Time value; Can break off being connected of loaded circuit between the controllable electric power that loads on above-mentioned PCIE slot and the above-mentioned PCIE slot earlier, and then being connected of the loaded circuit between the above-mentioned PCIE slot of conducting and the fixed power source.
For instance; After the power supply switch logic receives the slotting request of the corresponding heat of PCIE slot; The duration of the controllable electric power that on above-mentioned PCIE slot, loads satisfies under the situation of Preset Time value; Can the above-mentioned PCIE slot of first conducting with fixed power source between being connected of loaded circuit, and then break off being connected of loaded circuit between the controllable electric power that loads on above-mentioned PCIE slot and the above-mentioned PCIE slot.So just there is the two-way power supply to close the road and gives the PCIE slot power, can (can do the delay of a hundreds of millisecond) at short notice afterwards controllable electric power is cut away, can guarantee that the power supply of PCIE slot steadily switches.
Wherein, the duration of the controllable electric power that loads on the above-mentioned PCIE slot shows that the controllable electric power that loads on the above-mentioned PCIE slot has been in steady state (SS), can switch when satisfying the Preset Time value.
Preferably, in the embodiment of the invention, for the fixed power source that realizes loading on the PCIE slot and the steady switching between the controllable electric power, the fixed power source that loads on the PCIE slot can be identical with magnitude of voltage size between the controllable electric power.Like this, above-mentioned controllable electric power obtains after can further being handled through the Power Supply Hot Swap chip by above-mentioned fixed power source.
Above-mentioned the another kind of slot power control method that provides in the embodiment of the invention has been carried out detailed introduction; In embodiments of the present invention; Insert request if receive the corresponding heat of at least one PCIE slot of outside input, then controllable electric power is loaded on this PCIE slot, and when satisfying the Preset Time value; The controllable electric power that loads on this PCIE slot is switched to fixed power source, thereby realize the heat of PCIE slot is inserted control.The embodiment of the invention can inject row control to the heat of PCIE slot, and need not to be Power Supply Hot Swap core of each PCIE slot configuration, has saved the quantity of Power Supply Hot Swap chip.
Embodiment three:
See also Fig. 5, Fig. 5 is the structural representation of a kind of slot power control of providing in the embodiment of the invention, and this device can be realized the hot drawing control to the PCIE slot.As shown in Figure 5, this device can comprise:
First receiver module 501 is used to receive the corresponding hot drawing request of at least one PCIE slot of outside input.
Usually, can send the corresponding hot drawing request of this PCIE slot through the alarm button that starts the PCIE slot by operating personnel.
Wherein, The address information that this PCIE slot has been carried in the pairing hot drawing request of each PCIE slot; Perhaps carried the sign of input and output expansion (IO expander) chip of this PCIE slot correspondence; Discern the pairing PCIE slot of each hot drawing request with this, this is to well known to a person skilled in the art general knowledge, and present embodiment does not describe in detail.
Power supply switch logic module 502 is used for the fixed power source that loads on the above-mentioned PCIE slot is switched to controllable electric power.
Unload module 503 is used for when satisfying the Preset Time value, then unloads the controllable electric power that loads on the above-mentioned PCIE slot.
Wherein, The duration of the controllable electric power that Unload module 503 specifically can load on above-mentioned PCIE slot satisfies under the situation of Preset Time value; The input and output extended chip that connects through this PCIE slot of I2C bus indication expands the hot drawing control signal; This hot drawing control signal is used to unload the controllable electric power that loads on this PCIE slot, and operating personnel can extract card from this PCIE slot like this, thereby realizes the hot drawing control to this PCIE slot.
Please consult Fig. 6 in the lump, Fig. 6 is the structural representation of the another kind of slot power control that provides in the embodiment of the invention.Slot power control shown in Figure 6 is that the basic enterprising one-step optimization at slot power control shown in Figure 5 obtains, and this device can be realized the hot drawing control to the PCIE slot.In device shown in Figure 6, power supply switch logic module 502 can comprise:
The first logical sub module 5021 is used to break off being connected of loaded circuit between the fixed power source that loads on above-mentioned PCIE slot and the above-mentioned PCIE slot.
The second logical sub module 5022; After loaded circuit between the fixed power source that is used on the first logical sub module 5021 is broken off above-mentioned PCIE slot and above-mentioned PCIE slot, loading is connected, being connected of the loaded circuit between the above-mentioned PCIE slot of conducting and the controllable electric power.
Please consult Fig. 7 in the lump, Fig. 7 is the structural representation of the another kind of slot power control that provides in the embodiment of the invention.Slot power control shown in Figure 7 is that the basic enterprising one-step optimization at slot power control shown in Figure 5 obtains, and this device can be realized the hot drawing control to the PCIE slot.In device shown in Figure 7, power supply switch logic module 502 can comprise:
The 3rd logical sub module 5023 is used for being connected of loaded circuit between the above-mentioned PCIE slot of conducting and the controllable electric power.
The 4th logical sub module 5024 is used at the above-mentioned PCIE slot of the 3rd logical sub module 5023 conductings with after loaded circuit between the controllable electric power is connected, and the loaded circuit that breaks off between the fixed power source that loads on above-mentioned PCIE slot and the above-mentioned PCIE slot is connected.
So just there is the two-way power supply to close the road and gives the PCIE slot power, can (can do the delay of a hundreds of millisecond) at short notice afterwards fixed power source is cut away, can guarantee that the power supply of above-mentioned PCIE slot steadily switches.
Preferably, in the embodiment of the invention, for the fixed power source that realizes loading on the PCIE slot and the steady switching between the controllable electric power, the fixed power source that loads on the PCIE slot can be identical with magnitude of voltage size between the controllable electric power.Like this, above-mentioned controllable electric power obtains after can further being handled through the Power Supply Hot Swap chip by above-mentioned fixed power source.
Above-mentioned the slot power control that provides in the embodiment of the invention has been carried out detailed introduction; If first receiver module 501 receives the corresponding hot drawing request of at least one PCIE slot of outside input in the embodiment of the invention; Then power supply switch logic module 502 switches to controllable electric power with the fixed power source that loads on this PCIE slot; And when satisfying the Preset Time value,, thereby realize hot drawing control to the PCIE slot by the controllable electric power that loads on Unload module 503 these PCIE slots of unloading.The embodiment of the invention can be controlled the hot drawing of PCIE slot, and need not to be Power Supply Hot Swap core of each PCIE slot configuration, has saved the quantity of Power Supply Hot Swap chip.
Embodiment four:
See also Fig. 8, Fig. 8 is the structural representation of the another kind of slot power control that provides in the embodiment of the invention, and this device can be realized the heat of PCIE slot is inserted control.As shown in Figure 8, this device can comprise:
Second receiver module 801 is used to receive the corresponding slotting request of heat of at least one PCIE slot of outside input.
Usually, can by operating personnel will block insert the PCIE slot after, send the corresponding heat of this PCIE slot through the alarm button that starts the PCIE slot and insert request.
Wherein, The address information that this PCIE slot has been carried in the request of inserting of the pairing heat of each PCIE slot; Perhaps carried the sign of input and output expansion (IO expander) chip of this PCIE slot correspondence; Discern each heat with this and insert the pairing PCIE slot of request, this is to well known to a person skilled in the art general knowledge, and present embodiment does not describe in detail.
Load-on module 802 is used for controllable electric power is loaded on said PCIE slot;
Wherein, Load-on module 802 specifically is used for after second receiver module 801 receives the corresponding slotting request of heat of outside at least one PCIE slot of importing; The input and output extended chip of indicating above-mentioned PCIE slot to connect through the I2C bus expands the slotting control signal of heat; This heat is inserted control signal and is used for controllable electric power is carried in this PCIE slot, thereby realizes the heat of this PCIE slot is inserted control.
Second source switch logic module 803 is used for when satisfying the Preset Time value, and the controllable electric power that then load-on module 802 is loaded on above-mentioned PCIE slot switches to fixed power source.
Please consult Fig. 9 in the lump, Fig. 9 is the structural representation of the another kind of slot power control that provides in the embodiment of the invention.Slot power control shown in Figure 9 is that the basic enterprising one-step optimization at slot power control shown in Figure 8 obtains, and this device can be realized the heat of PCIE slot is inserted control.In device shown in Figure 9, second source switch logic module 803 can comprise:
The 5th logical sub module 8031, the duration of the controllable electric power that is used for loading when above-mentioned PCIE slot is when satisfying the Preset Time value, breaks off being connected of loaded circuit between the controllable electric power that loads on above-mentioned PCIE slot and the above-mentioned PCIE slot;
The 6th logical sub module 8032 is used for being connected of loaded circuit between the above-mentioned PCIE slot of conducting and the fixed power source.
Please consult Figure 10 in the lump, Figure 10 is the structural representation of the another kind of slot power control that provides in the embodiment of the invention.Slot power control shown in Figure 10 is that the basic enterprising one-step optimization at slot power control shown in Figure 8 obtains, and this device can be realized the heat of PCIE slot is inserted control.In device shown in Figure 10, second source switch logic module 803 can comprise:
The 7th logical sub module 8033, the duration of the controllable electric power that is used for loading when above-mentioned PCIE slot is when satisfying the Preset Time value, being connected of the loaded circuit between the above-mentioned PCIE slot of conducting and the fixed power source;
The 8th logical sub module 8034; Be used for after being connected of loaded circuit between the above-mentioned PCIE slot of the 7th logical sub module 8033 conductings and fixed power source, break off being connected of loaded circuit between the controllable electric power that loads on above-mentioned PCIE slot and the above-mentioned PCIE slot again.So just there is the two-way power supply to close the road and gives the PCIE slot power, can (can do the delay of a hundreds of millisecond) at short notice afterwards controllable electric power is cut away, can guarantee that the power supply of PCIE slot steadily switches.
Preferably, in the embodiment of the invention, for the fixed power source that realizes loading on the PCIE slot and the steady switching between the controllable electric power, the fixed power source that loads on the PCIE slot can be identical with magnitude of voltage size between the controllable electric power.Like this, above-mentioned controllable electric power obtains after can further being handled through the Power Supply Hot Swap chip by above-mentioned fixed power source.
Above-mentioned the slot power control that provides in the embodiment of the invention has been carried out detailed introduction; In embodiments of the present invention; Corresponding heat is inserted request if second receiver module 801 receives at least one PCIE slot of outside input; Then load-on module 802 can be loaded on this PCIE slot with controllable electric power; And when satisfying the Preset Time value, the controllable electric power that loads on this PCIE slot is switched to fixed power source, thereby realize the heat of PCIE slot is inserted control by second source switch logic module 803.The embodiment of the invention can inject row control to the heat of PCIE slot, and need not to be Power Supply Hot Swap core of each PCIE slot configuration, has saved the quantity of Power Supply Hot Swap chip.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be accomplished through the relevant hardware of programmed instruction; Aforesaid program can be stored in the computer read/write memory medium; This program the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: ROM (read-only memory) (Read-Only Memory, ROM), RAS (Random Access Memory, RAM), various media that can be program code stored such as magnetic disc or CD.
More than a kind of slot power control method and device that the embodiment of the invention provided have been carried out detailed introduction; Used concrete example among this paper principle of the present invention and embodiment are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that on embodiment and range of application, all can change, to sum up, this description should not be construed as limitation of the present invention.