Октет (вычисления)

Октет — это единица цифровой информации в вычислительной технике и телекоммуникациях, состоящая из восьми бит. Этот термин часто используется, когда термин «байт» может быть неоднозначным, поскольку исторически термин «байт» использовался для обозначения единиц хранения различных размеров.

Термин octad(e) для обозначения восьми бит больше не используется. [1][2]

Определение

The international standard IEC 60027-2, chapter 3.8.2, states that a byte is an octet of bits. However, the unit байта has historically been платформы-dependent and has represented various storage sizes in the истории вычислительной техники. Due to the influence of several major компьютерных архитектур and product lines, the byte became overwhelmingly associated with eight bits. This meaning of байта is codified in such standards as ISO/IEC 80000-13. While байт and октет are often used synonymously, those working with certain устаревшими системами, are careful to avoid ambiguity.[citation needed]

Octets can be represented using number systems of varying bases such as the шестнадцатеричная, десятичная, or восьмеричная системы. The binary value of all eight bits set (or activated) is 111111112, equal to the hexadecimal value FF16, the decimal value 25510, and the octal value 3778. One octet can be used to represent decimal values ranging from 0 to 255.

The term «октет» (symbol: o[nb 1]) is often used when the use of термина «байт» might be ambiguous. It is frequently used in the Request for Comments (RFC) publications of the Рабочей группы по проектированию Интернета to describe storage sizes of сетевого протокола parameters. The earliest example is RFC 635 from 1974. In 2000, Боб Бемер claimed to have earlier proposed the usage of the term octet for "8-bit bytes" when he headed software operations for компании Cie. Bull in France in 1965 to 1966.[3]

In Франции, франкоязычной Канаде and formerly in Румынии в обиходе вместо, октет is used in common language instead of байта when the eight-bit sense is required; for example, a megabyte (MB) is termed a megaoctet (Mo).

Последовательность октетов переменной длины, как в Abstract Syntax Notation One (ASN.1), называется октетной строкой.

Октад

Historically, in Западной Европе, the term «октада» (or «октада») was used to specifically denote eight bits,[2][1] a usage no longer common. Early examples of usage exist in British,[2] Dutch and German sources of the 1960s and 1970s, and throughout the documentation of Philips мэйнфреймам.[1] Similar terms are «триада» for a grouping of three bits and «декада» for ten bits.

Единичные кратные

Кратные единицы октета могут быть образованы с помощью приставок СИ и двоичных приставок (power of 2 prefixes) as standardized by the Международной электротехнической комиссией в 1998 году.

префиксы СИ
1 килооктет (ko)= 103  октетов= 1000 octets
1 мегаоктет (Mo)= 10 6  октетов= 1000  кО= 1 000 000  октетов
1 гигаоктет (Go)= 10 9  октетов= 1000  Мб= 1 000 000 000  октетов
1 тераоктет (To)= 10 12  октетов= 1000  Го= 1 000 000 000 000  октетов
1 петаоктет (Po)= 10 15  октетов= 1000  до= 1 000 000 000 000 000  октетов
1 экзоктет (Eo)= 10 18  октетов= 1000  По= 1 000 000 000 000 000 000  октетов
1 зеттаоктет (Zo)= 10 21  октетов= 1000  Eo= 1 000 000 000 000 000 000 000  октетов
1 йоттаоктет (Yo)= 10 24  октетов= 1000  Зо= 1 000 000 000 000 000 000 000 000  октетов
Двоичные префиксы
1 кибиоктет (Kio, also written Ko, as distinct from ko)= 2 10  октетов= 1024 octets
1 мебиоктет (Mio)= 2 20  октетов= 1024  Кио= 1 048 576  октетов
1 гибиоктет (Gio)= 2 30  октетов= 1024  млн.= 1 073 741 824  октетов
1 тебиоктет (Tio)= 2 40  октетов= 1024  Джио= 1 099 511 627 776  октетов
1 пебиоктет (Pio)= 2 50  октетов= 1024  Тио= 1 125 899 906 842 624  октета
1 эксбиоктет (Eio)= 2 60  октетов= 1024  Пио= 1 152 921 504 606 846 976  октетов
1 zebioctet (Zio)= 2 70  октетов= 1024  Eio= 1 180 591 620 717 411 303 424  октета
1 йобиоктет (Yio)= 2 80  октетов= 1024  Зио= 1 208 925 819 614 629 174 706 176  октетов

Использовать в IP-адресах

The octet is used in representations of Internet Protocol сетевых адресов addresses.[4] An IPv4 address consists of four octets, usually displayed individually as a series of decimal values ranging from 0 to 255, each separated by a dot (a full stop/period). Using octets with all eight bits set, the representation of the highest-numbered IPv4 address is 255.255.255.255.

IPv6 -адрес состоит из шестнадцати октетов, отображаемых в шестнадцатеричном представлении (два шестнадцатеричных октета на октет), с использованием символа двоеточия (:) после каждой пары октетов (16 бит также известны как шестнадцатеричные октеты ) для удобства чтения, например, 2001:0db8:0000:0000:0123:4567:89ab:cdef . [5]

См. также

Примечания

  1. ↑ Однако символ «o» в стандарте IEC 80000-13 для октетов может быть спутан с постфиксом «o», обозначающим восьмеричные числа в соответствии с конвенцией Intel.

Ссылки

  1. 1 2 3 "Philips - Ассортимент продукции Philips Data Systems - апрель 1971 г." (PDF). Philips. 1971. Archived from the original on 2016-03-04. Retrieved 2016-10-03.
  2. 1 2 3 Williams, R. H. (1969-01-01). Британский коммерческий компьютерный справочник: Серия «Компьютерные данные Pergamon». Издательство Pergamon. ISBN 1483122107. 978-1483122106.
  3. ↑ Бемер, Роберт Уильям (2000-08-08). «Почему байт состоит из 8 бит? Или нет?». Краткие заметки по истории компьютеров. Archived from оригинала on 2017-04-03. Retrieved 2017-05-15. […] I came to work for IBM, and saw all the confusion caused by the 64-character limitation. Especially when we started to think about word processing, which would require both upper and lower case. […] I even made a proposal (in view of STRETCH, the very first computer I know of with an 8-bit byte) that would extend the number of перфокарт character codes to 256 […]. So some folks started thinking about 7-bit characters, but this was ridiculous. With IBM's STRETCH computer as background, handling 64-character words divisible into groups of 8 (I designed the character set for it, under the guidance of Dr. Вернера Бухгольца, the man who DID coin the term "байт" for an 8-bit grouping). […] It seemed reasonable to make a universal 8-bit character set, handling up to 256. In those days my mantra was "powers of 2 are magic". And so the group I headed developed and justified such a proposal […] The IBM 360 used 8-bit characters, although not ASCII directly. Thus Buchholz's "byte" caught on everywhere. I myself did not like the name for many reasons. The design had 8 bits moving around in parallel. But then came a new IBM part, with 9 bits for self-checking, both inside the CPU and in the накопителях. I exposed this 9-bit byte to the press in 1973. But long before that, when I headed software operations for компании Cie. Bull in France in 1965-66, I insisted that "byte" be deprecated in favor of "octet". […]
  4. ↑ Kozierok, Charles M. (2005-09-20) [2001]. «Руководство по TCP/IP — двоичная информация и представление: биты, байты, полубайты, октеты и символы — байт против октета». 3.0. Заархивировано from the original on 2017-04-03. Retrieved 2017-04-03.
  5. ↑ R. Hinden; С. Диринг (February 2006). Архитектура адресации IP версии 6.. Network Working Group. doi:10.17487/RFC4291. RFC 4291. Проект стандарта. Obsoletes RFC 3513. Updated by RFC 5952, 6052, 7136, 7346, 7371 and 8064.

Источники

Источники иллюстраций

  1. Question book-new.svg · Лицензия файла уточняется (icon)
  2. Wiktionary-logo-en-v2.svg · Dan Polansky based on work currently attributed to Wikimedia Foundation but originally created by Smurrayinchester · CC BY-SA 4.0
Соглашение О проекте Обратная связь
2026, Альфапедия. Список материалов:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25