WO2010092881A1 - Data recording device, data reading device, tape drive, method of recording data, and method of reading data - Google Patents

Data recording device, data reading device, tape drive, method of recording data, and method of reading data Download PDF

Info

Publication number
WO2010092881A1
WO2010092881A1 PCT/JP2010/051236 JP2010051236W WO2010092881A1 WO 2010092881 A1 WO2010092881 A1 WO 2010092881A1 JP 2010051236 W JP2010051236 W JP 2010051236W WO 2010092881 A1 WO2010092881 A1 WO 2010092881A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
management information
data set
reading
tape
Prior art date
Application number
PCT/JP2010/051236
Other languages
French (fr)
Japanese (ja)
Inventor
浩 板垣
敏幸 白鳥
Original Assignee
インターナショナル・ビジネス・マシーンズ・コーポレーション
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 インターナショナル・ビジネス・マシーンズ・コーポレーション filed Critical インターナショナル・ビジネス・マシーンズ・コーポレーション
Priority to JP2010550487A priority Critical patent/JP5199401B2/en
Priority to CN201080006979.3A priority patent/CN102308336B/en
Priority to US13/142,831 priority patent/US8824080B2/en
Priority to EP10741159.7A priority patent/EP2398020A4/en
Publication of WO2010092881A1 publication Critical patent/WO2010092881A1/en
Priority to US13/534,325 priority patent/US9230600B2/en

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/02Editing, e.g. varying the order of information signals recorded on, or reproduced from, record carriers
    • G11B27/031Electronic editing of digitised analogue information signals, e.g. audio or video signals
    • G11B27/032Electronic editing of digitised analogue information signals, e.g. audio or video signals on tapes
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • G11B27/102Programmed access in sequence to addressed parts of tracks of operating record carriers
    • G11B27/107Programmed access in sequence to addressed parts of tracks of operating record carriers of operating tapes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4334Recording operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/79Processing of colour television signals in connection with recording
    • H04N9/80Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback
    • H04N9/82Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback the individual colour picture signal components being recorded simultaneously only
    • H04N9/8205Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback the individual colour picture signal components being recorded simultaneously only involving the multiplexing of an additional signal and the colour video signal
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/10527Audio or video recording; Data buffering arrangements
    • G11B2020/1062Data buffering arrangements, e.g. recording or playback buffers
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B2220/00Record carriers by type
    • G11B2220/90Tape-like record carriers

