• 欢迎访问速搜资源吧,如果在网站上找不到你需要的资源,可以在留言板上留言,管理员会尽量满足你!

【速搜问答】数据通信代码是什么

问答 admin 2周前 (04-19) 21次浏览 已收录 0个评论

汉英对照:
Chinese-English Translation:

数据通信代码(data communication code),是指组成报文的电报信号和组成信息块的数据信号在形成格式、发送、接收和处理过程中要遵守的一组规则和惯例。

Data communication code refers to a set of rules and conventions to be observed in the process of format formation, sending, receiving and processing of telegram signal and data signal of information block.

数据通信代码(data communication code),是指组成报文的电报信号和组成信息块的数据信号在形成格式、发送、接收和处理过程中要遵守的一组规则和惯例。

Data communication code refers to a set of rules and conventions to be observed in the process of format formation, sending, receiving and processing of telegram signal and data signal of information block.

简介

brief introduction

由数据终端设备(DTE)发出的数据信息,一般由字母、数字或符号组成,为了适合传输,按规定的规则变换成的二进制代码,这就是数据通信代码。常用的数据通信代码有国际五号码(IA5)、国际电报二号码(ITA2)(见电报码型)、EBCDIC 码和汉字信息交换码。

The data information sent by data terminal equipment (DTE) is generally composed of letters, numbers or symbols. In order to be suitable for transmission, it is transformed into binary code according to the specified rules, which is called data communication code. The commonly used data communication codes are ia5, ita2 (see telegraph code type), EBCDIC and Chinese character information exchange code.

常用的数据通信代码

Common data communication code

2.1 国际五号码

2.1 international five number

国际五号码是一种 7 单位代码,它用 7 位二进制码来表示一个字母、数字或符号。这种代码是美国标准化协会提出的,称为美国信息交换用标准代码,简称 ASCⅡ码。经 CCITT 采纳发展成为 V.3 建议;后来,CCITT 将此建议修改后列为 T.50 建议,同时删除 V.3 建议。T.50 建议也相当于国际标准化组织的 ISO646 国际标准。我国参照 V.3 建议,制订了国家标准 GB1988 80(信息处理交换用的七位编码字符集)。

International five number is a 7-bit code, which uses 7-bit binary code to represent a letter, number or symbol. This kind of code is proposed by American Standardization Association, which is called American Standard Code for information exchange, referred to as ASC II code. It was adopted by CCITT and developed into recommendation v.3. Later, CCITT revised this recommendation as recommendation t.50 and deleted recommendation v.3. T. Recommendation 50 is also equivalent to ISO 646. Referring to the suggestion of v.3, China has formulated the national standard gb198880 (seven bit coded character set for information processing and exchange).

T.50 建议国际参考版本(IRV)代码表是由 128 个字符构成的字符集。这些字符可分为控制字符和图形字符。

T. The recommended international reference version (IRV) code table is a 128 character character set. These characters can be divided into control characters and graphic characters.

控制字符只产生控制功能,不被显示或打印,总共有 33 个。它可分为六类。①传输控制字符:SOH(标题开始)、STX(正文开始)、ETX(正文结束)、EOT(传输结束)、ENQ(询问)、ACK(确认)、DLE(数据链转义)、NAK(否认)、SYN(同步)和 ETB(组传输结束);②格式控制字符:BS(退格)、HT(横向制表)、LF(换行)、VT(纵向制表)、FF(换页)和 CR(回车);③代码扩充控制字符:SO(移出)、SI(移入)和 ESC(转义);④设备控制字符:DC1、DC2、DC3 和 DC4;⑤信息分隔符:FS(文卷分隔)、GS(组分隔)、RS(记录分隔)和 US(单元分隔);⑥其他控制字符:NUL(空白)、BEL(告警)、CAN(作废)、EM(媒体结束)、SUB(取代)和 DEL(删去)。

There are 33 control characters in total, which only produce control function and are not displayed or printed. It can be divided into six categories. ① Transmission control characters: SOH (start of title), STX (start of text), ETX (end of text), EOT (end of transmission), enq (inquiry), ACK (confirmation), dle (data link escape), NAK (denial), syn (synchronization) and ETB (end of group transmission); ② format control characters: BS (backspace), HT (horizontal tabulation), LF (line feed), VT (vertical tabulation), FF (page feed) and Cr (carriage return); ③ code expansion control characters: so (move out), Si (move in) and ESC (escape); ④ equipment control characters: DC1, DC2, DC3 and DC4; ⑤ information separator: FS (file separation), GS (group separation), RS (record separation) and us (unit separation); ⑥ other control characters: nul (blank), Bel (alarm), can (void), EM (end of media), sub (replace) and del (delete).

图形字符为显示或打印用的字符,共 94 个。其中包括 52 个大、小写英文字母,10 个数字及其他 32 个图形符号。

There are 94 graphic characters for display or printing. It includes 52 large and small English letters, 10 numbers and 32 other graphic symbols.

IRV 代码还有一个间隔字符 SP,它既可作图形字符,也可作控制字符。

IRV code also has an interval character SP, which can be used as both graphic character and control character.

在串行传输时,先发送代码低位比特 b1,最后发送 b7。为了提高传输的可靠性,CCITTV.4 建议规定可以在 b7 之后加上第 8 位 b8 作奇偶校验位。通常同步工作时用奇校验,起止式工作时用偶校验。

In serial transmission, the low bit B1 of the code is sent first, and then B7 is sent finally. In order to improve the reliability of transmission, CCTV. 4 suggests adding the 8th bit B8 after B7 as parity bit. Usually, odd check is used in synchronous operation and even check is used in start stop operation.

