The update system of the basic input/output of server and method thereof
Technical field
The present invention relates to a kind of update system and method for basic input/output of server, particularly a kind of System and method for that utilizes remote computer to the basic input/output renewal of local side server.
Background technology
Basic input/output (Basic Input/Output System, be called for short BIOS) and self-check program when being program, system's configuration information, the start in order to the basic I/O of control counter (power onself-test, POST) and system start-up program (boot).Therefore the execution usefulness of motherboard is the quality that depends on BIOS.Therefore many manufacturers are in order to keep the execution usefulness of motherboard, and the new BIOS of the exploitation that manufacturer still can continue upgrades motherboard for the user, to improve the execution usefulness of motherboard.
Generally, need in the counter start process, can carry out at the BIOS that upgrades motherboard.If the system start-up program area block among the BIOS (boot block) is damaged, counter can't be started shooting, and at this moment must BIOS be upgraded, just the BIOS chip need be disassembled from motherboard, and the BIOS chip is welded on the motherboard, therefore must send motherboard back to Yuan Chang and reprocess.For the user, not only time of waiting for of waste is also caused the puzzlement of user on working simultaneously.
In disclosed Chinese patent " a kind of system and method for BIOS refreshing and upgrading " (application number 200610058031.8), disclosed and a kind ofly refreshed the system and method for BIOS, in described system, included Long-distance Control server end and terminal computer by network.Long-distance Control server end and terminal computer all comprise IPMI, BMC, and externally NIC among the IPMI of terminal computer, comprises that BIOS upgrades control module, is used to read and refreshes zone bit, and determine whether to read the BIOS updating file and carry out BIOS renewal upgrading; Described terminal computer also comprises the upgrade file memory module, is used to store BIOS and upgrades upgrade file, and refresh zone bit and be set to need to upgrade the BIOS file, and upgrade control module by BIOS and upgrade at BIOS and described zone bit is removed after finishing; The Long-distance Control server end also comprises the BIOS document transmission module, is used to obtain and BIOS is upgraded upgrade file send to terminal computer by network.
Simple, terminal computer can refresh the state of zone bit earlier at every turn in 200610058031.8 cases after obtaining new upgrade file.Then, terminal computer can be reopened the action of machine.Can the checkmark position in the process of start loading BIOS.When finding that zone bit is modified, upgrade the action of BIOS.In 200610058031.8 cases, though the reception of BIOS refreshing file is by network, BIOS refreshes still and need finish in the process of start.So, still can not solve the problem that in a single day the system start-up program area block of BIOS is damaged, still need to send motherboard back to Yuan Chang and reprocess, waste time and energy.
Summary of the invention
In view of above problem, fundamental purpose of the present invention is to provide a kind of update system of basic input/output of server, is upgraded by the basic input/output of transmitting terminal to receiving end by network.Wherein receiving end is except restarting the more new element that just can carry out basic input/output in real time.And receiving end can carry out basic input/output to receiving end and upgrade under open state not.
For achieving the above object, the update system of the basic input/output of the disclosed a kind of server of the present invention, update system include transmitting terminal and receiving end.
Transmitting terminal is in order to send the basic input/output lastest imformation; Receiving end receives the lastest imformation of the basic input/output that comes from transmitting terminal; In receiving end, also include: network interface unit (NIC, Network Interface Card), (the Input/Output Controller Hub of I/O control center, ICH), baseboard management controller (BMC, Baseboard Management Controller); Network interface unit is electrically connected at baseboard management controller, and baseboard management controller receives the lastest imformation of basic input/output by network interface unit; I/O control center is connected the main line end of low pin figure place bus; Basic input/output electrically connects by low pin figure place bus and I/O control center, and is connected a terminal of low pin figure place bus; Baseboard management controller electrically electrically connects by low pin figure place bus and I/O control center, and be connected another terminal of low pin figure place bus, baseboard management controller is carried out the following step after receiving the lastest imformation of this basic input/output: cut off being connected of I/O control center and low pin figure place bus; The operating mode of baseboard management controller is set at master mode; By baseboard management controller to substantially/input-output system carries out refresh routine; After finishing the refresh routine of basic input/output, closed I/O control center is connected with low pin figure place bus; The operating mode of I/O control center is set at master mode.
From another viewpoint of the present invention, the present invention proposes a kind of update method of basic input/output of server, is upgraded by the basic input/output of transmitting terminal to receiving end.
For achieving the above object, the update method of the basic input/output of the disclosed a kind of server of the present invention may further comprise the steps: send the lastest imformation of basic input/output to receiving end by transmitting terminal by network; The baseboard management controller of receiving end receives the lastest imformation of basic input/output by network interface unit; Make baseboard management controller cut off being connected of I/O control center and low pin figure place bus; Make baseboard management controller that the operating mode of himself is set at master mode; By baseboard management controller the basic input/output of receiving end is carried out refresh routine; Behind the refresh routine of the basic input/output of finishing receiving end, closed I/O control center is connected with low pin figure place bus; Again the operating mode with I/O control center is set at master mode.
The invention provides a kind of System and method for of basic input/output of update service device, can send the lastest imformation of basic input/output to receiving end by transmitting terminal by the present invention.The receiving end server is after the lastest imformation of the basic input/output that the foundation transmitting terminal is transmitted, and the baseboard management controller in the receiving end server can be with to I/O control center and the cut-out that is connected low pin figure place bus.And the basic input/output of receiving end is upgraded processing by baseboard management controller.So, except the cost that can reduce maintenance, its technological means can also be applied to the purpose that network upgrades basic input/output.
Describe the present invention below in conjunction with the drawings and specific embodiments, but not as a limitation of the invention.
Description of drawings
Fig. 1 is a system architecture synoptic diagram of the present invention;
Fig. 2 is the operation workflow synoptic diagram of the present invention under open state;
Fig. 3 is the operation workflow synoptic diagram of the present invention under off-mode.
Wherein, Reference numeral
110 transmitting terminals
120 receiving ends
121 network interface unit
122 I/O control centers
123 baseboard management controllers
125 basic input/outputs
126 control circuits
Embodiment
Below in conjunction with accompanying drawing structural principle of the present invention and principle of work are done concrete description:
Please refer to shown in Figure 1ly, it is a system schematic of the present invention.In update system of the present invention, include transmitting terminal 110 and receiving end 120.Wherein, in the present invention only with a receiving end 120 as an illustration, but those skilled in the art can be applied in a plurality of receiving ends 120 according to technological means of the present invention.In receiving end 120, also include: network interface unit 121, I/O control center 122, baseboard management controller 123, basic input/output 125 and control circuit 126.Network interface unit 121 is connected with transmitting terminal 110 by network, and is electrically connected at baseboard management controller 123.I/O control center 122 is by low pin number bus (Low Pin Count, be called for short LPC) electrically connect with baseboard management controller 123, basic input/output 125 respectively, and I/O control center 122 is connected the main line end of low pin number bus, and baseboard management controller 123, basic input/output 125 are connected to the Zhi Luduan of low pin number bus.On the main line of low pin number bus, be connected with control circuit 126, this control circuit is controlled by baseboard management controller, to disconnect and being connected of closed I/O control center 122 and low pin number bus.
The operation of update system of the present invention can be divided into renewal and two parts of the renewal under the off-mode under the open state.No matter receiving end 120 is to be under the open state, or under the off-mode, upgrade basic input/output 125, must guarantee its power supply supply.Therefore, receiving end 120 of the present invention comprises power-supply unit (not icon), supplies two kinds of voltages to each parts of receiving end 120 at least: operating voltage and standby voltage.In existing server, the major function of bearing because of baseboard management controller 123 and network interface unit 121 is to be used for the monitoring server system, therefore power-supply unit is all the time to baseboard management controller 123 and network interface unit 121 supply standby voltages, in this, the present invention and prior art and indifference.And being in power supply supply under the open state when receiving end 120, the power supply supply of the present invention and existing server also is as good as, and also repeats no more at this.Yet, when receiving end 120 is in off-mode, existing server power supply feeding unit does not provide system voltage, and only at baseboard management controller 123 be connected in baseboard management controller 123 standby voltage is provided, but in the present invention, in order to realize under the off-mode renewal to basic input/output 125, power-supply unit needs provide standby voltage at basic input/output 125 simultaneously.
For the operation that clear interpretation open state of the present invention upgrades down, please shown in Figure 2 in conjunction with Fig. 1 and reference.When receiving end 120 of the present invention is in the start running, it is as follows that receiving end 120 is carried out basic input/output 125 updating steps: at first, send the basic input/output lastest imformation to receiving end 120 (step S210) by transmitting terminal 110 by network.Baseboard management controller 123 in the receiving end 120 receives basic input/output lastest imformation (step S220) by network interface unit 121.Because of under the hardware structure of low pin number bus, only allow the device of a master mode to exist, the device of a master mode connects the device of a plurality of attached patterns thus again.And in the present invention, please refer to Fig. 1, I/O control center 122 is as the master mode device, and is attached mode device with baseboard management controller 123, basic input/output 125.At this moment, under low pin number bus architecture, I/O control center 122 is in the master control status to baseboard management controller 123 and basic input/output 125.Make baseboard management controller in the receiving end 123 cut off be connected (the step S230) of I/O control centers 122 and low pin number bus, promptly cut off the communication of I/O control center 122 and baseboard management controller 123 and basic input/output 125.Preferably, baseboard management controller cuts off being connected of I/O control centers 122 and low pin number bus by a control circuit 126.Then, baseboard management controller 123 is set at master mode (step S240) with the operating mode of self, and the operating mode of basic input/output is set at attached pattern (step S250).Baseboard management controller 123 is carried out refresh routine (step S260) by low pin number bus to basic input/output 125.After finishing basic input/output 125 refresh routines, be connected (the step S270) of the closed I/O of baseboard management controller 123 control center 122 and low pin number bus, the communication that promptly recovers I/O control center 122 and baseboard management controller 123 and basic input/output 125.Preferably, baseboard management controller being connected by the closed I/O of control circuit 126 control center 122 and low pin number bus.At last, again the operating mode of I/O control center 122 is set at master mode (step S280).Preferably, comprise that also the operating mode with baseboard management controller 123 is set at attached pattern.
The present invention can upgrade basic input/output under the operating state of receiving end start except above-mentioned, and the present invention can also upgrade basic input/output by supply standby voltage under the situation of receiving end shutdown in addition.Please refer to shown in Figure 3ly, it is in operation workflow synoptic diagram under the off-mode for the present invention at receiving end.In this enforcement aspect, may further comprise the steps:
Receiving end 120 is under the off-mode, and power-supply unit provides standby voltage (step S310) to basic input/output 125, baseboard management controller 123, the network interface unit 121 of receiving end 120 at least.Send the basic input/output lastest imformation to receiving end (step S320) by transmitting terminal 110 by network.Baseboard management controller 123 in the receiving end 120 receives basic input/output lastest imformation (step S330) by network interface unit 121.Make baseboard management controller in the receiving end 120 123 cut off be connected (the step S340) of I/O control centers 122 and low pin number bus.Preferably, baseboard management controller 123 cuts off being connected of I/O control centers 122 and low pin number bus by control circuit 126.The operating mode of the baseboard management controller 123 of receiving end 120 is set at master mode (step S350).The operating mode of basic input/output 125 is set at attached pattern (step S360).123 pairs of basic input/outputs of baseboard management controller 125 by receiving end 120 carry out refresh routine (step S370).Behind basic input/output 125 refresh routines of finishing receiving end 120, make be connected (the step S380) of the closed I/O of baseboard management controller 123 control center 122 and low pin number bus.Preferably, baseboard management controller 123 being connected by the closed I/O of control circuit 126 control center 122 and low pin number bus.At last, make the operating mode of Input/Output Control Center 122 be set at master mode (step S390).Preferably, comprise that also the operating mode with baseboard management controller 123 is set at attached pattern.
The invention provides a kind of update system and method for upgrading the basic input/output of motherboard, can send the lastest imformation of basic input/output to receiving end 120 by transmitting terminal 110 by the present invention.Receiving end 120 is after the lastest imformation of the basic input/output that foundation transmitting terminal 110 is transmitted, and baseboard management controller 123 meetings in the receiving end 120 will be to the be connected cut-out of I/O control center 122 with low pin number bus.And carry out basic input/output 125 to receiving end 120 by baseboard management controller 123 and upgrade and handle.So, receiving end can directly carry out the more new element of basic input/output under the situation that need not restart.And receiving end 120 can carry out the renewal of basic input/output 125 under off-mode.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection domain of the appended claim of the present invention.