Definitions

  • the present invention relates to an apparatus, a method, and the like for writing data on a tape medium such as a magnetic tape.
  • a tape drive that writes data to a tape medium such as a magnetic tape As shown in Patent Documents 1 to 3, etc., a plurality of mutually related data is temporarily stored in a buffer, and data is transferred from the buffer to the tape medium at a predetermined timing. Is generally written. For example, when the tape drive receives a data file and a metadata file representing the contents of the data from the host device, the tape drive temporarily stores these two files in the buffer and writes them from the buffer to the tape medium at a predetermined timing.
  • the conventional tape drive continuously stores main data and sub-data representing the contents of the main data on the tape medium. Although it can be stored, it has not been possible to determine whether each piece of continuously stored data is related to each other like main data and sub data. Therefore, when a tape medium storing main data and sub data is moved to another system or restored to the same system, the contents of the data read from the tape medium are analyzed by an application program on the system, and the main data and The association could not be determined without checking the sub-data association.
  • the present invention has been made to solve the technical problems as described above, and its purpose is to move to other systems in the future when a plurality of data related to each other is recorded on a tape medium, Or, even when restoring to the same system, it is possible to always store and retain a plurality of related data in the same location, and to identify each data when reading from the tape medium. There is to do.
  • the data recording apparatus of the present invention is a data recording apparatus for storing first data and second data related to the first data on a tape medium, and is continuously recorded as one file from a host apparatus.
  • a plurality of buffer segments that sequentially store the first data and the second data received in a predetermined size as one or more continuous data sets of a predetermined size, and a determination for determining a data configuration of the data sets stored in the buffer segments Means, management information addition means for adding management information indicating the result of determination by the determination means to the corresponding data set, the data set stored in the buffer segment, and the management information added to the data set
  • Storage control means for controlling storage on the tape medium.
  • the method is a data recording method for storing first data and second data related to the first data on a tape medium, the first data continuously received as one file from a host device, and A step of sequentially storing the second data in a plurality of buffer segments as one or more continuous data sets of a predetermined size; a step of determining a data configuration of the data set stored in the buffer segments; and a result of the determination And a step of controlling the storage of the data set accumulated in the buffer segment and the management information added to the data set to the tape medium. .
  • the first data and the second data continuously received as one file from the host apparatus are stored in the buffer segment as one or more continuous data sets of a predetermined size.
  • the data structure of the accumulated data set is determined.
  • management information indicating the discrimination result is added to the corresponding data set, and the data set and the management information are stored in the tape medium. Therefore, since the first data and the second data are recognized as the same file in the data storage device, the first data and the second data are moved to different locations in the future and are not stored separately.
  • the data storage device can identify the first data and the second data based on the management information, only the necessary information can be read on demand or by default.
  • the determination unit detects switching of data stored in the buffer segment based on a predetermined request from the host device, and data of the data set based on the detection result It can also be a means for discriminating the configuration.
  • the host device may output a predetermined request to the data recording device in order to switch the data stored in the buffer segment, so that the host device outputs the request to the data recording device.
  • the buffer segment is configured to accumulate invalid data in the empty area and complete the data set when the determination unit detects switching of data accumulated in the buffer segment. It can also be configured. With such a configuration, it is possible to prevent the first data and the second data from being mixed in the data set.
  • the determination unit may change the configuration of the data set to the first data, the second data, the first data, and the data based on a detection result of data switching stored in the buffer segment. It may be a means for discriminating one of the mixed data composed of the second data. With such a configuration, there is no need to write invalid data on the tape medium, and there is an advantage of saving tape capacity.
  • the management information may be a management table for the data set.
  • an existing management table such as DSIT (Data Set Information Table) of the LTO standard can be diverted. Therefore, in order to realize the present invention, addition to the existing configuration is the minimum necessary. It can be.
  • the management information adding unit includes the first data and the second data when the data set is configured by including both the first data and the second data.
  • the data size can be added to the management information and added to the data set. With such a configuration, it is possible to confirm the data sizes of the first data and the second data that constitute the data set based on the management information. Therefore, the first data and the second data are mixed in the data set. In addition, necessary data can be extracted from the data set based on the management information.
  • the management information adding means obtains file version data corresponding to the data set stored in the buffer segment from the host device, and the management information having the file version data is obtained from the data set. It can also be a means to be added to. With such a configuration, a plurality of versions of one file can be stored together on a tape medium.
  • the management information adding means acquires password data corresponding to the data set stored in the buffer segment, and adds the management information having the password data to the data set. You can also With such a configuration, a password can be set in the management information for each data set. Therefore, when the data set is read, if the management information matches the password specified by the user, the data set is set. If reading and the password do not match, reading of the data set can be prohibited. Therefore, it can be stored on the tape medium by distinguishing between a part that can be read only by a person who knows the password and a part that can be generally read.
  • the data recording apparatus may include a controller that functions as the determination unit, the management information addition unit, and the storage control unit.
  • the determination unit, the management information adding unit, and the storage control unit can be realized by a single controller, so that the configuration of the apparatus can be simplified.
  • the data reading device of the present invention is a data reading device that reads data in units of data sets from a tape medium that records first data and second data related to the first data as one file.
  • Transfer means for transferring at least one of the second data to a transfer destination.
  • the method is a data reading method of reading data in units of data sets from a tape medium that records first data and second data related to the first data as one file, the data set and the data
  • the management information added to the set is read from the tape medium, and whether the data configuration of the data set corresponding to the read management information is predetermined transfer target data is the read management Determining based on information, and transferring at least one of the first data and the second data determined to be the transfer target data among the data constituting the data set to a transfer destination, Including.
  • a data set and management information added to the data set are read from a tape medium, and the data configuration of the data set is transfer target data based on the management information. Determine whether or not. Then, at least one of the first data and the second data determined to be transfer target data among the data constituting the data set is transferred to the transfer destination. Therefore, since the data that is the transfer target data among the data sets read from the tape medium is determined based on the management information and transferred to the transfer destination, the transfer destination analyzes the data contents of the data set. Since it is not necessary, an application program or the like for performing the analysis can be made unnecessary. In addition, since the transfer destination only needs to request reading without considering the relevance of the data, the processing of the transfer destination can be simplified.
  • the data reading device has a buffer segment for storing the data set read by the reading unit and its management information, and the reading determining unit is based on the management information stored in the buffer segment. It may be a means for determining whether or not the data of the data set corresponding to the management information is the transfer target data.
  • the data configuration of the data set can be determined based on the management information added to the data set read to the buffer segment, and the relevance of the data of the read continuous data set can be identified. Therefore, each data of a plurality of data sets can be associated without a dedicated application program.
  • the data reading device of the present invention is a data reading device that reads data in units of a data set from a tape medium that records first data and second data related to the first data as one file.
  • Management information reading means for reading management information added to the set from the tape medium, and whether the data of the data set corresponding to the read management information is predetermined target data or not
  • Target data determination means for determining based on information, and among the data constituting the data set, the target data determination means is located at the requested data position based on a plurality of data determined to be target data
  • a data detecting means for detecting data.
  • the method is a data reading method for reading data in units of data sets from a tape medium that records first data and second data related to the first data as one file, and is added to the data set.
  • the management information is read from the tape medium, and whether or not the data configuration of the data set corresponding to the read management information is predetermined target data is determined based on the read management information. And detecting data located at the requested data position based on a plurality of data determined to be the target data among the data constituting the data set.
  • the management information added to the data set is read from the tape medium, and it is determined whether or not the data configuration of the data set is the target data based on the management information. And the data located in the requested
  • the tape drive according to the present invention is a tape drive including the data recording device according to any one of claims 1 to 9 and the data reading device according to claim 10 or 11. ing.
  • the data recording device includes the first data and the first data stored in the data set stored in the buffer segment including at least one of the first data and the second data constituting the same file.
  • Management information indicating the data structure of the two data is added and stored in the tape medium.
  • the data reading device transfers the data determined to be the transfer target data to the transfer destination based on the management information added to the data set read from the tape medium. Therefore, since the data configuration of each data can be determined when reading from the tape medium, it is possible to identify the first data and the second data constituting the same one file.
  • a plurality of pieces of related data are recorded on the tape medium as the same single file, and therefore, part of the information of the plurality of pieces of related data is lost in the process of data movement or restoration. There is no such thing as being called.
  • each data can be identified in the tape drive, so there is no need for the application program on the system to analyze the contents of the data read from the tape medium, and the data is stored on the tape medium.
  • the versatility of the device for writing can be improved.
  • the tape medium recording system 1 includes a tape drive 10 and a host computer (host) 20.
  • the tape drive 10 and the host 20 are electrically connected.
  • the tape drive 10 corresponds to the data recording device 10A and the data reading device 10B shown in FIG.
  • the tape drive 10 includes an interface 11, a buffer 12, a recording channel 13, a tape medium (hereinafter also referred to as a tape) 14a, a head 14b, reels 14c and 14d, a cartridge 14e, a motor 15, and a head position.
  • a control system 17 and a motor driver 18 are included.
  • the interface 11 communicates with the host 20. For example, a command for instructing data writing to the buffer 12 or a command for instructing data writing from the buffer 12 to the tape 14 a is received from the host 20.
  • SCSI Serial Bus Interface
  • the former command corresponds to the Write command.
  • the latter command (synchronization command) can be replaced by a WriteFileMark (WriteFM) command.
  • the interface 11 returns a response to the host 20 as to whether the processing according to these commands has succeeded or failed.
  • the buffer 12 is a memory for accumulating data from the host 20 to be written to the tape 14a.
  • the buffer 12 is composed of DRAM (Dynamic Random Access Memory).
  • the buffer 12 includes a plurality of buffer segments (hereinafter also referred to as segments) 12b, and each segment 12b stores a data set 51 that is a predetermined read / write unit for the tape 14a. ing.
  • the LTO (Linear-Tape-Open) standard is described as an example, and the terminology also conforms to the LTO standard.
  • a group of data stored in one segment of the buffer 12 is expressed as “Data set ".
  • the segment 12 b accumulates (stores) a plurality of various data from the host 20 as a continuous data set 51.
  • the recording channel 13 is a communication path used for writing the data set 51 accumulated in each of the segments 12b of the buffer 12 to the tape 14a.
  • the tape 14a is a tape medium as data recording means, and the data set 51 passed through the recording channel 13 is written to the tape 14a by the head 14b. Further, the tape 14a is wound around the reels 14c and 14d, and selectively moves in the direction from the reel 14c to the reel 14d or from the reel 14d to the reel 14c in accordance with the rotation thereof.
  • the cartridge 14e is a container for accommodating the reel 14c around which the tape 14a is wound, but a cartridge for accommodating the reel 14d may be provided.
  • the motor 15 rotates the reels 14c and 14d.
  • the motor 15 is represented by a single rectangle. However, it is preferable that two motors 15 are provided, one for each of the reels 14c and 14d.
  • the controller 16 controls the entire tape drive 10. For example, the writing of the data set 51 to the tape 14a is controlled according to the Write FM command received by the interface 11.
  • the head position control system 17 and the motor driver 18 are also controlled.
  • the controller 16 executes a program such as microcode to determine the discriminating means 16a, the management information adding means 16b, the storage control means 16c of the data recording apparatus 10A shown in FIG. 2, and the reading means 16d of the data reading apparatus 10B. It functions as a reading discriminating means 16e and a transferring means 16f.
  • the head position control system 17 is a system that tracks one or more desired laps.
  • the lap is a group of a plurality of tracks on the tape 14a.
  • the head position control system 17 performs such switching control.
  • the motor driver 18 drives the motor 15. As described above, if two motors 15 are used, two motor drivers 18 are also provided. Here, for convenience of drawing, the motor driver 18 is connected to the controller 16 via the head position control system 17, but may be directly connected to the controller 16.
  • the host 20 uses a server computer or the like to perform data transfer with the tape drive 10.
  • the host 20 uses the tape drive 10 for backup of programs and various data.
  • the write command is issued together with the data obtained by dividing the file data 4 into a predetermined size smaller than the data set 51, as shown in FIGS. Transmit to the tape drive 10.
  • the file data 4 can be larger than the data set 51 or any size for each data.
  • the host 20 transmits a Read command to the tape drive 10 when reading data from the tape 14a.
  • a SCSI ModeSelect command hereinafter also referred to as an MS command
  • SID stream ID
  • a dedicated command can be newly provided.
  • SID “1” is defined as Default (main data), and “2” is defined as sub-data.
  • the host 20 is not limited to a computer, and may be various electronic devices such as audio devices and household electric appliances (home appliances).
  • the Nth file 4 shown in FIG. 4 includes main data 41 corresponding to the first data in the claims and sub data 42 corresponding to the second data in the claims. Yes. N represents an integer.
  • the main data 41 may be arbitrary data such as video, music, and documents.
  • the sub data 42 is data related to the main data 41, and can be, for example, metadata.
  • the file 4 can be composed of only the main data 41 like the (N-1) th file 4. In the present embodiment, a case where one file 4 is composed of main data 41 and sub data 42 will be described.
  • main data 41 and the sub data 42 can be variously different embodiments.
  • the department information or the like may be the main data 41 and the related personal information or the like may be the sub data 42, and those data may be backed up by the tape drive 10 described above.
  • a plurality of continuous files 4 are divided according to the transfer size with the file mark 4f interposed.
  • the data set 51 is determined to have an arbitrary data size such as 0x200000 bytes according to the sizes of the buffer 12, the segment 12b, and the like.
  • the data set 51 is created as any one of the main data 41, the main data 41, the invalid data 43, the sub data 42, the sub data 42, and the invalid data 43.
  • the data after the end is padded with the invalid data 43.
  • various different configurations such as inserting delimiter data and continuously storing the next data after the end may be adopted without performing such padding.
  • an empty character string or the like can be used as invalid data.
  • the data size of the data set 51 is smaller than the data size of the plurality of files 4 will be described.
  • the data size 51 can be an arbitrary data size.
  • a DSIT (Data Set Information Table) 52 which is a management table, is added to each of the plurality of data sets 51.
  • the DSIT 52 has a data structure indicating the data sequential (DS) number of the data set 51, the number of records in the data set 51, and the like, as used in the LTO standard.
  • DSIT 52 by adding a new field to the DSIT 52, the new DSIT 52 functions as management information in the claims.
  • DSIT 52 has the SID added to a new field.
  • “1” or “2” is selectively set in the SID according to the data type of the data set 51 or the like.
  • the SID value is changed in accordance with the MS command from the host 20.
  • various different configurations may be employed, such as the host 20 specifying the SID value to be changed by a command.
  • the SID can be various data such as a flag and a character, for example, if the main data 41 and the sub data 42 can be selected.
  • Various different embodiments may be employed, such as storing the data set 51 in another area of the buffer 12.
  • the DSIT 52 is created when user data from the host 20 is divided into data sets 51.
  • the DSIT 52 is added to the data set 51 and stored in the segment 12b of the buffer 12.
  • various embodiments may be adopted in which the DSIT 52 is stored in another area of the buffer 12 in association with the data set 51.
  • the management information according to the present invention can be realized by adding to the data set 51 or the DSIT 52 as new information such as a flag different from the DSIT 52.
  • new information such as a flag different from the DSIT 52.
  • the existing DSIT 52 is diverted as in the present embodiment, there is an advantage that changes in the tape drive 10 and its application program can be reduced.
  • controller 16 of the tape drive 10 described above functions as the data recording device 10A and the data reading device 10B shown in FIG. 2 will be described.
  • the controller 16 When the controller 16 functions as the data recording apparatus 10A, the controller 16 functions as the determination unit 16a, the management information addition unit 16b, and the storage control unit 16c shown in FIG. 2 by executing a program.
  • the determining unit 16a determines whether the data configuration of the data set 51 stored in the segment 12b is the main data 41 or the sub data 42. In the present embodiment, the determination unit 16 a determines the data structure of the data set 51 with reference to the SID value of the memory or the like that is switched in response to a request from the host 20. For example, the discriminating means 16a discriminates the main data 41 when “1” is set in the SID. The discriminating means 16a discriminates the sub-data 41 when “2” is set in the SID. The determination unit 16a can also determine the data configuration by confirming the type of data with the host 20 or analyzing the data content. Further, the determination means 16a may be an embodiment that determines the composite data of the main data 41 and the sub data 42 in addition to the determination of the single main data 41 and the sub data 42 described above.
  • the management information adding unit 16b adds a DSIT (management information) 52 indicating the result determined by the determining unit 16a to the data set 51.
  • the management information adding means 16b of the present embodiment creates a DSIT 52 having an SID value such as the memory, adds the DSIT 52 to the data set 51, and stores it in the segment 12b.
  • the storage control means 16c controls the storage of the data set 51 accumulated in the segment 12b and the DSIT 52 added to the data set 51 on the tape 14a.
  • the storage control means 16c of this embodiment controls the recording channel 13, the head position control system 17, the motor driver 18, and the like in order to write the data set 51 and DSIT 52 of the buffer 12 to the tape 14a.
  • the controller 16 When the controller 16 functions as the data reading device 10B, the controller 16 functions as the reading unit 16d, the reading determining unit 16e, and the transfer unit 16f illustrated in FIG. 2 by executing a program.
  • the reading unit 16d controls the recording channel 13, the head position control system 17, the motor driver 18, and the like to read the pair of data sets 51 and the DSIT 52 added to the data sets 51 from the tape 14a, and to read the segment 12b. It accumulates sequentially in each of.
  • the reading discriminating means 16e discriminates whether or not the data of the data set 51 corresponding to the read DSIT 52 is predetermined transfer target data based on the SID of the read DSIT 52 or the like.
  • the read discriminating means 16e according to the present embodiment discriminates whether or not “1” is set in the SID of the DSIT 52 when the transfer target data is the main data 41. Further, when the transfer target data is the sub-data 42, the read determination unit 16e determines whether “2” is set in the SID of the DSIT 52.
  • the transfer unit 16f uses, as a transfer destination, at least one of the main data 41 and the sub data 42 determined by the read determining unit 16e as data to be transferred among the data constituting the data set 51 accumulated in the segment 12b.
  • the data is transferred to a certain host 20 via the interface 11. That is, when the transfer target data is the main data 41, the transfer unit 16 f transfers the main data 41 of the plurality of data sets 51 to the host 20. Further, when the transfer target data is the main data 41 and the sub data 42, the transfer unit 16f transfers the main data 41 of the plurality of data sets 51 and the sub data 42 continuous to the main data 51 in association with each other to the host 20. .
  • the controller 16 writes the data received together with the Write command from the position indicated by the pointer of the buffer 12 to the segment 12b (S111).
  • the controller 16 determines whether or not one or more data sets 51 are completed as a result of writing the data to the segment 12b (S112). If the controller 16 determines that one or more data sets 51 are not completed (NO in S112), the controller 16 proceeds to the process of step S115. On the other hand, when the controller 16 determines that one or more data sets 51 are completed (YES in S112), the controller 16 proceeds to the process of step S113.
  • the controller 16 determines whether the value set in the SID of the memory or the like indicates the main data 41 in the process of step S113, and determines the data configuration of the data set 51. Then, the controller 16 creates the DSIT 52 indicating the determination result, that is, the DSIT 52 having the SID, and then proceeds to the processing of step S114.
  • step S114 the controller 16 controls the recording channel 13, the head position control system 17, the motor driver 18, and the like in order to write the data set 51 and DSIT 52 of the segment 12b to the tape 14a via the recording channel 13. Then, the process proceeds to step S115.
  • step S115 the controller 16 advances the buffer pointer of the buffer 12 to the end of the data written in the buffer 12, and thereafter ends the process.
  • the description has been made on the assumption that the data set 51 including the tail of the data sent by the Write command is normally incomplete. However, if the end of the data fits exactly in the data set 51, the controller 16 will advance the buffer pointer of the buffer 12 to the next segment 12b.
  • step S113 in the flowchart shown in FIG. 5 corresponds to the determination unit 16a and management information addition unit 16b
  • step S114 corresponds to the storage control unit 16c.
  • the Sync process is a process called from a Mode Select command process to be described later.
  • the Sync process can also be activated by a WriteFM command.
  • the controller 16 confirms the position of the buffer pointer of the buffer 12 in the process of step S121, and then proceeds to the process of step S122.
  • step S122 the controller 16 determines whether data remains in the incomplete segment 12b where the buffer pointer is located, that is, whether the buffer pointer is set at the head of the segment 12b. If the controller 16 determines that no data remains (NO in S122), the process ends. On the other hand, if the controller 16 determines that data remains (YES in S122), the controller 16 proceeds to the process of step S123.
  • step S123 the controller 16 pads the writable area after the end of the data written in the segment 12b, that is, the writable area of the segment 12b with the invalid data 43, and then proceeds to the process of step S124.
  • step S124 the controller 16 determines whether or not the value set in the SID of the memory or the like indicates the main data 41, and determines the data configuration of the data set 51. Then, the controller 16 creates the DSIT 52 indicating the determination result, that is, the DSIT 52 having the current SID, and then proceeds to the processing of step S125.
  • the DSIT 52 created by this processing is composed of main data 41 and invalid data 43.
  • the DSIT 52 indicates by SID that the data set 51 is composed of main data 41.
  • step S125 the controller 16 controls the recording channel 13, the head position control system 17, the motor driver 18, and the like to write the data set 51 and DSIT 52 of the segment 12b to the tape 14a via the recording channel 13. Then, the process proceeds to step S126.
  • step S126 the controller 16 advances the buffer pointer of the buffer 12 to the head of the next segment 12b, and thereafter ends the processing.
  • step S124 in the flowchart shown in FIG. 6 corresponds to the management information adding unit 16b
  • step S125 corresponds to the storage control unit 16c.
  • step S131 the controller 16 compares the current SID of the memory or the like with the SID specified by the MS command, and then proceeds to the process of step S132.
  • step S132 the controller 16 determines whether or not the SID specified by the MS command is different from the SID of the memory or the like. If the controller 16 determines that the specified SIDs are not different, that is, the SIDs match (NO in S132), the controller 16 does not need to change the SID of the memory or the like, and thus ends the process. On the other hand, if the controller 16 determines that the SIDs are different (YES in S132), the controller 16 proceeds to the process of step S133.
  • step S133 the controller 16 calls the sync process shown in FIG. 6 described above, and proceeds to the process of step S134 in accordance with the end of the sync process.
  • step S134 the controller 16 updates the current SID stored in the memory or the like to the SID specified by the MS command, and then ends the process.
  • the controller 16 acquires a Read command from the host 20 via the interface 11 (S201).
  • the controller 16 sequentially reads the data set 51 and its DSIT 52 from the tape 14a via the recording channel 13 and sequentially stores them in the segment 12b of the buffer 12 (S202), and then proceeds to the processing of step S203.
  • the controller 16 transfers the data of the data set 51 determined as the transfer target data to the host 20 through the interface 11 in the order of the DS number, and ends the processing in response to the end of all the transfers (steps). S204).
  • step S202 in the flowchart shown in FIG. 8 corresponds to the reading unit 16d
  • step S203 corresponds to the reading determining unit 16e
  • step S204 corresponds to the transfer unit 16f.
  • the host 20 when backing up a plurality of files 4 to the tape 14a, the host 20 inserts a file mark 4f between each of the plurality of files 4, divides the continuous data into the predetermined size, and writes a Write command or a WriteFM. It is sequentially transmitted to the tape drive 10 together with the command. The host 20 then transmits a Write FM command for a request for synchronization processing to the tape drive 10 at a predetermined timing.
  • the tape drive 10 When receiving the first Write command, the tape drive 10 sets “1” as an initial value to the SID of the internal memory or the like. Thereafter, after receiving a plurality of Write commands, the tape drive 10 determines the data configuration of the data set 51 based on the SID of the internal memory or the like when the data set 51 is completed in the segment 12b of the buffer 12. The tape drive 10 creates a DSIT 52 indicating the determination result, and adds the DSIT 52 to the data set 51. When receiving the WriteFM request, the tape drive 10 controls the recording channel 13, the head position control system 17, the motor driver 18, and the like, and starts storing the data set 51 and the DSIT 52 on the tape 14a. .
  • the tape drive 10 repeats the series of processes described above, so that each time the data set 51 is completed, the data configuration is determined, and a DSIT 52 indicating the determination result is created and added. Then, the tape drive 10 stores the data set 51 and the DSIT 52 added to the data set 51 on the tape 14a.
  • the tape drive 10 when the data set 51 is completed in the segment 12b of the buffer 12 in response to the write command for the data spanning the (N ⁇ 1) th and Nth data, the tape drive 10 is based on the SID of the built-in memory or the like. Thus, the data configuration of the data set 51 is determined. Since the SID is “1”, the tape drive 10 determines that the data configuration of the data set 51 is the main data 41 and creates a DSIT 52 indicating the determination result.
  • the data set 51 includes the (N ⁇ 1) th and Nth main data 41 and a file mark 4f. In the DSIT 52 with the DS number “17”, “1” is set as the SID.
  • the data set 51 includes only the Nth main data 41.
  • the host 20 detects the end of the main data 41, that is, the separation of the main data 41 and the sub data 42 in the Nth file 4
  • the host 20 sends the data corresponding to the end of the main data 41 and the Write command to the tape drive 10.
  • the MS command is transmitted to the tape drive 10 in order to change the SID from “1” to “2”.
  • the tape drive 10 In response to the Write command, the tape drive 10 stores the data in the segment 12b of the buffer 12. When the MS command is received at that time, the tape drive 10 pads the currently accumulated segment 12b with the invalid data 43 so that the data Complete the set 51. A corresponding DSIT 52 is created and added to the data set 51, and then the SID of the memory or the like is changed from “1” to “2”. In this case, the DS number of the completed DSIT 51 is “18”, and the SID is “1”.
  • the host 20 transmits data obtained by dividing the sub data 42 in the Nth file 4 to the tape drive 10 together with the Write command.
  • the tape drive 10 receives the Write command and completes the data set 51 in the segment 12b of the buffer 12, the tape drive 10 determines the data configuration of the data set 51 based on the SID of the internal memory or the like. Since the SID is “2”, the tape drive 10 determines that the data configuration of the data set 51 is sub-data 42 and creates a DSIT 52 indicating the determination result. The tape drive 10 adds the DSIT 52 in which “2” is set to the SID to the corresponding data set 51.
  • the host 20 transmits the Write command and its data to the tape drive 10 and then changes the SID from “2”. In order to change to “1”, an MS command is transmitted to the tape drive 10.
  • the tape drive 10 stores data in the segment 12b of the buffer 12 in response to the Write command.
  • the tape drive 10 receives an MS command from the host 20 in a state where the data set 51 is not completed, the tape drive 10 completes the data set 51 by padding the currently stored segment 12b with the invalid data 43.
  • the tape drive 10 determines that the data configuration of the data set 51 is the sub data 42 based on the SID of the built-in memory or the like, the tape drive 10 creates a DSIT 52 indicating the determination result and adds the DSIT 52 to the data set 51. Thereafter, the tape drive 10 changes the SID of the memory or the like from “2” to “1”.
  • the SID of the built-in memory or the like is set to “1”.
  • the tape drive 10 repeats the series of processes described above to determine the data configuration of the data set 51 based on the SID value of the built-in memory, etc., and creates a DSIT 52 indicating the determination result to generate the data set 51.
  • the host 20 When the host 20 reads desired data from the tape 14a, the host 20 transmits, for example, a Read command designating a DS number range, SID, and the like to the tape drive 10.
  • a Read command designating a DS number range, SID, and the like to the tape drive 10.
  • the tape drive 10 Upon receiving a Read command from the host 20, the tape drive 10 sequentially reads the data set 51 and its management information 52 from the tape 14a, and stores (stores) the rank in the segment 12b of the buffer 12. In this embodiment, when the SID is not specified in the Read command, the tape drive 10 uses data corresponding to a predetermined default value (such as “1” for the main data 41) as the transfer target data. To do.
  • a predetermined default value such as “1” for the main data 41
  • the tape drive 10 determines whether the data set 51 is the transfer target data requested by the Read command. The determination is made based on the SID. Then, the tape drive 10 sequentially transfers only the main data 41 as the transfer target data to the host 20 via the interface 11. On the other hand, the host 20 sequentially stores the main data 41 received from the tape drive 10 in a memory, a hard disk device or the like.
  • the host 20 transmits a Read command designating, for example, an SID to the tape drive 10. Then, the tape drive 10 sequentially reads the data set 51 and its management information 52 from the tape 14 a and sequentially stores (stores) them in the segment 12 b of the buffer 12. When the data set 51 is correctly read in order based on the DS number of the management information, the tape drive 10 determines the data configuration of the continuous data set 51 based on the SID of each management information, and the interface 11 Only the sub data 52 to be transferred is transferred to the host 20. On the other hand, the host 20 sequentially stores the sub data 42 received from the tape drive 10 in a memory, a hard disk device or the like.
  • a plurality of main data (first data) 41 and sub data (second data) 42 continuously received as one file from the host 20 are stored as a plurality of continuous data sets 51. And the data structure of each of the stored data sets 51 is determined.
  • a DSIT (management information) 52 indicating the discrimination result is added to the corresponding data set 51, and the data set 51 and its DSIT 52 are stored in the tape 14a. Accordingly, since the DSIT 52 is added to each of the plurality of data sets 51 stored on the tape 14a, the plurality of related data is handled as one file in the tape drive 10, but the data set 51 is read.
  • the main data 41 and the sub data 42 can be identified by confirming the data configuration of the data set 51 from the DSIT 52 added to the data set 51.
  • the tape drive 10 reads the data set 51 and the DSIT 52 added to the data set 51 from the tape 14a, and determines whether or not the data in the data set 51 is transfer target data based on the DSIT. To do. Then, at least one of the main data 41 and the sub data 42 determined to be transfer target data among the data constituting the data set 51 is transferred to the transfer destination host 20. Therefore, since the data that is the transfer target data in the data set 51 read from the tape 14 a is determined based on the DSIT 52 and transferred to the transfer destination host 20, the host 20 stores the data contents of the data set 51. Therefore, an application program for performing the analysis or the like can be dispensed with. Further, since the host 20 that is the transfer destination only needs to request reading without considering the relevance of the data, the processing of the transfer destination can be simplified.
  • the main data 41 and the sub data 42 that is, a plurality of mutually related data are recorded on the tape 14a as the same single file. There is no loss of some of the information in the data. Further, when reading from the tape 14a, each data (main data 41 and sub data 42 in this embodiment) can be identified in the tape drive 10. Therefore, the contents of the data read from the tape 14a are stored on the system. Therefore, the versatility of a device for writing data on the tape 14a can be improved.
  • the data set 51 can be an embodiment in which the main data 41 and the sub data 42 can be mixed.
  • the DSIT 52 includes various data such as the DS number, SID1, SID1_Length, SID2, SID2_Length, and the like.
  • SID1 indicates the first or one type of data in the data set 51. In other words, when SID1 is set to “1” or “2” as described above, the first data in the data set 51 or the data constituting the data set 51 becomes the main data 41 or the sub data. The data 42 is indicated.
  • SID1_Length the length of the data of SID1 is set.
  • the fixed length is 0x200000, and when mixed (two types), the data length of the first data located at the head Are set respectively.
  • SID2 is data indicating whether or not the data set 51 is composed of two types of data. SID2 is set to be blank when the data set 51 is composed of only one type of data. In the case of SID2, when the data set 51 is composed of two types of data, the type of the second data in the data set 51 is set.
  • SID2_Length the length of the second data indicated by SID2 is set.
  • the SID1_Length and SID2_Length in the DSIT 52, it is possible to confirm the data sizes of the main data 41 and the sub data 42 constituting the data set 51 based on the DSIT 52. Therefore, even if the main data 41 and the sub data 42 are mixed in the data set 51, necessary data can be extracted from the data set 51 based on the DSIT 52.
  • the second write command process is basically the same as the write command process shown in FIG.
  • the controller 16 writes the data received together with the Write command from the position indicated by the pointer of the buffer 12 to the segment 12b (T111).
  • the controller 16 determines whether or not one or more data sets 51 are completed as a result of writing the data to the segment 12b (T112). If the controller 16 determines that one or more data sets 51 are not completed (NO in T112), the controller 16 proceeds to the process of step T116. On the other hand, if the controller 16 determines that one or more data sets 51 have been completed (YES in T112), the controller 16 proceeds to the process of step T113.
  • step T113 the controller 16 calls a DSIT creation process shown in FIG. 11 to be described later, and proceeds to the process of step T114 when the DSIT creation process ends.
  • the controller 16 calls a DSIT creation process shown in FIG. 11 to be described later, and proceeds to the process of step T114 when the DSIT creation process ends.
  • Controller 16 determines whether or not DSIT 52 has been created for each of all data sets 51 in buffer 12 in the process of step T114. If the controller 16 determines that the DSIT 52 has not been created for all the data sets 51 (NO in T114), the controller 16 returns to the process in step T113 and repeats a series of processes. On the other hand, when it is determined that the DSIT 52 has been created for all the data sets 51 (YES in T114), the controller 16 proceeds to the process of step T115.
  • step T115 the controller 16 controls the recording channel 13, the head position control system 17, the motor driver 18, and the like in order to write the data set 51 and DSIT 52 of the segment 12b to the tape 14a via the recording channel 13. Then, the process proceeds to step T116. In the process of step T116, the controller 16 advances the buffer pointer of the buffer 12 to the end of the data written in the buffer 12, and thereafter ends the process.
  • step T121 the controller 16 confirms the SID already set in the DSIT 52 associated with the target data set 51, and then proceeds to the process of step T122.
  • step T122 the controller 16 determines whether or not one or more SIDs, that is, SID1 or SID2 in FIG.
  • controller 16 determines that one or more SIDs are already set (YES in T122) If the controller 16 determines that one or more SIDs are already set (YES in T122), the controller 16 proceeds to the process of step T123. The controller 16 calculates the amount of data from the end of the data already recorded in the segment 12b to the end of the latest data set 51 (T123), and then proceeds to the process of step T125.
  • Step T124 the controller 16 sets the value of the data set size as the data amount of the data set 51 (T124), and then proceeds to step T125.
  • step T125 the controller 16 sets at least one of the SID1_Length and SID2_Length of the DSIT 52 with the calculated data amount, and sets the SID portion of the DSIT 52 with the calculated data amount and the current SID described in the memory or the like. Then, the process proceeds to step T126. In the process of step T126, the controller 16 creates a part that is not related to the SID of the DSIT 52, and then ends the process.
  • the controller 16 confirms the position of the buffer pointer of the buffer 12 in the process of step T131, and then proceeds to the process of step T132.
  • the controller 16 determines whether data remains in the incomplete data set 51 of the buffer 12. If the controller 16 determines that no data remains in the incomplete data set 51 (NO in T132), the process ends. On the other hand, when it is determined that data remains in the incomplete data set 51 (YES in T132), the process proceeds to step T133.
  • step T133 the controller 16 pads the writable area after the end of the data written in the segment 12b, that is, the writable area of the segment 12b with the invalid data 43, and then proceeds to the process of step T134.
  • the controller 16 calls the DSIT creation process shown in FIG. 11 described above, and proceeds to the process of step T135 when the DSIT creation process ends.
  • step T135 the controller 16 controls the recording channel 13, the head position control system 17, the motor driver 18, and the like to write the data set 51 and DSIT 52 of the segment 12b to the tape 14a via the recording channel 13. Then, the process proceeds to step T136. In the process of step T136, the controller 16 advances the buffer pointer of the buffer 12 to the head of the next segment 12b of the buffer 12, and thereafter ends the process.
  • step T141 the controller 16 compares the current SID of the memory or the like with the SID specified by the MS command, and then proceeds to the process of step T142.
  • step T142 the controller 16 determines whether or not the SID specified by the MS command is different from the SID of the memory or the like. If the controller 16 determines that the specified SIDs are not different, that is, the SIDs match (NO in T142), the controller 16 does not need to change the SID of the memory or the like, and thus ends the process. On the other hand, if the controller 16 determines that the SIDs are different (YES in T142), the controller 16 proceeds to the process of step T143.
  • step T143 the controller 16 confirms the already set SID with the DSIT 52 of the data set 51 where the buffer pointer exists, and then proceeds to the process of step T144.
  • step T144 the controller 16 determines whether or not one or more SIDs, that is, SID1 or SID2 in FIG.
  • controller 16 determines that one or more SIDs have already been set (YES in T144) If the controller 16 determines that one or more SIDs have already been set (YES in T144), the controller 16 proceeds to the process of step T145. The controller 16 calculates the amount of data from the end of the data already recorded in the segment 12b to the end of the latest data set 51 (T145), and then proceeds to the process of step T147.
  • Step T146 the controller 16 calculates the amount of data from the beginning of the data set 51 to the current data position (T146), and then proceeds to step T147.
  • the controller 16 creates or updates the SID-related part of the DSIT 52 with the calculated data amount and the current SID in the process of step T147, and then proceeds to the process of step T148.
  • the controller 16 updates the current SID stored in the memory or the like to a new SID specified by the MS command, and then ends the process.
  • the tape drive 10 When the tape drive 10 accumulates the data received together with the Write command from the host 20 in the segment 12b of the buffer 12, the tape drive 10 detects the data configuration and the length of the accumulated data set 51, and creates the DSIT 52. As an example of detecting the data structure and its length, as shown in the flowchart of FIG. 4 described above, the type is determined using the SID stored in the memory or the like of the controller 16 and the length is detected. Various embodiments such as a method of receiving and detecting one of the data lengths from the host 20 with the Write command can be used.
  • the tape drive 10 receives the Read command from the host 20 and stores the data set 51 and DSIT 52 read from the tape 14a in the segment 12b, the tape drive 10 refers to the SID1, SID1_Length, SID2, and SID2_Length of the DSIT 51, The configuration of the data set 51 is determined, and the data requested by the Read command is extracted and transferred to the host 20.
  • the host 20 transmits a write command to the tape drive 10 so as to separate the main data 41 and the sub data 42. This eliminates the need to store invalid data 43 on the tape 14a even when there are a large number of sub-data 42, which can contribute to a reduction in the amount of data stored in the tape 14a, and the segment 12b of the buffer 12. The size can be increased.
  • the DSIT 52 can be configured with one SID.
  • SID1 and SID2 the order of mixed data can be determined.
  • SID3 and SID4 the number of data indicating the SID of the DSIT 52 and its length (for example, SID3, SID4,...), More types of data can be mixed in the data set 51.
  • the host 20 uses the MS command to A correct SID (for example, 0xFF) is set to the target.
  • the tape drive 10 performs data transfer to the host 20 while confirming the SID of the next DSIT 52.
  • the tape drive 10 transmits a check condition as sense data to the host 20.
  • the host 20 recognizes that SID changed with the sense data.
  • the tape drive 10 is set not to transfer the data set 51 with a blank SID. At this time, the check condition is not reported to the host 20.
  • the LTO standard Locate / which is a command for moving the read / write head 14b to an arbitrary number of records or the position (logical position) of the file mark 4f from the head of the tape 14a.
  • the tape drive 10 described above can detect the data position on the tape 14a and move the head 14b to the position.
  • the controller 16 of the tape drive 10 described above functions as management information reading means, target data discrimination means, and data detection means. Then, the host 20 transmits a Locate command specifying the record that is the target data to the tape drive 10.
  • the tape drive 10 When the tape drive 10 receives the Locate command from the host 20, the tape drive 10 sets the counter of the built-in memory or the like to 0, and sequentially reads the DSIT 52 from the tape 14a by the management information reading means. The tape drive 10 determines whether or not the SID of the read DSIT 52 is “1”, that is, indicates the main data 41 by the target data determination unit. When the target data discriminating means discriminates that the data is the main data 41, the tape drive 10 increments a counter such as the built-in memory. Then, the tape drive 10 determines whether the counter value matches the record specified by the Locate command by the data detection means.
  • the tape drive 10 determines that they do not match, the data set 51 is not a record of the target data, so that the next DSIT 52 is determined. On the other hand, if the tape drive 10 determines that they match, the head 14b is moved to the head position of the data set 51 on the tape 14a because the data set 51 is the target data requested by the Locate command. Let It is also possible to add the number of records to the above-described configuration of the DSIT 52 and set the number of records when the tape drive 10 creates the DSIT 52.
  • a case will be described in which the head 14b of the tape drive 10 is moved to the position of the file mark 4f by the Space command.
  • a file mark count indicating the presence / absence and number of file marks, data position, etc. is added to the configuration of the DSIT 52 described above. Then, when the tape drive 10 creates the DSIT 52, a file mark count is set.
  • the tape drive 10 determines the data configuration of the data set 51, that is, the presence or absence of the file mark 4f.
  • the tape drive 10 detects the data position from the DSIT 52.
  • the tape drive 10 detects the head position of the file mark 4f in the data set 51, and moves the head 14b to the position of the tape 14a corresponding to the position.
  • the DSIT 52 of this embodiment described above can also add a password using a hash value or the like output through a hash function to the data structure.
  • the management information adding unit 16 b acquires password data corresponding to the data set 51 stored in the segment 12 b from the host 20.
  • the management information adding unit 16b may add the DSIT 52 having the password data to the data set 51.
  • the data set 51 is stored in the tape 14a by distinguishing between a part that can be read only by a person who knows the password and a part that can be generally read. it can.
  • a version of one file can be added to the data structure.
  • one file can be stored in the tape 14a for each of a plurality of versions.
  • the management information adding unit 16 b acquires file version data corresponding to the data set 51 stored in the segment 12 b from the host 20.
  • the management information adding unit 16b may add the DSIT 52 having the file version data to the data set 51.
  • a plurality of versions of one file can be collectively stored on the tape 14a.
  • the present invention may be realized entirely by hardware or entirely by software. It can also be realized by both hardware and software.
  • the present invention can be realized as a computer, a data processing system, and a computer program.
  • This computer program may be stored and provided on a computer readable medium.
  • the medium may be an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system (apparatus or equipment), or a propagation medium.
  • Examples of computer readable media include semiconductors, solid state storage devices, magnetic tape, removable computer diskettes, random access memory (RAM), read only memory (ROM), rigid magnetic disks, and optical disks.
  • the Current examples of optical disks include compact disk-read only memory (CD-ROM), compact disk-read / write (CD-R / W) and DVD.

