# US 2015/0370714 A1 · Linear recording executing optimum writing upon receipt of series of commands including mixed read and write commands

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2015/0370714 A1
- Document ID: US20150370714A1
- Status: Published application
- Kind: A1
- Application number: 14/836,874
- Filed: 2015-08-26
- Published: 2015-12-24
- Earliest claimed: 2011-06-24
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Toshiyuki Shiratori; Kohei Taguchi
- Web page: https://patentgrep.com/patent/US20150370714A1

## CPC

- G11B 20/10: Digital recording or reproducing
- G06F 3/0611: {in relation to response time}
- G06F 3/0656: {Data buffering arrangements}
- G06F 3/0682: {Tape device}
- G06F 12/0868: Data transfer between cache memory and other subsystems, e.g. storage devices or host systems
- G11B 5/00813: {magnetic tapes}
- G11B 5/00817: {on longitudinal tracks only, e.g. for serpentine format recording}
- G11B 20/10527: {Audio or video recording; Data buffering arrangements (G11B20/12 - G11B20/18 take precedence)}
- G11B 27/00: Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
- G11B 27/11: by using information not detectable on the record carrier
- G06F 2212/1012: Design facilitation
- G06F 2212/213: Tape storage
- G06F 2212/222: Non-volatile memory
- G06F 2212/253: Centralized memory
- G06F 2212/452: Instruction code
- G11B 2020/10898: {Overwriting or replacing recorded data}
- G11B 2020/10907: {using pseudo-overwriting, i.e. virtually or logically overwriting data on WORM media by remapping recorded blocks to alternate areas}
- G11B 2220/655: Memory in cassette [MIC]
- G11B 2220/90: Tape-like record carriers
- G11B 2220/93: Longitudinal format, wherein tracks are in the direction of the tape, read with a static head, e.g. DCC
- G11B: INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER (recording measured values in a way that does not require playback through a transducer G01D9/00; recording or playback apparatus using mechanically marked tape, e.g. punched paper tape, or using unit records, e.g. punched or magnetically marked cards G06K; transferring data from one type of record carrier to another G06K1/18; circuits for coupling output of reproducer to radio receiver H04B1/20; gramophone pick-ups or like acoustic electromechanical transducers or circuits therefor H04R)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An apparatus according to one embodiment includes a head, a controller coupled to the head, and logic integrated with and/or executable by the controller. The logic is configured to receive a series of commands, the series of commands including mixed read, overwrite, and append write commands, cause reading of data from a specified position of a tape using the head and storing the data in a buffer in response to a read command; and cause writing of data stored in the buffer starting from an appended data end position of the tape in response to an append write command.

## Claims

### Claim at position 1

-6. (canceled)

### Claim 7

An apparatus, comprising:
a head;
a controller coupled to the head,
logic integrated with and/or executable by the controller, the logic being configured to:
receive a series of commands, the series of commands including mixed read, overwrite, and append write commands;
cause reading of data from a specified position of a tape using the head and storing the data in a buffer in response to a read command; and
cause writing of data stored in the buffer starting from an appended data end position of the tape in response to an append write command.

### Claim 8 (depends on 7)

The apparatus as recited in claim 7, wherein the logic is configured to cause performance of operations of position movement, reading, and writing on the tape back and forth in a longitudinal direction of the tape.

### Claim 9 (depends on 7)

The apparatus as recited in claim 7, wherein the buffer is configured to temporarily store data related to reading and append writing, and wherein a read/write head is configured to read data from the tape into the buffer and write data from the buffer onto the tape.

### Claim 10 (depends on 9)

The apparatus as recited in claim 9, wherein the logic is configured to:
cause, upon receipt of the append write command, storing of the data stored in the buffer in a non-volatile memory starting from an appended data end position;
send a completion notification of the append write command to a higher-level device when the data in the buffer is written in the non-volatile memory; and
cause movement of the data temporarily stored in the non-volatile memory and then cause movement of the tape to a tape writing position where the data temporarily stored in the non-volatile memory is to be written to perform append writing on a basis of a predetermined criterion so as to minimize a moving distance by which the tape travels relative to the head when moving from an end position on the tape of read data for an m-th read command to a reading start position for an n-th read command after receipt of the append write command.

### Claim 11 (depends on 10)

The apparatus as recited in claim 10, wherein the logic is configured to, in response to receiving an overwrite command of data in a predetermined position on the tape between the mixed commands in the series of commands, cause updating of an overwrite data position as an appended data end position in response to determining that the tape position for overwriting the data is encountered earlier than the appended data end position of the tape.

### Claim 12 (depends on 10)

