SU1619280A1 - Device for monitoring master computer - Google Patents

Device for monitoring master computer Download PDF

Info

Publication number
SU1619280A1
SU1619280A1 SU884440419A SU4440419A SU1619280A1 SU 1619280 A1 SU1619280 A1 SU 1619280A1 SU 884440419 A SU884440419 A SU 884440419A SU 4440419 A SU4440419 A SU 4440419A SU 1619280 A1 SU1619280 A1 SU 1619280A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
information
trigger
signal
Prior art date
Application number
SU884440419A
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 SU884440419A priority Critical patent/SU1619280A1/en
Application granted granted Critical
Publication of SU1619280A1 publication Critical patent/SU1619280A1/en

Links

Landscapes

  • Hardware Redundancy (AREA)

Description

tt

(21)4440419/24(21) 4440419/24

(22)13.06.88(22) 13.06.88

(46) 07.01.91. Бкш. f 1(46) 07.01.91. Bksh. f 1

(71)Уфимский авиационный институт им. Серго Орджоникидзе(71) Ufa Aviation Institute. Sergo Ordzhonikidze

(72)Ю.П.Кил ев, А.П.Жил ев и А.Ф.Гимранов(72) Yu.P.Kil ev, A.P. Zhil Ev and A.F. Gimranov

(53)681.3(088.8)(53) 681.3 (088.8)

(56)Авторское свидетельство СССР № 1120339,.кл. G 06 F 11/28, 1983.(56) USSR Author's Certificate No. 1120339, .cl. G 06 F 11/28, 1983.

Авторское свидетельство СССР № 1522216, ил. G 06 F 11/28, 1988.USSR author's certificate number 1522216, il. G 06 F 11/28, 1988.

(54)УСТРОЙСТВО ДЛЯ КОНТРОЛЯ УПРАВ- ЛЯЮ1ЧЕЙ ЭВМ(54) DEVICE FOR CONTROL OF MANAGEMENT COMPUTERS

(57)Изобретение относитс  к вычислительной технике и может быть использовано в системах автоматического(57) The invention relates to computing and can be used in automatic

управлени  на базе ЭВМ дл  контрол  выполнени  программ на ЭВМ и восстановлени  вычислительного процесса при сбо х. Цель изобретени  - уменьшение времени фиксации сбо . Устройство содержит блоки посто нной пам ти , сумматор,схему сравнени , регистры , элементы ИЛИ-НЕ, триггеры, элемент задержки, элемент И-НБ, дешифратор адреса, дешифратор команд перехода , формирователи импульсов, элемент ИЛИ, входы, выходы устройства. Устройство позвол ет распознать сбой в аппаратуре контролируемой ЭВМ и восстановить вычислительный процесс путем фиксации факта сбо  и повторного выполнени  команды, при которой произошел сбой. 6 ил.computer-based controls for monitoring the execution of computer programs and restoring the computational process upon failure. The purpose of the invention is to reduce the time of fixation failure. The device contains fixed memory blocks, adder, comparison circuit, registers, OR-NOT elements, triggers, delay element, I-NB element, address decoder, transition instruction decoder, pulse drivers, OR element, inputs, device outputs. The device makes it possible to recognize the failure in the equipment of the controlled computer and to restore the computational process by fixing the fact of failure and re-executing the command at which the failure occurred. 6 Il.

а SSa ss

(L

Изобретение относитс  к вычислительной технике и может быть использовано в системах автоматического управлени  на базе ЭВМ дл  контрол  выполнени  программ на ЭВМ и восстановлени  вычислительного процесса при сбо х.The invention relates to computing and can be used in computer-based automatic control systems for monitoring the execution of programs on a computer and restoring the computational process upon a crash.

Цель изобретени  - уменьшение времени фиксации сбо .The purpose of the invention is to reduce the time of fixation failure.

На фиг.1 представлена функциональна  схема устройства; на фиг.2 - вре- менна  диаграмма функционировани  устройства при отсутствии сбо  в аппаратуре контролируемой Г)ВМ;на фиг.З - то же, при исполнении команды перехода; на фиг.4 - то же, в момент фиксации сбо ; на фиг.5 - то же, при выходе из прерывани  и восстановлении . вычислительного процесса; на фиг.6 схема расположени  информации в блоках посто нной пам ти.Figure 1 shows the functional diagram of the device; 2 is a time diagram of the operation of the device in the absence of a fault in the equipment of the controlled D) VM; FIG. 3 is the same when executing a transition command; figure 4 - the same, at the time of fixing failure; Fig. 5 is the same when exiting an interrupt and recovering. computational process; Fig. 6 shows the layout of information in the permanent memory blocks.

Устройство (фиг.1) содержит первый блок 1 посто нной пам ти, второй блок 2 посто нной пам ти, сумматор 3, схему 4 сравнени , второй ре- ,гистр 5, первый триггер 6, элементы -ИЛИ-НЕ 7-10, второй триггер 11,элемент ИЛИ-НЕ 12, элемент 13 задержки, элеме-нт И-НЕ 14, третий триггер 15, дешифратор 16 команд перехода, элемент ИЛИ-НЕ 17, дешифратор 18 адреса , элемент ИЛИ-НЕ 19, первый формирователь 20 импульсов, второй формирователь 21 импульсов, элемент ИЛИ 22, первый регистр 23, информационный вход-выход 24 устройства (шина данных), адресный вход 25 устройства (шина адреса), управл ющей выходThe device (Fig. 1) contains the first block 1 of the permanent memory, the second block 2 of the permanent memory, the adder 3, the comparison circuit 4, the second register, the histor 5, the first trigger 6, the elements -OR-NOT 7-10, the second trigger 11, the element OR NOT 12, the delay element 13, the element AND-NOT 14, the third trigger 15, the decoder 16 transition commands, the element OR-NOT 17, the decoder 18 addresses, the element OR-NOT 19, the first driver 20 pulses, the second pulse shaper 21, the element OR 22, the first register 23, the device information input-output 24 (data bus), the device address input 25 (address bus), control output

