Patent ID: 8135877
Filing Date: 2012-03-13
Classification: G06F

Abstract:
1. An electronic device capable of protecting Universal Serial Bus (USB) ports, comprising: at least one USB port; a storage configured for storing at least one driver, wherein the driver is for driving at least one type of external device; a detecting module configured for determining whether an external device is connected to one of the at least one USB port of the electronic device at predetermined time intervals; a primary Identification (ID) reading module configured for reading a primary ID of the external device which is connected to the USB port of the electronic device, wherein the primary ID corresponds to a driver for driving the external device; a driver determining module configured for determining the driver for driving the external device according to the primary ID and determining whether the external device is currently being driven by the driver; a display processing module configured for displaying an icon corresponding to the external device on a display unit of the electronic device if the external device is not currently being driven by the driver, and determining whether the icon is clicked by a user; and a driving module configured for starting up the driver to drive the external device if the icon is clicked by the user, wherein, the display processing module is further configured for displaying a special icon on the display unit, the special icon representing external devices connected to the USB ports of the electronic device that are not currently being driven, and icons corresponding to the non-driven external devices are displayed on the display unit when the special icon is clicked.