[go: up one dir, main page]

SU503243A1 - Device for calculating the check number - Google Patents

Device for calculating the check number

Info

Publication number
SU503243A1
SU503243A1 SU1994814A SU1994814A SU503243A1 SU 503243 A1 SU503243 A1 SU 503243A1 SU 1994814 A SU1994814 A SU 1994814A SU 1994814 A SU1994814 A SU 1994814A SU 503243 A1 SU503243 A1 SU 503243A1
Authority
SU
USSR - Soviet Union
Prior art keywords
output
unit
module
determination unit
weight
Prior art date
Application number
SU1994814A
Other languages
Russian (ru)
Inventor
Марк Адольфович Межиборский
Ефим Мейлахович Губенко
Тамара Александровна Лобачева
Original Assignee
Ордена Октябрьской Революции Всесоюзный Государственный Проектно-Изыскательский И Научно-Исследовательский Институт Энергетических Систем И Электрических Сетей "Энергосетьпроект"
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ордена Октябрьской Революции Всесоюзный Государственный Проектно-Изыскательский И Научно-Исследовательский Институт Энергетических Систем И Электрических Сетей "Энергосетьпроект" filed Critical Ордена Октябрьской Революции Всесоюзный Государственный Проектно-Изыскательский И Научно-Исследовательский Институт Энергетических Систем И Электрических Сетей "Энергосетьпроект"
Priority to SU1994814A priority Critical patent/SU503243A1/en
Application granted granted Critical
Publication of SU503243A1 publication Critical patent/SU503243A1/en

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Error Detection And Correction (AREA)
  • Detection And Correction Of Errors (AREA)

Description

рабатывающего импульсы заданной длительности , блока 2 определени  дополнени  до модул , блока 3 храпени  весовых коэффициентов , причем р ду весовых коэффициентов предшествует модуль М и заканчиваетс  этот р д признаком конца р да, блока 4 определени  поправки, служащего дл  преобразовани  модул  М в число 9 - М, блока 5 вывода и блока 6 управлени , осуществл ющего управление вышеназванными блоками в необходимой последовательности.working pulses of a predetermined duration, add-on definition module 2 to the module, weight racking block 3, the row of weight coefficients preceding the module M and ending with a series of signs of the end of a row, correction correction block 4, which converts the module M to the number 9 - M, an output unit 5 and a control unit 6 controlling the aforementioned units in the required sequence.

Перед началом работы устройство устанавливаетс  в исходное положение. При этом в блок 2 определени  дополнени  до модул  заноситс  из блока 3 хранени  весовых коэффициентов в блок 4 определени  поправки считываетс  модуль М, где он преобразуетс  в число 9 - М. После этих операций блок 3 хранени  весовых коэффициентов переводитс  в положение дл  считывани  первого весового коэффициента Ь.Before operation, the device is reset. In addition, in addition, the module 2 is added to the module from the weight storage unit 3 in the correction determination unit 4, the module M is read, where it is converted to the number 9 - M. After these operations, the weight storage unit 3 is transferred to the position for reading the first weight factor B.

Блок хранени  весовых коэффициентов св зан с блоком определени  поправки только в исходном положении, во всех остальных положени х блок хранени  весовых коэффициентов св зан с блоком определени  дополнени  до модул .The weight storage unit is connected to the correction determination unit only in the initial position; in all other positions, the weight storage unit is connected to the complement determination unit to the module.

Со входа 7 сигнал, соответствующий первой цифре аь поступает в блок определени  дополнени  до модул . Этот сигнал может поступать, например, с клавишного устройства . В блок определени  дополнени  до модул  из блока хранени  весовых коэффициентов поступает весовой коэффициент bi, соответствующий первой цифре «ь В блоке определени  дополнени  до модул  происходит сложение весового коэффициента bi столько раз, каково значение цифры аь Если при каком-либо сложении сумма оказываетс  больше модул  М (т. е. происходит переполнение), то в блоке определени  дополнени  до модул  вырабатываетс  сигнал переполнени , по которому из блока определени  поправки поступает число q -М в блок определени  дополнени  до модул . Это число складываетс  с остатком от переполнени , получившегос  в результате сложени  весового коэффициента bi. При поступлении второй цифры а2 все операции выполн ютс  аналогично описанным выше. В результате в блоке определени  дополнени  до модул  оказываетс  число с/ - М. + R2, цифра 02 выводитс  из устройства на выход 8, а блок хранени  весовых коэффициентов переводитс  в положение дл  считывани  следующего весового коэффициента из и так далее до тех пор, пока на вход не поступит k-  цифра а/. Е этом случае после прохождени  всех операций цифра а выводитс  из устройства на выход 8, а блок хранени  весовых коэффициентов переводитс  в следующее положение, при котором считываетс  признак конца р да весовых коэффициентов . При по влении этого признака числоFrom input 7, the signal corresponding to the first digit ai enters the complement determination unit to the module. This signal can come, for example, from a key device. In the block for determining the addition to the module, the weight coefficient bi, corresponding to the first digit, is received from the weight storage unit. In the block for determining the addition to the module, the weight factor bi is added up as many times as the value of the digit a. If the sum is greater than the module M (i.e., an overflow occurs), an overflow signal is generated in the complement determination unit to the module, from which the q -M number is sent from the correction determination unit to the complement determination unit module This number is added to the overflow residual resulting from the addition of the weighting factor bi. Upon receipt of the second digit a2, all operations are carried out as described above. As a result, in the module for determining the addition to the module, the number is C / - M. + R2, digit 02 is output from the device at output 8, and the weight storage unit is transferred to the position for reading the next weight from and so on until the input will not go k-digit a /. In this case, after passing through all the operations, digit A is output from the device to output 8, and the weight storage unit is transferred to the next position, at which the sign of the end of p and the weight coefficients is read. When this feature appears, the number

