IP Library Granted Patent US 10,942,560
Granted Patent B2
US 10,942,560 · App. 15/846,389 · Granted Mar 9, 2021

Method of controlling hard disk and electronic device

Inventors: Chen Wang (Shanghai, CN); Ao Sun (Shanghai, CN); Gary Jialei Wu (Shanghai, CN); Lu Lei (Shanghai, CN); Peter Jie Song (Shanghai, CN)
Assignee: EMC IP Holding Company LLC
G06F1/3268G06F1/3221G06F3/0625G06F17/11G11B19/26G06F3/0616
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,942,560
App. No.
15/846,389
Granted
Mar 9, 2021
Kind
B2
Abstract

A method of controlling a hard disk and an electronic device, comprising: determining a number of power cycles that have been completed by the hard disk at a time point within a predetermined period of time, a power cycle including a total duration of the hard disk in a spin-on mode and an immediately neighboring spin-off mode; and in response to the number of power cycles that have been completed being below an upper limit number for the power cycles of the hard disk in the predetermined period of time, determining remaining time of the predetermined period of time starting from the time point, and determining, based on the remaining time, the number of power cycles that have been completed, and the upper limit number, a threshold idle duration for controlling the hard disk to enter the spin-off mode.

Claims (149)

1. A method of controlling a hard disk, comprising:

determining a number of power cycles that have been completed by the hard disk at a time point within a predetermined period of time, a power cycle including a total duration when the hard disk is in a spin-on mode and an immediately neighboring spin-off mode;

in response to the number of power cycles that have been completed being below an upper limit number for the power cycles of the hard disk in the predetermined period of time,

determining remaining time of the predetermined period of time starting from the time point, and

determining, based on the remaining time, the number of power cycles that have been completed, and the upper limit number, a threshold idle duration for controlling the hard disk to enter the spin-off mode; and

in response to the determined threshold idle duration being below a preset threshold idle duration, using the preset threshold idle duration for controlling the hard disk to enter the spin-off mode;

wherein the threshold idle duration is determined based on:

I

(

t

)

=

D

-

t

λ

(

P

-

c

(

t

)

)

,

wherein I(t) represents the threshold idle duration at the time point, D represents a total duration of the predetermined period of time, t represents a duration from a beginning of the predetermined period of time to the time point, λ represents a coefficient, P represents the upper limit number, and c(t) represents the number of power cycles that have been completed at the time point.

2. The method according to claim 1 , further comprising:

after the threshold idle duration has been set and in response to an updated number of power cycles that have been completed being equal to the upper limit number, prohibiting the hard disk from entering the spin-off mode for the remaining time.

3. The method according to claim 2 , wherein prohibiting the hard disk from entering the spin-off mode for the remaining time comprises setting the threshold idle duration to be greater than a duration of the remaining time.

4. The method according to claim 1 , further comprising:

determining an initial value of the threshold idle duration based on:

I

(

0

)

=

D

λ

P

,

wherein I(0) represents the initial value, D represents a total duration of the predetermined period of time, λ represents a coefficient, and P represents the upper limit number.

5. The method according to claim 1 , wherein a value of the coefficient λ is configurable.

6. The method according to claim 1 , wherein a value of the coefficient is greater than or equal to a natural constant e.

7. The method according to claim 1 , wherein a threshold idle duration value is used to control when the hard disk enters the spin-off mode; and

wherein using the preset threshold idle duration includes:

setting the threshold idle duration value based on the preset threshold idle duration instead of setting the threshold idle duration value based on the determined threshold idle duration.

8. The method according to claim 7 , further comprising:

after the threshold idle duration is determined and prior to setting the threshold idle duration value based on the preset threshold idle duration, performing a comparison operation which indicates that the determined threshold idle duration is shorter than the preset threshold idle duration.

9. An electronic device, comprising:

a processor; and

a memory that is coupled to the processor and stores instructions to be executed by the processor, the instructions, when executed by the processor, causing the device to perform acts including:

