Method and apparatus for detecting the transfer of a wrong sector
    1.
    发明授权
    Method and apparatus for detecting the transfer of a wrong sector 失效
    用于检测错误扇区传送的方法和装置

    公开(公告)号:US5696775A

    公开(公告)日:1997-12-09

    申请号:US757074

    申请日:1996-11-26

    IPC分类号: G11B20/18 G11B27/30 G06F11/10

    摘要: A method and apparatus for detecting the transfer of a wrong sector uses the LBA to ensure that a correct sector is transferred. The LBA may be appended to the sector data during a write operation and verified during a read operation. Preferably, the LBA is embedded into the CRC block during a write operation and used to detect the transfer of a wrong sector during a read operation. The LBA may be embedded within the CRC, before or after it is transmitted to a CRC Generator/Checker, by Exclusive-ORing the sector data or CRC data with the LBA. During a read operation, the incoming CRC is Exclusive-ORed with the expected LBA of the sector being read, thereby eliminating the LBA from the CRC data. The CRC data is then checked by the CRC Generator/Checker and an error is signalled if the CRC data does not match. Using the method and apparatus of the present invention, the LBA may also be embedded in the CRC during format and minimal latency operations. Off-line sector identification is performed by extracting the LBA from the CRC for formats with and without an ID field.

    摘要翻译: 用于检测错误扇区的传送的方法和装置使用LBA来确保正确的扇区被传送。 在写入操作期间,可以将LBA附加到扇区数据,并在读取操作期间进行验证。 优选地,LBA在写入操作期间嵌入到CRC块中,并且用于在读取操作期间检测错误扇区的传送。 通过将扇区数据或CRC数据与LBA进行异或运算,LBA可以嵌入到CRC内,在发送到CRC发生器/检查器之前或之后。 在读取操作期间,输入的CRC与被读取的扇区的期望的LBA进行异或运算,从而从CRC数据中消除LBA。 然后CRC校验器检查CRC数据,如果CRC数据不匹配则发出错误信号。 使用本发明的方法和装置,LBA也可以在格式化和最小等待时间操作期间嵌入到CRC中。 通过从具有和不具有ID字段的格式的CRC中提取LBA来执行离线扇区标识。