METHOD FOR ESTABLISHING CONNECTION TO EXTERNAL DEVICE VIA USB INTERFACE, AND ELECTRONIC DEVICE THEREFOR

    公开(公告)号:US20200167303A1

    公开(公告)日:2020-05-28

    申请号:US16636764

    申请日:2018-08-22

    Abstract: An electronic device according to an embodiment of the present invention comprises: a universal serial bus (USB) interface; a processor electrically connected to the USB interface; and a memory electrically connected to the processor, wherein the memory may store instructions configured to, when executed, cause the processor to: enter a security mode; in the security mode, receive, from an external device connected to the electronic device via the USB interface, a USB class code corresponding to the external device; determine whether the USB class code is included in a white list of connectable devices allowed to be connected to the electronic device in the security mode; and control a communication connection between the external device and the electronic device according to whether the USB class code is included in the white list. Other embodiments are also possible.

Patent Agency Ranking