# US 2013/0155540 A1 · Tape buffer used to reduce tape backhitches during writing operations

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

- Number: US 2013/0155540 A1
- Document ID: US20130155540A1
- Status: Published application
- Kind: A1
- Application number: 13/706,246
- Filed: 2012-12-05
- Published: 2013-06-20
- Earliest claimed: 2011-12-14
- Assignees: International Business Machines Corporation
- Inventors: Takashi Katagiri
- Web page: https://patentgrep.com/patent/US20130155540A1

## CPC

- G11B 5/00813: {magnetic tapes}
- G11B 20/10527: {Audio or video recording; Data buffering arrangements (G11B20/12 - G11B20/18 take precedence)}
- G11B 2020/1062: {Data buffering arrangements, e.g. recording or playback buffers}
- G11B 2220/90: Tape-like record carriers
- 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)

## Abstract

According to one embodiment, a method includes writing, to a regular recording region of a tape medium after having written a first data accumulated in a buffer to a temporary recording region of the tape medium without an accompanying backhitch, a first data group that includes the first data that has any gaps between data eliminated, predicting a second volume of a second data, to be written in response to a command that is sent after the first data has been written to the regular recording region, judging whether the first volume exceeds a first threshold and whether or the second volume exceeds a second threshold, and writing the second data to the regular recording region without an accompanying backhitch when it has been judged that the first volume exceeds the first threshold and the second volume exceeds the second threshold.

## Claims

### Claim 1

A device, comprising:
a buffer;
logic adapted to accumulate data sent from a higher order device in the buffer;
logic adapted to, in response to a command sent from the higher order device, selectively perform either:
a first operation to write the data accumulated in the buffer to a regular recording region of a tape medium without an accompanying backhitch; or
a second operation to write the data accumulated in the buffer to a temporary recording region of the tape medium without an accompanying backhitch, and to subsequently write to the regular recording region a data group that includes the data written to the temporary recording region that has any gaps between data eliminated prior to writing to the regular recording region;
an acquisition component adapted to acquire a first volume of first data, at a time that the first data has been written to the regular recording region, by either the first operation or the second operation having been performed in response to the command;
a prediction component adapted to predict a second volume of second data to be written in response to a command which is sent after the first data has been written to the regular recording region;
a judgment component adapted to judge whether or not the first volume acquired by the acquisition component exceeds a first threshold, and to judge whether or not the second volume predicted by the prediction component exceeds a second threshold; and
a control component adapted to:
control such that when the judgment component has judged that the acquired first volume exceeds the first threshold and the predicted second volume exceeds the second threshold, in response to the command sent after the first data has been written to the regular recording region, the first operation is performed for the second data; and
control such that when the judgment component has judged that the acquired first volume exceeds the first threshold and the predicted second volume does not exceed the second threshold, in response to the command sent after the first data has been written to the regular recording region, the second operation is performed for the second data.

### Claim 2 (depends on 1)

The device as recited in claim 1, wherein the control component is further adapted to control such that when the judgment component has judged that the acquired first volume does not exceed the first threshold, in response to the command sent after the first data has been written to the regular recording region, the second operation is performed for the second data.

### Claim 3 (depends on 2)

The device as recited in claim 2,
wherein the judgment component is further adapted to judge whether or not the second volume predicted by the prediction component exceeds a third threshold that is larger than the second threshold, and
wherein the control component is further adapted to control such that when the judgment component has judged that the second volume exceeds the third threshold, in response to the command sent after the first data has been written to the regular recording region, the first operation is performed for the second data.

### Claim 4 (depends on 1)

The device as recited in claim 1,
wherein the judgment component is further adapted to judge whether or not the second volume predicted by the prediction component exceeds a third threshold that is larger than the second threshold, and
wherein the control component is further adapted to control such that when the judgment component has judged that the second volume exceeds the third threshold, in response to the command sent after the first data has been written to the regular recording region, the first operation is performed for the second data.

### Claim 5

A method for writing data with a device, the method comprising:
writing to a regular recording region of a tape medium, in response to a command, after having written a first data accumulated in a buffer to a temporary recording region of the tape medium without an accompanying backhitch, a first data group that includes the first data written to the temporary recording region that has any gaps between data therein eliminated prior to writing the first data group to the regular recording region;
acquiring a first volume of the first data group, at a time that the first data group has been written to the regular recording region;
predicting a second volume of a second data, to be written in response to a command that is sent after the first data group has been written to the regular recording region;
judging whether or not the acquired first volume exceeds a first threshold;
judging whether or not the predicted second volume exceeds a second threshold;
writing the second data to the regular recording region without an accompanying backhitch in response to the command sent after the first data group has been written to the regular recording region, when it has been judged that the acquired first volume exceeds the first threshold and the predicted second volume exceeds the second threshold; and
writing to the regular recording region a second data group that includes the second data written to the temporary recording region that has any gaps between data eliminated prior to writing to the regular recording region, when it has been judged that the acquired first volume exceeds the first threshold and the predicted second volume does not exceed the second threshold, in response to the command sent after the first data group has been written to the regular recording region, and after the second data has been written to the temporary recording region without an accompanying backhitch.

