IP Library › Granted Patent US 9,189,434
Granted Patent B2
US 9,189,434 · App. 14/286,100 · Granted Nov 17, 2015

Universal serial bus device and method for controlling an idle-delay time thereof

Inventor: Yul Gon Kim (Seoul, KR)
Assignee: SAMSUNG ELECTRONICS CO., LTD.
G06F13/32
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 9,189,434
App. No.
14/286,100
Granted
Nov 17, 2015
Kind
B2
Abstract

A universal serial bus (USB) host device and a method of operating the same are provided. The method includes starting a first data transfer in an on-state, entering a suspend state when an idle-delay time elapses after the first data transfer is completed, making a transition from the suspend state to the on-state after performing a resuming operation when a second data transfer is requested, and dynamically controlling the idle-delay time based on a compared result of a current miss rate and at least two predetermined miss rates.

Claims (51)

1. A method of operating a universal serial bus (USB) host device, the method comprising:

starting a first data transfer in an on-state;

entering a suspend state when an idle-delay time elapses after the first data transfer is completed;

making a transition from the suspend state to the on-state after performing a resuming operation when a second data transfer is requested; and

controlling the idle-delay time based on a compared result of a current miss rate and at least two predetermined miss rates,

wherein the current miss rate is obtained based on a current suspend time in the suspend state,

wherein the current suspend time is an elapsed period until a transition from the suspend state to the on-state after a transition from the on-state to the suspend state,

wherein the controlling of the idle-delay time comprises:

comparing the current suspend time with a predetermined minimum suspend time;

counting a miss when the current suspend time is equal to or smaller than the minimum suspend time; and

counting a hit when the current suspend time is greater than the minimum suspend time, and

wherein the current miss rate is a ratio of a number of counted misses to a total number of counted misses and hits.

2. The method of claim 1 , wherein the controlling of the idle-delay time comprises increasing the idle-delay time when the current miss rate is equal to or greater than a first miss rate among the at least two predetermined miss rates.

3. The method of claim 2 , wherein the controlling of the idle-delay time further comprises decreasing the idle-delay time when the current miss rate is smaller than a second miss rate among the at least two predetermined miss rates, and

wherein the second miss rate is smaller than the first miss rate.

4. The method of claim 2 , wherein the first miss rate is 50%.

5. The method of claim 3 , wherein the second miss rate is 10%.

6. The method of claim 1 , wherein the controlled idle-delay time is applied to a next transition from the on-state to the suspend state.

7. A universal serial bus (USB) host device comprising:

a host control driver configured to manage communication with a USB peripheral device and a client application of the USB host device;

a USB driver configured to perform a data transfer with one of the host control driver and the client application, and to measure a time stamp when the data transfer is performed; and

a power manager configured to control the idle-delay time based on a compared result of a current miss rate and at least two predetermined miss rates,

wherein the current miss rate is determined by comparing a current suspend time with a predetermined minimum suspend time,

wherein the current suspend time is an elapsed period until a transition from a suspend state to an on-state after a transition from the on-state to the suspend state, and

wherein the current miss rate is obtained by:

counting a miss when the current suspend time is equal to or smaller than the minimum suspend time;

counting a hit when the current suspend time is greater than the minimum suspend time; and

calculating a ratio of a number of counted misses to a total number of counted misses and counted hits.

8. The USB host device of claim 7 , wherein the power manager comprises:

an autosuspend timer configured to report an expiry time when a predetermined autosuspend time elapses after the data transfer starts; and

a state detector configured to transmit a suspend mode notification signal to the host control driver when the autosuspend timer expires, and to transmit an on-state notification signal to the autosuspend timer after performing a resuming operation when the data transfer request is received from the host control driver.

9. The USB host device of claim 7 , wherein the power manager comprises a first filter configured to store a first miss rate among the at least two predetermined miss rates, and

wherein the power manager is configured to increase the idle-delay time when the current miss rate is equal to or greater than the first miss rate.

10. The USB host device of claim 9 , wherein the first miss rate is 50%.

11. The USB host device of claim 9 , wherein the power manager further comprises a second filter configured to store a second miss rate smaller than the first miss rate among the at least two predetermined miss rates,

wherein the power manager is configured to decrease the idle-delay time when the current miss rate is smaller than the second miss rate, and

wherein the second miss rate is smaller than the first miss rate.

12. The USB host device of claim 7 , wherein the controlled idle-delay time is applied to a next transition from the on-state to the suspend state.

13. The USB host device of claim 7 , wherein the USB driver comprises a USB packet tracer configured to record the time stamp during the data transfer between the client application and the host control driver.

14. A method of operating a universal serial bus (USB) host device, the method comprising:

starting a first data transfer of a plurality of data transfers in an on-state;

entering a suspend state when an idle-delay time elapses after the first data transfer is completed;

making a transition from the suspend state to the on-state after a resuming time when a second data transfer of the plurality of data transfers is requested; and

controlling the idle-delay time based on intervals between the plurality of data transfers,

wherein the controlling of the idle-delay time comprises using a compared result of a current miss rate and at least two predetermined miss rates,

wherein the current miss rate is determined by comparing a current suspend time with a predetermined minimum suspend time, and

wherein the current suspend time is an elapsed period until a transition from the suspend state to the on-state after a transition from the on-state to the suspend state.

15. The method of claim 14 , the controlling of the idle-delay time comprises:

increasing the idle-delay time when the current miss rate is equal to or greater than a first miss rate among the at least two predetermined miss rates; and

decreasing the idle-delay time when the current miss rate is smaller than a second miss rate among the at least two predetermined miss rates,

wherein the second miss rate is smaller than the first miss rate.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 23, 2014
From: KIM, YUL GON
To: SAMSUNG ELECTRONICS CO., LTD.
Reel/Frame 033012/0595 →
Priority Claims (1)
KR 10-2013-0061302 · May 29, 2013 · national
Continuity (1)
Related Publication 20140359176A1 · Dec 4, 2014