ISO/IEC 9318-4:2002
Information technology — Intelligent Peripheral Interface — Part 4: Device generic command set for magnetic tape drives (IPI-3 tape)
发布时间:2002-12-01 实施时间:


ISO/IEC 9318-4:2002标准是智能外围接口(IPI)的一部分,介绍了磁带驱动器的设备通用命令集(DGC)。该标准适用于IPI-3磁带驱动器,包括磁带驱动器的控制器和磁带介质。该标准规定了磁带驱动器的基本功能和命令格式,以及磁带驱动器的状态和错误处理。

该标准规定了磁带驱动器的基本功能,包括读取和写入数据、定位磁带、格式化磁带、检查磁带状态等。此外,该标准还规定了磁带驱动器的命令格式,包括命令码、命令参数、数据传输等。磁带驱动器的命令码由16位二进制数表示,其中高8位表示命令类型,低8位表示命令子类型。命令参数包括磁带驱动器的寻址方式、数据传输方向、数据长度等。数据传输可以是单向或双向的,数据长度可以是字节、块或文件等。

该标准还规定了磁带驱动器的状态和错误处理。磁带驱动器的状态由状态字表示,其中包括磁带状态、设备状态、错误状态等。磁带状态包括磁带位置、磁带方向、磁带密度等。设备状态包括设备就绪、设备忙、设备故障等。错误状态包括命令错误、数据传输错误、设备故障等。当磁带驱动器发生错误时,应该返回错误码和错误信息,以便主机进行错误处理。

ISO/IEC 9318-4:2002标准的实现可以提高磁带驱动器的互操作性和可靠性,使得不同厂家的磁带驱动器可以在同一系统中共存,并且可以更好地支持数据备份和恢复等应用场景。

相关标准
ISO/IEC 9318-1:1995 Information technology — Intelligent Peripheral Interface — Part 1: General
ISO/IEC 9318-2:1995 Information technology — Intelligent Peripheral Interface — Part 2: Device class specification for magnetic tape drives (IPI-3 tape)
ISO/IEC 9318-3:1995 Information technology — Intelligent Peripheral Interface — Part 3: Device class specification for disk drives (IPI-3 disk)
ISO/IEC 9318-5:2002 Information technology — Intelligent Peripheral Interface — Part 5: Device generic command set for disk drives (IPI-3 disk)
ISO/IEC 9318-6:2002 Information technology — Intelligent Peripheral Interface — Part 6: Device class specification for optical disk drives (IPI-3 optical)