2.2 国际电报二号码

2.2 International Telegraph No.2

ITA2(International Telegraph Alphabet No.2)编码是由法国人 Emile Baudot 发明的一种适用于机器编码、解码的博多码,采用 5 位 2 进制编码,一共能够产生 32 种组合,用来表示 26 个英文字母、10 个十进制数字、标点符号与空格。如果 32 种组合与上述字母、数字及各类符号一一对应,那么,ITA2 编码的 32 种组合就不够用,为了解决这个问题,博多码增加了两个转意字符:数字字符(FIGS)和字母字符(LTRS),数字字符表示其后的 ITA2 编码为 10 个十进制数字或标点符号之一,字母字符表示其后的字符为 26 个英文字母之一。ITA2 编码表一共有 64 个字符,分为字母字符表和数字字符表两类。区分 ITA2 编码属于哪个字符表的方法是依据数据串的第一个字符,如果第一个字符是“&HIB”(FIGS),说明其后的字符从数字字符表中查找,如果第一个字符是“&H1F”(LTRS),说明其后的字符从字母表中查找。

Ita2 (International Telegraph Alphabet No.2) code is a Bodo code invented by Emile Baudot of France, which is suitable for machine coding and decoding. It adopts 5-bit binary code, and can produce 32 combinations, which are used to represent 26 English letters, 10 decimal numbers, punctuation marks and spaces. If the 32 combinations correspond to the above-mentioned letters, numbers and various symbols one by one, then the 32 combinations of ita2 code are not enough. To solve this problem, Bodo code adds two semantic conversion characters: numeric characters (FIGS) and alphabetic characters (LTRs). Numeric characters indicate that the subsequent ita2 code is 10 A decimal number or punctuation mark, followed by one of 26 English letters. There are 64 characters in ita2 code table, which are divided into alphabetic character table and numeric character table. The method of distinguishing which character table ita2 code belongs to is based on the first character of the data string. If the first character is “& amp; Hib” (FIGS), it means that the following characters are searched from the numeric character table. If the first character is “& amp; H1F” (LTRs), it means that the following characters are searched from the alphabet.

2.3 国标GB1988 80码

2.3 GB 1988 code 80

国标 GB1988 80 的代码表与 T.50 建议的 IRV 代码表只有一个图形字符不同。IRV 代码表中的通用货币符号“¤”,在国标中改为我国的货币符号“¥”,在国内通用。若用该符号表示世界上某个特定国家之货币,则必须用“¥”与表中其他图形字符的组合来表示,也可以用符号“$”与其他图形字符的组合来表示。

There is only one graphic character difference between the code table of GB 1988 80 and IRV code table suggested by t.50. The common currency symbol “·” in IRV code table is changed to the currency symbol “¥” in China in the national standard, which is commonly used in China. If the symbol is used to represent the currency of a particular country in the world, it must be represented by the combination of “¥” and other graphic characters in the table, or by the combination of “$” and other graphic characters.

2.4 EBCDIC码

2.4 EBCDIC code

EBCDIC 码是扩充的二十进制交换码,它是一种 8 单位码,有 256 种组合。这种码一般不作为远距离传输用,而作为计算机的内部码使用。它在美国 IBM 公司的产品中较多采用。

EBCDIC code is an extended binary code. It is an 8-unit code with 256 combinations. This kind of code is generally not used for long-distance transmission, but as the internal code of the computer. It is widely used in IBM products.

2.5 汉字信息交换码

2.5 Chinese character information exchange code

使用双 7 位编码的字符集。它由多个 94×94 双字节图形字符集组成。任何一个图形字符由两个字节表示。两个字节中前面的字节为第一字节,后面的字节为第二字节。图形字符在代码表中的位置用区号和位号表示。代码表分成 94 个区,每个区有 94 位,因此最大容量为 8 836 个码位。GB2312 80 为“信息交换用汉字编码字符集 基本集”,收集汉字 6763 个。GB7589 87 为“信息交换用汉字编码字符集 第二辅助集”,它收集 GB2312 以外的汉字 7237 个,它们是汉语通用的规范汉字,其用途与使用率一般低于基本集中的汉字,但是高于第四辅助集中的汉字。GB759087 为“信息交换用汉字编码字符集 第四辅助集”,它收集了 GB2312(基本集)及 GB7589(第二辅助集)以外的汉字 7039 个。

A character set using double 7-bit encoding. It consists of several 94 × 94 double byte graphic character sets. Any graphic character is represented by two bytes. In the two bytes, the first byte is the first byte, and the next byte is the second byte. The position of graphic characters in the code table is represented by area code and tag number. The code table is divided into 94 regions, each region has 94 bits, so the maximum capacity is 8 836 code bits. Gb231280 is the “basic set of Chinese character coding character set for information exchange”, which collects 6763 Chinese characters. Gb758987 is “the second auxiliary set of Chinese character coding character set for information exchange”. It collects 7237 Chinese characters other than GB2312. They are standard Chinese characters in common use. Their usage and utilization rate are generally lower than those in the basic set, but higher than those in the fourth auxiliary set. Gb759087 is “the fourth auxiliary set of Chinese character coding character set for information exchange”. It collects 7039 Chinese characters other than GB2312 (basic set) and gb7589 (second auxiliary set).


速搜资源网 , 版权所有丨如未注明 , 均为原创丨转载请注明原文链接:【速搜问答】数据通信代码是什么
喜欢 (0)
[361009623@qq.com]
分享 (0)
发表我的评论
取消评论
表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址