Patent ID: 8059098

Claim:
An electronic device that automatically selectively loads and unloads programs respectively enabling the use of a physical input interface and a virtual input interface, the electronic device comprising: a display unit, changeable between a first position blocking access to the physical input interface and a second position allowing access to the physical input interface, wherein the display unit sends a first trigger signal at the first position, and sends a second trigger signal at the second position; a storage unit, for storing a virtual input interface program that displays the virtual input interface and enables use of the virtual input interface and a physical input interface program that enables use of the physical input interface; a memory unit, for loading an operating system, the virtual input interface, and the physical input interface; an embedded control unit, electrically connected to the display unit, the storage unit, and the memory unit, for receiving and detecting the first or the second trigger signal sent by the display unit when it changes to a corresponding position; and a management program that is configured to respond to detection of a first trigger signal by loading the virtual input interface program into the memory unit and removing the physical input interface program from the memory unit, and to respond to detection of the second trigger signal by loading the physical input interface program into the memory unit and removing the virtual input interface program from the memory unit; wherein the electronic device is configured to maintain either the virtual input interface program or the physical input interface program, but not both simultaneously, in the memory unit.