CN109508208A - A kind of starting up's control method, device, state machine and device storing equipment - Google Patents
A kind of starting up's control method, device, state machine and device storing equipment Download PDFInfo
- Publication number
- CN109508208A CN109508208A CN201811383245.1A CN201811383245A CN109508208A CN 109508208 A CN109508208 A CN 109508208A CN 201811383245 A CN201811383245 A CN 201811383245A CN 109508208 A CN109508208 A CN 109508208A
- Authority
- CN
- China
- Prior art keywords
- starting
- touching
- signal
- bmc
- cpu
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4406—Loading of operating system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Computer Security & Cryptography (AREA)
- Programmable Controllers (AREA)
Abstract
This application discloses a kind of starting up's control method, device, state machine, device and computer readable storage mediums for storing equipment, which comprises status signal and the output signal of BMC are pressed in the touching of the starting key of monitoring storage equipment;Judge whether starting key is pressed by touching by status signal according to touching, if so, touching of the starting timing to obtain starting key is temporally, judges touching temporally whether less than the first preset duration, if so, to CPU transmission starting up's signal;Alternatively, judging whether BMC exports power-on instruction signal, if so, sending starting up's signal to CPU.The application utilizes the programmable control device developed, not only the touching of storage device power-up key is monitored by state, realize hard starting up, the power-on instruction signal that can also input to user is monitored, realize soft starting up, to meet the customization demand that user combines soft, hard starting up's mode, user's use is greatly facilitated.
Description
Technical field
This application involves computer memory technical field, in particular to a kind of starting up's control method for storing equipment,
Device, state machine, device and computer readable storage medium.
Background technique
Equipment is stored due to its business particularity to reliability requirement with higher, the host for storing equipment is also usually deposited
It is put in Environmental security but the more remote warehouse of master control room relative to administrative staff, is also therefore frequently necessary to the need according to user
The customization for seeking and carrying out certain contents, the control mode including starting up.In the prior art, the booting of equipment is stored
The main still hard reboot of starting, directly detects whether starting key is pressed by CPU, then executes corresponding switching on and shutting down operation.
Due to needing artificial execute-in-place, this brings larger puzzlement and inconvenience to user.Also, the cpu chip of current mainstream
The improvement of customization starting up's mode of user is not received.It can be seen that providing a kind of scheme to solve the above problems is
Those skilled in the art need concern.
Summary of the invention
The application be designed to provide it is a kind of store starting up's control method of equipment, device, state machine, device and
Computer readable storage medium supports soft, hard starting up's mode so as to the customization demand according to client simultaneously.Specific side
Case is as follows:
In a first aspect, this application discloses it is a kind of store equipment starting up's control method, be applied to respectively with it is described
The control device that the CPU and BMC of storage equipment are connected, comprising:
The touching of the starting key of the storage equipment is monitored by the output signal of status signal and the BMC;
Judge whether the starting key is pressed by touching by status signal according to the touching, if so, starting timing to obtain
The touching of the starting key temporally, judges the touching temporally whether less than the first preset duration, if so, to the CPU
Send starting up's signal;
Alternatively, judging whether the BMC exports power-on instruction signal, if so, sending the starting up to the CPU
Signal.
Optionally, the touching of the starting key of the monitoring storage equipment by after status signal, it is described according to institute
It states touching and judges whether the starting key is touched by before by status signal, further includes:
The touching is filtered by status signal, so that the shake by touching temporally less than the second preset duration filters out,
Second preset duration is less than first preset duration.
Optionally, first preset duration is 4s, and second preset duration is 30ms.
Optionally, after transmission starting up's signal to the CPU, further includes:
Obtain the operating state signal of the CPU;
Judge whether the CPU completes starting up in third preset duration;
If so, continuing to execute the touching of the starting key of the monitoring storage equipment by status signal and described
The step of output signal of BMC;
If it is not, then continuing to execute the touching of the starting key of the monitoring storage equipment after generating fault-signal by shape
The step of output signal of state signal and the BMC.
Optionally, the power-on instruction signal specially encrypts power-on instruction signal, adds determining that the BMC output is described
After close power-on instruction signal, further includes:
The encryption power-on instruction signal is decrypted.
Optionally, it is described judge it is described touching temporally whether less than the first preset duration after, further includes:
If it is not, then sending off signal to the CPU.
Second aspect, this application discloses it is a kind of store equipment starting up's control device, be applied to respectively with it is described
The control device that the CPU and BMC of storage equipment are connected, comprising:
Signal monitoring module, for monitoring the touching of the starting key for storing equipment by status signal and the BMC
Output signal;
Detection module is pressed in touching, for judging whether the starting key is pressed by touching by status signal according to the touching;
Timing module is pressed in touching, for when determine the starting key touched by after, start timing to obtain described be switched on and press
The touching of key is temporally;
Duration judgment module, for judging the touching temporally whether less than the first preset duration;
Judgment module is instructed, for judging whether the BMC exports power-on instruction signal;
Signal transmitting module is used for after determining that the touching is temporally less than first preset duration, or is determining
After the BMC exports the power-on instruction signal, Xiang Suoshu CPU sends starting up's signal.
The third aspect, this application discloses it is a kind of store equipment starting up's state of a control machine, be applied to respectively with institute
State the control device that the CPU and BMC of storage equipment are connected, comprising:
For monitor the storage equipment starting key touching by status signal and the BMC output signal
Idle state to judge whether the starting key is pressed by touching by status signal according to the touching, and is believed according to the output
Number judge whether the BMC exports power-on instruction signal;
The time status that enters after determining that the starting key is touched and pressing, for obtaining the touching of the starting key on time
Between;
Starting key touching by after the analysis state that enters, for judging the touching temporally whether less than the
One preset duration;
Determining the touching temporally less than first preset duration or in the judgement BMC output booting
The boot treatment state entered after command signal for sending starting up's signal to the CPU, and jumps to the idle shape
State;
The shutdown processing status entered after determining that the touching is temporally not less than first preset duration, is used for institute
It states CPU and sends off signal, and jump to the idle state.
Fourth aspect, this application discloses a kind of starting up's control devices for storing equipment, comprising:
Memory, for storing computer program;
Processor realizes the starting up of any storage equipment as described above for executing the computer program
The step of control method.
5th aspect, this application discloses a kind of computer readable storage medium, in the computer readable storage medium
It is stored with computer program, to realize any storage equipment as described above when the computer program is executed by processor
The step of starting up's control method.
The application monitors the storage equipment by the control device connecting respectively with the CPU and BMC of the storage equipment
Starting key touching by status signal and the BMC output signal;According to the touching judge by status signal described in open
Whether machine key is pressed by touching, if so, touching of the starting timing to obtain the starting key is temporally, judges the touching temporally
Whether less than the first preset duration, if so, sending starting up's signal to the CPU;Alternatively, judging whether the BMC is defeated
Power-on instruction signal out, if so, sending starting up's signal to the CPU.As it can be seen that the application utilizes programmable exploitation
Control device, not only to storage device power-up key touching be monitored by state, can also be right to realize hard starting up
The power-on instruction signal of user's input is monitored, to realize soft starting up, to meet user to soft, hard starting up
The customization demand that mode combines greatly facilitates user's use.
Detailed description of the invention
In order to illustrate more clearly of the technical solution in the prior art and the embodiment of the present application, below will to the prior art and
Attached drawing to be used is needed to make brief introduction in the embodiment of the present application description.Certainly, in relation to the attached drawing of the embodiment of the present application below
A part of the embodiment in only the application of description is not paying creativeness to those skilled in the art
Under the premise of labour, other attached drawings can also be obtained according to the attached drawing of offer, other accompanying drawings obtained also belong to the application
Protection scope.
Fig. 1 is a kind of process of specific embodiment in starting up's control method of storage equipment provided by the present application
Figure;
Fig. 2 is the process of another specific embodiment in starting up's control method of storage equipment provided by the present application
Figure;
Fig. 3 is a kind of structural block diagram of starting up's control device for storing equipment provided by the present application.
Specific embodiment
The core of the application be to provide a kind of starting up's control method for storing equipment, device, state machine, device and
Computer readable storage medium supports soft, hard starting up's mode so as to the customization demand according to client simultaneously.
In order to which technical solutions in the embodiments of the present application is more clearly and completely described, below in conjunction with this Shen
Please attached drawing in embodiment, technical solutions in the embodiments of the present application is introduced.Obviously, described embodiment is only
Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art
Every other embodiment obtained without making creative work, shall fall in the protection scope of this application.
The embodiment of the present application discloses a kind of starting up's control method for storing equipment, and shown referring to Fig.1, this method is answered
Control device for connecting respectively with the CPU and BMC of storage equipment, mainly comprises the steps that
S1: status signal and the output signal of BMC are pressed in the touching of the starting key of monitoring storage equipment;Into S2 and S5.
Specifically, starting up's control mode provided herein can support hard starting up's mode and soft booting simultaneously
Starting mode.The Starting mode of starting key is pressed in described hard starting up's mode, that is, user's touching, since this mode needs to operate
Personnel press starting key in the erecting bed touching of storage equipment, therefore cannot achieve remote operation;Described soft starting up side
Formula is by the start-up mode of computer instruction starting device, and without touching physical button, operator need to only be sent pair
The power-on instruction answered, as a result, operator without come to personally erecting bed can also in the transmission for remotely booting up instruction, ten
Divide convenience.
It for hard starting up's mode, needs to be monitored the touching of starting key by status signal, to learn booting
The information that key is pressed.For soft starting up's mode, need to capture the power-on instruction signal of operator's input.BMC
(Baseboard Management Controller, baseboard management controller) is the critical function component on mainboard, works as operation
After personnel remotely have sent power-on instruction signal, BMC can be clamped the signal received to storage facility network according to relevant communication protocol
It is parsed to obtain the power-on instruction signal.
As a kind of specific embodiment, in the application, described control device is specifically as follows CPLD or FPGA.
Specifically, CPLD (Complex Programmable Logic Device, Complex Programmable Logic Devices) be
The device come out from PAL and GAL device development is a kind of user according to respective the need and voluntarily set of digits of constitutive logic function
At circuit, have that flexible in programming, integrated level are high, design and develop that the period is short, the scope of application is wide, developing instrument is advanced, price is public
The features such as change.
FPGA (Field-Programmable Gate Array, field programmable gate array) based on concurrent operation, with
Hardware description language is realized, is the product further developed on the basis of the programming devices such as PAL, GAL, CPLD.It is
Occur as one of field specific integrated circuit (ASIC) semi-custom circuit, both solved the deficiency of custom circuit,
The limited disadvantage of original programming device gate circuit number is overcome again.
Certainly, those skilled in the art can also be using other shutdown not power down devices as control described in the application
Device, the application are not limited thereto.
S2: judge whether starting key is pressed by touching by status signal according to touching, if so, into S3.
Generally, when the touching of starting key failing edge occurs by status signal, indicate that starting key is pressed;When out
When existing rising edge, touching is indicated by end, starting key is released.
S3: start timing to obtain the touching of starting key temporally, into S4.
S4: judge touching temporally whether less than the first preset duration;If so, into S6.
Generally, short-press starting key is considered as user and needs starting up, and long-pressing starting key is then considered as user
It shuts down.As a result, after judgement starting key, which is touched, obtains touching temporally by and by starting timing, can further it sentence
The touching break temporally whether less than the first preset duration, if so, it is believed that user is to boot up starting.
Wherein it is preferred to the first described preset duration concretely 4s.
S5: judge whether BMC exports power-on instruction signal;If so, into S6.
As previously mentioned, the application also supports soft starting up's mode.When control device receives the power-on instruction of BMC transmission
After signal, that is, it can be considered that user will boot up start-up operation.Generally, power-on instruction signal is that rising edge is effective.
The application is opened using the soft booting that storage equipment can be achieved to the monitoring of booting command signal in control device as a result,
Dynamic, long-range control starting up can be realized using network transmission instruction in user, avoids commuting storage equipment installation ground
Between daily monitoring ground, user's use is greatly facilitated.
S6: starting up's signal is sent to CPU.
After detection really up to the mark or soft detection determine that user will boot up start-up operation, control device can be to CPU
Starting up's signal is sent to start CPU.
The application monitors the storage equipment by the control device connecting respectively with the CPU and BMC of the storage equipment
Starting key touching by status signal and BMC output signal;According to touching by status signal judge starting key whether by
Touching is pressed, if so, touching of the starting timing to obtain starting key is temporally, judge touching temporally whether it is default less than first when
It is long, if so, sending starting up's signal to CPU;Alternatively, judging whether BMC exports power-on instruction signal, if so, to CPU
Send starting up's signal.As it can be seen that control device of the application using programmable exploitation, not only to storage device power-up key
Touching is monitored by state, and to realize hard starting up, the power-on instruction signal that can also input to user is monitored, so as to
It realizes soft starting up, to meet the customization demand that user combines soft, hard starting up's mode, greatly facilitates use
Family uses.
Below by another specific embodiment to starting up's control method of storage equipment provided herein into
Row is further described, and relative to a upper embodiment, the present embodiment has made further instruction and optimization to technical solution.Referring to figure
2, which includes:
S201: status signal and the output signal of BMC are pressed in the touching of the starting key of monitoring storage equipment;Into S2 and
S5。
S202: the touching is filtered by status signal, to touch temporally less than the shake of the second preset duration
It filters out, into S203.
Wherein, second preset duration is less than the first preset duration.Preferably, as previously mentioned, the first preset duration can
For 4s, and the second preset duration then concretely 30ms.
S203: judge whether the starting key is pressed by touching by status signal according to the touching;If so, into S204.
S204: starting timing is to obtain the touching of the starting key temporally;Into S205.
S205: judge the touching temporally whether less than the first preset duration;If so, into S208, if it is not, then entering
S212。
S206: judge whether BMC exports encryption power-on instruction signal;If so, into S207.
Specifically, since starting up's control method provided herein is specifically by the control device of programmable exploitation
Come what is realized, therefore a variety of customization further can be carried out according to user demand and be arranged.For example, in order to improve the safety of communication
Property, it can be encrypted for soft starting mode.
Specifically, described power-on instruction signal is specially encryption power-on instruction signal, and in the present embodiment, determining
It further include that encryption power-on instruction signal is decrypted after BMC output encryption power-on instruction signal.
S207: encryption power-on instruction signal is decrypted, into S208.
S208: starting up's signal is sent to CPU, into S209.
S209: obtaining the operating state signal of CPU, into S210.
It is easily understood that may be used also after having sent starting up's signal to CPU and CPU is enabled to enter starting up's process
Further to monitor the booting progress of CPU.Control device can monitor the operating state signal of CPU, to find that failure is asked in time
Topic.
S210: judging whether CPU completes starting up in third preset duration, into S211.
S211: fault-signal is generated, into S211.
Specifically, if starting up has not been completed in third preset duration in CPU, then illustrate to store equipment
Failure.Preferably, the third preset duration specifically may be configured as 30ms.
S212: off signal is sent to CPU, into S212.
Specifically, if it is determined that the touching of starting key is then considered as long-pressing, i.e. user temporally not less than the first preset duration
Want to carry out power-off operation, then control device can send off signal to CPU at this time, and storage equipment is enabled to enter power-off operation stream
Journey.
Starting up's control device of storage equipment provided herein is introduced below.
Referring to Fig. 3, Fig. 3 is a kind of structural frames of starting up's control device of storage equipment provided herein
Figure;Applied to the control device being connect respectively with the CPU and BMC of storage equipment, comprising:
Signal monitoring module 1 is believed for monitoring the touching of starting key of storage equipment by the output of status signal and BMC
Number;
Detection module 2 is pressed in touching, for judging whether starting key is pressed by touching by status signal according to touching;
Touching press timing module 3, for when determine starting key touched by after, start timing pressed with the touching for obtaining starting key
Time;
Duration judgment module 4, for judging touching temporally whether less than the first preset duration;
Judgment module 5 is instructed, for judging whether BMC exports power-on instruction signal;
Signal transmitting module 6, for being exported after determining touching temporally less than the first preset duration, or in judgement BMC
After power-on instruction signal, starting up's signal is sent to CPU.
The application monitors the storage equipment by the control device connecting respectively with the CPU and BMC of the storage equipment
Starting key touching by status signal and BMC output signal;According to touching by status signal judge starting key whether by
Touching is pressed, if so, touching of the starting timing to obtain starting key is temporally, judge touching temporally whether it is default less than first when
It is long, if so, sending starting up's signal to CPU;Alternatively, judging whether BMC exports power-on instruction signal, if so, to CPU
Send starting up's signal.As it can be seen that control device of the application using programmable exploitation, not only to storage device power-up key
Touching is monitored by state, and to realize hard starting up, the power-on instruction signal that can also input to user is monitored, so as to
It realizes soft starting up, to meet the customization demand that user combines soft, hard starting up's mode, greatly facilitates use
Family uses.
On the basis of above content, as a kind of preferred embodiment, the starting up of storage equipment provided herein
Control device further includes filter module, for being filtered to touching by status signal, is temporally preset less than second to touch
The shake of duration filters out, and the second preset duration is less than the first preset duration.
Wherein it is preferred to which the first preset duration is 4s, the second preset duration is 30ms.
On the basis of above content, as a kind of preferred embodiment, the starting up of storage equipment provided herein
Control device, further includes:
State feedback module judges whether CPU is complete in third preset duration for obtaining the operating state signal of CPU
At starting up;
Alarm module, for generating failure letter after judging that CPU does not complete starting up in third preset duration
Number.
On the basis of above content, as a kind of preferred embodiment, power-on instruction signal is specially to encrypt power-on instruction letter
Number;Starting up's control device of storage equipment provided herein further includes deciphering module, for adding in judgement BMC output
After close power-on instruction signal, encryption power-on instruction signal is decrypted.
On the basis of above content, as a kind of preferred embodiment, the starting up of storage equipment provided herein
In control device, signal transmitting module 6 is also used to: after determining that touching is temporally not less than the first preset duration, being sent to CPU
Off signal.
Further, starting up's control method of above-mentioned storage equipment specific available mode machine is realized.The application is public
A kind of starting up's state of a control machine for storing equipment is opened, applied to what is connect respectively with the CPU and BMC of the storage equipment
Control device, comprising:
The idle state of status signal and the output signal of BMC is pressed in touching for monitoring the starting key of storage equipment,
To judge whether starting key is pressed by touching by status signal according to touching, and judge whether BMC exports booting according to output signal
Command signal;
The time status that enters after determining that starting key is touched and pressing, for obtaining the touching of starting key temporally;
Starting key touching by after the analysis state that enters, for judge to touch temporally whether it is default less than first when
It is long;
Determining what touching temporally entered less than the first preset duration or after determining BMC output power-on instruction signal
Boot treatment state for sending starting up's signal to CPU, and jumps to idle state;
Touching is being determined temporally not less than the shutdown processing status entered after the first preset duration, for closing to CPU transmission
Machine signal, and jump to idle state.
Specifically, idle state be state machine original state, when determine starting key touched by after jump to timing
State jumps to boot treatment state after determining that BMC outputs power-on instruction signal.Time status is pressed for obtaining booting
The touching of key temporally, can touching by after jump to analysis state.Particularly, it in order to further increase detection efficiency, uses
Family can also terminate timing after the first preset duration that touching temporally reaches described and jump to analysis state, be considered as at this time
Touching is temporally greater than the first preset duration.According to the analysis of analysis state as a result, state machine will jump to (the touching of boot treatment state
Temporally less than the first preset duration) or shutdown processing status (touching is temporally not less than the first preset duration).When being switched on
After processing status or shutdown processing status perform corresponding booting or power-off operation, state machine will jump to initial shape
State, that is, idle state.Preferably, in order to prevent state machine crash, can after reaching third preset duration, regardless of be switched on or
Whether person's power-off operation completes all forced regime machines and jumps to original state.
Further, disclosed herein as well is a kind of starting up's control devices for storing equipment, comprising:
Memory, for storing computer program;
Processor realizes the starting up of any storage equipment as described above for executing the computer program
The step of control method.
Further, disclosed herein as well is a kind of computer readable storage medium, the computer readable storage mediums
In be stored with computer program, to realize that any storage as described above is set when the computer program is executed by processor
The step of standby starting up's control method.
Starting up's control device, state machine, device and the computer-readable storage of storage equipment provided herein
The specific embodiment of medium can correspond to each other reference with starting up's control method of storage equipment as described above, here
Just repeat no more.
Each embodiment is described in a progressive manner in the application, the highlights of each of the examples are with other realities
The difference of example is applied, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment
Speech, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is referring to method part illustration
?.
It should be noted that in present specification, the relational terms of such as " first " and " second " etc are used merely to
One entity or operation and another entity or operate is distinguished, without necessarily requiring or implying these entities or
There are any actual relationship or orders between person's operation.In addition, the terms "include", "comprise" or its any other
Variant is intended to non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only
It including those elements, but also including other elements that are not explicitly listed, or further include for this process, method, object
Product or the intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...",
It is not precluded in the process, method, article or apparatus that includes the element that there is also other identical elements.
Technical solution provided herein is described in detail above.Specific case used herein is to this Shen
Principle and embodiment please is expounded, the present processes that the above embodiments are only used to help understand and its
Core concept.It should be pointed out that for those skilled in the art, in the premise for not departing from the application principle
Under, can also to the application, some improvement and modification can also be carried out, these improvement and modification are also fallen into the protection scope of the application.
Claims (10)
1. a kind of starting up's control method for storing equipment, which is characterized in that applied to the CPU respectively with the storage equipment
The control device connected with BMC, comprising:
The touching of the starting key of the storage equipment is monitored by the output signal of status signal and the BMC;
Judge whether the starting key is pressed by touching by status signal according to the touching, if so, starting timing is with described in obtaining
The touching of starting key temporally, judges the touching temporally whether less than the first preset duration, if so, sending to the CPU
Starting up's signal;
Alternatively, judging whether the BMC exports power-on instruction signal, if so, sending starting up's letter to the CPU
Number.
2. starting up's control method according to claim 1, which is characterized in that in the monitoring storage equipment
The touching of starting key by after status signal, described judge whether the starting key is pressed by touching by status signal according to the touching
Before, further includes:
The touching is filtered by status signal, it is described so that the shake by touching temporally less than the second preset duration filters out
Second preset duration is less than first preset duration.
3. starting up's control method according to claim 2, which is characterized in that first preset duration is 4s, institute
Stating the second preset duration is 30ms.
4. starting up's control method according to claim 1, which is characterized in that be switched in described sent to the CPU
After enabling signal, further includes:
Obtain the operating state signal of the CPU;
Judge whether the CPU completes starting up in third preset duration;
If so, continuing to execute the touching of the starting key of the monitoring storage equipment by status signal and the BMC
The step of output signal;
If it is not, the touching for then continuing to execute the starting key of the monitoring storage equipment after generating fault-signal is believed by state
Number and the BMC output signal the step of.
5. starting up's control method according to any one of claims 1 to 4, which is characterized in that the power-on instruction letter
It number is specially encryption power-on instruction signal, after determining that the BMC exports the encryption power-on instruction signal, further includes:
The encryption power-on instruction signal is decrypted.
6. starting up's control method according to claim 5, which is characterized in that be temporally in the judgement touching
It is no less than the first preset duration after, further includes:
If it is not, then sending off signal to the CPU.
7. a kind of starting up's control device for storing equipment, which is characterized in that applied to the CPU respectively with the storage equipment
The control device connected with BMC, comprising:
Signal monitoring module, for monitor the storage equipment starting key touching by the defeated of status signal and the BMC
Signal out;
Detection module is pressed in touching, for judging whether the starting key is pressed by touching by status signal according to the touching;
Timing module is pressed in touching, for when determine the starting key touched by after, starting timing is to obtain the starting key
Touching is temporally;
Duration judgment module, for judging the touching temporally whether less than the first preset duration;
Judgment module is instructed, for judging whether the BMC exports power-on instruction signal;
Signal transmitting module, for after determining that the touching is temporally less than first preset duration, or described in the judgement
After BMC exports the power-on instruction signal, Xiang Suoshu CPU sends starting up's signal.
8. a kind of starting up state of a control machine for storing equipment, which is characterized in that applied to respectively with the storage equipment
The control device that CPU is connected with BMC, comprising:
For monitor it is described storage equipment starting key touching by status signal and the BMC output signal free time
State to judge whether the starting key is pressed by touching by status signal according to the touching, and is sentenced according to the output signal
Whether the BMC that breaks exports power-on instruction signal;
The time status that enters after determining that the starting key is touched and pressing, for obtaining the touching of the starting key temporally;
Starting key touching by after the analysis state that enters, for judging whether the touching temporally pre- less than first
If duration;
Determining the touching temporally less than first preset duration or in the judgement BMC output power-on instruction
The boot treatment state entered after signal for sending starting up's signal to the CPU, and jumps to the idle state;
The shutdown processing status entered after determining that the touching is temporally not less than first preset duration, is used for described
CPU sends off signal, and jumps to the idle state.
9. a kind of starting up's control device for storing equipment characterized by comprising
Memory, for storing computer program;
Processor, for executing the computer program to realize opening such as storage equipment as claimed in any one of claims 1 to 6
Machine starts the step of control method.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer in the computer readable storage medium
Program, to realize that storage equipment as claimed in any one of claims 1 to 6 such as is opened when the computer program is executed by processor
Machine starts the step of control method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811383245.1A CN109508208A (en) | 2018-11-20 | 2018-11-20 | A kind of starting up's control method, device, state machine and device storing equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811383245.1A CN109508208A (en) | 2018-11-20 | 2018-11-20 | A kind of starting up's control method, device, state machine and device storing equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109508208A true CN109508208A (en) | 2019-03-22 |
Family
ID=65749195
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811383245.1A Pending CN109508208A (en) | 2018-11-20 | 2018-11-20 | A kind of starting up's control method, device, state machine and device storing equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109508208A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111813037A (en) * | 2020-06-11 | 2020-10-23 | 中国长城科技集团股份有限公司 | Starting-up control method, starting-up control device and electronic equipment |
CN116893856A (en) * | 2023-07-18 | 2023-10-17 | 广州向成电子科技有限公司 | Key starting method based on power management chip, storage medium and equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120151233A1 (en) * | 2010-12-14 | 2012-06-14 | Hon Hai Precision Industry Co., Ltd. | Network device for controlling power consumption and method employing the same |
CN103425219A (en) * | 2012-05-18 | 2013-12-04 | 鸿富锦精密工业(深圳)有限公司 | Power supply control system and method |
CN104536551A (en) * | 2014-11-18 | 2015-04-22 | 合肥联宝信息技术有限公司 | Method and device for clearing away information on complementary metal oxide semiconductor (CMOS) |
CN104679210A (en) * | 2015-03-17 | 2015-06-03 | 浪潮集团有限公司 | Device and method for powering on computer on basis of CPLD controller |
CN205594571U (en) * | 2016-04-19 | 2016-09-21 | 龙芯中科技术有限公司 | Power controlling means and computer |
CN108055117A (en) * | 2017-12-27 | 2018-05-18 | 郑州云海信息技术有限公司 | A kind of BMC and CPLD interconnected communication method of efficient full duplex |
-
2018
- 2018-11-20 CN CN201811383245.1A patent/CN109508208A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120151233A1 (en) * | 2010-12-14 | 2012-06-14 | Hon Hai Precision Industry Co., Ltd. | Network device for controlling power consumption and method employing the same |
CN103425219A (en) * | 2012-05-18 | 2013-12-04 | 鸿富锦精密工业(深圳)有限公司 | Power supply control system and method |
CN104536551A (en) * | 2014-11-18 | 2015-04-22 | 合肥联宝信息技术有限公司 | Method and device for clearing away information on complementary metal oxide semiconductor (CMOS) |
CN104679210A (en) * | 2015-03-17 | 2015-06-03 | 浪潮集团有限公司 | Device and method for powering on computer on basis of CPLD controller |
CN205594571U (en) * | 2016-04-19 | 2016-09-21 | 龙芯中科技术有限公司 | Power controlling means and computer |
CN108055117A (en) * | 2017-12-27 | 2018-05-18 | 郑州云海信息技术有限公司 | A kind of BMC and CPLD interconnected communication method of efficient full duplex |
Non-Patent Citations (1)
Title |
---|
苏振宇: "基于国产BMC的服务器安全启动技术研究与实现", 《信息安全研究》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111813037A (en) * | 2020-06-11 | 2020-10-23 | 中国长城科技集团股份有限公司 | Starting-up control method, starting-up control device and electronic equipment |
CN116893856A (en) * | 2023-07-18 | 2023-10-17 | 广州向成电子科技有限公司 | Key starting method based on power management chip, storage medium and equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108681677B (en) | Method, device and system for safely isolating dual-network computer based on USB interface | |
CN101578609A (en) | Secure booting a computing device | |
US8266717B2 (en) | Monitoring device for a computing device of a computer system, the computer system, and method for monitoring the computing device of the computer system | |
CN104038803B (en) | A kind of modularization intelligent TV and the exchange method applied to modularization intelligent TV | |
CN113064643B (en) | Method, system and medium for instantly-effective modification of BIOS set value | |
CN109508208A (en) | A kind of starting up's control method, device, state machine and device storing equipment | |
KR20180034563A (en) | A data processing method and system, and a wearable electronic device | |
CN108540462A (en) | A kind of security isolation control computer system | |
US9400896B2 (en) | Portable computer and security operating method thereof | |
CN102855428B (en) | A kind of method of controlling security of computing machine and this computing machine | |
CN109344104A (en) | Electronic equipment and method for transmitting signals | |
CN109582506A (en) | The restoration methods and device of touch screen failure, host equipment and touch-control system | |
WO2002008872A1 (en) | User recognition robbery prevention and security device | |
CN109582505B (en) | BIOS option default value recovery system, method and device | |
WO2016072833A1 (en) | System and method to disable factory reset | |
JP2007052480A (en) | Information processor, switcher, remote control system, scan code transmitting method and program | |
CN103984616A (en) | Server monitoring method and server | |
CN110399150A (en) | A kind of bios upgrade method, system, device and computer storage medium | |
JP2014203138A (en) | Electronic device, verification method, and verification program | |
CN105740677B (en) | A kind of method for start-up and shutdown, system and intelligent mobile terminal | |
CN103207972B (en) | Device and method for recovering and analyzing login password of computer operation system | |
US20190392181A1 (en) | Keyboard for provisioning security credentials | |
CN104834845A (en) | Implementation method for credible industrial camera | |
CN110362983B (en) | Method and device for ensuring consistency of dual-domain system and electronic equipment | |
CN100356350C (en) | Device and method for safety operation of state converter for computer equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190322 |
|
RJ01 | Rejection of invention patent application after publication |