摘要 |
A communication device communicating in conformance with a prescribed communication standard includes a storage storing at least a first virtual program that includes a program implementing a first function of the communication device and a second virtual program that includes a program implementing a second function of the communication device, an executer configured to successively execute the first and second virtual programs, and a switching controller configured to read at least a part of either one of the first and second virtual programs from the storage, to store the part of either one of the first and second virtual programs into a memory of the executer, to execute the part of either one of the first and second virtual programs in the executer, after completion of the processing of the one virtual program, to delete at least a part of the one virtual program from the memory in accordance with free area in the memory, to read at least a part of the other virtual program of the first and second virtual programs from the storage, to store the part of the other virtual program into the memory of the executer, and to execute the part of the other virtual program in the executer, thereby, to switch the first and second virtual programs to be executed in the executer. |