LIBRARY EQUIPMENT

Abstract: Library equipment in which a recording medium transferred from a transferring device is loaded in a recording/reproducing position in a recording/reproducing device always after the transferring device moves in a position apart from the recording/reproducing device by transmitting necessary information between the recording/reproducing device and the transferring device, and in which necessary information is transmitted between the recording/reproducing device and the transferring device without increasing the load of a recording controlling device for controlling the recording/reproducing device and the transferring device. The equipement is provided with a storage (51) for storing a large number of recording media, a recording/reproducing device (52) for recording and reproducing information in a recording medium, a transferring device (53) for transferring the recording medium between the storage (51) and the recording/reproducing device (52), a recording controlling device (54) for controlling the library equipment (20) as a whole, and communication means (55) for transmitting instructions between the recording/reproducing device (52) and the transferring device (53). The recording/reproducing device (52) and the transferring device (53) transmit information representing their operating states to each other, and they execute processings in accordance with the received information. Thus the library equipment does not increase the load of the recording controlling device (54) and can make rapid and reliable loading, exclusion and storage of the recording medium.

Description: [Field of the Invention] The present invention relates to a library system which is capable of storing a large number of recording mediums within a store house and recording and reproducing data to or from the recording mediums by automatically loading a recording medium to a recording and reproducing unit from a store house and ejecting the medium therefrom without operator's intervention. In more detail, the library system of the present invention comprises a store house for storing a large number of recording mediums, for example, of cartridge type, a recording and reproducing unit for recording and reproducing data to or from the recording mediums and a carrying apparatus for carrying a recording medium between the store house and the recording and reproducing unit, and the present invention particularly relates to a method of controlling the transfer of a recording medium from the carrying apparatus to the recording and reproducing unit and carrying of a recording medium from the recording and reproducing unit to the carrying apparatus. [Background of the Invention] In these years, a computer system deals with a numerous number of data. Therefore, a large scale and high speed disk unit is used for ordinary jobs and a magnetic tape or optical disk unit is generally used for storing of data. With the increase of data, the number of such recording mediums increases. As a result, an operator is required to take much labor and longer time to load the target recording medium to the recording and reproducing unit. Therefore, reduction in size of the recording medium itself and automatic loading, ejection and storing of the recording medium are required and moreover a library system which is capable of storing a large number of small-sized recording mediums and realizing automatic loading and ejection of the recording mediums has been developed. Such a library system is disclosed, for example, in the Japanese Laid-open Patetnt Application No. 62-267175. Fig. 1 and Fig. 2 show structures of such a library system. Fig. 1 shows a structure of the library system as a whole, while Fig. 2 shows a structure of a carrying apparatus inside the library system. The library system is formed by a rectangular parallelopiped cabinet and comprises therein a store house 7 for storing a large number of cartridge type recording mediums 10, a recording and reproducing unit 6 for recording and reproducing data to or from the recording mediums 10 and a carrying apparatus 8 for carrying a recording medium 10 between the store house 7 and the recording and reproducing unit 6. In more detail, the store house 7 provides a plurality of square shelves for storing cartridge type recording mediums 10 and this shelf is arranged to the front and rear surfac walls of the inside of the library system 2. The carrying apparatus 8 picks up the recording medium 10 designated from a control unit in the store house 7 and then loads it to the recording and reproducing unit 6, or transfers and stores the recording medium 10 unloaded from the recording and reproducing unit 44 up to the store house 7. Such a carrying apparatus 8 is provided, for example, in two units within the library system 2 and these are alternately used for shortening the access time to the recording medium 10. The recording and reproducing unit 6 is provided, for example, in a plurality of units on the same plane as a part of the shelf of the store house 7. The accessor 8 also loads the recording medium 10 to the recording and reproducing unit 6, just like storing the recording medium 10 into the store house 7. Fig. 3 is a control block diagram of the library system of the prior art. In this figure, the reference numeral 1 designates a library system control system inside a host unit and 2 a library system main body. The library system control system 1 inside the host unit comprises an operating system (OS) 4, an operator console 3 and a library support program (LIBSP) 5. The library system 2 comprises, as explained previously, a recording and reproducing unit 6 for recording or reproducing data to or from a recording medium, a store house 7 for storing the recording mediums, an accessor (ACC) for carrying a recording medium between the store house 7 and the recording and reproducing unit 6, and a director (DIR) 9 for controlling the library system 2 as a whole including the recording and reproducing unit 6 and the carrying apparatus 8. The recording and reproducing unit 6 comprises a loading unit (LOD) 6a for dealing with the recording mediums of the carrying apparatus 8, a read/write processing unit (R/W) 6b for writing or reading data to or from a recording medium after loading the medium to the recording and reproducing position within the loading unit 6a, a detector 6aa for notifying that the carrying apparatus 8 makes access to the loading unit 6a and is separated therefrom and a detector 6ab for detecting that a recording medium is placed within the loading unit 6a or not and notifying it to the read/ write processing unit 6b. The carrying apparatus 8 comprises an carrying mechanism 8a for carrying a recording medium between the read/write processing unit 6b and the store house 7 and a controller 8b for controlling such a carrying mechanism 8a. Thereafter, the loading and ejecting operations of the recording mediums of this library system 2 will be explained. Fig. 4 indicates the recording medium loading and ejecting operations. First, when a recording medium loading request is issued from OS 4 to a console 3 and LIBSP 5, it reads such request (step 1) and issues a loading instruction (step 12) to the carrying apparatus 8 through the director 9 of library system 2. The carrying apparatus 8 takes out the requested recording medium from the store house 7 by operating the carrying mechanism 8a, inserts the medium to the loading unit 6a of the recording and reproducing unit 6, causes the loading unit 6a to insert the recording medium into the loading unit 6a and thereafter causes the carrying mechanism 8a to be retired (step 14). The recording and reproducing unit 6 notifies, at the time of inserting a recording medium carried by the carrying apparatus 8, that the carrying mechanism 8a has entered the loading unit 6a to the read/write processing unit 6b (step 15) when the detector 6aa detects that the carrying mechanism 8a has entered the loading unit 6a and thereby turns ON, and then notifies that the loading unit 6a has accepted the recording medium to the read/write processing unit 6b when the detector 6ab has detected that the recording medium is perfectly loaded and thereby turns ON. When the carrying mechanism 8a withdraws from the interior of the loading unit 6a, the detector 6aa turns OFF, notifying that the transfer mechanism 8a has retired to the read/write processing unit 6b (step 16). The recording and reproducing unit 6 operates the loading unit 6a and loads a recording medium to the read/write processing unit 6b (step 17) after the recording medium has been transferred to the loading unit 6a and the carrying mechanism 8a retires from the loading unit 6a, namely after the detector 6aa turns OFF. Thereafter, the read/write processing unit 6b executes the read/write operation for the recording medium loaded under the control of the director 9. When the read/write processing has been completed, the recording medium is ejected from the loading unit 6b and is then stored in the store house 7. The control of ejecting a recording medium is carried out as explained in the following. When the read/write processing for a certain recording medium is completed, the LIBSP 5 issues a recording medium eject instruction to the director 9 of the library system 2 and the director 9 sends the instruction to the recording and reproducing unit 6 (step 21). The recording and reproducing unit 6 having received the eject instruction ejects a recording medium to the loading unit 6a from the read/write processing unit 6b and issues a message about the end of the ejection to the director 9 (step 22). The director issues, upon receipt of the message, a medium eject instruction to the carrying apparatus 8 (step 23). The recording and reproducing unit 6 turns OFF the detector 6ab, when the recording medium is taken out from the loading unit 6a by the transfer means 8, notifies that the recording medium is ejected from the loading unit 6a to the read/write processing unit 6b, setting the read/write processing unit 6b under the condition of waiting for a processing instruction, and issues a message indicating the condition of waiting for a processing instruction to the director 9 (step 25). With such a sequence, the carrying apparatus 8 executes the recording medium loading and ejecting operations between the recording and reproducing unit 6 and the store house 7 and thereby realizes the loading, ejection or storing of a recording medium without operator's intervention. Such a conventional library system 2 starts the loading of a recording medium of the recording and reproducing unit 6 after detecting by the detectors 6aa and 6ab provided in the unit 6 that a recording medium is loaded and the carrying mechanism 8a enters the loading unit 6a. However, if a detector 6aa fails due to some reasons to always become OFF, the condition that the carrying mechanism 8a does not enter the loading unit 6a is issued continuously. In case a recording medium is inserted to the loading unit 6a under this condition, the detector 6ab detects that the recording medium is inserted into the loading unit 6a and an output of the detector 6aa turns OFF. Therefore, even when the carrying mechanism 8a is inserted into the loading unit 6a to hold a recording medium, the carrying mechanism 8a is judged to have been withdrawn from the loading unit 6a and the loading unit 6a starts loading of a recording medium to the read/write position. Under this condition, the loading unit 6a tries to move the recording medium to the read/write position inside the read/write processing unit 6b, but since the carrying mechanism 8a enters the loading unit 6a and continuously holds the recording medium, the loading unit 6a is also retired inside together with the recording medium. Thereby, the carrying mechanism 6a engages with the medium inserting port of the recording and reproducing unit 6. Accordingly, even if it is attempted that the carrying mechanism 8a is to be retired from the loading unit 6a, the carrying mechanism 8a can no longer be retired from the loading unit 6a, depending on the manner of engagement of the carrying mechanism 8 via the loading unit 6a. In this case, a fault occurs only inside the recording and reproducing unit as explained above. However, the carrying apparatus 8 also fails, providing a resultant failure of the system as a whole because the function of the library system as a whole for automatically loading a recording medium stops. Namely, the library system usually comprises a plurality of recording and reproducing unites and therefore if a recording and reproducing unit can no longer be used by failure, recording or reproducing may be continued using other recording and reproducing unites. However, if the carrying apparatus 8 cannot be used by failure, a recording medium cannot be loaded to the recording and reproducing unit and the function of the library system as a whole fails. For the ejection of a recording medium, the recording and reproducing unit 6 ejects a recording medium to the loading unit 6a and the carrying mechanism 8a takes out a recording medium from the loading unit 6a. But, if the carrying mechanism 8a cannot pick up a recording medium successfully, it returns the medium to the loading unit 6a and then tries again to pick up a recording medium. In this case, since the carrying mechanism 8a tries to take out a recording medium, the detector 6ab sometimesprobably turns OFF. If the detector 6ab turns OFF, the recording medium is judged to have been ejected from the loading unit 6a and thereby the recording and reproducing unit 6 is caused to enter the condition to wait for the insertion of a recording medium by the carrying mechanism 8a. When a recording medium is inserted again into the loading unit 6a by the repeated pickup trial, the detector 6aa detects the insertion of a recording medium. However, if the detector 6aa fails, it is attempted to load a recording medium to the recording and reproducing unit, even when the carrying mechanism 8a is inserted into the loading unit 6a, as explained previously, to hold a recording medium. Thereby, a problem as explained above also occurs. [Disclosure of the Invention] It is therefore an object of the present invention to provide a library system which solves the problem that a failure inside the recording and reproducing unit disables the use of units up to the carrying apparatus and ensures that a failure inside the recording and reproducing unit does not disable the operation of the carrying apparatus by detecting the operations of the system as a whole with a detector provided inside the recording and reproducing unit. It is another object of the present invention to provide a library system which suppresses the increase of the quantity of communication between the recording and reproducing unit and the carrying apparatus through a director during the exchange of data between the recording and reproducing unit and the carrying apparatus. According to the invention, the above objects are achieved by a library system, comprising a storing means for storing a plurality of recording mediums, for selecting a target recording medium from the storing means and reading or writing data from or to the recording medium, further comprising a recording and reproducing means for recording or reproducing data to or from a recording medium, a carrying means for moving a recording medium between the storing means and the recording and reproducing means, a control means for controlling the recording and reproducing means and the carrying means, first communication means for transmitting instructions between the control means and the recording and reproducing means, and second communication means for transmitting instructions between the control means and the carrying means, wherein third communication means is provided for transmitting instructions between the recording and reproducing means and the carrying means, and wherein the recording and reproducing means only starts a loading operation for loading a recording medium after having received a corresponding loading instruction from the carrying means via the third communication means and the recording and reproducing means only is prepared for a further loading operation after having received an end of ejection message from the carrying means via the third communication means. Moreover, according to the invention, a method of controlling a library system is provided, comprising the steps of unloading a recording medium from a storing means which stores a plurality of recording mediums, carrying the recording medium to a recording and reproducing means by carrying means for recording or reproducing data to or from the recording medium, loading the recording medium to a read/write position inside the recording and reproducing means, reading/writing data to or from the recording medium, ejecting the recording medium from the recording and reproducing means, carrying the ejected recording medium to the storing means by the carrying means, and storing the recording medium in the storing means, wherein the recording medium is only loaded to the read/write position after the recording and reproducing means has received a corresponding loading instruction from the carrying means and the carrying means sends an end of ejection message to the recording and reproducing means after having successfully stored the recording medium in the storing means, thereby enabling the recording and reproducing means for further loading operation. [Description of the Drawings] Fig. 1 is a diagram indicating a library system as a whole; Fig. 2 indicates a carrying apparatus; Fig. 3 is a control block diagram of the conventional library system; Fig. 4 is a flowchart of a conventional operation control for explaining the loading and ejection of a recording medium; Fig. 5 is a diagram indicating a first embodiment of the present invention; Fig. 6 is a flowchart for explaining the loading operation of a recording medium in the embodiment of Fig. 5; Fig. 7 is a flowchart for explaining the ejecting operation of a recording medium in Fig. 6; Fig. 8 is a diagram indicating a second embodiment of the present invention; Fig. 9 is a flowchart for explaining the loading operation of a recording medium in Fig. 8; and Fig. 10 is a flowchart for explaining the ejecting operation of a recording medium in Fig. 8. [Embodiment of the Invention] As an embodiment of the present invention, a magnetic tape library system utilizing a cartridge type magnetic tape as a recording medium is shown in Fig. 5. The control system 1 comprises an operating system (hereinafter abbreviated as OS), an operator console 3 and a recording unit control system (hereinafter abbreviated as LIBSP) 5. The library system 20 comprises a store house 51 of recording mediums for storing a large number of recording mediums, a magnetic tape unit (hereinafter abbreviated as MTU) 52 for recording and reproducing data to or from a recording medium, an accessor (hereinafter abbreviated as ACC) 53 for carrying a recording medium between the store house 51 and the MTU 52 and a director (hereinafter abbreviated as DIR) 54 for making communication with the control system 1 and controlling the library system as a whole including MTU 52 and ACC 53. Moreover, a first communication line 54a for transmitting instructions between DIR 54 and MTU 52, a second communication line 54b for transmitting instructions between DIR 54 and ACC 53 and a third communication line 55 for transmitting instructions between MTU 52 and ACC 53 are also provided. A flowchart of controlling the loading operation for the recording medium of such a library system 20 is shown in Fig. 6. First, a recording medium loading request is issued to a console 3 and LIBSP 5; OS 4 reads out the content of such a request and issues a loading instruction to DIR 54 of the library system 20 (step 61). In case a plurality of MTUs 52 are provided for the library system 20, DIR 54 selects a MTU 52 to be used (step 62) and issues a recording medium loading instruction to ACC 53 (step 63). MTU 52 selected by DIR 54 enters the condition to wait for the insertion of a recording medium (step 64). Upon receipt of the loading instruction, ACC 53 takes out a requested recording medium from the store house 51 by operating a carrying means 53a for actually transferring the recording medium and inserts it to a loading means (hereinafter abbreviated as LOD) 52a for dealing with the recording medium between MTU 52 and ACC 53 (step 65). After inserting a recording medium to LOD 52a, the accessing means 53a of ACC 53 retires from LOD 52a (step 66) and a recording medium loading instruction is applied to MTU 52 from a control means 53b of ACC 53 (step 67). At the time of insertion of a recording medium, the detector 52c turns ON by detecting the insertion of the recording medium and MTU 52 enters the condition of accepting a recording medium (step 68). Conforming to a loading instruction issued from ACC 53, a recording medium is moved to a read/write processing part 52b from LOD 52a in MTU 52 for an actual read or write operation 9 (step 69). When a recording medium is loaded to the read/write processing part 52b, it is reported to ACC 53 by a message and the detector 52c turns OFF. Next, a flowchart in controlling the ejecting and storing operations of a recording medium is shown in Fig. 7. First, LIBSP 5 issues a recording medium ejecting and storing request to DIR 54 of the library system 2 (step 71) and DIR 54 having received such request issues an ejecting request to MTU 54 (step 74) and a storing request to ACC 53 (step 73). Upon receiving an ejecting request, MTU 522 ejects a recording medium to LOD 52a from the read/write processing part 52b. When the detector 52c turns ON, MTU 52 reports the end of ejection to ACC 53 after the ejection of a recording medium through a communication line 55 (step 74). ACC 53, having received the ejection end message, takes out a recording medium from LOD 52a by operating a carrying means 53a and stores it into a store house 51 (step 75). After the storing, ACC 53 reports the end of ejection of a recording medium to MTU 52 (step 76). Upon receipt of the ejection end report, MTU 52 enters the condition to wait for the insertion of a recording medium from the ejection end condition, notifying that it is in the condition to wait for the insertion of a recording medium to ACC 53 and DIR 54 (step 78). When ACC 53 receives the notification indicating the condition to wait for the insertion of a recording medium, it shifts to the next processing (step 79). Moreover, DIR 54, which has also received the notification indicating the condition to wait for the insertion of a recording medium from MTU 52, also shifts to the next processing 9 (step 80). In case a recording medium is carried between MTU 52 and store house 51 by ACC by such procedures, data is exchanged through communication between MTU 52 and ACC 53, the operation sequence is mutually restricted to avoid malfunction, and the loading, ejection or storing of recording medium can be realized quickly and reliably. Next, a second embodiment is shown in Fig. 8. The control system 1 is similar to that of Fig. 5. A magnetic tape liabrary unit 200 comprises a store house 101 for storing many magnetic tapes housed within a cartridge, a plurality of magnetic tape units 52 (hereinafter abbreviated as MTU) for reading and writing data to and/or from a magnetic tape, an accessor 103 (hereinafter abbreviated as ACC) for moving a magnetic tape between the store house 101 and MTU 52 and a director 104 (hereinafter abbreviated as DIR) for controlling MUT 102 and ACC 103 and the accessor 103 and magnetic tape unit MTU 102 are conneced for mutual communication through the communication line 105. MTU 102 comprises a loading part 102a (hereinafter abbreviated as LOD) for dealing with a magnetic tape from ACC 103 and a read/write part 102b for reading or writing data from or to a magnetic tape. Moreover, LOD 102a comprises a detector 102c for detecting whether a magnetic tape is loaded or not loaded, the read/write part 102b comprises a register 102d for writing the data to reporting the operating condition to ACC 103 and transmits the waiting data, ejection end data to ACC 103 through the ejection end sending line 105b of the communication means 105. ACC 103 comprises a carrying mechanism 103a for moving a magnetic tape without intervention of an operator and an ACC control part 103b for controlling the operation of the carrying mechanism 103a and making communication with the side of MTU 102 and the ACC control part 103b transmits MTU selection data, loading instruction, ejecting instruction or ejection end data to MTU 102 through the loading instruction transmitting line 105a of the communication line 105. DIR 104 is a microprogrammed control unit which controls ACC 103 and MTU 102 to process commands for the host side units. The commands of the library system 200 are classified for the accessor and the recording and reproducing unit. These commands are input to DIR 104 from an operating system 4 (hereinafter abbreviated as OS) through LIBSP 5 (library support program). In succession, a flowchart of controlling the magnetic tape loading operation of the magnetic tape library system 200 is shown in Fig. 9. First, when a magnetic tape loading request is issued from OS 4, LIBSP 5 reads such a request (step 111). LIBSP 5 obtains an address of magnetic tape within the store house 101 responding to such a loading request and transmits a MOVE command for moving the magnetic tape to MTU 102 and to DIR 104. Thereafter, DIR 104 obtains MTU 102 for which a magnetic tape must be inserted, depending on using the condition of MTU 102 and transmits the MOVE command including the address of the magnetic tape and the device number of MTU 102 to ACC 103. Upon receipt of the MOVE command from DIR 104, ACC 103 transmits a MTU condition check instruction for checking the processing condition of MTU 102 to it for which a magnetic tape must be inserted through the communication line 105a and waits for an answer from MTU 102 (step 113). MUT 102, when it receives the MTU condition check instruction from ACC 103, judges whether it is in the condition to wait for the insersion of a tape or in the read or write operation for the magnetic tape and returns the condition data as the response to ACC 103 (step 114). Here, it is usually unbelievable that the data indicating the read or write processing operation is returned from MTU 102 for such MTU condition check instruction because when DIR 104 issues the MOVE command to ACC 103, DIR 104 instructs MTU under the condition to wait for insertion of a magnetic tape. Therefore, if MTU under the read or write processing is designated, it has been impossible to detect the MTU under the read or write processing condition until the insertion of a magnetic tape is attempted by ACC to the designated MTU and such attempts fails. However, in the case of the present invention, ACC 103 confirms the processing condition of MTU to which a magnetic tape must be inserted with the communication line 105 before the movement of the magnetic tape and therefore if any failure is generated, the magnetic tape is not inserted to MTU under the read or write processing. Thereafter, ACC 103 takes out the designated magnetic tape from the store house 101, after checking that the answer from MUT 102 indicates the condition to wait for the insertion of a magnetic tape (step 115), loads such a magnetic tape to LOD 102a of the designated MTU 102, then sets the magnetic tape to LOD 24a and retires from LOD 102a (step 116). After ACC 103 has retired, it transmits a magnetic tape loading instruction to MTU 102 through a communication line 105a (step 117). When the magnetic tape is inserted to LOD 102a by ACC 103, the detector 102c turns ON and MTU 102 notifies it to the read/write processing part 102b to updata content of register 102d to "magnetic tape inserted" (step 118). Thereafter, upon receipt of a loading instruction from ACC 103, the read/write processing part 102b operates LOD 102a to load the magnetic tape and updates content of register 102d to "loading of magnetic tape" (step 119). Upon loading of the magnetic tape, the read/write processing part 102b notifies the end of loading and enters the condition to wait for an instruction to DIR 104 (step 120), updates the content of the register 102d to "end of loading and condition to wait for processing instruction" and waits for the next processing instruction (step 121). DIR 104, having received the message indicating the end of loading and the condition to wait for a processing instruction, executes the next job (step 122). Next, a flowchart of controlling the ejecting and storing operations of a magnetic tape is shown in Fig. 10. First, when an ejection and storing request is issued from OS4, LIBSP 5 reads such an instruction. LIBSP 5 then issues an ejection/storing request for the magnetic tape having completed the processing to DIR 104 depending on such a request (step 131), issues an ejection request to MTU 102 through DIR 104 and also issues a storing request to ACC 103 (step 132). After the read/write processing part 102b reads the ejection request issued from DIR 104 and ejects the magnetic tape to LOD 102a, updates content of register 102d to "end of ejection" (step 134). The content of this register 102d is not updated until a message indicating the end of ejection is transmitted from ACC 103 (step 135). ACC 103 having received the storing request from DIR 104 drives the carrying mechanism 103a to take out a magnetic tape from LOD 102a of MTU 102, then moves to the store house 101, stores a magnetic tape thereto (step 136) and notifies the end of ejection message to MTU 102 through the line 105a after storing the tape (step 137). MTU 102 updates the content of the register 102d to "condition to wait for a magnetic tape" (step 138) after receiving the end of ejection message from ACC 103, returns a message indicating the condition to wait for a magnetic tape to DIR 104 (step 139) and also returns a message indicating the condition to wait for a magnetic tape to ACC 103 through the transmission line 105b (step 140). In such a library system 200, the loading operation of MTU 102 is started when a signal is input from ACC 103, and the condition to wait for a magnetic tape is generated after receiving a message of the end of ejection from ACC 103 after the end of the ejection. Therefore, if the carrying mechanism 103a operates to set again the magnetic tape, MTU 102 does not start the next operation unless a message is transmitted from ACC 103. Threby, malfunction by mutual interference is not generated, preventing generation of failure. Moreover, a detector for detecting the existence of the carrying mechanism 103a is not provided and thereby a failure due to a defective detector can also be avoided. In addition, a magnetic tape can be loaded or ejected only by a discrete unit by comprising a firmware into MTU 102 so that MTU 102 operates after ACC 103 generates a loading or ejecting instruction. [Effect of the Invention] As explained above, the present invention connects the recording and reproducing unit 52 and the accessor 53 for communication and exchanges data through communication between the recording and reproducing unit 52 and the accessor 53 and, in the case of moving a recording medium between the recording and reproducing unit 52 and the store house 51 of the recording mediums with the carrying means 53, does not allow an increase of the load of the director 54 and quickly and reliably realizes the loading, ejection or storing of a recording medium. Moreover, the recording and reproducing unit 52 starts the loading operation when the signal is transmitted from the accessor 53 and the recording and reproducing unit 52 accepts the next processing after the end of the ejection after receiving a report of the end of ejection from the accessor 53. Therefore, even when the accessor 53 sets again the recording medium, the recording and reproducing unit 52 does not operate unless the message indicating the end of ejection is received from the accessor 53. Thereby malfunction can be avoided. In case the operating system 4 cannot issue a recording medium loading or ejecting instruction during a maintenance or self-function diagnostic process, the library system can load or eject a recording medium by itself by issuing the loading or ejecting instruction from the accessor 53 and forming a firmware so that the recording and reproducing unit operates conforming to such instruction. In addition, the recording and reproducing unit 52 comprises a read/write processing means 52b, while the accessor 52 comprises a control means 53b and the recording and reproducing unit 52 and accessor 53 are connected for communication. Accordingly, the operating data during mutual execution can be transmitted as required and adequate operation can be executed reliably during the loading or ejection of a recording medium in the recording and reproducing unit 52, or the carrying of a recording medium by the carrying means 53 or during the ejection of a recording medium from the loading unit 52a.

