CN105320246B - A kind of information processing method and electronic equipment - Google Patents
A kind of information processing method and electronic equipment Download PDFInfo
- Publication number
- CN105320246B CN105320246B CN201510634183.7A CN201510634183A CN105320246B CN 105320246 B CN105320246 B CN 105320246B CN 201510634183 A CN201510634183 A CN 201510634183A CN 105320246 B CN105320246 B CN 105320246B
- Authority
- CN
- China
- Prior art keywords
- disk
- access
- power
- processor
- access information
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3206—Monitoring of events, devices or parameters that trigger a change in power modality
- G06F1/3215—Monitoring of peripheral devices
- G06F1/3225—Monitoring of peripheral devices of memory devices
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Power Sources (AREA)
Abstract
The invention discloses a kind of information processing method and electronic equipment, the information processing method includes: in the first preset time period, and processor detection obtains the first access information of the access for multiple disks, wherein the processor is connect with the multiple disk;Based on first access information, the first disk is determined, which is the disk for not receiving access in first preset time period in the multiple disk;Control the first disk power down.The above method and device provided by the invention solve and disk exists in the prior art have been at the higher technical problem of disk energy consumption caused by energized state.By carrying out the technical solution of power down control to disk when not being directed to the access of disk, reach the beneficial effect for saving disk energy consumption.
Description
Technical field
The present invention relates to computer field more particularly to a kind of information processing methods and electronic equipment.
Background technique
Storage server data center needs a large amount of storage medium such as disk to carry out storing data, the load of data center with
Biggish dynamic fluctuation is presented in daily 24 hours to the access of disk, need Servers-all section in high IO throughput
Point disk full speed running, and in low IO throughput, the disk utilization of server is very low, a large amount of disk long-time idle runnings
Very high power wastage can be brought, expense expenditure is increased.Therefore disk power saving becomes the important need for storing intensive server.
Reduce the method for disk energy consumption in the prior art are as follows: detect when there is no disk access, suspend mode is carried out to disk.
But present inventor during inventive technique scheme, has found suspend mode in realizing the embodiment of the present application
Disk has still needed to power supply and has powered to it, to detect whether the access for this disk, so, disk one exists in the prior art
Directly it is in the higher technical problem of disk energy consumption caused by energized state.By not be directed to disk access when to disk
The technical solution for carrying out power down control reaches the beneficial effect for saving disk energy consumption.
Summary of the invention
The present invention provides a kind of information processing method and electronic equipment, solution exist in the prior art disk have been at it is logical
The higher technical problem of disk energy consumption caused by electricity condition.
On the one hand the embodiment of the present invention provides a kind of information processing method, comprising:
In the first preset time period, processor detection obtains the first access information of the access for multiple disks,
In, which connect with the multiple disk;
Based on first access information, the first disk is determined, which is in first preset time period
The disk of access is not received in the multiple disk;
Control the first disk power down.
Optionally, after control the first disk power down, further includes:
The processor detection obtains the second access information of the access for the multiple disk;
Based on second access information, the second disk for receiving access is determined;
When the second disk is power-down state, the second disk is waken up.
Optionally, first access information specifically includes: receive the access interface class and/or the access
Interrupt number.
Optionally, described to be based on first access information, it determines the first disk, specifically includes:
According to the corresponding relationship of the interrupt number and disk of preset interface class and/or the access, from the multiple magnetic
The disk for receiving access corresponding with the interrupt number of the interface class and/or the access is determined in disk and does not receive visiting
The first disk asked.
Optionally, control the first disk power down, specifically includes:
First output state of control bus expander pin, so that Power Management Unit is based on first output state
The connection cut off the power with first disk;
It is described to wake up the second disk, it specifically includes:
Second output state of control bus expander pin, so that the Power Management Unit is based on second output
The connection of the power supply Yu the second disk is connected in state.
On the other hand the embodiment of the present invention provides a kind of electronic equipment, comprising:
Shell;
Multiple disks, it is disposed in the housing;
Power supply, it is disposed in the housing;
Processor, it is disposed in the housing, it is connect with the multiple disk, for examining in the first preset time period
Survey the first access information for obtaining and being directed to the multiple disk access;Based on first access information, the first disk is determined,
First disk is the disk for not receiving access in first preset time period in the multiple disk;Control described first
Disk power down;
Power Management Unit, it is disposed in the housing, with the power supply, the multiple disk, the processor connection.
Optionally, the processor is also used to:
After controlling the first disk power down, detection obtains the second access letter of the access for the multiple disk
Breath;
Based on second access information, the second disk for receiving access is determined;
When the second disk is power-down state, the second disk is waken up.
Optionally, the processor is also used to:
Detection, which obtains, receives the interface class of the access and/or the interrupt number of the access as the first access information.
Optionally, the processor is also used to:
According to the corresponding relationship of the interrupt number and disk of preset interface class and/or the access, from the multiple magnetic
The disk for receiving access corresponding with the interrupt number of the interface class and/or the access is determined in disk and does not receive visiting
The first disk asked.
Optionally, the processor is also used to:
First output state of control bus expander pin, so that Power Management Unit is based on first output state
The connection cut off the power with first disk;
Second output state of control bus expander pin, so that the Power Management Unit is based on second output
The connection of the power supply Yu the power down disk is connected in state.
Said one or multiple technical solutions in the embodiment of the present application at least have following one or more technology effects
Fruit:
One, due to using in the first preset time period in technical solution in the embodiment of the present application, processor inspection
Survey the first access information for obtaining the access for multiple disks, wherein the processor is connect with the multiple disk;Based on institute
The first access information is stated, determines the first disk, first disk is in the multiple disk in first preset time period
The disk of access is not received;Control the technological means of the first disk power down.In this way, being united by processor to multiple disks
One management, detection obtains the access information for being directed to multiple disk access within a preset period of time, determines to be not received by access
Disk, to be not received by access disk carry out power down control.The above method and device provided by the invention solve existing
Have in technology that there are disks to have been at the higher technical problem of disk energy consumption caused by energized state.By not being directed to
The technological means for carrying out power down control when the access of disk to disk, reaches the beneficial effect for saving disk energy consumption.
Two, due to using after controlling the first disk power down, institute in technical solution in the embodiment of the present application
It states processor detection and obtains the second access information for being directed to the multiple disk access;Based on second access information, determine
The second disk of access is received out;When the second disk is power-down state, the technological means of the second disk is waken up.
In this way, the access information for disk access can be continued to test after carrying out power down control to disk, it is based on access information
It determines the disk to be accessed, when the disk for determining to receive access is power-down state, then wakes up power down disk.It realizes
Real-time detection is directed to the access of disk, and the technology of disk normal work is recovered immediately when the access of power down disk when occurring being directed to
Effect.
Three, defeated using the first of control bus expander pin due in technical solution in the embodiment of the present application
It does well, so that the connection that Power Management Unit is cut off the power based on first output state with first disk;Control
Second output state of bus extender pin, so that the Power Management Unit is based on described in second output state conducting
The technological means that power supply is connect with the second disk.In this way, determining to carry out disk based on the access situation to disk
It powers on or lower electric control, and controls the output state of bus extender pin corresponding with disk, power supervisor receives always
Corresponding disk is controlled after the output state of line expander pin to power on or lower electricity, realize to disk power on or lower electricity into
The technical effect of row unified management.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application or in prior art, below retouches embodiment
Attached drawing needed in stating is briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention one
A little embodiments.
Fig. 1 is a kind of flow chart of the information processing method provided in the embodiment of the present application one;
Fig. 2 is the structure chart of a kind of electronic equipment provided in the embodiment of the present application two;
Fig. 3 is the structure chart of a kind of electronic equipment provided in the embodiment of the present application three.
Specific embodiment
The embodiment of the present application provides a kind of information processing method and electronic equipment, and disk exists in the prior art for solving
Have been at the higher technical problem of disk energy consumption caused by energized state.By not be directed to disk access when to magnetic
Disk carries out the technical solution of power down control, reaches the beneficial effect for saving disk energy consumption.Technical solution in the embodiment of the present application
In order to solve the above technical problems, general thought is as follows:
In the first preset time period, processor detection obtains the first access information of the access for multiple disks,
In, which connect with the multiple disk;
Based on first access information, the first disk is determined, which is in first preset time period
The disk of access is not received in the multiple disk;
Control the first disk power down.
Due to using in the first preset time period in the technical solution of the embodiment of the present application, processor detection is obtained
Obtain the first access information of the access for multiple disks, wherein the processor is connect with the multiple disk;Based on described
One access information determines the first disk, which is not connect in the multiple disk in first preset time period
Receive the disk of access;Control the technological means of the first disk power down.In this way, being managed by the way that processor is unified to multiple disks
Reason, detection obtains the access information for being directed to multiple disk access within a preset period of time, determines the magnetic for being not received by access
Disk carries out power down control to the disk for being not received by access.The above method and device provided by the invention, solve existing skill
There are disks to have been at the higher technical problem of disk energy consumption caused by energized state in art.By not being directed to disk
Access when to disk carry out power down control technical solution, reach save disk energy consumption beneficial effect.
A kind of information processing method provided by the embodiments of the present application specifically can be applied to have in the electronic equipment of disk,
The electronic equipment can be the electronic equipments such as mobile phone, digital camera/tablet computer, laptop, be also possible to other electricity
Sub- equipment, here, just different one schematically illustrating.
With reference to the accompanying drawing to main realization principle, specific embodiment and its correspondence of the embodiment of the present application technical solution
The beneficial effect that can reach is explained in detail.
Embodiment one
Referring to FIG. 1, the embodiment of the present invention provides a kind of information processing method, comprising:
S101: in the first preset time period, processor detection obtains the first access letter of the access for multiple disks
Breath, wherein the processor is connect with the multiple disk;
S102: being based on first access information, determine the first disk, which is first preset time
The disk of access is not received in section in the multiple disk;
S103: control the first disk power down.
In the embodiment of the present application, specifically: by taking multiple disks include disk A, disk B, disk C and disk D as an example, place
Reason device is connect with disk A, disk B, disk C and disk D respectively, and detection is directed to the access of multiple disks within a preset period of time,
And obtain the first access information.
In the embodiment of the present application, since detected first parameter is different, the specific implementation of step S102 is not
Together, specifically, step S102 at least has following two specific implementation, but both implementations are not limited only to:
First way: according to the corresponding relationship of preset interface class and disk, determined from the multiple disk with
The corresponding disk for receiving access of the interface class and the first disk for not receiving access.
Disk can receive the access by particular types interface, and when there is the access for disk to occur, detection is connect
The interface class of access is received, and then can determine the disk of access needle pair according to interface class.In the embodiment of the present application, after
It is continuous to continue to use above example, specifically: the access for passing through A class interface is received with disk A, disk B receives the visit for passing through B class interface
It asks, disk C is received through the access of C class interface, for disk D receives the access by D class interface, when there is the visit for disk
When asking generation, detection receives the interface class of access, when detecting the interface for receiving access is A class interface, determines to access
For disk A, it can then determine that disk B, disk C and disk D are not received by access within a preset period of time.
The second way: according to the corresponding relationship of the interrupt number of the preset access and disk, from the multiple disk
The middle determination disk for receiving access corresponding with the interrupt number of the access and the first disk for not receiving access.
In the embodiment of the present application, specifically: with preset access interrupt number be 1 when, determine access needle to magnetic
Disk A;When the interrupt number of access is 2, determine access needle to disk B;When being 3 in the interrupt number of access, access needle pair is determined
Disk C;When the interrupt number of access is 4, for determining access needle to disk D.When there is the access for disk to occur, processing
Device detection obtains the interrupt number of access, then true according to the interrupt number detected when the interrupt number for determining access is 1 and 2
It makes disk A within a preset period of time and disk B receives access, so that it is determined that going out disk C and disk D within a preset period of time
It is not received by access.
In the specific implementation process, the uninevitable corresponding relationship of the interrupt number and disk of access, in above-mentioned implementation
Citing only for convenience of understand, the corresponding relationship between interrupt number and disk accessed in the specific application process can be according to reality
Border situation is arbitrarily arranged, here, in the embodiment of the present application with no restrictions.
After executing completion step S102, the method in the embodiment of the present application just executes step S103, it may be assumed that control bus
First output state of expander pin, so that Power Management Unit is based on first output state and cuts off the power and described the
The connection of one disk.
In the embodiment of the present application, specifically: a pin of bus extender respectively corresponds a disk, is determining
When disk is not received by access in preset time period, processor controls the output shape of bus extender pin corresponding with disk
State when Power Management Unit detects the output state of pin, is cut off the power the connection with disk according to the output state of pin.
For example, with the corresponding disk A of the pin 1 of bus extender, the corresponding disk B of pin 2, the corresponding disk C of pin 3, pin 4
Corresponding disk D, the corresponding disk of pin is power-up state when pin is high level output state, and pin is low level output state
When the corresponding disk of pin be power-down state for.When processor detects that disk C within a predetermined period of time and disk D do not connect
When receiving access, the pin 3 and pin 4 for controlling bus extender corresponding with disk C and disk D are low level output state,
At this point, Power Management Unit detect bus extender pin 3 and pin 4 be low level output state when, cutting disk C and
The connection of disk D and power supply.
In the specific implementation process, the output state of bus extender pin and to disk power on or the control of lower electricity between
Uninevitable corresponding relationship, the citing in above-mentioned implementation is only for convenience of understanding, bus extension in the specific application process
The output state of device pin and to disk power on or the control of lower electricity between corresponding relationship can arbitrarily set according to the actual situation
It sets, here, in the embodiment of the present application with no restrictions.
In order to make the disk for being in power-down state receive access after can recover immediately work, the side in the embodiment of the present application
Method can also execute following steps:
The processor detection obtains the second access information for being directed to the multiple disk access;
Based on second access information, the second disk for receiving access is determined;
When the second disk is power-down state, the second disk is waken up.
In the present embodiment, continue to continue to use above example, specifically: after control disk C and disk D power down, after
Continuous detection is determined corresponding with the second access information for the access of multiple disks when having detected the second access information
The disk of access needle pair, when determining access needle to disk C, the pin 3 of processor control bus expander and corresponding disk C
For high level output state, it is high level output that Power Management Unit detection, which obtains bus extender pin 3 corresponding with disk C,
When state, the connection of turn-on power and disk C wakes up disk C and restores to work normally.
Embodiment two
Referring to FIG. 2, the embodiment of the present application also provides a kind of electronic equipment, comprising:
Shell 201;
Multiple disks 202, it is disposed in the housing;
Power supply 203, it is disposed in the housing;
Processor 204, it is disposed in the housing, it connect, is used in the first preset time period with the multiple disk,
Detection obtains the first access information for being directed to the multiple disk access;Based on first access information, the first magnetic is determined
Disk, first disk are the disk for not receiving access in first preset time period in the multiple disk;Described in control
First disk power down;
Power Management Unit 205, disposed in the housing, with the power supply, the multiple disk, the processor connects
It connects.
Optionally, the processor is also used to:
After controlling the first disk power down, detection obtains the second access information for being directed to the multiple disk access;
Based on second access information, the second disk for receiving access is determined;
When the second disk is power-down state, the second disk is waken up.
Optionally, the processor is also used to:
Detection, which obtains, receives the interface class of the access and/or the interrupt number of the access as the first access information.
Optionally, the processor is also used to:
According to the corresponding relationship of the interrupt number and disk of preset interface class and/or the access, from the multiple magnetic
The disk for receiving access corresponding with the interrupt number of the interface class and/or the access is determined in disk and does not receive visiting
The first disk asked.
Optionally, the processor is also used to:
First output state of control bus expander pin, so that Power Management Unit is based on first output state
The connection cut off the power with first disk;
Second output state of control bus expander pin, so that the Power Management Unit is based on second output
The connection of the power supply Yu the power down disk is connected in state.
Embodiment three
Referring to FIG. 3, the embodiment of the present application also provides a kind of electronic equipment, comprising:
Detection unit 301, in the first preset time period, detection to obtain the first access for multiple disk access
Information;Based on first access information, the first disk is determined, which is described in first preset time period
The disk of access is not received in multiple disks;
Control unit 302 controls the first disk power down.
Optionally, the detection unit is also used to:
After controlling the first disk power down, detection obtains the second access information for being directed to the multiple disk access;
Based on second access information, the second disk for receiving access is determined;
Described control unit is also used to: when the second disk is power-down state, waking up the second disk.
Optionally, the detection unit is also used to:
Detection, which obtains, receives the interface class of the access and/or the interrupt number of the access as the first access information.
Optionally, the detection unit is also used to:
According to the corresponding relationship of the interrupt number and disk of preset interface class and/or the access, from the multiple magnetic
The disk for receiving access corresponding with the interrupt number of the interface class and/or the access is determined in disk and does not receive visiting
The first disk asked.
Optionally, described control unit is specifically used for:
First output state of control bus expander pin, so that Power Management Unit is based on first output state
The connection cut off the power with first disk;
Second output state of control bus expander pin, so that the Power Management Unit is based on second output
The connection of the power supply Yu the second disk is connected in state.
By one or more technical solutions in the embodiment of the present application, following one or more technology effects may be implemented
Fruit:
One, due to using in the first preset time period in technical solution in the embodiment of the present application, processor inspection
Survey the first access information for obtaining the access for multiple disks, wherein the processor is connect with the multiple disk;Based on institute
The first access information is stated, determines the first disk, first disk is in the multiple disk in first preset time period
The disk of access is not received;Control the technological means of the first disk power down.In this way, being united by processor to multiple disks
One management, detection obtains the access information for being directed to multiple disk access within a preset period of time, determines to be not received by access
Disk, to be not received by access disk carry out power down control.The above method and device provided by the invention solve existing
Have in technology that there are disks to have been at the higher technical problem of disk energy consumption caused by energized state.It realizes in no needle
Power down control is carried out to disk when to the access of disk, to reach the beneficial effect for saving disk energy consumption.
Two, due to using after controlling the first disk power down, institute in technical solution in the embodiment of the present application
It states processor detection and obtains the second access information for being directed to the multiple disk access;Based on second access information, determine
The second disk of access is received out;When the second disk is power-down state, the technological means of the second disk is waken up.
In this way, the access information for disk access can be continued to test after carrying out power down control to disk, it is based on access information
It determines the disk to be accessed, when the disk for determining to receive access is power-down state, then wakes up power down disk.It realizes
Real-time monitoring is directed to the access of disk, and the technology of disk normal work is recovered immediately when the access of power down disk when occurring being directed to
Effect.
Three, defeated using the first of control bus expander pin due in technical solution in the embodiment of the present application
It does well, so that the connection that Power Management Unit is cut off the power based on first output state with first disk;Control
Second output state of bus extender pin, so that the Power Management Unit is based on described in second output state conducting
The technological means that power supply is connect with the second disk.In this way, determining to carry out disk based on the access situation to disk
It powers on or lower electric control, and controls the output state of bus extender pin corresponding with disk, power supervisor receives always
Corresponding disk is controlled after the output state of line expander pin to power on or lower electricity, realize to disk power on or under it is automatically controlled
The technical effect of system.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Specifically, the corresponding computer program instructions of information processing method in the embodiment of the present application can be stored in
CD, hard disk, on the storage mediums such as USB flash disk, when the computer program instructions quilt corresponding with information processing method in storage medium
One electronic equipment reads or is performed, and includes the following steps:
In the first preset time period, processor detection obtains the first access information of the access for multiple disks,
In, which connect with the multiple disk;
Based on first access information, the first disk is determined, which is in first preset time period
The disk of access is not received in the multiple disk;
Control the first disk power down.
Optionally, after the corresponding computer program instructions of step " control the first disk power down " are performed,
Further include following steps:
The processor detection obtains the second access information for being directed to the multiple disk access;
Based on second access information, the second disk for receiving access is determined;
When the second disk is power-down state, the second disk is waken up.
Optionally, the corresponding computer program instructions of step " being based on first access information, determine the first disk "
When executed, specifically comprise the following steps:
According to the corresponding relationship of the interrupt number and disk of preset interface class and/or the access, from the multiple magnetic
The disk for receiving access corresponding with the interrupt number of the interface class and/or the access is determined in disk and does not receive visiting
The first disk asked.
Optionally, the corresponding computer program instructions of step " control the power down of the first disk " when executed, specifically
Include the following steps:
First output state of control bus expander pin, so that Power Management Unit is based on first output state
The connection cut off the power with first disk;
The corresponding computer program instructions of step " described to wake up the second disk " when executed, specifically include as follows
Step:
Second output state of control bus expander pin, so that the Power Management Unit is based on second output
The connection of the power supply Yu the second disk is connected in state.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (9)
1. a kind of information processing method, comprising:
In the first preset time period, processor detection obtains the first access information of the access for multiple disks, wherein should
Processor is connect with the multiple disk, and first access information specifically includes: receive the access interface class and/or
The interrupt number of the access;
Based on first access information, the first disk is determined, which is described in first preset time period
The disk of access is not received in multiple disks;
Control the first disk power down.
2. the method as described in claim 1, which is characterized in that after control the first disk power down, further includes:
The processor detection obtains the second access information of the access for the multiple disk;
Based on second access information, the second disk for receiving access is determined;
When the second disk is power-down state, the second disk is waken up.
3. the method as described in claim 1, which is characterized in that it is described to be based on first access information, determine the first magnetic
Disk specifically includes:
According to the corresponding relationship of the interrupt number and disk of preset interface class and/or the access, from the multiple disk
It determines the disk for receiving access corresponding with the interrupt number of the interface class and/or the access and does not receive access
First disk.
4. method according to claim 2, which is characterized in that control the first disk power down specifically includes:
First output state of control bus expander pin, so that Power Management Unit is cut off based on first output state
The connection of power supply and first disk;
It is described to wake up the second disk, it specifically includes:
Second output state of control bus expander pin, so that the Power Management Unit is based on second output state
The connection of the power supply Yu the second disk is connected.
5. a kind of electronic equipment, comprising:
Shell;
Multiple disks, it is disposed in the housing;
Power supply, it is disposed in the housing;
Processor, it is disposed in the housing, it is connect with the multiple disk, in the first preset time period, detection to be obtained
The first access information for the multiple disk access is obtained, first access information specifically includes: receiving the access
Interface class and/or the interrupt number of the access;Based on first access information, the first disk is determined, first disk
For the disk for not receiving access in the multiple disk in first preset time period;Control the first disk power down;
Power Management Unit, it is disposed in the housing, with the power supply, the multiple disk, the processor connection.
6. electronic equipment as claimed in claim 5, which is characterized in that the processor is also used to:
After controlling the first disk power down, detection obtains the second access information of the access for the multiple disk;
Based on second access information, the second disk for receiving access is determined;
When the second disk is power-down state, the second disk is waken up.
7. electronic equipment as claimed in claim 5, which is characterized in that the processor is also used to:
According to the corresponding relationship of the interrupt number and disk of preset interface class and/or the access, from the multiple disk
It determines the disk for receiving access corresponding with the interrupt number of the interface class and/or the access and does not receive access
First disk.
8. electronic equipment as claimed in claim 6, which is characterized in that the processor is also used to:
First output state of control bus expander pin, so that Power Management Unit is cut off based on first output state
The connection of power supply and first disk;
Second output state of control bus expander pin, so that the Power Management Unit is based on second output state
The connection of the power supply Yu the second disk is connected.
9. a kind of electronic equipment, comprising:
Detection unit, in the first preset time period, detection to obtain the first access information for being directed to multiple disk access, institute
It states the first access information to specifically include: receiving the interface class of the access and/or the interrupt number of the access;Based on described
One access information determines the first disk, which is not connect in the multiple disk in first preset time period
Receive the disk of access;
Control unit controls the first disk power down.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510634183.7A CN105320246B (en) | 2015-09-29 | 2015-09-29 | A kind of information processing method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510634183.7A CN105320246B (en) | 2015-09-29 | 2015-09-29 | A kind of information processing method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105320246A CN105320246A (en) | 2016-02-10 |
CN105320246B true CN105320246B (en) | 2019-01-15 |
Family
ID=55247796
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510634183.7A Active CN105320246B (en) | 2015-09-29 | 2015-09-29 | A kind of information processing method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105320246B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107728773A (en) * | 2017-10-17 | 2018-02-23 | 北京腾凌科技有限公司 | Magnetic disc control method and device |
CN110998510B (en) * | 2018-06-27 | 2021-02-23 | 华为技术有限公司 | Storage system and method for switching working modes of storage system |
CN114489479B (en) * | 2021-12-23 | 2023-06-09 | 北京云宽志业网络技术有限公司 | Method and device for powering up and powering down data storage disk |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090055520A1 (en) * | 2007-08-23 | 2009-02-26 | Shunya Tabata | Method for scheduling of storage devices |
CN101673191A (en) * | 2009-09-28 | 2010-03-17 | 成都市华为赛门铁克科技有限公司 | Data writing method and device as well as data memory system |
CN102053697A (en) * | 2009-11-06 | 2011-05-11 | 联想(北京)有限公司 | Hard disk control method, device and computer |
CN102681650A (en) * | 2012-05-10 | 2012-09-19 | 北京邦诺存储科技有限公司 | Power supply control energy-saving method and corresponding storage system thereof |
CN103576835A (en) * | 2013-10-30 | 2014-02-12 | 华为技术有限公司 | Data manipulation method and device for sleep disk |
CN104246655A (en) * | 2012-04-27 | 2014-12-24 | 索尼公司 | Information processing device, information processing method, and program |
-
2015
- 2015-09-29 CN CN201510634183.7A patent/CN105320246B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090055520A1 (en) * | 2007-08-23 | 2009-02-26 | Shunya Tabata | Method for scheduling of storage devices |
CN101673191A (en) * | 2009-09-28 | 2010-03-17 | 成都市华为赛门铁克科技有限公司 | Data writing method and device as well as data memory system |
CN102053697A (en) * | 2009-11-06 | 2011-05-11 | 联想(北京)有限公司 | Hard disk control method, device and computer |
CN104246655A (en) * | 2012-04-27 | 2014-12-24 | 索尼公司 | Information processing device, information processing method, and program |
CN102681650A (en) * | 2012-05-10 | 2012-09-19 | 北京邦诺存储科技有限公司 | Power supply control energy-saving method and corresponding storage system thereof |
CN103576835A (en) * | 2013-10-30 | 2014-02-12 | 华为技术有限公司 | Data manipulation method and device for sleep disk |
Also Published As
Publication number | Publication date |
---|---|
CN105320246A (en) | 2016-02-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103376859B (en) | The control method of chip performance and device | |
KR101562448B1 (en) | Method and system for dynamically controlling power to multiple cores in a multicore processor of a portable computing device | |
CN107851042B (en) | Using command stream hints to characterize GPU workload and power management | |
CN102597912B (en) | Coordinating device and application break events for platform power saving | |
CN109564454B (en) | Power-based device thermal management | |
CN105320246B (en) | A kind of information processing method and electronic equipment | |
EP3036598B1 (en) | Power signal interface | |
CN111142644A (en) | Hard disk operation control method and device and related components | |
CN104615415A (en) | Information processing method and electronic equipment | |
CN105808409B (en) | A kind of information processing method and electronic equipment | |
CN103793310A (en) | Method for monitoring server main board in real time | |
CN102279784A (en) | Electronic equipment and method and system for reminding user of use condition of system resource of electronic equipment | |
US9703364B2 (en) | Rotational graphics sub-slice and execution unit power down to improve power performance efficiency | |
US8782444B2 (en) | Circuit protection system and method for a circuit utilizing chip type power supply | |
WO2017198112A1 (en) | Frequency switching method and apparatus, and computer readable storage medium | |
TW201336194A (en) | Electronic device and power-fail protection apparatus and method used in the electronic device | |
WO2016180241A1 (en) | Energy-conservation management method and apparatus for terminal and terminal | |
CN106886477B (en) | Method and device for setting monitoring threshold in cloud system | |
CN103853311A (en) | Low power application execution on data processing device having low graphics engine utilization | |
CN103164223B (en) | Method of intelligent terminal capable of achieving alarm clock and intelligent terminal under shutdown state | |
CN103235750A (en) | Unattended control system and method for computer | |
CN103543982A (en) | Clock frequency management method and mobile device | |
CN101329594A (en) | Method for reducing notebook computer battery-exchanging working time and battery detector | |
US20140337656A1 (en) | Energy management system | |
CN102681650B (en) | The storage system of a kind of Energy control power-economizing method and correspondence thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |