JP2010211880A - Disk driving device, control method thereof, program, and recording medium - Google Patents

Disk driving device, control method thereof, program, and recording medium Download PDF

Info

Publication number
JP2010211880A
JP2010211880A JP2009058160A JP2009058160A JP2010211880A JP 2010211880 A JP2010211880 A JP 2010211880A JP 2009058160 A JP2009058160 A JP 2009058160A JP 2009058160 A JP2009058160 A JP 2009058160A JP 2010211880 A JP2010211880 A JP 2010211880A
Authority
JP
Japan
Prior art keywords
command
sector
file
argument
read
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2009058160A
Other languages
Japanese (ja)
Inventor
Tomoo Nishigaki
Mamoru Oda
Yukitake Shimizu
守 小田
幸毅 清水
智夫 西垣
Original Assignee
Sharp Corp
シャープ株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp, シャープ株式会社 filed Critical Sharp Corp
Priority to JP2009058160A priority Critical patent/JP2010211880A/en
Publication of JP2010211880A publication Critical patent/JP2010211880A/en
Application status is Pending legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a disk driving device reading and/or writing data without requiring complex processing on a host. <P>SOLUTION: An optical disk drive 100 includes: a memory 140 for storing file system information read from an optical disk 30; an ATA/ATAPI interface 110 for receiving a file command using file designation information designating a file as an argument; and a control unit 120 for determining a sector on the optical disk 30 to be scanned by an optical pickup 130 by referring to the file system information stored in the memory 140. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

  The present invention relates to a disk drive device that reads data from a disk or writes data to a disk, and a control method therefor. The present invention also relates to a program for causing a computer to execute the control method, and a recording medium on which the program is recorded.

  As recording media for recording data, optical discs such as BD (Blu-ray Disc), DVD (Digital Versatile Disc), and CD (Compact Disc) are widely used. A host device such as a PC (Personal Computer), an optical disc player, or an optical disc recorder normally uses file system information recorded on the optical disc in order to read data from the optical disc in units of files.

  In the file system information recorded on the optical disc, for each file recorded on the optical disc, file designation information (for example, a file name) for designating the file and a series of data constituting the file are recorded. Sector designation information (for example, a logical block address or a cylinder number, a head number, and a sector number) that designates a sector is registered in association with each other. Examples of file systems used for optical disks include UDF (Universal Disk Format) (BD, for DVD), ISO-9660 (for CD-ROM), and the like.

  A method in which the host device 20 connected to the conventional optical disk drive 10 reads a series of data constituting a specific file recorded on the optical disk 30 will be described with reference to FIG. FIG. 7 is a block diagram of the optical disc drive 10 and the host device 20. The optical disk drive 10 is an ATA / ATAPI device, and the optical disk drive 10 and the host device 20 are connected via an ATA / ATAPI interface.

  When a file read command (system call) for reading data by designating a specific file is given from the application 21, the OS (Operating System) 22 of the host device (host PC) 20 reads the data by designating a sector. It is converted into a read command (ATA / ATAPI command) and passed to the optical disc drive 10 via the ATA / ATAPI (SATA) interface 23.

  At this time, the OS 22 of the host device 20 determines the argument of the sector read command to be passed to the optical disc drive 10 with reference to the file system information (the file system information is acquired from the optical disc drive 10 in advance and stored in the memory 24). Leave). Specifically, sector designation information registered in association with file designation information that is an argument of the file read command (sector designation information that designates a sector in which a series of data constituting the read target file is recorded) is stored in the file system. The argument of the sector read command read from the information and passed to the optical disc drive 10 is determined according to the sector designation information read from the file system information.

  When the sector read command is delivered from the host device 20 via the ATA / ATAPI (SATA) interface 11, the device control unit 12 of the optical disc drive 10 specifies the sector designated by the sector designation information which is an argument of the sector read command. And the optical pickup 13 is controlled so as to read the data recorded in these sectors. Then, the device control unit 12 of the optical disc drive 10 returns the data read from the optical disc 30 in this way to the host PC 20 via the ATA / ATAPI (SATA) interface 11.

  As an example of such a system, Patent Document 1 discloses that an actual file system recorded on an optical disk is provided to a host device, and an actual file system provided from the optical disk drive is converted into a virtual file system for use. A system comprising a host device is disclosed.