26 устройства (лини  сигнала преры- вани ), первый управл ющий вход 27 устройства (лини  сигнала ВВОД), вто-4- рой управл ющий вход 28 устройства (лини  сигнала начала команды), третий управл ющий вход 29 устройства (лини  сигнала начальной установки). На временной диаграмме функционировани  устройства при отсутствии „ сбо    аппаратуре контролируемой ЭВМ (фиг.2) обозначено: ШД - информаци  иа шине 24 данных, ПА - информаци  на шине 25 адреса, ДК11 1 - сигнал на первом выходе дешифратора 16, НК - сигнал начала команды на линии 28 сигнала, ВВОД - сигнал ввода информации в процессор контролируемой ЭВМ на линии 27 сигнат , БПП 2 - информаци  на информационном выходе бло- ка 2, С - информаци  на выходе сумматора 3; ЗпРг 1, Рг 2 - сигнал записи в регистры 5 и 23 с выхода элемента И-НЕ 14, Рг 1 - информаци  на выходе регистра 5, ПРЕР, - сигнал прё рывани  на линии 26 сигнала, Рг 2 - содержимое регистра 23, КОП - код операции текущей команды контролируемой ЭВМ, КС - контрольна  схема, ftt - врем  задержки элемента 13 за- держки (# - уровень сигнала не имеет значени ).26 devices (interrupt signal line), first control input 27 of the device (input signal line), second 4th control input 28 of the device (command start signal line), third control input 29 of the device (initial installation signal line ). In the time diagram of the operation of the device in the absence of “failure of the equipment of the controlled computer (FIG. 2), the following information is indicated: SM — information on data bus 24, PA — information on address bus 25, DK11 1 — signal on the first output of the decoder 16, NC — command start signal on the signal line 28, INPUT - input information signal to the processor of the controlled computer on the 27 signature line, BPP 2 - information on the information output of block 2, C - information on the output of the adder 3; Zprg 1, Pr 2 - the write signal to registers 5 and 23 from the output of the element AND-NOT 14, Pr 1 - information at the output of register 5, Pep, signal interception on the signal line 26, Pr 2 - the contents of register 23, CPC - the operation code of the current command of the computer being monitored, the CS is the control circuit, ftt is the delay time of the delay element 13 (# is the signal level does not matter).

Иа временной диаграмме функционировани  устройства при исполнении команды перехода (фиг.З) обозначено: ИД - информаци  на шине 24 данных, 1ЧА - информаци  на шине 25 адреса, ДКП 1 - сигнал на первом выходе де шифратора 16, ДКЛ 2 - сигнал на вто- ром выходе дешифратора 16, НК - сиг- нал на линии 28 сигнала, ВВОД - сигнал ввода информации в процессор ЭВМ| на линии 27 сигнала, БПП - информаци  на ичформационном выходе блока 2, С - информаци  на выходе сумматора 3, Т 3 - сигнал на пр мом выходе триггера 11, ЗпРг 1, Рг 2 - сигнал запи- си в регистры 5 и 23 с выхода элемен-4 та И-НЕ 14, Рг 1 - информаци  на выходе регистра 5, ПРЕР - сигнал преры- вани  на линии сигнала 26 прерывани , Рг 2 - содержимое регистра 23, КОГ1 - код операции, КС - контрольна  сумма, b,t - врем  задержки элемента 13 задержки.The time diagram of the operation of the device when executing a transition command (FIG. 3) is indicated: ID — information on the data bus 24, 1 HA — information on the address bus 25, DCT 1 — signal at the first output of the encoder 16, DCL 2 — signal at the second the output of the decoder 16, NC - a signal on the signal line 28, ENTER - a signal to enter information into the computer processor | on line 27 of the signal, BPP - information at the information output of block 2, C - information at the output of the adder 3, T 3 - signal at the direct output of the trigger 11, ZsRg 1, Pr 2 - recording signal into registers 5 and 23 from the output elements-4 and I-NOT 14, Pr 1 - information at the output of register 5, PREP - interruption signal on interrupt signal line 26, Pr 2 - contents of register 23, KOG1 - operation code, CS - checksum, b, t - the delay time of the delay element 13.

На временной диаграмме функционировани  устройства при выходе из прерывани  и восстановлении вычислительного процесса (фиг.З) обозначено:In the time diagram of the operation of the device when exiting the interrupt and restoring the computational process (Fig. 3), it is indicated:

g 5 0 5 g 5 0 5

о $ about $

5five

00

5five

ШД - информаци  на шине 24 данных,ША - информаци  на шине 25 адреса, ДКПЗ - сигнал на третьем выходе дешифратора 16, ПК - сигнал начала команды на линии 28 сигнала начала команды, ВВОД - сигнал ввода информации в процессор ЭВМ на линии 27, БПП 2 - информаци  на информационном выходе блока 2, С - информаци  на выходе сумматора 3, ЗиРг 1, Рг 2 - сигнал i записи в регистры 5 и 23 с выхода элемента И-НЕ 14, Рг 1 - информаци  на выходе регистра 5, Сбр Т1 - сигнал сброса триггера 6 на выходе элемента ИЛИ-НЕ 10, ПРЕР - сигнал прерывани  на линии 26 сигнала прерывани , Сбр Т2 - сигнал сброса триггера 15 на выходе элемента ИЛИ-НЕ 17, Т2 - сигнал на инверсном выходе триггера 15, Рг 2 - содержимое регистра 23, КОП - код операции, КС - контрольна  сумма, ut - врем  задержки элемента 13 задержки.BD - information on data bus 24, ША - information on address bus 25, DKPZ - signal at third output of decoder 16, PC - command start signal on line 28 command start signal, ENTER - information input signal to computer processor on line 27, BPP 2 - information at the information output of block 2, C - information at the output of the adder 3, ZiRg 1, Pr 2 - the signal i write to registers 5 and 23 from the output of the AND-14 element, Pr 1 - information at the output of the register 5, Sat T1 - a reset signal of the trigger 6 at the output of the OR-NOT 10 element, PREP - an interrupt signal on the interrupt signal line 26, Cbl T2 - a signal l reset flip-flop 15 at the output of OR-NO element 17, T2 - signal at the inverse output of the flip-flop 15, Pr 2 - contents of the register 23, the CPC - opcode, COP - checksum, ut - delay time of the delay element 13.

На схеме расположени  информации в блоках 1 и 2 (фиг.6) А, В - относительные адреса  чеек блока 1 и бло- ка 2, КОП - код операции, КС - контрольна  сумма.In the layout of information in blocks 1 and 2 (Fig. 6), A, B are the relative addresses of the cells of block 1 and block 2, the CPC is the operation code, and the CC is the checksum.

Устройство функционирует следующим образом.The device operates as follows.

Рабоча  программа контролируемой ЭВМ заноситс  в блок 1, а контрольные суммы - в блок 2.Адреса блоков 1 и 2 совпадают. Контроль вычислительного процесса осуществл етс  во врем  считывани  из блока 1 кода очередной команды посредством срагнени  суммы считываемого кода команды и содержимого регистра 5 с контрольной суммой, извлекаемой из блока 2. Адреса  чеек блока 1, содержащих коды операции (команд), и  чеек блока 2, содержащих соответствующие контрольные суммы, совпадают ().The work program of the controlled computer is entered in block 1, and the checksums in block 2. The addresses of blocks 1 and 2 are the same. The computational process is monitored during the reading of the next command code from block 1 by blocking the sum of the read command code and the contents of register 5 with the checksum extracted from block 2. The addresses of the cells of block 1 containing the operation codes (commands) and cells of block 2, containing the corresponding checksums match ().

Если сравниваемые суммы с выходов сумматора 3 и блока 2 совпадают, то производитс  запись соответствующей , |суммы с выхода сумматора 3 в регистр 5. При несовпадении сравниваемых ,сумм вырабатываетс  сигнал прерывани , затем производ тс  действи  по восстановлению вычислительного процесса.If the compared amounts from the outputs of the adder 3 and block 2 are the same, then the corresponding sum | from the output of the adder 3 is written to register 5. If the compared amounts do not match, the interrupt signal is generated, then the computational process is restored.

Рассмотрим выполнение i-й команды в отсутствии сбоев во врем  выпол нени  предыдущей команды (фиг.2). Процессор ЭВМ передает по шине 24 адрес  чейки блока 1, содержащийConsider the execution of the i-th command in the absence of failures during the execution of the previous command (figure 2). The computer processor transmits on the bus 24 the block cell address of block 1, containing

код операции г-й команды (), после выставлени  этого адреса на шине 25 процессор ЭВМ вырабатывает сигнал ВВОД, затем сигнал начала, передаваемые по лини м 27 и 28 соответственно , сигнализиру  о том,что процессор готов прин ть информацию от блока 1. Сигнал ВВОД поступает на входы считывани  блока 1, из которого считываетс  КОГГ на шине 24, и блока 2, из которого на первый информационный вход схемы 4 сравнени  считываетс  контрольна  сумма KCj1 . Одновременно на второй информационный вход сумматора 3 поступает КОП с шины ГД 24, а на первый информационный вход сумматора 3 с выхода регистра 5 поступает КС , с предыдущего шага сравнени  (считывани  из блока 1 КОП }., ) .The operation code of the rth command (), after setting this address on bus 25, the computer processor generates an ENTER signal, then a start signal transmitted via lines 27 and 28 respectively, indicating that the processor is ready to receive information from block 1. Signal The INPUT is fed to the read inputs of block 1, from which GOGC is read on bus 24, and block 2, from which the checksum KCj1 is read from the first information input of comparison circuit 4. At the same time, the second information input of the adder 3 receives the CPC from the bus 24, and the first information input of the adder 3 from the output of the register 5 enters the CS, from the previous comparison step (read from the CPC block 1).

На выходе сумматора 3 формируетс  сумма, совпадающа  с KC,j, котора  поступает на второй информационный вход схемы 4 сравнени , на выходе которой формируетс  сигнал уровн  О, поступающий на информационный вход триггера 6. Сигнал начала команды с линии 28 по вл етс  с. некоторой задержкой относительно сигнала ВВОД дл  срабатывани  блока 1, сумматора 3 и схемы 4 сравнени . Сиг- нал начала команды поступает на третий вход элемента ИЛИ-НЕ 7, с выхода которого сигнал поступает на синхровход триггера 6. По фронту этого сигнала триггер 6 устанавливаетс  в состо ние/ соответствующее уровню сигнала на его информационном входе, т.е. остаетс  в нулевом состо нии. Затем этот же сигнал с выхода элемента ИЛИ-НЕ 7 через элемент 13 задержки и элемент И-НЕ. 1 поступает на входы записи регистра 23 и регистра 5. В регистр 5 заноситс  по этому сигналу КС с выхода сумматора 3 и в регистр 23 заноситс  адрес КОП. Элемент 13 задержки задерживает сигнал с выхода элемен- та ИЛИ-НЕ 7 на врем  Јt, необходимое дл  срабатывани  триггера 6.At the output of the adder 3, an amount is formed that coincides with KC, j, which is fed to the second information input of the comparison circuit 4, at the output of which a level signal O is received, which enters the information input of trigger 6. The command start signal from line 28 appears with. some delay relative to the INPUT signal for the operation of block 1, adder 3 and comparison circuit 4. The command start signal goes to the third input of the OR-NOT 7 element, from the output of which the signal goes to the synchronous input of the trigger 6. On the front of this signal, the trigger 6 is set to the state / corresponding to the signal level at its information input, i.e. remains in the zero state. Then the same signal from the output of the element OR NOT 7 through the delay element 13 and the element AND NOT. 1 is fed to the inputs of register 23 and register 5. Register 5 is entered on this signal by the CS from the output of the adder 3 and the address of the CPC is entered in register 23. The delay element 13 delays the signal from the output of the element OR-NE 7 by the time Јt necessary for triggering trigger 6.