4four

+ R из блока определени  дополнени  до модул  поступает в блок 5 вывода, где вычисл етс  контрольное число, которое затем выводитс  из устройства на выход 8, а блок хранени  весовых коэффициентов переводитс  в исходное положение. + R from the block for determining the addition to the module enters the block 5 of the output, where the check number is calculated, which is then output from the device to output 8, and the weight storage unit is transferred to the initial position.

Таким образом, после последовательности К цифр из устройства выводитс  контрольное число, и только затем выводитс  следующа  цифра.Thus, after a sequence of K digits, the control number is output from the device, and only then the next digit is output.

Пример. Необходимо определить контрольное число по модулю 97 (М 97) при максимальной длине кода Амакс. 9 и следующих весовых коэффициентах: & 11, иг 47, Ьз 43, б4 17, &S 67, 6б 61, bj 29, b& - 31, bs 73; основание системы счислени  д 10.Example. It is necessary to determine the check number modulo 97 (M 97) with the maximum length of the Amax code. 9 and the following weights: & 11, ng 47, bz 43, b4 17, & S 67, 6b 61, bj 29, b & - 31, bs 73; base number system 10.

Допустим, необходимо передать код 235143220.Suppose you need to pass code 235143220.

В таблице показано изменение содержимого блока определени  дополнени  до модул . В результате в блоке определени  дополнени  до модул  находитс  число 96, представл ющее собой . + Rg 102-97+; 9 96.The table shows the change in the content of the block definition supplement to the module. As a result, in the block for determining the addition to the module there is the number 96, which represents itself. + Rg 102-97 +; 9 96.

Следовательно, Rg 93, а в блоке вывода вычисл етс  контрольное число А М-Rg 97-93 4, которое выводитс  из устройства на выход 8.Consequently, Rg 93, and in the output block, a control number A M-Rg 97-93 4 is calculated, which is output from the device to output 8.

ТаблицаTable

Claims (1)

Формула изобретени Invention Formula Устройство дл  вычислени  контрольного числа, содержащее тактовый генератор, блок определени  поправки, блок управлени , соединенный с блоком вывода, выход которого соединен с выходом устройства, отличающеес  тем, что, с целью расширени  функциональных возможностей устройства, в него введены блок хранени  весовых коэффициентов, соединенный с блоком определени  поправки, и блок определени  дополнени  до модул , соединенный со входом устройства, с блоком хранени  весовых коэффициентов, с блоком определени  поправки, с тактовым генератором , с блоком управлени  и с блоком вывода.A device for calculating a reference number, comprising a clock generator, a correction determining unit, a control unit connected to an output unit, the output of which is connected to the output of the device, characterized in that, in order to expand the functionality of the device, a weight storage unit is inserted into it, with an amendment determination unit, and an addition unit determination unit, connected to the input of the device, with weighting factor storage unit, with an amendment determination unit, with clock generation with a control unit and with an output unit.
SU1994814A 1974-02-11 1974-02-11 Device for calculating the check number SU503243A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU1994814A SU503243A1 (en) 1974-02-11 1974-02-11 Device for calculating the check number

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU1994814A SU503243A1 (en) 1974-02-11 1974-02-11 Device for calculating the check number

Publications (1)

Publication Number Publication Date
SU503243A1 true SU503243A1 (en) 1976-02-15

Family

ID=20575317

Family Applications (1)

Application Number Title Priority Date Filing Date
SU1994814A SU503243A1 (en) 1974-02-11 1974-02-11 Device for calculating the check number

Country Status (1)

Country Link
SU (1) SU503243A1 (en)

Similar Documents

Publication Publication Date Title
SU662926A1 (en) Generator of sequence of fibonacci generalized numbers with arbitrary initial conditions
SU503243A1 (en) Device for calculating the check number
SU484520A1 (en) Device for adding numbers in the system of residual classes
GB965749A (en) Improvements relating to devices for dividing numbers
SU1619243A2 (en) Generator of sequence of code weights
SU391560A1 (en) DEVICE FOR CONSTRUCTION IN SQUARES
RU1797119C (en) Device for conversion of numbers from code of residual class into position code with check of errors
US4190892A (en) Zero suppressing system for electronic device
SU1488968A1 (en) Residue-class-system-code-to-positional-code converter with error detection
JPS54109590A (en) Sequence control information generating circuit
SU1200422A1 (en) Analog-to-digital converter
SU1092489A1 (en) Device for reducing fibonacci p-codes to minimal form
SU1092494A2 (en) Device for sorting numbers
SU411453A1 (en)
SU428455A1 (en) DEVICE FOR MONITORING STORAGE MODULES
SU427389A1 (en) MEMORY DEVICE
SU1084779A1 (en) Translator from binary code to binary-coded decimal code
SU935954A1 (en) Device for calculating differential equations
SU1635187A1 (en) Test generator
SU441560A1 (en) Device for comparing successive codes
SU924703A1 (en) Square rooting device
SU1275427A1 (en) Device for calculating minimum cover
SU651489A1 (en) Arrangement for selecting information channels
SU1367163A1 (en) Binary serial code to unit-counting code converter
SU758145A1 (en) Square rooting device