ISO 1155:1978
Information processing - Use of longitudinal parity to detect errors in information messages
发布时间:1978-11-01 实施时间:


长度奇偶校验是一种简单而有效的错误检测方法。它通过在信息消息中添加一个奇偶校验位来检测错误。校验位的值取决于信息消息中的位数,如果信息消息中的位数为偶数,则校验位为1,如果信息消息中的位数为奇数,则校验位为0。在接收端,接收到的信息消息的位数和校验位的值被计算,如果计算出的校验位的值与接收到的校验位的值不同,则说明信息消息中存在错误。

ISO 1155:1978标准规定了长度奇偶校验的计算方法和实现方式。在发送端,发送方需要计算信息消息中的位数,并根据位数的奇偶性来确定校验位的值。在接收端,接收方需要计算接收到的信息消息中的位数,并根据位数的奇偶性来确定校验位的值。接收方还需要计算接收到的信息消息和校验位的值,以确定是否存在错误。

ISO 1155:1978标准适用于任何需要检测错误的信息消息,包括数字、字母、符号和二进制数据。长度奇偶校验可以用于串行通信、并行通信、存储器和其他信息传输系统中。

长度奇偶校验虽然简单,但是它只能检测单比特错误,不能检测多比特错误。如果信息消息中存在多比特错误,则长度奇偶校验无法检测到这些错误。因此,在实际应用中,长度奇偶校验通常与其他错误检测方法一起使用,以提高错误检测的可靠性。

相关标准
- ISO 7816-3:1989 Identification cards -- Integrated circuit cards -- Part 3: Cards with contacts -- Electrical interface and transmission protocols
- ISO/IEC 7816-4:2013 Identification cards -- Integrated circuit cards -- Part 4: Organization, security and commands for interchange
- ISO/IEC 7816-5:2004 Identification cards -- Integrated circuit cards -- Part 5: Registration of application providers
- ISO/IEC 7816-6:2016 Identification cards -- Integrated circuit cards -- Part 6: Interindustry data elements for interchange
- ISO/IEC 7816-7:2016 Identification cards -- Integrated circuit cards -- Part 7: Interindustry commands for structured card query language (SCQL)