Дешифратор 16 представл ет собой трехразр дное посто нное программируемое запоминающее устройство с полем адресов, соответствующим полю адресов блока 1 и блока 2. В трехразр дные  чейки дешифратора 16 по адресам, совпадающим с адресами  чеек блока 1, которые хран т коды операции перехода, занос тс  кодгл 110 (младший разр д этого кода соответствует первому выходу дешифратора 16, а старший разр д - третьему выходу дешифратора 16). В  чейки дешифратора 16 по адресам, совпадающим с адресами  чеек блока 1, которые хран т первые коды операции линейныхThe decoder 16 is a three-bit permanent programmable storage device with an address field corresponding to the address field of block 1 and block 2. The three-digit cells of the decoder 16 are addressed to the addresses of the block 1 cells that store the transition operation codes, entered code 110 (the low-order bit of this code corresponds to the first output of the decoder 16, and the high-order bit to the third output of the decoder 16). In the cells of the decoder 16 to addresses that match the addresses of the cells of block 1, which store the first operation codes of linear

участков (по адресам начала линейных участков программы), занос тс  коды 101. В  чейку дешифратора 16 по адресу , совпадающему с адресом последней команды программы обработки пре5 рывани  (команды выхода из прерывани ), заноситс  код 011. В остальные  чейки дешифратора 16 занос тс  коды 111.plots (at the addresses of the beginning of the linear sections of the program), codes 101 are entered. The code 011 is entered into the cell of the decoder 16 at the address coinciding with the address of the last command of the interrupt processing program (exit command from the interrupt command). The rest of the decoder cells 16 add codes 111.

Рассмотрим выполнение j-й командыConsider the execution of the j-th command

0 перехода к гч-му линейному участку программы (фиг.З). При по влении адреса кода операции перехода (КОПц.) на шину 25 на первом выходе дешифратора 16 по вл етс  сигнал О, кото5 рый поступает на информационный вход триггера 11. Если при считывании K0nnj сбой не был зафиксирован,то вы рабатываетс  сигнал записи в регистре 5 и регистре 23 с выхода элемента0 transition to the hc-th linear section of the program (fig.Z). When the address of the code of the transition operation (COPC) appears on bus 25, the first output of the decoder 16 receives the signal O, which is fed to the information input of the trigger 11. If the reading of K0nnj failed to be fixed, a write signal is generated in the register 5 and register 23 from the output element

0 И-НЕ 14, который поступает одновременно на вход второго формировател  21 импульсов,вырабатывающий по фронту входного сигнала импульс 1. По фронту импульса с выхода формировател  21 импульсов в нулевое состо ние устанавливаетс  триг-1 гер 11, соответствующее уровню сигнала на его информационном входе. С пр мого выхода триггера 11 на второй0 AND-NOT 14, which simultaneously arrives at the input of the second pulse generator 21 pulses, generating pulse 1 on the front of the input signal. Trig-1 pulse 11 is set to the zero state at the front of the pulse from the pulse generator output 21, corresponding to the signal level at its information input . From the direct output of trigger 11 to the second

0 вход элемента ИЛИ-НЕ 9 поступает сиг-4 нал О. После ввода в процессор кон- тренируемой ЭВМ КОПП/ в регистре 5 хранитс  КС., в регистре 23 - адрес КОП nj. После выполнени  j-й команды0 the input of the element OR NOT 9 enters the signal O. After entering the processor of the computer being checked into the processor / in register 5 is stored by the COP., In register 23 is the address of the CPC nj. After executing the jth command

5 перехода процессора ЭВМ передает по шине 24 адрес начала m-го линейного участка (адрес КОП) в случае, если не произошел сбой при выполнении j-й команды перехода. При по влении5, the processor transition of the computer transmits on the bus 24 the address of the beginning of the m-th linear section (the CPC address) in case there was no failure during the execution of the j-th transition command. When appearing