JP 2008-107965 A (publication date: May 8, 2008)

  In the prior art, conversion from a system call for designating a file and reading data to an ATA / APAPI command for designating a sector and reading data must be performed in a host device using an optical disk drive. In order to convert the system call to the ATA / ATAPI command in the host device, the file system information recorded on the optical disk is read and acquired by the optical disk drive, and the acquired file system information is referred to. A function for converting file designation information, which is an argument of a system call, into sector designation information, which is an argument of an ATA / ATAPI command, must be installed in the host device. That is, there is a problem that a complicated function is required on the host device side.

  In particular, when reading and writing AV files, in order to realize real-time processing, it is necessary to specify the drive status in the host device and issue an appropriate ATA / ATAPI command to the optical disc drive at an appropriate timing. However, there is a problem that it is not easy to implement such a function in the host device. In addition, there is a similar problem when implementing the recovery process when the execution of the write command is interrupted.

  Here, the problem in the prior art has been described by taking an optical disk drive as an example, but it goes without saying that the same problem may occur in a hard disk drive and other disk drive devices in general.

  The present invention has been made in view of the above problems, and an object of the present invention is to realize a disk drive capable of reading and writing data without mounting a complicated function on the host device side.

  In order to solve the above problems, a disk drive device according to the present invention includes a memory for storing file system information read from a disk, an interface for receiving a file command having a file specification information for specifying a file as an argument, and the interface After the file command is received, sector designation information registered in the file system information stored in the memory, in which data constituting the file designated by the argument of the file command is recorded Control means for determining a sector on the disk to be scanned by the head in accordance with sector designation information for designating a sector.

  In order to solve the above problem, a method for controlling a disk drive device according to the present invention includes a storage step of storing file system information read from a disk in a memory, and a file having file specification information for specifying a file as arguments. A command accepting step; and after accepting the file command, sector designation information registered in the file system information stored in the memory, and constituting a file designated by an argument of the file command And determining a sector on the disk to be scanned by the head according to sector designation information designating a sector in which data is recorded.

  According to the above configuration, a host device that uses the disk drive uses the disk drive device by giving a file command that has file designation information that designates a file as an argument to the disk drive device via the interface. Thus, data can be recorded on the disk and data can be read from the disk.

  Therefore, the host device using the disk drive can read and write data without implementing a function of converting a file command having file designation information as an argument into a sector command having sector designation information as an argument. It is possible to realize a disk drive device that can

  In the disk drive device according to the present invention, the interface accepts a sector command having sector designation information for designating a sector as an argument, and the control means receives an argument of the sector command after the interface accepts the sector command. Accordingly, it is preferable to determine sectors on the disk to be scanned by the head.

  According to the above configuration, the host device using the disk drive can also specify a sector by giving a file command having file specification information specifying a file as an argument to the disk drive device via the interface. By giving a sector command having the designation information as an argument, it is possible to record data on the disk or read data from the disk using the above-described disk drive.

  The disk drive device according to the present invention includes a command buffer for storing the commands accepted by the interface, and the control means executes the commands stored in the command buffer in order from the command with the highest priority. Is preferable.

  According to the above configuration, the host device that uses the disk drive realizes the function of executing commands in order from the highest priority without implementing the function of issuing commands in order from the highest priority. can do.

  In the disk drive device according to the present invention, the disk drive device includes a write command buffer that stores a write command for commanding data writing, which is accepted by the interface, and the control means, when execution of the write command is interrupted, Preferably, the write command is read from the write command buffer and re-executed.

  According to the above configuration, the host device that uses the disk drive realizes the function of re-executing the write command that has been interrupted without implementing the function of re-issuing the write command that has been interrupted. can do.

  Further, the control means converts, for example, a file command having the file designation information received by the interface as an argument into a sector command having the sector designation information as an argument with reference to the file system information stored in the memory. And a device control unit that determines a sector on the disk to be scanned by the head in accordance with an argument of a sector command obtained by the conversion unit.

  Also included in the scope of the present invention are a program that causes a computer to execute each step included in the disk drive control method according to the present invention, and a computer-readable recording medium that records such a program.

  A disk drive device according to the present invention includes a memory that stores file system information read from a disk, an interface that accepts a file command that uses file designation information that designates a file as an argument, and after the interface accepts the file command. Sector designation information registered in the file system information stored in the memory, the sector designation information designating a sector in which data constituting the file designated by the argument of the file command is recorded. And a control means for determining sectors on the disk to be scanned by the head.

  The disk drive device control method according to the present invention includes a storage step of storing file system information read from a disk in a memory, a reception step of receiving a file command having an argument of file specification information for specifying a file, After receiving the file command, the sector designation information registered in the file system information stored in the memory, and the sector in which the data constituting the file designated by the argument of the file command is recorded And determining a sector on the disk to be scanned by the head in accordance with the sector designation information to be designated.

  Therefore, a host device that uses the disk drive provides the disk drive device with a file command that uses file specification information for specifying a file as an argument to the disk drive device via the interface. Data can be recorded or read from the disk. This eliminates the need to implement a function for converting a command having file designation information as an argument into a command having sector designation information as an argument in the host device using the disk drive.

