Electronic device capable of protecting USB ports and method thereof
AssigneesHONG FU JIN PRECISION INDUSTRY (ShenZhen) CO., LTD., Hon Hai Precision Industry Co., Ltd.
InventorKui-Jun Wang
Life of this patent
Estimating the term…
Abstract
A method of protecting an electronic device's USB ports is provided. The method includes: determining whether an external device is connected to a USB port of the electronic device; determining which driver is for driving the external device connected to the USB port according to a primary ID of the external device; determining whether the external device is currently being driven by the driver; displaying an icon corresponding to the external device if the external device is not currently being driven by the driver; and running the driver to drive the external device when the icon is clicked. A related electronic device is also provided.
Claims14
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.
A method of protecting an electronic device's Universal Serial Bus (USB) ports, the method comprising:
- determining whether an external device is connected to a USB port of the electronic device at predetermined time intervals;
- reading a primary Identification (ID) of the external device connected to the USB port of the electronic device when the external device is determined to be connected to the one of the USB ports, wherein the primary ID corresponds to a driver for driving the external device;
- determining a driver needed for driving the external device according to the primary ID;
- determining whether the external device is currently being driven by the driver;
- 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;
- starting up the driver to drive the external device when the icon is clicked by a user;
- and
- 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.
Dependencies are inferred from the claim text.