TRANSFER DEVICE, TRANSFER METHOD, AND TRANSFER PROGRAM
20220413746 · 2022-12-29
Inventors
- Michitaka KONDO (Tokyo, JP)
- Yutaka Oishi (Tokyo, JP)
- Takashi Miyamoto (Tokyo, JP)
- Terue Watanabe (Tokyo, JP)
- Koji MATSUMURA (Tokyo, JP)
- Yuko UNO (Tokyo, JP)
Cpc classification
G06F3/0604
PHYSICS
G06F3/0655
PHYSICS
International classification
Abstract
A transfer device is a transfer device that distributes and transfers a plurality of pieces of data to a plurality of information processing devices that perform control to record data on a magnetic tape, in which the transfer device transfers data to the plurality of information processing devices such that the number of pieces of data is leveled between the plurality of information processing devices, and transfers a plurality of pieces of data of which a value indicating a probability that a plurality of pieces of data are read within a predetermined period is a threshold value or greater, to the same information processing device.
Claims
1. A transfer device that distributes and transfers a plurality of pieces of data to a plurality of information processing devices that perform control to record data on a magnetic tape, the transfer device comprising: at least one processor, wherein the processor transfers data to the plurality of information processing devices such that the number of pieces of data is leveled between the plurality of information processing devices, and transfers a plurality of pieces of data of which a value indicating a probability that a plurality of pieces of data are read within a predetermined period is a threshold value or greater, to the same information processing device.
2. The transfer device according to claim 1, wherein the processor further transfers data to the plurality of information processing devices such that a data size is leveled.
3. The transfer device according to claim 1, wherein the value indicating the probability is a value that increases as a frequency with which the plurality of pieces of data have been read within the predetermined period in a past increases.
4. The transfer device according to claim 1, wherein the value indicating the probability is a value that increases as a frequency with which a plurality of pieces of data having the same attribute value as the plurality of pieces of data have been read within the predetermined period in a past increases.
5. The transfer device according to claim 2, wherein the value indicating the probability is a value that increases as a frequency with which the plurality of pieces of data have been read within the predetermined period in a past increases.
6. The transfer device according to claim 2, wherein the value indicating the probability is a value that increases as a frequency with which a plurality of pieces of data having the same attribute value as the plurality of pieces of data have been read within the predetermined period in a past increases.
7. The transfer device according to claim 3, wherein the value indicating the probability is a value that increases as a frequency with which a plurality of pieces of data having the same attribute value as the plurality of pieces of data have been read within the predetermined period in a past increases.
8. The transfer device according to claim 5, wherein the value indicating the probability is a value that increases as a frequency with which a plurality of pieces of data having the same attribute value as the plurality of pieces of data have been read within the predetermined period in a past increases.
9. A transfer method executed by a processor provided in a transfer device that distributes and transfers a plurality of pieces of data to a plurality of information processing devices that perform control to record data on a magnetic tape, the transfer method comprising: transferring data to the plurality of information processing devices such that the number of pieces of data is leveled between the plurality of information processing devices; and transferring a plurality of pieces of data of which a value indicating a probability that a plurality of pieces of data are read within a predetermined period is a threshold value or greater, to the same information processing device.
10. A non-transitory computer-readable storage medium storing a transfer program for causing a processor to execute a process, the processor being provided in a transfer device that distributes and transfers a plurality of pieces of data to a plurality of information processing devices that perform control to record data on a magnetic tape, the process comprising: transferring data to the plurality of information processing devices such that the number of pieces of data is leveled between the plurality of information processing devices; and transferring a plurality of pieces of data of which a value indicating a probability that a plurality of pieces of data are read within a predetermined period is a threshold value or greater, to the same information processing device.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0016]
[0017]
[0018]
[0019]
[0020]
[0021]
[0022]
[0023]
DETAILED DESCRIPTION
[0024] Hereinafter, an example of an embodiment of the technique of the present disclosure will be described in detail with reference to the drawings.
[0025] First, a configuration of a recording and reproducing system 10 according to the present embodiment will be described with reference to
[0026] The tape library 14 comprises a plurality of slots (not shown) and a plurality of tape drives 18, and a magnetic tape T as an example of a recording medium is stored in each slot. Each tape drive 18 is connected to the information processing device 12. An example of the magnetic tape T includes a linear tape-open (LTO) tape. Further, an example of the information processing device 12 includes a server computer.
[0027] In a case where the information processing device 12 writes or reads data with respect to the magnetic tape T, the magnetic tape T to be written or to be read is loaded from the slot into the predetermined tape drive 18. In a case where the writing or reading of data with respect to the magnetic tape T loaded in the tape drive 18 is completed, the magnetic tape T is unloaded from the tape drive 18 to the originally stored slot.
[0028] In the present embodiment, as shown in
[0029] The transfer device 16 distributes and transfers a plurality of objects to the plurality of information processing devices 12 that perform control to record an object as an example of data on the magnetic tape T. Examples of the transfer device 16 include a load balancer.
[0030] Next, the hardware configuration of the transfer device 16 according to the present embodiment will be described with reference to
[0031] The storage unit 22 is realized by a hard disk drive (HDD), a solid state drive (SSD), a flash memory, or the like. The storage unit 22 serving as a storage medium stores a transfer program 30. The CPU 20 reads out the transfer program 30 from the storage unit 22 and then develops the transfer program 30 into the memory 21, and executes the developed transfer program 30.
[0032] Further, the storage unit 22 stores a reading log 32 which is log data indicating a reading history of an object that has been read from a recording medium (for example, the magnetic tape T and a storage unit provided in the information processing device 12) by an instruction from a user terminal in the past.
[0033] Next, the functional configuration of the transfer device 16 according to the present embodiment will be described with reference to
[0034] The derivation unit 40 derives a value V1 indicating a probability that a plurality of objects may be read within a predetermined period T1. In the present embodiment, as the value V1, a larger value is applied as a frequency with which a plurality of objects are read within the period T1 is higher, for each combination of attribute values. As the period T1, for example, a predetermined period can be applied as a period in which a plurality of objects are assumed to be read from the magnetic tape T at one time.
[0035] Specifically, the derivation unit 40 uses the log data of the latest certain period in the reading log 32 to derive, for each combination of attribute values, the number of times that the plurality of objects having respective attribute values of the combination are read within the period T1, for each period T1, at a periodic timing, such as once a day. Further, the derivation unit 40 derives the total value of the number of times derived for each period T1 within the latest certain period, as the value V1. Then, the derivation unit 40 stores (updates) the derived value V1 in the storage unit 22. For example, the derivation unit 40 may derive the value V1 at the time when the transfer unit 44, which will be described later, transfers the plurality of objects.
[0036]
[0037] The reception unit 42 receives the objects transmitted from the user terminal. The transfer device 16 according to the present embodiment has a buffering function, and temporarily stores the plurality of objects received within a predetermined period, such as within 1 second, in the memory 21.
[0038] The transfer unit 44 transfers the objects to the plurality of information processing devices 12 such that the number of objects is leveled between the plurality of information processing devices 12, and transfers a plurality of objects having a value V1 equal to or greater than a threshold value to the same information processing device 12.
[0039] A specific example of the transfer processing performed by the transfer unit 44 will be described with reference to
[0040] As shown in
[0041] Each information processing device 12 performs control to record the plurality of objects transferred from the transfer device 16, on the same magnetic tape T. With this, a plurality of objects that are likely to be read at one time are recorded on the same magnetic tape T. On the other hand, for example, in a case where the transfer device 16 transfers a plurality of objects by using a Round-robin method, the plurality of objects that are likely to be read at one time may be recorded on magnetic tapes T different from each other. Therefore, according to the present embodiment, it is possible to shorten the data reading time while performing the load distribution.
[0042] Next, the action of the transfer device 16 according to the present embodiment will be described with reference to
[0043] In step S10 of
[0044] As described above, according to the present embodiment, it is possible to shorten the data reading time.
[0045] In the above-described embodiment, the transfer unit 44 may further transfer the objects to the plurality of information processing devices 12 such that the size of the object is leveled.
[0046] Further, in the above-described embodiment, the case where a value that increases as the frequency with which a plurality of objects having the same attribute value as the object to be transferred have been read within the predetermined period T1 in the past increases is applied as the value V1 has been described, but the present disclosure is not limited thereto. For example, a value that increases as the frequency with which a plurality of objects to be transferred have been read within the predetermined period T1 in the past increases may be applied as the value V1. In this case, in the example of
[0047] In the above-described embodiment, the case where the disclosed technique is applied to the object storage system has been described, but the present disclosure is not limited thereto. The disclosed technique may be applied to a file storage system that handles data as a file unit.
[0048] Further, in the above-described embodiment, for example, as a hardware structure of a processing unit that executes various types of processing, such as the derivation unit 40, the reception unit 42, and the transfer unit 44, the following various processors can be used. The above-described various processors include, for example, a programmable logic device (PLD) which is a processor having a changeable circuit configuration after manufacture, such as a field programmable gate array (FPGA), and a dedicated electrical circuit which is a processor having a dedicated circuit configuration designed to perform specific processing, such as an application specific integrated circuit (ASIC), in addition to the CPU which is a general-purpose processor that executes software (programs) to function as various processing units, as described above.
[0049] One processing unit may be composed of one of these various processors or a combination of two or more processors of the same type or different types (for example, a combination of a plurality of FPGAs or a combination of a CPU and an FPGA). Alternatively, a plurality of processing units may be composed of one processor.
[0050] A first example in which a plurality of processing units are composed of one processor is an aspect in which one or more CPUs and software are combined to constitute one processor and the processor functions as the plurality of processing units, as typified by a computer, such as a client and a server. A second example is an aspect in which a processor that realizes all the functions of a system including the plurality of processing units with one integrated circuit (IC) chip is used, as typified by a system on chip (SoC). As described above, various processing units are formed of one or more of the above-described various processors as the hardware structure.
[0051] Further, as the hardware structure of these various processors, more specifically, an electric circuit (circuitry) in which circuit elements, such as semiconductor elements, are combined can be used.
[0052] In the above-described embodiment, the aspect in which the transfer program 30 is stored (installed) in the storage unit 22 in advance has been described, but the present disclosure is not limited thereto. The transfer program 30 may be provided in a form of being recorded on a recording medium, such as a compact disc read only memory (CD-ROM), a digital versatile disc read only memory (DVD-ROM), and a Universal Serial Bus (USB) memory. Alternatively, the transfer program 30 may be downloaded from an external device via the network.
[0053] The disclosure of JP2020-044486 filed on Mar. 13, 2020 is incorporated herein by reference in its entirety. In addition, all documents, patent applications, and technical standards described in the present specification are incorporated herein by reference to the same extent as in a case of being specifically and individually noted that individual documents, patent applications, and technical standards are incorporated by reference.