SU1205148A1 - Device for failure-resistance checking of programs - Google Patents
Device for failure-resistance checking of programs Download PDFInfo
- Publication number
- SU1205148A1 SU1205148A1 SU843782170A SU3782170A SU1205148A1 SU 1205148 A1 SU1205148 A1 SU 1205148A1 SU 843782170 A SU843782170 A SU 843782170A SU 3782170 A SU3782170 A SU 3782170A SU 1205148 A1 SU1205148 A1 SU 1205148A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- group
- inputs
- input
- output
- address
- Prior art date
Links
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
Изобретение относитс к цифровой вычислительной технике и может быть использовано дл проверки устойчивости к сбо м программы ЦВМ, имеющих средства аппратурного конт- рол и программную защиту от сбоев, организованную путем разбиени программ на контролируемые участки, допускающие повторное исполнение после сбо . Устройство имитирует сигнал сбо при совпадении содержимого регистра адреса команд ЦВМ с адресом меченой команды. Период имитации сигнала сбо задаетс таймером . Изменение адреса меченой команды осуществл етс автоматически с наперед задаваемым щагом имитации в каждом периоде имитации сбо . Устройство содержит регистр, схемы сравнени , таймер, элементы И, ИЛИ, триггеры, блок модификации адреса. g . WThe invention relates to digital computing and can be used to test the resiliency of a digital computer program having hardware tools and software protection against failures, organized by dividing programs into controlled areas, allowing re-execution after a failure. The device simulates a signal failure when the contents of the address register of the command of the digital computer coincide with the address of the labeled command. The signal simulation period is set by the timer. The change of the address of the labeled command is carried out automatically with a pre-set simulation step in each simulation period. The device contains a register, comparison schemes, a timer, AND, OR, triggers, an address modification block. g. W
Description
Изобретение относитс к цифровой вычислительной технике и может быть использовано дл проверки устойчивости к сбо м программ ЦВМ, имеющим средства аппаратурного конт рол и программную защиту от сбоев, организованную путем разбиени про грамм на контролируемые участки , допускающие повторное исполнение после сбо .The invention relates to digital computing and can be used to test the resiliency of digital computer programs, having hardware control tools and software protection against failures, organized by dividing the programs into controlled areas, allowing re-execution after a failure.
Цель изобретени - расширение области применени устройства путем обеспечени возможности проверки циклических программ.The purpose of the invention is to expand the field of application of the device by making it possible to check cyclic programs.
На фиг. 1 изображена структур- на схема устройства дл проверки программ на сбоеустойчивость; на фиг. -2 - то же, блока модификации адреса; на-фиг. 3 - таймер.FIG. 1 shows a block diagram of a device for testing programs for failure resistance; in fig. -2 - the same block address modification; in FIG. 3 - timer.
Устройство содержит группу эле- ментов И 1, элемент И 2, схему 3 сравнени , блок 4 модификации адреса , элемент ИЛИ 5, триггеры 6 и 7, таймер 8, схему 9 сравнени , регистр 10, адресные входы П, - „, где. И - разр дность адреса ЦВМ, первую группу входов 12( - 12ц зане сени , вторую группу входов 13, - 1 З занесени , вход 1А запуска и выход 1 устройства. Дополнительно изображе- ны ЦВМ 16 с регистром 17 адреса команд и имитатор 18 входной информации .The device contains a group of elements AND 1, element AND 2, comparison circuit 3, block 4 address modifications, element OR 5, triggers 6 and 7, timer 8, comparison circuit 9, register 10, address inputs P, -, where. And - the width of the address of the digital computer, the first group of inputs 12 (- 12 c of the input, the second group of inputs 13, - 1 of the 3 entrances, input 1A of the start and the output 1 of the device. Additionally, the digital computer 16 with the register 17 of the command address and the input 18 information.
Блок 4 модификации адреса (фиг. содержит регистр 19, группу элементов И 20, группу элементов ИЛИ 21, сумматор 22, элемент 23 задержки с отводами, входы 24 ( - 24f, занесени , вход 25 запуска, разр дные вы- ходы 26 , - 26п, выход 27 окончани работы.The address modification block 4 (Fig. Contains a register 19, a group of elements AND 20, a group of elements OR 21, an adder 22, a delay element 23 with taps, inputs 24 (- 24f, entries, start input 25, discharge outputs 26, - 26p, exit 27 end of work.
Таймер (фиг. 3)содержит регистр 28 с триггерами 29, местным обнул ющим входом 30 и местными входами 31 - 31, занесени , схему 32 сравнени , состо -- щуюиз элемента ИЛИ 33, группы элементов И 34, группы элементов ИЛИ 35, группы элементов И 36, элемента И 37, схемы 38 дифференцировани , потенциального выхода 39 равнозначности, импульсного выхода 40 равнозначности, счетчика 41 времени, содержащий генератор 42 импульсов и счетчик 43, при ,. этом генератор 42 импульсов содержит элемент И 44, элемент НЕ 45, элемент 46 задержки, вход 47 запуска, счетчик 43 времени содержит группуThe timer (Fig. 3) contains a register 28 with triggers 29, local zero input 30 and local inputs 31 - 31, entries, comparison circuit 32, consisting of element OR 33, groups of elements AND 34, groups of elements OR 35, groups elements 36 and element 37, differentiation circuits 38, potential equivalence output 39, equivalence pulse output 40, a time counter 41 containing a pulse generator 42 and a counter 43, as,. This generator 42 of the pulses contains the element And 44, the element NOT 45, the element 46 delay, start input 47, the counter 43 of the time contains a group
0 0
Q Q
5five
00
5five
48 48
триггеров 48, группу элементов И 49, кроме зтого, таймер содержит элемент ИЛИ 50 и обнул ющий вход 51.flip-flops 48, the group of elements AND 49, except for this, the timer contains the element OR 50 and a zero input 51.
Устройство дл проверки программ на сбоеустойчивость (фиг. l) работает следующим образом.A device for testing fault tolerance programs (FIG. L) operates as follows.
В исходном состо нии триггеры 6 и 7 обнулены. Нулевой уровень с пр мого вькода триггера 7 закрывает элементы И 1 и элемент И 2, а также блокирует работу таймера 8. Начальный адрес А нац. программы, провер емой на сбоеустойчивость, заноситс по входам 12 , - 12 в блок вычислени адреса, а конечный, в качестве которого выбираетс адрес первой команды, выход щей за пределы программы Ацд , -по входам в регистр 10. С инверсного выхода триггер 6. единичный уровень присутствует на втором входе элемента И 2 . Настройка таймера 8 осуществл етс в зависимости от соотношени периода запуска программы или периода запуска имитатора входной информации Т и интервала времени между двум сбо ми на одном и том же контролируемом участке Т, при котором программна защита от сбоев не классифицирует их как отказ . В случае, если , таймер настраиваетс на выдачу сигналов через Т Tj, после его запуска, если же , то таймер настраиваетс на вьщачу сигналов через Т Т после его запуска. Вход занесени соответствующего кода константы в таймер 8 на фиг. 1 не показан. Код начальнбго адреса с разр дных выходов блока 4 подаетс на вторые входы схем 3 и 9 сравнени . In the initial state, the triggers 6 and 7 are reset. The zero level from the direct trigger code 7 closes the elements AND 1 and the element AND 2, and also blocks the operation of the timer 8. The initial address is And nat. the program being tested for fault tolerance is entered by inputs 12, 12 into the address calculation block, and the final one, which is selected as the address of the first command beyond the limits of the Atsd program, at the inputs of register 10. With the inverse output, trigger 6. a single level is present at the second input of the element And 2. The adjustment of timer 8 is performed depending on the ratio of the start-up period of the program or the start-up period of the input information simulator T and the time interval between two failures on the same controlled section T at which the software fail protection does not classify them as a failure. If the timer is set to issue signals through T Tj, after it starts, if it is, then the timer is set to receive signals through T T after it starts. The input of the entry of the corresponding constant code into the timer 8 in FIG. 1 not shown. The code of the initial address from the bit outputs of block 4 is fed to the second inputs of circuits 3 and 9 of the comparison.
Запуск устройства осуществл етс подачей сигнала на вход 14 запуска устройства. Этот сигнал переводит триггер 7 в единичное состо ние. Единичный уровень с пр мого выхода триггера 7 залускаетгтаймер 8, поступает на третий вход элемента И 2 и на вторые входы элементов И 1, разреша прохождение потенциального кода адреса команды с разр дных выхо- дов регистра 17 адреса команды ЦВМ 16 на первые входы схемы сравнени 3. В случае совпадени кодов на первых и вторых входах схемы 3 сравнени , последн выдает сигнал, который проходит через элемент И 2 на выход 15The launch of the device is accomplished by applying a signal to the launch input 14 of the device. This signal translates trigger 7 into one state. The unit level from the direct output of trigger 7 of the terminal triggers a timer 8, enters the third input of the AND 2 element and the second inputs of the AND 1 elements, permitting the passage of the potential command address code from the bit outputs of the register 17 of the command address of the DVR 16 to the first inputs of the comparison circuit 3 In the case of coincidence of the codes on the first and second inputs of the comparison circuit 3, the latter outputs a signal that passes through the element 2 to the output 15
33
устройства, объедин ющийс с выходом схем аппаратурного контрол ЦВМ 6 на фиг. 1 не. показан). Этот же сигнал через элемент ИЛИ 5 переводит триггер 6 в единичное состо ние, при этом нулевой уровень с инверсного выхода триггера 6 закрывает элемент И 2. Сигнал с выхода элемента И 2 обнул ет счетчик таймера 8, синхронизиру его работу с реаль- ным периодом запуска программ.devices, combined with the output of the control circuit of the digital computer 6 in FIG. 1 is not. shown). The same signal through the element OR 5 transfers the trigger 6 to the single state, while the zero level from the inverse output of the trigger 6 closes the AND 2 element. The signal from the output of the AND 2 element nulls the counter of timer 8, synchronizing its operation with the real trigger period programs.
В случае, если за врем Т- , на которое настроен таймер 8, совпадение кодов на входах схемы 3 сравнени не произошло, на выходе тайме- ра 8 по вл етс сигнал, который переводит триггер 6 в единичное состо ние , при этом нулевой уровень с инверсного выхода последнего закрывает элемент И 2, сигнал с выхо- да тайме-ра 8 вл етс сигналом пуска дл блока 4, который в каждом периоде запуска увеличивает значение адреса имитации сбо на шаг сбо (первоначальное значение адреса сбо равн етс ). В ; частном случае шаг сбо может равн тьс длине команды.If during the time T-, to which timer 8 is set, the codes did not coincide at the inputs of the comparison circuit 3, a signal appears at the output of timer 8, which translates trigger 6 into one state, while the zero level with the inverse output of the latter closes the element AND 2, the signal from the output of timer 8 is the start signal for block 4, which in each start period increases the value of the imitation address by step to the step (the initial value of the address is equal to). AT ; In a particular case, the step step may be equal to the length of the command.
По завершении вычислени адреса имитации сбо на выходе окон- чани работы блока 4 по вл етс сигнал, который переводит триггер 6 в нулевое состо ние, при этом единичный уровень с его инверсного выхода поступает на второй вход элемента И 2.Upon the completion of the calculation of the imitation failure address at the output of the operation of block 4, a signal appears that puts the trigger 6 into the zero state, and the unit level from its inverse output goes to the second input of the AND 2 element.
При совпадении кодов на входах схемы 9 сравнени последн вьздает сигнал, который переводит триггер 7 в нулевое состо ние, при этом нулевой уровень с его пр мого выхода закрывает элементы И 1 и элемент И-2 и устройство завершает проверку прорамм на сбоеустойчивость.When the codes on the inputs of the comparison circuit 9 coincide, the signal that transfers the trigger 7 to the zero state, the zero level from its direct output closes the AND elements 1 and the I-2 element and the device completes the software resistance check.
Дл проведени проверки программ. на сбоеустойчивость на одной. ЦВМ с использованием предлагаемого устройства необходим имитатор 18 входной информации (заметим, что его запуск достаточно просто сделать пе- риодическим). Применение имитатора позволит сравнить полученные результаты работы программы без подключенного устройства и с подключенным устройством проверки программ на сбоеустойчивость.To conduct a program check. on failure resistance on one. A digital computer using the proposed device requires an input information simulator 18 (note that its launch is quite simple to make periodic). The use of a simulator will allow you to compare the results of the program without a connected device and with the connected device checking the programs for failure resistance.
Проверка программ на сбоеустойчивость по реальной входной информации возможна при наличии двух ЦВМ ведущих параллельную обработку поступающей информации, при.этом к одной из них подключено предлагаемое устройство.Checking the programs for failure resistance with real input information is possible if there are two digital computers leading parallel processing of the incoming information, with the proposed device connected to one of them.
Кроме проведени покомандной проверки программ на сбоеустойчивость устройство позвол ет проверит программы имитацией: однократного сбо во врем выполнени меченой команды, что может быть обеспечено как соответствующим заданием А и при шаге сбо , равном длине команды , и настройке таймера 8 на врем выполнени провердемой программы так и заданием только А цоц при шаге сбо , равном нулю, и настройке таймера 8 на максимально возможное врем ; периодического сбо во врем выполнени меченой команды, при этом период задаетс в таймере 8, а шаг сбо равен нулю;In addition to conducting a command check of the programs for failure-proofness, the device allows checking the programs by imitation: one-time failure during the execution of a labeled command, which can be provided both by the corresponding task A and at a step step equal to the length of the command and setting the timer 8 for the time of the program being checked as well setting only A tsots with a step of zero equal to zero, and setting timer 8 for the maximum possible time; periodic failure during the execution of the labeled command, while the period is set in timer 8, and the error step is zero;
систематического сбо во врем выполнени меченой команды, при этом таймер 8 настроен на Т.- О, и шаг сбо также равен нулю.systematic failure during the execution of the labeled command, while timer 8 is set to T.O, and the step of failure is also zero.
Рассмотрим работу блока 4 модификации адреса, (фиг. 2).Consider the operation of block 4 address modifications, (Fig. 2).
В исходном состо нии в регистр 1 заноситс шаг сбо входы занесени на фиг. 2 не показаны, на предварительно обнуленньш сумматор 22 заноситс по входам 21 , -24 код А .In the initial state, the step 1 of the entry inputs is entered into register 1 in FIG. 2 are not shown, the pre-zeroed adder 22 is entered on the inputs 21, -24 code A.
При поступлении сигнала- на вход 2 запуска он задерживаетс на врем , необходимое дл перевода триггера 6 в единичное состо ние, после чего с первого отвода элемента 23 задержки используетс дл чтени шага сбо из регистра 19 и подачи кода шага сбо на счетные входы сумматора 22; Задержанный на врем переходных процессов в сумматоре 22 сигнал с второго отвода элемента 23 задержки используетс дл реализации переносов в сумматоре. Задержанный на врем реализации переносов в сумматоре 22 и на врем срабатывани схе- мы 9 сравнени сигнал по вл етс (на выходе 27 окончани работы.When a signal arrives at start 2, it is delayed by the time required to translate trigger 6 into a single state, after which the delay element 23 is used to read the step from the register 19 and supply the code for the step to the counting inputs of the adder 22; The signal delayed by the transients in the adder 22 from the second tap of the delay element 23 is used to implement the carries in the adder. A signal delayed by the realization time of the transfers in the adder 22 and by the response time of the circuit 9 of the comparison appears (at the output 27 of the end of work.
Использование в предлагаемом устройстве новых элементов и новых св зей выгодно отличает его от прототипа , так как позвол ет расширить функциональные возможности за счет обеспечени возможности проверки на сбоеустойчивость циклических участков программ и обеспечени возможности покомандной проверки программ на сбоеустойчивость в автматическом режиме.The use of new elements and new connections in the proposed device favorably distinguishes it from the prototype, as it allows to expand the functionality by providing the ability to check for failure resistance of cyclical program areas and the possibility of command-by-check programs for failure resistance in the automatic mode.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU843782170A SU1205148A1 (en) | 1984-08-20 | 1984-08-20 | Device for failure-resistance checking of programs |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU843782170A SU1205148A1 (en) | 1984-08-20 | 1984-08-20 | Device for failure-resistance checking of programs |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1205148A1 true SU1205148A1 (en) | 1986-01-15 |
Family
ID=21135303
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU843782170A SU1205148A1 (en) | 1984-08-20 | 1984-08-20 | Device for failure-resistance checking of programs |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1205148A1 (en) |
-
1984
- 1984-08-20 SU SU843782170A patent/SU1205148A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР №879592, кл. Q 06 f П/12, 1980. Авторское свидетельство СССР № 732876, кл. Ci 06 F 11/00, 1978. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS6063644A (en) | Method and apparatus for modeling operation of digital device | |
EP0113393B1 (en) | A self-clocked signature analyser | |
SU1205148A1 (en) | Device for failure-resistance checking of programs | |
SU1282138A1 (en) | Device for testing program for failure resistance | |
SU1488809A1 (en) | Device for simulating failures and digital computer malfunctions | |
SU1157544A1 (en) | Device for functional-parametric checking of logic elements | |
SU1485250A1 (en) | Program check unit | |
SU1203526A1 (en) | Device for checking microprogram control unit | |
SU1529221A1 (en) | Multichannel signature analyzer | |
SU1269130A1 (en) | Calculating device for implementing logic functions | |
SU1522215A2 (en) | Device for checking flufilment of programs | |
SU1265779A1 (en) | Device for simulating faults and failures of digital computer | |
SU1337900A1 (en) | Fault-simulating device | |
SU1298925A2 (en) | Device for simulating failures | |
SU1177816A1 (en) | Device for simulating computer failures | |
SU1247877A1 (en) | Device for debugging microcomputers | |
SU1218386A1 (en) | Device for checking comparison circuits | |
SU1629910A1 (en) | Microprogram control unit | |
RU2047920C1 (en) | Device for programming read-only memory chips | |
SU1524055A1 (en) | Device for checking programs | |
SU1536388A1 (en) | Device for simulation of faults | |
RU1807448C (en) | Program control unit | |
RU1805471C (en) | Device for control of logical units | |
SU1164715A1 (en) | Device for simulating faults | |
SU1698875A1 (en) | The programmer |