Abstract

A method of recording data onto a tape medium, facilitating management of a plurality of inter-related data. First data (41) and second data (42) continuously received as one file from a higher level device are stored in a plurality of buffer segments as a continuous plurality of data sets (51), and the data configurations of the stored data sets (51) are determined. Further, management information showing the determination results is added to the data sets (51), and the data sets (51) and the management information (52) are stored in the tape medium.

Description

データ記録装置、データ読み出し装置、テープドライブ、データ記録方法、及び、データ読み出し方法Data recording apparatus, data reading apparatus, tape drive, data recording method, and data reading method
 本発明は、磁気テープ等のテープ媒体にデータを書き込むための装置、その方法、等に関する。 The present invention relates to an apparatus, a method, and the like for writing data on a tape medium such as a magnetic tape.
 磁気テープ等のテープ媒体にデータを書き込むテープドライブでは、特許文献1~3等に示すように、複数の互いに関連するデータを一旦バッファに蓄積しておき、所定のタイミングでバッファからテープ媒体へデータを書き込むのが一般的である。例えば、テープドライブが上位装置からデータファイルとそのデータの内容を表すメタデータファイルを受信する場合、テープドライブはこれら2つのファイルを一旦バッファに蓄積し、所定のタイミングでバッファからテープ媒体へ書き込む。 In a tape drive that writes data to a tape medium such as a magnetic tape, as shown in Patent Documents 1 to 3, etc., a plurality of mutually related data is temporarily stored in a buffer, and data is transferred from the buffer to the tape medium at a predetermined timing. Is generally written. For example, when the tape drive receives a data file and a metadata file representing the contents of the data from the host device, the tape drive temporarily stores these two files in the buffer and writes them from the buffer to the tape medium at a predetermined timing.
特開2007-73108号公報JP 2007-73108 A 特開2007-95231号公報JP 2007-95231 A 特開2007-241897号公報JP 2007-241897 A
 しかしながら、データファイルとメタデータファイルは互いに独立した2つのファイルとして上位装置から送信されるため、従来のテープドライブは、メインデータと該メインデータの内容等を表すサブデータを連続的にテープ媒体に記憶することはできても、連続して記憶した各データがメインデータ、サブデータのように互いに関連するデータであるかどうかを判別することはできなかった。そのため、メインデータとサブデータを記憶したテープ媒体を別システムに移動、或いは、同一システムにリストアする場合、テープ媒体から読み出したデータの内容等を、システム上のアプリケーションプログラムが解析し、メインデータとサブデータの関連付けを確認しなければ、関連性を判別することができなかった。 However, since the data file and the metadata file are transmitted from the host device as two independent files, the conventional tape drive continuously stores main data and sub-data representing the contents of the main data on the tape medium. Although it can be stored, it has not been possible to determine whether each piece of continuously stored data is related to each other like main data and sub data. Therefore, when a tape medium storing main data and sub data is moved to another system or restored to the same system, the contents of the data read from the tape medium are analyzed by an application program on the system, and the main data and The association could not be determined without checking the sub-data association.
 本発明は、以上のような技術的課題を解決するためになされたものであって、その目的は、互いに関連する複数のデータをテープ媒体に記録する場合に、将来他のシステムに移動し、或いは同一システムにリストアする場合でも、関連する複数のデータを必ず同じ場所に記憶し、保持することができるようにすること、また、テープ媒体からの読み出しの際には、各データを識別可能とすることにある。 The present invention has been made to solve the technical problems as described above, and its purpose is to move to other systems in the future when a plurality of data related to each other is recorded on a tape medium, Or, even when restoring to the same system, it is possible to always store and retain a plurality of related data in the same location, and to identify each data when reading from the tape medium. There is to do.
 かかる目的のもと、本発明のデータ記録装置は、第1データと前記第1データに関連する第2データをテープ媒体に記憶するデータ記録装置であって、上位装置から1つのファイルとして連続的に受信した前記第1データと前記第2データを、所定サイズの連続した1以上のデータセットとして順次蓄積する複数のバッファセグメントと、前記バッファセグメントに蓄積した前記データセットのデータ構成を判別する判別手段と、前記判別手段が判別した結果を示す管理情報を対応する前記データセットに付加する管理情報付加手段と、前記バッファセグメントに蓄積した前記データセット及び該データセットに付加された管理情報の前記テープ媒体への記憶を制御する記憶制御手段と、を含む。 For this purpose, the data recording apparatus of the present invention is a data recording apparatus for storing first data and second data related to the first data on a tape medium, and is continuously recorded as one file from a host apparatus. A plurality of buffer segments that sequentially store the first data and the second data received in a predetermined size as one or more continuous data sets of a predetermined size, and a determination for determining a data configuration of the data sets stored in the buffer segments Means, management information addition means for adding management information indicating the result of determination by the determination means to the corresponding data set, the data set stored in the buffer segment, and the management information added to the data set Storage control means for controlling storage on the tape medium.
 そして、その方法は、第1データと前記第1データに関連する第2データをテープ媒体に記憶するデータ記録方法であって、上位装置から1つのファイルとして連続的に受信した前記第1データと前記第2データを、所定サイズの連続した1以上のデータセットとして順次複数のバッファセグメントに蓄積するステップと、前記バッファセグメントに蓄積した前記データセットのデータ構成を判別するステップと、前記判別した結果を示す管理情報を対応する前記データセットに付加するステップと、前記バッファセグメントに蓄積した前記データセット及び該データセットに付加された管理情報の前記テープ媒体への記憶を制御するステップと、を含む。 The method is a data recording method for storing first data and second data related to the first data on a tape medium, the first data continuously received as one file from a host device, and A step of sequentially storing the second data in a plurality of buffer segments as one or more continuous data sets of a predetermined size; a step of determining a data configuration of the data set stored in the buffer segments; and a result of the determination And a step of controlling the storage of the data set accumulated in the buffer segment and the management information added to the data set to the tape medium. .
 本発明のデータ記録装置及びその方法によれば、上位装置から1つのファイルとして連続的に受信した第1データと第2データを、所定サイズの連続した1以上のデータセットとしてバッファセグメントに蓄積し、該蓄積したデータセットのデータ構成を判別する。そして、該判別結果を示す管理情報を対応する前記データセットに付加し、データセットとその管理情報をテープ媒体に記憶するようにした。よって、上記データ記憶装置において第1データと第2データは同じ1つのファイルとして認識されるため、第1データと第2データが将来互いに異なる場所に移動され、別々に記憶されることはない。その一方で、上記データ記憶装置は、第1データと第2データを管理情報に基づいて識別することができるため、要求に応じて又はデフォルトで必要な情報のみを読み出すことができる。 According to the data recording apparatus and method of the present invention, the first data and the second data continuously received as one file from the host apparatus are stored in the buffer segment as one or more continuous data sets of a predetermined size. The data structure of the accumulated data set is determined. Then, management information indicating the discrimination result is added to the corresponding data set, and the data set and the management information are stored in the tape medium. Therefore, since the first data and the second data are recognized as the same file in the data storage device, the first data and the second data are moved to different locations in the future and are not stored separately. On the other hand, since the data storage device can identify the first data and the second data based on the management information, only the necessary information can be read on demand or by default.
 また、上記データ記録装置において、前記判別手段は、前記上位装置からの所定の要求に基づいて、前記バッファセグメントに蓄積されるデータの切り替えを検出し、該検出結果に基づいて前記データセットのデータ構成を判別する手段とすることもできる。このような構成とすれば、上位装置はデータ記録装置に対して、前記バッファセグメントに蓄積されるデータの切り替えるために所定の要求を出力すればよいことから、上位装置からデータ記録装置に出力する第1データ及び第2データのデータ構造等の変更する必要がなくなり、上位装置のソフトウェア等の変更を少なくできるというメリットがある。 Further, in the data recording device, the determination unit detects switching of data stored in the buffer segment based on a predetermined request from the host device, and data of the data set based on the detection result It can also be a means for discriminating the configuration. With such a configuration, the host device may output a predetermined request to the data recording device in order to switch the data stored in the buffer segment, so that the host device outputs the request to the data recording device. There is an advantage that it is not necessary to change the data structures of the first data and the second data, and the change of the software of the host device can be reduced.
 さらに、上記データ記録装置において、前記バッファセグメントは、前記判別手段が前記バッファセグメントに蓄積されるデータの切り替えを検出したときに、その空き領域に無効データを蓄積して前記データセットを完成するように構成することもできる。このような構成とすれば、データセットに第1データと第2データが混在することを防止できる。 Further, in the data recording device, the buffer segment is configured to accumulate invalid data in the empty area and complete the data set when the determination unit detects switching of data accumulated in the buffer segment. It can also be configured. With such a configuration, it is possible to prevent the first data and the second data from being mixed in the data set.
 また、上記データ記録装置において、前記判別手段は、前記バッファセグメントに蓄積されるデータ切り替えの検出結果に基づいて、前記データセットの構成を前記第1データ、前記第2データ、前記第1データ及び前記第2データからなる混合データのうちの1つに判別する手段とすることもできる。このような構成とすれば、テープ媒体に無効データを書き込む必要がなくなるため、テープ容量の節約というメリットがある。 Further, in the data recording apparatus, the determination unit may change the configuration of the data set to the first data, the second data, the first data, and the data based on a detection result of data switching stored in the buffer segment. It may be a means for discriminating one of the mixed data composed of the second data. With such a configuration, there is no need to write invalid data on the tape medium, and there is an advantage of saving tape capacity.
 さらに、上記データ記録装置において、前記管理情報は、前記データセットの管理用テーブルとすることもできる。このような構成とすれば、LTO規格のDSIT(Data Set Information Table)等の既存の管理用テーブルを流用することができるため、本発明を実現する上で既存の構成への追加を必要最低限とすることができる。 Furthermore, in the data recording apparatus, the management information may be a management table for the data set. With such a configuration, an existing management table such as DSIT (Data Set Information Table) of the LTO standard can be diverted. Therefore, in order to realize the present invention, addition to the existing configuration is the minimum necessary. It can be.
 また、上記データ記録装置において、前記管理情報付加手段は、前記第1データと前記第2データとの双方を有して前記データセットが構成されるときに、前記第1データと前記第2データの少なくとも一方のデータサイズを前記管理情報に追加して前記データセットに付加する手段とすることもできる。このような構成とすれば、管理情報に基づいてデータセットを構成する第1データと第2データのデータサイズを確認することができるため、データセットに第1データと第2データを混在させても、管理情報に基づいて必要なデータをデータセットから抽出することができる。 In the data recording apparatus, the management information adding unit includes the first data and the second data when the data set is configured by including both the first data and the second data. The data size can be added to the management information and added to the data set. With such a configuration, it is possible to confirm the data sizes of the first data and the second data that constitute the data set based on the management information. Therefore, the first data and the second data are mixed in the data set. In addition, necessary data can be extracted from the data set based on the management information.
 また、上記データ記録装置において、前記管理情報付加手段は、前記バッファセグメントに蓄積したデータセットに対応したファイルバージョンデータを前記上位装置から取得し、該ファイルバージョンデータを有する前記管理情報を前記データセットに付加する手段とすることもできる。このような構成とすれば、ひとつのファイルの複数のバージョンをまとめてテープ媒体に記憶することができる。 Further, in the data recording device, the management information adding means obtains file version data corresponding to the data set stored in the buffer segment from the host device, and the management information having the file version data is obtained from the data set. It can also be a means to be added to. With such a configuration, a plurality of versions of one file can be stored together on a tape medium.
 さらに、上記データ記録装置において、前記管理情報付加手段は、前記バッファセグメントに蓄積したデータセットに対応したパスワードデータを取得し、該パスワードデータを有する前記管理情報を前記データセットに付加する手段とすることもできる。このような構成とすれば、データセット毎にパスワードを管理情報に設定することができるため、データセットの読み出し時に、管理情報と利用者等から指定されたパスワードが一致していればデータセットを読み出し、また、パスワードが一致していなければ、データセットの読み出しを禁止することができる。従って、パスワードを知る人にしか読めない部分と一般に読み込み可能な部分とに区別してテープ媒体に記憶できる。 Furthermore, in the data recording apparatus, the management information adding means acquires password data corresponding to the data set stored in the buffer segment, and adds the management information having the password data to the data set. You can also With such a configuration, a password can be set in the management information for each data set. Therefore, when the data set is read, if the management information matches the password specified by the user, the data set is set. If reading and the password do not match, reading of the data set can be prohibited. Therefore, it can be stored on the tape medium by distinguishing between a part that can be read only by a person who knows the password and a part that can be generally read.
 また、上記データ記録装置において、前記判別手段と前記管理情報付加手段と前記記憶制御手段として機能するコントローラを含む構成とすることができる。このような構成とすれば、判別手段と管理情報付加手段と記憶制御手段を1つのコントローラで実現することができるため、装置の構成を簡単化することができる。 Further, the data recording apparatus may include a controller that functions as the determination unit, the management information addition unit, and the storage control unit. With such a configuration, the determination unit, the management information adding unit, and the storage control unit can be realized by a single controller, so that the configuration of the apparatus can be simplified.
 かかる目的のもと、本発明のデータ読み出し装置は、第1データと前記第1データに関連する第2データを1つのファイルとして記録するテープ媒体からデータをデータセット単位で読み出すデータ読み出し装置であって、前記データセットと該データセットに付加された管理情報とを前記テープ媒体から読み出す読み出し手段と、前記読み出した管理情報に対応した前記データセットのデータ構成が予め定められた転送対象データであるか否かを、前記読み出した管理情報に基づいて判別する読み出し用判別手段と、前記データセットを構成するデータのうち、前記読み出し用判別手段が転送対象データであると判別した前記第1データ及び前記第2データの少なくとも一方を転送先に転送する転送手段と、を含む。 For this purpose, the data reading device of the present invention is a data reading device that reads data in units of data sets from a tape medium that records first data and second data related to the first data as one file. Reading means for reading the data set and the management information added to the data set from the tape medium, and the data structure of the data set corresponding to the read management information is predetermined transfer target data Whether or not based on the management information that has been read, and the first data that has been determined that the read determination means is data to be transferred among the data constituting the data set; Transfer means for transferring at least one of the second data to a transfer destination.
 そして、その方法は、第1データと前記第1データに関連する第2データを1つのファイルとして記録するテープ媒体からデータをデータセット単位で読み出すデータ読み出し方法であって、前記データセットと該データセットに付加された管理情報とを前記テープ媒体から読み出すステップと、前記読み出した管理情報に対応した前記データセットのデータ構成が予め定められた転送対象データであるか否かを、前記読み出した管理情報に基づいて判別するステップと、前記データセットを構成するデータのうち、前記転送対象データであると判別した前記第1データ及び前記第2データの少なくとも一方を転送先に転送するステップと、を含む。 The method is a data reading method of reading data in units of data sets from a tape medium that records first data and second data related to the first data as one file, the data set and the data The management information added to the set is read from the tape medium, and whether the data configuration of the data set corresponding to the read management information is predetermined transfer target data is the read management Determining based on information, and transferring at least one of the first data and the second data determined to be the transfer target data among the data constituting the data set to a transfer destination, Including.
 本発明のデータ読み出し装置及びその方法によれば、テープ媒体からデータセットと該データセットに付加された管理情報とを読み出し、該管理情報に基づいてデータセットのデータ構成が転送対象データであるか否かを判別する。そして、データセットを構成するデータのうち、転送対象データであると判別した第1データ及び第2データの少なくとも一方を転送先に転送する。よって、テープ媒体から読み出したデータセットのうち、転送対象データであるデータを管理情報に基づいて判別して転送先に転送するようにしたことから、転送先ではデータセットのデータ内容の解析を行う必要がないため、該解析を行うためのアプリケーションプログラム等を不要とすることができる。また、転送先はデータの関連性を考慮することなく、読み出しを要求すればよいため、転送先の処理の簡単化を図ることができる。 According to the data reading apparatus and method of the present invention, a data set and management information added to the data set are read from a tape medium, and the data configuration of the data set is transfer target data based on the management information. Determine whether or not. Then, at least one of the first data and the second data determined to be transfer target data among the data constituting the data set is transferred to the transfer destination. Therefore, since the data that is the transfer target data among the data sets read from the tape medium is determined based on the management information and transferred to the transfer destination, the transfer destination analyzes the data contents of the data set. Since it is not necessary, an application program or the like for performing the analysis can be made unnecessary. In addition, since the transfer destination only needs to request reading without considering the relevance of the data, the processing of the transfer destination can be simplified.
 また、上記データ読み出し装置において、前記読み出し手段が読み出した前記データセットとその管理情報を蓄積するバッファセグメントを有し、前記読み出し用判別手段は、前記バッファセグメントに蓄積した前記管理情報に基づいて、前記管理情報に対応した前記データセットのデータが前記転送対象データであるか否かを判別する手段とすることもできる。このような構成とすれば、バッファセグメントに読み出したデータセットに付加された管理情報に基づいて、データセットのデータ構成を判別でき、読み出した連続するデータセットのデータの関連性を識別することができるため、専用のアプリケーションプログラムがなくても、複数のデータセットの各データを関連付けることができる。 Further, in the data reading apparatus, the data reading device has a buffer segment for storing the data set read by the reading unit and its management information, and the reading determining unit is based on the management information stored in the buffer segment. It may be a means for determining whether or not the data of the data set corresponding to the management information is the transfer target data. With such a configuration, the data configuration of the data set can be determined based on the management information added to the data set read to the buffer segment, and the relevance of the data of the read continuous data set can be identified. Therefore, each data of a plurality of data sets can be associated without a dedicated application program.
 さらに、本発明のデータ読み出し装置は、第1データと前記第1データに関連する第2データを1つのファイルとして記録するテープ媒体からデータをデータセット単位で読み出すデータ読み出し装置であって、前記データセットに付加された管理情報を前記テープ媒体から読み出す管理情報読み出し手段と、前記読み出した管理情報に対応した前記データセットのデータが予め定められた対象データであるか否かを、前記読み出した管理情報に基づいて判別する対象データ判別手段と、前記データセットを構成するデータのうち、前記対象データ判別手段が対象データであると判別した複数のデータに基づいて、要求されたデータ位置に位置するデータを検出するデータ検出手段と、を含む構成とすることもできる。 Furthermore, the data reading device of the present invention is a data reading device that reads data in units of a data set from a tape medium that records first data and second data related to the first data as one file. Management information reading means for reading management information added to the set from the tape medium, and whether the data of the data set corresponding to the read management information is predetermined target data or not Target data determination means for determining based on information, and among the data constituting the data set, the target data determination means is located at the requested data position based on a plurality of data determined to be target data And a data detecting means for detecting data.
 そして、その方法は、第1データと前記第1データに関連する第2データを1つのファイルとして記録するテープ媒体からデータをデータセット単位で読み出すデータ読み出し方法であって、前記データセットに付加された管理情報を前記テープ媒体から読み出すステップと、前記読み出した管理情報に対応した前記データセットのデータ構成が予め定められた対象データであるか否かを、前記読み出した管理情報に基づいて判別するステップと、前記データセットを構成するデータのうち、前記対象データであると判別した複数のデータに基づいて、要求されたデータ位置に位置するデータを検出するステップと、を含む。 The method is a data reading method for reading data in units of data sets from a tape medium that records first data and second data related to the first data as one file, and is added to the data set. The management information is read from the tape medium, and whether or not the data configuration of the data set corresponding to the read management information is predetermined target data is determined based on the read management information. And detecting data located at the requested data position based on a plurality of data determined to be the target data among the data constituting the data set.
 このようなデータ読み出し装置及びその方法によれば、テープ媒体からデータセットに付加された管理情報を読み出し、該管理情報に基づいてデータセットのデータ構成が対象データであるか否かを判別する。そして、データセットを構成するデータのうち、対象データであると判別したデータの中から、要求されたデータ位置に位置するデータを検出する。よって、テープ媒体から読み出した連続する対象データの中から、所望のデータ位置に位置するデータを検出することができるため、上位装置において複数のデータセットの各データを関連付ける専用のアプリケーションプログラムを不要とすることができる。 According to such a data reading apparatus and method, the management information added to the data set is read from the tape medium, and it is determined whether or not the data configuration of the data set is the target data based on the management information. And the data located in the requested | required data position are detected from the data which determined that it is object data among the data which comprise a data set. Therefore, since it is possible to detect data located at a desired data position from continuous target data read from the tape medium, there is no need for a dedicated application program for associating each data of a plurality of data sets in the host device. can do.
 かかる目的のもと、本発明のテープドライブでは、請求項1~9の何れか1項に記載のデータ記録装置と、請求項10又は11に記載のデータ読み出し装置と、を含むテープドライブとなっている。 For this purpose, the tape drive according to the present invention is a tape drive including the data recording device according to any one of claims 1 to 9 and the data reading device according to claim 10 or 11. ing.
 このようなテープドライブによれば、データ記録装置は、同じ1つのファイルを構成する第1データと第2データの少なくとも一方を含む、バッファセグメントに蓄積されたデータセットに、その第1データと第2データのデータ構成を示す管理情報を付加してテープ媒体に記憶する。また、データ読み出し装置は、そのテープ媒体から読み出したデータセットに付加された管理情報に基づいて、転送対象データであると判定したデータを転送先に転送する。よって、テープ媒体からの読み出しの際に、各データのデータ構成を判別することができるため、同じ1つのファイルを構成する第1データと第2データとを識別することが可能となる。 According to such a tape drive, the data recording device includes the first data and the first data stored in the data set stored in the buffer segment including at least one of the first data and the second data constituting the same file. Management information indicating the data structure of the two data is added and stored in the tape medium. Further, the data reading device transfers the data determined to be the transfer target data to the transfer destination based on the management information added to the data set read from the tape medium. Therefore, since the data configuration of each data can be determined when reading from the tape medium, it is possible to identify the first data and the second data constituting the same one file.
 本発明によれば、互いに関連する複数のデータは、同じ1つのファイルとしてテープ媒体に記録されるため、データ移動やリストア等の作業の過程において、関連する複数のデータの一部の情報が失われるというようなことはない。また、テープ媒体からの読み出しの際には、テープドライブにおいて各データを識別できるため、テープ媒体から読み出したデータの内容等を、システム上のアプリケーションプログラムが解析する必要がなく、テープ媒体にデータを書き込むための装置等の汎用性を向上することができる。 According to the present invention, a plurality of pieces of related data are recorded on the tape medium as the same single file, and therefore, part of the information of the plurality of pieces of related data is lost in the process of data movement or restoration. There is no such thing as being called. In addition, when reading from the tape medium, each data can be identified in the tape drive, so there is no need for the application program on the system to analyze the contents of the data read from the tape medium, and the data is stored on the tape medium. The versatility of the device for writing can be improved.
