Embodiment
Below detailed features of the present invention and advantage is described in embodiments in detail, its content is enough to make any person skilled in the art understand technology contents of the present invention and implement according to this, and according to the content disclosed by this instructions, claim and graphic, any person skilled in the art can understand the object and advantage that the present invention is correlated with easily.Following embodiment further describes viewpoint of the present invention, but non-to limit category of the present invention anyways.
Refer to Fig. 1, Fig. 1 is the functional block diagram of the start check system depicted according to an embodiment.As shown in Figure 1, check system 1 of starting shooting has at least one connectivity port 10, setting value checking module 12 and voltage control module 14.In practice, connectivity port 10, setting value checking module 12 can be arranged on common mainboard with voltage control module 14, and check system 1 of starting shooting can be applied on the arithmetic units such as computing machine, workstation, server, and the present invention is not limited at this.
Connectivity port 10 is in order to connect add-on card 2.In practice, connectivity port 10 can be a kind of add-on card slot be arranged on motherboard, or a kind of universal input out splice going splice.Add-on card 2 can be perpendicular card (riser card), storage facilities card (storage card) or other be suitable for being plugged on the device of mainboard.For example, start check system 1 of the present invention can have multiple connectivity port 10, and each connectivity port 10 all can be arranged on mainboard, and can in order to the different add-on card 2 of grafting.At this, the present invention does not limit kind or the specification of add-on card 2, as long as mainboard can drive add-on card 2 with via connectivity port 10, all should belong to the category of add-on card 2 of the present invention.
Setting value checking module 12 couples connectivity port 10, in order to check at least one setting value of add-on card 2, produces check result signal according to this.In practice, setting value checking module 12 can be a kind of high-order processing module, in order to judge the kenel (type) of add-on card 2, version (revision) and other relevant informations, learn the impact of setting value for system boot of add-on card 2 according to this.For example, setting value checking module 12 can note down add-on card setting value and importance degree thereof by look-up table (lookup table), thus can judge the interact relation of setting value and system boot, and produces check result signal according to this.When the setting value of add-on card 2 is different from predefined numerical value in setting value checking module 12, and influence degree is higher, then check result signal should indicate and can not start shooting, or should start shooting with accessory power supply.
Voltage control module 14 couples setting value checking module 12, according to check result signal, optionally perform multiple boot program one of them.In practice, mainboard may be connected with multiple add-on card 2, different add-on card 2 is likely different for the disturbance degree of system boot, therefore needs the selection of multiple boot program, and it is more convenient to make in operation.For example, partial circumscription card 2 is comparatively large for the impact of system, if kenel is different from predefined numerical value in setting value checking module 12 with version, then system must be made to start shooting and avoid fault or damage.In addition, even if be through being judged as affecting less add-on card 2, even if can subsequent power be opened, also needing to divide into and be only opened into accessory power supply (AUX power) and maybe can open primary power (main power).Its reason is, whether the power supply that the setting relevant to add-on card 2 can affect some main process chip on mainboard is unlocked in the lump.
In an example, voltage control module 14 in order to by described check result signal fusing start setting value condition table, and judge according to this not perform boot program or perform described multiple boot program one of them.In this embodiment, start setting value condition table has the corresponding relation of check result signal and boot program, and voltage control module 14 can judge the instruction of check result signal, and is controlled by setting value checking module 12 to select suitable boot program.
For example, the stage of system boot can be subdivided into AUX startup (power startup) stage, idle (Idle) stage, primary power startup (Main power startup) stage, normal operation (Runtime) stage.Often open add-on card different for the disturbance degree of system boot, partial circumscription card is comparatively large for the impact of system, if kenel is different from predefined numerical value in setting value checking module 12 with version, then it must be made to start shooting.Even if can subsequent power be opened, also need to divide into the unloading phase of being only opened into AUX or primary power unloading phase because whether the power supply that related setting can affect some main process chip on mainboard is unlocked.Such as, some card there is no impact for the unlatching of system primary power, and only need the part of relevant add-on card being powered, control voltage control module 14 does not temporarily export conversion electric power, makes the supply of add-on card non-transformer.
In other words, when setting value checking module 12 judges that the kenel of add-on card 2 is not identical with the numerical value in start setting value condition table with version, and add-on card 2 is comparatively large on the impact of system, then control voltage control module 14 is to select not perform boot program.In addition, when setting value checking module 12 judges that the kenel of add-on card 2 is not identical with the numerical value in start setting value condition table with version, but the impact of add-on card 2 on system is less, then control voltage control module 14 is to select the boot program normally utilizing primary power, uses and system is opened into idle (Idle) stage or normal operation (Runtime) stage.Or be that the check result of setting value checking module 12 finds that important add-on card 2 does not connect, certain setting value checking module 12 control voltage control module 14 can perform shutdown programm.Accordingly, setting value checking module 12 can reach change for system open stage by control voltage control module 14.
In an embodiment, start check system 1 has more alarm module 16, and alarm module 16 couples setting value checking module 12.At this, the check result signal that alarm module 16 can produce according to setting value checking module 12, optionally provides warning.For example, when setting value checking module 12 checks out that important add-on card 2 does not connect, then alarm module 16 can be driven to send suitable warning, connect described add-on card 2 to remind user.Alarm module 16 can be the equipment of LED or other energy luminescences, and certainly have the equipment usually knowing that the knowledgeable more can select hummer or can sound in art, the present invention is not limited at this.For example, through programmable logic module, signal is sent to more high-rise processing unit (as PCH or BMC) by setting value checking module 12, notify that add-on card is wrongly installed, output signal is to alarm module 16 simultaneously, by the setting value mistake (Config Error) of cresset display add-on card, to be changed connect correct add-on card after, restart corresponding voltage control module 14 and power.
In practice, connectivity port 10, setting value checking module 12 can be arranged on common mainboard with voltage control module 14, and check system 1 of starting shooting can be applied on the arithmetic units such as computing machine, workstation, server, and the present invention is not limited at this.
In order to be described in more detail the setting value checking module in start check system, refer to Fig. 2, Fig. 2 is the functional block diagram of the start check system depicted according to another embodiment.The embodiment corresponding with Fig. 1 is identical, and the connectivity port 30 in start check system, voltage control module 34 and alarm module 36, the present embodiment does not repeat them here.The embodiment corresponding with Fig. 1 unlike, setting value checking module 32 in start check system, as shown in Figure 2, setting value checking module 32 has kenel detecting unit 320, version detecting unit 322, setting value inspection unit 324, kenel inspection unit 326, version checking unit 328 and check result generation unit 330.
Kenel detecting unit 320 and version detecting unit 322 couple connectivity port 30 respectively, and kenel detecting unit 320 is in order to detect the kenel of add-on card 4, and version detecting unit 322 is in order to detect the version of add-on card 4.That is, kenel detecting unit 320 can record the kenel setting value of add-on card 4, and version detecting unit 322 can record the version setting value of add-on card 4.Then, kenel setting value and version setting value are supplied to setting value inspection unit 324, kenel inspection unit 326 and version checking unit 328 by kenel detecting unit 320 and version detecting unit 322 respectively.
Setting value inspection unit 324 couples kenel detecting unit 320 and version detecting unit 322 respectively, according to kenel setting value and the version setting value of add-on card 4, to produce setting value comparison result signal.In practice, whether the kenel setting value of setting value inspection unit 324 difference comparison add-on card 4 is identical with default kenel setting value, produce the first comparison result signal according to this, and whether the version setting value of comparison add-on card 4 is identical with default version setting value, produces the second comparison result signal according to this.Then, setting value inspection unit 324 according to the first comparison result signal and the second comparison result signal, to produce setting value comparison result signal.
In other words, whether kenel, the version of the first preliminary judgement add-on card 4 of setting value inspection unit 324 meeting are preset value (or normal value), if meet preset value, just can notify that check result generation unit 330 is directly started shooting with driving voltage control module 34.On the other hand, if do not meet preset value, then can notify that alarm module 36 sends warning, and notify that check result generation unit 330 judges to want driving voltage control module 34 perform which boot program or perform shutdown programm.
At this, except can by setting value inspection unit 324 learn the kenel setting value of add-on card 4, version setting value whether with default kenel setting value, preset version setting value identical except, whether influential system is started shooting more can to judge the kenel of add-on card 4 and version setting value by kenel inspection unit 326 and version checking unit 328.Thus check result generation unit 330 can according to kenel inspection unit 326 judged result with version checking unit 328, and setting value comparison result signal is to produce check result signal.
The start inspection method that the present invention that below arranges in pairs or groups proposes, does more detailed description.Please also refer to Fig. 1 and Fig. 3, Fig. 3 is the process flow diagram of the start inspection method depicted according to an embodiment.As shown in the figure, in step S500, setting value checking module 12 inspection is coupled at least one setting value of the add-on card 2 on connectivity port 10, produces check result signal according to this.In step S502, voltage control module 14 can according to check result signal, optionally perform multiple boot program one of them.Certainly, in order to user can be reminded to plug or change add-on card 2, in step S504, the check result signal that can be produced according to setting value checking module 12 by alarm module 16, optionally provides warning.
In addition, according to an alternative embodiment of the invention, please also refer to Fig. 2 and Fig. 4, Fig. 4 is the process flow diagram of the start inspection method depicted according to another embodiment.As shown in the figure, in step S600, first want start up system, then in step S602, capture kenel setting value and the version setting value of add-on card 4 respectively by kenel detecting unit 320 and version detecting unit 322.In step S604, setting value inspection unit 324 judges the kenel of add-on card 4, version whether as preset value (or normal value) by kenel setting value and version setting value.If meet preset value, enter step S606, directly carry out general boot program by check result generation unit 330 driving voltage control module 34, make system complete start.
But if when the kenel of add-on card 4, version do not meet preset value (or normal value), in step S608, kenel inspection unit 326 and version checking unit 328 judge the kenel of add-on card 4 and version setting value whether influential system are started shooting.Then, in step S610, check result generation unit 330 can according to kenel inspection unit 326 judged result with version checking unit 328, and setting value comparison result signal is with decision systems open stage.In step S612, voltage control module 34 can according to the result of check result generation unit 330 decision systems open stage, the setting that completion system installation's power source is opened.
Then, in step S614, check result generation unit 330 judges whether system can be opened into normal operating phase, if can be opened into normal operating phase, then get back to step S606, system completes start.If normal operating phase cannot be opened into, then judge that can system stop to the idle stage further in step S616.At this, if system can stop to the idle stage, then enter the idle stage in step S618, and according to step S620, provide corresponding warning by alarm module 36 according to system power supply open stage.On the other hand, if system cannot stop to the idle stage, then step S622 is carried out, by system closedown.
In sum, start check system of the present invention and method, can according to the setting value of add-on card, corresponding one of them of multiple boot program of driving, be different from tradition when detecting add-on card and making a mistake, can only select to stop start, the technology that the present invention discloses will make system boot have more elasticity.