0 адреса КОП на шине 25 на втором0 KOP addresses on bus 25 on the second

выходе дешифратора 16 по вл етс  сигнал О, который поступает на первый вход элемента ИЛИ-НЕ 9, на выходе которого по вл етс  сигнал 1, постуе пающий через элемент ИЛИ-НЕ 8 на нулевой вход регистра 5, и обнул ет его. Если при исполнении j-й команды перехода произошел сбой, в результате которого процессор контролируе-The output of the decoder 16 is the signal O, which is fed to the first input of the element OR-NOT 9, the output of which is signal 1, which is fed through the element OR-NOT 8 to the zero input of register 5, and zeroes it. If the execution of the j-th transition command failed, as a result of which the processor controls

мой ЭВМ выйдет не на начало линейного участка, то регистр 5 не обнулит- с  и при вводе п процессор информации из  чейки блока 1 по адресу,передаваемому по шине 24 в этот момент будет зафиксирован сбой.My computer will not go to the beginning of the linear section, then register 5 will not reset, and when I enter the information processor from the cell of block 1 at the address transmitted via bus 24 at this point, a failure will be detected.

При вводе в процессор ЭВМ КОП,т в случае, если сбо  при выполнении j-й команды перехода не произошло, осуществл етс  сравнение в схеме 4When a CPU is entered into the computer processor, if the system fails to execute the jth transition command, a comparison is made in scheme 4

сравнени  КОПти выхода сумматора гистра 5) и т.д.compare the output rate of the hister accumulator 5), etc.