本発明のテープドライブの概略構成の一例を示すブロック図である。It is a block diagram which shows an example of schematic structure of the tape drive of this invention. 本発明のデータ記録装置、データ読み出し装置、テープドライブ等の基本構成を示す構成図である。It is a block diagram which shows basic structures, such as a data recording device of this invention, a data reading device, and a tape drive. 図1中のバッファとデータセットの関係を説明するための図である。It is a figure for demonstrating the relationship between the buffer in FIG. 1, and a data set. データセットとDSITの関係の一例を説明するための図である。It is a figure for demonstrating an example of the relationship between a data set and DSIT. 図1中のコントローラが実行する本発明に係るWriteコマンド処理の一例を示すフローチャートである。It is a flowchart which shows an example of the Write command process which concerns on this invention which the controller in FIG. 1 performs. 図1中のコントローラが実行する本発明に係るSync処理の一例を示すフローチャートである。It is a flowchart which shows an example of the Sync process which concerns on this invention which the controller in FIG. 1 performs. 図1中のコントローラが実行する本発明に係るModeSelectコマンド処理の一例を示すフローチャートである。It is a flowchart which shows an example of the ModeSelect command process which concerns on this invention which the controller in FIG. 1 performs. 図1中のコントローラが実行する本発明に係るデータ読み出し処理の一例を示すフローチャートである。It is a flowchart which shows an example of the data read-out process which concerns on this invention which the controller in FIG. 1 performs. データセットとDSITの関係の他の一例を説明するための図である。It is a figure for demonstrating another example of the relationship between a data set and DSIT. 図1中のコントローラが実行する本発明に係る第2のWriteコマンド処理の一例を示すフローチャートである。It is a flowchart which shows an example of the 2nd Write command process which concerns on this invention which the controller in FIG. 1 performs. 図1中のコントローラが実行する本発明に係るDSIT作成処理の一例を示すフローチャートである。It is a flowchart which shows an example of the DSIT preparation process which concerns on this invention which the controller in FIG. 1 performs. 図1中のコントローラが実行する本発明に係る第2のSync処理の一例を示すフローチャートである。It is a flowchart which shows an example of the 2nd Sync process which concerns on this invention which the controller in FIG. 1 performs. 図1中のコントローラが実行する本発明に係る第2のModeSelectコマンド処理の一例を示すフローチャートである。It is a flowchart which shows an example of the 2nd ModeSelect command process which concerns on this invention which the controller in FIG. 1 performs.
 以下、本発明を実施するための形態(以下、「実施の形態」という)について、図1乃至図13の図面を参照して詳細に説明する。 Hereinafter, modes for carrying out the present invention (hereinafter referred to as “embodiments”) will be described in detail with reference to the drawings of FIGS. 1 to 13.
 図1において、テープ媒体記録システム1は、テープドライブ10と、ホストコンピュータ(ホスト)20と、を含む。そして、テープドライブ10とホスト20とは電気的に接続されている。 1, the tape medium recording system 1 includes a tape drive 10 and a host computer (host) 20. The tape drive 10 and the host 20 are electrically connected.
 テープドライブ10は、図2に示すデータ記録装置10A及びデータ読み出し装置10Bに相当している。テープドライブ10は、インタフェース11と、バッファ12と、記録チャネル13と、テープ媒体(以下、テープともいう)14aと、ヘッド14bと、リール14c及び14dと、カートリッジ14eと、モータ15と、ヘッド位置制御システム17と、モータドライバ18と、を含む。 The tape drive 10 corresponds to the data recording device 10A and the data reading device 10B shown in FIG. The tape drive 10 includes an interface 11, a buffer 12, a recording channel 13, a tape medium (hereinafter also referred to as a tape) 14a, a head 14b, reels 14c and 14d, a cartridge 14e, a motor 15, and a head position. A control system 17 and a motor driver 18 are included.
 インタフェース11は、ホスト20との間で通信を行う。例えば、ホスト20から、バッファ12へのデータの書込みを指示するコマンドや、バッファ12からテープ14aへのデータの書込みを指示するコマンドを受け取る。尚、このインタフェース11で用いる通信規格としては、SCSI(Small Computer System Interface)が例示される。SCSIの場合、前者のコマンドは、Writeコマンドに相当する。また、後者のコマンド(同期コマンド)は、WriteFileMark(WriteFM)コマンドで代用できる。また、インタフェース11は、ホスト20に対し、これらのコマンドに応じた処理が成功したのか失敗したのかの応答を返す。 The interface 11 communicates with the host 20. For example, a command for instructing data writing to the buffer 12 or a command for instructing data writing from the buffer 12 to the tape 14 a is received from the host 20. As a communication standard used in the interface 11, SCSI (SmallmComputer System Interface) is exemplified. In the case of SCSI, the former command corresponds to the Write command. The latter command (synchronization command) can be replaced by a WriteFileMark (WriteFM) command. Further, the interface 11 returns a response to the host 20 as to whether the processing according to these commands has succeeded or failed.
 バッファ12は、テープ14aに書き込むべきホスト20からのデータを蓄積するメモリである。例えば、DRAM(Dynamic Random Access Memory)によって構成される。また、バッファ12は、図3に示すように、複数のバッファセグメント(以下、セグメントともいう)12bを備え、各セグメント12bが、テープ14aに対する予め定められた読み書き単位であるデータセット51を記憶している。 The buffer 12 is a memory for accumulating data from the host 20 to be written to the tape 14a. For example, it is composed of DRAM (Dynamic Random Access Memory). As shown in FIG. 3, the buffer 12 includes a plurality of buffer segments (hereinafter also referred to as segments) 12b, and each segment 12b stores a data set 51 that is a predetermined read / write unit for the tape 14a. ing.
 このように本実施の形態では、LTO(Linear Tape-Open)規格を例示して説明し、用語についてもLTO規格に準拠し、例えば、バッファ12の1つのセグメントに格納されるデータのまとまりを「データセット」とする。そして、セグメント12bは、ホスト20からの複数の各種データを、連続したデータセット51として蓄積(記憶)する。 As described above, in the present embodiment, the LTO (Linear-Tape-Open) standard is described as an example, and the terminology also conforms to the LTO standard. For example, a group of data stored in one segment of the buffer 12 is expressed as “ Data set ". Then, the segment 12 b accumulates (stores) a plurality of various data from the host 20 as a continuous data set 51.
 記録チャネル13は、バッファ12のセグメント12bの各々に蓄積されたデータセット51をテープ14aに書き出すために用いられる通信経路である。 The recording channel 13 is a communication path used for writing the data set 51 accumulated in each of the segments 12b of the buffer 12 to the tape 14a.
 テープ14aは、データの記録手段としてのテープ媒体であり、記録チャネル13を介して渡されたデータセット51がヘッド14bによりテープ14aに書き込まれる。また、テープ14aは、リール14c及び14dに巻かれ、これらの回転に伴い、リール14cからリール14dの方向へ、又は、リール14dからリール14cの方向へ、選択的に移動する。カートリッジ14eは、テープ14aが巻きつけてあるリール14cを収容する容器であるが、リール14dを収容するものを設けてもよい。 The tape 14a is a tape medium as data recording means, and the data set 51 passed through the recording channel 13 is written to the tape 14a by the head 14b. Further, the tape 14a is wound around the reels 14c and 14d, and selectively moves in the direction from the reel 14c to the reel 14d or from the reel 14d to the reel 14c in accordance with the rotation thereof. The cartridge 14e is a container for accommodating the reel 14c around which the tape 14a is wound, but a cartridge for accommodating the reel 14d may be provided.
 また、モータ15は、リール14c及び14dを回転させる。尚、図1中では、1つの矩形でモータ15を表しているが、モータ15としては、リール14c及び14dの各々に1つずつ、合計2個設けるのが好ましい。 Further, the motor 15 rotates the reels 14c and 14d. In FIG. 1, the motor 15 is represented by a single rectangle. However, it is preferable that two motors 15 are provided, one for each of the reels 14c and 14d.
 コントローラ16は、テープドライブ10の全体を制御する。例えば、インタフェース11で受け付けたWriteFMコマンド等に従って、データセット51のテープ14aへの書込みを制御する。また、ヘッド位置制御システム17やモータドライバ18の制御も行う。コントローラ16は、マイクロコード等のプログラムを実行することで、図2に示すデータ記録装置10Aの判別手段16aと管理情報付加手段16bと記憶制御手段16c、及び、データ読み出し装置10Bの読み出し手段16dと読み出し用判別手段16eと転送手段16fとして機能する。 The controller 16 controls the entire tape drive 10. For example, the writing of the data set 51 to the tape 14a is controlled according to the Write FM command received by the interface 11. The head position control system 17 and the motor driver 18 are also controlled. The controller 16 executes a program such as microcode to determine the discriminating means 16a, the management information adding means 16b, the storage control means 16c of the data recording apparatus 10A shown in FIG. 2, and the reading means 16d of the data reading apparatus 10B. It functions as a reading discriminating means 16e and a transferring means 16f.
 ヘッド位置制御システム17は、所望の1つ又は複数のラップを追跡するシステムである。ここで、ラップとは、テープ14a上の複数のトラックのグループである。ラップを切り換える必要が生じると、ヘッド14bを電気的に切り換える必要も生じるので、このような切り換えの制御を、このヘッド位置制御システム17で行う。 The head position control system 17 is a system that tracks one or more desired laps. Here, the lap is a group of a plurality of tracks on the tape 14a. When it is necessary to switch the lap, it is necessary to electrically switch the head 14b. Therefore, the head position control system 17 performs such switching control.
 モータドライバ18は、モータ15を駆動する。尚、上述したように、モータ15を2個使用する場合であれば、モータドライバ18も2個設けられる。また、ここでは、作図の都合上、モータドライバ18は、ヘッド位置制御システム17を介してコントローラ16に接続されているが、直接コントローラ16に接続されていてもよい。 The motor driver 18 drives the motor 15. As described above, if two motors 15 are used, two motor drivers 18 are also provided. Here, for convenience of drawing, the motor driver 18 is connected to the controller 16 via the head position control system 17, but may be directly connected to the controller 16.
 次に、ホスト20は、サーバー用コンピュータ等が用いられ、テープドライブ10との間でデータ転送を行う。ホスト20は、プログラムや各種データなどのバックアップ等にテープドライブ10を用いている。ホスト20は、ファイルデータのテープ14aへの書き込みを要求する場合、図3及ぶ図4に示すように、そのファイルデータ4を前記データセット51よりも小さな所定サイズに分割したデータと共に、Writeコマンドをテープドライブ10に送信する。なお、ファイルデータ4は、前記データセット51よりも大きなサイズや、データ毎に任意のサイズとすることもできる。 Next, the host 20 uses a server computer or the like to perform data transfer with the tape drive 10. The host 20 uses the tape drive 10 for backup of programs and various data. When the host 20 requests to write the file data to the tape 14a, the write command is issued together with the data obtained by dividing the file data 4 into a predetermined size smaller than the data set 51, as shown in FIGS. Transmit to the tape drive 10. Note that the file data 4 can be larger than the data set 51 or any size for each data.
 また、ホスト20は、テープ14aからデータを読み出す場合は、テープドライブ10に対してReadコマンドを送信する。そして、本実施の形態では、テープドライブ10に対する本発明に係るストリームID(以下、SIDともいう)の指定方法として、SCSIのModeSelectコマンド(以下、MSコマンドともいう)を用いる場合について説明するが、専用のコマンドを新たに設けることもできる。そして、SIDの一例としては、“1”がDefault(メインデータ)、“2”がサブデータとそれぞれ定義している。なお、ホスト20は、コンピュータに限定するものではなく、例えばオーディオ機器、家庭用電気器具(家電)、等の各種電子機器とすることができる。 Further, the host 20 transmits a Read command to the tape drive 10 when reading data from the tape 14a. In the present embodiment, a case where a SCSI ModeSelect command (hereinafter also referred to as an MS command) is used as a method for specifying a stream ID (hereinafter also referred to as SID) according to the present invention for the tape drive 10 will be described. A dedicated command can be newly provided. As an example of the SID, “1” is defined as Default (main data), and “2” is defined as sub-data. Note that the host 20 is not limited to a computer, and may be various electronic devices such as audio devices and household electric appliances (home appliances).
 次に、上述したテープ媒体記録システム1において、テープ14aに記憶するユーザーデータとそのデータセット51の関係の一例を、図4等の図面を参照して以下に説明する。 Next, an example of the relationship between the user data stored in the tape 14a and the data set 51 in the above-described tape medium recording system 1 will be described below with reference to FIG.
 図4において、ホスト20は、テープドライブ10に複数のファイル4を一連のユーザーデータとして送る場合、複数のファイル4の各々の間にファイルマーク4fというシンボルを挿入する。これにより、複数のファイル4同士の境目が識別可能な構成になっている。そして、図4に示すN番目のファイル4は、請求項中の第1データに相当するメインデータ41と、請求項中の第2データに相当するサブデータ42と、を有して構成している。但し、Nは整数を示している。 4, when sending a plurality of files 4 as a series of user data to the tape drive 10, the host 20 inserts a symbol called a file mark 4 f between each of the plurality of files 4. Thus, the boundary between the plurality of files 4 can be identified. The Nth file 4 shown in FIG. 4 includes main data 41 corresponding to the first data in the claims and sub data 42 corresponding to the second data in the claims. Yes. N represents an integer.
 メインデータ41は、例えば映像、音楽、文書、等の任意のデータであってよい。サブデータ42は、メインデータ41に関連するデータであり、例えばメタデータとすることができる。ファイル4は、メインデータ41にサブデータ42が関連付けられていない場合、N-1番目のファイル4のように、メインデータ41のみでファイル4を構成することもできる。本実施の形態では、1つのファイル4をメインデータ41とサブデータ42で構成する場合について説明する。 The main data 41 may be arbitrary data such as video, music, and documents. The sub data 42 is data related to the main data 41, and can be, for example, metadata. In the case where the sub data 42 is not associated with the main data 41, the file 4 can be composed of only the main data 41 like the (N-1) th file 4. In the present embodiment, a case where one file 4 is composed of main data 41 and sub data 42 will be described.
 なお、メインデータ41とサブデータ42は、他にも種々異なる実施の形態とすることができる。例えば、データベースにおいて、部署情報等をメインデータ41、それに関連する個人情報等をサブデータ42とし、それらのデータを上述したテープドライブ10でバックアップする実施の形態とすることもできる。 It should be noted that the main data 41 and the sub data 42 can be variously different embodiments. For example, in the database, the department information or the like may be the main data 41 and the related personal information or the like may be the sub data 42, and those data may be backed up by the tape drive 10 described above.
 連続する複数のファイル4は、ファイルマーク4fを介在させた状態で、転送サイズに応じて分割される。そして、データセット51は、バッファ12、セグメント12bなどのサイズに応じて、例えば0x200000バイト等の任意のデータサイズに定められる。 A plurality of continuous files 4 are divided according to the transfer size with the file mark 4f interposed. The data set 51 is determined to have an arbitrary data size such as 0x200000 bytes according to the sizes of the buffer 12, the segment 12b, and the like.
 データセット51は、メインデータ41、メインデータ41及び無効データ43、サブデータ42、サブデータ42及び無効データ43の何れか1つのデータとして作成される。そして、本実施の形態では、データセット51の途中に、ファイル4のメインデータ41又はサブデータ42の終端が位置すると、その終端以降を無効データ43でPaddingするものとする。これに代えて、このようなPaddingを行わずに、例えば、区切りデータを挿入する、終端以降に次のデータを続けて蓄積する、など種々異なる構成を採用してもよい。また、無効データとしては、空文字列などを用いることができる。そして、本実施の形態では、データセット51のデータサイズが複数のファイル4のデータサイズよりも小さい場合について説明する。これに代えて、データサイズ51は任意のデータサイズとすることもできる。 The data set 51 is created as any one of the main data 41, the main data 41, the invalid data 43, the sub data 42, the sub data 42, and the invalid data 43. In this embodiment, when the end of the main data 41 or the sub-data 42 of the file 4 is located in the middle of the data set 51, the data after the end is padded with the invalid data 43. Instead of this, various different configurations such as inserting delimiter data and continuously storing the next data after the end may be adopted without performing such padding. In addition, an empty character string or the like can be used as invalid data. In the present embodiment, a case where the data size of the data set 51 is smaller than the data size of the plurality of files 4 will be described. Alternatively, the data size 51 can be an arbitrary data size.
 複数のデータセット51の各々には、管理用テーブルであるDSIT(Data Set Information Table)52が付加されている。このDSIT52は、上記LTO規格で用いられているように、データセット51のデータシーケンシャル(DS)番号、データセット51内のレコードの数、等を示すデータ構造となっている。そして、本実施の形態では、そのDSIT52に新たなフィールドを追加することで、新たなDSIT52を請求項中の管理情報として機能させている。 A DSIT (Data Set Information Table) 52, which is a management table, is added to each of the plurality of data sets 51. The DSIT 52 has a data structure indicating the data sequential (DS) number of the data set 51, the number of records in the data set 51, and the like, as used in the LTO standard. In this embodiment, by adding a new field to the DSIT 52, the new DSIT 52 functions as management information in the claims.
 DSIT52は、新たなフィールドに追加された上記SIDを有して構成している。DSIT52は、データセット51のデータの種類等に応じてSIDに“1”又は“2”が選択的に設定される。そして、本実施の形態では、ホスト20からの上記MSコマンドに応じて、SIDの値を変更する。これに代えて、ホスト20がコマンドで変更するSIDの値を指定するなど、種々異なる構成を採用してもよい。また、SIDは、メインデータ41とサブデータ42が選択可能であれば、例えばフラグ、キャラクター、等の各種データとすることができる。バッファ12の別領域にデータセット51と関連付けて記憶するなど、種々異なる実施の形態を採用してもよい。 DSIT 52 has the SID added to a new field. In the DSIT 52, “1” or “2” is selectively set in the SID according to the data type of the data set 51 or the like. In this embodiment, the SID value is changed in accordance with the MS command from the host 20. Instead, various different configurations may be employed, such as the host 20 specifying the SID value to be changed by a command. The SID can be various data such as a flag and a character, for example, if the main data 41 and the sub data 42 can be selected. Various different embodiments may be employed, such as storing the data set 51 in another area of the buffer 12.
 DSIT52は、ホスト20からのユーザーデータをデータセット51に分割した際に作成される。該DSIT52は、そのデータセット51に付加されてバッファ12のセグメント12bに記憶される。これに代えて、DSIT52はバッファ12の別領域にデータセット51と関連付けて記憶されるなど、種々異なる実施の形態を採用してもよい。 The DSIT 52 is created when user data from the host 20 is divided into data sets 51. The DSIT 52 is added to the data set 51 and stored in the segment 12b of the buffer 12. Instead of this, various embodiments may be adopted in which the DSIT 52 is stored in another area of the buffer 12 in association with the data set 51.
 なお、本発明にかかる管理情報は、DSIT52とは異なるフラグ等の新たな情報としてデータセット51又はDSIT52に付加して実現することもできる。但し、本実施の形態のように既存のDSIT52を流用した場合、テープドライブ10やそのアプリケーションプログラムの変更を少なくできるというメリットがある。 The management information according to the present invention can be realized by adding to the data set 51 or the DSIT 52 as new information such as a flag different from the DSIT 52. However, when the existing DSIT 52 is diverted as in the present embodiment, there is an advantage that changes in the tape drive 10 and its application program can be reduced.
 次に、上述したテープドライブ10のコントローラ16が、図2に示すデータ記録装置10Aとデータ読み出し装置10Bとして機能するときの各種手段を説明する。 Next, various means when the controller 16 of the tape drive 10 described above functions as the data recording device 10A and the data reading device 10B shown in FIG. 2 will be described.
 コントローラ16は、データ記録装置10Aとして機能する場合、プログラムを実行することで、図2に示す判別手段16a、管理情報付加手段16b、記憶制御手段16cとして機能する。 When the controller 16 functions as the data recording apparatus 10A, the controller 16 functions as the determination unit 16a, the management information addition unit 16b, and the storage control unit 16c shown in FIG. 2 by executing a program.
 判別手段16aは、セグメント12bに蓄積したデータセット51のデータ構成が、メインデータ41であるか、サブデータ42であるかを判別する。本実施の形態では、判別手段16aが、ホスト20からの要求に応じて切り替えられる前記メモリ等のSIDの値を参照して、データセット51のデータ構造を判別する。例えば、判別手段16aは、SIDに“1”が設定されている場合はメインデータ41と判別する。判別手段16aは、SIDに“2”が設定されている場合はサブデータ41と判別する。なお、判別手段16aは、ホスト20にデータの種類を確認したり、データ内容を解析して、データ構成を判別することもできる。また、判別手段16aは、前述した単独のメインデータ41とサブデータ42の判別に加え、メインデータ41及びサブデータ42の複合データの判別を行う実施形態とすることもできる。 The determining unit 16a determines whether the data configuration of the data set 51 stored in the segment 12b is the main data 41 or the sub data 42. In the present embodiment, the determination unit 16 a determines the data structure of the data set 51 with reference to the SID value of the memory or the like that is switched in response to a request from the host 20. For example, the discriminating means 16a discriminates the main data 41 when “1” is set in the SID. The discriminating means 16a discriminates the sub-data 41 when “2” is set in the SID. The determination unit 16a can also determine the data configuration by confirming the type of data with the host 20 or analyzing the data content. Further, the determination means 16a may be an embodiment that determines the composite data of the main data 41 and the sub data 42 in addition to the determination of the single main data 41 and the sub data 42 described above.
 管理情報付加手段16bは、判別手段16aが判別した結果を示すDSIT(管理情報)52をデータセット51に付加する。本実施の形態の管理情報付加手段16bは、前記メモリ等のSIDの値を備えるDSIT52を作成し、該DSIT52をデータセット51に付加してセグメント12bに記憶する。 The management information adding unit 16b adds a DSIT (management information) 52 indicating the result determined by the determining unit 16a to the data set 51. The management information adding means 16b of the present embodiment creates a DSIT 52 having an SID value such as the memory, adds the DSIT 52 to the data set 51, and stores it in the segment 12b.
 記憶制御手段16cは、セグメント12bに蓄積したデータセット51及び該データセット51に付加されたDSIT52のテープ14aへの記憶を制御する。本実施の形態の記憶制御手段16cは、バッファ12のデータセット51及びDSIT52をテープ14aに書き込むために、記録チャネル13、ヘッド位置制御システム17、モータドライバ18、等を制御する。 The storage control means 16c controls the storage of the data set 51 accumulated in the segment 12b and the DSIT 52 added to the data set 51 on the tape 14a. The storage control means 16c of this embodiment controls the recording channel 13, the head position control system 17, the motor driver 18, and the like in order to write the data set 51 and DSIT 52 of the buffer 12 to the tape 14a.
 コントローラ16は、データ読み出し装置10Bとして機能する場合、プログラムを実行することで、図2に示す読み出し手段16d、読み出し用判別手段16e、転送手段16fとして機能する。 When the controller 16 functions as the data reading device 10B, the controller 16 functions as the reading unit 16d, the reading determining unit 16e, and the transfer unit 16f illustrated in FIG. 2 by executing a program.
 読み出し手段16dは、記録チャネル13、ヘッド位置制御システム17、モータドライバ18、等を制御して、一対のデータセット51と該データセット51に付加されたDSIT52とをテープ14aから読み出して、セグメント12bの各々に順次蓄積する。 The reading unit 16d controls the recording channel 13, the head position control system 17, the motor driver 18, and the like to read the pair of data sets 51 and the DSIT 52 added to the data sets 51 from the tape 14a, and to read the segment 12b. It accumulates sequentially in each of.
 読み出し用判別手段16eは、読み出したDSIT52に対応したデータセット51のデータが予め定められた転送対象データであるか否かを、読み出したDSIT52のSID等に基づいて判別する。本実施の形態の読み出し用判別手段16eは、転送対象データがメインデータ41の場合は、DSIT52のSIDに“1”が設定されているか否かを判別する。また、読み出し用判別手段16eは、転送対象データがサブデータ42の場合は、DSIT52のSIDに“2”が設定されているか否かを判別する。 The reading discriminating means 16e discriminates whether or not the data of the data set 51 corresponding to the read DSIT 52 is predetermined transfer target data based on the SID of the read DSIT 52 or the like. The read discriminating means 16e according to the present embodiment discriminates whether or not “1” is set in the SID of the DSIT 52 when the transfer target data is the main data 41. Further, when the transfer target data is the sub-data 42, the read determination unit 16e determines whether “2” is set in the SID of the DSIT 52.
 転送手段16fは、セグメント12bに蓄積した前記データセット51を構成するデータのうち、前記読み出し用判別手段16eが転送対象データであると判別したメインデータ41及びサブデータ42の少なくとも一方を転送先であるホスト20に、インタフェース11を介して転送する。つまり、転送手段16fは、転送対象データがメインデータ41の場合、複数のデータセット51のメインデータ41をホスト20に転送する。また、転送手段16fは、転送対象データがメインデータ41及びサブデータ42の場合、複数のデータセット51のメインデータ41と該メインデータ51に連続するサブデータ42を、関連付けてホスト20に転送する。 The transfer unit 16f uses, as a transfer destination, at least one of the main data 41 and the sub data 42 determined by the read determining unit 16e as data to be transferred among the data constituting the data set 51 accumulated in the segment 12b. The data is transferred to a certain host 20 via the interface 11. That is, when the transfer target data is the main data 41, the transfer unit 16 f transfers the main data 41 of the plurality of data sets 51 to the host 20. Further, when the transfer target data is the main data 41 and the sub data 42, the transfer unit 16f transfers the main data 41 of the plurality of data sets 51 and the sub data 42 continuous to the main data 51 in association with each other to the host 20. .
 次に、上述したテープドライブ10のコントローラ16による本発明に係る各種処理の一例を、図5~7等の図面を参照して以下に説明する。まず、テープドライブ10がホスト20からWriteコマンドを受けたときに、コントローラ16が実行するWriteコマンド処理の一例を、図5に示すフローチャートを参照して以下に説明する。 Next, an example of various processes according to the present invention by the controller 16 of the tape drive 10 described above will be described below with reference to the drawings such as FIGS. First, an example of a write command process executed by the controller 16 when the tape drive 10 receives a write command from the host 20 will be described below with reference to a flowchart shown in FIG.
 コントローラ16は、バッファ12のポインタが指す位置から、そのWriteコマンドと共に受信したデータをセグメント12bに書き込む(S111)。コントローラ16は、データをセグメント12bに書き込んだ結果、1つ以上のデータセット51が完成したか否かを判定する(S112)。コントローラ16は、1つ以上のデータセット51が完成していないと判定した場合(S112でNO)、ステップS115の処理に進む。一方、コントローラ16は、1つ以上のデータセット51が完成していると判定した場合(S112でYES)、ステップS113の処理に進む。 The controller 16 writes the data received together with the Write command from the position indicated by the pointer of the buffer 12 to the segment 12b (S111). The controller 16 determines whether or not one or more data sets 51 are completed as a result of writing the data to the segment 12b (S112). If the controller 16 determines that one or more data sets 51 are not completed (NO in S112), the controller 16 proceeds to the process of step S115. On the other hand, when the controller 16 determines that one or more data sets 51 are completed (YES in S112), the controller 16 proceeds to the process of step S113.
 コントローラ16は、ステップS113の処理において、前記メモリ等のSIDに設定されている値がメインデータ41を示しているか否かを判定して、データセット51のデータ構成を判別する。そして、コントローラ16は、該判別結果を示すDSIT52、つまり、前記SIDを有するDSIT52を作成し、その後ステップS114の処理に進む。 The controller 16 determines whether the value set in the SID of the memory or the like indicates the main data 41 in the process of step S113, and determines the data configuration of the data set 51. Then, the controller 16 creates the DSIT 52 indicating the determination result, that is, the DSIT 52 having the SID, and then proceeds to the processing of step S114.
 コントローラ16は、ステップS114の処理において、セグメント12bのデータセット51及びDSIT52を、記録チャネル13を介してテープ14aに書き込むために、記録チャネル13、ヘッド位置制御システム17、モータドライバ18、等を制御し、その後ステップS115の処理に進む。 In the process of step S114, the controller 16 controls the recording channel 13, the head position control system 17, the motor driver 18, and the like in order to write the data set 51 and DSIT 52 of the segment 12b to the tape 14a via the recording channel 13. Then, the process proceeds to step S115.
 コントローラ16は、ステップS115の処理において、バッファ12のバッファポインタを、バッファ12に書き込んだデータの最後尾に進め、その後処理を終了する。なお、上述した処理においては、Writeコマンドで送られてきたデータの最後尾が含まれるデータセット51は、通常未完成であることを前提として説明した。しかしながら、前記データの最後尾がデータセット51にぴったり収まる場合、コントローラ16はバッファ12のバッファポインタを次のセグメント12bに進めることになる。 In the process of step S115, the controller 16 advances the buffer pointer of the buffer 12 to the end of the data written in the buffer 12, and thereafter ends the process. In the above-described processing, the description has been made on the assumption that the data set 51 including the tail of the data sent by the Write command is normally incomplete. However, if the end of the data fits exactly in the data set 51, the controller 16 will advance the buffer pointer of the buffer 12 to the next segment 12b.
 以上説明した図5に示すWriteコマンド処理をコントローラ16が実行することで、上述した請求項中の上記データ記録装置10Aにおける判別手段16aと管理情報付加手段16bと記憶制御手段16cとして機能することになる。詳細には、図5に示すフローチャート中のステップS113が判別手段16a及び管理情報付加手段16b、ステップS114が記憶制御手段16cにそれぞれ相当している。 When the controller 16 executes the write command process shown in FIG. 5 described above, the controller 16 functions as the determination unit 16a, the management information addition unit 16b, and the storage control unit 16c in the data recording apparatus 10A in the above-mentioned claims. Become. Specifically, step S113 in the flowchart shown in FIG. 5 corresponds to the determination unit 16a and management information addition unit 16b, and step S114 corresponds to the storage control unit 16c.
 次に、テープドライブ10が実行するSync処理の一例を、図6に示すフローチャートを参照して以下に説明する。該Sync処理は、後述するMode Selectコマンド処理から呼び出される処理となっている。なお、該Sync処理は、WriteFMコマンドで起動することもできる。 Next, an example of the Sync process executed by the tape drive 10 will be described below with reference to the flowchart shown in FIG. The Sync process is a process called from a Mode Select command process to be described later. The Sync process can also be activated by a WriteFM command.
 コントローラ16は、ステップS121の処理において、バッファ12のバッファポインタの位置を確認し、その後ステップS122の処理に進む。コントローラ16は、ステップS122において、該バッファポインタが位置している未完成のセグメント12bにデータが残っているか、即ち、バッファポインタがセグメント12bの先頭にセットされているかを判定する。コントローラ16は、データが残っていないと判定した場合(S122でNO)、処理を終了する。一方、コントローラ16は、データが残っていると判定した場合(S122でYES)、ステップS123の処理に進む。 The controller 16 confirms the position of the buffer pointer of the buffer 12 in the process of step S121, and then proceeds to the process of step S122. In step S122, the controller 16 determines whether data remains in the incomplete segment 12b where the buffer pointer is located, that is, whether the buffer pointer is set at the head of the segment 12b. If the controller 16 determines that no data remains (NO in S122), the process ends. On the other hand, if the controller 16 determines that data remains (YES in S122), the controller 16 proceeds to the process of step S123.
 コントローラ16は、ステップS123の処理において、セグメント12bに今回書き込んだデータの終端以降、即ち、セグメント12bの書き込み可能な領域を、無効データ43でPaddingし、その後ステップS124の処理に進む。 In the process of step S123, the controller 16 pads the writable area after the end of the data written in the segment 12b, that is, the writable area of the segment 12b with the invalid data 43, and then proceeds to the process of step S124.
 コントローラ16は、ステップS124の処理において、前記メモリ等のSIDに設定されている値がメインデータ41を示しているか否かを判定して、データセット51のデータ構成を判別する。そして、コントローラ16は、該判別結果を示すDSIT52、つまり、現在のSIDを有するDSIT52を作成し、その後ステップS125の処理に進む。この処理によって作成されたDSIT52は、メインデータ41と無効データ43で構成される。そして、DSIT52は、データセット51がメインデータ41で構成されていることを、SIDによって示している。 In the process of step S124, the controller 16 determines whether or not the value set in the SID of the memory or the like indicates the main data 41, and determines the data configuration of the data set 51. Then, the controller 16 creates the DSIT 52 indicating the determination result, that is, the DSIT 52 having the current SID, and then proceeds to the processing of step S125. The DSIT 52 created by this processing is composed of main data 41 and invalid data 43. The DSIT 52 indicates by SID that the data set 51 is composed of main data 41.
 コントローラ16は、ステップS125の処理において、セグメント12bのデータセット51及びDSIT52を、記録チャネル13を介してテープ14aに書き込むために、記録チャネル13、ヘッド位置制御システム17、モータドライバ18、等を制御し、その後ステップS126の処理に進む。そして、コントローラ16は、ステップS126において、バッファ12のバッファポインタを次のセグメント12bの先頭に進め、その後処理を終了する。 In the process of step S125, the controller 16 controls the recording channel 13, the head position control system 17, the motor driver 18, and the like to write the data set 51 and DSIT 52 of the segment 12b to the tape 14a via the recording channel 13. Then, the process proceeds to step S126. In step S126, the controller 16 advances the buffer pointer of the buffer 12 to the head of the next segment 12b, and thereafter ends the processing.
 以上説明した図6に示すSync処理をコントローラ16が実行することで、上述した請求項中の上記データ記録装置10Aにおける管理情報付加手段16bと記憶制御手段16cとして機能することになる。詳細には、図6に示すフローチャート中のステップS124が管理情報付加手段16b、ステップS125が記憶制御手段16cにそれぞれ相当している。 When the controller 16 executes the sync process shown in FIG. 6 described above, the controller 16 functions as the management information adding unit 16b and the storage control unit 16c in the data recording apparatus 10A in the claims described above. Specifically, step S124 in the flowchart shown in FIG. 6 corresponds to the management information adding unit 16b, and step S125 corresponds to the storage control unit 16c.
 次に、テープドライブ10がホスト20からMSコマンドを受けたときに、コントローラ16が実行するModeSelectコマンド処理の一例を、図7に示すフローチャートを参照して以下に説明する。 Next, an example of ModeSelect command processing executed by the controller 16 when the tape drive 10 receives an MS command from the host 20 will be described below with reference to the flowchart shown in FIG.
 コントローラ16は、ステップS131の処理において、前記メモリ等の現在のSIDと、MSコマンドで指定されたSIDとを比較し、その後ステップS132の処理に進む。コントローラ16は、ステップS132の処理において、MSコマンドで指定されたSIDが前記メモリ等のSIDと異なるか否かを判定する。コントローラ16は、指定されたSIDが異なっていない、つまり、SIDが一致していると判定した場合(S132でNO)、前記メモリ等のSIDを変更する必要がないため、処理を終了する。一方、コントローラ16は、SIDが異なっていると判定した場合(S132でYES)、ステップS133の処理に進む。 In the process of step S131, the controller 16 compares the current SID of the memory or the like with the SID specified by the MS command, and then proceeds to the process of step S132. In the process of step S132, the controller 16 determines whether or not the SID specified by the MS command is different from the SID of the memory or the like. If the controller 16 determines that the specified SIDs are not different, that is, the SIDs match (NO in S132), the controller 16 does not need to change the SID of the memory or the like, and thus ends the process. On the other hand, if the controller 16 determines that the SIDs are different (YES in S132), the controller 16 proceeds to the process of step S133.
 コントローラ16は、ステップS133の処理において、上述した図6に示すSync処理を呼び出し、該Sync処理の終了に応じて、ステップS134の処理に進む。コントローラ16は、ステップS134の処理において、前記メモリ等に記憶している現在のSIDを、MSコマンドで指定されたSIDに更新し、その後、処理を終了する。 In the process of step S133, the controller 16 calls the sync process shown in FIG. 6 described above, and proceeds to the process of step S134 in accordance with the end of the sync process. In step S134, the controller 16 updates the current SID stored in the memory or the like to the SID specified by the MS command, and then ends the process.
 次に、上述したテープドライブ10のコントローラ16による本発明に係るデータ読み出し処理の一例を、図8の図面を参照して以下に説明する。そして、このデータ読み出し処理は、コントローラ16がホスト20からReadコマンドを受けたときに実行されることを前提としている。 Next, an example of the data read process according to the present invention by the controller 16 of the tape drive 10 described above will be described below with reference to the drawing of FIG. This data reading process is assumed to be executed when the controller 16 receives a Read command from the host 20.
 まず、コントローラ16は、インタフェース11を介してホスト20からReadコマンドを取得する(S201)。コントローラ16は、記録チャネル13を介してテープ14aからデータセット51とそのDSIT52を順次読み出して、バッファ12のセグメント12bに順次格納し(S202)、その後ステップS203の処理に進む。 First, the controller 16 acquires a Read command from the host 20 via the interface 11 (S201). The controller 16 sequentially reads the data set 51 and its DSIT 52 from the tape 14a via the recording channel 13 and sequentially stores them in the segment 12b of the buffer 12 (S202), and then proceeds to the processing of step S203.
 コントローラ16は、該DSIT52のDS番号と連続するDSIT52のDS番号を比較して、データセット51が正しい順番で読み込まれているかを確認するとともに、該DSIT52のSIDに基づいてデータセット51のデータが、Readコマンドで要求された転送対象データであるか否かを判別する(ステップS203)。詳細には、ホスト20からのReadコマンドで指定された転送対象データ(例えば、SID=“1”又は“2”など)に基づいて、データセット51のデータが転送対象データであるか否かを判別する。なお、転送対象データの要求方法については、転送対象データを前記内蔵メモリ等に予め記憶しておくなど、種々異なる実施の形態を採用してもよい。 The controller 16 compares the DS number of the DSIT 52 with the DS number of the continuous DSIT 52 to confirm that the data set 51 is read in the correct order, and the data of the data set 51 is based on the SID of the DSIT 52. Then, it is determined whether or not the transfer target data is requested by the Read command (step S203). Specifically, based on the transfer target data specified by the Read command from the host 20 (for example, SID = "1" or "2"), it is determined whether or not the data in the data set 51 is the transfer target data. Determine. As for the method for requesting transfer target data, various different embodiments may be adopted, such as storing the transfer target data in the built-in memory or the like in advance.
 コントローラ16は、前記転送対象データと判別したデータセット51のデータのホスト20への転送を、インタフェース11を介してDS番号の順番で行い、全ての転送の終了に応じて処理を終了する(ステップS204)。 The controller 16 transfers the data of the data set 51 determined as the transfer target data to the host 20 through the interface 11 in the order of the DS number, and ends the processing in response to the end of all the transfers (steps). S204).
 以上説明した図8に示すデータ読み出し処理をコントローラ16が実行することで、上述した請求項中の上記データ読み出し装置10Bの読み出し手段16dと読み出し用判別手段16eと転送手段16fとして機能することになる。詳細には、図8に示すフローチャート中のS202が読み出し手段16d、ステップS203が読み出し用判別手段16e、ステップS204が転送手段16fにそれぞれ相当している。 When the controller 16 executes the data read process shown in FIG. 8 described above, the controller 16 functions as the read means 16d, the read discriminating means 16e, and the transfer means 16f of the data read device 10B in the claims described above. . Specifically, S202 in the flowchart shown in FIG. 8 corresponds to the reading unit 16d, step S203 corresponds to the reading determining unit 16e, and step S204 corresponds to the transfer unit 16f.
 次に、上述したテープ媒体記録システム1におけるテープドライブ10とホスト20の動作(作用)の一例を、図4の図面を参照して以下に説明する。 Next, an example of the operation (action) of the tape drive 10 and the host 20 in the above-described tape medium recording system 1 will be described below with reference to the drawing of FIG.
