6, соединенному с программным блоком 2, имитатором 7 обслуживающего аппарата и имитатором 8 очереди, а выходы имитатора обслуживаюи1его аппарата 7 и имитатора 8 очереди соединены с иэмерительным блоком 3. Блок 1 моделировани надежности каналов обслуживани содержит имитатор 9. отказов каналов и имитатор 10 восстановлени каналов, выходы которых под ключены к первому и второму входам узла 11 сравнени соответственно. Имитатор 9 отказов каналов (фиг, 2) состоит иэ последовательно соединенных узла 12 управлени и генератора 13 слу чайных временных интервалов, выход которого подключен к первому входу узла 11 сравнени блока моделировани надеж Еостй каналов, Блок- схема имитатора вос становлений каналов обслуживани аналогична блок-схеме имитатора отказов, Блок 1 моделировани надежности каналов обслуживани предназначен дл мо делировани моментов отказов и моментов восстановлений каналов, обслуживани , проведени логических операций по отысканию исправного канала, управлени дисциплиной обслуживани . Программный блок 2 предназначен дл управлени дисциплиной обслуживании ( согласовани прсщбсса обслуживани в каждом из каналов обслуживани в соответствии с состо нием каналов, очередностью , определ емой приоритетами поступающих за вок). Измерительный блок 3 предназначен дл накоплени статистических данных о процессе обслуживани за вки, Имтатор 5 потока за вок предназначен дл имитации в общем случае нестационарных и неординарных потоков за -. в«йс в виде последовательности одиночных или групповых импульсов, разделеншых случайными временными интервалами с любым требуемым законом их распределени . Распределительный логический узел в имитатор 7 обслуживающего аппарата в имитатор 8 очереди предназначены дл воспроизведени процессов обслуживани (состо ние обслуживающего аппарата, пе реход за вок в очередь и из очереди в обслуживак дий аппарат, отказ за вкам в обслуживании). Имитатор 9 отказов канала препназна че дл имитации отказов каналов в вид последовательнсют одиночных импульсов рвзпеленвых Случайными временными ин- 61 тервалами. Требуемый аакон pacnpf qpiie- тг временных интервалов залаете-., с помошью узла 12 управлени , ттред1адзначенного дл изменени среднего числа генерируемых генератором 13 импу;;ы::ов в единицу времени в соответствии с прин тым законом. Узел 11 сравнени блока моделировани надежности каналов предназначен дл сравнени моментов по влени отказов с временем реализации процессов массового обслуживани (отказ канала может произойти после окончани моделирование. процесса, следовательно, вли ни на процесс в этом случае не оказывает; отказ может произойти в течение времени реализации процесса, в результате изменитс дисциплина обслуживани ), сравнени времени восстановлени каналов с допустимым временем пребывани за вки в системе и временем реализации процесса (в течение допустимого времени пребывани за вки в системе канал может быть восстановлен и в нем обслужена за вка и наоборот) и управлени в зависимости от результатов сравнени программным блоком 2, Работа устройства заключаетс в следующем . Имитатор 5 потока за вок вьщает сигналы, соответствующие определенному потоку за вок. Эти сигналы поступают в распределительный логический узел 6, который в зависимости от состо ни имитатора 7 обслуживающего аппарата (зан т обслуживанием или свободен имитатор) производит распределение их между имитатором 7 обслуживающего аппарата и имитатором 8 очереди. Имитатор 7 обслуживающего аппарата после поступлени ригнала с распределительного логического узла 6 в моменты времени, распределенные в соответствии с прин тым законом обслуживани , вьщает сигналы об окончании обслуживани поступивщей за вки (сигнала) в измерительный блок 3 и распределительный логический узел 6, который посылает сигнал на имитатор 8 очереди об освобождении имитатора 7 обслуживающего аппарата. По этому сигналу имитатор 8 очереди,представл ющий собой, например, реверсивный счетчик , вьщает сигнал, соответствующий очередной за вке дл обслуживани в логический , распределительный узел 6 и далее на имитатор 7 обслуживающего аппарата, В результате количество за вок, наход щихс в очереди, уменьшаетс на едини5О 6 connected to software block 2, a simulator 7 of a serving device and a simulator 8 of a queue, and the outputs of a simulator of a servicing device 7 and a simulator 8 of a queue are connected to a measuring unit 3. A block 1 of modeling the reliability of service channels contains a simulator 9. channel failures and 10 The outputs of which are connected to the first and second inputs of the comparison node 11, respectively. The channel failure simulator 9 (FIG. 2) consists of serially connected control unit 12 and random time generator 13, the output of which is connected to the first input of the comparison unit 11 of the simulation unit, the reliability of channels, the block diagram of the service recovery simulator is similar to the failure simulator circuit, Block 1 of the simulation of the reliability of service channels is designed to simulate the moments of failures and the moments of the restoration of channels, service, conduct logical operations to find the equal channel control service discipline. Program block 2 is designed to manage the discipline of service (agreeing on the service pssc in each of the service channels in accordance with the state of the channels, the sequence determined by the priorities of the incoming request). The measuring unit 3 is designed to accumulate statistical data on the process of servicing the application, the simulator 5 of the flow of the application is intended to simulate, in general, non-stationary and non-ordinary flows due to -. in the form of a sequence of single or group pulses, separated by random time intervals with any desired law of their distribution. The distribution logic node in the simulator 7 of the servicing apparatus in the simulator 8 of the queue is intended for reproducing the service processes (the state of the servicing apparatus, the transfer to the queue and from the queue to the servicing apparatus, denial of service). Simulator 9 channel failures of the target, for imitation of channel failures in the form of a series of single pulses of random green random intervals. The required aacon pacnpf qpiie-tg time intervals are bore-, using the control unit 12, which is meant to change the average number generated by the generator 13 imps ;; s :: s per unit of time in accordance with the law. The node 11 of the channel modeling block reliability block is designed to compare the moments of failure occurrence with the time of implementation of the queuing processes (channel failure can occur after the simulation has ended. The process therefore does not affect the process in this case; failure can occur during the implementation time process, as a result, the discipline of service changes), comparing the time of restoration of channels with the allowable time of application in the system and the time of the process (in The permissible residence time of the application in the system can be restored, the channel can be restored and the application is serviced and vice versa) and controlled depending on the results of the comparison by program block 2. The operation of the device is as follows. The simulator 5 of the flow of the flow results in signals corresponding to a specific flow of the flow. These signals enter the distribution logic node 6, which, depending on the state of the simulator 7 of the serving apparatus (occupied by the servicing or the simulator is free), distributes them between the simulator 7 of the serving apparatus and the simulator 8 of the queue. The simulator 7 of the service device after the arrival of the signal from the distribution logic node 6 at times distributed in accordance with the accepted law of service, signals the end of service of the incoming application (signal) to the measuring unit 3 and the distribution logic node 6, which sends a signal to simulator 8 queue about the release of the simulator 7 servicing apparatus. According to this signal, the simulator 8 of the queue, which is, for example, a reversible counter, feeds a signal corresponding to the next application for service to the logical, distribution node 6 and further to the simulator 7 of the serving apparatus. As a result, the number of queuing applications reduced by unity
ну. В случае, если имитгггор 7 обслужии юшего а1П1и)ата аан т обслуживанием за вки, распределительный логический уоел 6 посылает сигнал, соответствующий поступившей очередной за вке на имитатор 8 очереди, в котором количество за вок увеличитс на единицу. На измерительный блок 3 поступают сигналы с имитатора 7 обслуживающего аппарата и имитатора 3 очереди в моменты окончани обслуживани за ьки или поступлени ее в очередь. Еэлок 1 моделировани надежности каналов прогнозирует моменты отказов каналов обслуживани и моменты восстановлений их работоспособности путам выработки сигналов в узлах 9 и 10, соответствующих отказам и восстановлени м каналов в моменты времени, распределенные по требуемому закону, в течение всего процесса моделировани . Сигналы с узлов 9 и Ю поступают в узел 11 сравнени , который фиксирует моменты поступлени .сигналов отказов и восстановлений, производит сранение отказов и восстановлений с временем реализации процесса и с допустимым временем пребывани за вки в системе, и в соответствии с результатами сравнени посылает сигналы в программный блок 2 и измерительный блок 3. Прог раммный блок 2 в случае, если отказ канала происходит в течение времени обслуживани за вки и все каналы обслуживани зан ты, посылает сигнал в логический распределительный узел 6, который отключает имитатор 7 обслуживающего аппарата 7 и вьщает сигнал, соответствующий этой обслуживаемой за вке, на имитатор 8 очереди дл ее постановки в очередь до момента восстановлени канала. В случае, если в момент отказа канала, обслуживающего за вку, имеетс свободный канал с временем отказа большим , чем врем обслуживани за вки, программный блок 2 отключает посредством распределительного логического узла 6 нисправный имитатор 7 обслуживающего аппарата и вьщает сигнал, соответствующий обслуживаемой за вке, на распределительн логический узел бисправногосвободногоканала . Во всех случа х распределительный логический узел 6 выдаетснгналы на программный блок 2 об исполнении команд послед- Eiero.Well. In case if imitggor 7 is servicing your a1P1i) anta t by servicing the application, the distribution logic unit 6 sends a signal corresponding to the next application submitted to the simulator 8 queue, in which the number of applications increases by one. The measuring unit 3 receives signals from the simulator 7 of the servicing device and the simulator 3 of the queue at the moments of the end of servicing the quake or entering it in the queue. EELEC1, reliability modeling of channels, predicts the moments of service channel failures and the moments of their serviceability restoration to the paths of generating signals at nodes 9 and 10, corresponding to channel failures and recoveries at times, distributed according to the required law, during the entire modeling process. Signals from nodes 9 and 10 go to comparison node 11, which captures the moments of arrival of failures and restores, produces failures and recoveries with the process implementation time and with the valid residence time of the application in the system, and in accordance with the comparison results sends signals to the program block 2 and the measuring block 3. The program block 2 if the channel fails during the service time of the application and all the service channels are occupied, sends a signal to the logical distribution node 6, which disables the simulator 7 of the serving device 7 and outputs the signal corresponding to this served application to the simulator 8 of the queue for its queuing until the channel is restored. In the event that at the moment of failure of the channel servicing the purchase, there is a free channel with a failure time longer than the service time of the application, the software unit 2 turns off the faulty simulator 7 of the serving device through the distribution logic node 6 and outputs the signal corresponding to the serviced application, on the distribution logical node of the free channel. In all cases, the distribution logic node 6 issues sninnaly to program block 2 on the execution of commands of the last Eiero.
П86P86
Измерительный блок 3 накапливает статистические данные процесси функш онировани СЛЮ,The measuring unit 3 accumulates the statistics of the process of the function of the SLE,
С y ieTOM допустимого времени пребывани за вки в системе она может быть обслужена или потер на.With a ieTOM allowable residence time for applications in the system, it can be served or lost.
При поступлении в систему за вки с приоритетом более высоким, чем приоритет обслуживаемой за вки, дальнейша последовательность функционировани системы определ етс программным блокам 2, который обеспечивает: прерывание обслуживани за вки с более низким приоритетом; ожидание окончани обслуживани за вки; возобновление прерванного обслуживани .When applications with a priority higher than the priority of the application being submitted to the system are received, the subsequent sequence of the system operation is determined by software blocks 2, which ensures: interruption of service of applications with a lower priority; waiting for the end of service applications; resumption of interrupted service.
Таким образом, введение блока моделировани надежности каналов обслуживани позвол ет повысить точность моделировани СМ О.Thus, the introduction of the service channel reliability modeling unit allows to increase the accuracy of the SM O.