1, showing an embodiment of the present invention, is a block diagram of an optical disk drive and an external host. FIG. FIG. 4 is a diagram illustrating a file command added to an ATA / ATAPI command according to the embodiment of this invention. 6 is a flowchart illustrating a method of converting a read command into a READ SECTOR (S) command or a READ DMA command according to an embodiment of the present invention. 4 is a flowchart illustrating a method of converting a write command into a WRITE SECTOR (S) command or a WRITE DMA command according to an embodiment of the present invention. 4 is a flowchart illustrating a method of determining an execution order of commands stored in a command buffer according to an embodiment of the present invention. 6 is a flowchart illustrating a method for storing and re-executing a write command according to an embodiment of the present invention. It is a block diagram of an optical disk drive and an external host, showing the prior art.

  The disk drive device according to this embodiment will be described below with reference to the drawings. The disk drive device according to the present embodiment is a disk drive device that reads data from an optical disk or writes data to an optical disk. Therefore, this is hereinafter referred to as an “optical disk drive”. However, the present invention can be applied to general hard disk drives and other drive devices, and the scope of application thereof is not limited to optical disk drives.

(Configuration of optical disk drive)
The configuration of the optical disc drive 100 according to the present embodiment will be described with reference to FIG. FIG. 1 is a block diagram of the optical disk drive 100 and the host device 20. The optical disc drive 100 is an ATA / ATAPI device, and the optical disc drive 100 and the host device 20 are connected via an ATA / ATAPI interface.

  As shown in FIG. 1, the optical disc drive 100 includes an ATA / ATAPI (SATA) interface 110, a control unit 120, an optical pickup 130, and a memory 140.

  In addition to the existing ATA / ATAPI command (referred to as a sector command) that uses sector designation information that designates a sector as an argument, the control unit 120 uses a new ATA / ATAPI command that uses file designation information that designates a file as an argument ( The function of the conventional device control unit 121 that controls the optical pickup 130 according to the sector command is extended so that the optical pickup 130 can be controlled according to the file command. Here, the function of the conventional device control unit 121 is expanded by adding a command conversion unit 122 that converts a file command into a corresponding sector command.

  A file command input via the ATA / ATAPI interface 110 is transferred to the command conversion unit 122, converted into a corresponding sector command, and transferred to the device control unit 121. On the other hand, the sector command input via the ATA / ATAPI interface 110 is directly passed to the device control unit 121. The device controller 121 controls the optical pickup 130 according to the sector command passed from the command converter 122 or the ATA / ATAPI interface 110. That is, the sector on the optical disk 30 to be scanned by the optical pickup 130 is determined according to the sector designation information that is an argument of the sector command passed from the command conversion unit 122 or the ATA / ATAPI interface 110.

  For example, when the sector command passed is a sector read command (a read command using sector designation information as an argument), the device control unit 121 reads the data recorded in the sector designated by the argument so as to read the data. 130 is controlled. If the sector command passed is a sector write command (write command with sector designation information as an argument), the device control unit 121 controls the optical pickup 130 to write data in the sector designated by the argument. To do.

  The file system information recorded on the optical disc 30 includes, for each file recorded on the optical disc 30, file designation information that designates the file and a sector that designates a sector in which a series of data constituting the file is stored. It is registered in association with the specified information. The control unit 120 reads the file system information from the optical disc 30 immediately after the optical disc 30 is inserted, and stores the read file system information in the memory 140. Further, immediately before the optical disc 30 is ejected, the control unit 120 writes the file system information recorded in the memory 140 to the optical disc 30 and discards the file system information recorded in the memory 140.

  The file system information read from the optical disc 30 and stored in the memory 140 is assumed to be file system information related to a general-purpose file system such as UDF, but is not limited to this, and the file system information recorded on the optical disc 30 is not limited to this. For each, file designation information for designating the file (for example, a file name) and sector designation information for designating a sector in which a series of data constituting the file is recorded (for example, a logical block address or a cylinder number, As long as the head number and sector number) are registered in association with each other, anything may be used.

  The command conversion unit 122 refers to the file system information stored in the memory 140 when converting the file command into the corresponding sector command, and thereby the argument of the sector command (read / write target sector) to be passed to the device control unit 121. The first logical block address and the number of sectors of the read / write target sector) are determined. Specifically, the sector designation information registered in association with the file designation information that is an argument of the file command is read from the file system information, and the sector command argument to be passed to the device control unit 121 is determined according to the read sector designation information. To do. A specific example of command conversion by the command conversion unit 122 will be described later with reference to another drawing.

  Here, a command conversion unit 122 that converts a file command into a corresponding sector command is added to a conventional device control unit 121 that determines a sector on the optical disk 30 to be scanned by the optical pickup 130 according to a sector command. Although the control part 120 comprised by this was demonstrated, it is not necessarily limited to this. That is, the control unit 120 uses the sector designation information (sector designation information registered in the file system information stored in the memory 140) to designate the sector in which the data constituting the file designated by the argument of the file command is recorded. Of these, any sector on the optical disk 30 to be scanned by the optical pickup 130 may be determined in accordance with the sector designation information registered in association with the file designation information as an argument of the file command. There is no need to convert it to a sector command.

  Further, here, the configuration has been described in which the file system information (all of the file system information) is read from the optical disc 30 and stored in the memory 140 when the optical disc 30 is inserted into the optical disc drive 10, but the present invention is not limited to this. . For example, a configuration may be adopted in which file system information relating to the changed current directory is read from the optical disc 30 and stored in the memory 140 each time the current directory is changed.

