Patent ID: 8751057

Claim:
A computing device, comprising: a storage system; a central processing unit (CPU); a thermal sensor to sense a CPU temperature of the CPU; a fan; and at least one processor to execute one or more programs stored in the storage system, the one or more programs comprising: a parameter setting module operable to set a maximum temperature Tmax of the CPU, and set an initial cooling location, a swiveling angle, an initial rotational speed, and a preset cooling time of the fan, and a maximum rotational speed Nmax and an increment of a rotational speed of the fan; a temperature detection module operable to detect a first CPU temperature TN 1 using the thermal sensor, and determine whether TN 1 is less than Tmax; a fan control module operable to control the fan to swivel from an angle corresponding to the initial location to an angle corresponding to a new cooling location according to the swiveling angle of the fan to cool the CPU according to the initial rotational speed if TN 1 is greater than Tmax, and calculate a cooling time of the fan at the initial rotational speed; the temperature detection module further operable to detect a second CPU temperature TN 2 using the thermal sensor if the cooling time of the fan at the initial rotational speed is equal to the preset cooling time, and determine whether TN 2is less than Tmax; the fan control module further operable to control the fan to swivel from the angle correspond to the new cooling location to the angle corresponding to the initial cooling location according to the swiveling angle of the fan if TN 2 is less than Tmax; the fan control module is further operable to increase a current rotational speed of the fan according to the increment of the rotational speed to obtain an increased rotational speed of the fan if TN 2 is greater than Tmax, determine whether the increased rotational speed is less than Nmax, and control the fan to cool the CPU according to the increased rotational speed if the increased rotational speed is less than Nmax; the temperature detection module is further operable to detect a third CPU temperature TN 3 using the thermal sensor if a cooling time of the fan at the increased rotational speed is equal to the preset cooling time; and the fan control module is further operable to decrease a current rotational speed of the fan to be equal to the initial rotational speed and control the fan to swivel from the angle corresponding to the new cooling location to the angle corresponding to the initial cooling location according to the swiveling angle of the fan if TN 3 is less than Tmax.