<p>Изобретение относится к вычислительной технике и может быть использовано при моделировании систем массового обслуживания с учетом динамики и качества их функционирования.</p>
<p>Цель изобретения - повышение точности моделирования и расширение функциональных возможноЬтей устройства путем воспроизведения режимов обслуживания заявок с контролем его качества, выделения некачественно обслуженных заявок и их дорбслуживания с контролем качества его проведения в системах массового обслуживания.</p>
<p>На чертеже изображена структурная схема устройства моделирования систем массового обслуживания.</p>
<p>Оно содержит формирователь 1 одиночного импульса, первый элемент 2 задержки, генератор 3 заявок, первый элемент ИЛИ 4, первый триггер 5, третий элемент И 6, первую дифференцирующую цепочку 7, генератор 8 случайных интервалов времени подготовки, вторую дифференцирующую цепочку 9, восьмой элемент И 10, первый генератор 11 случайных интервалов времени работы, третью дифференцирующую цепочку 12, девятый элемент И 13, счетчик 14 количества обслуженных заявок, первый 15, второй 16 и третий 17 генераторы случайных последовательностей импульсов, четвертый 18, пятый 19, шестой 20 элементы И,</p>
<p><sup>;</sup>5 третий элемент ИЛИ 21, первый 22, второй 23, третий 24 счетчики количества отказов, счетчик 25 общего количества отказов, генератор 26 случайных интервалов времени вос10 становления, десятый элемент И 27, четвертый элемент ИЛИ 28, счетчик 29 количества срывов обслуживания заявок, седьмой 30, второй 31 элементы И, второй элемент ИЛИ 32,</p>
<p>15 счетчик 33 количества необслуженных заявок, первый элемент И 34, счетчик 35 общего количества заявок, седьмой 36, восьмой 37, девятый 38, десятый 39, одиннадцатый</p>
<p>2о 40, шестой 41, пятый 42 элементы ИЛИ, второй 43, третий 44, четвертый 45, пятый 46 триггеры, первый 47, второй 48 генераторы счетных · импульсов, первый 49, второй 50</p>
<p>25 счетчики импульсов, первый 51, второй 52 дешифраторы, второй 53, третий 54, четвертый 55 элементы задержки, второй генератор 56 случайных интервалов времени рабо30 ты, одиннадцатый 57, двенадцатый</p>
<p>58, тринадцатый 59, четырнадцатый</p>
<p>60, пятнадцатый 61, шестнадцатый</p>
<p>62, семнадцатый 63 элементы И,</p>
<p>3</p>
<p>1180920</p>
<p>4</p>
<p>установочный вход 64 устройства, первый 65, второй 66 ключи, четвертую 67 дифференцирующую цепочку, счетчик 68 дообслуженных заявок, пятый элемент 69 задержки. 5</p>
<p>Устройство моделирует работу СМО, имеющей следующие режимы функционирования: ожидание, подготовка, обслуживание заявок, контроль и качество обслуживания, вы- 10 деление некачественно обслуженных заявок и их дообслуживание с контролем качества его проведения, возникновение отказов в режимах ожидания, подготовки и обслужива- 15 ния и восстановление. В режиме восстановления система может находиться одновременно в режиме ожидания и подготовки в зависимости от того, в каком режиме наступил 20</p>
<p>отказ. При отсутствии отказов в исходном состоянии СМО находится в режиме ожидания, поступившая заявка переводит систему в режим, подготовки. По окончании режима под- 25 готовки система переходит в режим работы (обслуживание «аявок), после его окончания - в режим ожидания. В зависимости от результатов оценки качества обслуживания зая- зо вок система переходит либо в режим</p>
<p>ожидания (качественное обслуживание) , либо в режим дообслуживания (некачественное обслуживание), который продолжается до тех пор, пока не будет обеспечено требуемое качество обслуживания, после чего система переходит в режим ожидания .·</p>
<p>закончены до начала режима работы, в противном случае обслуживание заявки срывается. .</p>
<p>В качестве критерия качественного обслуживания (дообслуживания) заявки выбрано время обслуживания 1<sub>О</sub> )<sup>г</sup>з<sub>0</sub>)> т.е. условия</p>
<p>о;</p>
<p>^ηοι'- сн ^чЭо: <sup>г</sup>Эо;</p>
<p>ко0 чЗ<ц . Эо;</p>
<p><sup>где</sup> Ч’о » ‘Λ ί,3ο»ίκ3ο" минимальные и максимальные значения времени обслуживания (дообслуживания), удовлетворяющие качественному обслужйванию (дообслуживанию) заявок. Другими словами, если время обслу-живания (дообслуживания) заявок попадает в интервал + ήίίΡΐ (1ЛнЗ<sub>о</sub><sup>+</sup>-Р > <sup>то</sup> обслуживание, (дообслуживание) заявок будет проведено качественно (где άί' = ,</p>
<p>НИ λ <sup>0 ко Ηθ</sup></p>
<p><sup>Ь</sup>Ъ<) кЭо “''нЭо'» в противном случае обслуживание (дообслуживание) заявок будет проведено некачественно. Ρς общем случае ¥ ί”’, а также' <sup>С</sup>ίό ’-^иЗо’ ~ Чо *<sup>Ь</sup>X ’ <sup>а в частНОМ </sup>случае возможно их равенство.</p>
<p>Устройство работает следующим образом.</p>
<p>В исходное нулевое состояние триггеры 5, 43 - 46 и счетчики 14, 22, 25, 29, 33, 35, 49 и 50 импульсов устанавливаются импульсом начальной установки, поступающим на вход 64 от блока питания при включении устройства. Генераторы 3, 8, 11, 15, 16, 17, 26, 47, 48 и 56 не запущены.</p>
<p>В каждом из режимов функционирования в системе возможно возникновение отказов, после которых она переходит в режим восстановления работоспособности. Если отказ возник в режиме ожидания, то система не может перейти в режим подготовки, пока не закончится восстановление, при этом заявки, поступившие в систему, теряются. Заявки теряются также и в том случае, если отказ наступил в режиме работы или в режиме подготовки и восстановление не закончилось до начала режима работы, и если система может быть подготовлена к работе, то заявка будет обслужена. Отказы, возникшие. в режиме подготовки не приводят к срыву обслуживания заявки, если восстановление и подготовка</p>
<p>Импульс с выхода формирователя 1 через элемент 2 .задержки запускает генератор 3 заявок, а также через элемент ИЛИ 4 поступает на единичный вход триггера 5. На выходе триггера 5 начинаёт формироваться временной интервал, соответствующий режиму ожидания. Интервал времени ожидания заканчивается с поступлением на нулевой вход триггера 5 импульса от генератора 3 заявок через элемент И 6. Этот момент соответствует поступлению заявки с СМО. По окончании интервала времени ожидания на выходе дифференцирующей цепочки 7 формируется импульс, который запускает генератор 8 случайных интервалов времени подготовки, на выходе которого формируется временной интервал, соот5</p>
<p>1180920</p>
<p>ветствующий режиму подготовки По окончании интервала временй подготовки на выходе дифференцирующей цепочки 9 формируется импульс, который пройдя через элементы И 10,</p>
<p>ИЛИ 42 и И 57, запускает генератор 11 случайных интервалов времени работы. На выходе генератора 11 формируется интервал времени, соответствующий режиму обслуживания заявки (работы). По окончании этого интервала времени на выходе дифференцирующей цепочки 12 формируется импульс, который, пройдя через элементы И 58, ИЛИ 41, И 13 и ИЛИ 4, по ступает на единичный вход триггера 5, после чего система переходит в режим ожидания. Этот же импульс поступает на вход счетчика 14 количества обслуженных заявок. В любом из режимов ожидания, подготовки и работы возможно возникновение отказов. Возникновение отказов соответствует появлению импульсов на выходах генераторов 15-17 случайных последовательностей импульсов соответственно для режимов ожидания, подготовки и работы. Эти импульсы через соответствующие элементы И 1820 поступают на элемент ИЛИ 21, а также на счетчики 22-24 количества отказов в каждом режиме. С выхода элемента ИЛИ 21 импульс поступает на счетчик 25 общего количества отказов, а также запускает генератор 26 случайных интервалов времени восстановления. На выходе генератора 26 формируется интервал времени, соответствующий режиму восстановления. Система функционирует таким образом, что отказы, возникшие в режимах ожидания.и подготовки, не приводят к срыву обслуживания заявки, если восстановление и подготовка могут быть закончены до начала интервала времени работы (обслуживания) . При этом восстановление идет параллельно с ожиданием или подготовкой, причем подготовка не начинается, пока не закончится восстановление отказа, возникшего в режиме ожидания.</p>
<p>Если восстановление не закончилось к моменту начала режима работы, то импульс с выхода дифференцирующей цепочки 9 проходит на генератор 11, так как элемент И 10</p>
<p>6</p>
<p>блокирован напряжением с выхода генератора 26, а через элементы И 27 и ИЛИ 28 поступает на счетчик 29 количества срывов обслуживания заявок . Этот же импульс с выхода ИЛИ 28 через элемент ИЛИ 4 поступает на единичный вход триггера 5, переводя систему в режим ожидания. Очередная заявка не поступит в систему до тех пор, пока не закончится восстановление, так как элемент И 6 блокирован напряжением с выхода генератора 26. Если отказ возник в режиме работы, · то обслуживание заявки прекращается. При этом импульс, имитирующий отказ, с выхода генератора 17 через элемент И 20 поступает на установочный вход генератора 11, и формирование ин-<sub>0 </sub>тервала времени работы прекращается. Импульс, появившийся на выходе дифференцирующей цепочки 12, не поступает на вход счетчика 14, так как элемент И 13 блокирован напряжением с выхода генератора 26, а через элементы И 30 и ИЛИ 28 поступит на вход счетчика 29 количества срывов обслуживания заявок, а с выхода элемента ИЛИ 28 через элемент ИЛИ 4 поступит на единичный вход триггера 5, переводя систему в режим ожидания.</p>
<p>Одновременно на обслуживании не может находиться более одной заявки, поэтому заявки, поступившие в моменты времени, когда система не находится в р&киме ожидания, через элементы И 31, ИЛИ 32 поступают на счетчик 33.</p>
<p>Заявки, поступившие в моменты, когда система находится в режиме восстановления, также не обслуживаются и через элементы И 3.4 и ИЛИ 32 поступают на· счетчик 33. Счетчик 35 подсчитывает общее количество заявок.</p>
<p>I</p>
<p>Контроль качества обслуживания и дообслуживания заявок реализуется в устройстве следующим образом.</p>
<p>Пришедшая заявка с выхода И 57 перебрасывает триггер 43, в результате закрывается вход элемента И 57, запускает генератор 11, имитируя начало режима обслуживания заявки, и запускает генератор 47 счетных импульсов, с выхода которого счетные импульсы поступают на вход счетчика 49, имитируя начало контроля качества обслуживания заявки.</p>
<p>7</p>
<p>1180920</p>
<p>8</p>
<p>При достижении в счетчике 49 числа импульсов, соответствующего минимальному времени качественного обслуживания, т.е. коду, набранному в дешифраторе 51, на его выходе фор- 5 мируется импульс, который пройдя через элемент ИЛИ 36 останавливает генератор 47, а пройдя через элемент. ИЛИ 37, обнуляет счетчик 49 и перебрасывает триггер 44 в состояние, 10 при котором открывается элемент И 58 и закрывается элемент И 59.</p>
<p>Одновременно с момента запуска генератора 11 через интервал време• ни распределенному в соответст- 15 вии с выбранным законом времени обслуживания заявки, на выходе диффе- рейдирующей цепочки 12 появляется импульс, который перебрасывает триггер 43 в состояние, при котором 20 открывается вход элемента И 57, и, если выполняется условие с<sub>0</sub> 2 с<sub>и0 </sub>то этот импульс пройдет через элементы И 58, ИЛИ 41 и И 13, имитируя окончание режима качественного об- 25 служивания заявки. Этот же импульс с выхода И 58 также перебрасывает триггер 44 в состояние, при котором закрывается элемент И 58 и открывается элемент И 59. 30</p>
<p>Система вновь готова к проведению подготовки системы и обслуживанию заявки.</p>
<p>Если время обслуживания С<sup>(<sub></sup>о</sub>° мень- 35 ше Β’θ , т.е. С<. ί^ο > <sup>то</sup> импульс с выхода дифференцирующей цепочки 12 проходит через открытый элемент И 59, элементы ИЛИ 37 и 36, выключает генератор 48 и обнуляет счетчик 49, 40</p>
<p>а также проходит через открытый элемент И 60, элемент ИЛИ 38, запускает генераторы 56 и 48, имитируя тем самым соответственно начало дообслуживания и контроля качества 45 дообслуживания заявок, перебрасывает триггер 45 в состояние, при котором закрывается вход элемента И 60.</p>
<p>,В дальнейшем вход элемента И 60 открывается только после появления 50 импульса на выходе элемента И 62, имитирующего качественно проведенное дообслуживание заявки, перебрасывающего триггер 45 в состояние, при котором открывается вход эле- 55 мента И 60, а триггер 46 в состояние, при котором элемент И 62 закрывается, а И 63 открывается.</p>
<p>Таким образом, реализуются режимы обслуживания заявки, контроля качества обслуживания, выявления не- качественно обслуженной заявки, передачи этой заявки на дообслуживание, дообслуживания и контроль качества дообслуживания заявки.</p>
<p>Момент запуска генератора 56 имитирует начало дообслуживания заявки. Момент запуска генератора 48 имитирует начало контроля качества дообслуживания заявок. Счетные импульсы с выхода генератора 48 поступают на вход счетчика 50. При достижении в счетчике 50 числа импульсов, соответствующего минимальному времени качественного дообслуживания заявки ί5θθ , т.е. коду, набранному в декодере (дешифраторе)</p>
<p>52, на его выходе формируется импульс, который пройдя через элементы ИЛИ 40 обнуляет счетчик 50, а через элемент ИЛИ 39 останавливает генердтор 48 и перебрасывает триггер 46 в состояние, при котором открывается элемент И 62 и закрывается элемент И 63.</p>
<p>й)</p>
<p>Зо</p>
<p>Через время дообслуживания Ь</p>
<p>соответствующее выбранному закону дообслуживания, на выходе генератора 56 после дифференцирующей цепочки 67 появляется импульс, имитирующий дообслуживание заявки. Если выполняется условие г</p>
<p>то импульс с выхода дифференцирующей цепочки 67, имитируя качественное дообслуживание, проходит через открытый элемент И 62 на вход счетчика 68 качественно дообслуженных заявок, а также через элементы ИЛИ 41 и И 13 на вход счетчика 14 качественно обслуженных заявок. Одновременно импульс с выхода элемента И 62 перебрасывает триггер 46 в состояние, при котором элемент И 62 закрывается, элемент И 63 открывается, а триггер 45 в состояние, при котором элемент И 60 открывается, а И 61 закрывается. Элементы устройства, реализующие дообслуживание и контроль качества дообслуживания заявок, готовы к функционированию.</p>
<p>Если время дообслуживания ΐί? <</p>
<p>(27 оо</p>
<p><sub>н</sub>д<sub>о</sub> , то импульс с выхода дифференцирующей цепочки 67, пройдя</p>
<p>1180920</p>
<p>10</p>
<p>через открытый элемент И 63 и ИЛИ</p>
<p>39, выключает генератор 48, а через</p>
<p>элементы И 63 и ИЛИ 40 обнуляет</p>
<p>счетчик 50. Этот же импульс, пройдя через элементы И 63, задержки 5</p>
<p>69 и ИЛИ 38 запускает генераторы 56 и 48, тем самым имитируя начало повторного дообслуживания заявки и контроля его качества. В дальнейшем функционирование устройства 10</p>
<p>протекает аналогично указанному до тех пор, пока время дообслуживания не удовлетворит условию £ к<sup>2</sup>’ г</p>
<p>(21 . 0 0 .</p>
<p>, т.е. пока не проведется качественное дообслуживание, далее 15</p>
<p>процессы в устройстве протекают аналогично указанным.</p>
<p>Если во время проведения дообслуживания заявки поступает очередная некачественно обслуженная за- 20 явка, то соответствующий ей импульс проходит через открытый элемент И 61, элемент 54 задержки, элемент ИЛИ 42 на второй вход элемента И 57 для дообслуживания, если в это время 25</p>
<p>не проводится обслуживание заявки.</p>
<p>Так как у реальных систем время, отводимое на качественное обслуживание заявок, занимает определенный</p>
<p>интервал, т.е. 6^ < ^0</p>
<p><21 Г ’ _ но - о - ко <sup>4</sup> нЗо Зо</p>
<p>££,3 7» то необходимо, чтобы это реализовалось и в устройстве. Для этого в устройство введены два элемента 53 и 55 задержки и два ключа</p>
<p>65 и 66. При замыкании ключей 65 и 35</p>
<p>66 импульсы с выходов декодеров (дешифраторов) 51 и 52 соответственно, пройдя элементы 53 и 55 задержки</p>
<p><sup>4θ</sup>£θ<sup>3 Β</sup>Ρθ<sup>Μ</sup>« -<sup>с</sup>но <<sup>ас</sup>3о =</p>
<p>=ί^3<sub>ο</sub> -I <sub>н</sub>з<sub>о</sub> ) , перебрасывают триггеры <sup>40 </sup>44 и 46 в состояния, при которых закрываются элементы И 58, И 62 и открываются элементы И 59, И 63. Такое состояние соответствует тому, что пришедший импульс с выхода диф- 45 ференцирующей цепочки 12 после закрытия элемента И 58 имитирует некачественное обслуживание, проходит через открытые элементы И 59, И 60,</p>
<p>ИЛИ 38 и запускает генераторы 56 к 50 48, имитируя тем самым начало дообслуживания заявки и контроля его качества. В дальнейшем работа устройства аналогична ранее описанной.</p>
<p>Таким образом, при нахождении клю-55 чей 65 и 66 в разомкнутом состоянии устройство позволяет моделировать режимы ожидания, подготовки, обслуживания заявок и контроля его качества, выделения некачественно обслуженных заявок и передачи их на дообслуживание с контролем его качества, отказов в этих режимах и восстановления системы. При этом критерием контроля качества обслуживания является условие , т.е. его выполнение,</p>
<p>значит обслуживание заявок проведено качественно, в противном случае проводится дообслуживание заявок. Критерием контроля качества дообслуживания является условие С г '</p>
<p>Дообслуживание заявки проводится до тех пор, пока не будет выполнено это условие.</p>
<p>При нахождении ключей 65 и 66 в замкнутом состоянии устройство позволяет моделировать те режимы, что и при разомкнутых ключах 65 и 66. Однако, при этом критерием контроля качества обслуживания заявок является условие С *, т.е. условие выполняется, значит обслуживание заявки проведено качественно, в противном случае проводится дообслуживание ' заявки.Критерием контроля качества дообслуживания заявки является условие <. . Дообслуживание</p>
<p>заявки проводится до тех пор, пока это условие не выполнится.</p>
<p>Работа устройства при замкнутых ключах 65 и 66 до момента открытия элементов И 58 и И 62 аналогична работе при разомкнутых ключах 65 и * 66. Если импульс с выхода дифференцирующей цепочки 12 поступает на вход открытого элемента И 58, £ ί,’Ι ) ></p>
<p>то обслуживание заявки проведено качественно и импульс проходит через элемент ПЛИ 41, И 13 на вход счетчика 14 и далее через элемент ИЛИ 4 на единичный вход триггера 5, переводя устройство в режим ожидания. Одновременно этот импульс с выхода элемента И 58 перебрасывает триггер 44 в состояние, при котором элемент И 58 закрывается, а И 59 открывается.</p>
<p>Через время + 46^ импульс с выхода элемента 53 задержки воздействует на нулевой вход триггера 44 не изменяя его состояния.</p>
<p>Если импульс с выхода дифференцирующей цепочки 12 поступает на вход элемента И 58 через время большее, чем С<sup>(<sub></sup>н</sub>’’ + Μιθ<sup>1</sup> (т.е. с£’),</p>
<p>то он не пройдет на вход счетчика</p>
<p>14, так как через время С*о <sup>+</sup> 4С<sup>(</sup>о</p>
<p>1 180920</p>
<p>12</p>
<p>импульс с выхода элемента 53 задержки перебросит триггер 44 в состояние, при котором элемент И 58 закрывается, а И 59 открывается, и поступивший импульс, имитируя нека- 5 чествеиное обслуживание заявки, проходит через открытые элементы И 59 И 60, ИЛИ 38 на входы запусков генераторов 56 и 48, имитируя тем самым начало дообслуживания заябки и кон- 10 троля его качества. Одновременно этот импульс с выхода элемента ИЛИ 38</p>
<p>поступает на единичный вход триггера 45, переводя его в состояние, при котором элемент И 60 закрыт, а И 61 открыт.</p>
<p>Если импульс с выхода дифференцирующей цепочки 67 поступает на вход открытого элемента И 62 (т.е.</p>
<p>[V' Ъ. б <sub>ц</sub><sup>(</sup>а' ), то дообслуживание заи О <sup>н С</sup>О</p>
<p>явки считается качественным, и он проходит через элементы И 62 на вход запуска счетчика 68, а через элементы ИЛИ 41, И 13 на вход .запуска счетчика 14, а также через элемент ИЛИ 4 на единичный вход триггера 5, переводя тем самым систему в режим ожидания. Одновременно этот импульс с выхода элемента И 62 перебрасывает триггеры 46 и 45 в состояние, при котором элементы И 62 и 61 закрываются, а И 60 и 63 открываются, т.е. элементы устройства, реализующие дообслуживание заявок и контроль его качества, готовы к очередному циклу. Через время 6<sup>(2</sup>θ<sub>0</sub> + 6 6θθ импульс с выхода элемента 55 задержки воздействует на нулевой вход триггера 46, не изменяя его состояния .</p>
<p>Если импульс с выхода дифференцирующей цепочки 67 поступает на вход элемента И 62 через время большее, чем + 6^ <sup>(т</sup>-<sup>е</sup>- <sup>ь</sup>Эо> <sup>ь<</sup>*Эо)</p>
<p>то он не проходит на счетчики 68 и · 14,так как через время £<sub>ч</sub>д<sup>+</sup>&Сд<sub>0</sub> импульс с выхода элемента°55 задержки перебрасывает триггер 46 в состояние, при котором элемент И 62 закрывается, а И 63 открывается. Этот же</p>
<p>15</p>
<p>20</p>
<p>25</p>
<p>30</p>
<p>50</p>
<p>35</p>
<p>40</p>
<p>45</p>
<p>импульс, имитируя некачественное дообслуживание заявки, проходит через открытые элементы И-63, ИЛИ 39 и останавливает генератор 48, а через элементы И 63 и ИЛИ 40 обнуляет счетчик 50, а через элементы И 63, задержки 69, ИЛИ 38 запускает генераторы 56 и 48, имитируя тем самым новый цикл дообслуживания заявки и контроля его качества. Процесс дообслуживания заявок и контроль его качества продолжается до тех пор, пока не достигается качественное дообслуживание заявки, после чего импульс с выхода И 62 проходит и поступает на вход счетчика 68 и через элементы ИЛИ 41 и И 13 на вход счетчика 14, а также через элемент ИЛИ 4 на единичный вход триггера.</p>
<p>Элементы устройства готовы к очередному циклу функционирования.</p>
<p>Одновременно на обслуживании не может находиться более одной заявки, поэтому заявки, поступившие в моменты времени, когда система не находится в режиме ожидания, через элементы" И 31, ИЛИ 32 поступают на счетчик 33 количества необслуженных заявок. Счетчик 35 подсчитывает общее количество заявок.</p>
<p>Показатели процесса обслуживания заявок определяют путем измерения характеристик потоков заявок, выходящих потоков качественно и некачественно обслуженных и дообслуженных заявок, числа срабатываний отдельных блоков устройства, числа отказов в различных режимах и потерь заявок по различным причинам. К таким показателям можно отнести вероятности качественного (некачественного) обслуживания (дообслужива.ния) заявок, вероятности пребывания системы в различных режимах, показатели готовности системы к применению и другие показатели, характеризующие процесс обслуживания заявок и динамику функционирования СМО как с вероятностной, так и с временной позициями.</p>
<p>1 180920</p><p> The invention relates to computing and can be used in the simulation of queuing systems, taking into account the dynamics and quality of their operation. </ p>
<p> The purpose of the invention is to improve the accuracy of modeling and expand the functional capabilities of the device by reproducing service modes of applications with quality control, highlighting poorly served applications and their servicing with quality control of its implementation in mass service systems. </ p>
<p> The drawing shows a block diagram of a device for simulating queuing systems. </ p>
<p> It contains a single pulse shaper 1, the first delay element 2, the generator 3 applications, the first element OR 4, the first trigger 5, the third element AND 6, the first differentiating chain 7, the generator 8 random preparation time intervals, the second differentiating chain 9, the eighth element And 10, the first generator 11 random intervals of operation, the third differentiating chain 12, the ninth element And 13, the counter 14 the number of applications served, the first 15, the second 16 and the third 17 generators of random sequences of pulses, the fourth 18, fifth 19, sixth 20 elements And, </ p>
<p> <sup>; </ sup> 5 third element OR 21, first 22, second 23, third 24 counts of the number of failures, counter 25 of the total number of failures, generator 26 of random recovery time intervals, tenth element AND 27, fourth element OR 28, counter 29 of the number of failures service applications, the seventh 30, second 31 elements And, the second element OR 32, </ p>
<p> 15 counter 33 the number of unserved applications, the first element And 34, the counter 35 of the total number of applications, the seventh 36, the eighth 37, the ninth 38, the tenth 39, the eleventh </ p>
<p> 2о 40, sixth 41, fifth 42 elements OR, second 43, third 44, fourth 45, fifth 46 triggers, first 47, second 48 counting pulse generators, first 49, second 50 </ p>
<p> 25 pulse counters, the first 51, the second 52 decoders, the second 53, the third 54, the fourth 55 delay elements, the second generator 56 random intervals of work time, eleventh 57, the twelfth </ p>
<p> 58, thirteenth 59, fourteenth </ p>
<p> 60, fifteenth 61, sixteenth </ p>
<p> 62, seventeenth 63 elements And, </ p>
<p> 3 </ p>
<p> 1180920 </ p>
<p> 4 </ p>
<p> setup input 64 devices, the first 65, the second 66 keys, the fourth 67 differentiating chain, the counter 68 of the completed requests, the fifth element 69 of the delay. five </ p>
<p> The device simulates the operation of the QS, which has the following modes of operation: waiting, preparation, maintenance of applications, control and quality of service, identification of poorly served applications and their additional maintenance with quality control of its implementation, the occurrence of failures in the standby, preparation and maintenance modes - 15th and recovery. In recovery mode, the system can be in standby mode and preparation at the same time, depending on which mode it is in. </ p>
<p> failure. In the absence of failures in the initial state, the QS is in standby mode, the incoming application puts the system into the mode of preparation. At the end of the preparatory mode, the system goes into the operation mode (“ayak” service), after it is finished - in the standby mode. Depending on the results of assessing the quality of service of the request, the system goes into either mode. </ p>
<p> standby (quality service), or in the after-service mode (poor-quality service), which continues until the required quality of service is provided, after which the system goes into standby mode. · </ p>
<p> completed before the mode of operation, otherwise the service of the application fails. . </ p>
<p> Service time 1 is selected as a criterion for quality service (additional service) of an application. <sub> o </ sub>) <sup> g </ sup> s <sub> 0 </ sub>) > those. conditions </ p>
<p> o; </ p>
<p> ^ ηοι'- sn ^ hEo: <sup> g </ sup> Eo; </ p>
<p> Ko0 HZ < c. Eo; </ p>
<p> <sup> where </ sup> Ch’o ”‘ Λ ί, 3ο ”ίκ3ο " minimum and maximum values of service time (additional service), satisfying the quality service (additional service) of applications. In other words, if the service time (additional service) of applications falls in the interval + ήίίΡΐ (1ЛнЗ <sub> o </ sub> <sup> + </ sup> -P > <sup> then </ sup> maintenance, (additional maintenance) of applications will be carried out qualitatively (where άί '=, </ p>
<p> NO λ <sup> 0 to θ </ sup> </ p>
<p> <sup> b </ sup> b <) KEO “'' NEO '” otherwise the service (additional maintenance) of applications will be poorly performed. Ρς general case ¥ ί ”’, also <sup> С </ sup> ίό ’- ^ and Zo’ ~ Cho * <sup> b </ sup> X ’ <sup> and in particular </ sup> If possible, their equality. </ p>
<p> The device works as follows. </ p>
<p> Triggers 5, 43 - 46 and counters 14, 22, 25, 29, 33, 35, 49 and 50 pulses are set to the initial zero state by a pulse of the initial setup, which is fed to input 64 from the power supply when the device is turned on. Generators 3, 8, 11, 15, 16, 17, 26, 47, 48 and 56 are not running. </ p>
<p> In each of the modes of operation in the system, there may be failures, after which it goes into recovery mode. If the failure occurred in the standby mode, the system can not go into preparation mode until the recovery is completed, while the applications received by the system are lost. Requests are also lost if the failure occurred in the operation mode or in the preparation mode and the recovery did not end before the operation mode began, and if the system can be prepared for operation, the application will be served. Failures occurred. in the preparation mode do not lead to the failure of the application service, if the restoration and preparation </ p>
<p> The impulse from the output of shaper 1 through the delay element 2 starts the generator of 3 applications, and also through the OR element 4 enters the single input of the trigger 5. At the output of the trigger 5, a time interval corresponding to the standby mode begins to form. The timeout period ends with the arrival at the zero input of the trigger 5 pulse from the generator 3 applications through the element 6. This moment corresponds to the receipt of the application from the QS. At the end of the waiting time interval, a pulse is generated at the output of the differentiating chain 7, which triggers the generator of 8 random preparation time intervals, at the output of which a time interval is formed, corresponding to 5 </ p>
<p> 1180920 </ p>
<p> training preparation mode At the end of the training time interval, a pulse is generated at the output of the differentiating chain 9, which passes through the elements of E 10, </ p>
<p> OR 42 and AND 57, the generator starts 11 random intervals of operation. At the output of the generator 11 is formed the time interval corresponding to the service mode of the application (work). At the end of this time interval, an impulse is formed at the output of differentiating chain 12, which, passing through elements AND 58, OR 41, And 13 and OR 4, arrives at the single input of trigger 5, after which the system goes into standby mode. The same impulse arrives at the input of the counter 14 of the number of served applications. In any of the modes of waiting, preparation and operation, the occurrence of failures is possible. The occurrence of failures corresponds to the appearance of pulses at the outputs of generators 15-17 of random sequences of pulses, respectively, for standby, preparation and operation. These pulses through the corresponding elements And 1820 arrive at the element OR 21, as well as the counters 22-24 of the number of failures in each mode. From the output of the element OR 21, a pulse arrives at the counter 25 of the total number of failures, and also launches a generator of 26 random recovery time intervals. At the output of the generator 26 is formed a time interval corresponding to the recovery mode. The system operates in such a way that failures occurring in standby modes and preparation do not disrupt the service of the application if recovery and preparation can be completed before the start of the work (service) time interval. In this case, recovery takes place concurrently with waiting or preparation, and preparation does not begin until restoration of a failure that has occurred in the standby mode is completed. </ p>
<p> If the restoration is not completed by the time the operation starts, then the pulse from the output of the differentiating chain 9 passes to generator 11, since the element AND 10 </ p>
<p> 6 </ p>
<p> blocked by the voltage from the output of the generator 26, and through the elements of AND 27 and OR 28 enters the counter 29 of the number of service request disruptions. The same impulse from the OR 28 output through the OR 4 element arrives at the single input of the trigger 5, putting the system into the standby mode. The next request will not enter the system until recovery is completed, since element 6 is blocked by the voltage from the generator 26 output. If a failure occurs in the operating mode, then the maintenance of the application is terminated. In this case, a pulse, imitating a failure, from the output of the generator 17 through the element I 20 is fed to the installation input of the generator 11, and the formation of an input <sub> 0 </ sub> the work time limit is terminated. The impulse that appeared at the output of the differentiating chain 12 does not enter the input of counter 14, since element 13 is blocked by voltage from the output of generator 26, and through elements 30 and OR 28 it enters the input of counter 29 of the number of requests for service failures and OR 28 through the element OR 4 will go to the single input of the trigger 5, putting the system in standby mode. </ p>
<p> At the same time, there can be no more than one request for servicing, therefore, applications received at times when the system is not in the standby mode, through the elements AND 31, OR 32 arrive at the counter 33. </ p>
<p> Applications received at times when the system is in recovery mode are also not serviced and through the elements AND 3.4 and OR 32 arrive at the counter 33. Counter 35 counts the total number of applications. </ p>
<p> I </ p>
<p> Quality control of service and pre-service applications is implemented in the device as follows. </ p>
<p> The incoming order from the output And 57 throws the trigger 43, as a result closes the input element And 57, starts the generator 11, simulating the beginning of the service mode of the application, and starts the generator 47 counting pulses, from the output of which the counting pulses go to the input of the counter 49, simulating the beginning of the quality control service applications. </ p>
<p> 7 </ p>
<p> 1180920 </ p>
<p> 8 </ p>
<p> When the counter reaches 49 the number of pulses corresponding to the minimum quality service time, i.e. The code typed in the decoder 51 forms an impulse at its output, which, passing through the element OR 36, stops the generator 47, and after passing through the element. OR 37, resets the counter 49 and throws the trigger 44 in the state, 10 in which the element And 58 opens and the element 59 closes. </ p>
<p> At the same time from the moment the generator 11 starts up, after an interval of • distributed according to the selected law of servicing the application, a pulse appears at the output of the differential chain 12, which flips trigger 43 to the state where element 20 opens And 57, and if the condition is met with <sub> 0 </ sub> 2 s <sub> u0 </ sub> then this impulse will pass through the elements of AND 58, OR 41 and I 13, imitating the end of the regime of quality service for the application. The same impulse from the output of AND 58 also transfers the trigger 44 to the state in which the element 58 58 closes and the element 59 opens. 30 </ p>
<p> The system is again ready for the system preparation and maintenance of the application. </ p>
<p> If the service time is C <sup> ( <sub> </ sup> o </ sub> ° less than 35 above Β’θ, i.e. WITH <. ί ^ ο > <sup> then </ sup> the pulse from the output of the differentiating chain 12 passes through the open element AND 59, the elements OR 37 and 36, turns off the generator 48 and resets the counter 49, 40 </ p>
<p> and also passes through the open element AND 60, the element OR 38, starts the generators 56 and 48, thereby simulating, respectively, the beginning of the additional maintenance and quality control 45 before the maintenance of requests, flips the trigger 45 to the state in which the input of the element And 60 closes. </ p>
<p> Further, the input of the element And 60 opens only after the appearance of a 50 pulse at the output of the element And 62, imitating a qualitatively carried out maintenance of the application, which flips the trigger 45 to the state in which the input of the element And 60 opens, and the trigger 46 to the state , in which the element And 62 closes, and And 63 opens. </ p>
<p> Thus, the modes of application servicing, quality control of servicing, detection of poorly serviced applications, transfer of this application for additional servicing, additional servicing and quality control of additional servicing of an application are implemented. </ p>
<p> The moment of launch of the generator 56 simulates the beginning of the pre-service application. The moment of start of the generator 48 simulates the beginning of the quality control of the pre-service applications. The counting pulses from the output of the generator 48 are fed to the input of the counter 50. When the counter 50 reaches the number of pulses corresponding to the minimum time of high-quality additional servicing of the application 5θθ, i.e. the code dialed in the decoder (decoder) </ p>
<p> 52, an impulse is formed at its output, which after passing through the elements OR 40 resets the counter 50, and through the element OR 39 the generator 48 stops and throws the trigger 46 into the state in which the element 62 opens and the element 63 closes. </ p>
<p> th) </ p>
<p> Zo </ p>
<p> After-service time b </ p>
<p> corresponding to the selected pre-service law, at the output of the generator 56, after the differentiating chain 67, a pulse appears, simulating the further servicing of the application. If the condition r </ p>
<p> then the impulse from the output of the differentiating chain 67, imitating high-quality maintenance, passes through the open element AND 62 to the input of the counter 68 qualitatively processed applications, and also through the elements OR 41 and AND 13 to the input of the counter 14 qualitatively served applications. At the same time, the impulse from the output of the element AND 62 transfers the trigger 46 to the state in which the element AND 62 closes, the element 63 and opens, and the trigger 45 to the state in which element 60 opens and And 61 closes. Elements of the device that implements the maintenance and quality control of the maintenance of applications, are ready for operation. </ p>
<p> If the uptime is ΐί? < </ p>
<p> (27 oo </ p>
<p> <sub> n </ sub> d <sub> o </ sub>, then the impulse from the output of differentiating chain 67, passing </ p>
<p> 1180920 </ p>
<p> 10 </ p>
<p> through the open element AND 63 and OR </ p>
<p> 39, turns off the generator 48, and after </ p>
<p> AND 63 and OR 40 elements reset </ p>
<p> counter 50. This impulse, passing through elements And 63, delays 5 </ p>
<p> 69 and OR 38 starts generators 56 and 48, thereby simulating the start of the re-servicing of the application and its quality control. In the future, the operation of the device 10 </ p>
<p> proceeds similarly as indicated until the after-service time satisfies the condition £ k <sup> 2 </ sup> ’g </ p>
<p> (21. 0 0. </ p>
<p> i.e. until quality maintenance is completed, then 15 </ p>
<p> The processes in the device are proceeding as indicated. </ p>
<p> If, during the after-sales application, the next poorly serviced application arrives, then the corresponding impulse passes through the open element 61, the delay element 54, the element OR 42 to the second input of the element 57 for additional maintenance, if at this time 25 </ p>
<p> The application is not being serviced. </ p>
<p> As with real systems, the time spent on high-quality service applications, takes a certain </ p>
<p> interval, i.e. 6 ^ < ^ 0 </ p>
<p> < 21 G ’_ but - o - ko <sup> 4 </ sup> nZo zo </ p>
<p> ££, 3 7 "it is necessary that this be realized in the device. For this, two delay elements 53 and 55 and two keys are entered into the device. </ p>
<p> 65 and 66. When closing the keys 65 and 35 </ p>
<p> 66 pulses from the outputs of decoders (decoders) 51 and 52, respectively, passing elements 53 and 55 of the delay </ p>
<p> <sup> 4θ </ sup> £ θ <sup> 3 Β </ sup> Ρθ <sup> Μ </ sup> "- <sup> with </ sup> but < <sup> ac </ sup> 3o = </ p>
<p> = ί ^ 3 <sub> ο </ sub> -I <sub> n </ sub> s <sub> o </ sub>), throw triggers <sup> 40 </ sup> 44 and 46 to the states in which the elements And 58, And 62 are closed and the And 59, And 63 elements are opened. This state corresponds to the fact that the incoming pulse from the output of the differentiating chain 12 and after the closing of the And 58 element imitates poor-quality service, passes through open elements And 59, And 60, </ p>
<p> OR 38 and starts the generators 56 to 50 48, thereby simulating the beginning of the pre-service application and quality control. In the future, the operation of the device is similar to that previously described. </ p>
<p> Thus, when finding the key-55 whose 65 and 66 in the open state, the device allows you to simulate standby, prepare, serve applications and control its quality, allocate poorly served requests and transfer them for additional maintenance with monitoring its quality, failures in these modes and system recovery. In this case, the criterion for controlling the quality of service is the condition, i.e. its execution </ p>
<p> This means that the service of applications is carried out qualitatively, otherwise the additional servicing of applications is carried out. The criterion for quality control after-service is the condition With g ' </ p>
<p> An application is serviced until this condition is met. </ p>
<p> When the keys 65 and 66 are in the closed state, the device allows you to simulate those modes as with the 65 and 66 open keys. However, the criterion for controlling the quality of service of requests is C *, i.e. the condition is fulfilled, it means that the application has been serviced qualitatively, otherwise the additional maintenance of the application is carried out. <. . Re-servicing </ p>
<p> The application is carried out until this condition is fulfilled. </ p>
<p> The operation of the device when the keys 65 and 66 are closed until the opening of the elements And 58 and 62 is similar to the work with the keys 65 and 66 open. If the pulse from the output of the differentiating chain 12 goes to the input of the open element 58, £ ί, ' ) > </ p>
<p> the application service is carried out qualitatively and the pulse passes through the PLI element 41, and 13 to the input of the counter 14 and further through the element OR 4 to the single input of the trigger 5, putting the device into standby mode. At the same time, this pulse from the output of the element And 58 transfers the trigger 44 to the state in which the element And 58 closes and And 59 opens. </ p>
<p> After a time of + 46 ^ a pulse from the output of delay element 53 affects the zero input of trigger 44 without changing its state. </ p>
<p> If the pulse from the output of the differentiating chain 12 is fed to the input of the element And 58 after a time greater than C <sup> ( <sub> </ sup> n </ sub> ’’ + Μιθ <sup> 1 </ sup> (i.e. c £ ’), </ p>
<p> then it will not go to the input of the counter </ p>
<p> 14, because in time C * o <sup> + </ sup> 4C <sup> ( </ sup> o </ p>
<p> 1 180920 </ p>
<p> 12 </ p>
<p> the pulse from the output of the delay element 53 transfers the trigger 44 to the state in which the element 58 closes and 59 opens, and the incoming pulse, imitating the quality of the application, passes through the open elements 59 and 60, or 38 to the start-ups of generators 56 and 48, thereby imitating the start of additional servicing of the pit and control of its quality. Simultaneously this impulse from the output of the element OR 38 </ p>
<p> enters the single input of the trigger 45, translating it into a state in which the element And 60 is closed and And 61 is open. </ p>
<p> If the pulse from the output of the differentiating chain 67 is fed to the input of the open element And 62 (i.e. </ p>
<p> [V 'b. b <sub> n </ sub> <sup> ( </ sup> a '), then the maintenance <sup> n C </ sup> o </ p>
<p> turnout is considered quality, and it passes through the elements AND 62 at the start input of the counter 68, and through the elements OR 41, And 13 at the input of the start of the counter 14, and also through the element OR 4 at the single input of the trigger 5, thereby translating system in standby mode. At the same time, this impulse from the output of the element And 62 transfers the triggers 46 and 45 to the state in which the elements And 62 and 61 are closed, and And 60 and 63 open, i.e. elements of the device that implement the additional servicing of applications and its quality control are ready for the next cycle. After time 6 <sup> (2 </ sup> θ <sub> 0 </ sub> + 6 6θθ the pulse from the output of the delay element 55 acts on the zero input of the trigger 46, without changing its state. </ p>
<p> If the pulse from the output of the differentiating chain 67 is fed to the input of the element And 62 after a time longer than + 6 ^ <sup> (t </ sup> - <sup> e </ sup> - <sup> s </ sup> Eo > <sup> s < </ sup> * Eo) </ p>
<p> then it doesn’t go to counters 68 and 14 because the time is £ <sub> h </ sub> d <sup> + </ sup> & <sub> 0 </ sub> impulse from the output of the element 55 ° delay throws the trigger 46 in the state in which the element And 62 closes and And 63 opens. The same </ p>
<p> 15 </ p>
<p> 20 </ p>
<p> 25 </ p>
<p> 30 </ p>
<p> 50 </ p>
<p> 35 </ p>
<p> 40 </ p>
<p> 45 </ p>
<p> a pulse, imitating a low-quality additional servicing of an application, passes through open elements I-63, OR 39 and stops generator 48, and through elements AND 63 and OR 40 resets 50, and through elements 63, delays 69, OR 38 starts generators 56 and 48, thereby imitating a new cycle of additional application service and quality control. The process of additional servicing of applications and its quality control continues until a high-quality additional servicing of an application is reached, after which a pulse from output AND 62 passes and enters the input of counter 68 and through the elements OR 41 and And 13 to the input of counter 14, as well as through the element OR 4 on a single trigger input. </ p>
<p> Elements of the device are ready for the next cycle of operation. </ p>
<p> At the same time, there can be no more than one request for service, so applications received at times when the system is not in standby mode, through the " AND 31, OR 32 arrive at the counter 33 the number of unserved applications. Counter 35 counts the total number of applications. </ p>
<p> Application process performance indicators are determined by measuring the characteristics of application flows, output flows of quality and poorly maintained applications that have been served, the number of individual unit blocks triggered, the number of failures in different modes, and the loss of applications for various reasons. These indicators include the probabilities of quality (poor quality) service (after-service) applications, the probability of the system staying in different modes, indicators of the system's readiness for use and other indicators characterizing the process of servicing applications and the dynamics of the QS from both probabilistic and temporary positions. </ p>
<p> 1 180920 </ p>