(File command added to ATA / ATAPI command)
Next, a file command added to the ATA / ATAPI command will be described with reference to FIG. FIG. 2 is a table listing file commands added to the ATA / ATAPI command.

  File commands are roughly classified into commands for files and commands for directories.

  The open command, read command, write command, close command, delete command, getStat command, setStat command, readAV command, writeAV command are commands for files, and file specification information (for example, file name) that specifies the target file Is included in the argument. On the other hand, the CreateDir command, the deleteDir command, and the getFileList command are commands for directories, and include directory designation information (for example, a directory name) that designates a target directory as an argument.

  The designation of arguments in these file commands is performed by setting the argument value in the command register of the ATA / ATAPI (SATA) interface 110 by the host device 20 that issues the file command.

(Specific example of command conversion)
Next, a method in which the command conversion unit 122 converts a file command into a sector command will be described by taking a read command and a write command as examples.

  FIG. 3 is a flowchart showing how the command conversion unit 122 converts a read command (file read command) into a READ SECTOR (S) command or a READ DMA command (sector read command). Note that the READ SECTOR (S) command and the READ DMA command are ATA / ATAPI reads that use as arguments the Sector Number that represents the first logical block address of the sector to be read and the Sector Count that represents the number of sectors in the sector to be read. It is a command.

  When a read command is input via the ATA / ATAPI interface 110, the command conversion unit 122 reads an argument of the read command from the command register of the ATA / ATAPI interface 110 (S11). Specifically, the file designation information designating the read target file and the size designation information designating the size of the read target data are read from the command register of the ATA / ATAPI interface 110.

  Subsequently, the command conversion unit 122 uses the sector designation information registered in association with the file designation information read in step S11 (sector designation information for designating a sector in which a series of data constituting the read target file is recorded). The file system information stored in the memory 140 is read (S12).

  Subsequently, the command conversion unit 122 determines the values of Sector Number and Sector Count as arguments of the READ SECTOR (S) command or READ DMA command according to the sector designation information read in step S12 (S13). For example, the size designation information read in step S11 is set with the first logical block address of the sector designated by the sector designation information read in step S12 (sector storing the example data constituting the file to be read) as Sector Number. Sector Count is obtained by converting the size (size of read target data) specified by the above to the number of sectors.

  Subsequently, the command conversion unit 122 compares the size specified by the size specification information read in S11 (the size of the data to be read) with a preset threshold Th (S14). If the size of the data to be read is below a preset threshold Th (S14: Yes), a READ SECTOR (S) command is passed to the device control unit 121 (S15). On the other hand, when the size of the data to be read exceeds the preset threshold Th (S14: No), the READ DMA command is passed to the device controller 121 (S16).

  As a return value of the READ SECTOR (S) command or the READ DMA command, the device control unit 121 returns true when the command has been successfully executed, and false when the command has failed. When the device control unit 121 succeeds in executing the READ SECTOR (S) command or the READ DMA command (S17: Yes), the command conversion unit 122 returns true to the host device 20 as a return value of the read command (S18). ) If the device control unit 121 fails to execute the READ SECTOR (S) command or the READ DMA command (S17: No), it returns false to the host device 20 as the return value of the read command (S19), and the processing Finish.

  FIG. 4 is a flowchart showing how the command conversion unit 122 converts a write command (file write command) into a WRITE SECTOR (S) command or a WRITE DMA command (sector write command). Note that the WRITE SECTOR (S) command and the WRITE DMA command are ATA / ATAPI write commands that use as arguments the Sector Number that represents the first logical block address of the write target sector and the Sector Count that represents the number of sectors in the write target sector. It is.

  When a write command is input via the ATA / ATAPI interface 110, the command conversion unit 122 reads an argument of the write command from the command register of the ATA / ATAPI interface 110 (S21). Specifically, the file designation information for designating the write target file, the size designation information for designating the size of the write target data, and the write target data are read from the command register.

  Subsequently, the command conversion unit 122 converts the sector designation information registered in association with the file designation information read in step S21 (sector designation information for designating a sector in which a series of data constituting the file to be written is recorded) Read from the file system information stored in the memory 140 (S22).

  Subsequently, the command conversion unit 122 sets the values of Sector Number and Sector Count as arguments of the WRITE SECTOR (S) command or WRITE DMA command according to the sector designation information read in step S22 (S23). For example, the first logical block address of the sector (sector in which a series of data constituting the write target file is recorded) designated by the sector designation information read in step S22 is Sector Number, and the size designation information read in step S21 Sector Count is obtained by converting the size specified by (the size of data to be written) into the number of sectors.

  Subsequently, the command conversion unit 122 compares the size of the write target data designated by the size designation information read in S21 with a preset threshold Th (S24). If the size of the write target data is below the preset threshold Th (S24: Yes), the WRITE SECTOR (S) command is passed to the device control unit 121 (S25). On the other hand, when the size of the write target data exceeds the preset threshold Th (S24: No), the WRITE DMA command is passed to the device control unit 121 (S26).

  As a return value of the WRITE SECTOR (S) command or the WRITE DMA command, the device control unit 121 returns true when the command is successfully executed and returns false when the command fails. When the device control unit 121 succeeds in executing the WRITE SECTOR (S) command or the WRITE DMA command (S27: Yes), the command conversion unit 122 returns true to the host device 20 as the return value of the write command, and the memory The file system information stored in 140 is updated (S28), and the process ends. Specifically, the sector designation information read from the file system information in step S22 is written according to the WRITE SECTOR (S) command or WRITE SECTOR (S) command passed to the device control unit 121 in step S25 or S26. It is rewritten to sector designation information that designates a sector in which data is written. On the other hand, when the device control unit 121 fails to execute the WRITE SECTOR (S) command or the WRITE DMA command (S27: No), it returns false to the host device 20 as a return value of the write command (S29), and processing Finish.

  In FIG. 4, it is assumed that the size of the write target data is smaller than the size of the write target file. However, even if the size of the write target data is larger than the size of the write target file, the write target file If the data to be written cannot be recorded in the recorded sector, the write command can be executed.

  Although the method for converting the read command and the write command into the sector command has been described here, other file commands can be converted into the corresponding sector command by a substantially similar method. The method of converting the file command into the sector command by the command conversion unit 122 is substantially the same as the method of converting the file command (system call) into the sector command (ATA / ATAPI command) by the conventional host device 20.