[データ書き込み時]
 ホスト20は、例えば複数のファイル4をテープ14aにバックアップする場合、複数のファイル4の各々の間にファイルマーク4fを挿入し、それらの連続したデータを前記所定サイズに分割してWriteコマンドやWriteFMコマンドと共にテープドライブ10に順次送信する。そして、ホスト20は、その後所定のタイミングで同期処理のリクエストのためのWriteFMコマンドをテープドライブ10に送信する。
[When writing data]
For example, when backing up a plurality of files 4 to the tape 14a, the host 20 inserts a file mark 4f between each of the plurality of files 4, divides the continuous data into the predetermined size, and writes a Write command or a WriteFM. It is sequentially transmitted to the tape drive 10 together with the command. The host 20 then transmits a Write FM command for a request for synchronization processing to the tape drive 10 at a predetermined timing.
 テープドライブ10は、最初のWriteコマンドを受けると、前記内蔵メモリ等のSIDに初期値である“1”を設定する。その後、テープドライブ10は、複数のWriteコマンドを受けた後、バッファ12のセグメント12bにデータセット51が完成すると、前記内蔵メモリ等のSIDに基づいてデータセット51のデータ構成を判別する。テープドライブ10は、その判別結果を示すDSIT52を作成し、該DSIT52をデータセット51に付加する。そして、テープドライブ10は、WriteFM要求を受けている場合、記録チャネル13、ヘッド位置制御システム17、モータドライバ18、等を制御して、そのデータセット51及びDSIT52のテープ14aへの記憶を開始する。 When receiving the first Write command, the tape drive 10 sets “1” as an initial value to the SID of the internal memory or the like. Thereafter, after receiving a plurality of Write commands, the tape drive 10 determines the data configuration of the data set 51 based on the SID of the internal memory or the like when the data set 51 is completed in the segment 12b of the buffer 12. The tape drive 10 creates a DSIT 52 indicating the determination result, and adds the DSIT 52 to the data set 51. When receiving the WriteFM request, the tape drive 10 controls the recording channel 13, the head position control system 17, the motor driver 18, and the like, and starts storing the data set 51 and the DSIT 52 on the tape 14a. .
 以降、テープドライブ10は、上述した一連の処理を繰り返すことで、データセット51が完成する毎に、そのデータ構成を判別し、該判別結果を示すDSIT52を作成して付加する。そして、テープドライブ10は、データセット51及びデータセット51に付加されたDSIT52をテープ14aに記憶する。 Thereafter, the tape drive 10 repeats the series of processes described above, so that each time the data set 51 is completed, the data configuration is determined, and a DSIT 52 indicating the determination result is created and added. Then, the tape drive 10 stores the data set 51 and the DSIT 52 added to the data set 51 on the tape 14a.
 テープドライブ10は、図4に示すように、N-1番目とN番目に跨るデータのWriteコマンドを受けて、バッファ12のセグメント12bにデータセット51が完成すると、前記内蔵メモリ等のSIDに基づいて、そのデータセット51のデータ構成を判別する。そして、テープドライブ10は、SIDが“1”であることから、データセット51のデータ構成はメインデータ41と判別し、該判別結果を示すDSIT52を作成する。 As shown in FIG. 4, when the data set 51 is completed in the segment 12b of the buffer 12 in response to the write command for the data spanning the (N−1) th and Nth data, the tape drive 10 is based on the SID of the built-in memory or the like. Thus, the data configuration of the data set 51 is determined. Since the SID is “1”, the tape drive 10 determines that the data configuration of the data set 51 is the main data 41 and creates a DSIT 52 indicating the determination result.
 例えば、図4に示すように、DS番号にシーケンシャルな「16」が設定されたDSIT52には、SIDに“1”が設定される。そのデータセット51は、N-1番目及びN番目と各メインデータ41とファイルマーク4fとを含む構成となっている。そして、DS番号が「17」のDSIT52には、SIDに“1”が設定される。そのデータセット51は、N番目のメインデータ41のみで構成されている。 For example, as shown in FIG. 4, “1” is set to the SID in the DSIT 52 in which the sequential “16” is set to the DS number. The data set 51 includes the (N−1) th and Nth main data 41 and a file mark 4f. In the DSIT 52 with the DS number “17”, “1” is set as the SID. The data set 51 includes only the Nth main data 41.
 その後、ホスト20は、N番目のファイル4において、メインデータ41の終端、即ち、メインデータ41とサブデータ42の区切りを検出すると、メインデータ41の終端に対応したデータとWriteコマンドをテープドライブ10に送信し、その後、SIDを“1”から“2”に変更するために、MSコマンドをテープドライブ10に送信する。 Thereafter, when the host 20 detects the end of the main data 41, that is, the separation of the main data 41 and the sub data 42 in the Nth file 4, the host 20 sends the data corresponding to the end of the main data 41 and the Write command to the tape drive 10. After that, the MS command is transmitted to the tape drive 10 in order to change the SID from “1” to “2”.
 テープドライブ10は、Writeコマンドを受けて、バッファ12のセグメント12bにデータを格納し、その際にMSコマンドを受けていると、現在蓄積中のセグメント12bを無効データ43でPaddingすることで、データセット51を完成させる。そして、それに対応したDSIT52を作成してデータセット51に付加した後、前記メモリ等のSIDを“1”から“2”に変更する。この場合の完成されたDSIT51のDS番号は「18」、SIDは“1”となっている。 In response to the Write command, the tape drive 10 stores the data in the segment 12b of the buffer 12. When the MS command is received at that time, the tape drive 10 pads the currently accumulated segment 12b with the invalid data 43 so that the data Complete the set 51. A corresponding DSIT 52 is created and added to the data set 51, and then the SID of the memory or the like is changed from “1” to “2”. In this case, the DS number of the completed DSIT 51 is “18”, and the SID is “1”.
 次に、ホスト20は、N番目のファイル4におけるサブデータ42を分割したデータをWriteコマンドと共にテープドライブ10に送信する。一方、テープドライブ10は、Writeコマンドを受けて、バッファ12のセグメント12bにデータセット51が完成すると、前記内蔵メモリ等のSIDに基づいて、そのデータセット51のデータ構成を判別する。テープドライブ10は、SIDが“2”であることから、データセット51のデータ構成はサブデータ42と判別し、該判別結果を示すDSIT52を作成する。テープドライブ10は、SIDに“2”が設定されたDSIT52を対応するデータセット51に付加する。 Next, the host 20 transmits data obtained by dividing the sub data 42 in the Nth file 4 to the tape drive 10 together with the Write command. On the other hand, when the tape drive 10 receives the Write command and completes the data set 51 in the segment 12b of the buffer 12, the tape drive 10 determines the data configuration of the data set 51 based on the SID of the internal memory or the like. Since the SID is “2”, the tape drive 10 determines that the data configuration of the data set 51 is sub-data 42 and creates a DSIT 52 indicating the determination result. The tape drive 10 adds the DSIT 52 in which “2” is set to the SID to the corresponding data set 51.
 その後、ホスト20は、サブデータ42の終端、即ち、N番目のファイル4とファイルマーク4fとの境界を検出すると、Writeコマンドとそのデータをテープドライブ10に送信した後に、SIDを“2”から“1”に変更するために、MSコマンドをテープドライブ10に送信する。 Thereafter, when the host 20 detects the end of the sub-data 42, that is, the boundary between the Nth file 4 and the file mark 4f, the host 20 transmits the Write command and its data to the tape drive 10 and then changes the SID from “2”. In order to change to “1”, an MS command is transmitted to the tape drive 10.
 テープドライブ10は、Writeコマンドに応じてバッファ12のセグメント12bにデータを格納する。テープドライブ10は、データセット51が完成していない状態で、ホスト20からMSコマンドを受けると、現在蓄積中のセグメント12bを無効データ43でPaddingすることで、データセット51を完成させる。そして、テープドライブ10は、前記内蔵メモリ等のSIDに基づいてデータセット51のデータ構成がサブデータ42であると判別すると、その判別結果を示すDSIT52を作成してデータセット51に付加する。その後、テープドライブ10は、前記メモリ等のSIDを“2”から“1”に変更する。 The tape drive 10 stores data in the segment 12b of the buffer 12 in response to the Write command. When the tape drive 10 receives an MS command from the host 20 in a state where the data set 51 is not completed, the tape drive 10 completes the data set 51 by padding the currently stored segment 12b with the invalid data 43. When the tape drive 10 determines that the data configuration of the data set 51 is the sub data 42 based on the SID of the built-in memory or the like, the tape drive 10 creates a DSIT 52 indicating the determination result and adds the DSIT 52 to the data set 51. Thereafter, the tape drive 10 changes the SID of the memory or the like from “2” to “1”.
 以降は、テープドライブ10は、ホスト20からWriteコマンドを受けてデータセット51が完成すると、前記内蔵メモリ等のSIDには“1”が設定されていることから、データセット51のデータ構成はメインデータ41であると判別し、該判別結果を示すDSIT52(SID=“1”)を作成してデータセット51に付加する。そして、テープドライブ10は、上述した一連の処理を繰り返すことで、前記内蔵メモリ等のSIDの値に基づいてデータセット51のデータ構成を判別し、該判別結果を示すDSIT52を作成してデータセット51に付加することになる。 Thereafter, when the tape drive 10 receives the Write command from the host 20 and completes the data set 51, the SID of the built-in memory or the like is set to “1”. The data 41 is discriminated, and a DSIT 52 (SID = “1”) indicating the discrimination result is created and added to the data set 51. The tape drive 10 repeats the series of processes described above to determine the data configuration of the data set 51 based on the SID value of the built-in memory, etc., and creates a DSIT 52 indicating the determination result to generate the data set 51.
