Information processing device that writes data to an attachable/detachable recording medium and control method thereof

Information

  • Patent Application
  • 20070215701
  • Publication Number
    20070215701
  • Date Filed
    August 08, 2006
    18 years ago
  • Date Published
    September 20, 2007
    16 years ago
Abstract
To prevent original data as a write target data from being destructed in the case of writing the data to a recording medium. An information processing device that writes data to an attachable/detachable recording medium includes data segmenting unit segmenting the data, data writing unit writing the data segmented by the data segmenting unit to the recording medium, and detecting unit detecting ejection of the attached recording medium, wherein the data writing unit stops writing when the detecting unit detects the ejection of the recording medium.
Description

BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is a block diagram of pieces of hardware of a device body 1.



FIG. 2 is an explanatory diagram of an operation of a card slot 11.



FIG. 3 is an explanatory diagram of the operation of the card slot 11.



FIG. 4 is an explanatory diagram of the operation of the card slot 11.



FIG. 5 is an explanatory diagram of the operation of the card slot 11.



FIG. 6 is an explanatory diagram of the operation of the card slot 11.



FIG. 7 is an explanatory diagram of the operation of the card slot 11.



FIG. 8 is an explanatory diagram of an ejection detecting switch.



FIG. 9 is an explanatory diagram of the ejection detecting switch.



FIG. 10 is an explanatory diagram of an ejection detecting circuit.



FIG. 11 is a diagram showing a connecting relationship between the card slot 11, an EC 7, a chip set 3 and a control unit 2.



FIG. 12 is a conceptual diagram explaining an operation when making a write request and an operation when interrupt occurs.



FIG. 13 is a flowchart of an operation when starting up a filter driver 22.


Claims
  • 1. An information processing device that writes data to an attachable/detachable recording medium, comprising: data segmenting unit segmenting the data;data writing unit writing the data segmented by said data segmenting unit to said recording medium; anddetecting unit detecting ejection of said attached recording medium,wherein said data writing unit stops the writing when said detecting unit detects the ejection of said recording medium.
  • 2. An information processing device according to claim 1, further comprising deleting unit deleting, when said detecting unit detects the ejection of said recording medium, the data written by said writing unit from said recording medium.
  • 3. An information processing device according to claim 2, further comprising unit registering a write record of the data written to said recording medium by said data writing unit in the data segmented by said data segmenting unit, wherein said deleting unit deletes, based on the write record, the data written by said writing unit from said recording medium.
  • 4. A control method of an information processing device that writes data to an attachable/detachable recording medium, comprising: a data segmenting step of segmenting the data;a data writing step of writing the data segmented in said data segmenting step to said recording medium; anda detecting step of detecting ejection of said attached recording medium,wherein said data writing step includes stopping the writing when detecting the ejection of said recording medium in said detecting step.
  • 5. A control method of an information processing device according to claim 4, further comprising a deleting step of deleting, when detecting the ejection of said recording medium in said detecting step, the data written in said writing step from said recording medium.
  • 6. A control method of an information processing device according to claim 5, further comprising a registering step of registering a write record of the data written to said recording medium in said data writing step in the data segmented in said data segmenting step, wherein said deleting step includes deleting, based on the write record, the data written in said writing step from said recording medium.
  • 7. A computer readable storage medium storing a control program of an information processing device that writes data to an attachable/detachable recording medium, the control program causing the computer to execute the steps of: a data segmenting step of segmenting the data;a data writing step of writing the data segmented in said data segmenting step to said recording medium; anda detecting step of detecting ejection of said attached recording medium,wherein said data writing step includes stopping the writing when detecting the ejection of said recording medium in said detecting step.
  • 8. A computer readable storage medium storing the control program according to claim 7, further comprising a deleting step of deleting, when detecting the ejection of said recording medium in said detecting step, the data written in said writing step from said recording medium.
  • 9. A computer readable storage medium storing the control program according to claim 8, further comprising a registering step of registering a write record of the data written to said recording medium in said data writing step in the data segmented in said data segmenting step, wherein said delete step includes deleting, based on the write record, the data written in said writing step from said recording medium.
Priority Claims (1)
Number Date Country Kind
JP2006-074590 Mar 2006 JP national