(Command buffer)
The optical disc drive 100 preferably includes a command buffer for storing commands input via the ATA / ATAPI interface 110 in addition to the configuration shown in FIG. The control unit 120 is preferably configured to execute the commands stored in the command buffer in descending order of priority. Thereby, the optical disc drive 100 can be provided with a scheduling function for optimizing the command execution order.

  FIG. 5 shows an example of an algorithm in which the control unit 120 determines the execution order of commands stored in the command buffer.

  When a new command is input via the ATA / ATAPI interface 110 (S31: Yes), the control unit 120 adds the new command to the command buffer (S32), and assigns the command stored in the command buffer to the priority level. Sort in ascending order (S33). Then, it is determined whether or not there is an unexecuted command in the commands stored in the command buffer (S34). If there is an unexecuted command (S34: Yes), the command with the highest priority among the unexecuted commands is determined. The process of executing a high command (S35) is repeated.

  With such an algorithm, for example, when the readAV command is a command with a high priority and other commands are commands with a low priority, the readAV command can be executed with priority over other commands. As a result, reading of AV data that requires real-time playback is not hindered by the execution of other commands, and it is possible to prevent playback from skipping. That is, the AV data can be read more smoothly by the host device 20.

  Note that the command stored in the command buffer may be only a file command or both a sector command and a file command. Further, the memory 140 provided in the optical disc drive 100 may be used for the command buffer described here.

