Magnetic disk device and disk access method therefor

Electrical computers and digital processing systems: memory – Storage accessing and control – Control technique

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C711S112000, C711S163000, C711S167000

Reexamination Certificate

active

06745300

ABSTRACT:

FIELD OF THE INVENTION
The present invention relates to a magnetic disk device known as a mass storage device using a magnetic disk as a storage medium, and to a disk access method therefor.
BACKGROUND OF THE INVENTION
Conventionally, in a computer system for controlling and managing office automation appliances, industrial machines and tools, etc., a mass storage device having a larger capacity has been required as a storage device for storing a larger volume of information data to be processed. As a mass storage device satisfying the requirements, a magnetic disk device using a magnetic disk as a storage medium is widely used.
The basic operations of the above described magnetic disk device when a file is transferred between the magnetic disk device and an upper device externally connected to the magnetic disk device are: interpreting a command issued by the upper device; having a head seek an optional track of a magnetic disk in the magnetic disk device according to the command; and reading and writing data to and from the magnetic disk based on the data length (number of sectors) requested by the upper device.
Described below will be mainly the operations of the above described conventional magnetic disk device.
FIG. 4
shows the operations of the conventional magnetic disk device. That is,
FIG. 4
shows the process performed on a magnetic disk when an upper device simultaneously accesses two series of mass serial data located at different positions in the magnetic disk device.
In
FIG. 4
, a file (m−1)′, a file (m), a file (m)′ and a file (m+1)′ form part of mass serial data (A), a file (n−1)′, a file (n), a file (n)′, and a file (n+1) form part of mass serial data (B), and each file has a data length at which the file can be processed by an upper device using one command.
When an upper device accesses a piece of mass serial data, it is necessary only to issue a command to sequentially access files. However, when the upper device simultaneously accesses two series of mass serial data, the upper device alternately issues a command to access each file of mass serial data (A), and a command to access each file of mass serial data (B) on a constant cycle (bandwidth).
In this case, the magnetic disk device interprets the contents of a command each time the command is received, and accesses a magnetic disk for data having a requested data length. That is, on the magnetic disk, the mass serial data (A) and the mass serial data (B) are alternately accessed. Files are accessed in the order of the file (m) by access (1), the file (m)′ by access (1)′, the file (n) by access (2), the file (n)′ by access (2)′, the file (m+1) by access (3), and the file (n+1) by access (4). That is, five seeking operations (1) through (5) are performed in accessing the files.
However, since an upper device cannot recognize the physical arrangement of the data on the magnetic disk in the above described conventional magnetic disk device, most accessing operations on the files forming mass serial data terminate before the track can be completely sought.
That is, when an upper device simultaneously accesses a plurality of series of mass serial data as described above, in the magnetic disk device, even in the case where there is an extremely high probability that the data following a target file on one and the same track can also be accessed, access to the last piece of data on the track is not performed, access to the track is terminated when access to the target file is terminated, and then a seeking operation to access another piece of mass serial data is performed. After accessing the other mass serial data, the magnetic disk device seeks the previous track, and accesses the remaining data on the track.
Therefore, there has been the problem that the times of seeking operations per unit data access increase, and deteriorate the data transfer efficiency.
The present invention has been developed to solve the above described conventional problem, and provides a magnetic disk device and a disk access method for the magnetic disk device to obtain the bandwidth required by an upper device without deteriorating the data transfer efficiency between a magnetic disk and buffer memory even if a plurality of series of mass serial data are accessed.
DISCLOSURE OF THE INVENTION
A magnetic disk is used as a storage medium in the magnetic disk device according to the present invention. The magnetic disk device accesses the magnetic disk, reds and writes data of various pieces of information and, when a plurality of series of mass serial data requiring a constant bandwidth such as picture data are transferred simultaneously at the plurality of series between the magnetic disk device and an externally connected upper device, includes a unit for: storing the history of commands issued from the upper device; stopping the access to the magnetic disk for data having the data length represented by the number of sectors requested by a command from the upper device when the comparison with the command history is performed on each command each time a command is received, and the seriality of a plurality of commands is detected; and accessing the magnetic disk in track units by defining the smallest access unit to the magnetic disk as the number of sectors per target track on the magnetic disk.
In addition, a magnetic disk is used as a storage medium in the disk access method for the magnetic disk device according to the present invention. The disk access method for the magnetic disk device accesses the magnetic disk, reads and writes data of various pieces of information and, when a plurality of series of mass serial data requiring a constant bandwidth such as picture data are transferred simultaneously at the plurality of series between the magnetic disk device and an externally connected upper device, includes the steps of: storing the history of commands issued from the upper device; stopping the access to the magnetic disk for data having the data length represented by the number of sectors requested by a command from the upper device when the comparison with the command history is performed on each command each time a command is received, and the seriality of a plurality of commands is detected; and accessing the magnetic disk in track units by defining the smallest access unit to the magnetic disk as the number of sectors per target track on the magnetic disk.
With the configuration and the method, the times of seeking operations can be reduced when mass serial data is accessed on a magnetic disk.
Furthermore, a magnetic disk is used as a storage medium in the magnetic disk device according to the present invention. The magnetic disk device accesses the magnetic disk through a buffer memory, reads and writes data of various pieces of information and, when a plurality of series of mass serial data requiring a constant bandwidth such as picture data are transferred simultaneously between the magnetic disk device and an externally connected upper device, includes a unit for: setting a data length for transfer to the magnetic disk in one accessing operation for each series based on the transfer state of each series obtained by a bandwidth required to transfer each of the various series of serial data obtained from the reception intervals of commands issued by the upper device, and by the size of an area to which the data can be transferred, and which is reserved in the buffer memory for the transfer of the data and based on the specification indicating an area size reserved in the buffer memory for the data transfer, the seeking time in the accessing operation, and the number of revolutions of the magnetic disk; and accessing data physically in series on the magnetic disk when each series of data is transferred to the magnetic disk.
Furthermore, a magnetic disk is used as a storage medium in the disk access method for the magnetic disk device according to the present invention. The disk access method accesses the magnetic disk through a buf

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Magnetic disk device and disk access method therefor does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Magnetic disk device and disk access method therefor, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Magnetic disk device and disk access method therefor will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-3294785

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.