A kind of more mainboard starting-up methods and system based on EC plateletsTechnical field
The present invention relates to electronic technology field, more specifically to a kind of more mainboard starting-up methods based on EC plateletsAnd system.
Background technology
In some servers, often there is the collaborative work of polylith mainboard, in switching on and shutting down design, for the sake of convenient, often onlyIt is one switching on and shutting down button of design, due to compressing time length, the reason such as power supply power supply, causes some mainboards not openedMachine, and on & off switch is now pressed again, the mainboard that can cause to be already powered on the contrary shuts down, therefore must power off, then turns back on, time-consuming to takePower, frequent abnormal shutdown, also easy injury device power supply.
The content of the invention
The present invention proposes a kind of more mainboard starting-up methods and system based on EC platelets, and each mainboard is started shooting and to EC successivelyPlatelet feedback start result, EC platelets adjust in time.
Therefore, the present invention proposes following technical scheme:
In a first aspect, a kind of more mainboard starting-up methods based on EC platelets, including:
EC platelets send starting-up signal to each mainboard successively;
Corresponding mainboard receives and responds the starting-up signal, feeds back start shape to the EC platelets according to the result of responseState signal;
EC platelets are made a response according to the open state signal.
Wherein, the EC platelets are made a response according to the open state signal, including:
If the open state signal is first state signal, mainboard boot failure corresponding to the judgement of EC platelets, sendAlarm, and send starting-up signal to the mainboard again after preset time;
If the open state signal is the second status signal, EC platelets judge that the mainboard is started shooting successfully.
Wherein, before the EC platelets send starting-up signal to each mainboard successively, in addition to:EC platelets detect power supplySwitch closure.
Wherein, the EC platelets include two GPIO interfaces, and each mainboard includes start pin pin and lead-out terminal, oneGPIO interface is connected by wire with the start pin pin of each mainboard, and start letter is sent to each mainboard successively for EC plateletsNumber, another GPIO interface is connected by wire with lead-out terminal, and the open state of each mainboard feedback is received for EC plateletsSignal.
Wherein, the first state signal is low level signal, and second status signal is high level signal, described pre-If the time is 30s.
Second aspect, a kind of more mainboard boot systems based on EC platelets, including EC platelets and multiple mainboards, the EC are smallPlate is connected with each mainboard respectively, for sending starting-up signal to each mainboard successively, and fed back respectively according to each mainboardOpen state signal is made a response;Corresponding mainboard receives and responds the starting-up signal, according to the result of response to the ECPlatelet feeds back open state signal.
Wherein, if the open state signal is first state signal, mainboard boot failure corresponding to the judgement of EC platelets,Alarm is sent, and starting-up signal is sent to the mainboard again after preset time;If the open state signal is secondStatus signal, then EC platelets judge that the mainboard is started shooting successfully.
Wherein, detect whether power switch closes before the EC platelets send starting-up signal to each mainboard successively.
Wherein, the EC platelets include two GPIO interfaces, and each mainboard includes start pin pin and lead-out terminal, oneGPIO interface is connected by wire with the start pin pin of each mainboard, and start letter is sent to each mainboard successively for EC plateletsNumber, another GPIO interface is connected by wire with lead-out terminal, and the open state of each mainboard feedback is received for EC plateletsSignal.
Wherein, the first state signal is low level signal, and second status signal is high level signal, described pre-If the time is 30s.
The present invention provides a kind of more mainboard starting-up methods and system based on EC platelets, by EC platelets one by one successively to eachIndividual mainboard, which sends starting-up signal, makes each mainboard start shooting successively, the damage that can be reduced to power supply of being started shooting simultaneously relative to multiple mainboardsEvil, each mainboard feed back the result of start to EC platelets, EC platelets is judged whether start is successful and adjusts in time, noManpower is needed to interfere.
Brief description of the drawings
Fig. 1 is a kind of method flow diagram for more mainboard starting-up methods based on EC platelets that the embodiment of the present invention one provides.
Fig. 2 is a kind of a kind of preferred embodiment for more mainboard boot systems based on EC platelets that the embodiment of the present invention two providesFrame assumption diagram.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and ExamplesThe present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, andIt is not used in the restriction present invention.
Embodiment one
As shown in figure 1, a kind of more mainboard starting-up methods based on EC platelets, comprise the following steps:
S101, EC platelet send starting-up signal to each mainboard successively.
S102, corresponding mainboard receive and respond the starting-up signal, are fed back according to the result of response to the EC plateletsOpen state signal.
S103, EC platelet are made a response according to the open state signal.
A kind of EC (Embedded Controller, embedded controller) CPU of specific use, specified solely for performingVertical control function and the control system with complex process data capability, it controls electronics by the microelectric technique chip being embedded inDevice, so that the device such as can complete to monitor, control at the various automatic business processing tasks.
The present invention sends starting-up signal to multiple mainboards one by one, in turn using EC platelets, controls the start of multiple mainboards,Mainboard starts to start shooting after receiving starting-up signal, or starts shooting successfully or boot failure, and start result passes through open state signal tableReach, and start result is fed back into EC platelets, EC platelets are once acted according to the start result of mainboard.
Preferably, EC platelets include two GPIO interfaces, and each mainboard includes start pin pin and lead-out terminal, oneGPIO interface is connected by wire with the start pin pin of each mainboard, and start letter is sent to each mainboard successively for EC plateletsNumber, another GPIO interface is connected by wire with lead-out terminal, and the open state of each mainboard feedback is received for EC plateletsSignal.
Open state signal includes first state signal and the second status signal.Preferably, the first state signal isLow level signal, second status signal are high level signal.
The step S103 includes:If the open state signal is first state signal, corresponding to the judgement of EC plateletsMainboard boot failure, alarm is sent, and starting-up signal is sent to the mainboard again after preset time;If the start shapeState signal is the second status signal, then EC platelets judge that the mainboard is started shooting successfully.
Preferably, the preset time is 30s.
Preferably, also include before the step S101:EC platelets detect that power switch closes.
EC platelets detect that power key is pressed, i.e., power switch closes, then send and open to each mainboard successively every 1sMachine signal, after mainboard receives starting-up signal, if starting shooting successfully, high level signal is returned to EC platelets, if boot failure,Low level signal is returned to EC platelets;EC platelets detect that the signal of return is high level, then judge that the mainboard is started shooting successfully, inspectionThe signal for measuring return is low level, then judges the mainboard boot failure, by alarm equipment alarm, prompts boot failure, andStarting-up signal is sent to the mainboard again after the 30s of interval, until the mainboard is started shooting successfully.Mainboard returns to open state to EC plateletsSignal, the EC platelets automatic detection status signal, if it is determined that then resending starting-up signal for mainboard boot failure, automate journeyDegree is high, cost-effective come early warning, no hardware circuit by alarm;In addition, each mainboard is started shooting successively, relative to moreThe start simultaneously of individual mainboard can reduce the infringement to power supply.
More mainboard starting-up methods based on EC platelets of the embodiment of the present invention, multiple mainboards are controlled to open successively by EC plateletsMachine, the infringement that can be reduced to power supply of being started shooting simultaneously relative to multiple mainboards, each mainboard feed back the result of start to EC platelets,EC platelets are made to judge whether start is successful and adjusts in time, it is not necessary to which manpower is interfered, and automaticity is high.
Embodiment two
A kind of more mainboard boot systems based on EC platelets of the present embodiment are corresponding with the method for embodiment one, this implementationThe not yet detailed content reference implementation example one of example.
As shown in Fig. 2 a kind of more mainboard boot systems based on EC platelets, including EC platelets 100 and multiple mainboards 200(mainboard 1- mainboards n), the EC platelets 100 are connected with each mainboard respectively, for sending starting-up signal to each mainboard successively,And the open state signal fed back respectively according to each mainboard is made a response;Corresponding mainboard receives and responds the start letterNumber, open state signal is fed back to the EC platelets 100 according to the result of response.
Wherein, if the open state signal is first state signal, EC platelets 100 judge that corresponding mainboard start is lostLose, send alarm, and starting-up signal is sent to the mainboard again after preset time;If the open state signal is theTwo-state signal, then EC platelets 100 judge that the mainboard is started shooting successfully.
The EC platelets 100 detect whether power switch closes before sending starting-up signal to each mainboard successively.
The EC platelets 100 include two GPIO interfaces, and each mainboard includes start pin pin and lead-out terminal, oneGPIO interface is connected by wire with the start pin pin of each mainboard, is sent and is started shooting to each mainboard successively for EC platelets 100Signal, another GPIO interface are connected by wire with lead-out terminal, and the start of each mainboard feedback is received for EC platelets 100Status signal.
The first state signal is low level signal, and second status signal is high level signal, when described defaultBetween be 30s.
More mainboard boot systems based on EC platelets of the embodiment of the present invention, multiple mainboards are started shooting successively, can be reduced pairThe infringement of power supply, turn back on after mainboard boot failure, it is not necessary to which manpower is interfered, and automaticity is high.
The foregoing is only a preferred embodiment of the present invention, but protection scope of the present invention be not limited thereto,Any one skilled in the art the invention discloses technical scope in, the change or replacement that can readily occur in,It should all be included within the scope of the present invention.Therefore, protection scope of the present invention should be with scope of the claimsIt is defined.