[データ読み込み時]
 ホスト20は、テープ14aから所望のデータを読み出す場合、例えばDS番号範囲、SIDなどを指定するReadコマンドをテープドライブ10に送信する。ここでは、メインではメインデータ41のみを読み出す場合について説明する。なお、Readコマンドは必ずしもDS番号等を指定する必要はない。
[When reading data]
When the host 20 reads desired data from the tape 14a, the host 20 transmits, for example, a Read command designating a DS number range, SID, and the like to the tape drive 10. Here, a case where only the main data 41 is read in the main will be described. Note that it is not always necessary to specify a DS number or the like in the Read command.
 テープドライブ10は、ホスト20からReadコマンドを受けると、テープ14aからデータセット51とその管理情報52を順次読み出して、バッファ12のセグメント12bに順位格納(記憶)する。なお、本実施の形態では、ReadコマンドにSIDの指定がない場合、テープドライブ10は、予め定められたデフォルト値(メインデータ41であれば“1”等)に対応したデータを転送対象データとする。 Upon receiving a Read command from the host 20, the tape drive 10 sequentially reads the data set 51 and its management information 52 from the tape 14a, and stores (stores) the rank in the segment 12b of the buffer 12. In this embodiment, when the SID is not specified in the Read command, the tape drive 10 uses data corresponding to a predetermined default value (such as “1” for the main data 41) as the transfer target data. To do.
 テープドライブ10は、管理情報のDS番号に基づいてデータセット51が正しく順番に読み込まれていると、データセット51がReadコマンドで要求された転送対象データであるか否かを、各管理情報のSIDに基づいて判別する。そして、テープドライブ10は、インタフェース11を介して転送対象データであるメインデータ41のみをホスト20に順次転送する。一方、ホスト20は、テープドライブ10から受信したメインデータ41をメモリ、ハードディスク装置等に順次記憶する。 When the data set 51 is read in the correct order based on the DS number of the management information, the tape drive 10 determines whether the data set 51 is the transfer target data requested by the Read command. The determination is made based on the SID. Then, the tape drive 10 sequentially transfers only the main data 41 as the transfer target data to the host 20 via the interface 11. On the other hand, the host 20 sequentially stores the main data 41 received from the tape drive 10 in a memory, a hard disk device or the like.
 次に、ホスト20は、テープ14aからサブデータ42のみを読み出す場合、例えばSIDなどを指定するReadコマンドをテープドライブ10に送信する。そして、テープドライブ10は、テープ14aからデータセット51とその管理情報52を順次読み出して、バッファ12のセグメント12bに順次格納(記憶)する。テープドライブ10は、管理情報のDS番号に基づいてデータセット51が正しく順番に読み込まれていると、各管理情報のSIDに基づいて、連続するデータセット51のデータ構成を判別し、インタフェース11を介して転送対象であるサブデータ52のみをホスト20に転送する。一方、ホスト20は、テープドライブ10から受信したサブデータ42をメモリ、ハードディスク装置等に順次記憶する。 Next, when only the sub data 42 is read from the tape 14a, the host 20 transmits a Read command designating, for example, an SID to the tape drive 10. Then, the tape drive 10 sequentially reads the data set 51 and its management information 52 from the tape 14 a and sequentially stores (stores) them in the segment 12 b of the buffer 12. When the data set 51 is correctly read in order based on the DS number of the management information, the tape drive 10 determines the data configuration of the continuous data set 51 based on the SID of each management information, and the interface 11 Only the sub data 52 to be transferred is transferred to the host 20. On the other hand, the host 20 sequentially stores the sub data 42 received from the tape drive 10 in a memory, a hard disk device or the like.
 以上説明したテープドライブ10によれば、ホスト20から1つのファイルとして連続的に受けたメインデータ(第1データ)41とサブデータ(第2データ)42を、連続した複数のデータセット51として複数のセグメント12bに蓄積し、蓄積した各データセット51のデータ構成を判別する。そして、該判別結果を示すDSIT(管理情報)52を対応するデータセット51に付加し、データセット51とそのDSIT52をテープ14aに記憶するようにした。よって、テープ14aに記憶する複数のデータセット51の各々にはDSIT52が付加されているため、テープドライブ10において、関連する複数のデータは1つのファイルとして扱われつつも、データセット51の読み出し時等に、データセット51に付加されたDSIT52からデータセット51のデータ構成を確認することで、メインデータ41とサブデータ42を識別することができる。 According to the tape drive 10 described above, a plurality of main data (first data) 41 and sub data (second data) 42 continuously received as one file from the host 20 are stored as a plurality of continuous data sets 51. And the data structure of each of the stored data sets 51 is determined. A DSIT (management information) 52 indicating the discrimination result is added to the corresponding data set 51, and the data set 51 and its DSIT 52 are stored in the tape 14a. Accordingly, since the DSIT 52 is added to each of the plurality of data sets 51 stored on the tape 14a, the plurality of related data is handled as one file in the tape drive 10, but the data set 51 is read. For example, the main data 41 and the sub data 42 can be identified by confirming the data configuration of the data set 51 from the DSIT 52 added to the data set 51.
 また、テープドライブ10によれば、テープ14aからデータセット51と該データセット51に付加されたDSIT52とを読み出し、該DSITに基づいてデータセット51のデータが転送対象データであるか否かを判別する。そして、データセット51を構成するデータのうち、転送対象データであると判別したメインデータ41及びサブデータ42の少なくとも一方を転送先のホスト20に転送する。よって、テープ14aから読み出したデータセット51のうち、転送対象データであるデータをDSIT52に基づいて判別して転送先のホスト20に転送するようにしたことから、ホスト20はデータセット51のデータ内容の解析を行う必要がないため、該解析を行うためのアプリケーションプログラム等を不要とすることができる。また、転送先であるホスト20はデータの関連性を考慮することなく、読み出しを要求すればよいため、転送先の処理の簡単化を図ることができる。 Further, the tape drive 10 reads the data set 51 and the DSIT 52 added to the data set 51 from the tape 14a, and determines whether or not the data in the data set 51 is transfer target data based on the DSIT. To do. Then, at least one of the main data 41 and the sub data 42 determined to be transfer target data among the data constituting the data set 51 is transferred to the transfer destination host 20. Therefore, since the data that is the transfer target data in the data set 51 read from the tape 14 a is determined based on the DSIT 52 and transferred to the transfer destination host 20, the host 20 stores the data contents of the data set 51. Therefore, an application program for performing the analysis or the like can be dispensed with. Further, since the host 20 that is the transfer destination only needs to request reading without considering the relevance of the data, the processing of the transfer destination can be simplified.
 従って本発明によれば、メインデータ41とサブデータ42、即ち、互いに関連する複数のデータは、同じ1つのファイルとしてテープ14aに記録されるため、データ移動やリストア等の作業の過程において、関連する複数のデータの一部の情報が失われるというようなことはない。また、テープ14aからの読み出しの際には、テープドライブ10において各データ(本実施例においてはメインデータ41とサブデータ42)を識別できるため、テープ14aから読み出したデータの内容等を、システム上のアプリケーションプログラムが解析する必要がなく、テープ14aにデータを書き込むための装置等の汎用性を向上することができる。 Therefore, according to the present invention, the main data 41 and the sub data 42, that is, a plurality of mutually related data are recorded on the tape 14a as the same single file. There is no loss of some of the information in the data. Further, when reading from the tape 14a, each data (main data 41 and sub data 42 in this embodiment) can be identified in the tape drive 10. Therefore, the contents of the data read from the tape 14a are stored on the system. Therefore, the versatility of a device for writing data on the tape 14a can be improved.
 なお、上述した実施の形態では、管理情報であるDSIT52にSIDのみを追加して、メインデータ41とサブデータ42を判別可能とした場合について説明したが、本発明はこれに限定するものではなく、それ以外のデータを付加することもできる。 In the above-described embodiment, the case has been described in which only the SID is added to the management information DSIT 52 so that the main data 41 and the sub data 42 can be discriminated. However, the present invention is not limited to this. Other data can also be added.
 上述した図4に示すN番目のファイル4では、ホスト20によってメインデータ41とサブデータ42が、同一のデータセット51とならないようにした場合について説明した。これに対し、データセット51がメインデータ41とサブデータ42を混在させることが可能な実施の形態とすることもできる。 In the N-th file 4 shown in FIG. 4 described above, the case where the main data 41 and the sub data 42 are prevented from being the same data set 51 by the host 20 has been described. On the other hand, the data set 51 can be an embodiment in which the main data 41 and the sub data 42 can be mixed.
 例えばDSIT52は、図9に示すように、上記DS番号、SID1、SID1_Length、SID2、SID2_Length、等の各種データを含む構成となっている。そして、SID1は、データセット51における1つ目又は1種類のデータを示している。つまり、SID1は、上述した“1”又は“2”が設定されることで、データセット51における1つ目に位置するデータ、又はデータセット51を構成しているデータが、メインデータ41又はサブデータ42の何れであるかを示している。 For example, as shown in FIG. 9, the DSIT 52 includes various data such as the DS number, SID1, SID1_Length, SID2, SID2_Length, and the like. SID1 indicates the first or one type of data in the data set 51. In other words, when SID1 is set to “1” or “2” as described above, the first data in the data set 51 or the data constituting the data set 51 becomes the main data 41 or the sub data. The data 42 is indicated.
 SID1_Lengthは、SID1のデータの長さが設定され、1種類のデータが格納されている場合は、固定長の0x200000、混在(2種類)の場合は先頭に位置する1つ目のデータのデータ長がそれぞれ設定される。SID2は、データセット51が2種類のデータで構成されているか否かを示すデータとなっている。SID2は、データセット51が1種類のデータのみで構成されている場合は空白が設定される。また、SID2は、データセット51が2種類のデータで構成されている場合は、データセット51における2番目のデータの種類が設定される。SID2_Lengthは、SID2が示す2番目のデータの長さが設定される。 In SID1_Length, the length of the data of SID1 is set. When one type of data is stored, the fixed length is 0x200000, and when mixed (two types), the data length of the first data located at the head Are set respectively. SID2 is data indicating whether or not the data set 51 is composed of two types of data. SID2 is set to be blank when the data set 51 is composed of only one type of data. In the case of SID2, when the data set 51 is composed of two types of data, the type of the second data in the data set 51 is set. In SID2_Length, the length of the second data indicated by SID2 is set.
 このようにSID1_LengthとSID2_LengthをDSIT52に設けることで、DSIT52に基づいてデータセット51を構成するメインデータ41とサブデータ42の各データサイズを確認することができる。よって、データセット51にメインデータ41とサブデータ42を混在させても、DSIT52に基づいて必要なデータをデータセット51から抽出することができる。 Thus, by providing the SID1_Length and SID2_Length in the DSIT 52, it is possible to confirm the data sizes of the main data 41 and the sub data 42 constituting the data set 51 based on the DSIT 52. Therefore, even if the main data 41 and the sub data 42 are mixed in the data set 51, necessary data can be extracted from the data set 51 based on the DSIT 52.
 次に、DSIT52にデータサイズを設定する場合に、上述したテープドライブ10のコントローラ16による本発明に係る各種処理の一例を、図10~13の図面を参照して以下に説明する。 Next, an example of various processes according to the present invention by the controller 16 of the tape drive 10 described above when setting the data size in the DSIT 52 will be described with reference to the drawings of FIGS.
 まず、上述したテープドライブ10のコントローラ16が実行する第2のWriteコマンド処理の一例を、図10の図面を参照して以下に説明する。なお、該第2のWriteコマンド処理は、上述した図5に示すWriteコマンド処理と基本部分は同一となっている。 First, an example of the second Write command process executed by the controller 16 of the tape drive 10 described above will be described below with reference to the drawing of FIG. The second write command process is basically the same as the write command process shown in FIG.
 コントローラ16は、バッファ12のポインタが指す位置から、そのWriteコマンドと共に受信したデータをセグメント12bに書き込む(T111)。コントローラ16は、データをセグメント12bに書き込んだ結果、1つ以上のデータセット51が完成したか否かを判定する(T112)。コントローラ16は、1つ以上のデータセット51が完成していないと判定した場合(T112でNO)、ステップT116の処理に進む。一方、コントローラ16は、1つ以上のデータセット51が完成していると判定した場合(T112でYES)、ステップT113の処理に進む。 The controller 16 writes the data received together with the Write command from the position indicated by the pointer of the buffer 12 to the segment 12b (T111). The controller 16 determines whether or not one or more data sets 51 are completed as a result of writing the data to the segment 12b (T112). If the controller 16 determines that one or more data sets 51 are not completed (NO in T112), the controller 16 proceeds to the process of step T116. On the other hand, if the controller 16 determines that one or more data sets 51 have been completed (YES in T112), the controller 16 proceeds to the process of step T113.
 コントローラ16は、ステップT113の処理において、後述する図11に示すDSIT作成処理を呼び出し、該DSIT作成処理の終了に応じてステップT114の処理に進む。なお、このようにステップT113の処理をループさせることで、Writeコマンドで送られてきたデータが格納される最初のデータセット51に、違ったSIDのデータが既に格納されていても、正しいSIDをセットすることができる。 In the process of step T113, the controller 16 calls a DSIT creation process shown in FIG. 11 to be described later, and proceeds to the process of step T114 when the DSIT creation process ends. By looping the process of step T113 in this way, even if data of a different SID is already stored in the first data set 51 in which the data sent by the Write command is stored, the correct SID is set. Can be set.
 コントローラ16は、ステップT114の処理において、バッファ12の全てのデータセット51の各々に対して、DSIT52が作成されたか否かを判定する。コントローラ16は、全てのデータセット51についてDSIT52が作成されていないと判定した場合(T114でNO)、ステップT113の処理に戻り、一連の処理を繰り返す。一方、コントローラ16は、全てのデータセット51についてDSIT52が作成されたと判定した場合(T114でYES)、ステップT115の処理に進む。 Controller 16 determines whether or not DSIT 52 has been created for each of all data sets 51 in buffer 12 in the process of step T114. If the controller 16 determines that the DSIT 52 has not been created for all the data sets 51 (NO in T114), the controller 16 returns to the process in step T113 and repeats a series of processes. On the other hand, when it is determined that the DSIT 52 has been created for all the data sets 51 (YES in T114), the controller 16 proceeds to the process of step T115.
 コントローラ16は、ステップT115の処理において、セグメント12bのデータセット51及びDSIT52を、記録チャネル13を介してテープ14aに書き込むために、記録チャネル13、ヘッド位置制御システム17、モータドライバ18、等を制御し、その後ステップT116の処理に進む。コントローラ16は、ステップT116の処理において、バッファ12のバッファポインタを、バッファ12に書き込んだデータの最後尾に進め、その後処理を終了する。 In the process of step T115, the controller 16 controls the recording channel 13, the head position control system 17, the motor driver 18, and the like in order to write the data set 51 and DSIT 52 of the segment 12b to the tape 14a via the recording channel 13. Then, the process proceeds to step T116. In the process of step T116, the controller 16 advances the buffer pointer of the buffer 12 to the end of the data written in the buffer 12, and thereafter ends the process.
 次に、上述したテープドライブ10のコントローラ16が実行する図10中のDSIT処理の一例を、図11のフローチャートを参照して以下に説明する。 Next, an example of the DSIT process in FIG. 10 executed by the controller 16 of the tape drive 10 described above will be described below with reference to the flowchart of FIG.
 コントローラ16は、ステップT121の処理において、対象のデータセット51に関連付けられたDSIT52内に既にセットされているSIDを確認し、その後、ステップT122の処理に進む。コントローラ16は、ステップT122の処理において、DSIT52内に、1つ以上のSID、つまり、図9中のSID1又はSID2が既にセットされているか否かを判定する。 In the process of step T121, the controller 16 confirms the SID already set in the DSIT 52 associated with the target data set 51, and then proceeds to the process of step T122. In the process of step T122, the controller 16 determines whether or not one or more SIDs, that is, SID1 or SID2 in FIG.
 コントローラ16は、1つ以上のSIDが既にセットされていると判定した場合(T122でYES)、ステップT123の処理に進む。コントローラ16は、セグメント12bに既に記録しているデータの最後尾から、最新のデータセット51の終わりまでのデータ量を計算し(T123)、その後、ステップT125の処理に進む。 If the controller 16 determines that one or more SIDs are already set (YES in T122), the controller 16 proceeds to the process of step T123. The controller 16 calculates the amount of data from the end of the data already recorded in the segment 12b to the end of the latest data set 51 (T123), and then proceeds to the process of step T125.
 一方、コントローラ16は、1つ以上のSIDがセットされていないと判定した場合(T122でNO)、ステップT124の処理に進む。コントローラ16は、データセット51のデータ量としてデータセットサイズの値を設定し(T124)、その後ステップT125に進む。 On the other hand, when it is determined that one or more SIDs are not set (NO in T122), the controller 16 proceeds to the process of Step T124. The controller 16 sets the value of the data set size as the data amount of the data set 51 (T124), and then proceeds to step T125.
 コントローラ16は、ステップT125の処理において、計算したデータ量でDSIT52のSID1_Length及びSID2_Lengthの少なくとも一方にセットし、計算したデータ量と前記メモリ等に記載している現在のSIDで、DSIT52のSID部分を更新し、その後ステップT126の処理に進む。コントローラ16は、ステップT126の処理において、DSIT52のSIDに関連しない部分を作成し、その後、処理を終了する。 In the process of step T125, the controller 16 sets at least one of the SID1_Length and SID2_Length of the DSIT 52 with the calculated data amount, and sets the SID portion of the DSIT 52 with the calculated data amount and the current SID described in the memory or the like. Then, the process proceeds to step T126. In the process of step T126, the controller 16 creates a part that is not related to the SID of the DSIT 52, and then ends the process.
 次に、テープドライブ10が実行する第2のSync処理の一例を、図12に示すフローチャートを参照して以下に説明する。 Next, an example of the second Sync process executed by the tape drive 10 will be described below with reference to the flowchart shown in FIG.
 コントローラ16は、ステップT131の処理において、バッファ12のバッファポインタの位置を確認し、その後ステップT132の処理に進む。コントローラ16は、ステップT132の処理において、バッファ12の未完のデータセット51にデータが残っているか否かを判定する。コントローラ16は、未完のデータセット51にデータが残っていないと判定した場合(T132でNO)、処理を終了する。一方、未完のデータセット51にデータが残っていると判定した場合(T132でYES)、ステップT133の処理に進む。 The controller 16 confirms the position of the buffer pointer of the buffer 12 in the process of step T131, and then proceeds to the process of step T132. In the process of step T132, the controller 16 determines whether data remains in the incomplete data set 51 of the buffer 12. If the controller 16 determines that no data remains in the incomplete data set 51 (NO in T132), the process ends. On the other hand, when it is determined that data remains in the incomplete data set 51 (YES in T132), the process proceeds to step T133.
 コントローラ16は、ステップT133の処理において、セグメント12bに今回書き込んだデータの終端以降、即ち、セグメント12bの書き込み可能な前記領域を、前記無効データ43でPaddingし、その後ステップT134の処理に進む。コントローラ16は、上述した図11に示すDSIT作成処理を呼び出し、該DSIT作成処理の終了に応じてステップT135の処理に進む。 In the process of step T133, the controller 16 pads the writable area after the end of the data written in the segment 12b, that is, the writable area of the segment 12b with the invalid data 43, and then proceeds to the process of step T134. The controller 16 calls the DSIT creation process shown in FIG. 11 described above, and proceeds to the process of step T135 when the DSIT creation process ends.
 コントローラ16は、ステップT135の処理において、セグメント12bのデータセット51及びDSIT52を、記録チャネル13を介してテープ14aに書き込むために、記録チャネル13、ヘッド位置制御システム17、モータドライバ18、等を制御し、その後ステップT136の処理に進む。コントローラ16は、ステップT136の処理において、バッファ12のバッファポインタを、バッファ12の次のセグメント12bの先頭に進め、その後処理を終了する。 In the process of step T135, the controller 16 controls the recording channel 13, the head position control system 17, the motor driver 18, and the like to write the data set 51 and DSIT 52 of the segment 12b to the tape 14a via the recording channel 13. Then, the process proceeds to step T136. In the process of step T136, the controller 16 advances the buffer pointer of the buffer 12 to the head of the next segment 12b of the buffer 12, and thereafter ends the process.
 次に、テープドライブ10がホスト20からMSコマンドを受けたときに、コントローラ16が実行する第2のModeSelectコマンド処理の一例を、図13に示すフローチャートを参照して以下に説明する。 Next, an example of the second ModeSelect command process executed by the controller 16 when the tape drive 10 receives an MS command from the host 20 will be described below with reference to the flowchart shown in FIG.
 コントローラ16は、ステップT141の処理において、前記メモリ等の現在のSIDと、MSコマンドで指定されたSIDとを比較し、その後ステップT142の処理に進む。コントローラ16は、ステップT142の処理において、MSコマンドで指定されたSIDが前記メモリ等のSIDと異なるか否かを判定する。コントローラ16は、指定されたSIDが異なっていない、つまり、SIDが一致していると判定した場合(T142でNO)、前記メモリ等のSIDを変更する必要がないため、処理を終了する。一方、コントローラ16は、SIDが異なっていると判定した場合(T142でYES)、ステップT143の処理に進む。 In the process of step T141, the controller 16 compares the current SID of the memory or the like with the SID specified by the MS command, and then proceeds to the process of step T142. In the process of step T142, the controller 16 determines whether or not the SID specified by the MS command is different from the SID of the memory or the like. If the controller 16 determines that the specified SIDs are not different, that is, the SIDs match (NO in T142), the controller 16 does not need to change the SID of the memory or the like, and thus ends the process. On the other hand, if the controller 16 determines that the SIDs are different (YES in T142), the controller 16 proceeds to the process of step T143.
 コントローラ16は、ステップT143の処理において、バッファポインタの存在するデータセット51のDSIT52で、既にセットされているSIDを確認し、その後ステップT144の処理に進む。コントローラ16は、ステップT144の処理において、DSIT52内に、1つ以上のSID、つまり、図9中のSID1又はSID2が既にセットされているか否かを判定する。 In the process of step T143, the controller 16 confirms the already set SID with the DSIT 52 of the data set 51 where the buffer pointer exists, and then proceeds to the process of step T144. In the process of step T144, the controller 16 determines whether or not one or more SIDs, that is, SID1 or SID2 in FIG.
 コントローラ16は、1つ以上のSIDが既にセットされていると判定した場合(T144でYES)、ステップT145の処理に進む。コントローラ16は、セグメント12bに既に記録しているデータの最後尾から、最新のデータセット51の終わりまでのデータ量を計算し(T145)、その後、ステップT147の処理に進む。 If the controller 16 determines that one or more SIDs have already been set (YES in T144), the controller 16 proceeds to the process of step T145. The controller 16 calculates the amount of data from the end of the data already recorded in the segment 12b to the end of the latest data set 51 (T145), and then proceeds to the process of step T147.
 一方、コントローラ16は、1つ以上のSIDがセットされていないと判定した場合(T144でNO)、ステップT146の処理に進む。コントローラ16は、データセット51の先頭から、現在のデータ位置までのデータ量を計算し(T146)、その後、ステップT147に進む。 On the other hand, when it is determined that one or more SIDs are not set (NO in T144), the controller 16 proceeds to the process of Step T146. The controller 16 calculates the amount of data from the beginning of the data set 51 to the current data position (T146), and then proceeds to step T147.
 コントローラ16は、ステップT147の処理において、計算したデータ量と現在のSIDで、DSIT52のSID関連部分をを作成、或いは、更新し、その後ステップT148の処理に進む。コントローラ16は、ステップT148の処理において、前記メモリ等に記憶している現在のSIDを、MSコマンドで指定された新たなSIDに更新し、その後、処理を終了する。 The controller 16 creates or updates the SID-related part of the DSIT 52 with the calculated data amount and the current SID in the process of step T147, and then proceeds to the process of step T148. In the process of step T148, the controller 16 updates the current SID stored in the memory or the like to a new SID specified by the MS command, and then ends the process.
 テープドライブ10は、ホスト20からWriteコマンドと共に受けたデータをバッファ12のセグメント12bに蓄積する場合、その蓄積しているデータセット51のデータ構成とその長さを検出して、DSIT52を作成する。なお、データ構成とその長さの検出例としては、上述した図4のフローチャートのように、コントローラ16のメモリ等に記憶したSIDを用いて種類を判別すると共に、その長さを検出する方法や、Writeコマンドで何れか一方のデータ長をホスト20から受け取って検出する方法など種々異なる実施の形態とすることができる。 When the tape drive 10 accumulates the data received together with the Write command from the host 20 in the segment 12b of the buffer 12, the tape drive 10 detects the data configuration and the length of the accumulated data set 51, and creates the DSIT 52. As an example of detecting the data structure and its length, as shown in the flowchart of FIG. 4 described above, the type is determined using the SID stored in the memory or the like of the controller 16 and the length is detected. Various embodiments such as a method of receiving and detecting one of the data lengths from the host 20 with the Write command can be used.
 また、テープドライブ10は、ホスト20からReadコマンドを受けた場合、テープ14aから読み取ったデータセット51とDSIT52をセグメント12bに蓄積した際に、DSIT51のSID1、SID1_Length、SID2、SID2_Lengthを参照して、データセット51の構成を判別し、そのReadコマンドで要求されたデータを抽出してホスト20に転送する。 Further, when the tape drive 10 receives the Read command from the host 20 and stores the data set 51 and DSIT 52 read from the tape 14a in the segment 12b, the tape drive 10 refers to the SID1, SID1_Length, SID2, and SID2_Length of the DSIT 51, The configuration of the data set 51 is determined, and the data requested by the Read command is extracted and transferred to the host 20.
 このようにDSIT52を構成することで、データセット51にメインデータ41とサブデータ42の双方で構成しても、DSIT52に基づいてデータの構成とそのデータ長を判別することができるため、上述した実施の形態のように、ホスト20がメインデータ41とサブデータ42とを区切るようにWriteコマンドをテープドライブ10に送信する。これにより、サブデータ42が数多く存在しても、テープ14aに無効データ43を記憶する必要がなくなるため、テープ14aに記憶するデータ量の減少に貢献することができる、且つ、バッファ12のセグメント12b等のサイズの大型化を図ることができる。 By configuring the DSIT 52 in this way, even if the data set 51 is composed of both the main data 41 and the sub data 42, the data configuration and the data length can be determined based on the DSIT 52. As in the embodiment, the host 20 transmits a write command to the tape drive 10 so as to separate the main data 41 and the sub data 42. This eliminates the need to store invalid data 43 on the tape 14a even when there are a large number of sub-data 42, which can contribute to a reduction in the amount of data stored in the tape 14a, and the segment 12b of the buffer 12. The size can be increased.
 なお、本実施の形態では、メインデータ41とサブデータ42の2種類しかデータが存在しないため、DSIT52を1つのSIDで構成することもできる。例えばメインデータ41、サブデータ42、1つのメインデータ41のみ、1つのサブデータ42のみ、メインデータ41とサブデータ42が混在等の識別が可能なデータとして、その1つのSIDを構成する。しかしながら、図9に示すように、SID1、SID2で構成することで、混在するデータの順番等も判別可能とすることができる。また、DSIT52のSIDとその長さを示すデータの数を増やす(例えば、SID3、SID4、・・・等)ことで、より多くの種類のデータをデータセット51内に混在させることができる。 In the present embodiment, since there are only two types of data, main data 41 and sub-data 42, the DSIT 52 can be configured with one SID. For example, only one main data 41, only one main data 41, only one sub data 42, and data that can identify whether the main data 41 and the sub data 42 are mixed or the like constitute one SID. However, as shown in FIG. 9, by configuring with SID1 and SID2, the order of mixed data can be determined. Further, by increasing the number of data indicating the SID of the DSIT 52 and its length (for example, SID3, SID4,...), More types of data can be mixed in the data set 51.
 さらに、上述したテープ媒体記録システム1において、カートリッジ14eによるデータ移動など、カートリッジ14eにサブデータ42が含まれているか否かを読み込み時にわからない場合、ホスト20は、上記MSコマンドを使用して、特別なSID(例えば0xFFなど)をターゲットにセットする。その場合、テープドライブ10は、次のDSIT52のSIDを確認しながら、ホスト20へのデータ転送を行う。そして、次のDSIT52のSIDが現在転送中のデータセット51に対応したDSIT52のSIDと異なるとき、テープドライブ10はチェックコンディションをセンスデータとしてホスト20に送信する。そして、ホスト20はそのセンスデータにより、SIDが変化したことを認識するという実施形態とすることもできる。また、テープドライブ10は、SIDが空白なデータセット51に関しての転送を行わない設定とし、このとき、チェックコンディションはホスト20に報告しない。 Further, in the tape medium recording system 1 described above, when it is not known at the time of reading whether or not the sub data 42 is included in the cartridge 14e, such as data movement by the cartridge 14e, the host 20 uses the MS command to A correct SID (for example, 0xFF) is set to the target. In that case, the tape drive 10 performs data transfer to the host 20 while confirming the SID of the next DSIT 52. When the SID of the next DSIT 52 is different from the SID of the DSIT 52 corresponding to the data set 51 currently being transferred, the tape drive 10 transmits a check condition as sense data to the host 20. And it can also be set as embodiment that the host 20 recognizes that SID changed with the sense data. The tape drive 10 is set not to transfer the data set 51 with a blank SID. At this time, the check condition is not reported to the host 20.
 また、上述したテープ媒体記録システム1において、テープ14aの先頭から任意の個数のレコード或いはファイルマーク4fの位置(ロジカルポジション)に、Read/Writeのヘッド14bを移動させるコマンドであるLTO規格のLocate/Spaceコマンドがある。そして、上述したテープドライブ10は、Locate/Spaceコマンドを受けた場合は、テープ14aにおけるデータ位置を検出し、該位置にヘッド14bを移動させることもできる。 Further, in the tape medium recording system 1 described above, the LTO standard Locate / which is a command for moving the read / write head 14b to an arbitrary number of records or the position (logical position) of the file mark 4f from the head of the tape 14a. There is a Space command. When receiving the Locate / Space command, the tape drive 10 described above can detect the data position on the tape 14a and move the head 14b to the position.
 例えば、Locateコマンドを用いて、メインデータ41の所望のレコードの位置にヘッド14bを移動させる場合について説明する。なお、レコードは、説明を簡単にするために、1つのデータセット51とする。そして、上述したテープドライブ10のコントローラ16は、管理情報読み出し手段と、対象データ判別手段と、データ検出手段として機能させる。そして、ホスト20は、対象データであるレコードを指定したLocateコマンドをテープドライブ10に送信する。 For example, a case where the head 14b is moved to a desired record position of the main data 41 using a Locate command will be described. The records are assumed to be one data set 51 for easy explanation. The controller 16 of the tape drive 10 described above functions as management information reading means, target data discrimination means, and data detection means. Then, the host 20 transmits a Locate command specifying the record that is the target data to the tape drive 10.
 テープドライブ10は、ホスト20からLocateコマンドを受けると、前記内蔵メモリ等のカウンタに0を設定し、管理情報読み出し手段によってテープ14aからDSIT52を順次読み出す。テープドライブ10は、読み出したDSIT52のSIDが“1”、つまりメインデータ41を示しているか否かを対象データ判別手段によって判別する。テープドライブ10は、対象データ判別手段によってメインデータ41であると判別すると、前記内蔵メモリ等のカウンタをインクリメントする。そして、テープドライブ10は、データ検出手段によってカウンタの値がLocateコマンドで指定されたレコードと一致しているか否かを判別する。テープドライブ10は、一致していないと判別した場合、データセット51は対象データのレコードではないことから、次のDSIT52に対する判別を行う。一方、テープドライブ10は、一致していると判別した場合は、そのデータセット51がLocateコマンドで要求された対象データであることから、テープ14aにおけるデータセット51の先頭位置まで、ヘッド14bを移動させる。なお、上述したDSIT52の構成にレコード数を追加し、テープドライブ10がDSIT52を作成する際に、レコード数をセットする構成とすることもできる。 When the tape drive 10 receives the Locate command from the host 20, the tape drive 10 sets the counter of the built-in memory or the like to 0, and sequentially reads the DSIT 52 from the tape 14a by the management information reading means. The tape drive 10 determines whether or not the SID of the read DSIT 52 is “1”, that is, indicates the main data 41 by the target data determination unit. When the target data discriminating means discriminates that the data is the main data 41, the tape drive 10 increments a counter such as the built-in memory. Then, the tape drive 10 determines whether the counter value matches the record specified by the Locate command by the data detection means. If the tape drive 10 determines that they do not match, the data set 51 is not a record of the target data, so that the next DSIT 52 is determined. On the other hand, if the tape drive 10 determines that they match, the head 14b is moved to the head position of the data set 51 on the tape 14a because the data set 51 is the target data requested by the Locate command. Let It is also possible to add the number of records to the above-described configuration of the DSIT 52 and set the number of records when the tape drive 10 creates the DSIT 52.
 また、Spaceコマンドによってファイルマーク4fの位置までテープドライブ10のヘッド14bを移動させる場合について説明する。上述したDSIT52の構成に、ファイルマークの有無や数、データ位置、等を示すファイルマークカウントを追加する。そして、テープドライブ10がDSIT52を作成する際に、ファイルマークカウントをセットする。そして、テープドライブ10は、DSIT52に基づいて、データセット51のデータ構成、つまりファイルマーク4fの有無を判別する。テープドライブ10は、ファイルマーク4fがありと判別すると、そのデータ位置をDSIT52から検出する。テープドライブ10は、そのデータセット51におけるファイルマーク4fの先頭位置を検出し、該位置に相当するテープ14aの位置にヘッド14bを移動させる。 A case will be described in which the head 14b of the tape drive 10 is moved to the position of the file mark 4f by the Space command. A file mark count indicating the presence / absence and number of file marks, data position, etc. is added to the configuration of the DSIT 52 described above. Then, when the tape drive 10 creates the DSIT 52, a file mark count is set. Based on the DSIT 52, the tape drive 10 determines the data configuration of the data set 51, that is, the presence or absence of the file mark 4f. When the tape drive 10 determines that the file mark 4f is present, the tape drive 10 detects the data position from the DSIT 52. The tape drive 10 detects the head position of the file mark 4f in the data set 51, and moves the head 14b to the position of the tape 14a corresponding to the position.
 さらに、上述した本実施の形態のDSIT52は、ハッシュ関数を通して出力されるハッシュ値などを利用したパスワードをデータ構造に追加することもできる。例えば、上記テープドライブ10において、前記管理情報付加手段16bは、前記セグメント12bに蓄積したデータセット51に対応したパスワードデータをホスト20から取得する。前記管理情報付加手段16bは、該パスワードデータを有するDSIT52を前記データセット51に付加する実施形態とすることもできる。このような構成とすれば、データセット51毎にパスワードを設定することができるため、パスワードを知る人にしか読めない部分と一般に読み込み可能な部分とに区別して、データセット51をテープ14aに記憶できる。 Furthermore, the DSIT 52 of this embodiment described above can also add a password using a hash value or the like output through a hash function to the data structure. For example, in the tape drive 10, the management information adding unit 16 b acquires password data corresponding to the data set 51 stored in the segment 12 b from the host 20. The management information adding unit 16b may add the DSIT 52 having the password data to the data set 51. With such a configuration, since a password can be set for each data set 51, the data set 51 is stored in the tape 14a by distinguishing between a part that can be read only by a person who knows the password and a part that can be generally read. it can.
 また、サブデータ42に対応したDSIT52には、1つのファイルのバージョンをデータ構造に追加することもできる。このような構造とすることで、1つのファイルを複数のバージョン毎にまとめてテープ14aに記憶することができる。例えば、上記テープドライブ10において、前記管理情報付加手段16bは、前記セグメント12bに蓄積したデータセット51に対応したファイルバージョンデータをホスト20から取得する。そして、前記管理情報付加手段16bは、該ファイルバージョンデータを有するDSIT52を前記データセット51に付加する実施形態とすることもできる。このような構成とすれば、ひとつのファイルの複数のバージョンをまとめて連続的にテープ14aに記憶することができる。 Also, in the DSIT 52 corresponding to the sub data 42, a version of one file can be added to the data structure. With this structure, one file can be stored in the tape 14a for each of a plurality of versions. For example, in the tape drive 10, the management information adding unit 16 b acquires file version data corresponding to the data set 51 stored in the segment 12 b from the host 20. The management information adding unit 16b may add the DSIT 52 having the file version data to the data set 51. With such a configuration, a plurality of versions of one file can be collectively stored on the tape 14a.
 なお、上述した本発明は、全てハードウェアで実現してもよいし、全てソフトウェアで実現してもよい。また、ハードウェア及びソフトウェアの両方により実現することも可能である。また、本発明は、コンピュータ、データ処理システム、コンピュータプログラムとして実現することができる。このコンピュータプログラムは、コンピュータにより読取り可能な媒体に記憶され、提供され得る。ここで、媒体としては、電子的、磁気的、光学的、電磁的、赤外線又は半導体システム(装置又は機器)、或いは、伝搬媒体が考えられる。また、コンピュータにより読取り可能な媒体としては、半導体、ソリッドステート記憶装置、磁気テープ、取り外し可能なコンピュータディスケット、ランダムアクセスメモリ(RAM)、リードオンリーメモリ(ROM)、リジッド磁気ディスク、及び光ディスクが例示される。現時点における光ディスクの例には、コンパクトディスク-リードオンリーメモリ(CD-ROM)、コンパクトディスク-リード/ライト(CD-R/W)及びDVDが含まれる。 It should be noted that the above-described present invention may be realized entirely by hardware or entirely by software. It can also be realized by both hardware and software. The present invention can be realized as a computer, a data processing system, and a computer program. This computer program may be stored and provided on a computer readable medium. Here, the medium may be an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system (apparatus or equipment), or a propagation medium. Examples of computer readable media include semiconductors, solid state storage devices, magnetic tape, removable computer diskettes, random access memory (RAM), read only memory (ROM), rigid magnetic disks, and optical disks. The Current examples of optical disks include compact disk-read only memory (CD-ROM), compact disk-read / write (CD-R / W) and DVD.
 このように上述した実施例は本発明の代表的な形態を示したに過ぎず、本発明は、実施形態に限定されるものではない。即ち、本発明の骨子を逸脱しない範囲で種々変形して実施することができる。 Thus, the above-described embodiments are merely representative forms of the present invention, and the present invention is not limited to the embodiments. That is, various modifications can be made without departing from the scope of the present invention.
 1  テープ媒体記録システム
 10  テープドライブ
 10A  データ記録装置
 10B  データ読み出し装置
 12  バッファ
 12b  バッファセグメント(セグメント)
 14a  テープ媒体(テープ)
 16a  判別手段
 16b  管理情報付加手段
 16c  記憶制御手段
 16d  読み出し手段
 16e  読み出し用判別手段
 16f  転送手段
 20  ホスト
 51  データセット
 52  DSIT(管理情報)