КСМ 0 + КОПтс 3 (0 - с выхода ре- , как в рассмотренном случае при отсутствии сбоев в аи- регистра 23, з котором находитс  КОП4 .КСМ 0 + КОПтс 3 (0 - from the output of re-, as in the considered case, in the absence of failures in the ai-register 23, which contains KOP4.

паратуре контролируемой ЭВМ. С по влением сигнала начала команды сигнал с выхода элемента ИЛИ-НЕ 7 через элемент ИЛИ- Г 12 в единичное состо ние устанавливает триггер 11„computer controlled device. With the appearance of the command start signal, the signal from the output of the OR-NOT 7 element through the OR-G 12 element sets the trigger 11 "to one state

Допустим, что в аппаратуре контролируемой ЭВМ при исполнении i-й команды произошел сбой, который привел к искажению вычислительного про- |цесса, в результате чего процессор ЭВМ вместо  чейки блока 1, содержащей КОИ fa , обратилс  к  чейке, сс- держащей, например, КОП. После по- | влени  на гоине 24 KOIIg (фиг.4) на выходе сумматора 3 по вл етс  КСП КС j + КОЛ п, а из блока 2 считываетс  по выставленному на шине 25 адресу - КСр. На выходе схемы 4 сравнени  при несовпадении информации на ее входах по вл етс  сигнал 1 и по фронту сигнала с выхода элемента ИЛИ-ИЕ 7 в единичное состо ние устанавливаетс  триггер 6, с пр мого выхода которого по линии 26 в процессор контролируемой ЭВМ поступает сигнал прерывани , вызывающий прерывание рабочей программы ЭВМ. Одновременно сигнал О с инверсного выхода триггера Ь поступает- на вто- , рой вход элемента И-НЕ 14 и запрещает прохождение через него сигнала 1 с выхода элемента 13 задержки,тем самым преп тству  формированию сигнала записи регистра 5 и регистра 23. Сигнал прерывани  уровн  1 также поступает на первый вход элемента ИЛИ-НЕ 7, преп тству  прохождению через него сигналов с линии 27 и начала команды с линии 28.Suppose that in the equipment of a controlled computer, when executing the i-th command, a failure occurred, which led to a distortion of the computational process, as a result of which the computer processor, instead of block 1, containing KOI fa, turned to a cell containing, for example, KOP After- | Occurrences on goin 24 KOIIg (Fig. 4) at the output of the adder 3 appear KSP KS j + COL n, and from block 2 it is read to the address set on bus 25 - KSr. At the output of the comparison circuit 4, if the information at its inputs mismatches, signal 1 appears and a trigger 6 is set on the front of the signal from the output of the element OR-IE 7, from the direct output of which via line 26 to the processor of the controlled computer , causing the interruption of the working program of the computer. At the same time, the signal O from the inverted output of the trigger L is fed to the second, swarm input element AND 14 and prohibits the passage through it of the signal 1 from the output of the delay element 13, thereby preventing the formation of the recording signal of the register 5 and the register 23. The level interruption signal 1 is also fed to the first input of the element OR-NOT 7, preventing the passage of signals from line 27 and the beginning of a command from line 28 through it.

Дл  организации прерывани  в контролируемой ЭВМ процессор загружает в стек сначала содержимое счетчика команд процессора, затем слово состо  .ш  процессора ЭВМ. В счетчик ко20In order to organize an interrupt in a controlled computer, the processor loads onto the stack first the contents of the processor command counter, then the word "computer processor." In the counter ko20

2525

30thirty

3535

4040

4545

5050

5555

После по влени  этого адреса на шине 25 (фиг.5) он распознаетс  дешифратором 18, на выходе которого по вл етс  сигнал О, поступающий на первый вход элемента ИЛИ 22. При по влении сигнала ВВОД на линии 27, который поступает на второй вход элемента ИЛИ 22, на его выходе по вл етс  О - сигнал считывани  из регистра 23.After the appearance of this address on bus 25 (FIG. 5), it is recognized by decoder 18, at the output of which an O signal appears, arriving at the first input of the element OR 22. When an ENTER signal appears on line 27, which arrives at the second input of the element OR 22, the O signal appears at its output - a read signal from register 23.

При по влении на шине 25 адреса команды выхода из прерывани  (КОП8пр) на третьем выходе дешифратора 16 по вл етс  сигнал О, который поступает на первый вход элемента ИЛИ-НЕ 19. Сигнал начала команды линии 28 поступает на второй вход элемента ИЛИ-НЕ 19. По фронту сигнала с выхода элемента ИЛИ-НЕ 19 в единичное состо ние устанавливаетс  триггер 15, так как на его информационный вход поступает сигнал прерывани  уровн  1. На инверсном выходе триггера 15 в этот момент по вл етс  сигнал О, который поступает на блокировочный вход сумматора 3. В этом случае блокируетс  второй информационный вход сумматора Зи на его информационный выход передаетс  информаци  с первого информационного входа сумматора 3, т.е. информаци  из регистра 5.When the address of the interrupt-exit command (KOP8pr) appears on the bus 25, the third output of the decoder 16 causes an O signal to arrive at the first input of the OR-NOT element 19. The command start signal of the line 28 goes to the second input of the OR-19 element On the front of the signal from the output of the element OR NOT 19, the trigger 15 is set to one, since the level 1 interrupt signal arrives at its information input. At the inverse output of the trigger 15 at this moment the signal O appears, which is fed to the blocking input adder 3. In this case the second information input of the adder Z is blocked; its information output is transmitted from the first information input of the adder 3, i.e. register information 5.

По фронту сигнала с выхода элемента ИЛИ-НЕ 19 первый формирователь 20 импульсов вырабатывает сигнал 1, который через элемент ИЛИ-НЕ 10 обнул ет триггер 6 (сигнал прерывани  снимаетс ). Процессор ЭВМ вы- ходчт из прерывани  и управление происходит по адресу КОП,1, т.е. повторно выполн етс  i-  команда, во врем  исполнени  которой произошел сбой. , При по влении на шине 24 КОП J на выходе сумматора 3 остаетс  КС,1, так как сумматор 3 блокирован по второмуOn the front of the signal from the output of the OR-NOT 19 element, the first pulse shaper 20 generates a signal 1, which triggers the trigger 6 (the interrupt signal is removed) through the element OR-NOT 10. The computer processor is output from the interrupt and control occurs at the CPC address, 1, i.e. re-executes the i-command, during the execution of which the failure occurred. When the KOP J bus appears on the 24th bus, the output of the adder 3 remains the COP, 1, since the adder 3 is blocked by the second

манд после этого загружаетс  адрес начапа программы обработки прерывани , котора  состоит из команды пересылки КОП из регистра 23 в стек на место содержимого счетчика команд и команды выхода из прерывани :the mand then loads the address of the start of the interrupt processing program, which consists of the command to send the CPC from register 23 to the stack to the place of the contents of the command counter and the command to exit from the interrupt:

MOV RG, +2(SP) RTI (RG - адрес регистра 23).MOV RG, +2 (SP) RTI (RG - register address 23).

Дл  того, чтобы извлечь содержимое регистра 23, процессор ЭВМ по шине 24 программно передает адресIn order to extract the contents of register 23, the computer processor over the bus 24 programmatically transmits the address

00

5five

00

5five

00

5five

00

5five

После по влени  этого адреса на шине 25 (фиг.5) он распознаетс  дешифратором 18, на выходе которого по вл етс  сигнал О, поступающий на первый вход элемента ИЛИ 22. При по влении сигнала ВВОД на линии 27, который поступает на второй вход элемента ИЛИ 22, на его выходе по вл етс  О - сигнал считывани  из регистра 23.After the appearance of this address on bus 25 (FIG. 5), it is recognized by decoder 18, at the output of which an O signal appears, arriving at the first input of the element OR 22. When an ENTER signal appears on line 27, which arrives at the second input of the element OR 22, the O signal appears at its output - a read signal from register 23.

При по влении на шине 25 адреса команды выхода из прерывани  (КОП8пр) на третьем выходе дешифратора 16 по вл етс  сигнал О, который поступает на первый вход элемента ИЛИ-НЕ 19. Сигнал начала команды линии 28 поступает на второй вход элемента ИЛИ-НЕ 19. По фронту сигнала с выхода элемента ИЛИ-НЕ 19 в единичное состо ние устанавливаетс  триггер 15, так как на его информационный вход поступает сигнал прерывани  уровн  1. На инверсном выходе триггера 15 в этот момент по вл етс  сигнал О, который поступает на блокировочный вход сумматора 3. В этом случае блокируетс  второй информационный вход сумматора Зи на его информационный выход передаетс  информаци  с первого информационного входа сумматора 3, т.е. информаци  из регистра 5.When the address of the interrupt-exit command (KOP8pr) appears on the bus 25, the third output of the decoder 16 causes an O signal to arrive at the first input of the OR-NOT element 19. The command start signal of the line 28 goes to the second input of the OR-19 element On the front of the signal from the output of the element OR NOT 19, the trigger 15 is set to one, since the level 1 interrupt signal arrives at its information input. At the inverse output of the trigger 15 at this moment the signal O appears, which is fed to the blocking input adder 3. In this case the second information input of the adder Z is blocked; its information output is transmitted from the first information input of the adder 3, i.e. register information 5.

По фронту сигнала с выхода элемента ИЛИ-НЕ 19 первый формирователь 20 импульсов вырабатывает сигнал 1, который через элемент ИЛИ-НЕ 10 обнул ет триггер 6 (сигнал прерывани  снимаетс ). Процессор ЭВМ вы- ходчт из прерывани  и управление происходит по адресу КОП,1, т.е. повторно выполн етс  i-  команда, во врем  исполнени  которой произошел сбой. , При по влении на шине 24 КОП J на выходе сумматора 3 остаетс  КС,1, так как сумматор 3 блокирован по второмуOn the front of the signal from the output of the OR-NOT 19 element, the first pulse shaper 20 generates a signal 1, which triggers the trigger 6 (the interrupt signal is removed) through the element OR-NOT 10. The computer processor is output from the interrupt and control occurs at the CPC address, 1, i.e. re-executes the i-command, during the execution of which the failure occurred. When the KOP J bus appears on the 24th bus, the output of the adder 3 remains the COP, 1, since the adder 3 is blocked by the second

916916

информационному входу, из блока 2 считываетс  по выставленному на шине 25 адресу - КС. В этом случае на выходе схемы 4 сравнени  сигнал О и триггер 6 в единичное состо ние не устанавливаетс , затем формируетс  сигнал записи в регистре 5 (заноситс  KCj с выхода сумматора 3) и в регистре 23 (заноситс  адрес КОП|). По фронту сигнала записи регистров 5 и 23 второй формирователь 21 импульсов вырабатывает импульс уровн  1, который через элемент ШШ-НЕ 17 обнул ет триггер 15, сигнал блокировки сумматора 3 снимаетс .the information input from block 2 is read by the address given on bus 25 - KS. In this case, at the output of the comparison circuit 4, the signal O and the trigger 6 are not set to one, then a write signal is generated in the register 5 (entered by KCj from the output of the adder 3) and in register 23 (the CPC address | is entered). On the front of the write signal of registers 5 and 23, the second pulse shaper 21 generates a level 1 pulse, which triggers trigger 15 through the W-NOT-17 element, and the blocking signal of the adder 3 is picked up.

Если в результате сбо  на шине 24 по вл етс  адрес не очередного КОП, а адрес каких-либо данных, то в этом случае из блока 2 будет считан нулевой код и при сравнении этого нулевого кода с информацией с выхода сумматора 3 будет также зафиксирован сбой.If the address on the bus 24 does not result in the address of the next CPC and the address of any data, then in this case a zero code will be read from block 2 and comparing this zero code with the information from the output of the adder 3 will also be recorded a failure.

Таким образом, предлагаемое устройство позвол ет распознать сбой в аппаратуре контролируемой ЭВМ и восстановить вычислительный процесс путем фиксации факта сбо  и повторного выполнени  команды, при исполнении которой произошел сбой.Thus, the proposed device makes it possible to recognize the failure in the equipment of the controlled computer and to restore the computational process by fixing the fact of failure and re-executing the command, during the execution of which the failure occurred.

Claims (1)

Формула изобретени Invention Formula Устройство дл  контрол  управл ющей ЭВМ, содержащее два блока посто нной пам ти, сумматор, схему сравнени , два регистра, три триггера , элемент задержки, дешифратор команд перехода, дешифратор адреса, два формировател  импульсов, элемент ИЛИ, причем информационные входы дешифратора команд перехода, дешифратора адреса и первого регистра, адресные входы первого и второго блоков посто нной пам ти подключены к адресному входу устройства дл  подключени  к тине адреса контролируемой ЭВМ, выходы первого блока посто нной пам ти и первого регистра, первый информационный вход сумматора подключены к информационному входу- выходу устройства дл  подклюени  к шине данных контролируемой ЭВМ, информационный выход сумматора подключен к информационному входу второго регистра, выход которого соединен с вторым информационным входом сумматора ,пр мой выход первого триггераA device for controlling a control computer that contains two blocks of permanent memory, an adder, a comparison circuit, two registers, three triggers, a delay element, a decoder for the transition commands, an address decoder, two pulse drivers, an OR element, and the information inputs for the transition command decoder, the address decoder and the first register, the address inputs of the first and second blocks of permanent memory are connected to the address input of the device for connecting to the address of the controlled computer, the outputs of the first block of permanent memory and the first Registers, first information input of the adder are connected to the information output apparatus vhodu- podklyueni computer controlled to the data bus, the information output of the adder is connected to the data input of the second register, whose output is connected to second data input of an adder, a direct output of the first flip-flop 10ten Q280Q280  вл етс  выходом прерывани  дл  подключени  к шине управлени  контролируемой ЭВМ, вход ввода устройства дл  подключени  к шине управлени  контролируемой ЭВМ соединен с первым входом элемента ИЛИ, второй вход которого соединен с выходом дешифратора адреса, выход элемента ИЛИ подjQ ключей к входу считывани  первого регистра ,первый выход дешифратора команд перехода соединен с информационным входом второго триггера, выход схемы сравнени  соединен с информациJ5 онным входом первого триггера, отличающеес  тем, что, с целью уменьшени  времени фиксации сбо , в него дополнительно введены семь элементов ИЛИ-НЕ, элемент И-НЕ,is the interrupt output for connecting to the control bus of the monitored computer, the input of the device for connecting to the control bus of the monitored computer is connected to the first input of the OR element, the second input of which is connected to the output of the address decoder, the output of the OR sub jQ key to the read input of the first register, the first the output of the transition instruction decoder is connected to the information input of the second trigger; the output of the comparison circuit is connected to the information input of the first trigger, characterized in that, in order to reduce the time tim fixing SRB, it is further introduced seven elements NOR, NAND, 20 причем первый информационный вход схемы сравнени  соединен с выходом второго блока посто нной пам ти, а второй информационный вход схемы сравнени  - с выходами сумматора, уп5 равн ющие входы первого и второго20 wherein the first information input of the comparison circuit is connected to the output of the second block of the permanent memory, and the second information input of the comparison circuit is connected to the outputs of the adder, the pack5 equaling the inputs of the first and second блоков посто нной пам ти, первый вход первого элемента ИЛИ-НЕ подключен к входу ввода устройства дл  подключени  к шине управлени  контролируемойblocks of permanent memory, the first input of the first element OR is NOT connected to the input of the input of the device for connection to the control bus controlled 30 ЭВМ, к входу начальной команды устройства дл  подключени  к шине управлени  контролируемой ЭВМ подключены второй вход первого элемента ИЛИ-НЕ и первый вход второго элемента ИЛИ-НЕ, выход которого соединен с синхровхо- дом третьего триггера и входом первого формировател  импульсов, выход которого соединен с первым входом третьего элемента ИЛИ-НЕ, второй вход30 computer, to the input of the initial command of the device for connecting to the control bus of the controlled computer are connected the second input of the first element OR NOT and the first input of the second element OR NOT, the output of which is connected to the synchronization of the third trigger and the input of the first pulse shaper, the output of which is connected with the first input of the third element OR NOT, the second input 4« третьего элемента ИЛИ-НЕ и первые входы четвертого, п того и шестого элементов ИЛИ-НЕ подключены к входу начальной установки устройства, пр мой выход первого триггера соединен4 "of the third element OR NOT and the first inputs of the fourth, fifth and sixth elements OR are NOT connected to the input of the initial installation of the device, the direct output of the first trigger is connected 5 информационным входом третьего5 informational inputs of the third триггера и третьим входом первого элемента ИЛИ-НЕ, инверсный выход первого триггера соединен с первым входом элемента И-НЕ, выход первого элемен0 та ИЛИ-НЕ подключен к входу элемента задержки, второму входу п того эле- . мента ИЛИ-НЕ, к синхровходу первого триггера, нулевой вход которого соединен с выходом третьего элемента g ИЛИ-НЕ, выход п того элемента ИЛИ-НЕ соединен с единичным входом второго триггера, пр мой выход которого подключен к первому входу седьмого элемента ИЛИ-НЕ, выход которого соеди5the trigger and the third input of the first element OR NOT, the inverse output of the first trigger is connected to the first input of the NAND element, the output of the first element OR NOT is connected to the input of the delay element, the second input of the fifth element. ment OR NOT, to the sync input of the first trigger, the zero input of which is connected to the output of the third element g OR NOT, the output of the first element OR NOT is connected to the single input of the second trigger, the direct output of which is connected to the first input of the seventh element OR NOT whose output connect5 ШИ С ША15SHI S SHA15 прЕргеprerge вш lush ПК18PK18 Фиг. 2FIG. 2 Фиг4Fig4 J ICMJ ICM «о ь"Oh CvSCvs «5"five Фиг.66
SU884440419A 1988-06-13 1988-06-13 Device for monitoring master computer SU1619280A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU884440419A SU1619280A1 (en) 1988-06-13 1988-06-13 Device for monitoring master computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU884440419A SU1619280A1 (en) 1988-06-13 1988-06-13 Device for monitoring master computer

Publications (1)

Publication Number Publication Date
SU1619280A1 true SU1619280A1 (en) 1991-01-07

Family

ID=21381253

Family Applications (1)

Application Number Title Priority Date Filing Date
SU884440419A SU1619280A1 (en) 1988-06-13 1988-06-13 Device for monitoring master computer

Country Status (1)

Country Link
SU (1) SU1619280A1 (en)

Similar Documents

Publication Publication Date Title
US4172282A (en) Processor controlled memory refresh
US5021950A (en) Multiprocessor system with standby function
US4905196A (en) Method and storage device for saving the computer status during interrupt
EP0116344B1 (en) Power backed-up dual memory system
SU1619280A1 (en) Device for monitoring master computer
JPH0320776B2 (en)
US4488223A (en) Control apparatus for a plurality of memory units
WO1988002514A1 (en) Method and device to execute two instruction sequences in an order determined in advance
SU1564628A1 (en) Device for simulation of computer failures and malfunctions
RU1820391C (en) Multiprocessor computing system
SU1501066A2 (en) Device for program run monitoring and computer restarting
JPH064301A (en) Time division interruption control system
SU1383371A1 (en) Device for checking computer program execution
SU1456996A1 (en) Device for monitoring memory units
SU1191912A1 (en) Device for checking program run
SU1310835A1 (en) Computer-computer interface
SU1140124A1 (en) Device for checking program execution time
SU1575182A1 (en) Device for distribution of problems to processors
SU1709320A1 (en) Device for debugging programs
RU1817096C (en) Device for controlling microprocessor
SU1476434A1 (en) Program control device for process equipment
SU1488745A1 (en) Orthogonal program unit
SU1649539A1 (en) Device of microprogramm control
RU1805497C (en) Multichannel memory device
SU1410048A1 (en) Computing system interface