Patent ID: 8081451

Claim:
A port locking device, for being fixed to an electronic device, the electronic device comprising at least one port and a processing unit, the port locking device comprising a keyhole and a key; the keyhole comprising: a supporter comprising a support stand and an elastic element, the support stand being connected to the electronic device, one end of the elastic element being fixed to the support stand; a port connector comprising a main body and a first recess, the first recess and the main body forming an annular wall; a first magnetic object being placed to the first recess; and at least one port switch being connected to the annular wall, comprising at least one switch part, each of the at least one switch part further comprising a magnetic metal, when the port of the electronic device is unlocked, the at least one port switch being not in the same plane with the first magnetic object, the at least one magnetic metal connecting at least one port and the processing unit of the electronic device; and the key comprising: a first stopper and a post, the post is magnetic; when locking the port of the electronic device, the post of the key being received in the elastic element to make the stopper resist the elastic element, after the key being pressed downwards to a same plane which the port switch positions, the elastic element being deformed and the post magnetizing the first magnetic object placed in the port connector, the key being rotated to make the first magnetic object magnetize the magnetic metal to cut off the connection between the port and the processing unit of the electronic device, thus the port being locked.