Claims: A library system, comprising a storing means (51) for storing a plurality of recording mediums, for selecting a target recording medium from said storing means and reading or writing data from or to said recording medium, further comprising a recording and reproducing means (52) for recording or reproducing data to or from a recording medium; a carrying means (53) for moving a recording medium between said storing means (51) and said recording and reproducing means (52); a control means (54) for controlling said recording and reproducing means (52) and said carrying means (53); first communication means (54a) for transmitting instructions between said control means (54) and said recording and reproducing means (52); and second communication means (54b) for transmitting instructions between said control means (54) and said carrying means (53), characterized by third communication means (55) for transmitting instructions between said recording and reproducing means (52) and said carrying means (53), wherein said recording and reproducing means (52) only starts a loading operation for loading a recording medium after having received a corresponding loading instruction from said carrying means (53) via said third communication means (55) and said recording and reproducing means (52) only is prepared for a further loading operation after having received an end of ejection message from said carrying means (53) via said third communication means (53). A library system according to claim 1, characterized in that said first communication means (54a) transmits a reading or writing instruction for said recording medium to said recording and reproducing means (52) from said control means (54); said second communication means (54b) transmits a carrying instruction for said recording medium from said control means (54) to said carrying means (53); and said third communication means (55) transmits an operation condition information between said recording and reproducing means (52) and said carrying means (53). A library system according to claim 1 or 2, characterized in that said carrying means (53) comprises a means for transmitting said instruction for loading said recording medium to said recording and reproducing means (52), said loading instrucion being transmitted via said third communication means (55) when said recording medium has been transferred to said recording and reproducing means (52) by said carrying means (53) and said carrying means (53) have been retired to an original predetermined position. A library system according anyone of the foregoing claims, characterized in that said recording and reproducing means (52) comprises a means for receiving said loading instruction from said carrying means (53) and loading said recording medium to a read/write position. A library system according to anyone of the foregoing claims, characterized in that said carrying means (53) comprises a means for sending said end of ejection message to said recording and reproducing means (52) via said third communication means (55) when said carrying means (53) removes said recording medium from said recording and reproducing means (52) and withdraws to the predetermined position. A library system according to anyone of the foregoing claims, characterized in that said recording and reproducing means (52) comprises means for setting said recording and reproducing means (52) to a condition of waiting for a recording medium loading instruction when it has received an end of ejection message from said carrying means (53) via said third communiction means (55). A library system according to anyone of the foregoing claims, characterized in that said recording and reproducing means (52) and said carrying means (53) each comprises a means for transmitting an operation information to said carrying means (53) and, respectively, to said recording and reproducing means (52);and said recording and reproducing means (52) and said carrying means (53) each further comprises a means for executing the processings depending on the operation information sent from said carrying means (53) and, respectively, said recording and reproducing means (52). A library system according to claim 7, characterized in that said operation information sent by said recording and reproducing means (52) comprises an information about the operation condition of said recording and reproducing means (52). A method of controlling a library system, in particular a library system according to anyone of the foregoing claims, comprising the steps of unloading a recording medium from a storing means (51) which stores a plurality of recording mediums; carrying said recording medium to a recording and reproducing means (52) by carrying means (53) for recording or reproducing data to or from said recording medium; loading said recording medium to a read/write position inside said recording and reproducing means (52), reading/writing data to or from said recording medium; ejecting said recording medium from said recording and reproducing means (52); carrying said ejected recording medium to said storing means (51) by said carrying means (53); and storing said recording medium in said storing means (51), characterized in that said recording medium is only loaded to said read/write position after said recording and reproducing means (52) has received a corresponding loading instruction from said carrying means, and said carrying means (53) sends an end of ejection message to said recording and reproducing means (52) after having successfully stored said recording medium in said storing means (51), thereby enabling said recording and reproducing means for further loading operation. A method according to claim 9, characterized in that said carrying means (53) is retired from said recording and reproducing means (52) after having loaded said recording medium to said recording and reproducing means (52); and said loading instruction is transmitted to said recording and repproducing means (52) after said carrying means (52) has retired from said recording and reproducing means (52). A method according to claim 9 or 10, characterized by the further step of setting said recording and reproducing means (52) to a condition of waiting for a loading instruction after having received said end of ejection message from said carrying means (53). A method according to anyone of claims 9 - 11, characterized in that said carrying means (53) is retired from said recording and reproducing means (52) after having loaded said recording medium to said recording and reproducing means (52); and said carrying means (53) transmits said end of ejection message to said recording and reproducing means (52) after having retired from said recording and reproducing means (52).

Inventors: HANAOKA YASUHIKO, KOGA YUZURU, TANIAI TAKAMASA, HANAOKA, YASUHIKO, KOGA, YUZURU, TANIAI, TAKAMASA, KOGA, YUZURU 3-27-6, WADA HIGASHITOKOROZAWA, TANIAI, TAKAMASA 537-4-101, MIYAUCHI
Applicants: FUJITSU LTD, FUJITSU LIMITED
Application year: 1990
Main classification: G06F3
IPC codes: G06F3, G11B15, G11B27, G11B17