determining a number of power cycles that have been completed by a hard disk at a time point within a predetermined period of time, a power cycle including a total duration when the hard disk is in a spin-on mode and an immediately neighboring spin-off mode;

in response to the number of power cycles that have been completed being below an upper limit number for the power cycles of the hard disk in the predetermined period of time,

determining remaining time of the predetermined period of time starting from the time point, and

determining, based on the remaining time, the number of power cycles that have been completed, and the upper limit number, a threshold idle duration for controlling the hard disk to enter the spin-off mode, and

in response to the determined threshold idle duration being below a preset threshold idle duration, using the preset threshold idle duration for controlling the hard disk to enter the spin-off mode;

wherein the threshold idle duration is determined based on:

I

(

t

)

=

D

-

t

λ

(

P

-

c

(

t

)

)

,

wherein I(t) represents the threshold idle duration at the time point, D represents a total duration of the predetermined period of time, t represents a duration from a beginning of the predetermined period of time to the time point, λ represents a coefficient, P represents the upper limit number, and c(t) represents the number of power cycles that have been completed at the time point.

10. The electronic device according to claim 9 , wherein the acts further include:

after the threshold idle duration has been set and in response to an updated number of power cycles that have been completed being equal to the upper limit number, prohibiting the hard disk from entering the spin-off mode for the remaining time.

11. The electronic device according to claim 10 , wherein prohibiting the hard disk from entering the spin-off mode for the remaining time comprises setting the threshold idle duration to be greater than a duration of the remaining time.

12. The electronic device according to claim 9 , wherein the acts

further include:

determining an initial value of the threshold idle duration based on:

I

(

0

)

=

D

λ

P

,

wherein I(0) represents the initial value, D represents a total duration of the predetermined period of time, λ represents a coefficient, and P represents the upper limit number.

13. The electronic device according to claim 9 , wherein a value of the coefficient λ is configurable.

14. The electronic device according to claim 9 , wherein a value of the coefficient is greater than or equal to a natural constant e.

15. The electronic device according to claim 9 , wherein a threshold idle

duration value is used to control when the hard disk enters the spin-off mode; and

wherein using the preset threshold idle duration includes:

setting the threshold idle duration value based on the preset threshold idle duration instead of setting the threshold idle duration value based on the determined threshold idle duration.

16. The electronic device according to claim 15 , further comprising:

after the threshold idle duration is determined and prior to setting the threshold idle duration value based on the preset threshold idle duration, performing a comparison operation which indicates that the determined threshold idle duration is shorter than the preset threshold idle duration.

17. A computer program product for controlling a hard disk, the computer program product comprising:

a non-transitory computer readable medium encoded with computer-executable program code for controlling the hard disk, the code configured to enable the execution of:

determining a number of power cycles that have been completed by the hard disk at a time point within a predetermined period of time, a power cycle including a total duration when the hard disk is in a spin-on mode and an immediately neighboring spin-off mode;

in response to the number of power cycles that have been completed being below an upper limit number for the power cycles of the hard disk in the predetermined period of time,

determining remaining time of the predetermined period of time starting from the time point, and

determining, based on the remaining time, the number of power cycles that have been completed, and the upper limit number, a threshold idle duration for controlling the hard disk to enter the spin-off mode; and

in response to the determined threshold idle duration being below a preset threshold idle duration, using the preset threshold idle duration for controlling the hard disk to enter the spin-off mode;

wherein the threshold idle duration is determined based on:

I

(

t

)

=

D

-

t

λ

(

P

-

c

(

t

)

)

,

wherein I(t) represents the threshold idle duration at the time point, D represents a total duration of the predetermined period of time, t represents a duration from a beginning of the predetermined period of time to the time point, λ represents a coefficient, P represents the upper limit number, and c(t) represents the number of power cycles that have been completed at the time point.

18. The computer program product according to claim 17 , wherein the code is further configured to enable the execution of:

after the threshold idle duration has been set and in response to an updated number of power cycles that have been completed being equal to the upper limit number, prohibiting the hard disk from entering the spin-off mode for the remaining time.