DESCRIPTION OF SYMBOLS 1 Tape medium recording system 10 Tape drive 10A Data recording device 10B Data reading device 12 Buffer 12b Buffer segment (segment)
14a Tape medium (tape)
16a Discriminating means 16b Management information adding means 16c Storage control means 16d Reading means 16e Reading discriminating means 16f Transfer means 20 Host 51 Data set 52 DSIT (Management information)

Claims (14)

  1.  第1データと前記第1データに関連する第2データをテープ媒体に記憶するデータ記録装置であって、
     上位装置から1つのファイルとして連続的に受信した前記第1データと前記第2データを、所定サイズの連続した1以上のデータセットとして順次蓄積する複数のバッファセグメントと、
     前記バッファセグメントに蓄積した前記データセットのデータ構成を判別する判別手段と、
     前記判別手段が判別した結果を示す管理情報を対応する前記データセットに付加する管理情報付加手段と、
     前記バッファセグメントに蓄積した前記データセット及び該データセットに付加された管理情報の前記テープ媒体への記憶を制御する記憶制御手段と、
    を含むデータ記録装置。
    A data recording device for storing first data and second data related to the first data on a tape medium,
    A plurality of buffer segments for sequentially storing the first data and the second data received as a single file from the host device as one or more continuous data sets of a predetermined size;
    Determining means for determining a data configuration of the data set accumulated in the buffer segment;
    Management information adding means for adding management information indicating the result determined by the determining means to the corresponding data set;
    Storage control means for controlling storage of the data set accumulated in the buffer segment and management information added to the data set to the tape medium;
    A data recording device including:
  2.  前記判別手段は、前記上位装置からの所定の要求に基づいて、前記バッファセグメントに蓄積されるデータの切り替えを検出し、該検出結果に基づいて前記データセットのデータ構成を判別する手段であることを特徴とする請求項1記載のデータ記録装置。 The determining means is means for detecting switching of data stored in the buffer segment based on a predetermined request from the host device and determining the data configuration of the data set based on the detection result. The data recording apparatus according to claim 1.
  3.  前記バッファセグメントは、前記判別手段が前記バッファセグメントに蓄積されるデータの切り替えを検出たときに、その空き領域に無効データを蓄積して前記データセットを完成するようにしたことを特徴とする請求項2記載のデータ記録装置。 The buffer segment is characterized in that when the determination means detects switching of data stored in the buffer segment, invalid data is stored in the empty area to complete the data set. Item 3. The data recording device according to Item 2.
  4.  前記判別手段は、前記バッファセグメントに蓄積されるデータ切り替えの検出結果に基づいて、前記データセットの構成を前記第1データ、前記第2データ、前記第1データ及び前記第2データからなる混合データのうちの1つに判別する手段であることを特徴とする請求項2記載のデータ記録装置。 The discriminating unit is configured to change the configuration of the data set based on a detection result of data switching accumulated in the buffer segment to the mixed data including the first data, the second data, the first data, and the second data. 3. A data recording apparatus according to claim 2, wherein said data recording apparatus is a means for discriminating one of the two.
  5.  前記管理情報は、前記データセットの管理用テーブルであることを特徴とする請求項1に記載のデータ記録装置。 The data recording apparatus according to claim 1, wherein the management information is a management table for the data set.
  6.  前記管理情報付加手段は、前記第1データと前記第2データとの双方を有して前記データセットが構成されるときに、前記第1データと前記第2データの少なくとも一方のデータサイズを前記管理情報に追加して前記データセットに付加する手段であることを特徴とする請求項1に記載のデータ記録装置。 The management information adding means sets the data size of at least one of the first data and the second data when the data set includes both the first data and the second data. 2. The data recording apparatus according to claim 1, wherein the data recording apparatus is means for adding to the data set in addition to management information.
  7.  前記管理情報付加手段は、前記バッファセグメントに蓄積したデータセットに対応したファイルバージョンデータを前記上位装置から取得し、該ファイルバージョンデータを有する前記管理情報を前記データセットに付加する手段であることを特徴とする請求項1記載のデータ記録装置。 The management information adding means is means for acquiring file version data corresponding to the data set stored in the buffer segment from the host device and adding the management information having the file version data to the data set. The data recording apparatus according to claim 1, wherein:
  8.  前記管理情報付加手段は、前記バッファセグメントに蓄積したデータセットに対応したパスワードデータを生成し、該パスワードデータを有する前記管理情報を前記データセットに付加する手段であることを特徴とする請求項1に記載のデータ記録装置。 2. The management information adding means is means for generating password data corresponding to a data set stored in the buffer segment and adding the management information having the password data to the data set. The data recording device described in 1.
  9.  前記判別手段と前記管理情報付加手段と前記記憶制御手段として機能するコントローラを含むことを特徴とする請求項1又は2に記載のデータ記録装置。 3. The data recording apparatus according to claim 1, further comprising a controller functioning as the determination unit, the management information adding unit, and the storage control unit.
  10.  第1データと前記第1データに関連する第2データを1つのファイルとして記録するテープ媒体からデータをデータセット単位で読み出すデータ読み出し装置であって、
    前記データセットと該データセットに付加された管理情報とを前記テープ媒体から読み出す読み出し手段と、
     前記読み出した管理情報に対応した前記データセットのデータ構成が予め定められた転送対象データであるか否かを、前記読み出した管理情報に基づいて判別する読み出し用判別手段と、
     前記データセットを構成するデータのうち、前記読み出し用判別手段が転送対象データであると判別した前記第1データ及び前記第2データの少なくとも一方を転送先に転送する転送手段と、
    を含むデータ読み出し装置。
    A data reading device that reads data in units of data sets from a tape medium that records first data and second data related to the first data as one file,
    Reading means for reading out the data set and the management information added to the data set from the tape medium;
    A determination unit for reading that determines whether or not the data configuration of the data set corresponding to the read management information is predetermined transfer target data, based on the read management information;
    Transfer means for transferring at least one of the first data and the second data determined by the read determination means as data to be transferred among data constituting the data set;
    A data reading device including:
  11.  前記読み出し手段が読み出した前記データセットとその管理情報を蓄積するバッファセグメントを有し、
     前記読み出し用判別手段は、前記バッファセグメントに蓄積した前記管理情報に基づいて、前記管理情報に対応した前記データセットのデータが前記転送対象データであるか否かを判別する手段であることを特徴とする請求項10に記載のデータ読み出し装置。
    A buffer segment for storing the data set read by the reading means and its management information;
    The determination unit for reading is a unit that determines whether data of the data set corresponding to the management information is the transfer target data based on the management information accumulated in the buffer segment. The data reading device according to claim 10.
  12.  請求項1~9の何れか1項に記載のデータ記録装置と、請求項10又は11に記載のデータ読み出し装置と、を含むテープドライブ。 A tape drive comprising: the data recording device according to any one of claims 1 to 9; and the data reading device according to claim 10 or 11.
  13.  第1データと前記第1データに関連する第2データをテープ媒体に記憶するデータ記録方法であって、
     上位装置から1つのファイルとして連続的に受信した前記第1データと前記第2データを、所定サイズの連続した1以上のデータセットとして順次複数のバッファセグメントに蓄積するステップと、
     前記バッファセグメントに蓄積した前記データセットのデータ構成を判別するステップと、
     前記判別した結果を示す管理情報を対応する前記データセットに付加するステップと、 前記バッファセグメントに蓄積した前記データセット及び該データセットに付加された管理情報の前記テープ媒体への記憶を制御するステップと、
    を含むデータ記録方法。
    A data recording method for storing first data and second data related to the first data on a tape medium,
    Sequentially storing the first data and the second data received as a single file from a host device in a plurality of buffer segments as one or more continuous data sets of a predetermined size;
    Determining the data structure of the data set stored in the buffer segment;
    Adding management information indicating the determined result to the corresponding data set; and controlling storage of the data set accumulated in the buffer segment and the management information added to the data set on the tape medium. When,
    A data recording method including:
  14.  第1データと前記第1データに関連する第2データを1つのファイルとして記録するテープ媒体からデータをデータセット単位で読み出すデータ読み出し方法であって、
    前記データセットと該データセットに付加された管理情報とを前記テープ媒体から読み出すステップと、
     前記読み出した管理情報に対応した前記データセットのデータ構成が予め定められた転送対象データであるか否かを、前記読み出した管理情報に基づいて判別するステップと、 前記データセットを構成するデータのうち、前記転送対象データであると判別した前記第1データ及び前記第2データの少なくとも一方を転送先に転送するステップと、
    を含むデータ読み出し方法。
    A data reading method of reading data in units of data sets from a tape medium that records first data and second data related to the first data as one file,
    Reading the data set and management information attached to the data set from the tape medium;
    Determining whether the data configuration of the data set corresponding to the read management information is predetermined transfer target data based on the read management information; and A step of transferring at least one of the first data and the second data determined to be the transfer target data to a transfer destination;
    A data reading method including:
PCT/JP2010/051236 2009-02-10 2010-01-29 Data recording device, data reading device, tape drive, method of recording data, and method of reading data WO2010092881A1 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP2010550487A JP5199401B2 (en) 2009-02-10 2010-01-29 Data recording apparatus, data reading apparatus, tape drive, data recording method, and data reading method
CN201080006979.3A CN102308336B (en) 2009-02-10 2010-01-29 Data recording device, data reading device, tape drive, method of recording data, and method of reading data
US13/142,831 US8824080B2 (en) 2009-02-10 2010-01-29 Data recording and reading device and method
EP10741159.7A EP2398020A4 (en) 2009-02-10 2010-01-29 Data recording device, data reading device, tape drive, method of recording data, and method of reading data
US13/534,325 US9230600B2 (en) 2009-02-10 2012-06-27 Data recording method for storing first data and second data into a tape medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2009-028428 2009-02-10
JP2009028428 2009-02-10

Related Child Applications (2)

Application Number Title Priority Date Filing Date
US201113142831A A-371-Of-International 2009-02-10 2011-01-29
US13/534,325 Continuation US9230600B2 (en) 2009-02-10 2012-06-27 Data recording method for storing first data and second data into a tape medium

Publications (1)

Publication Number Publication Date
WO2010092881A1 true WO2010092881A1 (en) 2010-08-19

Family

ID=42561725

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2010/051236 WO2010092881A1 (en) 2009-02-10 2010-01-29 Data recording device, data reading device, tape drive, method of recording data, and method of reading data

Country Status (5)

Country Link
US (2) US8824080B2 (en)
EP (1) EP2398020A4 (en)
JP (1) JP5199401B2 (en)
CN (1) CN102308336B (en)
WO (1) WO2010092881A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016009510A (en) * 2014-06-24 2016-01-18 インターナショナル・ビジネス・マシーンズ・コーポレーションInternational Business Machines Corporation Techniques for reducing time required for erasing recorded data by utilizing read head and write head
WO2023210382A1 (en) * 2022-04-27 2023-11-02 富士フイルム株式会社 Signal processing device, magnetic tape drive, magnetic tape, magnetic tape cartridge, signal processing method, magnetic tape manufacturing method, and program

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6364727B2 (en) * 2013-09-24 2018-08-01 日本電気株式会社 Information processing system, distributed processing method, and program
US9244628B2 (en) * 2013-10-17 2016-01-26 Globalfoundres Inc. Reducing elapsed time to access data from a storage medium during a recall operation
US10375365B2 (en) * 2014-02-07 2019-08-06 Samsung Electronics Co., Ltd. Projection system with enhanced color and contrast
CN105759492A (en) * 2016-05-09 2016-07-13 深圳市华星光电技术有限公司 Display panel and manufacturing method thereof
US20170363055A1 (en) * 2016-06-20 2017-12-21 Ford Global Technologies, Llc Systems and methods for evap leak testing
US10573350B2 (en) * 2017-02-02 2020-02-25 International Business Machines Corporation Apparatus, method, and program product for tape positioning

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08102148A (en) * 1994-09-30 1996-04-16 Sanyo Electric Co Ltd Recorder
JPH08102141A (en) * 1994-09-29 1996-04-16 Victor Co Of Japan Ltd Data compressing and recording method and decoding and reproducing method for compressed data
JPH08161827A (en) * 1994-11-30 1996-06-21 Sanyo Electric Co Ltd Optical disk and optical disk reproducing device
JP2001043118A (en) * 1999-04-13 2001-02-16 Canon Inc Method and device for data processing and storage medium
JP2007028221A (en) * 2005-07-15 2007-02-01 Canon Inc Data storage apparatus
JP2007073108A (en) 2005-09-06 2007-03-22 Internatl Business Mach Corp <Ibm> Device for writing data in tape medium
JP2007095231A (en) 2005-09-30 2007-04-12 Internatl Business Mach Corp <Ibm> Data write and read control method of tape recorder
JP2007241897A (en) 2006-03-10 2007-09-20 Internatl Business Mach Corp <Ibm> Data recorder, and method for evaluating host data transfer performance of data recorder
JP2008217860A (en) * 2007-02-28 2008-09-18 Internatl Business Mach Corp <Ibm> Processing system for executing a series of processing in predetermined order, storage device and method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5117349A (en) * 1990-03-27 1992-05-26 Sun Microsystems, Inc. User extensible, language sensitive database system
EP0913760A1 (en) 1997-10-31 1999-05-06 Hewlett-Packard Company Data encoding scheme
JP4277386B2 (en) * 1999-10-04 2009-06-10 ソニー株式会社 Recording / playback device
US6792568B2 (en) * 2001-07-31 2004-09-14 Hewlett Packard Development Co. Lp Data transfer and storage device and method
US7203844B1 (en) * 2002-06-20 2007-04-10 Oxford William V Method and system for a recursive security protocol for digital copyright control
JP4848419B2 (en) 2006-03-03 2011-12-28 インターナショナル・ビジネス・マシーンズ・コーポレーション Reading apparatus, system, method and program for processing read error

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08102141A (en) * 1994-09-29 1996-04-16 Victor Co Of Japan Ltd Data compressing and recording method and decoding and reproducing method for compressed data
JPH08102148A (en) * 1994-09-30 1996-04-16 Sanyo Electric Co Ltd Recorder
JPH08161827A (en) * 1994-11-30 1996-06-21 Sanyo Electric Co Ltd Optical disk and optical disk reproducing device
JP2001043118A (en) * 1999-04-13 2001-02-16 Canon Inc Method and device for data processing and storage medium
JP2007028221A (en) * 2005-07-15 2007-02-01 Canon Inc Data storage apparatus
JP2007073108A (en) 2005-09-06 2007-03-22 Internatl Business Mach Corp <Ibm> Device for writing data in tape medium
JP2007095231A (en) 2005-09-30 2007-04-12 Internatl Business Mach Corp <Ibm> Data write and read control method of tape recorder
JP2007241897A (en) 2006-03-10 2007-09-20 Internatl Business Mach Corp <Ibm> Data recorder, and method for evaluating host data transfer performance of data recorder
JP2008217860A (en) * 2007-02-28 2008-09-18 Internatl Business Mach Corp <Ibm> Processing system for executing a series of processing in predetermined order, storage device and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2398020A4 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016009510A (en) * 2014-06-24 2016-01-18 インターナショナル・ビジネス・マシーンズ・コーポレーションInternational Business Machines Corporation Techniques for reducing time required for erasing recorded data by utilizing read head and write head
WO2023210382A1 (en) * 2022-04-27 2023-11-02 富士フイルム株式会社 Signal processing device, magnetic tape drive, magnetic tape, magnetic tape cartridge, signal processing method, magnetic tape manufacturing method, and program

Also Published As

Publication number Publication date
CN102308336B (en) 2014-08-06
EP2398020A4 (en) 2014-03-05
US8824080B2 (en) 2014-09-02
US20130003212A1 (en) 2013-01-03
US9230600B2 (en) 2016-01-05
EP2398020A1 (en) 2011-12-21
JP5199401B2 (en) 2013-05-15
US20120014014A1 (en) 2012-01-19
CN102308336A (en) 2012-01-04
JPWO2010092881A1 (en) 2012-08-16

Similar Documents

Publication Publication Date Title
JP5199401B2 (en) Data recording apparatus, data reading apparatus, tape drive, data recording method, and data reading method
US8688637B2 (en) Bookmarked synchronization of files
EP2372715B1 (en) Device and method for reading out data from recording medium
US6721489B1 (en) Play list manager
KR100959306B1 (en) System and method for searching for duplicate data
US20050237872A1 (en) MVC-003U method and system for multiple read/write heads for transferring date to/from a storage medium
WO2000054158A1 (en) Information recording medium, information recording / reproducing method, and information recording / reproducing device
JP2006065999A (en) Magnetic tape control apparatus, and method and program therefor
EP1714284A2 (en) Removable medium with bookmark
JP4102908B2 (en) Optical disc playback apparatus and optical disc playback method
US7711240B2 (en) Reproducing apparatus and reproducing method
CN100573698C (en) Control device, control method, pen recorder and recording method
JP5063377B2 (en) Apparatus and method for writing / reading data to / from tape medium
CN101025983B (en) Buffer control system and method
RU2007112776A (en) RECORDING MEDIA AND METHOD AND DEVICE FOR PLAYING DATA FROM RECORDING MEDIA
KR100644734B1 (en) Recording/playback apparatus, recording/playback method and presentation medium
US7567981B2 (en) Storage medium
JP3857039B2 (en) Image mastering API
JP2005085410A (en) Optical disk device and its control method
JP2006221746A (en) Disk reproduction apparatus
JP2006147071A (en) Optical disk recording and playback apparatus
JP2007193540A (en) Content data storage controller and content data reproduction device
JP2001283505A (en) Reproduction system, reproduction control method, and recording medium
JPH1173354A (en) Magnetic storage device
RU2006140801A (en) PLAYBACK METHOD, PLAYBACK METHOD, PROGRAM, PROGRAM DATA MEDIA, DATA DELIVERY SYSTEM, DATA STRUCTURE AND METHOD FOR PRODUCING A RECORDING MEDIA

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201080006979.3

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 10741159

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2010550487

Country of ref document: JP

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 13142831

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2010741159

Country of ref document: EP