(Write command buffer)
In addition to the configuration shown in FIG. 1, the optical disc drive 100 includes a write command buffer configured by a nonvolatile memory that stores a write command among commands input via the ATA / ATAPI interface 110. It is preferable. The control unit 120 preferably re-executes the write command stored in the write command buffer when execution of the write command is interrupted. As a result, even if the execution of the write command is interrupted due to a sudden power interruption or the like, the data on the disk is inconsistent (for example, the management data is rewritten even though the data has been written). Can be prevented.

  FIG. 6 shows an example of an algorithm for the control unit 120 to store and re-execute the write command.

  As shown in FIG. 6A, the control unit 120 determines whether the command input via the ATA / ATAPI interface 110 is a write command (S41). Store in the buffer (S42). At this time, write command arguments such as write target data are simultaneously stored in the write command buffer. Then, when the execution of the write command is successful (S43: Yes), the write command stored in the write command buffer is deleted (S44). At this time, write command arguments such as write target data are simultaneously deleted from the write command buffer. Thereby, when the execution of the write command is interrupted (S43: No), the write command and its argument are saved in the write command buffer.

  Further, as shown in FIG. 6B, the control unit 120 determines whether or not the write command is stored in the write command buffer when the program for operating the control unit 120 is restarted ( If the write command is stored (S45), the write command is executed (S46). Thereby, the write command whose execution has been interrupted can be re-executed.

(Program and recording medium)
Finally, the control unit 120 included in the optical disc drive 100 may be configured by hardware logic. Alternatively, it may be realized by software using a CPU (Central Processing Unit) as follows.

  That is, the control unit 120 includes a CPU such as an MPU that executes instructions of a program that realizes each function, a ROM (Read Only Memory) that stores the program, and a RAM (Random Access Memory) that expands the program into an executable format. ), And a storage device (recording medium) such as a memory for storing the program and various data.

  The object of the present invention is not limited to the case where the program is stored in the program memory of the control unit 120, but a record in which the program code (executable program, intermediate code program, or source program) of the program is recorded. This can also be achieved by supplying a medium to the optical disc drive 100 and reading and executing the program code recorded on the recording medium by the optical disc drive 100.

  The recording medium is not limited to a specific structure or type. That is, the recording medium includes, for example, a tape system such as a magnetic tape and a cassette tape, a magnetic disk such as a floppy (registered trademark) disk / hard disk, and an optical disk such as a CD-ROM / MO / MD / DVD / CD-R. System, a card system such as an IC card (including a memory card) / optical card, or a semiconductor memory system such as a mask ROM / EPROM / EEPROM / flash ROM.

  The object of the present invention can be achieved even if the control unit 120 (or the optical disc drive 100) is configured to be connectable to a communication network. In this case, the program code is supplied to the control unit 120 via the communication network. The communication network is not limited to a specific type or form as long as it can supply the program code to the control unit 120. For example, the Internet, intranet, extranet, LAN, ISDN, VAN, CATV communication network, virtual private network, telephone line network, mobile communication network, satellite communication network, etc. may be used.

  The transmission medium constituting the communication network may be any medium that can transmit the program code, and is not limited to a specific configuration or type. For example, even with wired lines such as IEEE 1394, USB, power line carrier, cable TV line, telephone line, ADSL (Asymmetric Digital Subscriber Line) line, infrared rays such as IrDA and remote control, Bluetooth (registered trademark), 802.11 wireless, HDR, mobile phone It can also be used by radio such as a telephone network, a satellite line, and a terrestrial digital network. The present invention can also be realized in the form of a computer data signal embedded in a carrier wave in which the program code is embodied by electronic transmission.

(Additional notes)
The present invention is not limited to the above-described embodiments, and various modifications can be made within the scope shown in the claims, and embodiments obtained by appropriately combining technical means disclosed in different embodiments. Is also included in the technical scope of the present invention.

  The present invention can be used for a disk drive device that operates in response to a command having sector designation information for designating a sector as an argument. In particular, it can be suitably used for an optical disc drive apparatus that operates in response to such a command.