### Claim 6 (depends on 5)

The method as recited in claim 5, further comprising writing the second data group to the regular recording region, when it has been judged that the acquired first volume does not exceed the first threshold, in response to the command sent after the first data group has been written to the regular recording region, and after the second data has been recorded to the temporary recording region without accompanying backhitch.

### Claim 7 (depends on 6)

The method as recited in claim 6, further comprising:
judging whether or not the predicted second volume exceeds a third threshold that is larger than the second threshold; and
writing the second data to the regular recording region without an accompanying backhitch when it has been judged that the second volume exceeds the third threshold, in response to the command sent after the first data group has been written to the regular recording region.

### Claim 8 (depends on 5)

The method as recited in claim 5, further comprising:
acquiring a second volume at a time that the second data has been written to the regular recording region;
predicting a third volume of a third data to be written in response to a command sent after the second data has been written to the regular recording region;
judging whether or not the acquired second volume exceeds the first threshold;
judging whether or not the predicted third volume exceeds the second threshold;
writing, when it has been judged that the acquired second volume exceeds the first threshold and the predicted third volume exceeds the second threshold, in response to the command sent after the second data has been written to the regular recording region, the third data to the regular recording region without an accompanying backhitch; and
writing, when it has been judged that the acquired second volume exceeds the first threshold and the predicted third volume does not exceed the second threshold, in response to the command sent after the second data group has been written to the regular recording region, and after the third data has been recorded to the temporary recording region, a third data group that includes the third data recorded to the temporary recording region to the regular recording region, wherein any gaps between data are eliminated prior to writing the third data group to the regular recording region.

### Claim 9 (depends on 8)

The method as recited in claim 8, further comprising:
judging whether or not the predicted second volume exceeds a third threshold that is larger than the second threshold; and
writing the second data to the regular recording region without an accompanying backhitch when it has been judged that the predicted second volume exceeds the third threshold, in response to the command sent after the first data group has been written to the regular recording region.

### Claim 10 (depends on 8)

The method as recited in claim 8, further comprising writing the second data group to the regular recording region, when it has been judged that the acquired first volume does not exceed the first threshold, in response to the command sent after the first data group has been written to the regular recording region, and after the second data has been recorded to the temporary recording region without accompanying backhitch.

### Claim 11 (depends on 10)

The method as recited in claim 10, further comprising:
judging whether or not the predicted second volume exceeds a third threshold that is larger than the second threshold; and
writing the second data to the regular recording region without an accompanying backhitch when it has been judged that the predicted second volume exceeds the third threshold, in response to the command sent after the first data group has been written to the regular recording region.

### Claim 12 (depends on 5)

The method as recited in claim 5, further comprising:
judging whether or not the predicted second volume exceeds a third threshold that is larger than the second threshold; and
writing the second data to the regular recording region without an accompanying backhitch when it has been judged that the predicted second volume exceeds the third threshold, in response to the command sent after the first data group has been written to the regular recording region.

### Claim 13

A computer program product for writing data with a device, the computer program product comprising a computer readable storage medium having program code embodied therewith, the program code readable/executable by the device to:
accumulate, by the device, in a buffer, data sent from a higher order device;
in response to a command sent from the higher order device, selectively perform, by the device, either:
a first operation to write the data accumulated in the buffer to a regular recording region of a tape medium without an accompanying backhitch; or
a second operation to write the data accumulated in the buffer to a temporary recording region of the tape medium without an accompanying backhitch, and to subsequently write to the regular recording region a data group that includes the data written to the temporary recording region that has any gaps between data eliminated prior to writing to the regular recording region;
wherein the computer program product causes the device to function as
an acquisition component adapted to acquire a first volume of first data, at a time that the first data has been written to the regular recording region, by either the first operation or the second operation having been performed in response to the command;
a prediction component adapted to predict a second volume of second data to be written in response to a command which is sent after the first data has been written to the regular recording region;
a judgment component adapted to judge whether or not the first volume acquired by the acquisition component exceeds a first threshold, and to judge whether or not the predicted second volume exceeds the first threshold, and to judge whether or not the predicted second volume exceeds a second threshold that is smaller than the first threshold; and
a control component adapted to:
control such that when the judgement component has judged that the acquired first volume exceeds the first threshold and the predicted second volume exceeds the second threshold, in response to the command sent after the first data has been written to the regular recording region, the first operation is performed for the second data; and
control such that when the judgment component has judged that the acquired first volume exceeds the first threshold and the predicted second volume does not exceed the second threshold, in response to the command sent after the first data has been written to the regular recording region, the second operation is performed for the second data.
