Summary of the invention
Therefore the object of the present invention is to provide a kind of single-key multiple-power-switch control structure and method thereof, in order to the spatial configuration of the guidance panel of the server system that reduces the many motherboards of unit shell.
One embodiment of the invention provide a kind of single-key multiple-power-switch control structure, be applied in the server system, wherein server system comprises a server shell and is arranged at wherein a plurality of motherboards, single-key multiple-power-switch control structure comprises a microprocessor, a panel button, a plurality of light-emitting component, and a plurality of on-off element.Wherein panel button is to be arranged on the guidance panel of server system, and links to each other with microprocessor.Light-emitting component is to link to each other with microprocessor.On-off element is for connecting microprocessor and motherboard one to one.Light-emitting component can be dichromatic LED.Wherein also include a plurality of selector switch, link to each other, by connecting one of selector switch to differentiate the quantity of motherboard with microprocessor.
Another embodiment of the present invention provides the method for a kind of single-key multiple-power-switch control, is applied in the server system, and wherein server system comprises server shell and is arranged at wherein a plurality of motherboards.The method comprises presses panel button, to enter preference pattern, light-emitting component on the guidance panel can glimmer at this moment, each light-emitting component is for corresponding respectively to motherboard, then, press panel button once more, between light-emitting component, to switch, wherein current selecteed light-emitting component does not glimmer, remaining light-emitting component flicker.When switching to selected light-emitting component, continue to pin first schedule time of panel button, to enter control model, this moment, remaining light-emitting component all extinguished.Then, press panel button to open or to close the motherboard of selected light-emitting component correspondence.When also being included in one second schedule time all attonity in this method, jump out control model.Wherein also comprise the system state that server system is provided, and when opening or closing the motherboard of selected light-emitting component correspondence, switch the cresset of selected light-emitting component.
Single-key multiple-power-switch control structure provided by the present invention can be applicable among the server system of the many motherboards of unit shell, sees through the open and close of operating single panel button and controlling a plurality of motherboards, to save the spatial configuration of guidance panel.This single-key multiple-power-switch control structure more can see through and connect different selector switch, the server system of the different motherboard quantity of arranging in pairs or groups.
Description of drawings
For above and other objects of the present invention, feature, advantage and embodiment can be become apparent, being described in detail as follows of appended accompanying drawing:
Fig. 1 is the circuit diagram that illustrates server system one embodiment of single-key multiple-power-switch control structure of the present invention;
Fig. 2 is the synoptic diagram that illustrates an embodiment of the server system that uses single-key multiple-power-switch control structure of the present invention;
Fig. 3 is the process flow diagram that illustrates single-key multiple-power-switch control method one embodiment of the present invention;
Fig. 4 is the circuit diagram that illustrates another embodiment of the server system that uses single-key multiple-power-switch control structure of the present invention.
[main element symbol description]
110: panel button
120: microprocessor
130: light-emitting component
140: on-off element
150,150a, 150b, 150c: change-over switch
210: server shell
220: motherboard
230: guidance panel
240: light-emitting component
250: panel button
260: microprocessor
310~360: step
Embodiment
Below will clearly demonstrate spirit of the present invention with accompanying drawing and detailed description, have in the technical field under any and know that usually the knowledgeable is after understanding preferred embodiment of the present invention, when can be by the technology of teachings of the present invention, change and modification, it does not break away from spirit of the present invention and scope.
With reference to Fig. 1, it is the circuit diagram that illustrates server system one embodiment of single-key multiple-power-switch control structure of the present invention.Single-key multiple-power-switch control structure includes a panel button 110, a microprocessor 120, a plurality of light-emitting component 130, and a plurality of on-off element 140.Wherein panel button 110 is for to be arranged on the guidance panel of server shell, and links to each other with microprocessor 120.Light-emitting component 130 is also for to be arranged on the guidance panel of server shell, and links to each other with microprocessor 120.On-off element 140 is for connecting microprocessor 120 and individual other server host board (not illustrating among the figure) respectively.
Wherein, light-emitting component 130 can be dichromatic LED, and it can be used as the system state demonstration, understands the current state of server system to operate to make things convenient for the user.On-off element 140 is for being connected to the individual host plate, with the power switch as the main control system plate.The user only need see through predetermined operations pattern guidance panel button 110, can see through the power switch of a plurality of motherboards of single panel button 110 controls.
With reference to Fig. 2, it is the synoptic diagram that illustrates an embodiment of the server system that uses single-key multiple-power-switch control structure of the present invention.Be provided with a plurality of motherboards 220 in the server shell 210, wherein each motherboard 220 can be used as independently server running.Server shell 210 has guidance panel 230, and wherein light-emitting component 240 and panel button 250 be for being arranged on the guidance panel 230, and link to each other with microprocessor 260.Microprocessor 260 in the present embodiment is on the setting operation panel 230, in other embodiments, microprocessor 260 also can be arranged on one of them motherboard 220, as long as on-off element (not illustrating among the figure) can connect microprocessor 260 and other motherboard 220.
With reference to Fig. 3, it is the process flow diagram that illustrates single-key multiple-power-switch control method one embodiment of the present invention.Step 310 is for providing the system state of server system, and wherein system state shows for seeing through light-emitting component.For example, light-emitting component can be the dichromatic LED of red green two color, and each light emitting diode is one by one corresponding to a plurality of motherboards in the server shell.Wherein, have the motherboard of energising running green for showing, the motherboard of energising running is not red for showing.
Then, step 320 is for pressing panel button, and to enter preference pattern, at this moment, all light-emitting components can glimmer together, successfully enters preference pattern with expression.Then, step 330 is for selecting one of them light-emitting component, and at this moment, except that the light-emitting component of present selection, remaining light-emitting component glimmers together.For example, in the system of four motherboards, after pressing panel button once more, first light-emitting component attitude of remaining stationary of not glimmering, remaining light-emitting component glimmers together, again by a panel button, skip to second motherboard this moment as the object of selecting, second light-emitting component attitude of remaining stationary of not glimmering, remaining light-emitting component glimmers together, and remaining step is by that analogy.With the light-emitting component of understanding current selection and corresponding motherboard why, the user can find one that does not glimmer in a plurality of light-emitting components.
Then, if jumped to light-emitting component corresponding to the motherboard of pre-selected, then step 340 is for entering the light-emitting component of this selection, be included in when jumping to selected light-emitting component, pin one first schedule time of panel button constantly, to enter control model, at this moment, except that the light-emitting component meeting of selecteed motherboard correspondence was luminous, remaining light-emitting component all can extinguish.
Then, selected motherboard is opened or closed to step 350 for seeing through panel button.For example, if selected motherboard is an open state, then Dui Ying light-emitting component after the user presses panel button once more, can be closed selected motherboard for giving a green light, and the light-emitting component of correspondence is switched to red light.Relatively, if selected motherboard is an off-mode, then Dui Ying light-emitting component after the user presses panel button once more, can be opened selecteed motherboard for sending out a warning, and the light-emitting component of correspondence is switched to green light.
After end of operation, step 360 is for jumping out control model, comprise and waited for for one second schedule time, and in second schedule time, do not have and carry out any operation, then can jump out control model, the system state that provides of step 310 is provided, and wherein the pairing light-emitting component of motherboard in the running is for giving a green light, and the pairing light-emitting component of Yun Zuo motherboard is not for sending out a warning.
With reference to Fig. 4, it is the circuit diagram that illustrates another embodiment of the server system that uses single-key multiple-power-switch control structure of the present invention.Owing to may include two motherboards, four motherboards, eight motherboards or the combination of the motherboard of other quantity in the server of many motherboards, in order to finish the product turnout requirement of different size in real time, also include a plurality of selector switch 150 in the present embodiment, to represent the server combination of varying number respectively.For example, when selecting switch 150a to be switched on, represent the framework of the server system of this moment for two motherboards, when if selector switch 150b is switched on, then expression server system at this moment is the framework of four motherboards, if selector switch 150c is switched on, then representing the server system of this moment is the framework of eight motherboards.
Single-key multiple-power-switch control structure provided by the present invention can be applicable among the server system of the many motherboards of unit shell, sees through the open and close of operating single panel button and controlling a plurality of motherboards, to save the spatial configuration of guidance panel.This single-key multiple-power-switch control structure also can see through and connect different selector switch, the server system of the different motherboard quantity of arranging in pairs or groups.
Though the present invention discloses as above with a preferred embodiment; right its is not in order to limit the present invention; any personnel that are familiar with this technology; without departing from the spirit and scope of the present invention; when can doing a little change and retouching, so protection scope of the present invention is as the criterion when looking the scope that claims define.