100 Optical disk drive (disk drive device)
110 ATA / ATAPI interface (interface)
120 Control unit (control means)
121 Device control unit (device control means)
122 Command conversion unit (conversion means)
130 Pickup (Head)
140 memory

Claims (8)

  1. A memory for storing file system information read from the disk;
    An interface that accepts a file command that takes file specification information as an argument, and
    After the interface receives the file command, sector designation information registered in the file system information stored in the memory, and data constituting the file designated by the argument of the file command is recorded. And a control means for determining a sector on the disk to be scanned by the head in accordance with sector designation information for designating a given sector.
  2. The interface accepts a sector command with a sector designation information that designates a sector as an argument,
    2. The control unit according to claim 1, wherein after the interface receives the sector command, the control unit determines a sector on the disk to be scanned by the head according to an argument of the sector command. Disk drive device.
  3. It has a command buffer that accumulates commands accepted by the interface,
    3. The disk drive device according to claim 1, wherein the control means executes commands stored in the command buffer in order from a command having a higher priority.
  4. It has a write command buffer that stores a write command that commands the writing of data accepted by the interface,
    4. The control unit according to claim 1, wherein when the execution of the write command is interrupted, the control unit reads the write command from the write command buffer and re-executes the write command. 5. Disk drive device.
  5. The control means includes
    Conversion means for converting a file command having the file designation information received by the interface as an argument into a sector command having the sector designation information as an argument with reference to the file system information stored in the memory;
    5. A device control means for determining a sector on the disk to be scanned by the head according to an argument of a sector command obtained by the conversion means. 2. The disk drive device according to claim 1.
  6. A control method for controlling a disk drive device,
    Storing the file system information read from the disk in a memory;
    A reception step for receiving a file command having a file specification information for specifying a file as an argument;
    Sector designation information registered in the file system information stored in the memory after receiving the file command, and a sector in which data constituting the file designated by the argument of the file command is recorded And a determining step for determining a sector on the disk to be scanned by the head according to sector specifying information for specifying the disk drive.
  7. A program for causing a computer to execute the control method according to claim 6,
    A program that causes a computer to execute the steps included in the control method.
  8.   A computer-readable recording medium on which the program according to claim 7 is recorded.
JP2009058160A 2009-03-11 2009-03-11 Disk driving device, control method thereof, program, and recording medium Pending JP2010211880A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009058160A JP2010211880A (en) 2009-03-11 2009-03-11 Disk driving device, control method thereof, program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009058160A JP2010211880A (en) 2009-03-11 2009-03-11 Disk driving device, control method thereof, program, and recording medium

Publications (1)

Publication Number Publication Date
JP2010211880A true JP2010211880A (en) 2010-09-24

Family

ID=42971871

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009058160A Pending JP2010211880A (en) 2009-03-11 2009-03-11 Disk driving device, control method thereof, program, and recording medium

Country Status (1)

