Patent ID: 8011011

Claim:
A data processing apparatus for processing data stored in a removable storage medium, the data processing apparatus comprising: a storage unit configured to store data information; an inputting unit configured to input a login instruction to login a user to the data processing apparatus and a logout instruction to logout the user from the data processing apparatus; a first execution unit configured to execute a logout process of a user corresponding to the logout instruction in a case where the inputting unit inputs the logout instruction; a first judging unit configured to judge whether the removable storage medium of the user corresponding to the logout instruction remains loaded in the data processing apparatus; a first controlling unit configured to, in the case where the first judging unit judges that the removable storage medium of the user corresponding to the logout instruction remains loaded in the data processing apparatus when the inputting unit inputs the logout instruction, store in the storage unit the data stored in the removable storage medium of the user corresponding to the logout instruction, so as to be associated with the user corresponding to the logout instruction, and delete the data from the removable storage medium; a second execution unit configured to execute a login process of a user corresponding to the login instruction in a case where the inputting unit inputs the login instruction; a second judging unit configured to judge whether the removable storage medium of the user corresponding to the login instruction remains loaded in the data processing apparatus; and a second controlling unit configured to, in the case where the second judging unit judges that the removable storage medium of the user corresponding to the login instruction remains loaded in the data processing apparatus when the inputting unit inputs the login instruction, and stores in the removable storage medium of the user corresponding to the login instruction the data which is stored in the storage unit that is associated with the user corresponding to the login instruction.