Patent ID: 7620994

Claim:
A data recording system comprising: a removable recording medium having a locking function for blocking write access, the locking function including a locking enabling unit configured to enable the locking function when the recording medium has been removed, a lock determining unit configured to determine when the recording medium has been inserted again, whether or not the locking function is enabled, and an unlocking unit configured to release a lock if the lock determining unit determines that the locking function is enabled, the locking function being implemented by a password locking mechanism configured to apply a lock with a password; a removal detecting unit configured to detect the removal of the recording medium; a data writing unit configured to write a string of data to the recording medium; an access-processing retaining unit configured to retain access processing left unexecuted by the data writing unit when the removal of the recording medium is detected by the removal detecting unit during data writing by the data writing unit; an unexecuted-access-processing executing unit configured to execute unexecuted access processing retained by the access-processing retaining unit when the removed recording medium is inserted again into the data recording system; a password creating unit configured to create a password; a password locking unit configured to supply the locking enabling unit with the password created by the password creating unit; a password retaining unit configured to retain the password created by the password creating unit; a password unlocking unit configured to supply the unlocking unit with the password retained by the password retaining unit; an access/password retaining unit configured to associate an unexecuted access-processing group retained by the access-processing retaining unit with the password created by the password creating unit, and retain the unexecuted access-processing group and the password; an associated-password unlocking unit configured for attempting, in the password unlocking unit, to release the password lock with the password retained by the access/password retaining unit; and an execution unit configured to cause the unexecuted-access-processing executing unit to execute the unexecuted access-processing group associated with the password if the password lock is successfully released by the associated-password unlocking unit.