Method, device and electronic device for controlling storage device
A storage device and control storage technology, applied in the direction of electrical digital data processing, response error generation, instruments, etc., can solve the problems of storage device damage, storage device reset and failure to work, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0040] see image 3 , image 3 It is a schematic flowchart of a method for controlling a storage device provided by one embodiment of the present invention, the method is applied to the storage device described above, and the method for controlling the storage device includes:
[0041] 210. When the storage device is reset, determine whether the storage device satisfies the abnormal power-on condition, and if so, perform step 220, and if not, perform step 240.
[0042] The above-mentioned "resetting of the storage device" may include power-on reset, RES reset and low-voltage reset, etc., wherein, the power-on reset and RES reset are artificial normal power-on resets, which are realized through an externally connected reset circuit; The automatic reset can be realized by connecting the voltage detection chip to the RES pin of the storage device.
[0043] It should be noted that: when the storage device is reset, it means that the storage device is powered on again, but the st...
Embodiment 2
[0057] see Figure 4 , Figure 4 A schematic flowchart of a method for controlling a storage device provided in another embodiment of the present invention, the method for controlling a storage device includes:
[0058] 310. When the storage device is reset, determine whether the latest consecutive abnormal power-on times of the storage device is greater than or equal to a preset threshold, where the preset threshold is a natural number greater than zero.
[0059] 320. If the number of recent continuous abnormal power-on times is greater than or equal to a preset threshold, determine whether the current power consumption level of the storage device is the lowest level;
[0060] 330. If it is not the lowest level, reduce the power consumption level of the storage device, and make the storage device perform a power-on operation at the reduced power consumption level;
[0061] 340. If it is the lowest level, output an alarm signal.
[0062] When the power consumption level of ...
Embodiment 3
[0067] see Figure 5 , Figure 5 A schematic flowchart of a method for controlling a storage device provided in another embodiment of the present invention, the method for controlling a storage device includes:
[0068] 410: Start resetting the storage device;
[0069] 420: Determine whether the power-on state of the storage device is power-on or power-on completed, if it is power-on, execute step 430, and if it is power-on complete, execute step 460;
[0070]430: Increase the number of recent continuous abnormal power-on times by a preset value;
[0071] 440: Determine whether the latest consecutive abnormal power-on times of the storage device are greater than or equal to a preset threshold; if yes, perform step 450; if not, perform step 460;
[0072] 450: reduce the power consumption level of the storage device;
[0073] 460: before the storage device performs the power-on operation, mark the power-on state of the storage device as being powered on; After step 420, bef...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