Country Link
JP (1) JP2010211880A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101151684B1 (en) 2010-12-17 2012-06-14 주식회사 히타치엘지 데이터 스토리지 코리아 Method for converting data in optical disc drive
JP2014505959A (en) * 2011-02-18 2014-03-06 アビニシオ テクノロジー エルエルシー Managing buffer overflow conditions

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09244932A (en) * 1996-03-06 1997-09-19 Brother Ind Ltd Disk array device
JPH10234038A (en) * 1997-02-21 1998-09-02 Hitachi Ltd Data processor, data form converter, data communication method and data processing system
JP2001222380A (en) * 2000-02-07 2001-08-17 Hitachi Ltd External storage device and information processing system with the same
JP2002244816A (en) * 2001-02-20 2002-08-30 Hitachi Ltd Disk device
JP2003272349A (en) * 2002-03-19 2003-09-26 Sony Corp Information processor and method, recording medium, and program
JP2004005830A (en) * 2002-05-31 2004-01-08 Sony Corp Information reading device, information writing device, information reading method, information writing method, program, and storage medium
JP2004078409A (en) * 2002-08-13 2004-03-11 Sony Corp Reproducing device and method, recording medium and program
JP2005293370A (en) * 2004-04-01 2005-10-20 Hitachi Ltd Storage control system
JP2006164439A (en) * 2004-11-10 2006-06-22 Teac Corp Optical disc apparatus
JP2007116214A (en) * 2005-10-17 2007-05-10 Sharp Corp Recording device, reproducing unit, recording/reproducing device, program, and recording medium thereof
JP2008071404A (en) * 2006-09-13 2008-03-27 Toshiba Corp Command management system and command management method
JP2008165881A (en) * 2006-12-27 2008-07-17 Toshiba Corp Magnetic disk device and its control method
JP2008293578A (en) * 2007-05-24 2008-12-04 Hitachi Ltd Stream data control module

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09244932A (en) * 1996-03-06 1997-09-19 Brother Ind Ltd Disk array device
JPH10234038A (en) * 1997-02-21 1998-09-02 Hitachi Ltd Data processor, data form converter, data communication method and data processing system
JP2001222380A (en) * 2000-02-07 2001-08-17 Hitachi Ltd External storage device and information processing system with the same
JP2002244816A (en) * 2001-02-20 2002-08-30 Hitachi Ltd Disk device
JP2003272349A (en) * 2002-03-19 2003-09-26 Sony Corp Information processor and method, recording medium, and program
JP2004005830A (en) * 2002-05-31 2004-01-08 Sony Corp Information reading device, information writing device, information reading method, information writing method, program, and storage medium
JP2004078409A (en) * 2002-08-13 2004-03-11 Sony Corp Reproducing device and method, recording medium and program
JP2005293370A (en) * 2004-04-01 2005-10-20 Hitachi Ltd Storage control system
JP2006164439A (en) * 2004-11-10 2006-06-22 Teac Corp Optical disc apparatus
JP2007116214A (en) * 2005-10-17 2007-05-10 Sharp Corp Recording device, reproducing unit, recording/reproducing device, program, and recording medium thereof
JP2008071404A (en) * 2006-09-13 2008-03-27 Toshiba Corp Command management system and command management method
JP2008165881A (en) * 2006-12-27 2008-07-17 Toshiba Corp Magnetic disk device and its control method
JP2008293578A (en) * 2007-05-24 2008-12-04 Hitachi Ltd Stream data control module

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101151684B1 (en) 2010-12-17 2012-06-14 주식회사 히타치엘지 데이터 스토리지 코리아 Method for converting data in optical disc drive
JP2014505959A (en) * 2011-02-18 2014-03-06 アビニシオ テクノロジー エルエルシー Managing buffer overflow conditions
KR101734883B1 (en) * 2011-02-18 2017-05-12 아브 이니티오 테크놀로지 엘엘시 Managing buffer overflow conditions

Similar Documents

Publication Publication Date Title
JP4736593B2 (en) Data storage device, data recording method, recording and / or reproducing system, and electronic device
EP0971358A2 (en) Data processing apparatus and file management method therefor
US8151064B2 (en) Hybrid hard disk drive and data storage method thereof
JP2006510984A (en) Pre-configured backup DVD-RWS
JP2009020986A (en) Disk drive apparatus, and method for storing table for managing data in nonvolatile semiconductor memory in disk drive apparatus
US20020129200A1 (en) Apparatus and method for defragmentation in disk storage system
USRE40044E1 (en) Data recording apparatus and method, data reproducing apparatus and method, data recording/reproducing apparatus and method, and transmission medium
JP2006164012A (en) Data storage device and control method for power save mode
US6697902B1 (en) Data storage device and interface device for the data storage device
US20090157756A1 (en) File System For Storing Files In Multiple Different Data Storage Media
US8024530B2 (en) Security erase of a delete file and of sectors not currently assigned to a file
JP2008259170A (en) Magnetic recording apparatus, encryption method, and encryption program
EP1635346A2 (en) Unified control and memory for a combined DVD/HDD system
JP4733400B2 (en) Automatic data update method in data storage system and disk drive using the same
US8627029B2 (en) Methods for managing files according to application
US7058770B2 (en) Method and apparatus for controlling the recording of digital information, by using unit management table
KR20050035677A (en) Method for controlling data read speed in optical disc driver
JP4227931B2 (en) Information storage device, information storage method, and information storage processing program
KR100982118B1 (en) Recording device, recording method, and recording medium
JP2001126449A (en) Data recording and reproducing device and program recording medium
KR100725271B1 (en) USB-SD Memory with multiple DMA channels, and data storing method thereof
US7747144B2 (en) Information processing apparatus, information processing method, recording medium, control
JP2006139902A (en) Recording density varying method of data recording medium, disk drive using the same, setting method of recording density, and data recording method
KR100888967B1 (en) Method and apparatus for formatting a storage medium
US9021175B2 (en) Method for reordering access to reduce total seek time on tape media

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110223

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120123

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120131

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120327

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120828

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121023

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20130226