19. The computer program product according to claim 18 , wherein prohibiting the hard disk from entering the spin-off mode for the remaining time comprises setting the threshold idle duration to be greater than a duration of the remaining time.

20. The computer program product according to claim 17 , wherein a threshold idle duration value is used to control when the hard disk enters the spin-off mode; and wherein using the preset threshold idle duration includes:

setting the threshold idle duration value based on the preset threshold idle duration instead of setting the threshold idle duration value based on the determined threshold idle duration.

21. The computer program product according to claim 20 , wherein the code is further configured to enable the execution of:

after the threshold idle duration is determined and prior to setting the threshold idle duration value based on the preset threshold idle duration, performing a comparison operation which indicates that the determined threshold idle duration is shorter than the preset threshold idle duration.

Assignments (8)
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (053546/0001) Recorded Jun 23, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: DELL MARKETING L.P. (ON BEHALF OF ITSELF AND AS SUCCESSOR-IN-INTEREST TO CREDANT TECHNOLOGIES, INC.); DELL INTERNATIONAL L.L.C.; DELL PRODUCTS L.P.; DELL USA L.P.; EMC CORPORATION; DELL MARKETING CORPORATION (SUCCESSOR-IN-INTEREST TO FORCE10 NETWORKS, INC. AND WYSE TECHNOLOGY L.L.C.); EMC IP HOLDING COMPANY LLC
Reel/Frame 071642/0001 →
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (045482/0131) Recorded May 20, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: DELL PRODUCTS L.P.; EMC CORPORATION; EMC IP HOLDING COMPANY LLC; DELL MARKETING CORPORATION (SUCCESSOR-IN-INTEREST TO WYSE TECHNOLOGY L.L.C.)
Reel/Frame 061749/0924 →
RELEASE OF SECURITY INTEREST AT REEL 045482 FRAME 0395 Recorded Nov 2, 2021
From: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
To: DELL PRODUCTS L.P.; EMC CORPORATION; EMC IP HOLDING COMPANY LLC; WYSE TECHNOLOGY L.L.C.
Reel/Frame 058298/0314 →
SECURITY AGREEMENT Recorded Apr 22, 2020
From: CREDANT TECHNOLOGIES INC.; DELL INTERNATIONAL L.L.C.; DELL MARKETING L.P.; DELL PRODUCTS L.P.; DELL USA L.P.; EMC CORPORATION; FORCE10 NETWORKS, INC.; WYSE TECHNOLOGY L.L.C.; EMC IP HOLDING COMPANY LLC
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A.
Reel/Frame 053546/0001 →
SECURITY AGREEMENT Recorded Mar 21, 2019
From: CREDANT TECHNOLOGIES, INC.; DELL INTERNATIONAL L.L.C.; DELL MARKETING L.P.; DELL PRODUCTS L.P.; DELL USA L.P.; EMC CORPORATION; FORCE10 NETWORKS, INC.; WYSE TECHNOLOGY L.L.C.; EMC IP HOLDING COMPANY LLC
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A.
Reel/Frame 049452/0223 →
PATENT SECURITY AGREEMENT (NOTES) Recorded Mar 1, 2018
From: DELL PRODUCTS L.P.; EMC CORPORATION; EMC IP HOLDING COMPANY LLC; WYSE TECHNOLOGY L.L.C.
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS COLLATERAL AGENT
Reel/Frame 045482/0131 →
PATENT SECURITY AGREEMENT (CREDIT) Recorded Mar 1, 2018
From: DELL PRODUCTS L.P.; EMC CORPORATION; EMC IP HOLDING COMPANY LLC; WYSE TECHNOLOGY L.L.C.
To: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH, AS COLLATERAL AGENT
Reel/Frame 045482/0395 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 2, 2018
From: WANG, CHEN; SUN, AO; WU, GARY JIALEI; LEI, LU; SONG, PETER JIE
To: EMC IP HOLDING COMPANY LLC
Reel/Frame 044969/0883 →
Priority Claims (1)
CN 201611192952.3 · Dec 21, 2016 · national
Continuity (1)
Related Publication 20180210537A1 · Jul 26, 2018