The apparatus as recited in claim 10, wherein the logic is configured to, in response to receiving an overwrite command of data in a predetermined position on the tape between the mixed commands in the series of commands, cause updating of an overwrite data position as an appended data end position in the non-volatile memory in response to determining that the tape position for overwriting the data is encountered later than the appended data end position of the tape.

### Claim 13 (depends on 10)

The apparatus as recited in claim 10, wherein the criterion is satisfied when the data end position of the tape at which the data is to be written exists within the moving distance between the end position and the start position.

### Claim 14 (depends on 10)

The apparatus as recited in claim 10, wherein the logic is configured to update the data end position after the writing, and cause storing of the updated data end position into the non-volatile memory.

### Claim 15 (depends on 10)

The apparatus as recited in claim 10, wherein the non-volatile memory is selected from a group consisting of: non-volatile memory coupled to a tape cartridge, non-volatile memory coupled to the apparatus, and an area on the tape.

### Claim 16

A computer program product for writing data to tape, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a computer to cause the computer to perform a method comprising:
receiving, by the computer, a series of commands, the series of commands including mixed read, overwrite, and append write commands;
causing, by the computer, reading of data from a specified position of the tape using a head and storing the data in a buffer in response to a read command; and
causing, by the computer, writing data stored in the buffer starting from an appended data end position of the tape in response to an append write command.

### Claim 17 (depends on 16)

The computer program product as recited in claim 16, comprising program instructions executable by the computer to cause the computer to perform operations of position movement, reading, and writing on the tape back and forth in a longitudinal direction of the tape.

### Claim 18 (depends on 16)

The computer program product as recited in claim 16, wherein the buffer is configured to temporarily store data related to reading and append writing, and wherein a read/write head is configured to read data from the tape into the buffer and write data from the buffer onto the tape.

### Claim 19 (depends on 18)

The computer program product as recited in claim 18, comprising program instructions executable by the computer to cause the computer to:
upon receipt of the append write command, store the data stored in the buffer in a non-volatile memory starting from an appended data end position;
send a completion notification of the append write command to a higher-level device when the data in the buffer is written in the non-volatile memory; and
move the data temporarily stored in the non-volatile memory and then moving the tape to a tape writing position where the data temporarily stored in the non-volatile memory is to be written to perform append writing on a basis of a predetermined criterion so as to minimize a moving distance by which the tape travels relative to the head when moving from an end position on the tape of read data for an m-th read command to a reading start position for an n-th read command after receipt of the append write command.

### Claim 20 (depends on 19)

The computer program product as recited in claim 19, comprising program instructions executable by the computer to cause the computer to, in response to receiving an overwrite command of data in a predetermined position on the tape between the mixed commands in the series of commands, update an overwrite data position as an appended data end position in response to determining that the tape position for overwriting the data is encountered earlier than the appended data end position of the tape.

### Claim 21 (depends on 19)

The computer program product as recited in claim 19, comprising program instructions executable by the computer to cause the computer to, in response to receiving an overwrite command of data in a predetermined position on the tape between the mixed commands in the series of commands, update an overwrite data position as an appended data end position in the non-volatile memory in response to determining that the tape position for overwriting the data is encountered later than the appended data end position of the tape.

### Claim 22 (depends on 19)

The computer program product as recited in claim 19, wherein the criterion is satisfied when the data end position of the tape at which the data is to be written exists within the moving distance between the end position and the start position.

### Claim 23 (depends on 19)

The computer program product as recited in claim 19, comprising program instructions executable by the computer to cause the computer to update the data end position after the writing and store the updated data end position into the non-volatile memory.

### Claim 24 (depends on 19)

The computer program product as recited in claim 19, wherein the non-volatile memory is selected from a group consisting of: non-volatile memory coupled to a tape cartridge, non-volatile memory coupled to the computer, and an area on the tape.

### Claim 25 (depends on 16)

The computer program product as recited in claim 16, wherein the read commands include first, second, . . . , m-th, n-th . . . , read commands in this order, and wherein n=m+1.

### Claim 26

An apparatus, comprising:
a head;
a controller coupled to the head,
logic integrated with and/or executable by the controller, the logic being configured to:
in response to receipt of an append write command, cause storing of data stored in a buffer to a non-volatile memory starting from an appended data end position;
cause sending a completion notification of the append write command to a higher-level device when data in the buffer is written in the non-volatile memory;
cause moving to a tape writing position where the data stored in the non-volatile memory is to be written; and
cause performance of append writing on a basis of a predetermined criterion so as to minimize a moving distance by which a tape travels relative to a head, when moving from an end position on the tape of read data for a m-th read command to a reading start position for a subsequent n-th read command, wherein n=m+1.
