Act the sending method and device, storage medium, electronic device for turning order
Technical field
The present invention relates to the communications field, the sending method for turning order in particular to a kind of and device, storage are situated between
Matter, electronic device.
Background technique
As present hard discs capacity is increasing, the problem of bringing is that startup power supply and power consumption are also being stepped up, if firmly
Disk not timesharing starting, then the starting current of powered on moment deep bid position equipment is very big to power supply pressure, and a kind of solution is hard
Disk time-sharing power, electric current are avoided the peak hour, as shown in Figure 1, giving the starting current of different capabilities monitoring panel.
As shown in Fig. 2, in the related technology it is also mentioned that a kind of hard disk time-sharing power system, is switched by adding to each hard disk
Device and power device, then by the IO control of control, timesharing is gone to open and be switched, and then reaches the mesh of hard disk time-sharing power
, but the method needs to increase additional switching circuit, and control logic is complicated.
For in the related technology, when carrying out time-sharing power to hard disk, need to increase additional switching circuit, control logic is multiple
The problems such as miscellaneous, not yet proposes effective technical solution.
Summary of the invention
The embodiment of the invention provides sending methods and device, storage medium, electronic device that a kind of turns order, so that
When few solution carries out time-sharing power to hard disk in the related technology, need to increase additional switching circuit, control logic complexity etc. is asked
Topic.
According to one embodiment of present invention, a kind of sending method for turning order is provided, comprising: M hard disk of control
The designated pin of the power connector of middle part hard disk is grounded, so that the part hard disk is powered in first time point,
In, in designated pin ground connection, autostart function is opened, M is the integer greater than 1;It controls corresponding to remaining hard disk
SATA extended chip has been sent to remaining described hard disk at the specified time point turns order, wherein remaining described hard disk is the M
Hard disk in hard disk in addition to the part hard disk, the specified time point predetermined time more late than the first time point, institute
The designated pin for stating the power connector of remaining hard disk is hanging, and described turn of order is used to indicate remaining described hard disk and carries out
When electricity, the designated pin are hanging, the autostart function is closed.
According to another embodiment of the invention, a kind of sending method for turning order is additionally provided, comprising: control is all
SATA extended chip corresponding to hard disk, which has been sent at N number of time point to all hard disks, turns order, wherein described all hard
The designated pin of the power connector of disk is hanging, and described turn of order is used to indicate all hard disks and is powered on, the finger
When determining pin floating, autostart function is closed, N is the integer greater than 1.
According to another embodiment of the invention, a kind of sending device for turning order is additionally provided, comprising: the first control
Module, the designated pin for controlling the power connector of part hard disk in M hard disk is grounded, so that the part hard disk is the
Time point is powered on, wherein in designated pin ground connection, opens autostart function, M is the integer greater than 1;The
Two control modules are sent to remaining described hard disk at the specified time point for controlling SATA extended chip corresponding to remaining hard disk
It rises and turns order, wherein remaining described hard disk is the hard disk in the M hard disk in addition to the part hard disk, when described specified
Between put the predetermined time more late than the first time point, the designated pin of the power connector of remaining hard disk is hanging, described
It rises and turns order and be used to indicate remaining described hard disk to be powered on, when the designated pin is hanging, close the autostart function.
According to another embodiment of the invention, a kind of sending device for turning order is additionally provided, comprising: third control
Module turns life for controlling SATA extended chip corresponding to all hard disks and having sent at N number of time point to all hard disks
It enables, wherein the designated pin of the power connector of all hard disks is hanging, and described turn of order is used to indicate described all hard
Disk is powered on, and when the designated pin is hanging, closes autostart function, N is the integer greater than 1.
According to another embodiment of the invention, a kind of storage medium is additionally provided, meter is stored in the storage medium
Calculation machine program, wherein the computer program is arranged to execute the sending method of any of the above Xiang Qizhuan order when operation.
According to another embodiment of the invention, a kind of electronic device, including memory and processor are additionally provided, it is described
Computer program is stored in memory, the processor is arranged to run the computer program to execute any of the above item
Act the sending method for turning order.
Through the invention, it is grounded by the designated pin of the power connector of the part hard disk in M hard disk of control, in turn
This part hard disk can immediately be powered in first time point, controlled remaining hard disk in M hard disk and powered on (tool at the specified time point
Body turns life by controlling SATA extended chip corresponding to remaining hard disk and having sent at the specified time point to remaining described hard disk
Enable), by adopting the above technical scheme, when solving in the related technology to hard disk progress time-sharing power, need to increase additional switch
The problems such as circuit, control logic is complicated, and then it is not necessarily to additional switching circuit, logic simply realizes in the timesharing of hard disk
Electricity.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair
Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the schematic diagram of the starting current of different capabilities monitoring panel in the related technology;
Fig. 2 is the structural schematic diagram of hard disk time-sharing power system in the related technology;
Fig. 3 is another structural schematic diagram of hard disk time-sharing power system in the related technology;
Fig. 4 is the module diagram according to the SATA power connector of the embodiment of the present invention;
Fig. 5 is the ATX power supply SATA power connector drawing schematic diagram according to the embodiment of the present invention;
Fig. 6 is the appearance schematic diagram according to the ATX power supply SATA power connector of the embodiment of the present invention;
Fig. 7 is according to the cable of the embodiment of the present invention to pin schematic diagram of internal structure;
Fig. 8 is the structural schematic diagram that removes that treated according to pin among 4 lines of the embodiment of the present invention;
Fig. 9 is the cable outside specification schematic diagram after removing processing post-processing according to the pin of the embodiment of the present invention;
Figure 10 is that the appearance of ATX power supply SATA power connector after removing processing according to the pin of the embodiment of the present invention is illustrated
Figure;
Figure 11 is the hardware block diagram of a kind of of the embodiment of the present invention terminal for turning the sending method of order;
Figure 12 is to play a turn flow chart for the sending method of order according to the embodiment of the present invention;
Figure 13 is to play a turn another flow chart for the sending method of order according to the embodiment of the present invention;
Figure 14 is the flow chart according to the hard disk time-sharing power of an alternative embodiment of the embodiment of the present invention;
Figure 15 is the waveform-shaped current schematic diagram (one) according to the embodiment of the present invention;
Figure 16 is the waveform-shaped current schematic diagram (two) according to the embodiment of the present invention;
Figure 17 is to extend schematic diagram according to the chip of the embodiment of the present invention;
Figure 18 is the waveform-shaped current schematic diagram (three) according to the embodiment of the present invention;
Figure 19 is the waveform-shaped current schematic diagram (four) according to the embodiment of the present invention;
Figure 20 is the structural block diagram of the according to an embodiment of the present invention sending device for turning order;
Figure 21 is another structural block diagram of the according to an embodiment of the present invention sending device for turning order.
Specific embodiment
Hereinafter, the present invention will be described in detail with reference to the accompanying drawings and in combination with Examples.It should be noted that not conflicting
In the case of, the features in the embodiments and the embodiments of the present application can be combined with each other.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, "
Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.
In order to better understand the technical solution of following embodiment and preferred embodiment, below to the embodiment of the present invention with
And the technical solution in preferred embodiment is briefly described.
The hard disk of the embodiment of the present invention supports SSU function, i.e., by serial ATA (Serial Advanced Technology
Attachment, referred to as SATA) standard is hanging for the pin 11 on electrical connector, only work as in this way hard disk by OOB communication at
Function and received turn order after, can just rise turn, under normal circumstances OOB communication success after, and then master controller can issue
Hard disk, which rises, turns order, if pin11 is grounded, hard disk motor, which directly rises, to be turned.
Fig. 4 is the module diagram according to the SATA power connector of the embodiment of the present invention, as shown in figure 4, in Fig. 4,
It (2) is the reference power supply connector male connector of hard disk, corresponding 15pin is defined as follows shown in table one, and (4) in Fig. 4 are power cable
And SATA power connector female, it is 5 lines that SATA specification, which defines cable, and female 15pin is corresponded with the male connector of (2) and connected
It connects, wherein 5 lines turn the conversion regime of 15pin are as follows: P1~P3 corresponds to line 1;P4~P6 corresponds to line 2 (GND);P7~P9 corresponds to line 3
(+5V);P10~P12 corresponds to line 4 (GND);P13~P15 corresponds to line 5 (+12V).
Table one
Wherein, in above-mentioned table one, pin 11 can be used as DISable Staggered Spin up function (can
To be not understood as autostart function), i.e., after the pin drags down, hard disk is automatically spined up.Fig. 5 simplicity of explanation ATX power supply SATA
Power connector drawing, Fig. 6 simply show the appearance schematic diagram of ATX power supply SATA power connector, and Fig. 7 shows cable and arrives
Pin schematic diagram of internal structure, Fig. 8 simply show the structural schematic diagram that removes that treated of pin among 4 lines, and Fig. 9 shows pin
Specification schematic diagram outside the cable that removes that treated, Figure 10 simply show pin and remove ATX power supply SATA connector after processing
The appearance schematic diagram of part, as shown in Figure 5-10 it is found that ATX power supply P11 general at present is ground connection, P10~P12 connects together
For ground pin.
Following embodiment of the present invention is also illustrated OOB signal: OOB signal is to use in SATA bus in power up phase
Connection is established for the reset between master-slave equipment in a kind of distinctive signal that master-slave equipment is negotiated, is shaken hands, rate consulation waited
Journey.OOB signal, generally after SATA extended chip powers on, automatic issue is negotiated.
Embodiment 1
Embodiment of the method provided by the embodiment of the present application 1 can be in terminal, terminal or similar
It is executed in arithmetic unit.For running on computer terminals, Figure 11 is a kind of of the embodiment of the present invention and turns the hair of order
The hardware block diagram of the terminal of delivery method.As shown in figure 11, terminal 10 may include one or more (figures
One is only shown in 1) (processor 102 can include but is not limited to Micro-processor MCV or programmable logic device to processor 102
The processing unit of FPGA etc.) and memory 104 for storing data, optionally, above-mentioned terminal can also include using
In the transmission device 106 and input-output equipment 108 of communication function.It will appreciated by the skilled person that shown in Fig. 1
Structure be only illustrate, the structure of above-mentioned terminal is not caused to limit.For example, terminal 10 may also include
More perhaps less component or have the function of and identical functions shown in Fig. 1 or more more than shown in Fig. 1 than shown in Fig. 1
Different configurations.
Memory 104 can be used for storing computer program, for example, the software program and module of application software, such as this hair
The corresponding computer program of sending method for turning order is acted in bright embodiment, processor 102 is stored in memory by operation
Computer program in 104 realizes above-mentioned method thereby executing various function application and data processing.Memory 104
May include high speed random access memory, may also include nonvolatile memory, as one or more magnetic storage device, flash memory,
Or remaining non-volatile solid state memory.In some instances, memory 104 can further comprise relative to processor 102
Remotely located memory, these remote memories can pass through network connection to terminal 10.The example of above-mentioned network
Including but not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Transmitting device 106 is used to that data to be received or sent via a network.Above-mentioned network specific example may include
The wireless network that the communication providers of terminal 10 provide.In an example, transmitting device 106 includes that a network is suitable
Orchestration (Network Interface Controller, referred to as NIC), can be connected by base station with remaining network equipment from
And it can be communicated with internet.In an example, transmitting device 106 can be radio frequency (Radio Frequency, abbreviation
For RF) module, it is used to wirelessly be communicated with internet.
The embodiment of the invention provides a kind of rising for terminal described in Figure 11 that run on optionally to turn order
Sending method, Figure 12 are to play a turn flow chart for the sending method of order according to the embodiment of the present invention, as shown in figure 12, including with
Lower step:
Step S1202: the designated pin ground connection of the power connector of part hard disk in M hard disk of control, so that the portion
Point hard disk is powered in first time point, wherein in designated pin ground connection, open autostart function, M be greater than
1 integer;
It should be noted that the designated pin in step S1202 is preferably the pin11 in above-described embodiment, and in pin
When 11 ground connection, it can be used to open DISable Staggered Spin up function (can be understood as autostart function).
Step S1204: it controls SATA extended chip corresponding to remaining hard disk and is sent at the specified time point to remaining hard disk
It rises and turns order, wherein remaining hard disk is the hard disk in the M hard disk in addition to the hard disk of part, and specified time, point was than first
Predetermined time evening at time point, the designated pin of the power connector of remaining hard disk is hanging, rise turn order be used to indicate it is described remaining
Hard disk is powered on, and when the designated pin is hanging, closes the autostart function.
It should be noted that the SATA chip in the embodiment of the present invention issues after issuing OOB signal and establishing successful connection
It rises and turns order.
Through the above technical solutions, being connect by the designated pin of the power connector of the part hard disk in M hard disk of control
Ground, and then this part hard disk can immediately be powered in first time point, remaining hard disk in M hard disk of control is at the specified time point
It powers on and (is sent at the specified time point to remaining described hard disk especially by SATA extended chip corresponding to remaining hard disk is controlled
Turn order), by adopting the above technical scheme, when solving in the related technology to hard disk progress time-sharing power, need to increase additional
The problems such as switching circuit, control logic is complicated, and then it is not necessarily to additional switching circuit, logic simply realizes the timesharing of hard disk
It powers on, greatly reduces cost.
Specifically, step S1204 can be achieved through the following technical solutions: by controlling corresponding to remaining described hard disk
SATA extended chip is resetted in the specified time point, so that remaining is hard to described at the specified time point for the SATA extended chip
Disk, which has been sent, turns order, i.e., by the resetting time of control SATA extended chip, and then controls SATA extended chip and sent and turn
The time of order.
Wherein, above-mentioned specified time point includes identical same time point, is also possible to different time points, when specified
Between point when being same time point, control SATA extended chip corresponding to remaining hard disk at the specified time point to remaining described hard disk
It has sent and has turned order, can be accomplished by the following way: control SATA extended chip corresponding to remaining hard disk in identical finger
It fixes time a little to have sent to remaining described hard disk and turns order, wherein remaining described hard disk is receiving the SATA extended chip
After what is sent plays turn instruction, powered at the same time;When being at the specified time point different time points, it is hard to control remaining
SATA extended chip corresponding to disk has been sent to remaining described hard disk at the specified time point turns order, can pass through following technology
Scheme is realized: being controlled SATA extended chip corresponding to remaining hard disk and is sent out in different specified time points to remaining described hard disk
It has sent and has turned order, wherein remaining described hard disk is after receiving turn instruction that the SATA extended chip is sent, different
Time point is successively powered on.
It is that the implementation of optional hard disk time-sharing power a kind of also provides in another embodiment above
A kind of implementation of hard disk time-sharing power, Figure 13 be according to the embodiment of the present invention rise turn order sending method it is another
Flow chart, as shown in figure 13, comprising the following steps:
Step S1302 controls SATA extended chip corresponding to all hard disks and sends out at N number of time point to all hard disks
It has sent and has turned order, wherein the designated pin of the power connector of all hard disks is hanging, and described turns order and be used to indicate institute
It states all hard disks to be powered on, when the designated pin is hanging, closes autostart function, N is the integer greater than 1.
Through the above technical solutions, outstanding by the designated pin of the power connector of all hard disks in M hard disk of control
Sky, M hard disk of control are powered in different specified time points (especially by control SATA extended chip in different specified time points
Sent to all hard disks and turned order), by adopting the above technical scheme, solves and hard disk is carried out in timesharing in the related technology
When electric, need to increase additional switching circuit, the problems such as control logic is complicated, and then it is not necessarily to additional switching circuit, logic letter
Single time-sharing power for realizing hard disk, greatly reduces cost.
Specifically, it can be resetted by controlling SATA extended chip corresponding to all hard disks at N number of time point, with
It has sent the SATA extended chip to all hard disks at N number of time point and turns order.
It is illustrated below in the sending method process for combining several examples to turn order to above-mentioned, but is not used in restriction originally
The technical solution of inventive embodiments.
In one alternate embodiment, a kind of 2/4 disk position time-sharing power method is provided
Firstly, select the hard disk for supporting SSU function, then (and the SATA power connector of 2/4 disk position can be to power supply
Connector connector), it is divided into 2 batches, by pin11 grounding, this part hard disk rises immediately after host powers on to be turned for first, the
SATA is vacantly handled (processing mode is as shown in Figure 8) for electrical connector pin11 by 2 batches, then controls chip by delay SATA
The time for resetting release (can be by universal input and output General-Purpose Input/Output, referred to as
GPIO control), after reset discharges, SATA control chip issues after OOB signal establishes successful connection and issues hard disk turn life
It enables, then second batch hard disk, which rises, turns, to achieve the purpose that this two batches hard disk time-sharing power, detailed process is as shown in figure 14:
Step S1402, whether detection hard disk supports SSU function, if so, S1404 is thened follow the steps, if it is not, then holding
Row step S1406;
Step S1404, whether P11 has dragged down (ground connection), if it is, S1406 is gone to step, if it is not, then going to step
S1408;
Step S1406, hard disk, which rises, to be turned;
Whether step S1408, hard disk receive the OOB signal issued automatically when controlling chip reset from SATA.
Wherein, in the case that time-sharing power is not done in corresponding 4 disk positions, as shown in figure 15, corresponding waveform powers on maximum current
For 12V/8.03A;
After technical solution of the present invention, preceding 2 hard disks and system start together, and as shown in figure 16, remaining 2 hard
Restart after the 10s of disk interval, maximum electrifying startup electric current is 12V/6A.
An optional embodiment of the present invention additionally provides a kind of for more than 8 disk positions (as shown in figure 17,8 disk positions uses
21 expand four chip solution) time-sharing power, specifically include two kinds of implementations.
The first implementation: by all hanging processing of the pin11 of all SATA power connectors, then pass through control
SATA controls the signal time that chip OOB signal issues, so that controlling SATA hard disc motor acts the time turned.Specific time side
Method are as follows: the then reset release time interval of control SATA extended chip achievees the purpose that hard disk time-sharing power.
Specifically, the IO that default drop-down is selected by master control, when master control powers on, all SATA extended chips, which are in, to be resetted
State, then then main control chip reaches control SATA extended chip by the reseting interval of each SATA extended chip of delay
The time for issuing OOB signal, to control each hard disk time-sharing power.
Corresponding waveform, as shown in figure 18, under the condition for not doing time-sharing power, powering on maximum current is 12V/20A.
After finishing time-sharing power, as shown in figure 19, preceding 4 hard disks and system start together, remaining 4 hard disc spacers
Restart after 10s, maximum electrifying startup electric current is 12V/12A.
Second of implementation: all hard disks are divided into 3 batches, such as 24 disk positions (8+8+8), by first 8 hard disks
Whole groundings of the pin11 of corresponding SATA power connector, by the SATA power connector of remaining two batches hard disk
The all hanging processing of pin11, the signal time then issued by control SATA controller OOB signal, to control SATA
Hard disk motor acts the time turned.Specific time method are as follows: the then reset release time interval of control SATA extended chip reaches
To the purpose of hard disk time-sharing power.
Specifically, the IO that default drop-down is selected by master control, when master control powers on, all SATA extended chips, which are in, to be resetted
State, then then main control chip reaches control SATA extended chip by the reseting interval of each SATA extended chip of delay
The time for issuing OOB signal, to control each hard disk time-sharing power.
Using the above embodiment of the present invention and optional exemplary technical solution, by controlling SATA controller, OOB is issued
Time, then achieve the purpose that hard disk time-sharing power, implementation is simple, reduces costs.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation
The method of example can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but it is very much
In the case of the former be more preferably embodiment.Based on this understanding, technical solution of the present invention is substantially in other words to existing
The part that technology contributes can be embodied in the form of software products, which is stored in a storage
In medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, calculate
Machine, server or network equipment etc.) method that executes each embodiment of the present invention.
Embodiment 2
A kind of transmission for turning order is additionally provided in the present embodiment, and the device is for realizing above-described embodiment and preferably
Embodiment, the descriptions that have already been made will not be repeated.As used below, predetermined function may be implemented in term " module "
The combination of software and/or hardware.Although device described in following embodiment is preferably realized with software, hardware, or
The realization of the combination of person's software and hardware is also that may and be contemplated.
Figure 20 is the structural block diagram of the according to an embodiment of the present invention sending device for turning order, as shown in figure 20, the dress
It sets and includes:
First control module 200, the designated pin for controlling the power connector of part hard disk in M hard disk are grounded,
So that the part hard disk is powered in first time point, wherein in designated pin ground connection, open automatic starting function
Can, M is the integer greater than 1;
Second control module 202, for controlling SATA extended chip corresponding to remaining hard disk at the specified time point to institute
It states remaining hard disk and has sent and turn order, wherein remaining described hard disk is hard in addition to the part hard disk in the M hard disk
Disk, the specified time point predetermined time more late than the first time point, the power connector of remaining hard disk are specified
Pin floating, described turns order and is used to indicate remaining described hard disk to be powered on, when the designated pin is hanging, described in closing
Autostart function.
Through the above technical solutions, being connect by the designated pin of the power connector of the part hard disk in M hard disk of control
Ground, and then this part hard disk can immediately be powered in first time point, remaining hard disk in M hard disk of control is at the specified time point
It powers on and (is sent at the specified time point to remaining described hard disk especially by SATA extended chip corresponding to remaining hard disk is controlled
Turn order), by adopting the above technical scheme, when solving in the related technology to hard disk progress time-sharing power, need to increase additional
The problems such as switching circuit, control logic is complicated, and then it is not necessarily to additional switching circuit, logic simply realizes the timesharing of hard disk
It powers on, greatly reduces cost.
Optionally, second control module 22 exists for controlling SATA extended chip corresponding to remaining described hard disk
The specified time point resets, so that the SATA extended chip has been sent to remaining described hard disk at the specified time point turns life
It enables.
Figure 21 is another structural block diagram of the according to an embodiment of the present invention sending device for turning order, as shown in figure 21,
The device includes:
Third control module 210, for controlling SATA extended chip corresponding to all hard disks at N number of time point to described
All hard disks, which have been sent, turns order, wherein the designated pin of the power connector of all hard disks is hanging, and described turns order
It is used to indicate all hard disks to be powered on, when the designated pin is hanging, closes autostart function, N is whole greater than 1
Number.
In one alternate embodiment, the third control module 210, for by controlling corresponding to all hard disks
SATA extended chip is resetted at N number of time point, so that the SATA extended chip is at N number of time point to all hard disks
It has sent and has turned order.
Embodiment 3
The embodiments of the present invention also provide a kind of storage medium, which includes the program of storage, wherein above-mentioned
The method of any of the above-described is executed when program is run.
Optionally, in the present embodiment, above-mentioned storage medium can be set to store the journey for executing following steps
Sequence code:
S1 controls the designated pin ground connection of the power connector of part hard disk in M hard disk, so that the part hard disk exists
First time point is powered on, wherein in designated pin ground connection, opens autostart function, M is the integer greater than 1;
S2, control SATA extended chip corresponding to remaining hard disk at the specified time point to remaining described hard disk sent turn
Order, wherein remaining described hard disk is the hard disk in the M hard disk in addition to the part hard disk, the specified time point
Predetermined time more late than the first time point, the designated pin of the power connector of remaining hard disk is hanging, and described turns
Order is used to indicate remaining described hard disk and is powered on, and when the designated pin is hanging, closes the autostart function.
The embodiments of the present invention also provide a kind of storage medium, computer program is stored in the storage medium, wherein
The computer program is arranged to execute the step in any of the above-described embodiment of the method when operation.
Optionally, in the present embodiment, above-mentioned storage medium can be set to store by executing based on following steps
Calculation machine program:
S1, control SATA extended chip corresponding to all hard disks N number of time point to all hard disks sent turn
Order, wherein the designated pin of the power connector of all hard disks is hanging, and described turn of order is used to indicate described all
Hard disk is powered on, and when the designated pin is hanging, closes autostart function, N is the integer greater than 1.
Optionally, storage medium is also configured to store the computer program for executing following steps:
S1 is resetted by controlling SATA extended chip corresponding to all hard disks at N number of time point, so that described
SATA extended chip, which has been sent at N number of time point to all hard disks, turns order.
Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to: USB flash disk, read-only memory (Read-
Only Memory, referred to as ROM), it is random access memory (Random Access Memory, referred to as RAM), mobile hard
The various media that can store program code such as disk, magnetic or disk.
Optionally, the specific example in the present embodiment can be with reference to described in above-described embodiment and optional embodiment
Example, details are not described herein for the present embodiment.
Embodiment 4
The embodiments of the present invention also provide a kind of electronic device, including memory and processor, stored in the memory
There is computer program, which is arranged to run computer program to execute the step in any of the above-described embodiment of the method
Suddenly.
Optionally, above-mentioned electronic device can also include transmission device and input-output equipment, wherein the transmission device
It is connected with above-mentioned processor, which connects with above-mentioned processor.
Optionally, in the present embodiment, above-mentioned processor can be set to execute following steps by computer program:
S1 controls the designated pin ground connection of the power connector of part hard disk in M hard disk, so that the part hard disk exists
First time point is powered on, wherein in designated pin ground connection, opens autostart function, M is the integer greater than 1;
S2, control SATA extended chip corresponding to remaining hard disk at the specified time point to remaining described hard disk sent turn
Order, wherein remaining described hard disk is the hard disk in the M hard disk in addition to the part hard disk, the specified time point
Predetermined time more late than the first time point, the designated pin of the power connector of remaining hard disk is hanging, and described turns
Order is used to indicate remaining described hard disk and is powered on, and when the designated pin is hanging, closes the autostart function.
The embodiments of the present invention also provide a kind of electronic device, including memory and processor, stored in the memory
There is computer program, which is arranged to run computer program to execute the step in any of the above-described embodiment of the method
Suddenly.
Optionally, above-mentioned electronic device can also include transmission device and input-output equipment, wherein the transmission device
It is connected with above-mentioned processor, which connects with above-mentioned processor.
Optionally, in the present embodiment, above-mentioned processor can be set to execute following steps by computer program:
S1, control SATA extended chip corresponding to all hard disks N number of time point to all hard disks sent turn
Order, wherein the designated pin of the power connector of all hard disks is hanging, and described turn of order is used to indicate described all
Hard disk is powered on, and when the designated pin is hanging, closes autostart function, N is the integer greater than 1.
Optionally, the specific example in the present embodiment can be with reference to described in above-described embodiment and optional embodiment
Example, details are not described herein for the present embodiment.
Obviously, those skilled in the art should be understood that each module of the above invention or each step can be with general
Computing device realize that they can be concentrated on a single computing device, or be distributed in multiple computing devices and formed
Network on, optionally, they can be realized with the program code that computing device can perform, it is thus possible to which they are stored
It is performed by computing device in the storage device, and in some cases, it can be to be different from shown in sequence execution herein
Out or description the step of, perhaps they are fabricated to each integrated circuit modules or by them multiple modules or
Step is fabricated to single integrated circuit module to realize.In this way, the present invention is not limited to any specific hardware and softwares to combine.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.It is all within principle of the invention, it is made it is any modification, etc.
With replacement, improvement etc., should all be included in the protection scope of the present invention.